content
stringlengths 7
1.05M
|
---|
print(min(1, 2, 3, 4, 0, 2, 1))
print(max([1, 4, 9, 2, 5, 6, 8]))
print(abs(-99))
print(abs(42))
print(sum([1, 2, 3, 4, 5]))
|
def Setup(Settings,DefaultModel):
# set1-test_of_models_against_datasets/osm299.py
Settings["experiment_name"] = "set1_Img_model_versus_datasets_299px"
Settings["graph_histories"] = ['together'] #['all','together',[],[1,0],[0,0,0],[]]
# 5556x_minlen30_640px 5556x_minlen20_640px 5556x_reslen20_299px 5556x_reslen30_299px
n=0
Settings["models"][n]["dataset_name"] = "5556x_reslen30_299px"
Settings["models"][n]["dump_file_override"] = 'SegmentsData_marked_R100_4Tables.dump'
Settings["models"][n]["pixels"] = 299
Settings["models"][n]["model_type"] = 'simple_cnn_with_top'
Settings["models"][n]["unique_id"] = 'img_minlen30_299px'
Settings["models"][n]["top_repeat_FC_block"] = 2
Settings["models"][n]["epochs"] = 800
Settings["models"].append(DefaultModel.copy())
n+=1
Settings["models"][n]["dataset_pointer"] = -1
Settings["models"][n]["dataset_name"] = "5556x_reslen20_299px"
Settings["models"][n]["dump_file_override"] = 'SegmentsData_marked_R100_4Tables.dump'
Settings["models"][n]["pixels"] = 299
Settings["models"][n]["model_type"] = 'simple_cnn_with_top'
Settings["models"][n]["unique_id"] = 'img_minlen20_299px'
Settings["models"][n]["top_repeat_FC_block"] = 2
Settings["models"][n]["epochs"] = 800
Settings["models"].append(DefaultModel.copy())
n+=1
Settings["models"][n]["dataset_pointer"] = -1
Settings["models"][n]["dataset_name"] = "5556x_mark_res_299x299"
Settings["models"][n]["dump_file_override"] = 'SegmentsData_marked_R100_4Tables.dump'
Settings["models"][n]["pixels"] = 299
Settings["models"][n]["model_type"] = 'simple_cnn_with_top'
Settings["models"][n]["unique_id"] = 'img_nosplit_299px'
Settings["models"][n]["top_repeat_FC_block"] = 2
Settings["models"][n]["epochs"] = 800
return Settings
|
xs = (
x and
x
for x in range(10)
if
x and
x
)
|
Scale.default = "chromatic"
Root.default = 2
Clock.bpm = 120
drp = [0, 7, 12, 17, 21, 26]
std = [0, 5, 10, 15, 19, 24]
p1 >> play(
"<Vs>< n >",
sample = 2,
).every(5, "stutter", 2, dur=3)
p2 >> play(
"{ ppP[pP][Pp]}",
sample = PRand(5),
rate = PRand([0.5, 1, 2]),
)
a1 >> karp(
oct = PRand([4, 5, 6]),
dur = 1/4,
hpf = linvar([1000, 2000], 16),
hpr = linvar([0.1, 1], 20)
)
a2 >> ambi(
[0, 5, 3],
dur = [8, 4, 4],
oct = 4,
) + (0, 7, 12)
b1 >> bass(
var([0, 5, 3], [8, 4, 4]),
dur = PDur(var([3, 5]), 8),
delay = (0, 0.25),
).spread().every(3, "offadd", 7)
Group(b1, a1, p2).solo()
p3 >> play(
P[" h "].layer("mirror"),
shape = 0.5,
chop = 4,
rate = PRand([1, 2, 4]),
slide = 1,
)
a3 >> piano(
[0, 5, 3],
dur = [8, 4, 4],
oct = 4,
delay = (0, 0.25, 0.75),
) + (0, 7, 12)
p4 >> play(
P["VnOn"].amen(),
)
|
# The count-and-say sequence is the sequence of integers with the first five terms as following:
# 1. 1
# 2. 11
# 3. 21
# 4. 1211
# 5. 111221
# 1 is read off as "one 1" or 11.
# 11 is read off as "two 1s" or 21.
# 21 is read off as "one 2, then one 1" or 1211.
# Given an integer n where 1 ≤ n ≤ 30, generate the nth term of the count-and-say sequence.
# Note: Each term of the sequence of integers will be represented as a string.
# Example 1:
# Input: 1
# Output: "1"
# Example 2:
# Input: 4
# Output: "1211"
class Solution:
def countAndSay(self, n):
"""
:type n: int
:rtype: str
"""
if n == 1:
return "1"
result = ""
if n > 1:
string = Solution.countAndSay(self, n - 1)
counter = 0
current = 0
for i in string:
if int(i) == current:
counter += 1
else:
result = result + str(counter) + str(current)
current = int(i)
counter = 1
result = result + str(counter) + str(current)
return result[2:]
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
aws_default_parameters.py
This module holds default parameters and/or objects to be used by the AWS ATS.
"""
# Defaults to use when accessing services on the main AWS SysLink instance.
DEFAULT_AWS_SYSLINK_ACCESS_DATA = {
'name': 'systemlink-jenkins.aws.natinst.com',
'username': 'ni-systemlink-dev',
'password': 'Kn1ghtR!der'
}
# Defaults to use when creating and/or accessing instances.
DEFAULT_SECURITY_GROUP_IDS = ['sg-02b4b7b6eefa0aea1', 'sg-0d0107dfbfda18fcb']
DEFAULT_INSTANCE_TAGS = [{'Key': 'Category', 'Value': 'ATSInstance'}]
DEFAULT_AMI_FILTERS = [{'Name': 'tag:Category', 'Values': ['BaseImage']}]
DEFAULT_IAM_INSTANCE_PROFILE = {'Name': 'ni-systemlink-ec2role-dev'}
DEFAULT_INSTANCE_KEY_NAME = 'Category'
DEFAULT_INSTANCE_KEY_VALUES = ['BaseInstance', 'ATSInstance']
DEFAULT_INSTANCE_TYPE = 'r5.xlarge'
DEFAULT_KEY_PAIR_NAME = 'syslink-jenkins'
DEFAULT_QUERY_INSTANCE_STATES = ['running']
DEFAULT_TAGS_TO_COPY = [
'Category', 'CostCenter', 'Department', 'Feeds', 'SiteCode', 'Team', 'Tier']
DEFAULT_DIRECT_CONNECT_TAGS = [
{'Key': 'CostCenter', 'Value': '2632'},
{'Key': 'Department', 'Value': 'rd'},
{'Key': 'SiteCode', 'Value': '001'},
{'Key': 'Team', 'Value': '[email protected]'},
{'Key': 'Tier', 'Value': 'dev'},
]
DEFAULT_AWS_REGION = 'us-east-1'
DEFAULT_SUBNET_ID = 'subnet-01e7368d67dc888c9'
DEFAULT_BLOCK_DEV_MAPPINGS = [{'DeviceName': '/dev/sda1', 'Ebs': {'DeleteOnTermination': True}}]
# Defaults to use for feed creation, removal, etc.
DEFAULT_MAJ_MIN_BUILD = '19.6.0'
|
def solveMeFirst(a, b):
return a + b
print(solveMeFirst(1, 2))
|
numero = float(input('Digite um número: '))
dobro = numero*2
triplo = numero*3
raiz_quad = pow(numero,1/2)
print('Em relação ao número {}:\n'
'O dobro é {}\n'
'O triplo é {}\n'
'A raiz quadrada é {}'.format(numero, dobro, triplo, raiz_quad))
|
"""
https://leetcode.com/problems/univalued-binary-tree/
A binary tree is univalued if every node in the tree has the same value.
Return true if and only if the given tree is univalued.
Example 1:
Input: [1,1,1,1,1,null,1]
Output: true
Example 2:
Input: [2,2,2,5,2]
Output: false
Note:
The number of nodes in the given tree will be in the range [1, 100].
Each node's value will be an integer in the range [0, 99].
"""
# time complexity: O(n), space complexity: O(1)
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def isUnivalTree(self, root: TreeNode) -> bool:
if root.left is not None and root.left.val != root.val or root.right is not None and root.right.val != root.val:
return False
left = self.isUnivalTree(root.left) if root.left else True
right = self.isUnivalTree(root.right) if root.right else True
return left and right
|
# -*- coding: utf-8 -*-
# @Author: David Hanson
# @Date: 2021-01-30 23:30:31
# @Last Modified by: David Hanson
# @Last Modified time: 2021-01-31 13:41:39
counter = 0
def inception():
global counter
print(counter)
if counter > 3:
return "done!"
counter += 1
return inception()
inception()
|
class Vehicle():
def __init__(self, wheels, max_weight, max_volume):
self.wheels = wheels
self.speed = 0
self._packages = []
self.max_weight = max_weight
self.max_volume = max_volume
def accelerate(self, amount):
self.speed += amount
def add_packages(self, packages):
if not isinstance(packages, list):
packages = [packages]
for p in packages:
if self.max_weight >= p.weight + self.get_total_weight() and self.max_volume >= p.volume + self.get_total_volume():
self._packages.append(p)
# remove only one package
def remove_package(self, packages):
if not isinstance(packages, list):
packages = [packages]
for p in packages:
if p in self._packages:
self._packages.remove(p)
def get_package_count(self):
return len(self._packages)
def get_total_weight(self):
return self._sum_packages_weight(self._packages)
def get_total_volume(self):
return self._sum_packages_volume(self._packages)
# TODO we can do better
def _sum_packages_weight(self, packages):
ret = 0
return sum([p.weight for p in packages])
def _sum_packages_volume(self, packages):
ret = 0
return sum([p.volume for p in packages])
# TODO
def get_packages(self):
return self._packages
# return the packages which did not fit
class Car(Vehicle):
pass
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
def neues_konto(inhaber, kontonummer, kontostand,
max_tagesumsatz=1500):
return {
"Inhaber" : inhaber,
"Kontonummer" : kontonummer,
"Kontostand" : kontostand,
"MaxTagesumsatz" : max_tagesumsatz,
"UmsatzHeute" : 0
}
def geldtransfer(quelle, ziel, betrag):
# Hier erfolgt der Test, ob der Transfer moeglich ist
if(betrag < 0 or
quelle["UmsatzHeute"] + betrag > quelle["MaxTagesumsatz"] or
ziel["UmsatzHeute"] + betrag > ziel["MaxTagesumsatz"]):
# Transfer unmoeglich
return False
else:
# Alles OK - Auf geht's
quelle["Kontostand"] -= betrag
quelle["UmsatzHeute"] += betrag
ziel["Kontostand"] += betrag
ziel["UmsatzHeute"] += betrag
return True
def einzahlen(konto, betrag):
if (betrag < 0 or
konto["UmsatzHeute"] + betrag > konto["MaxTagesumsatz"]):
# Tageslimit ueberschritten oder ungueltiger Betrag
return False
else:
konto["Kontostand"] += betrag
konto["UmsatzHeute"] += betrag
return True
def auszahlen(konto, betrag):
if (betrag < 0 or
konto["UmsatzHeute"] + betrag > konto["MaxTagesumsatz"]):
# Tageslimit ueberschritten oder ungueltiger Betrag
return False
else:
konto["Kontostand"] -= betrag
konto["UmsatzHeute"] += betrag
return True
def zeige_konto(konto):
print("Konto von {}".format(konto["Inhaber"]))
print("Aktueller Kontostand: {:.2f} Euro".format(
konto["Kontostand"]))
print("(Heute schon {:.2f} von {} Euro umgesetzt)".format(
konto["UmsatzHeute"], konto["MaxTagesumsatz"]))
k1 = neues_konto("Heinz Meier", 567123, 12350.0)
k2 = neues_konto("Erwin Schmidt", 396754, 15000.0)
geldtransfer(k1, k2, 160)
geldtransfer(k2, k1, 1000)
geldtransfer(k2, k1, 500)
einzahlen(k2, 500)
zeige_konto(k1)
zeige_konto(k2)
|
class Citizen:
"""A not-so-simple example Class"""
def __init__(self, first_name, last_name):
self.first_name = str(first_name)
self.last_name= str(last_name)
def full_name(self):
return self.first_name + ' ' + self.last_name
greeting = 'For the glory of Python!'
x = Citizen('No', 'Way')
print(x.full_name())
|
class InvalidFileNameError(Exception):
"""Occurs when an invalid file name is provided."""
def __init__(self, name):
self.name = name
|
def first_recurring(data):
seen = []
for index in data:
if index not in seen:
seen.append(index)
else:
return index
return "All unique characters."
data = [1, 2, 3, 3, 2, 1, 3]
print("first_recurring():", first_recurring(data))
|
class Matrix:
def __init__(self, matrix_string):
self.matrix = [[int(a) for a in line.split()] for line in matrix_string.splitlines()]
def row(self, row):
return (self.matrix.copy())[row-1]
def column(self, col):
#return [self.matrix[k][col-1] for k in enumerate(len(self.matrix))]
return [k[col-1] for k in self.matrix]
end = Matrix("9 8 7\n5 3 2\n6 6 7")
print(end.row(1))
print(end.column(2))
|
number = input()
def get_sums(number):
return [sum(list(map(int, filter(lambda x: int(x) % 2 == 0, number)))),
sum([int(x) for x in number if int(x) % 2 == 1])]
result = get_sums(number)
print(f"Odd sum = {result[1]}, Even sum = {result[0]}")
|
"""
Package version.
"""
__version__ = '1.0.2'
|
#!/usr/bin/python3
Rectangle = __import__('6-rectangle').Rectangle
my_rectangle_1 = Rectangle(2, 4)
my_rectangle_2 = Rectangle(2, 4)
print("{:d} instances of Rectangle".format(Rectangle.number_of_instances))
del my_rectangle_1
print("{:d} instances of Rectangle".format(Rectangle.number_of_instances))
del my_rectangle_2
print("{:d} instances of Rectangle".format(Rectangle.number_of_instances))
|
def export_users(users, workbook, mimic_upload=False):
data_prefix = 'data: ' if mimic_upload else 'd.'
user_keys = ('user_id', 'username', 'is_active', 'name', 'groups')
user_rows = []
fields = set()
for user in users:
user_row = {}
for key in user_keys:
if key == 'username':
user_row[key] = user.raw_username
elif key == 'name':
user_row[key] = user.full_name
elif key == 'groups':
user_row[key] = ", ".join(user.get_group_ids())
else:
user_row[key] = getattr(user, key)
for key in user.user_data:
user_row["%s%s" % (data_prefix, key)] = user.user_data[key]
user_rows.append(user_row)
fields.update(user_row.keys())
workbook.open("Users", list(user_keys) + sorted(fields - set(user_keys)))
for user_row in user_rows:
workbook.write_row('Users', user_row)
|
#!python3
# 5. Программа запрашивает у пользователя строку чисел, разделенных пробелом.
# При нажатии Enter должна выводиться сумма чисел.
# Пользователь может продолжить ввод чисел, разделенных пробелом и снова нажать Enter.
# Сумма вновь введенных чисел будет добавляться к уже подсчитанной сумме.
# Но если вместо числа вводится специальный символ, выполнение программы завершается.
# Если специальный символ введен после нескольких чисел, то вначале нужно добавить сумму этих чисел к полученной ранее сумме
# и после этого завершить программу.
ch = 'q'
out_sum = 0
def list_sum(l : list, foo = lambda a, b : a + b) -> int:
"""Сумирование элементов списка, аналог reduce()"""
a = 0
for i in l:
a = foo(a, i)
return a
print(f"input {ch} to exit")
while True:
flag = False
input_string = input('you string = ')
if ch in input_string:
flag = True
input_string = input_string[:input_string.find(ch)].strip()
l = list(map(int,input_string.split(" ")))
# print(f"{l} -> {list_sum(l)}") # для проверки))
out_sum += list_sum(l)
print(f"sum = {out_sum}")
if flag:
break
|
'''[Question 10952] '''
# import sys
# while True:
# try:
# a, b = map(int, sys.stdin.readline().split())
# print(a+b)
# except:
# break
''' Fail [Question 1110] '''
# import sys
# copy = n = int(sys.stdin.readline())
# count = 0
# while True:
# a = copy//10
# b = copy%10
# c = a+b
# result = b*10 + c%10
# count += 1
# copy = result
# if n == result:
# break
# print(count)
# ''' [Question 10818] '''
# n = int(input())
# list_1 = list(map(int, input().split()))
# max = -10000000
# min = 10000000
# for i in range(n):
# if list_1[i] > max:
# max = list_1[i]
# if list_1[i] < min:
# min = list_1[i]
# print(min, max)
''' [Question 2562] '''
# list_1 = []
# for i in range(1, 10):
# n = int(input())
# list_1.append(n)
# max = 0
# index = 0
# for i in range(len(list_1)):
# if list_1[i] > max:
# max = list_1[i]
# index = i+1
# print(max)
# print(index)
''' [Question 2577] '''
# a = int(input())
# b = int(input())
# c = int(input())
# n = str(a*b*c)
# for i in range(0,10):
# print(n.count(str(i)))
''' [Question 3052] '''
result_1 = []
for _ in range (10):
n = int(input())
n = n%42
result_1.append(n)
result_2 = set(result_1)
print(len(result_2))
|
def get_input():
numbers_dict = {}
command = str(input())
while command != "Search":
try:
number = int(input())
except ValueError:
print('The variable number must be an integer')
command = str(input())
continue
numbers_dict[command] = number
command = str(input())
return numbers_dict, command
def search_trough_dict(dict):
number_as_string = input()
try:
number = dict.get(number_as_string)
if number != None:
print(number)
return
except TypeError:
print('Number does not exist in dictionary')
return
def remove_from_dict(dictonary):
number_as_str = input()
try:
del dictonary[number_as_str]
return dictonary
except KeyError:
print('Number does not exist in dictionary')
return dictonary
numbers_dict, command = get_input()
while command != "End":
if command == "Search":
search_trough_dict(numbers_dict)
elif command == "Remove":
numbers_dict = remove_from_dict(numbers_dict)
command = input()
print(numbers_dict)
|
class Solution:
"""
@param A: An integer array
@param k: A positive integer (k <= length(A))
@param target: An integer
@return: An integer
"""
def kSum(self, A, k, target):
pass
|
def max_sub_array(nums, max_sum=None, current_sum=0, current_index=0):
""" Returns the max subarray of the given list of numbers.
Returns 0 if nums is None or an empty list.
Time Complexity: O(n)
Space Complexity: O(1)
"""
if nums == None:
return 0
if len(nums) == 0:
return 0
if not max_sum:
max_sum = nums[0]
if current_index == len(nums):
if current_sum < max_sum and nums[current_index-1] > max_sum:
max_sum = nums[current_index-1]
return max_sum
current_sum += nums[current_index]
if current_sum >= max_sum:
return max_sub_array(nums, max_sum=current_sum, current_sum=current_sum, current_index=current_index+1)
if current_sum <= max_sum:
return max_sub_array(nums, max_sum, current_sum, current_index=current_index+1)
|
"""Collection of utilities"""
def with_metaclass(meta, *bases):
"""Create a base class with a metaclass.
Code taken from six (https://pypi.python.org/pypi/six).
"""
# This requires a bit of explanation: the basic idea is to make a dummy
# metaclass for one level of class instantiation that replaces itself with
# the actual metaclass.
class metaclass(meta):
def __new__(cls, name, _, doc):
return meta(name, bases, doc)
return type.__new__(metaclass, 'temporary_class', (), {})
|
class DictValidator:
def __init__(self):
directives = [seg.strip().replace("\n", "").strip() for seg in self.__doc__.split("@")]
v_name = "__SPEC_%s" % (self.__class__.__name__.upper())
globals().update({
v_name: self,
})
self.directives = directives
self.allow_extra_params = False
self.obligatory_keys = set(self.SAMPLE.keys())
def is_instance(self, val):
Adiff = set(val.keys()) - self.obligatory_keys
Bdiff = self.obligatory_keys - set(val.keys())
if len(Adiff) == 0 and len(Bdiff) == 0:
print("val is a %s" % self.__class__.__name__)
return True
elif self.allow_extra_params and len(Adiff):
print("val extends on %s with %s" % (self.__class__.__name__, kdiff))
return True
else:
if Adiff:
print("val is not %s. Unreconized %s" % (self.__class__.__name__, Adiff))
if Bdiff:
print("val is not %s, Missing %s" % (self.__class__.__name__, Bdiff))
return False
class Customer(DictValidator):
"""
@allow-additional-keys
@optionals: Phone.
@cpf: Mask(999.999.999-99)
"""
SAMPLE = {
"Cpf": "091.072.366-46",
"Name": "joao maia",
"Email": "[email protected]",
"Phone": "(31) 99265-1026",
"Bank": "banco_do_brasil"
}
ASDWQE = {
"Cpf": "091.072.366-46",
"Name": "joao maia",
"Email": "[email protected]",
"Phone": "(31) 99265-1026"
}
globals()["Customer"]()
print(globals())
__SPEC_CUSTOMER.is_instance(ASDWQE)
|
#!/usr/bin/python
def web_socket_do_extra_handshake(request):
request.ws_protocol = 'foobar'
def web_socket_transfer_data(request):
pass
|
"""
Helpers.
"""
def _clean_readme(content):
"""
Clean instructions such as ``.. only:: html``.
:param content: content of an rst file
:return: cleaned content
"""
lines = content.split("\n")
indent = None
less = None
rows = []
for i, line in enumerate(lines):
sline = line.lstrip()
if sline.startswith(".. only:: html"):
indent = len(line) - len(sline)
continue
if indent is None:
rows.append(line)
continue
exp = indent * " "
if len(line) > indent + 1 and line[:indent] == exp:
if line[indent] == " ":
blank = sline.strip()
if len(blank) == 0:
rows.append("") # pragma: no cover
continue # pragma: no cover
if less is None:
less = len(line) - len(sline)
if less == indent:
raise ValueError( # pragma: no cover
"Wrong format at line {0}\n{1}".format(
i, content))
new_line = line[less - indent:]
rows.append(new_line)
else:
rows.append(line)
indent = None
less = None
else:
rows.append(line)
return "\n".join(rows)
|
# Definition for a binary tree node.
class TreeNode(object):
def __init__(self, val=0, left=None, right=None):
self.val = val
self.left = left
self.right = right
class Solution(object):
def sortedArrayToBST(self, nums):
"""
:type nums: List[int]
:rtype: TreeNode
"""
length = len(nums)
if length == 0:
return None
i = int(length / 2)
n = TreeNode(nums[i])
n.left = self.sortedArrayToBST(nums[:i])
n.right = self.sortedArrayToBST(nums[i + 1:])
return n
if __name__ == '__main__':
nums = [-10, -3, 0, 5, 9]
s = Solution()
root = s.sortedArrayToBST(nums)
print(root)
|
#
# This file contains constants and methods for configurations in the
# TinkerSpaceCommand server.
#
CONFIG_NAME_EXTERNAL_ID = "externalId"
CONFIG_NAME_NAME = "name"
CONFIG_NAME_DESCRIPTION = "description"
CONFIG_NAME_MEASUREMENT_TYPE = "measurementType"
CONFIG_NAME_MEASUREMENT_UNIT = "measurementUnit"
CONFIG_NAME_SENSOR_ID = "sensorId"
CONFIG_NAME_SENSED_ID = "sensedId"
CONFIG_NAME_CHANNEL_IDS = "channelIds"
CONFIG_VALUE_CHANNEL_IDS_WILDCARD = "*"
# The character used to split channel IDs in a channel ID's field
CONFIG_VALUE_CHANNEL_IDS_SPLIT = ":"
CONFIG_NAME_SENSOR_DETAILS = "sensorDetails"
CONFIG_NAME_SENSOR_DETAIL = "sensorDetail"
CONFIG_NAME_CHANNELS = "channels"
CONFIG_NAME_SENSOR_ASSOCIATIONS = "sensorAssociations"
CONFIG_NAME_SENSORS = "sensors"
CONFIG_NAME_PHYSICAL_LOCATIONS = "physicalLocations"
CONFIG_NAME_SENSOR_UPDATE_TIME_LIMIT = "sensorUpdateTimeLimit"
CONFIG_NAME_SENSOR_HEARTBEAT_TIME_LIMIT = "sensorHeartbeatTimeLimit"
|
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def pseudoPalindromicPaths (self, root: TreeNode) -> int:
counter = [0] * 10
self.cnt = 0
def dfs(node, counter):
if node is not None:
counter[node.val] += 1
if node.left is None and node.right is None:
if sum(counter[i] % 2 for i in range(1, 10)) <= 1:
self.cnt += 1
dfs(node.left, counter)
dfs(node.right, counter)
counter[node.val] -= 1
dfs(root, counter)
return self.cnt
|
__version__ = "0.3.3"
def version():
return __version__
|
"""
Aim: From a list of integers, check and return a set of integers whose sum
will be equal to the target value K.
"""
# Main Recursive function to find the desired Subset Sum
def Subset_Sum(li, target, ans=[]):
# Base Cases
if target == 0 and ans != []:
return ans
elif li == []:
return False
# li[0] is not included in the answer Subset
temp = Subset_Sum(li[1:], target, ans)
if temp:
return temp
# li[0] included in the answer Subset
temp = Subset_Sum(li[1:], target - li[0], ans + [li[0]])
return temp
# --------------------------- DRIVER CODE------------------------------
if __name__ == "__main__":
li = [int(i) for i in input("Enter the List of Integers: ").split()]
Target = int(input("Enter the Target value: "))
ans = Subset_Sum(li, Target)
if not ans:
print("No Subset Sum matched to the Target")
else:
print("The Required Subset is : ", *ans)
"""
Sample Input:
Enter the List of Integers: -1 2 6 7 -4 7 5 -2
Enter the Target value: 0
Sample Output:
The Required Subset is : 6 -4 -2
Explanation:
6 - 4 - 2 = 0, the required result
COMPLEXITY:
Time Complexity: O(2^N)
Space complexity: O(N)
"""
|
def get_steam_transaction_fee() -> float:
# Reference: https://support.steampowered.com/kb_article.php?ref=6088-UDXM-7214#steamfee
steam_transaction_fee = 0.05
return steam_transaction_fee
def get_game_specific_transaction_fee() -> float:
# Reference: https://support.steampowered.com/kb_article.php?ref=6088-UDXM-7214#steamfee
game_specific_transaction_fee = 0.10
return game_specific_transaction_fee
def get_ground_truth_sell_price_without_fee(sell_price_including_fee: float) -> float:
# Reference: https://steamcommunity.com/discussions/forum/1/1679190184065722423/
# Manual fit of the fee cost for small prices (less than or equal to 0.66€)
if sell_price_including_fee <= 0.21:
total_fee_price = 0.02
elif sell_price_including_fee <= 0.32:
total_fee_price = 0.03
elif sell_price_including_fee <= 0.43:
total_fee_price = 0.04
elif sell_price_including_fee == 0.44:
total_fee_price = 0.05
elif sell_price_including_fee <= 0.55:
total_fee_price = 0.06
elif sell_price_including_fee <= 0.66:
total_fee_price = 0.07
else:
raise AssertionError()
sell_price_without_fee = sell_price_including_fee - total_fee_price
sell_price_without_fee = float('{0:.2f}'.format(sell_price_without_fee))
return sell_price_without_fee
def compute_sell_price_without_fee(sell_price_including_fee: float) -> float:
# Caveat: this is not exact! The price without fee can be off by 1 cent!
price = sell_price_including_fee
###
steam_transaction_fee = get_steam_transaction_fee()
steam_transaction_fee_price = max(0.01,
price / (1 + steam_transaction_fee)
* steam_transaction_fee
)
price -= steam_transaction_fee_price
###
game_specific_transaction_fee = get_game_specific_transaction_fee()
game_specific_transaction_fee_price = max(0.01,
price / (1 + game_specific_transaction_fee)
* game_specific_transaction_fee
)
price -= game_specific_transaction_fee_price
###
total_fee_price = steam_transaction_fee_price + game_specific_transaction_fee_price
sell_price_without_fee = sell_price_including_fee - total_fee_price
sell_price_without_fee = float('{0:.2f}'.format(sell_price_without_fee))
# Manually adjust the fee cost for small prices (until I have access to the right formula)
if sell_price_including_fee <= 0.66:
sell_price_without_fee = get_ground_truth_sell_price_without_fee(sell_price_including_fee)
return sell_price_without_fee
def main() -> bool:
print('With fee\t\tWithout fee')
for i in range(3, 25):
sell_price_including_fee = i / 100
sell_price_without_fee = compute_sell_price_without_fee(sell_price_including_fee)
print('{:.2f}€\t--->\t{:.2f}€'.format(sell_price_including_fee, sell_price_without_fee))
return True
if __name__ == '__main__':
main()
|
registry = {}
def access(key):
return registry[key]
|
#!/usr/bin/env python
# encoding: utf-8
"""Group Polls 2
# Polls
"""
class d:
"""Group Question 2
## Choice [/questions/{question_id}/choices/{choice_id}]
+ Parameters
+ question_id: 1 (required, number) - ID of the Question in form of an integer
+ choice_id: 1 (required, number) - ID of the Choice in form of an integer
### Vote on a Choice [POST]
This action allows you to vote on a question's choice.
+ Response 201
+ Headers
Location: /questions/1
"""
def e():
"""Group Question 4
### Create a New Question [POST]
You may create your own question using this action. It takes a JSON object containing a question and a collection of answers in the form of choices.
+ question (string) - The question
+ choices (array[string]) - A collection of choices.
+ Request (application/json)
{
"question": "Favourite programming language?",
"choices": [
"Swift",
"Python",
"Objective-C",
"Ruby"
]
}
+ Response 201 (application/json)
+ Headers
Location: /questions/2
+ Body
{
"question": "Favourite programming language?",
"published_at": "2014-11-11T08:40:51.620Z",
"url": "/questions/2",
"choices": [
{
"choice": "Swift",
"url": "/questions/2/choices/1",
"votes": 0
}, {
"choice": "Python",
"url": "/questions/2/choices/2",
"votes": 0
}, {
"choice": "Objective-C",
"url": "/questions/2/choices/3",
"votes": 0
}, {
"choice": "Ruby",
"url": "/questions/2/choices/4",
"votes": 0
}
]
}
"""
|
# https://en.bitcoin.it/wiki/Secp256k1
_p = 115792089237316195423570985008687907853269984665640564039457584007908834671663
_n = 115792089237316195423570985008687907852837564279074904382605163141518161494337
_a = 0
_b = 7
_gx = int("79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", 16)
_gy = int("483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8", 16)
_g = (_gx, _gy)
def inv_mod(a, n):
return pow(a, n - 2, n)
# https://en.wikipedia.org/wiki/Elliptic_curve_point_multiplication#Point_addition
def ecc_add(a, b):
l = ((b[1] - a[1]) * inv_mod(b[0] - a[0], _p)) % _p
x = (l * l - a[0] - b[0]) % _p
y = (l * (a[0] - x) - a[1]) % _p
return (x, y)
# https://en.wikipedia.org/wiki/Elliptic_curve_point_multiplication#Point_doubling
def ecc_double(a):
l = ((3 * a[0] * a[0] + _a) * inv_mod((2 * a[1]), _p)) % _p
x = (l * l - 2 * a[0]) % _p
y = (l * (a[0] - x) - a[1]) % _p
return (x, y)
# https://en.wikipedia.org/wiki/Elliptic_curve_point_multiplication
def ecc_mul(point, scalar):
if scalar == 0 or scalar >= _p:
raise ValueError("INVALID_SCALAR_OR_PRIVATEKEY")
scalar_bin = str(bin(scalar))[2:]
q = point
for i in range(1, len(scalar_bin)):
q = ecc_double(q)
if scalar_bin[i] == "1":
q = ecc_add(q, point)
return q
# https://rosettacode.org/wiki/Cipolla%27s_algorithm#Python
def to_base(n, b):
if n < 2:
return [n]
temp = n
ans = []
while temp != 0:
ans = [temp % b] + ans
temp //= b
return ans
# https://rosettacode.org/wiki/Cipolla%27s_algorithm#Python
def ecc_sqrt(n, p):
n %= p
if n == 0 or n == 1:
return (n, -n % p)
phi = p - 1
if pow(n, phi // 2, p) != 1:
return ()
if p % 4 == 3:
ans = pow(n, (p + 1) // 4, p)
return (ans, -ans % p)
aa = 0
for i in range(1, p):
temp = pow((i * i - n) % p, phi // 2, p)
if temp == phi:
aa = i
break
exponent = to_base((p + 1) // 2, 2)
def cipolla_mult(ab, cd, w, p):
a, b = ab
c, d = cd
return ((a * c + b * d * w) % p, (a * d + b * c) % p)
x1 = (aa, 1)
x2 = cipolla_mult(x1, x1, aa * aa - n, p)
for i in range(1, len(exponent)):
if exponent[i] == 0:
x2 = cipolla_mult(x2, x1, aa * aa - n, p)
x1 = cipolla_mult(x1, x1, aa * aa - n, p)
else:
x1 = cipolla_mult(x1, x2, aa * aa - n, p)
x2 = cipolla_mult(x2, x2, aa * aa - n, p)
return (x1[0], -x1[0] % p)
# https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm
def ecrecover(_e: bytes, _r: bytes, _s: bytes, v: int):
if len(_e) != 32:
raise ValueError(f"size of message hash must be 32 but got {len(_e)}")
if len(_r) != 32:
raise ValueError(f"size of r must be 32 but got {len(_r)}")
if len(_s) != 32:
raise ValueError(f"size of s must be 32 but got {len(_s)}")
e = int.from_bytes(_e, "big")
r = int.from_bytes(_r, "big")
s = int.from_bytes(_s, "big")
x = r % _n
y1, y2 = ecc_sqrt(x * x * x + x * _a + _b, _p)
if v == 27:
y = y1 if y1 % 2 == 0 else y2
elif v == 28:
y = y1 if y1 % 2 == 1 else y2
else:
raise ValueError(f"ECRECOVER_ERROR: v must be 27 or 28 but got {v}")
R = (x, y % _n)
x_inv = inv_mod(x, _n)
gxh = ecc_mul(_g, -e % _n)
pub = ecc_mul(ecc_add(gxh, ecc_mul(R, s)), x_inv)
return bytes.fromhex("%064x" % pub[0] + "%064x" % pub[1])
|
# Print the result of 9 / 2
print(9 / 2)
# Print the result of 7 * 5
print(7 * 5)
# Print the remainder of 5 divided by 2 using %
print(5 % 2)
|
# print the tuples for the conflict_table inputs
def print_lines(l):
for e in l:
l2 = l[:]
l2.remove(e)
for f in l2:
l3 = l2[:]
l3.remove(f)
for g in l3:
l4 = l3[:]
l4.remove(g)
for h in l4:
print((e,f,g,h))
print_lines(['g0','g1','g2','g3'])
print_lines(['g0','g1','g2','x'])
print_lines(['g0','g1','g3','x'])
print_lines(['g0','g2','g3','x'])
print_lines(['g1','g2','g3','x'])
print_lines(['g0','g1','x','x'])
print_lines(['g0','g2','x','x'])
print_lines(['g0','g3','x','x'])
print_lines(['g1','g2','x','x'])
print_lines(['g1','g3','x','x'])
print_lines(['g2','g3','x','x'])
|
# COLORS
BLACK = (0, 0, 0) # Black
WHITE = (255, 255, 255) # White
YELLOW = (255, 255, 0) # Yellow
RED = (255, 0, 0)
# SCREEN
WIDTH, HEIGHT = (1000, 800) # Screen dims
SCREEN_DIMS = (WIDTH, HEIGHT)
CENTER = (WIDTH // 2, HEIGHT // 2)
# GAME OPTIONS
FPS = 60
PLAYER_SPEED = 1.01
PLAYER_COORD = [
(CENTER[0] - 10, CENTER[1]), # base 1
(CENTER[0] + 10, CENTER[1]), # base 2
(CENTER[0], CENTER[1] - 25), # head
]
PLAYER_SENSITIVITY = 4
PLAYER_MAX_INERTIA = 3
MISSILE_SPEED = 10
MISSILES_PER_SEC = 10
ENEMY_SIZE = 100
FRICTION = 0.99
STAR_SIZE = 2
PARTICLE_SIZE = 2
N_STARS = 300
N_PARTICLES = 10
|
class Pomodorer:
"""Clase que representa la interfaz de comunicacion de un sistema pomodoro"""
def __init__(self, event_system):
self._report = [[]]
self.event_system = event_system
def run_pomodoro(self):
pass
def get_report(self):
agg = []
for series in self._report:
agg+series
return agg
def reset_series(self):
self._report = self._report + []
def main():
print('Pruebas no implementadas')
if __name__ == '__main__':
main()
|
def hexal_to_decimal(s):
""" s in form 0X< hexal digits>
returns int in decimal"""
s = s[2:]
s = s[::-1]
s = list(s)
for i, e in enumerate(s):
if s[i] == "A": s[i] = "10"
if s[i] == "B": s[i] = "11"
if s[i] == "C": s[i] = "12"
if s[i] == "D": s[i] = "13"
if s[i] == "E": s[i] = "14"
if s[i] == "F": s[i] = "15"
sum = 0
for i, e in enumerate(s):
sum += (16 ** i) * int(e)
return sum
def octal_to_decimal(s):
"""s in form 0X<octal digits>
returns int in decimal"""
s = s[1:]
s = s[::-1] # reverse
sum = 0
for i, e in enumerate(s):
sum += (8 ** i) * int(e)
return sum
print(hexal_to_decimal("0XCC"))
print(octal_to_decimal("010"))
|
n1 = float(input('qual a primeira nota do aluno?: '))
n2 = float(input('qual a segunda nota do aluno?: '))
media = (n1 + n2)/2
if media < 5.0:
print('a media do aluno foi {}, aluno REPROVADO!'.format(media))
elif media >=5 and media <=6.9:
print('a media do aluno foi {}, aluno em RECUPERAÇÃO!'.format(media))
elif media >= 7:
print('a meida do aluno foi {}, aluno APROVADO!'.format(media))
|
bole=True
n=0
while n<=30:
n=n+1
print(f'ola turma{n}')
break
print('passou')
|
#from cryptomath import *
#import Cryptoalphabet as ca
#alpha = ca.Cryptoalphabet("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
def affine_encode(plaintext, a, b):
process = ""
cipherFinal = ""
modulusValue = len(alphabet)
#removes punctuation from plaintext
for s in plaintext:
if s!= '.' and s!= ',' and s!= ' ' and s!= '!' and s!= '?' and s!= '\'':
process+=s
#converts to uppercase
process = process.upper()
# converts each character using y=ax+b(mod 26)
for letter in process:
ind = alphabet.index(letter)
step1 = ind * a
step2 = step1 + b
step3 = step2 % modulusValue
char = alphabet[step3]
cipherFinal+= char
# returns the ciphertext string
return cipherFinal
def affine_decode(ciphertext, c, d):
stringproc = ""
plainFinal = ""
modulusVal = len(alphabet)
#return plainFinal
# strip punctuation from ciphertext###
#convert to uppercase###
for s in ciphertext:
if s!= '.' and s!= ',' and s!= ' ' and s!= '!' and s!= '?' and s!= '\'':
stringproc+=s
stringproc = stringproc.upper()
# converts each character using x=cy+d (mod 26)
for letters in stringproc:
index = alphabet.index(letters)
stepone = index * c
steptwo = stepone + d
stepthr = steptwo % modulusVal
chars = alphabet[stepthr]
plainFinal += chars
# note the (c,d) pair are the inverse coefficients of
#the(a,b) pair used to encode
# returns the plaintext string
return plainFinal
def affine_crack(c1, p1, c2, p2):
return c2
#o c1,p1,c2,p2 are characters
# c1 is the encoded char of p1
# c2 is the encoded char of p2
# returns a pair (c,d) to use in affine_decode
# solves a linear system
# result: p1 = c * c1 + d2 and p2 = c * c2 + d2 (mod 26)
# returns the pair (c, d) or None if no solution can be found
def mod_inverse(a,m):
x = 1
for i in range(0,m-1):
if (a*i) % m == 1:
x = i
break
return x
#problemset1
alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
#test the encode function:
decrypted1 = "I KNOW' WHO.!?, PUT THE PUMPKIN ON THE CLOCK TOIQD"
cd1 = 21
dd1 = 8
print(affine_encode(decrypted1, cd1, dd1))
#decryptions:
encrypted1 = "UKVQCCZQLMRRZOLMALKUVQVRZOYFQYKRQUGT"
c1 = 5
d1 = -14
print(affine_decode(encrypted1, c1, d1))
encrypted2 = "lqpfzfaifstqufqqjjtakfnvfqnjisvkk"
c2 = -3
d2 = 15
print(affine_decode(encrypted2, c2, d2))
encrypted3 = "qgxetvepjyleexlkxujyxlksfbrqboxk"
c3 = 9
d3 = -21
print(affine_decode(encrypted3, c3, d3))
encrypted4 = "cpvvkmtsbkmtkgqlcbsepsbueqlvzcll"
c4 = 7
d4 = -14
print(affine_decode(encrypted4, c4, d4))
encrypted5 = "axhugoabuzabrloeusbxalxfubudxorhag"
c5 = 5
d5 = -18
print(affine_decode(encrypted5, c5, d5))
encrypted6 = "lqqlshykibymgsnfskvqlkmdmbmpoxqfma"
c6 = 21
d6 = -10
print(affine_decode(encrypted6, c6, d6))
encrypted7 = "mxfpyxmxyfyyxqykliimxeymfpkrryxyb" #the one letter crib
c7 = 17 #?????
d7 = -14 #????
print(affine_decode(encrypted7, c7, d7))
#test practice
print("TEST PRACTICE")
newalpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
encryptMeString = "TABLE"
theAValue = 15
theBValue = 11
print(affine_encode(encryptMeString,theAValue,theBValue)) #encoded to KLAUT
print()
newalpha2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
decryptMeString = "XMRPQ"
theAValueE = 3
theBValueE = -9
#find C Value
theCValue = 0
#find D value
theDValue = 0
#use those in the method
print(affine_decode(decryptMeString,theCValue,theDValue))
#avals
# for a in range(1,26):
# #bvals
# for b in range(-26,1):
# string = affine_decode(encrypted7,a,b)
# print("A: ", a,"B: ", b, "String: " ,string)
#examples
#i = alpha.getIndex("H")
#c = alpha.charNum(i)
#d = alpha.charNum(100)
#print i + c + d
#print(gcd(124,296))
#print(lcm(148,2560))
#print(mod_inverse(13,142))
#print(mod_inverse(8,17)) #test modulus
|
# you can write to stdout for debugging purposes, e.g.
# print("this is a debug message")
results = dict()
def solution(N):
# write your code in Python 3.6
# 1000000
if N in results:
return results[N]
else:
result = f_series(N)
results[N] = result
return result
def f_series(n):
if n < 2:
return n
else:
if n in results:
return results[n]
else:
result = (f_series(n - 1) + f_series(n - 2)) % 1000000
results[n] = result
return result
|
def isgore(a,b):
nbr1=int(a+b)
nbr2=int(b+a)
return nbr1>=nbr2
def largest_number(a):
res = ""
while len(a)!=0:
mx=0
for x in a:
if isgore(str(x),str(mx)):
mx=x
res+=str(mx)
a.remove(mx)
return res
n = int(input())
a = list(map(int, input().split()))
print(largest_number(a))
|
class Converter(object):
"""Base class for all converters."""
def convert_state(self, s, info=None):
"""Convert state to be consumable by the neural network.
Base implementation returns original state.
Parameters
----------
s : obj
State as it is received from the environment.
info : dict or obj, optional
Diagnostic information.
Returns
-------
obj
State that can be fed into the neural network.
"""
return s
def convert_action(self, a):
"""Convert action to be consumable by the environment.
Base implementation returns original action.
Parameters
----------
a : obj
Action as it is received from the neural network.
Returns
-------
obj
Action that can be fed into the environment.
"""
return a
def convert_experience(self, experience, info=None):
"""Convert experience to be stored in the replay memory.
Base implementation returns original experience.
Parameters
----------
experience : sequence or obj
Experience, typically a tuple of (`s`, `a`, `r`, `s1`,
`terminal_flag`).
info : dict or obj, optional
Diagnostic information.
Returns
-------
sequence or obj
Experience that can be stored in the replay memory.
"""
return experience
|
weight=1
a = _State('hh', 'naziv')
def run():
@_spawn(_name='haha')
def _():
#with _while(1):
_label('a')
_goto('a')
_label('b')
p1=nazadp.picked()
p2=napredp.picked()
sleep(0.1)
@_do
def _():
# print('drzi ', hex(p1.val), hex(p2.val))
print('drzi ', p1.val, p2.val)
_goto('b')
for i in range(1,3):
sleep(4)
_goto('b', ref='haha')
pump(i,1)
sleep(5)
pump(i,0)
sleep(5)
|
name = 'Abid'
age = 25
salary = 15.5 # Earning in Ks
print(name, age, salary)
print(' My name is ' + name + ' and my age is ' + str(age) + ' and I earn ' + str(salary) + 'K per month')
|
class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKCYAN = '\033[96m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
lista = list()
espacios = 0
print(bcolors.BOLD, "Programa que calcula la longitud de un texto", bcolors.ENDC)
print("Introduce el texto")
texto = input(bcolors.OKCYAN)
print(bcolors.ENDC)
# print(lista)
for i in texto:
if i == " ":
espacios += 1
print("El texto tiene", bcolors.OKGREEN, espacios+1, bcolors.ENDC, "palabras")
|
def create_rooted_spanning_tree(G, root):
def s_rec(root, S):
for node in G[root]:
if node in S:
if root not in S[node]:
S.setdefault(root, {})[node] = 'red'
S[node][root] = 'red'
else:
S.setdefault(root, {})[node] = 'green'
S.setdefault(node, {})[root] = 'green'
s_rec(node, S)
return S
return s_rec(root, {})
def post_order(S, root):
def po_rec(root, seen, po):
for node in S[root]:
if node not in seen and S[root][node] == 'green':
seen.add(node)
po_rec(node, seen, po)
seen.remove(node)
po[root] = len(po) + 1
return po
return po_rec(root, {root}, {})
def number_of_descendants(S, root):
def nd_rec(root, seen, nd):
count = 1
for node in S[root]:
if node not in seen and S[root][node] == 'green':
seen.add(node)
nd_rec(node, seen, nd)
count += nd[node]
seen.remove(node)
nd[root] = count
return nd
return nd_rec(root, {root}, {})
def lowest_post_order(S, root, po):
def l_rec(root, seen, l):
low = po[root]
for node in S[root]:
if S[root][node] == 'green':
if node not in seen:
seen.add(node)
l_rec(node, seen, l)
low = min(low, l[node])
seen.remove(node)
else:
low = min(low, po[node])
l[root] = low
return l
return l_rec(root, {root}, {})
def highest_post_order(S, root, po):
def h_rec(root, seen, h):
high = po[root]
for node in S[root]:
if S[root][node] == 'green':
if node not in seen:
seen.add(node)
h_rec(node, seen, h)
high = max(high, h[node])
seen.remove(node)
else:
high = max(high, po[node])
h[root] = high
return h
return h_rec(root, {root}, {})
def bridge_edges(G, root):
S = create_rooted_spanning_tree(G, root)
po = post_order(S, root)
nd = number_of_descendants(S, root)
l = lowest_post_order(S, root, po)
h = highest_post_order(S, root, po)
bridges = set()
for key in G:
if key != root and h[key] == po[key] and l[key] == po[key] - nd[key] + 1:
for node in G[key]:
if key in G[node] and po[node] > po[key]:
bridges.add((node, key))
break
return bridges
def main():
G = {'a': {'c': 1, 'b': 1},
'b': {'a': 1, 'd': 1},
'c': {'a': 1, 'd': 1},
'd': {'c': 1, 'b': 1, 'e': 1},
'e': {'d': 1, 'g': 1, 'f': 1},
'f': {'e': 1, 'g': 1},
'g': {'e': 1, 'f': 1}}
assert bridge_edges(G, 'a') == {('d', 'e')}
if __name__ == '__main__':
main()
|
# -*- coding: utf-8 -*-
def test1():
print("test1")
def test2():
print("test2")
|
# -*- coding: utf-8 -*-
"""
14. Longest Common Prefix
编写一个函数来查找字符串数组中的最长公共前缀。
如果不存在公共前缀,返回空字符串 ""。
示例 1:
输入: ["flower","flow","flight"]
输出: "fl"
示例 2:
输入: ["dog","racecar","car"]
输出: ""
解释: 输入不存在公共前缀。
说明:
所有输入只包含小写字母 a-z 。
解题思路:
选择一个字符最短的作为参考,然后迭代strs 列表中的所有字符是否和最短字符里的字符一一对应,如不对应
跳出循环,返回当前0-当前下标的字符
"""
class Solution:
def longestCommonPrefix(self, strs):
"""
:type strs: List[str]
:rtype: str
"""
if not strs:
return ""
short_str = min(strs, key=len)
for i, s in enumerate(short_str):
for str in strs:
if str[i] != s:
return short_str[:i]
return short_str
def longestCommonPrefix_v1(self, strs):
if not strs:
return ''
a = min(strs)
b = max(strs)
for i in range(len(a)):
if a[i] != b[i]:
return a[0:i]
return a
def longestCommonPrefix_v2(self, strs):
if not strs:
return ""
for i in range(len(strs[0])):
for str in strs:
if str[i] != strs[0][i]:
return strs[0][:i]
return strs[0]
def longestCommonPrefix_v3(self, strs):
if not strs:
return ""
short_str = min(strs)
long_str = max(strs)
for i, s in enumerate(short_str):
if long_str[i] != s:
return short_str[:i]
return short_str
if __name__ == '__main__':
so = Solution()
print(so.longestCommonPrefix(["flower", "flow", "flight"]))
print(so.longestCommonPrefix_v1(["flower", "flow", "flight"]))
print(so.longestCommonPrefix_v2(["flower", "flow", "flight"]))
print(so.longestCommonPrefix_v3(["flower", "flow", "flight"]))
|
# This is an AWESOME LIBRARY.
# You can use its AWESOME CLASSES to do Great Things.
# The author however DOESN'T allow you to CHANGE the source code and taint it with Pyro decorators!
class WeirdReturnType(object):
def __init__(self, value):
self.value = value
class AwesomeClass(object):
def method(self, arg):
print("Awesome object is called with: ", arg)
return "awesome"
def private(self):
print("This should be a private method...")
return "boo"
def weird(self):
print("Weird!")
return WeirdReturnType("awesome")
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jul 3 17:27:00 2019
@author: war-machince
"""
docker_path = './'
NFS_path_AoA = docker_path
NFS_path = docker_path
save_NFS = docker_path
|
class Song:
def __init__(self, name, lenght, single):
self.name = name
self.lenght = lenght
self.single = single
def get_info(self):
return f"{self.name} - {self.lenght}"
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
*****************************************
Author: zhlinh
Email: [email protected]
Version: 0.0.1
Created Time: 2016-03-06
Last_modify: 2016-03-06
******************************************
'''
'''
Given preorder and inorder traversal of a tree,
construct the binary tree.
Note:
You may assume that duplicates do not exist in the tree.
'''
# Definition for a binary tree node.
class TreeNode(object):
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution(object):
def buildTree(self, preorder, inorder):
"""
:type preorder: List[int]
:type inorder: List[int]
:rtype: TreeNode
"""
if not preorder:
return None
root = TreeNode(preorder[0])
stack = [root]
inindex = 0
for i in range(1, len(preorder)):
if stack and stack[-1].val != inorder[inindex]:
cur = stack[-1]
cur.left = TreeNode(preorder[i])
stack.append(cur.left)
else:
while stack and stack[-1].val == inorder[inindex]:
cur = stack[-1]
stack.pop()
inindex += 1
if inindex < len(inorder):
cur.right = TreeNode(preorder[i])
stack.append(cur.right)
return root
|
class BaseEngine(object):
database = ''
def __init__(self, databaseName="epubdb"):
self.databaseName = databaseName
self.databasePath = "databases/" + databaseName
self.open()
pass
def open(self):
'''
Opens the database for reading
'''
pass
def create(self):
'''
Creates the database if it is not present
Otherwise open current DB
Setup writing to DB
'''
pass
def clear(self):
'''
Clears the current database if it present
'''
pass
def add(self, path='', href='', title='', cfiBase='', spinePos=''):
'''
Called to load a single document from the spine
- path = Relative path to the chapter
- href = URL to chapter from the manifest
- title = Title from the TOC
- cfiBase = Chapter Base of the EPUBCFI
- spinePos = position in the book (starting at 1)
'''
pass
def finished(self):
'''
Cleanup after adding all the chapters
'''
pass
def query(self, q, limit=None):
'''
Returns a List of results containing Dicts with the following keys:
title
href
path
title
cfiBase
spinePos
'''
results = []
hit = [] # replace with DB query
for hit in hits:
item = {}
item['title'] = hit["title"]
item['href'] = hit["href"]
item['path'] = hit["path"]
item['title'] = hit["title"]
item['cfiBase'] = hit["cfiBase"]
item['spinePos']= hit["spinePos"]
results.append(item)
return results
|
a, b, c = [int(x) for x in input().split()]
if a >= b >= c:
print(c, b, a, sep='\n')
elif a >= c >= b:
print(b, c, a, sep='\n')
elif b >= a >= c:
print(c, a, b, sep='\n')
elif b >= c >= a:
print(a, c, b, sep='\n')
elif c >= a >= b:
print(b, a, c, sep='\n')
elif c >= b >= a:
print(a, b, c, sep='\n')
print('')
print(a, b, c, sep='\n')
|
class ListNode:
def __init__(self, x):
self.x = x
self.val = x
self.next = None
class PointNode:
def __init__(self, x, y):
self.x = x
self.y = y
# Definition for singly-linked list with a random pointer.
class RandomListNode:
def __init__(self, x):
self.label = x
self.next = None
self.random = None
# Definition for a undirected graph node
class UndirectedGraphNode:
def __init__(self, x):
self.label = x
self.neighbors = []
# Definition for a TreeNode
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
# Defintion for a TreeLinkNode
class TreeLinkNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
self.next = None
|
"""
These classes are used to represent the objects drawn on a drawing layer.
**Note**
These calsses should be kept picklable to be sent over a Pipe
Not to be confused with classes in Detection.* . In addition to coordinates
thse also store color, alpha and other displaying parameters
"""
class Line(object):
def __init__(self,start,stop,color ,width,antialias,alpha):
self.start = start
self.stop = stop
self.color = color
self.width = width
self.antialias = antialias
self.alpha = alpha
class Rectangle(object):
def __init__(self,pt1,pt2,color ,width,filled,antialias,alpha):
self.pt1 = pt1
self.pt2 = pt2
self.color = color
self.width = width
self.filled = filled
self.antialias = antialias
self.alpha = alpha
class Polygon(object):
def __init__(self,points,color, width, filled, antialias, alpha ):
self.points = points
self.color = color
self.width = width
self.filled = filled
self.antialias = antialias
self.alpha = alpha
class Circle(object):
def __init__(self, center, radius, color, width, filled, antialias, alpha ):
self.center = center
self.radius = radius
self.color = color
self.width = width
self.filled = filled
self.antialias = antialias
self.alpha = alpha
class Ellipse(object):
def __init__(self, center, dimensions, color, width,filled ,antialias ,alpha ):
self.center = center
self.dimensions = dimensions
self.color = color
self.width = width
self.filled = filled
self.antialias = antialias
self.alpha = alpha
class Bezier(object):
def __init__(self, points, color, width, antialias, alpha ):
self.points = points
self.color = color
self.width = width
self.antialias = antialias
self.alpha = alpha
class Text(object):
def __init__(self, text, location, color ,size, font , bold ,italic ,underline, alpha,bg = None):
self.text = text
self.location = location
self.font = font
self.size = size
self.bold = bold
self.italic = italic
self.underline = underline
self.color = color
self.alpha = alpha
self.bg = bg # comes into play for ezViewText
self.antialias = True # TODO maybe push this to the API
|
class OTMSConfig(object):
MYSQL_DATABASE_USER = 'root'
MYSQL_DATABASE_PASSWORD = ''
MYSQL_DATABASE_DB = 'otms'
MYSQL_DATABASE_PORT = '3308'
MYSQL_DATABASE_HOST = 'localhost'
|
#
# Simple Image
#
# Copyright 2017, Adam Edwards
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
class SimpleImage:
def __init__(self, width, height, is_sparse = False, default_color = 0):
self.__width = width
self.__height = height
self.__sparse_size = 0
self.__default_color = default_color
self.__is_sparse = is_sparse
self.__sparse_map = {}
self.__image_data = [] if is_sparse else ([default_color] * (width * height))
def get_pixel(self, x, y):
pixel_index = self.__get_pixel_index(x, y)
result = None
if self.__is_sparse:
existing_pixel = self.__find_sparse_pixel(pixel_index)
result = self.__default_color if existing_pixel == None else self.__image_data[existing_pixel + 1]
else:
result = self.__image_data[pixel_index]
return result
def set_pixel(self, x, y, red, green, blue, alpha = 255):
self.__validate_user_color(red, green, blue, alpha)
pixel_index = self.__get_pixel_index(x, y)
existing_sparse_offset = (None if self.__is_sparse else self.__find_sparse_pixel(pixel_index))
image_offset = pixel_index
if self.__is_sparse:
if existing_sparse_offset == None:
image_offset = self.__new_sparse_pixel_offset()
else:
image_offset = existing_sparse_offset
color_offset = 1 if self.__is_sparse else 0
color = red + (green << 8) + (blue << 16) + (alpha << 24)
if self.__is_sparse and existing_sparse_offset == None:
self.__add_sparse_pixel(pixel_index)
self.__image_data[image_offset + color_offset] = color
self.__validate_color(x, y, color)
def get_serializable_image(self):
return {
'width':self.__width,
'height':self.__height,
'format':(1 if self.__is_sparse else 0),
'sparseSize':self.__sparse_size,
'defaultColor':self.__default_color,
'imageData':self.__image_data
}
def __get_pixel_index(self, x, y):
if x < 0 or x >= self.__width:
raise ValueError("get_pixel: x coordinate value `{0}` not in the range 0 to {1}".format(x, self.__width - 1))
if y < 0 or y >= self.__height:
raise ValueError("get_pixel: y coordinate value `{0}` not in the range 0 to {1}".format(y, self.__height - 1))
return y * self.__width + x
def __new_sparse_pixel_offset(self):
return self.__sparse_size * 2
def __add_sparse_pixel(self, pixel_index):
new_offset = self.__new_sparse_pixel_offset()
self.__image_data.append(pixel_index)
self.__image_data.append(self.__default_color)
self.__sparse_map[pixel_index] = new_offset
self.__sparse_size += 1
def __find_sparse_pixel(self, pixel_index):
result = self.__sparse_map[pixel_index] if pixel_index in self.__sparse_map else None
return result
def __validate_color(self, x, y, color):
newcolor = self.get_pixel(x, y)
if newcolor != color:
raise ValueError("At #{0},#{1} the color should be #{2}, but #{3} was returned".format(x, y, color, newcolor))
def __validate_user_color(self, red, green, blue, alpha):
color = {'red': red, 'green': green, 'blue': blue, 'alpha': alpha}
for component, value in color.items():
if (not type(value) is int) or (value < 0 or value > 255):
raise ValueError("Color component {0}='{1}' is not an 8-bit integer".format(component, value))
|
class Solution:
def myPow(self, x: float, n: int) -> float:
"""
Implement pow(x, n), which calculates x raised to the power n (x^n).
Note:
- -100.0 < x < 100.0
- n is a 32-bit signed integer, within the range [−2^31, 2^31 − 1]
>>> Solution().myPow(2.0, 10)
1024.0
>>> Solution().myPow(2.1, 3)
9.261
>>> Solution().myPow(2.0, -2)
0.25
:param x: base
:param n: power
:return: x^n
"""
if x <= -100 or x >= 100:
return 0
if n < -2 ** 31 or n > 2 ** 31 - 1:
return 0
return round(self.recursive_soln(x, n), 5)
def recursive_soln(self, x: float, n: int) -> float:
"""
The recursive solution
:param x: base
:param n: power
:return: x^n
"""
if not n:
return 1
if n < 0:
return 1 / self.recursive_soln(x, -n)
if n % 2:
return x * self.recursive_soln(x, n - 1)
return self.recursive_soln(x * x, n // 2)
def iterative_soln(self, x: float, n: int) -> float:
"""
The iterative solution
:param x: base
:param n: power
:return: x^n
"""
if n < 0:
x = 1 / x
n = -n
res = 1
while n:
if n % 2:
res *= x
x *= x
n //= 2
return res
def built_in(self, x: float, n: int) -> float:
"""
The built in implementation
:param x: base
:param n: power
:return: x^n
"""
return x ** n
if __name__ == '__main__':
Solution().myPow(2.0, 10)
|
[
{
'date': '2011-01-01',
'description': 'Ano Novo',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NF'
},
{
'date': '2011-03-08',
'description': 'Carnaval',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NRV'
},
{
'date': '2011-04-22',
'description': 'Sexta-feira Santa',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NRV'
},
{
'date': '2011-04-24',
'description': 'Páscoa',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NRV'
},
{
'date': '2011-04-25',
'description': 'Dia da Liberdade',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NF'
},
{
'date': '2011-05-01',
'description': 'Dia do Trabalhador',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NF'
},
{
'date': '2011-06-10',
'description': 'Dia de Portugal',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NF'
},
{
'date': '2011-06-23',
'description': 'Corpo de Deus',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NRV'
},
{
'date': '2011-08-15',
'description': 'Assunção de Nossa Senhora',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NF'
},
{
'date': '2011-10-05',
'description': 'Implantação da República',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NF'
},
{
'date': '2011-11-01',
'description': 'Dia de Todos os Santos',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NF'
},
{
'date': '2011-12-01',
'description': 'Restauração da Independência',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NF'
},
{
'date': '2011-12-08',
'description': 'Imaculada Conceição',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NF'
},
{
'date': '2011-12-25',
'description': 'Natal',
'locale': 'pt-PT',
'notes': '',
'region': '',
'type': 'NF'
}
]
|
class Scene(object):
"""
Base class for all Scene objects
Contains the base functionalities and the functions that all derived classes need to implement
"""
def __init__(self):
self.build_graph = False # Indicates if a graph for shortest path has been built
self.floor_body_ids = [] # List of ids of the floor_heights
def load(self):
"""
Load the scene into pybullet
The elements to load may include: floor, building, objects, etc
:return: A list of pybullet ids of elements composing the scene, including floors, buildings and objects
"""
raise NotImplementedError()
def get_random_floor(self):
"""
Sample a random floor among all existing floor_heights in the scene
While Gibson v1 scenes can have several floor_heights, the EmptyScene, StadiumScene and scenes from iGibson
have only a single floor
:return: An integer between 0 and NumberOfFloors-1
"""
return 0
def get_random_point(self, floor=None):
"""
Sample a random valid location in the given floor
:param floor: integer indicating the floor, or None if randomly sampled
:return: A tuple of random floor and random valid point (3D) in that floor
"""
raise NotImplementedError()
def get_shortest_path(self, floor, source_world, target_world, entire_path=False):
"""
Query the shortest path between two points in the given floor
:param floor: Floor to compute shortest path in
:param source_world: Initial location in world reference frame
:param target_world: Target location in world reference frame
:param entire_path: Flag indicating if the function should return the entire shortest path or not
:return: Tuple of path (if indicated) as a list of points, and geodesic distance (lenght of the path)
"""
raise NotImplementedError()
def get_floor_height(self, floor=0):
"""
Get the height of the given floor
:param floor: Integer identifying the floor
:return: Height of the given floor
"""
del floor
return 0.0
|
'''
Created on 09.03.2019
@author: Nicco
'''
class act_base(object):
'''
providing all the methods to connect to the simulator, and plan
'''
def __init__(self, params):
'''
Constructor
'''
|
# Copyright (c) 2019-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
def f_gold(s):
maxvalue = 0
i = 1
for i in range(s - 1):
j = 1
for j in range(s):
k = s - i - j
maxvalue = max(maxvalue, i * j * k)
return maxvalue
#TOFILL
if __name__ == '__main__':
param = [
(67,),
(48,),
(59,),
(22,),
(14,),
(66,),
(1,),
(75,),
(58,),
(78,)
]
n_success = 0
for i, parameters_set in enumerate(param):
if f_filled(*parameters_set) == f_gold(*parameters_set):
n_success += 1
print("#Results: %i, %i" % (n_success, len(param)))
|
# DROP TABLES
songplay_table_drop = "DROP TABLE IF EXISTS songplays"
user_table_drop = "DROP TABLE IF EXISTS users"
song_table_drop = "DROP TABLE IF EXISTS songs"
artist_table_drop = "DROP TABLE IF EXISTS artsts"
time_table_drop = "DROP TABLE IF EXISTS time"
# CREATE TABLES one facts table and four dimensions tables
songplay_table_create = ("""CREATE TABLE IF NOT EXISTS songplays (
songplay_id serial PRIMARY KEY,
start_time bigint NOT NULL,
user_id int NOT NULL,
level varchar NOT NULL,
song_id varchar,
artist_id varchar,
session_id int,
location text,
user_agent text,
UNIQUE (user_id, artist_id))
""")
user_table_create = ("""CREATE TABLE IF NOT EXISTS users (
user_id int NOT NULL PRIMARY KEY,
first_name varchar NOT NULL,
last_name varchar NOT NULL,
gender varchar,
level text)
""")
song_table_create = ("""CREATE TABLE IF NOT EXISTS songs (
song_id varchar PRIMARY KEY,
title text NOT NULL,
artist_id varchar NOT NULL,
year int,
duration numeric NOT NULL)
""")
artist_table_create = ("""CREATE TABLE IF NOT EXISTS artists (
artist_id varchar NOT NULL PRIMARY KEY,
name varchar NOT NULL,
location text,
latitude numeric,
longitude numeric)
""")
time_table_create = ("""CREATE TABLE IF NOT EXISTS time (
start_time timestamp PRIMARY KEY,
hour int NOT NULL,
day int NOT NULL,
week int NOT NULL,
month int NOT NULL,
year int NOT NULL,
weekday int NOT NULL)
""")
# INSERT RECORDS
songplay_table_insert = ("""INSERT INTO songplays (
start_time,
user_id,
level,
song_id,
artist_id,
session_id,
location,
user_agent)
VALUES (%s,%s,%s,%s,%s,%s,%s,%s)
""")
user_table_insert = ("""INSERT INTO users (
user_id,
first_name,
last_name,
gender,
level)
VALUES (%s,%s,%s,%s,%s)
ON CONFLICT (user_id) DO UPDATE SET level=EXCLUDED.level
""")
song_table_insert = ("""INSERT INTO songs (
song_id,
title,
artist_id,
year,
duration)
VALUES (%s,%s,%s,%s,%s)
ON CONFLICT (song_id) DO NOTHING
""")
artist_table_insert = ("""INSERT INTO artists (
artist_id,
name,
location,
latitude,
longitude)
VALUES (%s,%s,%s,%s,%s)
ON CONFLICT (artist_id) DO NOTHING
""")
time_table_insert = ("""INSERT INTO time (
start_time,
hour,
day,
week,
month,
year,
weekday)
VALUES (%s,%s,%s,%s,%s,%s,%s)
ON CONFLICT (start_time) DO NOTHING
""")
# FIND SONGS
song_select = ("""SELECT
songs.song_id, artists.artist_id
FROM
songs JOIN artists ON (songs.artist_id = artists.artist_id)
WHERE
songs.title = %s AND artists.name = %s AND songs.duration = %s;
""")
# QUERY LISTS
create_table_queries = [songplay_table_create, user_table_create, song_table_create, artist_table_create, time_table_create]
drop_table_queries = [songplay_table_drop, user_table_drop, song_table_drop, artist_table_drop, time_table_drop]
|
msg = "\nU cannot do it with the zero under there!!!"
def mean(num_list):
if len(num_list)== 0:
raise Exception(msg)
else:
return sum(num_list)/len(num_list)
def mean2(num_list):
try:
return sum(num_list)/len(num_list)
except ZeroDivisionError as detail:
raise ZeroDivisionError(detail.__str__() + msg)
except TypeError as detail:
msg2 = "\n use numbers "
raise TypeError(detail.__str__() + msg2)
|
# where output is the value per line
# loop through the values
# print the value of the letter plus the next letter for n number of times
# n = a number (1-10) that represents how many characters are in a line
# once you have printed n number of times, '\n'
output = ''
#for value in range(65, 91, 1):
for i in range(5):
for j in range(i+1):
print("* ", end="")
print("\n")
|
""" Task
Given an integer, n, perform the following conditional actions:
If is odd, print Weird
If is even and in the inclusive 2 range 5 of to , print Not Weird
If is even and in the inclusive 6 range of 20 to , print Weird
If is even and greater than 20, print Not Weird """
n = int(input("Write a number: "))
if n % 2 == 0 and 2 <= n <= 5:
print("Not Weird")
elif n % 2 == 0 and 6 <= n <= 20:
print("Wierd")
elif n > 20:
print("Not Wierd")
else:
print("Not Wierd")
|
#!/usr/bin/env python3
N, T = list(map(int, input().strip().split(' ')))
width = list(map(int, input().strip().split(' ')))
for _ in range(T):
i, j = list(map(int, input().strip().split(' ')))
print(min(width[i:j + 1]))
|
# Task
# Apply your knowledge of the .add() operation to help your friend Rupal.
# Rupal has a huge collection of country stamps. She decided to count the
# total number of distinct country stamps in her collection. She asked for
# your help. You pick the stamps one by one from a stack of N country stamps.
# Find the total number of distinct country stamps.
#
# Input Format
# The first line contains an integer N, the total number of country stamps.
# The next N lines contains the name of the country where the stamp is from.
#
# Constraints
# 0 < N < 1000
#
# Output Format
# Output the total number of distinct country stamps on a single line.
#
# Sample Input
# 7
# UK
# China
# USA
# France
# New Zealand
# UK
# France
# Sample Output
# 5
N = int(input())
countries = set()
for i in range(N):
countries.add(input())
print(len(countries))
|
class Window(object):
def __init__(self, win_id, name, geom=None, d_num=None):
self.win_id = win_id
self.name = name
self.geom = geom
self.children = []
self.desktop_number = d_num
return
def __repr__(self):
"""
An inheritable string representation. Prints the window type and ID.
"""
id_r = f", id: {self.win_id}, "
if self.name is None:
name_r = "(has no name)"
else:
name_r = f'"{self.name}"'
level_repr_indent_size = 2
indent = " " * level_repr_indent_size
if "level" in self.__dict__:
level_r = f", level: {self.level}"
level_indent = indent * self.level
else:
level_r = ""
level_indent = ""
n_children = len(self.children)
chdn_repr = f"\n{indent}".join([f"{ch}" for ch in self.children])
if n_children == 1:
child_r = f"\n{level_indent} 1 child: {chdn_repr}"
elif n_children > 1:
child_r = f"\n{level_indent} {n_children} children: {chdn_repr}"
else:
child_r = ""
d_num_r = ""
if self.desktop_number is not None:
d_num_r += f", desktop {self.desktop_number}"
return f"{type(self).__name__}{id_r}{name_r}{level_r}{child_r}{d_num_r}"
@staticmethod
def check_id(win_id):
assert win_id.startswith("0x"), "Window ID is not a hexadecimal"
return
def check_line_entry(self, line, prefix):
bad_input_err_msg = f"Not a valid {type(self).__name__} line entry"
assert line.lstrip().startswith(prefix), bad_input_err_msg
return
@property
def win_id(self):
return self._win_id
@win_id.setter
def win_id(self, win_id):
self.check_id(win_id)
self._win_id = win_id
return
@property
def name(self):
return self._name
@name.setter
def name(self, name):
self._name = name
return
@property
def children(self):
return self._children
@children.setter
def children(self, vals):
self._children = vals
return
def add_children(self, subnode_list):
self.children.extend(subnode_list)
return
@property
def geom(self):
return self._geom
@geom.setter
def geom(self, geom):
self._geom = geom
return
@property
def desktop_number(self):
return self._desktop_number
@desktop_number.setter
def desktop_number(self, d_num):
self._desktop_number = d_num
return
class WindowGeom(object):
"""
TODO: structure this class to represent window geometry (for now it only applies
to the SubnodeDesc class, which is given on the lines of xwininfo output which
describe the children of another node, so no need to add to base Window class).
"""
def __init__(self, width, height, abs_x, abs_y, rel_x, rel_y):
self.width = width
self.height = height
self.abs_x = abs_x
self.abs_y = abs_y
self.rel_x = rel_x
self.rel_y = rel_y
return
@property
def width(self):
return self._width
@width.setter
def width(self, w):
self._width = w
return
@property
def height(self):
return self._height
@height.setter
def height(self, h):
self._height = h
return
@property
def abs_x(self):
return self._abs_x
@abs_x.setter
def abs_x(self, abs_x):
self._abs_x = abs_x
return
@property
def abs_y(self):
return self._abs_y
@abs_y.setter
def abs_y(self, abs_y):
self._abs_y = abs_y
return
@property
def rel_x(self):
return self._rel_x
@rel_x.setter
def rel_x(self, rel_x):
self._rel_x = rel_x
return
@property
def rel_y(self):
return self._rel_y
@rel_y.setter
def rel_y(self, rel_y):
self._rel_y = rel_y
return
class WindowDesc(Window):
def __init__(self, line):
super(WindowDesc, self).__init__(*self.parse_descline(line))
return
@staticmethod
def parse_descline(line):
"""
Window ID is given in the middle of a line, after a colon (window type format),
followed by the window's name (if any).
"""
win_id = line.lstrip().split(":")[1].lstrip().split()[0]
if line.endswith("(has no name)") or win_id == "0x0":
name = None
else:
assert line.count('"') > 1, ValueError("Missing enclosing quotation marks")
first_quote = line.find('"')
assert line.endswith('"'), ValueError("Expected quotation mark at EOL")
name = line[first_quote + 1 : -1]
return win_id, name
class SourceWindow(WindowDesc):
def __init__(self, line):
self.check_line_entry(line, "xwininfo: Window")
# Remove xwininfo output prefix before processing line for ID and window name
super(SourceWindow, self).__init__(line[line.find(":") + 1 :])
return
@property
def parent(self):
return self._parent
@parent.setter
def parent(self, parent):
self._parent = parent
return
def assign_parent(self, parent_line):
self.parent = ParentWindow(parent_line)
class RootWindow(WindowDesc):
def __init__(self, line):
self.check_line_entry(line, "Root window")
super(RootWindow, self).__init__(line)
return
class ParentWindow(WindowDesc):
def __init__(self, line):
self.check_line_entry(line, "Parent window")
super(ParentWindow, self).__init__(line)
return
class SubnodeDesc(Window):
def __init__(self, line):
super(SubnodeDesc, self).__init__(*self.parse_descline(line))
return
@staticmethod
def parse_descline(line):
"""
Window ID is given at the start of a line (child window format), then
the window's name, then a colon, then a bracketed set of window tags,
then window width and height, then absolute and relative window positions.
"""
win_id = line.lstrip().split()[0]
tag_open_br = 0 - line[::-1].find("(")
tag_close_br = -1 - line[::-1].find(")")
tags = [x.strip('"') for x in line[tag_open_br:tag_close_br].split()]
if line.split(":")[0].endswith("(has no name)"):
name = None
else:
assert line.count('"') > 1, ValueError("Missing enclosing quotation marks")
name_open_qm = line.find('"')
name_close_qm = tag_open_br - line[:tag_open_br][::-1].find(":") - 1
name = line[name_open_qm:name_close_qm].strip('"')
geom = WindowGeom(*SubnodeDesc.parse_geomline(line[tag_close_br + 1 :]))
return win_id, name, geom
@staticmethod
def parse_geomline(line):
w_h_abs, rel = line.lstrip().split()
width = w_h_abs.split("x")[0]
height, abs_x, abs_y = w_h_abs.split("x")[1].split("+")
rel_x, rel_y = rel.split("+")[-2:]
return width, height, abs_x, abs_y, rel_x, rel_y
class ChildWindow(SubnodeDesc):
def __init__(self, line, level):
self.check_line_entry(line, "0x")
self.level = level
super(ChildWindow, self).__init__(line)
return
|
def add_numbers(x, y):
""" add two numbers and return the result"""
return x + y
def subtract_numbers(x, y):
if x > y:
return x - y
elif x < y:
return y - x
else:
return 0
|
# solution by erine_y, py3
bijectiveNumeration = lambda n, d: d[n//100]+"%03d"%~(~-n%99)
"""
You need to label a set of indices; ideally something a little more human friendly than just a number.
What was decided was to use a character, or set of characters, hyphenated with a two digit number.
Example
For n = 134 and domain = ["MONKEYS", "PENGUINS", "ZEBRAS", "LIONS"], the output should be
bijectiveNumeration(n, domain) = "PENGUINS-35".
An output of MONKEYS-01 for n=1, MONKEYS-99 for n=99, PENGUINS-01 for n=100 and so on.
"""
|
def get_profile(name: str, age: int, *args, **kwargs):
if len(list(args)) > 5:
raise ValueError
if not isinstance(age, int):
raise ValueError
profile = dict(name=name, age=age,)
if args:
profile.update(sports=sorted(list(args)))
if kwargs:
profile.update(awards=kwargs)
return profile
print(get_profile("tim", 36, "tennis", "basketball", champ="helped out team in crisis"))
|
class Klasse:
def __init__(self, wert):
self.attribut = wert
def print_attribut(self):
print(self.attribut)
def main():
a = Klasse(3)
b = Klasse(12)
a.attribut = -a.attribut
b.print_attribut()
|
def ngram(s, num):
res = []
slen = len(s) - num + 1
for i in range(slen):
ss = s[i:i+num]
res.append(ss)
return res
def diff_ngram(sa, sb, num):
a = ngram(sa, num)
b = ngram(sb, num)
r = []
cnt = 0
for i in a:
for j in b:
if i == j:
cnt += 1
r.append(i)
return cnt / len(a), r
a = "機械学習はとても面白い技術だから勉強しよう。"
b = "勉強すると面白い技術、機械学習を学ぼう。"
r2, word2 = diff_ngram(a, b, 2)
print(a,"\n",b)
print(r2, word2)
a = "本文とは関係なくマシュマロは美味しい。"
b = "マシュマロは本文とは関係なく美味しい。"
r2, word2 = diff_ngram(a, b, 2)
print(a,"\n",b)
print(r2, word2)
a = "Pythonのポイントはインデントによるブロック表現です。"
b = "しっかり水分補給すればインターハイでも優勝です。"
r2, word2 = diff_ngram(a, b, 2)
print(a,"\n",b)
print(r2, word2)
|
# Time: O(nlogn)
# Space: O(1)
class Interval(object):
def __init__(self, s=0, e=0):
self.start = s
self.end = e
def __repr__(self):
return "[{}, {}]".format(self.start, self.end)
class Solution(object):
def merge(self, intervals):
"""
:type intervals: List[Interval]
:rtype: List[Interval]
"""
if not intervals:
return intervals
intervals.sort(key=lambda x: x.start)
result = [intervals[0]]
for i in xrange(1, len(intervals)):
prev, current = result[-1], intervals[i]
if current.start <= prev.end:
prev.end = max(prev.end, current.end)
else:
result.append(current)
return result
|
def uninstall(distro, purge=False):
packages = [
'ceph',
'ceph-mds',
'ceph-common',
'ceph-fs-common',
'radosgw',
]
extra_remove_flags = []
if purge:
extra_remove_flags.append('--purge')
distro.packager.remove(
packages,
extra_remove_flags=extra_remove_flags
)
|
class Solution:
def isPrefixOfWord(self, sentence: str, searchWord: str) -> int:
sentence = sentence.split()
k = len(searchWord)
for i, word in enumerate(sentence):
if word[:k] == searchWord:
return i+1
return -1
|
class GenderParity:
"""
Gender parity metric from https://github.com/decompositional-semantics-initiative/DNC.
"""
def __init__(self):
self.same_preds = 0.0
self.diff_preds = 0.0
def get_metric(self, reset=False):
if self.same_preds + self.diff_preds == 0:
return -1
gender_parity = float(self.same_preds) / float(self.same_preds + self.diff_preds)
if reset:
self.same_preds = 0.0
self.diff_preds = 0.0
return gender_parity
def __call__(self, predictions):
"""
Calculate gender parity.
Parameters
-------------------
predictions: list of dicts with fields
sent2_str: str, hypothesis sentence,
sent1_str: str, context sentence,
preds: int,
pair_id: int
Returns
-------------------
None
"""
for idx in range(int(len(predictions) / 2)):
pred1 = predictions[idx * 2]
pred2 = predictions[(idx * 2) + 1]
assert (
pred1["sent2_str"] == pred2["sent2_str"]
), "Mismatched hypotheses for ids %s and %s" % (str(pred1["idx"]), str(pred2["idx"]))
if pred1["preds"] == pred2["preds"]:
self.same_preds += 1
else:
self.diff_preds += 1
|
#
# PySNMP MIB module WLSX-WLAN-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/WLSX-WLAN-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:36:48 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
wlsxEnterpriseMibModules, = mibBuilder.importSymbols("ARUBA-MIB", "wlsxEnterpriseMibModules")
ArubaVlanValidRange, ArubaRogueApType, ArubaAPStatus, ArubaAccessPointMode, ArubaMonitorMode, ArubaAntennaSetting, ArubaEnet1Mode, ArubaPhyType, ArubaHTMode, ArubaVoipProtocolType, ArubaMeshRole, ArubaHTExtChannel, ArubaAuthenticationMethods, ArubaFrameType, ArubaEnableValue, ArubaEncryptionMethods, ArubaUnprovisionedStatus, ArubaActiveState = mibBuilder.importSymbols("ARUBA-TC", "ArubaVlanValidRange", "ArubaRogueApType", "ArubaAPStatus", "ArubaAccessPointMode", "ArubaMonitorMode", "ArubaAntennaSetting", "ArubaEnet1Mode", "ArubaPhyType", "ArubaHTMode", "ArubaVoipProtocolType", "ArubaMeshRole", "ArubaHTExtChannel", "ArubaAuthenticationMethods", "ArubaFrameType", "ArubaEnableValue", "ArubaEncryptionMethods", "ArubaUnprovisionedStatus", "ArubaActiveState")
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ValueSizeConstraint, ConstraintsIntersection, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ConstraintsUnion")
NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance")
TextualConvention, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, Counter64, IpAddress, TimeTicks, ObjectIdentity, snmpModules, iso, NotificationType, MibIdentifier, Gauge32, Counter32, Unsigned32, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "TextualConvention", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "Counter64", "IpAddress", "TimeTicks", "ObjectIdentity", "snmpModules", "iso", "NotificationType", "MibIdentifier", "Gauge32", "Counter32", "Unsigned32", "Integer32")
TextualConvention, RowStatus, TimeInterval, TruthValue, PhysAddress, TAddress, TDomain, DisplayString, TestAndIncr, MacAddress, StorageType = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "TimeInterval", "TruthValue", "PhysAddress", "TAddress", "TDomain", "DisplayString", "TestAndIncr", "MacAddress", "StorageType")
wlsxWlanMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5))
wlsxWlanMIB.setRevisions(('1910-01-26 18:06',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: wlsxWlanMIB.setRevisionsDescriptions(('The initial revision.',))
if mibBuilder.loadTexts: wlsxWlanMIB.setLastUpdated('1001261806Z')
if mibBuilder.loadTexts: wlsxWlanMIB.setOrganization('Aruba Wireless Networks')
if mibBuilder.loadTexts: wlsxWlanMIB.setContactInfo('Postal: 1322 Crossman Avenue Sunnyvale, CA 94089 E-mail: [email protected] Phone: +1 408 227 4500')
if mibBuilder.loadTexts: wlsxWlanMIB.setDescription('This MIB module defines MIB objects which provide information about the Wireless Management System (WMS) in the Aruba Controller.')
wlsxWlanConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 1))
wlsxWlanStateGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2))
wlsxWlanStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3))
wlsxWlanAccessPointInfoGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1))
wlsxWlanStationInfoGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2))
wlsxWlanAssociationInfoGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 3))
wlsxWlanAccessPointStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1))
wlsxWlanStationStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2))
wlsxWlanTotalNumAccessPoints = MibScalar((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlsxWlanTotalNumAccessPoints.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanTotalNumAccessPoints.setDescription(' Total Number of Access Points connected to the controller. ')
wlsxWlanTotalNumStationsAssociated = MibScalar((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlsxWlanTotalNumStationsAssociated.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanTotalNumStationsAssociated.setDescription(' Total Number of Stations Associated to the controller. ')
wlsxWlanAPGroupTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 3), )
if mibBuilder.loadTexts: wlsxWlanAPGroupTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPGroupTable.setDescription(' This Table lists all the Access Points Groups configured in the Aruba controller. ')
wlsxWlanAPGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 3, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanAPGroup"))
if mibBuilder.loadTexts: wlsxWlanAPGroupEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPGroupEntry.setDescription('AP Group Entry')
wlanAPGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 3, 1, 1), DisplayString())
if mibBuilder.loadTexts: wlanAPGroup.setStatus('current')
if mibBuilder.loadTexts: wlanAPGroup.setDescription(' The name of an AP group ')
wlanAPNumAps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 3, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPNumAps.setStatus('current')
if mibBuilder.loadTexts: wlanAPNumAps.setDescription(' The number of APs in the AP Group ')
wlsxWlanAPTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4), )
if mibBuilder.loadTexts: wlsxWlanAPTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPTable.setDescription(' This table lists all the Access Points connected to the controller. ')
wlsxWlanAPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanAPMacAddress"))
if mibBuilder.loadTexts: wlsxWlanAPEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPEntry.setDescription('Access Point Entry')
wlanAPMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 1), MacAddress())
if mibBuilder.loadTexts: wlanAPMacAddress.setStatus('current')
if mibBuilder.loadTexts: wlanAPMacAddress.setDescription(' Ethernet MAC Address of the Access Point ')
wlanAPIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPIpAddress.setStatus('current')
if mibBuilder.loadTexts: wlanAPIpAddress.setDescription(' IP Address of the Access Point ')
wlanAPName = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 3), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPName.setStatus('current')
if mibBuilder.loadTexts: wlanAPName.setDescription(' Host name of the Access Point. ')
wlanAPGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 4), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPGroupName.setStatus('current')
if mibBuilder.loadTexts: wlanAPGroupName.setDescription(' Group Name of the Access Point. ')
wlanAPModel = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 5), ObjectIdentifier()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPModel.setStatus('current')
if mibBuilder.loadTexts: wlanAPModel.setDescription(' Sys OID of the Access Point. ')
wlanAPSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPSerialNumber.setStatus('current')
if mibBuilder.loadTexts: wlanAPSerialNumber.setDescription(' Serial Number of the Access Point. ')
wlanAPdot11aAntennaGain = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPdot11aAntennaGain.setStatus('current')
if mibBuilder.loadTexts: wlanAPdot11aAntennaGain.setDescription(" Configured antenna gain for 'A' Radio. ")
wlanAPdot11gAntennaGain = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPdot11gAntennaGain.setStatus('current')
if mibBuilder.loadTexts: wlanAPdot11gAntennaGain.setDescription(" Configured antenna gain for 'G' Radio. ")
wlanAPNumRadios = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPNumRadios.setStatus('current')
if mibBuilder.loadTexts: wlanAPNumRadios.setDescription(' Number of Radios in the Access Point. ')
wlanAPEnet1Mode = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 10), ArubaEnet1Mode()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPEnet1Mode.setStatus('current')
if mibBuilder.loadTexts: wlanAPEnet1Mode.setDescription(' Enet1 Mode of the Access Point. ')
wlanAPIpsecMode = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 11), ArubaEnableValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPIpsecMode.setStatus('current')
if mibBuilder.loadTexts: wlanAPIpsecMode.setDescription(' IPSEC Mode of the Access Point. ')
wlanAPUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 12), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPUpTime.setStatus('current')
if mibBuilder.loadTexts: wlanAPUpTime.setDescription(' Time (in hundredths of seconds) since the last time the Access Point bootstrapped with the controller. ')
wlanAPModelName = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 13), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPModelName.setStatus('current')
if mibBuilder.loadTexts: wlanAPModelName.setDescription(' Model name of the Access Point. ')
wlanAPLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 14), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPLocation.setStatus('current')
if mibBuilder.loadTexts: wlanAPLocation.setDescription(' Location of the Access Point. ')
wlanAPBuilding = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBuilding.setStatus('current')
if mibBuilder.loadTexts: wlanAPBuilding.setDescription(' AP Building Number. ')
wlanAPFloor = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPFloor.setStatus('current')
if mibBuilder.loadTexts: wlanAPFloor.setDescription(' AP Floor Number. ')
wlanAPLoc = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPLoc.setStatus('current')
if mibBuilder.loadTexts: wlanAPLoc.setDescription(' AP Location. ')
wlanAPExternalAntenna = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 18), ArubaAntennaSetting()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPExternalAntenna.setStatus('current')
if mibBuilder.loadTexts: wlanAPExternalAntenna.setDescription(' AP Antenna Status. ')
wlanAPStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 19), ArubaAPStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatus.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatus.setDescription(' AP Status. ')
wlanAPNumBootstraps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPNumBootstraps.setStatus('current')
if mibBuilder.loadTexts: wlanAPNumBootstraps.setDescription(' Number of times the AP has bootstrapped with the controller. ')
wlanAPNumReboots = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPNumReboots.setStatus('current')
if mibBuilder.loadTexts: wlanAPNumReboots.setDescription(' Number of times the AP has rebooted. ')
wlanAPUnprovisioned = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 22), ArubaUnprovisionedStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPUnprovisioned.setStatus('current')
if mibBuilder.loadTexts: wlanAPUnprovisioned.setDescription(' Indicates whether the AP is unprovisioned due to lack of antenna gain or location code settings. ')
wlanAPMonitorMode = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 23), ArubaMonitorMode()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPMonitorMode.setStatus('current')
if mibBuilder.loadTexts: wlanAPMonitorMode.setDescription(' Indicates whether any radio on this AP is acting as an air monitor. ')
wlanAPFQLNBuilding = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 24), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPFQLNBuilding.setStatus('current')
if mibBuilder.loadTexts: wlanAPFQLNBuilding.setDescription(" The building component of the AP's FQLN. ")
wlanAPFQLNFloor = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 25), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPFQLNFloor.setStatus('current')
if mibBuilder.loadTexts: wlanAPFQLNFloor.setDescription(" The floor component of the AP's FQLN. ")
wlanAPFQLN = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 26), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPFQLN.setStatus('current')
if mibBuilder.loadTexts: wlanAPFQLN.setDescription(" The AP's Fully Qualified Location Name (FQLN). ")
wlanAPFQLNCampus = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 27), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPFQLNCampus.setStatus('current')
if mibBuilder.loadTexts: wlanAPFQLNCampus.setDescription(" The campus component of the AP's FQLN. ")
wlanAPLongitude = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 28), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPLongitude.setStatus('current')
if mibBuilder.loadTexts: wlanAPLongitude.setDescription(' Longitude of the AP. Signed floating-point value. ')
wlanAPLatitude = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 29), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPLatitude.setStatus('current')
if mibBuilder.loadTexts: wlanAPLatitude.setDescription(' Latitude of the AP. Signed floating-point value. ')
wlanAPAltitude = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 30), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPAltitude.setStatus('current')
if mibBuilder.loadTexts: wlanAPAltitude.setDescription(' Altitude of the AP. Signed floating-point value. ')
wlanAPMeshRole = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 31), ArubaMeshRole()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPMeshRole.setStatus('current')
if mibBuilder.loadTexts: wlanAPMeshRole.setDescription(' AP Mesh role ')
wlanAPSysLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 4, 1, 32), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPSysLocation.setStatus('current')
if mibBuilder.loadTexts: wlanAPSysLocation.setDescription(' AP sysLocation ')
wlsxWlanRadioTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5), )
if mibBuilder.loadTexts: wlsxWlanRadioTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanRadioTable.setDescription(' This table lists all the radios known to the controller. ')
wlsxWlanRadioEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanAPMacAddress"), (0, "WLSX-WLAN-MIB", "wlanAPRadioNumber"))
if mibBuilder.loadTexts: wlsxWlanRadioEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanRadioEntry.setDescription('AP Radio Entry')
wlanAPRadioNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 1), Integer32())
if mibBuilder.loadTexts: wlanAPRadioNumber.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioNumber.setDescription(' The radio number ')
wlanAPRadioType = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 2), ArubaPhyType()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPRadioType.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioType.setDescription(' Type of the Radio ')
wlanAPRadioChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRadioChannel.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioChannel.setDescription(' The channel the radio is currently operating on. ')
wlanAPRadioTransmitPower = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRadioTransmitPower.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioTransmitPower.setDescription(' The current power level of the radio. ')
wlanAPRadioMode = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 5), ArubaAccessPointMode()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRadioMode.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioMode.setDescription(' The Mode in which the radio is operating. ')
wlanAPRadioUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRadioUtilization.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioUtilization.setDescription(' The Utilization of the radio as a percentage of the total capacity. ')
wlanAPRadioNumAssociatedClients = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRadioNumAssociatedClients.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioNumAssociatedClients.setDescription(' The number of Clients associated to this radio. ')
wlanAPRadioNumMonitoredClients = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRadioNumMonitoredClients.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioNumMonitoredClients.setDescription(' The number of Clients this Radio is monitoring. ')
wlanAPRadioNumActiveBSSIDs = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRadioNumActiveBSSIDs.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioNumActiveBSSIDs.setDescription(' The number of active BSSIDs on this Radio. ')
wlanAPRadioNumMonitoredBSSIDs = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRadioNumMonitoredBSSIDs.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioNumMonitoredBSSIDs.setDescription(' The number of AP BSSIDs this radio is monitoring. ')
wlanAPRadioBearing = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 11), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPRadioBearing.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioBearing.setDescription(' Antenna Bearing in degrees from True North. Unsigned floating-point value. Range: 0-360. ')
wlanAPRadioTiltAngle = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 12), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPRadioTiltAngle.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioTiltAngle.setDescription(' Tilt angle of antenna in degrees. -ve for downtilt, +ve for uptilt. Signed floating-point value. Range: -90 to +90. ')
wlanAPRadioHTMode = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 13), ArubaHTMode()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRadioHTMode.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioHTMode.setDescription(' The HT mode of the radio, if any. ')
wlanAPRadioHTExtChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 14), ArubaHTExtChannel()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRadioHTExtChannel.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioHTExtChannel.setDescription(' Indicates the offset of the 40MHz extension channel, if any. ')
wlanAPRadioHTChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 15), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPRadioHTChannel.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioHTChannel.setDescription(" A display string indicating the current channel. If wlanAPRadioHTExtChannel is set to 'above' or 'below', then the channel number will be appended with '+' or '-' respectively. ")
wlanAPRadioAPName = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 5, 1, 16), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wlanAPRadioAPName.setStatus('current')
if mibBuilder.loadTexts: wlanAPRadioAPName.setDescription('Name of the AP the radio belongs to')
wlsxWlanAPBssidTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7), )
if mibBuilder.loadTexts: wlsxWlanAPBssidTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPBssidTable.setDescription(' This table lists all the BSSIDs active on this controller. ')
wlsxWlanAPBssidEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanAPMacAddress"), (0, "WLSX-WLAN-MIB", "wlanAPRadioNumber"), (0, "WLSX-WLAN-MIB", "wlanAPBSSID"))
if mibBuilder.loadTexts: wlsxWlanAPBssidEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPBssidEntry.setDescription('BSSID Entry')
wlanAPBSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 1), MacAddress())
if mibBuilder.loadTexts: wlanAPBSSID.setStatus('current')
if mibBuilder.loadTexts: wlanAPBSSID.setDescription(' The MAC address of the Access Point. ')
wlanAPESSID = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPESSID.setStatus('current')
if mibBuilder.loadTexts: wlanAPESSID.setDescription(' ESSID this BSSID is advertising. ')
wlanAPBssidSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidSlot.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidSlot.setDescription(' Slot to which the Access Point is connected. ')
wlanAPBssidPort = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidPort.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidPort.setDescription(' Port to which the Access Point is connected. ')
wlanAPBssidPhyType = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 5), ArubaPhyType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidPhyType.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidPhyType.setDescription(' Physical Layer Protocol support of the AP. ')
wlanAPBssidRogueType = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 6), ArubaRogueApType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidRogueType.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidRogueType.setDescription(' The type of the Rogue. ')
wlanAPBssidMode = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("ap", 1), ("am", 2), ("mpp", 3), ("mp", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidMode.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidMode.setDescription(' Indicates whether the Access point is an Air Monitor or regular AP or Mesh Portal or Mesh Point. ')
wlanAPBssidChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 165))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidChannel.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidChannel.setDescription(' The current operating channel. ')
wlanAPBssidUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 9), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidUpTime.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidUpTime.setDescription(' Time (in hundredths of seconds) since the tunnel was created between the access point and controller ')
wlanAPBssidInactiveTime = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 10), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidInactiveTime.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidInactiveTime.setDescription(' Time (in hundredths of seconds) since any activity took place on the BSSID. ')
wlanAPBssidLoadBalancing = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 11), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidLoadBalancing.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidLoadBalancing.setDescription(' Indicates whether load balancing is enabled or not. ')
wlanAPBssidNumAssociatedStations = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 12), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidNumAssociatedStations.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidNumAssociatedStations.setDescription(' Indicates the number of stations associated to this BSSID. ')
wlanAPBssidAPMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 13), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidAPMacAddress.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidAPMacAddress.setDescription(' Indicates the Access Point to which this BSSID belongs. ')
wlanAPBssidPhyNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidPhyNumber.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidPhyNumber.setDescription(' Indicates the radio number to which this BSSID belongs. ')
wlanAPBssidHTMode = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 15), ArubaHTMode()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidHTMode.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidHTMode.setDescription(' Indicates the HT mode of this BSSID, if any. ')
wlanAPBssidHTExtChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 16), ArubaHTExtChannel()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidHTExtChannel.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidHTExtChannel.setDescription(' Indicates the offset of the 40MHz extension channel, if any. ')
wlanAPBssidHTChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 17), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidHTChannel.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidHTChannel.setDescription(" A display string indicating the current channel. If wlanAPBssidHTExtChannel is set to 'above' or 'below', then the channel number will be appended with '+' or '-' respectively. ")
wlanAPBssidModule = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 7, 1, 18), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPBssidModule.setStatus('current')
if mibBuilder.loadTexts: wlanAPBssidModule.setDescription(' Module to which the Access Point is connected. ')
wlsxWlanESSIDTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 8), )
if mibBuilder.loadTexts: wlsxWlanESSIDTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanESSIDTable.setDescription(' This Table lists all the ESSIDs advertised by this controller. ')
wlsxWlanESSIDEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 8, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanESSID"))
if mibBuilder.loadTexts: wlsxWlanESSIDEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanESSIDEntry.setDescription('ESSID Entry')
wlanESSID = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 8, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64)))
if mibBuilder.loadTexts: wlanESSID.setStatus('current')
if mibBuilder.loadTexts: wlanESSID.setDescription(' The ESSID being advertised. ')
wlanESSIDNumStations = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 8, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanESSIDNumStations.setStatus('current')
if mibBuilder.loadTexts: wlanESSIDNumStations.setDescription(' The number of stations connected to this ESSID. ')
wlanESSIDNumAccessPointsUp = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 8, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanESSIDNumAccessPointsUp.setStatus('current')
if mibBuilder.loadTexts: wlanESSIDNumAccessPointsUp.setDescription(' The number of APs currently advertising this ESSID. ')
wlanESSIDNumAccessPointsDown = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 8, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanESSIDNumAccessPointsDown.setStatus('current')
if mibBuilder.loadTexts: wlanESSIDNumAccessPointsDown.setDescription(' The number of APs configured to advertise this ESSID that are not currently operational. ')
wlanESSIDEncryptionType = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 8, 1, 5), ArubaEncryptionMethods()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanESSIDEncryptionType.setStatus('current')
if mibBuilder.loadTexts: wlanESSIDEncryptionType.setDescription(' The encryption methods supported on this ESSID. ')
wlsxWlanESSIDVlanPoolTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 9), )
if mibBuilder.loadTexts: wlsxWlanESSIDVlanPoolTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanESSIDVlanPoolTable.setDescription(' This Table lists all the VLANs associated with this ESSID. ')
wlsxWlanESSIDVlanPoolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 9, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanESSID"), (0, "WLSX-WLAN-MIB", "wlanESSIDVlanId"))
if mibBuilder.loadTexts: wlsxWlanESSIDVlanPoolEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanESSIDVlanPoolEntry.setDescription('ESSID Vlan Pool Entry')
wlanESSIDVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 9, 1, 1), Unsigned32())
if mibBuilder.loadTexts: wlanESSIDVlanId.setStatus('current')
if mibBuilder.loadTexts: wlanESSIDVlanId.setDescription(' VLAN which is part of the VLAN pool for this ESSID. ')
wlanESSIDVlanPoolStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 1, 9, 1, 2), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wlanESSIDVlanPoolStatus.setStatus('current')
if mibBuilder.loadTexts: wlanESSIDVlanPoolStatus.setDescription(' Row status object used to indicate the status of the row. ')
wlsxWlanStationTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1), )
if mibBuilder.loadTexts: wlsxWlanStationTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStationTable.setDescription(' This Table lists all the wireless stations associated with the Access points connected to this controller. ')
wlsxWlanStationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanStaPhyAddress"))
if mibBuilder.loadTexts: wlsxWlanStationEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStationEntry.setDescription('Station Entry')
wlanStaPhyAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 1), MacAddress())
if mibBuilder.loadTexts: wlanStaPhyAddress.setStatus('current')
if mibBuilder.loadTexts: wlanStaPhyAddress.setDescription(' The Physical Address of the Station. ')
wlanStaApBssid = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 2), MacAddress())
if mibBuilder.loadTexts: wlanStaApBssid.setStatus('current')
if mibBuilder.loadTexts: wlanStaApBssid.setDescription(' The Access point to which this station last associated to. ')
wlanStaPhyType = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 3), ArubaPhyType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaPhyType.setStatus('current')
if mibBuilder.loadTexts: wlanStaPhyType.setDescription(' Type of the Station. ')
wlanStaIsAuthenticated = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 4), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaIsAuthenticated.setStatus('current')
if mibBuilder.loadTexts: wlanStaIsAuthenticated.setDescription(' Indicates whether the station is authenticated. ')
wlanStaIsAssociated = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 5), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaIsAssociated.setStatus('current')
if mibBuilder.loadTexts: wlanStaIsAssociated.setDescription(' Indicates whether the station is associated. ')
wlanStaChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 165))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaChannel.setStatus('current')
if mibBuilder.loadTexts: wlanStaChannel.setDescription(' Channel on which the station is associated. ')
wlanStaVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 7), ArubaVlanValidRange()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaVlanId.setStatus('current')
if mibBuilder.loadTexts: wlanStaVlanId.setDescription(' VLAN in which the station is present. ')
wlanStaVOIPState = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 8), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaVOIPState.setStatus('current')
if mibBuilder.loadTexts: wlanStaVOIPState.setDescription(' The State of VoIP for this station. ')
wlanStaVOIPProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 9), ArubaVoipProtocolType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaVOIPProtocol.setStatus('current')
if mibBuilder.loadTexts: wlanStaVOIPProtocol.setDescription(' If VoIP is enabled, the type of the protocol supported. ')
wlanStaTransmitRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 10), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTransmitRate.setStatus('current')
if mibBuilder.loadTexts: wlanStaTransmitRate.setDescription(' Transmit rate with which the Station is associated with this system. ')
wlanStaAssociationID = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 11), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaAssociationID.setStatus('current')
if mibBuilder.loadTexts: wlanStaAssociationID.setDescription(' AID with which the Station is associated with this system. ')
wlanStaAccessPointESSID = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaAccessPointESSID.setStatus('current')
if mibBuilder.loadTexts: wlanStaAccessPointESSID.setDescription(' ESSID of the Access point ')
wlanStaPhyNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaPhyNumber.setStatus('current')
if mibBuilder.loadTexts: wlanStaPhyNumber.setDescription(' Radio PHY number to which the station is associated ')
wlanStaRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRSSI.setStatus('current')
if mibBuilder.loadTexts: wlanStaRSSI.setDescription(' Signal to Noise ratio for the station. ')
wlanStaUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 15), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaUpTime.setStatus('current')
if mibBuilder.loadTexts: wlanStaUpTime.setDescription(' Time since the station associated to the current BSSID. ')
wlanStaHTMode = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 1, 1, 16), ArubaHTMode()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaHTMode.setStatus('current')
if mibBuilder.loadTexts: wlanStaHTMode.setDescription(' The HT status of the station. ')
wlsxWlanStaAssociationFailureTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 2), )
if mibBuilder.loadTexts: wlsxWlanStaAssociationFailureTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStaAssociationFailureTable.setDescription(" This Table lists all the stations and the BSSID's to which they failed to associate. Once a station successfully associates, association failure entries are not reported for that station. ")
wlsxWlanStaAssociationFailureEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 2, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanStaPhyAddress"), (0, "WLSX-WLAN-MIB", "wlanAPBSSID"))
if mibBuilder.loadTexts: wlsxWlanStaAssociationFailureEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStaAssociationFailureEntry.setDescription('Station Association Failure Entry')
wlanStaAssocFailureApName = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaAssocFailureApName.setStatus('current')
if mibBuilder.loadTexts: wlanStaAssocFailureApName.setDescription(' Name of the Access Point to which this station tried to associate. ')
wlanStaAssocFailureApEssid = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaAssocFailureApEssid.setStatus('current')
if mibBuilder.loadTexts: wlanStaAssocFailureApEssid.setDescription(' ESSID to which the station association failed. ')
wlanStaAssocFailurePhyNum = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaAssocFailurePhyNum.setStatus('current')
if mibBuilder.loadTexts: wlanStaAssocFailurePhyNum.setDescription(' Radio PHY number to which the station tried to associate. ')
wlanStaAssocFailurePhyType = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 2, 1, 4), ArubaPhyType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaAssocFailurePhyType.setStatus('current')
if mibBuilder.loadTexts: wlanStaAssocFailurePhyType.setDescription(' Radio PHY Type of the Station. ')
wlanStaAssocFailureElapsedTime = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 2, 1, 5), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaAssocFailureElapsedTime.setStatus('current')
if mibBuilder.loadTexts: wlanStaAssocFailureElapsedTime.setDescription(" Elapsed time in timeticks after the station's failure to associate. ")
wlanStaAssocFailureReason = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 2, 2, 2, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaAssocFailureReason.setStatus('current')
if mibBuilder.loadTexts: wlanStaAssocFailureReason.setDescription(' Reason for the Station association failure ')
wlsxWlanAPStatsTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1), )
if mibBuilder.loadTexts: wlsxWlanAPStatsTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPStatsTable.setDescription(' This Table lists the statistics of all the Access Points connected to the controller. ')
wlsxWlanAPStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanAPMacAddress"), (0, "WLSX-WLAN-MIB", "wlanAPRadioNumber"), (0, "WLSX-WLAN-MIB", "wlanAPBSSID"))
if mibBuilder.loadTexts: wlsxWlanAPStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPStatsEntry.setDescription('Access Point Stats entry')
wlanAPCurrentChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPCurrentChannel.setStatus('current')
if mibBuilder.loadTexts: wlanAPCurrentChannel.setDescription(' The channel the AP is currently using. ')
wlanAPNumClients = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPNumClients.setStatus('current')
if mibBuilder.loadTexts: wlanAPNumClients.setDescription(' The number of clients associated to this BSSID. ')
wlanAPTxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPTxPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPTxPkts.setDescription(' The number of packets transmitted on this BSSID. ')
wlanAPTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPTxBytes.setStatus('current')
if mibBuilder.loadTexts: wlanAPTxBytes.setDescription(' The number of bytes transmitted on this BSSID. ')
wlanAPRxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRxPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPRxPkts.setDescription(' The number of packets received on this BSSID. ')
wlanAPRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRxBytes.setStatus('current')
if mibBuilder.loadTexts: wlanAPRxBytes.setDescription(' The number of bytes received on this BSSID. ')
wlanAPTxDeauthentications = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPTxDeauthentications.setStatus('current')
if mibBuilder.loadTexts: wlanAPTxDeauthentications.setDescription(' The number of deauthentications transmitted on this BSSID. ')
wlanAPRxDeauthentications = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRxDeauthentications.setStatus('current')
if mibBuilder.loadTexts: wlanAPRxDeauthentications.setDescription(' The number of deauthentications received on this BSSID. ')
wlanAPChannelThroughput = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChannelThroughput.setStatus('current')
if mibBuilder.loadTexts: wlanAPChannelThroughput.setDescription(' The throughput achieved on this channel. ')
wlanAPFrameRetryRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPFrameRetryRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPFrameRetryRate.setDescription(' The number of retry packets as a percentage of the total packets transmitted and received by this BSSID. ')
wlanAPFrameLowSpeedRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPFrameLowSpeedRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPFrameLowSpeedRate.setDescription(' The number of low data rate (<= 18Mbps for A/G bands and <=2Mbps for B band) packets as a percentage of the total packets transmitted and received by this BSSID ')
wlanAPFrameNonUnicastRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPFrameNonUnicastRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPFrameNonUnicastRate.setDescription(' The number of broadcast and multicast packets as a percentage of the total packets transmitted on this BSSIDchannel. ')
wlanAPFrameFragmentationRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPFrameFragmentationRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPFrameFragmentationRate.setDescription(' The number of fragments as a percentage of the total packets transmitted by this BSSID. ')
wlanAPFrameBandwidthRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPFrameBandwidthRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPFrameBandwidthRate.setDescription(' The bandwidth of this BSSID in Kbps. ')
wlanAPFrameRetryErrorRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPFrameRetryErrorRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPFrameRetryErrorRate.setDescription(' The number of error packets as a percentage of the total packets received on this BSSID. ')
wlanAPChannelErrorRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChannelErrorRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPChannelErrorRate.setDescription(' The number of error packets as a percentage of the total packets received on the current channel. ')
wlanAPFrameReceiveErrorRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPFrameReceiveErrorRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPFrameReceiveErrorRate.setDescription(' The number of error packets as a percentage of the total packets received on this BSSID. ')
wlanAPRxDataPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRxDataPkts.setStatus('deprecated')
if mibBuilder.loadTexts: wlanAPRxDataPkts.setDescription(' The number of packets received on this BSSID. ')
wlanAPRxDataBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRxDataBytes.setStatus('deprecated')
if mibBuilder.loadTexts: wlanAPRxDataBytes.setDescription(' The number of bytes received on this BSSID. ')
wlanAPTxDataPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPTxDataPkts.setStatus('deprecated')
if mibBuilder.loadTexts: wlanAPTxDataPkts.setDescription(' The number of packets transmitted on this BSSID. ')
wlanAPTxDataBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPTxDataBytes.setStatus('deprecated')
if mibBuilder.loadTexts: wlanAPTxDataBytes.setDescription(' The number of bytes transmitted on this BSSID. ')
wlanAPRxDataPkts64 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 22), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRxDataPkts64.setStatus('current')
if mibBuilder.loadTexts: wlanAPRxDataPkts64.setDescription(' The number of packets received on this BSSID. ')
wlanAPRxDataBytes64 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 23), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPRxDataBytes64.setStatus('current')
if mibBuilder.loadTexts: wlanAPRxDataBytes64.setDescription(' The number of bytes received on this BSSID. ')
wlanAPTxDataPkts64 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 24), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPTxDataPkts64.setStatus('current')
if mibBuilder.loadTexts: wlanAPTxDataPkts64.setDescription(' The number of packets transmitted on this BSSID. ')
wlanAPTxDataBytes64 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 1, 1, 25), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPTxDataBytes64.setStatus('current')
if mibBuilder.loadTexts: wlanAPTxDataBytes64.setDescription(' The number of bytes transmitted on this BSSID. ')
wlsxWlanAPRateStatsTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2), )
if mibBuilder.loadTexts: wlsxWlanAPRateStatsTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPRateStatsTable.setDescription(' This table contains all the AP Packet and Byte Counts but represented in terms of rate categories. ')
wlsxWlanAPRateStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanAPMacAddress"), (0, "WLSX-WLAN-MIB", "wlanAPRadioNumber"), (0, "WLSX-WLAN-MIB", "wlanAPBSSID"))
if mibBuilder.loadTexts: wlsxWlanAPRateStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPRateStatsEntry.setDescription('Data rate based packet and byte count entry for an AP')
wlanAPStatsTotPktsAt1Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt1Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt1Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 1Mbps rate. ')
wlanAPStatsTotBytesAt1Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt1Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt1Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 1Mbps rate. ')
wlanAPStatsTotPktsAt2Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt2Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt2Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 2Mbps rate. ')
wlanAPStatsTotBytesAt2Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt2Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt2Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 2Mbps rate. ')
wlanAPStatsTotPktsAt5Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt5Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt5Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 5Mbps rate. ')
wlanAPStatsTotBytesAt5Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt5Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt5Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 5Mbps rate. ')
wlanAPStatsTotPktsAt11Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt11Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt11Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 11Mbps rate. ')
wlanAPStatsTotBytesAt11Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt11Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt11Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 11Mbps rate. ')
wlanAPStatsTotPktsAt6Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt6Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt6Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 6Mbps rate. ')
wlanAPStatsTotBytesAt6Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt6Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt6Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 6Mbps rate. ')
wlanAPStatsTotPktsAt12Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt12Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt12Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 12Mbps rate. ')
wlanAPStatsTotBytesAt12Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt12Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt12Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 12Mbps rate. ')
wlanAPStatsTotPktsAt18Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt18Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt18Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 18Mbps rate. ')
wlanAPStatsTotBytesAt18Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt18Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt18Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 18Mbps rate. ')
wlanAPStatsTotPktsAt24Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt24Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt24Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 24Mbps rate. ')
wlanAPStatsTotBytesAt24Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt24Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt24Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 24Mbps rate. ')
wlanAPStatsTotPktsAt36Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt36Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt36Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 36Mbps rate. ')
wlanAPStatsTotBytesAt36Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt36Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt36Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 36Mbps rate. ')
wlanAPStatsTotPktsAt48Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt48Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt48Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 48Mbps rate. ')
wlanAPStatsTotBytesAt48Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt48Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt48Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 48Mbps rate. ')
wlanAPStatsTotPktsAt54Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt54Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt54Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 54Mbps rate. ')
wlanAPStatsTotBytesAt54Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt54Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt54Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 54Mbps rate. ')
wlanAPStatsTotPktsAt9Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt9Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotPktsAt9Mbps.setDescription(' This attribute indicates the total number of packets observed on this BSSID at 9Mbps rate. ')
wlanAPStatsTotBytesAt9Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 2, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt9Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotBytesAt9Mbps.setDescription(' This attribute indicates the total number of Bytes observed on this BSSID at 9Mbps rate. ')
wlsxWlanAPDATypeStatsTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 3), )
if mibBuilder.loadTexts: wlsxWlanAPDATypeStatsTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPDATypeStatsTable.setDescription(' This table contains all the per BSSID Packet and Byte Counts but broken down in terms of Destination Address Type. ')
wlsxWlanAPDATypeStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 3, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanAPMacAddress"), (0, "WLSX-WLAN-MIB", "wlanAPRadioNumber"), (0, "WLSX-WLAN-MIB", "wlanAPBSSID"))
if mibBuilder.loadTexts: wlsxWlanAPDATypeStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPDATypeStatsEntry.setDescription('Destination Address based packet and byte count entry for an AP')
wlanAPStatsTotDABroadcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 3, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotDABroadcastPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotDABroadcastPkts.setDescription(' This attribute indicates the total number of Broadcast packets observed on this BSSID. ')
wlanAPStatsTotDABroadcastBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 3, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotDABroadcastBytes.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotDABroadcastBytes.setDescription(' This attribute indicates the total number of Broadcast Bytes observed on this BSSID. ')
wlanAPStatsTotDAMulticastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 3, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotDAMulticastPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotDAMulticastPkts.setDescription(' This attribute indicates the total number of Multicast packets observed on this BSSID. ')
wlanAPStatsTotDAMulticastBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotDAMulticastBytes.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotDAMulticastBytes.setDescription(' This attribute indicates the total number of Multicast Bytes observed on this BSSID. ')
wlanAPStatsTotDAUnicastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotDAUnicastPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotDAUnicastPkts.setDescription(' This attribute indicates the total number of Unicast packets observed on this BSSID. ')
wlanAPStatsTotDAUnicastBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 3, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotDAUnicastBytes.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotDAUnicastBytes.setDescription(' This attribute indicates the total number of Unicast Bytes observed on this BSSID. ')
wlsxWlanAPFrameTypeStatsTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 4), )
if mibBuilder.loadTexts: wlsxWlanAPFrameTypeStatsTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPFrameTypeStatsTable.setDescription(' This table contains all the per BSSID Packet and Byte Counts but broken down into different Frame Types. ')
wlsxWlanAPFrameTypeStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 4, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanAPMacAddress"), (0, "WLSX-WLAN-MIB", "wlanAPRadioNumber"), (0, "WLSX-WLAN-MIB", "wlanAPBSSID"))
if mibBuilder.loadTexts: wlsxWlanAPFrameTypeStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPFrameTypeStatsEntry.setDescription('Frame Type based packet and byte count entry for an AP')
wlanAPStatsTotMgmtPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 4, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotMgmtPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotMgmtPkts.setDescription(' This attribute indicates the total number of Management packets observed on this BSSID. ')
wlanAPStatsTotMgmtBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 4, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotMgmtBytes.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotMgmtBytes.setDescription(' This attribute indicates the total number of Management Bytes observed on this BSSID. ')
wlanAPStatsTotCtrlPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 4, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotCtrlPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotCtrlPkts.setDescription(' This attribute indicates the total number of Control packets observed on this BSSID. ')
wlanAPStatsTotCtrlBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 4, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotCtrlBytes.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotCtrlBytes.setDescription(' This attribute indicates the total number of Control Bytes observed on this BSSID. ')
wlanAPStatsTotDataPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotDataPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotDataPkts.setDescription(' This attribute indicates the total number of Data packets observed on this BSSID. ')
wlanAPStatsTotDataBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsTotDataBytes.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsTotDataBytes.setDescription(' This attribute indicates the total number of Data Bytes observed on this BSSID. ')
wlsxWlanAPPktSizeStatsTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 5), )
if mibBuilder.loadTexts: wlsxWlanAPPktSizeStatsTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPPktSizeStatsTable.setDescription(' This table contains all the per BSSID Packet Count but broken down into different Packet Sizes. ')
wlsxWlanAPPktSizeStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 5, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanAPMacAddress"), (0, "WLSX-WLAN-MIB", "wlanAPRadioNumber"), (0, "WLSX-WLAN-MIB", "wlanAPBSSID"))
if mibBuilder.loadTexts: wlsxWlanAPPktSizeStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPPktSizeStatsEntry.setDescription('Packet Size based packet count entry for a BSSID')
wlanAPStatsPkts63Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 5, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsPkts63Bytes.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsPkts63Bytes.setDescription(' This attribute indicates the total number of packets that were less than 64 bytes long. ')
wlanAPStatsPkts64To127 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 5, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsPkts64To127.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsPkts64To127.setDescription(' This attribute indicates the total number of packets that were between 64 and 127 bytes long. ')
wlanAPStatsPkts128To255 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 5, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsPkts128To255.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsPkts128To255.setDescription(' This attribute indicates the total number of packets that were between 128 and 255 bytes long. ')
wlanAPStatsPkts256To511 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsPkts256To511.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsPkts256To511.setDescription(' This attribute indicates the total number of packets that were between 256 and 511 bytes long. ')
wlanAPStatsPkts512To1023 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 5, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsPkts512To1023.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsPkts512To1023.setDescription(' This attribute indicates the total number of packets that were between 512 and 1023 bytes long. ')
wlanAPStatsPkts1024To1518 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 5, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPStatsPkts1024To1518.setStatus('current')
if mibBuilder.loadTexts: wlanAPStatsPkts1024To1518.setDescription(' This attribute indicates the total number of packets that were between 1024 and 1518 bytes long. ')
wlsxWlanAPChStatsTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6), )
if mibBuilder.loadTexts: wlsxWlanAPChStatsTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPChStatsTable.setDescription(' This Table lists the Channel statistics of all the Access Points connected to the controller. ')
wlsxWlanAPChStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanAPMacAddress"), (0, "WLSX-WLAN-MIB", "wlanAPRadioNumber"))
if mibBuilder.loadTexts: wlsxWlanAPChStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanAPChStatsEntry.setDescription('Access Point Channel Stats entry')
wlanAPChannelNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 165))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChannelNumber.setStatus('current')
if mibBuilder.loadTexts: wlanAPChannelNumber.setDescription(' The channel the AP is currently using. ')
wlanAPChNumStations = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChNumStations.setStatus('current')
if mibBuilder.loadTexts: wlanAPChNumStations.setDescription(' This attribute indicates the number of stations using this channel. ')
wlanAPChTotPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChTotPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPChTotPkts.setDescription(' This attribute indicates the total packets observed on this channel. ')
wlanAPChTotBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChTotBytes.setStatus('current')
if mibBuilder.loadTexts: wlanAPChTotBytes.setDescription(' This attribute indicates the total Bytes observed on this channel. ')
wlanAPChTotRetryPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChTotRetryPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPChTotRetryPkts.setDescription(' This attribute indicates the total Retry Packets observed on this channel. ')
wlanAPChTotFragmentedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChTotFragmentedPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPChTotFragmentedPkts.setDescription(' This attribute indicates the total Fragmented Packets observed on this channel. ')
wlanAPChTotPhyErrPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChTotPhyErrPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPChTotPhyErrPkts.setDescription(' This attribute indicates the total Physical Error Packets observed on this channel. ')
wlanAPChTotMacErrPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChTotMacErrPkts.setStatus('current')
if mibBuilder.loadTexts: wlanAPChTotMacErrPkts.setDescription(' This attribute indicates the total Mac errors packets observed on this channel. ')
wlanAPChNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChNoise.setStatus('current')
if mibBuilder.loadTexts: wlanAPChNoise.setDescription(' This attribute indicates the noise observed on this channel. ')
wlanAPChCoverageIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChCoverageIndex.setStatus('current')
if mibBuilder.loadTexts: wlanAPChCoverageIndex.setDescription(' This attribute indicates the coverage provided by the AP on this channel. ')
wlanAPChInterferenceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChInterferenceIndex.setStatus('current')
if mibBuilder.loadTexts: wlanAPChInterferenceIndex.setDescription(' This attribute indicates the interference observed on this channel. ')
wlanAPChFrameRetryRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChFrameRetryRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPChFrameRetryRate.setDescription(' The number of retry packets as a percentage of the total packets transmitted and received on this channel. ')
wlanAPChFrameLowSpeedRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChFrameLowSpeedRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPChFrameLowSpeedRate.setDescription(' The number of low data rate (<= 18Mbps for A/G bands and <=2Mbps for B band) packets as a percentage of the total packets transmitted and received on this channel ')
wlanAPChFrameNonUnicastRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChFrameNonUnicastRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPChFrameNonUnicastRate.setDescription(' The number of broadcast and multicast packets as a percentage of the total packets transmitted on this channel. ')
wlanAPChFrameFragmentationRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChFrameFragmentationRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPChFrameFragmentationRate.setDescription(' The number of fragments as a percentage of the total packets transmitted on this channel ')
wlanAPChFrameBandwidthRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChFrameBandwidthRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPChFrameBandwidthRate.setDescription(' The bandwidth of this channel in Kbps. ')
wlanAPChFrameRetryErrorRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChFrameRetryErrorRate.setStatus('deprecated')
if mibBuilder.loadTexts: wlanAPChFrameRetryErrorRate.setDescription(' The number of error packets as a percentage of the total packets received on this channel. ')
wlanAPChBusyRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChBusyRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPChBusyRate.setDescription(' This attribute indicates the busy this channel is. ')
wlanAPChNumAPs = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChNumAPs.setStatus('current')
if mibBuilder.loadTexts: wlanAPChNumAPs.setDescription(' This attribute indicates the number of Access Points observed on this channel. ')
wlanAPChFrameReceiveErrorRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChFrameReceiveErrorRate.setStatus('current')
if mibBuilder.loadTexts: wlanAPChFrameReceiveErrorRate.setDescription(' The number of error packets as a percentage of the total packets received on this channel. ')
wlanAPChTransmittedFragmentCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChTransmittedFragmentCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChTransmittedFragmentCount.setDescription(' This counter shall be incremented for an acknowledged MPDU with an individual address in the address 1 field or an MPDU with a multicast address in the address 1 field of type Data or Management. ')
wlanAPChMulticastTransmittedFrameCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChMulticastTransmittedFrameCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChMulticastTransmittedFrameCount.setDescription(' This counter shall increment only when the multicast bit is set in the destination MAC address of a successfully transmitted MSDU. When operating as a STA in an ESS, where these frames are directed to the AP, this implies having received an acknowledgment to all associated MPDUs. ')
wlanAPChFailedCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChFailedCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChFailedCount.setDescription(' This counter shall increment when an MSDU is not transmitted successfully due to the number of transmit attempts exceeding either the dot11ShortRetryLimit or dot11LongRetryLimit. ')
wlanAPChRetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChRetryCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChRetryCount.setDescription(' This counter shall increment when an MSDU is successfully transmitted after one or more retransmissions. ')
wlanAPChMultipleRetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChMultipleRetryCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChMultipleRetryCount.setDescription(' This counter shall increment when an MSDU is successfully transmitted after more than one retransmission. ')
wlanAPChFrameDuplicateCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChFrameDuplicateCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChFrameDuplicateCount.setDescription(' This counter shall increment when a frame is received that the Sequence Control field indicates is a duplicate. ')
wlanAPChRTSSuccessCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 27), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChRTSSuccessCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChRTSSuccessCount.setDescription(' This counter shall increment when a CTS is received in response to an RTS. ')
wlanAPChRTSFailureCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 28), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChRTSFailureCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChRTSFailureCount.setDescription(' This counter shall increment when a CTS is not received in response to an RTS. ')
wlanAPChACKFailureCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 29), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChACKFailureCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChACKFailureCount.setDescription(' This counter shall increment when an ACK is not received when expected. ')
wlanAPChReceivedFragmentCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 30), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChReceivedFragmentCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChReceivedFragmentCount.setDescription(' This counter shall be incremented for each successfully received MPDU of type Data or Management. ')
wlanAPChMulticastReceivedFrameCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 31), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChMulticastReceivedFrameCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChMulticastReceivedFrameCount.setDescription(' This counter shall increment when a MSDU is received with the multicast bit set in the destination MAC address. ')
wlanAPChFCSErrorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 32), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChFCSErrorCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChFCSErrorCount.setDescription(' This counter shall increment when an FCS error is detected in a received MPDU. ')
wlanAPChTransmittedFrameCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 33), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChTransmittedFrameCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChTransmittedFrameCount.setDescription(' This counter shall increment for each successfully transmitted MSDU. ')
wlanAPChWEPUndecryptableCount = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 34), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChWEPUndecryptableCount.setStatus('current')
if mibBuilder.loadTexts: wlanAPChWEPUndecryptableCount.setDescription(" This counter shall increment when a frame is received with the Protected Frame subfield of the Frame Control field set to one and the WEPOn value for the key mapped to the transmitter's MAC address indicates that the frame should not have been encrypted or that frame is discarded due to the receiving STA not implementing the privacy option. ")
wlanAPChRxUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChRxUtilization.setStatus('current')
if mibBuilder.loadTexts: wlanAPChRxUtilization.setDescription(' This is the percentage of time spent by the radio in receiving packets. ')
wlanAPChTxUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 36), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChTxUtilization.setStatus('current')
if mibBuilder.loadTexts: wlanAPChTxUtilization.setDescription(' This is the percentage of time spent by the radio in transmitting packets. ')
wlanAPChUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 1, 6, 1, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanAPChUtilization.setStatus('current')
if mibBuilder.loadTexts: wlanAPChUtilization.setDescription(' This is the percentage of time the channel is busy. ')
wlsxWlanStationStatsTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1), )
if mibBuilder.loadTexts: wlsxWlanStationStatsTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStationStatsTable.setDescription(' This Table lists statistics of all the wireless stations associated with an AP connected to this controller. ')
wlsxWlanStationStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanStaPhyAddress"))
if mibBuilder.loadTexts: wlsxWlanStationStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStationStatsEntry.setDescription('Station Stats Entry')
wlanStaChannelNum = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaChannelNum.setStatus('current')
if mibBuilder.loadTexts: wlanStaChannelNum.setDescription(' The channel the station is currently using. ')
wlanStaTxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPkts.setDescription(' The number of packets transmitted by this station. ')
wlanStaTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytes.setDescription(' The number of bytes transmitted by this station. ')
wlanStaRxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPkts.setDescription(' The number of packets received by this station. ')
wlanStaRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytes.setDescription(' The number of bytes received by this station. ')
wlanStaTxBCastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBCastPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBCastPkts.setDescription(' The number of broadcast packets transmitted by this station. ')
wlanStaRxBCastBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBCastBytes.setStatus('deprecated')
if mibBuilder.loadTexts: wlanStaRxBCastBytes.setDescription(' The number of broadcast bytes transmitted by this station. ')
wlanStaTxMCastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxMCastPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxMCastPkts.setDescription(' The number of multicast packets transmitted by this station. ')
wlanStaRxMCastBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxMCastBytes.setStatus('deprecated')
if mibBuilder.loadTexts: wlanStaRxMCastBytes.setDescription(' The number of multicast bytes transmitted by this station. ')
wlanStaDataPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaDataPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaDataPkts.setDescription(' The total number of Data packets transmitted by this station. ')
wlanStaCtrlPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaCtrlPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaCtrlPkts.setDescription(' The total number of Control packets transmitted by this station. ')
wlanStaNumAssocRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaNumAssocRequests.setStatus('current')
if mibBuilder.loadTexts: wlanStaNumAssocRequests.setDescription(' The number of Association requests transmitted by this station. ')
wlanStaNumAuthRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaNumAuthRequests.setStatus('current')
if mibBuilder.loadTexts: wlanStaNumAuthRequests.setDescription(' The number of Authentication requests transmitted by this station. ')
wlanStaTxDeauthentications = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxDeauthentications.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxDeauthentications.setDescription(' The number of Deauthentication frames transmitted by this station. ')
wlanStaRxDeauthentications = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxDeauthentications.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxDeauthentications.setDescription(' The number of Deauthentication frames received by this station. ')
wlanStaFrameRetryRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaFrameRetryRate.setStatus('current')
if mibBuilder.loadTexts: wlanStaFrameRetryRate.setDescription(' The number of retry packets as a percentage of the total packets transmitted and received by this station. ')
wlanStaFrameLowSpeedRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaFrameLowSpeedRate.setStatus('current')
if mibBuilder.loadTexts: wlanStaFrameLowSpeedRate.setDescription(' The number of low data rate (<= 18Mbps for A/G bands and <=2Mbps for B band) packets as a percentage of the total packets transmitted and received by this station. ')
wlanStaFrameNonUnicastRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaFrameNonUnicastRate.setStatus('current')
if mibBuilder.loadTexts: wlanStaFrameNonUnicastRate.setDescription(' The number of broadcast and multicast packets as a percentage of the total packets transmitted by this station. ')
wlanStaFrameFragmentationRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaFrameFragmentationRate.setStatus('current')
if mibBuilder.loadTexts: wlanStaFrameFragmentationRate.setDescription(' The number of fragments as a percentage of the total packets transmitted by this station. ')
wlanStaFrameBandwidthRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaFrameBandwidthRate.setStatus('current')
if mibBuilder.loadTexts: wlanStaFrameBandwidthRate.setDescription(' The bandwidth of this station in Kbps. ')
wlanStaFrameRetryErrorRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaFrameRetryErrorRate.setStatus('deprecated')
if mibBuilder.loadTexts: wlanStaFrameRetryErrorRate.setDescription(' The number of error packets as a percentage of the total packets received by this station. ')
wlanStaFrameReceiveErrorRate = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaFrameReceiveErrorRate.setStatus('current')
if mibBuilder.loadTexts: wlanStaFrameReceiveErrorRate.setDescription(' The number of error packets as a percentage of the total packets received by this station. ')
wlanStaTxBCastBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBCastBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBCastBytes.setDescription(' The number of broadcast bytes transmitted by this station. ')
wlanStaTxMCastBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxMCastBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxMCastBytes.setDescription(' The number of multicast bytes transmitted by this station. ')
wlanStaTxBytes64 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 25), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytes64.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytes64.setDescription(' The number of bytes transmitted by this station, 64-bit value ')
wlanStaRxBytes64 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 1, 1, 26), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytes64.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytes64.setDescription(' The number of bytes received by this station, 64-bit value ')
wlsxWlanStaRateStatsTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2), )
if mibBuilder.loadTexts: wlsxWlanStaRateStatsTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStaRateStatsTable.setDescription(' This table contains all the Packet and Byte Counts for a station represented in terms of rate categories. ')
wlsxWlanStaRateStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanStaPhyAddress"))
if mibBuilder.loadTexts: wlsxWlanStaRateStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStaRateStatsEntry.setDescription('Data rate based packet and byte count entry for a station')
wlanStaTxPktsAt1Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt1Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt1Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 1Mbps rate. ')
wlanStaTxBytesAt1Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt1Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt1Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 1Mbps rate. ')
wlanStaTxPktsAt2Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt2Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt2Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 2Mbps rate. ')
wlanStaTxBytesAt2Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt2Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt2Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 2Mbps rate. ')
wlanStaTxPktsAt5Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt5Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt5Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 5Mbps rate. ')
wlanStaTxBytesAt5Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt5Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt5Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 5Mbps rate. ')
wlanStaTxPktsAt11Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt11Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt11Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 11Mbps rate. ')
wlanStaTxBytesAt11Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt11Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt11Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 11Mbps rate. ')
wlanStaTxPktsAt6Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt6Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt6Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 6Mbps rate. ')
wlanStaTxBytesAt6Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt6Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt6Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 6Mbps rate. ')
wlanStaTxPktsAt12Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt12Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt12Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 12Mbps rate. ')
wlanStaTxBytesAt12Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt12Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt12Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 12Mbps rate. ')
wlanStaTxPktsAt18Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt18Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt18Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 18Mbps rate. ')
wlanStaTxBytesAt18Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt18Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt18Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 18Mbps rate. ')
wlanStaTxPktsAt24Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 15), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt24Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt24Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 24Mbps rate. ')
wlanStaTxBytesAt24Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt24Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt24Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 24Mbps rate. ')
wlanStaTxPktsAt36Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt36Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt36Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 36Mbps rate. ')
wlanStaTxBytesAt36Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt36Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt36Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 36Mbps rate. ')
wlanStaTxPktsAt48Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt48Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt48Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 48Mbps rate. ')
wlanStaTxBytesAt48Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt48Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt48Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 48Mbps rate. ')
wlanStaTxPktsAt54Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt54Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt54Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 54Mbps rate. ')
wlanStaTxBytesAt54Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt54Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt54Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 54Mbps rate. ')
wlanStaRxPktsAt1Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt1Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt1Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 1Mbps rate. ')
wlanStaRxBytesAt1Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt1Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt1Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 1Mbps rate. ')
wlanStaRxPktsAt2Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt2Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt2Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 2Mbps rate. ')
wlanStaRxBytesAt2Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt2Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt2Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 2Mbps rate. ')
wlanStaRxPktsAt5Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 27), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt5Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt5Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 5Mbps rate. ')
wlanStaRxBytesAt5Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 28), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt5Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt5Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 5Mbps rate. ')
wlanStaRxPktsAt11Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 29), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt11Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt11Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 11Mbps rate. ')
wlanStaRxBytesAt11Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 30), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt11Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt11Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 11Mbps rate. ')
wlanStaRxPktsAt6Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 31), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt6Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt6Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 6Mbps rate. ')
wlanStaRxBytesAt6Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 32), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt6Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt6Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 6Mbps rate. ')
wlanStaRxPktsAt12Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 33), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt12Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt12Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 12Mbps rate. ')
wlanStaRxBytesAt12Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 34), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt12Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt12Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 12Mbps rate. ')
wlanStaRxPktsAt18Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 35), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt18Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt18Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 18Mbps rate. ')
wlanStaRxBytesAt18Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 36), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt18Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt18Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 18Mbps rate. ')
wlanStaRxPktsAt24Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 37), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt24Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt24Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 24Mbps rate. ')
wlanStaRxBytesAt24Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 38), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt24Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt24Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 24Mbps rate. ')
wlanStaRxPktsAt36Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 39), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt36Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt36Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 36Mbps rate. ')
wlanStaRxBytesAt36Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 40), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt36Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt36Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 36Mbps rate. ')
wlanStaRxPktsAt48Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 41), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt48Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt48Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 48Mbps rate. ')
wlanStaRxBytesAt48Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 42), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt48Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt48Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 48Mbps rate. ')
wlanStaRxPktsAt54Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 43), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt54Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt54Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 54Mbps rate. ')
wlanStaRxBytesAt54Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 44), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt54Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt54Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 54Mbps rate. ')
wlanStaTxPktsAt9Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 45), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPktsAt9Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPktsAt9Mbps.setDescription(' This attribute indicates the number of Packets Transmitted by the station at 9Mbps rate. ')
wlanStaTxBytesAt9Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 46), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxBytesAt9Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxBytesAt9Mbps.setDescription(' This attribute indicates the number of Octets Transmitted by the station at 9Mbps rate. ')
wlanStaRxPktsAt9Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 47), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPktsAt9Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPktsAt9Mbps.setDescription(' This attribute indicates the number of Packets Received by the station at 9Mbps rate. ')
wlanStaRxBytesAt9Mbps = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 2, 1, 48), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxBytesAt9Mbps.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxBytesAt9Mbps.setDescription(' This attribute indicates the number of Octets Received by the station at 9Mbps rate. ')
wlsxWlanStaDATypeStatsTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 3), )
if mibBuilder.loadTexts: wlsxWlanStaDATypeStatsTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStaDATypeStatsTable.setDescription(' This table contains all the Packet and Byte Counts for a station but but broken down in terms of Destination Address Type. ')
wlsxWlanStaDATypeStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 3, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanStaPhyAddress"))
if mibBuilder.loadTexts: wlsxWlanStaDATypeStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStaDATypeStatsEntry.setDescription(' Destination Address based packet and byte count entry for a station ')
wlanStaTxDABroadcastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 3, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxDABroadcastPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxDABroadcastPkts.setDescription(' This attribute indicates the number of Broadcast packets transmitted by this Station. ')
wlanStaTxDABroadcastBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 3, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxDABroadcastBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxDABroadcastBytes.setDescription(' This attribute indicates the number of Broadcast Bytes transmitted by this Station. ')
wlanStaTxDAMulticastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 3, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxDAMulticastPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxDAMulticastPkts.setDescription(' This attribute indicates the number of Multicast packets transmitted by this station. ')
wlanStaTxDAMulticastBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 3, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxDAMulticastBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxDAMulticastBytes.setDescription(' This attribute indicates the number of Multicast Bytes transmitted by this station. ')
wlanStaTxDAUnicastPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 3, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxDAUnicastPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxDAUnicastPkts.setDescription(' This attribute indicates the total of Unicast packets transmitted by this station. ')
wlanStaTxDAUnicastBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 3, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxDAUnicastBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxDAUnicastBytes.setDescription(' This attribute indicates the total of Unicast Bytes transmitted by this station. ')
wlsxWlanStaFrameTypeStatsTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4), )
if mibBuilder.loadTexts: wlsxWlanStaFrameTypeStatsTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStaFrameTypeStatsTable.setDescription(' This table contains all the Packet and Byte Counts for stations but broken down into different Frame Types. ')
wlsxWlanStaFrameTypeStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanStaPhyAddress"))
if mibBuilder.loadTexts: wlsxWlanStaFrameTypeStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStaFrameTypeStatsEntry.setDescription('Frame Type based packet and byte count entry for a station')
wlanStaTxMgmtPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxMgmtPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxMgmtPkts.setDescription(' This attribute indicates the Transmitted Management packets from a station. ')
wlanStaTxMgmtBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxMgmtBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxMgmtBytes.setDescription(' This attribute indicates the Transmitted Management Bytes from a station ')
wlanStaTxCtrlPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxCtrlPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxCtrlPkts.setDescription(' This attribute indicates the Transmitted Control packets from a station ')
wlanStaTxCtrlBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxCtrlBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxCtrlBytes.setDescription(' This attribute indicates the Transmitted Control Bytes from a station ')
wlanStaTxDataPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxDataPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxDataPkts.setDescription(' This attribute indicates the Transmitted Data packets from a station ')
wlanStaTxDataBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxDataBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxDataBytes.setDescription(' This attribute indicates the Transmitted Data Bytes observed on this channel. ')
wlanStaRxMgmtPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxMgmtPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxMgmtPkts.setDescription(' This attribute indicates the number of received Management packets at a station. ')
wlanStaRxMgmtBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxMgmtBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxMgmtBytes.setDescription(' This attribute indicates the number of received Management Bytes at a station. ')
wlanStaRxCtrlPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxCtrlPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxCtrlPkts.setDescription(' This attribute indicates the number of received Control packets at a station. ')
wlanStaRxCtrlBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxCtrlBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxCtrlBytes.setDescription(' This attribute indicates the number of received Control Bytes at a station. ')
wlanStaRxDataPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxDataPkts.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxDataPkts.setDescription(' This attribute indicates the number of received Data packets at a station. ')
wlanStaRxDataBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 4, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxDataBytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxDataBytes.setDescription(' This attribute indicates the number of received Data Bytes at a station. ')
wlsxWlanStaPktSizeStatsTable = MibTable((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5), )
if mibBuilder.loadTexts: wlsxWlanStaPktSizeStatsTable.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStaPktSizeStatsTable.setDescription(' This table contains all the Packet and Byte Counts for stations but broken down into different Packet Sizes. ')
wlsxWlanStaPktSizeStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1), ).setIndexNames((0, "WLSX-WLAN-MIB", "wlanStaPhyAddress"))
if mibBuilder.loadTexts: wlsxWlanStaPktSizeStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wlsxWlanStaPktSizeStatsEntry.setDescription('Packet Size based packet count entry for a station')
wlanStaTxPkts63Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPkts63Bytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPkts63Bytes.setDescription(' This attribute indicates the number of packets transmitted by the station that were less than 64 bytes long. ')
wlanStaTxPkts64To127 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPkts64To127.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPkts64To127.setDescription(' This attribute indicates the number of packets transmitted by the station that were between 64 and 127 bytes long. ')
wlanStaTxPkts128To255 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPkts128To255.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPkts128To255.setDescription(' This attribute indicates the number of packets transmitted by the station that were between 128 and 255 bytes long. ')
wlanStaTxPkts256To511 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPkts256To511.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPkts256To511.setDescription(' This attribute indicates the number of packets transmitted by the station that were between 256 and 511 bytes long. ')
wlanStaTxPkts512To1023 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPkts512To1023.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPkts512To1023.setDescription(' This attribute indicates the number of packets transmitted by the station that were between 512 and 1023 bytes long. ')
wlanStaTxPkts1024To1518 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaTxPkts1024To1518.setStatus('current')
if mibBuilder.loadTexts: wlanStaTxPkts1024To1518.setDescription(' This attribute indicates the number of packets transmitted by the station that were between 1024 and 1518 bytes long. ')
wlanStaRxPkts63Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPkts63Bytes.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPkts63Bytes.setDescription(' This attribute indicates the number of packets Received by the station that were less than 64 bytes long. ')
wlanStaRxPkts64To127 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPkts64To127.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPkts64To127.setDescription(' This attribute indicates the number of packets Received by the station that were between 64 and 127 bytes long. ')
wlanStaRxPkts128To255 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPkts128To255.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPkts128To255.setDescription(' This attribute indicates the number of packets Received by the station that were between 128 and 255 bytes long. ')
wlanStaRxPkts256To511 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPkts256To511.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPkts256To511.setDescription(' This attribute indicates the number of packets Received by the station that were between 256 and 511 bytes long. ')
wlanStaRxPkts512To1023 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPkts512To1023.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPkts512To1023.setDescription(' This attribute indicates the number of packets Received by the station that were between 512 and 1023 bytes long. ')
wlanStaRxPkts1024To1518 = MibTableColumn((1, 3, 6, 1, 4, 1, 14823, 2, 2, 1, 5, 3, 2, 5, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wlanStaRxPkts1024To1518.setStatus('current')
if mibBuilder.loadTexts: wlanStaRxPkts1024To1518.setDescription(' This attribute indicates the number of packets Received by the station that were between 1024 and 1518 bytes long. ')
mibBuilder.exportSymbols("WLSX-WLAN-MIB", wlanStaAssocFailureApEssid=wlanStaAssocFailureApEssid, wlanAPFrameBandwidthRate=wlanAPFrameBandwidthRate, wlsxWlanStaFrameTypeStatsEntry=wlsxWlanStaFrameTypeStatsEntry, wlanAPBssidModule=wlanAPBssidModule, wlanAPTxDataPkts64=wlanAPTxDataPkts64, wlanStaTxPkts128To255=wlanStaTxPkts128To255, wlsxWlanMIB=wlsxWlanMIB, wlanStaRxMgmtBytes=wlanStaRxMgmtBytes, wlanAPESSID=wlanAPESSID, wlanStaTxBytesAt9Mbps=wlanStaTxBytesAt9Mbps, wlanStaTxMCastPkts=wlanStaTxMCastPkts, wlanAPBssidInactiveTime=wlanAPBssidInactiveTime, wlanAPStatsTotBytesAt6Mbps=wlanAPStatsTotBytesAt6Mbps, wlanStaRxBCastBytes=wlanStaRxBCastBytes, wlanStaTxPktsAt24Mbps=wlanStaTxPktsAt24Mbps, wlanESSIDNumStations=wlanESSIDNumStations, wlanAPSysLocation=wlanAPSysLocation, wlsxWlanStaAssociationFailureEntry=wlsxWlanStaAssociationFailureEntry, wlanStaAssocFailurePhyType=wlanStaAssocFailurePhyType, wlsxWlanStationStatsGroup=wlsxWlanStationStatsGroup, wlanAPChFrameDuplicateCount=wlanAPChFrameDuplicateCount, wlanStaTxCtrlPkts=wlanStaTxCtrlPkts, wlsxWlanAPDATypeStatsEntry=wlsxWlanAPDATypeStatsEntry, wlanStaVlanId=wlanStaVlanId, wlanStaTxDABroadcastPkts=wlanStaTxDABroadcastPkts, wlanAPFrameNonUnicastRate=wlanAPFrameNonUnicastRate, wlanStaFrameLowSpeedRate=wlanStaFrameLowSpeedRate, wlanAPFQLNFloor=wlanAPFQLNFloor, wlanAPBssidRogueType=wlanAPBssidRogueType, wlanAPStatsTotCtrlPkts=wlanAPStatsTotCtrlPkts, wlanAPUnprovisioned=wlanAPUnprovisioned, wlanStaTxDataBytes=wlanStaTxDataBytes, wlanAPModelName=wlanAPModelName, wlanAPBssidLoadBalancing=wlanAPBssidLoadBalancing, wlanAPStatsTotBytesAt54Mbps=wlanAPStatsTotBytesAt54Mbps, wlanAPRadioAPName=wlanAPRadioAPName, wlsxWlanStationStatsTable=wlsxWlanStationStatsTable, wlanStaTxPktsAt2Mbps=wlanStaTxPktsAt2Mbps, wlanStaTxBytesAt6Mbps=wlanStaTxBytesAt6Mbps, wlanAPStatsTotDAUnicastPkts=wlanAPStatsTotDAUnicastPkts, wlanAPTxBytes=wlanAPTxBytes, wlanStaTxMgmtPkts=wlanStaTxMgmtPkts, wlanAPRadioHTMode=wlanAPRadioHTMode, wlanAPChFrameFragmentationRate=wlanAPChFrameFragmentationRate, wlanAPTxPkts=wlanAPTxPkts, wlsxWlanAPChStatsTable=wlsxWlanAPChStatsTable, wlanAPRadioNumAssociatedClients=wlanAPRadioNumAssociatedClients, wlanAPStatsTotMgmtBytes=wlanAPStatsTotMgmtBytes, wlanAPChInterferenceIndex=wlanAPChInterferenceIndex, wlanStaFrameReceiveErrorRate=wlanStaFrameReceiveErrorRate, wlanStaTxPkts256To511=wlanStaTxPkts256To511, wlanAPStatsTotPktsAt6Mbps=wlanAPStatsTotPktsAt6Mbps, wlanAPChFrameReceiveErrorRate=wlanAPChFrameReceiveErrorRate, wlanAPChTotMacErrPkts=wlanAPChTotMacErrPkts, wlanAPChTransmittedFrameCount=wlanAPChTransmittedFrameCount, wlanAPChRxUtilization=wlanAPChRxUtilization, wlanStaTxDeauthentications=wlanStaTxDeauthentications, wlanAPChNumStations=wlanAPChNumStations, wlsxWlanAPRateStatsEntry=wlsxWlanAPRateStatsEntry, wlanAPStatsTotBytesAt11Mbps=wlanAPStatsTotBytesAt11Mbps, wlsxWlanStaDATypeStatsTable=wlsxWlanStaDATypeStatsTable, wlanAPFrameRetryRate=wlanAPFrameRetryRate, wlsxWlanStaRateStatsEntry=wlsxWlanStaRateStatsEntry, wlanStaTxBytesAt12Mbps=wlanStaTxBytesAt12Mbps, wlanESSIDNumAccessPointsDown=wlanESSIDNumAccessPointsDown, wlanAPStatsTotDataPkts=wlanAPStatsTotDataPkts, wlanAPBssidPort=wlanAPBssidPort, wlanStaTxPkts512To1023=wlanStaTxPkts512To1023, wlanStaRxPkts64To127=wlanStaRxPkts64To127, wlanAPChTransmittedFragmentCount=wlanAPChTransmittedFragmentCount, wlanStaTxCtrlBytes=wlanStaTxCtrlBytes, wlanAPRadioNumber=wlanAPRadioNumber, wlanAPModel=wlanAPModel, wlanAPStatsTotBytesAt9Mbps=wlanAPStatsTotBytesAt9Mbps, wlanStaRxCtrlPkts=wlanStaRxCtrlPkts, wlanESSID=wlanESSID, wlanStaTxBytesAt5Mbps=wlanStaTxBytesAt5Mbps, wlanStaVOIPState=wlanStaVOIPState, wlanAPStatsTotPktsAt2Mbps=wlanAPStatsTotPktsAt2Mbps, wlanStaTxPktsAt36Mbps=wlanStaTxPktsAt36Mbps, wlanStaRxPkts512To1023=wlanStaRxPkts512To1023, wlanAPStatsPkts256To511=wlanAPStatsPkts256To511, wlanAPChTotPhyErrPkts=wlanAPChTotPhyErrPkts, wlanAPExternalAntenna=wlanAPExternalAntenna, wlanStaRxPkts1024To1518=wlanStaRxPkts1024To1518, wlsxWlanESSIDVlanPoolTable=wlsxWlanESSIDVlanPoolTable, wlanAPFrameRetryErrorRate=wlanAPFrameRetryErrorRate, wlsxWlanAPBssidEntry=wlsxWlanAPBssidEntry, wlanAPChWEPUndecryptableCount=wlanAPChWEPUndecryptableCount, wlanStaRxPktsAt6Mbps=wlanStaRxPktsAt6Mbps, wlanAPChMulticastReceivedFrameCount=wlanAPChMulticastReceivedFrameCount, wlanAPFQLNCampus=wlanAPFQLNCampus, wlanAPChNoise=wlanAPChNoise, wlanStaRxPktsAt24Mbps=wlanStaRxPktsAt24Mbps, wlanAPRxDeauthentications=wlanAPRxDeauthentications, wlanAPChTotRetryPkts=wlanAPChTotRetryPkts, wlanAPBSSID=wlanAPBSSID, wlanAPStatsTotPktsAt36Mbps=wlanAPStatsTotPktsAt36Mbps, wlanAPRadioChannel=wlanAPRadioChannel, wlanAPStatsTotPktsAt1Mbps=wlanAPStatsTotPktsAt1Mbps, wlanAPChFCSErrorCount=wlanAPChFCSErrorCount, wlanAPChBusyRate=wlanAPChBusyRate, wlanAPStatsPkts63Bytes=wlanAPStatsPkts63Bytes, wlanStaRxPktsAt54Mbps=wlanStaRxPktsAt54Mbps, wlanAPRadioNumActiveBSSIDs=wlanAPRadioNumActiveBSSIDs, wlanAPLongitude=wlanAPLongitude, wlsxWlanStateGroup=wlsxWlanStateGroup, wlanAPGroupName=wlanAPGroupName, wlanAPFrameLowSpeedRate=wlanAPFrameLowSpeedRate, wlanAPRadioHTExtChannel=wlanAPRadioHTExtChannel, wlanStaRxCtrlBytes=wlanStaRxCtrlBytes, wlanAPNumClients=wlanAPNumClients, wlanStaTxBytesAt2Mbps=wlanStaTxBytesAt2Mbps, wlanStaTxBCastPkts=wlanStaTxBCastPkts, wlanAPChRTSFailureCount=wlanAPChRTSFailureCount, wlanAPBssidHTMode=wlanAPBssidHTMode, wlanStaNumAuthRequests=wlanStaNumAuthRequests, wlanStaTxPkts1024To1518=wlanStaTxPkts1024To1518, wlanStaRxMgmtPkts=wlanStaRxMgmtPkts, wlanAPChMultipleRetryCount=wlanAPChMultipleRetryCount, wlanStaRxBytesAt9Mbps=wlanStaRxBytesAt9Mbps, wlanAPRadioTiltAngle=wlanAPRadioTiltAngle, wlanAPStatsTotPktsAt11Mbps=wlanAPStatsTotPktsAt11Mbps, wlanAPFrameReceiveErrorRate=wlanAPFrameReceiveErrorRate, wlsxWlanTotalNumStationsAssociated=wlsxWlanTotalNumStationsAssociated, wlsxWlanAccessPointInfoGroup=wlsxWlanAccessPointInfoGroup, wlanStaAccessPointESSID=wlanStaAccessPointESSID, wlanAPIpAddress=wlanAPIpAddress, wlanStaRxDataPkts=wlanStaRxDataPkts, wlanStaTxPktsAt54Mbps=wlanStaTxPktsAt54Mbps, wlsxWlanESSIDEntry=wlsxWlanESSIDEntry, wlsxWlanAPGroupTable=wlsxWlanAPGroupTable, wlanAPUpTime=wlanAPUpTime, wlanAPStatsPkts64To127=wlanAPStatsPkts64To127, wlanStaIsAuthenticated=wlanStaIsAuthenticated, wlsxWlanStationTable=wlsxWlanStationTable, wlanStaRxPktsAt12Mbps=wlanStaRxPktsAt12Mbps, wlanAPTxDeauthentications=wlanAPTxDeauthentications, wlanAPStatsTotPktsAt18Mbps=wlanAPStatsTotPktsAt18Mbps, wlanESSIDNumAccessPointsUp=wlanESSIDNumAccessPointsUp, wlanAPdot11gAntennaGain=wlanAPdot11gAntennaGain, wlanStaRxBytesAt18Mbps=wlanStaRxBytesAt18Mbps, wlanAPStatsTotDAMulticastBytes=wlanAPStatsTotDAMulticastBytes, wlanAPChFrameRetryRate=wlanAPChFrameRetryRate, wlanAPStatsTotBytesAt48Mbps=wlanAPStatsTotBytesAt48Mbps, wlanAPRadioType=wlanAPRadioType, wlanAPStatsTotBytesAt24Mbps=wlanAPStatsTotBytesAt24Mbps, wlanStaRxBytesAt24Mbps=wlanStaRxBytesAt24Mbps, wlsxWlanStaFrameTypeStatsTable=wlsxWlanStaFrameTypeStatsTable, wlanStaTxBytesAt36Mbps=wlanStaTxBytesAt36Mbps, wlanStaTxDAMulticastBytes=wlanStaTxDAMulticastBytes, wlanStaRSSI=wlanStaRSSI, wlanAPStatsTotBytesAt36Mbps=wlanAPStatsTotBytesAt36Mbps, wlanStaRxPktsAt1Mbps=wlanStaRxPktsAt1Mbps, wlsxWlanStaPktSizeStatsTable=wlsxWlanStaPktSizeStatsTable, wlsxWlanAPChStatsEntry=wlsxWlanAPChStatsEntry, wlanStaRxBytesAt54Mbps=wlanStaRxBytesAt54Mbps, wlanStaHTMode=wlanStaHTMode, wlanAPRadioNumMonitoredBSSIDs=wlanAPRadioNumMonitoredBSSIDs, wlanAPStatsTotBytesAt12Mbps=wlanAPStatsTotBytesAt12Mbps, wlanAPBssidMode=wlanAPBssidMode, wlanStaFrameRetryErrorRate=wlanStaFrameRetryErrorRate, wlsxWlanAPTable=wlsxWlanAPTable, wlanAPChRetryCount=wlanAPChRetryCount, wlanAPCurrentChannel=wlanAPCurrentChannel, wlanStaRxDeauthentications=wlanStaRxDeauthentications, wlanStaTxBytes64=wlanStaTxBytes64, wlanAPBssidPhyType=wlanAPBssidPhyType, wlanAPChMulticastTransmittedFrameCount=wlanAPChMulticastTransmittedFrameCount, wlanStaFrameBandwidthRate=wlanStaFrameBandwidthRate, wlanAPStatsTotPktsAt9Mbps=wlanAPStatsTotPktsAt9Mbps, wlanStaRxBytesAt2Mbps=wlanStaRxBytesAt2Mbps, wlanStaRxBytes=wlanStaRxBytes, wlanStaRxMCastBytes=wlanStaRxMCastBytes, wlanAPChFailedCount=wlanAPChFailedCount, wlanStaUpTime=wlanStaUpTime, wlanStaIsAssociated=wlanStaIsAssociated, wlsxWlanStaAssociationFailureTable=wlsxWlanStaAssociationFailureTable, wlanAPMonitorMode=wlanAPMonitorMode, wlanAPChannelErrorRate=wlanAPChannelErrorRate, wlanStaFrameNonUnicastRate=wlanStaFrameNonUnicastRate, wlsxWlanTotalNumAccessPoints=wlsxWlanTotalNumAccessPoints, wlanAPFloor=wlanAPFloor, wlanStaPhyNumber=wlanStaPhyNumber, wlanAPChannelNumber=wlanAPChannelNumber, wlanStaRxPkts63Bytes=wlanStaRxPkts63Bytes, wlanESSIDVlanPoolStatus=wlanESSIDVlanPoolStatus, wlanStaTxDAMulticastPkts=wlanStaTxDAMulticastPkts, wlanStaVOIPProtocol=wlanStaVOIPProtocol, wlanAPChACKFailureCount=wlanAPChACKFailureCount, wlanAPBssidHTExtChannel=wlanAPBssidHTExtChannel, wlanAPStatsTotPktsAt5Mbps=wlanAPStatsTotPktsAt5Mbps, wlanAPChRTSSuccessCount=wlanAPChRTSSuccessCount, wlanAPNumReboots=wlanAPNumReboots, wlanAPChTotBytes=wlanAPChTotBytes, wlanAPRadioHTChannel=wlanAPRadioHTChannel, wlanStaAssociationID=wlanStaAssociationID, wlanAPNumAps=wlanAPNumAps, wlanStaTxBytesAt54Mbps=wlanStaTxBytesAt54Mbps, wlanStaTxBytesAt24Mbps=wlanStaTxBytesAt24Mbps, wlanStaRxBytesAt1Mbps=wlanStaRxBytesAt1Mbps, wlanStaRxPktsAt18Mbps=wlanStaRxPktsAt18Mbps, wlanAPBssidSlot=wlanAPBssidSlot, wlanAPEnet1Mode=wlanAPEnet1Mode, wlanAPStatsTotPktsAt48Mbps=wlanAPStatsTotPktsAt48Mbps, wlanAPStatsPkts128To255=wlanAPStatsPkts128To255, wlanAPChCoverageIndex=wlanAPChCoverageIndex, wlanStaTxPktsAt11Mbps=wlanStaTxPktsAt11Mbps, wlanStaRxBytesAt36Mbps=wlanStaRxBytesAt36Mbps, wlsxWlanAPPktSizeStatsTable=wlsxWlanAPPktSizeStatsTable, wlanAPdot11aAntennaGain=wlanAPdot11aAntennaGain, wlanAPBuilding=wlanAPBuilding, wlsxWlanAPGroupEntry=wlsxWlanAPGroupEntry, PYSNMP_MODULE_ID=wlsxWlanMIB, wlanStaRxPkts256To511=wlanStaRxPkts256To511, wlanStaChannelNum=wlanStaChannelNum, wlanAPFQLNBuilding=wlanAPFQLNBuilding, wlanAPFrameFragmentationRate=wlanAPFrameFragmentationRate, wlanAPStatsTotBytesAt5Mbps=wlanAPStatsTotBytesAt5Mbps, wlanAPStatsPkts1024To1518=wlanAPStatsPkts1024To1518, wlanAPChFrameRetryErrorRate=wlanAPChFrameRetryErrorRate, wlanStaTxPktsAt9Mbps=wlanStaTxPktsAt9Mbps, wlanStaAssocFailureElapsedTime=wlanStaAssocFailureElapsedTime, wlanAPBssidUpTime=wlanAPBssidUpTime, wlsxWlanRadioEntry=wlsxWlanRadioEntry, wlanStaTxDABroadcastBytes=wlanStaTxDABroadcastBytes, wlanAPChFrameBandwidthRate=wlanAPChFrameBandwidthRate, wlanAPRadioTransmitPower=wlanAPRadioTransmitPower, wlsxWlanStaDATypeStatsEntry=wlsxWlanStaDATypeStatsEntry, wlanAPStatsTotPktsAt24Mbps=wlanAPStatsTotPktsAt24Mbps, wlanStaTxBCastBytes=wlanStaTxBCastBytes, wlsxWlanAPBssidTable=wlsxWlanAPBssidTable, wlsxWlanAPEntry=wlsxWlanAPEntry, wlsxWlanStatsGroup=wlsxWlanStatsGroup, wlanStaChannel=wlanStaChannel, wlanStaTxBytesAt1Mbps=wlanStaTxBytesAt1Mbps, wlanAPChReceivedFragmentCount=wlanAPChReceivedFragmentCount, wlanAPChTotFragmentedPkts=wlanAPChTotFragmentedPkts, wlanAPTxDataBytes64=wlanAPTxDataBytes64, wlanAPStatsTotDAMulticastPkts=wlanAPStatsTotDAMulticastPkts, wlanAPRadioNumMonitoredClients=wlanAPRadioNumMonitoredClients, wlanStaTxBytes=wlanStaTxBytes, wlanStaRxBytesAt48Mbps=wlanStaRxBytesAt48Mbps, wlanAPRadioMode=wlanAPRadioMode, wlanStaNumAssocRequests=wlanStaNumAssocRequests, wlanAPBssidNumAssociatedStations=wlanAPBssidNumAssociatedStations, wlanStaAssocFailurePhyNum=wlanStaAssocFailurePhyNum, wlanAPRadioUtilization=wlanAPRadioUtilization, wlanAPFQLN=wlanAPFQLN, wlanAPStatsTotBytesAt2Mbps=wlanAPStatsTotBytesAt2Mbps, wlanAPBssidPhyNumber=wlanAPBssidPhyNumber, wlanAPSerialNumber=wlanAPSerialNumber, wlanAPStatsTotCtrlBytes=wlanAPStatsTotCtrlBytes, wlsxWlanAPDATypeStatsTable=wlsxWlanAPDATypeStatsTable)
mibBuilder.exportSymbols("WLSX-WLAN-MIB", wlanStaTxPktsAt18Mbps=wlanStaTxPktsAt18Mbps, wlsxWlanAPPktSizeStatsEntry=wlsxWlanAPPktSizeStatsEntry, wlanAPStatsTotDABroadcastPkts=wlanAPStatsTotDABroadcastPkts, wlanAPRxDataPkts64=wlanAPRxDataPkts64, wlanStaTxPktsAt5Mbps=wlanStaTxPktsAt5Mbps, wlanAPLatitude=wlanAPLatitude, wlanAPName=wlanAPName, wlanStaTransmitRate=wlanStaTransmitRate, wlanAPChTotPkts=wlanAPChTotPkts, wlanAPRadioBearing=wlanAPRadioBearing, wlanAPNumRadios=wlanAPNumRadios, wlsxWlanStationInfoGroup=wlsxWlanStationInfoGroup, wlsxWlanStaRateStatsTable=wlsxWlanStaRateStatsTable, wlanStaCtrlPkts=wlanStaCtrlPkts, wlsxWlanAccessPointStatsGroup=wlsxWlanAccessPointStatsGroup, wlanAPStatsTotPktsAt54Mbps=wlanAPStatsTotPktsAt54Mbps, wlanAPMacAddress=wlanAPMacAddress, wlanAPChFrameLowSpeedRate=wlanAPChFrameLowSpeedRate, wlsxWlanStationStatsEntry=wlsxWlanStationStatsEntry, wlanStaRxBytesAt12Mbps=wlanStaRxBytesAt12Mbps, wlanStaRxPktsAt5Mbps=wlanStaRxPktsAt5Mbps, wlanAPRxDataBytes=wlanAPRxDataBytes, wlanAPBssidHTChannel=wlanAPBssidHTChannel, wlanESSIDVlanId=wlanESSIDVlanId, wlanAPNumBootstraps=wlanAPNumBootstraps, wlanStaRxPktsAt48Mbps=wlanStaRxPktsAt48Mbps, wlanAPTxDataPkts=wlanAPTxDataPkts, wlanAPStatsTotBytesAt18Mbps=wlanAPStatsTotBytesAt18Mbps, wlanStaTxPkts=wlanStaTxPkts, wlanStaPhyType=wlanStaPhyType, wlsxWlanAPFrameTypeStatsTable=wlsxWlanAPFrameTypeStatsTable, wlanAPStatsTotDABroadcastBytes=wlanAPStatsTotDABroadcastBytes, wlanAPIpsecMode=wlanAPIpsecMode, wlsxWlanAPStatsEntry=wlsxWlanAPStatsEntry, wlanStaTxPktsAt1Mbps=wlanStaTxPktsAt1Mbps, wlanAPRxBytes=wlanAPRxBytes, wlanStaTxBytesAt18Mbps=wlanStaTxBytesAt18Mbps, wlanStaRxDataBytes=wlanStaRxDataBytes, wlsxWlanRadioTable=wlsxWlanRadioTable, wlanStaFrameRetryRate=wlanStaFrameRetryRate, wlanStaRxPktsAt2Mbps=wlanStaRxPktsAt2Mbps, wlanStaRxPktsAt36Mbps=wlanStaRxPktsAt36Mbps, wlanStaTxDAUnicastBytes=wlanStaTxDAUnicastBytes, wlanAPRxPkts=wlanAPRxPkts, wlanStaTxMCastBytes=wlanStaTxMCastBytes, wlanESSIDEncryptionType=wlanESSIDEncryptionType, wlanAPRxDataPkts=wlanAPRxDataPkts, wlanStaTxPktsAt48Mbps=wlanStaTxPktsAt48Mbps, wlsxWlanAssociationInfoGroup=wlsxWlanAssociationInfoGroup, wlanAPStatsTotBytesAt1Mbps=wlanAPStatsTotBytesAt1Mbps, wlsxWlanESSIDTable=wlsxWlanESSIDTable, wlanStaTxBytesAt48Mbps=wlanStaTxBytesAt48Mbps, wlanStaTxDAUnicastPkts=wlanStaTxDAUnicastPkts, wlanAPChFrameNonUnicastRate=wlanAPChFrameNonUnicastRate, wlanAPTxDataBytes=wlanAPTxDataBytes, wlanStaRxPkts128To255=wlanStaRxPkts128To255, wlanStaTxPktsAt12Mbps=wlanStaTxPktsAt12Mbps, wlanStaRxPktsAt9Mbps=wlanStaRxPktsAt9Mbps, wlanAPBssidAPMacAddress=wlanAPBssidAPMacAddress, wlsxWlanESSIDVlanPoolEntry=wlsxWlanESSIDVlanPoolEntry, wlsxWlanAPFrameTypeStatsEntry=wlsxWlanAPFrameTypeStatsEntry, wlanStaRxPktsAt11Mbps=wlanStaRxPktsAt11Mbps, wlanAPBssidChannel=wlanAPBssidChannel, wlsxWlanStaPktSizeStatsEntry=wlsxWlanStaPktSizeStatsEntry, wlanAPMeshRole=wlanAPMeshRole, wlanStaTxBytesAt11Mbps=wlanStaTxBytesAt11Mbps, wlanStaTxPkts64To127=wlanStaTxPkts64To127, wlanStaAssocFailureReason=wlanStaAssocFailureReason, wlanAPRxDataBytes64=wlanAPRxDataBytes64, wlanAPGroup=wlanAPGroup, wlsxWlanAPRateStatsTable=wlsxWlanAPRateStatsTable, wlanStaPhyAddress=wlanStaPhyAddress, wlanAPAltitude=wlanAPAltitude, wlanAPChannelThroughput=wlanAPChannelThroughput, wlanAPStatus=wlanAPStatus, wlanStaApBssid=wlanStaApBssid, wlanAPChTxUtilization=wlanAPChTxUtilization, wlanStaTxMgmtBytes=wlanStaTxMgmtBytes, wlanStaDataPkts=wlanStaDataPkts, wlanStaRxBytesAt11Mbps=wlanStaRxBytesAt11Mbps, wlanStaAssocFailureApName=wlanStaAssocFailureApName, wlsxWlanConfigGroup=wlsxWlanConfigGroup, wlanAPStatsPkts512To1023=wlanAPStatsPkts512To1023, wlanStaRxBytesAt6Mbps=wlanStaRxBytesAt6Mbps, wlanStaTxDataPkts=wlanStaTxDataPkts, wlanStaRxBytesAt5Mbps=wlanStaRxBytesAt5Mbps, wlanStaRxBytes64=wlanStaRxBytes64, wlanAPStatsTotDataBytes=wlanAPStatsTotDataBytes, wlanAPChNumAPs=wlanAPChNumAPs, wlanAPChUtilization=wlanAPChUtilization, wlsxWlanStationEntry=wlsxWlanStationEntry, wlanStaFrameFragmentationRate=wlanStaFrameFragmentationRate, wlanAPStatsTotPktsAt12Mbps=wlanAPStatsTotPktsAt12Mbps, wlanAPStatsTotDAUnicastBytes=wlanAPStatsTotDAUnicastBytes, wlanAPLoc=wlanAPLoc, wlanStaTxPktsAt6Mbps=wlanStaTxPktsAt6Mbps, wlsxWlanAPStatsTable=wlsxWlanAPStatsTable, wlanStaRxPkts=wlanStaRxPkts, wlanAPStatsTotMgmtPkts=wlanAPStatsTotMgmtPkts, wlanStaTxPkts63Bytes=wlanStaTxPkts63Bytes, wlanAPLocation=wlanAPLocation)
|
'''3. Peça ao usuário para digitar um número e imprima o fatorial de n.'''
number = int(input('Enter a number: '))
mul = fac = number
while fac != 0:
print(fac, end=' ')
fac = fac - 1
mul = fac * (fac -1)
|
def set_age(name, age):
if not 0 < age < 120:
raise ValueError('年龄超过范围')
print('%s is %d years old.' % (name, age))
def set_age2(name, age):
assert 0 < age < 120, '年龄超过范围'
print('%s is %d years old.' % (name, age))
if __name__ == '__main__':
set_age('bob', 23)
set_age2('bob', 223)
|
# -*- coding: utf-8 -*-
"""
Created on Fri Jul 5 21:40:27 2019
@author: Abhishek Mukherjee
"""
#Size of set A ~~~ M
M=list(map(int, input()))
#list A
listA=list(map(int, input().split()))
#Size of set B ~~~ N
N=list(map(int, input()))
#list B
listB=list(map(int, input().split()))
#Set A
setA=set()
#SetB
setB=set()
for i in range(M[0]):
setA.add(listA[i])
for i in range(N[0]):
setB.add(listB[i])
setC=set()
#SetC -- diff set
setC1=setA.difference(setB)
setC2=setB.difference(setA)
setC=setC1.union(setC2)
setC=sorted(setC)
for i in range(len(setC)):
print(setC[i])
|
'''
Faça um programa que solicite três números inteiros do usuário e imprima a soma destes.
'''
lista = []
for i in range(3):
numero = int(input('Digite um número: '))
lista.append(numero)
print(sum(lista))
|
class Salsa:
def __init__(self,r=20):
assert r >= 0
self._r = r # number of rounds
self._mask = 0xffffffff # 32-bit mask
def __call__(self,key=[0]*32,nonce=[0]*8,block_counter=[0]*8):
assert len(key) == 32
assert len(nonce) == 8
assert len(block_counter) == 8
# init state
k = [self._littleendian(key[4*i:4*i+4]) for i in range(8)]
n = [self._littleendian(nonce[4*i:4*i+4]) for i in range(2)]
b = [self._littleendian(block_counter[4*i:4*i+4]) for i in range(2)]
c = [0x61707865, 0x3320646e, 0x79622d32, 0x6b206574]
# init matrix
s = [c[0], k[0], k[1], k[2],
k[3], c[1], n[0], n[1],
b[0], b[1], c[2], k[4],
k[5], k[6], k[7], c[3]]
# the state
self._s = s[:]
for i in range(self._r): # r is the number of round and r = 20
self._round()
# add initial state to the final one
self._s = [(self._s[i] + s[i]) & self._mask for i in range(16)]
return self._s
# list of 4 bytes to 32 bit hexa
def _littleendian(self,b):
assert len(b) == 4
return b[0] ^ (b[1] << 8) ^ (b[2] << 16) ^ (b[3] << 24)
def _round(self):
# quarterround 1
self._s[ 4] ^= self._rotl32((self._s[ 0] + self._s[12]) & self._mask, 7)
self._s[ 8] ^= self._rotl32((self._s[ 0] + self._s[ 4]) & self._mask, 9)
self._s[12] ^= self._rotl32((self._s[ 4] + self._s[ 8]) & self._mask,13)
self._s[ 0] ^= self._rotl32((self._s[ 8] + self._s[12]) & self._mask,18)
# quarterround 2
self._s[ 9] ^= self._rotl32((self._s[ 1] + self._s[ 5]) & self._mask, 7)
self._s[13] ^= self._rotl32((self._s[ 5] + self._s[ 9]) & self._mask, 9)
self._s[ 1] ^= self._rotl32((self._s[ 9] + self._s[13]) & self._mask,13)
self._s[ 5] ^= self._rotl32((self._s[ 1] + self._s[13]) & self._mask,18)
# quarterround 3
self._s[14] ^= self._rotl32((self._s[ 6] + self._s[10]) & self._mask, 7)
self._s[ 2] ^= self._rotl32((self._s[10] + self._s[14]) & self._mask, 9)
self._s[ 6] ^= self._rotl32((self._s[ 2] + self._s[14]) & self._mask,13)
self._s[10] ^= self._rotl32((self._s[ 2] + self._s[ 6]) & self._mask,18)
# quarterround 4
self._s[ 3] ^= self._rotl32((self._s[11] + self._s[15]) & self._mask, 7)
self._s[ 7] ^= self._rotl32((self._s[ 3] + self._s[15]) & self._mask, 9)
self._s[11] ^= self._rotl32((self._s[ 3] + self._s[ 7]) & self._mask,13)
self._s[15] ^= self._rotl32((self._s[ 7] + self._s[11]) & self._mask,18)
# transpose
self._s = [self._s[ 0], self._s[ 4], self._s[ 8], self._s[12],
self._s[ 1], self._s[ 5], self._s[ 9], self._s[13],
self._s[ 2], self._s[ 6], self._s[10], self._s[14],
self._s[ 3], self._s[ 7], self._s[11], self._s[15]]
def _rotl32(self,w,r):
# rotate left for 32-bits
return ( ( ( w << r ) & self._mask) | ( w >> ( 32 - r ) ) )
def num_key_to_list(self,key):
list_num = []
while key != 0:
list_num.append(key % 256)
key //= 256
return list_num
def encrypt(self, msg):
assert len(msg) == 16
rs = [0]*16
for i in range(0,16):
rs[i] = (self._s[i] ^ msg[i])
return rs
|
def parentheses_balance_stack_check(expression):
open_list, close_list, stack = ['[', '{', '('], [']', '}', ')'], []
for i in expression:
if i in open_list:
stack.append(i)
elif i in close_list:
pos = close_list.index(i)
if len(stack) > 0 and open_list[pos] == stack[len(stack) - 1]:
stack.pop()
else:
return False
return True if len(stack) == 0 else False
print(parentheses_balance_stack_check('((( [] [] )) () (()))'))
print(parentheses_balance_stack_check('((( [] [] )) () (())'))
def parentheses_balance_queue_check(expression):
open_tuple, close_tuple, queue = tuple('({['), tuple(')}]'), []
map_dict = dict(zip(open_tuple, close_tuple))
for i in expression:
if i in open_tuple:
queue.append(map_dict[i])
elif i in close_tuple:
if not queue or i != queue.pop():
return False
return True if not queue else False
print(parentheses_balance_queue_check('((( [] [] )) () (()))'))
print(parentheses_balance_queue_check('((( [] [] )) () (())'))
|
# -*- coding: utf-8 -*-
#%% configs
VOCdatasetConfig= {
'rootDir': "D:\GitHubRepos\ML_learning\VOC2007",
'imageFolder': "JPEGImages",
'imageExtension': ".jpg",
'annotationFolder': "Annotations",
'annotationExtension': ".xml",
'trainCasesPath': "ImageSets\Segmentation\\train.txt",
'valCasesPath' : "ImageSets\Segmentation\\val.txt",
'textFileFolder': "Dataset"
}
classNames = {
"aeroplane":0,
"bicycle": 1,
"bird": 2,
"boat":3,
"bottle": 4,
"bus": 5,
"car": 6,
"cat": 7,
"chair": 8,
"cow": 9,
"diningtable":10,
"dog": 11,
"horse": 12,
"motorbike":13 ,
"person": 14,
"pottedplant": 15,
"sheep": 16,
"sofa": 17,
"train": 18,
"tvmonitor": 19
}
YOLOConfig = {
'inputSize': [448, 448],
'outputGrid': [7, 7],
'batchSize' : 16,
'frontNet' : "VGG16"
# ResNet50 / VGG16
}
|
def get_sunday_count():
sunday_count = 0
for i in range(1901, 2000):
for j in range(1, 12):
for k in range(1, get_number_of_days(j, i)):
if j == 2000:
c = 20
else:
c = 19
f = k + ((13 * j - 1) / 5) + ((i - 1900) / 4) + (c / 4) - 2 * c
if f % 7 == 0:
sunday_count = sunday_count + 1
print(sunday_count)
return sunday_count
def get_number_of_days(month, year):
global number_of_days
if month == 1 or 3 or 5 or 7 or 8 or 10 or 12:
number_of_days = 31
elif month == 2:
if year % 100 == 0 and year % 400 != 0:
number_of_days = 28
elif year % 400 == 0:
number_of_days = 29
elif year % 100 != 0 and year % 4 == 0:
number_of_days = 29
elif year % 100 != 0 and year % 4 != 0:
number_of_days = 28
else:
number_of_days = 30
return number_of_days
get_sunday_count()
|
"""
Definition of SegmentTreeNode:
class SegmentTreeNode:
def __init__(self, start, end, max):
self.start, self.end, self.max = start, end, max
self.left, self.right = None, None
"""
class Solution:
"""
@param root: The root of segment tree.
@param start: start value.
@param end: end value.
@return: The maximum number in the interval [start, end]
"""
def query(self, root, start, end):
# write your code here
if root.start == root.end:
return root.max
mid = (root.start + root.end) // 2
# 按convmid和mid+1这两个segment tree分割的条件
if end <= mid:
return self.query(root.left, start,end)
elif start >= mid + 1:
return self.query(root.right, start,end)
else:
return max(self.query(root.left,start,mid),self.query(root.right,mid+1,end))
|
"""
0068. Text Justification
Hard
Given an array of words and a width maxWidth, format the text such that each line has exactly maxWidth characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad extra spaces ' ' when necessary so that each line has exactly maxWidth characters.
Extra spaces between words should be distributed as evenly as possible. If the number of spaces on a line do not divide evenly between words, the empty slots on the left will be assigned more spaces than the slots on the right.
For the last line of text, it should be left justified and no extra space is inserted between words.
Note:
A word is defined as a character sequence consisting of non-space characters only.
Each word's length is guaranteed to be greater than 0 and not exceed maxWidth.
The input array words contains at least one word.
Example 1:
Input: words = ["This", "is", "an", "example", "of", "text", "justification."], maxWidth = 16
Output:
[
"This is an",
"example of text",
"justification. "
]
Example 2:
Input: words = ["What","must","be","acknowledgment","shall","be"], maxWidth = 16
Output:
[
"What must be",
"acknowledgment ",
"shall be "
]
Explanation: Note that the last line is "shall be " instead of "shall be", because the last line must be left-justified instead of fully-justified.
Note that the second line is also left-justified becase it contains only one word.
Example 3:
Input: words = ["Science","is","what","we","understand","well","enough","to","explain","to","a","computer.","Art","is","everything","else","we","do"], maxWidth = 20
Output:
[
"Science is what we",
"understand well",
"enough to explain to",
"a computer. Art is",
"everything else we",
"do "
]
Constraints:
1 <= words.length <= 300
1 <= words[i].length <= 20
words[i] consists of only English letters and symbols.
1 <= maxWidth <= 100
words[i].length <= maxWidth
"""
class Solution:
def fullJustify(self, words: List[str], maxWidth: int) -> List[str]:
res, cur, num_of_letters = [], [], 0
for w in words:
if num_of_letters + len(w) + len(cur) > maxWidth:
for i in range(maxWidth - num_of_letters):
cur[i%(len(cur)-1 or 1)] += ' '
res.append(''.join(cur))
cur, num_of_letters = [], 0
cur += [w]
num_of_letters += len(w)
return res + [' '.join(cur).ljust(maxWidth)]
|
#
# PySNMP MIB module PCUBE-SE-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PCUBE-SE-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:11:29 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion")
pcubeWorkgroup, pcubeModules = mibBuilder.importSymbols("PCUBE-SMI", "pcubeWorkgroup", "pcubeModules")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance")
ObjectIdentity, Unsigned32, iso, Counter32, Counter64, Integer32, ModuleIdentity, TimeTicks, Gauge32, IpAddress, MibIdentifier, Bits, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "Unsigned32", "iso", "Counter32", "Counter64", "Integer32", "ModuleIdentity", "TimeTicks", "Gauge32", "IpAddress", "MibIdentifier", "Bits", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn")
TextualConvention, RowStatus, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString")
pcubeSeMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 5655, 2, 3))
pcubeSeMIB.setRevisions(('2006-11-07 00:00', '2006-05-10 00:00', '2006-02-12 00:00', '2005-08-16 00:00', '2004-12-12 00:00', '2004-07-01 00:00', '2003-07-02 00:00', '2003-01-05 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: pcubeSeMIB.setRevisionsDescriptions(('- Increased the supported range of global controllers (globalControllersIndex) from (1..255) to (1..2147483647) - Improved counter descriptions to reflect the counted layer for the following byte and bandwidth counters: txQueuesBandwidth txQueuesDroppedBytes globalControllersBandwidth globalControllersDroppedBytes ', "MIB revised as a part of integration into Cisco SNMP MIB standard, main changes: changed contaces, added OBJECT-GROUPs, added MODULE-COMPLIANCE, renamed with a prefix 'p' the following tables/objects to avoid conflict with existing Cisco MIbs: moduleGrp, moduleTable, moduleIndex, moduleType, moduleNumTrafficProcessors, moduleSlotNum, moduleHwVersion, moduleNumPorts, moduleNumLinks, moduleConnectionMode, moduleSerialNumber, moduleUpStreamAttackFilteringTime, moduleUpStreamLastAttackFilteringTime, moduleDownStreamAttackFilteringTime, moduleDownStreamLastAttackFilteringTime, moduleAttackObjectsClearTime , moduleAdminStatus, moduleOperStatus, chassisGrp chassisSysType, chassisPowerSupplyAlarm, chassisFansAlarm, chassisTempAlarm, chassisVoltageAlarm, chassisNumSlots, chassisSlotConfig, chassisPsuType, chassisLineFeedAlarm, portGrp, portTable, portModuleIndex, portIndex, portType, portNumTxQueues, portIfIndex, portAdminSpeed, portAdminDuplex, portOperDuplex, portLinkIndex, portOperStatus removed attackTypeTableClearTime counter, renamed Pcube to Cisco and SE to SCE.", 'Updates of OS version 3.0.3: added mplsVpnAutoLearning group containing mplsVpnSoftwareCountersTable and added mplsVpnTotalHWMappingsThresholdExceededTrap.', 'Updates of OS version 3.0.0: added vas group containing vasServerTable and added vasServerOpertionalStatusChangeTrap.', 'Updates of OS version 2.5.5: added rdrFormatterCategoryNumReportsQueued to the rdrFormatterCategoryTable in the RDR-formatter group, added subscribersNumAnonymous and subscribersNumWithSessions to subscriber info,Added the group attackGrp, containing attackTypeTable.', 'Updates of OS version 2.5: added tpServiceLoss to traffic processor group, added droppedBytes to Tx-Queue and global controller, added TpIpRanges to subscriber info,deprecated telnetSession* traps, replaced by session* traps.', 'Updates of OS version 1.5: added entries to the tpTable, added entries to the rdrFormatterGrp and rdrFormatterDestTable,added entries to the portTable and attack filter traps.', 'OS version 1.5 updates.',))
if mibBuilder.loadTexts: pcubeSeMIB.setLastUpdated('200611070000Z')
if mibBuilder.loadTexts: pcubeSeMIB.setOrganization('Cisco Systems, Inc.')
if mibBuilder.loadTexts: pcubeSeMIB.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: [email protected]')
if mibBuilder.loadTexts: pcubeSeMIB.setDescription("Main SNMP MIB for Cisco's SCE OS products such as SCE2000 and SE100. This MIB provides configuration and runtime status for chassis, control modules, and line modules on the SCOS systems.")
pcubeSEObjs = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1))
pcubeSeConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1))
pcubeSeGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1))
pcubeSeCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 2))
systemGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 1))
pchassisGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 2))
pmoduleGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3))
linkGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 4))
diskGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 5))
rdrFormatterGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6))
loggerGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 7))
subscribersGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8))
trafficProcessorGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9))
pportGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10))
txQueuesGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11))
globalControllersGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12))
applicationGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13))
trafficCountersGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 14))
attackGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 15))
vasTrafficForwardingGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 16))
mplsVpnAutoLearnGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 1, 17))
class LinkModeType(TextualConvention, Integer32):
description = 'The various modes of a link.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))
namedValues = NamedValues(("other", 1), ("bypass", 2), ("forwarding", 3), ("cutoff", 4), ("sniffing", 5))
sysOperationalStatus = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("boot", 2), ("operational", 3), ("warning", 4), ("failure", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysOperationalStatus.setStatus('current')
if mibBuilder.loadTexts: sysOperationalStatus.setDescription('Indicates the operational status of the system.')
sysFailureRecovery = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("operational", 2), ("nonOperational", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysFailureRecovery.setStatus('current')
if mibBuilder.loadTexts: sysFailureRecovery.setDescription('Indicates if the system should enter a Failure mode after abnormal boot.')
sysVersion = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysVersion.setStatus('current')
if mibBuilder.loadTexts: sysVersion.setDescription('The system version.')
pchassisSysType = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("sce1000", 2), ("se100", 3), ("sce2000", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pchassisSysType.setStatus('current')
if mibBuilder.loadTexts: pchassisSysType.setDescription('The chassis system type.')
pchassisPowerSupplyAlarm = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("off", 2), ("on", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pchassisPowerSupplyAlarm.setStatus('current')
if mibBuilder.loadTexts: pchassisPowerSupplyAlarm.setDescription("Indicates if the power supply to the chassis is normal. If the status is not 'ok' it means that one or more power supplies are not functional.")
pchassisFansAlarm = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("off", 2), ("on", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pchassisFansAlarm.setStatus('current')
if mibBuilder.loadTexts: pchassisFansAlarm.setDescription('Indicates if all the fans on the chassis are functional.')
pchassisTempAlarm = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("off", 2), ("on", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pchassisTempAlarm.setStatus('current')
if mibBuilder.loadTexts: pchassisTempAlarm.setDescription('The chassis temperature alarm status.')
pchassisVoltageAlarm = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 2, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("off", 2), ("on", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pchassisVoltageAlarm.setStatus('current')
if mibBuilder.loadTexts: pchassisVoltageAlarm.setDescription("The chassis internal voltage alarm status. If the alarm is 'on' it indicates that the voltage level of one or more HW units is not in the normal range.")
pchassisNumSlots = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 2, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pchassisNumSlots.setStatus('current')
if mibBuilder.loadTexts: pchassisNumSlots.setDescription('Indicates the number of slots in the chassis available for plug-in modules. This number counts slots that are already occupied as well as empty slots.')
pchassisSlotConfig = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 2, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pchassisSlotConfig.setStatus('current')
if mibBuilder.loadTexts: pchassisSlotConfig.setDescription('An indication of which slots in the chassis have modules inserted. This is an integer value with bits set to indicate configured modules. It can be interpreted as a sum of f(x) as x goes from 1 to the number of slots, where f(x) = 0 for no module inserted and f(x) = exp(2, x-1) for a module inserted.')
pchassisPsuType = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 2, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("ac", 2), ("dc", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pchassisPsuType.setStatus('current')
if mibBuilder.loadTexts: pchassisPsuType.setDescription('Indicates the type of the power supplies.')
pchassisLineFeedAlarm = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 2, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("off", 2), ("on", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pchassisLineFeedAlarm.setStatus('current')
if mibBuilder.loadTexts: pchassisLineFeedAlarm.setDescription("Indicates if the line feed to the chassis is normal. If the status is not 'ok' it means that one or more line feeds are not connected or have no power.")
pmoduleTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1), )
if mibBuilder.loadTexts: pmoduleTable.setStatus('current')
if mibBuilder.loadTexts: pmoduleTable.setDescription('A list of module entries. The number of entries is the number of modules in the chassis.')
pmoduleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pmoduleIndex"))
if mibBuilder.loadTexts: pmoduleEntry.setStatus('current')
if mibBuilder.loadTexts: pmoduleEntry.setDescription('Entry containing information about one module in the chassis.')
pmoduleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleIndex.setStatus('current')
if mibBuilder.loadTexts: pmoduleIndex.setDescription('A unique value for each module within the chassis.')
pmoduleType = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("other", 1), ("gbe2Module", 2), ("fe2Module", 3), ("gbe4Module", 4), ("fe4Module", 5), ("oc124Module", 6), ("fe8Module", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleType.setStatus('current')
if mibBuilder.loadTexts: pmoduleType.setDescription('The type of module.')
pmoduleNumTrafficProcessors = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleNumTrafficProcessors.setStatus('current')
if mibBuilder.loadTexts: pmoduleNumTrafficProcessors.setDescription('The number of traffic processors supported by this module.')
pmoduleSlotNum = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleSlotNum.setStatus('current')
if mibBuilder.loadTexts: pmoduleSlotNum.setDescription('This value is determined by the chassis slot number where this module is located. Valid entries are 1 to the value of chassisNumSlots.')
pmoduleHwVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleHwVersion.setStatus('current')
if mibBuilder.loadTexts: pmoduleHwVersion.setDescription('The hardware version of the module.')
pmoduleNumPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleNumPorts.setStatus('current')
if mibBuilder.loadTexts: pmoduleNumPorts.setDescription('The number of ports supported by this module.')
pmoduleNumLinks = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleNumLinks.setStatus('current')
if mibBuilder.loadTexts: pmoduleNumLinks.setDescription('The number of links carrying inband traffic that are supported by this module. Link is uniquely defined by the two ports that are at its end-points.')
pmoduleConnectionMode = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("inline", 2), ("receiveOnly", 3), ("inlineCascade", 4), ("receiveOnlyCascade", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleConnectionMode.setStatus('current')
if mibBuilder.loadTexts: pmoduleConnectionMode.setDescription('Indicates the connection mode of a module.')
pmoduleSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 9), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleSerialNumber.setStatus('current')
if mibBuilder.loadTexts: pmoduleSerialNumber.setDescription('Indicates the serial number of the module.')
pmoduleUpStreamAttackFilteringTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 10), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleUpStreamAttackFilteringTime.setStatus('current')
if mibBuilder.loadTexts: pmoduleUpStreamAttackFilteringTime.setDescription('Indicates the accumulated time which attack up-stream traffic was filtered.')
pmoduleUpStreamLastAttackFilteringTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 11), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleUpStreamLastAttackFilteringTime.setStatus('current')
if mibBuilder.loadTexts: pmoduleUpStreamLastAttackFilteringTime.setDescription('Indicates the time since the previous attack was filtered in the up-stream traffic.')
pmoduleDownStreamAttackFilteringTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 12), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleDownStreamAttackFilteringTime.setStatus('current')
if mibBuilder.loadTexts: pmoduleDownStreamAttackFilteringTime.setDescription('Indicates the accumulated time which attack down-stream traffic was filtered.')
pmoduleDownStreamLastAttackFilteringTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 13), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleDownStreamLastAttackFilteringTime.setStatus('current')
if mibBuilder.loadTexts: pmoduleDownStreamLastAttackFilteringTime.setDescription('Indicates the time since the previous attack was filtered in the down-stream traffic.')
pmoduleAttackObjectsClearTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 14), TimeTicks()).setUnits('milliseconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: pmoduleAttackObjectsClearTime.setStatus('current')
if mibBuilder.loadTexts: pmoduleAttackObjectsClearTime.setDescription('Indicates the time since the attack objects were cleared. Writing a 0 to this object causes the counters to be cleared.')
pmoduleAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("primary", 2), ("secondary", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleAdminStatus.setStatus('current')
if mibBuilder.loadTexts: pmoduleAdminStatus.setDescription('Indicates configuration of a module in respect to whether the module should handle traffic.')
pmoduleOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 3, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("active", 2), ("standby", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pmoduleOperStatus.setStatus('current')
if mibBuilder.loadTexts: pmoduleOperStatus.setDescription("Indicates current module's role in respect to whether the module handles traffic.")
linkTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 4, 1), )
if mibBuilder.loadTexts: linkTable.setStatus('current')
if mibBuilder.loadTexts: linkTable.setDescription('The Link table provides information regarding the configuration and status of the links that pass through the SE and carry inband traffic. The number of entries in this table is determined by the number of modules in the chassis and the number of links on each module.')
linkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 4, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "linkModuleIndex"), (0, "PCUBE-SE-MIB", "linkIndex"))
if mibBuilder.loadTexts: linkEntry.setStatus('current')
if mibBuilder.loadTexts: linkEntry.setDescription('Entry containing information about the Link.')
linkModuleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkModuleIndex.setStatus('current')
if mibBuilder.loadTexts: linkModuleIndex.setDescription('An index value that uniquely identifies the module where this link is located.')
linkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkIndex.setStatus('current')
if mibBuilder.loadTexts: linkIndex.setDescription('An index value that uniquely identifies this link within a module. Valid entries are 1 to the value of moduleNumLinks for this module.')
linkAdminModeOnActive = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 4, 1, 1, 3), LinkModeType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAdminModeOnActive.setStatus('current')
if mibBuilder.loadTexts: linkAdminModeOnActive.setDescription("The desired mode of the link when the module's operating status is Active and the module is not in boot or failure. The possible modes are bypass, forwarding and sniffing. In bypass mode the traffic is forwarded from one port to the other using an internal splitter. In forwarding mode the traffic is forwarded through the internal hardware and software modules of the SE. In sniffing mode the traffic is passed in the same manner as in bypass mode, however a copy of the traffic is made and analyzed internally in the box.")
linkAdminModeOnFailure = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 4, 1, 1, 4), LinkModeType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkAdminModeOnFailure.setStatus('current')
if mibBuilder.loadTexts: linkAdminModeOnFailure.setDescription("The desired mode of the link when the system's operational status is Failure. The possible modes are Bypass and Cutoff. In Bypass mode the traffic is forwarded from one port to the other using an internal splitter. In Cutoff mode the traffic is dropped by the SE.")
linkOperMode = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 4, 1, 1, 5), LinkModeType()).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkOperMode.setStatus('current')
if mibBuilder.loadTexts: linkOperMode.setDescription('The operational mode of the link. In Bypass mode the traffic is forwarded from one port to the other using an internal splitter. In Forwarding mode the traffic is forwarded through the internal software and hardware modules of the SCE. In Sniffing mode the traffic is forwarded in the same manner as in Bypass mode, however the traffic is passed through the internal software and hardware modules of the SCE for analyzing. in Cutoff mode the traffic is dropped by the SCE platform.')
linkStatusReflectionEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkStatusReflectionEnable.setStatus('current')
if mibBuilder.loadTexts: linkStatusReflectionEnable.setDescription('Indicates if failure of the physical link on one i/f should trigger the failure of the link on the other i/f.')
linkSubscriberSidePortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 4, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkSubscriberSidePortIndex.setStatus('current')
if mibBuilder.loadTexts: linkSubscriberSidePortIndex.setDescription('An index value that uniquely identifies this link with its related port that is connected to the subscriber side.')
linkNetworkSidePortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 4, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: linkNetworkSidePortIndex.setStatus('current')
if mibBuilder.loadTexts: linkNetworkSidePortIndex.setDescription('An index value that uniquely identifies this link with its related port that is connected to the network side.')
diskNumUsedBytes = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 5, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setUnits('bytes').setMaxAccess("readonly")
if mibBuilder.loadTexts: diskNumUsedBytes.setStatus('current')
if mibBuilder.loadTexts: diskNumUsedBytes.setDescription('The number of used bytes.')
diskNumFreeBytes = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 5, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setUnits('bytes').setMaxAccess("readonly")
if mibBuilder.loadTexts: diskNumFreeBytes.setStatus('current')
if mibBuilder.loadTexts: diskNumFreeBytes.setDescription('The number of free bytes.')
rdrFormatterEnable = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterEnable.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterEnable.setDescription('Indicates whether the RDR-formatter is enabled or disabled. When the RDR-formatter is enabled, it sends the reports it gets from the traffic processors to the Data Collector as defined in the rdrFormatterDestTable.')
rdrFormatterDestTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2), )
if mibBuilder.loadTexts: rdrFormatterDestTable.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestTable.setDescription('The RDR-formatter destinations table (0 to 3 entries). This table lists the addresses of Data Collectors. If the RDR-formatter is enabled, the destination with the highest priority that a TCP connection to it can be established would receive the reports generated by the traffic processors.')
rdrFormatterDestEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "rdrFormatterDestIPAddr"), (0, "PCUBE-SE-MIB", "rdrFormatterDestPort"))
if mibBuilder.loadTexts: rdrFormatterDestEntry.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestEntry.setDescription('A destination table entry.')
rdrFormatterDestIPAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2, 1, 1), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterDestIPAddr.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestIPAddr.setDescription('The IP address of a Data Collector.')
rdrFormatterDestPort = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterDestPort.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestPort.setDescription('The TCP port on which the Data Collector listens.')
rdrFormatterDestPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterDestPriority.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestPriority.setDescription('The priority given to the Data Collector. The active Data Collector is the Data Collector with the highest priority and a TCP connection that is up.')
rdrFormatterDestStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("active", 2), ("standby", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterDestStatus.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestStatus.setDescription("In 'redundancy(2)' and in 'simpleLoadBalancing(3)' rdrFormatterForwardingMode there can be only one 'active' destination, which is where the reports are currently being sent to. In 'multicast(4)' modes all destinations will receive the active(2) status.")
rdrFormatterDestConnectionStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("up", 2), ("down", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterDestConnectionStatus.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestConnectionStatus.setDescription('Indicates the status of TCP connection to this destination.')
rdrFormatterDestNumReportsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterDestNumReportsSent.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestNumReportsSent.setDescription('Indicates the number of reports sent by the RDR-formatter to this destination.')
rdrFormatterDestNumReportsDiscarded = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterDestNumReportsDiscarded.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestNumReportsDiscarded.setDescription(' Indicates the number of reports dropped by the RDR-formatter on this destination.')
rdrFormatterDestReportRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterDestReportRate.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestReportRate.setDescription('Indicates the rate of the reports (in reports per second) currently sent to this destination.')
rdrFormatterDestReportRatePeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterDestReportRatePeak.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestReportRatePeak.setDescription('Indicates the maximum report rate sent to this destination.')
rdrFormatterDestReportRatePeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 2, 1, 10), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterDestReportRatePeakTime.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterDestReportRatePeakTime.setDescription('Indicates the time since the rdrFormatterDestReportRatePeak value occurred.')
rdrFormatterNumReportsSent = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterNumReportsSent.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterNumReportsSent.setDescription('Indicates the number of reports sent by the RDR-formatter.')
rdrFormatterNumReportsDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterNumReportsDiscarded.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterNumReportsDiscarded.setDescription('Indicates the number of reports dropped by the RDR-formatter.')
rdrFormatterClearCountersTime = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 5), TimeTicks()).setUnits('milliseconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: rdrFormatterClearCountersTime.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterClearCountersTime.setDescription('The time since RDR-formatter counters were last cleared. Writing a 0 to this object causes the RDR-formatter counters to be cleared.')
rdrFormatterReportRate = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterReportRate.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterReportRate.setDescription('Indicates the rate of the reports (in reports per second) currently sent to all of the destinations.')
rdrFormatterReportRatePeak = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterReportRatePeak.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterReportRatePeak.setDescription('Indicates the maximum report rate sent to all of the destinations.')
rdrFormatterReportRatePeakTime = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 8), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterReportRatePeakTime.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterReportRatePeakTime.setDescription('Indicates the time since the rdrFormatterReportRatePeak value occurred.')
rdrFormatterProtocol = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("rdrv1", 2), ("rdrv2", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterProtocol.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterProtocol.setDescription('Indicates the RDR protocol currently in use.')
rdrFormatterForwardingMode = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("redundancy", 2), ("simpleLoadBalancing", 3), ("multicast", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterForwardingMode.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterForwardingMode.setDescription('Indicates the mode of how the RDR formatter sends the reports to its destinations.')
rdrFormatterCategoryTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 11), )
if mibBuilder.loadTexts: rdrFormatterCategoryTable.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryTable.setDescription('The RDR-formatter Category table. Describes the different categories of RDRs and RDR destination groups.')
rdrFormatterCategoryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 11, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "rdrFormatterCategoryIndex"))
if mibBuilder.loadTexts: rdrFormatterCategoryEntry.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryEntry.setDescription('A category table entry.')
rdrFormatterCategoryIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterCategoryIndex.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryIndex.setDescription('The category number.')
rdrFormatterCategoryName = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 11, 1, 2), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterCategoryName.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryName.setDescription('The name given to this category.')
rdrFormatterCategoryNumReportsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 11, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterCategoryNumReportsSent.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryNumReportsSent.setDescription('Indicates the number of reports sent by the RDR-formatter to this category.')
rdrFormatterCategoryNumReportsDiscarded = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 11, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterCategoryNumReportsDiscarded.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryNumReportsDiscarded.setDescription('Indicates the number of reports dropped by the RDR-formatter on this category.')
rdrFormatterCategoryReportRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 11, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterCategoryReportRate.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryReportRate.setDescription('Indicates the rate of the reports (in reports per second) currently sent to this category.')
rdrFormatterCategoryReportRatePeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 11, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterCategoryReportRatePeak.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryReportRatePeak.setDescription('Indicates the maximum report rate sent to this category.')
rdrFormatterCategoryReportRatePeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 11, 1, 7), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterCategoryReportRatePeakTime.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryReportRatePeakTime.setDescription('Indicates the time since the rdrFormatterCategoryReportRatePeak value occurred.')
rdrFormatterCategoryNumReportsQueued = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 11, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterCategoryNumReportsQueued.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryNumReportsQueued.setDescription('Indicates the amount of pending reports in this category.')
rdrFormatterCategoryDestTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 12), )
if mibBuilder.loadTexts: rdrFormatterCategoryDestTable.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryDestTable.setDescription('The RDR-formatter Category destinations table. This table lists the addresses of Data Collectors. If the RDR-formatter is enabled, the destination with the highest priority that a TCP connection to it can be established would receive the reports generated by the traffic processors.')
rdrFormatterCategoryDestEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 12, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "rdrFormatterCategoryIndex"), (0, "PCUBE-SE-MIB", "rdrFormatterDestIPAddr"), (0, "PCUBE-SE-MIB", "rdrFormatterDestPort"))
if mibBuilder.loadTexts: rdrFormatterCategoryDestEntry.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryDestEntry.setDescription('A destination table entry.')
rdrFormatterCategoryDestPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterCategoryDestPriority.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryDestPriority.setDescription('The priority given to the Data Collector for this category. The active Data Collector is the Data Collector with the highest priority and a TCP connection that is up.')
rdrFormatterCategoryDestStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 6, 12, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("active", 2), ("standby", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rdrFormatterCategoryDestStatus.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryDestStatus.setDescription("In modes 'redundancy(2)' and in 'simpleLoadBalancing(3)' there can be only one 'active' destination, which is the destination to which reports are being sent. In 'multicast(4)' modes all destination will receive the 'active(2)' status.")
loggerUserLogEnable = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 7, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: loggerUserLogEnable.setStatus('current')
if mibBuilder.loadTexts: loggerUserLogEnable.setDescription('Indicates whether the logging of user information is enabled or disabled.')
loggerUserLogNumInfo = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 7, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: loggerUserLogNumInfo.setStatus('current')
if mibBuilder.loadTexts: loggerUserLogNumInfo.setDescription('Indicates the number of Info messages logged into the user log file since last reboot or last time the counter was cleared.')
loggerUserLogNumWarning = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 7, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: loggerUserLogNumWarning.setStatus('current')
if mibBuilder.loadTexts: loggerUserLogNumWarning.setDescription('Indicates the number of Warning messages logged into the user log file since last reboot or last time the counter was cleared.')
loggerUserLogNumError = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 7, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: loggerUserLogNumError.setStatus('current')
if mibBuilder.loadTexts: loggerUserLogNumError.setDescription('Indicates the number of Error messages logged into the user log file since last reboot or last time the counter was cleared.')
loggerUserLogNumFatal = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 7, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: loggerUserLogNumFatal.setStatus('current')
if mibBuilder.loadTexts: loggerUserLogNumFatal.setDescription('Indicates the number of Fatal messages logged into the User-Log since last reboot or last time the counter was cleared.')
loggerUserLogClearCountersTime = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 1, 7, 6), TimeTicks()).setUnits('milliseconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: loggerUserLogClearCountersTime.setStatus('current')
if mibBuilder.loadTexts: loggerUserLogClearCountersTime.setDescription('The time since user log counters were last cleared. Writing a 0 to this object causes the user log counters to be cleared.')
subscribersInfoTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1), )
if mibBuilder.loadTexts: subscribersInfoTable.setStatus('current')
if mibBuilder.loadTexts: subscribersInfoTable.setDescription('The subscribers information table consists of data regarding subscribers management operations performed.')
subscribersInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pmoduleIndex"))
if mibBuilder.loadTexts: subscribersInfoEntry.setStatus('current')
if mibBuilder.loadTexts: subscribersInfoEntry.setDescription('A SubscribersInfoEntry entry.')
subscribersNumIntroduced = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumIntroduced.setStatus('current')
if mibBuilder.loadTexts: subscribersNumIntroduced.setDescription('Indicates the current number of subscribers introduced to the SCE. These subscribers may or may not have IP address or VLAN mappings. Subscribers who do not have mappings of any kind cannot be associated with traffic, thus will be served by the SCE according to the default settings. ')
subscribersNumFree = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumFree.setStatus('current')
if mibBuilder.loadTexts: subscribersNumFree.setDescription('Indicates the number of subscribers that may be introduced in addition to the subscribers that are already introduced to the SCE (subscribersNumIntroduced).')
subscribersNumIpAddrMappings = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumIpAddrMappings.setStatus('current')
if mibBuilder.loadTexts: subscribersNumIpAddrMappings.setDescription("Indicates the current number of 'IP address to subscriber' mappings.")
subscribersNumIpAddrMappingsFree = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumIpAddrMappingsFree.setStatus('current')
if mibBuilder.loadTexts: subscribersNumIpAddrMappingsFree.setDescription("Indicates the number of free 'IP address to subscriber' mappings that may be used for defining new mappings.")
subscribersNumIpRangeMappings = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumIpRangeMappings.setStatus('current')
if mibBuilder.loadTexts: subscribersNumIpRangeMappings.setDescription("Indicates the current number of 'IP-range to subscriber' mappings.")
subscribersNumIpRangeMappingsFree = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumIpRangeMappingsFree.setStatus('current')
if mibBuilder.loadTexts: subscribersNumIpRangeMappingsFree.setDescription("Indicates the number of free 'IP-range to subscriber' mappings that may be used for defining new mappings.")
subscribersNumVlanMappings = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumVlanMappings.setStatus('current')
if mibBuilder.loadTexts: subscribersNumVlanMappings.setDescription('Indicates the current number of VLAN to subscribers mappings.')
subscribersNumVlanMappingsFree = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumVlanMappingsFree.setStatus('current')
if mibBuilder.loadTexts: subscribersNumVlanMappingsFree.setDescription("Indicates the number of free 'VLAN to subscriber' mappings that may be used for defining new mappings.")
subscribersNumActive = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumActive.setStatus('current')
if mibBuilder.loadTexts: subscribersNumActive.setDescription('Indicates the current number of active subscribers, these subscribers necessarily have an IP address or VLAN mappings that define the traffic that should be associated and served according to the subscriber service agreement.')
subscribersNumActivePeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumActivePeak.setStatus('current')
if mibBuilder.loadTexts: subscribersNumActivePeak.setDescription('Indicates the peak value of subscribersNumActive since the last time it was cleared or the system started.')
subscribersNumActivePeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 11), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumActivePeakTime.setStatus('current')
if mibBuilder.loadTexts: subscribersNumActivePeakTime.setDescription('Indicates the time since the subscribersNumActivePeak value occurred.')
subscribersNumUpdates = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumUpdates.setStatus('current')
if mibBuilder.loadTexts: subscribersNumUpdates.setDescription('Indicates the accumulated number of subscribers database updates received by the SCE.')
subscribersCountersClearTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 13), TimeTicks()).setUnits('milliseconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: subscribersCountersClearTime.setStatus('current')
if mibBuilder.loadTexts: subscribersCountersClearTime.setDescription('Indicates the time since the subscribers counters were cleared. Writing a 0 to this object causes the counters to be cleared.')
subscribersNumTpIpRanges = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumTpIpRanges.setStatus('current')
if mibBuilder.loadTexts: subscribersNumTpIpRanges.setDescription("Indicates the current number of 'Traffic Processor IP ranges' used.")
subscribersNumTpIpRangesFree = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumTpIpRangesFree.setStatus('current')
if mibBuilder.loadTexts: subscribersNumTpIpRangesFree.setDescription("Indicates the number of free 'Traffic Processor IP ranges'.")
subscribersNumAnonymous = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 16), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumAnonymous.setStatus('current')
if mibBuilder.loadTexts: subscribersNumAnonymous.setDescription('Indicates the current number of anonymous subscribers.')
subscribersNumWithSessions = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 1, 1, 17), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subscribersNumWithSessions.setStatus('current')
if mibBuilder.loadTexts: subscribersNumWithSessions.setDescription('Indicates the current number of subscribers with open sessions.')
tpInfoTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1), )
if mibBuilder.loadTexts: tpInfoTable.setStatus('current')
if mibBuilder.loadTexts: tpInfoTable.setDescription('The Traffic Processor Info table consists of data regarding traffic handled by the traffic processors by classification of packets and flows.')
tpInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "tpModuleIndex"), (0, "PCUBE-SE-MIB", "tpIndex"))
if mibBuilder.loadTexts: tpInfoEntry.setStatus('current')
if mibBuilder.loadTexts: tpInfoEntry.setDescription('A tpInfoTable entry.')
tpModuleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpModuleIndex.setStatus('current')
if mibBuilder.loadTexts: tpModuleIndex.setDescription('An index value that uniquely identifies the module where this traffic processor is located.')
tpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpIndex.setStatus('current')
if mibBuilder.loadTexts: tpIndex.setDescription('An index value that uniquely identifies this traffic processor within a module. The value is determined by the location of the traffic processor on the module. Valid entries are 1 to the value of moduleNumTrafficProcessors for this module.')
tpTotalNumHandledPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumHandledPackets.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumHandledPackets.setDescription('Indicates the accumulated number of packets handled by this traffic processor since last reboot or last time this counter was cleared.')
tpTotalNumHandledFlows = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumHandledFlows.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumHandledFlows.setDescription('Indicates the accumulated number of flows handled by this traffic Processor since last reboot or last time this counter was cleared.')
tpNumActiveFlows = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumActiveFlows.setStatus('current')
if mibBuilder.loadTexts: tpNumActiveFlows.setDescription('Indicates the number of flows currently being handled by this traffic processor.')
tpNumActiveFlowsPeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumActiveFlowsPeak.setStatus('current')
if mibBuilder.loadTexts: tpNumActiveFlowsPeak.setDescription('Indicates the peak value of tpNumActiveFlows since the last time it was cleared or the system started.')
tpNumActiveFlowsPeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 7), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumActiveFlowsPeakTime.setStatus('current')
if mibBuilder.loadTexts: tpNumActiveFlowsPeakTime.setDescription('Indicates the time since the tpNumActiveFlowsPeak value occurred.')
tpNumTcpActiveFlows = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumTcpActiveFlows.setStatus('current')
if mibBuilder.loadTexts: tpNumTcpActiveFlows.setDescription('Indicates the number of TCP flows currently being handled by this traffic processor.')
tpNumTcpActiveFlowsPeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumTcpActiveFlowsPeak.setStatus('current')
if mibBuilder.loadTexts: tpNumTcpActiveFlowsPeak.setDescription('Indicates the peak value of tpNumTcpActiveFlows since the last time it was cleared or the system started.')
tpNumTcpActiveFlowsPeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 10), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumTcpActiveFlowsPeakTime.setStatus('current')
if mibBuilder.loadTexts: tpNumTcpActiveFlowsPeakTime.setDescription('Indicates the time since the tpNumTcpActiveFlowsPeak value occurred.')
tpNumUdpActiveFlows = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumUdpActiveFlows.setStatus('current')
if mibBuilder.loadTexts: tpNumUdpActiveFlows.setDescription('Indicates the number of UDP flows currently being handled by this traffic processor.')
tpNumUdpActiveFlowsPeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumUdpActiveFlowsPeak.setStatus('current')
if mibBuilder.loadTexts: tpNumUdpActiveFlowsPeak.setDescription('Indicates the peak value of tpNumUdpActiveFlows since the last time it was cleared or the system started.')
tpNumUdpActiveFlowsPeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 13), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumUdpActiveFlowsPeakTime.setStatus('current')
if mibBuilder.loadTexts: tpNumUdpActiveFlowsPeakTime.setDescription('Indicates the time since the tpNumUdpActiveFlowsPeak value occurred.')
tpNumNonTcpUdpActiveFlows = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumNonTcpUdpActiveFlows.setStatus('current')
if mibBuilder.loadTexts: tpNumNonTcpUdpActiveFlows.setDescription('Indicates the number of non TCP/UDP flows currently being handled by this traffic processor.')
tpNumNonTcpUdpActiveFlowsPeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumNonTcpUdpActiveFlowsPeak.setStatus('current')
if mibBuilder.loadTexts: tpNumNonTcpUdpActiveFlowsPeak.setDescription('Indicates the peak value of tpNumNonTcpUdpActiveFlows since the last time it was cleared or the system started.')
tpNumNonTcpUdpActiveFlowsPeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 16), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: tpNumNonTcpUdpActiveFlowsPeakTime.setStatus('current')
if mibBuilder.loadTexts: tpNumNonTcpUdpActiveFlowsPeakTime.setDescription('Indicates the time since the tpNumNonTcpUdpActiveFlowsPeak value occurred.')
tpTotalNumBlockedPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 17), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumBlockedPackets.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumBlockedPackets.setDescription('Indicates the accumulated number of packets discarded by this traffic processor according to application blocking rules.')
tpTotalNumBlockedFlows = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 18), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumBlockedFlows.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumBlockedFlows.setDescription('Indicates the accumulated number of flows discarded by this traffic processor according to application blocking rules.')
tpTotalNumDiscardedPacketsDueToBwLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 19), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumDiscardedPacketsDueToBwLimit.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumDiscardedPacketsDueToBwLimit.setDescription('Indicates the accumulated number of packets discarded by this traffic processor due to subscriber bandwidth limitations.')
tpTotalNumWredDiscardedPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 20), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumWredDiscardedPackets.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumWredDiscardedPackets.setDescription('Indicates the accumulated number of packets discarded by this traffic processor due to congestion in the queues.')
tpTotalNumFragments = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 21), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumFragments.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumFragments.setDescription('Indicates the accumulated number of fragmented packets handled by this traffic processor.')
tpTotalNumNonIpPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 22), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumNonIpPackets.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumNonIpPackets.setDescription('Indicates the accumulated number of non IP packets handled by this traffic processor.')
tpTotalNumIpCrcErrPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 23), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumIpCrcErrPackets.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumIpCrcErrPackets.setDescription('Indicates the accumulated number of packets with IP CRC error handled by this traffic processor.')
tpTotalNumIpLengthErrPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 24), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumIpLengthErrPackets.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumIpLengthErrPackets.setDescription('Indicates the accumulated number of packets with IP length error handled by this traffic processor.')
tpTotalNumIpBroadcastPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 25), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumIpBroadcastPackets.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumIpBroadcastPackets.setDescription('Indicates the accumulated number of IP broadcast packets handled by this traffic processor.')
tpTotalNumTtlErrPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 26), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumTtlErrPackets.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumTtlErrPackets.setDescription('Indicates the accumulated number of packets with TTL error handled by this traffic processor.')
tpTotalNumTcpUdpCrcErrPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 27), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpTotalNumTcpUdpCrcErrPackets.setStatus('current')
if mibBuilder.loadTexts: tpTotalNumTcpUdpCrcErrPackets.setDescription('Indicates the accumulated number of TCP/UDP packets with CRC error handled by this traffic processor.')
tpClearCountersTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 28), TimeTicks()).setUnits('milliseconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: tpClearCountersTime.setStatus('current')
if mibBuilder.loadTexts: tpClearCountersTime.setDescription('Indicates the time since the traffic processor statistics counters were last cleared. Writing a 0 to this object causes the traffic processor counters to be cleared.')
tpHandledPacketsRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 29), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpHandledPacketsRate.setStatus('current')
if mibBuilder.loadTexts: tpHandledPacketsRate.setDescription('Indicates the rate in packets per second of the packets handled by this traffic processor.')
tpHandledPacketsRatePeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 30), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpHandledPacketsRatePeak.setStatus('current')
if mibBuilder.loadTexts: tpHandledPacketsRatePeak.setDescription('Indicates the peak value of tpHandledPacketsRate since the last time it was cleared or the system started.')
tpHandledPacketsRatePeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 31), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: tpHandledPacketsRatePeakTime.setStatus('current')
if mibBuilder.loadTexts: tpHandledPacketsRatePeakTime.setDescription('Indicates the time since the tpHandledPacketsRatePeak value occurred.')
tpHandledFlowsRate = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 32), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpHandledFlowsRate.setStatus('current')
if mibBuilder.loadTexts: tpHandledFlowsRate.setDescription('Indicates the rate in flows opening per second of the flows handled by this traffic processor.')
tpHandledFlowsRatePeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 33), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpHandledFlowsRatePeak.setStatus('current')
if mibBuilder.loadTexts: tpHandledFlowsRatePeak.setDescription('Indicates the peak value of tpHandledFlowsRate since the last time it was cleared or the system started.')
tpHandledFlowsRatePeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 34), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: tpHandledFlowsRatePeakTime.setStatus('current')
if mibBuilder.loadTexts: tpHandledFlowsRatePeakTime.setDescription('Indicates the time since the tpHandledFlowsRatePeakTime value occurred.')
tpCpuUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpCpuUtilization.setStatus('current')
if mibBuilder.loadTexts: tpCpuUtilization.setDescription('Indicates the percentage of CPU utilization, updated once every 2 minutes.')
tpCpuUtilizationPeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 36), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpCpuUtilizationPeak.setStatus('current')
if mibBuilder.loadTexts: tpCpuUtilizationPeak.setDescription('Indicates the peak value of tpCpuUtilization since the last time it was cleared or the system started.')
tpCpuUtilizationPeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 37), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: tpCpuUtilizationPeakTime.setStatus('current')
if mibBuilder.loadTexts: tpCpuUtilizationPeakTime.setDescription('Indicates the time since the tpCpuUtilizationPeak value occurred.')
tpFlowsCapacityUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 38), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpFlowsCapacityUtilization.setStatus('current')
if mibBuilder.loadTexts: tpFlowsCapacityUtilization.setDescription('Indicates the percentage of flows capacity utilization.')
tpFlowsCapacityUtilizationPeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpFlowsCapacityUtilizationPeak.setStatus('current')
if mibBuilder.loadTexts: tpFlowsCapacityUtilizationPeak.setDescription('Indicates the peak value of tpFlowsCapacityUtilization since the last time it was cleared or the system started.')
tpFlowsCapacityUtilizationPeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 40), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: tpFlowsCapacityUtilizationPeakTime.setStatus('current')
if mibBuilder.loadTexts: tpFlowsCapacityUtilizationPeakTime.setDescription('Indicates the time since the tpFlowsCapacityUtilizationPeak value occurred.')
tpServiceLoss = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 9, 1, 1, 41), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: tpServiceLoss.setStatus('current')
if mibBuilder.loadTexts: tpServiceLoss.setDescription('Indicates the relative amount of service loss in this traffic Processor, in units of 0.001%, since last reboot or last time this counter was cleared.')
pportTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1), )
if mibBuilder.loadTexts: pportTable.setStatus('current')
if mibBuilder.loadTexts: pportTable.setDescription('A list of port entries. The number of entries is determined by the number of modules in the chassis and the number of ports on each module.')
pportEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pportModuleIndex"), (0, "PCUBE-SE-MIB", "pportIndex"))
if mibBuilder.loadTexts: pportEntry.setStatus('current')
if mibBuilder.loadTexts: pportEntry.setDescription('Entry containing information for a particular port on a module.')
pportModuleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pportModuleIndex.setStatus('current')
if mibBuilder.loadTexts: pportModuleIndex.setDescription('An index value that uniquely identifies the module where this port is located.')
pportIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pportIndex.setStatus('current')
if mibBuilder.loadTexts: pportIndex.setDescription('An index value that uniquely identifies this port within a module. The value is determined by the location of the port on the module. Valid entries are 1 to the value of moduleNumPorts for this module.')
pportType = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 11, 15, 28))).clone(namedValues=NamedValues(("other", 1), ("e100BaseTX", 11), ("e1000BaseT", 15), ("e1000BaseSX", 28)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pportType.setStatus('current')
if mibBuilder.loadTexts: pportType.setDescription('The type of physical layer medium dependent interface on the port.')
pportNumTxQueues = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pportNumTxQueues.setStatus('current')
if mibBuilder.loadTexts: pportNumTxQueues.setDescription('The number of transmit queues supported by this port.')
pportIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pportIfIndex.setStatus('current')
if mibBuilder.loadTexts: pportIfIndex.setDescription('The value of the instance of the ifIndex object, defined in MIB-II, for this port.')
pportAdminSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 10000000, 100000000, 1000000000))).clone(namedValues=NamedValues(("autoNegotiation", 1), ("s10000000", 10000000), ("s100000000", 100000000), ("s1000000000", 1000000000)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pportAdminSpeed.setStatus('current')
if mibBuilder.loadTexts: pportAdminSpeed.setDescription('The desired speed of the port. The current operational speed of the port can be determined from ifSpeed.')
pportAdminDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4))).clone(namedValues=NamedValues(("half", 1), ("full", 2), ("auto", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pportAdminDuplex.setStatus('current')
if mibBuilder.loadTexts: pportAdminDuplex.setDescription('The desired duplex of the port.')
pportOperDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("half", 1), ("full", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pportOperDuplex.setStatus('current')
if mibBuilder.loadTexts: pportOperDuplex.setDescription('Indicates whether the port is operating in half-duplex or full-duplex.')
pportLinkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pportLinkIndex.setStatus('current')
if mibBuilder.loadTexts: pportLinkIndex.setDescription('Indicates the linkIndex of the link that this port belongs to. Value of 0 indicates that this port is not associated with any link. Value of -1 indicates that this port is associated to multiple links.')
pportOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 10, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("up", 2), ("reflectionForcingDown", 3), ("redundancyForcingDown", 4), ("otherDown", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pportOperStatus.setStatus('current')
if mibBuilder.loadTexts: pportOperStatus.setDescription('Indicates the status of the port and if the port is down indicates the reason.')
txQueuesTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1), )
if mibBuilder.loadTexts: txQueuesTable.setStatus('current')
if mibBuilder.loadTexts: txQueuesTable.setDescription("This table consists of information on the SCE's transmit queues.")
txQueuesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "txQueuesModuleIndex"), (0, "PCUBE-SE-MIB", "txQueuesPortIndex"), (0, "PCUBE-SE-MIB", "txQueuesQueueIndex"))
if mibBuilder.loadTexts: txQueuesEntry.setStatus('current')
if mibBuilder.loadTexts: txQueuesEntry.setDescription('A txQueuesTable entry.')
txQueuesModuleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: txQueuesModuleIndex.setStatus('current')
if mibBuilder.loadTexts: txQueuesModuleIndex.setDescription('An index value that uniquely identifies the module where this queue is located.')
txQueuesPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: txQueuesPortIndex.setStatus('current')
if mibBuilder.loadTexts: txQueuesPortIndex.setDescription('An index value that uniquely identifies the port where this queue is located.')
txQueuesQueueIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: txQueuesQueueIndex.setStatus('current')
if mibBuilder.loadTexts: txQueuesQueueIndex.setDescription('An index value that uniquely identifies this queue within a port. The value is determined by the location of the queue on the port. Valid entries are 1 to the value of portNumTxQueues for this module.')
txQueuesDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: txQueuesDescription.setStatus('current')
if mibBuilder.loadTexts: txQueuesDescription.setDescription('Description of the transmit queue.')
txQueuesBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: txQueuesBandwidth.setStatus('current')
if mibBuilder.loadTexts: txQueuesBandwidth.setDescription('The bandwidth in L1 kbps configured for this queue.')
txQueuesUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: txQueuesUtilization.setStatus('current')
if mibBuilder.loadTexts: txQueuesUtilization.setDescription('The percentage of bandwidth utilization relative to the configured rate.')
txQueuesUtilizationPeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: txQueuesUtilizationPeak.setStatus('current')
if mibBuilder.loadTexts: txQueuesUtilizationPeak.setDescription('Indicates the peak value of txQueuesUtilization since the last time it was cleared or the system started.')
txQueuesUtilizationPeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1, 1, 8), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: txQueuesUtilizationPeakTime.setStatus('current')
if mibBuilder.loadTexts: txQueuesUtilizationPeakTime.setDescription('Indicates the time since the txQueuesUtilizationPeak value occurred.')
txQueuesClearCountersTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1, 1, 9), TimeTicks()).setUnits('milliseconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: txQueuesClearCountersTime.setStatus('current')
if mibBuilder.loadTexts: txQueuesClearCountersTime.setDescription('Indicates the time since the TX queues statistics counters were last cleared. Writing a 0 to this object causes the TX queues counters to be cleared.')
txQueuesDroppedBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 11, 1, 1, 10), Counter64()).setUnits('bytes').setMaxAccess("readonly")
if mibBuilder.loadTexts: txQueuesDroppedBytes.setStatus('current')
if mibBuilder.loadTexts: txQueuesDroppedBytes.setDescription('Amount of dropped L3 bytes. This is valid only if the system is configured to count dropped bytes per TX queue.')
globalControllersTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1), )
if mibBuilder.loadTexts: globalControllersTable.setStatus('current')
if mibBuilder.loadTexts: globalControllersTable.setDescription("This table consists of information on the SCE's Global Controllers. note: the globalControllersIndex and the SCE CLI configuration index have a offset of one i.e. 1 in the MIB refers to 0 in the CLI.")
globalControllersEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "globalControllersModuleIndex"), (0, "PCUBE-SE-MIB", "globalControllersPortIndex"), (0, "PCUBE-SE-MIB", "globalControllersIndex"))
if mibBuilder.loadTexts: globalControllersEntry.setStatus('current')
if mibBuilder.loadTexts: globalControllersEntry.setDescription('A globalControllersTable entry.')
globalControllersModuleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: globalControllersModuleIndex.setStatus('current')
if mibBuilder.loadTexts: globalControllersModuleIndex.setDescription('An index value that uniquely identifies the module where this controller is located.')
globalControllersPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: globalControllersPortIndex.setStatus('current')
if mibBuilder.loadTexts: globalControllersPortIndex.setDescription('An index value that uniquely identifies the port where this controller is located.')
globalControllersIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: globalControllersIndex.setStatus('current')
if mibBuilder.loadTexts: globalControllersIndex.setDescription('An index value that uniquely identifies this controller within a port.')
globalControllersDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: globalControllersDescription.setStatus('current')
if mibBuilder.loadTexts: globalControllersDescription.setDescription('Description of the controller.')
globalControllersBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000000))).setUnits('Kbps').setMaxAccess("readonly")
if mibBuilder.loadTexts: globalControllersBandwidth.setStatus('current')
if mibBuilder.loadTexts: globalControllersBandwidth.setDescription('The L1 bandwidth configured for this controller.')
globalControllersUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: globalControllersUtilization.setStatus('current')
if mibBuilder.loadTexts: globalControllersUtilization.setDescription('The percentage of bandwidth utilization relative to the configured rate.')
globalControllersUtilizationPeak = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: globalControllersUtilizationPeak.setStatus('current')
if mibBuilder.loadTexts: globalControllersUtilizationPeak.setDescription('Indicates the peak value of globalControllersUtilization since the last time it was cleared or the system started.')
globalControllersUtilizationPeakTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1, 1, 8), TimeTicks()).setUnits('milliseconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: globalControllersUtilizationPeakTime.setStatus('current')
if mibBuilder.loadTexts: globalControllersUtilizationPeakTime.setDescription('Indicates the time since the globalControllersUtilizationPeak value occurred.')
globalControllersClearCountersTime = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1, 1, 9), TimeTicks()).setUnits('milliseconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalControllersClearCountersTime.setStatus('current')
if mibBuilder.loadTexts: globalControllersClearCountersTime.setDescription('Indicates the time since the controllers statistics counters were last cleared. Writing a 0 to this object causes the controllers counters to be cleared.')
globalControllersDroppedBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 12, 1, 1, 10), Counter64()).setUnits('bytes').setMaxAccess("readonly")
if mibBuilder.loadTexts: globalControllersDroppedBytes.setStatus('current')
if mibBuilder.loadTexts: globalControllersDroppedBytes.setDescription('Amount of L3 dropped bytes. This is valid only if the system is configured to count dropped bytes per global controller.')
appInfoTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 1), )
if mibBuilder.loadTexts: appInfoTable.setStatus('current')
if mibBuilder.loadTexts: appInfoTable.setDescription("This table consists of information on the SCE's application.")
appInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pmoduleIndex"))
if mibBuilder.loadTexts: appInfoEntry.setStatus('current')
if mibBuilder.loadTexts: appInfoEntry.setDescription('A appInfoTable entry.')
appName = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 1, 1, 1), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: appName.setStatus('current')
if mibBuilder.loadTexts: appName.setDescription('The application name.')
appDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: appDescription.setStatus('current')
if mibBuilder.loadTexts: appDescription.setDescription('The application description.')
appVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: appVersion.setStatus('current')
if mibBuilder.loadTexts: appVersion.setDescription('The application version.')
appPropertiesTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 2), )
if mibBuilder.loadTexts: appPropertiesTable.setStatus('current')
if mibBuilder.loadTexts: appPropertiesTable.setDescription('The application properties table provides the list of properties available for the application. The table is cleared when the application is unloaded.')
appPropertiesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 2, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pmoduleIndex"), (0, "PCUBE-SE-MIB", "apIndex"))
if mibBuilder.loadTexts: appPropertiesEntry.setStatus('current')
if mibBuilder.loadTexts: appPropertiesEntry.setDescription('A appPropertiesTable entry.')
apIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apIndex.setStatus('current')
if mibBuilder.loadTexts: apIndex.setDescription('An index value that uniquely identify the property.')
apName = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 128))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apName.setStatus('current')
if mibBuilder.loadTexts: apName.setDescription('Application property name. Property can be either scalar or array type.')
apType = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 2, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apType.setStatus('current')
if mibBuilder.loadTexts: apType.setDescription('Application property type.')
appPropertiesValueTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 3), )
if mibBuilder.loadTexts: appPropertiesValueTable.setStatus('current')
if mibBuilder.loadTexts: appPropertiesValueTable.setDescription("The applications properties value table is used to provide specific values for the applications properties. An entry must be created by setting the entry's apvRowStatus object with createAndGo (4) before setting the name of the property requested. To specify the property set the apvPropertyName objects. The apvPropertyName must be one of the properties from the appPropertiesTable. To remove an entry set the apvRowStatus object with destroy (6). To poll the application property, poll the apvPropertyStringValue, apvPropertyUintValue, or apvPropertyCounter64Value object. The table is cleared when the application is unloaded.")
appPropertiesValueEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 3, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pmoduleIndex"), (0, "PCUBE-SE-MIB", "apvIndex"))
if mibBuilder.loadTexts: appPropertiesValueEntry.setStatus('current')
if mibBuilder.loadTexts: appPropertiesValueEntry.setDescription('A appPropertiesValueTable entry.')
apvIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1024)))
if mibBuilder.loadTexts: apvIndex.setStatus('current')
if mibBuilder.loadTexts: apvIndex.setDescription('Index to the table.')
apvPropertyName = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 3, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 128))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apvPropertyName.setStatus('current')
if mibBuilder.loadTexts: apvPropertyName.setDescription('A name that uniquely identifies the application property. Array type properties may be accessed each element at a time in C like format, e.g. x[1], or y[1][2].')
apvRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 3, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apvRowStatus.setStatus('current')
if mibBuilder.loadTexts: apvRowStatus.setDescription('This object controls creation of a table entry.')
apvPropertyStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 3, 1, 4), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apvPropertyStringValue.setStatus('current')
if mibBuilder.loadTexts: apvPropertyStringValue.setDescription('The value of the application property in display string format.')
apvPropertyUintValue = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 3, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apvPropertyUintValue.setStatus('current')
if mibBuilder.loadTexts: apvPropertyUintValue.setDescription("The value of the application property in unsigned integer. If the property can't be casted to unsigned integer this object returns zero.")
apvPropertyCounter64Value = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 13, 3, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apvPropertyCounter64Value.setStatus('current')
if mibBuilder.loadTexts: apvPropertyCounter64Value.setDescription("The value of the application property in Counter64 format. If the property can't be casted to Counter64, getting this object returns zero.")
subscribersPropertiesTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 2), )
if mibBuilder.loadTexts: subscribersPropertiesTable.setStatus('current')
if mibBuilder.loadTexts: subscribersPropertiesTable.setDescription('The subscribers properties table provides the list of properties available for each subscriber.')
subscribersPropertiesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 2, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pmoduleIndex"), (0, "PCUBE-SE-MIB", "spIndex"))
if mibBuilder.loadTexts: subscribersPropertiesEntry.setStatus('current')
if mibBuilder.loadTexts: subscribersPropertiesEntry.setDescription('A subscribersPropertiesTable entry.')
spIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: spIndex.setStatus('current')
if mibBuilder.loadTexts: spIndex.setDescription('An index value that uniquely identify the property.')
spName = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 2, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 128))).setMaxAccess("readonly")
if mibBuilder.loadTexts: spName.setStatus('current')
if mibBuilder.loadTexts: spName.setDescription('Subscriber property name.')
spType = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 2, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spType.setStatus('current')
if mibBuilder.loadTexts: spType.setDescription('Subscriber application property type in respect to: variable type (integer, boolean, string etc), number of elements (scalar or array) and restrictions if any exist.')
subscribersPropertiesValueTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 3), )
if mibBuilder.loadTexts: subscribersPropertiesValueTable.setStatus('current')
if mibBuilder.loadTexts: subscribersPropertiesValueTable.setDescription("The subscribers properties value table is used to provide subscriber properties values for subscribers introduced into the SCE. An entry must be created by setting the entry's spvRowStatus object with createAndGo (4) before setting any other of the entry's objects. To specify the subscriber's property set the spvSubName and spvPropertyName objects. The spvPropertyName must be one of the properties from the subscribersPropertiesTable. To remove an entry set the spvRowStatus object with destroy (6). To poll the subscriber property the manager need to poll the spvPropertyStringValue, the spvPropertyUintValue or the spvPropertyCounter64Value objects. The table is cleared when the application is unloaded.")
subscribersPropertiesValueEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 3, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pmoduleIndex"), (0, "PCUBE-SE-MIB", "spvIndex"))
if mibBuilder.loadTexts: subscribersPropertiesValueEntry.setStatus('current')
if mibBuilder.loadTexts: subscribersPropertiesValueEntry.setDescription('A subscribersPropertiesValueTable entry.')
spvIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4096)))
if mibBuilder.loadTexts: spvIndex.setStatus('current')
if mibBuilder.loadTexts: spvIndex.setDescription('A index to the table.')
spvSubName = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 3, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 40))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: spvSubName.setStatus('current')
if mibBuilder.loadTexts: spvSubName.setDescription('A name that uniquely identifies the subscriber.')
spvPropertyName = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 3, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 128))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: spvPropertyName.setStatus('current')
if mibBuilder.loadTexts: spvPropertyName.setDescription('A name that uniquely identifies the subscriber property. Array type properties may be accessed each element at a time in C like format, e.g. x[1], or y[1][2].')
spvRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 3, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: spvRowStatus.setStatus('current')
if mibBuilder.loadTexts: spvRowStatus.setDescription('This object controls creation of a table entry. Only setting the createAndGo (4) and destroy (6) will change the status of the entry.')
spvPropertyStringValue = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 3, 1, 5), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly")
if mibBuilder.loadTexts: spvPropertyStringValue.setStatus('current')
if mibBuilder.loadTexts: spvPropertyStringValue.setDescription('The value of the subscriber property in string format.')
spvPropertyUintValue = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 3, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: spvPropertyUintValue.setStatus('current')
if mibBuilder.loadTexts: spvPropertyUintValue.setDescription("The value of the subscriber property in unsigned integer. If the property can't be casted to unsigned integer this object returns zero.")
spvPropertyCounter64Value = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 8, 3, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spvPropertyCounter64Value.setStatus('current')
if mibBuilder.loadTexts: spvPropertyCounter64Value.setDescription("The value of the subscriber property in Counter64. If the property can't be casted to Counter64 this object returns zero.")
trafficCountersTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 14, 1), )
if mibBuilder.loadTexts: trafficCountersTable.setStatus('current')
if mibBuilder.loadTexts: trafficCountersTable.setDescription('The Traffic counters table provides information regarding the value of different the traffic counters.')
trafficCountersEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 14, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pmoduleIndex"), (0, "PCUBE-SE-MIB", "trafficCounterIndex"))
if mibBuilder.loadTexts: trafficCountersEntry.setStatus('current')
if mibBuilder.loadTexts: trafficCountersEntry.setDescription('Entry containing information about a traffic counter.')
trafficCounterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 14, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: trafficCounterIndex.setStatus('current')
if mibBuilder.loadTexts: trafficCounterIndex.setDescription('An index value that uniquely identifies the counter.')
trafficCounterValue = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 14, 1, 1, 2), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trafficCounterValue.setStatus('current')
if mibBuilder.loadTexts: trafficCounterValue.setDescription('A 64 bit counter value.')
trafficCounterName = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 14, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: trafficCounterName.setStatus('current')
if mibBuilder.loadTexts: trafficCounterName.setDescription('The name given to this counter.')
trafficCounterType = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 14, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("bytes", 2), ("packets", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: trafficCounterType.setStatus('current')
if mibBuilder.loadTexts: trafficCounterType.setDescription("Defines whether there the traffic counters counts by 'packets(3)' or by 'bytes(2)'.")
attackTypeTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 15, 1), )
if mibBuilder.loadTexts: attackTypeTable.setStatus('current')
if mibBuilder.loadTexts: attackTypeTable.setDescription('The Attack type table provides information regarding detected attacks, aggregated by attack type.')
attackTypeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 15, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pmoduleIndex"), (0, "PCUBE-SE-MIB", "attackTypeIndex"))
if mibBuilder.loadTexts: attackTypeEntry.setStatus('current')
if mibBuilder.loadTexts: attackTypeEntry.setDescription('Entry containing aggregated information about attacks of a given type.')
attackTypeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 15, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: attackTypeIndex.setStatus('current')
if mibBuilder.loadTexts: attackTypeIndex.setDescription('An index value that uniquely identifies the attack type.')
attackTypeName = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 15, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: attackTypeName.setStatus('current')
if mibBuilder.loadTexts: attackTypeName.setDescription('The name of this attack type.')
attackTypeCurrentNumAttacks = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 15, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: attackTypeCurrentNumAttacks.setStatus('current')
if mibBuilder.loadTexts: attackTypeCurrentNumAttacks.setDescription('The current amount of attacks detected of this type.')
attackTypeTotalNumAttacks = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 15, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: attackTypeTotalNumAttacks.setStatus('current')
if mibBuilder.loadTexts: attackTypeTotalNumAttacks.setDescription('The total amount of attacks detected of this type since last clear.')
attackTypeTotalNumFlows = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 15, 1, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: attackTypeTotalNumFlows.setStatus('current')
if mibBuilder.loadTexts: attackTypeTotalNumFlows.setDescription('The total amount of flows in attacks detected of this type since last clear.')
attackTypeTotalNumSeconds = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 15, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setUnits('Seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: attackTypeTotalNumSeconds.setStatus('current')
if mibBuilder.loadTexts: attackTypeTotalNumSeconds.setDescription('The total duration of attacks detected of this type since last clear.')
vasServerTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 16, 1), )
if mibBuilder.loadTexts: vasServerTable.setStatus('current')
if mibBuilder.loadTexts: vasServerTable.setDescription('The VAS server Table provides information on each VAS server operational status.')
vasServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 16, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pmoduleIndex"), (0, "PCUBE-SE-MIB", "vasServerIndex"))
if mibBuilder.loadTexts: vasServerEntry.setStatus('current')
if mibBuilder.loadTexts: vasServerEntry.setDescription('Entry containing information about VAS server status.')
vasServerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 16, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vasServerIndex.setStatus('current')
if mibBuilder.loadTexts: vasServerIndex.setDescription('An index value that uniquely identifies a VAS server.')
vasServerId = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 16, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vasServerId.setStatus('current')
if mibBuilder.loadTexts: vasServerId.setDescription('The ID of the VAS server.')
vasServerAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 16, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("up", 2), ("down", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vasServerAdminStatus.setStatus('current')
if mibBuilder.loadTexts: vasServerAdminStatus.setDescription('Indicates only the administrative status of the VAS sever, in order to activate a server it should be also configured with a VLAN and a group.')
vasServerOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 16, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("up", 2), ("down", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vasServerOperStatus.setStatus('current')
if mibBuilder.loadTexts: vasServerOperStatus.setDescription('Indicates the operational status of the VAS sever.')
mplsVpnSoftwareCountersTable = MibTable((1, 3, 6, 1, 4, 1, 5655, 4, 1, 17, 1), )
if mibBuilder.loadTexts: mplsVpnSoftwareCountersTable.setStatus('current')
if mibBuilder.loadTexts: mplsVpnSoftwareCountersTable.setDescription('The MPLS VPN software counters table provides information on various system software counters related to MPLS VPN auto learn.')
mplsVpnSoftwareCountersEntry = MibTableRow((1, 3, 6, 1, 4, 1, 5655, 4, 1, 17, 1, 1), ).setIndexNames((0, "PCUBE-SE-MIB", "pmoduleIndex"))
if mibBuilder.loadTexts: mplsVpnSoftwareCountersEntry.setStatus('current')
if mibBuilder.loadTexts: mplsVpnSoftwareCountersEntry.setDescription('Entry containing information about MPLS VPN auto learn SW counters.')
mplsVpnMaxHWMappings = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 17, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: mplsVpnMaxHWMappings.setStatus('current')
if mibBuilder.loadTexts: mplsVpnMaxHWMappings.setDescription('The maximum number of MPLS VPN mappings supported by HW (including all kinds of mappings).')
mplsVpnCurrentHWMappings = MibTableColumn((1, 3, 6, 1, 4, 1, 5655, 4, 1, 17, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000))).setMaxAccess("readonly")
if mibBuilder.loadTexts: mplsVpnCurrentHWMappings.setStatus('current')
if mibBuilder.loadTexts: mplsVpnCurrentHWMappings.setDescription('The current number of HW MPLS VPN mappings in use.')
pcubeSeEventsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 3)).setObjects(("PCUBE-SE-MIB", "operationalStatusOperationalTrap"), ("PCUBE-SE-MIB", "operationalStatusWarningTrap"), ("PCUBE-SE-MIB", "operationalStatusFailureTrap"), ("PCUBE-SE-MIB", "systemResetTrap"), ("PCUBE-SE-MIB", "chassisTempAlarmOnTrap"), ("PCUBE-SE-MIB", "chassisTempAlarmOffTrap"), ("PCUBE-SE-MIB", "chassisVoltageAlarmOnTrap"), ("PCUBE-SE-MIB", "chassisFansAlarmOnTrap"), ("PCUBE-SE-MIB", "chassisPowerSupplyAlarmOnTrap"), ("PCUBE-SE-MIB", "rdrActiveConnectionTrap"), ("PCUBE-SE-MIB", "rdrNoActiveConnectionTrap"), ("PCUBE-SE-MIB", "rdrConnectionUpTrap"), ("PCUBE-SE-MIB", "rdrConnectionDownTrap"), ("PCUBE-SE-MIB", "telnetSessionStartedTrap"), ("PCUBE-SE-MIB", "telnetSessionEndedTrap"), ("PCUBE-SE-MIB", "telnetSessionDeniedAccessTrap"), ("PCUBE-SE-MIB", "telnetSessionBadLoginTrap"), ("PCUBE-SE-MIB", "loggerUserLogIsFullTrap"), ("PCUBE-SE-MIB", "sntpClockDriftWarnTrap"), ("PCUBE-SE-MIB", "linkModeBypassTrap"), ("PCUBE-SE-MIB", "linkModeForwardingTrap"), ("PCUBE-SE-MIB", "linkModeCutoffTrap"), ("PCUBE-SE-MIB", "moduleAttackFilterActivatedTrap"), ("PCUBE-SE-MIB", "moduleAttackFilterDeactivatedTrap"), ("PCUBE-SE-MIB", "moduleEmAgentGenericTrap"), ("PCUBE-SE-MIB", "linkModeSniffingTrap"), ("PCUBE-SE-MIB", "moduleRedundancyReadyTrap"), ("PCUBE-SE-MIB", "moduleRedundantConfigurationMismatchTrap"), ("PCUBE-SE-MIB", "moduleLostRedundancyTrap"), ("PCUBE-SE-MIB", "moduleSmConnectionDownTrap"), ("PCUBE-SE-MIB", "moduleSmConnectionUpTrap"), ("PCUBE-SE-MIB", "moduleOperStatusChangeTrap"), ("PCUBE-SE-MIB", "portOperStatusChangeTrap"), ("PCUBE-SE-MIB", "chassisLineFeedAlarmOnTrap"), ("PCUBE-SE-MIB", "rdrFormatterCategoryDiscardingReportsTrap"), ("PCUBE-SE-MIB", "rdrFormatterCategoryStoppedDiscardingReportsTrap"), ("PCUBE-SE-MIB", "sessionStartedTrap"), ("PCUBE-SE-MIB", "sessionEndedTrap"), ("PCUBE-SE-MIB", "sessionDeniedAccessTrap"), ("PCUBE-SE-MIB", "sessionBadLoginTrap"), ("PCUBE-SE-MIB", "illegalSubscriberMappingTrap"), ("PCUBE-SE-MIB", "loggerLineAttackLogFullTrap"), ("PCUBE-SE-MIB", "vasServerOpertionalStatusChangeTrap"), ("PCUBE-SE-MIB", "pullRequestRetryFailedTrap"), ("PCUBE-SE-MIB", "mplsVpnTotalHWMappingsThresholdExceededTrap"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeSeEventsGroup = pcubeSeEventsGroup.setStatus('deprecated')
if mibBuilder.loadTexts: pcubeSeEventsGroup.setDescription('Pcube notifications. Contains deprecated objects.')
pcubeSeEventsGroupRev1 = NotificationGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 4)).setObjects(("PCUBE-SE-MIB", "operationalStatusOperationalTrap"), ("PCUBE-SE-MIB", "operationalStatusWarningTrap"), ("PCUBE-SE-MIB", "operationalStatusFailureTrap"), ("PCUBE-SE-MIB", "systemResetTrap"), ("PCUBE-SE-MIB", "chassisTempAlarmOnTrap"), ("PCUBE-SE-MIB", "chassisTempAlarmOffTrap"), ("PCUBE-SE-MIB", "chassisVoltageAlarmOnTrap"), ("PCUBE-SE-MIB", "chassisFansAlarmOnTrap"), ("PCUBE-SE-MIB", "chassisPowerSupplyAlarmOnTrap"), ("PCUBE-SE-MIB", "rdrActiveConnectionTrap"), ("PCUBE-SE-MIB", "rdrNoActiveConnectionTrap"), ("PCUBE-SE-MIB", "rdrConnectionUpTrap"), ("PCUBE-SE-MIB", "rdrConnectionDownTrap"), ("PCUBE-SE-MIB", "loggerUserLogIsFullTrap"), ("PCUBE-SE-MIB", "sntpClockDriftWarnTrap"), ("PCUBE-SE-MIB", "linkModeBypassTrap"), ("PCUBE-SE-MIB", "linkModeForwardingTrap"), ("PCUBE-SE-MIB", "linkModeCutoffTrap"), ("PCUBE-SE-MIB", "moduleAttackFilterActivatedTrap"), ("PCUBE-SE-MIB", "moduleAttackFilterDeactivatedTrap"), ("PCUBE-SE-MIB", "moduleEmAgentGenericTrap"), ("PCUBE-SE-MIB", "linkModeSniffingTrap"), ("PCUBE-SE-MIB", "moduleRedundancyReadyTrap"), ("PCUBE-SE-MIB", "moduleRedundantConfigurationMismatchTrap"), ("PCUBE-SE-MIB", "moduleLostRedundancyTrap"), ("PCUBE-SE-MIB", "moduleSmConnectionDownTrap"), ("PCUBE-SE-MIB", "moduleSmConnectionUpTrap"), ("PCUBE-SE-MIB", "moduleOperStatusChangeTrap"), ("PCUBE-SE-MIB", "portOperStatusChangeTrap"), ("PCUBE-SE-MIB", "chassisLineFeedAlarmOnTrap"), ("PCUBE-SE-MIB", "rdrFormatterCategoryDiscardingReportsTrap"), ("PCUBE-SE-MIB", "rdrFormatterCategoryStoppedDiscardingReportsTrap"), ("PCUBE-SE-MIB", "sessionStartedTrap"), ("PCUBE-SE-MIB", "sessionEndedTrap"), ("PCUBE-SE-MIB", "sessionDeniedAccessTrap"), ("PCUBE-SE-MIB", "sessionBadLoginTrap"), ("PCUBE-SE-MIB", "illegalSubscriberMappingTrap"), ("PCUBE-SE-MIB", "loggerLineAttackLogFullTrap"), ("PCUBE-SE-MIB", "vasServerOpertionalStatusChangeTrap"), ("PCUBE-SE-MIB", "pullRequestRetryFailedTrap"), ("PCUBE-SE-MIB", "mplsVpnTotalHWMappingsThresholdExceededTrap"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeSeEventsGroupRev1 = pcubeSeEventsGroupRev1.setStatus('current')
if mibBuilder.loadTexts: pcubeSeEventsGroupRev1.setDescription('Pcube notifications.')
pcubeSeEvents = MibIdentifier((1, 3, 6, 1, 4, 1, 5655, 4, 0))
operationalStatusOperationalTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 1)).setObjects(("PCUBE-SE-MIB", "sysOperationalStatus"))
if mibBuilder.loadTexts: operationalStatusOperationalTrap.setStatus('current')
if mibBuilder.loadTexts: operationalStatusOperationalTrap.setDescription("OperationalStatusOperational notification signifies that the agent entity has detected the sysOperationalStatus object in this MIB has changed to 'operational(3)'.")
operationalStatusWarningTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 2)).setObjects(("PCUBE-SE-MIB", "sysOperationalStatus"))
if mibBuilder.loadTexts: operationalStatusWarningTrap.setStatus('current')
if mibBuilder.loadTexts: operationalStatusWarningTrap.setDescription("OperationalStatusWarning notification signifies that the agent entity has detected the sysOperationalStatus object in this MIB has changed to 'warning(4)'.")
operationalStatusFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 3)).setObjects(("PCUBE-SE-MIB", "sysOperationalStatus"))
if mibBuilder.loadTexts: operationalStatusFailureTrap.setStatus('current')
if mibBuilder.loadTexts: operationalStatusFailureTrap.setDescription("OperationalStatusFailure notification signifies that the agent entity has detected the sysOperationalStatus object in this MIB has changed to 'failure(5)'.")
systemResetTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 4))
if mibBuilder.loadTexts: systemResetTrap.setStatus('current')
if mibBuilder.loadTexts: systemResetTrap.setDescription("A systemReset notification signifies that the agent entity is about to reset itself either per user's request or due to a fatal event.")
chassisTempAlarmOnTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 5)).setObjects(("PCUBE-SE-MIB", "pchassisTempAlarm"))
if mibBuilder.loadTexts: chassisTempAlarmOnTrap.setStatus('current')
if mibBuilder.loadTexts: chassisTempAlarmOnTrap.setDescription("A chassisTempAlarmOn notification signifies that the agent entity has detected the chassisTempAlarm object in this MIB has changed to the 'on(3)' state (temperature is too high).")
chassisTempAlarmOffTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 6)).setObjects(("PCUBE-SE-MIB", "pchassisTempAlarm"))
if mibBuilder.loadTexts: chassisTempAlarmOffTrap.setStatus('current')
if mibBuilder.loadTexts: chassisTempAlarmOffTrap.setDescription("A chassisTempAlarmOff notification signifies that the agent entity has detected the chassisTempAlarm object in this MIB has changed to the 'off(2)' state (temperature level is back to normal).")
chassisVoltageAlarmOnTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 7)).setObjects(("PCUBE-SE-MIB", "pchassisVoltageAlarm"))
if mibBuilder.loadTexts: chassisVoltageAlarmOnTrap.setStatus('current')
if mibBuilder.loadTexts: chassisVoltageAlarmOnTrap.setDescription("A chassisVoltageAlarmOn notification signifies that the agent entity has detected the chassisVoltageAlarm object in this MIB has changed to the 'on(3)' state (voltage level is too high).")
chassisFansAlarmOnTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 8)).setObjects(("PCUBE-SE-MIB", "pchassisFansAlarm"))
if mibBuilder.loadTexts: chassisFansAlarmOnTrap.setStatus('current')
if mibBuilder.loadTexts: chassisFansAlarmOnTrap.setDescription("A chassisFanStatusFailure notification signifies that the agent entity has detected the chassisFansAlarm object in this MIB has changed to the 'on(3)' state.")
chassisPowerSupplyAlarmOnTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 9)).setObjects(("PCUBE-SE-MIB", "pchassisPowerSupplyAlarm"))
if mibBuilder.loadTexts: chassisPowerSupplyAlarmOnTrap.setStatus('current')
if mibBuilder.loadTexts: chassisPowerSupplyAlarmOnTrap.setDescription("A chassisPsuStatusFailure notification signifies that the agent entity has detected the chassisPowerSupplyAlarm object in this MIB has changed to the 'on(3)' state.")
rdrActiveConnectionTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 10)).setObjects(("PCUBE-SE-MIB", "rdrFormatterDestIPAddr"), ("PCUBE-SE-MIB", "rdrFormatterDestStatus"))
if mibBuilder.loadTexts: rdrActiveConnectionTrap.setStatus('current')
if mibBuilder.loadTexts: rdrActiveConnectionTrap.setDescription("RdrConnectionDestTypeActive notification signifies that the agent entity has detected the rdrFormatterDestStatus object in this MIB has changed to the 'active(2)' state.")
rdrNoActiveConnectionTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 11))
if mibBuilder.loadTexts: rdrNoActiveConnectionTrap.setStatus('current')
if mibBuilder.loadTexts: rdrNoActiveConnectionTrap.setDescription('A rdrNoActiveConnection notification signifies that the agent entity has detected there is no active connection between the RDR-formatter and any Data Collector.')
rdrConnectionUpTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 12)).setObjects(("PCUBE-SE-MIB", "rdrFormatterDestIPAddr"), ("PCUBE-SE-MIB", "rdrFormatterDestConnectionStatus"))
if mibBuilder.loadTexts: rdrConnectionUpTrap.setStatus('current')
if mibBuilder.loadTexts: rdrConnectionUpTrap.setDescription("RdrConnectionStatusUp notification signifies that the agent entity has detected the rdrFormatterDestConnectionStatus object in this MIB has changed to 'up(2)'.")
rdrConnectionDownTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 13)).setObjects(("PCUBE-SE-MIB", "rdrFormatterDestIPAddr"), ("PCUBE-SE-MIB", "rdrFormatterDestConnectionStatus"))
if mibBuilder.loadTexts: rdrConnectionDownTrap.setStatus('current')
if mibBuilder.loadTexts: rdrConnectionDownTrap.setDescription("RdrConnectionStatusDown notification signifies that the agent entity has detected the rdrFormatterDestConnectionStatus object in this MIB has changed to 'down(3)'.")
telnetSessionStartedTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 14))
if mibBuilder.loadTexts: telnetSessionStartedTrap.setStatus('deprecated')
if mibBuilder.loadTexts: telnetSessionStartedTrap.setDescription('Replaced by the more generic sessionStartedTrap.')
telnetSessionEndedTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 15))
if mibBuilder.loadTexts: telnetSessionEndedTrap.setStatus('deprecated')
if mibBuilder.loadTexts: telnetSessionEndedTrap.setDescription('Replaced by the more generic sessionEndedTrap.')
telnetSessionDeniedAccessTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 16))
if mibBuilder.loadTexts: telnetSessionDeniedAccessTrap.setStatus('deprecated')
if mibBuilder.loadTexts: telnetSessionDeniedAccessTrap.setDescription('Replaced by the more generic sessionDeniedAccessTrap.')
telnetSessionBadLoginTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 17))
if mibBuilder.loadTexts: telnetSessionBadLoginTrap.setStatus('deprecated')
if mibBuilder.loadTexts: telnetSessionBadLoginTrap.setDescription('Replaced by the more generic sessionBadLoginTrap.')
loggerUserLogIsFullTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 18))
if mibBuilder.loadTexts: loggerUserLogIsFullTrap.setStatus('current')
if mibBuilder.loadTexts: loggerUserLogIsFullTrap.setDescription('A loggerUserLogIsFull notification signifies that the agent entity has detected the User log file is full. In such case the agent entity rolls to the next file.')
sntpClockDriftWarnTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 19))
if mibBuilder.loadTexts: sntpClockDriftWarnTrap.setStatus('current')
if mibBuilder.loadTexts: sntpClockDriftWarnTrap.setDescription("An sntpClockDriftWarn notification signifies that the entity's SNTP agent did not receive time update for a long period, this may cause a time drift.")
linkModeBypassTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 20)).setObjects(("PCUBE-SE-MIB", "linkOperMode"))
if mibBuilder.loadTexts: linkModeBypassTrap.setStatus('current')
if mibBuilder.loadTexts: linkModeBypassTrap.setDescription("A linkModeBypass notification signifies that the agent entity has detected that the linkOperMode object in this MIB has changed to 'bypass(2)'.")
linkModeForwardingTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 21)).setObjects(("PCUBE-SE-MIB", "linkOperMode"))
if mibBuilder.loadTexts: linkModeForwardingTrap.setStatus('current')
if mibBuilder.loadTexts: linkModeForwardingTrap.setDescription("A linkModeForwarding notification signifies that the agent entity has detected that the linkOperMode object in this MIB has changed to 'forwarding(3)'.")
linkModeCutoffTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 22)).setObjects(("PCUBE-SE-MIB", "linkOperMode"))
if mibBuilder.loadTexts: linkModeCutoffTrap.setStatus('current')
if mibBuilder.loadTexts: linkModeCutoffTrap.setDescription("A linkModeCutoff notification signifies that the agent entity has detected that the linkOperMode object in this MIB has changed to 'cutoff(4)'.")
pcubeSeEventGenericString1 = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 0, 23), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pcubeSeEventGenericString1.setStatus('current')
if mibBuilder.loadTexts: pcubeSeEventGenericString1.setDescription('Temporary string used for traps. Always returns an empty string.')
pcubeSeEventGenericString2 = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 0, 24), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: pcubeSeEventGenericString2.setStatus('current')
if mibBuilder.loadTexts: pcubeSeEventGenericString2.setDescription('Temporary string used for traps. Always returns an empty string.')
moduleAttackFilterActivatedTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 25)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"), ("PCUBE-SE-MIB", "pcubeSeEventGenericString1"))
if mibBuilder.loadTexts: moduleAttackFilterActivatedTrap.setStatus('current')
if mibBuilder.loadTexts: moduleAttackFilterActivatedTrap.setDescription("A moduleAttackFilterActivated notification signifies that the agent entity's attack filter module has activated a filter. The pcubeSeEventGenericString1 is the type of attack-filter, which was activated.")
moduleAttackFilterDeactivatedTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 26)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"), ("PCUBE-SE-MIB", "pcubeSeEventGenericString1"), ("PCUBE-SE-MIB", "pcubeSeEventGenericString2"))
if mibBuilder.loadTexts: moduleAttackFilterDeactivatedTrap.setStatus('current')
if mibBuilder.loadTexts: moduleAttackFilterDeactivatedTrap.setDescription("A portAttackFilterDeactivated notification signifies that the agent entity's attack filter module has removed a filter that was previously activated. The pcubeSeEventGenericString1 is the attack-filter type, which was sent in the corresponding moduleAttackFilterActivatedTrap. the pcubeSeEventGenericString2 is the reason for deactivating the filter.")
moduleEmAgentGenericTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 27)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"), ("PCUBE-SE-MIB", "pcubeSeEventGenericString1"), ("PCUBE-SE-MIB", "pcubeSeEventGenericString2"))
if mibBuilder.loadTexts: moduleEmAgentGenericTrap.setStatus('current')
if mibBuilder.loadTexts: moduleEmAgentGenericTrap.setDescription('A generic notification used by the P-Cube EM agent. pcubeSeEventGenericString1 specifies what notification is it, and pcubeSeEventGenericString2 is the relevant parameter.')
linkModeSniffingTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 28)).setObjects(("PCUBE-SE-MIB", "linkOperMode"))
if mibBuilder.loadTexts: linkModeSniffingTrap.setStatus('current')
if mibBuilder.loadTexts: linkModeSniffingTrap.setDescription("A linkModeSniffing notification signifies that the agent entity has detected that the linkOperMode object in this MIB has changed to 'sniffing(5)'.")
moduleRedundancyReadyTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 29)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"), ("PCUBE-SE-MIB", "pmoduleOperStatus"))
if mibBuilder.loadTexts: moduleRedundancyReadyTrap.setStatus('current')
if mibBuilder.loadTexts: moduleRedundancyReadyTrap.setDescription('A moduleRedundancyReady notification signifies that the module was able to connect and synchronize with a redundant entity, and is now ready to handle fail-over if needed.')
moduleRedundantConfigurationMismatchTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 30)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"))
if mibBuilder.loadTexts: moduleRedundantConfigurationMismatchTrap.setStatus('current')
if mibBuilder.loadTexts: moduleRedundantConfigurationMismatchTrap.setDescription('A moduleRedundantConfigurationMismatch notification signifies that the module was not able to synchronize with a redundant entity, due to a essential configuration parameters that are do not match between the module and the redundant entity.')
moduleLostRedundancyTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 31)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"), ("PCUBE-SE-MIB", "pmoduleOperStatus"))
if mibBuilder.loadTexts: moduleLostRedundancyTrap.setStatus('current')
if mibBuilder.loadTexts: moduleLostRedundancyTrap.setDescription('A moduleLostRedundancy notification signifies that the module has lost the ability to perform the fail-over procedure.')
moduleSmConnectionDownTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 32)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"))
if mibBuilder.loadTexts: moduleSmConnectionDownTrap.setStatus('current')
if mibBuilder.loadTexts: moduleSmConnectionDownTrap.setDescription("A moduleSmConnectionDown notification signifies that the module's virtual connection to the subscriber manager is broken.")
moduleSmConnectionUpTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 33)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"))
if mibBuilder.loadTexts: moduleSmConnectionUpTrap.setStatus('current')
if mibBuilder.loadTexts: moduleSmConnectionUpTrap.setDescription("A moduleSmConnectionUp notification signifies that the module's virtual connection to the subscriber manager is up and working.")
moduleOperStatusChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 34)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"), ("PCUBE-SE-MIB", "pmoduleOperStatus"))
if mibBuilder.loadTexts: moduleOperStatusChangeTrap.setStatus('current')
if mibBuilder.loadTexts: moduleOperStatusChangeTrap.setDescription('A moduleOperStatusChangeTrap notification signifies that the moduleOperStatus has changed its value.')
portOperStatusChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 35)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"), ("PCUBE-SE-MIB", "pportIndex"), ("PCUBE-SE-MIB", "pportOperStatus"))
if mibBuilder.loadTexts: portOperStatusChangeTrap.setStatus('current')
if mibBuilder.loadTexts: portOperStatusChangeTrap.setDescription('A portOperStatusChangeTrap notification signifies that the portOperStatus object of the portIndex has changed its value, i.e., the link was forced down or the force down was released.')
chassisLineFeedAlarmOnTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 36)).setObjects(("PCUBE-SE-MIB", "pchassisLineFeedAlarm"))
if mibBuilder.loadTexts: chassisLineFeedAlarmOnTrap.setStatus('current')
if mibBuilder.loadTexts: chassisLineFeedAlarmOnTrap.setDescription("A chassisLineFeedAlarmOn notification signifies that the agent entity has detected the chassisLineFeed object in this MIB has changed to the 'on(3)' state.")
rdrFormatterCategoryDiscardingReportsTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 37)).setObjects(("PCUBE-SE-MIB", "rdrFormatterCategoryIndex"))
if mibBuilder.loadTexts: rdrFormatterCategoryDiscardingReportsTrap.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryDiscardingReportsTrap.setDescription('rdrCategoryDiscardingReportsTrap notification signifies that the agent entity has detected that reports send to this category are being discarded. The rdrFormatterCategoryNumReportsDiscarded object in this MIB is counting the amount of discarded reports.')
rdrFormatterCategoryStoppedDiscardingReportsTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 38)).setObjects(("PCUBE-SE-MIB", "rdrFormatterCategoryIndex"))
if mibBuilder.loadTexts: rdrFormatterCategoryStoppedDiscardingReportsTrap.setStatus('current')
if mibBuilder.loadTexts: rdrFormatterCategoryStoppedDiscardingReportsTrap.setDescription('rdrCategoryStoppedDiscardingReportsTrap notification signifies that the agent entity has detected that reports send to this category are not being discarded any more. The rdrFormatterCategoryNumReportsDiscarded object in this MIB is counting the amount of discarded reports.')
sessionStartedTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 39)).setObjects(("PCUBE-SE-MIB", "pcubeSeEventGenericString1"))
if mibBuilder.loadTexts: sessionStartedTrap.setStatus('current')
if mibBuilder.loadTexts: sessionStartedTrap.setDescription('A sessionStarted notification signifies that the agent entity has accepted a new session. The pcubeSeEventGenericString1 is the session type (telnet/SSH) and client IP address.')
sessionEndedTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 40)).setObjects(("PCUBE-SE-MIB", "pcubeSeEventGenericString1"))
if mibBuilder.loadTexts: sessionEndedTrap.setStatus('current')
if mibBuilder.loadTexts: sessionEndedTrap.setDescription('A sessionEnded notification signifies that the agent entity has detected end of a session. The pcubeSeEventGenericString1 is the session type (telnet/SSH) and client IP address.')
sessionDeniedAccessTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 41))
if mibBuilder.loadTexts: sessionDeniedAccessTrap.setStatus('current')
if mibBuilder.loadTexts: sessionDeniedAccessTrap.setDescription('A sessionDeniedAccess notification signifies that the agent entity has refused a session from unauthorized source. The pcubeSeEventGenericString1 is the session type (telnet/SSH) and client IP address.')
sessionBadLoginTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 42))
if mibBuilder.loadTexts: sessionBadLoginTrap.setStatus('current')
if mibBuilder.loadTexts: sessionBadLoginTrap.setDescription('A sessionBadLogin notification signifies that the agent entity has detected attempt to login with a wrong password. The pcubeSeEventGenericString1 is the session type (telnet/SSH) and client IP address.')
illegalSubscriberMappingTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 43)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"), ("PCUBE-SE-MIB", "pcubeSeEventGenericString1"))
if mibBuilder.loadTexts: illegalSubscriberMappingTrap.setStatus('current')
if mibBuilder.loadTexts: illegalSubscriberMappingTrap.setDescription('A illegalSubscriberMappingTrap notification signifies that some external entity has attempted to create illegal or inconsistent subscriber mappings. The pcubeSeEventGenericString1 contains a message describing the problem.')
loggerLineAttackLogFullTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 44))
if mibBuilder.loadTexts: loggerLineAttackLogFullTrap.setStatus('current')
if mibBuilder.loadTexts: loggerLineAttackLogFullTrap.setDescription('Signifies that the agent entity has detected the line-attack log file is full. In such case the agent entity rolls to the next file.')
vasServerOpertionalStatusChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 45)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"), ("PCUBE-SE-MIB", "vasServerIndex"), ("PCUBE-SE-MIB", "vasServerId"), ("PCUBE-SE-MIB", "vasServerOperStatus"))
if mibBuilder.loadTexts: vasServerOpertionalStatusChangeTrap.setStatus('current')
if mibBuilder.loadTexts: vasServerOpertionalStatusChangeTrap.setDescription('Signifies that the agent entity has detected that the vas server operational status has changed.')
pullRequestNumber = MibScalar((1, 3, 6, 1, 4, 1, 5655, 4, 0, 46), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: pullRequestNumber.setStatus('current')
if mibBuilder.loadTexts: pullRequestNumber.setDescription('Used only for traps to signify the number of pull requests issued so far for the anonymous subscriber given in the pullRequestRetryFailedTrap containing notification. A direct get will always returns 0.')
pullRequestRetryFailedTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 47)).setObjects(("PCUBE-SE-MIB", "pcubeSeEventGenericString1"), ("PCUBE-SE-MIB", "pullRequestNumber"))
if mibBuilder.loadTexts: pullRequestRetryFailedTrap.setStatus('current')
if mibBuilder.loadTexts: pullRequestRetryFailedTrap.setDescription("Signifies that an unknown subscriber wasn't identified after a certain number of pull requests. The value of pcubeSeEventGenericString1 is the subscriber id and the pullRequestNumber is the number of pull requests made on this sub.")
mplsVpnTotalHWMappingsThresholdExceededTrap = NotificationType((1, 3, 6, 1, 4, 1, 5655, 4, 0, 48)).setObjects(("PCUBE-SE-MIB", "mplsVpnCurrentHWMappings"))
if mibBuilder.loadTexts: mplsVpnTotalHWMappingsThresholdExceededTrap.setStatus('current')
if mibBuilder.loadTexts: mplsVpnTotalHWMappingsThresholdExceededTrap.setDescription('Sent when the value of mplsVpnCurrentHWMappings exceeds the allowed threshold.')
pcubeCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 2, 1)).setObjects(("PCUBE-SE-MIB", "pcubeSystemGroup"), ("PCUBE-SE-MIB", "pcubeChassisGroup"), ("PCUBE-SE-MIB", "pcuebModuleGroup"), ("PCUBE-SE-MIB", "pcubeLinkGroup"), ("PCUBE-SE-MIB", "pcubeDiskGroup"), ("PCUBE-SE-MIB", "pcubeRdrFormatterGroup"), ("PCUBE-SE-MIB", "pcubeLoggerGroup"), ("PCUBE-SE-MIB", "pcubeSubscribersGroup"), ("PCUBE-SE-MIB", "pcubeTrafficProcessorGroup"), ("PCUBE-SE-MIB", "pcubePortGroup"), ("PCUBE-SE-MIB", "pcubeTxQueuesGroup"), ("PCUBE-SE-MIB", "pcubeGlobalControllersGroup"), ("PCUBE-SE-MIB", "pcubeApplicationGroup"), ("PCUBE-SE-MIB", "pcubeTrafficCountersGroup"), ("PCUBE-SE-MIB", "pcubeAttackGroup"), ("PCUBE-SE-MIB", "pcubeVasTrafficForwardingGroup"), ("PCUBE-SE-MIB", "pcubeTrapObjectsGroup"), ("PCUBE-SE-MIB", "pcubeMplsVpnAutoLearnGroup"), ("PCUBE-SE-MIB", "pcubeSeEventsGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeCompliance = pcubeCompliance.setStatus('deprecated')
if mibBuilder.loadTexts: pcubeCompliance.setDescription('A compliance statement defined in this MIB module, for SCE SNMP agents. with old deprectated groups. This compliance includes deprecated groups.')
pcubeComplianceRev1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 2, 2)).setObjects(("PCUBE-SE-MIB", "pcubeSystemGroup"), ("PCUBE-SE-MIB", "pcubeChassisGroup"), ("PCUBE-SE-MIB", "pcuebModuleGroup"), ("PCUBE-SE-MIB", "pcubeLinkGroup"), ("PCUBE-SE-MIB", "pcubeDiskGroup"), ("PCUBE-SE-MIB", "pcubeRdrFormatterGroup"), ("PCUBE-SE-MIB", "pcubeLoggerGroup"), ("PCUBE-SE-MIB", "pcubeSubscribersGroup"), ("PCUBE-SE-MIB", "pcubeTrafficProcessorGroup"), ("PCUBE-SE-MIB", "pcubePortGroup"), ("PCUBE-SE-MIB", "pcubeTxQueuesGroup"), ("PCUBE-SE-MIB", "pcubeGlobalControllersGroup"), ("PCUBE-SE-MIB", "pcubeApplicationGroup"), ("PCUBE-SE-MIB", "pcubeTrafficCountersGroup"), ("PCUBE-SE-MIB", "pcubeAttackGroup"), ("PCUBE-SE-MIB", "pcubeVasTrafficForwardingGroup"), ("PCUBE-SE-MIB", "pcubeTrapObjectsGroup"), ("PCUBE-SE-MIB", "pcubeMplsVpnAutoLearnGroup"), ("PCUBE-SE-MIB", "pcubeSeEventsGroupRev1"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeComplianceRev1 = pcubeComplianceRev1.setStatus('current')
if mibBuilder.loadTexts: pcubeComplianceRev1.setDescription('A compliance statement defined in this MIB module, for SCE SNMP agents.')
pcubeSystemGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 1)).setObjects(("PCUBE-SE-MIB", "sysOperationalStatus"), ("PCUBE-SE-MIB", "sysFailureRecovery"), ("PCUBE-SE-MIB", "sysVersion"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeSystemGroup = pcubeSystemGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeSystemGroup.setDescription('System related inforamation.')
pcubeChassisGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 2)).setObjects(("PCUBE-SE-MIB", "pchassisSysType"), ("PCUBE-SE-MIB", "pchassisPowerSupplyAlarm"), ("PCUBE-SE-MIB", "pchassisFansAlarm"), ("PCUBE-SE-MIB", "pchassisTempAlarm"), ("PCUBE-SE-MIB", "pchassisVoltageAlarm"), ("PCUBE-SE-MIB", "pchassisNumSlots"), ("PCUBE-SE-MIB", "pchassisSlotConfig"), ("PCUBE-SE-MIB", "pchassisPsuType"), ("PCUBE-SE-MIB", "pchassisLineFeedAlarm"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeChassisGroup = pcubeChassisGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeChassisGroup.setDescription('Chassis related information.')
pcuebModuleGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 3)).setObjects(("PCUBE-SE-MIB", "pmoduleIndex"), ("PCUBE-SE-MIB", "pmoduleType"), ("PCUBE-SE-MIB", "pmoduleNumTrafficProcessors"), ("PCUBE-SE-MIB", "pmoduleSlotNum"), ("PCUBE-SE-MIB", "pmoduleHwVersion"), ("PCUBE-SE-MIB", "pmoduleNumPorts"), ("PCUBE-SE-MIB", "pmoduleNumLinks"), ("PCUBE-SE-MIB", "pmoduleConnectionMode"), ("PCUBE-SE-MIB", "pmoduleSerialNumber"), ("PCUBE-SE-MIB", "pmoduleUpStreamAttackFilteringTime"), ("PCUBE-SE-MIB", "pmoduleUpStreamLastAttackFilteringTime"), ("PCUBE-SE-MIB", "pmoduleDownStreamAttackFilteringTime"), ("PCUBE-SE-MIB", "pmoduleDownStreamLastAttackFilteringTime"), ("PCUBE-SE-MIB", "pmoduleAttackObjectsClearTime"), ("PCUBE-SE-MIB", "pmoduleAdminStatus"), ("PCUBE-SE-MIB", "pmoduleOperStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcuebModuleGroup = pcuebModuleGroup.setStatus('current')
if mibBuilder.loadTexts: pcuebModuleGroup.setDescription('Module related information.')
pcubeLinkGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 4)).setObjects(("PCUBE-SE-MIB", "linkModuleIndex"), ("PCUBE-SE-MIB", "linkIndex"), ("PCUBE-SE-MIB", "linkAdminModeOnActive"), ("PCUBE-SE-MIB", "linkAdminModeOnFailure"), ("PCUBE-SE-MIB", "linkOperMode"), ("PCUBE-SE-MIB", "linkStatusReflectionEnable"), ("PCUBE-SE-MIB", "linkSubscriberSidePortIndex"), ("PCUBE-SE-MIB", "linkNetworkSidePortIndex"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeLinkGroup = pcubeLinkGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeLinkGroup.setDescription('Link related information.')
pcubeDiskGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 5)).setObjects(("PCUBE-SE-MIB", "diskNumUsedBytes"), ("PCUBE-SE-MIB", "diskNumFreeBytes"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeDiskGroup = pcubeDiskGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeDiskGroup.setDescription('Disk related information.')
pcubeRdrFormatterGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 6)).setObjects(("PCUBE-SE-MIB", "rdrFormatterEnable"), ("PCUBE-SE-MIB", "rdrFormatterDestIPAddr"), ("PCUBE-SE-MIB", "rdrFormatterDestPort"), ("PCUBE-SE-MIB", "rdrFormatterDestPriority"), ("PCUBE-SE-MIB", "rdrFormatterDestStatus"), ("PCUBE-SE-MIB", "rdrFormatterDestConnectionStatus"), ("PCUBE-SE-MIB", "rdrFormatterDestNumReportsSent"), ("PCUBE-SE-MIB", "rdrFormatterDestNumReportsDiscarded"), ("PCUBE-SE-MIB", "rdrFormatterDestReportRate"), ("PCUBE-SE-MIB", "rdrFormatterDestReportRatePeak"), ("PCUBE-SE-MIB", "rdrFormatterDestReportRatePeakTime"), ("PCUBE-SE-MIB", "rdrFormatterNumReportsSent"), ("PCUBE-SE-MIB", "rdrFormatterNumReportsDiscarded"), ("PCUBE-SE-MIB", "rdrFormatterClearCountersTime"), ("PCUBE-SE-MIB", "rdrFormatterReportRate"), ("PCUBE-SE-MIB", "rdrFormatterReportRatePeak"), ("PCUBE-SE-MIB", "rdrFormatterReportRatePeakTime"), ("PCUBE-SE-MIB", "rdrFormatterProtocol"), ("PCUBE-SE-MIB", "rdrFormatterForwardingMode"), ("PCUBE-SE-MIB", "rdrFormatterCategoryDestPriority"), ("PCUBE-SE-MIB", "rdrFormatterCategoryDestStatus"), ("PCUBE-SE-MIB", "rdrFormatterCategoryIndex"), ("PCUBE-SE-MIB", "rdrFormatterCategoryName"), ("PCUBE-SE-MIB", "rdrFormatterCategoryNumReportsSent"), ("PCUBE-SE-MIB", "rdrFormatterCategoryNumReportsDiscarded"), ("PCUBE-SE-MIB", "rdrFormatterCategoryReportRate"), ("PCUBE-SE-MIB", "rdrFormatterCategoryReportRatePeak"), ("PCUBE-SE-MIB", "rdrFormatterCategoryReportRatePeakTime"), ("PCUBE-SE-MIB", "rdrFormatterCategoryNumReportsQueued"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeRdrFormatterGroup = pcubeRdrFormatterGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeRdrFormatterGroup.setDescription('RDR-Formatter related information.')
pcubeLoggerGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 7)).setObjects(("PCUBE-SE-MIB", "loggerUserLogEnable"), ("PCUBE-SE-MIB", "loggerUserLogNumInfo"), ("PCUBE-SE-MIB", "loggerUserLogNumWarning"), ("PCUBE-SE-MIB", "loggerUserLogNumError"), ("PCUBE-SE-MIB", "loggerUserLogNumFatal"), ("PCUBE-SE-MIB", "loggerUserLogClearCountersTime"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeLoggerGroup = pcubeLoggerGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeLoggerGroup.setDescription('Logger related information.')
pcubeSubscribersGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 8)).setObjects(("PCUBE-SE-MIB", "subscribersNumIntroduced"), ("PCUBE-SE-MIB", "subscribersNumFree"), ("PCUBE-SE-MIB", "subscribersNumIpAddrMappings"), ("PCUBE-SE-MIB", "subscribersNumIpAddrMappingsFree"), ("PCUBE-SE-MIB", "subscribersNumIpRangeMappings"), ("PCUBE-SE-MIB", "subscribersNumIpRangeMappingsFree"), ("PCUBE-SE-MIB", "subscribersNumVlanMappings"), ("PCUBE-SE-MIB", "subscribersNumVlanMappingsFree"), ("PCUBE-SE-MIB", "subscribersNumActive"), ("PCUBE-SE-MIB", "subscribersNumActivePeak"), ("PCUBE-SE-MIB", "subscribersNumActivePeakTime"), ("PCUBE-SE-MIB", "subscribersNumUpdates"), ("PCUBE-SE-MIB", "subscribersCountersClearTime"), ("PCUBE-SE-MIB", "subscribersNumTpIpRanges"), ("PCUBE-SE-MIB", "subscribersNumTpIpRangesFree"), ("PCUBE-SE-MIB", "subscribersNumAnonymous"), ("PCUBE-SE-MIB", "subscribersNumWithSessions"), ("PCUBE-SE-MIB", "spIndex"), ("PCUBE-SE-MIB", "spName"), ("PCUBE-SE-MIB", "spType"), ("PCUBE-SE-MIB", "spvSubName"), ("PCUBE-SE-MIB", "spvPropertyName"), ("PCUBE-SE-MIB", "spvRowStatus"), ("PCUBE-SE-MIB", "spvPropertyStringValue"), ("PCUBE-SE-MIB", "spvPropertyUintValue"), ("PCUBE-SE-MIB", "spvPropertyCounter64Value"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeSubscribersGroup = pcubeSubscribersGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeSubscribersGroup.setDescription('Subscriber related information.')
pcubeTrafficProcessorGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 9)).setObjects(("PCUBE-SE-MIB", "tpModuleIndex"), ("PCUBE-SE-MIB", "tpIndex"), ("PCUBE-SE-MIB", "tpTotalNumHandledPackets"), ("PCUBE-SE-MIB", "tpTotalNumHandledFlows"), ("PCUBE-SE-MIB", "tpNumActiveFlows"), ("PCUBE-SE-MIB", "tpNumActiveFlowsPeak"), ("PCUBE-SE-MIB", "tpNumActiveFlowsPeakTime"), ("PCUBE-SE-MIB", "tpNumTcpActiveFlows"), ("PCUBE-SE-MIB", "tpNumTcpActiveFlowsPeak"), ("PCUBE-SE-MIB", "tpNumTcpActiveFlowsPeakTime"), ("PCUBE-SE-MIB", "tpNumUdpActiveFlows"), ("PCUBE-SE-MIB", "tpNumUdpActiveFlowsPeak"), ("PCUBE-SE-MIB", "tpNumUdpActiveFlowsPeakTime"), ("PCUBE-SE-MIB", "tpNumNonTcpUdpActiveFlows"), ("PCUBE-SE-MIB", "tpNumNonTcpUdpActiveFlowsPeak"), ("PCUBE-SE-MIB", "tpNumNonTcpUdpActiveFlowsPeakTime"), ("PCUBE-SE-MIB", "tpTotalNumBlockedPackets"), ("PCUBE-SE-MIB", "tpTotalNumBlockedFlows"), ("PCUBE-SE-MIB", "tpTotalNumDiscardedPacketsDueToBwLimit"), ("PCUBE-SE-MIB", "tpTotalNumWredDiscardedPackets"), ("PCUBE-SE-MIB", "tpTotalNumFragments"), ("PCUBE-SE-MIB", "tpTotalNumNonIpPackets"), ("PCUBE-SE-MIB", "tpTotalNumIpCrcErrPackets"), ("PCUBE-SE-MIB", "tpTotalNumIpLengthErrPackets"), ("PCUBE-SE-MIB", "tpTotalNumIpBroadcastPackets"), ("PCUBE-SE-MIB", "tpTotalNumTtlErrPackets"), ("PCUBE-SE-MIB", "tpTotalNumTcpUdpCrcErrPackets"), ("PCUBE-SE-MIB", "tpClearCountersTime"), ("PCUBE-SE-MIB", "tpHandledPacketsRate"), ("PCUBE-SE-MIB", "tpHandledPacketsRatePeak"), ("PCUBE-SE-MIB", "tpHandledPacketsRatePeakTime"), ("PCUBE-SE-MIB", "tpHandledFlowsRate"), ("PCUBE-SE-MIB", "tpHandledFlowsRatePeak"), ("PCUBE-SE-MIB", "tpHandledFlowsRatePeakTime"), ("PCUBE-SE-MIB", "tpCpuUtilization"), ("PCUBE-SE-MIB", "tpCpuUtilizationPeak"), ("PCUBE-SE-MIB", "tpCpuUtilizationPeakTime"), ("PCUBE-SE-MIB", "tpFlowsCapacityUtilization"), ("PCUBE-SE-MIB", "tpFlowsCapacityUtilizationPeak"), ("PCUBE-SE-MIB", "tpFlowsCapacityUtilizationPeakTime"), ("PCUBE-SE-MIB", "tpServiceLoss"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeTrafficProcessorGroup = pcubeTrafficProcessorGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeTrafficProcessorGroup.setDescription('Traffic processors related information.')
pcubePortGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 10)).setObjects(("PCUBE-SE-MIB", "pportModuleIndex"), ("PCUBE-SE-MIB", "pportIndex"), ("PCUBE-SE-MIB", "pportType"), ("PCUBE-SE-MIB", "pportNumTxQueues"), ("PCUBE-SE-MIB", "pportIfIndex"), ("PCUBE-SE-MIB", "pportAdminSpeed"), ("PCUBE-SE-MIB", "pportAdminDuplex"), ("PCUBE-SE-MIB", "pportOperDuplex"), ("PCUBE-SE-MIB", "pportLinkIndex"), ("PCUBE-SE-MIB", "pportOperStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubePortGroup = pcubePortGroup.setStatus('current')
if mibBuilder.loadTexts: pcubePortGroup.setDescription('Ports related information.')
pcubeTxQueuesGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 11)).setObjects(("PCUBE-SE-MIB", "txQueuesModuleIndex"), ("PCUBE-SE-MIB", "txQueuesPortIndex"), ("PCUBE-SE-MIB", "txQueuesQueueIndex"), ("PCUBE-SE-MIB", "txQueuesDescription"), ("PCUBE-SE-MIB", "txQueuesBandwidth"), ("PCUBE-SE-MIB", "txQueuesUtilization"), ("PCUBE-SE-MIB", "txQueuesUtilizationPeak"), ("PCUBE-SE-MIB", "txQueuesUtilizationPeakTime"), ("PCUBE-SE-MIB", "txQueuesClearCountersTime"), ("PCUBE-SE-MIB", "txQueuesDroppedBytes"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeTxQueuesGroup = pcubeTxQueuesGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeTxQueuesGroup.setDescription('Tx queue related information')
pcubeGlobalControllersGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 12)).setObjects(("PCUBE-SE-MIB", "globalControllersModuleIndex"), ("PCUBE-SE-MIB", "globalControllersPortIndex"), ("PCUBE-SE-MIB", "globalControllersIndex"), ("PCUBE-SE-MIB", "globalControllersDescription"), ("PCUBE-SE-MIB", "globalControllersBandwidth"), ("PCUBE-SE-MIB", "globalControllersUtilization"), ("PCUBE-SE-MIB", "globalControllersUtilizationPeak"), ("PCUBE-SE-MIB", "globalControllersUtilizationPeakTime"), ("PCUBE-SE-MIB", "globalControllersClearCountersTime"), ("PCUBE-SE-MIB", "globalControllersDroppedBytes"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeGlobalControllersGroup = pcubeGlobalControllersGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeGlobalControllersGroup.setDescription('Global controllers related information.')
pcubeApplicationGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 13)).setObjects(("PCUBE-SE-MIB", "appName"), ("PCUBE-SE-MIB", "appDescription"), ("PCUBE-SE-MIB", "appVersion"), ("PCUBE-SE-MIB", "apIndex"), ("PCUBE-SE-MIB", "apName"), ("PCUBE-SE-MIB", "apType"), ("PCUBE-SE-MIB", "apvPropertyName"), ("PCUBE-SE-MIB", "apvRowStatus"), ("PCUBE-SE-MIB", "apvPropertyStringValue"), ("PCUBE-SE-MIB", "apvPropertyUintValue"), ("PCUBE-SE-MIB", "apvPropertyCounter64Value"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeApplicationGroup = pcubeApplicationGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeApplicationGroup.setDescription('Application related information.')
pcubeTrafficCountersGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 14)).setObjects(("PCUBE-SE-MIB", "trafficCounterIndex"), ("PCUBE-SE-MIB", "trafficCounterValue"), ("PCUBE-SE-MIB", "trafficCounterName"), ("PCUBE-SE-MIB", "trafficCounterType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeTrafficCountersGroup = pcubeTrafficCountersGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeTrafficCountersGroup.setDescription('Traffic counter related information.')
pcubeAttackGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 15)).setObjects(("PCUBE-SE-MIB", "attackTypeIndex"), ("PCUBE-SE-MIB", "attackTypeName"), ("PCUBE-SE-MIB", "attackTypeCurrentNumAttacks"), ("PCUBE-SE-MIB", "attackTypeTotalNumAttacks"), ("PCUBE-SE-MIB", "attackTypeTotalNumFlows"), ("PCUBE-SE-MIB", "attackTypeTotalNumSeconds"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeAttackGroup = pcubeAttackGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeAttackGroup.setDescription('Attacks related information.')
pcubeVasTrafficForwardingGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 16)).setObjects(("PCUBE-SE-MIB", "vasServerIndex"), ("PCUBE-SE-MIB", "vasServerId"), ("PCUBE-SE-MIB", "vasServerAdminStatus"), ("PCUBE-SE-MIB", "vasServerOperStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeVasTrafficForwardingGroup = pcubeVasTrafficForwardingGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeVasTrafficForwardingGroup.setDescription('VAS traffic forwarding related information.')
pcubeMplsVpnAutoLearnGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 17)).setObjects(("PCUBE-SE-MIB", "mplsVpnMaxHWMappings"), ("PCUBE-SE-MIB", "mplsVpnCurrentHWMappings"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeMplsVpnAutoLearnGroup = pcubeMplsVpnAutoLearnGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeMplsVpnAutoLearnGroup.setDescription('MPLS VPN auto learning related information.')
pcubeTrapObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5655, 2, 3, 1, 1, 18)).setObjects(("PCUBE-SE-MIB", "pcubeSeEventGenericString1"), ("PCUBE-SE-MIB", "pcubeSeEventGenericString2"), ("PCUBE-SE-MIB", "pullRequestNumber"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
pcubeTrapObjectsGroup = pcubeTrapObjectsGroup.setStatus('current')
if mibBuilder.loadTexts: pcubeTrapObjectsGroup.setDescription("Notifications' objects group.")
mibBuilder.exportSymbols("PCUBE-SE-MIB", pcubeSEObjs=pcubeSEObjs, appInfoTable=appInfoTable, pcubeTrapObjectsGroup=pcubeTrapObjectsGroup, pcubeCompliance=pcubeCompliance, pullRequestNumber=pullRequestNumber, pcubeTrafficProcessorGroup=pcubeTrafficProcessorGroup, vasServerIndex=vasServerIndex, rdrFormatterDestPriority=rdrFormatterDestPriority, tpHandledFlowsRate=tpHandledFlowsRate, rdrFormatterGrp=rdrFormatterGrp, globalControllersGrp=globalControllersGrp, pmoduleHwVersion=pmoduleHwVersion, attackTypeTotalNumSeconds=attackTypeTotalNumSeconds, spType=spType, rdrFormatterCategoryEntry=rdrFormatterCategoryEntry, rdrFormatterCategoryIndex=rdrFormatterCategoryIndex, tpHandledPacketsRatePeakTime=tpHandledPacketsRatePeakTime, pcubeGlobalControllersGroup=pcubeGlobalControllersGroup, chassisTempAlarmOffTrap=chassisTempAlarmOffTrap, pchassisSlotConfig=pchassisSlotConfig, tpCpuUtilization=tpCpuUtilization, telnetSessionDeniedAccessTrap=telnetSessionDeniedAccessTrap, pcubeSeCompliances=pcubeSeCompliances, sessionDeniedAccessTrap=sessionDeniedAccessTrap, appPropertiesTable=appPropertiesTable, subscribersNumWithSessions=subscribersNumWithSessions, subscribersPropertiesValueTable=subscribersPropertiesValueTable, illegalSubscriberMappingTrap=illegalSubscriberMappingTrap, vasServerId=vasServerId, trafficProcessorGrp=trafficProcessorGrp, rdrNoActiveConnectionTrap=rdrNoActiveConnectionTrap, pportTable=pportTable, linkAdminModeOnActive=linkAdminModeOnActive, vasServerEntry=vasServerEntry, globalControllersEntry=globalControllersEntry, linkSubscriberSidePortIndex=linkSubscriberSidePortIndex, tpFlowsCapacityUtilizationPeak=tpFlowsCapacityUtilizationPeak, rdrFormatterDestNumReportsDiscarded=rdrFormatterDestNumReportsDiscarded, pchassisPsuType=pchassisPsuType, LinkModeType=LinkModeType, trafficCountersEntry=trafficCountersEntry, pcubeMplsVpnAutoLearnGroup=pcubeMplsVpnAutoLearnGroup, pcubeSeMIB=pcubeSeMIB, pportGrp=pportGrp, rdrFormatterNumReportsSent=rdrFormatterNumReportsSent, subscribersNumIpRangeMappingsFree=subscribersNumIpRangeMappingsFree, moduleOperStatusChangeTrap=moduleOperStatusChangeTrap, pcubeSeGroups=pcubeSeGroups, tpFlowsCapacityUtilizationPeakTime=tpFlowsCapacityUtilizationPeakTime, rdrFormatterCategoryDestPriority=rdrFormatterCategoryDestPriority, linkModeBypassTrap=linkModeBypassTrap, moduleLostRedundancyTrap=moduleLostRedundancyTrap, subscribersNumIpAddrMappings=subscribersNumIpAddrMappings, pportEntry=pportEntry, tpTotalNumIpLengthErrPackets=tpTotalNumIpLengthErrPackets, tpTotalNumNonIpPackets=tpTotalNumNonIpPackets, pcubeChassisGroup=pcubeChassisGroup, pmoduleNumLinks=pmoduleNumLinks, subscribersNumTpIpRanges=subscribersNumTpIpRanges, rdrFormatterCategoryName=rdrFormatterCategoryName, telnetSessionStartedTrap=telnetSessionStartedTrap, pcubeSystemGroup=pcubeSystemGroup, appName=appName, pmoduleAdminStatus=pmoduleAdminStatus, pchassisTempAlarm=pchassisTempAlarm, pcubeComplianceRev1=pcubeComplianceRev1, pportNumTxQueues=pportNumTxQueues, rdrFormatterCategoryDestTable=rdrFormatterCategoryDestTable, attackTypeTotalNumAttacks=attackTypeTotalNumAttacks, tpTotalNumDiscardedPacketsDueToBwLimit=tpTotalNumDiscardedPacketsDueToBwLimit, txQueuesBandwidth=txQueuesBandwidth, spvSubName=spvSubName, operationalStatusOperationalTrap=operationalStatusOperationalTrap, txQueuesUtilizationPeakTime=txQueuesUtilizationPeakTime, rdrFormatterCategoryStoppedDiscardingReportsTrap=rdrFormatterCategoryStoppedDiscardingReportsTrap, linkIndex=linkIndex, rdrFormatterCategoryNumReportsQueued=rdrFormatterCategoryNumReportsQueued, tpHandledPacketsRate=tpHandledPacketsRate, attackTypeTotalNumFlows=attackTypeTotalNumFlows, subscribersNumActivePeak=subscribersNumActivePeak, vasServerTable=vasServerTable, subscribersInfoEntry=subscribersInfoEntry, appVersion=appVersion, apIndex=apIndex, moduleEmAgentGenericTrap=moduleEmAgentGenericTrap, tpIndex=tpIndex, appPropertiesValueEntry=appPropertiesValueEntry, pportOperDuplex=pportOperDuplex, pcubeSeEventGenericString2=pcubeSeEventGenericString2, trafficCounterType=trafficCounterType, spIndex=spIndex, attackTypeCurrentNumAttacks=attackTypeCurrentNumAttacks, pchassisNumSlots=pchassisNumSlots, pportType=pportType, mplsVpnSoftwareCountersTable=mplsVpnSoftwareCountersTable, chassisFansAlarmOnTrap=chassisFansAlarmOnTrap, loggerUserLogNumInfo=loggerUserLogNumInfo, linkStatusReflectionEnable=linkStatusReflectionEnable, tpInfoEntry=tpInfoEntry, rdrFormatterDestNumReportsSent=rdrFormatterDestNumReportsSent, tpCpuUtilizationPeak=tpCpuUtilizationPeak, apType=apType, pmoduleGrp=pmoduleGrp, tpNumTcpActiveFlowsPeakTime=tpNumTcpActiveFlowsPeakTime, pportOperStatus=pportOperStatus, rdrConnectionDownTrap=rdrConnectionDownTrap, rdrFormatterProtocol=rdrFormatterProtocol, mplsVpnAutoLearnGrp=mplsVpnAutoLearnGrp, tpNumActiveFlowsPeak=tpNumActiveFlowsPeak, apvPropertyCounter64Value=apvPropertyCounter64Value, subscribersNumIpRangeMappings=subscribersNumIpRangeMappings, pcubeSeEventsGroupRev1=pcubeSeEventsGroupRev1, mplsVpnTotalHWMappingsThresholdExceededTrap=mplsVpnTotalHWMappingsThresholdExceededTrap, pmoduleTable=pmoduleTable, rdrFormatterCategoryTable=rdrFormatterCategoryTable, globalControllersUtilizationPeak=globalControllersUtilizationPeak, loggerUserLogNumWarning=loggerUserLogNumWarning, txQueuesPortIndex=txQueuesPortIndex, rdrFormatterDestTable=rdrFormatterDestTable, subscribersNumActive=subscribersNumActive, rdrFormatterCategoryDestEntry=rdrFormatterCategoryDestEntry, moduleAttackFilterDeactivatedTrap=moduleAttackFilterDeactivatedTrap, tpClearCountersTime=tpClearCountersTime, vasServerOpertionalStatusChangeTrap=vasServerOpertionalStatusChangeTrap, pmoduleAttackObjectsClearTime=pmoduleAttackObjectsClearTime, diskNumFreeBytes=diskNumFreeBytes, pmoduleOperStatus=pmoduleOperStatus, spName=spName, pcubePortGroup=pcubePortGroup, trafficCounterName=trafficCounterName, loggerUserLogClearCountersTime=loggerUserLogClearCountersTime, subscribersInfoTable=subscribersInfoTable, rdrFormatterDestReportRate=rdrFormatterDestReportRate, tpNumActiveFlowsPeakTime=tpNumActiveFlowsPeakTime, operationalStatusFailureTrap=operationalStatusFailureTrap, rdrFormatterReportRate=rdrFormatterReportRate, operationalStatusWarningTrap=operationalStatusWarningTrap, pmoduleUpStreamLastAttackFilteringTime=pmoduleUpStreamLastAttackFilteringTime, linkModuleIndex=linkModuleIndex, rdrFormatterCategoryReportRate=rdrFormatterCategoryReportRate, tpNumActiveFlows=tpNumActiveFlows, pcubeTrafficCountersGroup=pcubeTrafficCountersGroup, trafficCountersGrp=trafficCountersGrp, diskNumUsedBytes=diskNumUsedBytes, tpNumUdpActiveFlowsPeakTime=tpNumUdpActiveFlowsPeakTime, pcubeRdrFormatterGroup=pcubeRdrFormatterGroup, linkTable=linkTable, pportAdminSpeed=pportAdminSpeed, pcubeDiskGroup=pcubeDiskGroup, vasTrafficForwardingGrp=vasTrafficForwardingGrp, tpNumNonTcpUdpActiveFlowsPeakTime=tpNumNonTcpUdpActiveFlowsPeakTime, linkModeCutoffTrap=linkModeCutoffTrap, rdrFormatterDestEntry=rdrFormatterDestEntry, rdrFormatterForwardingMode=rdrFormatterForwardingMode, pchassisSysType=pchassisSysType, pportModuleIndex=pportModuleIndex, sessionBadLoginTrap=sessionBadLoginTrap, pmoduleNumPorts=pmoduleNumPorts, loggerUserLogIsFullTrap=loggerUserLogIsFullTrap, tpServiceLoss=tpServiceLoss, chassisLineFeedAlarmOnTrap=chassisLineFeedAlarmOnTrap, rdrFormatterClearCountersTime=rdrFormatterClearCountersTime, tpFlowsCapacityUtilization=tpFlowsCapacityUtilization, linkOperMode=linkOperMode, mplsVpnCurrentHWMappings=mplsVpnCurrentHWMappings, pmoduleDownStreamAttackFilteringTime=pmoduleDownStreamAttackFilteringTime, txQueuesModuleIndex=txQueuesModuleIndex, loggerUserLogNumError=loggerUserLogNumError, appPropertiesEntry=appPropertiesEntry, tpTotalNumTcpUdpCrcErrPackets=tpTotalNumTcpUdpCrcErrPackets, subscribersGrp=subscribersGrp, trafficCountersTable=trafficCountersTable, attackTypeEntry=attackTypeEntry, tpModuleIndex=tpModuleIndex, rdrFormatterCategoryDiscardingReportsTrap=rdrFormatterCategoryDiscardingReportsTrap, globalControllersBandwidth=globalControllersBandwidth, tpTotalNumIpCrcErrPackets=tpTotalNumIpCrcErrPackets, spvPropertyCounter64Value=spvPropertyCounter64Value, rdrFormatterCategoryReportRatePeakTime=rdrFormatterCategoryReportRatePeakTime, tpTotalNumWredDiscardedPackets=tpTotalNumWredDiscardedPackets, subscribersPropertiesEntry=subscribersPropertiesEntry, txQueuesEntry=txQueuesEntry, subscribersNumVlanMappingsFree=subscribersNumVlanMappingsFree, rdrFormatterCategoryReportRatePeak=rdrFormatterCategoryReportRatePeak, txQueuesDroppedBytes=txQueuesDroppedBytes, pcubeLinkGroup=pcubeLinkGroup, tpNumTcpActiveFlowsPeak=tpNumTcpActiveFlowsPeak, rdrFormatterDestReportRatePeakTime=rdrFormatterDestReportRatePeakTime, portOperStatusChangeTrap=portOperStatusChangeTrap, rdrFormatterReportRatePeak=rdrFormatterReportRatePeak, txQueuesQueueIndex=txQueuesQueueIndex, subscribersNumVlanMappings=subscribersNumVlanMappings, tpNumTcpActiveFlows=tpNumTcpActiveFlows, sessionStartedTrap=sessionStartedTrap, rdrConnectionUpTrap=rdrConnectionUpTrap, txQueuesTable=txQueuesTable, globalControllersModuleIndex=globalControllersModuleIndex, apvRowStatus=apvRowStatus, moduleSmConnectionUpTrap=moduleSmConnectionUpTrap, telnetSessionBadLoginTrap=telnetSessionBadLoginTrap, txQueuesUtilization=txQueuesUtilization, tpTotalNumTtlErrPackets=tpTotalNumTtlErrPackets, chassisPowerSupplyAlarmOnTrap=chassisPowerSupplyAlarmOnTrap, attackTypeName=attackTypeName, appInfoEntry=appInfoEntry, sysVersion=sysVersion, pullRequestRetryFailedTrap=pullRequestRetryFailedTrap, spvPropertyStringValue=spvPropertyStringValue, tpHandledFlowsRatePeak=tpHandledFlowsRatePeak, pcubeApplicationGroup=pcubeApplicationGroup, subscribersNumAnonymous=subscribersNumAnonymous, loggerGrp=loggerGrp, trafficCounterIndex=trafficCounterIndex, rdrFormatterCategoryNumReportsSent=rdrFormatterCategoryNumReportsSent, subscribersNumFree=subscribersNumFree, pcubeAttackGroup=pcubeAttackGroup, globalControllersPortIndex=globalControllersPortIndex, apName=apName, diskGrp=diskGrp, rdrActiveConnectionTrap=rdrActiveConnectionTrap, rdrFormatterDestReportRatePeak=rdrFormatterDestReportRatePeak, globalControllersIndex=globalControllersIndex, linkGrp=linkGrp, globalControllersDroppedBytes=globalControllersDroppedBytes, globalControllersClearCountersTime=globalControllersClearCountersTime, globalControllersUtilizationPeakTime=globalControllersUtilizationPeakTime, apvPropertyName=apvPropertyName, subscribersPropertiesValueEntry=subscribersPropertiesValueEntry, spvIndex=spvIndex, tpTotalNumBlockedFlows=tpTotalNumBlockedFlows, systemGrp=systemGrp, pcuebModuleGroup=pcuebModuleGroup, txQueuesClearCountersTime=txQueuesClearCountersTime, pportLinkIndex=pportLinkIndex, tpTotalNumHandledFlows=tpTotalNumHandledFlows, pcubeSubscribersGroup=pcubeSubscribersGroup, pmoduleUpStreamAttackFilteringTime=pmoduleUpStreamAttackFilteringTime, subscribersNumIpAddrMappingsFree=subscribersNumIpAddrMappingsFree, pchassisPowerSupplyAlarm=pchassisPowerSupplyAlarm, pchassisGrp=pchassisGrp, chassisTempAlarmOnTrap=chassisTempAlarmOnTrap, txQueuesDescription=txQueuesDescription, apvPropertyUintValue=apvPropertyUintValue, rdrFormatterDestPort=rdrFormatterDestPort, moduleRedundantConfigurationMismatchTrap=moduleRedundantConfigurationMismatchTrap, vasServerAdminStatus=vasServerAdminStatus, subscribersCountersClearTime=subscribersCountersClearTime, subscribersNumTpIpRangesFree=subscribersNumTpIpRangesFree, PYSNMP_MODULE_ID=pcubeSeMIB, linkEntry=linkEntry, tpNumUdpActiveFlowsPeak=tpNumUdpActiveFlowsPeak, tpNumNonTcpUdpActiveFlowsPeak=tpNumNonTcpUdpActiveFlowsPeak, pmoduleNumTrafficProcessors=pmoduleNumTrafficProcessors, pchassisFansAlarm=pchassisFansAlarm)
mibBuilder.exportSymbols("PCUBE-SE-MIB", spvPropertyUintValue=spvPropertyUintValue, appDescription=appDescription, attackTypeTable=attackTypeTable, rdrFormatterNumReportsDiscarded=rdrFormatterNumReportsDiscarded, linkModeSniffingTrap=linkModeSniffingTrap, apvIndex=apvIndex, apvPropertyStringValue=apvPropertyStringValue, loggerUserLogNumFatal=loggerUserLogNumFatal, linkModeForwardingTrap=linkModeForwardingTrap, globalControllersDescription=globalControllersDescription, rdrFormatterCategoryNumReportsDiscarded=rdrFormatterCategoryNumReportsDiscarded, subscribersPropertiesTable=subscribersPropertiesTable, pportIndex=pportIndex, spvPropertyName=spvPropertyName, telnetSessionEndedTrap=telnetSessionEndedTrap, rdrFormatterReportRatePeakTime=rdrFormatterReportRatePeakTime, pmoduleDownStreamLastAttackFilteringTime=pmoduleDownStreamLastAttackFilteringTime, sntpClockDriftWarnTrap=sntpClockDriftWarnTrap, systemResetTrap=systemResetTrap, tpTotalNumIpBroadcastPackets=tpTotalNumIpBroadcastPackets, vasServerOperStatus=vasServerOperStatus, globalControllersTable=globalControllersTable, pmoduleSlotNum=pmoduleSlotNum, attackTypeIndex=attackTypeIndex, rdrFormatterDestIPAddr=rdrFormatterDestIPAddr, pcubeSeEvents=pcubeSeEvents, pchassisVoltageAlarm=pchassisVoltageAlarm, tpTotalNumFragments=tpTotalNumFragments, pmoduleEntry=pmoduleEntry, pportAdminDuplex=pportAdminDuplex, pcubeLoggerGroup=pcubeLoggerGroup, moduleRedundancyReadyTrap=moduleRedundancyReadyTrap, pmoduleType=pmoduleType, spvRowStatus=spvRowStatus, sysOperationalStatus=sysOperationalStatus, linkNetworkSidePortIndex=linkNetworkSidePortIndex, pcubeSeEventGenericString1=pcubeSeEventGenericString1, sysFailureRecovery=sysFailureRecovery, sessionEndedTrap=sessionEndedTrap, tpTotalNumBlockedPackets=tpTotalNumBlockedPackets, pmoduleSerialNumber=pmoduleSerialNumber, pmoduleConnectionMode=pmoduleConnectionMode, rdrFormatterDestConnectionStatus=rdrFormatterDestConnectionStatus, tpInfoTable=tpInfoTable, loggerUserLogEnable=loggerUserLogEnable, subscribersNumIntroduced=subscribersNumIntroduced, tpNumUdpActiveFlows=tpNumUdpActiveFlows, moduleSmConnectionDownTrap=moduleSmConnectionDownTrap, rdrFormatterDestStatus=rdrFormatterDestStatus, pchassisLineFeedAlarm=pchassisLineFeedAlarm, tpCpuUtilizationPeakTime=tpCpuUtilizationPeakTime, tpNumNonTcpUdpActiveFlows=tpNumNonTcpUdpActiveFlows, rdrFormatterEnable=rdrFormatterEnable, chassisVoltageAlarmOnTrap=chassisVoltageAlarmOnTrap, tpTotalNumHandledPackets=tpTotalNumHandledPackets, applicationGrp=applicationGrp, linkAdminModeOnFailure=linkAdminModeOnFailure, rdrFormatterCategoryDestStatus=rdrFormatterCategoryDestStatus, subscribersNumActivePeakTime=subscribersNumActivePeakTime, appPropertiesValueTable=appPropertiesValueTable, subscribersNumUpdates=subscribersNumUpdates, tpHandledFlowsRatePeakTime=tpHandledFlowsRatePeakTime, pcubeSeConformance=pcubeSeConformance, moduleAttackFilterActivatedTrap=moduleAttackFilterActivatedTrap, mplsVpnMaxHWMappings=mplsVpnMaxHWMappings, trafficCounterValue=trafficCounterValue, txQueuesUtilizationPeak=txQueuesUtilizationPeak, tpHandledPacketsRatePeak=tpHandledPacketsRatePeak, attackGrp=attackGrp, pcubeVasTrafficForwardingGroup=pcubeVasTrafficForwardingGroup, mplsVpnSoftwareCountersEntry=mplsVpnSoftwareCountersEntry, txQueuesGrp=txQueuesGrp, loggerLineAttackLogFullTrap=loggerLineAttackLogFullTrap, pcubeSeEventsGroup=pcubeSeEventsGroup, globalControllersUtilization=globalControllersUtilization, pportIfIndex=pportIfIndex, pmoduleIndex=pmoduleIndex, pcubeTxQueuesGroup=pcubeTxQueuesGroup)
|
# coding=utf-8
"""
This package provides a session authentication for TheTVDB.
"""
|
lista = []
cadastro = {}
qtd = tot_idade = 0
lista_mulheres = []
cadastro_mulheres = {}
lista_velhos = []
cadastro_velhos = {}
while True:
cadastro['nome'] = str(input('Nome: ')).strip()
cadastro['sexo'] = str(input('Sexo [M/F]: ')).strip().upper()[0]
while cadastro['sexo'] not in 'MF':
print('ERRO! Por favor, digite apenas M ou F.')
cadastro['sexo'] = str(input('Sexo [M/F]: ')).strip().upper()[0]
cadastro['idade'] = int(input('Idade: '))
lista.append(cadastro.copy())
tot_idade += cadastro['idade']
resp = str(input('Deseja continuar? [S/N] ')).strip().upper()[0]
while resp not in 'SN':
print('ERRO! Responda apenas S ou N.')
resp = str(input('Deseja continuar? [S/N] ')).strip().upper()[0]
if resp == 'N':
break
media = tot_idade/len(lista)
for c, valor in enumerate(lista):
for k, v in valor.items():
if k == 'sexo' and v == 'F':
cadastro_mulheres['nome'] = lista[c]['nome']
cadastro_mulheres['sexo'] = lista[c]['sexo']
cadastro_mulheres['idade'] = lista[c]['idade']
lista_mulheres.append(cadastro_mulheres.copy())
if k == 'idade' and v > media:
cadastro_velhos['nome'] = lista[c]['nome']
cadastro_velhos['sexo'] = lista[c]['sexo']
cadastro_velhos['idade'] = lista[c]['idade']
lista_velhos.append(cadastro_velhos.copy())
print('-='*30)
print(f'- O grupo tem {len(lista)} pessoas.\n'
f'- A média de idade é de {media:.2f} anos.\n'
f'- As mulheres cadastradas foram: ', end='')
for c in lista_mulheres:
print(f'{c["nome"]}; ', end='')
print(f'\n- Lista das pessoas têm idade acima da média: ')
for c in lista_velhos:
for k, v in c.items():
print(f' {k} = {v}; ', end='')
print()
print('<< ENCERRADO >>')
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.