content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
# Python - Object Oriented Programming # In here we will use special methods, also called as Magic methods. # Double underscore is called as dunder. We have seen dunder __init__ fuction # we will see __repr__ and __str__ in here. # we can also have custom dunder that we can create for performing certain # tasks as functions. class Employee: raise_amt = 1.04 def __init__(self, firstName, lastName, pay): self.firstName = firstName self.lastName = lastName self.pay = pay self.email = f"{firstName}.{lastName}@Company.com" def fullname(self): return f"{self.firstName} {self.lastName}" def apply_raise(self): self.pay = int(self.pay * self.raise_amt) # __repr__ is a special method used to represent a class's objects as a string def __repr__(self): return f"Employee('{self.firstName}', '{self.lastName}', {self.pay})" # The __str__ method should be defined in a way that is easy to read # and outputs all the members of the class. def __str__(self): return f"{self.fullname()} - {self.email}" # we can control the result of a sum of two objects by modifying or defying # the __add__ method. Takes first object as Self and second as other. def __add__(self, other): return self.pay + other.pay # __len__ as a method you can customize for any object def __len__(self): return len(self.fullname()) employee_1 = Employee("Tom", "Hanks", 50000) employee_2 = Employee("Ricky", "Martin", 60000) # Now when we print an object we get a string output print(employee_1) print(str(employee_1)) # The output is string representation of object. print(repr(employee_1)) print(employee_1.__repr__()) print(employee_1.__str__()) # Returns combined pay of employee_1 and employee_2 print(employee_1 + employee_2) # Returns length of full name print(len(employee_1))
class Employee: raise_amt = 1.04 def __init__(self, firstName, lastName, pay): self.firstName = firstName self.lastName = lastName self.pay = pay self.email = f'{firstName}.{lastName}@Company.com' def fullname(self): return f'{self.firstName} {self.lastName}' def apply_raise(self): self.pay = int(self.pay * self.raise_amt) def __repr__(self): return f"Employee('{self.firstName}', '{self.lastName}', {self.pay})" def __str__(self): return f'{self.fullname()} - {self.email}' def __add__(self, other): return self.pay + other.pay def __len__(self): return len(self.fullname()) employee_1 = employee('Tom', 'Hanks', 50000) employee_2 = employee('Ricky', 'Martin', 60000) print(employee_1) print(str(employee_1)) print(repr(employee_1)) print(employee_1.__repr__()) print(employee_1.__str__()) print(employee_1 + employee_2) print(len(employee_1))
# File: okta_consts.py # # Copyright (c) 2018-2022 Splunk Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software distributed under # the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, # either express or implied. See the License for the specific language governing permissions # and limitations under the License. OKTA_BASE_URL = "base_url" OKTA_API_TOKEN = "api_key" OKTA_PAGINATED_ACTIONS_LIST = [ 'list_users', 'list_user_groups', 'list_providers', 'list_roles'] OKTA_RESET_PASSWORD_SUCC = "Successfully created one-time token for user to reset password" OKTA_LIMIT_INVALID_MSG_ERR = "Please provide a valid positive integer value for 'limit' action parameter" OKTA_LIMIT_NON_ZERO_POSITIVE_MSG_ERR = "Please provide a valid non-zero positive integer value for 'limit' action parameter" OKTA_PAGINATION_MSG_ERR = "Error occurred while fetching paginated response for action: {action_name}. Error Details: {error_detail}" OKTA_DISABLE_USER_SUCC = "Successfully disabled the user" OKTA_ALREADY_DISABLED_USER_ERR = "User is already disabled" OKTA_ENABLE_USER_SUCC = "Successfully enabled the user" OKTA_ALREADY_ENABLED_USER_ERR = "User is already enabled" OKTA_SET_PASSWORD_SUCC = "Successfully set user password" OKTA_ASSIGN_ROLE_SUCC = "Successfully assigned role to user" OKTA_ALREADY_ASSIGN_ROLE_ERR = "Role is already assigned to user" OKTA_UNASSIGN_ROLE_SUCC = "Successfully unassigned role to user" OKTA_ALREADY_UNASSIGN_ROLE_ERR = "Role is not assigned to user" OKTA_ALREADY_ADDED_GROUP_ERR = "Group already added to organization" OKTA_ADDED_GROUP_SUCCESS_MSG = "Group has been added successfully" OKTA_GET_GROUP_SUCC = "Successfully retrieved group" OKTA_GET_USER_SUCC = "Successfully retrieved user" OKTA_TEST_CONNECTIVITY_FAILED = "Test Connectivity Failed" OKTA_TEST_CONNECTIVITY_PASSED = "Test Connectivity Passed" OKTA_INVALID_USER_MSG = "Please provide a valid user_id" OKTA_CLEAR_USER_SESSIONS_SUCC = "Successfully cleared user sessions" OKTA_SEND_PUSH_NOTIFICATION_ERR_MSG = "Please configure factor_type '{factor_type}' for the user '{user_id}'" # DO NOT MODIFY! # A fixed field used by Okta to the integration OKTA_APP_USER_AGENT_BASE = "SplunkPhantom/" UNEXPECTED_RESPONSE_MSG = "Unexpected response received" # Constants relating to '_get_error_message_from_exception' ERR_CODE_MSG = "Error code unavailable" ERR_MSG_UNAVAILABLE = "Error message unavailable. Please check the asset configuration and|or action parameters" PARSE_ERR_MSG = "Unable to parse the error message. Please check the asset configuration and|or action parameters" TYPE_ERR_MSG = "Error occurred while connecting to the Okta Server. Please check the asset configuration and|or the action parameters" # Constants relating to value_list check FACTOR_TYPE_VALUE_LIST = ["push", "sms (not yet implemented)", "token:software:totp (not yet implemented)"] RECEIVE_TYPE_VALUE_LIST = ["Email", "UI"] IDENTITY_PROVIDERS_TYPE_VALUE_LIST = ["SAML2", "FACEBOOK", "GOOGLE", "LINKEDIN", "MICROSOFT"] ROLE_TYPE_VALUE_LIST = [ "SUPER_ADMIN", "ORG_ADMIN", "API_ACCESS_MANAGEMENT_ADMIN", "APP_ADMIN", "USER_ADMIN", "MOBILE_ADMIN", "READ_ONLY_ADMIN", "HELP_DESK_ADMIN", "GROUP_MEMBERSHIP_ADMIN", "REPORT_ADMIN"] VALUE_LIST_VALIDATION_MSG = "Please provide valid input from {} in '{}' action parameter"
okta_base_url = 'base_url' okta_api_token = 'api_key' okta_paginated_actions_list = ['list_users', 'list_user_groups', 'list_providers', 'list_roles'] okta_reset_password_succ = 'Successfully created one-time token for user to reset password' okta_limit_invalid_msg_err = "Please provide a valid positive integer value for 'limit' action parameter" okta_limit_non_zero_positive_msg_err = "Please provide a valid non-zero positive integer value for 'limit' action parameter" okta_pagination_msg_err = 'Error occurred while fetching paginated response for action: {action_name}. Error Details: {error_detail}' okta_disable_user_succ = 'Successfully disabled the user' okta_already_disabled_user_err = 'User is already disabled' okta_enable_user_succ = 'Successfully enabled the user' okta_already_enabled_user_err = 'User is already enabled' okta_set_password_succ = 'Successfully set user password' okta_assign_role_succ = 'Successfully assigned role to user' okta_already_assign_role_err = 'Role is already assigned to user' okta_unassign_role_succ = 'Successfully unassigned role to user' okta_already_unassign_role_err = 'Role is not assigned to user' okta_already_added_group_err = 'Group already added to organization' okta_added_group_success_msg = 'Group has been added successfully' okta_get_group_succ = 'Successfully retrieved group' okta_get_user_succ = 'Successfully retrieved user' okta_test_connectivity_failed = 'Test Connectivity Failed' okta_test_connectivity_passed = 'Test Connectivity Passed' okta_invalid_user_msg = 'Please provide a valid user_id' okta_clear_user_sessions_succ = 'Successfully cleared user sessions' okta_send_push_notification_err_msg = "Please configure factor_type '{factor_type}' for the user '{user_id}'" okta_app_user_agent_base = 'SplunkPhantom/' unexpected_response_msg = 'Unexpected response received' err_code_msg = 'Error code unavailable' err_msg_unavailable = 'Error message unavailable. Please check the asset configuration and|or action parameters' parse_err_msg = 'Unable to parse the error message. Please check the asset configuration and|or action parameters' type_err_msg = 'Error occurred while connecting to the Okta Server. Please check the asset configuration and|or the action parameters' factor_type_value_list = ['push', 'sms (not yet implemented)', 'token:software:totp (not yet implemented)'] receive_type_value_list = ['Email', 'UI'] identity_providers_type_value_list = ['SAML2', 'FACEBOOK', 'GOOGLE', 'LINKEDIN', 'MICROSOFT'] role_type_value_list = ['SUPER_ADMIN', 'ORG_ADMIN', 'API_ACCESS_MANAGEMENT_ADMIN', 'APP_ADMIN', 'USER_ADMIN', 'MOBILE_ADMIN', 'READ_ONLY_ADMIN', 'HELP_DESK_ADMIN', 'GROUP_MEMBERSHIP_ADMIN', 'REPORT_ADMIN'] value_list_validation_msg = "Please provide valid input from {} in '{}' action parameter"
class Node: def __init__(self, dataval = None): self.dataval = dataval self.next = None self.prev = None def __str__(self): return str(self.dataval) class MyList: def __init__(self): self.first = None self.last = None def add(self, dataval): if (self.first == None): self.first = Node(dataval) self.last = self.first else: temp = Node(dataval) temp.next = self.first self.first = temp def index(self, item): index = 0 while index < self.length(): if self.get(index).dataval == item: return index index += 1 return -1 def remove(self, item): index = self.index(item) if self.last == self.first: self.last = None self.first = None elif index == 0: temp = self.first.next self.first.next = None self.first = temp elif index > 0: oneBefore = self.get(index - 1) temp = oneBefore.next if self.last == temp: self.last = oneBefore oneBefore.next = temp.next temp.next = None def append(self, dataval): if (self.first == None): self.first = Node(dataval) self.last = self.first else: newItem = Node(dataval) self.last.next = newItem newItem.prev = self.last self.last = newItem newItem.next = None def get(self, index): current = 0 if index >= self.length() and index < 0: return None item = self.first while (current < index): item = item.next current += 1 return item def __len__(self): return self.length() def isEmpty(self): return self.first == None def length(self): result = 0 if (self.first == None): return result item = self.first result += 1 while (item.next != None): item = item.next result += 1 return result def pop(self): last = self.last self.remove(self.last.dataval) return last def __str__(self): if (self.first == None): return "empty" result = str(self.first.__str__()) item = self.first while (item.next != None): item = item.next result = str(result) + str(",") + str(item.__str__()) return result
class Node: def __init__(self, dataval=None): self.dataval = dataval self.next = None self.prev = None def __str__(self): return str(self.dataval) class Mylist: def __init__(self): self.first = None self.last = None def add(self, dataval): if self.first == None: self.first = node(dataval) self.last = self.first else: temp = node(dataval) temp.next = self.first self.first = temp def index(self, item): index = 0 while index < self.length(): if self.get(index).dataval == item: return index index += 1 return -1 def remove(self, item): index = self.index(item) if self.last == self.first: self.last = None self.first = None elif index == 0: temp = self.first.next self.first.next = None self.first = temp elif index > 0: one_before = self.get(index - 1) temp = oneBefore.next if self.last == temp: self.last = oneBefore oneBefore.next = temp.next temp.next = None def append(self, dataval): if self.first == None: self.first = node(dataval) self.last = self.first else: new_item = node(dataval) self.last.next = newItem newItem.prev = self.last self.last = newItem newItem.next = None def get(self, index): current = 0 if index >= self.length() and index < 0: return None item = self.first while current < index: item = item.next current += 1 return item def __len__(self): return self.length() def is_empty(self): return self.first == None def length(self): result = 0 if self.first == None: return result item = self.first result += 1 while item.next != None: item = item.next result += 1 return result def pop(self): last = self.last self.remove(self.last.dataval) return last def __str__(self): if self.first == None: return 'empty' result = str(self.first.__str__()) item = self.first while item.next != None: item = item.next result = str(result) + str(',') + str(item.__str__()) return result
category_layers = { "title": "Hazards", "abstract": "", "layers": [ { "include": "ows_refactored.hazards.burntarea.ows_provisional_ba_cfg.layers", "type": "python", }, ] }
category_layers = {'title': 'Hazards', 'abstract': '', 'layers': [{'include': 'ows_refactored.hazards.burntarea.ows_provisional_ba_cfg.layers', 'type': 'python'}]}
class Logger: # Time: O(1), Space: O(M) all incoming messages def __init__(self): # Initialize a data structure to store messages self.messages = {} def shouldPrintMessage(self, timestamp: int, message: str) -> bool: # If the message streaming in does not exist add to dictionary if message not in self.messages: self.messages[message] = timestamp return True # Message exists in dictionary but has the time passed? prev_timestamp + 10 seconds if yes, print elif timestamp >= self.messages[message] + 10: self.messages[message] = timestamp return True # messages has been seen before and time has not passed enough yet. else: return False # Your Logger object will be instantiated and called as such: # obj = Logger() # param_1 = obj.shouldPrintMessage(timestamp,message
class Logger: def __init__(self): self.messages = {} def should_print_message(self, timestamp: int, message: str) -> bool: if message not in self.messages: self.messages[message] = timestamp return True elif timestamp >= self.messages[message] + 10: self.messages[message] = timestamp return True else: return False
def add_native_methods(clazz): def getScrollbarSize__int__(a0): raise NotImplementedError() def setValues__int__int__int__int__(a0, a1, a2, a3, a4): raise NotImplementedError() def setLineIncrement__int__(a0, a1): raise NotImplementedError() def setPageIncrement__int__(a0, a1): raise NotImplementedError() def create__sun_awt_windows_WComponentPeer__(a0, a1): raise NotImplementedError() clazz.getScrollbarSize__int__ = staticmethod(getScrollbarSize__int__) clazz.setValues__int__int__int__int__ = setValues__int__int__int__int__ clazz.setLineIncrement__int__ = setLineIncrement__int__ clazz.setPageIncrement__int__ = setPageIncrement__int__ clazz.create__sun_awt_windows_WComponentPeer__ = create__sun_awt_windows_WComponentPeer__
def add_native_methods(clazz): def get_scrollbar_size__int__(a0): raise not_implemented_error() def set_values__int__int__int__int__(a0, a1, a2, a3, a4): raise not_implemented_error() def set_line_increment__int__(a0, a1): raise not_implemented_error() def set_page_increment__int__(a0, a1): raise not_implemented_error() def create__sun_awt_windows_w_component_peer__(a0, a1): raise not_implemented_error() clazz.getScrollbarSize__int__ = staticmethod(getScrollbarSize__int__) clazz.setValues__int__int__int__int__ = setValues__int__int__int__int__ clazz.setLineIncrement__int__ = setLineIncrement__int__ clazz.setPageIncrement__int__ = setPageIncrement__int__ clazz.create__sun_awt_windows_WComponentPeer__ = create__sun_awt_windows_WComponentPeer__
number = int(input("Which number do you want to choose")) if number % 2 == 0: print("This is an even number.") else: print("This is an odd number.")
number = int(input('Which number do you want to choose')) if number % 2 == 0: print('This is an even number.') else: print('This is an odd number.')
# General info AUTHOR_NAME = "Jeremy Gordon" SITENAME = "Flow" EMAIL_PREFIX = "[ Flow ] " TAGLINE = "A personal dashboard to focus on what matters" SECURE_BASE = "https://flowdash.co" # Emails APP_OWNER = "onejgordon@gmail.com" ADMIN_EMAIL = APP_OWNER DAILY_REPORT_RECIPS = [APP_OWNER] SENDER_EMAIL = APP_OWNER NOTIF_EMAILS = [APP_OWNER] GCS_REPORT_BUCKET = "/flow_reports" BACKGROUND_SERVICE = "default" # Flags NEW_USER_NOTIFICATIONS = False DEFAULT_USER_SETTINGS = { 'journals': { 'questions': [ { 'name': "narrative", 'text': "A few words on your day?", 'response_type': "text", 'parse_tags': True }, { 'name': "day_rating", 'label': "Rating", 'text': "How was the day?", 'response_type': "slider", 'chart': True, 'chart_default': True, 'tag_segment_chart': True, 'color': '#dd0000' } ] } } # Strings HABIT_DONE_REPLIES = [ "Well done!", "Nice work!", "Alright!", "Great!", "Great job!", "Keep it up!" ] HABIT_COMMIT_REPLIES = [ "Yeah, do it!", "You can do it!", "Can't wait!", "Great idea!", "You got this" ] TASK_DONE_REPLIES = [ "That didn't look hard!", "Just like that", "Fini", "OK!", "OK", "Roger", "Check", "Great" ] COOKIE_NAME = "flow_session" class HABIT(): HELP = "You can set habits to build, and track completion. Try saying 'new habit: run', 'habit progress', or 'commit to run tonight'" ACTIVE_LIMIT = 20 class EVENT(): # Type PERSONAL = 1 FAMILY = 2 PROFESSIONAL = 3 PUBLIC = 4 class JOURNAL(): HELP = "You can set up daily questions to track anything you want over time. Try saying 'daily report'" # Timing START_HOUR = 21 END_HOUR = 4 # Patterns PTN_TEXT_RESPONSE = '.*' PTN_NUM_RESPONSE = '\d{1,4}\.?\d{0,2}' # Response Types PATTERNS = { 'text': PTN_TEXT_RESPONSE, 'number': PTN_NUM_RESPONSE, 'number_oe': PTN_NUM_RESPONSE, # For input box entry 'slider': PTN_NUM_RESPONSE } NUMERIC_RESPONSES = ['number', 'slider', 'number_oe'] INVALID_REPLY = "I couldn't understand your answer." INVALID_SUFFIX_NUMERIC = "I'm expecting a number between 1 and 10." INVALID_TASK = "That didn't look like a task, please try again" TOP_TASK_PROMPT = "Enter a top task for tomorrow (or you can say 'done')" TOP_TASK_PROMPT_ADDTL = "Enter another top task for tomorrow (you can say 'done')" ALREADY_SUBMITTED_REPLY = "Sorry, you've already submitted today's journal." class JOURNALTAG(): # Types PERSON = 1 HASHTAG = 2 # Activities, etc class READABLE(): # Type ARTICLE = 1 BOOK = 2 PAPER = 3 LABELS = { ARTICLE: "Article", BOOK: "Book", PAPER: "Paper" } LOOKUP = { "article": 1, "book": 2, "paper": 3 } class TASK(): # Status NOT_DONE = 1 DONE = 2 HELP = "You can set and track top tasks each day. Try saying 'add task remember the milk' or 'my tasks'" class USER(): USER = 1 ADMIN = 2 class GOAL(): HELP = "You can review your monthly and annual goals. Try saying 'view goals'" SET_INFO = "Bear with us as we're still in beta! Please visit flowdash.co to create monthly, annual, and long-term goals." DEFAULT_GOAL_SLOTS = 4 class REPORT(): # Types HABIT_REPORT = 1 TASK_REPORT = 2 GOAL_REPORT = 3 JOURNAL_REPORT = 4 EVENT_REPORT = 5 PROJECT_REPORT = 6 TRACKING_REPORT = 7 # Status CREATED = 1 GENERATING = 2 DONE = 3 CANCELLED = 4 ERROR = 5 # STORAGE TYPES GCS_CLIENT = 1 # Ftypes CSV = 1 TYPE_LABELS = { HABIT_REPORT: "Habit Report", TASK_REPORT: "Task Report", GOAL_REPORT: "Goal Report", JOURNAL_REPORT: "Journal Report", EVENT_REPORT: "Event Report", TRACKING_REPORT: "Tracking Report" } STATUS_LABELS = { CREATED: "Created", GENERATING: "Generating", DONE: "Done", CANCELLED: "Cancelled", ERROR: "Error" } EXTENSIONS = {CSV: "csv"}
author_name = 'Jeremy Gordon' sitename = 'Flow' email_prefix = '[ Flow ] ' tagline = 'A personal dashboard to focus on what matters' secure_base = 'https://flowdash.co' app_owner = 'onejgordon@gmail.com' admin_email = APP_OWNER daily_report_recips = [APP_OWNER] sender_email = APP_OWNER notif_emails = [APP_OWNER] gcs_report_bucket = '/flow_reports' background_service = 'default' new_user_notifications = False default_user_settings = {'journals': {'questions': [{'name': 'narrative', 'text': 'A few words on your day?', 'response_type': 'text', 'parse_tags': True}, {'name': 'day_rating', 'label': 'Rating', 'text': 'How was the day?', 'response_type': 'slider', 'chart': True, 'chart_default': True, 'tag_segment_chart': True, 'color': '#dd0000'}]}} habit_done_replies = ['Well done!', 'Nice work!', 'Alright!', 'Great!', 'Great job!', 'Keep it up!'] habit_commit_replies = ['Yeah, do it!', 'You can do it!', "Can't wait!", 'Great idea!', 'You got this'] task_done_replies = ["That didn't look hard!", 'Just like that', 'Fini', 'OK!', 'OK', 'Roger', 'Check', 'Great'] cookie_name = 'flow_session' class Habit: help = "You can set habits to build, and track completion. Try saying 'new habit: run', 'habit progress', or 'commit to run tonight'" active_limit = 20 class Event: personal = 1 family = 2 professional = 3 public = 4 class Journal: help = "You can set up daily questions to track anything you want over time. Try saying 'daily report'" start_hour = 21 end_hour = 4 ptn_text_response = '.*' ptn_num_response = '\\d{1,4}\\.?\\d{0,2}' patterns = {'text': PTN_TEXT_RESPONSE, 'number': PTN_NUM_RESPONSE, 'number_oe': PTN_NUM_RESPONSE, 'slider': PTN_NUM_RESPONSE} numeric_responses = ['number', 'slider', 'number_oe'] invalid_reply = "I couldn't understand your answer." invalid_suffix_numeric = "I'm expecting a number between 1 and 10." invalid_task = "That didn't look like a task, please try again" top_task_prompt = "Enter a top task for tomorrow (or you can say 'done')" top_task_prompt_addtl = "Enter another top task for tomorrow (you can say 'done')" already_submitted_reply = "Sorry, you've already submitted today's journal." class Journaltag: person = 1 hashtag = 2 class Readable: article = 1 book = 2 paper = 3 labels = {ARTICLE: 'Article', BOOK: 'Book', PAPER: 'Paper'} lookup = {'article': 1, 'book': 2, 'paper': 3} class Task: not_done = 1 done = 2 help = "You can set and track top tasks each day. Try saying 'add task remember the milk' or 'my tasks'" class User: user = 1 admin = 2 class Goal: help = "You can review your monthly and annual goals. Try saying 'view goals'" set_info = "Bear with us as we're still in beta! Please visit flowdash.co to create monthly, annual, and long-term goals." default_goal_slots = 4 class Report: habit_report = 1 task_report = 2 goal_report = 3 journal_report = 4 event_report = 5 project_report = 6 tracking_report = 7 created = 1 generating = 2 done = 3 cancelled = 4 error = 5 gcs_client = 1 csv = 1 type_labels = {HABIT_REPORT: 'Habit Report', TASK_REPORT: 'Task Report', GOAL_REPORT: 'Goal Report', JOURNAL_REPORT: 'Journal Report', EVENT_REPORT: 'Event Report', TRACKING_REPORT: 'Tracking Report'} status_labels = {CREATED: 'Created', GENERATING: 'Generating', DONE: 'Done', CANCELLED: 'Cancelled', ERROR: 'Error'} extensions = {CSV: 'csv'}
class StandartIO: def read(self, file_name): f = open(file_name, "r") result = f.read() f.close() return result def write(self, file_name, data): f = open(file_name, "w") f.write(data) f.close() def append(self, file_name, data, line): content = '' with open(file_name, 'r') as f: content = f.readlines() if line == 0: content[-1] += '\n' content.append(data) else: content[line-1] = content[line-1].strip() + data + '\n' # Write them back to the file with open(file_name, 'w') as f: f.writelines(content)
class Standartio: def read(self, file_name): f = open(file_name, 'r') result = f.read() f.close() return result def write(self, file_name, data): f = open(file_name, 'w') f.write(data) f.close() def append(self, file_name, data, line): content = '' with open(file_name, 'r') as f: content = f.readlines() if line == 0: content[-1] += '\n' content.append(data) else: content[line - 1] = content[line - 1].strip() + data + '\n' with open(file_name, 'w') as f: f.writelines(content)
N, M = map(int, input().split()) grid = [input() for _ in range(N)] max_length = min(N, M) def is_square(n): for i in range(N-n+1): for j in range(M-n+1): if is_same(n, i, j): return True return False def is_same(k, x, y): if grid[x][y] == grid[x][y+k-1] == grid[x+k-1][y] == grid[x+k-1][y+k-1]: return True return False for length in range(max_length, 1, -1): if is_square(length): print(length ** 2) break else: print(1)
(n, m) = map(int, input().split()) grid = [input() for _ in range(N)] max_length = min(N, M) def is_square(n): for i in range(N - n + 1): for j in range(M - n + 1): if is_same(n, i, j): return True return False def is_same(k, x, y): if grid[x][y] == grid[x][y + k - 1] == grid[x + k - 1][y] == grid[x + k - 1][y + k - 1]: return True return False for length in range(max_length, 1, -1): if is_square(length): print(length ** 2) break else: print(1)
def KGI(serial): if len(str(serial)) == 10 : enterprise = "362" tests = "3713713713713" synthetic = enterprise+str(serial) step1 =[] for i in range(len(synthetic)): step1.append(str(int(synthetic[i])*int(tests[i]))) step2 = 0 for i in range(len(step1)): step2 = step2+ int(step1[i][-1]) step3 = int(str(step2)[-1]) result = str(10-step3)[-1] return enterprise+str(serial)+result else : print("input error") return None
def kgi(serial): if len(str(serial)) == 10: enterprise = '362' tests = '3713713713713' synthetic = enterprise + str(serial) step1 = [] for i in range(len(synthetic)): step1.append(str(int(synthetic[i]) * int(tests[i]))) step2 = 0 for i in range(len(step1)): step2 = step2 + int(step1[i][-1]) step3 = int(str(step2)[-1]) result = str(10 - step3)[-1] return enterprise + str(serial) + result else: print('input error') return None
class JadeError(Exception): # RPC error codes INVALID_REQUEST = -32600 UNKNOWN_METHOD = -32601 BAD_PARAMETERS = -32602 INTERNAL_ERROR = -32603 # Implementation specific error codes: -32000 to -32099 USER_CANCELLED = -32000 PROTOCOL_ERROR = -32001 HW_LOCKED = -32002 NETWORK_MISMATCH = -32003 def __init__(self, code, message, data): self.code = code self.message = message self.data = data def __repr__(self): return ( "JadeError: " + str(self.code) + " - " + self.message + " (Data: " + repr(self.data) + ")" ) def __str__(self): return repr(self)
class Jadeerror(Exception): invalid_request = -32600 unknown_method = -32601 bad_parameters = -32602 internal_error = -32603 user_cancelled = -32000 protocol_error = -32001 hw_locked = -32002 network_mismatch = -32003 def __init__(self, code, message, data): self.code = code self.message = message self.data = data def __repr__(self): return 'JadeError: ' + str(self.code) + ' - ' + self.message + ' (Data: ' + repr(self.data) + ')' def __str__(self): return repr(self)
def sum(arr): if len(arr) == 1: return arr[0] return arr[0] + sum(arr[1:]) print(sum([2, 2, 4, 6])) # 14
def sum(arr): if len(arr) == 1: return arr[0] return arr[0] + sum(arr[1:]) print(sum([2, 2, 4, 6]))
WEEK0 = 'week0' WEEK1 = 'week1' MONTH0 = 'month0' MONTH1 = 'month1' DATE_RANGES = [WEEK0, WEEK1, MONTH0, MONTH1] FORMS_SUBMITTED = 'forms_submitted' CASES_TOTAL = 'cases_total' CASES_ACTIVE = 'cases_active' CASES_OPENED = 'cases_opened' CASES_CLOSED = 'cases_closed' LEGACY_TOTAL_CASES = 'totalCases' LEGACY_CASES_UPDATED = 'casesUpdated' LEGACY_FORMS_SUBMITTED = 'formsSubmitted' CASE_SLUGS = [CASES_TOTAL, CASES_ACTIVE, CASES_OPENED, CASES_CLOSED] STANDARD_SLUGS = [FORMS_SUBMITTED] + CASE_SLUGS LEGACY_SLUGS = [LEGACY_TOTAL_CASES, LEGACY_FORMS_SUBMITTED, LEGACY_CASES_UPDATED] LEGACY_SLUG_MAP = { LEGACY_TOTAL_CASES: CASES_TOTAL, LEGACY_CASES_UPDATED: CASES_ACTIVE, LEGACY_FORMS_SUBMITTED: FORMS_SUBMITTED, } PCI_CHILD_FORM = 'http://openrosa.org/formdesigner/85823851-3622-4E9E-9E86-401500A39354' PCI_MOTHER_FORM = 'http://openrosa.org/formdesigner/366434ec56aba382966f77639a2414bbc3c56cbc' AAROHI_CHILD_FORM = 'http://openrosa.org/formdesigner/09486EF6-04C8-480C-BA11-2F8887BBBADD' AAROHI_MOTHER_FORM = 'http://openrosa.org/formdesigner/6C63E53D-2F6C-4730-AA5E-BAD36B50A170' # https://www.commcarehq.org/a/cdc-mozambique-test/apps/view/a85dfcb5054dd6349ba696e8f8d5f425 # https://www.commcarehq.org/a/infomovel/apps/view/44fce3b36d9d43f7f30eaaab84df6cda CDC_FindPatientForms = 'http://openrosa.org/formdesigner/DA10DCC2-8240-4101-B964-6F5424BD2B86' CDC_RegisterContactForms = 'http://openrosa.org/formdesigner/c0671536f2087bb80e460d57f60c98e5b785b955' CDC_NormalVisit = 'http://openrosa.org/formdesigner/74BD43B5-5253-4855-B195-F3F049B8F8CC' CDC_FirstVisit = 'http://openrosa.org/formdesigner/66e768cc5f551f6c42f3034ee67a869b85bac826' CDC_ContactRegistration = 'http://openrosa.org/formdesigner/e3aa9c0da42a616cbd28c8ce3d74f0d09718fe81' CDC_PatientEducation = 'http://openrosa.org/formdesigner/58d56d542f35bd8d3dd16fbd31ee4e5a3a7b35d2' CDC_ActivistaEducation = 'http://openrosa.org/formdesigner/b8532594e7d38cdd6c632a8249814ce5c043c03c' CDC_BuscaActivaVisit = 'http://openrosa.org/formdesigner/52ca9bc2d99d28a07bc60f3a353a80047a0950a8' CDC_RegisterPatientForms = "http://openrosa.org/formdesigner/1738a73d0c19b608912255c412674cb9c8b64629" CUSTOM_FORM = 'custom_form' TYPE_DURATION = 'duration' TYPE_SUM = 'sum' PER_DOMAIN_FORM_INDICATORS = { 'aarohi': { 'motherForms': {'type': TYPE_SUM, 'xmlns': AAROHI_MOTHER_FORM}, 'childForms': {'type': TYPE_SUM, 'xmlns': AAROHI_CHILD_FORM}, 'motherDuration': {'type': TYPE_DURATION, 'xmlns': AAROHI_MOTHER_FORM}, }, 'pci-india': { 'motherForms': {'type': TYPE_SUM, 'xmlns': PCI_MOTHER_FORM}, 'childForms': {'type': TYPE_SUM, 'xmlns': PCI_CHILD_FORM}, }, 'infomovel': { # Supervisor App V1 'FindPatientForms': {'type': TYPE_SUM, 'xmlns': CDC_FindPatientForms}, 'RegisterContactForms': {'type': TYPE_SUM, 'xmlns': CDC_RegisterContactForms}, 'NormalVisit': {'type': TYPE_SUM, 'xmlns': CDC_NormalVisit}, 'FirstVisit': {'type': TYPE_SUM, 'xmlns': CDC_FirstVisit}, 'ContactRegistration': {'type': TYPE_SUM, 'xmlns': CDC_ContactRegistration}, 'PatientEducation': {'type': TYPE_SUM, 'xmlns': CDC_PatientEducation}, 'ActivistaEducation': {'type': TYPE_SUM, 'xmlns': CDC_ActivistaEducation}, 'BuscaActivaVisit': {'type': TYPE_SUM, 'xmlns': CDC_BuscaActivaVisit}, # Supervisor App V2 # 'FindPatientForms': {'type': TYPE_SUM, 'xmlns': CDC_FindPatientForms}, 'FirstVisitForms': {'type': TYPE_SUM, 'xmlns': CDC_FirstVisit}, 'RegisterPatientForms': {'type': TYPE_SUM, 'xmlns': CDC_RegisterPatientForms}, 'BuscaActivaForms': {'type': TYPE_SUM, 'xmlns': CDC_BuscaActivaVisit}, 'HomeVisitForms': {'type': TYPE_SUM, 'xmlns': CDC_NormalVisit}, }, 'cdc-mozambique-test': { 'FindPatientForms': {'type': TYPE_SUM, 'xmlns': CDC_FindPatientForms}, 'FirstVisitForms': {'type': TYPE_SUM, 'xmlns': CDC_FirstVisit}, 'RegisterPatientForms': {'type': TYPE_SUM, 'xmlns': CDC_RegisterPatientForms}, 'BuscaActivaForms': {'type': TYPE_SUM, 'xmlns': CDC_BuscaActivaVisit}, 'HomeVisitForms': {'type': TYPE_SUM, 'xmlns': CDC_NormalVisit}, }, } CALLCENTER_USER = 'callcenter-system'
week0 = 'week0' week1 = 'week1' month0 = 'month0' month1 = 'month1' date_ranges = [WEEK0, WEEK1, MONTH0, MONTH1] forms_submitted = 'forms_submitted' cases_total = 'cases_total' cases_active = 'cases_active' cases_opened = 'cases_opened' cases_closed = 'cases_closed' legacy_total_cases = 'totalCases' legacy_cases_updated = 'casesUpdated' legacy_forms_submitted = 'formsSubmitted' case_slugs = [CASES_TOTAL, CASES_ACTIVE, CASES_OPENED, CASES_CLOSED] standard_slugs = [FORMS_SUBMITTED] + CASE_SLUGS legacy_slugs = [LEGACY_TOTAL_CASES, LEGACY_FORMS_SUBMITTED, LEGACY_CASES_UPDATED] legacy_slug_map = {LEGACY_TOTAL_CASES: CASES_TOTAL, LEGACY_CASES_UPDATED: CASES_ACTIVE, LEGACY_FORMS_SUBMITTED: FORMS_SUBMITTED} pci_child_form = 'http://openrosa.org/formdesigner/85823851-3622-4E9E-9E86-401500A39354' pci_mother_form = 'http://openrosa.org/formdesigner/366434ec56aba382966f77639a2414bbc3c56cbc' aarohi_child_form = 'http://openrosa.org/formdesigner/09486EF6-04C8-480C-BA11-2F8887BBBADD' aarohi_mother_form = 'http://openrosa.org/formdesigner/6C63E53D-2F6C-4730-AA5E-BAD36B50A170' cdc__find_patient_forms = 'http://openrosa.org/formdesigner/DA10DCC2-8240-4101-B964-6F5424BD2B86' cdc__register_contact_forms = 'http://openrosa.org/formdesigner/c0671536f2087bb80e460d57f60c98e5b785b955' cdc__normal_visit = 'http://openrosa.org/formdesigner/74BD43B5-5253-4855-B195-F3F049B8F8CC' cdc__first_visit = 'http://openrosa.org/formdesigner/66e768cc5f551f6c42f3034ee67a869b85bac826' cdc__contact_registration = 'http://openrosa.org/formdesigner/e3aa9c0da42a616cbd28c8ce3d74f0d09718fe81' cdc__patient_education = 'http://openrosa.org/formdesigner/58d56d542f35bd8d3dd16fbd31ee4e5a3a7b35d2' cdc__activista_education = 'http://openrosa.org/formdesigner/b8532594e7d38cdd6c632a8249814ce5c043c03c' cdc__busca_activa_visit = 'http://openrosa.org/formdesigner/52ca9bc2d99d28a07bc60f3a353a80047a0950a8' cdc__register_patient_forms = 'http://openrosa.org/formdesigner/1738a73d0c19b608912255c412674cb9c8b64629' custom_form = 'custom_form' type_duration = 'duration' type_sum = 'sum' per_domain_form_indicators = {'aarohi': {'motherForms': {'type': TYPE_SUM, 'xmlns': AAROHI_MOTHER_FORM}, 'childForms': {'type': TYPE_SUM, 'xmlns': AAROHI_CHILD_FORM}, 'motherDuration': {'type': TYPE_DURATION, 'xmlns': AAROHI_MOTHER_FORM}}, 'pci-india': {'motherForms': {'type': TYPE_SUM, 'xmlns': PCI_MOTHER_FORM}, 'childForms': {'type': TYPE_SUM, 'xmlns': PCI_CHILD_FORM}}, 'infomovel': {'FindPatientForms': {'type': TYPE_SUM, 'xmlns': CDC_FindPatientForms}, 'RegisterContactForms': {'type': TYPE_SUM, 'xmlns': CDC_RegisterContactForms}, 'NormalVisit': {'type': TYPE_SUM, 'xmlns': CDC_NormalVisit}, 'FirstVisit': {'type': TYPE_SUM, 'xmlns': CDC_FirstVisit}, 'ContactRegistration': {'type': TYPE_SUM, 'xmlns': CDC_ContactRegistration}, 'PatientEducation': {'type': TYPE_SUM, 'xmlns': CDC_PatientEducation}, 'ActivistaEducation': {'type': TYPE_SUM, 'xmlns': CDC_ActivistaEducation}, 'BuscaActivaVisit': {'type': TYPE_SUM, 'xmlns': CDC_BuscaActivaVisit}, 'FirstVisitForms': {'type': TYPE_SUM, 'xmlns': CDC_FirstVisit}, 'RegisterPatientForms': {'type': TYPE_SUM, 'xmlns': CDC_RegisterPatientForms}, 'BuscaActivaForms': {'type': TYPE_SUM, 'xmlns': CDC_BuscaActivaVisit}, 'HomeVisitForms': {'type': TYPE_SUM, 'xmlns': CDC_NormalVisit}}, 'cdc-mozambique-test': {'FindPatientForms': {'type': TYPE_SUM, 'xmlns': CDC_FindPatientForms}, 'FirstVisitForms': {'type': TYPE_SUM, 'xmlns': CDC_FirstVisit}, 'RegisterPatientForms': {'type': TYPE_SUM, 'xmlns': CDC_RegisterPatientForms}, 'BuscaActivaForms': {'type': TYPE_SUM, 'xmlns': CDC_BuscaActivaVisit}, 'HomeVisitForms': {'type': TYPE_SUM, 'xmlns': CDC_NormalVisit}}} callcenter_user = 'callcenter-system'
# for no processing # the generators for non essential parameters need to provide the # default value when called with None def nothing(strin): if strin is None: return 'default' return strin def prot_core(strin): return strin.split(',') # {'keyword in input file':(essential?,method to call(processing))} # method should take exactly one string # for non-essential parameters: method must return default value parameters = {'michaels_test_message': (True, nothing)}
def nothing(strin): if strin is None: return 'default' return strin def prot_core(strin): return strin.split(',') parameters = {'michaels_test_message': (True, nothing)}
# Minimum distance to skip in meters for skeleton creation. skip_rate = 100 # seconds to skip while creating the estimate trail from raw trail jump_seconds = 100 # Distance vehicle can travel away from route, used in case of identifying trails that leave a skeleton and then join again. d1 = 1000 # meters # Distance to measure closeness towards skeleton points d2 = 60 # meters # minimum length of a route min_route_length = 8000 # meters # Define distance and angle that can be interpolared allowed_distance = 100 # meters allowed_time = 10 # seconds allowed_angle = 15 # degrees # Data file location data_location = 'G:/Repos/Trans-Portal' # BusStopFinderCodeLocation bsf_location = '../BusStopage/Busstop/' # Feature Extraction Code Location fa_location = '../RoadNatureDetection/' # archive location archive = './archive/'
skip_rate = 100 jump_seconds = 100 d1 = 1000 d2 = 60 min_route_length = 8000 allowed_distance = 100 allowed_time = 10 allowed_angle = 15 data_location = 'G:/Repos/Trans-Portal' bsf_location = '../BusStopage/Busstop/' fa_location = '../RoadNatureDetection/' archive = './archive/'
''' Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a binary tree in which the left and right subtrees of every node differ in height by no more than 1. '''
""" Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as: a binary tree in which the left and right subtrees of every node differ in height by no more than 1. """
def f1(): print('call f1') def f2(): return 'some value'
def f1(): print('call f1') def f2(): return 'some value'
{ "name" : "ZK Biometric Device Integration Kware (ZKTECO) Demo (UDP)", "version" : "1.0", "author" : "JUVENTUD PRODUCTIVA VENEZOLANA", "category" : "HR", "website" : "https://www.youtube.com/channel/UCTj66IUz5M-QV15Mtbx_7yg", "description": "Module for the connection between odoo and zkteco devices for the control of employee assistance. This module is a demo version to test the compatibility of your device with our module.d Odoo.", 'license': 'AGPL-3', "depends" : ["base","hr"], "data" : [ "views/biometric_machine_view.xml", "secuirty/res_groups.xml", "secuirty/ir.model.access.csv" ], 'images': ['static/images/zk_screenshot.jpg'], "active": True, "installable": True, }
{'name': 'ZK Biometric Device Integration Kware (ZKTECO) Demo (UDP)', 'version': '1.0', 'author': 'JUVENTUD PRODUCTIVA VENEZOLANA', 'category': 'HR', 'website': 'https://www.youtube.com/channel/UCTj66IUz5M-QV15Mtbx_7yg', 'description': 'Module for the connection between odoo and zkteco devices for the control of employee assistance. This module is a demo version to test the compatibility of your device with our module.d Odoo.', 'license': 'AGPL-3', 'depends': ['base', 'hr'], 'data': ['views/biometric_machine_view.xml', 'secuirty/res_groups.xml', 'secuirty/ir.model.access.csv'], 'images': ['static/images/zk_screenshot.jpg'], 'active': True, 'installable': True}
f = open("1/input.txt", "rt") # read line by line lines = f.readlines() line = lines[0] floor = 0 firstBasement = None for i in range(0, len(line)): if line[i] == "(": floor += 1 else: floor -= 1 if (floor < 0) & (firstBasement == None): firstBasement = i+1 print("answer 1 - " + str(floor)) print("answer 2 - " + str(firstBasement))
f = open('1/input.txt', 'rt') lines = f.readlines() line = lines[0] floor = 0 first_basement = None for i in range(0, len(line)): if line[i] == '(': floor += 1 else: floor -= 1 if (floor < 0) & (firstBasement == None): first_basement = i + 1 print('answer 1 - ' + str(floor)) print('answer 2 - ' + str(firstBasement))
a = [int(x) for x in input().split()] if a[0] >= a[1]: a[1] += 24 print(f"O JOGO DUROU {a[1] - a[0]} HORA(S)")
a = [int(x) for x in input().split()] if a[0] >= a[1]: a[1] += 24 print(f'O JOGO DUROU {a[1] - a[0]} HORA(S)')
# -*- coding: utf-8 -*- R = float(input()) PI = 3.14159 VOLUME = (4 / 3) * PI * (R ** 3) print("VOLUME = %.3f" % (VOLUME))
r = float(input()) pi = 3.14159 volume = 4 / 3 * PI * R ** 3 print('VOLUME = %.3f' % VOLUME)
f = open("textfile.txt"); for line in f: print (line) f.close()
f = open('textfile.txt') for line in f: print(line) f.close()
# search_data: The data to be used in a search POST. search_data = { 'metodo': 'buscar', 'acao': '', 'resumoFormacao': '', 'resumoAtividade': '', 'resumoAtuacao': '', 'resumoProducao': '', 'resumoPesquisador': '', 'resumoIdioma': '', 'resumoPresencaDGP': '', 'resumoModalidade': 'Bolsas+de+PQ+de+categorias0', 'modoIndAdhoc': '', 'buscaAvancada': '0', 'filtros.buscaNome': 'true', 'textoBusca': '.', 'buscarDoutores': 'true', 'buscarDemais': 'true', 'buscarBrasileiros': 'true', 'buscarEstrangeiros': 'true', 'paisNascimento': '0', 'textoBuscaTodas': '', 'textoBuscaFrase': '', 'textoBuscaQualquer': '', 'textoBuscaNenhuma': '', 'textoExpressao': '', 'buscarDoutoresAvancada': 'true', 'buscarBrasileirosAvancada': 'true', 'buscarEstrangeirosAvancada': 'true', 'paisNascimentoAvancada': '0', 'filtros.atualizacaoCurriculo': '48', 'quantidadeRegistros': '20', 'filtros.visualizaEnderecoCV': 'true', 'filtros.visualizaFormacaoAcadTitCV': 'true', 'filtros.visualizaAtuacaoProfCV': 'true', 'filtros.visualizaAreasAtuacaoCV': 'true', 'filtros.visualizaIdiomasCV': 'true', 'filtros.visualizaPremiosTitulosCV': 'true', 'filtros.visualizaSoftwaresCV': 'true', 'filtros.visualizaProdutosCV': 'true', 'filtros.visualizaProcessosCV': 'true', 'filtros.visualizaTrabalhosTecnicosCV': 'true', 'filtros.visualizaOutrasProdTecCV': 'true', 'filtros.visualizaArtigosCV': 'true', 'filtros.visualizaLivrosCapitulosCV': 'true', 'filtros.visualizaTrabEventosCV': 'true', 'filtros.visualizaTxtJornalRevistaCV': 'true', 'filtros.visualizaOutrasProdBibCV': 'true', 'filtros.visualizaProdArtCultCV': 'true', 'filtros.visualizaOrientacoesConcluidasCV': 'true', 'filtros.visualizaOrientacoesAndamentoCV': 'true', 'filtros.visualizaDemaisTrabalhosCV': 'true', 'filtros.visualizaDadosComplementaresCV': 'true', 'filtros.visualizaOutrasInfRelevantesCV': 'true', 'filtros.radioPeriodoProducao': '1', 'filtros.visualizaPeriodoProducaoCV': '', 'filtros.categoriaNivelBolsa': '', 'filtros.modalidadeBolsa': '0', 'filtros.nivelFormacao': '0', 'filtros.paisFormacao': '0', 'filtros.regiaoFormacao': '0', 'filtros.ufFormacao': '0', 'filtros.nomeInstFormacao': '', 'filtros.conceitoCurso': '', 'filtros.buscaAtuacao': 'false', 'filtros.codigoGrandeAreaAtuacao': '0', 'filtros.codigoAreaAtuacao': '0', 'filtros.codigoSubareaAtuacao': '0', 'filtros.codigoEspecialidadeAtuacao': '0', 'filtros.orientadorCNPq': '', 'filtros.idioma': '0', 'filtros.grandeAreaProducao': '0', 'filtros.areaProducao': '0', 'filtros.setorProducao': '0', 'filtros.naturezaAtividade': '0', 'filtros.paisAtividade': '0', 'filtros.regiaoAtividade': '0', 'filtros.ufAtividade': '0', 'filtros.nomeInstAtividade': '', } # params_payload: The params to be used in a GET pagination. params_payload = { 'metodo': 'forwardPaginaResultados', 'registros': '1;1000', 'query': ('( +idx_particao:1 +idx_nacionalidade:e) or ' '( +idx_particao:1 +idx_nacionalidade:b)'), 'analise': 'cv', 'tipoOrdenacao': 'null', 'paginaOrigem': 'index.do', 'mostrarScore': 'false', 'mostrarBandeira': 'false', 'modoIndAdhoc': 'null', }
search_data = {'metodo': 'buscar', 'acao': '', 'resumoFormacao': '', 'resumoAtividade': '', 'resumoAtuacao': '', 'resumoProducao': '', 'resumoPesquisador': '', 'resumoIdioma': '', 'resumoPresencaDGP': '', 'resumoModalidade': 'Bolsas+de+PQ+de+categorias0', 'modoIndAdhoc': '', 'buscaAvancada': '0', 'filtros.buscaNome': 'true', 'textoBusca': '.', 'buscarDoutores': 'true', 'buscarDemais': 'true', 'buscarBrasileiros': 'true', 'buscarEstrangeiros': 'true', 'paisNascimento': '0', 'textoBuscaTodas': '', 'textoBuscaFrase': '', 'textoBuscaQualquer': '', 'textoBuscaNenhuma': '', 'textoExpressao': '', 'buscarDoutoresAvancada': 'true', 'buscarBrasileirosAvancada': 'true', 'buscarEstrangeirosAvancada': 'true', 'paisNascimentoAvancada': '0', 'filtros.atualizacaoCurriculo': '48', 'quantidadeRegistros': '20', 'filtros.visualizaEnderecoCV': 'true', 'filtros.visualizaFormacaoAcadTitCV': 'true', 'filtros.visualizaAtuacaoProfCV': 'true', 'filtros.visualizaAreasAtuacaoCV': 'true', 'filtros.visualizaIdiomasCV': 'true', 'filtros.visualizaPremiosTitulosCV': 'true', 'filtros.visualizaSoftwaresCV': 'true', 'filtros.visualizaProdutosCV': 'true', 'filtros.visualizaProcessosCV': 'true', 'filtros.visualizaTrabalhosTecnicosCV': 'true', 'filtros.visualizaOutrasProdTecCV': 'true', 'filtros.visualizaArtigosCV': 'true', 'filtros.visualizaLivrosCapitulosCV': 'true', 'filtros.visualizaTrabEventosCV': 'true', 'filtros.visualizaTxtJornalRevistaCV': 'true', 'filtros.visualizaOutrasProdBibCV': 'true', 'filtros.visualizaProdArtCultCV': 'true', 'filtros.visualizaOrientacoesConcluidasCV': 'true', 'filtros.visualizaOrientacoesAndamentoCV': 'true', 'filtros.visualizaDemaisTrabalhosCV': 'true', 'filtros.visualizaDadosComplementaresCV': 'true', 'filtros.visualizaOutrasInfRelevantesCV': 'true', 'filtros.radioPeriodoProducao': '1', 'filtros.visualizaPeriodoProducaoCV': '', 'filtros.categoriaNivelBolsa': '', 'filtros.modalidadeBolsa': '0', 'filtros.nivelFormacao': '0', 'filtros.paisFormacao': '0', 'filtros.regiaoFormacao': '0', 'filtros.ufFormacao': '0', 'filtros.nomeInstFormacao': '', 'filtros.conceitoCurso': '', 'filtros.buscaAtuacao': 'false', 'filtros.codigoGrandeAreaAtuacao': '0', 'filtros.codigoAreaAtuacao': '0', 'filtros.codigoSubareaAtuacao': '0', 'filtros.codigoEspecialidadeAtuacao': '0', 'filtros.orientadorCNPq': '', 'filtros.idioma': '0', 'filtros.grandeAreaProducao': '0', 'filtros.areaProducao': '0', 'filtros.setorProducao': '0', 'filtros.naturezaAtividade': '0', 'filtros.paisAtividade': '0', 'filtros.regiaoAtividade': '0', 'filtros.ufAtividade': '0', 'filtros.nomeInstAtividade': ''} params_payload = {'metodo': 'forwardPaginaResultados', 'registros': '1;1000', 'query': '( +idx_particao:1 +idx_nacionalidade:e) or ( +idx_particao:1 +idx_nacionalidade:b)', 'analise': 'cv', 'tipoOrdenacao': 'null', 'paginaOrigem': 'index.do', 'mostrarScore': 'false', 'mostrarBandeira': 'false', 'modoIndAdhoc': 'null'}
class Solution(object): def destCity(self, paths): origin, destination = [], [] for p in paths: origin.append(p[0]) destination.append(p[1]) for d in destination: if d not in origin : return d
class Solution(object): def dest_city(self, paths): (origin, destination) = ([], []) for p in paths: origin.append(p[0]) destination.append(p[1]) for d in destination: if d not in origin: return d
class AsyncRunner: async def __call__(self, facade_method, *args, **kwargs): await self.connection.rpc(facade_method(*args, **kwargs)) class ThreadedRunner: pass # Methods are descriptors?? # get is called with params # set gets called with the result? # This could let us fake the protocol we want # while decoupling the protocol from the RPC and the IO/Process context # The problem is leaking the runtime impl details to the top levels of the API # with async def By handling the Marshal/Unmarshal side of RPC as a protocol we # can leave the RPC running to a specific delegate without altering the method # signatures. This still isn't quite right though as async is co-op # multitasking and the methods still need to know not to block or they will # pause other execution
class Asyncrunner: async def __call__(self, facade_method, *args, **kwargs): await self.connection.rpc(facade_method(*args, **kwargs)) class Threadedrunner: pass
class ListNode: def __init__(self, x): self.val = x self.next = None def make_list(values: list[int]) -> list[ListNode]: v = [] for i, val in enumerate(values): v.append(ListNode(val)) if i > 0: v[i - 1].next = v[i] return v def same_values(head: ListNode, values: list[int]) -> bool: node = head for val in values: if node is None or node.val != val: return False node = node.next return node is None
class Listnode: def __init__(self, x): self.val = x self.next = None def make_list(values: list[int]) -> list[ListNode]: v = [] for (i, val) in enumerate(values): v.append(list_node(val)) if i > 0: v[i - 1].next = v[i] return v def same_values(head: ListNode, values: list[int]) -> bool: node = head for val in values: if node is None or node.val != val: return False node = node.next return node is None
def test_d_1(): assert True def test_d_2(): assert True def test_d_3(): assert True
def test_d_1(): assert True def test_d_2(): assert True def test_d_3(): assert True
#!/usr/bin/env python3 class Node(): def __init__(self, parent=None, position=None): self.parent = parent # parent node self.position = position #self.position = (position[1], position[0]) # y, x self.distance_from_start = 0 self.distance_to_end = 0 self.cost = 0 self.move = 0 # move counter def __str__(self): if self.position == None: return "None" else: return str(self.position) def __eq__(self, node): return self.position == node.position # unused def is_position(self, x, y): if self.position[0] == x and self.position[1] == y: return True return False def get_neighbor_positions(self, order=None): neighbors = [] offsets = [] if order == 0: offsets = [(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1),(-1,0),(-1,1)] elif order == 1: offsets = [(1,-1),(1,0),(0,-1),(1,1),(-1,-1),(0,1),(-1,0),(-1,1)] elif order == 2: offsets = [(1,-1),(1,0),(0,-1),(1,1),(-1,-1),(0,1),(-1,0),(-1,1)] elif order == 3: offsets = [(0,1),(0,-1),(-1,0),(1,0),(1,1),(1,-1),(-1,-1),(-1,1)] elif order == 4: offsets = [(0,-1),(0,1),(-1,0),(1,0),(-1,-1),(-1,1),(1,-1),(1,1)] else: offsets = [(1,1),(1,0),(0,1),(1,-1),(-1,1),(0,-1),(-1,0),(-1,-1)] check_parent = True if self.parent is None: check_parent = False else: if self.parent.position is None: check_parent = False for offset in offsets: if offset[0] == 0 and offset[1] == 0: continue y = self.position[0] + offset[0] x = self.position[1] + offset[1] if check_parent: if self.parent.position[0] == y and self.parent.position[1] == x: continue if x < 0 or y < 0: # skip minus position continue neighbors.append((y,x)) return neighbors
class Node: def __init__(self, parent=None, position=None): self.parent = parent self.position = position self.distance_from_start = 0 self.distance_to_end = 0 self.cost = 0 self.move = 0 def __str__(self): if self.position == None: return 'None' else: return str(self.position) def __eq__(self, node): return self.position == node.position def is_position(self, x, y): if self.position[0] == x and self.position[1] == y: return True return False def get_neighbor_positions(self, order=None): neighbors = [] offsets = [] if order == 0: offsets = [(0, 1), (1, 1), (1, 0), (1, -1), (0, -1), (-1, -1), (-1, 0), (-1, 1)] elif order == 1: offsets = [(1, -1), (1, 0), (0, -1), (1, 1), (-1, -1), (0, 1), (-1, 0), (-1, 1)] elif order == 2: offsets = [(1, -1), (1, 0), (0, -1), (1, 1), (-1, -1), (0, 1), (-1, 0), (-1, 1)] elif order == 3: offsets = [(0, 1), (0, -1), (-1, 0), (1, 0), (1, 1), (1, -1), (-1, -1), (-1, 1)] elif order == 4: offsets = [(0, -1), (0, 1), (-1, 0), (1, 0), (-1, -1), (-1, 1), (1, -1), (1, 1)] else: offsets = [(1, 1), (1, 0), (0, 1), (1, -1), (-1, 1), (0, -1), (-1, 0), (-1, -1)] check_parent = True if self.parent is None: check_parent = False elif self.parent.position is None: check_parent = False for offset in offsets: if offset[0] == 0 and offset[1] == 0: continue y = self.position[0] + offset[0] x = self.position[1] + offset[1] if check_parent: if self.parent.position[0] == y and self.parent.position[1] == x: continue if x < 0 or y < 0: continue neighbors.append((y, x)) return neighbors
registry = set() def register(active=True): def decorate(func): print('Running registry (active=%s)->decorate(%s)' % (active, func)) if active: registry.add(func) else: registry.discard(func) return func return decorate @register(active=False) def f1(): print('Running f1()') @register() # need parentheses, as parametrized decorator def f2(): print('Running f2()') def f3(): print('Running f3()') if __name__ == '__main__': f1() f2() f3() print(registry) # {<function f2 at 0x102c441e0>}
registry = set() def register(active=True): def decorate(func): print('Running registry (active=%s)->decorate(%s)' % (active, func)) if active: registry.add(func) else: registry.discard(func) return func return decorate @register(active=False) def f1(): print('Running f1()') @register() def f2(): print('Running f2()') def f3(): print('Running f3()') if __name__ == '__main__': f1() f2() f3() print(registry)
''' Description: Given a collection of numbers that might contain duplicates, return all possible unique permutations. Example: Input: [1,1,2] Output: [ [1,1,2], [1,2,1], [2,1,1] ] ''' class Solution: # @param num, a list of integer # @return a list of lists of integers def permuteUnique(self, num): length = len(num) if length == 0: return [] if length == 1: return [num] # pre-processing num.sort() res = [] previousNum = None for i in range(length): if num[i] == previousNum: continue previousNum = num[i] for j in self.permuteUnique(num[:i] + num[i+1:]): res.append([num[i]] + j) return res def test_bench(): test_data = [1,1,2] print( Solution().permuteUnique(test_data) ) return if __name__ == '__main__': test_bench()
""" Description: Given a collection of numbers that might contain duplicates, return all possible unique permutations. Example: Input: [1,1,2] Output: [ [1,1,2], [1,2,1], [2,1,1] ] """ class Solution: def permute_unique(self, num): length = len(num) if length == 0: return [] if length == 1: return [num] num.sort() res = [] previous_num = None for i in range(length): if num[i] == previousNum: continue previous_num = num[i] for j in self.permuteUnique(num[:i] + num[i + 1:]): res.append([num[i]] + j) return res def test_bench(): test_data = [1, 1, 2] print(solution().permuteUnique(test_data)) return if __name__ == '__main__': test_bench()
def x1(y): if y < 10: z = x1(y+1) z += 1 return z + 3 return y def x2(y): if y < 10: z = x2(y+1) return z + 3 return y x1(5) x2(5)
def x1(y): if y < 10: z = x1(y + 1) z += 1 return z + 3 return y def x2(y): if y < 10: z = x2(y + 1) return z + 3 return y x1(5) x2(5)
# This file is used with the GYP meta build system. # http://code.google.com/p/gyp # To build try this: # svn co http://gyp.googlecode.com/svn/trunk gyp # ./gyp/gyp -f make --depth=`pwd` libexpat.gyp # make # ./out/Debug/test { 'target_defaults': { 'default_configuration': 'Debug', 'configurations': { # TODO: hoist these out and put them somewhere common, because # RuntimeLibrary MUST MATCH across the entire project 'Debug': { 'defines': [ 'DEBUG', '_DEBUG' ], 'msvs_settings': { 'VCCLCompilerTool': { 'RuntimeLibrary': 1, # static debug }, }, }, 'Release': { 'defines': [ 'NDEBUG' ], 'msvs_settings': { 'VCCLCompilerTool': { 'RuntimeLibrary': 0, # static release }, }, } }, 'msvs_settings': { 'VCCLCompilerTool': { }, 'VCLibrarianTool': { }, 'VCLinkerTool': { 'GenerateDebugInformation': 'true', }, }, }, 'targets': [ { 'variables': { 'target_arch%': 'ia32' }, # default for node v0.6.x 'target_name': 'expat', 'product_prefix': 'lib', 'type': 'static_library', 'sources': [ 'lib/xmlparse.c', 'lib/xmltok.c', 'lib/xmlrole.c', ], 'defines': [ 'PIC', 'HAVE_EXPAT_CONFIG_H' ], 'include_dirs': [ '.', 'lib', ], 'direct_dependent_settings': { 'include_dirs': [ '.', 'lib', ], 'conditions': [ ['OS=="win"', { 'defines': [ 'XML_STATIC' ] }] ], }, }, { 'target_name': 'version', 'type': 'executable', 'dependencies': [ 'expat' ], 'sources': [ 'version.c' ] }, ] }
{'target_defaults': {'default_configuration': 'Debug', 'configurations': {'Debug': {'defines': ['DEBUG', '_DEBUG'], 'msvs_settings': {'VCCLCompilerTool': {'RuntimeLibrary': 1}}}, 'Release': {'defines': ['NDEBUG'], 'msvs_settings': {'VCCLCompilerTool': {'RuntimeLibrary': 0}}}}, 'msvs_settings': {'VCCLCompilerTool': {}, 'VCLibrarianTool': {}, 'VCLinkerTool': {'GenerateDebugInformation': 'true'}}}, 'targets': [{'variables': {'target_arch%': 'ia32'}, 'target_name': 'expat', 'product_prefix': 'lib', 'type': 'static_library', 'sources': ['lib/xmlparse.c', 'lib/xmltok.c', 'lib/xmlrole.c'], 'defines': ['PIC', 'HAVE_EXPAT_CONFIG_H'], 'include_dirs': ['.', 'lib'], 'direct_dependent_settings': {'include_dirs': ['.', 'lib'], 'conditions': [['OS=="win"', {'defines': ['XML_STATIC']}]]}}, {'target_name': 'version', 'type': 'executable', 'dependencies': ['expat'], 'sources': ['version.c']}]}
x = [1,2,3] y = [1,2,3] print(x == y) print(x is y)
x = [1, 2, 3] y = [1, 2, 3] print(x == y) print(x is y)
# Equal # https://www.interviewbit.com/problems/equal/ # # Given an array A of integers, find the index of values that satisfy A + B = C + D, where A,B,C & D are integers values in the array # # Note: # # 1) Return the indices `A1 B1 C1 D1`, so that # A[A1] + A[B1] = A[C1] + A[D1] # A1 < B1, C1 < D1 # A1 < C1, B1 != D1, B1 != C1 # # 2) If there are more than one solutions, # then return the tuple of values which are lexicographical smallest. # # Assume we have two solutions # S1 : A1 B1 C1 D1 ( these are values of indices int the array ) # S2 : A2 B2 C2 D2 # # S1 is lexicographically smaller than S2 iff # A1 < A2 OR # A1 = A2 AND B1 < B2 OR # A1 = A2 AND B1 = B2 AND C1 < C2 OR # A1 = A2 AND B1 = B2 AND C1 = C2 AND D1 < D2 # Example: # # Input: [3, 4, 7, 1, 2, 9, 8] # Output: [0, 2, 3, 5] (O index) # If no solution is possible, return an empty list. # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # class Solution: def intersect(self, l1, l2): return [x for x in l1 if x in l2] # @param A : list of integers # @return a list of integers def equal(self, A): dp, ans = dict(), list() for i in range(len(A)): for j in range(i + 1, len(A)): s, st = A[i] + A[j], [i, j] if s in dp: if not self.intersect(dp[s], st): ll = list(dp[s] + st) ans = ll if not ans or ll < ans else ans else: dp[s] = st return ans # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # if __name__ == "__main__": s = Solution() print(s.equal([3, 4, 7, 1, 2, 9, 8]))
class Solution: def intersect(self, l1, l2): return [x for x in l1 if x in l2] def equal(self, A): (dp, ans) = (dict(), list()) for i in range(len(A)): for j in range(i + 1, len(A)): (s, st) = (A[i] + A[j], [i, j]) if s in dp: if not self.intersect(dp[s], st): ll = list(dp[s] + st) ans = ll if not ans or ll < ans else ans else: dp[s] = st return ans if __name__ == '__main__': s = solution() print(s.equal([3, 4, 7, 1, 2, 9, 8]))
{ "targets": [ { "target_name": "gomodule_addon", "sources": ["nodegomodule.cc"], "include_dirs": [ "<(module_root_dir)/../../" ], "libraries": ["<(module_root_dir)/../../../gomodule/build/gomodule.so"] } ] }
{'targets': [{'target_name': 'gomodule_addon', 'sources': ['nodegomodule.cc'], 'include_dirs': ['<(module_root_dir)/../../'], 'libraries': ['<(module_root_dir)/../../../gomodule/build/gomodule.so']}]}
{ "targets": [ { # OpenSSL has a lot of config options, with some default options # enabling known insecure algorithms. What's a good combinations # of openssl config options? # ./config no-asm no-shared no-ssl2 no-ssl3 no-hw no-zlib no-threads # ? # See also http://codefromthe70s.org/sslimprov.aspx "target_name": "openssl", "type": "static_library", # The list of sources I computed on Windows via: # >cd bru_modules\openssl\1.0.1j\openssl-1.0.1j # >perl Configure VC-WIN32 no-asm no-ssl2 no-ssl3 no-hw # >call ms\\do_ms.bat # >nmake /n /f ms\nt.mak > nmake.log # >cd bru_modules\openssl # where the *.gyp is located # >~\bru\makefile2gyp.py 1.0.1j\openssl-1.0.1j\nmake.log "sources": [ "1.0.1j/openssl-1.0.1j/crypto/aes/aes_cbc.c", "1.0.1j/openssl-1.0.1j/crypto/aes/aes_cfb.c", "1.0.1j/openssl-1.0.1j/crypto/aes/aes_core.c", "1.0.1j/openssl-1.0.1j/crypto/aes/aes_ctr.c", "1.0.1j/openssl-1.0.1j/crypto/aes/aes_ecb.c", "1.0.1j/openssl-1.0.1j/crypto/aes/aes_ige.c", "1.0.1j/openssl-1.0.1j/crypto/aes/aes_misc.c", "1.0.1j/openssl-1.0.1j/crypto/aes/aes_ofb.c", "1.0.1j/openssl-1.0.1j/crypto/aes/aes_wrap.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_bitstr.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_bool.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_bytes.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_d2i_fp.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_digest.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_dup.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_enum.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_gentm.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_i2d_fp.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_int.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_mbstr.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_object.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_octet.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_print.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_set.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_sign.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_strex.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_strnid.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_time.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_type.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_utctm.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_utf8.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/a_verify.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/ameth_lib.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/asn1_err.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/asn1_gen.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/asn1_lib.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/asn1_par.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/asn_mime.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/asn_moid.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/asn_pack.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/bio_asn1.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/bio_ndef.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/d2i_pr.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/d2i_pu.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/evp_asn1.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/f_enum.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/f_int.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/f_string.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/i2d_pr.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/i2d_pu.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/n_pkey.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/nsseq.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/p5_pbe.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/p5_pbev2.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/p8_pkey.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/t_bitst.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/t_crl.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/t_pkey.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/t_req.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/t_spki.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/t_x509.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/t_x509a.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_dec.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_enc.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_fre.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_new.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_prn.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_typ.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_utl.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_algor.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_attrib.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_bignum.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_crl.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_exten.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_info.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_long.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_name.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_nx509.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_pkey.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_pubkey.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_req.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_sig.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_spki.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_val.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_x509.c", "1.0.1j/openssl-1.0.1j/crypto/asn1/x_x509a.c", "1.0.1j/openssl-1.0.1j/crypto/bf/bf_cfb64.c", "1.0.1j/openssl-1.0.1j/crypto/bf/bf_ecb.c", "1.0.1j/openssl-1.0.1j/crypto/bf/bf_enc.c", "1.0.1j/openssl-1.0.1j/crypto/bf/bf_ofb64.c", "1.0.1j/openssl-1.0.1j/crypto/bf/bf_skey.c", "1.0.1j/openssl-1.0.1j/crypto/bf/bftest.c", "1.0.1j/openssl-1.0.1j/crypto/bio/b_dump.c", "1.0.1j/openssl-1.0.1j/crypto/bio/b_print.c", "1.0.1j/openssl-1.0.1j/crypto/bio/b_sock.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bf_buff.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bf_nbio.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bf_null.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bio_cb.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bio_err.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bio_lib.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bss_acpt.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bss_bio.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bss_conn.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bss_dgram.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bss_fd.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bss_file.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bss_log.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bss_mem.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bss_null.c", "1.0.1j/openssl-1.0.1j/crypto/bio/bss_sock.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_add.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_asm.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_blind.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_const.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_ctx.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_depr.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_div.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_err.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_exp.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_exp2.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_gcd.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_gf2m.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_kron.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_lib.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_mod.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_mont.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_mpi.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_mul.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_nist.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_prime.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_print.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_rand.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_recp.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_shift.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_sqr.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_sqrt.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_word.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bn_x931p.c", "1.0.1j/openssl-1.0.1j/crypto/bn/bntest.c", "1.0.1j/openssl-1.0.1j/crypto/bn/exptest.c", "1.0.1j/openssl-1.0.1j/crypto/buffer/buf_err.c", "1.0.1j/openssl-1.0.1j/crypto/buffer/buf_str.c", "1.0.1j/openssl-1.0.1j/crypto/buffer/buffer.c", "1.0.1j/openssl-1.0.1j/crypto/camellia/camellia.c", "1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_cbc.c", "1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_cfb.c", "1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_ctr.c", "1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_ecb.c", "1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_misc.c", "1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_ofb.c", "1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_utl.c", "1.0.1j/openssl-1.0.1j/crypto/cast/c_cfb64.c", "1.0.1j/openssl-1.0.1j/crypto/cast/c_ecb.c", "1.0.1j/openssl-1.0.1j/crypto/cast/c_enc.c", "1.0.1j/openssl-1.0.1j/crypto/cast/c_ofb64.c", "1.0.1j/openssl-1.0.1j/crypto/cast/c_skey.c", "1.0.1j/openssl-1.0.1j/crypto/cast/casttest.c", "1.0.1j/openssl-1.0.1j/crypto/cmac/cm_ameth.c", "1.0.1j/openssl-1.0.1j/crypto/cmac/cm_pmeth.c", "1.0.1j/openssl-1.0.1j/crypto/cmac/cmac.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_asn1.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_att.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_cd.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_dd.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_enc.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_env.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_err.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_ess.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_io.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_lib.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_pwri.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_sd.c", "1.0.1j/openssl-1.0.1j/crypto/cms/cms_smime.c", "1.0.1j/openssl-1.0.1j/crypto/comp/c_rle.c", "1.0.1j/openssl-1.0.1j/crypto/comp/c_zlib.c", "1.0.1j/openssl-1.0.1j/crypto/comp/comp_err.c", "1.0.1j/openssl-1.0.1j/crypto/comp/comp_lib.c", "1.0.1j/openssl-1.0.1j/crypto/conf/conf_api.c", "1.0.1j/openssl-1.0.1j/crypto/conf/conf_def.c", "1.0.1j/openssl-1.0.1j/crypto/conf/conf_err.c", "1.0.1j/openssl-1.0.1j/crypto/conf/conf_lib.c", "1.0.1j/openssl-1.0.1j/crypto/conf/conf_mall.c", "1.0.1j/openssl-1.0.1j/crypto/conf/conf_mod.c", "1.0.1j/openssl-1.0.1j/crypto/conf/conf_sap.c", "1.0.1j/openssl-1.0.1j/crypto/constant_time_test.c", "1.0.1j/openssl-1.0.1j/crypto/cpt_err.c", "1.0.1j/openssl-1.0.1j/crypto/cryptlib.c", "1.0.1j/openssl-1.0.1j/crypto/cversion.c", "1.0.1j/openssl-1.0.1j/crypto/des/cbc_cksm.c", "1.0.1j/openssl-1.0.1j/crypto/des/cbc_enc.c", "1.0.1j/openssl-1.0.1j/crypto/des/cfb64ede.c", "1.0.1j/openssl-1.0.1j/crypto/des/cfb64enc.c", "1.0.1j/openssl-1.0.1j/crypto/des/cfb_enc.c", "1.0.1j/openssl-1.0.1j/crypto/des/des_enc.c", "1.0.1j/openssl-1.0.1j/crypto/des/des_old.c", "1.0.1j/openssl-1.0.1j/crypto/des/des_old2.c", "1.0.1j/openssl-1.0.1j/crypto/des/destest.c", "1.0.1j/openssl-1.0.1j/crypto/des/ecb3_enc.c", "1.0.1j/openssl-1.0.1j/crypto/des/ecb_enc.c", "1.0.1j/openssl-1.0.1j/crypto/des/ede_cbcm_enc.c", "1.0.1j/openssl-1.0.1j/crypto/des/enc_read.c", "1.0.1j/openssl-1.0.1j/crypto/des/enc_writ.c", "1.0.1j/openssl-1.0.1j/crypto/des/fcrypt.c", "1.0.1j/openssl-1.0.1j/crypto/des/fcrypt_b.c", "1.0.1j/openssl-1.0.1j/crypto/des/ofb64ede.c", "1.0.1j/openssl-1.0.1j/crypto/des/ofb64enc.c", "1.0.1j/openssl-1.0.1j/crypto/des/ofb_enc.c", "1.0.1j/openssl-1.0.1j/crypto/des/pcbc_enc.c", "1.0.1j/openssl-1.0.1j/crypto/des/qud_cksm.c", "1.0.1j/openssl-1.0.1j/crypto/des/rand_key.c", "1.0.1j/openssl-1.0.1j/crypto/des/read2pwd.c", "1.0.1j/openssl-1.0.1j/crypto/des/rpc_enc.c", "1.0.1j/openssl-1.0.1j/crypto/des/set_key.c", "1.0.1j/openssl-1.0.1j/crypto/des/str2key.c", "1.0.1j/openssl-1.0.1j/crypto/des/xcbc_enc.c", "1.0.1j/openssl-1.0.1j/crypto/dh/dh_ameth.c", "1.0.1j/openssl-1.0.1j/crypto/dh/dh_asn1.c", "1.0.1j/openssl-1.0.1j/crypto/dh/dh_check.c", "1.0.1j/openssl-1.0.1j/crypto/dh/dh_depr.c", "1.0.1j/openssl-1.0.1j/crypto/dh/dh_err.c", "1.0.1j/openssl-1.0.1j/crypto/dh/dh_gen.c", "1.0.1j/openssl-1.0.1j/crypto/dh/dh_key.c", "1.0.1j/openssl-1.0.1j/crypto/dh/dh_lib.c", "1.0.1j/openssl-1.0.1j/crypto/dh/dh_pmeth.c", "1.0.1j/openssl-1.0.1j/crypto/dh/dh_prn.c", "1.0.1j/openssl-1.0.1j/crypto/dh/dhtest.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_ameth.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_asn1.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_depr.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_err.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_gen.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_key.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_lib.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_ossl.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_pmeth.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_prn.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_sign.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_vrf.c", "1.0.1j/openssl-1.0.1j/crypto/dsa/dsatest.c", "1.0.1j/openssl-1.0.1j/crypto/dso/dso_beos.c", "1.0.1j/openssl-1.0.1j/crypto/dso/dso_dl.c", "1.0.1j/openssl-1.0.1j/crypto/dso/dso_dlfcn.c", "1.0.1j/openssl-1.0.1j/crypto/dso/dso_err.c", "1.0.1j/openssl-1.0.1j/crypto/dso/dso_lib.c", "1.0.1j/openssl-1.0.1j/crypto/dso/dso_null.c", "1.0.1j/openssl-1.0.1j/crypto/dso/dso_openssl.c", "1.0.1j/openssl-1.0.1j/crypto/dso/dso_vms.c", "1.0.1j/openssl-1.0.1j/crypto/dso/dso_win32.c", "1.0.1j/openssl-1.0.1j/crypto/ebcdic.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec2_mult.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec2_oct.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec2_smpl.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_ameth.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_asn1.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_check.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_curve.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_cvt.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_err.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_key.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_lib.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_mult.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_oct.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_pmeth.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ec_print.c", "1.0.1j/openssl-1.0.1j/crypto/ec/eck_prn.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ecp_mont.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ecp_nist.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ecp_nistp224.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ecp_nistp256.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ecp_nistp521.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ecp_nistputil.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ecp_oct.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ecp_smpl.c", "1.0.1j/openssl-1.0.1j/crypto/ec/ectest.c", "1.0.1j/openssl-1.0.1j/crypto/ecdh/ecdhtest.c", "1.0.1j/openssl-1.0.1j/crypto/ecdh/ech_err.c", "1.0.1j/openssl-1.0.1j/crypto/ecdh/ech_key.c", "1.0.1j/openssl-1.0.1j/crypto/ecdh/ech_lib.c", "1.0.1j/openssl-1.0.1j/crypto/ecdh/ech_ossl.c", "1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecdsatest.c", "1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_asn1.c", "1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_err.c", "1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_lib.c", "1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_ossl.c", "1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_sign.c", "1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_vrf.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_all.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_cnf.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_cryptodev.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_ctrl.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_dyn.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_err.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_fat.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_init.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_lib.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_list.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_openssl.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_pkey.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_rdrand.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_rsax.c", "1.0.1j/openssl-1.0.1j/crypto/engine/eng_table.c", "1.0.1j/openssl-1.0.1j/crypto/engine/enginetest.c", "1.0.1j/openssl-1.0.1j/crypto/engine/tb_asnmth.c", "1.0.1j/openssl-1.0.1j/crypto/engine/tb_cipher.c", "1.0.1j/openssl-1.0.1j/crypto/engine/tb_dh.c", "1.0.1j/openssl-1.0.1j/crypto/engine/tb_digest.c", "1.0.1j/openssl-1.0.1j/crypto/engine/tb_dsa.c", "1.0.1j/openssl-1.0.1j/crypto/engine/tb_ecdh.c", "1.0.1j/openssl-1.0.1j/crypto/engine/tb_ecdsa.c", "1.0.1j/openssl-1.0.1j/crypto/engine/tb_pkmeth.c", "1.0.1j/openssl-1.0.1j/crypto/engine/tb_rand.c", "1.0.1j/openssl-1.0.1j/crypto/engine/tb_rsa.c", "1.0.1j/openssl-1.0.1j/crypto/engine/tb_store.c", "1.0.1j/openssl-1.0.1j/crypto/err/err.c", "1.0.1j/openssl-1.0.1j/crypto/err/err_all.c", "1.0.1j/openssl-1.0.1j/crypto/err/err_prn.c", "1.0.1j/openssl-1.0.1j/crypto/evp/bio_b64.c", "1.0.1j/openssl-1.0.1j/crypto/evp/bio_enc.c", "1.0.1j/openssl-1.0.1j/crypto/evp/bio_md.c", "1.0.1j/openssl-1.0.1j/crypto/evp/bio_ok.c", "1.0.1j/openssl-1.0.1j/crypto/evp/c_all.c", "1.0.1j/openssl-1.0.1j/crypto/evp/c_allc.c", "1.0.1j/openssl-1.0.1j/crypto/evp/c_alld.c", "1.0.1j/openssl-1.0.1j/crypto/evp/digest.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_aes.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_aes_cbc_hmac_sha1.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_bf.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_camellia.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_cast.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_des.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_des3.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_idea.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_null.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_old.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_rc2.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_rc4.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_rc4_hmac_md5.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_rc5.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_seed.c", "1.0.1j/openssl-1.0.1j/crypto/evp/e_xcbc_d.c", "1.0.1j/openssl-1.0.1j/crypto/evp/encode.c", "1.0.1j/openssl-1.0.1j/crypto/evp/evp_acnf.c", "1.0.1j/openssl-1.0.1j/crypto/evp/evp_cnf.c", "1.0.1j/openssl-1.0.1j/crypto/evp/evp_enc.c", "1.0.1j/openssl-1.0.1j/crypto/evp/evp_err.c", "1.0.1j/openssl-1.0.1j/crypto/evp/evp_fips.c", "1.0.1j/openssl-1.0.1j/crypto/evp/evp_key.c", "1.0.1j/openssl-1.0.1j/crypto/evp/evp_lib.c", "1.0.1j/openssl-1.0.1j/crypto/evp/evp_pbe.c", "1.0.1j/openssl-1.0.1j/crypto/evp/evp_pkey.c", "1.0.1j/openssl-1.0.1j/crypto/evp/evp_test.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_dss.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_dss1.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_ecdsa.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_md4.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_md5.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_mdc2.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_null.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_ripemd.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_sha.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_sha1.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_sigver.c", "1.0.1j/openssl-1.0.1j/crypto/evp/m_wp.c", "1.0.1j/openssl-1.0.1j/crypto/evp/names.c", "1.0.1j/openssl-1.0.1j/crypto/evp/p5_crpt.c", "1.0.1j/openssl-1.0.1j/crypto/evp/p5_crpt2.c", "1.0.1j/openssl-1.0.1j/crypto/evp/p_dec.c", "1.0.1j/openssl-1.0.1j/crypto/evp/p_enc.c", "1.0.1j/openssl-1.0.1j/crypto/evp/p_lib.c", "1.0.1j/openssl-1.0.1j/crypto/evp/p_open.c", "1.0.1j/openssl-1.0.1j/crypto/evp/p_seal.c", "1.0.1j/openssl-1.0.1j/crypto/evp/p_sign.c", "1.0.1j/openssl-1.0.1j/crypto/evp/p_verify.c", "1.0.1j/openssl-1.0.1j/crypto/evp/pmeth_fn.c", "1.0.1j/openssl-1.0.1j/crypto/evp/pmeth_gn.c", "1.0.1j/openssl-1.0.1j/crypto/evp/pmeth_lib.c", "1.0.1j/openssl-1.0.1j/crypto/ex_data.c", "1.0.1j/openssl-1.0.1j/crypto/fips_ers.c", "1.0.1j/openssl-1.0.1j/crypto/hmac/hm_ameth.c", "1.0.1j/openssl-1.0.1j/crypto/hmac/hm_pmeth.c", "1.0.1j/openssl-1.0.1j/crypto/hmac/hmac.c", "1.0.1j/openssl-1.0.1j/crypto/hmac/hmactest.c", "1.0.1j/openssl-1.0.1j/crypto/idea/i_cbc.c", "1.0.1j/openssl-1.0.1j/crypto/idea/i_cfb64.c", "1.0.1j/openssl-1.0.1j/crypto/idea/i_ecb.c", "1.0.1j/openssl-1.0.1j/crypto/idea/i_ofb64.c", "1.0.1j/openssl-1.0.1j/crypto/idea/i_skey.c", "1.0.1j/openssl-1.0.1j/crypto/idea/ideatest.c", "1.0.1j/openssl-1.0.1j/crypto/krb5/krb5_asn.c", "1.0.1j/openssl-1.0.1j/crypto/lhash/lh_stats.c", "1.0.1j/openssl-1.0.1j/crypto/lhash/lhash.c", "1.0.1j/openssl-1.0.1j/crypto/md4/md4_dgst.c", "1.0.1j/openssl-1.0.1j/crypto/md4/md4_one.c", "1.0.1j/openssl-1.0.1j/crypto/md4/md4test.c", "1.0.1j/openssl-1.0.1j/crypto/md5/md5_dgst.c", "1.0.1j/openssl-1.0.1j/crypto/md5/md5_one.c", "1.0.1j/openssl-1.0.1j/crypto/md5/md5test.c", "1.0.1j/openssl-1.0.1j/crypto/mdc2/mdc2_one.c", "1.0.1j/openssl-1.0.1j/crypto/mdc2/mdc2dgst.c", "1.0.1j/openssl-1.0.1j/crypto/mdc2/mdc2test.c", "1.0.1j/openssl-1.0.1j/crypto/mem.c", "1.0.1j/openssl-1.0.1j/crypto/mem_clr.c", "1.0.1j/openssl-1.0.1j/crypto/mem_dbg.c", "1.0.1j/openssl-1.0.1j/crypto/modes/cbc128.c", "1.0.1j/openssl-1.0.1j/crypto/modes/ccm128.c", "1.0.1j/openssl-1.0.1j/crypto/modes/cfb128.c", "1.0.1j/openssl-1.0.1j/crypto/modes/ctr128.c", "1.0.1j/openssl-1.0.1j/crypto/modes/cts128.c", "1.0.1j/openssl-1.0.1j/crypto/modes/gcm128.c", "1.0.1j/openssl-1.0.1j/crypto/modes/ofb128.c", "1.0.1j/openssl-1.0.1j/crypto/modes/xts128.c", "1.0.1j/openssl-1.0.1j/crypto/o_dir.c", "1.0.1j/openssl-1.0.1j/crypto/o_fips.c", "1.0.1j/openssl-1.0.1j/crypto/o_init.c", "1.0.1j/openssl-1.0.1j/crypto/o_str.c", "1.0.1j/openssl-1.0.1j/crypto/o_time.c", "1.0.1j/openssl-1.0.1j/crypto/objects/o_names.c", "1.0.1j/openssl-1.0.1j/crypto/objects/obj_dat.c", "1.0.1j/openssl-1.0.1j/crypto/objects/obj_err.c", "1.0.1j/openssl-1.0.1j/crypto/objects/obj_lib.c", "1.0.1j/openssl-1.0.1j/crypto/objects/obj_xref.c", "1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_asn.c", "1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_cl.c", "1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_err.c", "1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_ext.c", "1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_ht.c", "1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_lib.c", "1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_prn.c", "1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_srv.c", "1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_vfy.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pem_all.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pem_err.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pem_info.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pem_lib.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pem_oth.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pem_pk8.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pem_pkey.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pem_seal.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pem_sign.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pem_x509.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pem_xaux.c", "1.0.1j/openssl-1.0.1j/crypto/pem/pvkfmt.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_add.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_asn.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_attr.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_crpt.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_crt.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_decr.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_init.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_key.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_kiss.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_mutl.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_npas.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_p8d.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_p8e.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_utl.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs12/pk12err.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs7/bio_pk7.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_asn1.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_attr.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_doit.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_lib.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_mime.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_smime.c", "1.0.1j/openssl-1.0.1j/crypto/pkcs7/pkcs7err.c", "1.0.1j/openssl-1.0.1j/crypto/pqueue/pqueue.c", "1.0.1j/openssl-1.0.1j/crypto/rand/md_rand.c", "1.0.1j/openssl-1.0.1j/crypto/rand/rand_egd.c", "1.0.1j/openssl-1.0.1j/crypto/rand/rand_err.c", "1.0.1j/openssl-1.0.1j/crypto/rand/rand_lib.c", "1.0.1j/openssl-1.0.1j/crypto/rand/rand_nw.c", "1.0.1j/openssl-1.0.1j/crypto/rand/rand_os2.c", "1.0.1j/openssl-1.0.1j/crypto/rand/rand_unix.c", "1.0.1j/openssl-1.0.1j/crypto/rand/rand_win.c", "1.0.1j/openssl-1.0.1j/crypto/rand/randfile.c", "1.0.1j/openssl-1.0.1j/crypto/rand/randtest.c", "1.0.1j/openssl-1.0.1j/crypto/rc2/rc2_cbc.c", "1.0.1j/openssl-1.0.1j/crypto/rc2/rc2_ecb.c", "1.0.1j/openssl-1.0.1j/crypto/rc2/rc2_skey.c", "1.0.1j/openssl-1.0.1j/crypto/rc2/rc2cfb64.c", "1.0.1j/openssl-1.0.1j/crypto/rc2/rc2ofb64.c", "1.0.1j/openssl-1.0.1j/crypto/rc2/rc2test.c", #"1.0.1j/openssl-1.0.1j/crypto/rc4/rc4_enc.c", #"1.0.1j/openssl-1.0.1j/crypto/rc4/rc4_skey.c", #"1.0.1j/openssl-1.0.1j/crypto/rc4/rc4_utl.c", "1.0.1j/openssl-1.0.1j/crypto/rc4/rc4test.c", "1.0.1j/openssl-1.0.1j/crypto/ripemd/rmd_dgst.c", "1.0.1j/openssl-1.0.1j/crypto/ripemd/rmd_one.c", "1.0.1j/openssl-1.0.1j/crypto/ripemd/rmdtest.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_ameth.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_asn1.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_chk.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_crpt.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_depr.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_eay.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_err.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_gen.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_lib.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_none.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_null.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_oaep.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_pk1.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_pmeth.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_prn.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_pss.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_saos.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_sign.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_ssl.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_test.c", "1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_x931.c", "1.0.1j/openssl-1.0.1j/crypto/seed/seed.c", "1.0.1j/openssl-1.0.1j/crypto/seed/seed_cbc.c", "1.0.1j/openssl-1.0.1j/crypto/seed/seed_cfb.c", "1.0.1j/openssl-1.0.1j/crypto/seed/seed_ecb.c", "1.0.1j/openssl-1.0.1j/crypto/seed/seed_ofb.c", "1.0.1j/openssl-1.0.1j/crypto/sha/sha1_one.c", "1.0.1j/openssl-1.0.1j/crypto/sha/sha1dgst.c", "1.0.1j/openssl-1.0.1j/crypto/sha/sha1test.c", "1.0.1j/openssl-1.0.1j/crypto/sha/sha256.c", "1.0.1j/openssl-1.0.1j/crypto/sha/sha256t.c", "1.0.1j/openssl-1.0.1j/crypto/sha/sha512.c", "1.0.1j/openssl-1.0.1j/crypto/sha/sha512t.c", "1.0.1j/openssl-1.0.1j/crypto/sha/sha_dgst.c", "1.0.1j/openssl-1.0.1j/crypto/sha/sha_one.c", "1.0.1j/openssl-1.0.1j/crypto/sha/shatest.c", "1.0.1j/openssl-1.0.1j/crypto/srp/srp_lib.c", "1.0.1j/openssl-1.0.1j/crypto/srp/srp_vfy.c", "1.0.1j/openssl-1.0.1j/crypto/srp/srptest.c", "1.0.1j/openssl-1.0.1j/crypto/stack/stack.c", "1.0.1j/openssl-1.0.1j/crypto/ts/ts_asn1.c", "1.0.1j/openssl-1.0.1j/crypto/ts/ts_conf.c", "1.0.1j/openssl-1.0.1j/crypto/ts/ts_err.c", "1.0.1j/openssl-1.0.1j/crypto/ts/ts_lib.c", "1.0.1j/openssl-1.0.1j/crypto/ts/ts_req_print.c", "1.0.1j/openssl-1.0.1j/crypto/ts/ts_req_utils.c", "1.0.1j/openssl-1.0.1j/crypto/ts/ts_rsp_print.c", "1.0.1j/openssl-1.0.1j/crypto/ts/ts_rsp_sign.c", "1.0.1j/openssl-1.0.1j/crypto/ts/ts_rsp_utils.c", "1.0.1j/openssl-1.0.1j/crypto/ts/ts_rsp_verify.c", "1.0.1j/openssl-1.0.1j/crypto/ts/ts_verify_ctx.c", "1.0.1j/openssl-1.0.1j/crypto/txt_db/txt_db.c", "1.0.1j/openssl-1.0.1j/crypto/ui/ui_compat.c", "1.0.1j/openssl-1.0.1j/crypto/ui/ui_err.c", "1.0.1j/openssl-1.0.1j/crypto/ui/ui_lib.c", "1.0.1j/openssl-1.0.1j/crypto/ui/ui_openssl.c", "1.0.1j/openssl-1.0.1j/crypto/ui/ui_util.c", "1.0.1j/openssl-1.0.1j/crypto/uid.c", "1.0.1j/openssl-1.0.1j/crypto/whrlpool/wp_block.c", "1.0.1j/openssl-1.0.1j/crypto/whrlpool/wp_dgst.c", "1.0.1j/openssl-1.0.1j/crypto/whrlpool/wp_test.c", "1.0.1j/openssl-1.0.1j/crypto/x509/by_dir.c", "1.0.1j/openssl-1.0.1j/crypto/x509/by_file.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_att.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_cmp.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_d2.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_def.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_err.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_ext.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_lu.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_obj.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_r2x.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_req.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_set.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_trs.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_txt.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_v3.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_vfy.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509_vpm.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509cset.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509name.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509rset.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509spki.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x509type.c", "1.0.1j/openssl-1.0.1j/crypto/x509/x_all.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_cache.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_data.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_lib.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_map.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_node.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_tree.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_addr.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_akey.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_akeya.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_alt.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_asid.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_bcons.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_bitst.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_conf.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_cpols.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_crld.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_enum.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_extku.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_genn.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_ia5.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_info.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_int.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_lib.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_ncons.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_ocsp.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_pci.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_pcia.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_pcons.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_pku.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_pmaps.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_prn.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_purp.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_skey.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_sxnet.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_utl.c", "1.0.1j/openssl-1.0.1j/crypto/x509v3/v3err.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/e_gost_err.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost2001.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost2001_keyx.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost89.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost94_keyx.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost_ameth.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost_asn1.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost_crypt.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost_ctl.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost_eng.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost_keywrap.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost_md.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost_params.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost_pmeth.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gost_sign.c", "1.0.1j/openssl-1.0.1j/engines/ccgost/gosthash.c", "1.0.1j/openssl-1.0.1j/engines/e_4758cca.c", "1.0.1j/openssl-1.0.1j/engines/e_aep.c", "1.0.1j/openssl-1.0.1j/engines/e_atalla.c", "1.0.1j/openssl-1.0.1j/engines/e_capi.c", "1.0.1j/openssl-1.0.1j/engines/e_chil.c", "1.0.1j/openssl-1.0.1j/engines/e_cswift.c", "1.0.1j/openssl-1.0.1j/engines/e_gmp.c", "1.0.1j/openssl-1.0.1j/engines/e_nuron.c", "1.0.1j/openssl-1.0.1j/engines/e_padlock.c", "1.0.1j/openssl-1.0.1j/engines/e_sureware.c", "1.0.1j/openssl-1.0.1j/engines/e_ubsec.c", # these are from ssl/Makefile, not sure why these didn't # show up in the Windows nt.mak file. "1.0.1j/openssl-1.0.1j/ssl/*.c" ], "sources!": [ # exclude various tests that provide an impl of main(): "1.0.1j/openssl-1.0.1j/crypto/*/*test.c", "1.0.1j/openssl-1.0.1j/crypto/sha/sha256t.c", "1.0.1j/openssl-1.0.1j/crypto/sha/sha512t.c", "1.0.1j/openssl-1.0.1j/crypto/*test.c", "1.0.1j/openssl-1.0.1j/ssl/*test.c", "1.0.1j/openssl-1.0.1j/ssl/ssl_task*.c" ], "direct_dependent_settings": { "include_dirs": [ "1.0.1j/openssl-1.0.1j/include" ] }, "include_dirs": [ "1.0.1j/openssl-1.0.1j/include", "1.0.1j/openssl-1.0.1j/crypto", # e.g. cryptlib.h "1.0.1j/openssl-1.0.1j/crypto/asn1", # e.g. asn1_locl.h "1.0.1j/openssl-1.0.1j/crypto/evp", # e.g. evp_locl.h "1.0.1j/openssl-1.0.1j/crypto/modes", "1.0.1j/openssl-1.0.1j" # e.g. e_os.h ], "defines": [ # #defines shared across platforms copied from ms\nt.mak "OPENSSL_NO_RC4", "OPENSSL_NO_RC5", "OPENSSL_NO_MD2", "OPENSSL_NO_SSL2", "OPENSSL_NO_SSL3", "OPENSSL_NO_KRB5", "OPENSSL_NO_HW", "OPENSSL_NO_JPAKE", "OPENSSL_NO_DYNAMIC_ENGINE" ], "conditions": [ ["OS=='win'", { "defines": [ # from ms\nt.mak "OPENSSL_THREADS", "DSO_WIN32", "OPENSSL_SYSNAME_WIN32", "WIN32_LEAN_AND_MEAN", "L_ENDIAN", "_CRT_SECURE_NO_DEPRECATE", "NO_WINDOWS_BRAINDEATH" # for cversion.c ], "link_settings" : { "libraries" : [ # external libs (from nt.mak) "-lws2_32.lib", "-lgdi32.lib", "-ladvapi32.lib", "-lcrypt32.lib", "-luser32.lib" ] } }], ["OS=='mac'", { "defines": [ "OPENSSL_NO_EC_NISTP_64_GCC_128", "OPENSSL_NO_GMP", "OPENSSL_NO_JPAKE", "OPENSSL_NO_MD2", "OPENSSL_NO_RC5", "OPENSSL_NO_RFC3779", "OPENSSL_NO_SCTP", "OPENSSL_NO_SSL2", "OPENSSL_NO_SSL3", "OPENSSL_NO_STORE", "OPENSSL_NO_UNIT_TEST", "NO_WINDOWS_BRAINDEATH" ] }], ["OS=='iOS'", { "defines": [ "OPENSSL_NO_EC_NISTP_64_GCC_128", "OPENSSL_NO_GMP", "OPENSSL_NO_JPAKE", "OPENSSL_NO_MD2", "OPENSSL_NO_RC5", "OPENSSL_NO_RFC3779", "OPENSSL_NO_SCTP", "OPENSSL_NO_SSL2", "OPENSSL_NO_SSL3", "OPENSSL_NO_STORE", "OPENSSL_NO_UNIT_TEST", "NO_WINDOWS_BRAINDEATH" ] }], ["OS=='linux'", { "defines": [ # from Linux Makefile after ./configure "DSO_DLFCN", "HAVE_DLFCN_H", "L_ENDIAN", # TODO: revisit! "TERMIO", # otherwise with clang 3.5 on Ubuntu it get errors around # ROTATE() macro's inline asm. Error I had not got on # Centos with clang 3.4. # Note that this is only a problem with cflags -no-integrated-as # which was necessary for clang 3.4. Messy. TODO: revisit "OPENSSL_NO_INLINE_ASM", "NO_WINDOWS_BRAINDEATH" # for cversion.c, otherwise error (where is buildinf.h?) ], "link_settings" : { "libraries" : [ "-ldl" ] } }] ] }, { "target_name": "ssltest", "type": "executable", "test": { "cwd": "1.0.1j/openssl-1.0.1j/test" }, "defines": [ # without these we get linker errors since the test assumes # by default that SSL2 & 3 was built "OPENSSL_NO_RC4", "OPENSSL_NO_RC5", "OPENSSL_NO_MD2", "OPENSSL_NO_SSL2", "OPENSSL_NO_SSL3", "OPENSSL_NO_KRB5", "OPENSSL_NO_HW", "OPENSSL_NO_JPAKE", "OPENSSL_NO_DYNAMIC_ENGINE" ], "include_dirs": [ "1.0.1j/openssl-1.0.1j" # e.g. e_os.h ], "sources": [ # note how the ssl test depends on many #defines set via # ./configure. Do these need to be passed to the test build # explicitly? Apparently not. "1.0.1j/openssl-1.0.1j/ssl/ssltest.c" ], "dependencies": [ "openssl" ], # this disables building the example on iOS "conditions": [ ["OS=='iOS'", { "type": "none" } ] ] } # compile one of the (interactive) openssl demo apps to verify correct # compiler & linker settings in upstream gyp target: # P.S.: I dont think this test can compile on Windows, so this is not # suitable as a cross-platform test. #{ # "target_name": "demos-easy_tls", # "type": "executable", # not suitable as a test, just building this to see if it links #"test": { # "cwd": "1.0.1j/openssl-1.0.1j/demos/easy_tls" #}, # "include_dir": [ "1.0.1j/openssl-1.0.1j/demos/easy_tls" ], # "sources": [ # "1.0.1j/openssl-1.0.1j/demos/easy_tls/test.c", # "1.0.1j/openssl-1.0.1j/demos/easy_tls/easy-tls.c" # ], # "dependencies": [ "openssl" ] #} ] }
{'targets': [{'target_name': 'openssl', 'type': 'static_library', 'sources': ['1.0.1j/openssl-1.0.1j/crypto/aes/aes_cbc.c', '1.0.1j/openssl-1.0.1j/crypto/aes/aes_cfb.c', '1.0.1j/openssl-1.0.1j/crypto/aes/aes_core.c', '1.0.1j/openssl-1.0.1j/crypto/aes/aes_ctr.c', '1.0.1j/openssl-1.0.1j/crypto/aes/aes_ecb.c', '1.0.1j/openssl-1.0.1j/crypto/aes/aes_ige.c', '1.0.1j/openssl-1.0.1j/crypto/aes/aes_misc.c', '1.0.1j/openssl-1.0.1j/crypto/aes/aes_ofb.c', '1.0.1j/openssl-1.0.1j/crypto/aes/aes_wrap.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_bitstr.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_bool.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_bytes.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_d2i_fp.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_digest.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_dup.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_enum.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_gentm.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_i2d_fp.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_int.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_mbstr.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_object.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_octet.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_print.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_set.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_sign.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_strex.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_strnid.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_time.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_type.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_utctm.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_utf8.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/a_verify.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/ameth_lib.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/asn1_err.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/asn1_gen.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/asn1_lib.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/asn1_par.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/asn_mime.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/asn_moid.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/asn_pack.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/bio_asn1.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/bio_ndef.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/d2i_pr.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/d2i_pu.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/evp_asn1.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/f_enum.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/f_int.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/f_string.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/i2d_pr.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/i2d_pu.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/n_pkey.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/nsseq.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/p5_pbe.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/p5_pbev2.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/p8_pkey.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/t_bitst.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/t_crl.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/t_pkey.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/t_req.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/t_spki.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/t_x509.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/t_x509a.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_dec.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_enc.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_fre.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_new.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_prn.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_typ.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/tasn_utl.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_algor.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_attrib.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_bignum.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_crl.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_exten.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_info.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_long.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_name.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_nx509.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_pkey.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_pubkey.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_req.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_sig.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_spki.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_val.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_x509.c', '1.0.1j/openssl-1.0.1j/crypto/asn1/x_x509a.c', '1.0.1j/openssl-1.0.1j/crypto/bf/bf_cfb64.c', '1.0.1j/openssl-1.0.1j/crypto/bf/bf_ecb.c', '1.0.1j/openssl-1.0.1j/crypto/bf/bf_enc.c', '1.0.1j/openssl-1.0.1j/crypto/bf/bf_ofb64.c', '1.0.1j/openssl-1.0.1j/crypto/bf/bf_skey.c', '1.0.1j/openssl-1.0.1j/crypto/bf/bftest.c', '1.0.1j/openssl-1.0.1j/crypto/bio/b_dump.c', '1.0.1j/openssl-1.0.1j/crypto/bio/b_print.c', '1.0.1j/openssl-1.0.1j/crypto/bio/b_sock.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bf_buff.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bf_nbio.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bf_null.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bio_cb.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bio_err.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bio_lib.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bss_acpt.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bss_bio.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bss_conn.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bss_dgram.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bss_fd.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bss_file.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bss_log.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bss_mem.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bss_null.c', '1.0.1j/openssl-1.0.1j/crypto/bio/bss_sock.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_add.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_asm.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_blind.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_const.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_ctx.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_depr.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_div.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_err.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_exp.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_exp2.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_gcd.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_gf2m.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_kron.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_lib.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_mod.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_mont.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_mpi.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_mul.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_nist.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_prime.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_print.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_rand.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_recp.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_shift.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_sqr.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_sqrt.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_word.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bn_x931p.c', '1.0.1j/openssl-1.0.1j/crypto/bn/bntest.c', '1.0.1j/openssl-1.0.1j/crypto/bn/exptest.c', '1.0.1j/openssl-1.0.1j/crypto/buffer/buf_err.c', '1.0.1j/openssl-1.0.1j/crypto/buffer/buf_str.c', '1.0.1j/openssl-1.0.1j/crypto/buffer/buffer.c', '1.0.1j/openssl-1.0.1j/crypto/camellia/camellia.c', '1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_cbc.c', '1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_cfb.c', '1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_ctr.c', '1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_ecb.c', '1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_misc.c', '1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_ofb.c', '1.0.1j/openssl-1.0.1j/crypto/camellia/cmll_utl.c', '1.0.1j/openssl-1.0.1j/crypto/cast/c_cfb64.c', '1.0.1j/openssl-1.0.1j/crypto/cast/c_ecb.c', '1.0.1j/openssl-1.0.1j/crypto/cast/c_enc.c', '1.0.1j/openssl-1.0.1j/crypto/cast/c_ofb64.c', '1.0.1j/openssl-1.0.1j/crypto/cast/c_skey.c', '1.0.1j/openssl-1.0.1j/crypto/cast/casttest.c', '1.0.1j/openssl-1.0.1j/crypto/cmac/cm_ameth.c', '1.0.1j/openssl-1.0.1j/crypto/cmac/cm_pmeth.c', '1.0.1j/openssl-1.0.1j/crypto/cmac/cmac.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_asn1.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_att.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_cd.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_dd.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_enc.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_env.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_err.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_ess.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_io.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_lib.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_pwri.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_sd.c', '1.0.1j/openssl-1.0.1j/crypto/cms/cms_smime.c', '1.0.1j/openssl-1.0.1j/crypto/comp/c_rle.c', '1.0.1j/openssl-1.0.1j/crypto/comp/c_zlib.c', '1.0.1j/openssl-1.0.1j/crypto/comp/comp_err.c', '1.0.1j/openssl-1.0.1j/crypto/comp/comp_lib.c', '1.0.1j/openssl-1.0.1j/crypto/conf/conf_api.c', '1.0.1j/openssl-1.0.1j/crypto/conf/conf_def.c', '1.0.1j/openssl-1.0.1j/crypto/conf/conf_err.c', '1.0.1j/openssl-1.0.1j/crypto/conf/conf_lib.c', '1.0.1j/openssl-1.0.1j/crypto/conf/conf_mall.c', '1.0.1j/openssl-1.0.1j/crypto/conf/conf_mod.c', '1.0.1j/openssl-1.0.1j/crypto/conf/conf_sap.c', '1.0.1j/openssl-1.0.1j/crypto/constant_time_test.c', '1.0.1j/openssl-1.0.1j/crypto/cpt_err.c', '1.0.1j/openssl-1.0.1j/crypto/cryptlib.c', '1.0.1j/openssl-1.0.1j/crypto/cversion.c', '1.0.1j/openssl-1.0.1j/crypto/des/cbc_cksm.c', '1.0.1j/openssl-1.0.1j/crypto/des/cbc_enc.c', '1.0.1j/openssl-1.0.1j/crypto/des/cfb64ede.c', '1.0.1j/openssl-1.0.1j/crypto/des/cfb64enc.c', '1.0.1j/openssl-1.0.1j/crypto/des/cfb_enc.c', '1.0.1j/openssl-1.0.1j/crypto/des/des_enc.c', '1.0.1j/openssl-1.0.1j/crypto/des/des_old.c', '1.0.1j/openssl-1.0.1j/crypto/des/des_old2.c', '1.0.1j/openssl-1.0.1j/crypto/des/destest.c', '1.0.1j/openssl-1.0.1j/crypto/des/ecb3_enc.c', '1.0.1j/openssl-1.0.1j/crypto/des/ecb_enc.c', '1.0.1j/openssl-1.0.1j/crypto/des/ede_cbcm_enc.c', '1.0.1j/openssl-1.0.1j/crypto/des/enc_read.c', '1.0.1j/openssl-1.0.1j/crypto/des/enc_writ.c', '1.0.1j/openssl-1.0.1j/crypto/des/fcrypt.c', '1.0.1j/openssl-1.0.1j/crypto/des/fcrypt_b.c', '1.0.1j/openssl-1.0.1j/crypto/des/ofb64ede.c', '1.0.1j/openssl-1.0.1j/crypto/des/ofb64enc.c', '1.0.1j/openssl-1.0.1j/crypto/des/ofb_enc.c', '1.0.1j/openssl-1.0.1j/crypto/des/pcbc_enc.c', '1.0.1j/openssl-1.0.1j/crypto/des/qud_cksm.c', '1.0.1j/openssl-1.0.1j/crypto/des/rand_key.c', '1.0.1j/openssl-1.0.1j/crypto/des/read2pwd.c', '1.0.1j/openssl-1.0.1j/crypto/des/rpc_enc.c', '1.0.1j/openssl-1.0.1j/crypto/des/set_key.c', '1.0.1j/openssl-1.0.1j/crypto/des/str2key.c', '1.0.1j/openssl-1.0.1j/crypto/des/xcbc_enc.c', '1.0.1j/openssl-1.0.1j/crypto/dh/dh_ameth.c', '1.0.1j/openssl-1.0.1j/crypto/dh/dh_asn1.c', '1.0.1j/openssl-1.0.1j/crypto/dh/dh_check.c', '1.0.1j/openssl-1.0.1j/crypto/dh/dh_depr.c', '1.0.1j/openssl-1.0.1j/crypto/dh/dh_err.c', '1.0.1j/openssl-1.0.1j/crypto/dh/dh_gen.c', '1.0.1j/openssl-1.0.1j/crypto/dh/dh_key.c', '1.0.1j/openssl-1.0.1j/crypto/dh/dh_lib.c', '1.0.1j/openssl-1.0.1j/crypto/dh/dh_pmeth.c', '1.0.1j/openssl-1.0.1j/crypto/dh/dh_prn.c', '1.0.1j/openssl-1.0.1j/crypto/dh/dhtest.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_ameth.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_asn1.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_depr.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_err.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_gen.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_key.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_lib.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_ossl.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_pmeth.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_prn.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_sign.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsa_vrf.c', '1.0.1j/openssl-1.0.1j/crypto/dsa/dsatest.c', '1.0.1j/openssl-1.0.1j/crypto/dso/dso_beos.c', '1.0.1j/openssl-1.0.1j/crypto/dso/dso_dl.c', '1.0.1j/openssl-1.0.1j/crypto/dso/dso_dlfcn.c', '1.0.1j/openssl-1.0.1j/crypto/dso/dso_err.c', '1.0.1j/openssl-1.0.1j/crypto/dso/dso_lib.c', '1.0.1j/openssl-1.0.1j/crypto/dso/dso_null.c', '1.0.1j/openssl-1.0.1j/crypto/dso/dso_openssl.c', '1.0.1j/openssl-1.0.1j/crypto/dso/dso_vms.c', '1.0.1j/openssl-1.0.1j/crypto/dso/dso_win32.c', '1.0.1j/openssl-1.0.1j/crypto/ebcdic.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec2_mult.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec2_oct.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec2_smpl.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_ameth.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_asn1.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_check.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_curve.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_cvt.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_err.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_key.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_lib.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_mult.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_oct.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_pmeth.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ec_print.c', '1.0.1j/openssl-1.0.1j/crypto/ec/eck_prn.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ecp_mont.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ecp_nist.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ecp_nistp224.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ecp_nistp256.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ecp_nistp521.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ecp_nistputil.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ecp_oct.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ecp_smpl.c', '1.0.1j/openssl-1.0.1j/crypto/ec/ectest.c', '1.0.1j/openssl-1.0.1j/crypto/ecdh/ecdhtest.c', '1.0.1j/openssl-1.0.1j/crypto/ecdh/ech_err.c', '1.0.1j/openssl-1.0.1j/crypto/ecdh/ech_key.c', '1.0.1j/openssl-1.0.1j/crypto/ecdh/ech_lib.c', '1.0.1j/openssl-1.0.1j/crypto/ecdh/ech_ossl.c', '1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecdsatest.c', '1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_asn1.c', '1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_err.c', '1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_lib.c', '1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_ossl.c', '1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_sign.c', '1.0.1j/openssl-1.0.1j/crypto/ecdsa/ecs_vrf.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_all.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_cnf.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_cryptodev.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_ctrl.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_dyn.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_err.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_fat.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_init.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_lib.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_list.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_openssl.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_pkey.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_rdrand.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_rsax.c', '1.0.1j/openssl-1.0.1j/crypto/engine/eng_table.c', '1.0.1j/openssl-1.0.1j/crypto/engine/enginetest.c', '1.0.1j/openssl-1.0.1j/crypto/engine/tb_asnmth.c', '1.0.1j/openssl-1.0.1j/crypto/engine/tb_cipher.c', '1.0.1j/openssl-1.0.1j/crypto/engine/tb_dh.c', '1.0.1j/openssl-1.0.1j/crypto/engine/tb_digest.c', '1.0.1j/openssl-1.0.1j/crypto/engine/tb_dsa.c', '1.0.1j/openssl-1.0.1j/crypto/engine/tb_ecdh.c', '1.0.1j/openssl-1.0.1j/crypto/engine/tb_ecdsa.c', '1.0.1j/openssl-1.0.1j/crypto/engine/tb_pkmeth.c', '1.0.1j/openssl-1.0.1j/crypto/engine/tb_rand.c', '1.0.1j/openssl-1.0.1j/crypto/engine/tb_rsa.c', '1.0.1j/openssl-1.0.1j/crypto/engine/tb_store.c', '1.0.1j/openssl-1.0.1j/crypto/err/err.c', '1.0.1j/openssl-1.0.1j/crypto/err/err_all.c', '1.0.1j/openssl-1.0.1j/crypto/err/err_prn.c', '1.0.1j/openssl-1.0.1j/crypto/evp/bio_b64.c', '1.0.1j/openssl-1.0.1j/crypto/evp/bio_enc.c', '1.0.1j/openssl-1.0.1j/crypto/evp/bio_md.c', '1.0.1j/openssl-1.0.1j/crypto/evp/bio_ok.c', '1.0.1j/openssl-1.0.1j/crypto/evp/c_all.c', '1.0.1j/openssl-1.0.1j/crypto/evp/c_allc.c', '1.0.1j/openssl-1.0.1j/crypto/evp/c_alld.c', '1.0.1j/openssl-1.0.1j/crypto/evp/digest.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_aes.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_aes_cbc_hmac_sha1.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_bf.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_camellia.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_cast.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_des.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_des3.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_idea.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_null.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_old.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_rc2.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_rc4.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_rc4_hmac_md5.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_rc5.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_seed.c', '1.0.1j/openssl-1.0.1j/crypto/evp/e_xcbc_d.c', '1.0.1j/openssl-1.0.1j/crypto/evp/encode.c', '1.0.1j/openssl-1.0.1j/crypto/evp/evp_acnf.c', '1.0.1j/openssl-1.0.1j/crypto/evp/evp_cnf.c', '1.0.1j/openssl-1.0.1j/crypto/evp/evp_enc.c', '1.0.1j/openssl-1.0.1j/crypto/evp/evp_err.c', '1.0.1j/openssl-1.0.1j/crypto/evp/evp_fips.c', '1.0.1j/openssl-1.0.1j/crypto/evp/evp_key.c', '1.0.1j/openssl-1.0.1j/crypto/evp/evp_lib.c', '1.0.1j/openssl-1.0.1j/crypto/evp/evp_pbe.c', '1.0.1j/openssl-1.0.1j/crypto/evp/evp_pkey.c', '1.0.1j/openssl-1.0.1j/crypto/evp/evp_test.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_dss.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_dss1.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_ecdsa.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_md4.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_md5.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_mdc2.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_null.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_ripemd.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_sha.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_sha1.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_sigver.c', '1.0.1j/openssl-1.0.1j/crypto/evp/m_wp.c', '1.0.1j/openssl-1.0.1j/crypto/evp/names.c', '1.0.1j/openssl-1.0.1j/crypto/evp/p5_crpt.c', '1.0.1j/openssl-1.0.1j/crypto/evp/p5_crpt2.c', '1.0.1j/openssl-1.0.1j/crypto/evp/p_dec.c', '1.0.1j/openssl-1.0.1j/crypto/evp/p_enc.c', '1.0.1j/openssl-1.0.1j/crypto/evp/p_lib.c', '1.0.1j/openssl-1.0.1j/crypto/evp/p_open.c', '1.0.1j/openssl-1.0.1j/crypto/evp/p_seal.c', '1.0.1j/openssl-1.0.1j/crypto/evp/p_sign.c', '1.0.1j/openssl-1.0.1j/crypto/evp/p_verify.c', '1.0.1j/openssl-1.0.1j/crypto/evp/pmeth_fn.c', '1.0.1j/openssl-1.0.1j/crypto/evp/pmeth_gn.c', '1.0.1j/openssl-1.0.1j/crypto/evp/pmeth_lib.c', '1.0.1j/openssl-1.0.1j/crypto/ex_data.c', '1.0.1j/openssl-1.0.1j/crypto/fips_ers.c', '1.0.1j/openssl-1.0.1j/crypto/hmac/hm_ameth.c', '1.0.1j/openssl-1.0.1j/crypto/hmac/hm_pmeth.c', '1.0.1j/openssl-1.0.1j/crypto/hmac/hmac.c', '1.0.1j/openssl-1.0.1j/crypto/hmac/hmactest.c', '1.0.1j/openssl-1.0.1j/crypto/idea/i_cbc.c', '1.0.1j/openssl-1.0.1j/crypto/idea/i_cfb64.c', '1.0.1j/openssl-1.0.1j/crypto/idea/i_ecb.c', '1.0.1j/openssl-1.0.1j/crypto/idea/i_ofb64.c', '1.0.1j/openssl-1.0.1j/crypto/idea/i_skey.c', '1.0.1j/openssl-1.0.1j/crypto/idea/ideatest.c', '1.0.1j/openssl-1.0.1j/crypto/krb5/krb5_asn.c', '1.0.1j/openssl-1.0.1j/crypto/lhash/lh_stats.c', '1.0.1j/openssl-1.0.1j/crypto/lhash/lhash.c', '1.0.1j/openssl-1.0.1j/crypto/md4/md4_dgst.c', '1.0.1j/openssl-1.0.1j/crypto/md4/md4_one.c', '1.0.1j/openssl-1.0.1j/crypto/md4/md4test.c', '1.0.1j/openssl-1.0.1j/crypto/md5/md5_dgst.c', '1.0.1j/openssl-1.0.1j/crypto/md5/md5_one.c', '1.0.1j/openssl-1.0.1j/crypto/md5/md5test.c', '1.0.1j/openssl-1.0.1j/crypto/mdc2/mdc2_one.c', '1.0.1j/openssl-1.0.1j/crypto/mdc2/mdc2dgst.c', '1.0.1j/openssl-1.0.1j/crypto/mdc2/mdc2test.c', '1.0.1j/openssl-1.0.1j/crypto/mem.c', '1.0.1j/openssl-1.0.1j/crypto/mem_clr.c', '1.0.1j/openssl-1.0.1j/crypto/mem_dbg.c', '1.0.1j/openssl-1.0.1j/crypto/modes/cbc128.c', '1.0.1j/openssl-1.0.1j/crypto/modes/ccm128.c', '1.0.1j/openssl-1.0.1j/crypto/modes/cfb128.c', '1.0.1j/openssl-1.0.1j/crypto/modes/ctr128.c', '1.0.1j/openssl-1.0.1j/crypto/modes/cts128.c', '1.0.1j/openssl-1.0.1j/crypto/modes/gcm128.c', '1.0.1j/openssl-1.0.1j/crypto/modes/ofb128.c', '1.0.1j/openssl-1.0.1j/crypto/modes/xts128.c', '1.0.1j/openssl-1.0.1j/crypto/o_dir.c', '1.0.1j/openssl-1.0.1j/crypto/o_fips.c', '1.0.1j/openssl-1.0.1j/crypto/o_init.c', '1.0.1j/openssl-1.0.1j/crypto/o_str.c', '1.0.1j/openssl-1.0.1j/crypto/o_time.c', '1.0.1j/openssl-1.0.1j/crypto/objects/o_names.c', '1.0.1j/openssl-1.0.1j/crypto/objects/obj_dat.c', '1.0.1j/openssl-1.0.1j/crypto/objects/obj_err.c', '1.0.1j/openssl-1.0.1j/crypto/objects/obj_lib.c', '1.0.1j/openssl-1.0.1j/crypto/objects/obj_xref.c', '1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_asn.c', '1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_cl.c', '1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_err.c', '1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_ext.c', '1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_ht.c', '1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_lib.c', '1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_prn.c', '1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_srv.c', '1.0.1j/openssl-1.0.1j/crypto/ocsp/ocsp_vfy.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pem_all.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pem_err.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pem_info.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pem_lib.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pem_oth.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pem_pk8.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pem_pkey.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pem_seal.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pem_sign.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pem_x509.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pem_xaux.c', '1.0.1j/openssl-1.0.1j/crypto/pem/pvkfmt.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_add.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_asn.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_attr.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_crpt.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_crt.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_decr.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_init.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_key.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_kiss.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_mutl.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_npas.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_p8d.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_p8e.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/p12_utl.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs12/pk12err.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs7/bio_pk7.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_asn1.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_attr.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_doit.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_lib.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_mime.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs7/pk7_smime.c', '1.0.1j/openssl-1.0.1j/crypto/pkcs7/pkcs7err.c', '1.0.1j/openssl-1.0.1j/crypto/pqueue/pqueue.c', '1.0.1j/openssl-1.0.1j/crypto/rand/md_rand.c', '1.0.1j/openssl-1.0.1j/crypto/rand/rand_egd.c', '1.0.1j/openssl-1.0.1j/crypto/rand/rand_err.c', '1.0.1j/openssl-1.0.1j/crypto/rand/rand_lib.c', '1.0.1j/openssl-1.0.1j/crypto/rand/rand_nw.c', '1.0.1j/openssl-1.0.1j/crypto/rand/rand_os2.c', '1.0.1j/openssl-1.0.1j/crypto/rand/rand_unix.c', '1.0.1j/openssl-1.0.1j/crypto/rand/rand_win.c', '1.0.1j/openssl-1.0.1j/crypto/rand/randfile.c', '1.0.1j/openssl-1.0.1j/crypto/rand/randtest.c', '1.0.1j/openssl-1.0.1j/crypto/rc2/rc2_cbc.c', '1.0.1j/openssl-1.0.1j/crypto/rc2/rc2_ecb.c', '1.0.1j/openssl-1.0.1j/crypto/rc2/rc2_skey.c', '1.0.1j/openssl-1.0.1j/crypto/rc2/rc2cfb64.c', '1.0.1j/openssl-1.0.1j/crypto/rc2/rc2ofb64.c', '1.0.1j/openssl-1.0.1j/crypto/rc2/rc2test.c', '1.0.1j/openssl-1.0.1j/crypto/rc4/rc4test.c', '1.0.1j/openssl-1.0.1j/crypto/ripemd/rmd_dgst.c', '1.0.1j/openssl-1.0.1j/crypto/ripemd/rmd_one.c', '1.0.1j/openssl-1.0.1j/crypto/ripemd/rmdtest.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_ameth.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_asn1.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_chk.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_crpt.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_depr.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_eay.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_err.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_gen.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_lib.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_none.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_null.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_oaep.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_pk1.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_pmeth.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_prn.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_pss.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_saos.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_sign.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_ssl.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_test.c', '1.0.1j/openssl-1.0.1j/crypto/rsa/rsa_x931.c', '1.0.1j/openssl-1.0.1j/crypto/seed/seed.c', '1.0.1j/openssl-1.0.1j/crypto/seed/seed_cbc.c', '1.0.1j/openssl-1.0.1j/crypto/seed/seed_cfb.c', '1.0.1j/openssl-1.0.1j/crypto/seed/seed_ecb.c', '1.0.1j/openssl-1.0.1j/crypto/seed/seed_ofb.c', '1.0.1j/openssl-1.0.1j/crypto/sha/sha1_one.c', '1.0.1j/openssl-1.0.1j/crypto/sha/sha1dgst.c', '1.0.1j/openssl-1.0.1j/crypto/sha/sha1test.c', '1.0.1j/openssl-1.0.1j/crypto/sha/sha256.c', '1.0.1j/openssl-1.0.1j/crypto/sha/sha256t.c', '1.0.1j/openssl-1.0.1j/crypto/sha/sha512.c', '1.0.1j/openssl-1.0.1j/crypto/sha/sha512t.c', '1.0.1j/openssl-1.0.1j/crypto/sha/sha_dgst.c', '1.0.1j/openssl-1.0.1j/crypto/sha/sha_one.c', '1.0.1j/openssl-1.0.1j/crypto/sha/shatest.c', '1.0.1j/openssl-1.0.1j/crypto/srp/srp_lib.c', '1.0.1j/openssl-1.0.1j/crypto/srp/srp_vfy.c', '1.0.1j/openssl-1.0.1j/crypto/srp/srptest.c', '1.0.1j/openssl-1.0.1j/crypto/stack/stack.c', '1.0.1j/openssl-1.0.1j/crypto/ts/ts_asn1.c', '1.0.1j/openssl-1.0.1j/crypto/ts/ts_conf.c', '1.0.1j/openssl-1.0.1j/crypto/ts/ts_err.c', '1.0.1j/openssl-1.0.1j/crypto/ts/ts_lib.c', '1.0.1j/openssl-1.0.1j/crypto/ts/ts_req_print.c', '1.0.1j/openssl-1.0.1j/crypto/ts/ts_req_utils.c', '1.0.1j/openssl-1.0.1j/crypto/ts/ts_rsp_print.c', '1.0.1j/openssl-1.0.1j/crypto/ts/ts_rsp_sign.c', '1.0.1j/openssl-1.0.1j/crypto/ts/ts_rsp_utils.c', '1.0.1j/openssl-1.0.1j/crypto/ts/ts_rsp_verify.c', '1.0.1j/openssl-1.0.1j/crypto/ts/ts_verify_ctx.c', '1.0.1j/openssl-1.0.1j/crypto/txt_db/txt_db.c', '1.0.1j/openssl-1.0.1j/crypto/ui/ui_compat.c', '1.0.1j/openssl-1.0.1j/crypto/ui/ui_err.c', '1.0.1j/openssl-1.0.1j/crypto/ui/ui_lib.c', '1.0.1j/openssl-1.0.1j/crypto/ui/ui_openssl.c', '1.0.1j/openssl-1.0.1j/crypto/ui/ui_util.c', '1.0.1j/openssl-1.0.1j/crypto/uid.c', '1.0.1j/openssl-1.0.1j/crypto/whrlpool/wp_block.c', '1.0.1j/openssl-1.0.1j/crypto/whrlpool/wp_dgst.c', '1.0.1j/openssl-1.0.1j/crypto/whrlpool/wp_test.c', '1.0.1j/openssl-1.0.1j/crypto/x509/by_dir.c', '1.0.1j/openssl-1.0.1j/crypto/x509/by_file.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_att.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_cmp.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_d2.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_def.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_err.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_ext.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_lu.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_obj.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_r2x.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_req.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_set.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_trs.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_txt.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_v3.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_vfy.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509_vpm.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509cset.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509name.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509rset.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509spki.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x509type.c', '1.0.1j/openssl-1.0.1j/crypto/x509/x_all.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_cache.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_data.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_lib.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_map.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_node.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/pcy_tree.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_addr.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_akey.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_akeya.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_alt.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_asid.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_bcons.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_bitst.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_conf.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_cpols.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_crld.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_enum.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_extku.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_genn.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_ia5.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_info.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_int.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_lib.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_ncons.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_ocsp.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_pci.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_pcia.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_pcons.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_pku.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_pmaps.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_prn.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_purp.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_skey.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_sxnet.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3_utl.c', '1.0.1j/openssl-1.0.1j/crypto/x509v3/v3err.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/e_gost_err.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost2001.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost2001_keyx.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost89.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost94_keyx.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost_ameth.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost_asn1.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost_crypt.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost_ctl.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost_eng.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost_keywrap.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost_md.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost_params.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost_pmeth.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gost_sign.c', '1.0.1j/openssl-1.0.1j/engines/ccgost/gosthash.c', '1.0.1j/openssl-1.0.1j/engines/e_4758cca.c', '1.0.1j/openssl-1.0.1j/engines/e_aep.c', '1.0.1j/openssl-1.0.1j/engines/e_atalla.c', '1.0.1j/openssl-1.0.1j/engines/e_capi.c', '1.0.1j/openssl-1.0.1j/engines/e_chil.c', '1.0.1j/openssl-1.0.1j/engines/e_cswift.c', '1.0.1j/openssl-1.0.1j/engines/e_gmp.c', '1.0.1j/openssl-1.0.1j/engines/e_nuron.c', '1.0.1j/openssl-1.0.1j/engines/e_padlock.c', '1.0.1j/openssl-1.0.1j/engines/e_sureware.c', '1.0.1j/openssl-1.0.1j/engines/e_ubsec.c', '1.0.1j/openssl-1.0.1j/ssl/*.c'], 'sources!': ['1.0.1j/openssl-1.0.1j/crypto/*/*test.c', '1.0.1j/openssl-1.0.1j/crypto/sha/sha256t.c', '1.0.1j/openssl-1.0.1j/crypto/sha/sha512t.c', '1.0.1j/openssl-1.0.1j/crypto/*test.c', '1.0.1j/openssl-1.0.1j/ssl/*test.c', '1.0.1j/openssl-1.0.1j/ssl/ssl_task*.c'], 'direct_dependent_settings': {'include_dirs': ['1.0.1j/openssl-1.0.1j/include']}, 'include_dirs': ['1.0.1j/openssl-1.0.1j/include', '1.0.1j/openssl-1.0.1j/crypto', '1.0.1j/openssl-1.0.1j/crypto/asn1', '1.0.1j/openssl-1.0.1j/crypto/evp', '1.0.1j/openssl-1.0.1j/crypto/modes', '1.0.1j/openssl-1.0.1j'], 'defines': ['OPENSSL_NO_RC4', 'OPENSSL_NO_RC5', 'OPENSSL_NO_MD2', 'OPENSSL_NO_SSL2', 'OPENSSL_NO_SSL3', 'OPENSSL_NO_KRB5', 'OPENSSL_NO_HW', 'OPENSSL_NO_JPAKE', 'OPENSSL_NO_DYNAMIC_ENGINE'], 'conditions': [["OS=='win'", {'defines': ['OPENSSL_THREADS', 'DSO_WIN32', 'OPENSSL_SYSNAME_WIN32', 'WIN32_LEAN_AND_MEAN', 'L_ENDIAN', '_CRT_SECURE_NO_DEPRECATE', 'NO_WINDOWS_BRAINDEATH'], 'link_settings': {'libraries': ['-lws2_32.lib', '-lgdi32.lib', '-ladvapi32.lib', '-lcrypt32.lib', '-luser32.lib']}}], ["OS=='mac'", {'defines': ['OPENSSL_NO_EC_NISTP_64_GCC_128', 'OPENSSL_NO_GMP', 'OPENSSL_NO_JPAKE', 'OPENSSL_NO_MD2', 'OPENSSL_NO_RC5', 'OPENSSL_NO_RFC3779', 'OPENSSL_NO_SCTP', 'OPENSSL_NO_SSL2', 'OPENSSL_NO_SSL3', 'OPENSSL_NO_STORE', 'OPENSSL_NO_UNIT_TEST', 'NO_WINDOWS_BRAINDEATH']}], ["OS=='iOS'", {'defines': ['OPENSSL_NO_EC_NISTP_64_GCC_128', 'OPENSSL_NO_GMP', 'OPENSSL_NO_JPAKE', 'OPENSSL_NO_MD2', 'OPENSSL_NO_RC5', 'OPENSSL_NO_RFC3779', 'OPENSSL_NO_SCTP', 'OPENSSL_NO_SSL2', 'OPENSSL_NO_SSL3', 'OPENSSL_NO_STORE', 'OPENSSL_NO_UNIT_TEST', 'NO_WINDOWS_BRAINDEATH']}], ["OS=='linux'", {'defines': ['DSO_DLFCN', 'HAVE_DLFCN_H', 'L_ENDIAN', 'TERMIO', 'OPENSSL_NO_INLINE_ASM', 'NO_WINDOWS_BRAINDEATH'], 'link_settings': {'libraries': ['-ldl']}}]]}, {'target_name': 'ssltest', 'type': 'executable', 'test': {'cwd': '1.0.1j/openssl-1.0.1j/test'}, 'defines': ['OPENSSL_NO_RC4', 'OPENSSL_NO_RC5', 'OPENSSL_NO_MD2', 'OPENSSL_NO_SSL2', 'OPENSSL_NO_SSL3', 'OPENSSL_NO_KRB5', 'OPENSSL_NO_HW', 'OPENSSL_NO_JPAKE', 'OPENSSL_NO_DYNAMIC_ENGINE'], 'include_dirs': ['1.0.1j/openssl-1.0.1j'], 'sources': ['1.0.1j/openssl-1.0.1j/ssl/ssltest.c'], 'dependencies': ['openssl'], 'conditions': [["OS=='iOS'", {'type': 'none'}]]}]}
def make_matrix(rows=0, columns=0, list_of_list=[[]]): ''' (int, int, list of list) -> list of list (i.e. matrix) Return a list of list (i.e. matrix) from "list_of_list" if given or if not given a "list_of_list" parameter, then prompt user to type in values for each row and return a matrix with dimentions: rows x columns. ''' if list_of_list == [[]]: matrix = make_matrix_manually(rows, columns) return matrix else: rows = size_of(list_of_list) columns = size_of(list_of_list[0]) for item in list_of_list: if size_of(item) != size_of(list_of_list[0]): print('The number of columns in every row should be equal, but isn\'t!') return None matrix = list_of_list return matrix def make_matrix_manually(rows=0, columns=0): ''' (int, int) -> list of list (i.e. matrix) Prompt user to type in values for each row and return a matrix with dimentions: rows x columns. ''' matrix = [] for i in range(rows): print('Type in values for ROW', i+1, 'seperated by commas: ', end='') current_row = convert_str_into_list(input()) matrix.append(current_row) if size_of(current_row) != columns: print('Number of values different then declared columns!') return None return matrix def make_Id_matrix(size=1): ''' (int) -> list of list (i.e. matrix) Return an Identity Matrix (1's across the diagonal and all other entries 0's) with dimentions: size x size. ''' Id_matrix = [] for i in range(1, size+1): current_row = convert_str_into_list('0,'*(i-1) + '1,' + '0,'*(size-i)) Id_matrix.append(current_row) return Id_matrix def convert_str_into_list(string): ''' (str)-> list of numbers Return a list of numbers from a string. Precondition: the string should consist of numbers separated by commas. ''' list = [] # step 1: remove all empty spaces. i = 0 length = len(string) while i <=(length-1): if string[i] == ' ': string = string[:i] + string[i+1:] length = len(string) else: i += 1 # (a += b) is equivalent to (a = a + b) # step 2: extract sections seperated by commas, turn them into floats # and append them to the list. j = 0 i = 0 for j in range(len(string)+1): if j==(len(string)) or string[j]==',': item = string[i:j] i = j+1 if item =='': pass else: list.append(float(item)) j = j + 1 return list # *values - means, that we do not know up front, what number of # parameters (atributes) we're going to pass to the function. def convert_into_list(*values): ''' (items separated by commas) -> list Return a list of values. (Return values in the form a variable of type LIST.) ''' list = [] for value in values: list.append(value) return list def size_of(list): ''' (list) -> int Return the number of entries (items) in a given list. ''' size = 0 for item in list: size = size+1 return size def add_matrix(matrix1, matrix2): ''' (list of list, list of list) -> list of list Return the result of addition of two matrices: matrix1 and matrix2. Precondition: matrix1 and matix2 have to have the same dimentions. ''' if size_of(matrix1) != size_of(matrix2): print('Error: matrices do not have the same dimentions (size)!') return None matrix_sum = [] for i in range(size_of(matrix1)): if size_of(matrix1[i]) != size_of(matrix2[i]): print('Error: matrices do not have the same dimentions (size)!') return None matrix_sum.append([]) for j in range(size_of(matrix1[i])): matrix_sum[i].append(matrix1[i][j] + matrix2[i][j]) return matrix_sum def neg_matrix(matrix1): ''' (list of list) -> list of list Return the result of the operation of negation on matrix1. ''' matrix_n = [] for i in range(size_of(matrix1)): matrix_n.append([]) for j in range(size_of(matrix1[i])): matrix_n[i].append(-matrix1[i][j]) return matrix_n def substract_matrix(matrix1, matrix2): ''' (list of list, list of list) -> list of list Return the result of substraction of two matrices: matrix1 and matrix2. Precondition: matrix1 and matix2 have to have the same dimentions. ''' sub_matrix = add_matrix(matrix1, neg_matrix(matrix2)) return sub_matrix def multiply_matrix_by_float(arg1, matrix1): ''' (number, list of list) -> list of list Return the result of multiplication of matrix1 by arg1. ''' matrix_new = [] for i in range(size_of(matrix1)): matrix_new.append([]) for j in range(size_of(matrix1[i])): matrix_new[i].append(arg1 * matrix1[i][j]) return matrix_new def multiply_matrix_by_matrix(matrix1, matrix2): ''' (list of list, list of list) -> list of list Return the result of multiplication of matrix1 by matrix2. ''' matrix_new = [] # # Checking if matrices can be multiplied. # # rows = matrix_and_list_functions.size_of(Matrix_name) # columns = matrix_and_list_functions.size_of(Matrix_name[0]) # if size_of(matrix1[0]) == size_of(matrix2): # # implementing Matrix multiplication here. # for i in range(size_of(matrix1)): matrix_new.append([]) for j in range(size_of(matrix2[0])): ABij = 0 for k in range(size_of(matrix1[0])): ABij = ABij + (matrix1[i][k]*matrix2[k][j]) matrix_new[i].append(ABij) return matrix_new else: print('Error: The number of columns in matrix1 has to be equal to the number of rows in matrix2!') return []
def make_matrix(rows=0, columns=0, list_of_list=[[]]): """ (int, int, list of list) -> list of list (i.e. matrix) Return a list of list (i.e. matrix) from "list_of_list" if given or if not given a "list_of_list" parameter, then prompt user to type in values for each row and return a matrix with dimentions: rows x columns. """ if list_of_list == [[]]: matrix = make_matrix_manually(rows, columns) return matrix else: rows = size_of(list_of_list) columns = size_of(list_of_list[0]) for item in list_of_list: if size_of(item) != size_of(list_of_list[0]): print("The number of columns in every row should be equal, but isn't!") return None matrix = list_of_list return matrix def make_matrix_manually(rows=0, columns=0): """ (int, int) -> list of list (i.e. matrix) Prompt user to type in values for each row and return a matrix with dimentions: rows x columns. """ matrix = [] for i in range(rows): print('Type in values for ROW', i + 1, 'seperated by commas: ', end='') current_row = convert_str_into_list(input()) matrix.append(current_row) if size_of(current_row) != columns: print('Number of values different then declared columns!') return None return matrix def make__id_matrix(size=1): """ (int) -> list of list (i.e. matrix) Return an Identity Matrix (1's across the diagonal and all other entries 0's) with dimentions: size x size. """ id_matrix = [] for i in range(1, size + 1): current_row = convert_str_into_list('0,' * (i - 1) + '1,' + '0,' * (size - i)) Id_matrix.append(current_row) return Id_matrix def convert_str_into_list(string): """ (str)-> list of numbers Return a list of numbers from a string. Precondition: the string should consist of numbers separated by commas. """ list = [] i = 0 length = len(string) while i <= length - 1: if string[i] == ' ': string = string[:i] + string[i + 1:] length = len(string) else: i += 1 j = 0 i = 0 for j in range(len(string) + 1): if j == len(string) or string[j] == ',': item = string[i:j] i = j + 1 if item == '': pass else: list.append(float(item)) j = j + 1 return list def convert_into_list(*values): """ (items separated by commas) -> list Return a list of values. (Return values in the form a variable of type LIST.) """ list = [] for value in values: list.append(value) return list def size_of(list): """ (list) -> int Return the number of entries (items) in a given list. """ size = 0 for item in list: size = size + 1 return size def add_matrix(matrix1, matrix2): """ (list of list, list of list) -> list of list Return the result of addition of two matrices: matrix1 and matrix2. Precondition: matrix1 and matix2 have to have the same dimentions. """ if size_of(matrix1) != size_of(matrix2): print('Error: matrices do not have the same dimentions (size)!') return None matrix_sum = [] for i in range(size_of(matrix1)): if size_of(matrix1[i]) != size_of(matrix2[i]): print('Error: matrices do not have the same dimentions (size)!') return None matrix_sum.append([]) for j in range(size_of(matrix1[i])): matrix_sum[i].append(matrix1[i][j] + matrix2[i][j]) return matrix_sum def neg_matrix(matrix1): """ (list of list) -> list of list Return the result of the operation of negation on matrix1. """ matrix_n = [] for i in range(size_of(matrix1)): matrix_n.append([]) for j in range(size_of(matrix1[i])): matrix_n[i].append(-matrix1[i][j]) return matrix_n def substract_matrix(matrix1, matrix2): """ (list of list, list of list) -> list of list Return the result of substraction of two matrices: matrix1 and matrix2. Precondition: matrix1 and matix2 have to have the same dimentions. """ sub_matrix = add_matrix(matrix1, neg_matrix(matrix2)) return sub_matrix def multiply_matrix_by_float(arg1, matrix1): """ (number, list of list) -> list of list Return the result of multiplication of matrix1 by arg1. """ matrix_new = [] for i in range(size_of(matrix1)): matrix_new.append([]) for j in range(size_of(matrix1[i])): matrix_new[i].append(arg1 * matrix1[i][j]) return matrix_new def multiply_matrix_by_matrix(matrix1, matrix2): """ (list of list, list of list) -> list of list Return the result of multiplication of matrix1 by matrix2. """ matrix_new = [] if size_of(matrix1[0]) == size_of(matrix2): for i in range(size_of(matrix1)): matrix_new.append([]) for j in range(size_of(matrix2[0])): a_bij = 0 for k in range(size_of(matrix1[0])): a_bij = ABij + matrix1[i][k] * matrix2[k][j] matrix_new[i].append(ABij) return matrix_new else: print('Error: The number of columns in matrix1 has to be equal to the number of rows in matrix2!') return []
# date: 2019.09.24 # https://stackoverflow.com/questions/58085910/python-convert-u0048-style-unicode-to-normal-string/58086131#58086131 print('#U0048#U0045#U004C#U004C#U004F'.replace('#U', '\\u').encode().decode('raw_unicode_escape'))
print('#U0048#U0045#U004C#U004C#U004F'.replace('#U', '\\u').encode().decode('raw_unicode_escape'))
a, b = map(int, input().split()) product = a * b if product % 2 == 0: print("Even") else: print("Odd")
(a, b) = map(int, input().split()) product = a * b if product % 2 == 0: print('Even') else: print('Odd')
SSS_VERSION = '1.0' SSS_FORMAT = 'json' SERVICE_TYPE = 'sss' ENDPOINT_TYPE = 'publicURL' AUTH_TYPE = "identity" ACTION_PREFIX = ""
sss_version = '1.0' sss_format = 'json' service_type = 'sss' endpoint_type = 'publicURL' auth_type = 'identity' action_prefix = ''
fd=open('NIST.result','r') output = fd.readlines() BLEUStrIndex = output.index('BLEU score = ') blu_new = float(output[BLEUStrIndex+13:BLEUStrIndex+19])
fd = open('NIST.result', 'r') output = fd.readlines() bleu_str_index = output.index('BLEU score = ') blu_new = float(output[BLEUStrIndex + 13:BLEUStrIndex + 19])
# Given an array of integers ( sorted) and integer Val.Implement a function that takes A # and Val as input parameters and returns the lower bound of Val. ex- A =[-1,-1,2,3,5] Val=4 # Ans=3. As 3 is smaller than 4 def lowerBound(arr, key): s = 0 e = len(arr) while s<=e: mid = (s+e)//2 if arr[mid] == key: arr[mid] = key elif arr[mid] < key: s = mid + 1 else: e = mid - 1 return arr[mid] print(lowerBound([-1,-1,2,3,5], 4))
def lower_bound(arr, key): s = 0 e = len(arr) while s <= e: mid = (s + e) // 2 if arr[mid] == key: arr[mid] = key elif arr[mid] < key: s = mid + 1 else: e = mid - 1 return arr[mid] print(lower_bound([-1, -1, 2, 3, 5], 4))
expected_output = { 'model': 'C9300-24P', 'os': 'iosxe', 'platform': 'cat9k', 'version': '17.06.01', }
expected_output = {'model': 'C9300-24P', 'os': 'iosxe', 'platform': 'cat9k', 'version': '17.06.01'}
massA = float(input("Enter first mass - unit kg\n")) massB = float(input("Enter second mass - unit kg\n")) radius = float(input("Enter radius - unit metres\n")) Gravity = 6.673*(10**(-11)) force = Gravity * massA * massB / (radius**2) print("The force of gravity acting on the bodies is",round(force,5),"N")
mass_a = float(input('Enter first mass - unit kg\n')) mass_b = float(input('Enter second mass - unit kg\n')) radius = float(input('Enter radius - unit metres\n')) gravity = 6.673 * 10 ** (-11) force = Gravity * massA * massB / radius ** 2 print('The force of gravity acting on the bodies is', round(force, 5), 'N')
a=int(input(">>")) s1=0 while a>0: s=a%10 a=int(a/10) s1=s1+s #print(s) print(s1)
a = int(input('>>')) s1 = 0 while a > 0: s = a % 10 a = int(a / 10) s1 = s1 + s print(s1)
STKMarketData_t = { "trading_day": "string", "update_time": "string", "update_millisec": "int", "update_sequence": "int", "instrument_id": "string", "exchange_id": "string", "exchange_inst_id": "string", "instrument_status": "int", "last_price": "double", "volume": "int", "last_volume": "int", "turnover": "double", "open_interest": "int", "open_price": "double", "highest_price": "double", "lowest_price": "double", "close_price": "double", "settlement_price": "double", "average_price": "double", "change_price": "double", "change_markup": "double", "change_swing": "double", "upper_limit_price": "double", "lower_limit_price": "double", "pre_settlement_price": "double", "pre_close_price": "double", "pre_open_interest": "int", "pre_delta": "double", "curr_delta": "double", "best_ask_price": "double", "best_ask_volume": "int", "best_bid_price": "double", "best_bid_volume": "int", "ask_price1": "double", "ask_volume1": "int", "bid_price1": "double", "bid_volume1": "int", "ask_price2": "double", "ask_volume2": "int", "bid_price2": "double", "bid_volume2": "int", "ask_price3": "double", "ask_volume3": "int", "bid_price3": "double", "bid_volume3": "int", "ask_price4": "double", "ask_volume4": "int", "bid_price4": "double", "bid_volume4": "int", "ask_price5": "double", "ask_volume5": "int", "bid_price5": "double", "bid_volume5": "int", "ask_price6": "double", "ask_volume6": "int", "bid_price6": "double", "bid_volume6": "int", "ask_price7": "double", "ask_volume7": "int", "bid_price7": "double", "bid_volume7": "int", "ask_price8": "double", "ask_volume8": "int", "bid_price8": "double", "bid_volume8": "int", "ask_price9": "double", "ask_volume9": "int", "bid_price9": "double", "bid_volume9": "int", "ask_price10": "double", "ask_volume10": "int", "bid_price10": "double", "bid_volume10": "int", "md_source": "string", } ERRORMSGINFO = { "error_code": "int", "error_message": "string", "response_code": "int", "response_string": "string", "utp_server_id": "int", "oms_server_id": "int", } ERRORMSGINFO_t = ERRORMSGINFO ReqUtpLoginField = { "developer_code": "string", "developer_license": "string", "user_id": "string", "user_password": "string", "user_one_time_password": "string", "user_ca_info": "string", } ReqUtpLoginField_t = ReqUtpLoginField RspUtpLoginField = { "response_code": "int", "response_string": "string", "session_public_key": "string", "utp_checking_server_id": "string", "utp_checking_server_time": "int", "last_login_ip_address": "string", "last_login_time": "int", "session_encrypted": "bool", } RspUtpLoginField_t = RspUtpLoginField RspUtpLogoutField = { "response_code": "int", "response_string": "string", "utp_server_id": "int", } RspUtpLogoutField_t = RspUtpLogoutField ReqSubscribeField = { "routing_key": "string", } ReqSubscribeField_t = ReqSubscribeField RspSubscribeField = { "response_code": "int", "response_string": "string", "routing_key": "string", } RspSubscribeField_t = RspSubscribeField ReqUnSubscribeField = { "routing_key": "string", } ReqUnSubscribeField_t = ReqUnSubscribeField RspUnSubscribeField = { "response_code": "int", "response_string": "string", "routing_key": "string", } RspUnSubscribeField_t = RspUnSubscribeField ReqAuthUserPassworField = { "user_id": "string", "password": "string", "save_int": "int", "save_double": "double", "save_string": "string", } ReqAuthUserPassworField_t = ReqAuthUserPassworField RspAuthUserPassworField = { "response_code": "int", "response_string": "string", } RspAuthUserPassworField_t = RspAuthUserPassworField ReqOrderInsertData = { "client_id": "string", "commodity_id": "string", "instrument_id": "string", "order_type": "char", "order_mode": "char", "order_way": "char", "valid_datetime": "string", "is_riskorder": "char", "direct": "char", "offset": "char", "hedge": "char", "order_price": "double", "trigger_price": "double", "order_vol": "int", "min_matchvol": "int", "save_int": "int", "save_double": "double", "save_string": "string", } ReqOrderInsertData_t = ReqOrderInsertData ReqOrderInsertField = { "oms_server_id": "int", "exchange_id": "string", } ReqOrderInsertField_t = ReqOrderInsertField RspOrderInsertField = { "response_code": "int", "response_string": "string", "utp_server_id": "int", "oms_server_id": "int", "order_stream_id": "int", "order_id": "int", "local_id": "string", "trade_id": "string", "insert_id": "string", "insert_datetime": "string", "order_state": "char", } RspOrderInsertField_t = RspOrderInsertField ReqQryExchangeField = { "oms_server_id": "int", } ReqQryExchangeField_t = ReqQryExchangeField RspQryExchangeField = { "response_code": "int", "response_string": "string", "utp_server_id": "int", "oms_server_id": "int", "exchange_id": "string", "exchange_name": "string", "exchange_status": "char", } RspQryExchangeField_t = RspQryExchangeField ReqQryInstrumentField = { "oms_server_id": "int", "exchange_id": "string", "product_id": "string", "instrument_id": "string", "product_class": "char", } ReqQryInstrumentField_t = ReqQryInstrumentField RspQryInstrumentField = { "response_code": "int", "response_string": "string", "utp_server_id": "int", "oms_server_id": "int", "product_id": "string", "product_name": "string", "exchange_id": "string", "product_class": "char", "instrument_id": "string", "instrument_name": "string", "instrument_class": "char", "instrument_status": "char", "delivery_year": "int", "delivery_month": "int", "volume_multiple": "double", "price_tick": "double", "price_tick_dividend": "int", "max_marketorder_volume": "int", "min_marketorder_volume": "int", "max_limitorder_volume": "int", "min_limitorder_volume": "int", "create_date": "string", "open_date": "string", "expire_date": "string", "last_trading_date": "string", "start_delivery_date": "string", "end_delivery_date": "string", "first_notice_date": "string", } RspQryInstrumentField_t = RspQryInstrumentField
stk_market_data_t = {'trading_day': 'string', 'update_time': 'string', 'update_millisec': 'int', 'update_sequence': 'int', 'instrument_id': 'string', 'exchange_id': 'string', 'exchange_inst_id': 'string', 'instrument_status': 'int', 'last_price': 'double', 'volume': 'int', 'last_volume': 'int', 'turnover': 'double', 'open_interest': 'int', 'open_price': 'double', 'highest_price': 'double', 'lowest_price': 'double', 'close_price': 'double', 'settlement_price': 'double', 'average_price': 'double', 'change_price': 'double', 'change_markup': 'double', 'change_swing': 'double', 'upper_limit_price': 'double', 'lower_limit_price': 'double', 'pre_settlement_price': 'double', 'pre_close_price': 'double', 'pre_open_interest': 'int', 'pre_delta': 'double', 'curr_delta': 'double', 'best_ask_price': 'double', 'best_ask_volume': 'int', 'best_bid_price': 'double', 'best_bid_volume': 'int', 'ask_price1': 'double', 'ask_volume1': 'int', 'bid_price1': 'double', 'bid_volume1': 'int', 'ask_price2': 'double', 'ask_volume2': 'int', 'bid_price2': 'double', 'bid_volume2': 'int', 'ask_price3': 'double', 'ask_volume3': 'int', 'bid_price3': 'double', 'bid_volume3': 'int', 'ask_price4': 'double', 'ask_volume4': 'int', 'bid_price4': 'double', 'bid_volume4': 'int', 'ask_price5': 'double', 'ask_volume5': 'int', 'bid_price5': 'double', 'bid_volume5': 'int', 'ask_price6': 'double', 'ask_volume6': 'int', 'bid_price6': 'double', 'bid_volume6': 'int', 'ask_price7': 'double', 'ask_volume7': 'int', 'bid_price7': 'double', 'bid_volume7': 'int', 'ask_price8': 'double', 'ask_volume8': 'int', 'bid_price8': 'double', 'bid_volume8': 'int', 'ask_price9': 'double', 'ask_volume9': 'int', 'bid_price9': 'double', 'bid_volume9': 'int', 'ask_price10': 'double', 'ask_volume10': 'int', 'bid_price10': 'double', 'bid_volume10': 'int', 'md_source': 'string'} errormsginfo = {'error_code': 'int', 'error_message': 'string', 'response_code': 'int', 'response_string': 'string', 'utp_server_id': 'int', 'oms_server_id': 'int'} errormsginfo_t = ERRORMSGINFO req_utp_login_field = {'developer_code': 'string', 'developer_license': 'string', 'user_id': 'string', 'user_password': 'string', 'user_one_time_password': 'string', 'user_ca_info': 'string'} req_utp_login_field_t = ReqUtpLoginField rsp_utp_login_field = {'response_code': 'int', 'response_string': 'string', 'session_public_key': 'string', 'utp_checking_server_id': 'string', 'utp_checking_server_time': 'int', 'last_login_ip_address': 'string', 'last_login_time': 'int', 'session_encrypted': 'bool'} rsp_utp_login_field_t = RspUtpLoginField rsp_utp_logout_field = {'response_code': 'int', 'response_string': 'string', 'utp_server_id': 'int'} rsp_utp_logout_field_t = RspUtpLogoutField req_subscribe_field = {'routing_key': 'string'} req_subscribe_field_t = ReqSubscribeField rsp_subscribe_field = {'response_code': 'int', 'response_string': 'string', 'routing_key': 'string'} rsp_subscribe_field_t = RspSubscribeField req_un_subscribe_field = {'routing_key': 'string'} req_un_subscribe_field_t = ReqUnSubscribeField rsp_un_subscribe_field = {'response_code': 'int', 'response_string': 'string', 'routing_key': 'string'} rsp_un_subscribe_field_t = RspUnSubscribeField req_auth_user_passwor_field = {'user_id': 'string', 'password': 'string', 'save_int': 'int', 'save_double': 'double', 'save_string': 'string'} req_auth_user_passwor_field_t = ReqAuthUserPassworField rsp_auth_user_passwor_field = {'response_code': 'int', 'response_string': 'string'} rsp_auth_user_passwor_field_t = RspAuthUserPassworField req_order_insert_data = {'client_id': 'string', 'commodity_id': 'string', 'instrument_id': 'string', 'order_type': 'char', 'order_mode': 'char', 'order_way': 'char', 'valid_datetime': 'string', 'is_riskorder': 'char', 'direct': 'char', 'offset': 'char', 'hedge': 'char', 'order_price': 'double', 'trigger_price': 'double', 'order_vol': 'int', 'min_matchvol': 'int', 'save_int': 'int', 'save_double': 'double', 'save_string': 'string'} req_order_insert_data_t = ReqOrderInsertData req_order_insert_field = {'oms_server_id': 'int', 'exchange_id': 'string'} req_order_insert_field_t = ReqOrderInsertField rsp_order_insert_field = {'response_code': 'int', 'response_string': 'string', 'utp_server_id': 'int', 'oms_server_id': 'int', 'order_stream_id': 'int', 'order_id': 'int', 'local_id': 'string', 'trade_id': 'string', 'insert_id': 'string', 'insert_datetime': 'string', 'order_state': 'char'} rsp_order_insert_field_t = RspOrderInsertField req_qry_exchange_field = {'oms_server_id': 'int'} req_qry_exchange_field_t = ReqQryExchangeField rsp_qry_exchange_field = {'response_code': 'int', 'response_string': 'string', 'utp_server_id': 'int', 'oms_server_id': 'int', 'exchange_id': 'string', 'exchange_name': 'string', 'exchange_status': 'char'} rsp_qry_exchange_field_t = RspQryExchangeField req_qry_instrument_field = {'oms_server_id': 'int', 'exchange_id': 'string', 'product_id': 'string', 'instrument_id': 'string', 'product_class': 'char'} req_qry_instrument_field_t = ReqQryInstrumentField rsp_qry_instrument_field = {'response_code': 'int', 'response_string': 'string', 'utp_server_id': 'int', 'oms_server_id': 'int', 'product_id': 'string', 'product_name': 'string', 'exchange_id': 'string', 'product_class': 'char', 'instrument_id': 'string', 'instrument_name': 'string', 'instrument_class': 'char', 'instrument_status': 'char', 'delivery_year': 'int', 'delivery_month': 'int', 'volume_multiple': 'double', 'price_tick': 'double', 'price_tick_dividend': 'int', 'max_marketorder_volume': 'int', 'min_marketorder_volume': 'int', 'max_limitorder_volume': 'int', 'min_limitorder_volume': 'int', 'create_date': 'string', 'open_date': 'string', 'expire_date': 'string', 'last_trading_date': 'string', 'start_delivery_date': 'string', 'end_delivery_date': 'string', 'first_notice_date': 'string'} rsp_qry_instrument_field_t = RspQryInstrumentField
class Other: def __init__(self, _name): self._name = _name @property def name(self): return self._name @staticmethod def decode(data): f_name = data["name"] if not isinstance(f_name, unicode): raise Exception("not a string") return Other(f_name) def encode(self): data = dict() if self._name is None: raise Exception("name: is a required field") data["name"] = self._name return data def __repr__(self): return "<Other name:{!r}>".format(self._name)
class Other: def __init__(self, _name): self._name = _name @property def name(self): return self._name @staticmethod def decode(data): f_name = data['name'] if not isinstance(f_name, unicode): raise exception('not a string') return other(f_name) def encode(self): data = dict() if self._name is None: raise exception('name: is a required field') data['name'] = self._name return data def __repr__(self): return '<Other name:{!r}>'.format(self._name)
''' dengan python bisa melakukan manipulasi sebuah file sumber referensi: https://www.petanikode.com/python-file/ ditulis pada: 14-02-2021 ''' #membaca file yang akan di tulis #w = write, ini digunakan untuk mengubah isi dari sebuah file file = open('file.txt', 'w') #membuat sebuah user inputan text = input('masukkan kata >>> ') #apply atau commit ke file yang dituju untuk mengubah file tersebut file.write(text) #menampilkan output dari file user inputan print('menulis isi file dengan output = {isi}'.format(isi=text))
""" dengan python bisa melakukan manipulasi sebuah file sumber referensi: https://www.petanikode.com/python-file/ ditulis pada: 14-02-2021 """ file = open('file.txt', 'w') text = input('masukkan kata >>> ') file.write(text) print('menulis isi file dengan output = {isi}'.format(isi=text))
# EX 1: Bank Exercise # # Create a Bank, an Account, and a Customer class. # All classes should be in a single file. # The bank class should be able to hold many account. # You should be able to add new accounts. # he Account class should have relevant details. # The Customer class Should also have relevant details. # # Stick to the techniques we have covered so far. # Add the ability for your __init__ method to handle # different inputs (parameters). class Bank: def __init__(self): self.accounts = list() def add_account(self, new_entry): self.accounts.append(new_entry) def print_accounts(self): for account in self.accounts: print("account number: ", account.id) class Account: def __init__(self, id): self.id = id def __repr__(self): return str(self.__dict__) def __str__(self): return str(self.__dict__) class Customer: def __init__(self, name, age, sex, account): self.name = name self.age = age self.sex = sex self.account = account def __repr__(self): return str(self.__dict__) def main(): one = Account(1) two = Account(2) three = Account(3) cus1 = Customer("peter", 23, "helicopter", one) cus2 = Customer("Cris", 12, "m?", two) cus3 = Customer("NameHere", 99, "sex", three) print(cus1) # this requires repr and str for it to work print("customer one: ", cus1.name, cus1.age, cus1.sex, cus1.account.id) print("customer two: ", cus2.name, cus2.age, cus2.sex, cus2.account.id) print("customer three: ", cus3.name, cus3.age, cus3.sex, cus3.account.id) bankOne = Bank() bankOne.add_account(one) bankOne.add_account(two) bankOne.add_account(three) bankOne.print_accounts() main()
class Bank: def __init__(self): self.accounts = list() def add_account(self, new_entry): self.accounts.append(new_entry) def print_accounts(self): for account in self.accounts: print('account number: ', account.id) class Account: def __init__(self, id): self.id = id def __repr__(self): return str(self.__dict__) def __str__(self): return str(self.__dict__) class Customer: def __init__(self, name, age, sex, account): self.name = name self.age = age self.sex = sex self.account = account def __repr__(self): return str(self.__dict__) def main(): one = account(1) two = account(2) three = account(3) cus1 = customer('peter', 23, 'helicopter', one) cus2 = customer('Cris', 12, 'm?', two) cus3 = customer('NameHere', 99, 'sex', three) print(cus1) print('customer one: ', cus1.name, cus1.age, cus1.sex, cus1.account.id) print('customer two: ', cus2.name, cus2.age, cus2.sex, cus2.account.id) print('customer three: ', cus3.name, cus3.age, cus3.sex, cus3.account.id) bank_one = bank() bankOne.add_account(one) bankOne.add_account(two) bankOne.add_account(three) bankOne.print_accounts() main()
# This function checks if the number(num) # is a prime number or not # and It is the most fastest, the most optimised and the shortest function I have created so far # At first if number is greater than 1, # and it is not devided by 2 and it is not to itself either, # Then it devide this number to all prime numbers untill that number (num) # and if remains a 0 for any of the devides, so it is devidable so it is not a prime number. def is_prime(num): return all(num % i for i in range(3, int(num ** 0.5)+1, 2)) if num > 1 and num % 2 != 0 else True if num == 2 else False
def is_prime(num): return all((num % i for i in range(3, int(num ** 0.5) + 1, 2))) if num > 1 and num % 2 != 0 else True if num == 2 else False
#!/usr/bin/env python3 def permurarion(s, start): if not s or start<0: return if start == len(s) -1: print("".join(s)) else: i = start while i < len(s): s[i], s[start] = s[start], s[i] permurarion(s, start+1) s[i], s[start] = s[start], s[i] i += 1 def permulation_trans(s): strr = list(s) permurarion(strr, 0) if __name__ == '__main__': permulation_trans('ab')
def permurarion(s, start): if not s or start < 0: return if start == len(s) - 1: print(''.join(s)) else: i = start while i < len(s): (s[i], s[start]) = (s[start], s[i]) permurarion(s, start + 1) (s[i], s[start]) = (s[start], s[i]) i += 1 def permulation_trans(s): strr = list(s) permurarion(strr, 0) if __name__ == '__main__': permulation_trans('ab')
##Patterns: E1128 def test(): return None ##Err: E1128 no_value_returned = test()
def test(): return None no_value_returned = test()
# Class decorator alternative to mixins def LoggedMapping(cls): cls_getitem = cls.__getitem__ cls_setitem = cls.__setitem__ cls_delitem = cls.__delitem__ def __getitem__(self, key): print('Getting %s' % key) return cls_getitem(self, key) def __setitem__(self, key, value): print('Setting %s = %r' % (key, value)) return cls_setitem(self, key, value) def __delitem__(self, key): print('Deleting %s' % key) return cls_delitem(self, key) cls.__getitem__ = __getitem__ cls.__setitem__ = __setitem__ cls.__delitem__ = __delitem__ return cls @LoggedMapping class LoggedDict(dict): pass d = LoggedDict() d['x'] = 23 print(d['x']) del d['x']
def logged_mapping(cls): cls_getitem = cls.__getitem__ cls_setitem = cls.__setitem__ cls_delitem = cls.__delitem__ def __getitem__(self, key): print('Getting %s' % key) return cls_getitem(self, key) def __setitem__(self, key, value): print('Setting %s = %r' % (key, value)) return cls_setitem(self, key, value) def __delitem__(self, key): print('Deleting %s' % key) return cls_delitem(self, key) cls.__getitem__ = __getitem__ cls.__setitem__ = __setitem__ cls.__delitem__ = __delitem__ return cls @LoggedMapping class Loggeddict(dict): pass d = logged_dict() d['x'] = 23 print(d['x']) del d['x']
t = int(input) while t: i = int(input()) print(sum([(-1 ** i) / (2 * i + 1) for i in range(i)])) t -= 1
t = int(input) while t: i = int(input()) print(sum([-1 ** i / (2 * i + 1) for i in range(i)])) t -= 1
# # PySNMP MIB module Finisher-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Finisher-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:03:08 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint") hrDeviceIndex, = mibBuilder.importSymbols("HOST-RESOURCES-MIB", "hrDeviceIndex") PrtMarkerSuppliesTypeTC, PrtMarkerSuppliesClassTC, PrtMediaUnitTC, PrtCapacityUnitTC, prtMIBConformance, PresentOnOff, PrtSubUnitStatusTC, PrtMarkerSuppliesSupplyUnitTC, printmib, PrtInputTypeTC = mibBuilder.importSymbols("Printer-MIB", "PrtMarkerSuppliesTypeTC", "PrtMarkerSuppliesClassTC", "PrtMediaUnitTC", "PrtCapacityUnitTC", "prtMIBConformance", "PresentOnOff", "PrtSubUnitStatusTC", "PrtMarkerSuppliesSupplyUnitTC", "printmib", "PrtInputTypeTC") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") Bits, ObjectIdentity, ModuleIdentity, experimental, TimeTicks, Counter32, Gauge32, Unsigned32, IpAddress, MibIdentifier, Integer32, mib_2, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "ObjectIdentity", "ModuleIdentity", "experimental", "TimeTicks", "Counter32", "Gauge32", "Unsigned32", "IpAddress", "MibIdentifier", "Integer32", "mib-2", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "iso") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") finisherMIB = ModuleIdentity((1, 3, 6, 1, 3, 64)) if mibBuilder.loadTexts: finisherMIB.setLastUpdated('9810090000Z') if mibBuilder.loadTexts: finisherMIB.setOrganization('IETF Printer MIB Working Group') class FinDeviceTypeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)) namedValues = NamedValues(("other", 1), ("unknown", 2), ("stitcher", 3), ("folder", 4), ("binder", 5), ("trimmer", 6), ("dieCutter", 7), ("puncher", 8), ("perforater", 9), ("slitter", 10), ("separationCutter", 11), ("imprinter", 12), ("wrapper", 13), ("bander", 14), ("makeEnvelope", 15), ("stacker", 16), ("sheetRotator", 17)) class FinAttributeTypeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 30, 31, 40, 50, 80, 81, 82, 83, 100, 130, 160, 161, 162)) namedValues = NamedValues(("other", 1), ("deviceName", 3), ("deviceVendorName", 4), ("deviceModel", 5), ("deviceVersion", 6), ("deviceSerialNumber", 7), ("maximumSheets", 8), ("finProcessOffsetUnits", 9), ("finReferenceEdge", 10), ("finAxisOffset", 11), ("finJogEdge", 12), ("finHeadLocation", 13), ("finOperationRestrictions", 14), ("finNumberOfPositions", 15), ("namedConfiguration", 16), ("finMediaTypeRestriction", 17), ("finPrinterInputTraySupported", 18), ("finPreviousFinishingOperation", 19), ("finNextFinishingOperation", 20), ("stitchingType", 30), ("stitchingDirection", 31), ("foldingType", 40), ("bindingType", 50), ("punchHoleType", 80), ("punchHoleSizeLongDim", 81), ("punchHoleSizeShortDim", 82), ("punchPattern", 83), ("slittingType", 100), ("wrappingType", 130), ("stackOutputType", 160), ("stackOffset", 161), ("stackRotation", 162)) class FinEdgeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(3, 4, 5, 6)) namedValues = NamedValues(("topEdge", 3), ("bottomEdge", 4), ("leftEdge", 5), ("rightEdge", 6)) class FinStitchingTypeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 4, 5, 6, 7, 8, 9, 10)) namedValues = NamedValues(("other", 1), ("unknown", 2), ("stapleTopLeft", 4), ("stapleBottomLeft", 5), ("stapleTopRight", 6), ("stapleBottomRight", 7), ("saddleStitch", 8), ("edgeStitch", 9), ("stapleDual", 10)) class StitchingDirTypeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(2, 3, 4)) namedValues = NamedValues(("unknown", 2), ("topDown", 3), ("bottomUp", 4)) class StitchingAngleTypeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(2, 3, 4, 5)) namedValues = NamedValues(("unknown", 2), ("horizontal", 3), ("vertical", 4), ("slanted", 5)) class FinFoldingTypeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5)) namedValues = NamedValues(("other", 1), ("unknown", 2), ("zFold", 3), ("halfFold", 4), ("letterFold", 5)) class FinBindingTypeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 4, 5, 6, 7, 8, 9, 10, 11)) namedValues = NamedValues(("other", 1), ("unknown", 2), ("tape", 4), ("plastic", 5), ("velo", 6), ("perfect", 7), ("spiral", 8), ("adhesive", 9), ("comb", 10), ("padding", 11)) class FinPunchHoleTypeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("other", 1), ("unknown", 2), ("round", 3), ("oblong", 4), ("square", 5), ("rectangular", 6), ("star", 7)) class FinPunchPatternTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)) namedValues = NamedValues(("other", 1), ("unknown", 2), ("twoHoleUSTop", 4), ("threeHoleUS", 5), ("twoHoleDIN", 6), ("fourHoleDIN", 7), ("twentyTwoHoleUS", 8), ("nineteenHoleUS", 9), ("twoHoleMetric", 10), ("swedish4Hole", 11), ("twoHoleUSSide", 12), ("fiveHoleUS", 13), ("sevenHoleUS", 14), ("mixed7H4S", 15), ("norweg6Hole", 16), ("metric26Hole", 17), ("metric30Hole", 18)) class FinSlittingTypeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 4, 5)) namedValues = NamedValues(("other", 1), ("unknown", 2), ("slitAndSeparate", 4), ("slitAndMerge", 5)) class FinWrappingTypeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 4, 5)) namedValues = NamedValues(("other", 1), ("unknown", 2), ("shrinkWrap", 4), ("paperWrap", 5)) class FinStackOutputTypeTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 4, 5, 6)) namedValues = NamedValues(("other", 1), ("unknown", 2), ("straight", 4), ("offset", 5), ("crissCross", 6)) finDevice = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 30)) finDeviceTable = MibTable((1, 3, 6, 1, 2, 1, 43, 30, 1), ) if mibBuilder.loadTexts: finDeviceTable.setStatus('current') finDeviceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 30, 1, 1), ).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Finisher-MIB", "finDeviceIndex")) if mibBuilder.loadTexts: finDeviceEntry.setStatus('current') finDeviceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: finDeviceIndex.setStatus('current') finDeviceType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 2), FinDeviceTypeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceType.setStatus('current') finDevicePresentOnOff = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 3), PresentOnOff().clone('notPresent')).setMaxAccess("readwrite") if mibBuilder.loadTexts: finDevicePresentOnOff.setStatus('current') finDeviceCapacityUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 4), PrtCapacityUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceCapacityUnit.setStatus('current') finDeviceMaxCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(-2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: finDeviceMaxCapacity.setStatus('current') finDeviceCurrentCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(-2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: finDeviceCurrentCapacity.setStatus('current') finDeviceAssociatedMediaPaths = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 7), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceAssociatedMediaPaths.setStatus('current') finDeviceAssociatedOutputs = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 8), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceAssociatedOutputs.setStatus('current') finDeviceStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 9), PrtSubUnitStatusTC().clone(5)).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceStatus.setStatus('current') finDeviceDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: finDeviceDescription.setStatus('current') finSupply = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 31)) finSupplyTable = MibTable((1, 3, 6, 1, 2, 1, 43, 31, 1), ) if mibBuilder.loadTexts: finSupplyTable.setStatus('current') finSupplyEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 31, 1, 1), ).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Finisher-MIB", "finSupplyIndex")) if mibBuilder.loadTexts: finSupplyEntry.setStatus('current') finSupplyIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: finSupplyIndex.setStatus('current') finSupplyDeviceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyDeviceIndex.setStatus('current') finSupplyClass = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 3), PrtMarkerSuppliesClassTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyClass.setStatus('current') finSupplyType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 4), PrtMarkerSuppliesTypeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyType.setStatus('current') finSupplyDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyDescription.setStatus('current') finSupplyUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 6), PrtMarkerSuppliesSupplyUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyUnit.setStatus('current') finSupplyMaxCapacity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(-2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMaxCapacity.setStatus('current') finSupplyCurrentLevel = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 8), Integer32().clone(-2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyCurrentLevel.setStatus('current') finSupplyColorName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyColorName.setStatus('current') finSupplyMediaInput = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 32)) finSupplyMediaInputTable = MibTable((1, 3, 6, 1, 2, 1, 43, 32, 1), ) if mibBuilder.loadTexts: finSupplyMediaInputTable.setStatus('current') finSupplyMediaInputEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 32, 1, 1), ).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Finisher-MIB", "finSupplyMediaInputIndex")) if mibBuilder.loadTexts: finSupplyMediaInputEntry.setStatus('current') finSupplyMediaInputIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: finSupplyMediaInputIndex.setStatus('current') finSupplyMediaInputDeviceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputDeviceIndex.setStatus('current') finSupplyMediaInputSupplyIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputSupplyIndex.setStatus('current') finSupplyMediaInputType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 4), PrtInputTypeTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputType.setStatus('current') finSupplyMediaInputDimUnit = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 5), PrtMediaUnitTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputDimUnit.setStatus('current') finSupplyMediaInputMediaDimFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaDimFeedDir.setStatus('current') finSupplyMediaInputMediaDimXFeedDir = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaDimXFeedDir.setStatus('current') finSupplyMediaInputStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 8), PrtSubUnitStatusTC().clone(5)).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputStatus.setStatus('current') finSupplyMediaInputMediaName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaName.setStatus('current') finSupplyMediaInputName = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputName.setStatus('current') finSupplyMediaInputDescription = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: finSupplyMediaInputDescription.setStatus('current') finSupplyMediaInputSecurity = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 12), PresentOnOff()).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputSecurity.setStatus('current') finSupplyMediaInputMediaWeight = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 13), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaWeight.setStatus('current') finSupplyMediaInputMediaThickness = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaThickness.setStatus('current') finSupplyMediaInputMediaType = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 15), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: finSupplyMediaInputMediaType.setStatus('current') finDeviceAttribute = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 33)) finDeviceAttributeTable = MibTable((1, 3, 6, 1, 2, 1, 43, 33, 1), ) if mibBuilder.loadTexts: finDeviceAttributeTable.setStatus('current') finDeviceAttributeEntry = MibTableRow((1, 3, 6, 1, 2, 1, 43, 33, 1, 1), ).setIndexNames((0, "HOST-RESOURCES-MIB", "hrDeviceIndex"), (0, "Finisher-MIB", "finDeviceIndex"), (0, "Finisher-MIB", "finDeviceAttributeTypeIndex"), (0, "Finisher-MIB", "finDeviceAttributeInstanceIndex")) if mibBuilder.loadTexts: finDeviceAttributeEntry.setStatus('current') finDeviceAttributeTypeIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 1), FinAttributeTypeTC()) if mibBuilder.loadTexts: finDeviceAttributeTypeIndex.setStatus('current') finDeviceAttributeInstanceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: finDeviceAttributeInstanceIndex.setStatus('current') finDeviceAttributeValueAsInteger = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-2, 2147483647)).clone(-2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: finDeviceAttributeValueAsInteger.setStatus('current') finDeviceAttributeValueAsOctets = MibTableColumn((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 63)).clone(hexValue="")).setMaxAccess("readwrite") if mibBuilder.loadTexts: finDeviceAttributeValueAsOctets.setStatus('current') finMIBCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 43, 2, 3)).setObjects(("Finisher-MIB", "finDeviceGroup"), ("Finisher-MIB", "finSupplyGroup"), ("Finisher-MIB", "finDeviceAttributeGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): finMIBCompliance = finMIBCompliance.setStatus('current') finMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 43, 2, 4)) finDeviceGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 4, 1)).setObjects(("Finisher-MIB", "finDeviceType"), ("Finisher-MIB", "finDevicePresentOnOff"), ("Finisher-MIB", "finDeviceCapacityUnit"), ("Finisher-MIB", "finDeviceMaxCapacity"), ("Finisher-MIB", "finDeviceCurrentCapacity"), ("Finisher-MIB", "finDeviceAssociatedMediaPaths"), ("Finisher-MIB", "finDeviceAssociatedOutputs"), ("Finisher-MIB", "finDeviceStatus"), ("Finisher-MIB", "finDeviceDescription")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): finDeviceGroup = finDeviceGroup.setStatus('current') finSupplyGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 4, 2)).setObjects(("Finisher-MIB", "finSupplyDeviceIndex"), ("Finisher-MIB", "finSupplyClass"), ("Finisher-MIB", "finSupplyType"), ("Finisher-MIB", "finSupplyDescription"), ("Finisher-MIB", "finSupplyUnit"), ("Finisher-MIB", "finSupplyMaxCapacity"), ("Finisher-MIB", "finSupplyCurrentLevel"), ("Finisher-MIB", "finSupplyColorName")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): finSupplyGroup = finSupplyGroup.setStatus('current') finSupplyMediaInputGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 4, 3)).setObjects(("Finisher-MIB", "finSupplyMediaInputDeviceIndex"), ("Finisher-MIB", "finSupplyMediaInputSupplyIndex"), ("Finisher-MIB", "finSupplyMediaInputType"), ("Finisher-MIB", "finSupplyMediaInputDimUnit"), ("Finisher-MIB", "finSupplyMediaInputMediaDimFeedDir"), ("Finisher-MIB", "finSupplyMediaInputMediaDimXFeedDir"), ("Finisher-MIB", "finSupplyMediaInputStatus"), ("Finisher-MIB", "finSupplyMediaInputMediaName"), ("Finisher-MIB", "finSupplyMediaInputName"), ("Finisher-MIB", "finSupplyMediaInputDescription"), ("Finisher-MIB", "finSupplyMediaInputSecurity"), ("Finisher-MIB", "finSupplyMediaInputMediaWeight"), ("Finisher-MIB", "finSupplyMediaInputMediaThickness"), ("Finisher-MIB", "finSupplyMediaInputMediaType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): finSupplyMediaInputGroup = finSupplyMediaInputGroup.setStatus('current') finDeviceAttributeGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 43, 2, 4, 4)).setObjects(("Finisher-MIB", "finDeviceAttributeValueAsInteger"), ("Finisher-MIB", "finDeviceAttributeValueAsOctets")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): finDeviceAttributeGroup = finDeviceAttributeGroup.setStatus('current') mibBuilder.exportSymbols("Finisher-MIB", PYSNMP_MODULE_ID=finisherMIB, finSupplyMediaInputMediaType=finSupplyMediaInputMediaType, finSupplyMediaInputName=finSupplyMediaInputName, finDeviceAttributeTypeIndex=finDeviceAttributeTypeIndex, finSupplyGroup=finSupplyGroup, finDeviceTable=finDeviceTable, finSupplyDeviceIndex=finSupplyDeviceIndex, finDeviceType=finDeviceType, finSupplyMediaInput=finSupplyMediaInput, finSupplyMediaInputMediaDimFeedDir=finSupplyMediaInputMediaDimFeedDir, FinStackOutputTypeTC=FinStackOutputTypeTC, FinEdgeTC=FinEdgeTC, finSupplyMediaInputMediaDimXFeedDir=finSupplyMediaInputMediaDimXFeedDir, finSupplyMediaInputMediaName=finSupplyMediaInputMediaName, finDeviceAttributeValueAsOctets=finDeviceAttributeValueAsOctets, finSupplyEntry=finSupplyEntry, finDeviceStatus=finDeviceStatus, finDeviceAttributeValueAsInteger=finDeviceAttributeValueAsInteger, FinDeviceTypeTC=FinDeviceTypeTC, FinFoldingTypeTC=FinFoldingTypeTC, finDeviceAssociatedOutputs=finDeviceAssociatedOutputs, FinPunchPatternTC=FinPunchPatternTC, finSupplyCurrentLevel=finSupplyCurrentLevel, finSupplyMediaInputTable=finSupplyMediaInputTable, finSupplyMediaInputMediaThickness=finSupplyMediaInputMediaThickness, finDeviceMaxCapacity=finDeviceMaxCapacity, finDeviceAttributeTable=finDeviceAttributeTable, finDeviceGroup=finDeviceGroup, finSupplyMediaInputDimUnit=finSupplyMediaInputDimUnit, finSupplyMediaInputIndex=finSupplyMediaInputIndex, finSupplyMediaInputEntry=finSupplyMediaInputEntry, finSupplyMediaInputSecurity=finSupplyMediaInputSecurity, FinBindingTypeTC=FinBindingTypeTC, StitchingDirTypeTC=StitchingDirTypeTC, finDeviceCurrentCapacity=finDeviceCurrentCapacity, finDeviceAssociatedMediaPaths=finDeviceAssociatedMediaPaths, finSupplyIndex=finSupplyIndex, finSupplyType=finSupplyType, finSupplyMaxCapacity=finSupplyMaxCapacity, FinStitchingTypeTC=FinStitchingTypeTC, finDeviceDescription=finDeviceDescription, finSupplyMediaInputDeviceIndex=finSupplyMediaInputDeviceIndex, FinPunchHoleTypeTC=FinPunchHoleTypeTC, finisherMIB=finisherMIB, finSupplyColorName=finSupplyColorName, finMIBGroups=finMIBGroups, finSupplyMediaInputGroup=finSupplyMediaInputGroup, finSupplyMediaInputType=finSupplyMediaInputType, finDeviceAttributeGroup=finDeviceAttributeGroup, finSupplyMediaInputSupplyIndex=finSupplyMediaInputSupplyIndex, finSupplyClass=finSupplyClass, FinWrappingTypeTC=FinWrappingTypeTC, finMIBCompliance=finMIBCompliance, finSupplyTable=finSupplyTable, finDeviceEntry=finDeviceEntry, finDevicePresentOnOff=finDevicePresentOnOff, finSupplyMediaInputDescription=finSupplyMediaInputDescription, finDeviceCapacityUnit=finDeviceCapacityUnit, finSupplyUnit=finSupplyUnit, finSupplyMediaInputStatus=finSupplyMediaInputStatus, finDeviceAttribute=finDeviceAttribute, finDevice=finDevice, FinAttributeTypeTC=FinAttributeTypeTC, StitchingAngleTypeTC=StitchingAngleTypeTC, finSupply=finSupply, finSupplyDescription=finSupplyDescription, finSupplyMediaInputMediaWeight=finSupplyMediaInputMediaWeight, finDeviceAttributeEntry=finDeviceAttributeEntry, FinSlittingTypeTC=FinSlittingTypeTC, finDeviceIndex=finDeviceIndex, finDeviceAttributeInstanceIndex=finDeviceAttributeInstanceIndex)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_range_constraint, constraints_union, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'SingleValueConstraint') (hr_device_index,) = mibBuilder.importSymbols('HOST-RESOURCES-MIB', 'hrDeviceIndex') (prt_marker_supplies_type_tc, prt_marker_supplies_class_tc, prt_media_unit_tc, prt_capacity_unit_tc, prt_mib_conformance, present_on_off, prt_sub_unit_status_tc, prt_marker_supplies_supply_unit_tc, printmib, prt_input_type_tc) = mibBuilder.importSymbols('Printer-MIB', 'PrtMarkerSuppliesTypeTC', 'PrtMarkerSuppliesClassTC', 'PrtMediaUnitTC', 'PrtCapacityUnitTC', 'prtMIBConformance', 'PresentOnOff', 'PrtSubUnitStatusTC', 'PrtMarkerSuppliesSupplyUnitTC', 'printmib', 'PrtInputTypeTC') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (bits, object_identity, module_identity, experimental, time_ticks, counter32, gauge32, unsigned32, ip_address, mib_identifier, integer32, mib_2, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'ObjectIdentity', 'ModuleIdentity', 'experimental', 'TimeTicks', 'Counter32', 'Gauge32', 'Unsigned32', 'IpAddress', 'MibIdentifier', 'Integer32', 'mib-2', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'iso') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') finisher_mib = module_identity((1, 3, 6, 1, 3, 64)) if mibBuilder.loadTexts: finisherMIB.setLastUpdated('9810090000Z') if mibBuilder.loadTexts: finisherMIB.setOrganization('IETF Printer MIB Working Group') class Findevicetypetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)) named_values = named_values(('other', 1), ('unknown', 2), ('stitcher', 3), ('folder', 4), ('binder', 5), ('trimmer', 6), ('dieCutter', 7), ('puncher', 8), ('perforater', 9), ('slitter', 10), ('separationCutter', 11), ('imprinter', 12), ('wrapper', 13), ('bander', 14), ('makeEnvelope', 15), ('stacker', 16), ('sheetRotator', 17)) class Finattributetypetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 30, 31, 40, 50, 80, 81, 82, 83, 100, 130, 160, 161, 162)) named_values = named_values(('other', 1), ('deviceName', 3), ('deviceVendorName', 4), ('deviceModel', 5), ('deviceVersion', 6), ('deviceSerialNumber', 7), ('maximumSheets', 8), ('finProcessOffsetUnits', 9), ('finReferenceEdge', 10), ('finAxisOffset', 11), ('finJogEdge', 12), ('finHeadLocation', 13), ('finOperationRestrictions', 14), ('finNumberOfPositions', 15), ('namedConfiguration', 16), ('finMediaTypeRestriction', 17), ('finPrinterInputTraySupported', 18), ('finPreviousFinishingOperation', 19), ('finNextFinishingOperation', 20), ('stitchingType', 30), ('stitchingDirection', 31), ('foldingType', 40), ('bindingType', 50), ('punchHoleType', 80), ('punchHoleSizeLongDim', 81), ('punchHoleSizeShortDim', 82), ('punchPattern', 83), ('slittingType', 100), ('wrappingType', 130), ('stackOutputType', 160), ('stackOffset', 161), ('stackRotation', 162)) class Finedgetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(3, 4, 5, 6)) named_values = named_values(('topEdge', 3), ('bottomEdge', 4), ('leftEdge', 5), ('rightEdge', 6)) class Finstitchingtypetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 4, 5, 6, 7, 8, 9, 10)) named_values = named_values(('other', 1), ('unknown', 2), ('stapleTopLeft', 4), ('stapleBottomLeft', 5), ('stapleTopRight', 6), ('stapleBottomRight', 7), ('saddleStitch', 8), ('edgeStitch', 9), ('stapleDual', 10)) class Stitchingdirtypetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(2, 3, 4)) named_values = named_values(('unknown', 2), ('topDown', 3), ('bottomUp', 4)) class Stitchingangletypetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(2, 3, 4, 5)) named_values = named_values(('unknown', 2), ('horizontal', 3), ('vertical', 4), ('slanted', 5)) class Finfoldingtypetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5)) named_values = named_values(('other', 1), ('unknown', 2), ('zFold', 3), ('halfFold', 4), ('letterFold', 5)) class Finbindingtypetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 4, 5, 6, 7, 8, 9, 10, 11)) named_values = named_values(('other', 1), ('unknown', 2), ('tape', 4), ('plastic', 5), ('velo', 6), ('perfect', 7), ('spiral', 8), ('adhesive', 9), ('comb', 10), ('padding', 11)) class Finpunchholetypetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7)) named_values = named_values(('other', 1), ('unknown', 2), ('round', 3), ('oblong', 4), ('square', 5), ('rectangular', 6), ('star', 7)) class Finpunchpatterntc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)) named_values = named_values(('other', 1), ('unknown', 2), ('twoHoleUSTop', 4), ('threeHoleUS', 5), ('twoHoleDIN', 6), ('fourHoleDIN', 7), ('twentyTwoHoleUS', 8), ('nineteenHoleUS', 9), ('twoHoleMetric', 10), ('swedish4Hole', 11), ('twoHoleUSSide', 12), ('fiveHoleUS', 13), ('sevenHoleUS', 14), ('mixed7H4S', 15), ('norweg6Hole', 16), ('metric26Hole', 17), ('metric30Hole', 18)) class Finslittingtypetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 4, 5)) named_values = named_values(('other', 1), ('unknown', 2), ('slitAndSeparate', 4), ('slitAndMerge', 5)) class Finwrappingtypetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 4, 5)) named_values = named_values(('other', 1), ('unknown', 2), ('shrinkWrap', 4), ('paperWrap', 5)) class Finstackoutputtypetc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 4, 5, 6)) named_values = named_values(('other', 1), ('unknown', 2), ('straight', 4), ('offset', 5), ('crissCross', 6)) fin_device = mib_identifier((1, 3, 6, 1, 2, 1, 43, 30)) fin_device_table = mib_table((1, 3, 6, 1, 2, 1, 43, 30, 1)) if mibBuilder.loadTexts: finDeviceTable.setStatus('current') fin_device_entry = mib_table_row((1, 3, 6, 1, 2, 1, 43, 30, 1, 1)).setIndexNames((0, 'HOST-RESOURCES-MIB', 'hrDeviceIndex'), (0, 'Finisher-MIB', 'finDeviceIndex')) if mibBuilder.loadTexts: finDeviceEntry.setStatus('current') fin_device_index = mib_table_column((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))) if mibBuilder.loadTexts: finDeviceIndex.setStatus('current') fin_device_type = mib_table_column((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 2), fin_device_type_tc()).setMaxAccess('readonly') if mibBuilder.loadTexts: finDeviceType.setStatus('current') fin_device_present_on_off = mib_table_column((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 3), present_on_off().clone('notPresent')).setMaxAccess('readwrite') if mibBuilder.loadTexts: finDevicePresentOnOff.setStatus('current') fin_device_capacity_unit = mib_table_column((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 4), prt_capacity_unit_tc()).setMaxAccess('readonly') if mibBuilder.loadTexts: finDeviceCapacityUnit.setStatus('current') fin_device_max_capacity = mib_table_column((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(-2, 2147483647)).clone(-2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: finDeviceMaxCapacity.setStatus('current') fin_device_current_capacity = mib_table_column((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(-2, 2147483647)).clone(-2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: finDeviceCurrentCapacity.setStatus('current') fin_device_associated_media_paths = mib_table_column((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 7), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: finDeviceAssociatedMediaPaths.setStatus('current') fin_device_associated_outputs = mib_table_column((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 8), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: finDeviceAssociatedOutputs.setStatus('current') fin_device_status = mib_table_column((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 9), prt_sub_unit_status_tc().clone(5)).setMaxAccess('readonly') if mibBuilder.loadTexts: finDeviceStatus.setStatus('current') fin_device_description = mib_table_column((1, 3, 6, 1, 2, 1, 43, 30, 1, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: finDeviceDescription.setStatus('current') fin_supply = mib_identifier((1, 3, 6, 1, 2, 1, 43, 31)) fin_supply_table = mib_table((1, 3, 6, 1, 2, 1, 43, 31, 1)) if mibBuilder.loadTexts: finSupplyTable.setStatus('current') fin_supply_entry = mib_table_row((1, 3, 6, 1, 2, 1, 43, 31, 1, 1)).setIndexNames((0, 'HOST-RESOURCES-MIB', 'hrDeviceIndex'), (0, 'Finisher-MIB', 'finSupplyIndex')) if mibBuilder.loadTexts: finSupplyEntry.setStatus('current') fin_supply_index = mib_table_column((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))) if mibBuilder.loadTexts: finSupplyIndex.setStatus('current') fin_supply_device_index = mib_table_column((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyDeviceIndex.setStatus('current') fin_supply_class = mib_table_column((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 3), prt_marker_supplies_class_tc()).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyClass.setStatus('current') fin_supply_type = mib_table_column((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 4), prt_marker_supplies_type_tc()).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyType.setStatus('current') fin_supply_description = mib_table_column((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyDescription.setStatus('current') fin_supply_unit = mib_table_column((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 6), prt_marker_supplies_supply_unit_tc()).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyUnit.setStatus('current') fin_supply_max_capacity = mib_table_column((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(-2, 2147483647)).clone(-2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: finSupplyMaxCapacity.setStatus('current') fin_supply_current_level = mib_table_column((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 8), integer32().clone(-2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: finSupplyCurrentLevel.setStatus('current') fin_supply_color_name = mib_table_column((1, 3, 6, 1, 2, 1, 43, 31, 1, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyColorName.setStatus('current') fin_supply_media_input = mib_identifier((1, 3, 6, 1, 2, 1, 43, 32)) fin_supply_media_input_table = mib_table((1, 3, 6, 1, 2, 1, 43, 32, 1)) if mibBuilder.loadTexts: finSupplyMediaInputTable.setStatus('current') fin_supply_media_input_entry = mib_table_row((1, 3, 6, 1, 2, 1, 43, 32, 1, 1)).setIndexNames((0, 'HOST-RESOURCES-MIB', 'hrDeviceIndex'), (0, 'Finisher-MIB', 'finSupplyMediaInputIndex')) if mibBuilder.loadTexts: finSupplyMediaInputEntry.setStatus('current') fin_supply_media_input_index = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))) if mibBuilder.loadTexts: finSupplyMediaInputIndex.setStatus('current') fin_supply_media_input_device_index = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyMediaInputDeviceIndex.setStatus('current') fin_supply_media_input_supply_index = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyMediaInputSupplyIndex.setStatus('current') fin_supply_media_input_type = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 4), prt_input_type_tc()).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyMediaInputType.setStatus('current') fin_supply_media_input_dim_unit = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 5), prt_media_unit_tc()).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyMediaInputDimUnit.setStatus('current') fin_supply_media_input_media_dim_feed_dir = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(-2, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: finSupplyMediaInputMediaDimFeedDir.setStatus('current') fin_supply_media_input_media_dim_x_feed_dir = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(-2, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: finSupplyMediaInputMediaDimXFeedDir.setStatus('current') fin_supply_media_input_status = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 8), prt_sub_unit_status_tc().clone(5)).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyMediaInputStatus.setStatus('current') fin_supply_media_input_media_name = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: finSupplyMediaInputMediaName.setStatus('current') fin_supply_media_input_name = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: finSupplyMediaInputName.setStatus('current') fin_supply_media_input_description = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: finSupplyMediaInputDescription.setStatus('current') fin_supply_media_input_security = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 12), present_on_off()).setMaxAccess('readwrite') if mibBuilder.loadTexts: finSupplyMediaInputSecurity.setStatus('current') fin_supply_media_input_media_weight = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 13), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: finSupplyMediaInputMediaWeight.setStatus('current') fin_supply_media_input_media_thickness = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(-2, 2147483647))).setMaxAccess('readwrite') if mibBuilder.loadTexts: finSupplyMediaInputMediaThickness.setStatus('current') fin_supply_media_input_media_type = mib_table_column((1, 3, 6, 1, 2, 1, 43, 32, 1, 1, 15), octet_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: finSupplyMediaInputMediaType.setStatus('current') fin_device_attribute = mib_identifier((1, 3, 6, 1, 2, 1, 43, 33)) fin_device_attribute_table = mib_table((1, 3, 6, 1, 2, 1, 43, 33, 1)) if mibBuilder.loadTexts: finDeviceAttributeTable.setStatus('current') fin_device_attribute_entry = mib_table_row((1, 3, 6, 1, 2, 1, 43, 33, 1, 1)).setIndexNames((0, 'HOST-RESOURCES-MIB', 'hrDeviceIndex'), (0, 'Finisher-MIB', 'finDeviceIndex'), (0, 'Finisher-MIB', 'finDeviceAttributeTypeIndex'), (0, 'Finisher-MIB', 'finDeviceAttributeInstanceIndex')) if mibBuilder.loadTexts: finDeviceAttributeEntry.setStatus('current') fin_device_attribute_type_index = mib_table_column((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 1), fin_attribute_type_tc()) if mibBuilder.loadTexts: finDeviceAttributeTypeIndex.setStatus('current') fin_device_attribute_instance_index = mib_table_column((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))) if mibBuilder.loadTexts: finDeviceAttributeInstanceIndex.setStatus('current') fin_device_attribute_value_as_integer = mib_table_column((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(-2, 2147483647)).clone(-2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: finDeviceAttributeValueAsInteger.setStatus('current') fin_device_attribute_value_as_octets = mib_table_column((1, 3, 6, 1, 2, 1, 43, 33, 1, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(0, 63)).clone(hexValue='')).setMaxAccess('readwrite') if mibBuilder.loadTexts: finDeviceAttributeValueAsOctets.setStatus('current') fin_mib_compliance = module_compliance((1, 3, 6, 1, 2, 1, 43, 2, 3)).setObjects(('Finisher-MIB', 'finDeviceGroup'), ('Finisher-MIB', 'finSupplyGroup'), ('Finisher-MIB', 'finDeviceAttributeGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): fin_mib_compliance = finMIBCompliance.setStatus('current') fin_mib_groups = mib_identifier((1, 3, 6, 1, 2, 1, 43, 2, 4)) fin_device_group = object_group((1, 3, 6, 1, 2, 1, 43, 2, 4, 1)).setObjects(('Finisher-MIB', 'finDeviceType'), ('Finisher-MIB', 'finDevicePresentOnOff'), ('Finisher-MIB', 'finDeviceCapacityUnit'), ('Finisher-MIB', 'finDeviceMaxCapacity'), ('Finisher-MIB', 'finDeviceCurrentCapacity'), ('Finisher-MIB', 'finDeviceAssociatedMediaPaths'), ('Finisher-MIB', 'finDeviceAssociatedOutputs'), ('Finisher-MIB', 'finDeviceStatus'), ('Finisher-MIB', 'finDeviceDescription')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): fin_device_group = finDeviceGroup.setStatus('current') fin_supply_group = object_group((1, 3, 6, 1, 2, 1, 43, 2, 4, 2)).setObjects(('Finisher-MIB', 'finSupplyDeviceIndex'), ('Finisher-MIB', 'finSupplyClass'), ('Finisher-MIB', 'finSupplyType'), ('Finisher-MIB', 'finSupplyDescription'), ('Finisher-MIB', 'finSupplyUnit'), ('Finisher-MIB', 'finSupplyMaxCapacity'), ('Finisher-MIB', 'finSupplyCurrentLevel'), ('Finisher-MIB', 'finSupplyColorName')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): fin_supply_group = finSupplyGroup.setStatus('current') fin_supply_media_input_group = object_group((1, 3, 6, 1, 2, 1, 43, 2, 4, 3)).setObjects(('Finisher-MIB', 'finSupplyMediaInputDeviceIndex'), ('Finisher-MIB', 'finSupplyMediaInputSupplyIndex'), ('Finisher-MIB', 'finSupplyMediaInputType'), ('Finisher-MIB', 'finSupplyMediaInputDimUnit'), ('Finisher-MIB', 'finSupplyMediaInputMediaDimFeedDir'), ('Finisher-MIB', 'finSupplyMediaInputMediaDimXFeedDir'), ('Finisher-MIB', 'finSupplyMediaInputStatus'), ('Finisher-MIB', 'finSupplyMediaInputMediaName'), ('Finisher-MIB', 'finSupplyMediaInputName'), ('Finisher-MIB', 'finSupplyMediaInputDescription'), ('Finisher-MIB', 'finSupplyMediaInputSecurity'), ('Finisher-MIB', 'finSupplyMediaInputMediaWeight'), ('Finisher-MIB', 'finSupplyMediaInputMediaThickness'), ('Finisher-MIB', 'finSupplyMediaInputMediaType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): fin_supply_media_input_group = finSupplyMediaInputGroup.setStatus('current') fin_device_attribute_group = object_group((1, 3, 6, 1, 2, 1, 43, 2, 4, 4)).setObjects(('Finisher-MIB', 'finDeviceAttributeValueAsInteger'), ('Finisher-MIB', 'finDeviceAttributeValueAsOctets')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): fin_device_attribute_group = finDeviceAttributeGroup.setStatus('current') mibBuilder.exportSymbols('Finisher-MIB', PYSNMP_MODULE_ID=finisherMIB, finSupplyMediaInputMediaType=finSupplyMediaInputMediaType, finSupplyMediaInputName=finSupplyMediaInputName, finDeviceAttributeTypeIndex=finDeviceAttributeTypeIndex, finSupplyGroup=finSupplyGroup, finDeviceTable=finDeviceTable, finSupplyDeviceIndex=finSupplyDeviceIndex, finDeviceType=finDeviceType, finSupplyMediaInput=finSupplyMediaInput, finSupplyMediaInputMediaDimFeedDir=finSupplyMediaInputMediaDimFeedDir, FinStackOutputTypeTC=FinStackOutputTypeTC, FinEdgeTC=FinEdgeTC, finSupplyMediaInputMediaDimXFeedDir=finSupplyMediaInputMediaDimXFeedDir, finSupplyMediaInputMediaName=finSupplyMediaInputMediaName, finDeviceAttributeValueAsOctets=finDeviceAttributeValueAsOctets, finSupplyEntry=finSupplyEntry, finDeviceStatus=finDeviceStatus, finDeviceAttributeValueAsInteger=finDeviceAttributeValueAsInteger, FinDeviceTypeTC=FinDeviceTypeTC, FinFoldingTypeTC=FinFoldingTypeTC, finDeviceAssociatedOutputs=finDeviceAssociatedOutputs, FinPunchPatternTC=FinPunchPatternTC, finSupplyCurrentLevel=finSupplyCurrentLevel, finSupplyMediaInputTable=finSupplyMediaInputTable, finSupplyMediaInputMediaThickness=finSupplyMediaInputMediaThickness, finDeviceMaxCapacity=finDeviceMaxCapacity, finDeviceAttributeTable=finDeviceAttributeTable, finDeviceGroup=finDeviceGroup, finSupplyMediaInputDimUnit=finSupplyMediaInputDimUnit, finSupplyMediaInputIndex=finSupplyMediaInputIndex, finSupplyMediaInputEntry=finSupplyMediaInputEntry, finSupplyMediaInputSecurity=finSupplyMediaInputSecurity, FinBindingTypeTC=FinBindingTypeTC, StitchingDirTypeTC=StitchingDirTypeTC, finDeviceCurrentCapacity=finDeviceCurrentCapacity, finDeviceAssociatedMediaPaths=finDeviceAssociatedMediaPaths, finSupplyIndex=finSupplyIndex, finSupplyType=finSupplyType, finSupplyMaxCapacity=finSupplyMaxCapacity, FinStitchingTypeTC=FinStitchingTypeTC, finDeviceDescription=finDeviceDescription, finSupplyMediaInputDeviceIndex=finSupplyMediaInputDeviceIndex, FinPunchHoleTypeTC=FinPunchHoleTypeTC, finisherMIB=finisherMIB, finSupplyColorName=finSupplyColorName, finMIBGroups=finMIBGroups, finSupplyMediaInputGroup=finSupplyMediaInputGroup, finSupplyMediaInputType=finSupplyMediaInputType, finDeviceAttributeGroup=finDeviceAttributeGroup, finSupplyMediaInputSupplyIndex=finSupplyMediaInputSupplyIndex, finSupplyClass=finSupplyClass, FinWrappingTypeTC=FinWrappingTypeTC, finMIBCompliance=finMIBCompliance, finSupplyTable=finSupplyTable, finDeviceEntry=finDeviceEntry, finDevicePresentOnOff=finDevicePresentOnOff, finSupplyMediaInputDescription=finSupplyMediaInputDescription, finDeviceCapacityUnit=finDeviceCapacityUnit, finSupplyUnit=finSupplyUnit, finSupplyMediaInputStatus=finSupplyMediaInputStatus, finDeviceAttribute=finDeviceAttribute, finDevice=finDevice, FinAttributeTypeTC=FinAttributeTypeTC, StitchingAngleTypeTC=StitchingAngleTypeTC, finSupply=finSupply, finSupplyDescription=finSupplyDescription, finSupplyMediaInputMediaWeight=finSupplyMediaInputMediaWeight, finDeviceAttributeEntry=finDeviceAttributeEntry, FinSlittingTypeTC=FinSlittingTypeTC, finDeviceIndex=finDeviceIndex, finDeviceAttributeInstanceIndex=finDeviceAttributeInstanceIndex)
#!/usr/bin/env python3 N = int(input().strip()) arr = [int(i) for i in input().strip().split()] sorted_arr = sorted(arr) diff_arr = [sorted_arr[i + 1] - sorted_arr[i] for i in range(0, N - 1)] min_diff = min(diff_arr) idx = [i for i in range(len(diff_arr)) if diff_arr[i] == min_diff] for i in idx: print(sorted_arr[i], sorted_arr[i + 1], end=' ') print()
n = int(input().strip()) arr = [int(i) for i in input().strip().split()] sorted_arr = sorted(arr) diff_arr = [sorted_arr[i + 1] - sorted_arr[i] for i in range(0, N - 1)] min_diff = min(diff_arr) idx = [i for i in range(len(diff_arr)) if diff_arr[i] == min_diff] for i in idx: print(sorted_arr[i], sorted_arr[i + 1], end=' ') print()
expected_output = { "pod": { 1: { "node": { 1: { "name": "msl-ifav205-ifc1", "node": 1, "pod": 1, "role": "controller", "version": "5.1(2e)" }, 101: { "name": "msl-ifav205-leaf1", "node": 101, "pod": 1, "role": "leaf", "version": "n9000-15.1(2e)" }, 201: { "name": "msl-ifav205-spine1", "node": 201, "pod": 1, "role": "spine", "version": "n9000-15.1(2e)" }, 202: { "name": "msl-ifav205-spine2", "node": 202, "pod": 1, "role": "spine", "version": "n9000-14.2(2e)" } } } } }
expected_output = {'pod': {1: {'node': {1: {'name': 'msl-ifav205-ifc1', 'node': 1, 'pod': 1, 'role': 'controller', 'version': '5.1(2e)'}, 101: {'name': 'msl-ifav205-leaf1', 'node': 101, 'pod': 1, 'role': 'leaf', 'version': 'n9000-15.1(2e)'}, 201: {'name': 'msl-ifav205-spine1', 'node': 201, 'pod': 1, 'role': 'spine', 'version': 'n9000-15.1(2e)'}, 202: {'name': 'msl-ifav205-spine2', 'node': 202, 'pod': 1, 'role': 'spine', 'version': 'n9000-14.2(2e)'}}}}}
# # Copyright (c) 2017 Digital Shadows Ltd. # # Licensed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) # __version__ = '1.1.0'
__version__ = '1.1.0'
test = open('test.txt', 'r') arr = [] for group in test: arr.append(int(group.split()[0])) # Correct Answers: # - Part 1: 10884537 # - Part 2: 1261309 # ======= Part 1 ======= def part1(): for i in range(25, len(arr)): sum = False for j in range(i - 25, i): if arr[i] - arr[j] in arr[i - 25 : i] and arr[i] - arr[j] != arr[j]: sum = True break if not sum: return arr[i] # ======= Part 2 ======= index = arr.index(part1()) for i in range(len(arr[ : index])): total = 0 lastNum = 0 for j in arr[i : index]: if total == arr[index]: break total += j lastNum = arr.index(j) if total == arr[index]: sortedNums = sorted(arr[i : lastNum + 1]) print('Part 1:', part1()) print('Part 2:', sortedNums[0] + sortedNums[len(sortedNums) - 1]) break
test = open('test.txt', 'r') arr = [] for group in test: arr.append(int(group.split()[0])) def part1(): for i in range(25, len(arr)): sum = False for j in range(i - 25, i): if arr[i] - arr[j] in arr[i - 25:i] and arr[i] - arr[j] != arr[j]: sum = True break if not sum: return arr[i] index = arr.index(part1()) for i in range(len(arr[:index])): total = 0 last_num = 0 for j in arr[i:index]: if total == arr[index]: break total += j last_num = arr.index(j) if total == arr[index]: sorted_nums = sorted(arr[i:lastNum + 1]) print('Part 1:', part1()) print('Part 2:', sortedNums[0] + sortedNums[len(sortedNums) - 1]) break
#!/usr/bin/python3 # -*-coding:utf-8-*- __author__ = "Bannings" class Solution: def detectCapitalUse(self, word: str) -> bool: isupper = word[-1].isupper() for i in range(len(word) - 2, -1, -1): if word[i].isupper() != isupper and (isupper or i != 0): return False return True if __name__ == '__main__': assert Solution().detectCapitalUse("mL") == False assert Solution().detectCapitalUse("word") == True assert Solution().detectCapitalUse("Word") == True assert Solution().detectCapitalUse("woRd") == False
__author__ = 'Bannings' class Solution: def detect_capital_use(self, word: str) -> bool: isupper = word[-1].isupper() for i in range(len(word) - 2, -1, -1): if word[i].isupper() != isupper and (isupper or i != 0): return False return True if __name__ == '__main__': assert solution().detectCapitalUse('mL') == False assert solution().detectCapitalUse('word') == True assert solution().detectCapitalUse('Word') == True assert solution().detectCapitalUse('woRd') == False
shapenet_30afd2ef2ed30238aa3d0a2f00b54836 = dict(filename= "30afd2ef2ed30238aa3d0a2f00b54836.png" , basic= "dining", subordinate= "dining_00" , subset="A", cluster= 1, object_num= 0, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/30afd2ef2ed30238aa3d0a2f00b54836.png",width= 256, height= 256); shapenet_30dc9d9cfbc01e19950c1f85d919ebc2 = dict(filename= "30dc9d9cfbc01e19950c1f85d919ebc2.png" , basic= "dining", subordinate= "dining_01" , subset="A", cluster= 1, object_num= 1, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/30dc9d9cfbc01e19950c1f85d919ebc2.png",width= 256, height= 256); shapenet_4c1777173111f2e380a88936375f2ef4 = dict(filename= "4c1777173111f2e380a88936375f2ef4.png" , basic= "dining", subordinate= "dining_02" , subset="B", cluster= 1, object_num= 2, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/4c1777173111f2e380a88936375f2ef4.png",width= 256, height= 256); shapenet_3466b6ecd040e252c215f685ba622927 = dict(filename= "3466b6ecd040e252c215f685ba622927.png" , basic= "dining", subordinate= "dining_03" , subset="B", cluster= 1, object_num= 3, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/3466b6ecd040e252c215f685ba622927.png",width= 256, height= 256); shapenet_38f87e02e850d3bd1d5ccc40b510e4bd = dict(filename= "38f87e02e850d3bd1d5ccc40b510e4bd.png" , basic= "dining", subordinate= "dining_04" , subset="B", cluster= 1, object_num= 4, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/38f87e02e850d3bd1d5ccc40b510e4bd.png",width= 256, height= 256); shapenet_3cf6db91f872d26c222659d33fd79709 = dict(filename= "3cf6db91f872d26c222659d33fd79709.png" , basic= "dining", subordinate= "dining_05" , subset="B", cluster= 1, object_num= 5, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/3cf6db91f872d26c222659d33fd79709.png",width= 256, height= 256); shapenet_3d7ebe5de86294b3f6bcd046624c43c9 = dict(filename= "3d7ebe5de86294b3f6bcd046624c43c9.png" , basic= "dining", subordinate= "dining_06" , subset="A", cluster= 1, object_num= 6, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/3d7ebe5de86294b3f6bcd046624c43c9.png",width= 256, height= 256); shapenet_56262eebe592b085d319c38340319ae4 = dict(filename= "56262eebe592b085d319c38340319ae4.png" , basic= "dining", subordinate= "dining_07" , subset="A", cluster= 1, object_num= 7, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/56262eebe592b085d319c38340319ae4.png",width= 256, height= 256); shapenet_1d1641362ad5a34ac3bd24f986301745 = dict(filename= "1d1641362ad5a34ac3bd24f986301745.png" , basic= "waiting", subordinate= "waiting_00" , subset="A", cluster= 3, object_num= 0, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/1d1641362ad5a34ac3bd24f986301745.png",width= 256, height= 256); shapenet_1da9942b2ab7082b2ba1fdc12ecb5c9e = dict(filename= "1da9942b2ab7082b2ba1fdc12ecb5c9e.png" , basic= "waiting", subordinate= "waiting_01" , subset="A", cluster= 3, object_num= 1, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/1da9942b2ab7082b2ba1fdc12ecb5c9e.png",width= 256, height= 256); shapenet_2448d9aeda5bb9b0f4b6538438a0b930 = dict(filename= "2448d9aeda5bb9b0f4b6538438a0b930.png" , basic= "waiting", subordinate= "waiting_02" , subset="B", cluster= 3, object_num= 2, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/2448d9aeda5bb9b0f4b6538438a0b930.png",width= 256, height= 256); shapenet_23b0da45f23e5fb4f4b6538438a0b930 = dict(filename= "23b0da45f23e5fb4f4b6538438a0b930.png" , basic= "waiting", subordinate= "waiting_03" , subset="B", cluster= 3, object_num= 3, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/23b0da45f23e5fb4f4b6538438a0b930.png",width= 256, height= 256); shapenet_2b5953c986dd08f2f91663a74ccd2338 = dict(filename= "2b5953c986dd08f2f91663a74ccd2338.png" , basic= "waiting", subordinate= "waiting_04" , subset="B", cluster= 3, object_num= 4, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/2b5953c986dd08f2f91663a74ccd2338.png",width= 256, height= 256); shapenet_2e291f35746e94fa62762c7262e78952 = dict(filename= "2e291f35746e94fa62762c7262e78952.png" , basic= "waiting", subordinate= "waiting_05" , subset="B", cluster= 3, object_num= 5, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/2e291f35746e94fa62762c7262e78952.png",width= 256, height= 256); shapenet_2eaab78d6e4c4f2d7b0c85d2effc7e09 = dict(filename= "2eaab78d6e4c4f2d7b0c85d2effc7e09.png" , basic= "waiting", subordinate= "waiting_06" , subset="A", cluster= 3, object_num= 6, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/2eaab78d6e4c4f2d7b0c85d2effc7e09.png",width= 256, height= 256); shapenet_309674bdec2d24d7597976c675750537 = dict(filename= "309674bdec2d24d7597976c675750537.png" , basic= "waiting", subordinate= "waiting_07" , subset="A", cluster= 3, object_num= 7, pose= 35, url= "https://s3.amazonaws.com/shapenet-graphical-conventions/309674bdec2d24d7597976c675750537.png",width= 256, height= 256);
shapenet_30afd2ef2ed30238aa3d0a2f00b54836 = dict(filename='30afd2ef2ed30238aa3d0a2f00b54836.png', basic='dining', subordinate='dining_00', subset='A', cluster=1, object_num=0, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/30afd2ef2ed30238aa3d0a2f00b54836.png', width=256, height=256) shapenet_30dc9d9cfbc01e19950c1f85d919ebc2 = dict(filename='30dc9d9cfbc01e19950c1f85d919ebc2.png', basic='dining', subordinate='dining_01', subset='A', cluster=1, object_num=1, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/30dc9d9cfbc01e19950c1f85d919ebc2.png', width=256, height=256) shapenet_4c1777173111f2e380a88936375f2ef4 = dict(filename='4c1777173111f2e380a88936375f2ef4.png', basic='dining', subordinate='dining_02', subset='B', cluster=1, object_num=2, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/4c1777173111f2e380a88936375f2ef4.png', width=256, height=256) shapenet_3466b6ecd040e252c215f685ba622927 = dict(filename='3466b6ecd040e252c215f685ba622927.png', basic='dining', subordinate='dining_03', subset='B', cluster=1, object_num=3, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/3466b6ecd040e252c215f685ba622927.png', width=256, height=256) shapenet_38f87e02e850d3bd1d5ccc40b510e4bd = dict(filename='38f87e02e850d3bd1d5ccc40b510e4bd.png', basic='dining', subordinate='dining_04', subset='B', cluster=1, object_num=4, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/38f87e02e850d3bd1d5ccc40b510e4bd.png', width=256, height=256) shapenet_3cf6db91f872d26c222659d33fd79709 = dict(filename='3cf6db91f872d26c222659d33fd79709.png', basic='dining', subordinate='dining_05', subset='B', cluster=1, object_num=5, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/3cf6db91f872d26c222659d33fd79709.png', width=256, height=256) shapenet_3d7ebe5de86294b3f6bcd046624c43c9 = dict(filename='3d7ebe5de86294b3f6bcd046624c43c9.png', basic='dining', subordinate='dining_06', subset='A', cluster=1, object_num=6, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/3d7ebe5de86294b3f6bcd046624c43c9.png', width=256, height=256) shapenet_56262eebe592b085d319c38340319ae4 = dict(filename='56262eebe592b085d319c38340319ae4.png', basic='dining', subordinate='dining_07', subset='A', cluster=1, object_num=7, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/56262eebe592b085d319c38340319ae4.png', width=256, height=256) shapenet_1d1641362ad5a34ac3bd24f986301745 = dict(filename='1d1641362ad5a34ac3bd24f986301745.png', basic='waiting', subordinate='waiting_00', subset='A', cluster=3, object_num=0, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/1d1641362ad5a34ac3bd24f986301745.png', width=256, height=256) shapenet_1da9942b2ab7082b2ba1fdc12ecb5c9e = dict(filename='1da9942b2ab7082b2ba1fdc12ecb5c9e.png', basic='waiting', subordinate='waiting_01', subset='A', cluster=3, object_num=1, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/1da9942b2ab7082b2ba1fdc12ecb5c9e.png', width=256, height=256) shapenet_2448d9aeda5bb9b0f4b6538438a0b930 = dict(filename='2448d9aeda5bb9b0f4b6538438a0b930.png', basic='waiting', subordinate='waiting_02', subset='B', cluster=3, object_num=2, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/2448d9aeda5bb9b0f4b6538438a0b930.png', width=256, height=256) shapenet_23b0da45f23e5fb4f4b6538438a0b930 = dict(filename='23b0da45f23e5fb4f4b6538438a0b930.png', basic='waiting', subordinate='waiting_03', subset='B', cluster=3, object_num=3, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/23b0da45f23e5fb4f4b6538438a0b930.png', width=256, height=256) shapenet_2b5953c986dd08f2f91663a74ccd2338 = dict(filename='2b5953c986dd08f2f91663a74ccd2338.png', basic='waiting', subordinate='waiting_04', subset='B', cluster=3, object_num=4, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/2b5953c986dd08f2f91663a74ccd2338.png', width=256, height=256) shapenet_2e291f35746e94fa62762c7262e78952 = dict(filename='2e291f35746e94fa62762c7262e78952.png', basic='waiting', subordinate='waiting_05', subset='B', cluster=3, object_num=5, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/2e291f35746e94fa62762c7262e78952.png', width=256, height=256) shapenet_2eaab78d6e4c4f2d7b0c85d2effc7e09 = dict(filename='2eaab78d6e4c4f2d7b0c85d2effc7e09.png', basic='waiting', subordinate='waiting_06', subset='A', cluster=3, object_num=6, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/2eaab78d6e4c4f2d7b0c85d2effc7e09.png', width=256, height=256) shapenet_309674bdec2d24d7597976c675750537 = dict(filename='309674bdec2d24d7597976c675750537.png', basic='waiting', subordinate='waiting_07', subset='A', cluster=3, object_num=7, pose=35, url='https://s3.amazonaws.com/shapenet-graphical-conventions/309674bdec2d24d7597976c675750537.png', width=256, height=256)
IN_PREDICTION="../predictionsULMFiT_200_noLM.csv" IN_GOLD="../data/sentiment2/tgt-test.txt" # pred-sentiment.txt Accuracy: 0.9025 # pred-sentiment-trans.txt 0.9008333333333334 # ../pred-sentiment2.txt" 0.9462672372800761 # ../pred-sentiment2-gru.txt 0.948644793152639 # ../pred-sentiment2-large.txt" 0.9481692819781264 # pred-sentiment2-gru-small.txt 0.9498335710889206 #pred-sentiment-trans.txt 0.14621968616262482 # pred-sentiment2-gru-smallest.txt 0.9465049928673324 #Accuracy = 0.9954033919797115 #tp = 4175 tn = 8385 fp = 27 fn = 31 #precision = 0.9935744883388863 recall = 0.9926295767950547 f = 0.9932593180015861 #with new data # ../pred-sentiment2-gru.txt Accuracy: 0.9353304802662863 # Accuracy: 0.8487874465049928 #predictionsULMFiT2.csv Accuracy: 0.9931050879695673 #predictionsULMFiT2-noTL Accuracy: 0.990489776509748 # predictionsULMFiT_200.csv Accuracy: 0.76 # ../predictionsULMFiT_200_noTL.csvAccuracy: 0.71 # "../predictionsULMFiT_200_noLM.csv" 0.73 - ale przy eval musialem podac model wiec moze jednak byl def accuracy(gold, predictions): correct = 0 if len(predictions)<len(gold): gold = gold[:len(predictions)] all = len(gold) for g, p in zip(gold, predictions): if g == p: correct += 1 return (correct / all) def read_file(path): lines =[] with open(path) as f: lines = f.read().splitlines() return lines if __name__ == "__main__": gold = read_file(IN_GOLD) preds = read_file(IN_PREDICTION) print("Accuracy: "+str(accuracy(gold,preds)))
in_prediction = '../predictionsULMFiT_200_noLM.csv' in_gold = '../data/sentiment2/tgt-test.txt' def accuracy(gold, predictions): correct = 0 if len(predictions) < len(gold): gold = gold[:len(predictions)] all = len(gold) for (g, p) in zip(gold, predictions): if g == p: correct += 1 return correct / all def read_file(path): lines = [] with open(path) as f: lines = f.read().splitlines() return lines if __name__ == '__main__': gold = read_file(IN_GOLD) preds = read_file(IN_PREDICTION) print('Accuracy: ' + str(accuracy(gold, preds)))
class Footers(object): def __init__(self, footers: dict, document): # TODO self._footers = footers self._document = document
class Footers(object): def __init__(self, footers: dict, document): self._footers = footers self._document = document
# 62. Unique Paths class Solution: def uniquePaths(self, m: int, n: int) -> int: paths = [[(0 if k > 0 and i > 0 else 1) for i in range(m)] for k in range(n)] for col in range(1, m): for row in range(1, n): if row > 0: paths[row][col] += paths[row - 1][col] if col > 0: paths[row][col] += paths[row][col - 1] return paths[-1][-1]
class Solution: def unique_paths(self, m: int, n: int) -> int: paths = [[0 if k > 0 and i > 0 else 1 for i in range(m)] for k in range(n)] for col in range(1, m): for row in range(1, n): if row > 0: paths[row][col] += paths[row - 1][col] if col > 0: paths[row][col] += paths[row][col - 1] return paths[-1][-1]
# Finite State Expression Parser Function # Authored by Vishnuprasadh def parser(fa, fa_dict): fa_dict.update({"start": ""}) fa_dict.update({"final": []}) fa_dict.update({"transitions": {}}) start = final = False # Keeps track of start and final states init_tracker = -1 # Keeps track of the beginning of an element string end_tracker = -1 # Keeps track of the end of an element string state = "" key = "" for i, x in enumerate(fa): if x == "<": continue elif x == ">": break elif x == "#": start = True init_tracker = i+1 elif x == "*": final = True elif x == "(": end_tracker = i state = fa[init_tracker:end_tracker] end_tracker = -1 init_tracker = i+1 if start: fa_dict["start"] = state start = False if final: state = state.replace("*","") fa_dict["final"].append(state) final = False fa_dict["transitions"].update({state: {}}) elif x == ")": state = "" init_tracker = i+1 elif x == "[": end_tracker = i key = fa[init_tracker:end_tracker] init_tracker = i + 1 end_tracker = -1 fa_dict["transitions"][state].update({key: []}) elif x == "]": end_tracker = i temp = fa[init_tracker:end_tracker] end_tracker = -1 fa_dict["transitions"][state][key].append(temp) init_tracker = i+1 elif x == ",": end_tracker = i temp = fa[init_tracker:end_tracker] end_tracker = -1 fa_dict["transitions"][state][key].append(temp) init_tracker = i+1 else: continue return fa_dict
def parser(fa, fa_dict): fa_dict.update({'start': ''}) fa_dict.update({'final': []}) fa_dict.update({'transitions': {}}) start = final = False init_tracker = -1 end_tracker = -1 state = '' key = '' for (i, x) in enumerate(fa): if x == '<': continue elif x == '>': break elif x == '#': start = True init_tracker = i + 1 elif x == '*': final = True elif x == '(': end_tracker = i state = fa[init_tracker:end_tracker] end_tracker = -1 init_tracker = i + 1 if start: fa_dict['start'] = state start = False if final: state = state.replace('*', '') fa_dict['final'].append(state) final = False fa_dict['transitions'].update({state: {}}) elif x == ')': state = '' init_tracker = i + 1 elif x == '[': end_tracker = i key = fa[init_tracker:end_tracker] init_tracker = i + 1 end_tracker = -1 fa_dict['transitions'][state].update({key: []}) elif x == ']': end_tracker = i temp = fa[init_tracker:end_tracker] end_tracker = -1 fa_dict['transitions'][state][key].append(temp) init_tracker = i + 1 elif x == ',': end_tracker = i temp = fa[init_tracker:end_tracker] end_tracker = -1 fa_dict['transitions'][state][key].append(temp) init_tracker = i + 1 else: continue return fa_dict
# CHALLENGE: https://www.hackerrank.com/challenges/30-2d-arrays def build_arr(): arr = [] for arr_i in range(6): arr_t = [int(arr_temp) for arr_temp in input().strip().split(' ')] arr.append(arr_t) return arr def is_square_arr(arr): for e in arr: if len(e) != len(arr): raise ValueError('Input is not a n * n 2d array') return True def calc_hourglass_sums(arr): sums = [] if is_square_arr(arr): n = len(arr) for i in range(0, n - 2): for j in range(0, n - 2): hourglass_sum = sum(arr[i][j:j+3]) + sum(arr[i+2][j:j+3]) + arr[i+1][j+1] sums.append(hourglass_sum) return sums arr = build_arr() sums = calc_hourglass_sums(arr) print(max(sums))
def build_arr(): arr = [] for arr_i in range(6): arr_t = [int(arr_temp) for arr_temp in input().strip().split(' ')] arr.append(arr_t) return arr def is_square_arr(arr): for e in arr: if len(e) != len(arr): raise value_error('Input is not a n * n 2d array') return True def calc_hourglass_sums(arr): sums = [] if is_square_arr(arr): n = len(arr) for i in range(0, n - 2): for j in range(0, n - 2): hourglass_sum = sum(arr[i][j:j + 3]) + sum(arr[i + 2][j:j + 3]) + arr[i + 1][j + 1] sums.append(hourglass_sum) return sums arr = build_arr() sums = calc_hourglass_sums(arr) print(max(sums))
#Copyright ReportLab Europe Ltd. 2000-2006 #see license.txt for license details __version__=''' $Id: boxstuff.py 2960 2006-08-23 21:41:33Z andy $ ''' def anchorAdjustXY(anchor,x,y,width,height): if anchor not in ('sw','s','se'): if anchor in ('e','c','w'): y -= height/2. else: y -= height if anchor not in ('nw','w','sw'): if anchor in ('n','c','s'): x -= width/2. else: x -= width return x,y def aspectRatioFix(preserve,anchor,x,y,width,height,imWidth,imHeight): scale = 1.0 if width is None: width = imWidth if height is None: height = imHeight if width<0: width = -width x -= width if height<0: height = -height y -= height if preserve: imWidth = abs(imWidth) imHeight = abs(imHeight) scale = min(width/float(imWidth),height/float(imHeight)) owidth = width oheight = height width = scale*imWidth-1e-8 height = scale*imHeight-1e-8 if anchor not in ('n','c','s'): dx = 0.5*(owidth-width) if anchor in ('ne','e','se'): x -= dx else: x += dx if anchor not in ('e','c','w'): dy = 0.5*(oheight-height) if anchor in ('nw','n','ne'): y -= dy else: y += dy return x,y, width, height, scale
__version__ = ' $Id: boxstuff.py 2960 2006-08-23 21:41:33Z andy $ ' def anchor_adjust_xy(anchor, x, y, width, height): if anchor not in ('sw', 's', 'se'): if anchor in ('e', 'c', 'w'): y -= height / 2.0 else: y -= height if anchor not in ('nw', 'w', 'sw'): if anchor in ('n', 'c', 's'): x -= width / 2.0 else: x -= width return (x, y) def aspect_ratio_fix(preserve, anchor, x, y, width, height, imWidth, imHeight): scale = 1.0 if width is None: width = imWidth if height is None: height = imHeight if width < 0: width = -width x -= width if height < 0: height = -height y -= height if preserve: im_width = abs(imWidth) im_height = abs(imHeight) scale = min(width / float(imWidth), height / float(imHeight)) owidth = width oheight = height width = scale * imWidth - 1e-08 height = scale * imHeight - 1e-08 if anchor not in ('n', 'c', 's'): dx = 0.5 * (owidth - width) if anchor in ('ne', 'e', 'se'): x -= dx else: x += dx if anchor not in ('e', 'c', 'w'): dy = 0.5 * (oheight - height) if anchor in ('nw', 'n', 'ne'): y -= dy else: y += dy return (x, y, width, height, scale)
companions = int(input()) days = int(input()) coins = 0 for day in range(1, days + 1): if day % 15 == 0: companions += 5 if day % 10 == 0: companions -= 2 if day % 5 == 0: coins += (companions * 20) if day % 3 == 0: coins -= (companions * 2) if day % 3 == 0: coins -= (companions * 3) coins += 50 - (companions * 2) companions_coins = int(coins // companions) print(f"{companions} companions received {companions_coins} coins each.")
companions = int(input()) days = int(input()) coins = 0 for day in range(1, days + 1): if day % 15 == 0: companions += 5 if day % 10 == 0: companions -= 2 if day % 5 == 0: coins += companions * 20 if day % 3 == 0: coins -= companions * 2 if day % 3 == 0: coins -= companions * 3 coins += 50 - companions * 2 companions_coins = int(coins // companions) print(f'{companions} companions received {companions_coins} coins each.')
# # PySNMP MIB module ZXTM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZXTM-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:48:51 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint") InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Bits, ObjectIdentity, ModuleIdentity, Integer32, Counter64, enterprises, Unsigned32, NotificationType, IpAddress, Gauge32, TimeTicks, NotificationType, MibIdentifier, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "ObjectIdentity", "ModuleIdentity", "Integer32", "Counter64", "enterprises", "Unsigned32", "NotificationType", "IpAddress", "Gauge32", "TimeTicks", "NotificationType", "MibIdentifier", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") zeus = MibIdentifier((1, 3, 6, 1, 4, 1, 7146)) products = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1)) zxtm = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2)) globals = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1)) virtualservers = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2)) pools = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3)) nodes = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4)) serviceprotection = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5)) trafficips = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6)) servicelevelmonitoring = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7)) pernodeservicelevelmon = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8)) bandwidthmgt = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9)) connratelimit = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10)) extra = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11)) netinterfaces = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12)) events = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13)) actions = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14)) zxtmtraps = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15)) persistence = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 16)) cache = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17)) webcache = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1)) sslcache = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2)) aspsessioncache = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3)) ipsessioncache = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4)) j2eesessioncache = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5)) unisessioncache = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6)) sslsessioncache = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7)) rules = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18)) monitors = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 19)) licensekeys = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 20)) zxtms = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 21)) trapobjects = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 22)) cloudcredentials = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23)) glbservices = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24)) perlocationservices = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25)) locations = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26)) listenips = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27)) authenticators = MibIdentifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28)) version = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: version.setStatus('mandatory') if mibBuilder.loadTexts: version.setDescription('The Zeus Traffic Manager version.') numberChildProcesses = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberChildProcesses.setStatus('mandatory') if mibBuilder.loadTexts: numberChildProcesses.setDescription('The number of traffic manager child processes.') upTime = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: upTime.setStatus('mandatory') if mibBuilder.loadTexts: upTime.setDescription('The time (in hundredths of a second) that Zeus software has been operational for (this value will wrap if it has been running for more than 497 days).') timeLastConfigUpdate = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: timeLastConfigUpdate.setStatus('mandatory') if mibBuilder.loadTexts: timeLastConfigUpdate.setDescription('The time (in hundredths of a second) since the configuration of traffic manager was updated (this value will wrap if no configuration changes are made for 497 days).') totalBytesInLo = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalBytesInLo.setStatus('mandatory') if mibBuilder.loadTexts: totalBytesInLo.setDescription('Bytes received by the traffic manager from clients ( low 32bits ).') totalBytesInHi = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalBytesInHi.setStatus('mandatory') if mibBuilder.loadTexts: totalBytesInHi.setDescription('Bytes received by the traffic manager from clients ( high 32bits ).') totalBytesOutLo = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalBytesOutLo.setStatus('mandatory') if mibBuilder.loadTexts: totalBytesOutLo.setDescription('Bytes sent by the traffic manager to clients ( low 32bits ).') totalBytesOutHi = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalBytesOutHi.setStatus('mandatory') if mibBuilder.loadTexts: totalBytesOutHi.setDescription('Bytes sent by the traffic manager to clients ( high 32bits ).') totalCurrentConn = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalCurrentConn.setStatus('mandatory') if mibBuilder.loadTexts: totalCurrentConn.setDescription('Number of TCP connections currently established.') totalConn = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalConn.setStatus('mandatory') if mibBuilder.loadTexts: totalConn.setDescription('Total number of TCP connections received.') totalRequests = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 127), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalRequests.setStatus('mandatory') if mibBuilder.loadTexts: totalRequests.setDescription('Total number of TCP requests recieved.') totalTransactions = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 128), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalTransactions.setStatus('mandatory') if mibBuilder.loadTexts: totalTransactions.setDescription('Total number of TCP requests being processed, after applying TPS limits.') numberDNSARequests = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberDNSARequests.setStatus('mandatory') if mibBuilder.loadTexts: numberDNSARequests.setDescription('Requests for DNS A records (hostname->IP address) made by the traffic manager.') numberDNSACacheHits = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberDNSACacheHits.setStatus('mandatory') if mibBuilder.loadTexts: numberDNSACacheHits.setDescription("Requests for DNS A records resolved from the traffic manager's local cache.") numberDNSPTRRequests = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberDNSPTRRequests.setStatus('mandatory') if mibBuilder.loadTexts: numberDNSPTRRequests.setDescription('Requests for DNS PTR records (IP address->hostname) made by the traffic manager.') numberDNSPTRCacheHits = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberDNSPTRCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: numberDNSPTRCacheHits.setDescription("Requests for DNS PTR records resolved from the traffic manager's local cache.") numberSNMPUnauthorisedRequests = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberSNMPUnauthorisedRequests.setStatus('mandatory') if mibBuilder.loadTexts: numberSNMPUnauthorisedRequests.setDescription('SNMP requests dropped due to access restrictions.') numberSNMPBadRequests = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberSNMPBadRequests.setStatus('mandatory') if mibBuilder.loadTexts: numberSNMPBadRequests.setDescription('Malformed SNMP requests received.') numberSNMPGetRequests = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberSNMPGetRequests.setStatus('mandatory') if mibBuilder.loadTexts: numberSNMPGetRequests.setDescription('SNMP GetRequests received.') numberSNMPGetNextRequests = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numberSNMPGetNextRequests.setStatus('mandatory') if mibBuilder.loadTexts: numberSNMPGetNextRequests.setDescription('SNMP GetNextRequests received.') sslCipherEncrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherEncrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherEncrypts.setDescription('Bytes encrypted with a symmetric cipher.') sslCipherDecrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherDecrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherDecrypts.setDescription('Bytes decrypted with a symmetric cipher.') sslCipherRC4Encrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherRC4Encrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRC4Encrypts.setDescription('Bytes encrypted with RC4.') sslCipherRC4Decrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherRC4Decrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRC4Decrypts.setDescription('Bytes decrypted with RC4.') sslCipherDESEncrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherDESEncrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherDESEncrypts.setDescription('Bytes encrypted with DES.') sslCipherDESDecrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherDESDecrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherDESDecrypts.setDescription('Bytes decrypted with DES.') sslCipher3DESEncrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipher3DESEncrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipher3DESEncrypts.setDescription('Bytes encrypted with 3DES.') sslCipher3DESDecrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipher3DESDecrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipher3DESDecrypts.setDescription('Bytes decrypted with 3DES.') sslCipherAESEncrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherAESEncrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherAESEncrypts.setDescription('Bytes encrypted with AES.') sslCipherAESDecrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherAESDecrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherAESDecrypts.setDescription('Bytes decrypted with AES.') sslCipherRSAEncrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherRSAEncrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRSAEncrypts.setDescription('Number of RSA encrypts.') sslCipherRSADecrypts = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherRSADecrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRSADecrypts.setDescription('Number of RSA decrypts.') sslCipherRSADecryptsExternal = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherRSADecryptsExternal.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRSADecryptsExternal.setDescription('Number of external RSA decrypts.') sslHandshakeSSLv2 = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslHandshakeSSLv2.setStatus('mandatory') if mibBuilder.loadTexts: sslHandshakeSSLv2.setDescription('Number of SSLv2 handshakes.') sslHandshakeSSLv3 = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslHandshakeSSLv3.setStatus('mandatory') if mibBuilder.loadTexts: sslHandshakeSSLv3.setDescription('Number of SSLv3 handshakes.') sslHandshakeTLSv1 = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslHandshakeTLSv1.setStatus('mandatory') if mibBuilder.loadTexts: sslHandshakeTLSv1.setDescription('Number of TLSv1.0 handshakes.') sslClientCertNotSent = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslClientCertNotSent.setStatus('mandatory') if mibBuilder.loadTexts: sslClientCertNotSent.setDescription('Number of times a client certificate was required but not supplied.') sslClientCertInvalid = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslClientCertInvalid.setStatus('mandatory') if mibBuilder.loadTexts: sslClientCertInvalid.setDescription('Number of times a client certificate was invalid.') sslClientCertExpired = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslClientCertExpired.setStatus('mandatory') if mibBuilder.loadTexts: sslClientCertExpired.setDescription('Number of times a client certificate has expired.') sslClientCertRevoked = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslClientCertRevoked.setStatus('mandatory') if mibBuilder.loadTexts: sslClientCertRevoked.setDescription('Number of times a client certificate was revoked.') sslSessionIDMemCacheHit = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 39), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslSessionIDMemCacheHit.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionIDMemCacheHit.setDescription('Number of times the SSL session id was found in the cache and reused.') sslSessionIDMemCacheMiss = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 40), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslSessionIDMemCacheMiss.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionIDMemCacheMiss.setDescription('Number of times the SSL session id was not found in the cache.') sslSessionIDDiskCacheHit = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 41), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslSessionIDDiskCacheHit.setStatus('deprecated') if mibBuilder.loadTexts: sslSessionIDDiskCacheHit.setDescription('Number of times the SSL session id was found in the disk cache and reused (deprecated, will always return 0).') sslSessionIDDiskCacheMiss = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 42), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslSessionIDDiskCacheMiss.setStatus('deprecated') if mibBuilder.loadTexts: sslSessionIDDiskCacheMiss.setDescription('Number of times the SSL session id was not found in the disk cache (deprecated, will always return 0).') sslHandshakeTLSv11 = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 43), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslHandshakeTLSv11.setStatus('mandatory') if mibBuilder.loadTexts: sslHandshakeTLSv11.setDescription('Number of TLSv1.1 handshakes.') sslConnections = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 44), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslConnections.setStatus('mandatory') if mibBuilder.loadTexts: sslConnections.setDescription('Number of SSL connections negotiated.') sslCipherRSAEncryptsExternal = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 57), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCipherRSAEncryptsExternal.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRSAEncryptsExternal.setDescription('Number of external RSA encrypts.') sysCPUIdlePercent = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 45), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysCPUIdlePercent.setStatus('mandatory') if mibBuilder.loadTexts: sysCPUIdlePercent.setDescription('Percentage of time that the CPUs are idle.') sysCPUBusyPercent = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 46), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysCPUBusyPercent.setStatus('mandatory') if mibBuilder.loadTexts: sysCPUBusyPercent.setDescription('Percentage of time that the CPUs are busy.') sysCPUUserBusyPercent = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 47), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysCPUUserBusyPercent.setStatus('mandatory') if mibBuilder.loadTexts: sysCPUUserBusyPercent.setDescription('Percentage of time that the CPUs are busy running user-space code.') sysCPUSystemBusyPercent = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 48), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysCPUSystemBusyPercent.setStatus('mandatory') if mibBuilder.loadTexts: sysCPUSystemBusyPercent.setDescription('Percentage of time that the CPUs are busy running system code.') sysFDsFree = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 49), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFDsFree.setStatus('mandatory') if mibBuilder.loadTexts: sysFDsFree.setDescription('Number of free file descriptors.') sysMemTotal = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 50), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysMemTotal.setStatus('mandatory') if mibBuilder.loadTexts: sysMemTotal.setDescription('Total memory (MBytes).') sysMemFree = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 51), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysMemFree.setStatus('mandatory') if mibBuilder.loadTexts: sysMemFree.setDescription('Free memory (MBytes).') sysMemInUse = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 52), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysMemInUse.setStatus('mandatory') if mibBuilder.loadTexts: sysMemInUse.setDescription('Memory used (MBytes).') sysMemBuffered = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 53), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysMemBuffered.setStatus('mandatory') if mibBuilder.loadTexts: sysMemBuffered.setDescription('Buffer memory (MBytes).') sysMemSwapped = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 54), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysMemSwapped.setStatus('mandatory') if mibBuilder.loadTexts: sysMemSwapped.setDescription('Amount of swap space in use (MBytes).') sysMemSwapTotal = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 55), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysMemSwapTotal.setStatus('mandatory') if mibBuilder.loadTexts: sysMemSwapTotal.setDescription('Total swap space (MBytes).') numIdleConnections = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 56), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numIdleConnections.setStatus('mandatory') if mibBuilder.loadTexts: numIdleConnections.setDescription('Total number of idle HTTP connections to all nodes (used for future HTTP requests).') dataEntries = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 58), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dataEntries.setStatus('mandatory') if mibBuilder.loadTexts: dataEntries.setDescription('Number of entries in the TrafficScript data.get()/set() storage.') dataMemoryUsage = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 59), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dataMemoryUsage.setStatus('mandatory') if mibBuilder.loadTexts: dataMemoryUsage.setDescription('Number of bytes used in the TrafficScript data.get()/set() storage.') eventsSeen = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 60), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eventsSeen.setStatus('mandatory') if mibBuilder.loadTexts: eventsSeen.setDescription("Events seen by the traffic Manager's event handling process.") totalDNSResponses = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 61), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalDNSResponses.setStatus('mandatory') if mibBuilder.loadTexts: totalDNSResponses.setDescription('Total number of DNS response packets handled.') totalBadDNSPackets = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 62), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalBadDNSPackets.setStatus('mandatory') if mibBuilder.loadTexts: totalBadDNSPackets.setDescription('Total number of malformed DNS response packets encountered from the backend servers.') totalBackendServerErrors = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 63), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalBackendServerErrors.setStatus('mandatory') if mibBuilder.loadTexts: totalBackendServerErrors.setDescription('Total errors returned from the backend servers.') virtualserverNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverNumber.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverNumber.setDescription('The number of virtual servers.') virtualserverTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2), ) if mibBuilder.loadTexts: virtualserverTable.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverTable.setDescription('This table gives information and statistics for the virtual servers the traffic manager is hosting.') virtualserverEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: virtualserverEntry.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverEntry.setDescription('This defines a row in the virtual servers table.') virtualserverName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverName.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverName.setDescription('The name of the virtual server.') virtualserverPort = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverPort.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverPort.setDescription('The port the virtual server listens on.') virtualserverProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23))).clone(namedValues=NamedValues(("http", 1), ("https", 2), ("ftp", 3), ("imaps", 4), ("imapv2", 5), ("imapv3", 6), ("imapv4", 7), ("pop3", 8), ("pop3s", 9), ("smtp", 10), ("ldap", 11), ("ldaps", 12), ("telnet", 13), ("sslforwarding", 14), ("udpstreaming", 15), ("udp", 16), ("dns", 17), ("genericserverfirst", 18), ("genericclientfirst", 19), ("dnstcp", 20), ("sipudp", 21), ("siptcp", 22), ("rtsp", 23)))).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverProtocol.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverProtocol.setDescription('The protocol the virtual server is operating.') virtualserverDefaultTrafficPool = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverDefaultTrafficPool.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverDefaultTrafficPool.setDescription("The virtual server's default pool.") virtualserverBytesInLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverBytesInLo.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverBytesInLo.setDescription('Bytes received by this virtual server from clients ( low 32bits ).') virtualserverBytesInHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverBytesInHi.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverBytesInHi.setDescription('Bytes received by this virtual server from clients ( high 32bits ).') virtualserverBytesOutLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverBytesOutLo.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverBytesOutLo.setDescription('Bytes sent by this virtual server to clients ( low 32bits ).') virtualserverBytesOutHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverBytesOutHi.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverBytesOutHi.setDescription('Bytes sent by this virtual server to clients ( high 32bits ).') virtualserverCurrentConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverCurrentConn.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverCurrentConn.setDescription('TCP connections currently established to this virtual server.') virtualserverMaxConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverMaxConn.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverMaxConn.setDescription('Maximum number of simultaneous TCP connections this virtual server has processed at any one time.') virtualserverTotalConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverTotalConn.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverTotalConn.setDescription('Requests received by this virtual server.') virtualserverDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverDiscard.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverDiscard.setDescription('Connections discarded by this virtual server.') virtualserverDirectReplies = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverDirectReplies.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverDirectReplies.setDescription('Direct replies from this virtual server, without forwarding to a node.') virtualserverConnectTimedOut = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverConnectTimedOut.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverConnectTimedOut.setDescription("Connections closed by this virtual server because the 'connect_timeout' interval was exceeded.") virtualserverDataTimedOut = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverDataTimedOut.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverDataTimedOut.setDescription("Connections closed by this virtual server because the 'timeout' interval was exceeded.") virtualserverKeepaliveTimedOut = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverKeepaliveTimedOut.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverKeepaliveTimedOut.setDescription("Connections closed by this virtual server because the 'keepalive_timeout' interval was exceeded.") virtualserverUdpTimedOut = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverUdpTimedOut.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverUdpTimedOut.setDescription("Connections closed by this virtual server because the 'udp_timeout' interval was exceeded.") virtualserverTotalDgram = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverTotalDgram.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverTotalDgram.setDescription('UDP datagrams processed by this virtual server.') virtualserverGzip = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverGzip.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverGzip.setDescription('Responses which have been compressed by content compression.') virtualserverGzipBytesSavedLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverGzipBytesSavedLo.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverGzipBytesSavedLo.setDescription('Bytes of network traffic saved by content compression ( low 32bits ).') virtualserverGzipBytesSavedHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverGzipBytesSavedHi.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverGzipBytesSavedHi.setDescription('Bytes of network traffic saved by content compression ( high 32bits ).') virtualserverHttpRewriteLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverHttpRewriteLocation.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverHttpRewriteLocation.setDescription('HTTP Location headers, supplied by a node, that have been rewritten.') virtualserverHttpRewriteCookie = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverHttpRewriteCookie.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverHttpRewriteCookie.setDescription('HTTP Set-Cookie headers, supplied by a node, that have been rewritten.') virtualserverHttpCacheHits = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverHttpCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverHttpCacheHits.setDescription('HTTP responses sent directly from the web cache by this virtual server.') virtualserverHttpCacheLookups = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverHttpCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverHttpCacheLookups.setDescription('HTTP requests that are looked up in the web cache by this virtual server.') virtualserverHttpCacheHitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 26), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverHttpCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverHttpCacheHitRate.setDescription('Percentage hit rate of the web cache for this virtual server.') virtualserverSIPTotalCalls = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverSIPTotalCalls.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverSIPTotalCalls.setDescription('Total number of SIP INVITE requests seen by this virtual server.') virtualserverSIPRejectedRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverSIPRejectedRequests.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverSIPRejectedRequests.setDescription('Number of SIP requests rejected due to them exceeding the maximum amount of memory allocated to the connection.') virtualserverConnectionErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverConnectionErrors.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverConnectionErrors.setDescription('Number of transaction or protocol errors in this virtual server.') virtualserverConnectionFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: virtualserverConnectionFailures.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverConnectionFailures.setDescription('Number of connection failures in this virtual server.') poolNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: poolNumber.setStatus('mandatory') if mibBuilder.loadTexts: poolNumber.setDescription('The number of pools on this system.') poolTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2), ) if mibBuilder.loadTexts: poolTable.setStatus('mandatory') if mibBuilder.loadTexts: poolTable.setDescription('This table provides information and statistics for pools.') poolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: poolEntry.setStatus('mandatory') if mibBuilder.loadTexts: poolEntry.setDescription('This defines a row in the pools table.') poolName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: poolName.setStatus('mandatory') if mibBuilder.loadTexts: poolName.setDescription('The name of the pool.') poolAlgorithm = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("roundrobin", 1), ("weightedRoundRobin", 2), ("perceptive", 3), ("leastConnections", 4), ("fastestResponseTime", 5), ("random", 6), ("weightedLeastConnections", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: poolAlgorithm.setStatus('mandatory') if mibBuilder.loadTexts: poolAlgorithm.setDescription('The load-balancing algorithm the pool uses.') poolNodes = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolNodes.setStatus('mandatory') if mibBuilder.loadTexts: poolNodes.setDescription('The number of nodes registered with this pool.') poolDraining = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolDraining.setStatus('mandatory') if mibBuilder.loadTexts: poolDraining.setDescription('The number of nodes in this pool which are draining.') poolFailPool = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: poolFailPool.setStatus('mandatory') if mibBuilder.loadTexts: poolFailPool.setDescription("The name of this pool's failure pool.") poolBytesInLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolBytesInLo.setStatus('mandatory') if mibBuilder.loadTexts: poolBytesInLo.setDescription('Bytes received by this pool from nodes ( low 32bits ).') poolBytesInHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolBytesInHi.setStatus('mandatory') if mibBuilder.loadTexts: poolBytesInHi.setDescription('Bytes received by this pool from nodes ( high 32bits ).') poolBytesOutLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolBytesOutLo.setStatus('mandatory') if mibBuilder.loadTexts: poolBytesOutLo.setDescription('Bytes sent by this pool to nodes ( low 32bits ).') poolBytesOutHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolBytesOutHi.setStatus('mandatory') if mibBuilder.loadTexts: poolBytesOutHi.setDescription('Bytes sent by this pool to nodes ( high 32bits ).') poolTotalConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolTotalConn.setStatus('mandatory') if mibBuilder.loadTexts: poolTotalConn.setDescription('Requests sent to this pool.') poolPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("none", 1), ("ip", 2), ("rule", 3), ("transparent", 4), ("applicationCookie", 5), ("xZeusBackend", 6), ("ssl", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: poolPersistence.setStatus('mandatory') if mibBuilder.loadTexts: poolPersistence.setDescription('The session persistence method this pool uses') poolSessionMigrated = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolSessionMigrated.setStatus('mandatory') if mibBuilder.loadTexts: poolSessionMigrated.setDescription('Sessions migrated to a new node because the desired node was unavailable.') poolDisabled = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolDisabled.setStatus('mandatory') if mibBuilder.loadTexts: poolDisabled.setDescription('The number of nodes in this pool that are disabled.') poolState = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("active", 1), ("disabled", 2), ("draining", 3), ("unused", 4), ("unknown", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: poolState.setStatus('mandatory') if mibBuilder.loadTexts: poolState.setDescription('The state of this pool.') poolConnsQueued = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolConnsQueued.setStatus('mandatory') if mibBuilder.loadTexts: poolConnsQueued.setDescription('Total connections currently queued to this pool.') poolQueueTimeouts = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolQueueTimeouts.setStatus('mandatory') if mibBuilder.loadTexts: poolQueueTimeouts.setDescription('Total connections that timed-out while queued.') poolMinQueueTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 19), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolMinQueueTime.setStatus('mandatory') if mibBuilder.loadTexts: poolMinQueueTime.setDescription('Minimum time a connection was queued for, over the last second.') poolMaxQueueTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 20), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolMaxQueueTime.setStatus('mandatory') if mibBuilder.loadTexts: poolMaxQueueTime.setDescription('Maximum time a connection was queued for, over the last second.') poolMeanQueueTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 21), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: poolMeanQueueTime.setStatus('mandatory') if mibBuilder.loadTexts: poolMeanQueueTime.setDescription('Mean time a connection was queued for, over the last second.') nodeNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeNumber.setStatus('obsolete') if mibBuilder.loadTexts: nodeNumber.setDescription('The number of IPv4 nodes on this system.') nodeTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2), ) if mibBuilder.loadTexts: nodeTable.setStatus('obsolete') if mibBuilder.loadTexts: nodeTable.setDescription('This table defines all the information for a particular IPv4 node.') nodeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "nodeIPAddress"), (0, "ZXTM-MIB", "nodePort")) if mibBuilder.loadTexts: nodeEntry.setStatus('obsolete') if mibBuilder.loadTexts: nodeEntry.setDescription('This defines a row in the IPv4 nodes table.') nodeIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeIPAddress.setStatus('obsolete') if mibBuilder.loadTexts: nodeIPAddress.setDescription('The IPv4 address of this node.') nodePort = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: nodePort.setStatus('obsolete') if mibBuilder.loadTexts: nodePort.setDescription('The port this node listens on.') nodeHostName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeHostName.setStatus('obsolete') if mibBuilder.loadTexts: nodeHostName.setDescription('The resolved name for this node.') nodeState = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alive", 1), ("dead", 2), ("unknown", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeState.setStatus('obsolete') if mibBuilder.loadTexts: nodeState.setDescription('The state of this node.') nodeBytesToNodeLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeBytesToNodeLo.setStatus('obsolete') if mibBuilder.loadTexts: nodeBytesToNodeLo.setDescription('Bytes sent to this node ( low 32bits ).') nodeBytesToNodeHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeBytesToNodeHi.setStatus('obsolete') if mibBuilder.loadTexts: nodeBytesToNodeHi.setDescription('Bytes sent to this node ( high 32bits ).') nodeBytesFromNodeLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeBytesFromNodeLo.setStatus('obsolete') if mibBuilder.loadTexts: nodeBytesFromNodeLo.setDescription('Bytes received from this node ( low 32bits ).') nodeBytesFromNodeHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeBytesFromNodeHi.setStatus('obsolete') if mibBuilder.loadTexts: nodeBytesFromNodeHi.setDescription('Bytes received from this node ( high 32bits ).') nodeCurrentRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeCurrentRequests.setStatus('obsolete') if mibBuilder.loadTexts: nodeCurrentRequests.setDescription('Connections currently established to this node.') nodeTotalConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeTotalConn.setStatus('obsolete') if mibBuilder.loadTexts: nodeTotalConn.setDescription('Requests sent to this node.') nodePooledConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodePooledConn.setStatus('obsolete') if mibBuilder.loadTexts: nodePooledConn.setDescription('Requests that reused an existing pooled/keepalive connection rather than creating a new TCP connection.') nodeFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeFailures.setStatus('obsolete') if mibBuilder.loadTexts: nodeFailures.setDescription('Failures of this node.') nodeNewConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeNewConn.setStatus('obsolete') if mibBuilder.loadTexts: nodeNewConn.setDescription('Requests that created a new connection to this node.') nodeErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeErrors.setStatus('obsolete') if mibBuilder.loadTexts: nodeErrors.setDescription('Number of timeouts, connection problems and other errors for this node.') nodeResponseMin = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeResponseMin.setStatus('obsolete') if mibBuilder.loadTexts: nodeResponseMin.setDescription('Minimum response time (ms) in the last second for this node.') nodeResponseMax = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeResponseMax.setStatus('obsolete') if mibBuilder.loadTexts: nodeResponseMax.setDescription('Maximum response time (ms) in the last second for this node.') nodeResponseMean = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeResponseMean.setStatus('obsolete') if mibBuilder.loadTexts: nodeResponseMean.setDescription('Mean response time (ms) in the last second for this node.') nodeNumberInet46 = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeNumberInet46.setStatus('mandatory') if mibBuilder.loadTexts: nodeNumberInet46.setDescription('The number of nodes on this system (includes IPv4 and IPv6 nodes).') nodeCurrentConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 18), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeCurrentConn.setStatus('obsolete') if mibBuilder.loadTexts: nodeCurrentConn.setDescription('Requests currently established to this node. ( does not include idle keepalives ).') nodeInet46Table = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4), ) if mibBuilder.loadTexts: nodeInet46Table.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Table.setDescription('This table defines all the information for a particular node (includes IPv4 and IPv6 addresses).') nodeInet46Entry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1), ).setIndexNames((0, "ZXTM-MIB", "nodeInet46AddressType"), (0, "ZXTM-MIB", "nodeInet46Address"), (0, "ZXTM-MIB", "nodeInet46Port")) if mibBuilder.loadTexts: nodeInet46Entry.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Entry.setDescription('This defines a row in the nodes table (includes IPv4 and IPv6 addresses).') nodeInet46AddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 1), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46AddressType.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46AddressType.setDescription('The IP address type of this node.') nodeInet46Address = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 2), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46Address.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Address.setDescription('The IPv4 or IPv6 address of this node.') nodeInet46Port = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46Port.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Port.setDescription('The port this node listens on.') nodeInet46HostName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46HostName.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46HostName.setDescription('The resolved name for this node.') nodeInet46State = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alive", 1), ("dead", 2), ("unknown", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46State.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46State.setDescription('The state of this node.') nodeInet46BytesToNodeLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46BytesToNodeLo.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46BytesToNodeLo.setDescription('Bytes sent to this node ( low 32bits ).') nodeInet46BytesToNodeHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46BytesToNodeHi.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46BytesToNodeHi.setDescription('Bytes sent to this node ( high 32bits ).') nodeInet46BytesFromNodeLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46BytesFromNodeLo.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46BytesFromNodeLo.setDescription('Bytes received from this node ( low 32bits ).') nodeInet46BytesFromNodeHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46BytesFromNodeHi.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46BytesFromNodeHi.setDescription('Bytes received from this node ( high 32bits ).') nodeInet46CurrentRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46CurrentRequests.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46CurrentRequests.setDescription('Active connections established to this node, does not include idle connections.') nodeInet46TotalConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46TotalConn.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46TotalConn.setDescription('Requests sent to this node.') nodeInet46PooledConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46PooledConn.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46PooledConn.setDescription('Requests that reused an existing pooled/keepalive connection rather than creating a new TCP connection.') nodeInet46Failures = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46Failures.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Failures.setDescription('Failures of this node.') nodeInet46NewConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46NewConn.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46NewConn.setDescription('Requests that created a new connection to this node.') nodeInet46Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46Errors.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Errors.setDescription('Number of timeouts, connection problems and other errors for this node.') nodeInet46ResponseMin = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 16), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46ResponseMin.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46ResponseMin.setDescription('Minimum response time (ms) in the last second for this node.') nodeInet46ResponseMax = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46ResponseMax.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46ResponseMax.setDescription('Maximum response time (ms) in the last second for this node.') nodeInet46ResponseMean = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 18), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46ResponseMean.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46ResponseMean.setDescription('Mean response time (ms) in the last second for this node.') nodeInet46IdleConns = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 19), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46IdleConns.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46IdleConns.setDescription('Number of idle HTTP connections to this node.') nodeInet46CurrentConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 20), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nodeInet46CurrentConn.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46CurrentConn.setDescription('Current connections established to this node, includes idle connections.') perPoolNodeNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeNumber.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNumber.setDescription('The number of nodes on this system.') perPoolNodeTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6), ) if mibBuilder.loadTexts: perPoolNodeTable.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeTable.setDescription('This table defines all the information for a particular node in a pool.') perPoolNodeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1), ).setIndexNames((0, "ZXTM-MIB", "perPoolNodePoolName"), (0, "ZXTM-MIB", "perPoolNodeNodeAddressType"), (0, "ZXTM-MIB", "perPoolNodeNodeAddress"), (0, "ZXTM-MIB", "perPoolNodeNodePort")) if mibBuilder.loadTexts: perPoolNodeEntry.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeEntry.setDescription('This defines a row in the perPoolNodes table.') perPoolNodePoolName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodePoolName.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodePoolName.setDescription('The name of the pool that this node belongs to.') perPoolNodeNodeAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeNodeAddressType.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNodeAddressType.setDescription('The IP address type of this node.') perPoolNodeNodeAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 3), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeNodeAddress.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNodeAddress.setDescription('The IPv4 or IPv6 address of this node.') perPoolNodeNodePort = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeNodePort.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNodePort.setDescription('The port that this node listens on.') perPoolNodeNodeHostName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeNodeHostName.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNodeHostName.setDescription('The name for this node provided in the configuration.') perPoolNodeState = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("alive", 1), ("dead", 2), ("unknown", 3), ("draining", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeState.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeState.setDescription('The state of this node.') perPoolNodeBytesToNodeLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeBytesToNodeLo.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeBytesToNodeLo.setDescription('Bytes sent to this node ( low 32bits ).') perPoolNodeBytesToNodeHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeBytesToNodeHi.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeBytesToNodeHi.setDescription('Bytes sent to this node ( high 32bits ).') perPoolNodeBytesFromNodeLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeBytesFromNodeLo.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeBytesFromNodeLo.setDescription('Bytes received from this node ( low 32bits ).') perPoolNodeBytesFromNodeHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeBytesFromNodeHi.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeBytesFromNodeHi.setDescription('Bytes received from this node ( high 32bits ).') perPoolNodeCurrentRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeCurrentRequests.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeCurrentRequests.setDescription('Active connections established to this node, does not include idle connections.') perPoolNodeTotalConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeTotalConn.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeTotalConn.setDescription('Requests sent to this node.') perPoolNodePooledConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodePooledConn.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodePooledConn.setDescription('Requests that reused an existing pooled/keepalive connection rather than creating a new TCP connection.') perPoolNodeFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeFailures.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeFailures.setDescription('Failures of this node.') perPoolNodeNewConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeNewConn.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNewConn.setDescription('Requests that created a new connection to this node.') perPoolNodeErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeErrors.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeErrors.setDescription('Number of timeouts, connection problems and other errors for this node.') perPoolNodeResponseMin = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 17), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeResponseMin.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeResponseMin.setDescription('Minimum response time (ms) in the last second for this node.') perPoolNodeResponseMax = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 18), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeResponseMax.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeResponseMax.setDescription('Maximum response time (ms) in the last second for this node.') perPoolNodeResponseMean = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 19), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeResponseMean.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeResponseMean.setDescription('Mean response time (ms) in the last second for this node.') perPoolNodeIdleConns = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 20), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeIdleConns.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeIdleConns.setDescription('Number of idle HTTP connections to this node.') perPoolNodeCurrentConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 21), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perPoolNodeCurrentConn.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeCurrentConn.setDescription('Current connections established to a node, includes idle connections.') trafficIPNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPNumber.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPNumber.setDescription('The number of traffic IPv4 addresses on this system.') trafficIPNumberRaised = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPNumberRaised.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPNumberRaised.setDescription('The number of traffic IPv4 addresses currently raised on this system.') trafficIPTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 3), ) if mibBuilder.loadTexts: trafficIPTable.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPTable.setDescription('This table details the traffic IPv4 addresses that are hosted by this traffic manager cluster.') trafficIPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 3, 1), ).setIndexNames((0, "ZXTM-MIB", "trafficIPAddress")) if mibBuilder.loadTexts: trafficIPEntry.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPEntry.setDescription('This defines a row in the IPv4 traffic IP table.') trafficIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 3, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPAddress.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPAddress.setDescription('This is a traffic IP address.') trafficIPState = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("raised", 1), ("lowered", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPState.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPState.setDescription('Whether this traffic IP address is currently being hosted by this traffic manager.') trafficIPTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 3, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPTime.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPTime.setDescription("The time (in hundredths of a second) since trafficIPState last changed (this value will wrap if the state hasn't changed for 497 days).") trafficIPGatewayPingRequests = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPGatewayPingRequests.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPGatewayPingRequests.setDescription('Number of ping requests sent to the gateway machine.') trafficIPGatewayPingResponses = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPGatewayPingResponses.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPGatewayPingResponses.setDescription('Number of ping responses received from the gateway machine.') trafficIPNodePingRequests = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPNodePingRequests.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPNodePingRequests.setDescription('Number of ping requests sent to the backend nodes.') trafficIPNodePingResponses = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPNodePingResponses.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPNodePingResponses.setDescription('Number of ping responses received from the backend nodes.') trafficIPPingResponseErrors = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPPingResponseErrors.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPPingResponseErrors.setDescription('Number of ping response errors.') trafficIPARPMessage = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPARPMessage.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPARPMessage.setDescription('Number of ARP messages sent for raised Traffic IP Addresses.') trafficIPNumberInet46 = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPNumberInet46.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPNumberInet46.setDescription('The number of traffic IP addresses on this system (includes IPv4 and IPv6 addresses).') trafficIPNumberRaisedInet46 = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPNumberRaisedInet46.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPNumberRaisedInet46.setDescription('The number of traffic IP addresses currently raised on this system (includes IPv4 and IPv6 addresses).') trafficIPInet46Table = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12), ) if mibBuilder.loadTexts: trafficIPInet46Table.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46Table.setDescription('This table details the traffic IP addresses that are hosted by this traffic manager cluster (includes IPv4 and IPv6 addresses).') trafficIPInet46Entry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12, 1), ).setIndexNames((0, "ZXTM-MIB", "trafficIPInet46AddressType"), (0, "ZXTM-MIB", "trafficIPInet46Address")) if mibBuilder.loadTexts: trafficIPInet46Entry.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46Entry.setDescription('This defines a row in the traffic IP table.') trafficIPInet46AddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12, 1, 1), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPInet46AddressType.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46AddressType.setDescription('The traffic IP address type.') trafficIPInet46Address = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12, 1, 2), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPInet46Address.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46Address.setDescription('This is a traffic IP address.') trafficIPInet46State = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("raised", 1), ("lowered", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPInet46State.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46State.setDescription('Whether this traffic IP address is currently being hosted by this traffic manager.') trafficIPInet46Time = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: trafficIPInet46Time.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46Time.setDescription("The time (in hundredths of a second) since trafficIPState last changed (this value will wrap if the state hasn't changed for 497 days).") serviceProtNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceProtNumber.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtNumber.setDescription('The number of service protection classes defined.') serviceProtTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2), ) if mibBuilder.loadTexts: serviceProtTable.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtTable.setDescription('This table provides information and statistics for service protection classes.') serviceProtEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "serviceProtName")) if mibBuilder.loadTexts: serviceProtEntry.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtEntry.setDescription('This defines a row in the service protection table.') serviceProtName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceProtName.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtName.setDescription('The name of the service protection class.') serviceProtTotalRefusal = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceProtTotalRefusal.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtTotalRefusal.setDescription('Connections refused by this service protection class.') serviceProtLastRefusalTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceProtLastRefusalTime.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtLastRefusalTime.setDescription('The time (in hundredths of a second) since this service protection class last refused a connection (this value will wrap if no connections are refused in more than 497 days).') serviceProtRefusalIP = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceProtRefusalIP.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalIP.setDescription('Connections refused by this service protection class because the source IP address was banned.') serviceProtRefusalConc1IP = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceProtRefusalConc1IP.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalConc1IP.setDescription('Connections refused by this service protection class because the source IP address issued too many concurrent connections.') serviceProtRefusalConc10IP = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceProtRefusalConc10IP.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalConc10IP.setDescription('Connections refused by this service protection class because the top 10 source IP addresses issued too many concurrent connections.') serviceProtRefusalConnRate = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceProtRefusalConnRate.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalConnRate.setDescription('Connections refused by this service protection class because the source IP address issued too many connections within 60 seconds.') serviceProtRefusalRFC2396 = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceProtRefusalRFC2396.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalRFC2396.setDescription('Connections refused by this service protection class because the HTTP request was not RFC 2396 compliant.') serviceProtRefusalSize = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceProtRefusalSize.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalSize.setDescription('Connections refused by this service protection class because the request was larger than the defined limits allowed.') serviceProtRefusalBinary = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceProtRefusalBinary.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalBinary.setDescription('Connections refused by this service protection class because the request contained disallowed binary content.') serviceLevelNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceLevelNumber.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelNumber.setDescription('The number of SLM classes defined.') serviceLevelTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2), ) if mibBuilder.loadTexts: serviceLevelTable.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelTable.setDescription('This table provides information and statistics for SLM classes.') serviceLevelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "serviceLevelName")) if mibBuilder.loadTexts: serviceLevelEntry.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelEntry.setDescription('This defines a row in the SLM table.') serviceLevelName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceLevelName.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelName.setDescription('The name of the SLM class.') serviceLevelTotalConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceLevelTotalConn.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelTotalConn.setDescription('Requests handled by this SLM class.') serviceLevelTotalNonConf = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceLevelTotalNonConf.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelTotalNonConf.setDescription('Non-conforming requests handled by this SLM class.') serviceLevelResponseMin = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceLevelResponseMin.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelResponseMin.setDescription('Minimum response time (ms) in the last second for this SLM class.') serviceLevelResponseMax = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceLevelResponseMax.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelResponseMax.setDescription('Maximum response time (ms) in the last second for this SLM class.') serviceLevelResponseMean = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceLevelResponseMean.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelResponseMean.setDescription('Mean response time (ms) in the last second for this SLM class.') serviceLevelIsOK = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notok", 1), ("ok", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceLevelIsOK.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelIsOK.setDescription('Indicates if this SLM class is currently conforming.') serviceLevelConforming = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceLevelConforming.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelConforming.setDescription('Percentage of requests associated with this SLM class that are conforming') serviceLevelCurrentConns = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: serviceLevelCurrentConns.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelCurrentConns.setDescription('The number of connections currently associated with this SLM class.') perNodeServiceLevelTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1), ) if mibBuilder.loadTexts: perNodeServiceLevelTable.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelTable.setDescription('This table provides information and statistics for SLM classes on a per node basis (IPv4 nodes only).') perNodeServiceLevelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1), ).setIndexNames((0, "ZXTM-MIB", "perNodeServiceLevelSLMName"), (0, "ZXTM-MIB", "perNodeServiceLevelNodeIPAddr"), (0, "ZXTM-MIB", "perNodeServiceLevelNodePort")) if mibBuilder.loadTexts: perNodeServiceLevelEntry.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelEntry.setDescription('This defines a row in the per-node SLM table (IPv4 nodes only).') perNodeServiceLevelSLMName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelSLMName.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelSLMName.setDescription('The name of the SLM class.') perNodeServiceLevelNodeIPAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelNodeIPAddr.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelNodeIPAddr.setDescription('The IP address of this node.') perNodeServiceLevelNodePort = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelNodePort.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelNodePort.setDescription('The port number of this node.') perNodeServiceLevelTotalConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelTotalConn.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelTotalConn.setDescription('Requests handled by this SLM class to this node.') perNodeServiceLevelTotalNonConf = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelTotalNonConf.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelTotalNonConf.setDescription('Non-conforming requests handled by this SLM class to this node.') perNodeServiceLevelResponseMin = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelResponseMin.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelResponseMin.setDescription('Minimum response time (ms) in the last second for this SLM class to this node.') perNodeServiceLevelResponseMax = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelResponseMax.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelResponseMax.setDescription('Maximum response time (ms) in the last second for this SLM class to this node.') perNodeServiceLevelResponseMean = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelResponseMean.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelResponseMean.setDescription('Mean response time (ms) in the last second for this SLM class to this node.') perNodeServiceLevelInet46Table = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2), ) if mibBuilder.loadTexts: perNodeServiceLevelInet46Table.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46Table.setDescription('This table provides information and statistics for SLM classes on a per node basis (includes IPv4 and IPv6 nodes).') perNodeServiceLevelInet46Entry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "perNodeServiceLevelInet46SLMName"), (0, "ZXTM-MIB", "perNodeServiceLevelInet46NodeAddressType"), (0, "ZXTM-MIB", "perNodeServiceLevelInet46NodeAddress"), (0, "ZXTM-MIB", "perNodeServiceLevelInet46NodePort")) if mibBuilder.loadTexts: perNodeServiceLevelInet46Entry.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46Entry.setDescription('This defines a row in the per-node SLM table (includes IPv4 and IPv6 nodes).') perNodeServiceLevelInet46SLMName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelInet46SLMName.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46SLMName.setDescription('The name of the SLM class.') perNodeServiceLevelInet46NodeAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 2), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelInet46NodeAddressType.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46NodeAddressType.setDescription('The type of IP address of this node.') perNodeServiceLevelInet46NodeAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 3), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelInet46NodeAddress.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46NodeAddress.setDescription('The IP address of this node.') perNodeServiceLevelInet46NodePort = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelInet46NodePort.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46NodePort.setDescription('The port number of this node.') perNodeServiceLevelInet46TotalConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelInet46TotalConn.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46TotalConn.setDescription('Requests handled by this SLM class to this node.') perNodeServiceLevelInet46TotalNonConf = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelInet46TotalNonConf.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46TotalNonConf.setDescription('Non-conforming requests handled by this SLM class to this node.') perNodeServiceLevelInet46ResponseMin = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMin.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMin.setDescription('Minimum response time (ms) in the last second for this SLM class to this node.') perNodeServiceLevelInet46ResponseMax = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMax.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMax.setDescription('Maximum response time (ms) in the last second for this SLM class to this node.') perNodeServiceLevelInet46ResponseMean = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMean.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMean.setDescription('Mean response time (ms) in the last second for this SLM class to this node.') bandwidthClassNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bandwidthClassNumber.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassNumber.setDescription('The number of bandwidth classes defined.') bandwidthClassTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2), ) if mibBuilder.loadTexts: bandwidthClassTable.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassTable.setDescription('This table provides information and statistics for bandwidth classes.') bandwidthClassEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "bandwidthClassName")) if mibBuilder.loadTexts: bandwidthClassEntry.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassEntry.setDescription('This defines a row in the bandwidth class.') bandwidthClassName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: bandwidthClassName.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassName.setDescription('The name of the bandwidth class.') bandwidthClassMaximum = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bandwidthClassMaximum.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassMaximum.setDescription('Maximum bandwidth class limit (kbits/s).') bandwidthClassGuarantee = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bandwidthClassGuarantee.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassGuarantee.setDescription('Guaranteed bandwidth class limit (kbits/s). Currently unused.') bandwidthClassBytesOutLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bandwidthClassBytesOutLo.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassBytesOutLo.setDescription('Bytes output by connections assigned to this bandwidth class ( low 32bits ).') bandwidthClassBytesOutHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bandwidthClassBytesOutHi.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassBytesOutHi.setDescription('Bytes output by connections assigned to this bandwidth class ( high 32bits ).') rateClassNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rateClassNumber.setStatus('mandatory') if mibBuilder.loadTexts: rateClassNumber.setDescription('The number of rate classes defined.') rateClassTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2), ) if mibBuilder.loadTexts: rateClassTable.setStatus('mandatory') if mibBuilder.loadTexts: rateClassTable.setDescription('This table provides information and statistics for rate classes.') rateClassEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "rateClassName")) if mibBuilder.loadTexts: rateClassEntry.setStatus('mandatory') if mibBuilder.loadTexts: rateClassEntry.setDescription('This defines a row in the rate class info.') rateClassName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: rateClassName.setStatus('mandatory') if mibBuilder.loadTexts: rateClassName.setDescription('The name of the rate class.') rateClassMaxRatePerMin = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rateClassMaxRatePerMin.setStatus('mandatory') if mibBuilder.loadTexts: rateClassMaxRatePerMin.setDescription('The maximum rate that requests may pass through this rate class (requests/min).') rateClassMaxRatePerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rateClassMaxRatePerSec.setStatus('mandatory') if mibBuilder.loadTexts: rateClassMaxRatePerSec.setDescription('The maximum rate that requests may pass through this rate class (requests/sec).') rateClassQueueLength = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rateClassQueueLength.setStatus('mandatory') if mibBuilder.loadTexts: rateClassQueueLength.setDescription('The current number of requests queued by this rate class.') rateClassCurrentRate = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rateClassCurrentRate.setStatus('mandatory') if mibBuilder.loadTexts: rateClassCurrentRate.setDescription('The average rate that requests are passing through this rate class.') rateClassDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rateClassDropped.setStatus('mandatory') if mibBuilder.loadTexts: rateClassDropped.setDescription('Requests dropped from this rate class without being processed (e.g. timeouts).') rateClassConnsEntered = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rateClassConnsEntered.setStatus('mandatory') if mibBuilder.loadTexts: rateClassConnsEntered.setDescription('Connections that have entered the rate class and have been queued.') rateClassConnsLeft = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rateClassConnsLeft.setStatus('mandatory') if mibBuilder.loadTexts: rateClassConnsLeft.setDescription('Connections that have left the rate class.') userCounterNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: userCounterNumber.setStatus('mandatory') if mibBuilder.loadTexts: userCounterNumber.setDescription('The number of user defined counters.') userCounterTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11, 2), ) if mibBuilder.loadTexts: userCounterTable.setStatus('mandatory') if mibBuilder.loadTexts: userCounterTable.setDescription('This table holds the values for user defined counters.') userCounterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "userCounterName")) if mibBuilder.loadTexts: userCounterEntry.setStatus('mandatory') if mibBuilder.loadTexts: userCounterEntry.setDescription('This defines a row in the user counters table.') userCounterName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: userCounterName.setStatus('mandatory') if mibBuilder.loadTexts: userCounterName.setDescription('The name of the user counter.') userCounterValue = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: userCounterValue.setStatus('mandatory') if mibBuilder.loadTexts: userCounterValue.setDescription('The value of the user counter.') interfaceNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceNumber.setStatus('mandatory') if mibBuilder.loadTexts: interfaceNumber.setDescription('The number of network interfaces.') interfaceTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2), ) if mibBuilder.loadTexts: interfaceTable.setStatus('mandatory') if mibBuilder.loadTexts: interfaceTable.setDescription('This table gives statistics for the network interfaces on this system.') interfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "interfaceName")) if mibBuilder.loadTexts: interfaceEntry.setStatus('mandatory') if mibBuilder.loadTexts: interfaceEntry.setDescription('This defines a row in the network interfaces table.') interfaceName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceName.setStatus('mandatory') if mibBuilder.loadTexts: interfaceName.setDescription('The name of the network interface.') interfaceRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceRxPackets.setStatus('mandatory') if mibBuilder.loadTexts: interfaceRxPackets.setDescription('The number of packets received by this interface.') interfaceTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTxPackets.setStatus('mandatory') if mibBuilder.loadTexts: interfaceTxPackets.setDescription('The number of packets transmitted by this interface.') interfaceRxErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceRxErrors.setStatus('mandatory') if mibBuilder.loadTexts: interfaceRxErrors.setDescription('The number of receive errors reported by this interface.') interfaceTxErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTxErrors.setStatus('mandatory') if mibBuilder.loadTexts: interfaceTxErrors.setDescription('The number of transmit errors reported by this interface.') interfaceCollisions = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceCollisions.setStatus('mandatory') if mibBuilder.loadTexts: interfaceCollisions.setDescription('The number of collisions reported by this interface.') interfaceRxBytesLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceRxBytesLo.setStatus('mandatory') if mibBuilder.loadTexts: interfaceRxBytesLo.setDescription('Bytes received by this interface ( low 32bits ).') interfaceRxBytesHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceRxBytesHi.setStatus('mandatory') if mibBuilder.loadTexts: interfaceRxBytesHi.setDescription('Bytes received by this interface ( high 32bits ).') interfaceTxBytesLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTxBytesLo.setStatus('mandatory') if mibBuilder.loadTexts: interfaceTxBytesLo.setDescription('Bytes transmitted by this interface ( low 32bits ).') interfaceTxBytesHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: interfaceTxBytesHi.setStatus('mandatory') if mibBuilder.loadTexts: interfaceTxBytesHi.setDescription('Bytes transmitted by this interface ( high 32bits ).') webCacheHitsLo = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheHitsLo.setStatus('mandatory') if mibBuilder.loadTexts: webCacheHitsLo.setDescription('Number of times a page has been successfully found in the web cache (low 32 bits).') webCacheHitsHi = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheHitsHi.setStatus('mandatory') if mibBuilder.loadTexts: webCacheHitsHi.setDescription('Number of times a page has been successfully found in the web cache (high 32 bits).') webCacheMissesLo = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheMissesLo.setStatus('mandatory') if mibBuilder.loadTexts: webCacheMissesLo.setDescription('Number of times a page has not been found in the web cache (low 32 bits).') webCacheMissesHi = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheMissesHi.setStatus('mandatory') if mibBuilder.loadTexts: webCacheMissesHi.setDescription('Number of times a page has not been found in the web cache (high 32 bits).') webCacheLookupsLo = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheLookupsLo.setStatus('mandatory') if mibBuilder.loadTexts: webCacheLookupsLo.setDescription('Number of times a page has been looked up in the web cache (low 32 bits).') webCacheLookupsHi = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheLookupsHi.setStatus('mandatory') if mibBuilder.loadTexts: webCacheLookupsHi.setDescription('Number of times a page has been looked up in the web cache (high 32 bits).') webCacheMemUsed = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheMemUsed.setStatus('mandatory') if mibBuilder.loadTexts: webCacheMemUsed.setDescription('Total memory used by the web cache in kilobytes.') webCacheMemMaximum = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheMemMaximum.setStatus('mandatory') if mibBuilder.loadTexts: webCacheMemMaximum.setDescription('The maximum amount of memory the web cache can use in kilobytes.') webCacheHitRate = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: webCacheHitRate.setDescription('The percentage of web cache lookups that succeeded.') webCacheEntries = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 10), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: webCacheEntries.setDescription('The number of items in the web cache.') webCacheMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 11), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheMaxEntries.setStatus('mandatory') if mibBuilder.loadTexts: webCacheMaxEntries.setDescription('The maximum number of items in the web cache.') webCacheOldest = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 12), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: webCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: webCacheOldest.setDescription('The age of the oldest item in the web cache (in seconds).') sslCacheHits = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheHits.setDescription('Number of times a SSL entry has been successfully found in the server cache.') sslCacheMisses = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheMisses.setDescription('Number of times a SSL entry has not been available in the server cache.') sslCacheLookups = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheLookups.setDescription('Number of times a SSL entry has been looked up in the server cache.') sslCacheHitRate = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheHitRate.setDescription('The percentage of SSL server cache lookups that succeeded.') sslCacheEntries = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheEntries.setDescription('The total number of SSL sessions stored in the server cache.') sslCacheEntriesMax = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheEntriesMax.setDescription('The maximum number of SSL entries in the server cache.') sslCacheOldest = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheOldest.setDescription('The age of the oldest SSL session in the server cache (in seconds).') aspSessionCacheHits = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspSessionCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheHits.setDescription('Number of times a ASP session entry has been successfully found in the cache.') aspSessionCacheMisses = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspSessionCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheMisses.setDescription('Number of times a ASP session entry has not been available in the cache.') aspSessionCacheLookups = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspSessionCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheLookups.setDescription('Number of times a ASP session entry has been looked up in the cache.') aspSessionCacheHitRate = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspSessionCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheHitRate.setDescription('The percentage of ASP session lookups that succeeded.') aspSessionCacheEntries = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspSessionCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheEntries.setDescription('The total number of ASP sessions stored in the cache.') aspSessionCacheEntriesMax = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspSessionCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheEntriesMax.setDescription('The maximum number of ASP sessions in the cache.') aspSessionCacheOldest = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aspSessionCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheOldest.setDescription('The age of the oldest ASP session in the cache (in seconds).') ipSessionCacheHits = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSessionCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheHits.setDescription('Number of times a IP session entry has been successfully found in the cache.') ipSessionCacheMisses = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSessionCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheMisses.setDescription('Number of times a IP session entry has not been available in the cache.') ipSessionCacheLookups = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSessionCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheLookups.setDescription('Number of times a IP session entry has been looked up in the cache.') ipSessionCacheHitRate = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSessionCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheHitRate.setDescription('The percentage of IP session lookups that succeeded.') ipSessionCacheEntries = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSessionCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheEntries.setDescription('The total number of IP sessions stored in the cache.') ipSessionCacheEntriesMax = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSessionCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheEntriesMax.setDescription('The maximum number of IP sessions in the cache.') ipSessionCacheOldest = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipSessionCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheOldest.setDescription('The age of the oldest IP session in the cache (in seconds).') j2eeSessionCacheHits = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: j2eeSessionCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheHits.setDescription('Number of times a J2EE session entry has been successfully found in the cache.') j2eeSessionCacheMisses = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: j2eeSessionCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheMisses.setDescription('Number of times a J2EE session entry has not been available in the cache.') j2eeSessionCacheLookups = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: j2eeSessionCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheLookups.setDescription('Number of times a J2EE session entry has been looked up in the cache.') j2eeSessionCacheHitRate = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: j2eeSessionCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheHitRate.setDescription('The percentage of J2EE session lookups that succeeded.') j2eeSessionCacheEntries = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: j2eeSessionCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheEntries.setDescription('The total number of J2EE sessions stored in the cache.') j2eeSessionCacheEntriesMax = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: j2eeSessionCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheEntriesMax.setDescription('The maximum number of J2EE sessions in the cache.') j2eeSessionCacheOldest = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: j2eeSessionCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheOldest.setDescription('The age of the oldest J2EE session in the cache (in seconds).') uniSessionCacheHits = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: uniSessionCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheHits.setDescription('Number of times a universal session entry has been successfully found in the cache.') uniSessionCacheMisses = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: uniSessionCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheMisses.setDescription('Number of times a universal session entry has not been available in the cache.') uniSessionCacheLookups = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: uniSessionCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheLookups.setDescription('Number of times a universal session entry has been looked up in the cache.') uniSessionCacheHitRate = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: uniSessionCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheHitRate.setDescription('The percentage of universal session lookups that succeeded.') uniSessionCacheEntries = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: uniSessionCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheEntries.setDescription('The total number of universal sessions stored in the cache.') uniSessionCacheEntriesMax = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: uniSessionCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheEntriesMax.setDescription('The maximum number of universal sessions in the cache.') uniSessionCacheOldest = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: uniSessionCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheOldest.setDescription('The age of the oldest universal session in the cache (in seconds).') sslSessionCacheHits = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslSessionCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheHits.setDescription('Number of times a SSL session persistence entry has been successfully found in the cache.') sslSessionCacheMisses = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslSessionCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheMisses.setDescription('Number of times a SSL session persistence entry has not been available in the cache.') sslSessionCacheLookups = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslSessionCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheLookups.setDescription('Number of times a SSL session persistence entry has been looked up in the cache.') sslSessionCacheHitRate = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslSessionCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheHitRate.setDescription('The percentage of SSL session persistence lookups that succeeded.') sslSessionCacheEntries = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslSessionCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheEntries.setDescription('The total number of SSL session persistence entries stored in the cache.') sslSessionCacheEntriesMax = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslSessionCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheEntriesMax.setDescription('The maximum number of SSL session persistence entries in the cache.') sslSessionCacheOldest = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sslSessionCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheOldest.setDescription('The age of the oldest SSL session in the cache (in seconds).') ruleNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ruleNumber.setStatus('mandatory') if mibBuilder.loadTexts: ruleNumber.setDescription('The number of TrafficScript rules.') ruleTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2), ) if mibBuilder.loadTexts: ruleTable.setStatus('mandatory') if mibBuilder.loadTexts: ruleTable.setDescription('This table provides information and statistics for TrafficScript rules.') ruleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: ruleEntry.setStatus('mandatory') if mibBuilder.loadTexts: ruleEntry.setDescription('This defines a row in the rules table.') ruleName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ruleName.setStatus('mandatory') if mibBuilder.loadTexts: ruleName.setDescription('The name of the TrafficScript rule.') ruleExecutions = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ruleExecutions.setStatus('mandatory') if mibBuilder.loadTexts: ruleExecutions.setDescription('Number of times this TrafficScript rule has been executed.') ruleAborts = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ruleAborts.setStatus('mandatory') if mibBuilder.loadTexts: ruleAborts.setDescription('Number of times this TrafficScript rule has aborted.') ruleResponds = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ruleResponds.setStatus('mandatory') if mibBuilder.loadTexts: ruleResponds.setDescription('Number of times this TrafficScript rule has responded directly to the client.') rulePoolSelect = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rulePoolSelect.setStatus('mandatory') if mibBuilder.loadTexts: rulePoolSelect.setDescription('Number of times this TrafficScript rule has selected a pool to use.') ruleRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ruleRetries.setStatus('mandatory') if mibBuilder.loadTexts: ruleRetries.setDescription('Number of times this TrafficScript rule has forced the request to be retried.') ruleDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ruleDiscards.setStatus('mandatory') if mibBuilder.loadTexts: ruleDiscards.setDescription('Number of times this TrafficScript rule has discarded the connection.') monitorNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 19, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: monitorNumber.setStatus('mandatory') if mibBuilder.loadTexts: monitorNumber.setDescription('The number of Monitors.') monitorTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 19, 2), ) if mibBuilder.loadTexts: monitorTable.setStatus('mandatory') if mibBuilder.loadTexts: monitorTable.setDescription('This table provides information and statistics on Monitors.') monitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 19, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "monitorName")) if mibBuilder.loadTexts: monitorEntry.setStatus('mandatory') if mibBuilder.loadTexts: monitorEntry.setDescription('This defines a row in the monitors table.') monitorName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 19, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: monitorName.setStatus('mandatory') if mibBuilder.loadTexts: monitorName.setDescription('The name of the monitor.') licensekeyNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 20, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: licensekeyNumber.setStatus('mandatory') if mibBuilder.loadTexts: licensekeyNumber.setDescription('The number of License keys.') licensekeyTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 20, 2), ) if mibBuilder.loadTexts: licensekeyTable.setStatus('mandatory') if mibBuilder.loadTexts: licensekeyTable.setDescription('This table provides information and statistics on License Keys.') licensekeyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 20, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: licensekeyEntry.setStatus('mandatory') if mibBuilder.loadTexts: licensekeyEntry.setDescription('This defines a row in the license keys table.') licensekeyName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 20, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: licensekeyName.setStatus('mandatory') if mibBuilder.loadTexts: licensekeyName.setDescription('The name of the License Key.') zxtmNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 21, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zxtmNumber.setStatus('mandatory') if mibBuilder.loadTexts: zxtmNumber.setDescription('The number of traffic managers in the cluster.') zxtmTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 21, 2), ) if mibBuilder.loadTexts: zxtmTable.setStatus('mandatory') if mibBuilder.loadTexts: zxtmTable.setDescription('This table provides information and statistics on traffic managers.') zxtmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 21, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "zxtmName")) if mibBuilder.loadTexts: zxtmEntry.setStatus('mandatory') if mibBuilder.loadTexts: zxtmEntry.setDescription('This defines a row in the traffic managers table.') zxtmName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 21, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: zxtmName.setStatus('mandatory') if mibBuilder.loadTexts: zxtmName.setDescription('The name of the traffic manager.') glbServiceNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: glbServiceNumber.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceNumber.setDescription('The number of GLB Services on this system.') glbServiceTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2), ) if mibBuilder.loadTexts: glbServiceTable.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceTable.setDescription('This table provides information and statistics for GLB Services.') glbServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: glbServiceEntry.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceEntry.setDescription('This defines a row in the GLB Services table.') glbServiceName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: glbServiceName.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceName.setDescription('The name of the GLB Service.') glbServiceResponses = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: glbServiceResponses.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceResponses.setDescription('Number of A records this GLB Service has altered.') glbServiceUnmodified = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: glbServiceUnmodified.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceUnmodified.setDescription('Number of A records this GLB Service has passed through unmodified.') glbServiceDiscarded = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: glbServiceDiscarded.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceDiscarded.setDescription('Number of A records this GLB Service has discarded.') perLocationServiceTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1), ) if mibBuilder.loadTexts: perLocationServiceTable.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceTable.setDescription('This table provides information and statistics for GLB Services on a per location basis.') perLocationServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1), ).setIndexNames((0, "ZXTM-MIB", "perLocationServiceLocationName"), (0, "ZXTM-MIB", "perLocationServiceName")) if mibBuilder.loadTexts: perLocationServiceEntry.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceEntry.setDescription('This defines a row in the per-location table.') perLocationServiceLocationName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: perLocationServiceLocationName.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceLocationName.setDescription('The name of the location.') perLocationServiceLocationCode = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: perLocationServiceLocationCode.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceLocationCode.setDescription('The code for the location.') perLocationServiceName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: perLocationServiceName.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceName.setDescription('The name of the GLB Service.') perLocationServiceDraining = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("draining", 1), ("active", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: perLocationServiceDraining.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceDraining.setDescription('The draining state of this location for this GLB Service.') perLocationServiceState = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("alive", 1), ("dead", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: perLocationServiceState.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceState.setDescription('The state of this location for this GLB Service.') perLocationServiceFrontendState = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("alive", 1), ("dead", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: perLocationServiceFrontendState.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceFrontendState.setDescription('The frontend state of this location for this GLB Service.') perLocationServiceMonitorState = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("alive", 1), ("dead", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: perLocationServiceMonitorState.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceMonitorState.setDescription('The monitor state of this location for this GLB Service.') perLocationServiceLoad = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 8), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perLocationServiceLoad.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceLoad.setDescription('The load metric for this location for this GLB Service.') perLocationServiceResponses = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: perLocationServiceResponses.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceResponses.setDescription('Number of A records that have been altered to point to this location for this GLB Service.') locationTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1), ) if mibBuilder.loadTexts: locationTable.setStatus('mandatory') if mibBuilder.loadTexts: locationTable.setDescription('This table provides information and statistics for GLB Services on a per location basis.') locationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1, 1), ).setIndexNames((0, "ZXTM-MIB", "locationName")) if mibBuilder.loadTexts: locationEntry.setStatus('mandatory') if mibBuilder.loadTexts: locationEntry.setDescription('This defines a row in the per-location table.') locationName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: locationName.setStatus('mandatory') if mibBuilder.loadTexts: locationName.setDescription('The name of the location.') locationCode = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: locationCode.setStatus('mandatory') if mibBuilder.loadTexts: locationCode.setDescription('The code for the location.') locationLoad = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: locationLoad.setStatus('mandatory') if mibBuilder.loadTexts: locationLoad.setDescription('The mean load metric for this location.') locationResponses = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: locationResponses.setStatus('mandatory') if mibBuilder.loadTexts: locationResponses.setDescription('Number of A records that have been altered to point to this location.') eventNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eventNumber.setStatus('mandatory') if mibBuilder.loadTexts: eventNumber.setDescription('The number of event configurations.') eventTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13, 2), ) if mibBuilder.loadTexts: eventTable.setStatus('mandatory') if mibBuilder.loadTexts: eventTable.setDescription('This table gives information on the event configurations in the traffic manager.') eventEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "eventName")) if mibBuilder.loadTexts: eventEntry.setStatus('mandatory') if mibBuilder.loadTexts: eventEntry.setDescription('This defines a row in the events table.') eventName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: eventName.setStatus('mandatory') if mibBuilder.loadTexts: eventName.setDescription('The name of the event configuration.') eventsMatched = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eventsMatched.setStatus('mandatory') if mibBuilder.loadTexts: eventsMatched.setDescription('Number of times this event configuration has matched.') actionNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: actionNumber.setStatus('mandatory') if mibBuilder.loadTexts: actionNumber.setDescription('The number of actions configured in the traffic manager.') actionTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14, 2), ) if mibBuilder.loadTexts: actionTable.setStatus('mandatory') if mibBuilder.loadTexts: actionTable.setDescription('This table gives information on the action configurations in the traffic manager.') actionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "actionName")) if mibBuilder.loadTexts: actionEntry.setStatus('mandatory') if mibBuilder.loadTexts: actionEntry.setDescription('This defines a row in the actions table.') actionName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: actionName.setStatus('mandatory') if mibBuilder.loadTexts: actionName.setDescription('The name of the action.') actionsProcessed = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: actionsProcessed.setStatus('mandatory') if mibBuilder.loadTexts: actionsProcessed.setDescription('Number of times this action has been processed.') fullLogLine = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 22, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: fullLogLine.setStatus('mandatory') if mibBuilder.loadTexts: fullLogLine.setDescription('The full log line of an event (for traps).') confName = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 22, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: confName.setStatus('mandatory') if mibBuilder.loadTexts: confName.setDescription('The name of the configuration file affected (for traps).') customEventName = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 22, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: customEventName.setStatus('mandatory') if mibBuilder.loadTexts: customEventName.setDescription('The name of the Custom Event (for traps).') testaction = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,1)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "actionName")) if mibBuilder.loadTexts: testaction.setDescription('Testing configuration for an action (emitted when testing an action in the UI)') running = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,2)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: running.setDescription('Software is running') fewfreefds = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,3)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: fewfreefds.setDescription('Running out of free file descriptors') restartrequired = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,4)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: restartrequired.setDescription('Software must be restarted to apply configuration changes') timemovedback = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,5)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: timemovedback.setDescription('Time has been moved back') sslfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,6)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: sslfail.setDescription('One or more SSL connections from clients failed recently') hardware = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,7)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: hardware.setDescription('Appliance hardware notification') zxtmswerror = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,8)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: zxtmswerror.setDescription('Zeus Traffic Manager software problem') customevent = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,9)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "customEventName")) if mibBuilder.loadTexts: customevent.setDescription("A custom event was emitted using the TrafficScript 'event.emit()' function") versionmismatch = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,10)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: versionmismatch.setDescription('Configuration update refused: traffic manager version mismatch') autherror = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,114)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: autherror.setDescription('An error occurred during user authentication') machineok = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,11)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "zxtmName")) if mibBuilder.loadTexts: machineok.setDescription('Remote machine is now working') machinetimeout = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,12)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "zxtmName")) if mibBuilder.loadTexts: machinetimeout.setDescription('Remote machine has timed out and been marked as failed') machinefail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,13)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "zxtmName")) if mibBuilder.loadTexts: machinefail.setDescription('Remote machine has failed') allmachinesok = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,14)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: allmachinesok.setDescription('All machines are working') flipperbackendsworking = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,15)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: flipperbackendsworking.setDescription('Back-end nodes are now working') flipperfrontendsworking = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,16)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: flipperfrontendsworking.setDescription('Frontend machines are now working') pingbackendfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,17)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: pingbackendfail.setDescription('Failed to ping back-end nodes') pingfrontendfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,18)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: pingfrontendfail.setDescription('Failed to ping any of the machines used to check the front-end connectivity') pinggwfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,19)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: pinggwfail.setDescription('Failed to ping default gateway') statebaddata = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,20)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: statebaddata.setDescription('Received an invalid response from another cluster member') stateconnfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,21)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: stateconnfail.setDescription('Failed to connect to another cluster member for state sharing') stateok = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,22)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: stateok.setDescription('Successfully connected to another cluster member for state sharing') statereadfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,23)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: statereadfail.setDescription('Reading state data from another cluster member failed') statetimeout = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,24)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: statetimeout.setDescription('Timeout while sending state data to another cluster member') stateunexpected = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,25)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: stateunexpected.setDescription('Received unexpected state data from another cluster member') statewritefail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,26)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: statewritefail.setDescription('Writing state data to another cluster member failed') activatealldead = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,107)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: activatealldead.setDescription('Activating this machine automatically because it is the only working machine in its Traffic IP Groups') machinerecovered = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,108)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: machinerecovered.setDescription('Remote machine has recovered and can raise Traffic IP addresses') flipperrecovered = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,109)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: flipperrecovered.setDescription('Machine is ready to raise Traffic IP addresses') activatedautomatically = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,110)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: activatedautomatically.setDescription('Machine has recovered and been activated automatically because it would cause no service disruption') zclustermoderr = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,111)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: zclustermoderr.setDescription('An error occurred when using the zcluster Multi-Hosted IP kernel module') ec2flipperraiselocalworking = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,112)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: ec2flipperraiselocalworking.setDescription('Moving EC2 Elastic IP Address; local machine is working') ec2flipperraiseothersdead = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,113)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: ec2flipperraiseothersdead.setDescription('Moving EC2 Elastic IP Address; other machines have failed') ec2iperr = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,130)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: ec2iperr.setDescription('Problem occurred when managing an Elastic IP address') dropec2ipwarn = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,131)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: dropec2ipwarn.setDescription('Removing EC2 Elastic IP Address from all machines; it is no longer a part of any Traffic IP Groups') ec2nopublicip = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,132)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: ec2nopublicip.setDescription('Cannot raise Elastic IP on this machine until EC2 provides it with a public IP address') multihostload = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,133)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: multihostload.setDescription('The amount of load handled by the local machine destined for this Traffic IP has changed') sslhwfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,27)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: sslhwfail.setDescription('SSL hardware support failed') sslhwrestart = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,28)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: sslhwrestart.setDescription('SSL hardware support restarted') sslhwstart = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,29)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: sslhwstart.setDescription('SSL hardware support started') confdel = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,30)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "confName")) if mibBuilder.loadTexts: confdel.setDescription('Configuration file deleted') confmod = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,31)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "confName")) if mibBuilder.loadTexts: confmod.setDescription('Configuration file modified') confadd = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,32)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "confName")) if mibBuilder.loadTexts: confadd.setDescription('Configuration file added') confok = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,33)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "confName")) if mibBuilder.loadTexts: confok.setDescription('Configuration file now OK') confreptimeout = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,178)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: confreptimeout.setDescription('Replication of configuration has timed out') confrepfailed = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,179)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: confrepfailed.setDescription('Replication of configuration has failed') javadied = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,34)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: javadied.setDescription('Java runner died') javastop = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,35)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: javastop.setDescription('Java support has stopped') javastartfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,36)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: javastartfail.setDescription('Java runner failed to start') javaterminatefail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,37)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: javaterminatefail.setDescription('Java runner failed to terminate') javanotfound = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,38)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: javanotfound.setDescription('Cannot start Java runner, program not found') javastarted = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,39)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: javastarted.setDescription('Java runner started') servleterror = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,40)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: servleterror.setDescription('Servlet encountered an error') monitorfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,41)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "monitorName")) if mibBuilder.loadTexts: monitorfail.setDescription('Monitor has detected a failure') monitorok = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,42)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "monitorName")) if mibBuilder.loadTexts: monitorok.setDescription('Monitor is working') rulexmlerr = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,43)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulexmlerr.setDescription('Rule encountered an XML error') pooluseunknown = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,44)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: pooluseunknown.setDescription('Rule selected an unknown pool') ruleabort = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,45)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: ruleabort.setDescription('Rule aborted during execution') rulebufferlarge = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,46)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulebufferlarge.setDescription('Rule has buffered more data than expected') rulebodycomperror = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,47)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulebodycomperror.setDescription('Rule encountered invalid data while uncompressing response') forwardproxybadhost = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,48)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: forwardproxybadhost.setDescription('Rule selected an unresolvable host') invalidemit = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,49)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: invalidemit.setDescription('Rule used event.emit() with an invalid custom event') rulenopersistence = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,50)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulenopersistence.setDescription('Rule selected an unknown session persistence class') rulelogmsginfo = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,51)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulelogmsginfo.setDescription('Rule logged an info message using log.info') rulelogmsgwarn = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,52)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulelogmsgwarn.setDescription('Rule logged a warning message using log.warn') rulelogmsgserious = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,53)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulelogmsgserious.setDescription('Rule logged an error message using log.error') norate = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,54)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: norate.setDescription('Rule selected an unknown rate shaping class') poolactivenodesunknown = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,55)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: poolactivenodesunknown.setDescription('Rule references an unknown pool via pool.activenodes') datastorefull = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,56)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: datastorefull.setDescription('data.set() has run out of space') rulestreamerrortoomuch = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,210)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulestreamerrortoomuch.setDescription('Rule supplied too much data in HTTP stream') rulestreamerrornotenough = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,211)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulestreamerrornotenough.setDescription('Rule did not supply enough data in HTTP stream') rulestreamerrorprocessfailure = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,212)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulestreamerrorprocessfailure.setDescription('Data supplied to HTTP stream could not be processed') rulestreamerrornotstarted = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,213)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulestreamerrornotstarted.setDescription('Attempt to stream data or finish a stream before streaming had been initialized') rulestreamerrornotfinished = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,214)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulestreamerrornotfinished.setDescription('Attempt to initialize HTTP stream before previous stream had finished') rulestreamerrorinternal = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,215)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulestreamerrorinternal.setDescription('Internal error while processing HTTP stream') rulestreamerrorgetresponse = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,216)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: rulestreamerrorgetresponse.setDescription('Attempt to use http.getResponse or http.getResponseBody after http.stream.startResponse') rulesinvalidrequestbody = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,217)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "ruleName"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: rulesinvalidrequestbody.setDescription('Client sent invalid HTTP request body') serviceruleabort = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,218)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "glbServiceName"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: serviceruleabort.setDescription('GLB service rule aborted during execution') servicerulelocunknown = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,219)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "glbServiceName"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: servicerulelocunknown.setDescription('GLB service rule specified an unknown location') servicerulelocnotconfigured = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,220)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "glbServiceName"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: servicerulelocnotconfigured.setDescription('GLB service rule specified a location that is not configured for the service') servicerulelocdead = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,221)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "glbServiceName"), ("ZXTM-MIB", "ruleName")) if mibBuilder.loadTexts: servicerulelocdead.setDescription('GLB service rule specified a location that has either failed or been marked as draining in the service configuration') expired = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,57)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: expired.setDescription('License key has expired') licensecorrupt = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,58)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: licensecorrupt.setDescription('License key is corrupt') expiresoon = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,59)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: expiresoon.setDescription('License key expires within 7 days') usinglicense = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,60)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: usinglicense.setDescription('Using license key') licenseclustertoobig = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,61)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: licenseclustertoobig.setDescription('Cluster size exceeds license key limit') unlicensed = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,62)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: unlicensed.setDescription('Started without a license') usingdevlicense = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,63)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: usingdevlicense.setDescription('Using a development license') morememallowed = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,124)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: morememallowed.setDescription('License allows more memory for caching') lessmemallowed = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,125)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: lessmemallowed.setDescription('License allows less memory for caching') cachesizereduced = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,123)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: cachesizereduced.setDescription('Configured cache size exceeds license limit, only using amount allowed by license') tpslimited = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,134)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: tpslimited.setDescription('License key transactions-per-second limit has been hit') ssltpslimited = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,135)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: ssltpslimited.setDescription('License key SSL transactions-per-second limit has been hit') bwlimited = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,136)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: bwlimited.setDescription('License key bandwidth limit has been hit') licensetoomanylocations = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,137)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: licensetoomanylocations.setDescription('A location has been disabled because you have exceeded the licence limit') autoscalinglicenseerror = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,175)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: autoscalinglicenseerror.setDescription('Autoscaling not permitted by licence key') autoscalinglicenseenabled = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,176)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: autoscalinglicenseenabled.setDescription('Autoscaling support has been enabled') autoscalinglicensedisabled = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,177)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: autoscalinglicensedisabled.setDescription('Autoscaling support has been disabled') analyticslicenseenabled = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,180)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: analyticslicenseenabled.setDescription('Realtime Analytics support has been enabled') analyticslicensedisabled = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,181)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: analyticslicensedisabled.setDescription('Realtime Analytics support has been disabled') poolnonodes = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,64)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: poolnonodes.setDescription('Pool configuration contains no valid backend nodes') poolok = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,65)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: poolok.setDescription('Pool now has working nodes') pooldied = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,66)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: pooldied.setDescription('Pool has no back-end nodes responding') noderesolvefailure = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,67)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: noderesolvefailure.setDescription('Failed to resolve node address') noderesolvemultiple = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,68)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: noderesolvemultiple.setDescription('Node resolves to multiple IP addresses') nodeworking = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,69)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "perPoolNodePoolName"), ("ZXTM-MIB", "perPoolNodeNodeAddressType"), ("ZXTM-MIB", "perPoolNodeNodeAddress"), ("ZXTM-MIB", "perPoolNodeNodePort")) if mibBuilder.loadTexts: nodeworking.setDescription('Node is working again') nostarttls = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,70)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "perPoolNodePoolName"), ("ZXTM-MIB", "perPoolNodeNodeAddressType"), ("ZXTM-MIB", "perPoolNodeNodeAddress"), ("ZXTM-MIB", "perPoolNodeNodePort")) if mibBuilder.loadTexts: nostarttls.setDescription("Node doesn't provide STARTTLS support") nodefail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,71)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "perPoolNodePoolName"), ("ZXTM-MIB", "perPoolNodeNodeAddressType"), ("ZXTM-MIB", "perPoolNodeNodeAddress"), ("ZXTM-MIB", "perPoolNodeNodePort")) if mibBuilder.loadTexts: nodefail.setDescription('Node has failed') starttlsinvalid = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,72)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "perPoolNodePoolName"), ("ZXTM-MIB", "perPoolNodeNodeAddressType"), ("ZXTM-MIB", "perPoolNodeNodeAddress"), ("ZXTM-MIB", "perPoolNodeNodePort")) if mibBuilder.loadTexts: starttlsinvalid.setDescription('Node returned invalid STARTTLS response') ehloinvalid = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,73)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "perPoolNodePoolName"), ("ZXTM-MIB", "perPoolNodeNodeAddressType"), ("ZXTM-MIB", "perPoolNodeNodeAddress"), ("ZXTM-MIB", "perPoolNodeNodePort")) if mibBuilder.loadTexts: ehloinvalid.setDescription('Node returned invalid EHLO response') usedcredsdeleted = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,126)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "cloudcredentialsName")) if mibBuilder.loadTexts: usedcredsdeleted.setDescription('A Cloud Credentials object has been deleted but it was still in use') autoscalestatusupdateerror = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,129)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "cloudcredentialsName")) if mibBuilder.loadTexts: autoscalestatusupdateerror.setDescription('An API call made by the autoscaler process has reported an error') autoscaleresponseparseerror = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,159)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "cloudcredentialsName")) if mibBuilder.loadTexts: autoscaleresponseparseerror.setDescription('An API call made by the autoscaler process has returned a response that could not be parsed') autoscalingchangeprocessfailure = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,182)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalingchangeprocessfailure.setDescription('An API process that should have created or destroyed a node has failed to produce the expected result') autoscalewrongimageid = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,183)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalewrongimageid.setDescription('A node created by the autoscaler has the wrong imageid') autoscalewrongname = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,184)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalewrongname.setDescription('A node created by the autoscaler has a non-matching name') autoscalewrongsizeid = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,185)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalewrongsizeid.setDescription('A node created by the autoscaler has the wrong sizeid') apistatusprocesshanging = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,127)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "cloudcredentialsName")) if mibBuilder.loadTexts: apistatusprocesshanging.setDescription('A cloud API process querying changes to cloud instances is hanging') autonodedestructioncomplete = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,138)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autonodedestructioncomplete.setDescription('The destruction of a node in an autoscaled pool is now complete') autonodeexisted = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,139)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autonodeexisted.setDescription("IP address of newly created instance already existed in pool's node list") autoscaledpooltoosmall = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,140)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscaledpooltoosmall.setDescription('Minimum size undercut - growing') autoscaleinvalidargforcreatenode = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,141)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscaleinvalidargforcreatenode.setDescription("The 'imageid' was empty when attempting to create a node in an autoscaled pool") autonodedisappeared = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,142)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autonodedisappeared.setDescription('A node in an autoscaled pool has disappeared from the cloud') autoscaledpoolrefractory = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,143)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscaledpoolrefractory.setDescription('An autoscaled pool is now refractory') cannotshrinkemptypool = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,144)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: cannotshrinkemptypool.setDescription('Attempt to scale down a pool that only had pending nodes or none at all') autoscalinghysteresiscantgrow = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,145)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalinghysteresiscantgrow.setDescription('An autoscaled pool is waiting to grow') autonodecreationcomplete = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,146)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autonodecreationcomplete.setDescription('The creation of a new node requested by an autoscaled pool is now complete') autonodestatuschange = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,147)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autonodestatuschange.setDescription('The status of a node in an autoscaled pool has changed') autoscalinghysteresiscantshrink = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,148)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalinghysteresiscantshrink.setDescription('An autoscaled pool is waiting to shrink') autoscalingpoolstatechange = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,149)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalingpoolstatechange.setDescription("An autoscaled pool's state has changed") autonodedestroyed = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,128)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autonodedestroyed.setDescription('A cloud API call to destroy a node has been started') autonodecreationstarted = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,165)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autonodecreationstarted.setDescription('Creation of new node instigated') autoscaleinvalidargfordeletenode = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,166)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscaleinvalidargfordeletenode.setDescription("'unique id' was empty when attempting to destroy a node in an autoscaled pool") autoscalinghitroof = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,167)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalinghitroof.setDescription('Maximum size reached by autoscaled pool, cannot grow further') autoscalinghitfloor = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,168)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalinghitfloor.setDescription('Minimum size reached, cannot shrink further') apichangeprocesshanging = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,169)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: apichangeprocesshanging.setDescription('API change process still running after refractory period is over') autoscaledpooltoobig = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,170)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscaledpooltoobig.setDescription('Over maximum size - shrinking') autoscalingprocesstimedout = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,171)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "cloudcredentialsName")) if mibBuilder.loadTexts: autoscalingprocesstimedout.setDescription('A cloud API process has timed out') autoscalingdisabled = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,172)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalingdisabled.setDescription('Autoscaling for a pool has been disabled due to errors communicating with the cloud API') autoscalednodecontested = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,163)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalednodecontested.setDescription('Two pools are trying to use the same instance') autoscalepoolconfupdate = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,164)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalepoolconfupdate.setDescription('A pool config file has been updated by the autoscaler process') autoscalingresuscitatepool = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,188)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: autoscalingresuscitatepool.setDescription('An autoscaled pool has failed completely') flipperraiselocalworking = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,74)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "trafficIPInet46AddressType"), ("ZXTM-MIB", "trafficIPInet46Address")) if mibBuilder.loadTexts: flipperraiselocalworking.setDescription('Raising Traffic IP Address; local machine is working') flipperraiseothersdead = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,75)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "trafficIPInet46AddressType"), ("ZXTM-MIB", "trafficIPInet46Address")) if mibBuilder.loadTexts: flipperraiseothersdead.setDescription('Raising Traffic IP Address; other machines have failed') flipperraiseosdrop = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,76)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "trafficIPInet46AddressType"), ("ZXTM-MIB", "trafficIPInet46Address")) if mibBuilder.loadTexts: flipperraiseosdrop.setDescription('Raising Traffic IP Address; Operating System had dropped this IP address') dropipinfo = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,77)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "trafficIPInet46AddressType"), ("ZXTM-MIB", "trafficIPInet46Address")) if mibBuilder.loadTexts: dropipinfo.setDescription('Dropping Traffic IP Address due to a configuration change or traffic manager recovery') dropipwarn = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,78)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "trafficIPInet46AddressType"), ("ZXTM-MIB", "trafficIPInet46Address")) if mibBuilder.loadTexts: dropipwarn.setDescription('Dropping Traffic IP Address due to an error') flipperdadreraise = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,79)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "trafficIPInet46AddressType"), ("ZXTM-MIB", "trafficIPInet46Address")) if mibBuilder.loadTexts: flipperdadreraise.setDescription('Re-raising Traffic IP Address; Operating system did not fully raise the address') flipperipexists = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,80)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "trafficIPInet46AddressType"), ("ZXTM-MIB", "trafficIPInet46Address")) if mibBuilder.loadTexts: flipperipexists.setDescription('Failed to raise Traffic IP Address; the address exists elsewhere on your network and cannot be raised') triggersummary = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,81)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "serviceProtName")) if mibBuilder.loadTexts: triggersummary.setDescription('Summary of recent service protection events') slmclasslimitexceeded = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,82)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: slmclasslimitexceeded.setDescription('SLM shared memory limit exceeded') slmrecoveredwarn = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,83)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "serviceLevelName")) if mibBuilder.loadTexts: slmrecoveredwarn.setDescription('SLM has recovered') slmrecoveredserious = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,84)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "serviceLevelName")) if mibBuilder.loadTexts: slmrecoveredserious.setDescription('SLM has risen above the serious threshold') slmfallenbelowwarn = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,85)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "serviceLevelName")) if mibBuilder.loadTexts: slmfallenbelowwarn.setDescription('SLM has fallen below warning threshold') slmfallenbelowserious = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,86)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "serviceLevelName")) if mibBuilder.loadTexts: slmfallenbelowserious.setDescription('SLM has fallen below serious threshold') vscrloutofdate = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,87)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: vscrloutofdate.setDescription('CRL for a Certificate Authority is out of date') vsstart = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,88)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: vsstart.setDescription('Virtual server started') vsstop = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,89)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: vsstop.setDescription('Virtual server stopped') privkeyok = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,90)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: privkeyok.setDescription('Private key now OK (hardware available)') ssldrop = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,91)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: ssldrop.setDescription('Request(s) received while SSL configuration invalid, connection closed') vslogwritefail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,92)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: vslogwritefail.setDescription('Failed to write log file for virtual server') vssslcertexpired = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,93)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: vssslcertexpired.setDescription('Public SSL certificate expired') vssslcerttoexpire = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,94)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: vssslcerttoexpire.setDescription('Public SSL certificate will expire within seven days') vscacertexpired = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,95)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: vscacertexpired.setDescription('Certificate Authority certificate expired') vscacerttoexpire = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,96)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: vscacerttoexpire.setDescription('Certificate Authority certificate will expire within seven days') glbmissingips = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,150)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: glbmissingips.setDescription('A DNS Query returned IP addresses that are not configured in any location') glbdeadlocmissingips = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,158)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: glbdeadlocmissingips.setDescription('A DNS Query returned IP addresses that are not configured for any location that is currently alive') glbnolocations = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,151)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: glbnolocations.setDescription('No valid location could be chosen for Global Load Balancing') locationmonitorok = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,152)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "locationName"), ("ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: locationmonitorok.setDescription('A monitor has indicated this location is now working') locationmonitorfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,153)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "locationName"), ("ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: locationmonitorfail.setDescription('A monitor has detected a failure in this location') locationok = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,154)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "locationName"), ("ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: locationok.setDescription('Location is now working for GLB Service') locationfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,155)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "locationName"), ("ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: locationfail.setDescription('Location has failed for GLB Service') locationsoapok = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,156)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "locationName"), ("ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: locationsoapok.setDescription('An external SOAP agent indicates this location is now working') locationsoapfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,157)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "locationName"), ("ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: locationsoapfail.setDescription('An external SOAP agent has detected a failure in this location') glbnewmaster = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,160)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "locationName"), ("ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: glbnewmaster.setDescription('A location has been set as master for a GLB service') glblogwritefail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,161)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: glblogwritefail.setDescription('Failed to write log file for GLB service') glbfailalter = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,162)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: glbfailalter.setDescription('Failed to alter DNS packet for global load balancing') glbservicedied = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,190)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: glbservicedied.setDescription('GLB Service has no working locations') glbserviceok = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,191)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "glbServiceName")) if mibBuilder.loadTexts: glbserviceok.setDescription('GLB Service has recovered') locmovemachine = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,173)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "locationName"), ("ZXTM-MIB", "zxtmName")) if mibBuilder.loadTexts: locmovemachine.setDescription('Machine now in location') locempty = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,174)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "locationName")) if mibBuilder.loadTexts: locempty.setDescription('Location no longer contains any machines') maxclientbufferdrop = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,97)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: maxclientbufferdrop.setDescription('Dropped connection, request exceeded max_client_buffer limit') respcompfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,98)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: respcompfail.setDescription('Error compressing HTTP response') responsetoolarge = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,99)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: responsetoolarge.setDescription('Response headers from webserver too large') sipstreamnoports = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,100)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: sipstreamnoports.setDescription('No suitable ports available for streaming data connection') rtspstreamnoports = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,101)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: rtspstreamnoports.setDescription('No suitable ports available for streaming data connection') geodataloadfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,102)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: geodataloadfail.setDescription('Failed to load geolocation data') poolpersistencemismatch = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,103)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: poolpersistencemismatch.setDescription("Pool uses a session persistence class that does not work with this virtual server's protocol") connerror = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,104)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: connerror.setDescription('A protocol error has occurred') connfail = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,105)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: connfail.setDescription('A socket connection failure has occurred') badcontentlen = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,106)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "poolName")) if mibBuilder.loadTexts: badcontentlen.setDescription('HTTP response contained an invalid Content-Length header') logfiledeleted = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,115)).setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "virtualserverName")) if mibBuilder.loadTexts: logfiledeleted.setDescription('A virtual server request log file was deleted (Zeus Appliances only)') license_graceperiodexpired = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,116)).setLabel("license-graceperiodexpired").setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: license_graceperiodexpired.setDescription('Unable to authorize license key') license_authorized = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,117)).setLabel("license-authorized").setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: license_authorized.setDescription('License key authorized') license_rejected_authorized = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,118)).setLabel("license-rejected-authorized").setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: license_rejected_authorized.setDescription('License server rejected license key; key remains authorized') license_rejected_unauthorized = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,119)).setLabel("license-rejected-unauthorized").setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: license_rejected_unauthorized.setDescription('License server rejected license key; key is not authorized') license_timedout_authorized = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,120)).setLabel("license-timedout-authorized").setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: license_timedout_authorized.setDescription('Unable to contact license server; license key remains authorized') license_timedout_unauthorized = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,121)).setLabel("license-timedout-unauthorized").setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: license_timedout_unauthorized.setDescription('Unable to contact license server; license key is not authorized') license_unauthorized = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,122)).setLabel("license-unauthorized").setObjects(("ZXTM-MIB", "fullLogLine"), ("ZXTM-MIB", "licensekeyName")) if mibBuilder.loadTexts: license_unauthorized.setDescription('License key is not authorized') logdiskoverload = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,186)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: logdiskoverload.setDescription('Log disk partition usage has exceeded threshold') logdiskfull = NotificationType((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0,187)).setObjects(("ZXTM-MIB", "fullLogLine")) if mibBuilder.loadTexts: logdiskfull.setDescription('Log disk partition full') cloudcredentialsClassNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cloudcredentialsClassNumber.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsClassNumber.setDescription('The number of cloud credentials sets defined.') cloudcredentialsTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2), ) if mibBuilder.loadTexts: cloudcredentialsTable.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsTable.setDescription('This table provides statistics for cloud credentials sets.') cloudcredentialsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "cloudcredentialsName")) if mibBuilder.loadTexts: cloudcredentialsEntry.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsEntry.setDescription('This defines a row in the cloud credentials table.') cloudcredentialsName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cloudcredentialsName.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsName.setDescription('The name of this set of cloud credentials.') cloudcredentialsStatusRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cloudcredentialsStatusRequests.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsStatusRequests.setDescription('The number of status API requests made with this set of cloud credentials.') cloudcredentialsNodeCreations = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cloudcredentialsNodeCreations.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsNodeCreations.setDescription('The number of instance creation API requests made with this set of cloud credentials.') cloudcredentialsNodeDeletions = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cloudcredentialsNodeDeletions.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsNodeDeletions.setDescription('The number of instance destruction API requests made with this set of cloud credentials.') listenIPTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2), ) if mibBuilder.loadTexts: listenIPTable.setStatus('mandatory') if mibBuilder.loadTexts: listenIPTable.setDescription('This table defines all the information for a particular listening IP (includes IPv4 and IPv6 addresses).') listenIPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "listenIPAddressType"), (0, "ZXTM-MIB", "listenIPAddress")) if mibBuilder.loadTexts: listenIPEntry.setStatus('mandatory') if mibBuilder.loadTexts: listenIPEntry.setDescription('This defines a row in the listenips table (includes IPv4 and IPv6 addresses).') listenIPAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 1), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: listenIPAddressType.setStatus('mandatory') if mibBuilder.loadTexts: listenIPAddressType.setDescription('The IP address type of this listening IP.') listenIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 2), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: listenIPAddress.setStatus('mandatory') if mibBuilder.loadTexts: listenIPAddress.setDescription('The IPv4 or IPv6 address of this listening IP.') listenIPBytesInLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: listenIPBytesInLo.setStatus('mandatory') if mibBuilder.loadTexts: listenIPBytesInLo.setDescription('Bytes sent to this listening IP ( low 32bits ).') listenIPBytesInHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: listenIPBytesInHi.setStatus('mandatory') if mibBuilder.loadTexts: listenIPBytesInHi.setDescription('Bytes sent to this listening IP ( high 32bits ).') listenIPBytesOutLo = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: listenIPBytesOutLo.setStatus('mandatory') if mibBuilder.loadTexts: listenIPBytesOutLo.setDescription('Bytes sent from this listening IP ( low 32bits ).') listenIPBytesOutHi = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: listenIPBytesOutHi.setStatus('mandatory') if mibBuilder.loadTexts: listenIPBytesOutHi.setDescription('Bytes sent from this listening IP ( high 32bits ).') listenIPCurrentConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 7), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: listenIPCurrentConn.setStatus('mandatory') if mibBuilder.loadTexts: listenIPCurrentConn.setDescription('TCP connections currently established to this listening IP.') listenIPTotalConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: listenIPTotalConn.setStatus('mandatory') if mibBuilder.loadTexts: listenIPTotalConn.setDescription('Requests sent to this listening IP.') listenIPMaxConn = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 9), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: listenIPMaxConn.setStatus('mandatory') if mibBuilder.loadTexts: listenIPMaxConn.setDescription('Maximum number of simultaneous TCP connections this listening IP has processed at any one time.') authenticatorNumber = MibScalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: authenticatorNumber.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorNumber.setDescription('The number of Authenticators.') authenticatorTable = MibTable((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2), ) if mibBuilder.loadTexts: authenticatorTable.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorTable.setDescription('This table provides information and statistics for Authenticators.') authenticatorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1), ).setIndexNames((0, "ZXTM-MIB", "authenticatorName")) if mibBuilder.loadTexts: authenticatorEntry.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorEntry.setDescription('This defines a row in the authenticators table.') authenticatorName = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: authenticatorName.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorName.setDescription('The name of the Authenticator.') authenticatorRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: authenticatorRequests.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorRequests.setDescription('Number of times this Authenticator has been asked to authenticate.') authenticatorPasses = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: authenticatorPasses.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorPasses.setDescription('Number of times this Authenticator has successfully authenticated.') authenticatorFails = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: authenticatorFails.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorFails.setDescription('Number of times this Authenticator has failed to authenticate.') authenticatorErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: authenticatorErrors.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorErrors.setDescription('Number of connection errors that have occured when trying to connect to an authentication server.') mibBuilder.exportSymbols("ZXTM-MIB", nodeFailures=nodeFailures, trafficIPEntry=trafficIPEntry, perPoolNodeBytesFromNodeHi=perPoolNodeBytesFromNodeHi, statebaddata=statebaddata, customevent=customevent, license_timedout_unauthorized=license_timedout_unauthorized, trafficIPInet46AddressType=trafficIPInet46AddressType, perNodeServiceLevelInet46NodeAddress=perNodeServiceLevelInet46NodeAddress, license_timedout_authorized=license_timedout_authorized, perLocationServiceLocationCode=perLocationServiceLocationCode, testaction=testaction, sslCipherDecrypts=sslCipherDecrypts, autonodeexisted=autonodeexisted, flipperraiseothersdead=flipperraiseothersdead, virtualserverConnectionFailures=virtualserverConnectionFailures, monitorName=monitorName, rulestreamerrornotfinished=rulestreamerrornotfinished, poolBytesOutLo=poolBytesOutLo, rateClassCurrentRate=rateClassCurrentRate, hardware=hardware, licenseclustertoobig=licenseclustertoobig, virtualserverMaxConn=virtualserverMaxConn, ruleAborts=ruleAborts, poolBytesInLo=poolBytesInLo, poolName=poolName, glbnolocations=glbnolocations, slmfallenbelowwarn=slmfallenbelowwarn, virtualserverConnectTimedOut=virtualserverConnectTimedOut, nodeNumberInet46=nodeNumberInet46, poolNodes=poolNodes, autoscaleinvalidargforcreatenode=autoscaleinvalidargforcreatenode, poolNumber=poolNumber, trafficIPInet46State=trafficIPInet46State, stateconnfail=stateconnfail, bandwidthClassGuarantee=bandwidthClassGuarantee, cloudcredentialsName=cloudcredentialsName, perPoolNodeIdleConns=perPoolNodeIdleConns, sslSessionIDDiskCacheHit=sslSessionIDDiskCacheHit, perPoolNodeBytesFromNodeLo=perPoolNodeBytesFromNodeLo, perLocationServiceLocationName=perLocationServiceLocationName, cloudcredentials=cloudcredentials, running=running, perPoolNodeCurrentRequests=perPoolNodeCurrentRequests, listenIPEntry=listenIPEntry, perNodeServiceLevelInet46SLMName=perNodeServiceLevelInet46SLMName, authenticatorEntry=authenticatorEntry, poolConnsQueued=poolConnsQueued, nodeInet46HostName=nodeInet46HostName, sslConnections=sslConnections, autoscalinglicenseenabled=autoscalinglicenseenabled, uniSessionCacheOldest=uniSessionCacheOldest, nodeBytesToNodeLo=nodeBytesToNodeLo, totalBytesInLo=totalBytesInLo, rateClassQueueLength=rateClassQueueLength, perNodeServiceLevelInet46Table=perNodeServiceLevelInet46Table, ipSessionCacheLookups=ipSessionCacheLookups, sslCipherDESDecrypts=sslCipherDESDecrypts, perPoolNodeTotalConn=perPoolNodeTotalConn, trafficIPTime=trafficIPTime, authenticatorName=authenticatorName, rateClassEntry=rateClassEntry, triggersummary=triggersummary, j2eeSessionCacheHitRate=j2eeSessionCacheHitRate, rateClassNumber=rateClassNumber, locationLoad=locationLoad, rulestreamerrornotstarted=rulestreamerrornotstarted, pernodeservicelevelmon=pernodeservicelevelmon, poolTotalConn=poolTotalConn, nodeInet46Table=nodeInet46Table, virtualservers=virtualservers, j2eeSessionCacheMisses=j2eeSessionCacheMisses, rulenopersistence=rulenopersistence, perPoolNodeResponseMean=perPoolNodeResponseMean, machinetimeout=machinetimeout, perPoolNodePooledConn=perPoolNodePooledConn, sslSessionCacheEntriesMax=sslSessionCacheEntriesMax, nodeInet46Entry=nodeInet46Entry, customEventName=customEventName, sslSessionCacheMisses=sslSessionCacheMisses, sysMemBuffered=sysMemBuffered, license_rejected_authorized=license_rejected_authorized, sysMemTotal=sysMemTotal, confrepfailed=confrepfailed, events=events, sslCipherRC4Decrypts=sslCipherRC4Decrypts, cloudcredentialsEntry=cloudcredentialsEntry, timeLastConfigUpdate=timeLastConfigUpdate, webCacheMissesHi=webCacheMissesHi, autoscalewrongimageid=autoscalewrongimageid, nodeInet46TotalConn=nodeInet46TotalConn, bandwidthClassBytesOutLo=bandwidthClassBytesOutLo, badcontentlen=badcontentlen, rateClassName=rateClassName, poolnonodes=poolnonodes, perLocationServiceLoad=perLocationServiceLoad, trafficIPARPMessage=trafficIPARPMessage, perNodeServiceLevelNodePort=perNodeServiceLevelNodePort, tpslimited=tpslimited, rulestreamerrornotenough=rulestreamerrornotenough, nodeworking=nodeworking, glbnewmaster=glbnewmaster, nodeInet46State=nodeInet46State, monitorfail=monitorfail, perNodeServiceLevelResponseMax=perNodeServiceLevelResponseMax, perLocationServiceName=perLocationServiceName, authenticators=authenticators, virtualserverPort=virtualserverPort, aspSessionCacheHits=aspSessionCacheHits, autonodedisappeared=autonodedisappeared, sslhwstart=sslhwstart, interfaceTxBytesHi=interfaceTxBytesHi, webCacheMaxEntries=webCacheMaxEntries, sslCipher3DESEncrypts=sslCipher3DESEncrypts, sslCacheOldest=sslCacheOldest, sslCacheHits=sslCacheHits, rulebodycomperror=rulebodycomperror, sslCipher3DESDecrypts=sslCipher3DESDecrypts, nodeInet46BytesToNodeHi=nodeInet46BytesToNodeHi, totalBytesOutHi=totalBytesOutHi, poolMaxQueueTime=poolMaxQueueTime, ruleEntry=ruleEntry, rulestreamerrorinternal=rulestreamerrorinternal, serviceProtRefusalRFC2396=serviceProtRefusalRFC2396, sysMemSwapped=sysMemSwapped, license_authorized=license_authorized, zxtmTable=zxtmTable, serviceProtTable=serviceProtTable, ipSessionCacheEntries=ipSessionCacheEntries, sslhwrestart=sslhwrestart, rateClassTable=rateClassTable, numberDNSACacheHits=numberDNSACacheHits, eventsMatched=eventsMatched, licensekeyName=licensekeyName, bandwidthClassBytesOutHi=bandwidthClassBytesOutHi, licensekeys=licensekeys, noderesolvefailure=noderesolvefailure, virtualserverHttpCacheHitRate=virtualserverHttpCacheHitRate, autoscalepoolconfupdate=autoscalepoolconfupdate, vssslcerttoexpire=vssslcerttoexpire, autoscalewrongname=autoscalewrongname, listenIPTable=listenIPTable, ehloinvalid=ehloinvalid, perNodeServiceLevelInet46NodeAddressType=perNodeServiceLevelInet46NodeAddressType, aspSessionCacheHitRate=aspSessionCacheHitRate, sslSessionCacheHits=sslSessionCacheHits, virtualserverDataTimedOut=virtualserverDataTimedOut, javastartfail=javastartfail, locationsoapfail=locationsoapfail, license_graceperiodexpired=license_graceperiodexpired, javaterminatefail=javaterminatefail, serviceLevelEntry=serviceLevelEntry, nodeInet46ResponseMax=nodeInet46ResponseMax, serviceProtRefusalConc10IP=serviceProtRefusalConc10IP, monitorTable=monitorTable, autonodedestructioncomplete=autonodedestructioncomplete, sslHandshakeSSLv2=sslHandshakeSSLv2, webCacheLookupsLo=webCacheLookupsLo, cloudcredentialsStatusRequests=cloudcredentialsStatusRequests, interfaceEntry=interfaceEntry, webCacheHitsHi=webCacheHitsHi, sslCipherRSAEncryptsExternal=sslCipherRSAEncryptsExternal, autoscalinghitroof=autoscalinghitroof, nodeInet46IdleConns=nodeInet46IdleConns, virtualserverBytesInHi=virtualserverBytesInHi, perNodeServiceLevelTotalNonConf=perNodeServiceLevelTotalNonConf, uniSessionCacheEntries=uniSessionCacheEntries, cloudcredentialsNodeDeletions=cloudcredentialsNodeDeletions, serviceLevelResponseMean=serviceLevelResponseMean, perNodeServiceLevelInet46ResponseMean=perNodeServiceLevelInet46ResponseMean, usingdevlicense=usingdevlicense, pools=pools, ssldrop=ssldrop, pinggwfail=pinggwfail, sslSessionIDMemCacheMiss=sslSessionIDMemCacheMiss, nodeInet46CurrentRequests=nodeInet46CurrentRequests, sslClientCertInvalid=sslClientCertInvalid, trafficIPGatewayPingRequests=trafficIPGatewayPingRequests, rulelogmsgserious=rulelogmsgserious, rulexmlerr=rulexmlerr, logfiledeleted=logfiledeleted, cloudcredentialsClassNumber=cloudcredentialsClassNumber, aspSessionCacheMisses=aspSessionCacheMisses, connerror=connerror, sslSessionIDMemCacheHit=sslSessionIDMemCacheHit, eventTable=eventTable, numberSNMPBadRequests=numberSNMPBadRequests, autoscalingresuscitatepool=autoscalingresuscitatepool, rateClassConnsEntered=rateClassConnsEntered, sslSessionCacheLookups=sslSessionCacheLookups, pooluseunknown=pooluseunknown, norate=norate, autoscalingprocesstimedout=autoscalingprocesstimedout, flipperraiselocalworking=flipperraiselocalworking, nodeResponseMax=nodeResponseMax, autonodecreationstarted=autonodecreationstarted, actionTable=actionTable, vslogwritefail=vslogwritefail, poolSessionMigrated=poolSessionMigrated, nodeResponseMin=nodeResponseMin, serviceProtLastRefusalTime=serviceProtLastRefusalTime, confok=confok, totalBytesOutLo=totalBytesOutLo, sslCacheEntriesMax=sslCacheEntriesMax, serviceLevelName=serviceLevelName, perPoolNodeNodeAddressType=perPoolNodeNodeAddressType, cloudcredentialsTable=cloudcredentialsTable, javastop=javastop, trafficIPNumberRaisedInet46=trafficIPNumberRaisedInet46, restartrequired=restartrequired, glbServiceNumber=glbServiceNumber, numberChildProcesses=numberChildProcesses, totalCurrentConn=totalCurrentConn, j2eeSessionCacheEntriesMax=j2eeSessionCacheEntriesMax, aspSessionCacheEntries=aspSessionCacheEntries, nodeResponseMean=nodeResponseMean, trafficIPPingResponseErrors=trafficIPPingResponseErrors, serviceProtNumber=serviceProtNumber, autoscaledpoolrefractory=autoscaledpoolrefractory, sslCacheLookups=sslCacheLookups, version=version, aspSessionCacheOldest=aspSessionCacheOldest, perNodeServiceLevelNodeIPAddr=perNodeServiceLevelNodeIPAddr, locationName=locationName, zxtmswerror=zxtmswerror, allmachinesok=allmachinesok, responsetoolarge=responsetoolarge, bandwidthClassEntry=bandwidthClassEntry, rulelogmsgwarn=rulelogmsgwarn, perPoolNodeErrors=perPoolNodeErrors, poolEntry=poolEntry, perPoolNodeNodeHostName=perPoolNodeNodeHostName, javadied=javadied, webCacheEntries=webCacheEntries, listenIPBytesInHi=listenIPBytesInHi, authenticatorTable=authenticatorTable, numberSNMPUnauthorisedRequests=numberSNMPUnauthorisedRequests, rtspstreamnoports=rtspstreamnoports, virtualserverEntry=virtualserverEntry, virtualserverSIPTotalCalls=virtualserverSIPTotalCalls, poolPersistence=poolPersistence, autoscaledpooltoobig=autoscaledpooltoobig, trafficIPNodePingRequests=trafficIPNodePingRequests, virtualserverUdpTimedOut=virtualserverUdpTimedOut, perPoolNodeCurrentConn=perPoolNodeCurrentConn, glbserviceok=glbserviceok, licensetoomanylocations=licensetoomanylocations, nodeHostName=nodeHostName, virtualserverCurrentConn=virtualserverCurrentConn, nodeInet46Errors=nodeInet46Errors, pingfrontendfail=pingfrontendfail, sslCipherRSADecryptsExternal=sslCipherRSADecryptsExternal, activatedautomatically=activatedautomatically, nodes=nodes, noderesolvemultiple=noderesolvemultiple) mibBuilder.exportSymbols("ZXTM-MIB", poolFailPool=poolFailPool, licensekeyTable=licensekeyTable, flipperipexists=flipperipexists, autoscalednodecontested=autoscalednodecontested, servicerulelocnotconfigured=servicerulelocnotconfigured, serviceProtName=serviceProtName, ruleTable=ruleTable, apistatusprocesshanging=apistatusprocesshanging, bandwidthClassName=bandwidthClassName, autoscaledpooltoosmall=autoscaledpooltoosmall, rateClassMaxRatePerMin=rateClassMaxRatePerMin, authenticatorFails=authenticatorFails, autonodecreationcomplete=autonodecreationcomplete, ruleResponds=ruleResponds, slmfallenbelowserious=slmfallenbelowserious, ruleRetries=ruleRetries, sslClientCertNotSent=sslClientCertNotSent, perNodeServiceLevelInet46NodePort=perNodeServiceLevelInet46NodePort, autoscalingpoolstatechange=autoscalingpoolstatechange, nodeInet46ResponseMin=nodeInet46ResponseMin, rulestreamerrorgetresponse=rulestreamerrorgetresponse, totalConn=totalConn, virtualserverHttpRewriteCookie=virtualserverHttpRewriteCookie, glbServiceTable=glbServiceTable, usedcredsdeleted=usedcredsdeleted, totalBytesInHi=totalBytesInHi, sysCPUIdlePercent=sysCPUIdlePercent, sslHandshakeTLSv1=sslHandshakeTLSv1, statetimeout=statetimeout, perLocationServiceMonitorState=perLocationServiceMonitorState, aspSessionCacheLookups=aspSessionCacheLookups, monitorNumber=monitorNumber, nodeErrors=nodeErrors, sysCPUBusyPercent=sysCPUBusyPercent, slmclasslimitexceeded=slmclasslimitexceeded, autherror=autherror, geodataloadfail=geodataloadfail, sipstreamnoports=sipstreamnoports, license_rejected_unauthorized=license_rejected_unauthorized, interfaceTxBytesLo=interfaceTxBytesLo, webCacheMemMaximum=webCacheMemMaximum, nostarttls=nostarttls, stateok=stateok, serviceProtRefusalSize=serviceProtRefusalSize, totalBadDNSPackets=totalBadDNSPackets, serviceLevelConforming=serviceLevelConforming, nodePort=nodePort, perPoolNodeNewConn=perPoolNodeNewConn, poolactivenodesunknown=poolactivenodesunknown, sysMemFree=sysMemFree, trafficIPInet46Time=trafficIPInet46Time, virtualserverName=virtualserverName, actions=actions, nodeInet46Port=nodeInet46Port, listenIPAddressType=listenIPAddressType, autoscalinghysteresiscantgrow=autoscalinghysteresiscantgrow, nodeInet46PooledConn=nodeInet46PooledConn, sysMemSwapTotal=sysMemSwapTotal, licensecorrupt=licensecorrupt, pooldied=pooldied, flipperfrontendsworking=flipperfrontendsworking, locationok=locationok, datastorefull=datastorefull, perNodeServiceLevelTotalConn=perNodeServiceLevelTotalConn, actionName=actionName, sslCipherRSAEncrypts=sslCipherRSAEncrypts, nodeEntry=nodeEntry, virtualserverHttpRewriteLocation=virtualserverHttpRewriteLocation, poolok=poolok, virtualserverBytesInLo=virtualserverBytesInLo, virtualserverHttpCacheHits=virtualserverHttpCacheHits, dataEntries=dataEntries, numberSNMPGetNextRequests=numberSNMPGetNextRequests, nodefail=nodefail, confName=confName, interfaceCollisions=interfaceCollisions, javastarted=javastarted, zxtm=zxtm, zxtms=zxtms, trafficIPNodePingResponses=trafficIPNodePingResponses, sysFDsFree=sysFDsFree, ruleabort=ruleabort, userCounterValue=userCounterValue, trafficIPTable=trafficIPTable, nodeInet46NewConn=nodeInet46NewConn, ssltpslimited=ssltpslimited, zxtmName=zxtmName, unlicensed=unlicensed, locationResponses=locationResponses, zxtmNumber=zxtmNumber, monitorEntry=monitorEntry, flipperrecovered=flipperrecovered, sslSessionIDDiskCacheMiss=sslSessionIDDiskCacheMiss, rulestreamerrortoomuch=rulestreamerrortoomuch, bandwidthClassTable=bandwidthClassTable, webCacheLookupsHi=webCacheLookupsHi, ec2flipperraiseothersdead=ec2flipperraiseothersdead, locationmonitorok=locationmonitorok, cannotshrinkemptypool=cannotshrinkemptypool, serviceProtTotalRefusal=serviceProtTotalRefusal, numberSNMPGetRequests=numberSNMPGetRequests, glbServiceResponses=glbServiceResponses, rules=rules, numIdleConnections=numIdleConnections, locationTable=locationTable, webCacheOldest=webCacheOldest, autoscalinglicensedisabled=autoscalinglicensedisabled, servicerulelocunknown=servicerulelocunknown, poolMinQueueTime=poolMinQueueTime, serviceProtRefusalConnRate=serviceProtRefusalConnRate, autoscalinghysteresiscantshrink=autoscalinghysteresiscantshrink, perPoolNodeNodeAddress=perPoolNodeNodeAddress, glbServiceUnmodified=glbServiceUnmodified, trafficIPNumberRaised=trafficIPNumberRaised, autonodestatuschange=autonodestatuschange, webCacheMissesLo=webCacheMissesLo, listenIPAddress=listenIPAddress, sysCPUSystemBusyPercent=sysCPUSystemBusyPercent, totalTransactions=totalTransactions, monitors=monitors, serviceProtRefusalBinary=serviceProtRefusalBinary, virtualserverNumber=virtualserverNumber, locmovemachine=locmovemachine, actionNumber=actionNumber, serviceLevelTotalConn=serviceLevelTotalConn, virtualserverTotalConn=virtualserverTotalConn, virtualserverGzipBytesSavedHi=virtualserverGzipBytesSavedHi, poolDisabled=poolDisabled, slmrecoveredwarn=slmrecoveredwarn, connfail=connfail, flipperbackendsworking=flipperbackendsworking, poolMeanQueueTime=poolMeanQueueTime, numberDNSPTRRequests=numberDNSPTRRequests, serviceProtRefusalConc1IP=serviceProtRefusalConc1IP, bandwidthmgt=bandwidthmgt, aspsessioncache=aspsessioncache, webCacheMemUsed=webCacheMemUsed, perLocationServiceDraining=perLocationServiceDraining, nodeNumber=nodeNumber, nodeInet46AddressType=nodeInet46AddressType, virtualserverDiscard=virtualserverDiscard, serviceLevelNumber=serviceLevelNumber, nodeInet46Failures=nodeInet46Failures, serviceLevelCurrentConns=serviceLevelCurrentConns, poolDraining=poolDraining, serviceProtEntry=serviceProtEntry, zxtmEntry=zxtmEntry, virtualserverKeepaliveTimedOut=virtualserverKeepaliveTimedOut, autoscalingchangeprocessfailure=autoscalingchangeprocessfailure, perlocationservices=perlocationservices, userCounterNumber=userCounterNumber, machinefail=machinefail, eventNumber=eventNumber, perLocationServiceTable=perLocationServiceTable, timemovedback=timemovedback, javanotfound=javanotfound, forwardproxybadhost=forwardproxybadhost, trafficIPAddress=trafficIPAddress, maxclientbufferdrop=maxclientbufferdrop, uniSessionCacheHits=uniSessionCacheHits, logdiskfull=logdiskfull, dropipwarn=dropipwarn, sslCipherRC4Encrypts=sslCipherRC4Encrypts, serviceLevelResponseMax=serviceLevelResponseMax, licensekeyNumber=licensekeyNumber, ipSessionCacheHitRate=ipSessionCacheHitRate, bwlimited=bwlimited, extra=extra, serviceProtRefusalIP=serviceProtRefusalIP, nodeBytesToNodeHi=nodeBytesToNodeHi, poolTable=poolTable, authenticatorNumber=authenticatorNumber, listenips=listenips, sslCipherDESEncrypts=sslCipherDESEncrypts, cachesizereduced=cachesizereduced, ruleNumber=ruleNumber, interfaceRxErrors=interfaceRxErrors, virtualserverDirectReplies=virtualserverDirectReplies, upTime=upTime, j2eeSessionCacheHits=j2eeSessionCacheHits, userCounterTable=userCounterTable, locempty=locempty, flipperdadreraise=flipperdadreraise, interfaceRxBytesHi=interfaceRxBytesHi, fullLogLine=fullLogLine, rateClassConnsLeft=rateClassConnsLeft, vsstart=vsstart, sslCacheMisses=sslCacheMisses, logdiskoverload=logdiskoverload, uniSessionCacheHitRate=uniSessionCacheHitRate, sslSessionCacheEntries=sslSessionCacheEntries, nodePooledConn=nodePooledConn, virtualserverTable=virtualserverTable, trafficIPGatewayPingResponses=trafficIPGatewayPingResponses, glbdeadlocmissingips=glbdeadlocmissingips, perLocationServiceState=perLocationServiceState, stateunexpected=stateunexpected, autoscalewrongsizeid=autoscalewrongsizeid, poolBytesInHi=poolBytesInHi, perLocationServiceResponses=perLocationServiceResponses, eventEntry=eventEntry, glblogwritefail=glblogwritefail, poolQueueTimeouts=poolQueueTimeouts, perNodeServiceLevelEntry=perNodeServiceLevelEntry, zeus=zeus, perPoolNodeBytesToNodeLo=perPoolNodeBytesToNodeLo, nodeInet46Address=nodeInet46Address, interfaceTable=interfaceTable, sslCacheHitRate=sslCacheHitRate, machinerecovered=machinerecovered, sslhwfail=sslhwfail, zclustermoderr=zclustermoderr, rulePoolSelect=rulePoolSelect, perLocationServiceEntry=perLocationServiceEntry, vscacertexpired=vscacertexpired, interfaceRxBytesLo=interfaceRxBytesLo, ec2flipperraiselocalworking=ec2flipperraiselocalworking, ipSessionCacheEntriesMax=ipSessionCacheEntriesMax, locationEntry=locationEntry, statewritefail=statewritefail, respcompfail=respcompfail, numberDNSPTRCacheHits=numberDNSPTRCacheHits, locationmonitorfail=locationmonitorfail, perNodeServiceLevelInet46ResponseMin=perNodeServiceLevelInet46ResponseMin, autonodedestroyed=autonodedestroyed, eventsSeen=eventsSeen, sslCipherAESDecrypts=sslCipherAESDecrypts, glbServiceName=glbServiceName, serviceLevelResponseMin=serviceLevelResponseMin, uniSessionCacheMisses=uniSessionCacheMisses, nodeBytesFromNodeLo=nodeBytesFromNodeLo, sslHandshakeTLSv11=sslHandshakeTLSv11, rulebufferlarge=rulebufferlarge, slmrecoveredserious=slmrecoveredserious, pingbackendfail=pingbackendfail, ipsessioncache=ipsessioncache, virtualserverConnectionErrors=virtualserverConnectionErrors, perPoolNodeBytesToNodeHi=perPoolNodeBytesToNodeHi, actionEntry=actionEntry, locationfail=locationfail, autoscalingdisabled=autoscalingdisabled, ruleExecutions=ruleExecutions, serviceLevelTable=serviceLevelTable, ipSessionCacheHits=ipSessionCacheHits, virtualserverBytesOutHi=virtualserverBytesOutHi, poolAlgorithm=poolAlgorithm, perPoolNodeResponseMax=perPoolNodeResponseMax, glbmissingips=glbmissingips, j2eeSessionCacheEntries=j2eeSessionCacheEntries, netinterfaces=netinterfaces, aspSessionCacheEntriesMax=aspSessionCacheEntriesMax, uniSessionCacheLookups=uniSessionCacheLookups, glbServiceDiscarded=glbServiceDiscarded, vscrloutofdate=vscrloutofdate) mibBuilder.exportSymbols("ZXTM-MIB", perPoolNodeTable=perPoolNodeTable, interfaceNumber=interfaceNumber, analyticslicensedisabled=analyticslicensedisabled, expiresoon=expiresoon, j2eeSessionCacheOldest=j2eeSessionCacheOldest, listenIPTotalConn=listenIPTotalConn, virtualserverProtocol=virtualserverProtocol, webcache=webcache, sysMemInUse=sysMemInUse, interfaceTxPackets=interfaceTxPackets, trafficIPNumberInet46=trafficIPNumberInet46, numberDNSARequests=numberDNSARequests, vsstop=vsstop, cache=cache, dropipinfo=dropipinfo, uniSessionCacheEntriesMax=uniSessionCacheEntriesMax, zxtmtraps=zxtmtraps, trafficips=trafficips, virtualserverTotalDgram=virtualserverTotalDgram, listenIPMaxConn=listenIPMaxConn, invalidemit=invalidemit, listenIPBytesOutHi=listenIPBytesOutHi, virtualserverSIPRejectedRequests=virtualserverSIPRejectedRequests, nodeInet46BytesToNodeLo=nodeInet46BytesToNodeLo, ipSessionCacheOldest=ipSessionCacheOldest, locationCode=locationCode, interfaceTxErrors=interfaceTxErrors, lessmemallowed=lessmemallowed, perNodeServiceLevelResponseMean=perNodeServiceLevelResponseMean, glbServiceEntry=glbServiceEntry, serviceruleabort=serviceruleabort, sslCipherRSADecrypts=sslCipherRSADecrypts, serviceLevelTotalNonConf=serviceLevelTotalNonConf, perNodeServiceLevelInet46TotalNonConf=perNodeServiceLevelInet46TotalNonConf, servicerulelocdead=servicerulelocdead, rulestreamerrorprocessfailure=rulestreamerrorprocessfailure, products=products, autoscalinghitfloor=autoscalinghitfloor, license_unauthorized=license_unauthorized, monitorok=monitorok, userCounterName=userCounterName, servleterror=servleterror, unisessioncache=unisessioncache, nodeInet46BytesFromNodeLo=nodeInet46BytesFromNodeLo, starttlsinvalid=starttlsinvalid, confreptimeout=confreptimeout, totalBackendServerErrors=totalBackendServerErrors, sslcache=sslcache, j2eesessioncache=j2eesessioncache, perNodeServiceLevelInet46TotalConn=perNodeServiceLevelInet46TotalConn, confmod=confmod, autoscaleresponseparseerror=autoscaleresponseparseerror, sslClientCertRevoked=sslClientCertRevoked, glbservicedied=glbservicedied, nodeInet46BytesFromNodeHi=nodeInet46BytesFromNodeHi, autoscalestatusupdateerror=autoscalestatusupdateerror, glbfailalter=glbfailalter, nodeTable=nodeTable, trafficIPInet46Table=trafficIPInet46Table, virtualserverGzipBytesSavedLo=virtualserverGzipBytesSavedLo, sslCacheEntries=sslCacheEntries, autoscaleinvalidargfordeletenode=autoscaleinvalidargfordeletenode, perLocationServiceFrontendState=perLocationServiceFrontendState, glbservices=glbservices, confadd=confadd, authenticatorPasses=authenticatorPasses, poolBytesOutHi=poolBytesOutHi, poolpersistencemismatch=poolpersistencemismatch, fewfreefds=fewfreefds, sysCPUUserBusyPercent=sysCPUUserBusyPercent, perNodeServiceLevelTable=perNodeServiceLevelTable, virtualserverDefaultTrafficPool=virtualserverDefaultTrafficPool, cloudcredentialsNodeCreations=cloudcredentialsNodeCreations, autoscalinglicenseerror=autoscalinglicenseerror, perNodeServiceLevelInet46Entry=perNodeServiceLevelInet46Entry, flipperraiseosdrop=flipperraiseosdrop, privkeyok=privkeyok, ipSessionCacheMisses=ipSessionCacheMisses, ruleName=ruleName, machineok=machineok, ruleDiscards=ruleDiscards, versionmismatch=versionmismatch, webCacheHitsLo=webCacheHitsLo, userCounterEntry=userCounterEntry, nodeTotalConn=nodeTotalConn, nodeIPAddress=nodeIPAddress, j2eeSessionCacheLookups=j2eeSessionCacheLookups, virtualserverBytesOutLo=virtualserverBytesOutLo, globals=globals, vscacerttoexpire=vscacerttoexpire, actionsProcessed=actionsProcessed, nodeInet46ResponseMean=nodeInet46ResponseMean, activatealldead=activatealldead, trafficIPNumber=trafficIPNumber, sslCipherAESEncrypts=sslCipherAESEncrypts, nodeNewConn=nodeNewConn, bandwidthClassNumber=bandwidthClassNumber, sslHandshakeSSLv3=sslHandshakeSSLv3, rulelogmsginfo=rulelogmsginfo, interfaceName=interfaceName, morememallowed=morememallowed, sslfail=sslfail, poolState=poolState, perPoolNodeEntry=perPoolNodeEntry, apichangeprocesshanging=apichangeprocesshanging, ec2nopublicip=ec2nopublicip, listenIPBytesInLo=listenIPBytesInLo, serviceprotection=serviceprotection, dataMemoryUsage=dataMemoryUsage, connratelimit=connratelimit, rateClassMaxRatePerSec=rateClassMaxRatePerSec, interfaceRxPackets=interfaceRxPackets, perNodeServiceLevelInet46ResponseMax=perNodeServiceLevelInet46ResponseMax, analyticslicenseenabled=analyticslicenseenabled, listenIPBytesOutLo=listenIPBytesOutLo, perNodeServiceLevelResponseMin=perNodeServiceLevelResponseMin, trapobjects=trapobjects, perNodeServiceLevelSLMName=perNodeServiceLevelSLMName, rateClassDropped=rateClassDropped, vssslcertexpired=vssslcertexpired, sslClientCertExpired=sslClientCertExpired, virtualserverHttpCacheLookups=virtualserverHttpCacheLookups, trafficIPState=trafficIPState, dropec2ipwarn=dropec2ipwarn, perPoolNodePoolName=perPoolNodePoolName, trafficIPInet46Address=trafficIPInet46Address, eventName=eventName, usinglicense=usinglicense, perPoolNodeNumber=perPoolNodeNumber, persistence=persistence, trafficIPInet46Entry=trafficIPInet46Entry, nodeCurrentConn=nodeCurrentConn, listenIPCurrentConn=listenIPCurrentConn, licensekeyEntry=licensekeyEntry, locations=locations, virtualserverGzip=virtualserverGzip, perPoolNodeFailures=perPoolNodeFailures, sslSessionCacheOldest=sslSessionCacheOldest, sslCipherEncrypts=sslCipherEncrypts, totalRequests=totalRequests, statereadfail=statereadfail, confdel=confdel, locationsoapok=locationsoapok, authenticatorRequests=authenticatorRequests, serviceLevelIsOK=serviceLevelIsOK, servicelevelmonitoring=servicelevelmonitoring, sslsessioncache=sslsessioncache, perPoolNodeNodePort=perPoolNodeNodePort, nodeInet46CurrentConn=nodeInet46CurrentConn, nodeBytesFromNodeHi=nodeBytesFromNodeHi, expired=expired, multihostload=multihostload, ec2iperr=ec2iperr, sslSessionCacheHitRate=sslSessionCacheHitRate, authenticatorErrors=authenticatorErrors, webCacheHitRate=webCacheHitRate, perPoolNodeState=perPoolNodeState, nodeState=nodeState, nodeCurrentRequests=nodeCurrentRequests, rulesinvalidrequestbody=rulesinvalidrequestbody, perPoolNodeResponseMin=perPoolNodeResponseMin, bandwidthClassMaximum=bandwidthClassMaximum, totalDNSResponses=totalDNSResponses)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_union, constraints_intersection, value_size_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint') (inet_address_type, inet_address) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddress') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (bits, object_identity, module_identity, integer32, counter64, enterprises, unsigned32, notification_type, ip_address, gauge32, time_ticks, notification_type, mib_identifier, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'ObjectIdentity', 'ModuleIdentity', 'Integer32', 'Counter64', 'enterprises', 'Unsigned32', 'NotificationType', 'IpAddress', 'Gauge32', 'TimeTicks', 'NotificationType', 'MibIdentifier', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') zeus = mib_identifier((1, 3, 6, 1, 4, 1, 7146)) products = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1)) zxtm = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2)) globals = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1)) virtualservers = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2)) pools = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3)) nodes = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4)) serviceprotection = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5)) trafficips = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6)) servicelevelmonitoring = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7)) pernodeservicelevelmon = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8)) bandwidthmgt = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9)) connratelimit = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10)) extra = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11)) netinterfaces = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12)) events = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13)) actions = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14)) zxtmtraps = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15)) persistence = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 16)) cache = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17)) webcache = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1)) sslcache = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2)) aspsessioncache = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3)) ipsessioncache = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4)) j2eesessioncache = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5)) unisessioncache = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6)) sslsessioncache = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7)) rules = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18)) monitors = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 19)) licensekeys = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 20)) zxtms = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 21)) trapobjects = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 22)) cloudcredentials = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23)) glbservices = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24)) perlocationservices = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25)) locations = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26)) listenips = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27)) authenticators = mib_identifier((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28)) version = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: version.setStatus('mandatory') if mibBuilder.loadTexts: version.setDescription('The Zeus Traffic Manager version.') number_child_processes = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberChildProcesses.setStatus('mandatory') if mibBuilder.loadTexts: numberChildProcesses.setDescription('The number of traffic manager child processes.') up_time = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 3), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: upTime.setStatus('mandatory') if mibBuilder.loadTexts: upTime.setDescription('The time (in hundredths of a second) that Zeus software has been operational for (this value will wrap if it has been running for more than 497 days).') time_last_config_update = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 4), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: timeLastConfigUpdate.setStatus('mandatory') if mibBuilder.loadTexts: timeLastConfigUpdate.setDescription('The time (in hundredths of a second) since the configuration of traffic manager was updated (this value will wrap if no configuration changes are made for 497 days).') total_bytes_in_lo = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalBytesInLo.setStatus('mandatory') if mibBuilder.loadTexts: totalBytesInLo.setDescription('Bytes received by the traffic manager from clients ( low 32bits ).') total_bytes_in_hi = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalBytesInHi.setStatus('mandatory') if mibBuilder.loadTexts: totalBytesInHi.setDescription('Bytes received by the traffic manager from clients ( high 32bits ).') total_bytes_out_lo = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalBytesOutLo.setStatus('mandatory') if mibBuilder.loadTexts: totalBytesOutLo.setDescription('Bytes sent by the traffic manager to clients ( low 32bits ).') total_bytes_out_hi = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalBytesOutHi.setStatus('mandatory') if mibBuilder.loadTexts: totalBytesOutHi.setDescription('Bytes sent by the traffic manager to clients ( high 32bits ).') total_current_conn = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalCurrentConn.setStatus('mandatory') if mibBuilder.loadTexts: totalCurrentConn.setDescription('Number of TCP connections currently established.') total_conn = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalConn.setStatus('mandatory') if mibBuilder.loadTexts: totalConn.setDescription('Total number of TCP connections received.') total_requests = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 127), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalRequests.setStatus('mandatory') if mibBuilder.loadTexts: totalRequests.setDescription('Total number of TCP requests recieved.') total_transactions = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 128), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalTransactions.setStatus('mandatory') if mibBuilder.loadTexts: totalTransactions.setDescription('Total number of TCP requests being processed, after applying TPS limits.') number_dnsa_requests = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberDNSARequests.setStatus('mandatory') if mibBuilder.loadTexts: numberDNSARequests.setDescription('Requests for DNS A records (hostname->IP address) made by the traffic manager.') number_dnsa_cache_hits = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberDNSACacheHits.setStatus('mandatory') if mibBuilder.loadTexts: numberDNSACacheHits.setDescription("Requests for DNS A records resolved from the traffic manager's local cache.") number_dnsptr_requests = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberDNSPTRRequests.setStatus('mandatory') if mibBuilder.loadTexts: numberDNSPTRRequests.setDescription('Requests for DNS PTR records (IP address->hostname) made by the traffic manager.') number_dnsptr_cache_hits = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberDNSPTRCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: numberDNSPTRCacheHits.setDescription("Requests for DNS PTR records resolved from the traffic manager's local cache.") number_snmp_unauthorised_requests = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberSNMPUnauthorisedRequests.setStatus('mandatory') if mibBuilder.loadTexts: numberSNMPUnauthorisedRequests.setDescription('SNMP requests dropped due to access restrictions.') number_snmp_bad_requests = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberSNMPBadRequests.setStatus('mandatory') if mibBuilder.loadTexts: numberSNMPBadRequests.setDescription('Malformed SNMP requests received.') number_snmp_get_requests = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberSNMPGetRequests.setStatus('mandatory') if mibBuilder.loadTexts: numberSNMPGetRequests.setDescription('SNMP GetRequests received.') number_snmp_get_next_requests = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numberSNMPGetNextRequests.setStatus('mandatory') if mibBuilder.loadTexts: numberSNMPGetNextRequests.setDescription('SNMP GetNextRequests received.') ssl_cipher_encrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherEncrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherEncrypts.setDescription('Bytes encrypted with a symmetric cipher.') ssl_cipher_decrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherDecrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherDecrypts.setDescription('Bytes decrypted with a symmetric cipher.') ssl_cipher_rc4_encrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherRC4Encrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRC4Encrypts.setDescription('Bytes encrypted with RC4.') ssl_cipher_rc4_decrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherRC4Decrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRC4Decrypts.setDescription('Bytes decrypted with RC4.') ssl_cipher_des_encrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherDESEncrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherDESEncrypts.setDescription('Bytes encrypted with DES.') ssl_cipher_des_decrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 24), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherDESDecrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherDESDecrypts.setDescription('Bytes decrypted with DES.') ssl_cipher3_des_encrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 25), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipher3DESEncrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipher3DESEncrypts.setDescription('Bytes encrypted with 3DES.') ssl_cipher3_des_decrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 26), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipher3DESDecrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipher3DESDecrypts.setDescription('Bytes decrypted with 3DES.') ssl_cipher_aes_encrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 27), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherAESEncrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherAESEncrypts.setDescription('Bytes encrypted with AES.') ssl_cipher_aes_decrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 28), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherAESDecrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherAESDecrypts.setDescription('Bytes decrypted with AES.') ssl_cipher_rsa_encrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 29), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherRSAEncrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRSAEncrypts.setDescription('Number of RSA encrypts.') ssl_cipher_rsa_decrypts = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 30), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherRSADecrypts.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRSADecrypts.setDescription('Number of RSA decrypts.') ssl_cipher_rsa_decrypts_external = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 31), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherRSADecryptsExternal.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRSADecryptsExternal.setDescription('Number of external RSA decrypts.') ssl_handshake_ss_lv2 = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 32), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslHandshakeSSLv2.setStatus('mandatory') if mibBuilder.loadTexts: sslHandshakeSSLv2.setDescription('Number of SSLv2 handshakes.') ssl_handshake_ss_lv3 = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 33), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslHandshakeSSLv3.setStatus('mandatory') if mibBuilder.loadTexts: sslHandshakeSSLv3.setDescription('Number of SSLv3 handshakes.') ssl_handshake_tl_sv1 = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 34), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslHandshakeTLSv1.setStatus('mandatory') if mibBuilder.loadTexts: sslHandshakeTLSv1.setDescription('Number of TLSv1.0 handshakes.') ssl_client_cert_not_sent = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 35), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslClientCertNotSent.setStatus('mandatory') if mibBuilder.loadTexts: sslClientCertNotSent.setDescription('Number of times a client certificate was required but not supplied.') ssl_client_cert_invalid = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 36), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslClientCertInvalid.setStatus('mandatory') if mibBuilder.loadTexts: sslClientCertInvalid.setDescription('Number of times a client certificate was invalid.') ssl_client_cert_expired = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 37), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslClientCertExpired.setStatus('mandatory') if mibBuilder.loadTexts: sslClientCertExpired.setDescription('Number of times a client certificate has expired.') ssl_client_cert_revoked = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 38), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslClientCertRevoked.setStatus('mandatory') if mibBuilder.loadTexts: sslClientCertRevoked.setDescription('Number of times a client certificate was revoked.') ssl_session_id_mem_cache_hit = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 39), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslSessionIDMemCacheHit.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionIDMemCacheHit.setDescription('Number of times the SSL session id was found in the cache and reused.') ssl_session_id_mem_cache_miss = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 40), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslSessionIDMemCacheMiss.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionIDMemCacheMiss.setDescription('Number of times the SSL session id was not found in the cache.') ssl_session_id_disk_cache_hit = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 41), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslSessionIDDiskCacheHit.setStatus('deprecated') if mibBuilder.loadTexts: sslSessionIDDiskCacheHit.setDescription('Number of times the SSL session id was found in the disk cache and reused (deprecated, will always return 0).') ssl_session_id_disk_cache_miss = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 42), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslSessionIDDiskCacheMiss.setStatus('deprecated') if mibBuilder.loadTexts: sslSessionIDDiskCacheMiss.setDescription('Number of times the SSL session id was not found in the disk cache (deprecated, will always return 0).') ssl_handshake_tl_sv11 = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 43), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslHandshakeTLSv11.setStatus('mandatory') if mibBuilder.loadTexts: sslHandshakeTLSv11.setDescription('Number of TLSv1.1 handshakes.') ssl_connections = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 44), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslConnections.setStatus('mandatory') if mibBuilder.loadTexts: sslConnections.setDescription('Number of SSL connections negotiated.') ssl_cipher_rsa_encrypts_external = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 57), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCipherRSAEncryptsExternal.setStatus('mandatory') if mibBuilder.loadTexts: sslCipherRSAEncryptsExternal.setDescription('Number of external RSA encrypts.') sys_cpu_idle_percent = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 45), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sysCPUIdlePercent.setStatus('mandatory') if mibBuilder.loadTexts: sysCPUIdlePercent.setDescription('Percentage of time that the CPUs are idle.') sys_cpu_busy_percent = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 46), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sysCPUBusyPercent.setStatus('mandatory') if mibBuilder.loadTexts: sysCPUBusyPercent.setDescription('Percentage of time that the CPUs are busy.') sys_cpu_user_busy_percent = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 47), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sysCPUUserBusyPercent.setStatus('mandatory') if mibBuilder.loadTexts: sysCPUUserBusyPercent.setDescription('Percentage of time that the CPUs are busy running user-space code.') sys_cpu_system_busy_percent = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 48), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sysCPUSystemBusyPercent.setStatus('mandatory') if mibBuilder.loadTexts: sysCPUSystemBusyPercent.setDescription('Percentage of time that the CPUs are busy running system code.') sys_f_ds_free = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 49), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sysFDsFree.setStatus('mandatory') if mibBuilder.loadTexts: sysFDsFree.setDescription('Number of free file descriptors.') sys_mem_total = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 50), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sysMemTotal.setStatus('mandatory') if mibBuilder.loadTexts: sysMemTotal.setDescription('Total memory (MBytes).') sys_mem_free = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 51), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sysMemFree.setStatus('mandatory') if mibBuilder.loadTexts: sysMemFree.setDescription('Free memory (MBytes).') sys_mem_in_use = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 52), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sysMemInUse.setStatus('mandatory') if mibBuilder.loadTexts: sysMemInUse.setDescription('Memory used (MBytes).') sys_mem_buffered = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 53), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sysMemBuffered.setStatus('mandatory') if mibBuilder.loadTexts: sysMemBuffered.setDescription('Buffer memory (MBytes).') sys_mem_swapped = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 54), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sysMemSwapped.setStatus('mandatory') if mibBuilder.loadTexts: sysMemSwapped.setDescription('Amount of swap space in use (MBytes).') sys_mem_swap_total = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 55), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sysMemSwapTotal.setStatus('mandatory') if mibBuilder.loadTexts: sysMemSwapTotal.setDescription('Total swap space (MBytes).') num_idle_connections = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 56), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numIdleConnections.setStatus('mandatory') if mibBuilder.loadTexts: numIdleConnections.setDescription('Total number of idle HTTP connections to all nodes (used for future HTTP requests).') data_entries = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 58), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dataEntries.setStatus('mandatory') if mibBuilder.loadTexts: dataEntries.setDescription('Number of entries in the TrafficScript data.get()/set() storage.') data_memory_usage = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 59), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dataMemoryUsage.setStatus('mandatory') if mibBuilder.loadTexts: dataMemoryUsage.setDescription('Number of bytes used in the TrafficScript data.get()/set() storage.') events_seen = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 60), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eventsSeen.setStatus('mandatory') if mibBuilder.loadTexts: eventsSeen.setDescription("Events seen by the traffic Manager's event handling process.") total_dns_responses = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 61), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalDNSResponses.setStatus('mandatory') if mibBuilder.loadTexts: totalDNSResponses.setDescription('Total number of DNS response packets handled.') total_bad_dns_packets = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 62), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalBadDNSPackets.setStatus('mandatory') if mibBuilder.loadTexts: totalBadDNSPackets.setDescription('Total number of malformed DNS response packets encountered from the backend servers.') total_backend_server_errors = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 1, 63), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalBackendServerErrors.setStatus('mandatory') if mibBuilder.loadTexts: totalBackendServerErrors.setDescription('Total errors returned from the backend servers.') virtualserver_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverNumber.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverNumber.setDescription('The number of virtual servers.') virtualserver_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2)) if mibBuilder.loadTexts: virtualserverTable.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverTable.setDescription('This table gives information and statistics for the virtual servers the traffic manager is hosting.') virtualserver_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: virtualserverEntry.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverEntry.setDescription('This defines a row in the virtual servers table.') virtualserver_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverName.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverName.setDescription('The name of the virtual server.') virtualserver_port = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverPort.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverPort.setDescription('The port the virtual server listens on.') virtualserver_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23))).clone(namedValues=named_values(('http', 1), ('https', 2), ('ftp', 3), ('imaps', 4), ('imapv2', 5), ('imapv3', 6), ('imapv4', 7), ('pop3', 8), ('pop3s', 9), ('smtp', 10), ('ldap', 11), ('ldaps', 12), ('telnet', 13), ('sslforwarding', 14), ('udpstreaming', 15), ('udp', 16), ('dns', 17), ('genericserverfirst', 18), ('genericclientfirst', 19), ('dnstcp', 20), ('sipudp', 21), ('siptcp', 22), ('rtsp', 23)))).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverProtocol.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverProtocol.setDescription('The protocol the virtual server is operating.') virtualserver_default_traffic_pool = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverDefaultTrafficPool.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverDefaultTrafficPool.setDescription("The virtual server's default pool.") virtualserver_bytes_in_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverBytesInLo.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverBytesInLo.setDescription('Bytes received by this virtual server from clients ( low 32bits ).') virtualserver_bytes_in_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverBytesInHi.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverBytesInHi.setDescription('Bytes received by this virtual server from clients ( high 32bits ).') virtualserver_bytes_out_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverBytesOutLo.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverBytesOutLo.setDescription('Bytes sent by this virtual server to clients ( low 32bits ).') virtualserver_bytes_out_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverBytesOutHi.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverBytesOutHi.setDescription('Bytes sent by this virtual server to clients ( high 32bits ).') virtualserver_current_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverCurrentConn.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverCurrentConn.setDescription('TCP connections currently established to this virtual server.') virtualserver_max_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 10), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverMaxConn.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverMaxConn.setDescription('Maximum number of simultaneous TCP connections this virtual server has processed at any one time.') virtualserver_total_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverTotalConn.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverTotalConn.setDescription('Requests received by this virtual server.') virtualserver_discard = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverDiscard.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverDiscard.setDescription('Connections discarded by this virtual server.') virtualserver_direct_replies = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverDirectReplies.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverDirectReplies.setDescription('Direct replies from this virtual server, without forwarding to a node.') virtualserver_connect_timed_out = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverConnectTimedOut.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverConnectTimedOut.setDescription("Connections closed by this virtual server because the 'connect_timeout' interval was exceeded.") virtualserver_data_timed_out = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverDataTimedOut.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverDataTimedOut.setDescription("Connections closed by this virtual server because the 'timeout' interval was exceeded.") virtualserver_keepalive_timed_out = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverKeepaliveTimedOut.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverKeepaliveTimedOut.setDescription("Connections closed by this virtual server because the 'keepalive_timeout' interval was exceeded.") virtualserver_udp_timed_out = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverUdpTimedOut.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverUdpTimedOut.setDescription("Connections closed by this virtual server because the 'udp_timeout' interval was exceeded.") virtualserver_total_dgram = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverTotalDgram.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverTotalDgram.setDescription('UDP datagrams processed by this virtual server.') virtualserver_gzip = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverGzip.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverGzip.setDescription('Responses which have been compressed by content compression.') virtualserver_gzip_bytes_saved_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverGzipBytesSavedLo.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverGzipBytesSavedLo.setDescription('Bytes of network traffic saved by content compression ( low 32bits ).') virtualserver_gzip_bytes_saved_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverGzipBytesSavedHi.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverGzipBytesSavedHi.setDescription('Bytes of network traffic saved by content compression ( high 32bits ).') virtualserver_http_rewrite_location = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverHttpRewriteLocation.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverHttpRewriteLocation.setDescription('HTTP Location headers, supplied by a node, that have been rewritten.') virtualserver_http_rewrite_cookie = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverHttpRewriteCookie.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverHttpRewriteCookie.setDescription('HTTP Set-Cookie headers, supplied by a node, that have been rewritten.') virtualserver_http_cache_hits = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 24), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverHttpCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverHttpCacheHits.setDescription('HTTP responses sent directly from the web cache by this virtual server.') virtualserver_http_cache_lookups = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 25), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverHttpCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverHttpCacheLookups.setDescription('HTTP requests that are looked up in the web cache by this virtual server.') virtualserver_http_cache_hit_rate = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 26), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverHttpCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverHttpCacheHitRate.setDescription('Percentage hit rate of the web cache for this virtual server.') virtualserver_sip_total_calls = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 27), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverSIPTotalCalls.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverSIPTotalCalls.setDescription('Total number of SIP INVITE requests seen by this virtual server.') virtualserver_sip_rejected_requests = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 28), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverSIPRejectedRequests.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverSIPRejectedRequests.setDescription('Number of SIP requests rejected due to them exceeding the maximum amount of memory allocated to the connection.') virtualserver_connection_errors = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 29), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverConnectionErrors.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverConnectionErrors.setDescription('Number of transaction or protocol errors in this virtual server.') virtualserver_connection_failures = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 2, 2, 1, 30), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: virtualserverConnectionFailures.setStatus('mandatory') if mibBuilder.loadTexts: virtualserverConnectionFailures.setDescription('Number of connection failures in this virtual server.') pool_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: poolNumber.setStatus('mandatory') if mibBuilder.loadTexts: poolNumber.setDescription('The number of pools on this system.') pool_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2)) if mibBuilder.loadTexts: poolTable.setStatus('mandatory') if mibBuilder.loadTexts: poolTable.setDescription('This table provides information and statistics for pools.') pool_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: poolEntry.setStatus('mandatory') if mibBuilder.loadTexts: poolEntry.setDescription('This defines a row in the pools table.') pool_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: poolName.setStatus('mandatory') if mibBuilder.loadTexts: poolName.setDescription('The name of the pool.') pool_algorithm = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('roundrobin', 1), ('weightedRoundRobin', 2), ('perceptive', 3), ('leastConnections', 4), ('fastestResponseTime', 5), ('random', 6), ('weightedLeastConnections', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: poolAlgorithm.setStatus('mandatory') if mibBuilder.loadTexts: poolAlgorithm.setDescription('The load-balancing algorithm the pool uses.') pool_nodes = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolNodes.setStatus('mandatory') if mibBuilder.loadTexts: poolNodes.setDescription('The number of nodes registered with this pool.') pool_draining = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolDraining.setStatus('mandatory') if mibBuilder.loadTexts: poolDraining.setDescription('The number of nodes in this pool which are draining.') pool_fail_pool = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: poolFailPool.setStatus('mandatory') if mibBuilder.loadTexts: poolFailPool.setDescription("The name of this pool's failure pool.") pool_bytes_in_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolBytesInLo.setStatus('mandatory') if mibBuilder.loadTexts: poolBytesInLo.setDescription('Bytes received by this pool from nodes ( low 32bits ).') pool_bytes_in_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolBytesInHi.setStatus('mandatory') if mibBuilder.loadTexts: poolBytesInHi.setDescription('Bytes received by this pool from nodes ( high 32bits ).') pool_bytes_out_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolBytesOutLo.setStatus('mandatory') if mibBuilder.loadTexts: poolBytesOutLo.setDescription('Bytes sent by this pool to nodes ( low 32bits ).') pool_bytes_out_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolBytesOutHi.setStatus('mandatory') if mibBuilder.loadTexts: poolBytesOutHi.setDescription('Bytes sent by this pool to nodes ( high 32bits ).') pool_total_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolTotalConn.setStatus('mandatory') if mibBuilder.loadTexts: poolTotalConn.setDescription('Requests sent to this pool.') pool_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('none', 1), ('ip', 2), ('rule', 3), ('transparent', 4), ('applicationCookie', 5), ('xZeusBackend', 6), ('ssl', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: poolPersistence.setStatus('mandatory') if mibBuilder.loadTexts: poolPersistence.setDescription('The session persistence method this pool uses') pool_session_migrated = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolSessionMigrated.setStatus('mandatory') if mibBuilder.loadTexts: poolSessionMigrated.setDescription('Sessions migrated to a new node because the desired node was unavailable.') pool_disabled = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 13), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolDisabled.setStatus('mandatory') if mibBuilder.loadTexts: poolDisabled.setDescription('The number of nodes in this pool that are disabled.') pool_state = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('active', 1), ('disabled', 2), ('draining', 3), ('unused', 4), ('unknown', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: poolState.setStatus('mandatory') if mibBuilder.loadTexts: poolState.setDescription('The state of this pool.') pool_conns_queued = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 17), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolConnsQueued.setStatus('mandatory') if mibBuilder.loadTexts: poolConnsQueued.setDescription('Total connections currently queued to this pool.') pool_queue_timeouts = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolQueueTimeouts.setStatus('mandatory') if mibBuilder.loadTexts: poolQueueTimeouts.setDescription('Total connections that timed-out while queued.') pool_min_queue_time = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 19), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolMinQueueTime.setStatus('mandatory') if mibBuilder.loadTexts: poolMinQueueTime.setDescription('Minimum time a connection was queued for, over the last second.') pool_max_queue_time = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 20), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolMaxQueueTime.setStatus('mandatory') if mibBuilder.loadTexts: poolMaxQueueTime.setDescription('Maximum time a connection was queued for, over the last second.') pool_mean_queue_time = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 3, 2, 1, 21), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: poolMeanQueueTime.setStatus('mandatory') if mibBuilder.loadTexts: poolMeanQueueTime.setDescription('Mean time a connection was queued for, over the last second.') node_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeNumber.setStatus('obsolete') if mibBuilder.loadTexts: nodeNumber.setDescription('The number of IPv4 nodes on this system.') node_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2)) if mibBuilder.loadTexts: nodeTable.setStatus('obsolete') if mibBuilder.loadTexts: nodeTable.setDescription('This table defines all the information for a particular IPv4 node.') node_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'nodeIPAddress'), (0, 'ZXTM-MIB', 'nodePort')) if mibBuilder.loadTexts: nodeEntry.setStatus('obsolete') if mibBuilder.loadTexts: nodeEntry.setDescription('This defines a row in the IPv4 nodes table.') node_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeIPAddress.setStatus('obsolete') if mibBuilder.loadTexts: nodeIPAddress.setDescription('The IPv4 address of this node.') node_port = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: nodePort.setStatus('obsolete') if mibBuilder.loadTexts: nodePort.setDescription('The port this node listens on.') node_host_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeHostName.setStatus('obsolete') if mibBuilder.loadTexts: nodeHostName.setDescription('The resolved name for this node.') node_state = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alive', 1), ('dead', 2), ('unknown', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeState.setStatus('obsolete') if mibBuilder.loadTexts: nodeState.setDescription('The state of this node.') node_bytes_to_node_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeBytesToNodeLo.setStatus('obsolete') if mibBuilder.loadTexts: nodeBytesToNodeLo.setDescription('Bytes sent to this node ( low 32bits ).') node_bytes_to_node_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeBytesToNodeHi.setStatus('obsolete') if mibBuilder.loadTexts: nodeBytesToNodeHi.setDescription('Bytes sent to this node ( high 32bits ).') node_bytes_from_node_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeBytesFromNodeLo.setStatus('obsolete') if mibBuilder.loadTexts: nodeBytesFromNodeLo.setDescription('Bytes received from this node ( low 32bits ).') node_bytes_from_node_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeBytesFromNodeHi.setStatus('obsolete') if mibBuilder.loadTexts: nodeBytesFromNodeHi.setDescription('Bytes received from this node ( high 32bits ).') node_current_requests = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeCurrentRequests.setStatus('obsolete') if mibBuilder.loadTexts: nodeCurrentRequests.setDescription('Connections currently established to this node.') node_total_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeTotalConn.setStatus('obsolete') if mibBuilder.loadTexts: nodeTotalConn.setDescription('Requests sent to this node.') node_pooled_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodePooledConn.setStatus('obsolete') if mibBuilder.loadTexts: nodePooledConn.setDescription('Requests that reused an existing pooled/keepalive connection rather than creating a new TCP connection.') node_failures = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeFailures.setStatus('obsolete') if mibBuilder.loadTexts: nodeFailures.setDescription('Failures of this node.') node_new_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeNewConn.setStatus('obsolete') if mibBuilder.loadTexts: nodeNewConn.setDescription('Requests that created a new connection to this node.') node_errors = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeErrors.setStatus('obsolete') if mibBuilder.loadTexts: nodeErrors.setDescription('Number of timeouts, connection problems and other errors for this node.') node_response_min = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 15), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeResponseMin.setStatus('obsolete') if mibBuilder.loadTexts: nodeResponseMin.setDescription('Minimum response time (ms) in the last second for this node.') node_response_max = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 16), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeResponseMax.setStatus('obsolete') if mibBuilder.loadTexts: nodeResponseMax.setDescription('Maximum response time (ms) in the last second for this node.') node_response_mean = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 17), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeResponseMean.setStatus('obsolete') if mibBuilder.loadTexts: nodeResponseMean.setDescription('Mean response time (ms) in the last second for this node.') node_number_inet46 = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeNumberInet46.setStatus('mandatory') if mibBuilder.loadTexts: nodeNumberInet46.setDescription('The number of nodes on this system (includes IPv4 and IPv6 nodes).') node_current_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 2, 1, 18), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeCurrentConn.setStatus('obsolete') if mibBuilder.loadTexts: nodeCurrentConn.setDescription('Requests currently established to this node. ( does not include idle keepalives ).') node_inet46_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4)) if mibBuilder.loadTexts: nodeInet46Table.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Table.setDescription('This table defines all the information for a particular node (includes IPv4 and IPv6 addresses).') node_inet46_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1)).setIndexNames((0, 'ZXTM-MIB', 'nodeInet46AddressType'), (0, 'ZXTM-MIB', 'nodeInet46Address'), (0, 'ZXTM-MIB', 'nodeInet46Port')) if mibBuilder.loadTexts: nodeInet46Entry.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Entry.setDescription('This defines a row in the nodes table (includes IPv4 and IPv6 addresses).') node_inet46_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 1), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46AddressType.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46AddressType.setDescription('The IP address type of this node.') node_inet46_address = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 2), inet_address().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46Address.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Address.setDescription('The IPv4 or IPv6 address of this node.') node_inet46_port = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46Port.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Port.setDescription('The port this node listens on.') node_inet46_host_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46HostName.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46HostName.setDescription('The resolved name for this node.') node_inet46_state = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alive', 1), ('dead', 2), ('unknown', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46State.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46State.setDescription('The state of this node.') node_inet46_bytes_to_node_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46BytesToNodeLo.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46BytesToNodeLo.setDescription('Bytes sent to this node ( low 32bits ).') node_inet46_bytes_to_node_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46BytesToNodeHi.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46BytesToNodeHi.setDescription('Bytes sent to this node ( high 32bits ).') node_inet46_bytes_from_node_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46BytesFromNodeLo.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46BytesFromNodeLo.setDescription('Bytes received from this node ( low 32bits ).') node_inet46_bytes_from_node_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46BytesFromNodeHi.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46BytesFromNodeHi.setDescription('Bytes received from this node ( high 32bits ).') node_inet46_current_requests = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 10), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46CurrentRequests.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46CurrentRequests.setDescription('Active connections established to this node, does not include idle connections.') node_inet46_total_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46TotalConn.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46TotalConn.setDescription('Requests sent to this node.') node_inet46_pooled_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46PooledConn.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46PooledConn.setDescription('Requests that reused an existing pooled/keepalive connection rather than creating a new TCP connection.') node_inet46_failures = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46Failures.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Failures.setDescription('Failures of this node.') node_inet46_new_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46NewConn.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46NewConn.setDescription('Requests that created a new connection to this node.') node_inet46_errors = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46Errors.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46Errors.setDescription('Number of timeouts, connection problems and other errors for this node.') node_inet46_response_min = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 16), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46ResponseMin.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46ResponseMin.setDescription('Minimum response time (ms) in the last second for this node.') node_inet46_response_max = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 17), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46ResponseMax.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46ResponseMax.setDescription('Maximum response time (ms) in the last second for this node.') node_inet46_response_mean = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 18), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46ResponseMean.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46ResponseMean.setDescription('Mean response time (ms) in the last second for this node.') node_inet46_idle_conns = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 19), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46IdleConns.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46IdleConns.setDescription('Number of idle HTTP connections to this node.') node_inet46_current_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 4, 1, 20), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nodeInet46CurrentConn.setStatus('mandatory') if mibBuilder.loadTexts: nodeInet46CurrentConn.setDescription('Current connections established to this node, includes idle connections.') per_pool_node_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeNumber.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNumber.setDescription('The number of nodes on this system.') per_pool_node_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6)) if mibBuilder.loadTexts: perPoolNodeTable.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeTable.setDescription('This table defines all the information for a particular node in a pool.') per_pool_node_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1)).setIndexNames((0, 'ZXTM-MIB', 'perPoolNodePoolName'), (0, 'ZXTM-MIB', 'perPoolNodeNodeAddressType'), (0, 'ZXTM-MIB', 'perPoolNodeNodeAddress'), (0, 'ZXTM-MIB', 'perPoolNodeNodePort')) if mibBuilder.loadTexts: perPoolNodeEntry.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeEntry.setDescription('This defines a row in the perPoolNodes table.') per_pool_node_pool_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodePoolName.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodePoolName.setDescription('The name of the pool that this node belongs to.') per_pool_node_node_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 2), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeNodeAddressType.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNodeAddressType.setDescription('The IP address type of this node.') per_pool_node_node_address = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 3), inet_address().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeNodeAddress.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNodeAddress.setDescription('The IPv4 or IPv6 address of this node.') per_pool_node_node_port = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeNodePort.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNodePort.setDescription('The port that this node listens on.') per_pool_node_node_host_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeNodeHostName.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNodeHostName.setDescription('The name for this node provided in the configuration.') per_pool_node_state = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('alive', 1), ('dead', 2), ('unknown', 3), ('draining', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeState.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeState.setDescription('The state of this node.') per_pool_node_bytes_to_node_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeBytesToNodeLo.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeBytesToNodeLo.setDescription('Bytes sent to this node ( low 32bits ).') per_pool_node_bytes_to_node_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeBytesToNodeHi.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeBytesToNodeHi.setDescription('Bytes sent to this node ( high 32bits ).') per_pool_node_bytes_from_node_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeBytesFromNodeLo.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeBytesFromNodeLo.setDescription('Bytes received from this node ( low 32bits ).') per_pool_node_bytes_from_node_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeBytesFromNodeHi.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeBytesFromNodeHi.setDescription('Bytes received from this node ( high 32bits ).') per_pool_node_current_requests = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 11), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeCurrentRequests.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeCurrentRequests.setDescription('Active connections established to this node, does not include idle connections.') per_pool_node_total_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeTotalConn.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeTotalConn.setDescription('Requests sent to this node.') per_pool_node_pooled_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodePooledConn.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodePooledConn.setDescription('Requests that reused an existing pooled/keepalive connection rather than creating a new TCP connection.') per_pool_node_failures = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeFailures.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeFailures.setDescription('Failures of this node.') per_pool_node_new_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeNewConn.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeNewConn.setDescription('Requests that created a new connection to this node.') per_pool_node_errors = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeErrors.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeErrors.setDescription('Number of timeouts, connection problems and other errors for this node.') per_pool_node_response_min = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 17), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeResponseMin.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeResponseMin.setDescription('Minimum response time (ms) in the last second for this node.') per_pool_node_response_max = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 18), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeResponseMax.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeResponseMax.setDescription('Maximum response time (ms) in the last second for this node.') per_pool_node_response_mean = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 19), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeResponseMean.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeResponseMean.setDescription('Mean response time (ms) in the last second for this node.') per_pool_node_idle_conns = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 20), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeIdleConns.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeIdleConns.setDescription('Number of idle HTTP connections to this node.') per_pool_node_current_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 4, 6, 1, 21), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perPoolNodeCurrentConn.setStatus('mandatory') if mibBuilder.loadTexts: perPoolNodeCurrentConn.setDescription('Current connections established to a node, includes idle connections.') traffic_ip_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPNumber.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPNumber.setDescription('The number of traffic IPv4 addresses on this system.') traffic_ip_number_raised = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPNumberRaised.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPNumberRaised.setDescription('The number of traffic IPv4 addresses currently raised on this system.') traffic_ip_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 3)) if mibBuilder.loadTexts: trafficIPTable.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPTable.setDescription('This table details the traffic IPv4 addresses that are hosted by this traffic manager cluster.') traffic_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 3, 1)).setIndexNames((0, 'ZXTM-MIB', 'trafficIPAddress')) if mibBuilder.loadTexts: trafficIPEntry.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPEntry.setDescription('This defines a row in the IPv4 traffic IP table.') traffic_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 3, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPAddress.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPAddress.setDescription('This is a traffic IP address.') traffic_ip_state = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('raised', 1), ('lowered', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPState.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPState.setDescription('Whether this traffic IP address is currently being hosted by this traffic manager.') traffic_ip_time = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 3, 1, 3), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPTime.setStatus('obsolete') if mibBuilder.loadTexts: trafficIPTime.setDescription("The time (in hundredths of a second) since trafficIPState last changed (this value will wrap if the state hasn't changed for 497 days).") traffic_ip_gateway_ping_requests = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPGatewayPingRequests.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPGatewayPingRequests.setDescription('Number of ping requests sent to the gateway machine.') traffic_ip_gateway_ping_responses = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPGatewayPingResponses.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPGatewayPingResponses.setDescription('Number of ping responses received from the gateway machine.') traffic_ip_node_ping_requests = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPNodePingRequests.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPNodePingRequests.setDescription('Number of ping requests sent to the backend nodes.') traffic_ip_node_ping_responses = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPNodePingResponses.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPNodePingResponses.setDescription('Number of ping responses received from the backend nodes.') traffic_ip_ping_response_errors = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPPingResponseErrors.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPPingResponseErrors.setDescription('Number of ping response errors.') traffic_iparp_message = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPARPMessage.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPARPMessage.setDescription('Number of ARP messages sent for raised Traffic IP Addresses.') traffic_ip_number_inet46 = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPNumberInet46.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPNumberInet46.setDescription('The number of traffic IP addresses on this system (includes IPv4 and IPv6 addresses).') traffic_ip_number_raised_inet46 = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPNumberRaisedInet46.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPNumberRaisedInet46.setDescription('The number of traffic IP addresses currently raised on this system (includes IPv4 and IPv6 addresses).') traffic_ip_inet46_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12)) if mibBuilder.loadTexts: trafficIPInet46Table.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46Table.setDescription('This table details the traffic IP addresses that are hosted by this traffic manager cluster (includes IPv4 and IPv6 addresses).') traffic_ip_inet46_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12, 1)).setIndexNames((0, 'ZXTM-MIB', 'trafficIPInet46AddressType'), (0, 'ZXTM-MIB', 'trafficIPInet46Address')) if mibBuilder.loadTexts: trafficIPInet46Entry.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46Entry.setDescription('This defines a row in the traffic IP table.') traffic_ip_inet46_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12, 1, 1), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPInet46AddressType.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46AddressType.setDescription('The traffic IP address type.') traffic_ip_inet46_address = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12, 1, 2), inet_address().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPInet46Address.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46Address.setDescription('This is a traffic IP address.') traffic_ip_inet46_state = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('raised', 1), ('lowered', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPInet46State.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46State.setDescription('Whether this traffic IP address is currently being hosted by this traffic manager.') traffic_ip_inet46_time = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 6, 12, 1, 4), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: trafficIPInet46Time.setStatus('mandatory') if mibBuilder.loadTexts: trafficIPInet46Time.setDescription("The time (in hundredths of a second) since trafficIPState last changed (this value will wrap if the state hasn't changed for 497 days).") service_prot_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceProtNumber.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtNumber.setDescription('The number of service protection classes defined.') service_prot_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2)) if mibBuilder.loadTexts: serviceProtTable.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtTable.setDescription('This table provides information and statistics for service protection classes.') service_prot_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'serviceProtName')) if mibBuilder.loadTexts: serviceProtEntry.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtEntry.setDescription('This defines a row in the service protection table.') service_prot_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceProtName.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtName.setDescription('The name of the service protection class.') service_prot_total_refusal = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceProtTotalRefusal.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtTotalRefusal.setDescription('Connections refused by this service protection class.') service_prot_last_refusal_time = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 3), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceProtLastRefusalTime.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtLastRefusalTime.setDescription('The time (in hundredths of a second) since this service protection class last refused a connection (this value will wrap if no connections are refused in more than 497 days).') service_prot_refusal_ip = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceProtRefusalIP.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalIP.setDescription('Connections refused by this service protection class because the source IP address was banned.') service_prot_refusal_conc1_ip = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceProtRefusalConc1IP.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalConc1IP.setDescription('Connections refused by this service protection class because the source IP address issued too many concurrent connections.') service_prot_refusal_conc10_ip = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceProtRefusalConc10IP.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalConc10IP.setDescription('Connections refused by this service protection class because the top 10 source IP addresses issued too many concurrent connections.') service_prot_refusal_conn_rate = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceProtRefusalConnRate.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalConnRate.setDescription('Connections refused by this service protection class because the source IP address issued too many connections within 60 seconds.') service_prot_refusal_rfc2396 = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceProtRefusalRFC2396.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalRFC2396.setDescription('Connections refused by this service protection class because the HTTP request was not RFC 2396 compliant.') service_prot_refusal_size = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceProtRefusalSize.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalSize.setDescription('Connections refused by this service protection class because the request was larger than the defined limits allowed.') service_prot_refusal_binary = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 5, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceProtRefusalBinary.setStatus('mandatory') if mibBuilder.loadTexts: serviceProtRefusalBinary.setDescription('Connections refused by this service protection class because the request contained disallowed binary content.') service_level_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceLevelNumber.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelNumber.setDescription('The number of SLM classes defined.') service_level_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2)) if mibBuilder.loadTexts: serviceLevelTable.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelTable.setDescription('This table provides information and statistics for SLM classes.') service_level_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'serviceLevelName')) if mibBuilder.loadTexts: serviceLevelEntry.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelEntry.setDescription('This defines a row in the SLM table.') service_level_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceLevelName.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelName.setDescription('The name of the SLM class.') service_level_total_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceLevelTotalConn.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelTotalConn.setDescription('Requests handled by this SLM class.') service_level_total_non_conf = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceLevelTotalNonConf.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelTotalNonConf.setDescription('Non-conforming requests handled by this SLM class.') service_level_response_min = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceLevelResponseMin.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelResponseMin.setDescription('Minimum response time (ms) in the last second for this SLM class.') service_level_response_max = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceLevelResponseMax.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelResponseMax.setDescription('Maximum response time (ms) in the last second for this SLM class.') service_level_response_mean = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceLevelResponseMean.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelResponseMean.setDescription('Mean response time (ms) in the last second for this SLM class.') service_level_is_ok = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notok', 1), ('ok', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceLevelIsOK.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelIsOK.setDescription('Indicates if this SLM class is currently conforming.') service_level_conforming = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceLevelConforming.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelConforming.setDescription('Percentage of requests associated with this SLM class that are conforming') service_level_current_conns = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 7, 2, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: serviceLevelCurrentConns.setStatus('mandatory') if mibBuilder.loadTexts: serviceLevelCurrentConns.setDescription('The number of connections currently associated with this SLM class.') per_node_service_level_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1)) if mibBuilder.loadTexts: perNodeServiceLevelTable.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelTable.setDescription('This table provides information and statistics for SLM classes on a per node basis (IPv4 nodes only).') per_node_service_level_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1)).setIndexNames((0, 'ZXTM-MIB', 'perNodeServiceLevelSLMName'), (0, 'ZXTM-MIB', 'perNodeServiceLevelNodeIPAddr'), (0, 'ZXTM-MIB', 'perNodeServiceLevelNodePort')) if mibBuilder.loadTexts: perNodeServiceLevelEntry.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelEntry.setDescription('This defines a row in the per-node SLM table (IPv4 nodes only).') per_node_service_level_slm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelSLMName.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelSLMName.setDescription('The name of the SLM class.') per_node_service_level_node_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 2), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelNodeIPAddr.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelNodeIPAddr.setDescription('The IP address of this node.') per_node_service_level_node_port = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelNodePort.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelNodePort.setDescription('The port number of this node.') per_node_service_level_total_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelTotalConn.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelTotalConn.setDescription('Requests handled by this SLM class to this node.') per_node_service_level_total_non_conf = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelTotalNonConf.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelTotalNonConf.setDescription('Non-conforming requests handled by this SLM class to this node.') per_node_service_level_response_min = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelResponseMin.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelResponseMin.setDescription('Minimum response time (ms) in the last second for this SLM class to this node.') per_node_service_level_response_max = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelResponseMax.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelResponseMax.setDescription('Maximum response time (ms) in the last second for this SLM class to this node.') per_node_service_level_response_mean = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 1, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelResponseMean.setStatus('obsolete') if mibBuilder.loadTexts: perNodeServiceLevelResponseMean.setDescription('Mean response time (ms) in the last second for this SLM class to this node.') per_node_service_level_inet46_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2)) if mibBuilder.loadTexts: perNodeServiceLevelInet46Table.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46Table.setDescription('This table provides information and statistics for SLM classes on a per node basis (includes IPv4 and IPv6 nodes).') per_node_service_level_inet46_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'perNodeServiceLevelInet46SLMName'), (0, 'ZXTM-MIB', 'perNodeServiceLevelInet46NodeAddressType'), (0, 'ZXTM-MIB', 'perNodeServiceLevelInet46NodeAddress'), (0, 'ZXTM-MIB', 'perNodeServiceLevelInet46NodePort')) if mibBuilder.loadTexts: perNodeServiceLevelInet46Entry.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46Entry.setDescription('This defines a row in the per-node SLM table (includes IPv4 and IPv6 nodes).') per_node_service_level_inet46_slm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelInet46SLMName.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46SLMName.setDescription('The name of the SLM class.') per_node_service_level_inet46_node_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 2), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelInet46NodeAddressType.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46NodeAddressType.setDescription('The type of IP address of this node.') per_node_service_level_inet46_node_address = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 3), inet_address().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelInet46NodeAddress.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46NodeAddress.setDescription('The IP address of this node.') per_node_service_level_inet46_node_port = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelInet46NodePort.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46NodePort.setDescription('The port number of this node.') per_node_service_level_inet46_total_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelInet46TotalConn.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46TotalConn.setDescription('Requests handled by this SLM class to this node.') per_node_service_level_inet46_total_non_conf = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelInet46TotalNonConf.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46TotalNonConf.setDescription('Non-conforming requests handled by this SLM class to this node.') per_node_service_level_inet46_response_min = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMin.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMin.setDescription('Minimum response time (ms) in the last second for this SLM class to this node.') per_node_service_level_inet46_response_max = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMax.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMax.setDescription('Maximum response time (ms) in the last second for this SLM class to this node.') per_node_service_level_inet46_response_mean = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 8, 2, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMean.setStatus('mandatory') if mibBuilder.loadTexts: perNodeServiceLevelInet46ResponseMean.setDescription('Mean response time (ms) in the last second for this SLM class to this node.') bandwidth_class_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bandwidthClassNumber.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassNumber.setDescription('The number of bandwidth classes defined.') bandwidth_class_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2)) if mibBuilder.loadTexts: bandwidthClassTable.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassTable.setDescription('This table provides information and statistics for bandwidth classes.') bandwidth_class_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'bandwidthClassName')) if mibBuilder.loadTexts: bandwidthClassEntry.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassEntry.setDescription('This defines a row in the bandwidth class.') bandwidth_class_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: bandwidthClassName.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassName.setDescription('The name of the bandwidth class.') bandwidth_class_maximum = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bandwidthClassMaximum.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassMaximum.setDescription('Maximum bandwidth class limit (kbits/s).') bandwidth_class_guarantee = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bandwidthClassGuarantee.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassGuarantee.setDescription('Guaranteed bandwidth class limit (kbits/s). Currently unused.') bandwidth_class_bytes_out_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bandwidthClassBytesOutLo.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassBytesOutLo.setDescription('Bytes output by connections assigned to this bandwidth class ( low 32bits ).') bandwidth_class_bytes_out_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 9, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bandwidthClassBytesOutHi.setStatus('mandatory') if mibBuilder.loadTexts: bandwidthClassBytesOutHi.setDescription('Bytes output by connections assigned to this bandwidth class ( high 32bits ).') rate_class_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rateClassNumber.setStatus('mandatory') if mibBuilder.loadTexts: rateClassNumber.setDescription('The number of rate classes defined.') rate_class_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2)) if mibBuilder.loadTexts: rateClassTable.setStatus('mandatory') if mibBuilder.loadTexts: rateClassTable.setDescription('This table provides information and statistics for rate classes.') rate_class_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'rateClassName')) if mibBuilder.loadTexts: rateClassEntry.setStatus('mandatory') if mibBuilder.loadTexts: rateClassEntry.setDescription('This defines a row in the rate class info.') rate_class_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: rateClassName.setStatus('mandatory') if mibBuilder.loadTexts: rateClassName.setDescription('The name of the rate class.') rate_class_max_rate_per_min = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rateClassMaxRatePerMin.setStatus('mandatory') if mibBuilder.loadTexts: rateClassMaxRatePerMin.setDescription('The maximum rate that requests may pass through this rate class (requests/min).') rate_class_max_rate_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rateClassMaxRatePerSec.setStatus('mandatory') if mibBuilder.loadTexts: rateClassMaxRatePerSec.setDescription('The maximum rate that requests may pass through this rate class (requests/sec).') rate_class_queue_length = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rateClassQueueLength.setStatus('mandatory') if mibBuilder.loadTexts: rateClassQueueLength.setDescription('The current number of requests queued by this rate class.') rate_class_current_rate = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rateClassCurrentRate.setStatus('mandatory') if mibBuilder.loadTexts: rateClassCurrentRate.setDescription('The average rate that requests are passing through this rate class.') rate_class_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rateClassDropped.setStatus('mandatory') if mibBuilder.loadTexts: rateClassDropped.setDescription('Requests dropped from this rate class without being processed (e.g. timeouts).') rate_class_conns_entered = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rateClassConnsEntered.setStatus('mandatory') if mibBuilder.loadTexts: rateClassConnsEntered.setDescription('Connections that have entered the rate class and have been queued.') rate_class_conns_left = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 10, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rateClassConnsLeft.setStatus('mandatory') if mibBuilder.loadTexts: rateClassConnsLeft.setDescription('Connections that have left the rate class.') user_counter_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: userCounterNumber.setStatus('mandatory') if mibBuilder.loadTexts: userCounterNumber.setDescription('The number of user defined counters.') user_counter_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11, 2)) if mibBuilder.loadTexts: userCounterTable.setStatus('mandatory') if mibBuilder.loadTexts: userCounterTable.setDescription('This table holds the values for user defined counters.') user_counter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'userCounterName')) if mibBuilder.loadTexts: userCounterEntry.setStatus('mandatory') if mibBuilder.loadTexts: userCounterEntry.setDescription('This defines a row in the user counters table.') user_counter_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: userCounterName.setStatus('mandatory') if mibBuilder.loadTexts: userCounterName.setDescription('The name of the user counter.') user_counter_value = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 11, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: userCounterValue.setStatus('mandatory') if mibBuilder.loadTexts: userCounterValue.setDescription('The value of the user counter.') interface_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: interfaceNumber.setStatus('mandatory') if mibBuilder.loadTexts: interfaceNumber.setDescription('The number of network interfaces.') interface_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2)) if mibBuilder.loadTexts: interfaceTable.setStatus('mandatory') if mibBuilder.loadTexts: interfaceTable.setDescription('This table gives statistics for the network interfaces on this system.') interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'interfaceName')) if mibBuilder.loadTexts: interfaceEntry.setStatus('mandatory') if mibBuilder.loadTexts: interfaceEntry.setDescription('This defines a row in the network interfaces table.') interface_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: interfaceName.setStatus('mandatory') if mibBuilder.loadTexts: interfaceName.setDescription('The name of the network interface.') interface_rx_packets = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: interfaceRxPackets.setStatus('mandatory') if mibBuilder.loadTexts: interfaceRxPackets.setDescription('The number of packets received by this interface.') interface_tx_packets = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: interfaceTxPackets.setStatus('mandatory') if mibBuilder.loadTexts: interfaceTxPackets.setDescription('The number of packets transmitted by this interface.') interface_rx_errors = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: interfaceRxErrors.setStatus('mandatory') if mibBuilder.loadTexts: interfaceRxErrors.setDescription('The number of receive errors reported by this interface.') interface_tx_errors = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: interfaceTxErrors.setStatus('mandatory') if mibBuilder.loadTexts: interfaceTxErrors.setDescription('The number of transmit errors reported by this interface.') interface_collisions = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: interfaceCollisions.setStatus('mandatory') if mibBuilder.loadTexts: interfaceCollisions.setDescription('The number of collisions reported by this interface.') interface_rx_bytes_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: interfaceRxBytesLo.setStatus('mandatory') if mibBuilder.loadTexts: interfaceRxBytesLo.setDescription('Bytes received by this interface ( low 32bits ).') interface_rx_bytes_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: interfaceRxBytesHi.setStatus('mandatory') if mibBuilder.loadTexts: interfaceRxBytesHi.setDescription('Bytes received by this interface ( high 32bits ).') interface_tx_bytes_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: interfaceTxBytesLo.setStatus('mandatory') if mibBuilder.loadTexts: interfaceTxBytesLo.setDescription('Bytes transmitted by this interface ( low 32bits ).') interface_tx_bytes_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 12, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: interfaceTxBytesHi.setStatus('mandatory') if mibBuilder.loadTexts: interfaceTxBytesHi.setDescription('Bytes transmitted by this interface ( high 32bits ).') web_cache_hits_lo = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheHitsLo.setStatus('mandatory') if mibBuilder.loadTexts: webCacheHitsLo.setDescription('Number of times a page has been successfully found in the web cache (low 32 bits).') web_cache_hits_hi = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheHitsHi.setStatus('mandatory') if mibBuilder.loadTexts: webCacheHitsHi.setDescription('Number of times a page has been successfully found in the web cache (high 32 bits).') web_cache_misses_lo = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheMissesLo.setStatus('mandatory') if mibBuilder.loadTexts: webCacheMissesLo.setDescription('Number of times a page has not been found in the web cache (low 32 bits).') web_cache_misses_hi = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheMissesHi.setStatus('mandatory') if mibBuilder.loadTexts: webCacheMissesHi.setDescription('Number of times a page has not been found in the web cache (high 32 bits).') web_cache_lookups_lo = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheLookupsLo.setStatus('mandatory') if mibBuilder.loadTexts: webCacheLookupsLo.setDescription('Number of times a page has been looked up in the web cache (low 32 bits).') web_cache_lookups_hi = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheLookupsHi.setStatus('mandatory') if mibBuilder.loadTexts: webCacheLookupsHi.setDescription('Number of times a page has been looked up in the web cache (high 32 bits).') web_cache_mem_used = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheMemUsed.setStatus('mandatory') if mibBuilder.loadTexts: webCacheMemUsed.setDescription('Total memory used by the web cache in kilobytes.') web_cache_mem_maximum = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheMemMaximum.setStatus('mandatory') if mibBuilder.loadTexts: webCacheMemMaximum.setDescription('The maximum amount of memory the web cache can use in kilobytes.') web_cache_hit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: webCacheHitRate.setDescription('The percentage of web cache lookups that succeeded.') web_cache_entries = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 10), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: webCacheEntries.setDescription('The number of items in the web cache.') web_cache_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 11), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheMaxEntries.setStatus('mandatory') if mibBuilder.loadTexts: webCacheMaxEntries.setDescription('The maximum number of items in the web cache.') web_cache_oldest = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 1, 12), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: webCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: webCacheOldest.setDescription('The age of the oldest item in the web cache (in seconds).') ssl_cache_hits = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheHits.setDescription('Number of times a SSL entry has been successfully found in the server cache.') ssl_cache_misses = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheMisses.setDescription('Number of times a SSL entry has not been available in the server cache.') ssl_cache_lookups = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheLookups.setDescription('Number of times a SSL entry has been looked up in the server cache.') ssl_cache_hit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheHitRate.setDescription('The percentage of SSL server cache lookups that succeeded.') ssl_cache_entries = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheEntries.setDescription('The total number of SSL sessions stored in the server cache.') ssl_cache_entries_max = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheEntriesMax.setDescription('The maximum number of SSL entries in the server cache.') ssl_cache_oldest = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 2, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: sslCacheOldest.setDescription('The age of the oldest SSL session in the server cache (in seconds).') asp_session_cache_hits = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aspSessionCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheHits.setDescription('Number of times a ASP session entry has been successfully found in the cache.') asp_session_cache_misses = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aspSessionCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheMisses.setDescription('Number of times a ASP session entry has not been available in the cache.') asp_session_cache_lookups = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aspSessionCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheLookups.setDescription('Number of times a ASP session entry has been looked up in the cache.') asp_session_cache_hit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aspSessionCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheHitRate.setDescription('The percentage of ASP session lookups that succeeded.') asp_session_cache_entries = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aspSessionCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheEntries.setDescription('The total number of ASP sessions stored in the cache.') asp_session_cache_entries_max = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aspSessionCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheEntriesMax.setDescription('The maximum number of ASP sessions in the cache.') asp_session_cache_oldest = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 3, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aspSessionCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: aspSessionCacheOldest.setDescription('The age of the oldest ASP session in the cache (in seconds).') ip_session_cache_hits = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipSessionCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheHits.setDescription('Number of times a IP session entry has been successfully found in the cache.') ip_session_cache_misses = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipSessionCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheMisses.setDescription('Number of times a IP session entry has not been available in the cache.') ip_session_cache_lookups = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipSessionCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheLookups.setDescription('Number of times a IP session entry has been looked up in the cache.') ip_session_cache_hit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipSessionCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheHitRate.setDescription('The percentage of IP session lookups that succeeded.') ip_session_cache_entries = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipSessionCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheEntries.setDescription('The total number of IP sessions stored in the cache.') ip_session_cache_entries_max = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipSessionCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheEntriesMax.setDescription('The maximum number of IP sessions in the cache.') ip_session_cache_oldest = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 4, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipSessionCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: ipSessionCacheOldest.setDescription('The age of the oldest IP session in the cache (in seconds).') j2ee_session_cache_hits = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: j2eeSessionCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheHits.setDescription('Number of times a J2EE session entry has been successfully found in the cache.') j2ee_session_cache_misses = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: j2eeSessionCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheMisses.setDescription('Number of times a J2EE session entry has not been available in the cache.') j2ee_session_cache_lookups = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: j2eeSessionCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheLookups.setDescription('Number of times a J2EE session entry has been looked up in the cache.') j2ee_session_cache_hit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: j2eeSessionCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheHitRate.setDescription('The percentage of J2EE session lookups that succeeded.') j2ee_session_cache_entries = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: j2eeSessionCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheEntries.setDescription('The total number of J2EE sessions stored in the cache.') j2ee_session_cache_entries_max = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: j2eeSessionCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheEntriesMax.setDescription('The maximum number of J2EE sessions in the cache.') j2ee_session_cache_oldest = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 5, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: j2eeSessionCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: j2eeSessionCacheOldest.setDescription('The age of the oldest J2EE session in the cache (in seconds).') uni_session_cache_hits = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: uniSessionCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheHits.setDescription('Number of times a universal session entry has been successfully found in the cache.') uni_session_cache_misses = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: uniSessionCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheMisses.setDescription('Number of times a universal session entry has not been available in the cache.') uni_session_cache_lookups = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: uniSessionCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheLookups.setDescription('Number of times a universal session entry has been looked up in the cache.') uni_session_cache_hit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: uniSessionCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheHitRate.setDescription('The percentage of universal session lookups that succeeded.') uni_session_cache_entries = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: uniSessionCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheEntries.setDescription('The total number of universal sessions stored in the cache.') uni_session_cache_entries_max = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: uniSessionCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheEntriesMax.setDescription('The maximum number of universal sessions in the cache.') uni_session_cache_oldest = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 6, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: uniSessionCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: uniSessionCacheOldest.setDescription('The age of the oldest universal session in the cache (in seconds).') ssl_session_cache_hits = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslSessionCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheHits.setDescription('Number of times a SSL session persistence entry has been successfully found in the cache.') ssl_session_cache_misses = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslSessionCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheMisses.setDescription('Number of times a SSL session persistence entry has not been available in the cache.') ssl_session_cache_lookups = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslSessionCacheLookups.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheLookups.setDescription('Number of times a SSL session persistence entry has been looked up in the cache.') ssl_session_cache_hit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 4), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslSessionCacheHitRate.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheHitRate.setDescription('The percentage of SSL session persistence lookups that succeeded.') ssl_session_cache_entries = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 5), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslSessionCacheEntries.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheEntries.setDescription('The total number of SSL session persistence entries stored in the cache.') ssl_session_cache_entries_max = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslSessionCacheEntriesMax.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheEntriesMax.setDescription('The maximum number of SSL session persistence entries in the cache.') ssl_session_cache_oldest = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 17, 7, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sslSessionCacheOldest.setStatus('mandatory') if mibBuilder.loadTexts: sslSessionCacheOldest.setDescription('The age of the oldest SSL session in the cache (in seconds).') rule_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ruleNumber.setStatus('mandatory') if mibBuilder.loadTexts: ruleNumber.setDescription('The number of TrafficScript rules.') rule_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2)) if mibBuilder.loadTexts: ruleTable.setStatus('mandatory') if mibBuilder.loadTexts: ruleTable.setDescription('This table provides information and statistics for TrafficScript rules.') rule_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: ruleEntry.setStatus('mandatory') if mibBuilder.loadTexts: ruleEntry.setDescription('This defines a row in the rules table.') rule_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ruleName.setStatus('mandatory') if mibBuilder.loadTexts: ruleName.setDescription('The name of the TrafficScript rule.') rule_executions = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ruleExecutions.setStatus('mandatory') if mibBuilder.loadTexts: ruleExecutions.setDescription('Number of times this TrafficScript rule has been executed.') rule_aborts = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ruleAborts.setStatus('mandatory') if mibBuilder.loadTexts: ruleAborts.setDescription('Number of times this TrafficScript rule has aborted.') rule_responds = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ruleResponds.setStatus('mandatory') if mibBuilder.loadTexts: ruleResponds.setDescription('Number of times this TrafficScript rule has responded directly to the client.') rule_pool_select = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rulePoolSelect.setStatus('mandatory') if mibBuilder.loadTexts: rulePoolSelect.setDescription('Number of times this TrafficScript rule has selected a pool to use.') rule_retries = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ruleRetries.setStatus('mandatory') if mibBuilder.loadTexts: ruleRetries.setDescription('Number of times this TrafficScript rule has forced the request to be retried.') rule_discards = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 18, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ruleDiscards.setStatus('mandatory') if mibBuilder.loadTexts: ruleDiscards.setDescription('Number of times this TrafficScript rule has discarded the connection.') monitor_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 19, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: monitorNumber.setStatus('mandatory') if mibBuilder.loadTexts: monitorNumber.setDescription('The number of Monitors.') monitor_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 19, 2)) if mibBuilder.loadTexts: monitorTable.setStatus('mandatory') if mibBuilder.loadTexts: monitorTable.setDescription('This table provides information and statistics on Monitors.') monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 19, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'monitorName')) if mibBuilder.loadTexts: monitorEntry.setStatus('mandatory') if mibBuilder.loadTexts: monitorEntry.setDescription('This defines a row in the monitors table.') monitor_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 19, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: monitorName.setStatus('mandatory') if mibBuilder.loadTexts: monitorName.setDescription('The name of the monitor.') licensekey_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 20, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: licensekeyNumber.setStatus('mandatory') if mibBuilder.loadTexts: licensekeyNumber.setDescription('The number of License keys.') licensekey_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 20, 2)) if mibBuilder.loadTexts: licensekeyTable.setStatus('mandatory') if mibBuilder.loadTexts: licensekeyTable.setDescription('This table provides information and statistics on License Keys.') licensekey_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 20, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: licensekeyEntry.setStatus('mandatory') if mibBuilder.loadTexts: licensekeyEntry.setDescription('This defines a row in the license keys table.') licensekey_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 20, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: licensekeyName.setStatus('mandatory') if mibBuilder.loadTexts: licensekeyName.setDescription('The name of the License Key.') zxtm_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 21, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: zxtmNumber.setStatus('mandatory') if mibBuilder.loadTexts: zxtmNumber.setDescription('The number of traffic managers in the cluster.') zxtm_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 21, 2)) if mibBuilder.loadTexts: zxtmTable.setStatus('mandatory') if mibBuilder.loadTexts: zxtmTable.setDescription('This table provides information and statistics on traffic managers.') zxtm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 21, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'zxtmName')) if mibBuilder.loadTexts: zxtmEntry.setStatus('mandatory') if mibBuilder.loadTexts: zxtmEntry.setDescription('This defines a row in the traffic managers table.') zxtm_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 21, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: zxtmName.setStatus('mandatory') if mibBuilder.loadTexts: zxtmName.setDescription('The name of the traffic manager.') glb_service_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: glbServiceNumber.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceNumber.setDescription('The number of GLB Services on this system.') glb_service_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2)) if mibBuilder.loadTexts: glbServiceTable.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceTable.setDescription('This table provides information and statistics for GLB Services.') glb_service_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: glbServiceEntry.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceEntry.setDescription('This defines a row in the GLB Services table.') glb_service_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: glbServiceName.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceName.setDescription('The name of the GLB Service.') glb_service_responses = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: glbServiceResponses.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceResponses.setDescription('Number of A records this GLB Service has altered.') glb_service_unmodified = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: glbServiceUnmodified.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceUnmodified.setDescription('Number of A records this GLB Service has passed through unmodified.') glb_service_discarded = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 24, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: glbServiceDiscarded.setStatus('mandatory') if mibBuilder.loadTexts: glbServiceDiscarded.setDescription('Number of A records this GLB Service has discarded.') per_location_service_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1)) if mibBuilder.loadTexts: perLocationServiceTable.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceTable.setDescription('This table provides information and statistics for GLB Services on a per location basis.') per_location_service_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1)).setIndexNames((0, 'ZXTM-MIB', 'perLocationServiceLocationName'), (0, 'ZXTM-MIB', 'perLocationServiceName')) if mibBuilder.loadTexts: perLocationServiceEntry.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceEntry.setDescription('This defines a row in the per-location table.') per_location_service_location_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: perLocationServiceLocationName.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceLocationName.setDescription('The name of the location.') per_location_service_location_code = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: perLocationServiceLocationCode.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceLocationCode.setDescription('The code for the location.') per_location_service_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: perLocationServiceName.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceName.setDescription('The name of the GLB Service.') per_location_service_draining = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('draining', 1), ('active', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: perLocationServiceDraining.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceDraining.setDescription('The draining state of this location for this GLB Service.') per_location_service_state = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('alive', 1), ('dead', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: perLocationServiceState.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceState.setDescription('The state of this location for this GLB Service.') per_location_service_frontend_state = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('alive', 1), ('dead', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: perLocationServiceFrontendState.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceFrontendState.setDescription('The frontend state of this location for this GLB Service.') per_location_service_monitor_state = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('alive', 1), ('dead', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: perLocationServiceMonitorState.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceMonitorState.setDescription('The monitor state of this location for this GLB Service.') per_location_service_load = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 8), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perLocationServiceLoad.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceLoad.setDescription('The load metric for this location for this GLB Service.') per_location_service_responses = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 25, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: perLocationServiceResponses.setStatus('mandatory') if mibBuilder.loadTexts: perLocationServiceResponses.setDescription('Number of A records that have been altered to point to this location for this GLB Service.') location_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1)) if mibBuilder.loadTexts: locationTable.setStatus('mandatory') if mibBuilder.loadTexts: locationTable.setDescription('This table provides information and statistics for GLB Services on a per location basis.') location_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1, 1)).setIndexNames((0, 'ZXTM-MIB', 'locationName')) if mibBuilder.loadTexts: locationEntry.setStatus('mandatory') if mibBuilder.loadTexts: locationEntry.setDescription('This defines a row in the per-location table.') location_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: locationName.setStatus('mandatory') if mibBuilder.loadTexts: locationName.setDescription('The name of the location.') location_code = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: locationCode.setStatus('mandatory') if mibBuilder.loadTexts: locationCode.setDescription('The code for the location.') location_load = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1, 1, 3), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: locationLoad.setStatus('mandatory') if mibBuilder.loadTexts: locationLoad.setDescription('The mean load metric for this location.') location_responses = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 26, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: locationResponses.setStatus('mandatory') if mibBuilder.loadTexts: locationResponses.setDescription('Number of A records that have been altered to point to this location.') event_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eventNumber.setStatus('mandatory') if mibBuilder.loadTexts: eventNumber.setDescription('The number of event configurations.') event_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13, 2)) if mibBuilder.loadTexts: eventTable.setStatus('mandatory') if mibBuilder.loadTexts: eventTable.setDescription('This table gives information on the event configurations in the traffic manager.') event_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'eventName')) if mibBuilder.loadTexts: eventEntry.setStatus('mandatory') if mibBuilder.loadTexts: eventEntry.setDescription('This defines a row in the events table.') event_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: eventName.setStatus('mandatory') if mibBuilder.loadTexts: eventName.setDescription('The name of the event configuration.') events_matched = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 13, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eventsMatched.setStatus('mandatory') if mibBuilder.loadTexts: eventsMatched.setDescription('Number of times this event configuration has matched.') action_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: actionNumber.setStatus('mandatory') if mibBuilder.loadTexts: actionNumber.setDescription('The number of actions configured in the traffic manager.') action_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14, 2)) if mibBuilder.loadTexts: actionTable.setStatus('mandatory') if mibBuilder.loadTexts: actionTable.setDescription('This table gives information on the action configurations in the traffic manager.') action_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'actionName')) if mibBuilder.loadTexts: actionEntry.setStatus('mandatory') if mibBuilder.loadTexts: actionEntry.setDescription('This defines a row in the actions table.') action_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: actionName.setStatus('mandatory') if mibBuilder.loadTexts: actionName.setDescription('The name of the action.') actions_processed = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 14, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: actionsProcessed.setStatus('mandatory') if mibBuilder.loadTexts: actionsProcessed.setDescription('Number of times this action has been processed.') full_log_line = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 22, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: fullLogLine.setStatus('mandatory') if mibBuilder.loadTexts: fullLogLine.setDescription('The full log line of an event (for traps).') conf_name = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 22, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: confName.setStatus('mandatory') if mibBuilder.loadTexts: confName.setDescription('The name of the configuration file affected (for traps).') custom_event_name = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 22, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: customEventName.setStatus('mandatory') if mibBuilder.loadTexts: customEventName.setDescription('The name of the Custom Event (for traps).') testaction = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 1)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'actionName')) if mibBuilder.loadTexts: testaction.setDescription('Testing configuration for an action (emitted when testing an action in the UI)') running = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 2)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: running.setDescription('Software is running') fewfreefds = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 3)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: fewfreefds.setDescription('Running out of free file descriptors') restartrequired = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 4)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: restartrequired.setDescription('Software must be restarted to apply configuration changes') timemovedback = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 5)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: timemovedback.setDescription('Time has been moved back') sslfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 6)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: sslfail.setDescription('One or more SSL connections from clients failed recently') hardware = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 7)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: hardware.setDescription('Appliance hardware notification') zxtmswerror = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 8)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: zxtmswerror.setDescription('Zeus Traffic Manager software problem') customevent = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 9)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'customEventName')) if mibBuilder.loadTexts: customevent.setDescription("A custom event was emitted using the TrafficScript 'event.emit()' function") versionmismatch = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 10)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: versionmismatch.setDescription('Configuration update refused: traffic manager version mismatch') autherror = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 114)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: autherror.setDescription('An error occurred during user authentication') machineok = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 11)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'zxtmName')) if mibBuilder.loadTexts: machineok.setDescription('Remote machine is now working') machinetimeout = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 12)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'zxtmName')) if mibBuilder.loadTexts: machinetimeout.setDescription('Remote machine has timed out and been marked as failed') machinefail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 13)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'zxtmName')) if mibBuilder.loadTexts: machinefail.setDescription('Remote machine has failed') allmachinesok = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 14)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: allmachinesok.setDescription('All machines are working') flipperbackendsworking = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 15)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: flipperbackendsworking.setDescription('Back-end nodes are now working') flipperfrontendsworking = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 16)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: flipperfrontendsworking.setDescription('Frontend machines are now working') pingbackendfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 17)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: pingbackendfail.setDescription('Failed to ping back-end nodes') pingfrontendfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 18)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: pingfrontendfail.setDescription('Failed to ping any of the machines used to check the front-end connectivity') pinggwfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 19)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: pinggwfail.setDescription('Failed to ping default gateway') statebaddata = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 20)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: statebaddata.setDescription('Received an invalid response from another cluster member') stateconnfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 21)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: stateconnfail.setDescription('Failed to connect to another cluster member for state sharing') stateok = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 22)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: stateok.setDescription('Successfully connected to another cluster member for state sharing') statereadfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 23)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: statereadfail.setDescription('Reading state data from another cluster member failed') statetimeout = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 24)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: statetimeout.setDescription('Timeout while sending state data to another cluster member') stateunexpected = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 25)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: stateunexpected.setDescription('Received unexpected state data from another cluster member') statewritefail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 26)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: statewritefail.setDescription('Writing state data to another cluster member failed') activatealldead = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 107)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: activatealldead.setDescription('Activating this machine automatically because it is the only working machine in its Traffic IP Groups') machinerecovered = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 108)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: machinerecovered.setDescription('Remote machine has recovered and can raise Traffic IP addresses') flipperrecovered = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 109)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: flipperrecovered.setDescription('Machine is ready to raise Traffic IP addresses') activatedautomatically = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 110)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: activatedautomatically.setDescription('Machine has recovered and been activated automatically because it would cause no service disruption') zclustermoderr = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 111)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: zclustermoderr.setDescription('An error occurred when using the zcluster Multi-Hosted IP kernel module') ec2flipperraiselocalworking = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 112)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: ec2flipperraiselocalworking.setDescription('Moving EC2 Elastic IP Address; local machine is working') ec2flipperraiseothersdead = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 113)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: ec2flipperraiseothersdead.setDescription('Moving EC2 Elastic IP Address; other machines have failed') ec2iperr = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 130)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: ec2iperr.setDescription('Problem occurred when managing an Elastic IP address') dropec2ipwarn = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 131)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: dropec2ipwarn.setDescription('Removing EC2 Elastic IP Address from all machines; it is no longer a part of any Traffic IP Groups') ec2nopublicip = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 132)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: ec2nopublicip.setDescription('Cannot raise Elastic IP on this machine until EC2 provides it with a public IP address') multihostload = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 133)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: multihostload.setDescription('The amount of load handled by the local machine destined for this Traffic IP has changed') sslhwfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 27)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: sslhwfail.setDescription('SSL hardware support failed') sslhwrestart = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 28)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: sslhwrestart.setDescription('SSL hardware support restarted') sslhwstart = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 29)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: sslhwstart.setDescription('SSL hardware support started') confdel = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 30)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'confName')) if mibBuilder.loadTexts: confdel.setDescription('Configuration file deleted') confmod = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 31)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'confName')) if mibBuilder.loadTexts: confmod.setDescription('Configuration file modified') confadd = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 32)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'confName')) if mibBuilder.loadTexts: confadd.setDescription('Configuration file added') confok = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 33)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'confName')) if mibBuilder.loadTexts: confok.setDescription('Configuration file now OK') confreptimeout = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 178)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: confreptimeout.setDescription('Replication of configuration has timed out') confrepfailed = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 179)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: confrepfailed.setDescription('Replication of configuration has failed') javadied = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 34)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: javadied.setDescription('Java runner died') javastop = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 35)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: javastop.setDescription('Java support has stopped') javastartfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 36)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: javastartfail.setDescription('Java runner failed to start') javaterminatefail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 37)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: javaterminatefail.setDescription('Java runner failed to terminate') javanotfound = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 38)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: javanotfound.setDescription('Cannot start Java runner, program not found') javastarted = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 39)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: javastarted.setDescription('Java runner started') servleterror = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 40)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: servleterror.setDescription('Servlet encountered an error') monitorfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 41)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'monitorName')) if mibBuilder.loadTexts: monitorfail.setDescription('Monitor has detected a failure') monitorok = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 42)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'monitorName')) if mibBuilder.loadTexts: monitorok.setDescription('Monitor is working') rulexmlerr = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 43)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulexmlerr.setDescription('Rule encountered an XML error') pooluseunknown = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 44)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: pooluseunknown.setDescription('Rule selected an unknown pool') ruleabort = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 45)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: ruleabort.setDescription('Rule aborted during execution') rulebufferlarge = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 46)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulebufferlarge.setDescription('Rule has buffered more data than expected') rulebodycomperror = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 47)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulebodycomperror.setDescription('Rule encountered invalid data while uncompressing response') forwardproxybadhost = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 48)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: forwardproxybadhost.setDescription('Rule selected an unresolvable host') invalidemit = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 49)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: invalidemit.setDescription('Rule used event.emit() with an invalid custom event') rulenopersistence = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 50)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulenopersistence.setDescription('Rule selected an unknown session persistence class') rulelogmsginfo = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 51)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulelogmsginfo.setDescription('Rule logged an info message using log.info') rulelogmsgwarn = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 52)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulelogmsgwarn.setDescription('Rule logged a warning message using log.warn') rulelogmsgserious = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 53)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulelogmsgserious.setDescription('Rule logged an error message using log.error') norate = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 54)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: norate.setDescription('Rule selected an unknown rate shaping class') poolactivenodesunknown = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 55)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: poolactivenodesunknown.setDescription('Rule references an unknown pool via pool.activenodes') datastorefull = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 56)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: datastorefull.setDescription('data.set() has run out of space') rulestreamerrortoomuch = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 210)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulestreamerrortoomuch.setDescription('Rule supplied too much data in HTTP stream') rulestreamerrornotenough = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 211)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulestreamerrornotenough.setDescription('Rule did not supply enough data in HTTP stream') rulestreamerrorprocessfailure = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 212)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulestreamerrorprocessfailure.setDescription('Data supplied to HTTP stream could not be processed') rulestreamerrornotstarted = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 213)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulestreamerrornotstarted.setDescription('Attempt to stream data or finish a stream before streaming had been initialized') rulestreamerrornotfinished = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 214)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulestreamerrornotfinished.setDescription('Attempt to initialize HTTP stream before previous stream had finished') rulestreamerrorinternal = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 215)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulestreamerrorinternal.setDescription('Internal error while processing HTTP stream') rulestreamerrorgetresponse = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 216)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: rulestreamerrorgetresponse.setDescription('Attempt to use http.getResponse or http.getResponseBody after http.stream.startResponse') rulesinvalidrequestbody = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 217)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'ruleName'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: rulesinvalidrequestbody.setDescription('Client sent invalid HTTP request body') serviceruleabort = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 218)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'glbServiceName'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: serviceruleabort.setDescription('GLB service rule aborted during execution') servicerulelocunknown = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 219)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'glbServiceName'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: servicerulelocunknown.setDescription('GLB service rule specified an unknown location') servicerulelocnotconfigured = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 220)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'glbServiceName'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: servicerulelocnotconfigured.setDescription('GLB service rule specified a location that is not configured for the service') servicerulelocdead = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 221)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'glbServiceName'), ('ZXTM-MIB', 'ruleName')) if mibBuilder.loadTexts: servicerulelocdead.setDescription('GLB service rule specified a location that has either failed or been marked as draining in the service configuration') expired = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 57)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: expired.setDescription('License key has expired') licensecorrupt = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 58)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: licensecorrupt.setDescription('License key is corrupt') expiresoon = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 59)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: expiresoon.setDescription('License key expires within 7 days') usinglicense = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 60)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: usinglicense.setDescription('Using license key') licenseclustertoobig = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 61)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: licenseclustertoobig.setDescription('Cluster size exceeds license key limit') unlicensed = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 62)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: unlicensed.setDescription('Started without a license') usingdevlicense = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 63)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: usingdevlicense.setDescription('Using a development license') morememallowed = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 124)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: morememallowed.setDescription('License allows more memory for caching') lessmemallowed = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 125)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: lessmemallowed.setDescription('License allows less memory for caching') cachesizereduced = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 123)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: cachesizereduced.setDescription('Configured cache size exceeds license limit, only using amount allowed by license') tpslimited = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 134)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: tpslimited.setDescription('License key transactions-per-second limit has been hit') ssltpslimited = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 135)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: ssltpslimited.setDescription('License key SSL transactions-per-second limit has been hit') bwlimited = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 136)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: bwlimited.setDescription('License key bandwidth limit has been hit') licensetoomanylocations = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 137)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: licensetoomanylocations.setDescription('A location has been disabled because you have exceeded the licence limit') autoscalinglicenseerror = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 175)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: autoscalinglicenseerror.setDescription('Autoscaling not permitted by licence key') autoscalinglicenseenabled = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 176)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: autoscalinglicenseenabled.setDescription('Autoscaling support has been enabled') autoscalinglicensedisabled = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 177)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: autoscalinglicensedisabled.setDescription('Autoscaling support has been disabled') analyticslicenseenabled = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 180)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: analyticslicenseenabled.setDescription('Realtime Analytics support has been enabled') analyticslicensedisabled = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 181)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: analyticslicensedisabled.setDescription('Realtime Analytics support has been disabled') poolnonodes = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 64)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: poolnonodes.setDescription('Pool configuration contains no valid backend nodes') poolok = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 65)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: poolok.setDescription('Pool now has working nodes') pooldied = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 66)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: pooldied.setDescription('Pool has no back-end nodes responding') noderesolvefailure = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 67)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: noderesolvefailure.setDescription('Failed to resolve node address') noderesolvemultiple = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 68)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: noderesolvemultiple.setDescription('Node resolves to multiple IP addresses') nodeworking = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 69)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'perPoolNodePoolName'), ('ZXTM-MIB', 'perPoolNodeNodeAddressType'), ('ZXTM-MIB', 'perPoolNodeNodeAddress'), ('ZXTM-MIB', 'perPoolNodeNodePort')) if mibBuilder.loadTexts: nodeworking.setDescription('Node is working again') nostarttls = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 70)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'perPoolNodePoolName'), ('ZXTM-MIB', 'perPoolNodeNodeAddressType'), ('ZXTM-MIB', 'perPoolNodeNodeAddress'), ('ZXTM-MIB', 'perPoolNodeNodePort')) if mibBuilder.loadTexts: nostarttls.setDescription("Node doesn't provide STARTTLS support") nodefail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 71)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'perPoolNodePoolName'), ('ZXTM-MIB', 'perPoolNodeNodeAddressType'), ('ZXTM-MIB', 'perPoolNodeNodeAddress'), ('ZXTM-MIB', 'perPoolNodeNodePort')) if mibBuilder.loadTexts: nodefail.setDescription('Node has failed') starttlsinvalid = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 72)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'perPoolNodePoolName'), ('ZXTM-MIB', 'perPoolNodeNodeAddressType'), ('ZXTM-MIB', 'perPoolNodeNodeAddress'), ('ZXTM-MIB', 'perPoolNodeNodePort')) if mibBuilder.loadTexts: starttlsinvalid.setDescription('Node returned invalid STARTTLS response') ehloinvalid = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 73)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'perPoolNodePoolName'), ('ZXTM-MIB', 'perPoolNodeNodeAddressType'), ('ZXTM-MIB', 'perPoolNodeNodeAddress'), ('ZXTM-MIB', 'perPoolNodeNodePort')) if mibBuilder.loadTexts: ehloinvalid.setDescription('Node returned invalid EHLO response') usedcredsdeleted = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 126)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'cloudcredentialsName')) if mibBuilder.loadTexts: usedcredsdeleted.setDescription('A Cloud Credentials object has been deleted but it was still in use') autoscalestatusupdateerror = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 129)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'cloudcredentialsName')) if mibBuilder.loadTexts: autoscalestatusupdateerror.setDescription('An API call made by the autoscaler process has reported an error') autoscaleresponseparseerror = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 159)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'cloudcredentialsName')) if mibBuilder.loadTexts: autoscaleresponseparseerror.setDescription('An API call made by the autoscaler process has returned a response that could not be parsed') autoscalingchangeprocessfailure = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 182)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalingchangeprocessfailure.setDescription('An API process that should have created or destroyed a node has failed to produce the expected result') autoscalewrongimageid = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 183)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalewrongimageid.setDescription('A node created by the autoscaler has the wrong imageid') autoscalewrongname = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 184)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalewrongname.setDescription('A node created by the autoscaler has a non-matching name') autoscalewrongsizeid = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 185)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalewrongsizeid.setDescription('A node created by the autoscaler has the wrong sizeid') apistatusprocesshanging = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 127)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'cloudcredentialsName')) if mibBuilder.loadTexts: apistatusprocesshanging.setDescription('A cloud API process querying changes to cloud instances is hanging') autonodedestructioncomplete = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 138)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autonodedestructioncomplete.setDescription('The destruction of a node in an autoscaled pool is now complete') autonodeexisted = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 139)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autonodeexisted.setDescription("IP address of newly created instance already existed in pool's node list") autoscaledpooltoosmall = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 140)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscaledpooltoosmall.setDescription('Minimum size undercut - growing') autoscaleinvalidargforcreatenode = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 141)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscaleinvalidargforcreatenode.setDescription("The 'imageid' was empty when attempting to create a node in an autoscaled pool") autonodedisappeared = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 142)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autonodedisappeared.setDescription('A node in an autoscaled pool has disappeared from the cloud') autoscaledpoolrefractory = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 143)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscaledpoolrefractory.setDescription('An autoscaled pool is now refractory') cannotshrinkemptypool = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 144)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: cannotshrinkemptypool.setDescription('Attempt to scale down a pool that only had pending nodes or none at all') autoscalinghysteresiscantgrow = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 145)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalinghysteresiscantgrow.setDescription('An autoscaled pool is waiting to grow') autonodecreationcomplete = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 146)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autonodecreationcomplete.setDescription('The creation of a new node requested by an autoscaled pool is now complete') autonodestatuschange = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 147)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autonodestatuschange.setDescription('The status of a node in an autoscaled pool has changed') autoscalinghysteresiscantshrink = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 148)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalinghysteresiscantshrink.setDescription('An autoscaled pool is waiting to shrink') autoscalingpoolstatechange = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 149)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalingpoolstatechange.setDescription("An autoscaled pool's state has changed") autonodedestroyed = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 128)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autonodedestroyed.setDescription('A cloud API call to destroy a node has been started') autonodecreationstarted = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 165)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autonodecreationstarted.setDescription('Creation of new node instigated') autoscaleinvalidargfordeletenode = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 166)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscaleinvalidargfordeletenode.setDescription("'unique id' was empty when attempting to destroy a node in an autoscaled pool") autoscalinghitroof = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 167)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalinghitroof.setDescription('Maximum size reached by autoscaled pool, cannot grow further') autoscalinghitfloor = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 168)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalinghitfloor.setDescription('Minimum size reached, cannot shrink further') apichangeprocesshanging = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 169)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: apichangeprocesshanging.setDescription('API change process still running after refractory period is over') autoscaledpooltoobig = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 170)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscaledpooltoobig.setDescription('Over maximum size - shrinking') autoscalingprocesstimedout = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 171)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'cloudcredentialsName')) if mibBuilder.loadTexts: autoscalingprocesstimedout.setDescription('A cloud API process has timed out') autoscalingdisabled = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 172)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalingdisabled.setDescription('Autoscaling for a pool has been disabled due to errors communicating with the cloud API') autoscalednodecontested = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 163)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalednodecontested.setDescription('Two pools are trying to use the same instance') autoscalepoolconfupdate = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 164)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalepoolconfupdate.setDescription('A pool config file has been updated by the autoscaler process') autoscalingresuscitatepool = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 188)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: autoscalingresuscitatepool.setDescription('An autoscaled pool has failed completely') flipperraiselocalworking = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 74)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'trafficIPInet46AddressType'), ('ZXTM-MIB', 'trafficIPInet46Address')) if mibBuilder.loadTexts: flipperraiselocalworking.setDescription('Raising Traffic IP Address; local machine is working') flipperraiseothersdead = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 75)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'trafficIPInet46AddressType'), ('ZXTM-MIB', 'trafficIPInet46Address')) if mibBuilder.loadTexts: flipperraiseothersdead.setDescription('Raising Traffic IP Address; other machines have failed') flipperraiseosdrop = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 76)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'trafficIPInet46AddressType'), ('ZXTM-MIB', 'trafficIPInet46Address')) if mibBuilder.loadTexts: flipperraiseosdrop.setDescription('Raising Traffic IP Address; Operating System had dropped this IP address') dropipinfo = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 77)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'trafficIPInet46AddressType'), ('ZXTM-MIB', 'trafficIPInet46Address')) if mibBuilder.loadTexts: dropipinfo.setDescription('Dropping Traffic IP Address due to a configuration change or traffic manager recovery') dropipwarn = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 78)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'trafficIPInet46AddressType'), ('ZXTM-MIB', 'trafficIPInet46Address')) if mibBuilder.loadTexts: dropipwarn.setDescription('Dropping Traffic IP Address due to an error') flipperdadreraise = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 79)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'trafficIPInet46AddressType'), ('ZXTM-MIB', 'trafficIPInet46Address')) if mibBuilder.loadTexts: flipperdadreraise.setDescription('Re-raising Traffic IP Address; Operating system did not fully raise the address') flipperipexists = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 80)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'trafficIPInet46AddressType'), ('ZXTM-MIB', 'trafficIPInet46Address')) if mibBuilder.loadTexts: flipperipexists.setDescription('Failed to raise Traffic IP Address; the address exists elsewhere on your network and cannot be raised') triggersummary = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 81)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'serviceProtName')) if mibBuilder.loadTexts: triggersummary.setDescription('Summary of recent service protection events') slmclasslimitexceeded = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 82)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: slmclasslimitexceeded.setDescription('SLM shared memory limit exceeded') slmrecoveredwarn = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 83)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'serviceLevelName')) if mibBuilder.loadTexts: slmrecoveredwarn.setDescription('SLM has recovered') slmrecoveredserious = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 84)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'serviceLevelName')) if mibBuilder.loadTexts: slmrecoveredserious.setDescription('SLM has risen above the serious threshold') slmfallenbelowwarn = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 85)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'serviceLevelName')) if mibBuilder.loadTexts: slmfallenbelowwarn.setDescription('SLM has fallen below warning threshold') slmfallenbelowserious = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 86)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'serviceLevelName')) if mibBuilder.loadTexts: slmfallenbelowserious.setDescription('SLM has fallen below serious threshold') vscrloutofdate = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 87)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: vscrloutofdate.setDescription('CRL for a Certificate Authority is out of date') vsstart = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 88)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: vsstart.setDescription('Virtual server started') vsstop = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 89)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: vsstop.setDescription('Virtual server stopped') privkeyok = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 90)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: privkeyok.setDescription('Private key now OK (hardware available)') ssldrop = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 91)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: ssldrop.setDescription('Request(s) received while SSL configuration invalid, connection closed') vslogwritefail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 92)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: vslogwritefail.setDescription('Failed to write log file for virtual server') vssslcertexpired = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 93)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: vssslcertexpired.setDescription('Public SSL certificate expired') vssslcerttoexpire = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 94)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: vssslcerttoexpire.setDescription('Public SSL certificate will expire within seven days') vscacertexpired = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 95)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: vscacertexpired.setDescription('Certificate Authority certificate expired') vscacerttoexpire = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 96)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: vscacerttoexpire.setDescription('Certificate Authority certificate will expire within seven days') glbmissingips = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 150)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: glbmissingips.setDescription('A DNS Query returned IP addresses that are not configured in any location') glbdeadlocmissingips = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 158)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: glbdeadlocmissingips.setDescription('A DNS Query returned IP addresses that are not configured for any location that is currently alive') glbnolocations = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 151)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: glbnolocations.setDescription('No valid location could be chosen for Global Load Balancing') locationmonitorok = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 152)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'locationName'), ('ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: locationmonitorok.setDescription('A monitor has indicated this location is now working') locationmonitorfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 153)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'locationName'), ('ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: locationmonitorfail.setDescription('A monitor has detected a failure in this location') locationok = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 154)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'locationName'), ('ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: locationok.setDescription('Location is now working for GLB Service') locationfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 155)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'locationName'), ('ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: locationfail.setDescription('Location has failed for GLB Service') locationsoapok = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 156)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'locationName'), ('ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: locationsoapok.setDescription('An external SOAP agent indicates this location is now working') locationsoapfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 157)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'locationName'), ('ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: locationsoapfail.setDescription('An external SOAP agent has detected a failure in this location') glbnewmaster = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 160)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'locationName'), ('ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: glbnewmaster.setDescription('A location has been set as master for a GLB service') glblogwritefail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 161)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: glblogwritefail.setDescription('Failed to write log file for GLB service') glbfailalter = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 162)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: glbfailalter.setDescription('Failed to alter DNS packet for global load balancing') glbservicedied = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 190)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: glbservicedied.setDescription('GLB Service has no working locations') glbserviceok = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 191)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'glbServiceName')) if mibBuilder.loadTexts: glbserviceok.setDescription('GLB Service has recovered') locmovemachine = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 173)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'locationName'), ('ZXTM-MIB', 'zxtmName')) if mibBuilder.loadTexts: locmovemachine.setDescription('Machine now in location') locempty = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 174)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'locationName')) if mibBuilder.loadTexts: locempty.setDescription('Location no longer contains any machines') maxclientbufferdrop = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 97)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: maxclientbufferdrop.setDescription('Dropped connection, request exceeded max_client_buffer limit') respcompfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 98)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: respcompfail.setDescription('Error compressing HTTP response') responsetoolarge = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 99)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: responsetoolarge.setDescription('Response headers from webserver too large') sipstreamnoports = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 100)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: sipstreamnoports.setDescription('No suitable ports available for streaming data connection') rtspstreamnoports = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 101)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: rtspstreamnoports.setDescription('No suitable ports available for streaming data connection') geodataloadfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 102)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: geodataloadfail.setDescription('Failed to load geolocation data') poolpersistencemismatch = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 103)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: poolpersistencemismatch.setDescription("Pool uses a session persistence class that does not work with this virtual server's protocol") connerror = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 104)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: connerror.setDescription('A protocol error has occurred') connfail = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 105)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: connfail.setDescription('A socket connection failure has occurred') badcontentlen = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 106)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'poolName')) if mibBuilder.loadTexts: badcontentlen.setDescription('HTTP response contained an invalid Content-Length header') logfiledeleted = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 115)).setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'virtualserverName')) if mibBuilder.loadTexts: logfiledeleted.setDescription('A virtual server request log file was deleted (Zeus Appliances only)') license_graceperiodexpired = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 116)).setLabel('license-graceperiodexpired').setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: license_graceperiodexpired.setDescription('Unable to authorize license key') license_authorized = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 117)).setLabel('license-authorized').setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: license_authorized.setDescription('License key authorized') license_rejected_authorized = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 118)).setLabel('license-rejected-authorized').setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: license_rejected_authorized.setDescription('License server rejected license key; key remains authorized') license_rejected_unauthorized = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 119)).setLabel('license-rejected-unauthorized').setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: license_rejected_unauthorized.setDescription('License server rejected license key; key is not authorized') license_timedout_authorized = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 120)).setLabel('license-timedout-authorized').setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: license_timedout_authorized.setDescription('Unable to contact license server; license key remains authorized') license_timedout_unauthorized = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 121)).setLabel('license-timedout-unauthorized').setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: license_timedout_unauthorized.setDescription('Unable to contact license server; license key is not authorized') license_unauthorized = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 122)).setLabel('license-unauthorized').setObjects(('ZXTM-MIB', 'fullLogLine'), ('ZXTM-MIB', 'licensekeyName')) if mibBuilder.loadTexts: license_unauthorized.setDescription('License key is not authorized') logdiskoverload = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 186)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: logdiskoverload.setDescription('Log disk partition usage has exceeded threshold') logdiskfull = notification_type((1, 3, 6, 1, 4, 1, 7146, 1, 2, 15) + (0, 187)).setObjects(('ZXTM-MIB', 'fullLogLine')) if mibBuilder.loadTexts: logdiskfull.setDescription('Log disk partition full') cloudcredentials_class_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cloudcredentialsClassNumber.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsClassNumber.setDescription('The number of cloud credentials sets defined.') cloudcredentials_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2)) if mibBuilder.loadTexts: cloudcredentialsTable.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsTable.setDescription('This table provides statistics for cloud credentials sets.') cloudcredentials_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'cloudcredentialsName')) if mibBuilder.loadTexts: cloudcredentialsEntry.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsEntry.setDescription('This defines a row in the cloud credentials table.') cloudcredentials_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cloudcredentialsName.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsName.setDescription('The name of this set of cloud credentials.') cloudcredentials_status_requests = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cloudcredentialsStatusRequests.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsStatusRequests.setDescription('The number of status API requests made with this set of cloud credentials.') cloudcredentials_node_creations = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cloudcredentialsNodeCreations.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsNodeCreations.setDescription('The number of instance creation API requests made with this set of cloud credentials.') cloudcredentials_node_deletions = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 23, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cloudcredentialsNodeDeletions.setStatus('mandatory') if mibBuilder.loadTexts: cloudcredentialsNodeDeletions.setDescription('The number of instance destruction API requests made with this set of cloud credentials.') listen_ip_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2)) if mibBuilder.loadTexts: listenIPTable.setStatus('mandatory') if mibBuilder.loadTexts: listenIPTable.setDescription('This table defines all the information for a particular listening IP (includes IPv4 and IPv6 addresses).') listen_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'listenIPAddressType'), (0, 'ZXTM-MIB', 'listenIPAddress')) if mibBuilder.loadTexts: listenIPEntry.setStatus('mandatory') if mibBuilder.loadTexts: listenIPEntry.setDescription('This defines a row in the listenips table (includes IPv4 and IPv6 addresses).') listen_ip_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 1), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: listenIPAddressType.setStatus('mandatory') if mibBuilder.loadTexts: listenIPAddressType.setDescription('The IP address type of this listening IP.') listen_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 2), inet_address().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: listenIPAddress.setStatus('mandatory') if mibBuilder.loadTexts: listenIPAddress.setDescription('The IPv4 or IPv6 address of this listening IP.') listen_ip_bytes_in_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: listenIPBytesInLo.setStatus('mandatory') if mibBuilder.loadTexts: listenIPBytesInLo.setDescription('Bytes sent to this listening IP ( low 32bits ).') listen_ip_bytes_in_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: listenIPBytesInHi.setStatus('mandatory') if mibBuilder.loadTexts: listenIPBytesInHi.setDescription('Bytes sent to this listening IP ( high 32bits ).') listen_ip_bytes_out_lo = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: listenIPBytesOutLo.setStatus('mandatory') if mibBuilder.loadTexts: listenIPBytesOutLo.setDescription('Bytes sent from this listening IP ( low 32bits ).') listen_ip_bytes_out_hi = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: listenIPBytesOutHi.setStatus('mandatory') if mibBuilder.loadTexts: listenIPBytesOutHi.setDescription('Bytes sent from this listening IP ( high 32bits ).') listen_ip_current_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 7), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: listenIPCurrentConn.setStatus('mandatory') if mibBuilder.loadTexts: listenIPCurrentConn.setDescription('TCP connections currently established to this listening IP.') listen_ip_total_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: listenIPTotalConn.setStatus('mandatory') if mibBuilder.loadTexts: listenIPTotalConn.setDescription('Requests sent to this listening IP.') listen_ip_max_conn = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 27, 2, 1, 9), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: listenIPMaxConn.setStatus('mandatory') if mibBuilder.loadTexts: listenIPMaxConn.setDescription('Maximum number of simultaneous TCP connections this listening IP has processed at any one time.') authenticator_number = mib_scalar((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: authenticatorNumber.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorNumber.setDescription('The number of Authenticators.') authenticator_table = mib_table((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2)) if mibBuilder.loadTexts: authenticatorTable.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorTable.setDescription('This table provides information and statistics for Authenticators.') authenticator_entry = mib_table_row((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1)).setIndexNames((0, 'ZXTM-MIB', 'authenticatorName')) if mibBuilder.loadTexts: authenticatorEntry.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorEntry.setDescription('This defines a row in the authenticators table.') authenticator_name = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: authenticatorName.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorName.setDescription('The name of the Authenticator.') authenticator_requests = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: authenticatorRequests.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorRequests.setDescription('Number of times this Authenticator has been asked to authenticate.') authenticator_passes = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: authenticatorPasses.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorPasses.setDescription('Number of times this Authenticator has successfully authenticated.') authenticator_fails = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: authenticatorFails.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorFails.setDescription('Number of times this Authenticator has failed to authenticate.') authenticator_errors = mib_table_column((1, 3, 6, 1, 4, 1, 7146, 1, 2, 28, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: authenticatorErrors.setStatus('mandatory') if mibBuilder.loadTexts: authenticatorErrors.setDescription('Number of connection errors that have occured when trying to connect to an authentication server.') mibBuilder.exportSymbols('ZXTM-MIB', nodeFailures=nodeFailures, trafficIPEntry=trafficIPEntry, perPoolNodeBytesFromNodeHi=perPoolNodeBytesFromNodeHi, statebaddata=statebaddata, customevent=customevent, license_timedout_unauthorized=license_timedout_unauthorized, trafficIPInet46AddressType=trafficIPInet46AddressType, perNodeServiceLevelInet46NodeAddress=perNodeServiceLevelInet46NodeAddress, license_timedout_authorized=license_timedout_authorized, perLocationServiceLocationCode=perLocationServiceLocationCode, testaction=testaction, sslCipherDecrypts=sslCipherDecrypts, autonodeexisted=autonodeexisted, flipperraiseothersdead=flipperraiseothersdead, virtualserverConnectionFailures=virtualserverConnectionFailures, monitorName=monitorName, rulestreamerrornotfinished=rulestreamerrornotfinished, poolBytesOutLo=poolBytesOutLo, rateClassCurrentRate=rateClassCurrentRate, hardware=hardware, licenseclustertoobig=licenseclustertoobig, virtualserverMaxConn=virtualserverMaxConn, ruleAborts=ruleAborts, poolBytesInLo=poolBytesInLo, poolName=poolName, glbnolocations=glbnolocations, slmfallenbelowwarn=slmfallenbelowwarn, virtualserverConnectTimedOut=virtualserverConnectTimedOut, nodeNumberInet46=nodeNumberInet46, poolNodes=poolNodes, autoscaleinvalidargforcreatenode=autoscaleinvalidargforcreatenode, poolNumber=poolNumber, trafficIPInet46State=trafficIPInet46State, stateconnfail=stateconnfail, bandwidthClassGuarantee=bandwidthClassGuarantee, cloudcredentialsName=cloudcredentialsName, perPoolNodeIdleConns=perPoolNodeIdleConns, sslSessionIDDiskCacheHit=sslSessionIDDiskCacheHit, perPoolNodeBytesFromNodeLo=perPoolNodeBytesFromNodeLo, perLocationServiceLocationName=perLocationServiceLocationName, cloudcredentials=cloudcredentials, running=running, perPoolNodeCurrentRequests=perPoolNodeCurrentRequests, listenIPEntry=listenIPEntry, perNodeServiceLevelInet46SLMName=perNodeServiceLevelInet46SLMName, authenticatorEntry=authenticatorEntry, poolConnsQueued=poolConnsQueued, nodeInet46HostName=nodeInet46HostName, sslConnections=sslConnections, autoscalinglicenseenabled=autoscalinglicenseenabled, uniSessionCacheOldest=uniSessionCacheOldest, nodeBytesToNodeLo=nodeBytesToNodeLo, totalBytesInLo=totalBytesInLo, rateClassQueueLength=rateClassQueueLength, perNodeServiceLevelInet46Table=perNodeServiceLevelInet46Table, ipSessionCacheLookups=ipSessionCacheLookups, sslCipherDESDecrypts=sslCipherDESDecrypts, perPoolNodeTotalConn=perPoolNodeTotalConn, trafficIPTime=trafficIPTime, authenticatorName=authenticatorName, rateClassEntry=rateClassEntry, triggersummary=triggersummary, j2eeSessionCacheHitRate=j2eeSessionCacheHitRate, rateClassNumber=rateClassNumber, locationLoad=locationLoad, rulestreamerrornotstarted=rulestreamerrornotstarted, pernodeservicelevelmon=pernodeservicelevelmon, poolTotalConn=poolTotalConn, nodeInet46Table=nodeInet46Table, virtualservers=virtualservers, j2eeSessionCacheMisses=j2eeSessionCacheMisses, rulenopersistence=rulenopersistence, perPoolNodeResponseMean=perPoolNodeResponseMean, machinetimeout=machinetimeout, perPoolNodePooledConn=perPoolNodePooledConn, sslSessionCacheEntriesMax=sslSessionCacheEntriesMax, nodeInet46Entry=nodeInet46Entry, customEventName=customEventName, sslSessionCacheMisses=sslSessionCacheMisses, sysMemBuffered=sysMemBuffered, license_rejected_authorized=license_rejected_authorized, sysMemTotal=sysMemTotal, confrepfailed=confrepfailed, events=events, sslCipherRC4Decrypts=sslCipherRC4Decrypts, cloudcredentialsEntry=cloudcredentialsEntry, timeLastConfigUpdate=timeLastConfigUpdate, webCacheMissesHi=webCacheMissesHi, autoscalewrongimageid=autoscalewrongimageid, nodeInet46TotalConn=nodeInet46TotalConn, bandwidthClassBytesOutLo=bandwidthClassBytesOutLo, badcontentlen=badcontentlen, rateClassName=rateClassName, poolnonodes=poolnonodes, perLocationServiceLoad=perLocationServiceLoad, trafficIPARPMessage=trafficIPARPMessage, perNodeServiceLevelNodePort=perNodeServiceLevelNodePort, tpslimited=tpslimited, rulestreamerrornotenough=rulestreamerrornotenough, nodeworking=nodeworking, glbnewmaster=glbnewmaster, nodeInet46State=nodeInet46State, monitorfail=monitorfail, perNodeServiceLevelResponseMax=perNodeServiceLevelResponseMax, perLocationServiceName=perLocationServiceName, authenticators=authenticators, virtualserverPort=virtualserverPort, aspSessionCacheHits=aspSessionCacheHits, autonodedisappeared=autonodedisappeared, sslhwstart=sslhwstart, interfaceTxBytesHi=interfaceTxBytesHi, webCacheMaxEntries=webCacheMaxEntries, sslCipher3DESEncrypts=sslCipher3DESEncrypts, sslCacheOldest=sslCacheOldest, sslCacheHits=sslCacheHits, rulebodycomperror=rulebodycomperror, sslCipher3DESDecrypts=sslCipher3DESDecrypts, nodeInet46BytesToNodeHi=nodeInet46BytesToNodeHi, totalBytesOutHi=totalBytesOutHi, poolMaxQueueTime=poolMaxQueueTime, ruleEntry=ruleEntry, rulestreamerrorinternal=rulestreamerrorinternal, serviceProtRefusalRFC2396=serviceProtRefusalRFC2396, sysMemSwapped=sysMemSwapped, license_authorized=license_authorized, zxtmTable=zxtmTable, serviceProtTable=serviceProtTable, ipSessionCacheEntries=ipSessionCacheEntries, sslhwrestart=sslhwrestart, rateClassTable=rateClassTable, numberDNSACacheHits=numberDNSACacheHits, eventsMatched=eventsMatched, licensekeyName=licensekeyName, bandwidthClassBytesOutHi=bandwidthClassBytesOutHi, licensekeys=licensekeys, noderesolvefailure=noderesolvefailure, virtualserverHttpCacheHitRate=virtualserverHttpCacheHitRate, autoscalepoolconfupdate=autoscalepoolconfupdate, vssslcerttoexpire=vssslcerttoexpire, autoscalewrongname=autoscalewrongname, listenIPTable=listenIPTable, ehloinvalid=ehloinvalid, perNodeServiceLevelInet46NodeAddressType=perNodeServiceLevelInet46NodeAddressType, aspSessionCacheHitRate=aspSessionCacheHitRate, sslSessionCacheHits=sslSessionCacheHits, virtualserverDataTimedOut=virtualserverDataTimedOut, javastartfail=javastartfail, locationsoapfail=locationsoapfail, license_graceperiodexpired=license_graceperiodexpired, javaterminatefail=javaterminatefail, serviceLevelEntry=serviceLevelEntry, nodeInet46ResponseMax=nodeInet46ResponseMax, serviceProtRefusalConc10IP=serviceProtRefusalConc10IP, monitorTable=monitorTable, autonodedestructioncomplete=autonodedestructioncomplete, sslHandshakeSSLv2=sslHandshakeSSLv2, webCacheLookupsLo=webCacheLookupsLo, cloudcredentialsStatusRequests=cloudcredentialsStatusRequests, interfaceEntry=interfaceEntry, webCacheHitsHi=webCacheHitsHi, sslCipherRSAEncryptsExternal=sslCipherRSAEncryptsExternal, autoscalinghitroof=autoscalinghitroof, nodeInet46IdleConns=nodeInet46IdleConns, virtualserverBytesInHi=virtualserverBytesInHi, perNodeServiceLevelTotalNonConf=perNodeServiceLevelTotalNonConf, uniSessionCacheEntries=uniSessionCacheEntries, cloudcredentialsNodeDeletions=cloudcredentialsNodeDeletions, serviceLevelResponseMean=serviceLevelResponseMean, perNodeServiceLevelInet46ResponseMean=perNodeServiceLevelInet46ResponseMean, usingdevlicense=usingdevlicense, pools=pools, ssldrop=ssldrop, pinggwfail=pinggwfail, sslSessionIDMemCacheMiss=sslSessionIDMemCacheMiss, nodeInet46CurrentRequests=nodeInet46CurrentRequests, sslClientCertInvalid=sslClientCertInvalid, trafficIPGatewayPingRequests=trafficIPGatewayPingRequests, rulelogmsgserious=rulelogmsgserious, rulexmlerr=rulexmlerr, logfiledeleted=logfiledeleted, cloudcredentialsClassNumber=cloudcredentialsClassNumber, aspSessionCacheMisses=aspSessionCacheMisses, connerror=connerror, sslSessionIDMemCacheHit=sslSessionIDMemCacheHit, eventTable=eventTable, numberSNMPBadRequests=numberSNMPBadRequests, autoscalingresuscitatepool=autoscalingresuscitatepool, rateClassConnsEntered=rateClassConnsEntered, sslSessionCacheLookups=sslSessionCacheLookups, pooluseunknown=pooluseunknown, norate=norate, autoscalingprocesstimedout=autoscalingprocesstimedout, flipperraiselocalworking=flipperraiselocalworking, nodeResponseMax=nodeResponseMax, autonodecreationstarted=autonodecreationstarted, actionTable=actionTable, vslogwritefail=vslogwritefail, poolSessionMigrated=poolSessionMigrated, nodeResponseMin=nodeResponseMin, serviceProtLastRefusalTime=serviceProtLastRefusalTime, confok=confok, totalBytesOutLo=totalBytesOutLo, sslCacheEntriesMax=sslCacheEntriesMax, serviceLevelName=serviceLevelName, perPoolNodeNodeAddressType=perPoolNodeNodeAddressType, cloudcredentialsTable=cloudcredentialsTable, javastop=javastop, trafficIPNumberRaisedInet46=trafficIPNumberRaisedInet46, restartrequired=restartrequired, glbServiceNumber=glbServiceNumber, numberChildProcesses=numberChildProcesses, totalCurrentConn=totalCurrentConn, j2eeSessionCacheEntriesMax=j2eeSessionCacheEntriesMax, aspSessionCacheEntries=aspSessionCacheEntries, nodeResponseMean=nodeResponseMean, trafficIPPingResponseErrors=trafficIPPingResponseErrors, serviceProtNumber=serviceProtNumber, autoscaledpoolrefractory=autoscaledpoolrefractory, sslCacheLookups=sslCacheLookups, version=version, aspSessionCacheOldest=aspSessionCacheOldest, perNodeServiceLevelNodeIPAddr=perNodeServiceLevelNodeIPAddr, locationName=locationName, zxtmswerror=zxtmswerror, allmachinesok=allmachinesok, responsetoolarge=responsetoolarge, bandwidthClassEntry=bandwidthClassEntry, rulelogmsgwarn=rulelogmsgwarn, perPoolNodeErrors=perPoolNodeErrors, poolEntry=poolEntry, perPoolNodeNodeHostName=perPoolNodeNodeHostName, javadied=javadied, webCacheEntries=webCacheEntries, listenIPBytesInHi=listenIPBytesInHi, authenticatorTable=authenticatorTable, numberSNMPUnauthorisedRequests=numberSNMPUnauthorisedRequests, rtspstreamnoports=rtspstreamnoports, virtualserverEntry=virtualserverEntry, virtualserverSIPTotalCalls=virtualserverSIPTotalCalls, poolPersistence=poolPersistence, autoscaledpooltoobig=autoscaledpooltoobig, trafficIPNodePingRequests=trafficIPNodePingRequests, virtualserverUdpTimedOut=virtualserverUdpTimedOut, perPoolNodeCurrentConn=perPoolNodeCurrentConn, glbserviceok=glbserviceok, licensetoomanylocations=licensetoomanylocations, nodeHostName=nodeHostName, virtualserverCurrentConn=virtualserverCurrentConn, nodeInet46Errors=nodeInet46Errors, pingfrontendfail=pingfrontendfail, sslCipherRSADecryptsExternal=sslCipherRSADecryptsExternal, activatedautomatically=activatedautomatically, nodes=nodes, noderesolvemultiple=noderesolvemultiple) mibBuilder.exportSymbols('ZXTM-MIB', poolFailPool=poolFailPool, licensekeyTable=licensekeyTable, flipperipexists=flipperipexists, autoscalednodecontested=autoscalednodecontested, servicerulelocnotconfigured=servicerulelocnotconfigured, serviceProtName=serviceProtName, ruleTable=ruleTable, apistatusprocesshanging=apistatusprocesshanging, bandwidthClassName=bandwidthClassName, autoscaledpooltoosmall=autoscaledpooltoosmall, rateClassMaxRatePerMin=rateClassMaxRatePerMin, authenticatorFails=authenticatorFails, autonodecreationcomplete=autonodecreationcomplete, ruleResponds=ruleResponds, slmfallenbelowserious=slmfallenbelowserious, ruleRetries=ruleRetries, sslClientCertNotSent=sslClientCertNotSent, perNodeServiceLevelInet46NodePort=perNodeServiceLevelInet46NodePort, autoscalingpoolstatechange=autoscalingpoolstatechange, nodeInet46ResponseMin=nodeInet46ResponseMin, rulestreamerrorgetresponse=rulestreamerrorgetresponse, totalConn=totalConn, virtualserverHttpRewriteCookie=virtualserverHttpRewriteCookie, glbServiceTable=glbServiceTable, usedcredsdeleted=usedcredsdeleted, totalBytesInHi=totalBytesInHi, sysCPUIdlePercent=sysCPUIdlePercent, sslHandshakeTLSv1=sslHandshakeTLSv1, statetimeout=statetimeout, perLocationServiceMonitorState=perLocationServiceMonitorState, aspSessionCacheLookups=aspSessionCacheLookups, monitorNumber=monitorNumber, nodeErrors=nodeErrors, sysCPUBusyPercent=sysCPUBusyPercent, slmclasslimitexceeded=slmclasslimitexceeded, autherror=autherror, geodataloadfail=geodataloadfail, sipstreamnoports=sipstreamnoports, license_rejected_unauthorized=license_rejected_unauthorized, interfaceTxBytesLo=interfaceTxBytesLo, webCacheMemMaximum=webCacheMemMaximum, nostarttls=nostarttls, stateok=stateok, serviceProtRefusalSize=serviceProtRefusalSize, totalBadDNSPackets=totalBadDNSPackets, serviceLevelConforming=serviceLevelConforming, nodePort=nodePort, perPoolNodeNewConn=perPoolNodeNewConn, poolactivenodesunknown=poolactivenodesunknown, sysMemFree=sysMemFree, trafficIPInet46Time=trafficIPInet46Time, virtualserverName=virtualserverName, actions=actions, nodeInet46Port=nodeInet46Port, listenIPAddressType=listenIPAddressType, autoscalinghysteresiscantgrow=autoscalinghysteresiscantgrow, nodeInet46PooledConn=nodeInet46PooledConn, sysMemSwapTotal=sysMemSwapTotal, licensecorrupt=licensecorrupt, pooldied=pooldied, flipperfrontendsworking=flipperfrontendsworking, locationok=locationok, datastorefull=datastorefull, perNodeServiceLevelTotalConn=perNodeServiceLevelTotalConn, actionName=actionName, sslCipherRSAEncrypts=sslCipherRSAEncrypts, nodeEntry=nodeEntry, virtualserverHttpRewriteLocation=virtualserverHttpRewriteLocation, poolok=poolok, virtualserverBytesInLo=virtualserverBytesInLo, virtualserverHttpCacheHits=virtualserverHttpCacheHits, dataEntries=dataEntries, numberSNMPGetNextRequests=numberSNMPGetNextRequests, nodefail=nodefail, confName=confName, interfaceCollisions=interfaceCollisions, javastarted=javastarted, zxtm=zxtm, zxtms=zxtms, trafficIPNodePingResponses=trafficIPNodePingResponses, sysFDsFree=sysFDsFree, ruleabort=ruleabort, userCounterValue=userCounterValue, trafficIPTable=trafficIPTable, nodeInet46NewConn=nodeInet46NewConn, ssltpslimited=ssltpslimited, zxtmName=zxtmName, unlicensed=unlicensed, locationResponses=locationResponses, zxtmNumber=zxtmNumber, monitorEntry=monitorEntry, flipperrecovered=flipperrecovered, sslSessionIDDiskCacheMiss=sslSessionIDDiskCacheMiss, rulestreamerrortoomuch=rulestreamerrortoomuch, bandwidthClassTable=bandwidthClassTable, webCacheLookupsHi=webCacheLookupsHi, ec2flipperraiseothersdead=ec2flipperraiseothersdead, locationmonitorok=locationmonitorok, cannotshrinkemptypool=cannotshrinkemptypool, serviceProtTotalRefusal=serviceProtTotalRefusal, numberSNMPGetRequests=numberSNMPGetRequests, glbServiceResponses=glbServiceResponses, rules=rules, numIdleConnections=numIdleConnections, locationTable=locationTable, webCacheOldest=webCacheOldest, autoscalinglicensedisabled=autoscalinglicensedisabled, servicerulelocunknown=servicerulelocunknown, poolMinQueueTime=poolMinQueueTime, serviceProtRefusalConnRate=serviceProtRefusalConnRate, autoscalinghysteresiscantshrink=autoscalinghysteresiscantshrink, perPoolNodeNodeAddress=perPoolNodeNodeAddress, glbServiceUnmodified=glbServiceUnmodified, trafficIPNumberRaised=trafficIPNumberRaised, autonodestatuschange=autonodestatuschange, webCacheMissesLo=webCacheMissesLo, listenIPAddress=listenIPAddress, sysCPUSystemBusyPercent=sysCPUSystemBusyPercent, totalTransactions=totalTransactions, monitors=monitors, serviceProtRefusalBinary=serviceProtRefusalBinary, virtualserverNumber=virtualserverNumber, locmovemachine=locmovemachine, actionNumber=actionNumber, serviceLevelTotalConn=serviceLevelTotalConn, virtualserverTotalConn=virtualserverTotalConn, virtualserverGzipBytesSavedHi=virtualserverGzipBytesSavedHi, poolDisabled=poolDisabled, slmrecoveredwarn=slmrecoveredwarn, connfail=connfail, flipperbackendsworking=flipperbackendsworking, poolMeanQueueTime=poolMeanQueueTime, numberDNSPTRRequests=numberDNSPTRRequests, serviceProtRefusalConc1IP=serviceProtRefusalConc1IP, bandwidthmgt=bandwidthmgt, aspsessioncache=aspsessioncache, webCacheMemUsed=webCacheMemUsed, perLocationServiceDraining=perLocationServiceDraining, nodeNumber=nodeNumber, nodeInet46AddressType=nodeInet46AddressType, virtualserverDiscard=virtualserverDiscard, serviceLevelNumber=serviceLevelNumber, nodeInet46Failures=nodeInet46Failures, serviceLevelCurrentConns=serviceLevelCurrentConns, poolDraining=poolDraining, serviceProtEntry=serviceProtEntry, zxtmEntry=zxtmEntry, virtualserverKeepaliveTimedOut=virtualserverKeepaliveTimedOut, autoscalingchangeprocessfailure=autoscalingchangeprocessfailure, perlocationservices=perlocationservices, userCounterNumber=userCounterNumber, machinefail=machinefail, eventNumber=eventNumber, perLocationServiceTable=perLocationServiceTable, timemovedback=timemovedback, javanotfound=javanotfound, forwardproxybadhost=forwardproxybadhost, trafficIPAddress=trafficIPAddress, maxclientbufferdrop=maxclientbufferdrop, uniSessionCacheHits=uniSessionCacheHits, logdiskfull=logdiskfull, dropipwarn=dropipwarn, sslCipherRC4Encrypts=sslCipherRC4Encrypts, serviceLevelResponseMax=serviceLevelResponseMax, licensekeyNumber=licensekeyNumber, ipSessionCacheHitRate=ipSessionCacheHitRate, bwlimited=bwlimited, extra=extra, serviceProtRefusalIP=serviceProtRefusalIP, nodeBytesToNodeHi=nodeBytesToNodeHi, poolTable=poolTable, authenticatorNumber=authenticatorNumber, listenips=listenips, sslCipherDESEncrypts=sslCipherDESEncrypts, cachesizereduced=cachesizereduced, ruleNumber=ruleNumber, interfaceRxErrors=interfaceRxErrors, virtualserverDirectReplies=virtualserverDirectReplies, upTime=upTime, j2eeSessionCacheHits=j2eeSessionCacheHits, userCounterTable=userCounterTable, locempty=locempty, flipperdadreraise=flipperdadreraise, interfaceRxBytesHi=interfaceRxBytesHi, fullLogLine=fullLogLine, rateClassConnsLeft=rateClassConnsLeft, vsstart=vsstart, sslCacheMisses=sslCacheMisses, logdiskoverload=logdiskoverload, uniSessionCacheHitRate=uniSessionCacheHitRate, sslSessionCacheEntries=sslSessionCacheEntries, nodePooledConn=nodePooledConn, virtualserverTable=virtualserverTable, trafficIPGatewayPingResponses=trafficIPGatewayPingResponses, glbdeadlocmissingips=glbdeadlocmissingips, perLocationServiceState=perLocationServiceState, stateunexpected=stateunexpected, autoscalewrongsizeid=autoscalewrongsizeid, poolBytesInHi=poolBytesInHi, perLocationServiceResponses=perLocationServiceResponses, eventEntry=eventEntry, glblogwritefail=glblogwritefail, poolQueueTimeouts=poolQueueTimeouts, perNodeServiceLevelEntry=perNodeServiceLevelEntry, zeus=zeus, perPoolNodeBytesToNodeLo=perPoolNodeBytesToNodeLo, nodeInet46Address=nodeInet46Address, interfaceTable=interfaceTable, sslCacheHitRate=sslCacheHitRate, machinerecovered=machinerecovered, sslhwfail=sslhwfail, zclustermoderr=zclustermoderr, rulePoolSelect=rulePoolSelect, perLocationServiceEntry=perLocationServiceEntry, vscacertexpired=vscacertexpired, interfaceRxBytesLo=interfaceRxBytesLo, ec2flipperraiselocalworking=ec2flipperraiselocalworking, ipSessionCacheEntriesMax=ipSessionCacheEntriesMax, locationEntry=locationEntry, statewritefail=statewritefail, respcompfail=respcompfail, numberDNSPTRCacheHits=numberDNSPTRCacheHits, locationmonitorfail=locationmonitorfail, perNodeServiceLevelInet46ResponseMin=perNodeServiceLevelInet46ResponseMin, autonodedestroyed=autonodedestroyed, eventsSeen=eventsSeen, sslCipherAESDecrypts=sslCipherAESDecrypts, glbServiceName=glbServiceName, serviceLevelResponseMin=serviceLevelResponseMin, uniSessionCacheMisses=uniSessionCacheMisses, nodeBytesFromNodeLo=nodeBytesFromNodeLo, sslHandshakeTLSv11=sslHandshakeTLSv11, rulebufferlarge=rulebufferlarge, slmrecoveredserious=slmrecoveredserious, pingbackendfail=pingbackendfail, ipsessioncache=ipsessioncache, virtualserverConnectionErrors=virtualserverConnectionErrors, perPoolNodeBytesToNodeHi=perPoolNodeBytesToNodeHi, actionEntry=actionEntry, locationfail=locationfail, autoscalingdisabled=autoscalingdisabled, ruleExecutions=ruleExecutions, serviceLevelTable=serviceLevelTable, ipSessionCacheHits=ipSessionCacheHits, virtualserverBytesOutHi=virtualserverBytesOutHi, poolAlgorithm=poolAlgorithm, perPoolNodeResponseMax=perPoolNodeResponseMax, glbmissingips=glbmissingips, j2eeSessionCacheEntries=j2eeSessionCacheEntries, netinterfaces=netinterfaces, aspSessionCacheEntriesMax=aspSessionCacheEntriesMax, uniSessionCacheLookups=uniSessionCacheLookups, glbServiceDiscarded=glbServiceDiscarded, vscrloutofdate=vscrloutofdate) mibBuilder.exportSymbols('ZXTM-MIB', perPoolNodeTable=perPoolNodeTable, interfaceNumber=interfaceNumber, analyticslicensedisabled=analyticslicensedisabled, expiresoon=expiresoon, j2eeSessionCacheOldest=j2eeSessionCacheOldest, listenIPTotalConn=listenIPTotalConn, virtualserverProtocol=virtualserverProtocol, webcache=webcache, sysMemInUse=sysMemInUse, interfaceTxPackets=interfaceTxPackets, trafficIPNumberInet46=trafficIPNumberInet46, numberDNSARequests=numberDNSARequests, vsstop=vsstop, cache=cache, dropipinfo=dropipinfo, uniSessionCacheEntriesMax=uniSessionCacheEntriesMax, zxtmtraps=zxtmtraps, trafficips=trafficips, virtualserverTotalDgram=virtualserverTotalDgram, listenIPMaxConn=listenIPMaxConn, invalidemit=invalidemit, listenIPBytesOutHi=listenIPBytesOutHi, virtualserverSIPRejectedRequests=virtualserverSIPRejectedRequests, nodeInet46BytesToNodeLo=nodeInet46BytesToNodeLo, ipSessionCacheOldest=ipSessionCacheOldest, locationCode=locationCode, interfaceTxErrors=interfaceTxErrors, lessmemallowed=lessmemallowed, perNodeServiceLevelResponseMean=perNodeServiceLevelResponseMean, glbServiceEntry=glbServiceEntry, serviceruleabort=serviceruleabort, sslCipherRSADecrypts=sslCipherRSADecrypts, serviceLevelTotalNonConf=serviceLevelTotalNonConf, perNodeServiceLevelInet46TotalNonConf=perNodeServiceLevelInet46TotalNonConf, servicerulelocdead=servicerulelocdead, rulestreamerrorprocessfailure=rulestreamerrorprocessfailure, products=products, autoscalinghitfloor=autoscalinghitfloor, license_unauthorized=license_unauthorized, monitorok=monitorok, userCounterName=userCounterName, servleterror=servleterror, unisessioncache=unisessioncache, nodeInet46BytesFromNodeLo=nodeInet46BytesFromNodeLo, starttlsinvalid=starttlsinvalid, confreptimeout=confreptimeout, totalBackendServerErrors=totalBackendServerErrors, sslcache=sslcache, j2eesessioncache=j2eesessioncache, perNodeServiceLevelInet46TotalConn=perNodeServiceLevelInet46TotalConn, confmod=confmod, autoscaleresponseparseerror=autoscaleresponseparseerror, sslClientCertRevoked=sslClientCertRevoked, glbservicedied=glbservicedied, nodeInet46BytesFromNodeHi=nodeInet46BytesFromNodeHi, autoscalestatusupdateerror=autoscalestatusupdateerror, glbfailalter=glbfailalter, nodeTable=nodeTable, trafficIPInet46Table=trafficIPInet46Table, virtualserverGzipBytesSavedLo=virtualserverGzipBytesSavedLo, sslCacheEntries=sslCacheEntries, autoscaleinvalidargfordeletenode=autoscaleinvalidargfordeletenode, perLocationServiceFrontendState=perLocationServiceFrontendState, glbservices=glbservices, confadd=confadd, authenticatorPasses=authenticatorPasses, poolBytesOutHi=poolBytesOutHi, poolpersistencemismatch=poolpersistencemismatch, fewfreefds=fewfreefds, sysCPUUserBusyPercent=sysCPUUserBusyPercent, perNodeServiceLevelTable=perNodeServiceLevelTable, virtualserverDefaultTrafficPool=virtualserverDefaultTrafficPool, cloudcredentialsNodeCreations=cloudcredentialsNodeCreations, autoscalinglicenseerror=autoscalinglicenseerror, perNodeServiceLevelInet46Entry=perNodeServiceLevelInet46Entry, flipperraiseosdrop=flipperraiseosdrop, privkeyok=privkeyok, ipSessionCacheMisses=ipSessionCacheMisses, ruleName=ruleName, machineok=machineok, ruleDiscards=ruleDiscards, versionmismatch=versionmismatch, webCacheHitsLo=webCacheHitsLo, userCounterEntry=userCounterEntry, nodeTotalConn=nodeTotalConn, nodeIPAddress=nodeIPAddress, j2eeSessionCacheLookups=j2eeSessionCacheLookups, virtualserverBytesOutLo=virtualserverBytesOutLo, globals=globals, vscacerttoexpire=vscacerttoexpire, actionsProcessed=actionsProcessed, nodeInet46ResponseMean=nodeInet46ResponseMean, activatealldead=activatealldead, trafficIPNumber=trafficIPNumber, sslCipherAESEncrypts=sslCipherAESEncrypts, nodeNewConn=nodeNewConn, bandwidthClassNumber=bandwidthClassNumber, sslHandshakeSSLv3=sslHandshakeSSLv3, rulelogmsginfo=rulelogmsginfo, interfaceName=interfaceName, morememallowed=morememallowed, sslfail=sslfail, poolState=poolState, perPoolNodeEntry=perPoolNodeEntry, apichangeprocesshanging=apichangeprocesshanging, ec2nopublicip=ec2nopublicip, listenIPBytesInLo=listenIPBytesInLo, serviceprotection=serviceprotection, dataMemoryUsage=dataMemoryUsage, connratelimit=connratelimit, rateClassMaxRatePerSec=rateClassMaxRatePerSec, interfaceRxPackets=interfaceRxPackets, perNodeServiceLevelInet46ResponseMax=perNodeServiceLevelInet46ResponseMax, analyticslicenseenabled=analyticslicenseenabled, listenIPBytesOutLo=listenIPBytesOutLo, perNodeServiceLevelResponseMin=perNodeServiceLevelResponseMin, trapobjects=trapobjects, perNodeServiceLevelSLMName=perNodeServiceLevelSLMName, rateClassDropped=rateClassDropped, vssslcertexpired=vssslcertexpired, sslClientCertExpired=sslClientCertExpired, virtualserverHttpCacheLookups=virtualserverHttpCacheLookups, trafficIPState=trafficIPState, dropec2ipwarn=dropec2ipwarn, perPoolNodePoolName=perPoolNodePoolName, trafficIPInet46Address=trafficIPInet46Address, eventName=eventName, usinglicense=usinglicense, perPoolNodeNumber=perPoolNodeNumber, persistence=persistence, trafficIPInet46Entry=trafficIPInet46Entry, nodeCurrentConn=nodeCurrentConn, listenIPCurrentConn=listenIPCurrentConn, licensekeyEntry=licensekeyEntry, locations=locations, virtualserverGzip=virtualserverGzip, perPoolNodeFailures=perPoolNodeFailures, sslSessionCacheOldest=sslSessionCacheOldest, sslCipherEncrypts=sslCipherEncrypts, totalRequests=totalRequests, statereadfail=statereadfail, confdel=confdel, locationsoapok=locationsoapok, authenticatorRequests=authenticatorRequests, serviceLevelIsOK=serviceLevelIsOK, servicelevelmonitoring=servicelevelmonitoring, sslsessioncache=sslsessioncache, perPoolNodeNodePort=perPoolNodeNodePort, nodeInet46CurrentConn=nodeInet46CurrentConn, nodeBytesFromNodeHi=nodeBytesFromNodeHi, expired=expired, multihostload=multihostload, ec2iperr=ec2iperr, sslSessionCacheHitRate=sslSessionCacheHitRate, authenticatorErrors=authenticatorErrors, webCacheHitRate=webCacheHitRate, perPoolNodeState=perPoolNodeState, nodeState=nodeState, nodeCurrentRequests=nodeCurrentRequests, rulesinvalidrequestbody=rulesinvalidrequestbody, perPoolNodeResponseMin=perPoolNodeResponseMin, bandwidthClassMaximum=bandwidthClassMaximum, totalDNSResponses=totalDNSResponses)
''' Takes raw radiosonde data file from NSGRA-2, removes data that's not required by the simulator, outputs _filtered version. This _filtered file is the file MAPLEAF expects when using radiosonde mean wind models ''' if __name__ == "__main__": # Adjust input (unfiltered) file location here filePath = "MAPLEAF/Examples/Wind/RadioSondeEdmonton.txt" with open(filePath, 'r') as file: lines = file.readlines() output = [] for line in lines: line = line.strip() isHeader = line[0] == '#' hasWindData = line[-5:] != "-9999" hasAltitude = line[16:21] != "-9999" if isHeader: output.append(line + "\n") elif hasWindData and hasAltitude: # Only keep required columns altitude = line[16:21] windSpeed = line[-11:] output.append("{} {}\n".format(altitude, windSpeed)) outputFilePath = filePath[:-4] + "_filtered.txt" with open(outputFilePath, 'w+') as file: file.writelines(output)
""" Takes raw radiosonde data file from NSGRA-2, removes data that's not required by the simulator, outputs _filtered version. This _filtered file is the file MAPLEAF expects when using radiosonde mean wind models """ if __name__ == '__main__': file_path = 'MAPLEAF/Examples/Wind/RadioSondeEdmonton.txt' with open(filePath, 'r') as file: lines = file.readlines() output = [] for line in lines: line = line.strip() is_header = line[0] == '#' has_wind_data = line[-5:] != '-9999' has_altitude = line[16:21] != '-9999' if isHeader: output.append(line + '\n') elif hasWindData and hasAltitude: altitude = line[16:21] wind_speed = line[-11:] output.append('{} {}\n'.format(altitude, windSpeed)) output_file_path = filePath[:-4] + '_filtered.txt' with open(outputFilePath, 'w+') as file: file.writelines(output)
class FakeTimer: def __init__(self, time, function, args=None, kwargs=None): self._time = time self._function = function self._args = args if args is not None else [] self._kwargs = kwargs if kwargs is not None else {} self._canceled = False self._started = False self._passed = 0 def start(self): if self._started: raise RuntimeError("threads can only be started once") self._started = True self._passed = 0 def cancel(self): self._canceled = True def reset(self): self._passed = 0 if self._canceled: self._started = False self._canceled = False def pass_time(self, time): self._passed += time if not self._canceled and self._started and self._passed >= self._time: self._function(*self._args, **self._kwargs)
class Faketimer: def __init__(self, time, function, args=None, kwargs=None): self._time = time self._function = function self._args = args if args is not None else [] self._kwargs = kwargs if kwargs is not None else {} self._canceled = False self._started = False self._passed = 0 def start(self): if self._started: raise runtime_error('threads can only be started once') self._started = True self._passed = 0 def cancel(self): self._canceled = True def reset(self): self._passed = 0 if self._canceled: self._started = False self._canceled = False def pass_time(self, time): self._passed += time if not self._canceled and self._started and (self._passed >= self._time): self._function(*self._args, **self._kwargs)
# Declare a variable of `name` with an input and a string of "Welcome to the Boba Shop! What is your name?". name = input("Welcome to the Boba Shop! What is your name?") # Check if `name` is not an empty string or equal to `None`. if name != "" or name == None: # If so, write a print with a string of "Hello" concatenated with the variable `name`. print(f"Hello {name}") # Then, declare a variable of `beverage` with an input and a string of "What kind of boba drink would you like?". beverage = input("What kind of boba drink would you like?") # Then, Declare a variable of `sweetness` with an input and a string of "How sweet do you want your drink: 0, 50, 100, or 200?". sweetness_level = input("How sweet do you want your drink: 0, 50, 100, or 200?") # If `sweetness` equals 50 print "half sweetened". if sweetness_level == 50: sweetness = "half sweetened" # Else if `sweetness` 100 print "normal sweet". elif sweetness == 100: sweetness = "normal sweet" # Else if `sweetness` 200 print "super sweet". elif sweetness == 200: sweetness = "super sweet" # Else print with a string of "non-sweet". else: sweetness = "non-sweet" # Then print the string of "Your order of " concatenated with the variable `beverage`, concatenated with " boba with a sweet level of ", concatenated with the variable `sweetness` print(f"Your order of {beverage} boba with a sweetness level of {sweetness}") # Else, print the string of "You didn't give us your name! Goodbye". else: print("You didn't give us your name! Goodbye")
name = input('Welcome to the Boba Shop! What is your name?') if name != '' or name == None: print(f'Hello {name}') beverage = input('What kind of boba drink would you like?') sweetness_level = input('How sweet do you want your drink: 0, 50, 100, or 200?') if sweetness_level == 50: sweetness = 'half sweetened' elif sweetness == 100: sweetness = 'normal sweet' elif sweetness == 200: sweetness = 'super sweet' else: sweetness = 'non-sweet' print(f'Your order of {beverage} boba with a sweetness level of {sweetness}') else: print("You didn't give us your name! Goodbye")
# ************************************************************************* # # Copyright (c) 2021 Andrei Gramakov. All rights reserved. # # This file is licensed under the terms of the MIT license. # For a copy, see: https://opensource.org/licenses/MIT # # site: https://agramakov.me # e-mail: mail@agramakov.me # # ************************************************************************* CONCEPT_TO_COMMAND = "concept2commands_interpreter" EMOTIONCORE_DATADSC = "EmotionCoreDataDescriptor" EMOTIONCORE_WRITE = "EmotionCoreWrite" I2C = "i2c_server" SENSOR_DATA_TO_CONCEPT = "data2concept_interpreter"
concept_to_command = 'concept2commands_interpreter' emotioncore_datadsc = 'EmotionCoreDataDescriptor' emotioncore_write = 'EmotionCoreWrite' i2_c = 'i2c_server' sensor_data_to_concept = 'data2concept_interpreter'
class Solution: def solve(self, nums, k): mods = set() last = 0 psum = 0 for num in nums: psum += num if psum%k in mods: return True mods.add(last) last = psum%k return False
class Solution: def solve(self, nums, k): mods = set() last = 0 psum = 0 for num in nums: psum += num if psum % k in mods: return True mods.add(last) last = psum % k return False
def minimumAbsoluteDifference(arr): # Another way to define this problem is "find the pair of numbers with the smallest distance from each other". # Easiest to begin approaching this problem is to sort the data set. sorted_arr = list(sorted(arr)) pairs = zip(sorted_arr, sorted_arr[1:]) # The dataset now has the property arr[i] < arr[j] for all i < j. Thus the pair of numbers with the smallest distance have to next to each other. If there existed a element arr[a] where a != i + 1 which did have a smaller distance to arr[i] than arr[i + 1], then this would break the sorted propety. smallest_pair = min(pairs, key=lambda pair: abs(pair[0] - pair[1])) return abs(smallest_pair[0] - smallest_pair[1]) if __name__ == "__main__": with open("test_case.txt") as f: n = int(f.readline().strip()) arr = list(map(int, f.readline().rstrip().split())) assert len(arr) == n result = minimumAbsoluteDifference(arr) print("RESULT: ", result, "EXPECTED: 0")
def minimum_absolute_difference(arr): sorted_arr = list(sorted(arr)) pairs = zip(sorted_arr, sorted_arr[1:]) smallest_pair = min(pairs, key=lambda pair: abs(pair[0] - pair[1])) return abs(smallest_pair[0] - smallest_pair[1]) if __name__ == '__main__': with open('test_case.txt') as f: n = int(f.readline().strip()) arr = list(map(int, f.readline().rstrip().split())) assert len(arr) == n result = minimum_absolute_difference(arr) print('RESULT: ', result, 'EXPECTED: 0')
def sqrt(x): i = 1 while i*i<=x: i*=2 y=0 while i>0: if(y+i)**2<=x: y+=i i//=2 return y t=100**100 print(sum( int(c) for c in str(sqrt(t*2))[:100] )) ans = sum( sum(int(c) for c in str(sqrt(i * t))[ : 100]) for i in range(1,101) if sqrt(i)**2 != i) print(str(ans))
def sqrt(x): i = 1 while i * i <= x: i *= 2 y = 0 while i > 0: if (y + i) ** 2 <= x: y += i i //= 2 return y t = 100 ** 100 print(sum((int(c) for c in str(sqrt(t * 2))[:100]))) ans = sum((sum((int(c) for c in str(sqrt(i * t))[:100])) for i in range(1, 101) if sqrt(i) ** 2 != i)) print(str(ans))
candyCan = ["apple", "strawberry", "grape", "mango"] print(candyCan[1]) print(candyCan[-1]) print(candyCan[1:3])
candy_can = ['apple', 'strawberry', 'grape', 'mango'] print(candyCan[1]) print(candyCan[-1]) print(candyCan[1:3])
class ListNode: def __init__(self, value, prev=None, next=None): self.value = value self.prev = prev self.next = next def insert_after(self, value): pass def insert_before(self, value): pass def delete(self): pass class DoublyLinkedList: def __init__(self, node=None): self.head = node self.tail = node def add_to_head(self, value): pass def remove_from_head(self): pass def add_to_tail(self, value): pass def remove_from_tail(self): pass def move_to_front(self, node): pass def move_to_end(self, node): pass def delete(self, node): pass
class Listnode: def __init__(self, value, prev=None, next=None): self.value = value self.prev = prev self.next = next def insert_after(self, value): pass def insert_before(self, value): pass def delete(self): pass class Doublylinkedlist: def __init__(self, node=None): self.head = node self.tail = node def add_to_head(self, value): pass def remove_from_head(self): pass def add_to_tail(self, value): pass def remove_from_tail(self): pass def move_to_front(self, node): pass def move_to_end(self, node): pass def delete(self, node): pass
def count(start=0, step=1): while True: yield start start += step def cycle(p): try: len(p) except TypeError: # len() is not defined for this type. Assume it is # a finite iterable so we must cache the elements. cache = [] for i in p: yield i cache.append(i) p = cache while p: yield from p def repeat(el, n=None): if n is None: while True: yield el else: for i in range(n): yield el def chain(*p): for i in p: yield from i def islice(p, start, stop=(), step=1): if stop == (): stop = start start = 0 # TODO: optimizing or breaking semantics? if start >= stop: return it = iter(p) for i in range(start): next(it) while True: yield next(it) for i in range(step - 1): next(it) start += step if start >= stop: return def tee(iterable, n=2): return [iter(iterable)] * n def starmap(function, iterable): for args in iterable: yield function(*args) def accumulate(iterable, func=lambda x, y: x + y): it = iter(iterable) try: acc = next(it) except StopIteration: return yield acc for element in it: acc = func(acc, element) yield acc
def count(start=0, step=1): while True: yield start start += step def cycle(p): try: len(p) except TypeError: cache = [] for i in p: yield i cache.append(i) p = cache while p: yield from p def repeat(el, n=None): if n is None: while True: yield el else: for i in range(n): yield el def chain(*p): for i in p: yield from i def islice(p, start, stop=(), step=1): if stop == (): stop = start start = 0 if start >= stop: return it = iter(p) for i in range(start): next(it) while True: yield next(it) for i in range(step - 1): next(it) start += step if start >= stop: return def tee(iterable, n=2): return [iter(iterable)] * n def starmap(function, iterable): for args in iterable: yield function(*args) def accumulate(iterable, func=lambda x, y: x + y): it = iter(iterable) try: acc = next(it) except StopIteration: return yield acc for element in it: acc = func(acc, element) yield acc
''' Assembling your data Here, three DataFrames have been pre-loaded: g1800s, g1900s, and g2000s. These contain the Gapminder life expectancy data for, respectively, the 19th century, the 20th century, and the 21st century. Your task in this exercise is to concatenate them into a single DataFrame called gapminder. This is a row-wise concatenation, similar to how you concatenated the monthly Uber datasets in Chapter 3. INSTRUCTIONS 100XP -Use pd.concat() to concatenate g1800s, g1900s, and g2000s into one DataFrame called gapminder. Make sure you pass DataFrames to pd.concat() in the form of a list. -Print the shape and the head of the concatenated DataFrame. ''' # Concatenate the DataFrames row-wise gapminder = pd.concat([g1800s, g1900s, g2000s]) # Print the shape of gapminder print(gapminder.shape) # Print the head of gapminder print(gapminder.head())
""" Assembling your data Here, three DataFrames have been pre-loaded: g1800s, g1900s, and g2000s. These contain the Gapminder life expectancy data for, respectively, the 19th century, the 20th century, and the 21st century. Your task in this exercise is to concatenate them into a single DataFrame called gapminder. This is a row-wise concatenation, similar to how you concatenated the monthly Uber datasets in Chapter 3. INSTRUCTIONS 100XP -Use pd.concat() to concatenate g1800s, g1900s, and g2000s into one DataFrame called gapminder. Make sure you pass DataFrames to pd.concat() in the form of a list. -Print the shape and the head of the concatenated DataFrame. """ gapminder = pd.concat([g1800s, g1900s, g2000s]) print(gapminder.shape) print(gapminder.head())
description = 'collimator setup' group = 'lowlevel' devices = dict( tof_io = device('nicos.devices.generic.ManualSwitch', description = 'ToF', states = [1, 2, 3], lowlevel = True, ), L = device('nicos.devices.generic.Switcher', description = 'Distance', moveable = 'tof_io', mapping = { 10: 1, 13: 2, 17: 3, }, unit = 'm', precision = 0, ), collimator_io = device('nicos.devices.generic.ManualSwitch', description = 'Collimator', states = [1, 2, 3, 4, 5, 6], lowlevel = True, ), pinhole = device('nicos.devices.generic.Switcher', description = 'Hole diameter', moveable = 'collimator_io', mapping = { 6.2: 1, 3: 2, 0.85: 3, 1.5: 4, 2.5: 5, }, unit = 'mm', precision = 0, ), collimator = device('nicos_mlz.antares.devices.collimator.CollimatorLoverD', description = 'Collimator ratio (L/D)', l = 'L', d = 'pinhole', unit = 'L/D', fmtstr = '%.2f', ), )
description = 'collimator setup' group = 'lowlevel' devices = dict(tof_io=device('nicos.devices.generic.ManualSwitch', description='ToF', states=[1, 2, 3], lowlevel=True), L=device('nicos.devices.generic.Switcher', description='Distance', moveable='tof_io', mapping={10: 1, 13: 2, 17: 3}, unit='m', precision=0), collimator_io=device('nicos.devices.generic.ManualSwitch', description='Collimator', states=[1, 2, 3, 4, 5, 6], lowlevel=True), pinhole=device('nicos.devices.generic.Switcher', description='Hole diameter', moveable='collimator_io', mapping={6.2: 1, 3: 2, 0.85: 3, 1.5: 4, 2.5: 5}, unit='mm', precision=0), collimator=device('nicos_mlz.antares.devices.collimator.CollimatorLoverD', description='Collimator ratio (L/D)', l='L', d='pinhole', unit='L/D', fmtstr='%.2f'))
inf = 2**33 DEBUG = 0 def bellmanFord(graph, cost, loop, start): parent = [-1] * len(graph) cost[start] = 0 for i in range(len(graph) - 1): for u in range(len(graph)): for v, c in graph[u]: if (cost[u] + c < cost[v] and cost[u] != inf): parent[v] = u cost[v] = cost[u] + c if (DEBUG): print("parent", parent) for u in range(len(graph)): for v, c in graph[u]: if (cost[u] + c < cost[v] and cost[v] != inf): #loop[u], loop[v] = 1, 1 #loop[v] = 1 start, end, done = v, u, 0 loop[end] = 1 while (end != start and done < len(graph)): end = parent[end] loop[end] = 1 done += 1 loop[end] = 1 return(0) case = 1 while (True): try: line = list(map(int, input().split())) except: break junctions, costs = line[0], line[1:] if (junctions == 0): trash = input() trash = input() print("Set #", case, sep='') case += 1 continue graph = [[] for i in range(junctions)] roads = int(input()) for i in range(roads): u, v = map(int, input().split()) u, v = u - 1, v - 1 graph[u] += [[v, (costs[v] - costs[u])**3]] if (DEBUG): print(graph) cost, loop = [inf] * junctions, [0] * junctions bellmanFord(graph, cost, loop, 0) if (DEBUG): print(cost) if (DEBUG): print(loop) queries = int(input()) print("Set #", case, sep='') for i in range(queries): query = int(input()) query -= 1 if (cost[query] < 3 or loop[query] or cost[query] == inf): print("?") else: print(cost[query]) case += 1
inf = 2 ** 33 debug = 0 def bellman_ford(graph, cost, loop, start): parent = [-1] * len(graph) cost[start] = 0 for i in range(len(graph) - 1): for u in range(len(graph)): for (v, c) in graph[u]: if cost[u] + c < cost[v] and cost[u] != inf: parent[v] = u cost[v] = cost[u] + c if DEBUG: print('parent', parent) for u in range(len(graph)): for (v, c) in graph[u]: if cost[u] + c < cost[v] and cost[v] != inf: (start, end, done) = (v, u, 0) loop[end] = 1 while end != start and done < len(graph): end = parent[end] loop[end] = 1 done += 1 loop[end] = 1 return 0 case = 1 while True: try: line = list(map(int, input().split())) except: break (junctions, costs) = (line[0], line[1:]) if junctions == 0: trash = input() trash = input() print('Set #', case, sep='') case += 1 continue graph = [[] for i in range(junctions)] roads = int(input()) for i in range(roads): (u, v) = map(int, input().split()) (u, v) = (u - 1, v - 1) graph[u] += [[v, (costs[v] - costs[u]) ** 3]] if DEBUG: print(graph) (cost, loop) = ([inf] * junctions, [0] * junctions) bellman_ford(graph, cost, loop, 0) if DEBUG: print(cost) if DEBUG: print(loop) queries = int(input()) print('Set #', case, sep='') for i in range(queries): query = int(input()) query -= 1 if cost[query] < 3 or loop[query] or cost[query] == inf: print('?') else: print(cost[query]) case += 1
def chop(t): del t[0], t[-1] return None def middle(t): return t[1:-1] letters = ['a', 'b', 'c', 'd', 'e'] print(middle(letters))
def chop(t): del t[0], t[-1] return None def middle(t): return t[1:-1] letters = ['a', 'b', 'c', 'd', 'e'] print(middle(letters))
# Day 20: http://adventofcode.com/2016/day/20 inp = [(5, 8), (0, 2), (4, 7)] def allowed(blocked, n): rng, *blocked = sorted([*r] for r in blocked) for cur in blocked: if cur[0] > n: break elif cur[0] > rng[-1] + 1: yield from range(rng[-1] + 1, cur[0]) rng = cur else: rng[-1] = max(rng[-1], cur[-1]) yield from range(rng[-1] + 1, n + 1) if __name__ == '__main__': ips = list(allowed(inp, 9)) print('There are', len(ips), 'allowed IPs:') for i, x in enumerate(ips, start=1): print(f'{i}) {x}')
inp = [(5, 8), (0, 2), (4, 7)] def allowed(blocked, n): (rng, *blocked) = sorted(([*r] for r in blocked)) for cur in blocked: if cur[0] > n: break elif cur[0] > rng[-1] + 1: yield from range(rng[-1] + 1, cur[0]) rng = cur else: rng[-1] = max(rng[-1], cur[-1]) yield from range(rng[-1] + 1, n + 1) if __name__ == '__main__': ips = list(allowed(inp, 9)) print('There are', len(ips), 'allowed IPs:') for (i, x) in enumerate(ips, start=1): print(f'{i}) {x}')
''' Given a string s consisting of some words separated by some number of spaces, return the length of the last word in the string. A word is a maximal substring consisting of non-space characters only. Example 1: Input: s = "Hello World" Output: 5 Explanation: The last word is "World" with length 5. Example 2: Input: s = " fly me to the moon " Output: 4 Explanation: The last word is "moon" with length 4. Example 3: Input: s = "luffy is still joyboy" Output: 6 Explanation: The last word is "joyboy" with length 6. Constraints: 1 <= s.length <= 104 s consists of only English letters and spaces ' '. There will be at least one word in s. ''' class Solution: def lengthOfLastWord(self, s: str) -> int: return len(list(s.strip().split(' '))[-1])
""" Given a string s consisting of some words separated by some number of spaces, return the length of the last word in the string. A word is a maximal substring consisting of non-space characters only. Example 1: Input: s = "Hello World" Output: 5 Explanation: The last word is "World" with length 5. Example 2: Input: s = " fly me to the moon " Output: 4 Explanation: The last word is "moon" with length 4. Example 3: Input: s = "luffy is still joyboy" Output: 6 Explanation: The last word is "joyboy" with length 6. Constraints: 1 <= s.length <= 104 s consists of only English letters and spaces ' '. There will be at least one word in s. """ class Solution: def length_of_last_word(self, s: str) -> int: return len(list(s.strip().split(' '))[-1])
test = { 'name': 'q5_2', 'points': 1, 'suites': [ { 'cases': [ { 'code': '>>> # Hint: If you are getting 47 as your answer, you might be computing the biggest change rather than biggest decrease!;\n' '>>> biggest_decrease != 47\n' 'True', 'hidden': False, 'locked': False}, {'code': '>>> # Hint: biggest decrease is above 30, but not 47;\n>>> 30 <= biggest_decrease < 47\nTrue', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]}
test = {'name': 'q5_2', 'points': 1, 'suites': [{'cases': [{'code': '>>> # Hint: If you are getting 47 as your answer, you might be computing the biggest change rather than biggest decrease!;\n>>> biggest_decrease != 47\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> # Hint: biggest decrease is above 30, but not 47;\n>>> 30 <= biggest_decrease < 47\nTrue', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]}
def best_sum_tab(n, a): table = [None for i in range(n + 1)] table[0] = [] for i in range(n + 1): if table[i] is not None: for j in a: if (i + j) < len(table): temp = table[i] + [j] if table[i + j] is None: table[i + j] = temp elif len(temp) < len(table[i + j]): table[i + j] = temp return table[n] if __name__ == "__main__": print(best_sum_tab(7, [5, 3, 4, 7])) print(best_sum_tab(8, [2, 3, 5])) print(best_sum_tab(8, [1, 4, 5])) print(best_sum_tab(100, [1, 2, 5, 25]))
def best_sum_tab(n, a): table = [None for i in range(n + 1)] table[0] = [] for i in range(n + 1): if table[i] is not None: for j in a: if i + j < len(table): temp = table[i] + [j] if table[i + j] is None: table[i + j] = temp elif len(temp) < len(table[i + j]): table[i + j] = temp return table[n] if __name__ == '__main__': print(best_sum_tab(7, [5, 3, 4, 7])) print(best_sum_tab(8, [2, 3, 5])) print(best_sum_tab(8, [1, 4, 5])) print(best_sum_tab(100, [1, 2, 5, 25]))
if opt.save_every > 0 and num_updates % opt.save_every == -1 % opt.save_every: valid_loss = self.eval(self.valid_data) valid_ppl = math.exp(min(valid_loss, 100)) print('Validation perplexity: %g' % valid_ppl) ep = float(epoch) - 1. + ((float(i) + 1.) / n_samples) self.save(ep, valid_ppl, batch_order=batch_order, iteration=i)
if opt.save_every > 0 and num_updates % opt.save_every == -1 % opt.save_every: valid_loss = self.eval(self.valid_data) valid_ppl = math.exp(min(valid_loss, 100)) print('Validation perplexity: %g' % valid_ppl) ep = float(epoch) - 1.0 + (float(i) + 1.0) / n_samples self.save(ep, valid_ppl, batch_order=batch_order, iteration=i)
FEATURES = set( [ "five_prime_utr", "three_prime_utr", "CDS", "exon", "intron", "start_codon", "stop_codon", "ncRNA", ] ) NON_CODING_BIOTYPES = set( [ "Mt_rRNA", "Mt_tRNA", "miRNA", "misc_RNA", "rRNA", "scRNA", "snRNA", "snoRNA", "ribozyme", "sRNA", "scaRNA", "lncRNA", "ncRNA", "Mt_tRNA_pseudogene", "tRNA_pseudogene", "snoRNA_pseudogene", "snRNA_pseudogene", "scRNA_pseudogene", "rRNA_pseudogene", "misc_RNA_pseudogene", "miRNA_pseudogene", "non_coding", "known_ncrna ", "lincRNA ", "macro_lncRNA ", "3prime_overlapping_ncRNA", "vault_RNA", "vaultRNA", "bidirectional_promoter_lncRNA", ] )
features = set(['five_prime_utr', 'three_prime_utr', 'CDS', 'exon', 'intron', 'start_codon', 'stop_codon', 'ncRNA']) non_coding_biotypes = set(['Mt_rRNA', 'Mt_tRNA', 'miRNA', 'misc_RNA', 'rRNA', 'scRNA', 'snRNA', 'snoRNA', 'ribozyme', 'sRNA', 'scaRNA', 'lncRNA', 'ncRNA', 'Mt_tRNA_pseudogene', 'tRNA_pseudogene', 'snoRNA_pseudogene', 'snRNA_pseudogene', 'scRNA_pseudogene', 'rRNA_pseudogene', 'misc_RNA_pseudogene', 'miRNA_pseudogene', 'non_coding', 'known_ncrna ', 'lincRNA ', 'macro_lncRNA ', '3prime_overlapping_ncRNA', 'vault_RNA', 'vaultRNA', 'bidirectional_promoter_lncRNA'])
#Donald Hobson #A program to make big letters out of small ones #storeage of pattern to make large letters. largeLetter=[[" A ", " A A ", " AAA ", "A A", "A A",], ["BBBB ", "B B", "BBBBB", "B B", "BBBB "],[ " cccc", "c ", "c ", "c ", " cccc",],[ "DDDD ", "D D", "D D", "D D", "DDDD "],[ "EEEEE", "E ", "EEEE ", "E ", "EEEEE"],[ "FFFFF", "F ", "FFFF ", "F ", "F "],[ " GGG ", "G ", "G GG", "G G", " GGG "],[ "H H", "H H", "HHHHH", "H H", "H H"],[ "IIIII", " I ", " I ", " I ", "IIIII"],[ " JJJJ", " J ", " J ", " J ", "JJJ "],[ "K K", "K KK ", "KK ", "K KK ", "K K"],[ "L ", "L ", "L ", "L ", "LLLLL"],[ "M M", "MM MM", "M M M", "M M", "M M"],[ "N N", "NN N", "N N N", "N NN", "N N"],[ " OOO ", "O O", "O O", "O O", " OOO "],[ "PPPP ", "P P", "PPPP ", "P ", "P "],[ " QQ ", "Q Q ", "Q QQ ", "Q Q ", " QQ Q"],[ "RRRR ", "R R", "RRRR ", "R R ", "R R"],[ " SSSS", "S ", " SSS ", " S", "SSSS "],[ "TTTTT", " T ", " T ", " T ", " T "],[ "U U", "U U", "U U", "U U", " UUU "],[ "V V", "V V", " V V ", " V V ", " V "],[ "W W", "W W", "W W", "W W W", " W W "],[ "X X", " X X ", " X ", " X X ", "X X"],[ "Y Y", " Y Y ", " Y ", " Y ", " Y "],[ "ZZZZZ", " Z ", " Z ", " Z ", "ZZZZZ"]] # Outer loop, For repeating whle process while True: largeText=input("Large Text>").upper() while True: method=input("Calital \"C\" , Lowercase \"L\" or Subtext \"S\" >").upper() if method=="C"or method=="L": break if method=="S": subtext="" while len(subtext)==0: subtext=input("Subtext is >") positionInSubtext=0 subtextLength=len(subtext) break largeTextSections=[] print() while len(largeText)>19: largeTextSections.append(largeText[:19]) largeText=largeText[19:] if len(largeText)>0: largeTextSections.append(largeText) for section in largeTextSections: for i in range(5): string="" for line in section: if line==" ": string+=" "*5 else: if method=="S": for character in range (5): newstr=largeLetter[ord(line)-65][i] if largeLetter[ord(line)-65][i][character]==" ": string+=" " else: string+=subtext[positionInSubtext] positionInSubtext=(positionInSubtext+1)%subtextLength elif method=="L": string+=largeLetter[ord(line)-65][i].lower() else: string+=largeLetter[ord(line)-65][i] string+=" " print(string) print("\n") if input("Do you wish to exit \"Y\"/\"N\" >").upper() =="Y": break
large_letter = [[' A ', ' A A ', ' AAA ', 'A A', 'A A'], ['BBBB ', 'B B', 'BBBBB', 'B B', 'BBBB '], [' cccc', 'c ', 'c ', 'c ', ' cccc'], ['DDDD ', 'D D', 'D D', 'D D', 'DDDD '], ['EEEEE', 'E ', 'EEEE ', 'E ', 'EEEEE'], ['FFFFF', 'F ', 'FFFF ', 'F ', 'F '], [' GGG ', 'G ', 'G GG', 'G G', ' GGG '], ['H H', 'H H', 'HHHHH', 'H H', 'H H'], ['IIIII', ' I ', ' I ', ' I ', 'IIIII'], [' JJJJ', ' J ', ' J ', ' J ', 'JJJ '], ['K K', 'K KK ', 'KK ', 'K KK ', 'K K'], ['L ', 'L ', 'L ', 'L ', 'LLLLL'], ['M M', 'MM MM', 'M M M', 'M M', 'M M'], ['N N', 'NN N', 'N N N', 'N NN', 'N N'], [' OOO ', 'O O', 'O O', 'O O', ' OOO '], ['PPPP ', 'P P', 'PPPP ', 'P ', 'P '], [' QQ ', 'Q Q ', 'Q QQ ', 'Q Q ', ' QQ Q'], ['RRRR ', 'R R', 'RRRR ', 'R R ', 'R R'], [' SSSS', 'S ', ' SSS ', ' S', 'SSSS '], ['TTTTT', ' T ', ' T ', ' T ', ' T '], ['U U', 'U U', 'U U', 'U U', ' UUU '], ['V V', 'V V', ' V V ', ' V V ', ' V '], ['W W', 'W W', 'W W', 'W W W', ' W W '], ['X X', ' X X ', ' X ', ' X X ', 'X X'], ['Y Y', ' Y Y ', ' Y ', ' Y ', ' Y '], ['ZZZZZ', ' Z ', ' Z ', ' Z ', 'ZZZZZ']] while True: large_text = input('Large Text>').upper() while True: method = input('Calital "C" , Lowercase "L" or Subtext "S" >').upper() if method == 'C' or method == 'L': break if method == 'S': subtext = '' while len(subtext) == 0: subtext = input('Subtext is >') position_in_subtext = 0 subtext_length = len(subtext) break large_text_sections = [] print() while len(largeText) > 19: largeTextSections.append(largeText[:19]) large_text = largeText[19:] if len(largeText) > 0: largeTextSections.append(largeText) for section in largeTextSections: for i in range(5): string = '' for line in section: if line == ' ': string += ' ' * 5 else: if method == 'S': for character in range(5): newstr = largeLetter[ord(line) - 65][i] if largeLetter[ord(line) - 65][i][character] == ' ': string += ' ' else: string += subtext[positionInSubtext] position_in_subtext = (positionInSubtext + 1) % subtextLength elif method == 'L': string += largeLetter[ord(line) - 65][i].lower() else: string += largeLetter[ord(line) - 65][i] string += ' ' print(string) print('\n') if input('Do you wish to exit "Y"/"N" >').upper() == 'Y': break
EGAUGE_API_URLS = { 'stored' : 'http://%s.egaug.es/cgi-bin/egauge-show', 'instantaneous' : 'http://%s.egaug.es/cgi-bin/egauge', }
egauge_api_urls = {'stored': 'http://%s.egaug.es/cgi-bin/egauge-show', 'instantaneous': 'http://%s.egaug.es/cgi-bin/egauge'}
t = int(input()) for i in range(t): n=int(input()) l=0 h=100000 while l<=h: mid =(l+h)//2 r= (mid*(mid+1))//2 if r>n: h=mid - 1 else: ht=mid l=mid+1 print(ht)
t = int(input()) for i in range(t): n = int(input()) l = 0 h = 100000 while l <= h: mid = (l + h) // 2 r = mid * (mid + 1) // 2 if r > n: h = mid - 1 else: ht = mid l = mid + 1 print(ht)
class Solution: def singleNumber(self, nums: List[int]) -> List[int]: dict_val = {} result1 = [] result2 = [] for val in nums: dict_val[val] = dict_val.get(val, 0) + 1 if dict_val[val] > 1: result1.append(val) else: result2.append(val) return set(result2)-set(result1) class Solution: def singleNumber(self, nums: List[int]) -> List[int]: dict_val = {} result1 = [] result2 = [] for val in nums: dict_val[val] = dict_val.get(val, 0) + 1 return [k for k, v in sorted(dict_val.items(), key=lambda item: item[1])][:2]
class Solution: def single_number(self, nums: List[int]) -> List[int]: dict_val = {} result1 = [] result2 = [] for val in nums: dict_val[val] = dict_val.get(val, 0) + 1 if dict_val[val] > 1: result1.append(val) else: result2.append(val) return set(result2) - set(result1) class Solution: def single_number(self, nums: List[int]) -> List[int]: dict_val = {} result1 = [] result2 = [] for val in nums: dict_val[val] = dict_val.get(val, 0) + 1 return [k for (k, v) in sorted(dict_val.items(), key=lambda item: item[1])][:2]
# (c) 2012-2019, Ansible by Red Hat # # This file is part of Ansible Galaxy # # Ansible Galaxy is free software: you can redistribute it and/or modify # it under the terms of the Apache License as published by # the Apache Software Foundation, either version 2 of the License, or # (at your option) any later version. # # Ansible Galaxy is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # Apache License for more details. # # You should have received a copy of the Apache License # along with Galaxy. If not, see <http://www.apache.org/licenses/>. SURVEY_FIElDS = ( 'docs', 'ease_of_use', 'does_what_it_says', 'works_as_is', 'used_in_production', ) def calculate_survey_score(surveys): ''' :var surveys: queryset container all of the surveys for a collection or a repository ''' score = 0 answer_count = 0 survey_score = 0.0 for survey in surveys: for k in SURVEY_FIElDS: data = getattr(survey, k) if data is not None: answer_count += 1 survey_score += (data - 1) / 4 # Average and convert to 0-5 scale score = (survey_score / answer_count) * 5 return score
survey_fi_el_ds = ('docs', 'ease_of_use', 'does_what_it_says', 'works_as_is', 'used_in_production') def calculate_survey_score(surveys): """ :var surveys: queryset container all of the surveys for a collection or a repository """ score = 0 answer_count = 0 survey_score = 0.0 for survey in surveys: for k in SURVEY_FIElDS: data = getattr(survey, k) if data is not None: answer_count += 1 survey_score += (data - 1) / 4 score = survey_score / answer_count * 5 return score
__author__ = 'arid6405' class SfcsmError(Exception): def __init__(self, status, message): self.status = status self.message = message def __str__(self): return "Error {}: {} ".format(self.status, self.message)
__author__ = 'arid6405' class Sfcsmerror(Exception): def __init__(self, status, message): self.status = status self.message = message def __str__(self): return 'Error {}: {} '.format(self.status, self.message)
def decode(s): dec = dict() def dec_pos(x,e): for i in range(x+1): e=dec[e] return e for i in range(32,127): dec[encode(chr(i))] = chr(i) a='' for index,value in enumerate(s): a+=dec_pos(index,value) return a
def decode(s): dec = dict() def dec_pos(x, e): for i in range(x + 1): e = dec[e] return e for i in range(32, 127): dec[encode(chr(i))] = chr(i) a = '' for (index, value) in enumerate(s): a += dec_pos(index, value) return a
print("---------- numero de discos ----------") def hanoi(n, source, helper, target): if n > 0: # move tower of size n - 1 to helper: hanoi(n - 1, source, target, helper) print(source, helper, target) # move disk from source peg to target peg if source: target.append(source.pop()) print(source, helper, target) # move tower of size n-1 from helper to target hanoi(n - 1, helper, source, target) print(source, helper, target) source = [5, 4, 3, 2, 1] target = [] helper = [] hanoi(len(source), source, helper, target) print(source, helper, target)
print('---------- numero de discos ----------') def hanoi(n, source, helper, target): if n > 0: hanoi(n - 1, source, target, helper) print(source, helper, target) if source: target.append(source.pop()) print(source, helper, target) hanoi(n - 1, helper, source, target) print(source, helper, target) source = [5, 4, 3, 2, 1] target = [] helper = [] hanoi(len(source), source, helper, target) print(source, helper, target)
__author__ = 'schlitzer' __all__ = [ 'AdminError', 'AlreadyAuthenticatedError', 'AuthenticationError', 'BaseError', 'CredentialError', 'DuplicateResource', 'FlowError', 'InvalidBody', 'InvalidFields', 'InvalidName', 'InvalidPaginationLimit', 'InvalidParameterValue', 'InvalidSelectors', 'InvalidSortCriteria', 'InvalidUUID', 'ModelError', 'MongoConnError', 'PeerReceiverCredentialError', 'PermError', 'ResourceNotFound', 'ResourceInUse', 'SessionError', 'SessionCredentialError', 'StaticPathDisabledError', 'ValidationError' ] class BaseError(Exception): def __init__(self, status, code, msg): super().__init__() self.status = status self.msg = msg self.code = code self.err_rsp = {'errors': [{ "id": self.code, "details": self.msg, "title": self.msg }]} class AAError(BaseError): def __init__(self, status=403, code=1000, msg=None): super().__init__(status, code, msg) class ModelError(BaseError): def __init__(self, status=None, code=2000, msg=None): super().__init__(status, code, msg) class ValidationError(BaseError): def __init__(self, status=None, code=3000, msg=None): super().__init__(status, code, msg) class FeatureError(BaseError): def __init__(self, status=None, code=4000, msg=None): super().__init__(status, code, msg) class BackEndError(BaseError): def __init__(self, status=None, code=5000, msg=None): super().__init__(status, code, msg) class AuthenticationError(ModelError): def __init__(self): super().__init__( status=403, code=1001, msg="Invalid username or Password" ) class CredentialError(ModelError): def __init__(self): super().__init__( status=401, code=1002, msg="Invalid Credentials" ) class AlreadyAuthenticatedError(ModelError): def __init__(self): super().__init__( status=403, code=1003, msg="Already authenticated" ) class SessionError(ModelError): def __init__(self): super().__init__( status=403, code=1004, msg="Invalid or expired session" ) class PermError(ModelError): def __init__(self, msg): super().__init__( status=403, code=1005, msg=msg ) class SessionCredentialError(ModelError): def __init__(self): super().__init__( status=403, code=1006, msg="Neither valid Session or Credentials available" ) class AdminError(ModelError): def __init__(self): super().__init__( status=403, code=1007, msg="Root admin privilege needed for this resource" ) class PeerReceiverCredentialError(ModelError): def __init__(self): super().__init__( status=403, code=1008, msg="Receiver credentials needed for this resource" ) class ResourceNotFound(ModelError): def __init__(self, resource): super().__init__( status=404, code=2001, msg="Resource not found: {0}".format(resource) ) class DuplicateResource(ModelError): def __init__(self, resource): super().__init__( status=400, code=2002, msg="Duplicate Resource: {0}".format(resource) ) class InvalidBody(ValidationError): def __init__(self, err): super().__init__( status=400, code=3001, msg="Invalid post body: {0}".format(err) ) class InvalidFields(ValidationError): def __init__(self, err): super().__init__( status=400, code=3003, msg="Invalid field selection: {0}".format(err) ) class InvalidSelectors(ValidationError): def __init__(self, err): super().__init__( status=400, code=3004, msg="Invalid selection: {0}".format(err) ) class InvalidPaginationLimit(ValidationError): def __init__(self, err): super().__init__( status=400, code=3005, msg="Invalid pagination limit, has to be one of: {0}".format(err) ) class InvalidSortCriteria(ValidationError): def __init__(self, err): super().__init__( status=400, code=3006, msg="Invalid sort criteria: {0}".format(err) ) class InvalidParameterValue(ValidationError): def __init__(self, err): super().__init__( status=400, code=3007, msg="Invalid parameter value: {0}".format(err) ) class InvalidUUID(ValidationError): def __init__(self, err): super().__init__( status=400, code=3008, msg="Invalid uuid: {0}".format(err) ) class InvalidName(ValidationError): def __init__(self, err): super().__init__( status=400, code=3009, msg="Invalid Name: {0}".format(err) ) class ResourceInUse(ValidationError): def __init__(self, err): super().__init__( status=400, code=3010, msg="Resource is still used: {0}".format(err) ) class FlowError(ValidationError): def __init__(self, err): super().__init__( status=400, code=3011, msg="Flow Error: {0}".format(err) ) class StaticPathDisabledError(FeatureError): def __init__(self): super().__init__( status=400, code=4002, msg="Static path feature is disabled" ) class MongoConnError(BackEndError): def __init__(self, err): super().__init__( status=500, code=5001, msg="MongoDB connection error: {0}".format(err) ) class RedisConnError(BackEndError): def __init__(self, err): super().__init__( status=500, code=5002, msg="Redis connection error: {0}".format(err) )
__author__ = 'schlitzer' __all__ = ['AdminError', 'AlreadyAuthenticatedError', 'AuthenticationError', 'BaseError', 'CredentialError', 'DuplicateResource', 'FlowError', 'InvalidBody', 'InvalidFields', 'InvalidName', 'InvalidPaginationLimit', 'InvalidParameterValue', 'InvalidSelectors', 'InvalidSortCriteria', 'InvalidUUID', 'ModelError', 'MongoConnError', 'PeerReceiverCredentialError', 'PermError', 'ResourceNotFound', 'ResourceInUse', 'SessionError', 'SessionCredentialError', 'StaticPathDisabledError', 'ValidationError'] class Baseerror(Exception): def __init__(self, status, code, msg): super().__init__() self.status = status self.msg = msg self.code = code self.err_rsp = {'errors': [{'id': self.code, 'details': self.msg, 'title': self.msg}]} class Aaerror(BaseError): def __init__(self, status=403, code=1000, msg=None): super().__init__(status, code, msg) class Modelerror(BaseError): def __init__(self, status=None, code=2000, msg=None): super().__init__(status, code, msg) class Validationerror(BaseError): def __init__(self, status=None, code=3000, msg=None): super().__init__(status, code, msg) class Featureerror(BaseError): def __init__(self, status=None, code=4000, msg=None): super().__init__(status, code, msg) class Backenderror(BaseError): def __init__(self, status=None, code=5000, msg=None): super().__init__(status, code, msg) class Authenticationerror(ModelError): def __init__(self): super().__init__(status=403, code=1001, msg='Invalid username or Password') class Credentialerror(ModelError): def __init__(self): super().__init__(status=401, code=1002, msg='Invalid Credentials') class Alreadyauthenticatederror(ModelError): def __init__(self): super().__init__(status=403, code=1003, msg='Already authenticated') class Sessionerror(ModelError): def __init__(self): super().__init__(status=403, code=1004, msg='Invalid or expired session') class Permerror(ModelError): def __init__(self, msg): super().__init__(status=403, code=1005, msg=msg) class Sessioncredentialerror(ModelError): def __init__(self): super().__init__(status=403, code=1006, msg='Neither valid Session or Credentials available') class Adminerror(ModelError): def __init__(self): super().__init__(status=403, code=1007, msg='Root admin privilege needed for this resource') class Peerreceivercredentialerror(ModelError): def __init__(self): super().__init__(status=403, code=1008, msg='Receiver credentials needed for this resource') class Resourcenotfound(ModelError): def __init__(self, resource): super().__init__(status=404, code=2001, msg='Resource not found: {0}'.format(resource)) class Duplicateresource(ModelError): def __init__(self, resource): super().__init__(status=400, code=2002, msg='Duplicate Resource: {0}'.format(resource)) class Invalidbody(ValidationError): def __init__(self, err): super().__init__(status=400, code=3001, msg='Invalid post body: {0}'.format(err)) class Invalidfields(ValidationError): def __init__(self, err): super().__init__(status=400, code=3003, msg='Invalid field selection: {0}'.format(err)) class Invalidselectors(ValidationError): def __init__(self, err): super().__init__(status=400, code=3004, msg='Invalid selection: {0}'.format(err)) class Invalidpaginationlimit(ValidationError): def __init__(self, err): super().__init__(status=400, code=3005, msg='Invalid pagination limit, has to be one of: {0}'.format(err)) class Invalidsortcriteria(ValidationError): def __init__(self, err): super().__init__(status=400, code=3006, msg='Invalid sort criteria: {0}'.format(err)) class Invalidparametervalue(ValidationError): def __init__(self, err): super().__init__(status=400, code=3007, msg='Invalid parameter value: {0}'.format(err)) class Invaliduuid(ValidationError): def __init__(self, err): super().__init__(status=400, code=3008, msg='Invalid uuid: {0}'.format(err)) class Invalidname(ValidationError): def __init__(self, err): super().__init__(status=400, code=3009, msg='Invalid Name: {0}'.format(err)) class Resourceinuse(ValidationError): def __init__(self, err): super().__init__(status=400, code=3010, msg='Resource is still used: {0}'.format(err)) class Flowerror(ValidationError): def __init__(self, err): super().__init__(status=400, code=3011, msg='Flow Error: {0}'.format(err)) class Staticpathdisablederror(FeatureError): def __init__(self): super().__init__(status=400, code=4002, msg='Static path feature is disabled') class Mongoconnerror(BackEndError): def __init__(self, err): super().__init__(status=500, code=5001, msg='MongoDB connection error: {0}'.format(err)) class Redisconnerror(BackEndError): def __init__(self, err): super().__init__(status=500, code=5002, msg='Redis connection error: {0}'.format(err))
class Solution: def twoSum(self, nums: [int], target: int) -> [int]: d = {int: int} for i in range(len(nums)): if target - nums[i] in d: return [d[target-nums[i]], i] else: d[nums[i]] = i return [] if __name__ == "__main__": solution = Solution() print(solution.twoSum([2, 7, 11, 15], 9))
class Solution: def two_sum(self, nums: [int], target: int) -> [int]: d = {int: int} for i in range(len(nums)): if target - nums[i] in d: return [d[target - nums[i]], i] else: d[nums[i]] = i return [] if __name__ == '__main__': solution = solution() print(solution.twoSum([2, 7, 11, 15], 9))