blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 69 | license_type stringclasses 2
values | repo_name stringlengths 5 118 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 63 | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 2.91k 686M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 220
values | src_encoding stringclasses 30
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 2 10.3M | extension stringclasses 257
values | content stringlengths 2 10.3M | authors listlengths 1 1 | author_id stringlengths 0 212 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aebd77ff3c559266ef4a5dce4c44cbc2bda85af3 | ce972e94fcdf19d6809d94c2a73595233d1f741d | /catkin_ws/build/turtlebot_gazebo/catkin_generated/pkg.develspace.context.pc.py | 76fa70e69fef0fcfde19f495cc341709a0f0e080 | [] | no_license | WilliamZipanHe/reward_shaping_ttr | cfa0e26579f31837c61af3e09621b4dad7eaaba2 | df56cc0153147bb067bc3a0eee0e1e4e1044407f | refs/heads/master | 2022-02-23T05:02:00.120626 | 2019-08-07T21:52:50 | 2019-08-07T21:52:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 410 | py | # generated from catkin/cmake/template/pkg.context.pc.in
CATKIN_PACKAGE_PREFIX = ""
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else []
PROJECT_CATKIN_DEPENDS = "".replace(';', ' ')
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
PROJECT_NAME = "turtlebot_gazebo"
PROJECT_SPACE_DIR = "/local-scratch/xlv/catkin_ws/devel/.private/turtlebot_gazebo"
PROJECT_VERSION = "2.2.3"
| [
"xlv@cs-mars-01.cmpt.sfu.ca"
] | xlv@cs-mars-01.cmpt.sfu.ca |
27dde4f293f68dbb62f6f7a02f3f740969780ea5 | 2eff36ed58057d99d542170422cbaeab289f6c7b | /journal/migrations/0005_auto_20181201_2154.py | bbd42894eee64895c7592608b3b6cef0005ab4e7 | [] | no_license | aceh40/aceh40_djournal | 6f05f14c491690258ccc632342533fba488cadf7 | 1db9a8a2f99e5464148af15ae88a48bc5af9f8de | refs/heads/master | 2021-07-13T17:32:05.880390 | 2021-06-18T19:55:53 | 2021-06-18T19:55:53 | 157,459,934 | 0 | 0 | null | 2018-12-07T00:12:53 | 2018-11-13T23:15:11 | JavaScript | UTF-8 | Python | false | false | 2,772 | py | # Generated by Django 2.1.3 on 2018-12-02 02:54
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('journal', '0004_auto_20181128_0952'),
]
operations = [
migrations.CreateModel(
name='TennisRacket',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('make', models.CharField(max_length=20)),
('model', models.CharField(max_length=150)),
('head_size', models.IntegerField(blank=True, null=True)),
('length', models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True)),
('strung_weight', models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True)),
('unstrung_weight', models.DecimalField(blank=True, decimal_places=2, max_digits=4, null=True)),
('swing_weight', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True)),
('balance', models.CharField(blank=True, max_length=20, null=True)),
('stiffness', models.DecimalField(blank=True, decimal_places=2, max_digits=5, null=True)),
('beam_width', models.CharField(blank=True, max_length=20, null=True)),
('main_strings', models.IntegerField(blank=True, null=True)),
('cross_strings', models.IntegerField(blank=True, null=True)),
('min_tension', models.IntegerField(blank=True, null=True)),
('max_tension', models.IntegerField(blank=True, null=True)),
('mains_skip', models.CharField(blank=True, max_length=20, null=True)),
],
),
migrations.RemoveField(
model_name='tennisstringjob',
name='racquet_id',
),
migrations.AlterField(
model_name='journalentry',
name='text',
field=models.TextField(blank=True, null=True),
),
migrations.AlterField(
model_name='journalentry',
name='title',
field=models.CharField(blank=True, max_length=200, null=True),
),
migrations.AlterField(
model_name='tennisstring',
name='url',
field=models.URLField(blank=True, help_text="Link to string's page on stringforum.net", null=True),
),
migrations.AlterField(
model_name='tennisstring',
name='variation',
field=models.CharField(blank=True, help_text='Enter string model variation or generation.', max_length=100, null=True),
),
migrations.DeleteModel(
name='TennisRacquet',
),
]
| [
"assenuma@yahoo.com"
] | assenuma@yahoo.com |
3484f514f3efa0f801ae3310b219f4923b7b871b | a98899845ed5dc112f50e2824082c8dc49941ed8 | /project/api/migrations/0033_session_is_invitational.py | 824057127393ceff2fd50eef9202d4ffbb3b6438 | [
"BSD-2-Clause"
] | permissive | talexb/barberscore-api | 9d6c48eca5233b530e2c02251b004b0b1d72c429 | 2320a75d9b49368f5eb1e00e5e5f32f5c79484a1 | refs/heads/master | 2021-01-15T11:57:34.970439 | 2017-08-07T14:42:57 | 2017-08-07T14:42:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 456 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-06-18 03:28
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0032_person_last_name'),
]
operations = [
migrations.AddField(
model_name='session',
name='is_invitational',
field=models.BooleanField(default=False),
),
]
| [
"dbinetti@gmail.com"
] | dbinetti@gmail.com |
d2d8ad3098ccca976c3cea1dd334eab7a1e6ab0a | 494f9b8f8a447884127933f7b9a19dcf59fd1b0b | /utils.py | 419988623b79bdf2b938d2a88c9b334a111e8cd6 | [] | no_license | varavar/Variational_Recurrent_Neural_Network | c3d23aa8e672e9b6f940be0de4383ecc7caf69c4 | 0f4cef90133eac5addd919a06b3ac57f3c19eb19 | refs/heads/main | 2023-08-02T09:44:54.651544 | 2021-10-04T05:57:15 | 2021-10-04T05:57:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,887 | py | import os
import torch
import torchvision.datasets as datasets
import torchvision.transforms as transforms
from torch.utils.data import DataLoader
import random
import numpy as np
import matplotlib.pyplot as plt
# loading the dataset------------------------------------------
def load_dataset(batch_size):
# loading the MNIST dataset
train_set = datasets.MNIST(root = 'data', train = True, download = False, transform = transforms.ToTensor())
test_set = datasets.MNIST(root = 'data', train = False, download = False, transform = transforms.ToTensor())
# Setting up the dataloaders
train_dataloader = DataLoader(dataset = train_set, batch_size = batch_size, shuffle = True)
test_dataloader = DataLoader(dataset = test_set, batch_size = batch_size, shuffle = True)
return train_dataloader, test_dataloader
# setting random seeds-----------------------------------------
def set_all_seeds(seed):
os.environ["PL_GLOBAL_SEED"] = str(seed)
random.seed(seed)
np.random.seed(seed)
torch.manual_seed(seed)
torch.cuda.manual_seed_all(seed)
# Displaying routine--------------------------------------------
def display_images(in_, out, n=1, label=None, count=False):
for N in range(n):
if in_ is not None:
in_pic = in_.data.cpu().view(-1, 28, 28)
plt.figure(figsize=(18, 4))
plt.suptitle(label + ' – real test data / reconstructions', color='w', fontsize=16)
for i in range(4):
plt.subplot(1,4,i+1)
plt.imshow(in_pic[i+4*N])
plt.axis('off')
out_pic = out.data.cpu().view(-1, 28, 28)
plt.figure(figsize=(18, 6))
for i in range(4):
plt.subplot(1,4,i+1)
plt.imshow(out_pic[i+4*N])
plt.axis('off')
if count: plt.title(str(4 * N + i), color='w') | [
"naman5nds@gmail.com"
] | naman5nds@gmail.com |
81e6a970b801ccc37420106f206135876a43bc0c | 108cc1350623d1a30c3e08f357267e516f254ae9 | /test/test_sgd_classifier.py | 245f73242df189c623eae7a1182296f5e0ab0fdb | [
"CC-BY-SA-4.0",
"Apache-2.0"
] | permissive | agoyal3/cs224u | 1afd02948f5abb08636d599c4a9266c2cb5d7447 | f565857a79f09be1b8cfb5c76f8d5731e159939f | refs/heads/master | 2023-08-11T21:15:25.947141 | 2021-09-24T07:05:05 | 2021-09-24T07:05:05 | 401,109,252 | 0 | 0 | Apache-2.0 | 2021-09-07T20:49:11 | 2021-08-29T18:04:38 | Jupyter Notebook | UTF-8 | Python | false | false | 2,453 | py | import pytest
from sklearn.datasets import load_digits
from sklearn.metrics import accuracy_score
from sklearn.model_selection import RandomizedSearchCV, cross_validate
from sklearn.model_selection import train_test_split
import utils
from np_sgd_classifier import BasicSGDClassifier
from np_sgd_classifier import simple_example
__author__ = "Christopher Potts"
__version__ = "CS224u, Stanford, Spring 2021"
utils.fix_random_seeds()
PARAMS_WITH_TEST_VALUES = [
['max_iter', 10],
['max_iter', 0],
['eta', 0.02]]
@pytest.fixture
def digits():
digits = load_digits()
X = digits.data
y = digits.target
X_train, X_test, y_train, y_test = train_test_split(
X, y, test_size=0.33, random_state=42)
return X_train, X_test, y_train, y_test
def test_model():
f1 = simple_example()
assert f1 >= 0.89
@pytest.mark.parametrize("param, expected", PARAMS_WITH_TEST_VALUES)
def test_params(param, expected):
mod = BasicSGDClassifier(**{param: expected})
result = getattr(mod, param)
assert result == expected
@pytest.mark.parametrize("param, expected", PARAMS_WITH_TEST_VALUES)
def test_simple_example_params(digits, param, expected):
X_train, X_test, y_train, y_test = digits
mod = BasicSGDClassifier(**{param: expected})
mod.fit(X_train, y_train)
preds = mod.predict(X_test)
acc = accuracy_score(y_test, preds)
if not (param == "max_iter" and expected <= 1):
assert acc >= 0.90
@pytest.mark.parametrize("param, expected", PARAMS_WITH_TEST_VALUES)
def test_parameter_setting(param, expected):
mod = BasicSGDClassifier()
mod.set_params(**{param: expected})
result = getattr(mod, param)
assert result == expected
def test_hyperparameter_selection(digits):
X_train, X_test, y_train, y_test = digits
param_grid = {'eta': [0.02, 0.03]}
mod = BasicSGDClassifier(max_iter=5)
xval = RandomizedSearchCV(mod, param_grid, cv=2)
xval.fit(X_train, y_train)
def test_cross_validation_sklearn(digits):
X_train, X_test, y_train, y_test = digits
mod = BasicSGDClassifier(max_iter=5)
xval = cross_validate(mod, X_train, y_train, cv=2)
def test_cross_validation_nlu(digits):
X_train, X_test, y_train, y_test = digits
param_grid = {'eta': [0.02, 0.03]}
mod = BasicSGDClassifier(max_iter=2)
best_mod = utils.fit_classifier_with_hyperparameter_search(
X_train, y_train, mod, cv=2, param_grid=param_grid)
| [
"cgpotts@gmail.com"
] | cgpotts@gmail.com |
b947ef80ac45577d2b326521537502f06ee36992 | c981bbd7434b814f7968b9ba0e2235f82d7874b4 | /Modellbewertung und Hyperparamter-Abstimmung/roc_curve.py | 965aee0f54da0a3269c211ea4d38a0b7714aeadd | [] | no_license | foxriver76/MachineLearningRaschka | e1ef187f5b2b7b9d8f4edf834451e1aa5f6b9d70 | a2940fa6c187a5223fcc789d8a7f1ccb5d7dc3e2 | refs/heads/master | 2021-03-27T11:53:44.684929 | 2018-05-13T09:03:20 | 2018-05-13T09:03:20 | 104,927,632 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,194 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Dec 31 12:13:57 2017
@author: moritz
"""
import pandas as pd
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import StandardScaler, LabelEncoder
from sklearn.model_selection import train_test_split, StratifiedKFold
import matplotlib.pyplot as plt
from sklearn.metrics import roc_curve, auc, roc_auc_score, accuracy_score, \
make_scorer, precision_score
from scipy import interp
from sklearn.decomposition import PCA
from sklearn.linear_model import LogisticRegression
import numpy as np
df = pd.read_csv('https://archive.ics.uci.edu/ml/machine-learning-' \
'databases/breast-cancer-wisconsin/wdbc.data', header=None)
X = df.loc[:, 2:].values
y = df.loc[:, 1].values
le = LabelEncoder()
y = le.fit_transform(y)
X_train, X_test, y_train, y_test = \
train_test_split(X, y, test_size=0.2, random_state=1)
"""Logistic Regression Pipeline"""
pipe_lr = Pipeline([('scl', StandardScaler()),
('pca', PCA(n_components=2)),
('clf', LogisticRegression(penalty='l2',
random_state=0,
C=100.0))])
X_train2 = X_train[:, [4, 14]]
cv = list(StratifiedKFold(n_splits=3,
random_state=1).split(X_train, y_train))
fig = plt.figure(figsize=(7, 5))
mean_tpr = 0.0
mean_fpr = np.linspace(0, 1, 100)
all_tpr = []
for i, (train, test) in enumerate(cv):
probas = pipe_lr.fit(X_train2[train],
y_train[train]).predict_proba(X_train2[test])
fpr, tpr, thresholds = roc_curve(y_train[test],
probas[:, 1],
pos_label=1)
mean_tpr += interp(mean_fpr, fpr, tpr)
mean_tpr[0] = 0.0
roc_auc = auc(fpr, tpr)
plt.plot(fpr,
tpr,
lw=1,
label='ROC-Teilmenge %d (Fläche = %0.2f)'
% (i+1, roc_auc))
plt.plot([0,1],
[0, 1],
linestyle='--',
color = (0.6, 0.6, 0.6),
label='Zufälliges Raten')
mean_tpr /= len(cv)
mean_tpr[-1] = 1.0
mean_auc = auc(mean_fpr, mean_tpr)
plt.plot(mean_fpr, mean_tpr, 'k--',
label='Mittelwert ROC (Fläche = %0.2f)'
% mean_auc, lw=2)
plt.plot([0, 0, 1],
[0, 1, 1],
lw=2,
linestyle=':',
color='black',
label='Perfektes Ergebnis')
plt.xlim([-0.05, 1.05])
plt.ylim([-0.05, 1.05])
plt.xlabel('Falsch-Positiv-Rate')
plt.ylabel('Richtig-Positiv-Rate')
plt.title('Receiver Operator Chararcteristic')
plt.legend(loc='lower right')
plt.show()
"""Wenn nur ROC Fläche interessant, dann:"""
pipe_lr = pipe_lr.fit(X_train2, y_train)
y_pred2 = pipe_lr.predict(X_test[:, [4, 14]])
print('ROC AUC: %.3f'
% roc_auc_score(y_true=y_test, y_score=y_pred2))
print('Korrektklassifizierungsrate: %.3f'
% accuracy_score(y_true=y_test, y_pred=y_pred2))
"""Für Multiklassen-Klassifizierung:"""
pre_scorer = make_scorer(score_func=precision_score,
pos_label=1,
greater_is_better=True,
average='micro') | [
"moritz.heusinger@gmail.com"
] | moritz.heusinger@gmail.com |
5c1b7a79524ef0a7a58892297255840adff3bca9 | aa13e1d93b7a8017e1e610a900bd05f6df91604f | /codechef/contests/APRIL17/SMARKET/test.py | 9ce7c7e4717b87e49c329c52f811ca151af5949b | [] | no_license | laveesingh/Competitive-Programming | 3ce3272eab525635f9ce400f7467ee09de8b51df | 41047f47c23bc8572a1891e891a03cc3f751e588 | refs/heads/master | 2021-01-24T09:51:00.332543 | 2017-10-30T17:11:48 | 2017-10-30T17:11:48 | 52,956,650 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 429 | py | import random
def case():
q = random.randint(1,100000)
a = []
for i in xrange(random.randint(1,10000)):
a.extend([random.randint(1,30)]*random.randint(1,15))
n = len(a)
print n,q
for s in a: print s,
print
for i in xrange(q):
x = random.randint(1,n)
y = random.randint(x,n)
z = random.randint(1,6)
print x,y,z
t = 1
print t
for _ in xrange(t):
case()
| [
"laveechaudharytheone@gmail.com"
] | laveechaudharytheone@gmail.com |
18cf7c61c5f4220ba828d64df737d6f190b36899 | 624b427944c85d01a87a770bdb53ac75b64bc004 | /Classes/DataProcessing/LoadData.py | 2613629ada15a6c1beeb49ab36e56d1119e7fa5c | [] | no_license | tss95/ThesisCode | 4ba67790b8e070d4189f1c54352fae811771db20 | be41470fe9d2f30f40808dc0533e1477b4af5e60 | refs/heads/main | 2023-05-05T23:11:12.872581 | 2021-05-26T15:58:48 | 2021-05-26T15:58:48 | 371,089,971 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28,522 | py |
import numpy as np
import os
from sklearn.model_selection import train_test_split
base_dir = '/media/tord/T7/Thesis_ssd/MasterThesis3/'
os.chdir(base_dir)
from GlobalUtils import GlobalUtils
glob_utils = GlobalUtils()
class LoadData():
"""
This class is responsible from loading all the data from the premade csv to numpy arrays.
It also splits into training/validation/test and performs sampling of the data.
This class also contains label_dict, which is the translation between the one-hot encoded labels and the
labels in their text form.
NOTE: The even_label_occurance function is not robust at all. It is used when doing noise-not-noise, and
its functionality is strictly dependent on label_dict = { 'noise': 0, 'earthquake' : 1, 'explosion' : 1}.
PARAMETERS:
-----------------------------------------------------------------------------------------------------------------
earth_explo_only:(Bool) Determining if only events labeled explosion and earthquake is to be loaded.
Will also load a training set sized sample of noise events for the noise augmentor.
Splits into train/val/test
noise_earth_only:(Bool) Intended to behave much like the one above. Currently not in use.
noise_not_noise:(Bool) Much like earth_explo_only, this boolean loads events of all classes, and splits them
into train/val/test
downsample:(Bool) Will reduce the most frequent event so that it matches the second most frequent class in number.
upsample:(Bool) Will sample with replacement the least frequent class to match the second most frequent class in number.
frac_diff:(float) Ignore this, always set to 1.
seed: (int) Seed, makes sure that the shuffling and splits of the data are the same everytime with the same parameters.
subsample_size:(float) Fraction, (0,1] which will select a subsample of the sets in order to reduce computational resource demand.
balance_non_train_set:(Bool) Dictates whether or not upsampling/downsampling and even_balance should be done on the validation and test sets
use_true_test_set:(Bool) Whether or not the test set should consist of the isolated training set, or if a pseudo test set should be used
load_everything:(Bool) Whether or not to load all the data from the second batch of data. Will also load the isolated
test set. Useful when graphing and looking at the whole dataset. NEVER USE FOR MODELING
even_balance:(Bool) Whether or not to balance the classes so that each class so that the distribution of each class
is all_events/nr_clases.
load_nukes: (Bool) Whether or not to load to nuclear explosion waveforms.
"""
def __init__(self, earth_explo_only = False, noise_earth_only = False, noise_not_noise = False,
downsample = False, upsample = False, frac_diff = 1, seed = None, subsample_size = 1,
balance_non_train_set = False, use_true_test_set = False, load_everything = False,
load_first_batch = False, even_balance = False, load_nukes = False):
self.seed = seed
np.random.seed(self.seed)
self.earth_explo_only = earth_explo_only
self.noise_earth_only = noise_earth_only
self.noise_not_noise = noise_not_noise
self.downsample = downsample
self.upsample = upsample
self.frac_diff = frac_diff
self.subsample_size = subsample_size
self.balance_non_train_set = balance_non_train_set
self.use_true_test_set = use_true_test_set
# If true, then the class distribution will be equal to 1/num_classes.
self.even_balance = even_balance
self.load_nukes = load_nukes
self.csv_folder = glob_utils.csv_dir
self.data_csv_name = glob_utils.data_csv_name
if self.load_nukes:
self.initialize_nuclear_tests()
return
if load_first_batch:
self.data_csv_name = glob_utils.batch_1_csv_name
assert not load_everything, "Load everything should be False when using the first batch. A test set has not been generated for this dataset"
if load_everything:
print("Loading all of second batch. Including the test data.")
self.data_csv_name = glob_utils.no_nan_no_induced_csv_name
else:
if self.use_true_test_set:
self.test_csv_name = glob_utils.test_csv_name
self.test_ds = self.csv_to_numpy(self.test_csv_name, self.csv_folder)
print("WARNING: You are using the true test set.")
print("If this is an error, please set use_true_test_set = False and reload the kernel")
if sum([self.earth_explo_only, self.noise_earth_only, self.noise_not_noise]) > 1:
raise Exception("Invalid load data arguments.")
self.full_ds = self.csv_to_numpy(self.data_csv_name, self.csv_folder)
self.create_label_dict()
self.load_data()
print("\n")
if not load_everything and not load_first_batch:
self.print_data_info()
def load_data(self):
if not self.use_true_test_set:
if self.noise_not_noise:
self.load_noise_not_noise()
if self.earth_explo_only:
self.load_earth_explo_only()
if self.noise_earth_only:
raise Exception("Not implemented noise earth only. Seems unecessary")
else:
self.load_final_evaluation()
def initialize_nuclear_tests(self):
# Need to load data to fit preprocessors
self.full_ds = self.csv_to_numpy(self.data_csv_name, self.csv_folder)
noise = self.full_ds[self.full_ds[:,1] == "noise"]
explosions = self.full_ds[self.full_ds[:,1] == "explosion"]
earthquakes = self.full_ds[self.full_ds[:,1] == "earthquake"]
train_noise, _ = train_test_split(noise, test_size = 0.15, random_state = self.seed)
train_explo, _ = train_test_split(explosions, test_size = 0.15, random_state = self.seed)
train_earth, _ = train_test_split(earthquakes, test_size = 0.15, random_state = self.seed)
self.train = np.concatenate((train_noise, train_explo, train_earth))
self.train = self.balance_ds(self.train, self.downsample, self.upsample, frac_diff = self.frac_diff)
if self.even_balance:
self.train = self.even_label_occurances(self.train)
self.train = self.train[np.random.choice(self.train.shape[0], int(len(self.train)*self.subsample_size), replace = False)]
self.train = self.map_redundancy(self.train, "train")
self.noise_ds = self.train[self.train[:,1] == "noise"]
self.val = None
self.test = None
nuke_csv_name = glob_utils.nukes_csv_name
nukes = self.csv_to_numpy(nuke_csv_name, self.csv_folder)
nukes_ds = np.zeros((nukes.shape[0], nukes.shape[1] + 1), dtype = object)
nukes_ds[:,:-1] = nukes
self.nukes_ds = nukes_ds
self.create_label_dict()
def load_noise_not_noise_true_test(self):
# Training and validation:
noise = self.full_ds[self.full_ds[:,1] == "noise"]
explosions = self.full_ds[self.full_ds[:,1] == "explosion"]
earthquakes = self.full_ds[self.full_ds[:,1] == "earthquake"]
# Creating unique train/val splits for each class:
train_noise, val_noise = train_test_split(noise, test_size = 0.15, random_state = self.seed)
train_explo, val_explo = train_test_split(explosions, test_size = 0.15, random_state = self.seed)
train_earth, val_earth = train_test_split(earthquakes, test_size = 0.15, random_state = self.seed)
# Combining events. This way we prevent duplicates in other sets.
self.train = np.concatenate((train_noise, train_explo, train_earth))
self.val = np.concatenate((val_noise, val_explo, val_earth))
self.test = self.test_ds
# Up and down sampling
self.train = self.balance_ds(self.train, self.downsample, self.upsample, frac_diff = self.frac_diff)
if self.balance_non_train_set:
self.val = self.balance_ds(self.val, self.downsample, self.upsample, frac_diff = self.frac_diff)
self.test = self.balance_ds(self.test, self.downsample, self.upsample, frac_diff = self.frac_diff)
else:
# Shuffles the data if not
self.val = self.balance_ds(self.val, False, False, frac_diff = self.frac_diff)
self.test = self.balance_ds(self.test, False, False, frac_diff = self.frac_diff)
if self.even_balance:
self.train = self.even_label_occurances(self.train)
if self.balance_non_train_set:
self.val = self.even_label_occurances(self.val)
self.test = self.even_label_occurances(self.test)
self.train = self.train[np.random.choice(self.train.shape[0], int(len(self.train)*self.subsample_size), replace = False)]
self.val = self.val[np.random.choice(self.val.shape[0], int(len(self.val)*self.subsample_size), replace = False)]
print("NO SUBSAMPLING DONE ON THE TRUE TEST SET")
# Mapping redundnad samples for time augmentor
self.train = self.map_redundancy(self.train, "train")
self.val = self.map_redundancy(self.val, "validation")
self.test = self.map_redundancy(self.test, "test")
self.full_ds = np.concatenate((self.train, self.val, self.test))
self.noise_ds = self.train[self.train[:,1] == "noise"]
def load_noise_not_noise(self):
noise = self.full_ds[self.full_ds[:,1] == "noise"]
explosions = self.full_ds[self.full_ds[:,1] == "explosion"]
earthquakes = self.full_ds[self.full_ds[:,1] == "earthquake"]
# Unique noise split
train_noise, val_test_noise = train_test_split(noise, test_size = 0.2, random_state = self.seed)
val_noise, test_noise = train_test_split(val_test_noise, test_size = 0.4, random_state = self.seed)
#Unique explosion split
train_explosions, val_test_explosions = train_test_split(explosions, test_size = 0.2, random_state = self.seed)
val_explosions, test_explosions = train_test_split(val_test_explosions, test_size = 0.4, random_state = self.seed)
#Unique earthquake split
train_earthquakes, val_test_earthquakes = train_test_split(earthquakes, test_size = 0.2, random_state = self.seed)
val_earthquakes, test_earthquakes = train_test_split(val_test_earthquakes, test_size = 0.4, random_state = self.seed)
# Combining so that events are not duplicated in the splits
self.train = np.concatenate((train_noise, train_explosions, train_earthquakes))
self.val = np.concatenate((val_noise, val_explosions, val_earthquakes))
self.test = np.concatenate((test_noise, test_explosions, test_earthquakes))
# Combining so that events are not duplicated in the splits
self.train = np.concatenate((train_noise, train_explosions, train_earthquakes))
self.val = np.concatenate((val_noise, val_explosions, val_earthquakes))
self.test = np.concatenate((test_noise, test_explosions, test_earthquakes))
# Up and down sampling
self.train = self.balance_ds(self.train, self.downsample, self.upsample, frac_diff = self.frac_diff)
if self.balance_non_train_set:
self.val = self.balance_ds(self.val, self.downsample, self.upsample, frac_diff = self.frac_diff)
self.test = self.balance_ds(self.test, self.downsample, self.upsample, frac_diff = self.frac_diff)
else:
# Shuffles the data if not
self.val = self.balance_ds(self.val, False, False, frac_diff = self.frac_diff)
self.test = self.balance_ds(self.test, False, False, frac_diff = self.frac_diff)
if self.even_balance:
self.train = self.even_label_occurances(self.train)
if self.balance_non_train_set:
self.val = self.even_label_occurances(self.val)
self.test = self.even_label_occurances(self.test)
self.train = self.train[np.random.choice(self.train.shape[0], int(len(self.train)*self.subsample_size), replace = False)]
self.val = self.val[np.random.choice(self.val.shape[0], int(len(self.val)*self.subsample_size), replace = False)]
self.test = self.test[np.random.choice(self.test.shape[0], int(len(self.test)*self.subsample_size), replace = False)]
# Mapping redundnad samples for time augmentor
self.train = self.map_redundancy(self.train, "train")
self.val = self.map_redundancy(self.val, "validation")
self.test = self.map_redundancy(self.test, "test")
self.full_ds = np.concatenate((self.train, self.val, self.test))
self.noise_ds = self.train[self.train[:,1] == "noise"]
def load_earth_explo_only_true_test(self):
noise = self.full_ds[self.full_ds[:,1] == "noise"]
explosions = self.full_ds[self.full_ds[:,1] == "explosion"]
earthquakes = self.full_ds[self.full_ds[:,1] == "earthquake"]
# Creating unique train/val splits for each class:
train_noise, _ = train_test_split(noise, test_size = 0.15, random_state = self.seed)
train_explo, val_explo = train_test_split(explosions, test_size = 0.15, random_state = self.seed)
train_earth, val_earth = train_test_split(earthquakes, test_size = 0.15, random_state = self.seed)
# Combing so that events are not duplciated
self.train = np.concatenate((train_explo, train_earth))
self.val = np.concatenate((val_explo, val_earth))
self.test = self.test_ds[self.test_ds[:,1] != "noise"]
# Up and down sampling
self.train = self.balance_ds(self.train, self.downsample, self.upsample, frac_diff = self.frac_diff)
if self.balance_non_train_set:
self.val = self.balance_ds(self.val, self.downsample, self.upsample, frac_diff = self.frac_diff)
self.test = self.balance_ds(self.test, self.downsample, self.upsample, frac_diff = self.frac_diff)
else:
# Shuffles the data if not
self.val = self.balance_ds(self.val, False, False, frac_diff = self.frac_diff)
self.test = self.balance_ds(self.test, False, False, frac_diff = self.frac_diff)
if self.even_balance:
self.train = self.even_label_occurances(self.train)
if self.balance_non_train_set:
self.val = self.even_label_occurances(self.val)
self.test = self.even_label_occurances(self.test)
self.train = self.train[np.random.choice(self.train.shape[0], int(len(self.train)*self.subsample_size), replace = False)]
self.val = self.val[np.random.choice(self.val.shape[0], int(len(self.val)*self.subsample_size), replace = False)]
print("NOT SUBSAMPLING THE TRUE TEST SET.")
# Mapping redundnad samples for time augmentor
self.train = self.map_redundancy(self.train, "train")
self.val = self.map_redundancy(self.val, "validation")
self.test = self.map_redundancy(self.test, "test")
self.full_ds = np.concatenate((self.train, self.val, self.test))
# Create noise_ds.
self.noise_ds = self.train[self.train[:,1] == "noise"]
def load_final_evaluation(self):
self.train = self.full_ds
self.test = self.test_ds
# Up and down sampling
self.train = self.balance_ds(self.train, self.downsample, self.upsample, frac_diff = self.frac_diff)
if self.even_balance:
self.train = self.even_label_occurances(self.train)
self.train = self.train[np.random.choice(self.train.shape[0], int(len(self.train)*self.subsample_size), replace = False)]
# Mapping redundnad samples for time augmentor
self.train = self.map_redundancy(self.train, "train")
self.test = self.map_redundancy(self.test, "test")
self.val = None
self.noise_ds = self.train[self.train[:,1] == "noise"]
def load_earth_explo_only(self):
noise = self.full_ds[self.full_ds[:,1] == "noise"]
explosions = self.full_ds[self.full_ds[:,1] == "explosion"]
earthquakes = self.full_ds[self.full_ds[:,1] == "earthquake"]
# Unique noise split
train_noise, _ = train_test_split(noise, test_size = 0.2, random_state = self.seed)
#Unique explosion split
train_explosions, val_test_explosions = train_test_split(explosions, test_size = 0.2, random_state = self.seed)
val_explosions, test_explosions = train_test_split(val_test_explosions, test_size = 0.4, random_state = self.seed)
#Unique earthquake split
train_earthquakes, val_test_earthquakes = train_test_split(earthquakes, test_size = 0.2, random_state = self.seed)
val_earthquakes, test_earthquakes = train_test_split(val_test_earthquakes, test_size = 0.4, random_state = self.seed)
# Combining so that events are not duplicated in the splits
self.train = np.concatenate((train_explosions, train_earthquakes))
self.val = np.concatenate((val_explosions, val_earthquakes))
self.test = np.concatenate((test_explosions, test_earthquakes))
# Up and down sampling
self.train = self.balance_ds(self.train, self.downsample, self.upsample, frac_diff = self.frac_diff)
if self.balance_non_train_set:
self.val = self.balance_ds(self.val, self.downsample, self.upsample, frac_diff = self.frac_diff)
self.test = self.balance_ds(self.test, self.downsample, self.upsample, frac_diff = self.frac_diff)
else:
# Shuffles the data if not
self.val = self.balance_ds(self.val, False, False, frac_diff = self.frac_diff)
self.test = self.balance_ds(self.test, False, False, frac_diff = self.frac_diff)
if self.even_balance:
self.train = self.even_label_occurances(self.train)
if self.balance_non_train_set:
self.val = self.even_label_occurances(self.val)
self.test = self.even_label_occurances(self.test)
self.train = self.train[np.random.choice(self.train.shape[0], int(len(self.train)*self.subsample_size), replace = False)]
self.val = self.val[np.random.choice(self.val.shape[0], int(len(self.val)*self.subsample_size), replace = False)]
self.test = self.test[np.random.choice(self.test.shape[0], int(len(self.test)*self.subsample_size), replace = False)]
# Mapping redundnad samples for time augmentor
self.train = self.map_redundancy(self.train, "train")
self.val = self.map_redundancy(self.val, "validation")
self.test = self.map_redundancy(self.test, "test")
self.full_ds = np.concatenate((self.train, self.val, self.test))
# Create noise_ds.
# Create zero redundancy column
train_noise = train_noise[np.random.choice(train_noise.shape[0], int(len(train_noise)*self.subsample_size), replace = False)]
zero_column = np.zeros((len(train_noise), 1), dtype = np.int)
self.noise_ds = np.hstack((train_noise, zero_column))
def create_label_dict(self):
# Used
self.complete_label_dict = {'noise' : 0, 'earthquake' : 1, 'explosion' : 2}
# Method which produces the dictionary for labels. This is used in order to disguise labels during training.
if self.earth_explo_only:
self.label_dict = self.earth_explo_dict()
elif self.noise_earth_only:
self.label_dict = {'earthquake' : 0, 'noise' : 1}
elif self.noise_not_noise:
self.label_dict = self.noise_not_noise_dict()
else:
self.label_dict = {'noise' : 0, 'explosion' : 1, 'earthquake' : 2}
def noise_not_noise_dict(self):
return {'noise': 0, 'earthquake' : 1, 'explosion' : 1}
def earth_explo_dict(self):
return {'explosion' : 0, 'earthquake' : 1}
def get_datasets(self):
return self.train, self.val, self.test
def csv_to_numpy(self, data_csv, csv_folder):
with open(csv_folder + '/' + data_csv) as file:
file_list = np.array(list(file))
dataset = np.empty((len(file_list), 2), dtype=object)
for idx, event in enumerate(file_list):
path, label = event.split(',')
dataset[idx][0] = path.rstrip()
dataset[idx][1] = label.rstrip()
file.close()
return dataset
def downsample_label(self, target_label, ds, n_samples):
# Method which produces n_samples of the targeted label, and returns the dataset unchanged but with n_samples of the targeted label.
target_array = np.array([x for x in ds if x[1] == target_label], dtype = object)
down_ds = np.array([y for y in ds if y[1] != target_label], dtype = object)
np.random.seed(self.seed)
down_ds = np.concatenate((down_ds, target_array[np.random.choice(target_array.shape[0], n_samples, replace = True)]))
return np.array(down_ds)
def upsample_label(self, target_label, ds, n_samples):
# Seemingly equivalent to downsample_label (?)
target_array = np.array([x for x in ds if x[1] == target_label])
up_ds = [y for y in ds if y[1] != target_label]
np.random.seed(self.seed)
up_ds = np.concatenate((up_ds, target_array[np.random.choice(target_array.shape[0], n_samples, replace = True)]))
return np.array(up_ds)
def frac_diff_n_samples(self, frac_diff, min_counts, max_counts):
# Returns the difference between the most occuring label and the least occuring label, multiplied by some fraction, and added to the number of the least occuring label.
# Potentially a really stupid idea which is now implemented. Can be omitted by setting frac diff = 1
diff = max_counts - min_counts
n_samples = int(min_counts + diff*frac_diff)
return n_samples
def balance_ds(self, ds, downsample, upsample, frac_diff = 0):
# Downsamples the two most occuring labels, and upsamples the most occuring label.
unique_labels, counts = np.unique(ds[:,1], return_counts = True)
nr_classes = len(unique_labels)
if downsample:
# Downsamples by first reducing the largest class, then the second class.
for i in range(nr_classes-1):
unique_labels, counts = np.unique(ds[:,1], return_counts = True)
most_occuring_label = unique_labels[np.where(counts == max(counts))]
n_samples_frac_diff = self.frac_diff_n_samples(frac_diff, min(counts), max(counts))
ds = self.downsample_label(most_occuring_label, ds, n_samples_frac_diff)
if upsample:
if frac_diff != 0:
unique_labels, counts = np.unique(ds[:,1], return_counts = True)
least_occuring_label = unique_labels[np.where(counts == min(counts))]
n_samples_for_balance = max(counts)
ds = self.upsample_label(least_occuring_label, ds, n_samples_for_balance)
np.random.seed(self.seed)
np.random.shuffle(ds)
return ds
def even_label_occurances(self, ds):
# In cases where labels are disguised as something else, this method will even them out so that the label distribution is even.
num_classes = len(set(self.label_dict.values()))
print(num_classes, len(set(self.label_dict.keys())))
if num_classes != len(set(self.label_dict.keys())):
print("Balancing due to disguised labels.")
print("This functions barely works, and is a piece of shit that should not be trusted. Only works because noise has id: 0")
ids = self.label_dict.values()
most_occuring_id = max(ids)
label_count_dict = {}
for label, id in self.label_dict.items():
label_count_dict[label] = len(ds[ds[:,1] == label])
print(label_count_dict)
# Want the labels which share id, to combined have the same number of events of the event with the unique id.
for label, id in self.label_dict.items():
if id == most_occuring_id:
pure_label_ds = ds[ds[:,1] == label]
ds_without_label = ds[ds[:,1] != label]
ds = np.concatenate((ds_without_label, pure_label_ds[np.random.choice(pure_label_ds.shape[0], label_count_dict[label]//num_classes, replace = False)]))
return ds
def get_label_dict(self):
return self.label_dict
def map_redundancy(self, ds, set_name):
# Creates a redundancy index which distinguishes events which are sampled multiple times.
# Primarily used in timeAugmentation in order to create unique augmentations of otherwise identical events.
# This only works if we are upsampling EARTHQUAKES (NOTHING ELSE)!
# TODO: Check this function and improve it. This is sad.
new_column = np.zeros((len(ds), 1), dtype = np.int8)
mapped_ds = np.hstack((ds, new_column))
earth_ds = ds[ds[:,1] == "earthquake"]
unique_earth_paths = set(earth_ds[:,0])
nr_unique_earth_paths = len(unique_earth_paths)
for idx, path in enumerate(unique_earth_paths):
self.progress_bar(idx + 1, nr_unique_earth_paths, f"Mapping {set_name} redundancy: ")
nr_repeats = len(earth_ds[earth_ds[:,0] == path])
label = earth_ds[earth_ds[:,0] == path][0][1]
repeating_indexes = np.where(ds[ds[:,0] == path][:,0][0] == ds[:,0])[0]
current_index = 0
if len(repeating_indexes) > 1:
for event in earth_ds[earth_ds[:,0] == path]:
mapped_ds[repeating_indexes[current_index]][0] = path
mapped_ds[repeating_indexes[current_index]][1] = label
mapped_ds[repeating_indexes[current_index]][2] = current_index
current_index += 1
print("\n")
return mapped_ds
def progress_bar(self, current, total, text, barLength = 40):
percent = float(current) * 100 / total
arrow = '-' * int(percent/100 * barLength - 1) + '>'
spaces = ' ' * (barLength - len(arrow))
print('%s: [%s%s] %d %%' % (text, arrow, spaces, percent), end='\r')
def print_data_info(self):
if self.earth_explo_only:
print("Loaded explosion and earthquake dataset:")
if self.noise_not_noise:
print("Loaded noise non-noise dataset.")
if self.use_true_test_set:
print("Loaded true test set, accompanied by a train set for preprocessing fitting.")
if self.even_balance:
print("Evenly balanced among classes in the train set.")
if self.balance_non_train_set:
print("As well as non train sets.")
print("Distribution (Label: (counts, proportion)) of")
print("Train ds:")
labels, counts = np.unique(self.train[:,1], return_counts = True)
print(self.generate_dist_string_EE(labels, counts))
if not self.use_true_test_set:
print("Val ds:")
labels, counts = np.unique(self.val[:,1], return_counts = True)
print(self.generate_dist_string_EE(labels, counts))
print("Test ds:")
labels, counts = np.unique(self.test[:,1], return_counts = True)
print(self.generate_dist_string_EE(labels, counts))
def generate_dist_string_EE(self, labels, counts):
string = ""
for i in range(len(labels)):
string += f"{labels[i]}: ({counts[i]}, {np.round(counts[i]/np.sum(counts), decimals = 4)}) "
if i != len(labels) - 1:
string += "| "
return string
| [
"gus008@uib.no"
] | gus008@uib.no |
bc515c0993495b2e5a539a3fda11dd20316f2e87 | fe3265b72e691c6df8ecd936c25b6d48ac33b59a | /homeassistant/components/motion_blinds/config_flow.py | d861c989ee0e2c19d2a4eef6e23cd33e93f2c8c3 | [
"Apache-2.0"
] | permissive | bdraco/home-assistant | dcaf76c0967783a08eec30ce704e5e9603a2f0ca | bfa315be51371a1b63e04342a0b275a57ae148bd | refs/heads/dev | 2023-08-16T10:39:15.479821 | 2023-02-21T22:38:50 | 2023-02-21T22:38:50 | 218,684,806 | 13 | 7 | Apache-2.0 | 2023-02-21T23:40:57 | 2019-10-31T04:33:09 | Python | UTF-8 | Python | false | false | 6,137 | py | """Config flow to configure Motion Blinds using their WLAN API."""
from __future__ import annotations
from typing import Any
from motionblinds import MotionDiscovery
import voluptuous as vol
from homeassistant import config_entries
from homeassistant.components import dhcp
from homeassistant.const import CONF_API_KEY, CONF_HOST
from homeassistant.core import callback
from homeassistant.data_entry_flow import FlowResult
from homeassistant.helpers.device_registry import format_mac
from .const import (
CONF_INTERFACE,
CONF_WAIT_FOR_PUSH,
DEFAULT_GATEWAY_NAME,
DEFAULT_INTERFACE,
DEFAULT_WAIT_FOR_PUSH,
DOMAIN,
)
from .gateway import ConnectMotionGateway
CONFIG_SCHEMA = vol.Schema(
{
vol.Optional(CONF_HOST): str,
}
)
class OptionsFlowHandler(config_entries.OptionsFlow):
"""Options for the component."""
def __init__(self, config_entry: config_entries.ConfigEntry) -> None:
"""Init object."""
self.config_entry = config_entry
async def async_step_init(
self, user_input: dict[str, Any] | None = None
) -> FlowResult:
"""Manage the options."""
errors: dict[str, str] = {}
if user_input is not None:
return self.async_create_entry(title="", data=user_input)
settings_schema = vol.Schema(
{
vol.Optional(
CONF_WAIT_FOR_PUSH,
default=self.config_entry.options.get(
CONF_WAIT_FOR_PUSH, DEFAULT_WAIT_FOR_PUSH
),
): bool,
}
)
return self.async_show_form(
step_id="init", data_schema=settings_schema, errors=errors
)
class MotionBlindsFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
"""Handle a Motion Blinds config flow."""
VERSION = 1
def __init__(self) -> None:
"""Initialize the Motion Blinds flow."""
self._host: str | None = None
self._ips: list[str] = []
self._config_settings = None
@staticmethod
@callback
def async_get_options_flow(
config_entry: config_entries.ConfigEntry,
) -> OptionsFlowHandler:
"""Get the options flow."""
return OptionsFlowHandler(config_entry)
async def async_step_dhcp(self, discovery_info: dhcp.DhcpServiceInfo) -> FlowResult:
"""Handle discovery via dhcp."""
mac_address = format_mac(discovery_info.macaddress).replace(":", "")
await self.async_set_unique_id(mac_address)
self._abort_if_unique_id_configured(updates={CONF_HOST: discovery_info.ip})
short_mac = mac_address[-6:].upper()
self.context["title_placeholders"] = {
"short_mac": short_mac,
"ip_address": discovery_info.ip,
}
self._host = discovery_info.ip
return await self.async_step_connect()
async def async_step_user(
self, user_input: dict[str, Any] | None = None
) -> FlowResult:
"""Handle a flow initialized by the user."""
errors = {}
if user_input is not None:
self._host = user_input.get(CONF_HOST)
if self._host is not None:
return await self.async_step_connect()
# Use MotionGateway discovery
discover_class = MotionDiscovery()
gateways = await self.hass.async_add_executor_job(discover_class.discover)
self._ips = list(gateways)
if len(self._ips) == 1:
self._host = self._ips[0]
return await self.async_step_connect()
if len(self._ips) > 1:
return await self.async_step_select()
errors["base"] = "discovery_error"
return self.async_show_form(
step_id="user", data_schema=CONFIG_SCHEMA, errors=errors
)
async def async_step_select(
self, user_input: dict[str, Any] | None = None
) -> FlowResult:
"""Handle multiple motion gateways found."""
if user_input is not None:
self._host = user_input["select_ip"]
return await self.async_step_connect()
select_schema = vol.Schema({vol.Required("select_ip"): vol.In(self._ips)})
return self.async_show_form(step_id="select", data_schema=select_schema)
async def async_step_connect(
self, user_input: dict[str, Any] | None = None
) -> FlowResult:
"""Connect to the Motion Gateway."""
errors: dict[str, str] = {}
if user_input is not None:
key = user_input[CONF_API_KEY]
connect_gateway_class = ConnectMotionGateway(self.hass)
if not await connect_gateway_class.async_connect_gateway(self._host, key):
return self.async_abort(reason="connection_error")
motion_gateway = connect_gateway_class.gateway_device
# check socket interface
check_multicast_class = ConnectMotionGateway(
self.hass, interface=DEFAULT_INTERFACE
)
multicast_interface = await check_multicast_class.async_check_interface(
self._host, key
)
mac_address = motion_gateway.mac
await self.async_set_unique_id(mac_address, raise_on_progress=False)
self._abort_if_unique_id_configured(
updates={
CONF_HOST: self._host,
CONF_API_KEY: key,
CONF_INTERFACE: multicast_interface,
}
)
return self.async_create_entry(
title=DEFAULT_GATEWAY_NAME,
data={
CONF_HOST: self._host,
CONF_API_KEY: key,
CONF_INTERFACE: multicast_interface,
},
)
self._config_settings = vol.Schema(
{
vol.Required(CONF_API_KEY): vol.All(str, vol.Length(min=16, max=16)),
}
)
return self.async_show_form(
step_id="connect", data_schema=self._config_settings, errors=errors
)
| [
"noreply@github.com"
] | bdraco.noreply@github.com |
7138157a99f990cabe7b6d92c931997d3c4c9092 | 544cfadc742536618168fc80a5bd81a35a5f2c99 | /tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/power/tel/lab/ensure_valid_calibration_table_test.py | 76eb4dbd4acd38d244719fc813c3d683256c7892 | [] | no_license | ZYHGOD-1/Aosp11 | 0400619993b559bf4380db2da0addfa9cccd698d | 78a61ca023cbf1a0cecfef8b97df2b274ac3a988 | refs/heads/main | 2023-04-21T20:13:54.629813 | 2021-05-22T05:28:21 | 2021-05-22T05:28:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,264 | py | #!/usr/bin/env python3
#
# Copyright 2019 - The Android Open Source Project
#
# 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.
import unittest
from unittest import mock
import mobly.config_parser as mobly_config_parser
class EnsureValidCalibrationTableTest(unittest.TestCase):
""" Unit tests for exercising the logic of ensure_valid_calibration_table
for instances of PowerCellularLabBaseTest
"""
VALID_CALIBRATION_TABLE = {'1': {'2': {'3': 123, '4': 3.14}}, '2': 45.67}
INVALID_CALIBRATION_TABLE = invalid = {'1': {'a': 'invalid'}, '2': 1234}
@classmethod
def setUpClass(self):
from acts_contrib.test_utils.power.cellular.cellular_power_base_test import PowerCellularLabBaseTest as PCBT
self.PCBT = PCBT
PCBT.log = mock.Mock()
PCBT.log_path = ''
def setUp(self):
self.tb_key = 'testbed_configs'
test_run_config = mobly_config_parser.TestRunConfig()
test_run_config.testbed_name = 'MockTestBed'
test_run_config.log_path = '/tmp'
test_run_config.summary_writer = mock.MagicMock()
test = self.PCBT(test_run_config)
self.test = test
def _assert_no_exception(self, func, *args, **kwargs):
try:
func(*args, **kwargs)
except Exception as e:
self.fail('Error thrown: {}'.format(e))
def _assert_calibration_table_passes(self, table):
self._assert_no_exception(self.test.ensure_valid_calibration_table, table)
def _assert_calibration_table_fails(self, table):
with self.assertRaises(TypeError):
self.test.ensure_valid_calibration_table(table)
def test_ensure_valid_calibration_table_passes_with_empty_table(self):
""" Ensure that empty calibration tables are invalid """
self._assert_calibration_table_passes({})
def test_ensure_valid_calibration_table_passes_with_valid_table(self):
""" Ensure that valid calibration tables throw no error """
self._assert_calibration_table_passes(self.VALID_CALIBRATION_TABLE)
def test_ensure_valid_calibration_table_fails_with_invalid_data(self):
""" Ensure that calibration tables with invalid entries throw an error """
self._assert_calibration_table_fails(self.INVALID_CALIBRATION_TABLE)
def test_ensure_valid_calibration_table_fails_with_none(self):
""" Ensure an exception is thrown if no calibration table is given """
self._assert_calibration_table_fails(None)
def test_ensure_valid_calibration_table_fails_with_invalid_type(self):
""" Ensure an exception is thrown if no calibration table is given """
self._assert_calibration_table_fails([])
if __name__ == '__main__':
unittest.main()
| [
"rick_tan@qq.com"
] | rick_tan@qq.com |
15bf5e4eda25ea809c265e9078c5bdbd923af0eb | 6382f6b0f4391adee4d5351ddaee27a1ed71232b | /score_from_training_phase.py | d29410acaa0720a4d944e7417362f8f0b085e094 | [] | no_license | Zakuta/image-registration-sinkhorn-divergence | 00960a17bb3031aaaed368d35d98b558969d7a05 | 83d43752cb3a8fcf0801e49b52123b628707f528 | refs/heads/master | 2020-04-27T17:56:19.687589 | 2019-03-08T13:50:31 | 2019-03-08T13:50:31 | 174,545,261 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,717 | py | import torch
import json
import numpy as np
from scipy import misc
from scipy.ndimage.filters import gaussian_filter
from matplotlib import pyplot as plt
from time import time
from statsmodels import robust
from scipy.spatial import distance
import extract_coordinates_json as json_coord
import extract_svg_coordinates as svg_coord
use_cuda = torch.cuda.is_available()
tensor = torch.cuda.FloatTensor if use_cuda else torch.FloatTensor
plt.ion()
plt.show()
s2v = lambda x: tensor([x])
svg_path_shape1 = r'/data/Shape1_start_absolute.svg'
svg_path_shape2 = r'/data/Shape2_start_absolute.svg'
svg_path_shape3 = r'/data/Shape3_start_absolute.svg'
json_path = r'/data/1st_assessment_with_training.json'
# Loop on all the experiments ================================================================
experiments = {}
if True: # Sinkhorn
for p in [2]: # C(x,y) = |x-y|^1 or |x-y|^2
for eps, eps_s in [(.01, "S")]:
for nits in [2]:
experiments["sinkhorn_L{}_{}_{}its".format(p, eps_s, nits)] = {
"formula": "sinkhorn",
"p": p,
"eps": eps ** p, # Remember : eps is homogeneous to C(x,y)
"nits": nits,
"tol": 0., # Run all iterations, no early stopping!
"transport_plan": "heatmaps",
}
# Load the pngs ================================================================================
def LoadImage(fname):
img = misc.imread(fname, flatten=True) # Grayscale
img = gaussian_filter(img, 1, mode='nearest')
img = (img[::-1, :]) / 255.
img = np.swapaxes(img, 0, 1)
return tensor(1 - img)
def extract_point_cloud(I, affine) :
"""Bitmap to point cloud."""
# Threshold, to extract the relevant indices ---------------------------------------
ind = (I > .001).nonzero()
# Extract the weights --------------------------------------------------------------
D = len(I.shape)
if D == 2 : α_i = I[ind[:,0], ind[:,1]]
elif D == 3 : α_i = I[ind[:,0], ind[:,1], ind[:,2]]
else : raise NotImplementedError()
α_i = α_i * affine[0,0] * affine[1,1] # Lazy approximation of the determinant...
# If we normalize the measures, it doesn't matter anyway.
# Don't forget the changes of coordinates! -----------------------------------------
M = affine[:D,:D] ; off = affine[:D,D]
x_i = ind.float() @ M.t() + off
return ind, α_i.view(-1, 1), x_i
def _calculate_score_(json_path, number_of_try, shape_type, template_path, name, params, verbose=False):
t_0 = time()
svg_coord.save_template_image(svg_path=template_path, shape_type=shape_type)
plt.pause(0.5)
json_coord.save_patient_image(json_path=json_path, shape_type=shape_type, number_of_try=number_of_try)
dataset = "shape"
datasets = {
"shape": (f"data/patient_inp_{shape_type}_{number_of_try}.png", f"data/{shape_type}.png"),
}
# Note that both measures will be normalized in "sparse_distance_bmp"
source = LoadImage(datasets[dataset][0])
target = LoadImage(datasets[dataset][1])
# The images are rescaled to fit into the unit square ==========================================
scale = source.shape[0]
affine = tensor([[1, 0, 0], [0, 1, 0]]) / scale
ind_source, α_i_source, x_i_source = extract_point_cloud(source, affine)
ind_target, α_i_target, x_i_target = extract_point_cloud(target, affine)
distance_matrix = distance.cdist(x_i_source, x_i_target, 'euclidean')
sq_min = []
for i in range(len(distance_matrix)):
sq_min.append(np.min(distance_matrix[i]))
answer = np.mean(sq_min)
# We'll save the output wrt. the number of iterations
# display = False
#
# cost, grad_src, heatmaps = sparse_distance_bmp(params, source, target, affine, affine, normalize=True,
# info=display)
# t_1 = time()
# if verbose:
# print("{} : {:.2f}s, cost = {:.6f}".format(name, t_1-t_0, cost.item()))
return float("{:.6f}".format(answer))
def calculate_score(shape_type, number_of_try, template_path):
for name, params in experiments.items():
cost = _calculate_score_(json_path=json_path, number_of_try=number_of_try, shape_type=shape_type,
template_path=template_path, name=name, params=params)
return cost
def get_training_score(json_data, shape_type, template_path):
train_score_array = []
for tries in range(len(json_data)):
status = json_coord.get_patient_status(json_data=json_data, number_of_try=tries)
if status == 'training':
cost = calculate_score(number_of_try=tries, shape_type=shape_type, template_path=template_path)
train_score_array.append(cost)
return train_score_array
def get_tracking_score(json_data, shape_type, template_path):
track_score = []
for tries in range(len(json_data)):
status = json_coord.get_patient_status(json_data=json_data, number_of_try=tries)
if status == 'tracking':
cost = calculate_score(number_of_try=tries, shape_type=shape_type, template_path=template_path)
track_score.append(cost)
return track_score
def classify_track_score(train_score_array, track_score):
median = np.median(train_score_array)
mad = robust.mad(train_score_array)
if track_score < median:
score = 0
elif median <= track_score <= median + mad:
score = 0
elif median + mad < track_score <= median + (2 * mad):
score = 1
elif median + (2 * mad) < track_score <= median + (3 * mad):
score = 2
else:
score = 3
return score, median, mad
def push_notification_normal(train_median, train_mad, normal, track_score, shape_type):
threshold = train_median + train_mad
normalized_normal = normal * 100
threshold_normal = threshold + threshold * normalized_normal
if threshold < track_score:
if threshold_normal < track_score:
print('notify the physician for ' + f'{shape_type}.')
def run(json_data):
t_0 = time()
training_score_array_shape1 = get_training_score(json_data=json_data, shape_type='shape1',
template_path=svg_path_shape1)
training_score_array_shape2 = get_training_score(json_data=json_data, shape_type='shape2',
template_path=svg_path_shape2)
training_score_array_shape3 = get_training_score(json_data=json_data, shape_type='shape3',
template_path=svg_path_shape3)
tracking_score_shape1 = get_tracking_score(json_data=json_data, shape_type='shape1',
template_path=svg_path_shape1)
tracking_score_shape2 = get_tracking_score(json_data=json_data, shape_type='shape2',
template_path=svg_path_shape2)
tracking_score_shape3 = get_tracking_score(json_data=json_data, shape_type='shape3',
template_path=svg_path_shape3)
shape1_score, median_shape1, mad_shape1 = classify_track_score(train_score_array=training_score_array_shape1,
track_score=tracking_score_shape1)
shape2_score, median_shape2, mad_shape2 = classify_track_score(train_score_array=training_score_array_shape2,
track_score=tracking_score_shape2)
shape3_score, median_shape3, mad_shape3 = classify_track_score(train_score_array=training_score_array_shape3,
track_score=tracking_score_shape3)
push_notification_normal(train_median=median_shape1, train_mad=mad_shape1, track_score=tracking_score_shape1,
shape_type='shape1', normal=0.33)
push_notification_normal(train_median=median_shape2, train_mad=mad_shape2, track_score=tracking_score_shape2,
shape_type='shape2', normal=0.33)
push_notification_normal(train_median=median_shape3, train_mad=mad_shape3, track_score=tracking_score_shape3,
shape_type='shape3', normal=0.33)
t_1 = time()
total_time = t_1 - t_0
return shape1_score, shape2_score, shape3_score, total_time
if __name__ == '__main__':
with open(json_path) as file:
data = json.load(file)
score1, score2, score3, total_time = run(json_data=data)
print(score1, score2, score3, total_time)
| [
"y.patel@cankado.com"
] | y.patel@cankado.com |
c16be071300d1c09baaf2b82d39dd9df39cfc71a | 78de3e925ba5c1fba92ba85f9edce29d2c41f874 | /0x11-python-network_1/1-hbtn_header.py | 6ef2e2fbce644fb6f4fee62e68fc6d9dd3a301dd | [] | no_license | thiago1623/holbertonschool-higher_level_programming | 8e440cdb8c07934f92e295730b1308c6dbb0264d | d471792d41a3b4ef24d6190ac6a7824437e55e7c | refs/heads/master | 2023-03-04T05:02:49.795484 | 2021-02-10T23:39:56 | 2021-02-10T23:39:56 | 291,742,402 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 316 | py | #!/usr/bin/python3
"""
Grabs the header X-Request-Id from a url passed as an argument
"""
import urllib.request
import sys
if __name__ == '__main__':
"""request"""
url = urllib.request.Request(sys.argv[1])
with urllib.request.urlopen(url) as response:
print(response.getheader('X-Request-Id'))
| [
"thiago.96t16@gmail.com"
] | thiago.96t16@gmail.com |
1855a5bfa536191d3df314dcdfcf23757ed0e2d7 | acf5f6dbc160437243b7c753c75d6acc802344f6 | /app/utils/pipeline.py | 89d998e1b526b783ad2819b308df86809081e6a5 | [] | no_license | spiros/Data-Science-lab-2018 | a22b116004713b7613b019056dc0311a71180223 | 93e83cb1c9c0a94ccb5cfb489212c099e8c8403d | refs/heads/master | 2020-06-01T08:33:22.818842 | 2019-04-11T15:17:33 | 2019-04-11T15:17:33 | 190,715,748 | 1 | 0 | null | 2019-06-07T09:02:41 | 2019-06-07T09:02:40 | null | UTF-8 | Python | false | false | 1,737 | py | from joblib import load, dump
from gensim.models import Word2Vec
from gensim.models.doc2vec import Doc2Vec
import numpy as np
def load_classifier(model='tfidf'):
# Load and return the classifier
if model == 'tfidf':
print('Loading TFiDF Classifier')
classifier = load('../code/classifier/models/RF_TFiDF.joblib')
elif model == 'word2vec':
print('Loading word2vec Classifier')
classifier = load('../code/classifier/models/RF_word2vec.joblib')
elif model == 'doc2vec':
print('Loading doc2vec Classifier')
classifier = load('../code/classifier/models/RF_doc2vec.joblib')
else:
print('No Model {}'.format(model))
classifier = None
return classifier
def load_embedder(model='tfidf'):
# Load and return the classifier
if model == 'tfidf':
print('Loading TFiDF Embedder')
embedder = load('../code/embedding/models/TF-IFD-ticket-ques.joblib')
elif model == 'word2vec':
print('Loading word2vec Embedding')
embedder = Word2Vec.load('../code/embedding/models/word2vec_ticket_ques.model')
elif model == 'doc2vec':
print('Loading doc2vec Embedding')
embedder = Doc2Vec.load('../code/embedding/models/doc2vec_ticket_ques.model')
else:
print('No Model {}'.format(model))
embedder = None
return embedder
def predict(text, embedder, classifier, model = 'tfidf'):
if model =='tfidf':
embedding = embedder.transform([text])
probs = classifier.predict_proba(embedding)
labels = classifier.classes_
return probs, labels
# TODO: other model types
else:
print('Model {} not found'.format(model))
return None
| [
"brianmjregan@gmail.com"
] | brianmjregan@gmail.com |
980754d5490b84f7110915bb66fa4579598b3ad9 | de3dbea9bbc4a36cab16709f0d977608772f47f8 | /app/views/test_view.py | 0b53d846971921aa15f6423907feecb3d0a34349 | [] | no_license | tjslater/QuickCup | aafb6a99f311921c248022010b52830e5f921bb1 | b88562b3f8f851441d3aae49dcf51192283f539d | refs/heads/master | 2021-03-19T07:11:47.288296 | 2013-10-11T05:09:36 | 2013-10-11T05:09:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 130 | py | from django.shortcuts import render
from linkedin import linkedin
def test(request):
return render(request, 'index.html', {}) | [
"thomas.james.slater@gmail.com"
] | thomas.james.slater@gmail.com |
42daa14d0d8f92824f592d432c275d2b2fcc1d5b | 7acfc3786be1ff95cf1e4ce821596ea33aedb26d | /google/cloud/dialogflowcx_v3/services/flows/client.py | b2c5b800d53cdc6938b12fece045fae8e92d8fd0 | [
"Apache-2.0"
] | permissive | CristianPachacama/python-dialogflow-cx | ee483c0bf7e179165ea34dc59c04d9c9e262db95 | f7551f73a414ea39df936b02ec2d7112f7922858 | refs/heads/master | 2023-03-13T04:28:45.095088 | 2021-03-03T18:00:29 | 2021-03-03T18:00:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 39,577 | py | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# 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.
#
from collections import OrderedDict
from distutils import util
import os
import re
from typing import Callable, Dict, Optional, Sequence, Tuple, Type, Union
import pkg_resources
from google.api_core import client_options as client_options_lib # type: ignore
from google.api_core import exceptions # type: ignore
from google.api_core import gapic_v1 # type: ignore
from google.api_core import retry as retries # type: ignore
from google.auth import credentials # type: ignore
from google.auth.transport import mtls # type: ignore
from google.auth.transport.grpc import SslCredentials # type: ignore
from google.auth.exceptions import MutualTLSChannelError # type: ignore
from google.oauth2 import service_account # type: ignore
from google.api_core import operation # type: ignore
from google.api_core import operation_async # type: ignore
from google.cloud.dialogflowcx_v3.services.flows import pagers
from google.cloud.dialogflowcx_v3.types import flow
from google.cloud.dialogflowcx_v3.types import flow as gcdc_flow
from google.cloud.dialogflowcx_v3.types import page
from google.protobuf import empty_pb2 as empty # type: ignore
from google.protobuf import field_mask_pb2 as field_mask # type: ignore
from google.protobuf import struct_pb2 as struct # type: ignore
from .transports.base import FlowsTransport, DEFAULT_CLIENT_INFO
from .transports.grpc import FlowsGrpcTransport
from .transports.grpc_asyncio import FlowsGrpcAsyncIOTransport
class FlowsClientMeta(type):
"""Metaclass for the Flows client.
This provides class-level methods for building and retrieving
support objects (e.g. transport) without polluting the client instance
objects.
"""
_transport_registry = OrderedDict() # type: Dict[str, Type[FlowsTransport]]
_transport_registry["grpc"] = FlowsGrpcTransport
_transport_registry["grpc_asyncio"] = FlowsGrpcAsyncIOTransport
def get_transport_class(cls, label: str = None,) -> Type[FlowsTransport]:
"""Return an appropriate transport class.
Args:
label: The name of the desired transport. If none is
provided, then the first transport in the registry is used.
Returns:
The transport class to use.
"""
# If a specific transport is requested, return that one.
if label:
return cls._transport_registry[label]
# No transport is requested; return the default (that is, the first one
# in the dictionary).
return next(iter(cls._transport_registry.values()))
class FlowsClient(metaclass=FlowsClientMeta):
"""Service for managing [Flows][google.cloud.dialogflow.cx.v3.Flow]."""
@staticmethod
def _get_default_mtls_endpoint(api_endpoint):
"""Convert api endpoint to mTLS endpoint.
Convert "*.sandbox.googleapis.com" and "*.googleapis.com" to
"*.mtls.sandbox.googleapis.com" and "*.mtls.googleapis.com" respectively.
Args:
api_endpoint (Optional[str]): the api endpoint to convert.
Returns:
str: converted mTLS api endpoint.
"""
if not api_endpoint:
return api_endpoint
mtls_endpoint_re = re.compile(
r"(?P<name>[^.]+)(?P<mtls>\.mtls)?(?P<sandbox>\.sandbox)?(?P<googledomain>\.googleapis\.com)?"
)
m = mtls_endpoint_re.match(api_endpoint)
name, mtls, sandbox, googledomain = m.groups()
if mtls or not googledomain:
return api_endpoint
if sandbox:
return api_endpoint.replace(
"sandbox.googleapis.com", "mtls.sandbox.googleapis.com"
)
return api_endpoint.replace(".googleapis.com", ".mtls.googleapis.com")
DEFAULT_ENDPOINT = "dialogflow.googleapis.com"
DEFAULT_MTLS_ENDPOINT = _get_default_mtls_endpoint.__func__( # type: ignore
DEFAULT_ENDPOINT
)
@classmethod
def from_service_account_file(cls, filename: str, *args, **kwargs):
"""Creates an instance of this client using the provided credentials
file.
Args:
filename (str): The path to the service account private key json
file.
args: Additional arguments to pass to the constructor.
kwargs: Additional arguments to pass to the constructor.
Returns:
{@api.name}: The constructed client.
"""
credentials = service_account.Credentials.from_service_account_file(filename)
kwargs["credentials"] = credentials
return cls(*args, **kwargs)
from_service_account_json = from_service_account_file
@property
def transport(self) -> FlowsTransport:
"""Return the transport used by the client instance.
Returns:
FlowsTransport: The transport used by the client instance.
"""
return self._transport
@staticmethod
def flow_path(project: str, location: str, agent: str, flow: str,) -> str:
"""Return a fully-qualified flow string."""
return "projects/{project}/locations/{location}/agents/{agent}/flows/{flow}".format(
project=project, location=location, agent=agent, flow=flow,
)
@staticmethod
def parse_flow_path(path: str) -> Dict[str, str]:
"""Parse a flow path into its component segments."""
m = re.match(
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/agents/(?P<agent>.+?)/flows/(?P<flow>.+?)$",
path,
)
return m.groupdict() if m else {}
@staticmethod
def intent_path(project: str, location: str, agent: str, intent: str,) -> str:
"""Return a fully-qualified intent string."""
return "projects/{project}/locations/{location}/agents/{agent}/intents/{intent}".format(
project=project, location=location, agent=agent, intent=intent,
)
@staticmethod
def parse_intent_path(path: str) -> Dict[str, str]:
"""Parse a intent path into its component segments."""
m = re.match(
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/agents/(?P<agent>.+?)/intents/(?P<intent>.+?)$",
path,
)
return m.groupdict() if m else {}
@staticmethod
def page_path(
project: str, location: str, agent: str, flow: str, page: str,
) -> str:
"""Return a fully-qualified page string."""
return "projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/pages/{page}".format(
project=project, location=location, agent=agent, flow=flow, page=page,
)
@staticmethod
def parse_page_path(path: str) -> Dict[str, str]:
"""Parse a page path into its component segments."""
m = re.match(
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/agents/(?P<agent>.+?)/flows/(?P<flow>.+?)/pages/(?P<page>.+?)$",
path,
)
return m.groupdict() if m else {}
@staticmethod
def webhook_path(project: str, location: str, agent: str, webhook: str,) -> str:
"""Return a fully-qualified webhook string."""
return "projects/{project}/locations/{location}/agents/{agent}/webhooks/{webhook}".format(
project=project, location=location, agent=agent, webhook=webhook,
)
@staticmethod
def parse_webhook_path(path: str) -> Dict[str, str]:
"""Parse a webhook path into its component segments."""
m = re.match(
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/agents/(?P<agent>.+?)/webhooks/(?P<webhook>.+?)$",
path,
)
return m.groupdict() if m else {}
@staticmethod
def common_billing_account_path(billing_account: str,) -> str:
"""Return a fully-qualified billing_account string."""
return "billingAccounts/{billing_account}".format(
billing_account=billing_account,
)
@staticmethod
def parse_common_billing_account_path(path: str) -> Dict[str, str]:
"""Parse a billing_account path into its component segments."""
m = re.match(r"^billingAccounts/(?P<billing_account>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_folder_path(folder: str,) -> str:
"""Return a fully-qualified folder string."""
return "folders/{folder}".format(folder=folder,)
@staticmethod
def parse_common_folder_path(path: str) -> Dict[str, str]:
"""Parse a folder path into its component segments."""
m = re.match(r"^folders/(?P<folder>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_organization_path(organization: str,) -> str:
"""Return a fully-qualified organization string."""
return "organizations/{organization}".format(organization=organization,)
@staticmethod
def parse_common_organization_path(path: str) -> Dict[str, str]:
"""Parse a organization path into its component segments."""
m = re.match(r"^organizations/(?P<organization>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_project_path(project: str,) -> str:
"""Return a fully-qualified project string."""
return "projects/{project}".format(project=project,)
@staticmethod
def parse_common_project_path(path: str) -> Dict[str, str]:
"""Parse a project path into its component segments."""
m = re.match(r"^projects/(?P<project>.+?)$", path)
return m.groupdict() if m else {}
@staticmethod
def common_location_path(project: str, location: str,) -> str:
"""Return a fully-qualified location string."""
return "projects/{project}/locations/{location}".format(
project=project, location=location,
)
@staticmethod
def parse_common_location_path(path: str) -> Dict[str, str]:
"""Parse a location path into its component segments."""
m = re.match(r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)$", path)
return m.groupdict() if m else {}
def __init__(
self,
*,
credentials: Optional[credentials.Credentials] = None,
transport: Union[str, FlowsTransport, None] = None,
client_options: Optional[client_options_lib.ClientOptions] = None,
client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO,
) -> None:
"""Instantiate the flows client.
Args:
credentials (Optional[google.auth.credentials.Credentials]): The
authorization credentials to attach to requests. These
credentials identify the application to the service; if none
are specified, the client will attempt to ascertain the
credentials from the environment.
transport (Union[str, ~.FlowsTransport]): The
transport to use. If set to None, a transport is chosen
automatically.
client_options (client_options_lib.ClientOptions): Custom options for the
client. It won't take effect if a ``transport`` instance is provided.
(1) The ``api_endpoint`` property can be used to override the
default endpoint provided by the client. GOOGLE_API_USE_MTLS_ENDPOINT
environment variable can also be used to override the endpoint:
"always" (always use the default mTLS endpoint), "never" (always
use the default regular endpoint) and "auto" (auto switch to the
default mTLS endpoint if client certificate is present, this is
the default value). However, the ``api_endpoint`` property takes
precedence if provided.
(2) If GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable
is "true", then the ``client_cert_source`` property can be used
to provide client certificate for mutual TLS transport. If
not provided, the default SSL client certificate will be used if
present. If GOOGLE_API_USE_CLIENT_CERTIFICATE is "false" or not
set, no client certificate will be used.
client_info (google.api_core.gapic_v1.client_info.ClientInfo):
The client info used to send a user-agent string along with
API requests. If ``None``, then default info will be used.
Generally, you only need to set this if you're developing
your own client library.
Raises:
google.auth.exceptions.MutualTLSChannelError: If mutual TLS transport
creation failed for any reason.
"""
if isinstance(client_options, dict):
client_options = client_options_lib.from_dict(client_options)
if client_options is None:
client_options = client_options_lib.ClientOptions()
# Create SSL credentials for mutual TLS if needed.
use_client_cert = bool(
util.strtobool(os.getenv("GOOGLE_API_USE_CLIENT_CERTIFICATE", "false"))
)
ssl_credentials = None
is_mtls = False
if use_client_cert:
if client_options.client_cert_source:
import grpc # type: ignore
cert, key = client_options.client_cert_source()
ssl_credentials = grpc.ssl_channel_credentials(
certificate_chain=cert, private_key=key
)
is_mtls = True
else:
creds = SslCredentials()
is_mtls = creds.is_mtls
ssl_credentials = creds.ssl_credentials if is_mtls else None
# Figure out which api endpoint to use.
if client_options.api_endpoint is not None:
api_endpoint = client_options.api_endpoint
else:
use_mtls_env = os.getenv("GOOGLE_API_USE_MTLS_ENDPOINT", "auto")
if use_mtls_env == "never":
api_endpoint = self.DEFAULT_ENDPOINT
elif use_mtls_env == "always":
api_endpoint = self.DEFAULT_MTLS_ENDPOINT
elif use_mtls_env == "auto":
api_endpoint = (
self.DEFAULT_MTLS_ENDPOINT if is_mtls else self.DEFAULT_ENDPOINT
)
else:
raise MutualTLSChannelError(
"Unsupported GOOGLE_API_USE_MTLS_ENDPOINT value. Accepted values: never, auto, always"
)
# Save or instantiate the transport.
# Ordinarily, we provide the transport, but allowing a custom transport
# instance provides an extensibility point for unusual situations.
if isinstance(transport, FlowsTransport):
# transport is a FlowsTransport instance.
if credentials or client_options.credentials_file:
raise ValueError(
"When providing a transport instance, "
"provide its credentials directly."
)
if client_options.scopes:
raise ValueError(
"When providing a transport instance, "
"provide its scopes directly."
)
self._transport = transport
else:
Transport = type(self).get_transport_class(transport)
self._transport = Transport(
credentials=credentials,
credentials_file=client_options.credentials_file,
host=api_endpoint,
scopes=client_options.scopes,
ssl_channel_credentials=ssl_credentials,
quota_project_id=client_options.quota_project_id,
client_info=client_info,
)
def create_flow(
self,
request: gcdc_flow.CreateFlowRequest = None,
*,
parent: str = None,
flow: gcdc_flow.Flow = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> gcdc_flow.Flow:
r"""Creates a flow in the specified agent.
Args:
request (:class:`~.gcdc_flow.CreateFlowRequest`):
The request object. The request message for
[Flows.CreateFlow][google.cloud.dialogflow.cx.v3.Flows.CreateFlow].
parent (:class:`str`):
Required. The agent to create a flow for. Format:
``projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>``.
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
flow (:class:`~.gcdc_flow.Flow`):
Required. The flow to create.
This corresponds to the ``flow`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
~.gcdc_flow.Flow:
Flows represents the conversation
flows when you build your chatbot agent.
A flow consists of many pages connected
by the transition routes. Conversations
always start with the built-in Start
Flow (with an all-0 ID). Transition
routes can direct the conversation
session from the current flow (parent
flow) to another flow (sub flow). When
the sub flow is finished, Dialogflow
will bring the session back to the
parent flow, where the sub flow is
started.
Usually, when a transition route is
followed by a matched intent, the intent
will be "consumed". This means the
intent won't activate more transition
routes. However, when the followed
transition route moves the conversation
session into a different flow, the
matched intent can be carried over and
to be consumed in the target flow.
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([parent, flow])
if request is not None and has_flattened_params:
raise ValueError(
"If the `request` argument is set, then none of "
"the individual field arguments should be set."
)
# Minor optimization to avoid making a copy if the user passes
# in a gcdc_flow.CreateFlowRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, gcdc_flow.CreateFlowRequest):
request = gcdc_flow.CreateFlowRequest(request)
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if parent is not None:
request.parent = parent
if flow is not None:
request.flow = flow
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.create_flow]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", request.parent),)),
)
# Send the request.
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
# Done; return the response.
return response
def delete_flow(
self,
request: flow.DeleteFlowRequest = None,
*,
name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> None:
r"""Deletes a specified flow.
Args:
request (:class:`~.flow.DeleteFlowRequest`):
The request object. The request message for
[Flows.DeleteFlow][google.cloud.dialogflow.cx.v3.Flows.DeleteFlow].
name (:class:`str`):
Required. The name of the flow to delete. Format:
``projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>``.
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name])
if request is not None and has_flattened_params:
raise ValueError(
"If the `request` argument is set, then none of "
"the individual field arguments should be set."
)
# Minor optimization to avoid making a copy if the user passes
# in a flow.DeleteFlowRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, flow.DeleteFlowRequest):
request = flow.DeleteFlowRequest(request)
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if name is not None:
request.name = name
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.delete_flow]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
)
# Send the request.
rpc(
request, retry=retry, timeout=timeout, metadata=metadata,
)
def list_flows(
self,
request: flow.ListFlowsRequest = None,
*,
parent: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> pagers.ListFlowsPager:
r"""Returns the list of all flows in the specified agent.
Args:
request (:class:`~.flow.ListFlowsRequest`):
The request object. The request message for
[Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows].
parent (:class:`str`):
Required. The agent containing the flows. Format:
``projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>``.
This corresponds to the ``parent`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
~.pagers.ListFlowsPager:
The response message for
[Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows].
Iterating over this object will yield results and
resolve additional pages automatically.
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([parent])
if request is not None and has_flattened_params:
raise ValueError(
"If the `request` argument is set, then none of "
"the individual field arguments should be set."
)
# Minor optimization to avoid making a copy if the user passes
# in a flow.ListFlowsRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, flow.ListFlowsRequest):
request = flow.ListFlowsRequest(request)
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if parent is not None:
request.parent = parent
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.list_flows]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("parent", request.parent),)),
)
# Send the request.
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
# This method is paged; wrap the response in a pager, which provides
# an `__iter__` convenience method.
response = pagers.ListFlowsPager(
method=rpc, request=request, response=response, metadata=metadata,
)
# Done; return the response.
return response
def get_flow(
self,
request: flow.GetFlowRequest = None,
*,
name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> flow.Flow:
r"""Retrieves the specified flow.
Args:
request (:class:`~.flow.GetFlowRequest`):
The request object. The response message for
[Flows.GetFlow][google.cloud.dialogflow.cx.v3.Flows.GetFlow].
name (:class:`str`):
Required. The name of the flow to get. Format:
``projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>``.
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
~.flow.Flow:
Flows represents the conversation
flows when you build your chatbot agent.
A flow consists of many pages connected
by the transition routes. Conversations
always start with the built-in Start
Flow (with an all-0 ID). Transition
routes can direct the conversation
session from the current flow (parent
flow) to another flow (sub flow). When
the sub flow is finished, Dialogflow
will bring the session back to the
parent flow, where the sub flow is
started.
Usually, when a transition route is
followed by a matched intent, the intent
will be "consumed". This means the
intent won't activate more transition
routes. However, when the followed
transition route moves the conversation
session into a different flow, the
matched intent can be carried over and
to be consumed in the target flow.
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name])
if request is not None and has_flattened_params:
raise ValueError(
"If the `request` argument is set, then none of "
"the individual field arguments should be set."
)
# Minor optimization to avoid making a copy if the user passes
# in a flow.GetFlowRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, flow.GetFlowRequest):
request = flow.GetFlowRequest(request)
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if name is not None:
request.name = name
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.get_flow]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
)
# Send the request.
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
# Done; return the response.
return response
def update_flow(
self,
request: gcdc_flow.UpdateFlowRequest = None,
*,
flow: gcdc_flow.Flow = None,
update_mask: field_mask.FieldMask = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> gcdc_flow.Flow:
r"""Updates the specified flow.
Args:
request (:class:`~.gcdc_flow.UpdateFlowRequest`):
The request object. The request message for
[Flows.UpdateFlow][google.cloud.dialogflow.cx.v3.Flows.UpdateFlow].
flow (:class:`~.gcdc_flow.Flow`):
Required. The flow to update.
This corresponds to the ``flow`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
update_mask (:class:`~.field_mask.FieldMask`):
Required. The mask to control which fields get updated.
If ``update_mask`` is not specified, an error will be
returned.
This corresponds to the ``update_mask`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
~.gcdc_flow.Flow:
Flows represents the conversation
flows when you build your chatbot agent.
A flow consists of many pages connected
by the transition routes. Conversations
always start with the built-in Start
Flow (with an all-0 ID). Transition
routes can direct the conversation
session from the current flow (parent
flow) to another flow (sub flow). When
the sub flow is finished, Dialogflow
will bring the session back to the
parent flow, where the sub flow is
started.
Usually, when a transition route is
followed by a matched intent, the intent
will be "consumed". This means the
intent won't activate more transition
routes. However, when the followed
transition route moves the conversation
session into a different flow, the
matched intent can be carried over and
to be consumed in the target flow.
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([flow, update_mask])
if request is not None and has_flattened_params:
raise ValueError(
"If the `request` argument is set, then none of "
"the individual field arguments should be set."
)
# Minor optimization to avoid making a copy if the user passes
# in a gcdc_flow.UpdateFlowRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, gcdc_flow.UpdateFlowRequest):
request = gcdc_flow.UpdateFlowRequest(request)
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if flow is not None:
request.flow = flow
if update_mask is not None:
request.update_mask = update_mask
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.update_flow]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata(
(("flow.name", request.flow.name),)
),
)
# Send the request.
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
# Done; return the response.
return response
def train_flow(
self,
request: flow.TrainFlowRequest = None,
*,
name: str = None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
metadata: Sequence[Tuple[str, str]] = (),
) -> operation.Operation:
r"""Trains the specified flow. Note that only the flow in
'draft' environment is trained.
Args:
request (:class:`~.flow.TrainFlowRequest`):
The request object. The request message for
[Flows.TrainFlow][google.cloud.dialogflow.cx.v3.Flows.TrainFlow].
name (:class:`str`):
Required. The flow to train. Format:
``projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>``.
This corresponds to the ``name`` field
on the ``request`` instance; if ``request`` is provided, this
should not be set.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
metadata (Sequence[Tuple[str, str]]): Strings which should be
sent along with the request as metadata.
Returns:
~.operation.Operation:
An object representing a long-running operation.
The result type for the operation will be
:class:``~.empty.Empty``: A generic empty message that
you can re-use to avoid defining duplicated empty
messages in your APIs. A typical example is to use it as
the request or the response type of an API method. For
instance:
::
service Foo {
rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
}
The JSON representation for ``Empty`` is empty JSON
object ``{}``.
"""
# Create or coerce a protobuf request object.
# Sanity check: If we got a request object, we should *not* have
# gotten any keyword arguments that map to the request.
has_flattened_params = any([name])
if request is not None and has_flattened_params:
raise ValueError(
"If the `request` argument is set, then none of "
"the individual field arguments should be set."
)
# Minor optimization to avoid making a copy if the user passes
# in a flow.TrainFlowRequest.
# There's no risk of modifying the input as we've already verified
# there are no flattened fields.
if not isinstance(request, flow.TrainFlowRequest):
request = flow.TrainFlowRequest(request)
# If we have keyword arguments corresponding to fields on the
# request, apply these.
if name is not None:
request.name = name
# Wrap the RPC method; this adds retry and timeout information,
# and friendly error handling.
rpc = self._transport._wrapped_methods[self._transport.train_flow]
# Certain fields should be provided within the metadata header;
# add these here.
metadata = tuple(metadata) + (
gapic_v1.routing_header.to_grpc_metadata((("name", request.name),)),
)
# Send the request.
response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
# Wrap the response in an operation future.
response = operation.from_gapic(
response,
self._transport.operations_client,
empty.Empty,
metadata_type=struct.Struct,
)
# Done; return the response.
return response
try:
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=pkg_resources.get_distribution(
"google-cloud-dialogflowcx",
).version,
)
except pkg_resources.DistributionNotFound:
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo()
__all__ = ("FlowsClient",)
| [
"noreply@github.com"
] | CristianPachacama.noreply@github.com |
6d0350ba536cbdf0e7332eb0e1ca5042653924fa | 9bdb67ff4b69a4a3e516d0d74b42aeee93da5c0c | /function/8_16/print_modules.py | 8c5c12149a5ffa1c57ec717c78be97cc328dc328 | [] | no_license | Luke19950111/python_practice | fa23b72f0c102a0d33f10272cbd946a33e26814e | 50f4901a3cbd2a0ba0ec0eb6febd534544da65e0 | refs/heads/master | 2020-07-22T17:19:26.889730 | 2019-09-12T09:02:44 | 2019-09-12T09:02:44 | 207,272,986 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 324 | py | # import print_function
# print_function.print_something('got it!')
# from print_function import print_something
# print_something('got it again!')
# from print_function import print_something as p
# p('gg')
# import print_function as p
# p.print_something('aa')
from print_function import *
print_something('all in') | [
"937613925@qq.com"
] | 937613925@qq.com |
7615978787ee0295ec460c6e6b0dcca52e549762 | 76c3e28213d38f8de142c18f403cb5f783135727 | /Utils/openpyxl/worksheet/datavalidation.py | e5eb54613ffc9c2b8ca92cf51a1de72ad7dce237 | [] | no_license | tthuynh24/parishbulletin | 252c262d10b0f94405a5647cff486ed7bfe5d24f | 458f2acd4410389b867a8089996eb9ecb819c2db | refs/heads/master | 2020-04-09T06:31:22.175540 | 2018-12-05T14:40:37 | 2018-12-05T14:40:37 | 160,116,463 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,695 | py | from __future__ import absolute_import
# Copyright (c) 2010-2015 openpyxl
from itertools import groupby, chain
import warnings
from ..descriptors import Strict, Bool, NoneSet, Set, String
from ..compat import OrderedDict, safe_string, deprecated
from ..cell import coordinate_from_string
from ..worksheet import cells_from_range
from ..xml.constants import SHEET_MAIN_NS
from ..xml.functions import Element, safe_iterator
def collapse_cell_addresses(cells, input_ranges=()):
""" Collapse a collection of cell co-ordinates down into an optimal
range or collection of ranges.
E.g. Cells A1, A2, A3, B1, B2 and B3 should have the data-validation
object applied, attempt to collapse down to a single range, A1:B3.
Currently only collapsing contiguous vertical ranges (i.e. above
example results in A1:A3 B1:B3). More work to come.
"""
keyfunc = lambda x: x[0]
# Get the raw coordinates for each cell given
raw_coords = [coordinate_from_string(cell) for cell in cells]
# Group up as {column: [list of rows]}
grouped_coords = OrderedDict((k, [c[1] for c in g]) for k, g in
groupby(sorted(raw_coords, key=keyfunc), keyfunc))
ranges = list(input_ranges)
# For each column, find contiguous ranges of rows
for column in grouped_coords:
rows = sorted(grouped_coords[column])
grouped_rows = [[r[1] for r in list(g)] for k, g in
groupby(enumerate(rows),
lambda x: x[0] - x[1])]
for rows in grouped_rows:
if len(rows) == 0:
pass
elif len(rows) == 1:
ranges.append("%s%d" % (column, rows[0]))
else:
ranges.append("%s%d:%s%d" % (column, rows[0], column, rows[-1]))
return " ".join(ranges)
def expand_cell_ranges(range_string):
"""
Expand cell ranges to a sequence of addresses.
Reverse of collapse_cell_addresses
Eg. converts "A1:A2 B1:B2" to (A1, A2, B1, B2)
"""
cells = []
for rs in range_string.split():
cells.extend(cells_from_range(rs))
return list(chain.from_iterable(cells))
class DataValidation(Strict):
showErrorMessage = Bool()
showDropDown = Bool(allow_none=True)
showInputMessage = Bool()
showErrorMessage = Bool()
allowBlank = Bool()
allow_blank = Bool()
errorTitle = String(allow_none = True)
error = String(allow_none = True)
promptTitle = String(allow_none = True)
prompt = String(allow_none = True)
sqref = String(allow_none = True)
formula1 = String(allow_none = True)
formula2 = String(allow_none = True)
type = NoneSet(values=("whole", "decimal", "list", "date", "time",
"textLength", "custom"))
errorStyle = NoneSet(values=("stop", "warning", "information"))
imeMode = NoneSet(values=("noControl", "off", "on", "disabled",
"hiragana", "fullKatakana", "halfKatakana", "fullAlpha","halfAlpha",
"fullHangul", "halfHangul"))
operator = NoneSet(values=("between", "notBetween", "equal", "notEqual",
"lessThan", "lessThanOrEqual", "greaterThan", "greaterThanOrEqual"))
def __init__(self,
type=None,
formula1=None,
formula2=None,
allow_blank=False,
showErrorMessage=True,
showInputMessage=True,
showDropDown=None,
allowBlank=None,
sqref=None,
promptTitle=None,
errorStyle=None,
error=None,
prompt=None,
errorTitle=None,
imeMode=None,
operator=None,
validation_type=None, # remove in future
):
self.showDropDown = showDropDown
self.imeMode = imeMode
self.operator = operator
self.formula1 = formula1
self.formula2 = formula2
self.allowBlank = allow_blank
if allowBlank is not None:
self.allowBlank = allowBlank
self.showErrorMessage = showErrorMessage
self.showInputMessage = showInputMessage
if validation_type is not None:
warnings.warn("Use 'DataValidation(type={0})'".format(validation_type))
if type is not None:
self.type = validation_type
self.type = type
self.cells = set()
self.ranges = []
if sqref is not None:
self.sqref = sqref
self.promptTitle = promptTitle
self.errorStyle = errorStyle
self.error = error
self.prompt = prompt
self.errorTitle = errorTitle
@deprecated("Use DataValidation.add()")
def add_cell(self, cell):
"""Adds a openpyxl.cell to this validator"""
self.add(cell)
def add(self, cell):
"""Adds a openpyxl.cell to this validator"""
self.cells.add(cell.coordinate)
@deprecated("Set DataValidation.ErrorTitle and DataValidation.error")
def set_error_message(self, error, error_title="Validation Error"):
"""Creates a custom error message, displayed when a user changes a cell
to an invalid value"""
self.errorTitle = error_title
self.error = error
@deprecated("Set DataValidation.PromptTitle and DataValidation.prompt")
def set_prompt_message(self, prompt, prompt_title="Validation Prompt"):
"""Creates a custom prompt message"""
self.promptTitle = prompt_title
self.prompt = prompt
@property
def sqref(self):
return collapse_cell_addresses(self.cells, self.ranges)
@sqref.setter
def sqref(self, range_string):
self.cells = expand_cell_ranges(range_string)
def __iter__(self):
for attr in ('type', 'allowBlank', 'operator', 'sqref',
'showInputMessage', 'showErrorMessage', 'errorTitle', 'error',
'errorStyle',
'promptTitle', 'prompt'):
value = getattr(self, attr)
if value is not None:
yield attr, safe_string(value)
@deprecated("Class descriptors check values")
class ValidationType(object):
NONE = "none"
WHOLE = "whole"
DECIMAL = "decimal"
LIST = "list"
DATE = "date"
TIME = "time"
TEXT_LENGTH = "textLength"
CUSTOM = "custom"
@deprecated("Class descriptors check values")
class ValidationOperator(object):
BETWEEN = "between"
NOT_BETWEEN = "notBetween"
EQUAL = "equal"
NOT_EQUAL = "notEqual"
LESS_THAN = "lessThan"
LESS_THAN_OR_EQUAL = "lessThanOrEqual"
GREATER_THAN = "greaterThan"
GREATER_THAN_OR_EQUAL = "greaterThanOrEqual"
@deprecated("Class descriptors check values")
class ValidationErrorStyle(object):
STOP = "stop"
WARNING = "warning"
INFORMATION = "information"
def writer(data_validation):
"""
Serialse a data validation
"""
attrs = dict(data_validation)
el = Element("{%s}dataValidation" % SHEET_MAIN_NS, attrs)
for attr in ("formula1", "formula2"):
value = getattr(data_validation, attr, None)
if value is not None:
f = Element("{%s}%s" % (SHEET_MAIN_NS, attr))
f.text = value
el.append(f)
return el
def parser(element):
"""
Parse dataValidation tag
"""
dv = DataValidation(**element.attrib)
for attr in ("formula1", "formula2"):
for f in safe_iterator(element, "{%s}%s" % (SHEET_MAIN_NS, attr)):
setattr(dv, attr, f.text)
return dv
| [
"tommyhuynh@Tommys-MacBook-Pro.local"
] | tommyhuynh@Tommys-MacBook-Pro.local |
dd82d922bcec64add8a36af99e0e45da75748d7c | 47e2869d5d813d124fe4d1a292c7d895958020fe | /pysem/tests/test_tree_lstm.py | 60c8a9cd5cc24494ca41c52733897cf5a0c29224 | [] | no_license | pblouw/pysem | b8dee8bec96c778a47fcf037bc7062c19def243d | 094f94bf9d7700cf998ce25805a2ad9ddd082f4f | refs/heads/master | 2021-07-01T19:57:32.718903 | 2017-09-21T03:40:01 | 2017-09-21T03:40:01 | 58,084,503 | 8 | 1 | null | null | null | null | UTF-8 | Python | false | false | 8,102 | py | import random
import numpy as np
n_gradient_checks = 25
n_labels = 3
rate = 0.001
def random_data(snli):
sample = random.choice(snli.train_data)
x = random.choice(sample)
y = np.zeros((n_labels, 1))
y[np.random.randint(0, n_labels, 1), 0] = 1
return x, y
def train_step(s_model, classifier, xs, ys):
s_model.forward_pass(xs)
classifier.train(s_model.get_root_embedding(), ys, rate=rate)
s_model.backward_pass(classifier.yi_grad, rate=rate)
def test_forward_pass(treeLSTM, snli):
sample = random.choice(snli.train_data)
sen = random.choice(sample)
treeLSTM.forward_pass(sen)
assert isinstance(treeLSTM.get_root_embedding(), np.ndarray)
for node in treeLSTM.tree:
assert isinstance(node.embedding, np.ndarray)
assert isinstance(node.cell_state, np.ndarray)
assert isinstance(node.inp_vec, np.ndarray)
assert isinstance(node.h_tilda, np.ndarray)
assert isinstance(node.i_gate, np.ndarray)
assert isinstance(node.o_gate, np.ndarray)
assert isinstance(node.f_gates, dict)
def test_backward_pass(treeLSTM, snli):
dim = 50
eps = 0.5
sample = random.choice(snli.train_data)
sen = random.choice(sample)
error_grad = np.random.random((dim, 1)) * 2 * eps - eps
treeLSTM.forward_pass(sen)
treeLSTM.backward_pass(error_grad)
for node in treeLSTM.tree:
assert isinstance(node.h_grad, np.ndarray)
def test_gate_gradients(treeLSTM, snli, get_cost, num_grad, classifier):
xs, ys = random_data(snli)
# test input to output gate weights
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.oW.size, size=1)
params = treeLSTM.oW.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.doW.flat[idx]
assert np.allclose(analytic, numerical)
# test input to forget gate weights
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.fW.size, size=1)
params = treeLSTM.fW.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.dfW.flat[idx]
assert np.allclose(analytic, numerical)
# test input to input gate weights
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.iW.size, size=1)
params = treeLSTM.iW.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.diW.flat[idx]
assert np.allclose(analytic, numerical)
# test hidden to output gate weights
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.oU.size, size=1)
params = treeLSTM.oU.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.doU.flat[idx]
assert np.allclose(analytic, numerical)
# test hidden to forget gate weights
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.fU.size, size=1)
params = treeLSTM.fU.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.dfU.flat[idx]
assert np.allclose(analytic, numerical)
# test hidden to input gate weights
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.iU.size, size=1)
params = treeLSTM.iU.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.diU.flat[idx]
assert np.allclose(analytic, numerical)
def test_cell_inp_gradients(treeLSTM, snli, get_cost, num_grad, classifier):
xs, ys = random_data(snli)
# test prev state to cell input weights
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.uU.size, size=1)
params = treeLSTM.uU.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.duU.flat[idx]
assert np.allclose(analytic, numerical)
# test input to cell input weights
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.uW.size, size=1)
params = treeLSTM.uW.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.duW.flat[idx]
assert np.allclose(analytic, numerical)
def test_cell_out_gradients(treeLSTM, snli, get_cost, num_grad, classifier):
xs, ys = random_data(snli)
# test prev state to cell input weights
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.yW.size, size=1)
params = treeLSTM.yW.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.dyW.flat[idx]
assert np.allclose(analytic, numerical)
def test_bias_gradients(treeLSTM, snli, get_cost, num_grad, classifier):
xs, ys = random_data(snli)
# test bias gradient for input gate
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.i_bias.size, size=1)
params = treeLSTM.i_bias.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.i_bias_grad.flat[idx]
assert np.allclose(analytic, numerical)
# test bias gradient for forget gate
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.f_bias.size, size=1)
params = treeLSTM.f_bias.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.f_bias_grad.flat[idx]
assert np.allclose(analytic, numerical)
# test bias gradient for output gate
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.o_bias.size, size=1)
params = treeLSTM.o_bias.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.o_bias_grad.flat[idx]
assert np.allclose(analytic, numerical)
# test bias gradient for cell input
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.u_bias.size, size=1)
params = treeLSTM.u_bias.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.u_bias_grad.flat[idx]
assert np.allclose(analytic, numerical)
# test bias gradient for cell output
for _ in range(n_gradient_checks):
idx = np.random.randint(0, treeLSTM.y_bias.size, size=1)
params = treeLSTM.y_bias.flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.y_bias_grad.flat[idx]
assert np.allclose(analytic, numerical)
def test_input_vec_gradients(treeLSTM, snli, get_cost, num_grad, classifier):
xs, ys = random_data(snli)
treeLSTM.forward_pass(xs)
words = [n.text for n in treeLSTM.tree if n.text != '-']
# Use random element in each word embedding for n numerical gradient checks
for _ in range(n_gradient_checks):
for word in words:
idx = np.random.randint(0, treeLSTM.vectors[word].size, size=1)
params = treeLSTM.vectors[word].flat
numerical = num_grad(treeLSTM, params, idx, xs, ys, classifier)
train_step(treeLSTM, classifier, xs, ys)
analytic = treeLSTM.x_grads[word].flat[idx]
assert np.allclose(analytic, numerical)
| [
"pblouw@uwaterloo.ca"
] | pblouw@uwaterloo.ca |
6c9d24da125846eefe9e8763fc5ee731be0bb742 | b150ccd29fb93a7f09e2752c1f0b0b5d9eb99019 | /sort_list.py | fdcf58316ff56f8c6dd1f8211e76034075e58eb0 | [] | no_license | mayanknimcet188/sort_lists | 9dbf6f037a7304a95c0254baea170498c57208f2 | 859a2e7f0640d6493190aa5e765d745d1a9ae9b5 | refs/heads/main | 2023-03-03T16:06:34.581451 | 2021-02-15T03:10:16 | 2021-02-15T03:10:16 | 338,954,643 | 0 | 0 | null | 2021-02-15T03:10:16 | 2021-02-15T03:08:50 | null | UTF-8 | Python | false | false | 382 | py | n = int(input())
def split_elements(string):
list_element = string.split(' ')
return [list_element[0],int(list_element[1])]
def take_input(n):
num_list = [split_elements(input()) for i in range(n)]
return num_list
num_list = take_input(n)
def sort_by_num(list_element):
return list_element[1]
sorted_list = sorted(num_list,key = sort_by_num)
print(sorted_list)
| [
"mayank.nimcet.188@gmail.com"
] | mayank.nimcet.188@gmail.com |
28b76a876acc49a093db637106a619cfe8c3a7b2 | f3b9901107ac26a000287ef9d93c678b046ec0c2 | /Data Structure/week1/tree-height.py | 89fba3cf6f07b9514250e5562cbd2a25cd2da371 | [] | no_license | tianyuyifang/Coursera | b2d22a5c3b48cfacab282a40c1f2b7115d39816f | 67636a0852289bc152921154be6533f4b4abf2f4 | refs/heads/master | 2020-08-07T22:57:36.916052 | 2019-10-26T23:09:06 | 2019-10-26T23:09:06 | 213,613,841 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 567 | py | # python3
import sys
def compute_height(parent):
n = len(parent)
visited = [False for _ in range(n)]
height = 0
for i in range(n):
if visited[i] == True:
continue
cheight = 1
while parent[i] != -1:
visited[i] = True
i = parent[i]
cheight += 1
height = max(height, cheight)
return height
def main():
n = int(sys.stdin.readline())
parent = list(map(int, sys.stdin.readline().split()))
print(compute_height(parent))
if __name__ == "__main__":
main()
| [
"noreply@github.com"
] | tianyuyifang.noreply@github.com |
c406c4fa44ef9faa6c952d4cf2179d081e449de0 | e1f5ae5fb62eac4cd87eac807e57321d895a6c48 | /boards/tests/test_view_reply_topic.py | 508a0a252fcdcb4c189740fe6b94398761a0d94b | [] | no_license | Abepena/django-boards | 5c1eebce615ff41e75a32cd46ec10228f0eff6c6 | 22aa237f9f19d04ddeb2284cd8f066563d6bc1b1 | refs/heads/master | 2020-03-24T22:08:54.894285 | 2018-08-10T16:29:39 | 2018-08-10T16:29:51 | 143,059,179 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,474 | py | from django.test import TestCase
from django.contrib.auth.models import User
from django.urls import reverse, resolve
from ..models import Board, Topic, Post
from ..forms import PostForm
from ..views import reply_topic
class ReplyTopicTestCase(TestCase):
"""
Base Test for all other Test Cases with this page
The setUp will persist through all other Tests that inherit from this
"""
def setUp(self):
self.board = Board.objects.create(name="Django", description="Django Board")
self.username = 'john'
self.password = 'django123'
user = User.objects.create_user(username=self.username, email='john@doe.com', password=self.password)
self.topic = Topic.objects.create(subject="Test", board=self.board, starter=user)
self.post = Post(message="Hello world!", topic=self.topic, created_by=user)
self.url = reverse('reply_topic', kwargs={"board_pk": self.board.pk, "topic_pk": self.topic.pk})
class LoginRequiredReplyTopicTest(ReplyTopicTestCase):
def test_redirection(self):
login_url = reverse('login')
response = self.client.get(self.url)
self.assertRedirects(response, f'{login_url}?next={self.url}')
class ReplyTopicTests(ReplyTopicTestCase):
def setUp(self):
super().setUp()
self.client.login(username=self.username, password=self.password)
self.response = self.client.get(self.url)
def test_response_status_code(self):
self.assertEqual(self.response.status_code, 200)
def test_view_function(self):
view = resolve('/boards/1/topics/1/reply/')
self.assertEqual(view.func, reply_topic)
def test_contains_form(self):
form = self.response.context.get("form")
self.assertIsInstance(form, PostForm)
def test_csrf(self):
self.assertContains(self.response, "csrfmiddlewaretoken")
def test_form_inputs(self):
"""
form should have 2 inputs, 1 hidden csrf 1 message
"""
self.assertContains(self.response, "<input", 1)
self.assertContains(self.response, "<textarea", 1)
class SuccessfulReplyTopicTests(ReplyTopicTestCase):
def setUp(self):
super().setUp()
self.client.login(username=self.username, password=self.password)
self.response = self.client.post(self.url, data={"message":"Hello"})
def test_redirection(self):
url = reverse('topic_posts', kwargs={
"board_pk": self.board.pk,
"topic_pk": self.topic.pk
})
topic_posts_url= "{url}?page=1#2".format(url=url)
self.assertRedirects(self.response, topic_posts_url)
def test_reply_created(self):
"""
total posts created should be 2, one in the setup of the ReplyTopicTestCase
another in the data passed in within this TestCase
"""
self.assertTrue(Post.objects.count(), 2)
class InvalidReplyTopicTests(ReplyTopicTestCase):
def setUp(self):
super().setUp()
self.client.login(username=self.username, password=self.password)
self.response = self.client.post(self.url, data={})
def test_response_status_code(self):
"""
Invalid data should just show the reply_topic view again and not redirect
"""
self.assertEqual(self.response.status_code, 200)
def test_form_errors(self):
form = self.response.context.get("form")
self.assertTrue(form.errors)
| [
"pena.abe@gmail.com"
] | pena.abe@gmail.com |
3c6e0086f4df65a50663a826ba40bd6aba7d2485 | fd5208d00536dc7756d3d3cc3cac8a0915dfc015 | /eatstreet/urls.py | 7539ca353c5663471d09dd1c441e461c03c7df18 | [] | no_license | subhashhardaha/eatstreet | aaa96184be0bb62e9c6db4d98b3425008d193fca | 64539167f4c4249b8036f9c0836d0eb8785e8a5f | refs/heads/master | 2021-08-19T17:38:15.741506 | 2017-11-27T03:38:38 | 2017-11-27T03:38:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,226 | py | """eatstreet URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
Including another URLconf
1. Import the include() function: from django.conf.urls import url, include
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url, include
from django.contrib import admin
from django.contrib.auth.views import LoginView,LogoutView
from restaurants.views import home, about, contact
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^$',home),
url(r'^about/', about),
url(r'^contact/', contact),
url(r'^restaurant/', include('restaurants.urls' , namespace='restaurants')),
url(r'^items/', include('menus.urls', namespace='menus')),
url(r'^login/$', LoginView.as_view(),name='login'),
url(r'^logout/$', LogoutView.as_view(),name='logout'),
]
| [
"subhashhardaha@gmail.com"
] | subhashhardaha@gmail.com |
bff93b9bc62761f8c58832c8b40432d3409bc203 | c9ad352a77eb358f9bf09e593988cec22719831a | /data/dataset.py | ffaf1ee8dbe4fba5fe3a9450e581711b47503caf | [
"MIT"
] | permissive | srm-mic/segRetino | 2fb5f847445ef766973134b02d2cd0e25ebb9f53 | 4f557d9b2a391b5e36a3a1c410d96d86298351bc | refs/heads/main | 2023-08-03T13:35:40.253685 | 2021-09-22T18:20:39 | 2021-09-22T18:20:39 | 410,882,921 | 3 | 1 | MIT | 2021-09-27T12:52:14 | 2021-09-27T12:52:13 | null | UTF-8 | Python | false | false | 977 | py | import os
import numpy as np
import cv2
import torch
from torch.utils.data import Dataset
class DriveDataset(Dataset):
def __init__(self, images_path, masks_path):
self.images_path = images_path
self.masks_path = masks_path
self.n_samples = len(images_path)
def __getitem__(self, index):
""" Reading image """
image = cv2.imread(self.images_path[index], cv2.IMREAD_COLOR)
image = image/255.0 ## (512, 512, 3)
image = np.transpose(image, (2, 0, 1)) ## (3, 512, 512)
image = image.astype(np.float32)
image = torch.from_numpy(image)
""" Reading mask """
mask = cv2.imread(self.masks_path[index], cv2.IMREAD_GRAYSCALE)
mask = mask/255.0 ## (512, 512)
mask = np.expand_dims(mask, axis=0) ## (1, 512, 512)
mask = mask.astype(np.float32)
mask = torch.from_numpy(mask)
return image, mask
def __len__(self):
return self.n_samples | [
"noreply@github.com"
] | srm-mic.noreply@github.com |
3101499783426029239417ff8d62a287c447d05e | 58a4e136b6759d9cc81a895dae6f536c6a125ecf | /poorsmantwitter/wsgi.py | 92942c392dc65bd30a1716de81dcc46d4c255c6d | [] | no_license | JohnnyFang/django-api-vuejs | d833866a1b86757ed7b6301984f70f39a1cadfae | 80edc54740f46866cc938d1a5d190d71110711ad | refs/heads/master | 2020-03-29T04:31:47.018835 | 2018-09-20T02:06:03 | 2018-09-20T02:06:03 | 149,535,361 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 407 | py | """
WSGI config for poorsmantwitter project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'poorsmantwitter.settings')
application = get_wsgi_application()
| [
"fangdejavu@gmail.com"
] | fangdejavu@gmail.com |
7eaeded100089b486b8f923c64538f6f48c2e19b | 420f9ae4ffa771ba126578a24e4347920556bf99 | /lexor/command/to.py | 4c3995058a0825285bfaf39298e00ba3bc475157 | [] | no_license | jmlopez-rod/lexor | 4bdb73a6ee482dcdeecbc17526869517b3f95b9e | 7b16b586b18f3724c3b1c2bc2ecab2490dc3a0f7 | refs/heads/master | 2020-12-24T17:35:19.863505 | 2014-09-28T07:10:29 | 2014-09-28T07:10:29 | 24,552,903 | 0 | 1 | null | 2015-09-22T01:00:16 | 2014-09-28T07:13:42 | Python | UTF-8 | Python | false | false | 11,721 | py | """to
Execute lexor by transforming a file "to" another language.
"""
import re
import os
import sys
import textwrap
import argparse
from lexor.command import config, error, warn
from lexor.core.parser import Parser
from lexor.core.writer import Writer
from lexor.core.converter import Converter
DEFAULTS = {
'parse_lang': 'lexor:_',
'log': 'lexor:log',
'lang': 'html[_:_]'
}
DESC = """
Transform the inputfile to another language. To see the available
languages use the `lang` command.
examples:
lexor file.html to markdown[cstyle:wstyle]
lexor file.html to markdown[cstyle:otherlang.wstyle]
lexor file.html to html~min,plain,_~
lexor file.html to html~plain,_~ mk[cstyle:wstyle,cstyle1,cstyle2]
lexor file.xml to xml~_@tab="****"~
lexor Makefile to xml --from makefile
lexor Makefile to xml --from makefile:otherstyle
Store output to `output.html` and store warnings in `log.html`:
lexor doc.md > output.html 2> log.html
Pipe the output from another program:
cat doc.md | lexor --from markdown
Write to files without displaying output:
lexor --quiet --nodisplay --write doc.md
"""
def split_at(delimiter, text, opens='[<(', closes=']>)', quotes='"\''):
"""Custom function to split at commas. Taken from stackoverflow
http://stackoverflow.com/a/20599372/788553"""
result = []
buff = ""
level = 0
is_quoted = False
for char in text:
if char in delimiter and level == 0 and not is_quoted:
result.append(buff)
buff = ""
else:
buff += char
if char in opens:
level += 1
elif char in closes:
level -= 1
elif char in quotes:
is_quoted = not is_quoted
if not buff == "":
result.append(buff)
return result
def language_style(lang_str):
"""Parses a language string. In particular, the options --from
and --log. """
tmp = split_at(':', lang_str.lower())
if len(tmp) == 2:
input_lang = tmp[0]
input_style = style_parameters(tmp[1])
else:
index = tmp[0].find('@')
if index == -1:
input_lang = tmp[0]
input_style = style_parameters('_')
else:
input_lang = tmp[0][:index]
input_style = style_parameters(tmp[0][index:])
if input_lang == '':
input_lang = '_'
if input_style['name'] == '':
input_style['name'] = '_'
return input_lang, input_style
def parse_styles(lang_str):
"""Parses a language string. In particular, the options --from
and --log. """
tmp = split_at(':', lang_str)
if len(tmp) == 2:
cstyle = style_parameters(tmp[0])
wstyle = style_parameters(tmp[1])
else:
cstyle = style_parameters(tmp[0])
wstyle = style_parameters('_')
if cstyle['name'] == '':
cstyle['name'] = '_'
if wstyle['name'] == '':
wstyle['name'] = '_'
return cstyle, wstyle
def style_parameters(style):
"""Parsers a style name along with its parameters. """
style = split_at('@', style)
style_dict = {'name': style[0], 'params': dict()}
for ele in style[1:]:
try:
var, val = ele.split('=')
except ValueError:
msg = 'style arguments must be of the form @var=val'
raise argparse.ArgumentTypeError(msg)
try:
if val[0] == '[':
val = val[1:-1]
except IndexError:
msg = 'To give empty values try @var=[]'
raise argparse.ArgumentTypeError(msg)
style_dict['params'][var] = val
return style_dict
def input_language(tolang):
"""Parses the tolang argument. """
type_ = 'w'
match = re.match("(.+)~(.+)~", tolang)
if not match:
type_ = 'c'
index = tolang.find('[')
if index == -1:
if tolang[-1] == ']':
msg = 'did you mean to write lang[...]?'
raise argparse.ArgumentTypeError(msg)
lang_name = tolang
styles = '_'
else:
if tolang[-1] != ']':
msg = 'must be of the form lang[...] or lang~...~'
raise argparse.ArgumentTypeError(msg)
lang_name = tolang[:index]
styles = tolang[index+1:-1]
else:
lang_name, styles = match.groups()
if type_ == 'w':
msg = '`:` is not supported in "%s~%s~"' % (lang_name, styles)
styles = split_at(',', styles)
for style in styles:
if ':' in style:
pass
#raise argparse.ArgumentTypeError(msg)
styles = [style_parameters(ele) for ele in styles]
else:
styles = [parse_styles(ele) for ele in split_at(',', styles)]
return type_, lang_name, styles
def add_parser(subp, fclass):
"""Add a parser to the main subparser. """
tmpp = subp.add_parser('to',
help='transform inputfile to another language',
formatter_class=fclass,
description=textwrap.dedent(DESC))
tmpp.add_argument('tolang', metavar='lang', nargs='*',
type=input_language,
help='language to which it will be converted')
tmpp.add_argument('--from', type=language_style, metavar='FROM',
dest='parse_lang',
help='language to be parsed in')
tmpp.add_argument('--log', type=language_style,
help='language in which the logs will be written')
tmpp.add_argument('--write', '-w', action='store_true',
help='write to file')
tmpp.add_argument('--quiet', '-q', action='store_true',
help='suppress warning messages')
tmpp.add_argument('--nodisplay', '-n', action='store_true',
help="suppress output")
def get_input(input_file, cfg, default='_'):
"""Returns the text to be parsed along with the name assigned to
that text. The last output is the extension of the file. """
if input_file is '_':
return sys.stdin.read(), 'STDIN', 'STDIN', default
found = False
if input_file[0] != '/':
root = cfg['lexor']['root']
paths = cfg['edit']['path'].split(':')
for path in paths:
if path[0] in ['/', '.']:
abspath = '%s/%s' % (path, input_file)
else:
abspath = '%s/%s/%s' % (root, path, input_file)
if os.path.exists(abspath):
found = True
break
else:
abspath = input_file
if os.path.exists(abspath):
found = True
if not found:
error("ERROR: The file '%s' does not exist.\n" % input_file)
text = open(abspath, 'r').read()
textname = input_file
path = os.path.realpath(abspath)
name = os.path.basename(path)
name = os.path.splitext(name)
file_name = name[0]
file_ext = name[1][1:].lower()
if file_ext == '':
file_ext = default # The default language to parse
return text, textname, file_name, file_ext
def run():
"""Run the command. """
arg = config.CONFIG['arg']
cfg = config.get_cfg(['to', 'edit'])
text, t_name, f_name, f_ext = get_input(arg.inputfile, cfg)
parse_lang = cfg['to']['parse_lang']
if isinstance(parse_lang, str):
parse_lang = language_style(parse_lang)
if arg.parse_lang is None and f_ext != '_':
parse_lang = (f_ext, parse_lang[1])
in_lang, in_style = parse_lang
log = cfg['to']['log']
if isinstance(log, str):
log = language_style(log)
else:
default_log = DEFAULTS['log'].split(':')
if log[0] == '_':
log = (default_log[0], log[1])
if log[1]['name'] == '_':
log[1]['name'] = default_log[1]
parser = Parser(in_lang, in_style['name'], in_style['params'])
log_writer = Writer(log[0], log[1]['name'], log[1]['params'])
if hasattr(parser.style_module, 'VERSIONS'):
versions = parser.style_module.VERSIONS
msg = 'WARNING: No version specified in configuration.\n' \
'Using the first module in this list:\n\n %s\n\n'
warn(msg % '\n '.join(versions))
try:
parser.parse(text, t_name)
except ImportError:
msg = "ERROR: Parsing style not found: [%s:%s]\n"
error(msg % (in_lang, in_style['name']))
try:
write_log(log_writer, parser.log, arg.quiet)
except ImportError:
msg = "ERROR: Writing log style not found: [%s:%s]\n"
error(msg % (parser.log.lang, parser.log.style))
if not arg.tolang:
arg.tolang.append(input_language(cfg['to']['lang']))
convert_and_write(f_name, parser, in_lang, log, arg)
def convert_and_write(f_name, parser, in_lang, log, arg):
"""Auxiliary function to reduce the number of branches in run. """
log_writer = Writer(log[0], log[1]['name'], log[1]['params'])
writer = Writer()
converter = Converter()
param = {
'parser': parser,
'converter': converter,
'writer': writer,
'log_writer': log_writer,
'f_name': f_name,
'in_lang': in_lang,
'arg': arg
}
for (action, lang, styles) in arg.tolang:
param['styles'] = styles
param['lang'] = lang
if action == 'c':
run_converter(param)
if action == 'w':
run_writer(param)
def write_log(writer, log, quiet):
"""Write the log file to stderr. """
if quiet is False and len(log) > 0:
writer.write(log, sys.stderr)
def write_document(writer, doc, fname, arg):
"""Auxiliary function for convert_and_write. """
if arg.nodisplay is False:
writer.write(doc, sys.stdout)
if arg.write is True:
writer.write(doc, fname)
def run_converter(param):
"""Auxiliary function for convert and write. """
lang = param['lang']
f_name = param['f_name']
in_lang = param['in_lang']
arg = param['arg']
parser = param['parser']
writer = param['writer']
log_writer = param['log_writer']
for style in param['styles']:
cstyle = style[0]['name']
param['converter'].set(in_lang, lang, cstyle, style[0]['params'])
try:
doc, log = param['converter'].convert(parser.doc)
except ImportError:
msg = "ERROR: Converting style not found: [%s ==> %s:%s]\n"
warn(msg % (in_lang, lang, cstyle))
continue
wstyle = style[1]['name']
if '.' in wstyle:
(lang, wstyle) = wstyle.split('.')
if wstyle == '_':
wstyle = 'default'
writer.set(lang, wstyle, style[1]['params'])
fname = '%s.%s.%s' % (f_name, wstyle, lang)
write_log(log_writer, log, arg.quiet)
try:
write_document(writer, doc, fname, arg)
except ImportError:
msg = "ERROR: Writing style not found: [%s:%s]\n"
warn(msg % (lang, wstyle))
continue
def run_writer(param):
"""Auxiliary function for convert and write. """
lang = param['lang']
f_name = param['f_name']
arg = param['arg']
parser = param['parser']
writer = param['writer']
for style in param['styles']:
sname = 'default' if style['name'] == '_' else style['name']
writer.set(lang, style['name'], style['params'])
fname = '%s.%s.%s' % (f_name, sname, lang)
try:
write_document(writer, parser.doc, fname, arg)
except ImportError:
msg = "ERROR: Writing style not found: [%s:%s]\n"
warn(msg % (lang, style['name']))
| [
"jmlopez.rod@gmail.com"
] | jmlopez.rod@gmail.com |
88fdacb8b8fd7a0424e1685a2102d2689d162abd | 232b2e8881a4ba693bea940022d68cc22caeccbb | /virtual/lib/python3.6/site-packages/pylint/test/input/func_block_disable_msg.py | 5ed690ebfd0ad61e819ce5be60262d24f8c1f576 | [
"MIT"
] | permissive | bryomajor/my-developer-life | b52ea3cd39e5d8226c51c700da32f5daf2489dc7 | 8332e1da4d24511255b1b7fc02f94ae4352f87a1 | refs/heads/master | 2022-12-08T08:18:40.266324 | 2019-10-29T13:40:44 | 2019-10-29T13:40:44 | 217,529,308 | 1 | 2 | MIT | 2022-12-08T06:47:28 | 2019-10-25T12:31:00 | Python | UTF-8 | Python | false | false | 4,722 | py | # pylint: disable=C0302,bare-except,print-statement
"""pylint option block-disable"""
from __future__ import print_function
class Foo(object):
"""block-disable test"""
def __init__(self):
self._test = "42"
def meth1(self, arg):
"""this issues a message"""
print(self)
def meth2(self, arg):
"""and this one not"""
# pylint: disable=W0613
print(self._test\
+ "foo")
def meth3(self):
"""test one line disabling"""
# no error
print(self.bla) # pylint: disable=E1101
# error
print(self.blop)
def meth4(self):
"""test re-enabling"""
# pylint: disable=E1101
# no error
print(self.bla)
print(self.blop)
# pylint: enable=E1101
# error
print(self.blip)
def meth5(self):
"""test IF sub-block re-enabling"""
# pylint: disable=E1101
# no error
print(self.bla)
if self.blop:
# pylint: enable=E1101
# error
print(self.blip)
else:
# no error
print(self.blip)
# no error
print(self.blip)
def meth6(self):
"""test TRY/EXCEPT sub-block re-enabling"""
# pylint: disable=E1101
# no error
print(self.bla)
try:
# pylint: enable=E1101
# error
print(self.blip)
except UndefinedName: # pylint: disable=E0602
# no error
print(self.blip)
# no error
print(self.blip)
def meth7(self):
"""test one line block opening disabling"""
if self.blop: # pylint: disable=E1101
# error
print(self.blip)
else:
# error
print(self.blip)
# error
print(self.blip)
def meth8(self):
"""test late disabling"""
# error
print(self.blip)
# pylint: disable=E1101
# no error
print(self.bla)
print(self.blop)
def meth9(self):
"""test re-enabling right after a block with whitespace"""
eris = 5
if eris: # pylint: disable=using-constant-test
print("In block")
# pylint: disable=E1101
# no error
print(self.bla)
print(self.blu)
# pylint: enable=E1101
# error
print(self.blip)
def meth10(self):
"""Test double disable"""
# pylint: disable=E1101
# no error
print(self.bla)
# pylint: disable=E1101
print(self.blu)
class ClassLevelMessage(object):
"""shouldn't display to much attributes/not enough methods messages
"""
# pylint: disable=R0902,R0903
def __init__(self):
self.attr1 = 1
self.attr2 = 1
self.attr3 = 1
self.attr4 = 1
self.attr5 = 1
self.attr6 = 1
self.attr7 = 1
self.attr8 = 1
self.attr9 = 1
self.attr0 = 1
def too_complex_but_thats_ok(self, attr1, attr2):
"""THIS Method has too much branches and returns but i don't care
"""
# pylint: disable=R0912,R0911
try:
attr3 = attr1+attr2
except ValueError:
attr3 = None
except:
return 'duh', self
if attr1:
for i in attr1:
if attr2:
return i
else:
return 'duh'
elif attr2:
for i in attr2:
if attr2:
return i
else:
return 'duh'
else:
for i in range(15):
if attr3:
return i
else:
return 'doh'
return None
print('hop, too many lines but i don\'t care')
| [
"bryomajor@gmail.com"
] | bryomajor@gmail.com |
fa4387b9fdb135981d6c983e4196bdcc0306395e | 4d444632778f50f2dda4044401479203121adb71 | /TASK 1/qstn8.py | 2b42930fff86c835a702cfaf1f73bb9c67f9b5c5 | [] | no_license | suchismita241/python | cd1da362cedc46fbf689b652706fa3d11e2c7065 | bbd915a77bdbececf68978a298905238d7e9da36 | refs/heads/master | 2022-10-19T16:04:48.309515 | 2020-06-10T15:03:17 | 2020-06-10T15:03:17 | 258,820,806 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 124 | py | import pandas as pd
diamonds = pd.read_csv('C:\\Users\\hp\\Desktop\\diamonds.csv')
print(diamonds['cut'])
| [
"noreply@github.com"
] | suchismita241.noreply@github.com |
d4e737574942e9b60ff4b4339703a66e9d83e344 | 2f8a07e51504f446be6354a068b32215281f5a96 | /Claranet/signalflow-cli/signalflowcli/prompt.py | 2e3e46494c1a9261d257623e815a8dcdf81bed43 | [] | no_license | mel-splunk/yjosephson-SFX | 779932dcdd36796c1693518e41593d3e16e362c7 | 6f8d56f861648e887dbab48f5659ce379b580610 | refs/heads/master | 2022-04-15T13:44:09.890455 | 2020-03-30T17:18:21 | 2020-03-30T17:18:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,214 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2016-2018 SignalFx, Inc. All Rights Reserved.
"""SignalFlow CLI.
An interactive command-line prompt for running real-time streaming SignalFx
SignalFlow Analytics.
"""
from ansicolor import red, white
import argparse
import getpass
import os
import pprint
import prompt_toolkit
import pygments_signalflow
import requests
import signalfx
from six.moves import input
import sys
import tslib
import csv
from . import csvflow, graph, live, utils
from .tzaction import TimezoneAction
from .version import version
# Default search location for a SignalFx session token file.
# Used if no token was provided with the --token option.
_DEFAULT_TOKEN_FILE = '~/.sftoken'
class OptionCompleter(prompt_toolkit.completion.Completer):
OPTS = ['start', 'stop', 'resolution', 'max_delay', 'output']
def get_completions(self, document, complete_event):
for opt in self.OPTS:
if opt.startswith(document.text_before_cursor):
yield prompt_toolkit.completion.Completion(
opt, start_position=-document.cursor_position)
class PromptCompleter(prompt_toolkit.completion.Completer):
fs_completer = prompt_toolkit.completion.filesystem.PathCompleter()
opt_completer = OptionCompleter()
def _offset(self, document, offset=1):
return prompt_toolkit.document.Document(
document.text[offset:], document.cursor_position - offset)
def get_completions(self, document, complete_event):
if document.text.startswith('!'):
return self.fs_completer.get_completions(
self._offset(document), complete_event)
elif document.text.startswith('.'):
return self.opt_completer.get_completions(
self._offset(document), complete_event)
return []
def prompt_for_token(api_endpoint):
print('Please enter your credentials for {0}.'.format(api_endpoint))
print('To avoid having to login manually, use the --token option.')
print()
email = input('Email: ')
password = getpass.getpass('Password: ')
try:
print()
utils.message('Logging in as {0}... '.format(email))
response = requests.post('{0}/v2/session'.format(api_endpoint),
json={'email': email, 'password': password})
response.raise_for_status()
token = response.json()['accessToken']
print('ok.')
print()
return token
finally:
del password
def find_session_token(options):
# Obviously, if a token was provided, use it.
if options.token:
return options.token
# Otherwise, try to load a token from _DEFAULT_TOKEN_FILE.
try:
with open(os.path.expanduser(_DEFAULT_TOKEN_FILE)) as f:
return f.read().strip()
except Exception:
pass
# If we still don't have a token, we need to prompt the user, but only if
# we have a tty.
if not sys.stdin.isatty():
sys.stderr.write('Authentication token must be specified with '
'--token for non-interactive mode!\n')
return None
try:
return prompt_for_token(options.api_endpoint)
except KeyboardInterrupt:
return None
except Exception as e:
print('failed!')
print(e)
return None
def process_params(**kwargs):
"""Process the given parameters to expand relative, human-readable time
offsets into their absolute millisecond value or absolute millisecond
timestamp counterparts."""
r = dict(kwargs)
del r['output']
for k, v in r.items():
if not v:
continue
if k in ['start', 'stop']:
r[k] = tslib.parse_to_timestamp(v)
if k in ['resolution', 'max_delay']:
v = '={0}'.format(v)
r[k] = tslib.parse_to_timestamp(v)
return r
def prompt(flow, tz, params):
print(red('-*-', bold=True) + ' ' +
white('SignalFx SignalFlow™ Analytics Console', bold=True) + ' ' +
red('-*-', bold=True))
print()
print(white('Enter your program and press <Esc><Enter> to execute.'))
print('SignalFlow programs may span multiple lines.')
print('Set parameters with ".<param> <value>"; '
'see current settings with "."')
print('To stop streaming, or to exit, just press ^C.')
print()
def set_param(param, value=None):
if param not in params:
print('Unknown parameter {0} !'.format(param))
return
params[param] = value
history = prompt_toolkit.history.FileHistory(
os.path.expanduser('~/.signalflow.history'))
prompt = prompt_toolkit.shortcuts.PromptSession(history=history)
while True:
program = []
try:
prompt_args = {
'lexer': prompt_toolkit.lexers.PygmentsLexer(
pygments_signalflow.SignalFlowLexer),
'auto_suggest':
prompt_toolkit.auto_suggest.AutoSuggestFromHistory(),
'prompt_continuation': lambda w, ln, sw: '>' * (w - 1) + ' ',
'completer': PromptCompleter(),
'multiline': True,
}
program = prompt.prompt(u'-> ', **prompt_args).strip()
except (KeyboardInterrupt, EOFError):
print()
break
if not program:
continue
# Parameter access and changes
if program.startswith('.'):
if len(program) > 1:
set_param(*program[1:].split(' ', 1))
pprint.pprint(params)
continue
# Execute from file
if program.startswith('!'):
filename = program[1:].strip()
try:
with open(filename) as f:
program = f.read()
except Exception:
print('Cannot read program from {0}!'.format(filename))
continue
print('Executing program from {0}:'.format(filename))
print(program)
exec_params = process_params(**params)
output = params.get('output') or 'live'
try:
if output == 'live':
live.stream(flow, tz, program, **exec_params)
elif output in ['csv', 'graph']:
data = csvflow.stream(flow, program, **exec_params)
if output == 'csv':
try:
filename = options.outputfile
with open(filename, 'w', newline='') as f:
csvwriter = csv.writer(f)
for line in data:
print(line)
csvwriter.writerow(line)
f.close()
except Exception:
print('Cannot write outputfile {0}!'.format(options.outputfile))
elif output == 'graph':
graph.render(data, tz)
else:
print('Unknown output format {0}!'.format(output))
except signalfx.signalflow.errors.ComputationAborted as e:
print(e)
except signalfx.signalflow.errors.ComputationFailed as e:
print(e)
return 0
def main():
parser = argparse.ArgumentParser(description=(
'SignalFlow Analytics interactive command-line client (v{})'
.format(version)))
parser.add_argument('-t', '--token', metavar='TOKEN',
help='session token')
parser.add_argument('-x', '--execute', action='store_true',
help='force non-interactive mode')
parser.add_argument('--api-endpoint', metavar='URL',
default='https://api.signalfx.com',
help='override API endpoint URL')
parser.add_argument('--stream-endpoint', metavar='URL',
default='https://stream.signalfx.com',
help='override stream endpoint URL')
parser.add_argument('-a', '--start', metavar='START',
default='-1m',
help='start timestamp or delta (default: -1m)')
parser.add_argument('-o', '--stop', metavar='STOP',
default=None,
help='stop timestamp or delta (default: infinity)')
parser.add_argument('-r', '--resolution', metavar='RESOLUTION',
default=None,
help='compute resolution (default: auto)')
parser.add_argument('-d', '--max-delay', metavar='MAX-DELAY',
default=None,
help='maximum data wait (default: auto)')
parser.add_argument('-i', '--immediate', action='store_true',
help='immediate results by automatic max delay offset')
parser.add_argument('--output', choices=['live', 'csv', 'graph'],
default='live',
help='default output format')
parser.add_argument('-f', '--outputfile', type=str,
default='output.csv',
help='default output filename')
parser.add_argument('program', nargs='?', type=argparse.FileType('r'),
default=sys.stdin,
help='file to read program from (default: stdin)')
TimezoneAction.add_to_parser(parser)
options = parser.parse_args()
params = {
'start': options.start,
'stop': options.stop,
'resolution': options.resolution,
'max_delay': options.max_delay,
'output': options.output,
'immediate': options.immediate,
}
# Ensure that we have a session token.
token = find_session_token(options)
if not token:
sys.stderr.write('No authentication token found.\n')
return 1
flow = signalfx.SignalFx(
api_endpoint=options.api_endpoint,
stream_endpoint=options.stream_endpoint).signalflow(token)
try:
if sys.stdin.isatty() and not options.execute:
prompt(flow, options.timezone, params)
else:
program = options.program.read()
params = process_params(**params)
if options.output == 'live':
live.stream(flow, options.timezone, program, **params)
else:
data = csvflow.stream(flow, program, **params)
if options.output == 'csv':
try:
filename = options.outputfile
with open(filename, 'w', newline='') as f:
csvwriter = csv.writer(f)
for line in data:
print(line)
csvwriter.writerow(line)
f.close()
except Exception:
print('Cannot write outputfile {0}!'.format(options.outputfile))
elif options.output == 'graph':
graph.render(data, options.timezone)
finally:
flow.close()
return 0
if __name__ == '__main__':
sys.exit(main())
| [
"noreply@github.com"
] | mel-splunk.noreply@github.com |
83a432ada39d8d2469c04b130d54dba48374e8ee | c02abc15455fb5e962b881a1981ac44ba2ac272c | /final_file.py | 5262b935ece348b0d2df465c950dc5dc497c9a5d | [] | no_license | KalpanaGaunolla/Web_traffic_forecasting | c8ecf84715d5963cadc26f78cc04655fc30573f0 | 6a5e76b526f003315183545c11e8acf557ddc034 | refs/heads/main | 2023-08-16T07:58:18.138375 | 2021-10-11T10:52:54 | 2021-10-11T10:52:54 | 414,036,215 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,921 | py | # -*- coding: utf-8 -*-
"""
Created on Monday Nov 2021
@author: naman
"""
import numpy as np
import pickle
from keras.models import model_from_json
import pandas as pd
import datetime
import re
import warnings
warnings.filterwarnings('ignore')
class final:
def load_files(self):
#https://machinelearningmastery.com/save-load-keras-deep-learning-models/
json_file = open('model.json', 'r')
loaded_model_json = json_file.read()
json_file.close()
self.model = model_from_json(loaded_model_json)
self.model.load_weights("model.h5")
with open('access_enc.pkl','rb') as file:
self.access_enc=pickle.load(file)
with open('lang_enc.pkl','rb') as file:
self.lang_enc=pickle.load(file)
with open('spider_enc.pkl','rb') as file:
self.agent_enc=pickle.load(file)
self.new_data=pd.read_csv('final_data.csv')
def find_access(self,page):
k=max([i.start() for i in re.finditer('org_',page)]) #https://www.geeksforgeeks.org/python-all-occurrences-of-substring-in-string/
if('all-access' in page[k:]):
access='all_access'
if('desktop' in page[k:]):
access='desktop'
if('mobile' in page[k:]):
access='mobile'
k=access
access=self.access_enc.transform([access]).reshape(1,1)
return access,k
def find_lang(self,page):
index=page.find('.wikipedia')
lang=page[index-1:index-3:-1][::-1]
lang_dict={'de':'German','en':'English', 'es':'Spanish', 'fr':'French', 'ja':'Japanese', 'nt':'Media', 'ru':'Russian', 'zh':'Chinese'}
language=lang_dict[lang]
lang=self.lang_enc.transform([lang]).reshape(1,1)
return lang,language
def find_agent(self,page):
if('spider' in page):
spider='spider'
else:
spider='non-spider'
k=spider
agent=self.agent_enc.transform([spider]).reshape(1,1)
return agent,k
def find_data(self,ind,date):
data=self.new_data.iloc[ind].values
date1=datetime.date(2015,7,6)
k=date.split('-')
date2=datetime.date(int(k[0]),int(k[1]),int(k[2]))
dif=(date2-date1).days
data=np.log1p(data[dif+1:dif+6].astype(int))
data=np.array(data).reshape(1,5,1)
return data
def predict(self,ind,date):
self.load_files()
start=datetime.datetime.now()
self.page=self.new_data['Page'].values[int(ind)]
access,access1=self.find_access(self.page)
lang,language=self.find_lang(self.page)
agent,agent1=self.find_agent(self.page)
data=self.find_data(int(ind),date)
time=datetime.datetime.now()-start
predicted=int(np.round(np.expm1(self.model.predict([data,access,lang,agent])[0])[0]))
return(access1,agent1,language,predicted,time,self.page)
| [
"noreply@github.com"
] | KalpanaGaunolla.noreply@github.com |
618b82c84c0b4bb643b5a6a82e5c9447552a00b4 | fd3b242c83a65edb85d3ad27c67172109fb5b0db | /venv/lib/python2.7/site-packages/kubernetes/client/models/v1_cinder_persistent_volume_source.py | 73bcff8a2e312ac36248a78ca6ce04aeb15a998b | [] | no_license | mainak90/hvac-openshift-feeder | a0946d89bd79e19881113effe3305499d80df4a8 | 730689dd7feca354fc09dabe3510333c9557e979 | refs/heads/master | 2020-12-08T07:39:58.125243 | 2020-04-26T19:49:40 | 2020-04-26T19:49:40 | 232,927,203 | 1 | 0 | null | 2020-01-09T23:45:08 | 2020-01-09T23:37:41 | Python | UTF-8 | Python | false | false | 6,790 | py | # coding: utf-8
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.13.9
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re
class V1CinderPersistentVolumeSource(object):
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
"""
Attributes:
swagger_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
swagger_types = {
'fs_type': 'str',
'read_only': 'bool',
'secret_ref': 'V1SecretReference',
'volume_id': 'str'
}
attribute_map = {
'fs_type': 'fsType',
'read_only': 'readOnly',
'secret_ref': 'secretRef',
'volume_id': 'volumeID'
}
def __init__(self, fs_type=None, read_only=None, secret_ref=None, volume_id=None):
"""
V1CinderPersistentVolumeSource - a model defined in Swagger
"""
self._fs_type = None
self._read_only = None
self._secret_ref = None
self._volume_id = None
self.discriminator = None
if fs_type is not None:
self.fs_type = fs_type
if read_only is not None:
self.read_only = read_only
if secret_ref is not None:
self.secret_ref = secret_ref
self.volume_id = volume_id
@property
def fs_type(self):
"""
Gets the fs_type of this V1CinderPersistentVolumeSource.
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
:return: The fs_type of this V1CinderPersistentVolumeSource.
:rtype: str
"""
return self._fs_type
@fs_type.setter
def fs_type(self, fs_type):
"""
Sets the fs_type of this V1CinderPersistentVolumeSource.
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
:param fs_type: The fs_type of this V1CinderPersistentVolumeSource.
:type: str
"""
self._fs_type = fs_type
@property
def read_only(self):
"""
Gets the read_only of this V1CinderPersistentVolumeSource.
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
:return: The read_only of this V1CinderPersistentVolumeSource.
:rtype: bool
"""
return self._read_only
@read_only.setter
def read_only(self, read_only):
"""
Sets the read_only of this V1CinderPersistentVolumeSource.
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
:param read_only: The read_only of this V1CinderPersistentVolumeSource.
:type: bool
"""
self._read_only = read_only
@property
def secret_ref(self):
"""
Gets the secret_ref of this V1CinderPersistentVolumeSource.
Optional: points to a secret object containing parameters used to connect to OpenStack.
:return: The secret_ref of this V1CinderPersistentVolumeSource.
:rtype: V1SecretReference
"""
return self._secret_ref
@secret_ref.setter
def secret_ref(self, secret_ref):
"""
Sets the secret_ref of this V1CinderPersistentVolumeSource.
Optional: points to a secret object containing parameters used to connect to OpenStack.
:param secret_ref: The secret_ref of this V1CinderPersistentVolumeSource.
:type: V1SecretReference
"""
self._secret_ref = secret_ref
@property
def volume_id(self):
"""
Gets the volume_id of this V1CinderPersistentVolumeSource.
volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
:return: The volume_id of this V1CinderPersistentVolumeSource.
:rtype: str
"""
return self._volume_id
@volume_id.setter
def volume_id(self, volume_id):
"""
Sets the volume_id of this V1CinderPersistentVolumeSource.
volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
:param volume_id: The volume_id of this V1CinderPersistentVolumeSource.
:type: str
"""
if volume_id is None:
raise ValueError("Invalid value for `volume_id`, must not be `None`")
self._volume_id = volume_id
def to_dict(self):
"""
Returns the model properties as a dict
"""
result = {}
for attr, _ in iteritems(self.swagger_types):
value = getattr(self, attr)
if isinstance(value, list):
result[attr] = list(map(
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
value
))
elif hasattr(value, "to_dict"):
result[attr] = value.to_dict()
elif isinstance(value, dict):
result[attr] = dict(map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict") else item,
value.items()
))
else:
result[attr] = value
return result
def to_str(self):
"""
Returns the string representation of the model
"""
return pformat(self.to_dict())
def __repr__(self):
"""
For `print` and `pprint`
"""
return self.to_str()
def __eq__(self, other):
"""
Returns true if both objects are equal
"""
if not isinstance(other, V1CinderPersistentVolumeSource):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""
Returns true if both objects are not equal
"""
return not self == other
| [
"mainak90@gmail.com"
] | mainak90@gmail.com |
612219a050adb96f336ba560a5545b61f9ec2f6c | 230cada8b4f470f5bc45884ca6a14d104852a458 | /sparseDAE.py | 48c535004dfa8288d928fbd754139f9d3833a18d | [] | no_license | dawnknight/TF | cd742f3d20ba3befda4c4b7539ca14686906d33c | 0105916e3068add733c565119f918e25412698fd | refs/heads/master | 2021-01-25T05:50:52.032443 | 2018-02-21T05:55:52 | 2018-02-21T05:55:52 | 80,693,208 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,973 | py | # -*- coding: utf-8 -*-
"""
Created on Tue Apr 11 21:52:57 2017
@author: Dawnknight
"""
import tensorflow as tf
import numpy as np
import h5py
from random import shuffle as sf
src_path = './Concatenate_Data/'
dst_path = './data/FC/'
date_ext = '_REL_b'
data_ext = ''
n_hidden1 = 32
n_hidden2 = 64
x_size = 18
Rel_size = 18
x_noise_size = 24
We1 = h5py.File(dst_path + 'We1'+date_ext+data_ext+'.h5', "w")
We2 = h5py.File(dst_path + 'We2'+date_ext+data_ext+'.h5', "w")
Wd1 = h5py.File(dst_path + 'Wd1'+date_ext+data_ext+'.h5', "w")
Wd2 = h5py.File(dst_path + 'Wd2'+date_ext+data_ext+'.h5', "w")
be1 = h5py.File(dst_path + 'be1'+date_ext+data_ext+'.h5', "w")
be2 = h5py.File(dst_path + 'be2'+date_ext+data_ext+'.h5', "w")
bd1 = h5py.File(dst_path + 'bd1'+date_ext+data_ext+'.h5', "w")
bd2 = h5py.File(dst_path + 'bd2'+date_ext+data_ext+'.h5', "w")
# set a placeholder for future input
x = tf.placeholder(tf.float32, shape = [None, x_size])
x_noise = tf.placeholder(tf.float32, shape = [None, x_noise_size])
Rel = tf.placeholder(tf.float32, shape = [None, Rel_size])
keep_prob = tf.placeholder(tf.float32)
W_init1 = tf.truncated_normal(shape=[x_noise_size, n_hidden1],stddev=0.01)
W_init2 = tf.truncated_normal(shape=[n_hidden1,n_hidden2],stddev=0.01)
Wp_init1 = tf.truncated_normal(shape=[n_hidden2, n_hidden1],stddev=0.01)
Wp_init2 = tf.truncated_normal(shape=[n_hidden1,x_size],stddev=0.01)
# encoder
W1= tf.Variable(W_init1, name='W1')#shape:18*512
b1 = tf.Variable(tf.constant(0.1,shape = [n_hidden1]), name='b1')#bias
W2= tf.Variable(W_init2, name='W2')#shape:18*512
b2 = tf.Variable(tf.constant(0.1,shape = [n_hidden2]), name='b2')#bias
#decoder
#W_prime1 = tf.transpose(W2)
W_prime1 = tf.Variable(Wp_init1, name='Wp1')
b_prime1 = tf.Variable(tf.constant(0.1,shape = [n_hidden1]), name='b1_prime')
#W_prime2 = tf.transpose(W1)
W_prime2 = tf.Variable(Wp_init2, name='Wp2')
b_prime2 = tf.Variable(tf.constant(0.1,shape = [x_size]), name='b2_prime')
h_e_1 = tf.nn.relu(tf.matmul(x_noise,W1)+b1)
h_e_2 = tf.nn.relu(tf.matmul(h_e_1,W2)+b2)
h_d_1 = tf.nn.relu(tf.matmul(h_e_2,W_prime1)+b_prime1)
h_d_2 = tf.sigmoid(tf.matmul(h_d_1,W_prime2)+b_prime2)
#h_e_1 = tf.nn.relu(tf.matmul(x_noise,W1)+b1)
#h_e_1_drop = tf.nn.dropout(h_e_1, keep_prob)
#h_e_2 = tf.nn.relu(tf.matmul(h_e_1,W2)+b2)
#h_e_2_drop = tf.nn.dropout(h_e_2, keep_prob)
#h_d_1 = tf.nn.relu(tf.matmul(h_e_2,W_prime1)+b_prime1)
#h_d_1_drop = tf.nn.dropout(h_d_1, keep_prob)
#h_d_2 = tf.sigmoid(tf.matmul(h_d_1,W_prime2)+b_prime2)
output = h_d_2
cost = tf.reduce_mean(tf.pow((output - x), 2)*Rel)+ h_e_2
optimizer = tf.train.AdamOptimizer(0.00001).minimize(cost)
#optimizer = tf.train.GradientDescentOptimizer(0.001).minimize(cost)
with tf.control_dependencies([optimizer]):
Wp1sum = tf.reduce_sum(W_prime1, 0) # col sum of W_prime1
Wp2sum = tf.reduce_sum(W_prime2, 0) # col sum of W_prime2
W_prime1 = W_prime1/Wp1sum
W_prime2 = W_prime2/Wp2sum
sess = tf.InteractiveSession()
batch_size = 32
counter = 0
init_op = tf.global_variables_initializer()
sess.run(init_op)
f_test = h5py.File(src_path+'NLdata'+date_ext+'.h5','r')['test_data'][:].T
f_telab = h5py.File(src_path+'NLdata'+date_ext+'.h5','r')['test_label'][:].T
f_teRel = h5py.File(src_path+'NLdata'+date_ext+'.h5','r')['test_data_rel'][:].T
f_train = h5py.File(src_path+'NLdata'+date_ext+'.h5','r')['train_data'][:].T
f_trlab = h5py.File(src_path+'NLdata'+date_ext+'.h5','r')['train_label'][:].T
f_trRel = h5py.File(src_path+'NLdata'+date_ext+'.h5','r')['train_data_rel'][:].T
minmax = h5py.File(src_path+'NLdata'+date_ext+'.h5','r')['minmax'][:]
idx = np.arange(f_train.shape[0])
sf(idx)
for epoch in range(3000000):
if (counter+1)*batch_size >f_train.shape[0]:
counter = 0
idx = np.arange(f_train.shape[0])
sf(idx)
batch_raw = f_trlab[idx[(counter)*batch_size:(counter+1)*batch_size],:].reshape(batch_size,-1)
batch_noise = f_train[idx[(counter)*batch_size:(counter+1)*batch_size],:].reshape(batch_size,-1)
batch_rel = f_trRel[idx[(counter)*batch_size:(counter+1)*batch_size],:].reshape(batch_size,-1)
counter += 1
if epoch%1000 == 0:
print("step %d, loss %g"%(epoch, cost.eval(feed_dict={x:batch_raw, x_noise: batch_noise, Rel: batch_rel})))
ewname1 = 'w_e_1_' + str(epoch//1000)
ewname2 = 'w_e_2_' + str(epoch//1000)
dwname1 = 'w_d_1_' + str(epoch//1000)
dwname2 = 'w_d_2_' + str(epoch//1000)
ebname1 = 'b_e_1_' + str(epoch//1000)
ebname2 = 'b_e_2_' + str(epoch//1000)
dbname1 = 'b_d_1_' + str(epoch//1000)
dbname2 = 'b_d_2_' + str(epoch//1000)
We1.create_dataset(ewname1 , data = W1.eval())
We2.create_dataset(ewname2 , data = W2.eval())
Wd1.create_dataset(dwname1 , data = W_prime1.eval())
Wd2.create_dataset(dwname2 , data = W_prime2.eval())
be1.create_dataset(ebname1 , data = b1.eval())
be2.create_dataset(ebname2 , data = b2.eval())
bd1.create_dataset(dbname1 , data = b_prime1.eval())
bd2.create_dataset(dbname2 , data = b_prime2.eval())
optimizer.run(feed_dict={x:batch_raw, x_noise: batch_noise, Rel: batch_rel})
print(sess.run(cost, feed_dict={x: f_telab, x_noise: f_test, Rel: f_teRel}))
We1.close()
We2.close()
Wd1.close()
Wd2.close()
be1.close()
be2.close()
bd1.close()
bd2.close()
f = h5py.File(dst_path+'model'+date_ext+data_ext+'.h5', "w")
f.create_dataset('W1' , data = W1.eval())
f.create_dataset('W2' , data = W2.eval())
f.create_dataset('Wp1' , data = W_prime1.eval())
f.create_dataset('Wp2' , data = W_prime2.eval())
f.create_dataset('b1' , data = b1.eval())
f.create_dataset('b2' , data = b2.eval())
f.create_dataset('bp1' , data = b_prime1.eval())
f.create_dataset('bp2' , data = b_prime2.eval())
f.create_dataset('minmax' , data = minmax)
f.close()
| [
"atc327@nyu.edu"
] | atc327@nyu.edu |
869691689426d6cb7685d75ef8632d92cfda512e | 85a9ffeccb64f6159adbd164ff98edf4ac315e33 | /pysnmp-with-texts/AVAYA-WLAN-MIB.py | b600cf2b3247fa4d11241bea5311fa1fd388088c | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | agustinhenze/mibs.snmplabs.com | 5d7d5d4da84424c5f5a1ed2752f5043ae00019fb | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | refs/heads/master | 2020-12-26T12:41:41.132395 | 2019-08-16T15:51:41 | 2019-08-16T15:53:57 | 237,512,469 | 0 | 0 | Apache-2.0 | 2020-01-31T20:41:36 | 2020-01-31T20:41:35 | null | UTF-8 | Python | false | false | 722,741 | py | #
# PySNMP MIB module AVAYA-WLAN-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AVAYA-WLAN-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:32:18 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Integer32, IpAddress, Gauge32, MibIdentifier, Bits, Counter64, ObjectIdentity, ModuleIdentity, NotificationType, Unsigned32, iso, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Integer32", "IpAddress", "Gauge32", "MibIdentifier", "Bits", "Counter64", "ObjectIdentity", "ModuleIdentity", "NotificationType", "Unsigned32", "iso", "Counter32")
TextualConvention, RowStatus, MacAddress, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "MacAddress", "DisplayString")
avayaWlan9100Mibs, = mibBuilder.importSymbols("SYNOPTICS-ROOT-MIB", "avayaWlan9100Mibs")
wlan = ModuleIdentity((1, 3, 6, 1, 4, 1, 45, 8, 1))
wlan.setRevisions(('2014-10-31 12:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: wlan.setRevisionsDescriptions(('Avaya WLAN MIB',))
if mibBuilder.loadTexts: wlan.setLastUpdated('201410311200Z')
if mibBuilder.loadTexts: wlan.setOrganization('Avaya')
if mibBuilder.loadTexts: wlan.setContactInfo('Avaya')
if mibBuilder.loadTexts: wlan.setDescription('Avaya WLAN MIB')
wap = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1))
wap9122 = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1000))
wap9123 = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1001))
wap9132 = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1002))
wap9133 = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1003))
wao9122 = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1004))
wap9172 = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1005))
wap9173 = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1006))
acl = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2))
admin = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4))
cdp = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5))
dateTime = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6))
dhcp = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8))
dns = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 10))
filter = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11))
interface = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12))
networkMap = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13))
radius = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14))
roamAssist = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 15))
security = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16))
snmpAgent = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18))
ssid = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20))
stations = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22))
statistics = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24))
syslog = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26))
system = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28))
tunnel = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29))
vlan = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30))
cluster = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31))
envCtrl = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32))
location = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 33))
group = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34))
mdm = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 35))
netflow = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 36))
wifiTag = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 37))
wpr = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38))
oauth = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39))
proxyFwd = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 40))
proxyMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41))
lldp = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42))
traps = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50))
aclEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("allow", 1), ("deny", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: aclEnable.setStatus('current')
if mibBuilder.loadTexts: aclEnable.setDescription('Access Control List enable')
aclTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 2), )
if mibBuilder.loadTexts: aclTable.setStatus('current')
if mibBuilder.loadTexts: aclTable.setDescription('Access Control List for the Array')
aclEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "aclIndex"))
if mibBuilder.loadTexts: aclEntry.setStatus('current')
if mibBuilder.loadTexts: aclEntry.setDescription('ACL table entry')
aclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: aclIndex.setStatus('current')
if mibBuilder.loadTexts: aclIndex.setDescription('Access Control List Index')
aclMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: aclMacAddress.setStatus('current')
if mibBuilder.loadTexts: aclMacAddress.setDescription('Mac address to be allowed or denied')
aclRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 2, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: aclRowStatus.setStatus('current')
if mibBuilder.loadTexts: aclRowStatus.setDescription('Status of the ACL row entry')
aclTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: aclTableReset.setStatus('current')
if mibBuilder.loadTexts: aclTableReset.setDescription('Reset Access Control List (clear all entries)')
aclSsidTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 4), )
if mibBuilder.loadTexts: aclSsidTable.setStatus('current')
if mibBuilder.loadTexts: aclSsidTable.setDescription('Access Control List per SSID')
aclSsidEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 4, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "aclSsidIndex"))
if mibBuilder.loadTexts: aclSsidEntry.setStatus('current')
if mibBuilder.loadTexts: aclSsidEntry.setDescription('ACL per SSID table entry')
aclSsidIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 4, 1, 1), Integer32())
if mibBuilder.loadTexts: aclSsidIndex.setStatus('current')
if mibBuilder.loadTexts: aclSsidIndex.setDescription('ACL per SSID index')
aclSsidMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 17))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: aclSsidMacAddress.setStatus('current')
if mibBuilder.loadTexts: aclSsidMacAddress.setDescription('Mac address to be allowed or denied')
aclSsidName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: aclSsidName.setStatus('current')
if mibBuilder.loadTexts: aclSsidName.setDescription('SSID this ACL entry belongs to')
aclSsidRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 4, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: aclSsidRowStatus.setStatus('current')
if mibBuilder.loadTexts: aclSsidRowStatus.setDescription('Status of the ACL row entry')
aclSsidTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 2, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: aclSsidTableReset.setStatus('current')
if mibBuilder.loadTexts: aclSsidTableReset.setDescription('Reset ACL (clear all entries) for given SSID')
adminTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 1), )
if mibBuilder.loadTexts: adminTable.setStatus('current')
if mibBuilder.loadTexts: adminTable.setDescription('Administrator List for the Array')
adminEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "adminIndex"))
if mibBuilder.loadTexts: adminEntry.setStatus('current')
if mibBuilder.loadTexts: adminEntry.setDescription('Admin table entry')
adminIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: adminIndex.setStatus('current')
if mibBuilder.loadTexts: adminIndex.setDescription('Admin Index')
adminUsername = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(5, 50))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: adminUsername.setStatus('current')
if mibBuilder.loadTexts: adminUsername.setDescription('Admin username')
adminPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(5, 50))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: adminPassword.setStatus('current')
if mibBuilder.loadTexts: adminPassword.setDescription('Admin password')
adminPasswordForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: adminPasswordForm.setStatus('current')
if mibBuilder.loadTexts: adminPasswordForm.setDescription('Admin password form')
adminPrivilege = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("read-only", 0), ("read-write", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: adminPrivilege.setStatus('current')
if mibBuilder.loadTexts: adminPrivilege.setDescription('Admin privilege')
adminRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 1, 1, 6), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: adminRowStatus.setStatus('current')
if mibBuilder.loadTexts: adminRowStatus.setDescription('Status of the admin row entry')
adminPrivilegeLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: adminPrivilegeLevel.setStatus('current')
if mibBuilder.loadTexts: adminPrivilegeLevel.setDescription('Admin privilege level')
adminTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminTableReset.setStatus('current')
if mibBuilder.loadTexts: adminTableReset.setDescription('Reset administrator list (clear all entries and restore default)')
adminTableClear = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("clear", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminTableClear.setStatus('current')
if mibBuilder.loadTexts: adminTableClear.setDescription('Clear all entries in administrator list')
adminRadius = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4))
adminRadiusEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminRadiusEnable.setStatus('current')
if mibBuilder.loadTexts: adminRadiusEnable.setDescription('Enable or disable admin authentication via Radius')
adminRadiusPriServer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminRadiusPriServer.setStatus('current')
if mibBuilder.loadTexts: adminRadiusPriServer.setDescription('Admin Primary Radius server host name or IP address')
adminRadiusPriServerPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminRadiusPriServerPort.setStatus('current')
if mibBuilder.loadTexts: adminRadiusPriServerPort.setDescription('Admin Primary Radius server port')
adminRadiusPriServerSecret = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminRadiusPriServerSecret.setStatus('current')
if mibBuilder.loadTexts: adminRadiusPriServerSecret.setDescription('Admin Primary Radius server secret')
adminRadiusPriServerSecretEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminRadiusPriServerSecretEnc.setStatus('current')
if mibBuilder.loadTexts: adminRadiusPriServerSecretEnc.setDescription('Admin Primary Radius server secret (encrypted)')
adminRadiusSecServer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminRadiusSecServer.setStatus('current')
if mibBuilder.loadTexts: adminRadiusSecServer.setDescription('Admin Secondary Radius server host name or IP address')
adminRadiusSecServerPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminRadiusSecServerPort.setStatus('current')
if mibBuilder.loadTexts: adminRadiusSecServerPort.setDescription('Admin Secondary Radius server port')
adminRadiusSecServerSecret = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminRadiusSecServerSecret.setStatus('current')
if mibBuilder.loadTexts: adminRadiusSecServerSecret.setDescription('Admin Secondary Radius server secret')
adminRadiusSecServerSecretEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminRadiusSecServerSecretEnc.setStatus('current')
if mibBuilder.loadTexts: adminRadiusSecServerSecretEnc.setDescription('Admin Secondary Radius server secret (encrypted)')
adminRadiusTimeout = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminRadiusTimeout.setStatus('current')
if mibBuilder.loadTexts: adminRadiusTimeout.setDescription('Timeout before server is retried after it initially failed')
adminRadiusAuthType = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 4, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("chap", 0), ("pap", 1), ("ms-chap", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminRadiusAuthType.setStatus('current')
if mibBuilder.loadTexts: adminRadiusAuthType.setDescription('Set authentication protocol for admin authentication via RADIUS')
adminHistoryTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 5), )
if mibBuilder.loadTexts: adminHistoryTable.setStatus('current')
if mibBuilder.loadTexts: adminHistoryTable.setDescription('Administrator history list')
adminHistoryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 5, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "adminHistoryIndex"))
if mibBuilder.loadTexts: adminHistoryEntry.setStatus('current')
if mibBuilder.loadTexts: adminHistoryEntry.setDescription('Administrator history table entry')
adminHistoryIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 5, 1, 1), Integer32())
if mibBuilder.loadTexts: adminHistoryIndex.setStatus('current')
if mibBuilder.loadTexts: adminHistoryIndex.setDescription('Admin history table index')
adminHistoryUsername = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 5, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adminHistoryUsername.setStatus('current')
if mibBuilder.loadTexts: adminHistoryUsername.setDescription('Admin username')
adminHistoryIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 5, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adminHistoryIPAddress.setStatus('current')
if mibBuilder.loadTexts: adminHistoryIPAddress.setDescription('IP Address admin logged in from')
adminHistoryInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("console", 0), ("telnet", 1), ("ssh", 2), ("https", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: adminHistoryInterface.setStatus('current')
if mibBuilder.loadTexts: adminHistoryInterface.setDescription('Interface admin logged in via')
adminHistoryLoginTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 5, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adminHistoryLoginTime.setStatus('current')
if mibBuilder.loadTexts: adminHistoryLoginTime.setDescription('Admin login time')
adminHistoryLogoutTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 5, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adminHistoryLogoutTime.setStatus('current')
if mibBuilder.loadTexts: adminHistoryLogoutTime.setDescription('Admin logout time')
adminPrivLevelTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 6), )
if mibBuilder.loadTexts: adminPrivLevelTable.setStatus('current')
if mibBuilder.loadTexts: adminPrivLevelTable.setDescription('Administrator privilege level table')
adminPrivLevelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 6, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "adminPrivLevelNumber"))
if mibBuilder.loadTexts: adminPrivLevelEntry.setStatus('current')
if mibBuilder.loadTexts: adminPrivLevelEntry.setDescription('Administrator privilege level table entry')
adminPrivLevelNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 6, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adminPrivLevelNumber.setStatus('current')
if mibBuilder.loadTexts: adminPrivLevelNumber.setDescription('Administrator privilege level number')
adminPrivLevelName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 6, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminPrivLevelName.setStatus('current')
if mibBuilder.loadTexts: adminPrivLevelName.setDescription('Administrator privilege level name')
adminPrivSectionTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 7), )
if mibBuilder.loadTexts: adminPrivSectionTable.setStatus('current')
if mibBuilder.loadTexts: adminPrivSectionTable.setDescription('Administrator privilege section table')
adminPrivSectionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 7, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "adminPrivSectionIndex"))
if mibBuilder.loadTexts: adminPrivSectionEntry.setStatus('current')
if mibBuilder.loadTexts: adminPrivSectionEntry.setDescription('Administrator privilege section table entry')
adminPrivSectionIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 7, 1, 1), Integer32())
if mibBuilder.loadTexts: adminPrivSectionIndex.setStatus('current')
if mibBuilder.loadTexts: adminPrivSectionIndex.setDescription('Administrator privilege section table index')
adminPrivSectionName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 7, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: adminPrivSectionName.setStatus('current')
if mibBuilder.loadTexts: adminPrivSectionName.setDescription('Administrator privilege section name')
adminPrivSectionLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 4, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: adminPrivSectionLevel.setStatus('current')
if mibBuilder.loadTexts: adminPrivSectionLevel.setDescription('Administrator privilege level required by config section')
cdpInfoTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 1), )
if mibBuilder.loadTexts: cdpInfoTable.setStatus('current')
if mibBuilder.loadTexts: cdpInfoTable.setDescription('Cisco Discovery Protocol information table')
cdpInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "cdpInfoIndex"))
if mibBuilder.loadTexts: cdpInfoEntry.setStatus('current')
if mibBuilder.loadTexts: cdpInfoEntry.setDescription('CDP info table entry')
cdpInfoIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: cdpInfoIndex.setStatus('current')
if mibBuilder.loadTexts: cdpInfoIndex.setDescription('CDP info table index')
cdpInfoHostname = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cdpInfoHostname.setStatus('current')
if mibBuilder.loadTexts: cdpInfoHostname.setDescription('Device hostname')
cdpInfoIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 1, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cdpInfoIPAddress.setStatus('current')
if mibBuilder.loadTexts: cdpInfoIPAddress.setDescription('Device IP Address')
cdpInfoModel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 1, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cdpInfoModel.setStatus('current')
if mibBuilder.loadTexts: cdpInfoModel.setDescription('Device model')
cdpInfoInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 1, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cdpInfoInterface.setStatus('current')
if mibBuilder.loadTexts: cdpInfoInterface.setDescription('Device interface')
cdpInfoNativeVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 1, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cdpInfoNativeVlan.setStatus('current')
if mibBuilder.loadTexts: cdpInfoNativeVlan.setDescription('Device native vlan')
cdpInfoCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 1, 1, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cdpInfoCapabilities.setStatus('current')
if mibBuilder.loadTexts: cdpInfoCapabilities.setDescription('Device capabilities')
cdpInfoSoftware = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 1, 1, 8), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cdpInfoSoftware.setStatus('current')
if mibBuilder.loadTexts: cdpInfoSoftware.setDescription('Device software')
cdpEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cdpEnable.setStatus('current')
if mibBuilder.loadTexts: cdpEnable.setDescription('Enable or disable CDP')
cdpInterval = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 900))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cdpInterval.setStatus('current')
if mibBuilder.loadTexts: cdpInterval.setDescription('CDP message interval (in seconds)')
cdpHoldTime = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 5, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: cdpHoldTime.setStatus('current')
if mibBuilder.loadTexts: cdpHoldTime.setDescription('CDP message hold time (in seconds)')
dateTimeSet = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 12))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dateTimeSet.setStatus('current')
if mibBuilder.loadTexts: dateTimeSet.setDescription('Date and time. To set use the following format: MMDDhhmmYYYY')
dateTimeZoneHours = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-12, 12))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dateTimeZoneHours.setStatus('current')
if mibBuilder.loadTexts: dateTimeZoneHours.setDescription('Hours offset from UTC')
dateTimeZoneMins = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 59))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dateTimeZoneMins.setStatus('current')
if mibBuilder.loadTexts: dateTimeZoneMins.setDescription('Minutes offset from UTC')
dateTimeDSTAdjust = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dateTimeDSTAdjust.setStatus('current')
if mibBuilder.loadTexts: dateTimeDSTAdjust.setDescription('Enable or disable DST adjustment')
ntp = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5))
ntpEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpEnable.setStatus('current')
if mibBuilder.loadTexts: ntpEnable.setDescription('Enable or disable NTP')
ntpPrimary = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpPrimary.setStatus('current')
if mibBuilder.loadTexts: ntpPrimary.setDescription('Primary NTP IP address')
ntpSecondary = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpSecondary.setStatus('current')
if mibBuilder.loadTexts: ntpSecondary.setDescription('Secondary NTP IP address')
ntpPrimaryAuthType = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("md5", 1), ("sha1", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpPrimaryAuthType.setStatus('current')
if mibBuilder.loadTexts: ntpPrimaryAuthType.setDescription('Primary NTP server authentication type')
ntpPrimaryAuthKeyID = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65534))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpPrimaryAuthKeyID.setStatus('current')
if mibBuilder.loadTexts: ntpPrimaryAuthKeyID.setDescription('Primary NTP server authentication key ID')
ntpPrimaryAuthKey = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpPrimaryAuthKey.setStatus('current')
if mibBuilder.loadTexts: ntpPrimaryAuthKey.setDescription('Primary NTP server authentication key')
ntpPrimaryAuthKeyEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 40))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpPrimaryAuthKeyEnc.setStatus('current')
if mibBuilder.loadTexts: ntpPrimaryAuthKeyEnc.setDescription('Primary NTP server authentication key (encrypted)')
ntpSecondaryAuthType = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("md5", 1), ("sha1", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpSecondaryAuthType.setStatus('current')
if mibBuilder.loadTexts: ntpSecondaryAuthType.setDescription('Secondary NTP server authentication type')
ntpSecondaryAuthKeyID = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65534))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpSecondaryAuthKeyID.setStatus('current')
if mibBuilder.loadTexts: ntpSecondaryAuthKeyID.setDescription('Secondary NTP server authentication key ID')
ntpSecondaryAuthKey = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpSecondaryAuthKey.setStatus('current')
if mibBuilder.loadTexts: ntpSecondaryAuthKey.setDescription('Secondary NTP server authentication key')
ntpSecondaryAuthKeyEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 6, 5, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 40))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ntpSecondaryAuthKeyEnc.setStatus('current')
if mibBuilder.loadTexts: ntpSecondaryAuthKeyEnc.setDescription('Secondary NTP server authentication key (encrypted)')
dhcpPoolTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dhcpPoolTableReset.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolTableReset.setDescription('Reset DHCP table (clear all entries)')
dhcpPoolTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2), )
if mibBuilder.loadTexts: dhcpPoolTable.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolTable.setDescription('DHCP pool table for the Array')
dhcpPoolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "dhcpPoolIndex"))
if mibBuilder.loadTexts: dhcpPoolEntry.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolEntry.setDescription('DHCP pool table entry')
dhcpPoolIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: dhcpPoolIndex.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolIndex.setDescription('DHCP pool table index')
dhcpPoolName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolName.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolName.setDescription('DHCP pool name')
dhcpPoolEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolEnable.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolEnable.setDescription('Enable or disable DHCP pool')
dhcpPoolRangeStartIP = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 4), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolRangeStartIP.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolRangeStartIP.setDescription('DHCP pool address range start')
dhcpPoolRangeEndIP = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 5), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolRangeEndIP.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolRangeEndIP.setDescription('DHCP pool address range end')
dhcpPoolDefaultLease = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 3000000))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolDefaultLease.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolDefaultLease.setDescription('DHCP pool default lease (in seconds)')
dhcpPoolMaxLease = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 3000000))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolMaxLease.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolMaxLease.setDescription('DHCP pool max lease (in seconds)')
dhcpPoolMask = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 8), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolMask.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolMask.setDescription('DHCP pool subnet mask')
dhcpPoolGateway = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 9), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolGateway.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolGateway.setDescription('DHCP pool gateway')
dhcpPoolDNSDomain = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolDNSDomain.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolDNSDomain.setDescription('DHCP pool DNS domain')
dhcpPoolDNSServer1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 11), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolDNSServer1.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolDNSServer1.setDescription('DHCP pool DNS first server')
dhcpPoolDNSServer2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 12), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolDNSServer2.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolDNSServer2.setDescription('DHCP pool DNS second server')
dhcpPoolDNSServer3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 13), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolDNSServer3.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolDNSServer3.setDescription('DHCP pool DNS third server')
dhcpPoolNAT = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolNAT.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolNAT.setDescription('Enable or disable NAT')
dhcpPoolRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 8, 2, 1, 15), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: dhcpPoolRowStatus.setStatus('current')
if mibBuilder.loadTexts: dhcpPoolRowStatus.setDescription('Status of the DHCP pool row entry')
dnsDomain = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 10, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dnsDomain.setStatus('current')
if mibBuilder.loadTexts: dnsDomain.setDescription('DNS Domain')
dnsSrv1 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 10, 2), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dnsSrv1.setStatus('current')
if mibBuilder.loadTexts: dnsSrv1.setDescription('DNS first server')
dnsSrv2 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 10, 3), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dnsSrv2.setStatus('current')
if mibBuilder.loadTexts: dnsSrv2.setDescription('DNS second server')
dnsSrv3 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 10, 4), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dnsSrv3.setStatus('current')
if mibBuilder.loadTexts: dnsSrv3.setDescription('DNS third server')
dnsUseDhcp = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 10, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: dnsUseDhcp.setStatus('current')
if mibBuilder.loadTexts: dnsUseDhcp.setDescription('Enable or disable updates to DNS settings via DHCP')
filterMoveDown = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: filterMoveDown.setStatus('current')
if mibBuilder.loadTexts: filterMoveDown.setDescription('Decrease filter priority (Global filter list)')
filterMoveUp = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: filterMoveUp.setStatus('current')
if mibBuilder.loadTexts: filterMoveUp.setDescription('Increase filter priority (Global filter list)')
filterTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: filterTableReset.setStatus('current')
if mibBuilder.loadTexts: filterTableReset.setDescription('Reset filter table and filter list table (clear all entries)')
filterTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4), )
if mibBuilder.loadTexts: filterTable.setStatus('current')
if mibBuilder.loadTexts: filterTable.setDescription('Filter table for the Array')
filterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "filterIndex"))
if mibBuilder.loadTexts: filterEntry.setStatus('current')
if mibBuilder.loadTexts: filterEntry.setDescription('Filter table entry')
filterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 1), Integer32())
if mibBuilder.loadTexts: filterIndex.setStatus('current')
if mibBuilder.loadTexts: filterIndex.setDescription('Filter table index')
filterName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterName.setStatus('current')
if mibBuilder.loadTexts: filterName.setDescription('Filter name')
filterEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterEnable.setStatus('current')
if mibBuilder.loadTexts: filterEnable.setDescription('Enable/disable filter')
filterType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("allow", 1), ("deny", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterType.setStatus('current')
if mibBuilder.loadTexts: filterType.setDescription('Filter type: allow/deny traffic')
filterProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterProtocol.setStatus('current')
if mibBuilder.loadTexts: filterProtocol.setDescription('Protocol to filter on (0 - any protocol, 255 - any IP protocol)')
filterPort = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterPort.setStatus('current')
if mibBuilder.loadTexts: filterPort.setDescription('Port to filter on (0 - any port)')
filterSrcType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("any", 0), ("ssid", 1), ("vlan", 2), ("ip", 3), ("mac", 4), ("interface", 5), ("group", 6)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSrcType.setStatus('current')
if mibBuilder.loadTexts: filterSrcType.setDescription('Filter source type')
filterSrcInvertSense = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSrcInvertSense.setStatus('current')
if mibBuilder.loadTexts: filterSrcInvertSense.setDescription('Invert sense of filter source address')
filterSrcSsid = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSrcSsid.setStatus('current')
if mibBuilder.loadTexts: filterSrcSsid.setDescription('Filter source SSID')
filterSrcVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSrcVlan.setStatus('current')
if mibBuilder.loadTexts: filterSrcVlan.setDescription('Filter source VLAN')
filterSrcIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 11), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSrcIPAddress.setStatus('current')
if mibBuilder.loadTexts: filterSrcIPAddress.setDescription('Filter source IP address')
filterSrcIPAddressMask = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 12), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSrcIPAddressMask.setStatus('current')
if mibBuilder.loadTexts: filterSrcIPAddressMask.setDescription('Filter source IP address mask')
filterSrcMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(12, 17))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSrcMacAddress.setStatus('current')
if mibBuilder.loadTexts: filterSrcMacAddress.setDescription('Filter source MAC address')
filterSrcMacAddressMask = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(12, 17))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSrcMacAddressMask.setStatus('current')
if mibBuilder.loadTexts: filterSrcMacAddressMask.setDescription('Filter source MAC address mask')
filterSrcIface = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("iap", 0), ("wds-client-1", 1), ("wds-client-2", 2), ("wds-client-3", 3), ("wds-client-4", 4), ("wds-all", 5), ("gig", 6), ("wds-host-1", 7), ("wds-host-2", 8), ("wds-host-3", 9), ("wds-host-4", 10), ("tunnel", 11)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSrcIface.setStatus('current')
if mibBuilder.loadTexts: filterSrcIface.setDescription('Filter source interface')
filterDstType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("any", 0), ("ssid", 1), ("vlan", 2), ("ip", 3), ("mac", 4), ("interface", 5), ("group", 6)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterDstType.setStatus('current')
if mibBuilder.loadTexts: filterDstType.setDescription('Filter destination type')
filterDstInvertSense = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no", 0), ("yes", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterDstInvertSense.setStatus('current')
if mibBuilder.loadTexts: filterDstInvertSense.setDescription('Invert sense of filter destination address')
filterDstSsid = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterDstSsid.setStatus('current')
if mibBuilder.loadTexts: filterDstSsid.setDescription('Filter destination SSID')
filterDstVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterDstVlan.setStatus('current')
if mibBuilder.loadTexts: filterDstVlan.setDescription('Filter destination VLAN')
filterDstIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 20), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterDstIPAddress.setStatus('current')
if mibBuilder.loadTexts: filterDstIPAddress.setDescription('Filter destination IP address')
filterDstIPAddressMask = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 21), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterDstIPAddressMask.setStatus('current')
if mibBuilder.loadTexts: filterDstIPAddressMask.setDescription('Filter destination IP address mask')
filterDstMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 22), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(12, 17))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterDstMacAddress.setStatus('current')
if mibBuilder.loadTexts: filterDstMacAddress.setDescription('Filter destination MAC address')
filterDstMacAddressMask = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 23), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(12, 17))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterDstMacAddressMask.setStatus('current')
if mibBuilder.loadTexts: filterDstMacAddressMask.setDescription('Filter destination MAC address mask')
filterDstIface = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("iap", 0), ("wds-client-1", 1), ("wds-client-2", 2), ("wds-client-3", 3), ("wds-client-4", 4), ("wds-all", 5), ("gig", 6), ("wds-host-1", 7), ("wds-host-2", 8), ("wds-host-3", 9), ("wds-host-4", 10), ("tunnel", 11)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterDstIface.setStatus('current')
if mibBuilder.loadTexts: filterDstIface.setDescription('Filter destination interface')
filterSetQOS = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 3))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSetQOS.setStatus('current')
if mibBuilder.loadTexts: filterSetQOS.setDescription('Modify QoS setting for this filter (0..3), if -1 - do not modify QoS setting')
filterSetVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 4095))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSetVlan.setStatus('current')
if mibBuilder.loadTexts: filterSetVlan.setDescription('Modify VLAN setting for this filter (0..4095), if -1 - do not modify VLAN setting')
filterPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 50))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterPriority.setStatus('current')
if mibBuilder.loadTexts: filterPriority.setDescription('Filter priority')
filterRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 28), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterRowStatus.setStatus('current')
if mibBuilder.loadTexts: filterRowStatus.setDescription('Status of the filter row entry')
filterList = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 29), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterList.setStatus('current')
if mibBuilder.loadTexts: filterList.setDescription('Filter list this filter belongs to')
filterPortRange = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterPortRange.setStatus('current')
if mibBuilder.loadTexts: filterPortRange.setDescription('Port range ending number (0 - no range)')
filterSrcGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 31), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSrcGroup.setStatus('current')
if mibBuilder.loadTexts: filterSrcGroup.setDescription('Filter source user group')
filterDstGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 32), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterDstGroup.setStatus('current')
if mibBuilder.loadTexts: filterDstGroup.setDescription('Filter destination user group')
filterLog = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterLog.setStatus('current')
if mibBuilder.loadTexts: filterLog.setDescription('Enable/disable filter packet logging')
filterPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 34), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: filterPackets.setStatus('current')
if mibBuilder.loadTexts: filterPackets.setDescription('The number of packets that matched the filter')
filterBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 35), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: filterBytes.setStatus('current')
if mibBuilder.loadTexts: filterBytes.setDescription('The number of bytes that matched the filter')
filterApplication = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 36), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterApplication.setStatus('current')
if mibBuilder.loadTexts: filterApplication.setDescription('Application GUID to filter on')
filterLayer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 37), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("layer-2", 0), ("layer-3", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterLayer.setStatus('current')
if mibBuilder.loadTexts: filterLayer.setDescription('Filter layer')
filterSetDSCP = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 38), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 63))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterSetDSCP.setStatus('current')
if mibBuilder.loadTexts: filterSetDSCP.setDescription('Modify QoS setting for this filter (0..63), if -1 - do not modify DSCP setting')
filterTrafficLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 4000000))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterTrafficLimit.setStatus('current')
if mibBuilder.loadTexts: filterTrafficLimit.setDescription('Filter traffic limit (10 to 1000000 if pps, 10 to 4000000 if Kbps)')
filterTrafficLimitType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 0), ("all-pps", 1), ("all-kbps", 2), ("sta-pps", 3), ("sta-kbps", 4)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterTrafficLimitType.setStatus('current')
if mibBuilder.loadTexts: filterTrafficLimitType.setDescription('Filter traffic limit type')
filterTimeOn = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 41), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1439))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterTimeOn.setStatus('current')
if mibBuilder.loadTexts: filterTimeOn.setDescription('Time on for this filter in minutes after midnight')
filterTimeOff = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 42), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1439))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterTimeOff.setStatus('current')
if mibBuilder.loadTexts: filterTimeOff.setDescription('Time off for this filter in minutes after midnight')
filterDays = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 4, 1, 43), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 100))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterDays.setStatus('current')
if mibBuilder.loadTexts: filterDays.setDescription('Days of the week the filter is active')
filterListTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 5), )
if mibBuilder.loadTexts: filterListTable.setStatus('current')
if mibBuilder.loadTexts: filterListTable.setDescription('Filter list table for the Array')
filterListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 5, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "filterListIndex"))
if mibBuilder.loadTexts: filterListEntry.setStatus('current')
if mibBuilder.loadTexts: filterListEntry.setDescription('Filter list table entry')
filterListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 5, 1, 1), Integer32())
if mibBuilder.loadTexts: filterListIndex.setStatus('current')
if mibBuilder.loadTexts: filterListIndex.setDescription('Filter list table index')
filterListName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 5, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterListName.setStatus('current')
if mibBuilder.loadTexts: filterListName.setDescription('Filter list name')
filterListEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterListEnable.setStatus('current')
if mibBuilder.loadTexts: filterListEnable.setDescription('Enable/disable filter list')
filterListLength = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 5, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: filterListLength.setStatus('current')
if mibBuilder.loadTexts: filterListLength.setDescription('Number of filters in filter list')
filterListReset = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterListReset.setStatus('current')
if mibBuilder.loadTexts: filterListReset.setDescription('Delete all filters from filter list')
filterListRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 5, 1, 6), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: filterListRowStatus.setStatus('current')
if mibBuilder.loadTexts: filterListRowStatus.setDescription('Status of the filter list row entry')
filterStateful = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: filterStateful.setStatus('current')
if mibBuilder.loadTexts: filterStateful.setDescription('Enable or disable stateful filtering')
filterTrackApps = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: filterTrackApps.setStatus('current')
if mibBuilder.loadTexts: filterTrackApps.setDescription('Enable or disable application tracking')
filterAppTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 8), )
if mibBuilder.loadTexts: filterAppTable.setStatus('current')
if mibBuilder.loadTexts: filterAppTable.setDescription('Filter application table for the Array')
filterAppEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 8, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "filterAppIndex"))
if mibBuilder.loadTexts: filterAppEntry.setStatus('current')
if mibBuilder.loadTexts: filterAppEntry.setDescription('Filter application table entry')
filterAppIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 8, 1, 1), Integer32())
if mibBuilder.loadTexts: filterAppIndex.setStatus('current')
if mibBuilder.loadTexts: filterAppIndex.setDescription('Filter application table index')
filterAppGuid = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 8, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: filterAppGuid.setStatus('current')
if mibBuilder.loadTexts: filterAppGuid.setDescription('Filter application global unique identifier')
filterAppCategory = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 8, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: filterAppCategory.setStatus('current')
if mibBuilder.loadTexts: filterAppCategory.setDescription('Filter application category global unique identifier')
filterAppDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 8, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: filterAppDescription.setStatus('current')
if mibBuilder.loadTexts: filterAppDescription.setDescription('Filter application description')
filterAppCatTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 9), )
if mibBuilder.loadTexts: filterAppCatTable.setStatus('current')
if mibBuilder.loadTexts: filterAppCatTable.setDescription('Filter application category table for the Array')
filterAppCatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 9, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "filterAppCatIndex"))
if mibBuilder.loadTexts: filterAppCatEntry.setStatus('current')
if mibBuilder.loadTexts: filterAppCatEntry.setDescription('Filter application category table entry')
filterAppCatIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 9, 1, 1), Integer32())
if mibBuilder.loadTexts: filterAppCatIndex.setStatus('current')
if mibBuilder.loadTexts: filterAppCatIndex.setDescription('Filter application category table index')
filterAppCatGuid = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 9, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: filterAppCatGuid.setStatus('current')
if mibBuilder.loadTexts: filterAppCatGuid.setDescription('Filter application category global unique identifier')
filterAppCatDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 11, 9, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: filterAppCatDescription.setStatus('current')
if mibBuilder.loadTexts: filterAppCatDescription.setDescription('Filter application category description')
iap = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1))
ethernet = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2))
console = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 3))
iapTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1), )
if mibBuilder.loadTexts: iapTable.setStatus('current')
if mibBuilder.loadTexts: iapTable.setDescription('Table of IAPs')
iapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "iapIndex"))
if mibBuilder.loadTexts: iapEntry.setStatus('current')
if mibBuilder.loadTexts: iapEntry.setDescription('IAP table entry')
iapIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: iapIndex.setStatus('current')
if mibBuilder.loadTexts: iapIndex.setDescription('IAP table index')
iapName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapName.setStatus('current')
if mibBuilder.loadTexts: iapName.setDescription('IAP name')
iapMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapMacAddress.setStatus('current')
if mibBuilder.loadTexts: iapMacAddress.setDescription('IAP Mac address')
iapNumStations = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapNumStations.setStatus('current')
if mibBuilder.loadTexts: iapNumStations.setDescription('Number of associated stations per IAP')
iapEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("down", 0), ("up", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapEnable.setStatus('current')
if mibBuilder.loadTexts: iapEnable.setDescription('Bring IAP up or down')
iapCellSize = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("manual", 0), ("small", 1), ("medium", 2), ("large", 3), ("max", 4), ("auto", 5), ("monitor", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapCellSize.setStatus('current')
if mibBuilder.loadTexts: iapCellSize.setDescription('Set up RF cell size base on Tx pwr and Rx Threshold')
iapTxPwr = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-15, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapTxPwr.setStatus('current')
if mibBuilder.loadTexts: iapTxPwr.setDescription('Maximum Tx power output from radio')
iapRxThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-100, 0))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapRxThreshold.setStatus('current')
if mibBuilder.loadTexts: iapRxThreshold.setDescription('Rx (deferred) threshold setting')
iapChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapChannel.setStatus('current')
if mibBuilder.loadTexts: iapChannel.setDescription('Set channel (0 to set monitor mode for abg2 only)')
iapAntenna = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("internal", 1), ("external", 2), ("omni", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapAntenna.setStatus('current')
if mibBuilder.loadTexts: iapAntenna.setDescription('Set antenna (abg only radios)')
iapDot11Mode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("dot11a", 0), ("dot11g", 1), ("monitor", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapDot11Mode.setStatus('current')
if mibBuilder.loadTexts: iapDot11Mode.setDescription('Set 802.11 mode (band), where dot11a mode is 5GHz band and dot11g mode is 2.4GHz band (abg only radios)')
iapDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapDescription.setStatus('current')
if mibBuilder.loadTexts: iapDescription.setDescription('IAP description')
iapWdsClientLink = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapWdsClientLink.setStatus('current')
if mibBuilder.loadTexts: iapWdsClientLink.setDescription('Assign this IAP to a WDS client link (1-4), 0 means no link')
iapWdsHostLink = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapWdsHostLink.setStatus('current')
if mibBuilder.loadTexts: iapWdsHostLink.setDescription('Assign this IAP to a WDS host link (1-4), 0 means no link')
iapChannelBondMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(-1, 0, 1, 2))).clone(namedValues=NamedValues(("minus1", -1), ("off", 0), ("plus1", 1), ("auto", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapChannelBondMode.setStatus('current')
if mibBuilder.loadTexts: iapChannelBondMode.setDescription('Channel bonding setting (802.11n)')
iapBondedChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapBondedChannel.setStatus('current')
if mibBuilder.loadTexts: iapBondedChannel.setDescription('Bonded channel (802.11n)')
iapMaxStationsHour = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapMaxStationsHour.setStatus('current')
if mibBuilder.loadTexts: iapMaxStationsHour.setDescription('Maximum number of associated stations over last hour')
iapMaxStationsDay = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapMaxStationsDay.setStatus('current')
if mibBuilder.loadTexts: iapMaxStationsDay.setDescription('Maximum number of associated stations over last day')
iapMaxStationsWeek = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapMaxStationsWeek.setStatus('current')
if mibBuilder.loadTexts: iapMaxStationsWeek.setDescription('Maximum number of associated stations over last week')
iapMaxStationsMonth = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapMaxStationsMonth.setStatus('current')
if mibBuilder.loadTexts: iapMaxStationsMonth.setDescription('Maximum number of associated stations over last month')
iapMaxStationsYear = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapMaxStationsYear.setStatus('current')
if mibBuilder.loadTexts: iapMaxStationsYear.setDescription('Maximum number of associated stations over last year')
iapChannelMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("default", 0), ("manual", 1), ("auto", 2), ("radar", 3), ("locked", 4), ("monitor", 5), ("timeshare", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapChannelMode.setStatus('current')
if mibBuilder.loadTexts: iapChannelMode.setDescription('Channel mode (on set, use 4 to lock, 0 to unlock channel)')
iapWifiMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 24, 25, 31))).clone(namedValues=NamedValues(("dot11a", 1), ("dot11b", 2), ("dot11ab", 3), ("dot11g", 4), ("dot11ag", 5), ("dot11bg", 6), ("dot11abg", 7), ("dot11n", 8), ("dot11an", 9), ("dot11bn", 10), ("dot11abn", 11), ("dot11gn", 12), ("dot11agn", 13), ("dot11bgn", 14), ("dot11abgn", 15), ("dot11ac", 16), ("dot11nac", 24), ("dot11anac", 25), ("dot11abgnac", 31)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapWifiMode.setStatus('current')
if mibBuilder.loadTexts: iapWifiMode.setDescription('Wifi mode')
iapPresent = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("not-present", 0), ("present", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapPresent.setStatus('current')
if mibBuilder.loadTexts: iapPresent.setDescription('Indicates whether IAP slot is populated')
iapWdsLinkDistance = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 30))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapWdsLinkDistance.setStatus('current')
if mibBuilder.loadTexts: iapWdsLinkDistance.setDescription('WDS link distance (in miles)')
iapResetsMonitor = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 26), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapResetsMonitor.setStatus('current')
if mibBuilder.loadTexts: iapResetsMonitor.setDescription('Number of monitor radio resets')
iapResetsBeacon = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 27), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapResetsBeacon.setStatus('current')
if mibBuilder.loadTexts: iapResetsBeacon.setDescription('Number of interface beacon resets')
iapResetsPhy = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 28), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapResetsPhy.setStatus('current')
if mibBuilder.loadTexts: iapResetsPhy.setDescription('Number of interface PHY resets')
iapResetsMac = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 29), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapResetsMac.setStatus('current')
if mibBuilder.loadTexts: iapResetsMac.setDescription('Number of interface MAC resets')
iapResetsSystem = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 30), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapResetsSystem.setStatus('current')
if mibBuilder.loadTexts: iapResetsSystem.setDescription('Number of system resets')
iapSpatialStreams = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("not-present", 0), ("type-1x1", 1), ("type-2x2", 2), ("type-2x3", 3), ("type-3x3", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapSpatialStreams.setStatus('current')
if mibBuilder.loadTexts: iapSpatialStreams.setDescription('Number of spatial streams on the IAP')
iapChannelBond80Mhz = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: iapChannelBond80Mhz.setStatus('current')
if mibBuilder.loadTexts: iapChannelBond80Mhz.setDescription('Channel bonding 80Mhz setting')
iapBondedChannelList = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 33), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapBondedChannelList.setStatus('current')
if mibBuilder.loadTexts: iapBondedChannelList.setDescription('IAP Bonded Channel List')
iapType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 1, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("not-present", 0), ("unknown", 1), ("dot11abgn", 2), ("dot11abgnac", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapType.setStatus('current')
if mibBuilder.loadTexts: iapType.setDescription('IAP type')
pysmi_global = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2)).setLabel("global")
global11a = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3))
global11bg = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4))
wds = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5))
global11n = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6))
global11ac = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 8))
globalIAPEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("all-down", 0), ("all-up", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPEnable.setStatus('current')
if mibBuilder.loadTexts: globalIAPEnable.setDescription('Bring all IAPs up or down')
globalIAPCellSize = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("none", 0), ("small", 1), ("medium", 2), ("large", 3), ("max", 4), ("auto", 5), ("monitor", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPCellSize.setStatus('current')
if mibBuilder.loadTexts: globalIAPCellSize.setDescription('Set up RF cell size base on Tx pwr and Rx Threshold')
globalIAPTxPwr = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-15, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPTxPwr.setStatus('current')
if mibBuilder.loadTexts: globalIAPTxPwr.setDescription('Maximum Tx power output from any radio')
globalIAPRxThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-100, 0))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPRxThreshold.setStatus('current')
if mibBuilder.loadTexts: globalIAPRxThreshold.setDescription('Rx (deferred) threshold setting')
globalIAPBeaconRate = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(100, 1000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPBeaconRate.setStatus('current')
if mibBuilder.loadTexts: globalIAPBeaconRate.setDescription('Time between beacons in kilo_microseconds')
globalIAPBeaconDTIM = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPBeaconDTIM.setStatus('current')
if mibBuilder.loadTexts: globalIAPBeaconDTIM.setDescription('Number of beacons between DTIM being transmitted')
globalIAPLongRetry = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPLongRetry.setStatus('current')
if mibBuilder.loadTexts: globalIAPLongRetry.setDescription('Long retry')
globalIAPShortRetry = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPShortRetry.setStatus('current')
if mibBuilder.loadTexts: globalIAPShortRetry.setDescription('Short retry')
globalIAPMaxStations = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 240))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPMaxStations.setStatus('current')
if mibBuilder.loadTexts: globalIAPMaxStations.setDescription('Limit the number of STA that can be associated per IAP')
globalIAPInactiveTime = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPInactiveTime.setStatus('current')
if mibBuilder.loadTexts: globalIAPInactiveTime.setDescription('Time, in seconds, without any activity before removing the client from the association table')
globalIAPReauthPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPReauthPeriod.setStatus('current')
if mibBuilder.loadTexts: globalIAPReauthPeriod.setDescription('Time (sec) between 802.1x re_authentication attempts')
globalIAPSta2Sta = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("forward", 0), ("block", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPSta2Sta.setStatus('current')
if mibBuilder.loadTexts: globalIAPSta2Sta.setDescription('Block or forward intra-Array STA to STA traffic')
globalMgmt = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalMgmt.setStatus('current')
if mibBuilder.loadTexts: globalMgmt.setDescription('Enable management on the WLAN interfaces')
leds = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 14))
autoChannel = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 15))
rogueDetect = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16))
fastRoaming = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17))
autoCell = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 24))
ids = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33))
rfMonitor = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 40))
globalLoadBalancing = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2))).clone(namedValues=NamedValues(("disable", 0), ("enable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalLoadBalancing.setStatus('current')
if mibBuilder.loadTexts: globalLoadBalancing.setDescription('Enable/disable load balancing across IAPs')
globalCountryCode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64))).clone(namedValues=NamedValues(("not-set", 0), ("united-states", 1), ("canada", 2), ("australia", 3), ("new-zealand", 4), ("austria", 5), ("belgium", 6), ("denmark", 7), ("finland", 8), ("france", 9), ("germany", 10), ("hungary", 11), ("ireland", 12), ("italy", 13), ("luxembourg", 14), ("netherlands", 15), ("norway", 16), ("poland", 17), ("portugal", 18), ("slovenia", 19), ("spain", 20), ("sweden", 21), ("switzerland", 22), ("united-kingdom", 23), ("japan", 24), ("united-states-ext", 25), ("mexico", 26), ("thailand", 27), ("greece", 28), ("israel", 29), ("south-africa", 30), ("brazil", 31), ("india", 32), ("singapore", 33), ("malaysia", 34), ("korea", 35), ("hong-kong", 36), ("china", 37), ("macao", 38), ("united-states-outdoor", 39), ("united-status-weather-radar", 40), ("russia", 41), ("united-states-non-dfs", 42), ("united-arab-emirates", 43), ("argentina", 44), ("bahrain", 45), ("brunei", 46), ("bahamas", 47), ("chile", 48), ("columbia", 49), ("dominican-republic", 50), ("egypt", 51), ("indonesia", 52), ("kuwait", 53), ("lebanon", 54), ("oman", 55), ("peru", 56), ("philippines", 57), ("qatar", 58), ("saudi-arabia", 59), ("taiwan", 60), ("turkey", 61), ("trinidad", 62), ("ukraine", 63), ("venezuela", 64)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalCountryCode.setStatus('current')
if mibBuilder.loadTexts: globalCountryCode.setDescription('Country code')
globalSharpCell = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalSharpCell.setStatus('current')
if mibBuilder.loadTexts: globalSharpCell.setDescription('Enable/disable sharp cell TX power shaping')
globalIAPMaxPhones = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPMaxPhones.setStatus('current')
if mibBuilder.loadTexts: globalIAPMaxPhones.setDescription('Limit the number of phones that can be associated per IAP. Note this is not used and essentially deprecated.')
globalNumStations = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: globalNumStations.setStatus('current')
if mibBuilder.loadTexts: globalNumStations.setDescription('Number of stations associated with array')
globalBroadcastRates = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("standard", 0), ("optimized", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalBroadcastRates.setStatus('current')
if mibBuilder.loadTexts: globalBroadcastRates.setDescription('Select standard or optimized broadcast rates')
globalPublicSafety = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalPublicSafety.setStatus('current')
if mibBuilder.loadTexts: globalPublicSafety.setDescription('Enable/disable public safety band')
globalDot11hSupport = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalDot11hSupport.setStatus('current')
if mibBuilder.loadTexts: globalDot11hSupport.setDescription('Enable/disable support for 802.11h beacons')
globalLoopbackTest = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("disabled", 0), ("alert-only", 1), ("repair-without-reboot", 2), ("reboot-allowed", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalLoopbackTest.setStatus('current')
if mibBuilder.loadTexts: globalLoopbackTest.setDescription('IAP radio assurance mode')
globalArpFilter = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("passthru", 1), ("proxy", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalArpFilter.setStatus('current')
if mibBuilder.loadTexts: globalArpFilter.setDescription('Enable/disable ARP filtering')
globalIAPChannelReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIAPChannelReset.setStatus('current')
if mibBuilder.loadTexts: globalIAPChannelReset.setDescription('Reset all channels back to factory defaults')
globalWfaMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalWfaMode.setStatus('current')
if mibBuilder.loadTexts: globalWfaMode.setDescription('Enable/disable WiFi Alliance mode')
globalMaxStations = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3840))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalMaxStations.setStatus('current')
if mibBuilder.loadTexts: globalMaxStations.setDescription('Maximum number of associated stations per array')
globalMulticastMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("standard", 0), ("convert", 1), ("snoop", 2), ("prune", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalMulticastMode.setStatus('current')
if mibBuilder.loadTexts: globalMulticastMode.setDescription('Select multicast mode')
globalAutoBandEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalAutoBandEnable.setStatus('current')
if mibBuilder.loadTexts: globalAutoBandEnable.setDescription('Automatically assign bands (2.4GHz or 5GHz) to all IAPs')
globalWmmPowerSave = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalWmmPowerSave.setStatus('current')
if mibBuilder.loadTexts: globalWmmPowerSave.setDescription('Enable/disable WMM power save mode')
globalDscpMappingMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalDscpMappingMode.setStatus('current')
if mibBuilder.loadTexts: globalDscpMappingMode.setDescription('Enable/disable DSCP to QoS mapping')
globalDscpMappingTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 37), )
if mibBuilder.loadTexts: globalDscpMappingTable.setStatus('current')
if mibBuilder.loadTexts: globalDscpMappingTable.setDescription('DSCP to QoS mapping')
globalDscpMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 37, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "globalDscpMappingIndex"))
if mibBuilder.loadTexts: globalDscpMappingEntry.setStatus('current')
if mibBuilder.loadTexts: globalDscpMappingEntry.setDescription('DSCP to QoS mapping entry')
globalDscpMappingIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 37, 1, 1), Integer32())
if mibBuilder.loadTexts: globalDscpMappingIndex.setStatus('current')
if mibBuilder.loadTexts: globalDscpMappingIndex.setDescription('DSCP to QoS mapping index')
globalDscpMappingDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 37, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: globalDscpMappingDscp.setStatus('current')
if mibBuilder.loadTexts: globalDscpMappingDscp.setDescription('DSCP value mapped')
globalDscpMappingQos = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 37, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalDscpMappingQos.setStatus('current')
if mibBuilder.loadTexts: globalDscpMappingQos.setDescription('QoS setting')
globalMulticastExcludeTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 38), )
if mibBuilder.loadTexts: globalMulticastExcludeTable.setStatus('current')
if mibBuilder.loadTexts: globalMulticastExcludeTable.setDescription('Multicast conversion exclude list')
globalMulticastExcludeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 38, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "globalMulticastExcludeIndex"))
if mibBuilder.loadTexts: globalMulticastExcludeEntry.setStatus('current')
if mibBuilder.loadTexts: globalMulticastExcludeEntry.setDescription('Multicast conversion exclude list entry')
globalMulticastExcludeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 38, 1, 1), Integer32())
if mibBuilder.loadTexts: globalMulticastExcludeIndex.setStatus('current')
if mibBuilder.loadTexts: globalMulticastExcludeIndex.setDescription('Multicast conversion exclude list Index')
globalMulticastExcludeIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 38, 1, 2), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: globalMulticastExcludeIpAddress.setStatus('current')
if mibBuilder.loadTexts: globalMulticastExcludeIpAddress.setDescription('Multicast IP address excluded from conversion')
globalMulticastExcludeRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 38, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: globalMulticastExcludeRowStatus.setStatus('current')
if mibBuilder.loadTexts: globalMulticastExcludeRowStatus.setDescription('Status of the multicast conversion exclude list row entry')
globalMulticastExcludeTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalMulticastExcludeTableReset.setStatus('current')
if mibBuilder.loadTexts: globalMulticastExcludeTableReset.setDescription('Reset multicast conversion exclude list')
globalExtractStaInfoTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 41), )
if mibBuilder.loadTexts: globalExtractStaInfoTable.setStatus('current')
if mibBuilder.loadTexts: globalExtractStaInfoTable.setDescription('Station information to be extracted table')
globalExtractStaInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 41, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "globalExtractStaInfoIndex"))
if mibBuilder.loadTexts: globalExtractStaInfoEntry.setStatus('current')
if mibBuilder.loadTexts: globalExtractStaInfoEntry.setDescription('Station information to be extracted table entry')
globalExtractStaInfoIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 41, 1, 1), Integer32())
if mibBuilder.loadTexts: globalExtractStaInfoIndex.setStatus('current')
if mibBuilder.loadTexts: globalExtractStaInfoIndex.setDescription('Station information to be extracted table index')
globalExtractStaInfoType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 41, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: globalExtractStaInfoType.setStatus('current')
if mibBuilder.loadTexts: globalExtractStaInfoType.setDescription('Type of station information to be extracted')
globalExtractStaInfoStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 41, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalExtractStaInfoStatus.setStatus('current')
if mibBuilder.loadTexts: globalExtractStaInfoStatus.setDescription('Enable/disable station information to be extracted')
globalStaAuthTimeout = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 42), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalStaAuthTimeout.setStatus('current')
if mibBuilder.loadTexts: globalStaAuthTimeout.setDescription('Time to complete 802.1x authentication (seconds)')
globalIPv6Filter = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 43), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalIPv6Filter.setStatus('current')
if mibBuilder.loadTexts: globalIPv6Filter.setDescription('Enable/disable IPv6 packet filtering')
globalMulticastForwardingTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 44), )
if mibBuilder.loadTexts: globalMulticastForwardingTable.setStatus('current')
if mibBuilder.loadTexts: globalMulticastForwardingTable.setDescription('Multicast conversion forwarding list')
globalMulticastForwardingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 44, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "globalMulticastForwardingIndex"))
if mibBuilder.loadTexts: globalMulticastForwardingEntry.setStatus('current')
if mibBuilder.loadTexts: globalMulticastForwardingEntry.setDescription('Multicast conversion forwarding list entry')
globalMulticastForwardingIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 44, 1, 1), Integer32())
if mibBuilder.loadTexts: globalMulticastForwardingIndex.setStatus('current')
if mibBuilder.loadTexts: globalMulticastForwardingIndex.setDescription('Multicast conversion forwarding list Index')
globalMulticastForwardingIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 44, 1, 2), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: globalMulticastForwardingIpAddress.setStatus('current')
if mibBuilder.loadTexts: globalMulticastForwardingIpAddress.setDescription('Multicast IP address forwarding from conversion')
globalMulticastForwardingRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 44, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: globalMulticastForwardingRowStatus.setStatus('current')
if mibBuilder.loadTexts: globalMulticastForwardingRowStatus.setDescription('Status of the multicast conversion forwarding list row entry')
globalMulticastForwardingTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalMulticastForwardingTableReset.setStatus('current')
if mibBuilder.loadTexts: globalMulticastForwardingTableReset.setDescription('Reset multicast conversion forwarding list')
globalMulticastVlanForwardingTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 46), )
if mibBuilder.loadTexts: globalMulticastVlanForwardingTable.setStatus('current')
if mibBuilder.loadTexts: globalMulticastVlanForwardingTable.setDescription('Multicast conversion vlan forwarding list')
globalMulticastVlanForwardingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 46, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "globalMulticastVlanForwardingIndex"))
if mibBuilder.loadTexts: globalMulticastVlanForwardingEntry.setStatus('current')
if mibBuilder.loadTexts: globalMulticastVlanForwardingEntry.setDescription('Multicast conversion vlan forwarding list entry')
globalMulticastVlanForwardingIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 46, 1, 1), Integer32())
if mibBuilder.loadTexts: globalMulticastVlanForwardingIndex.setStatus('current')
if mibBuilder.loadTexts: globalMulticastVlanForwardingIndex.setDescription('Multicast conversion vlan forwarding list Index')
globalMulticastVlanForwardingVlanNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 46, 1, 2), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: globalMulticastVlanForwardingVlanNumber.setStatus('current')
if mibBuilder.loadTexts: globalMulticastVlanForwardingVlanNumber.setDescription('Multicast IP vlan forwarding from conversion')
globalMulticastVlanForwardingRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 46, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: globalMulticastVlanForwardingRowStatus.setStatus('current')
if mibBuilder.loadTexts: globalMulticastVlanForwardingRowStatus.setDescription('Status of the multicast conversion vlan forwarding list row entry')
globalMulticastVlanForwardingTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 47), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalMulticastVlanForwardingTableReset.setStatus('current')
if mibBuilder.loadTexts: globalMulticastVlanForwardingTableReset.setDescription('Reset multicast conversion vlan forwarding list')
globalMulticastDnsFilteringTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 48), )
if mibBuilder.loadTexts: globalMulticastDnsFilteringTable.setStatus('current')
if mibBuilder.loadTexts: globalMulticastDnsFilteringTable.setDescription('Multicast DNS filtering list')
globalMulticastDnsFilteringEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 48, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "globalMulticastDnsFilteringIndex"))
if mibBuilder.loadTexts: globalMulticastDnsFilteringEntry.setStatus('current')
if mibBuilder.loadTexts: globalMulticastDnsFilteringEntry.setDescription('Multicast DNS filtering list entry')
globalMulticastDnsFilteringIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 48, 1, 1), Integer32())
if mibBuilder.loadTexts: globalMulticastDnsFilteringIndex.setStatus('current')
if mibBuilder.loadTexts: globalMulticastDnsFilteringIndex.setDescription('Multicast DNS filtering list Index')
globalMulticastDnsFilteringName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 48, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 24))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: globalMulticastDnsFilteringName.setStatus('current')
if mibBuilder.loadTexts: globalMulticastDnsFilteringName.setDescription('Multicast DNS filtering list')
globalMulticastDnsFilteringRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 48, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: globalMulticastDnsFilteringRowStatus.setStatus('current')
if mibBuilder.loadTexts: globalMulticastDnsFilteringRowStatus.setDescription('Status of the multicast DNS filtering list row entry')
globalMulticastDnsFilteringTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalMulticastDnsFilteringTableReset.setStatus('current')
if mibBuilder.loadTexts: globalMulticastDnsFilteringTableReset.setDescription('Reset multicast DNS filtering list')
globalDot11kSupport = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalDot11kSupport.setStatus('current')
if mibBuilder.loadTexts: globalDot11kSupport.setDescription('Enable/disable support for 802.11k beacons')
globalDot11wProtectedManagement = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalDot11wProtectedManagement.setStatus('current')
if mibBuilder.loadTexts: globalDot11wProtectedManagement.setDescription('Enable/disable support for 802.11w Protected Management')
globalExtractIpAddrDhcpPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 52), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 300))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: globalExtractIpAddrDhcpPeriod.setStatus('current')
if mibBuilder.loadTexts: globalExtractIpAddrDhcpPeriod.setDescription('Station IP address extraction via DHCP period')
ledsEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 14, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("iapUp", 1), ("associated", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ledsEnable.setStatus('current')
if mibBuilder.loadTexts: ledsEnable.setDescription('Enable/Disable LED operations')
ledsActivityTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 14, 2), )
if mibBuilder.loadTexts: ledsActivityTable.setStatus('current')
if mibBuilder.loadTexts: ledsActivityTable.setDescription('LED activity table')
ledsActivityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 14, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "ledsActivityIndex"))
if mibBuilder.loadTexts: ledsActivityEntry.setStatus('current')
if mibBuilder.loadTexts: ledsActivityEntry.setDescription('LED activity table entry')
ledsActivityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 14, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: ledsActivityIndex.setStatus('current')
if mibBuilder.loadTexts: ledsActivityIndex.setDescription('LED activity table index')
ledsActivityPacketType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 14, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ledsActivityPacketType.setStatus('current')
if mibBuilder.loadTexts: ledsActivityPacketType.setDescription('Packet type')
ledsActivityStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 14, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ledsActivityStatus.setStatus('current')
if mibBuilder.loadTexts: ledsActivityStatus.setDescription('Enable/disable blinking')
autoChannelEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 15, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("negotiate", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: autoChannelEnable.setStatus('current')
if mibBuilder.loadTexts: autoChannelEnable.setDescription('Set to 1 to enable auto channel configuration, 2 to negotiate airtime with other arrays before enabling auto channel configuration')
autoChannelPowerUp = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 15, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: autoChannelPowerUp.setStatus('current')
if mibBuilder.loadTexts: autoChannelPowerUp.setDescription('Enable/disable auto channel configuration at power up')
autoChannelSchedule = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 15, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: autoChannelSchedule.setStatus('current')
if mibBuilder.loadTexts: autoChannelSchedule.setDescription("Times to run auto channel in 'hh:mm hh:mm ...' format")
rogueDetectEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("disable", 0), ("standard", 1), ("advanced", 2), ("standard-auto-block", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rogueDetectEnable.setStatus('current')
if mibBuilder.loadTexts: rogueDetectEnable.setDescription('Enable/disable rogue AP detection')
rogueDetectSSIDTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 2), )
if mibBuilder.loadTexts: rogueDetectSSIDTable.setStatus('current')
if mibBuilder.loadTexts: rogueDetectSSIDTable.setDescription('Rogue detect SSID table for the Array')
rogueDetectSSIDEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "rogueDetectSSIDIndex"))
if mibBuilder.loadTexts: rogueDetectSSIDEntry.setStatus('current')
if mibBuilder.loadTexts: rogueDetectSSIDEntry.setDescription('Rogue detect SSID table entry')
rogueDetectSSIDIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: rogueDetectSSIDIndex.setStatus('current')
if mibBuilder.loadTexts: rogueDetectSSIDIndex.setDescription('Rogue detect SSID table index')
rogueDetectSSIDName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: rogueDetectSSIDName.setStatus('current')
if mibBuilder.loadTexts: rogueDetectSSIDName.setDescription('SSID')
rogueDetectSSIDStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("known", 1), ("approved", 2), ("blocked", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: rogueDetectSSIDStatus.setStatus('current')
if mibBuilder.loadTexts: rogueDetectSSIDStatus.setDescription('SSID status')
rogueDetectSSIDRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 2, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: rogueDetectSSIDRowStatus.setStatus('current')
if mibBuilder.loadTexts: rogueDetectSSIDRowStatus.setDescription('Status of the rogue detect SSID table row entry')
rogueDetectSSIDMatch = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("bssid-or-ssid", 0), ("bssid", 1), ("ssid", 2), ("manufacturer", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: rogueDetectSSIDMatch.setStatus('current')
if mibBuilder.loadTexts: rogueDetectSSIDMatch.setDescription('SSID match')
rogueDetectAPTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3), )
if mibBuilder.loadTexts: rogueDetectAPTable.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPTable.setDescription("Table of rogue AP's")
rogueDetectAPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "rogueDetectAPIndex"))
if mibBuilder.loadTexts: rogueDetectAPEntry.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPEntry.setDescription('Rogue AP table entry')
rogueDetectAPIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 1), Integer32())
if mibBuilder.loadTexts: rogueDetectAPIndex.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPIndex.setDescription('Rogue AP index')
rogueDetectAPStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("unknown", 0), ("known", 1), ("approved", 2), ("blocked", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPStatus.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPStatus.setDescription('Rogue AP status')
rogueDetectAPSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPSSID.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPSSID.setDescription('Rogue AP SSID')
rogueDetectAPBSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPBSSID.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPBSSID.setDescription('Rogue AP BSSID')
rogueDetectAPManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPManufacturer.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPManufacturer.setDescription('Rogue AP manufacturer')
rogueDetectAPChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPChannel.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPChannel.setDescription('Rogue AP channel')
rogueDetectAPRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPRSSI.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPRSSI.setDescription('Rogue AP RSSI')
rogueDetectAPSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 8), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPSecurity.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPSecurity.setDescription('Rogue AP security')
rogueDetectAPIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 9), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPIPAddress.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPIPAddress.setDescription('Rogue AP IP Address')
rogueDetectAPTimeDiscovered = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 10), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPTimeDiscovered.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPTimeDiscovered.setDescription('Rogue AP time discovered')
rogueDetectAPTimeLastActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 11), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPTimeLastActive.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPTimeLastActive.setDescription('Rogue AP IP time last active')
rogueDetectAPType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ibss", 1), ("ess", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPType.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPType.setDescription('Rogue AP type')
rogueDetectSSIDTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rogueDetectSSIDTableReset.setStatus('current')
if mibBuilder.loadTexts: rogueDetectSSIDTableReset.setDescription('Reset rogue detect SSID table (clear all entries)')
rogueDetectAPOrigTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5), )
if mibBuilder.loadTexts: rogueDetectAPOrigTable.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTable.setDescription("Table of rogue AP's (original)")
rogueDetectAPOrigTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "rogueDetectAPOrigTableIndex"))
if mibBuilder.loadTexts: rogueDetectAPOrigTableEntry.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableEntry.setDescription('Rogue AP original table entry')
rogueDetectAPOrigTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 1), Integer32())
if mibBuilder.loadTexts: rogueDetectAPOrigTableIndex.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableIndex.setDescription('Rogue AP index')
rogueDetectAPOrigTableSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableSSID.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableSSID.setDescription('Rogue AP SSID')
rogueDetectAPOrigTableBSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableBSSID.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableBSSID.setDescription('Rogue AP BSSID')
rogueDetectAPOrigTableManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableManufacturer.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableManufacturer.setDescription('Rogue AP manufacturer')
rogueDetectAPOrigTableChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableChannel.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableChannel.setDescription('Rogue AP channel')
rogueDetectAPOrigTableBand = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("dot11a", 1), ("dot11g", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableBand.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableBand.setDescription('Rogue AP 802.11 band')
rogueDetectAPOrigTableRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableRSSI.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableRSSI.setDescription('Rogue AP RSSI')
rogueDetectAPOrigTableSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 8), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableSecurity.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableSecurity.setDescription('Rogue AP security')
rogueDetectAPOrigTableIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 9), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableIPAddress.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableIPAddress.setDescription('Rogue AP IP Address')
rogueDetectAPOrigTableTimeDiscovered = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableTimeDiscovered.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableTimeDiscovered.setDescription('Rogue AP time discovered')
rogueDetectAPOrigTableTimeLastActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableTimeLastActive.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableTimeLastActive.setDescription('Rogue AP IP time last active')
rogueDetectAPOrigTableActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("not-active", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableActive.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableActive.setDescription('Is Rogue AP active?')
rogueDetectAPOrigTableType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 5, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ibss", 1), ("ess", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: rogueDetectAPOrigTableType.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTableType.setDescription('Rogue AP type')
rogueDetectAutoBlockEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("wep-and-none", 1), ("all", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rogueDetectAutoBlockEnc.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAutoBlockEnc.setDescription('Encryption type for automatic blocking of unknown rogue APs')
rogueDetectAutoBlockRSSI = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-95, -50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rogueDetectAutoBlockRSSI.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAutoBlockRSSI.setDescription('Minimum RSSI value for automatic blocking of unknown rogue APs')
rogueDetectAutoBlockType = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("all", 0), ("ibss", 1), ("ess", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rogueDetectAutoBlockType.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAutoBlockType.setDescription('Type of rogue AP networks to automatically block')
rogueDetectAPOrigTablePeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 9), Counter32().subtype(subtypeSpec=ValueRangeConstraint(0, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rogueDetectAPOrigTablePeriod.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAPOrigTablePeriod.setDescription('Specify period for rogue AP table entries (in seconds, 0 - all table entries)')
rogueDetectAutoBlockWhitelistTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 10), )
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistTable.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistTable.setDescription('Rogue AP Auto Block channel whitelist')
rogueDetectAutoBlockWhitelistEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 10, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "rogueDetectAutoBlockWhitelistIndex"))
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistEntry.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistEntry.setDescription('Rogue AP Auto Block channel whitelist entry')
rogueDetectAutoBlockWhitelistIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 10, 1, 1), Integer32())
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistIndex.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistIndex.setDescription('Rogue AP Auto Block channel whitelist Index')
rogueDetectAutoBlockWhitelistChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 10, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistChannel.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistChannel.setDescription('Rogue AP Auto Block channel whitelist channel')
rogueDetectAutoBlockWhitelistRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 10, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistRowStatus.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistRowStatus.setDescription('Status of the Rogue AP Auto Block channel whitelist row entry')
rogueDetectAutoBlockWhitelistTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 16, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistTableReset.setStatus('current')
if mibBuilder.loadTexts: rogueDetectAutoBlockWhitelistTableReset.setDescription('Reset Rogue AP Auto Block channel whitelist')
fastRoamingEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("broadcast", 1), ("tunnel", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: fastRoamingEnable.setStatus('current')
if mibBuilder.loadTexts: fastRoamingEnable.setDescription('Enable/disable fast roaming')
fastRoamingPeerMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("target-only", 0), ("in-range", 1), ("all", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: fastRoamingPeerMode.setStatus('current')
if mibBuilder.loadTexts: fastRoamingPeerMode.setDescription('Set fast roaming peer mode')
fastRoamingTargetArrayTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: fastRoamingTargetArrayTableReset.setStatus('current')
if mibBuilder.loadTexts: fastRoamingTargetArrayTableReset.setDescription('Reset fast roaming target array table (clear all entries)')
fastRoamingLayer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("layer-2-only", 0), ("layer-2-and-3", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: fastRoamingLayer.setStatus('current')
if mibBuilder.loadTexts: fastRoamingLayer.setDescription('Set fast roaming layer')
fastRoamingTargetTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 6), )
if mibBuilder.loadTexts: fastRoamingTargetTable.setStatus('current')
if mibBuilder.loadTexts: fastRoamingTargetTable.setDescription('Fast roaming target array table')
fastRoamingTargetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 6, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "fastRoamingTargetIndex"))
if mibBuilder.loadTexts: fastRoamingTargetEntry.setStatus('current')
if mibBuilder.loadTexts: fastRoamingTargetEntry.setDescription('Fast roaming target array table entry')
fastRoamingTargetIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 6, 1, 1), Integer32())
if mibBuilder.loadTexts: fastRoamingTargetIndex.setStatus('current')
if mibBuilder.loadTexts: fastRoamingTargetIndex.setDescription('Fast roaming target array table index')
fastRoamingTargetType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("mac", 0), ("ip", 1), ("hostname", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: fastRoamingTargetType.setStatus('current')
if mibBuilder.loadTexts: fastRoamingTargetType.setDescription('Type of the fast roaming target array table row entry')
fastRoamingTargetMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 6, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(12, 17))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: fastRoamingTargetMacAddress.setStatus('current')
if mibBuilder.loadTexts: fastRoamingTargetMacAddress.setDescription('Base IAP MAC address of the target array')
fastRoamingTargetIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 6, 1, 4), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: fastRoamingTargetIpAddress.setStatus('current')
if mibBuilder.loadTexts: fastRoamingTargetIpAddress.setDescription('IP address of the target array')
fastRoamingTargetHostname = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 6, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: fastRoamingTargetHostname.setStatus('current')
if mibBuilder.loadTexts: fastRoamingTargetHostname.setDescription('Hostname of the target array')
fastRoamingTargetRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 17, 6, 1, 6), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: fastRoamingTargetRowStatus.setStatus('current')
if mibBuilder.loadTexts: fastRoamingTargetRowStatus.setDescription('Status of the fast roaming target array table row entry')
autoCellEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 24, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: autoCellEnable.setStatus('current')
if mibBuilder.loadTexts: autoCellEnable.setDescription('Enable auto cell size configuration')
autoCellOverlap = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 24, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: autoCellOverlap.setStatus('current')
if mibBuilder.loadTexts: autoCellOverlap.setDescription('Set auto cell size overlap (in percents)')
autoCellPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 24, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: autoCellPeriod.setStatus('current')
if mibBuilder.loadTexts: autoCellPeriod.setDescription('Set period to run auto cell size assignment (in seconds from 60 to 3000000, 0 - none)')
autoCellMinTxPwr = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 24, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-15, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: autoCellMinTxPwr.setStatus('current')
if mibBuilder.loadTexts: autoCellMinTxPwr.setDescription('Set auto cell size minimum Tx power')
idsEventTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1), )
if mibBuilder.loadTexts: idsEventTable.setStatus('current')
if mibBuilder.loadTexts: idsEventTable.setDescription('IDS event table')
idsEventEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "idsEventIndex"))
if mibBuilder.loadTexts: idsEventEntry.setStatus('current')
if mibBuilder.loadTexts: idsEventEntry.setDescription('IDS event table entry')
idsEventIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: idsEventIndex.setStatus('current')
if mibBuilder.loadTexts: idsEventIndex.setDescription('IDS event index')
idsEventId = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18))).clone(namedValues=NamedValues(("beacon-flood", 1), ("probe-req-flood", 2), ("auth-flood", 3), ("assoc-flood", 4), ("disassoc-flood", 5), ("deauth-flood", 6), ("eap-flood", 7), ("ap-impersonation", 8), ("disassoc-attack", 9), ("deauth-attack", 10), ("duration-attack", 11), ("mic-error-attack", 12), ("null-probe-resp", 13), ("seq-num-anomaly", 14), ("sta-impersonation", 15), ("sta-broadcast", 16), ("evil-twin-attack", 17), ("rf-jamming", 18)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: idsEventId.setStatus('current')
if mibBuilder.loadTexts: idsEventId.setDescription('IDS event detected')
idsEventTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: idsEventTime.setStatus('current')
if mibBuilder.loadTexts: idsEventTime.setDescription('IDS event detection time')
idsEventTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: idsEventTimestamp.setStatus('current')
if mibBuilder.loadTexts: idsEventTimestamp.setDescription('IDS event detection time (in seconds)')
idsEventIAP = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: idsEventIAP.setStatus('current')
if mibBuilder.loadTexts: idsEventIAP.setDescription('IAP IDS event was detected on')
idsEventChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: idsEventChannel.setStatus('current')
if mibBuilder.loadTexts: idsEventChannel.setDescription('Channel IDS event was detected on')
idsEventPeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: idsEventPeriod.setStatus('current')
if mibBuilder.loadTexts: idsEventPeriod.setDescription('IDS event detection time period (in seconds)')
idsEventCurPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: idsEventCurPackets.setStatus('current')
if mibBuilder.loadTexts: idsEventCurPackets.setDescription('IDS event current number of packets received')
idsEventAvgPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: idsEventAvgPackets.setStatus('current')
if mibBuilder.loadTexts: idsEventAvgPackets.setDescription('IDS event average number of packets received')
idsEventMaxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: idsEventMaxPackets.setStatus('current')
if mibBuilder.loadTexts: idsEventMaxPackets.setDescription('IDS event maximum number of packets received')
idsEventMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 11), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: idsEventMacAddress.setStatus('current')
if mibBuilder.loadTexts: idsEventMacAddress.setDescription('IDS event MAC address')
idsEventSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 1, 1, 12), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: idsEventSSID.setStatus('current')
if mibBuilder.loadTexts: idsEventSSID.setDescription('IDS event SSID')
idsDosAttack = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2))
idsImpersonation = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 3))
idsBeaconFloodMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("manual", 1), ("auto", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsBeaconFloodMode.setStatus('current')
if mibBuilder.loadTexts: idsBeaconFloodMode.setDescription('Beacon flood detection mode')
idsBeaconFloodThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsBeaconFloodThreshold.setStatus('current')
if mibBuilder.loadTexts: idsBeaconFloodThreshold.setDescription('Number of packets received in a period of time to trigger beacon flood detection')
idsBeaconFloodPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsBeaconFloodPeriod.setStatus('current')
if mibBuilder.loadTexts: idsBeaconFloodPeriod.setDescription('Time period for beacon flood detection (in seconds, must be an increment of 10)')
idsProbeReqFloodMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("manual", 1), ("auto", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsProbeReqFloodMode.setStatus('current')
if mibBuilder.loadTexts: idsProbeReqFloodMode.setDescription('Probe request flood detection mode')
idsProbeReqFloodThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsProbeReqFloodThreshold.setStatus('current')
if mibBuilder.loadTexts: idsProbeReqFloodThreshold.setDescription('Number of packets received in a period of time to trigger probe request flood detection')
idsProbeReqFloodPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsProbeReqFloodPeriod.setStatus('current')
if mibBuilder.loadTexts: idsProbeReqFloodPeriod.setDescription('Time period for probe request flood detection (in seconds, must be an increment of 10)')
idsAuthFloodMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("manual", 1), ("auto", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsAuthFloodMode.setStatus('current')
if mibBuilder.loadTexts: idsAuthFloodMode.setDescription('Authentication flood detection mode')
idsAuthFloodThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsAuthFloodThreshold.setStatus('current')
if mibBuilder.loadTexts: idsAuthFloodThreshold.setDescription('Number of packets received in a period of time to trigger authentication flood detection')
idsAuthFloodPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsAuthFloodPeriod.setStatus('current')
if mibBuilder.loadTexts: idsAuthFloodPeriod.setDescription('Time period for authentication flood detection (in seconds, must be an increment of 10)')
idsAssocFloodMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("manual", 1), ("auto", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsAssocFloodMode.setStatus('current')
if mibBuilder.loadTexts: idsAssocFloodMode.setDescription('Association flood detection mode')
idsAssocFloodThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsAssocFloodThreshold.setStatus('current')
if mibBuilder.loadTexts: idsAssocFloodThreshold.setDescription('Number of packets received in a period of time to trigger association flood detection')
idsAssocFloodPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsAssocFloodPeriod.setStatus('current')
if mibBuilder.loadTexts: idsAssocFloodPeriod.setDescription('Time period for association flood detection (in seconds, must be an increment of 10)')
idsDisassocFloodMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("manual", 1), ("auto", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDisassocFloodMode.setStatus('current')
if mibBuilder.loadTexts: idsDisassocFloodMode.setDescription('Disassociation flood detection mode')
idsDisassocFloodThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDisassocFloodThreshold.setStatus('current')
if mibBuilder.loadTexts: idsDisassocFloodThreshold.setDescription('Number of packets received in a period of time to trigger disassociation flood detection')
idsDisassocFloodPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDisassocFloodPeriod.setStatus('current')
if mibBuilder.loadTexts: idsDisassocFloodPeriod.setDescription('Time period for disassociation flood detection (in seconds, must be an increment of 10)')
idsDeauthFloodMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("manual", 1), ("auto", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDeauthFloodMode.setStatus('current')
if mibBuilder.loadTexts: idsDeauthFloodMode.setDescription('Deauthentication flood detection mode')
idsDeauthFloodThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDeauthFloodThreshold.setStatus('current')
if mibBuilder.loadTexts: idsDeauthFloodThreshold.setDescription('Number of packets received in a period of time to trigger deauthentication flood detection')
idsDeauthFloodPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDeauthFloodPeriod.setStatus('current')
if mibBuilder.loadTexts: idsDeauthFloodPeriod.setDescription('Time period for deauthentication flood detection (in seconds, must be an increment of 10)')
idsEAPFloodMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("manual", 1), ("auto", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsEAPFloodMode.setStatus('current')
if mibBuilder.loadTexts: idsEAPFloodMode.setDescription('EAP flood detection mode')
idsEAPFloodThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsEAPFloodThreshold.setStatus('current')
if mibBuilder.loadTexts: idsEAPFloodThreshold.setDescription('Number of packets received in a period of time to trigger EAP flood detection')
idsEAPFloodPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsEAPFloodPeriod.setStatus('current')
if mibBuilder.loadTexts: idsEAPFloodPeriod.setDescription('Time period for EAP flood detection (in seconds, must be an increment of 10)')
idsNullProbeRespEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsNullProbeRespEnable.setStatus('current')
if mibBuilder.loadTexts: idsNullProbeRespEnable.setDescription('Enable/disable null probe response detection')
idsNullProbeRespThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsNullProbeRespThreshold.setStatus('current')
if mibBuilder.loadTexts: idsNullProbeRespThreshold.setDescription('Number of packets received in a period of time to trigger null probe response detection')
idsNullProbeRespPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsNullProbeRespPeriod.setStatus('current')
if mibBuilder.loadTexts: idsNullProbeRespPeriod.setDescription('Time period for null probe response detection (in seconds, must be an increment of 10)')
idsMICErrorAttackEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsMICErrorAttackEnable.setStatus('current')
if mibBuilder.loadTexts: idsMICErrorAttackEnable.setDescription('Enable/disable MIC error attack detection')
idsMICErrorAttackThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsMICErrorAttackThreshold.setStatus('current')
if mibBuilder.loadTexts: idsMICErrorAttackThreshold.setDescription('Number of errors captured in a period of time to trigger MIC error attack detection')
idsMICErrorAttackPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsMICErrorAttackPeriod.setStatus('current')
if mibBuilder.loadTexts: idsMICErrorAttackPeriod.setDescription('Time period for MIC error attack detection (in seconds, must be an increment of 10)')
idsDisassocAttackEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDisassocAttackEnable.setStatus('current')
if mibBuilder.loadTexts: idsDisassocAttackEnable.setDescription('Enable/disable disassociation attack detection')
idsDisassocAttackThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDisassocAttackThreshold.setStatus('current')
if mibBuilder.loadTexts: idsDisassocAttackThreshold.setDescription('Number of spoofed packets captured in a period of time to trigger disassociation attack detection')
idsDisassocAttackPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDisassocAttackPeriod.setStatus('current')
if mibBuilder.loadTexts: idsDisassocAttackPeriod.setDescription('Time period for disassociation attack detection (in seconds, must be an increment of 10)')
idsDeauthAttackEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDeauthAttackEnable.setStatus('current')
if mibBuilder.loadTexts: idsDeauthAttackEnable.setDescription('Enable/disable deauthentication attack detection')
idsDeauthAttackThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDeauthAttackThreshold.setStatus('current')
if mibBuilder.loadTexts: idsDeauthAttackThreshold.setDescription('Number of spoofed packets captured in a period of time to trigger deauthentication attack detection')
idsDeauthAttackPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 33), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDeauthAttackPeriod.setStatus('current')
if mibBuilder.loadTexts: idsDeauthAttackPeriod.setDescription('Time period for deauthentication attack detection (in seconds, must be an increment of 10)')
idsDurationAttackEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDurationAttackEnable.setStatus('current')
if mibBuilder.loadTexts: idsDurationAttackEnable.setDescription('Enable/disable duration attack detection')
idsDurationAttackThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDurationAttackThreshold.setStatus('current')
if mibBuilder.loadTexts: idsDurationAttackThreshold.setDescription('Number of bad NAV occurrences in a period of time to trigger duration attack detection')
idsDurationAttackPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 36), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDurationAttackPeriod.setStatus('current')
if mibBuilder.loadTexts: idsDurationAttackPeriod.setDescription('Time period for duration attack detection (in seconds)')
idsDurationAttackNAV = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 2, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32767))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsDurationAttackNAV.setStatus('current')
if mibBuilder.loadTexts: idsDurationAttackNAV.setDescription('NAV value to trigger duration attack detection')
idsAPImpersonationEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsAPImpersonationEnable.setStatus('current')
if mibBuilder.loadTexts: idsAPImpersonationEnable.setDescription('Enable/disable AP impersonation detection')
idsAPImpersonationThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsAPImpersonationThreshold.setStatus('current')
if mibBuilder.loadTexts: idsAPImpersonationThreshold.setDescription('Number of spoofed packets captured in a period of time to trigger AP impersonation detection')
idsAPImpersonationPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 3, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsAPImpersonationPeriod.setStatus('current')
if mibBuilder.loadTexts: idsAPImpersonationPeriod.setDescription('Time period for AP impersonation detection (in seconds, must be an increment of 10)')
idsStationImpersonationEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsStationImpersonationEnable.setStatus('current')
if mibBuilder.loadTexts: idsStationImpersonationEnable.setDescription('Enable/disable station impersonation detection')
idsStationImpersonationThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 3, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsStationImpersonationThreshold.setStatus('current')
if mibBuilder.loadTexts: idsStationImpersonationThreshold.setDescription('Number of events detected in a period of time to trigger station impersonation detection')
idsStationImpersonationPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 3, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsStationImpersonationPeriod.setStatus('current')
if mibBuilder.loadTexts: idsStationImpersonationPeriod.setDescription('Time period for station impersonation detection (in seconds)')
idsSeqNumAnomalyMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 3, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("mgmt", 1), ("data", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsSeqNumAnomalyMode.setStatus('current')
if mibBuilder.loadTexts: idsSeqNumAnomalyMode.setDescription('Packet sequence number anomaly detection mode')
idsEvilTwinAttackEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 3, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsEvilTwinAttackEnable.setStatus('current')
if mibBuilder.loadTexts: idsEvilTwinAttackEnable.setDescription('Enable/disable evil twin attack detection')
idsSeqNumAnomalyGap = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 3, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 1000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsSeqNumAnomalyGap.setStatus('current')
if mibBuilder.loadTexts: idsSeqNumAnomalyGap.setDescription('Sequence number gap considered as a normal sequence number change')
idsEventTablePeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 33, 4), Counter32().subtype(subtypeSpec=ValueRangeConstraint(0, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: idsEventTablePeriod.setStatus('current')
if mibBuilder.loadTexts: idsEventTablePeriod.setDescription('Specify period for IDS event table entries (in seconds, 0 - all table entries)')
rfMonitorMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 40, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("dedicated", 1), ("timeshare", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfMonitorMode.setStatus('current')
if mibBuilder.loadTexts: rfMonitorMode.setDescription('Set RF monitor mode')
rfMonitorTimeshareScanInterval = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 40, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(6, 600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfMonitorTimeshareScanInterval.setStatus('current')
if mibBuilder.loadTexts: rfMonitorTimeshareScanInterval.setDescription('Set RF monitor timeshare scanning interval (seconds between off channel scans)')
rfMonitorTimeshareStationThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 40, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 240))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfMonitorTimeshareStationThreshold.setStatus('current')
if mibBuilder.loadTexts: rfMonitorTimeshareStationThreshold.setDescription('Set RF monitor timeshare station threshold (station count above which scanning stops)')
rfMonitorTimeshareTrafficThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 2, 40, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 50000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rfMonitorTimeshareTrafficThreshold.setStatus('current')
if mibBuilder.loadTexts: rfMonitorTimeshareTrafficThreshold.setDescription('Set RF monitor timeshare traffic threshold (packets/second above which scanning stops)')
global11aIAPEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("all-down", 0), ("all-up", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPEnable.setStatus('current')
if mibBuilder.loadTexts: global11aIAPEnable.setDescription('Bring all IAPs up or down')
global11aIAPCellSize = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("none", 0), ("small", 1), ("medium", 2), ("large", 3), ("max", 4), ("auto", 5), ("monitor", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPCellSize.setStatus('current')
if mibBuilder.loadTexts: global11aIAPCellSize.setDescription('Set up RF cell size base on Tx pwr and Rx Threshold')
global11aIAPTxPwr = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-15, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPTxPwr.setStatus('current')
if mibBuilder.loadTexts: global11aIAPTxPwr.setDescription('Maximum Tx power output from any radio')
global11aIAPRxThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-100, 0))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPRxThreshold.setStatus('current')
if mibBuilder.loadTexts: global11aIAPRxThreshold.setDescription('Rx (deferred) threshold setting')
global11aIAPAutoChannelEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("negotiate", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPAutoChannelEnable.setStatus('current')
if mibBuilder.loadTexts: global11aIAPAutoChannelEnable.setDescription('Set to 1 to enable auto channel configuration, 2 to negotiate airtime with other arrays before enabling auto channel configuration')
global11aIAPFragThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(256, 2346))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPFragThreshold.setStatus('current')
if mibBuilder.loadTexts: global11aIAPFragThreshold.setDescription('Fragmentation threshold')
global11aIAPRTSThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2347))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPRTSThreshold.setStatus('current')
if mibBuilder.loadTexts: global11aIAPRTSThreshold.setDescription('RTS threshold')
rates11a = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 8))
global11aIAPAutoCellEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPAutoCellEnable.setStatus('current')
if mibBuilder.loadTexts: global11aIAPAutoCellEnable.setDescription('Enable auto cell size configuration')
autoChannelList11a = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 10))
global11aIAPChannelReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPChannelReset.setStatus('current')
if mibBuilder.loadTexts: global11aIAPChannelReset.setDescription('Reset all 5GHz channels back to factory defaults')
global11aIAPAutoCellOverlap = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPAutoCellOverlap.setStatus('current')
if mibBuilder.loadTexts: global11aIAPAutoCellOverlap.setDescription('Set auto cell size overlap (in percents)')
global11aIAPAutoCellPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPAutoCellPeriod.setStatus('current')
if mibBuilder.loadTexts: global11aIAPAutoCellPeriod.setDescription('Set period to run auto cell size assignment (in seconds from 60 to 3000000, 0 - none)')
global11aIAPAutoCellMinTxPwr = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-15, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPAutoCellMinTxPwr.setStatus('current')
if mibBuilder.loadTexts: global11aIAPAutoCellMinTxPwr.setDescription('Set auto cell size minimum Tx power')
global11aIAPMaxStations = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3840))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPMaxStations.setStatus('current')
if mibBuilder.loadTexts: global11aIAPMaxStations.setDescription('Maximum number of associated stations per array')
global11aIAPMaxIapStations = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 240))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11aIAPMaxIapStations.setStatus('current')
if mibBuilder.loadTexts: global11aIAPMaxIapStations.setDescription('Maximum number of associated stations per IAP')
rates11aSet = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("default", 1), ("optimize-range", 2), ("optimize-throughput", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rates11aSet.setStatus('current')
if mibBuilder.loadTexts: rates11aSet.setDescription('Set rates to a pre-defined set')
rates11aTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 8, 2), )
if mibBuilder.loadTexts: rates11aTable.setStatus('current')
if mibBuilder.loadTexts: rates11aTable.setDescription('802.11a Rates for the Array')
rates11aEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 8, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "rates11aIndex"))
if mibBuilder.loadTexts: rates11aEntry.setStatus('current')
if mibBuilder.loadTexts: rates11aEntry.setDescription('Rates table entry')
rates11aIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 8, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: rates11aIndex.setStatus('current')
if mibBuilder.loadTexts: rates11aIndex.setDescription('Rates table index')
rates11aRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 8, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rates11aRate.setStatus('current')
if mibBuilder.loadTexts: rates11aRate.setDescription('802.11a rate')
rates11aStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 8, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("basic", 1), ("supported", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rates11aStatus.setStatus('current')
if mibBuilder.loadTexts: rates11aStatus.setDescription('802.11a rate status')
autoChannelList11aSet = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 10, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("use-all", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: autoChannelList11aSet.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11aSet.setDescription('Set channel list to defaults or all available channels')
autoChannelList11aTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 10, 2), )
if mibBuilder.loadTexts: autoChannelList11aTable.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11aTable.setDescription('802.11a auto channel list')
autoChannelList11aEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 10, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "autoChannelList11aIndex"))
if mibBuilder.loadTexts: autoChannelList11aEntry.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11aEntry.setDescription('Auto channel list entry')
autoChannelList11aIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 10, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: autoChannelList11aIndex.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11aIndex.setDescription('Auto channel list index')
autoChannelList11aChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 10, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: autoChannelList11aChannel.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11aChannel.setDescription('Channel number')
autoChannelList11aStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 3, 10, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: autoChannelList11aStatus.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11aStatus.setDescription('Channel status')
global11bgIAPEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("all-down", 0), ("all-up", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPEnable.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPEnable.setDescription('Bring all IAPs up or down')
global11bgIAPCellSize = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("none", 0), ("small", 1), ("medium", 2), ("large", 3), ("max", 4), ("auto", 5), ("monitor", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPCellSize.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPCellSize.setDescription('Set up RF cell size base on Tx pwr and Rx Threshold')
global11bgIAPTxPwr = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-15, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPTxPwr.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPTxPwr.setDescription('Maximum Tx power output from any radio')
global11bgIAPRxThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-100, 0))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPRxThreshold.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPRxThreshold.setDescription('Rx (deferred) threshold setting')
global11bgIAPAutoChannelEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("negotiate", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPAutoChannelEnable.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPAutoChannelEnable.setDescription('Set to 1 to enable auto channel configuration, 2 to negotiate airtime with other arrays before enabling auto channel configuration')
global11bgIAPFragThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(256, 2346))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPFragThreshold.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPFragThreshold.setDescription('Fragmentation threshold')
global11bgIAPRTSThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2347))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPRTSThreshold.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPRTSThreshold.setDescription('RTS threshold')
global11bgIAPgOnly = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPgOnly.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPgOnly.setDescription('Enable/disable 802.11g only mode')
global11bgIAPgProtect = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("auto-cts", 1), ("auto-rts", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPgProtect.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPgProtect.setDescription('Enable/disable automatic 802.11g protection')
global11bgIAPPreamble = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("long-only", 0), ("auto-length", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPPreamble.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPPreamble.setDescription('Set preamble')
global11bgIAPSlotTime = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("auto-time", 0), ("short-only", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPSlotTime.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPSlotTime.setDescription('Set slot time')
rates11bg = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 12))
global11bgIAPAutoCellEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPAutoCellEnable.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPAutoCellEnable.setDescription('Enable auto cell size configuration')
autoChannelList11bg = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 14))
global11bgIAPChannelReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPChannelReset.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPChannelReset.setDescription('Reset all 2.4GHz channels back to factory defaults')
global11bgIAPAutoCellOverlap = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPAutoCellOverlap.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPAutoCellOverlap.setDescription('Set auto cell size overlap (in percents)')
global11bgIAPAutoCellPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPAutoCellPeriod.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPAutoCellPeriod.setDescription('Set period to run auto cell size assignment (in seconds from 60 to 3000000, 0 - none)')
global11bgIAPAutoCellMinTxPwr = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-15, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPAutoCellMinTxPwr.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPAutoCellMinTxPwr.setDescription('Set auto cell size minimum Tx power')
global11bgIAPMaxStations = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3840))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPMaxStations.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPMaxStations.setDescription('Maximum number of associated stations per array')
global11bgIAPMaxIapStations = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 240))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11bgIAPMaxIapStations.setStatus('current')
if mibBuilder.loadTexts: global11bgIAPMaxIapStations.setDescription('Maximum number of associated stations per IAP')
rates11bgSet = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 12, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("default", 1), ("optimize-range", 2), ("optimize-throughput", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rates11bgSet.setStatus('current')
if mibBuilder.loadTexts: rates11bgSet.setDescription('Set rates to a pre-defined set')
rates11bgTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 12, 2), )
if mibBuilder.loadTexts: rates11bgTable.setStatus('current')
if mibBuilder.loadTexts: rates11bgTable.setDescription('802.11bg Rates for the Array')
rates11bgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 12, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "rates11bgIndex"))
if mibBuilder.loadTexts: rates11bgEntry.setStatus('current')
if mibBuilder.loadTexts: rates11bgEntry.setDescription('Rates table entry')
rates11bgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 12, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: rates11bgIndex.setStatus('current')
if mibBuilder.loadTexts: rates11bgIndex.setDescription('Rates table index')
rates11bgRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 12, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rates11bgRate.setStatus('current')
if mibBuilder.loadTexts: rates11bgRate.setDescription('802.11bg rate')
rates11bgStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 12, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("basic", 1), ("supported", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rates11bgStatus.setStatus('current')
if mibBuilder.loadTexts: rates11bgStatus.setDescription('802.11bg rate status')
autoChannelList11bgSet = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 14, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("use-all", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: autoChannelList11bgSet.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11bgSet.setDescription('Set channel list to defaults or all available channels')
autoChannelList11bgTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 14, 2), )
if mibBuilder.loadTexts: autoChannelList11bgTable.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11bgTable.setDescription('802.11bg auto channel list')
autoChannelList11bgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 14, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "autoChannelList11bgIndex"))
if mibBuilder.loadTexts: autoChannelList11bgEntry.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11bgEntry.setDescription('Auto channel list entry')
autoChannelList11bgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 14, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: autoChannelList11bgIndex.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11bgIndex.setDescription('Auto channel list index')
autoChannelList11bgChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 14, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: autoChannelList11bgChannel.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11bgChannel.setDescription('Channel number')
autoChannelList11bgStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 4, 14, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: autoChannelList11bgStatus.setStatus('current')
if mibBuilder.loadTexts: autoChannelList11bgStatus.setDescription('Channel status')
wdsAutoChannel = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsAutoChannel.setStatus('current')
if mibBuilder.loadTexts: wdsAutoChannel.setDescription('Automatically assign IAPs and channels for WDS client links')
wdsClientLinkTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsClientLinkTableReset.setStatus('current')
if mibBuilder.loadTexts: wdsClientLinkTableReset.setDescription('Reset all WDS client links to off')
wdsClientLinkTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 3), )
if mibBuilder.loadTexts: wdsClientLinkTable.setStatus('current')
if mibBuilder.loadTexts: wdsClientLinkTable.setDescription('Table of WDS client links')
wdsClientLinkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 3, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "wdsClientLinkIndex"))
if mibBuilder.loadTexts: wdsClientLinkEntry.setStatus('current')
if mibBuilder.loadTexts: wdsClientLinkEntry.setDescription('WDS client link table entry')
wdsClientLinkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 3, 1, 1), Integer32())
if mibBuilder.loadTexts: wdsClientLinkIndex.setStatus('current')
if mibBuilder.loadTexts: wdsClientLinkIndex.setDescription('WDS client link table index')
wdsClientLinkEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsClientLinkEnable.setStatus('current')
if mibBuilder.loadTexts: wdsClientLinkEnable.setDescription('Enable/disable WDS client link')
wdsClientLinkMaxIAPs = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsClientLinkMaxIAPs.setStatus('current')
if mibBuilder.loadTexts: wdsClientLinkMaxIAPs.setDescription('Maximum number of IAPs for WDS client link during auto channel')
wdsClientLinkTarget = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(12, 17))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsClientLinkTarget.setStatus('current')
if mibBuilder.loadTexts: wdsClientLinkTarget.setDescription('Base IAP MAC address of target array for WDS client link')
wdsClientLinkSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 3, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsClientLinkSSID.setStatus('current')
if mibBuilder.loadTexts: wdsClientLinkSSID.setDescription('SSID to use for association to target array')
wdsClientLinkUsername = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 3, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsClientLinkUsername.setStatus('current')
if mibBuilder.loadTexts: wdsClientLinkUsername.setDescription('Username to use for association to target array')
wdsClientLinkPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 3, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsClientLinkPassword.setStatus('current')
if mibBuilder.loadTexts: wdsClientLinkPassword.setDescription('Password to use for association to target array')
wdsClientLinkPasswordForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsClientLinkPasswordForm.setStatus('current')
if mibBuilder.loadTexts: wdsClientLinkPasswordForm.setDescription('Password form')
wdsHostLinkTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 4), )
if mibBuilder.loadTexts: wdsHostLinkTable.setStatus('current')
if mibBuilder.loadTexts: wdsHostLinkTable.setDescription('Table of WDS host links')
wdsHostLinkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 4, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "wdsHostLinkIndex"))
if mibBuilder.loadTexts: wdsHostLinkEntry.setStatus('current')
if mibBuilder.loadTexts: wdsHostLinkEntry.setDescription('WDS host link table entry')
wdsHostLinkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 4, 1, 1), Integer32())
if mibBuilder.loadTexts: wdsHostLinkIndex.setStatus('current')
if mibBuilder.loadTexts: wdsHostLinkIndex.setDescription('WDS host link table index')
wdsHostLinkState = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsHostLinkState.setStatus('current')
if mibBuilder.loadTexts: wdsHostLinkState.setDescription('WDS host link state')
wdsHostLinkNumIAPs = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 4, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsHostLinkNumIAPs.setStatus('current')
if mibBuilder.loadTexts: wdsHostLinkNumIAPs.setDescription('Number of IAPs for WDS host link')
wdsHostLinkSource = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 4, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsHostLinkSource.setStatus('current')
if mibBuilder.loadTexts: wdsHostLinkSource.setDescription('Base IAP MAC address of source array for WDS host link')
wdsHostLinkSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 4, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsHostLinkSSID.setStatus('current')
if mibBuilder.loadTexts: wdsHostLinkSSID.setDescription('WDS host link SSID')
wdsAllowStations = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsAllowStations.setStatus('current')
if mibBuilder.loadTexts: wdsAllowStations.setDescription('Enable/disable stations on WDS host links')
wdsStpEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsStpEnable.setStatus('current')
if mibBuilder.loadTexts: wdsStpEnable.setDescription('Enable/disable Spanning Tree Protocol on WDS links')
wdsRoamThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsRoamThreshold.setStatus('current')
if mibBuilder.loadTexts: wdsRoamThreshold.setDescription('Minimum RSSI difference (in dB) required to trigger a roam')
wdsRoamAvgWeight = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 5, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 99))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wdsRoamAvgWeight.setStatus('current')
if mibBuilder.loadTexts: wdsRoamAvgWeight.setDescription('RSSI averaging weight for roaming (0 = no averaging)')
global11nEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11nEnable.setStatus('current')
if mibBuilder.loadTexts: global11nEnable.setDescription('Enable or disable 802.11n MIMO operation')
global11nTxChains = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11nTxChains.setStatus('current')
if mibBuilder.loadTexts: global11nTxChains.setDescription('Set number of TX chains used for 802.11n operation')
global11nRxChains = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11nRxChains.setStatus('current')
if mibBuilder.loadTexts: global11nRxChains.setDescription('Set number of RX chains used for 802.11n operation')
global11nGuardInterval = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("long", 0), ("short", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11nGuardInterval.setStatus('current')
if mibBuilder.loadTexts: global11nGuardInterval.setDescription('Set 802.11n guard interval')
global11nAutoBond = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11nAutoBond.setStatus('current')
if mibBuilder.loadTexts: global11nAutoBond.setDescription('Enable or disable 802.11n 5GHz automatic channel bonding')
global11nBondedChannelWidth5GHz = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("dynamic", 0), ("static", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11nBondedChannelWidth5GHz.setStatus('current')
if mibBuilder.loadTexts: global11nBondedChannelWidth5GHz.setDescription('Set 5GHz band 802.11n bonded channel width')
global11nBondedChannelWidth2GHz = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("dynamic", 0), ("static", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11nBondedChannelWidth2GHz.setStatus('current')
if mibBuilder.loadTexts: global11nBondedChannelWidth2GHz.setDescription('Set 2.4GHz band 802.11n bonded channel width')
rates11n = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 8))
rates11nSet = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("default", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rates11nSet.setStatus('current')
if mibBuilder.loadTexts: rates11nSet.setDescription('Set 802.11n rates to a pre-defined set')
rates11nTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 8, 2), )
if mibBuilder.loadTexts: rates11nTable.setStatus('current')
if mibBuilder.loadTexts: rates11nTable.setDescription('Set 802.11n rates')
rates11nEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 8, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "rates11nMCSIndex"))
if mibBuilder.loadTexts: rates11nEntry.setStatus('current')
if mibBuilder.loadTexts: rates11nEntry.setDescription('Rates table entry')
rates11nMCSIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 8, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: rates11nMCSIndex.setStatus('current')
if mibBuilder.loadTexts: rates11nMCSIndex.setDescription('Modulation & coding scheme (MCS) index')
rates11nMCSStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 6, 8, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("basic", 1), ("supported", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: rates11nMCSStatus.setStatus('current')
if mibBuilder.loadTexts: rates11nMCSStatus.setDescription('Set status for MCS index')
iapSsidToBssidMappingTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 7), )
if mibBuilder.loadTexts: iapSsidToBssidMappingTable.setStatus('current')
if mibBuilder.loadTexts: iapSsidToBssidMappingTable.setDescription('SSID to BSSID mapping table')
iapSsidToBssidMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 7, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "iapSsidToBssidMappingIndex"))
if mibBuilder.loadTexts: iapSsidToBssidMappingEntry.setStatus('current')
if mibBuilder.loadTexts: iapSsidToBssidMappingEntry.setDescription('SSID to BSSID mapping table entry')
iapSsidToBssidMappingIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 7, 1, 1), Integer32())
if mibBuilder.loadTexts: iapSsidToBssidMappingIndex.setStatus('current')
if mibBuilder.loadTexts: iapSsidToBssidMappingIndex.setDescription('SSID to BSSID mapping table index')
iapSsidToBssidMappingIAP = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 7, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapSsidToBssidMappingIAP.setStatus('current')
if mibBuilder.loadTexts: iapSsidToBssidMappingIAP.setDescription('IAP name')
iapSsidToBssidMappingSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 7, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapSsidToBssidMappingSSID.setStatus('current')
if mibBuilder.loadTexts: iapSsidToBssidMappingSSID.setDescription('SSID name')
iapSsidToBssidMappingBSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 7, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapSsidToBssidMappingBSSID.setStatus('current')
if mibBuilder.loadTexts: iapSsidToBssidMappingBSSID.setDescription('BSSID for IAP/SSID specified')
global11acEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11acEnable.setStatus('current')
if mibBuilder.loadTexts: global11acEnable.setDescription('Enable or disable 802.11ac MIMO operation')
global11acGuardInterval = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 8, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("long", 0), ("short", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11acGuardInterval.setStatus('current')
if mibBuilder.loadTexts: global11acGuardInterval.setDescription('Set 802.11ac guard interval')
global11acMaxMCS1SS = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 8, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("mcs7", 0), ("mcs8", 1), ("mcs9", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11acMaxMCS1SS.setStatus('current')
if mibBuilder.loadTexts: global11acMaxMCS1SS.setDescription('Set max MCS for 1 spatial stream for 802.11ac operation')
global11acMaxMCS2SS = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 8, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("mcs7", 0), ("mcs8", 1), ("mcs9", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11acMaxMCS2SS.setStatus('current')
if mibBuilder.loadTexts: global11acMaxMCS2SS.setDescription('Set max MCS for 2 spatial streams for 802.11ac operation')
global11acMaxMCS3SS = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 1, 8, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("mcs7", 0), ("mcs8", 1), ("mcs9", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: global11acMaxMCS3SS.setStatus('current')
if mibBuilder.loadTexts: global11acMaxMCS3SS.setDescription('Set max MCS for 3 spatial streams for 802.11ac operation')
ethTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1), )
if mibBuilder.loadTexts: ethTable.setStatus('current')
if mibBuilder.loadTexts: ethTable.setDescription('Table of ethernet interfaces')
ethEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "ethIndex"))
if mibBuilder.loadTexts: ethEntry.setStatus('current')
if mibBuilder.loadTexts: ethEntry.setDescription('Ethernet table entry')
ethIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: ethIndex.setStatus('current')
if mibBuilder.loadTexts: ethIndex.setDescription('Ethernet table index')
ethName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethName.setStatus('current')
if mibBuilder.loadTexts: ethName.setDescription('Ethernet interface name')
ethEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("down", 0), ("up", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethEnable.setStatus('current')
if mibBuilder.loadTexts: ethEnable.setDescription('Enable or disable this interface')
ethDHCPBind = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethDHCPBind.setStatus('current')
if mibBuilder.loadTexts: ethDHCPBind.setDescription('Use DHCP')
ethIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 5), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethIPAddress.setStatus('current')
if mibBuilder.loadTexts: ethIPAddress.setDescription('IP address')
ethIPMask = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 6), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethIPMask.setStatus('current')
if mibBuilder.loadTexts: ethIPMask.setDescription('IP Mask')
ethGateway = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 7), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethGateway.setStatus('current')
if mibBuilder.loadTexts: ethGateway.setDescription('Gateway IP address')
ethAutoneg = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethAutoneg.setStatus('current')
if mibBuilder.loadTexts: ethAutoneg.setDescription('Enable/disable autonegotiation')
ethDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("half", 0), ("full", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethDuplex.setStatus('current')
if mibBuilder.loadTexts: ethDuplex.setDescription('Duplex settings')
ethSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("speed-10Mbps", 1), ("speed-100Mbps", 2), ("speed-1000Mbps", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethSpeed.setStatus('current')
if mibBuilder.loadTexts: ethSpeed.setDescription('Speed settings: 10 and 100 for fast eth, 100 and 1000 for gig eth')
ethMTU = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(64, 1732))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethMTU.setStatus('current')
if mibBuilder.loadTexts: ethMTU.setDescription('MTU size')
ethMgmt = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethMgmt.setStatus('current')
if mibBuilder.loadTexts: ethMgmt.setDescription('Enable/disable management (gig eth only)')
ethDefault = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethDefault.setStatus('current')
if mibBuilder.loadTexts: ethDefault.setDescription('Reset to default values')
ethPortMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("link-backup", 0), ("load-balance", 3), ("bridge", 4), ("ieee802dot3ad", 5), ("broadcast", 6), ("mirror", 7)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethPortMode.setStatus('current')
if mibBuilder.loadTexts: ethPortMode.setDescription('Select the configuration of the gig eth ports')
ethBond = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethBond.setStatus('current')
if mibBuilder.loadTexts: ethBond.setDescription('Specify bond for this gig eth port')
ethLED = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ethLED.setStatus('current')
if mibBuilder.loadTexts: ethLED.setDescription('Enable/disable LED operation')
bondTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 2), )
if mibBuilder.loadTexts: bondTable.setStatus('current')
if mibBuilder.loadTexts: bondTable.setDescription('Table of bond interfaces')
bondEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "bondIndex"))
if mibBuilder.loadTexts: bondEntry.setStatus('current')
if mibBuilder.loadTexts: bondEntry.setDescription('Bond table entry')
bondIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: bondIndex.setStatus('current')
if mibBuilder.loadTexts: bondIndex.setDescription('Bond table index')
bondName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bondName.setStatus('current')
if mibBuilder.loadTexts: bondName.setDescription('Bond name')
bondMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 3, 5, 6))).clone(namedValues=NamedValues(("link-backup", 0), ("load-balance", 3), ("ieee802dot3ad", 5), ("broadcast", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: bondMode.setStatus('current')
if mibBuilder.loadTexts: bondMode.setDescription('Bond mode')
bondMirror = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: bondMirror.setStatus('current')
if mibBuilder.loadTexts: bondMirror.setDescription('Specify mirror bond to mirror traffic')
bondActiveVlans = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 2, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 160))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: bondActiveVlans.setStatus('current')
if mibBuilder.loadTexts: bondActiveVlans.setDescription('Specify VLANs active on bond')
consoleBaud = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(300, 115200))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleBaud.setStatus('current')
if mibBuilder.loadTexts: consoleBaud.setDescription('Baud rate')
consoleByteSize = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(7, 8))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleByteSize.setStatus('current')
if mibBuilder.loadTexts: consoleByteSize.setDescription('Byte/word size in bits')
consoleParity = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("odd", 1), ("even", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleParity.setStatus('current')
if mibBuilder.loadTexts: consoleParity.setDescription('Number of parity bits')
consoleStopBits = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 3, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleStopBits.setStatus('current')
if mibBuilder.loadTexts: consoleStopBits.setDescription('Number of stop bits')
consoleTimeout = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 3, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 100000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleTimeout.setStatus('current')
if mibBuilder.loadTexts: consoleTimeout.setDescription('Inactivity timeout')
consoleMgmt = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 12, 3, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: consoleMgmt.setStatus('current')
if mibBuilder.loadTexts: consoleMgmt.setDescription('Enable or disable management')
neighborArrayTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1), )
if mibBuilder.loadTexts: neighborArrayTable.setStatus('current')
if mibBuilder.loadTexts: neighborArrayTable.setDescription('Table of neighbor arrays seen by our array')
neighborArrayEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "neighborArrayIndex"))
if mibBuilder.loadTexts: neighborArrayEntry.setStatus('current')
if mibBuilder.loadTexts: neighborArrayEntry.setDescription('Table entry for neighbor array')
neighborArrayIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: neighborArrayIndex.setStatus('current')
if mibBuilder.loadTexts: neighborArrayIndex.setDescription('Neighbor array index')
neighborArrayHostname = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: neighborArrayHostname.setStatus('current')
if mibBuilder.loadTexts: neighborArrayHostname.setDescription('Hostname of the neighbor array')
neighborArrayLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: neighborArrayLocation.setStatus('current')
if mibBuilder.loadTexts: neighborArrayLocation.setDescription('Location of the neighbor array')
neighborArrayIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: neighborArrayIPAddress.setStatus('current')
if mibBuilder.loadTexts: neighborArrayIPAddress.setDescription('IP Address of the neighbor array')
neighborArrayModel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("xs-3500", 1), ("xs-3700", 2), ("xs-3900", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: neighborArrayModel.setStatus('current')
if mibBuilder.loadTexts: neighborArrayModel.setDescription('Model of the neighbor array')
neighborArrayNumIAPsUp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: neighborArrayNumIAPsUp.setStatus('current')
if mibBuilder.loadTexts: neighborArrayNumIAPsUp.setDescription('Number of IAPs enabled on the neighbor array')
neighborArrayNumSSIDs = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: neighborArrayNumSSIDs.setStatus('current')
if mibBuilder.loadTexts: neighborArrayNumSSIDs.setDescription('Number of SSIDs defined on the neighbor array')
neighborArrayNumActiveSSIDs = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: neighborArrayNumActiveSSIDs.setStatus('current')
if mibBuilder.loadTexts: neighborArrayNumActiveSSIDs.setDescription('Number of active SSIDs on the neighbor array')
neighborArrayNumStationsAssoc = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: neighborArrayNumStationsAssoc.setStatus('current')
if mibBuilder.loadTexts: neighborArrayNumStationsAssoc.setDescription('Number of stations associated with the neighbor array')
neighborArrayInRange = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("not-in-range", 0), ("in-range", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: neighborArrayInRange.setStatus('current')
if mibBuilder.loadTexts: neighborArrayInRange.setDescription('Flag indicating whether neighbor array is in our range')
neighborArrayFastRoam = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("no-fast-roam", 0), ("fast-roam", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: neighborArrayFastRoam.setStatus('current')
if mibBuilder.loadTexts: neighborArrayFastRoam.setDescription('Flag indicating whether stations can fast roam between us and neighbor array')
neighborArrayUptime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 13, 1, 1, 12), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: neighborArrayUptime.setStatus('current')
if mibBuilder.loadTexts: neighborArrayUptime.setDescription('Uptime (in D:H:M) of the neighbor array')
radiusEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("external", 1), ("internal", 2), ("active-directory", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusEnable.setStatus('current')
if mibBuilder.loadTexts: radiusEnable.setDescription('Radius server enabled')
radiusServerExternal = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2))
radiusServerInternal = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 3))
radiusServerAD = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 4))
radiusPriServerIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 1), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusPriServerIPAddress.setStatus('current')
if mibBuilder.loadTexts: radiusPriServerIPAddress.setDescription('Primary Radius server IP address')
radiusPriServerPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusPriServerPort.setStatus('current')
if mibBuilder.loadTexts: radiusPriServerPort.setDescription('Primary Radius server port')
radiusPriServerSecret = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusPriServerSecret.setStatus('current')
if mibBuilder.loadTexts: radiusPriServerSecret.setDescription('Primary Radius server secret')
radiusSecServerIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 4), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusSecServerIPAddress.setStatus('current')
if mibBuilder.loadTexts: radiusSecServerIPAddress.setDescription('Secondary Radius server IP address')
radiusSecServerPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusSecServerPort.setStatus('current')
if mibBuilder.loadTexts: radiusSecServerPort.setDescription('Secondary Radius server port')
radiusSecServerSecret = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusSecServerSecret.setStatus('current')
if mibBuilder.loadTexts: radiusSecServerSecret.setDescription('Secondary Radius server secret')
radiusTimeout = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusTimeout.setStatus('current')
if mibBuilder.loadTexts: radiusTimeout.setDescription('Timeout until the primary server is retired _ given up on')
radiusAcctEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctEnable.setStatus('current')
if mibBuilder.loadTexts: radiusAcctEnable.setDescription('Enable or disable Radius Accounting')
radiusAcctPriServerIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 9), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctPriServerIPAddress.setStatus('current')
if mibBuilder.loadTexts: radiusAcctPriServerIPAddress.setDescription('Primary Radius Accounting server IP address')
radiusAcctPriServerPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctPriServerPort.setStatus('current')
if mibBuilder.loadTexts: radiusAcctPriServerPort.setDescription('Primary Radius Accounting server port')
radiusAcctPriServerSecret = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctPriServerSecret.setStatus('current')
if mibBuilder.loadTexts: radiusAcctPriServerSecret.setDescription('Primary Radius Accounting server secret')
radiusAcctSecServerIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 12), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctSecServerIPAddress.setStatus('current')
if mibBuilder.loadTexts: radiusAcctSecServerIPAddress.setDescription('Secondary Radius Accounting server IP address')
radiusAcctSecServerPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctSecServerPort.setStatus('current')
if mibBuilder.loadTexts: radiusAcctSecServerPort.setDescription('Secondary Radius Accounting server port')
radiusAcctSecServerSecret = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctSecServerSecret.setStatus('current')
if mibBuilder.loadTexts: radiusAcctSecServerSecret.setDescription('Secondary Radius Accounting server secret')
radiusAcctInterval = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctInterval.setStatus('current')
if mibBuilder.loadTexts: radiusAcctInterval.setDescription('Interim accounting update interval')
radiusNasIdentifier = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusNasIdentifier.setStatus('current')
if mibBuilder.loadTexts: radiusNasIdentifier.setDescription('Radius NAS Identifier')
radiusPriServerHostname = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusPriServerHostname.setStatus('current')
if mibBuilder.loadTexts: radiusPriServerHostname.setDescription('Primary Radius server hostname')
radiusSecServerHostname = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusSecServerHostname.setStatus('current')
if mibBuilder.loadTexts: radiusSecServerHostname.setDescription('Secondary Radius server hostname')
radiusAcctPriServerHostname = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 19), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctPriServerHostname.setStatus('current')
if mibBuilder.loadTexts: radiusAcctPriServerHostname.setDescription('Primary Radius Accounting server hostname')
radiusAcctSecServerHostname = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 20), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctSecServerHostname.setStatus('current')
if mibBuilder.loadTexts: radiusAcctSecServerHostname.setDescription('Secondary Radius Accounting server hostname')
radiusPriServerSecretEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 21), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusPriServerSecretEnc.setStatus('current')
if mibBuilder.loadTexts: radiusPriServerSecretEnc.setDescription('Primary Radius server secret (encrypted)')
radiusSecServerSecretEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 22), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusSecServerSecretEnc.setStatus('current')
if mibBuilder.loadTexts: radiusSecServerSecretEnc.setDescription('Secondary Radius server secret (encrypted)')
radiusAcctPriServerSecretEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 23), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctPriServerSecretEnc.setStatus('current')
if mibBuilder.loadTexts: radiusAcctPriServerSecretEnc.setDescription('Primary Radius Accounting server secret (encrypted)')
radiusAcctSecServerSecretEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 24), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusAcctSecServerSecretEnc.setStatus('current')
if mibBuilder.loadTexts: radiusAcctSecServerSecretEnc.setDescription('Secondary Radius Accounting server secret (encrypted)')
radiusDASPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusDASPort.setStatus('current')
if mibBuilder.loadTexts: radiusDASPort.setDescription('RADIUS Dynamic Authorization port')
radiusDASTimeWindow = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 10000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusDASTimeWindow.setStatus('current')
if mibBuilder.loadTexts: radiusDASTimeWindow.setDescription('RADIUS Dynamic Authorization time window (in seconds)')
radiusDASEventTimestamp = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("optional", 0), ("required", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusDASEventTimestamp.setStatus('current')
if mibBuilder.loadTexts: radiusDASEventTimestamp.setDescription('Specify whether Event-Timestamp attribute is required for RADIUS Dynamic Authorization replay protection')
radiusCalledStationIdFormat = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("bssid-ssid", 0), ("bssid", 1), ("ethernet-mac", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusCalledStationIdFormat.setStatus('current')
if mibBuilder.loadTexts: radiusCalledStationIdFormat.setDescription('Specify Called-Station-Id attribute format used in RADIUS packets')
radiusStationMACFormat = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 2, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("lower", 0), ("upper", 1), ("lower-hyphen", 2), ("upper-hyphen", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusStationMACFormat.setStatus('current')
if mibBuilder.loadTexts: radiusStationMACFormat.setDescription('Specify station MAC address format used in a User-Name attribute during RADIUS MAC authentication')
radiusUserTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 3, 1), )
if mibBuilder.loadTexts: radiusUserTable.setStatus('current')
if mibBuilder.loadTexts: radiusUserTable.setDescription('Table containing Radius User details')
radiusUserEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 3, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "radiusUserIndex"))
if mibBuilder.loadTexts: radiusUserEntry.setStatus('current')
if mibBuilder.loadTexts: radiusUserEntry.setDescription('Radius user table entry')
radiusUserIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 3, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: radiusUserIndex.setStatus('current')
if mibBuilder.loadTexts: radiusUserIndex.setDescription('Radius user table index')
radiusUserID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 3, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 50))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: radiusUserID.setStatus('current')
if mibBuilder.loadTexts: radiusUserID.setDescription('Radius user ID')
radiusUserPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 3, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 100))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: radiusUserPassword.setStatus('current')
if mibBuilder.loadTexts: radiusUserPassword.setDescription('Radius user password')
radiusUserSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 3, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: radiusUserSSID.setStatus('current')
if mibBuilder.loadTexts: radiusUserSSID.setDescription('Radius user SSID')
radiusUserRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 3, 1, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: radiusUserRowStatus.setStatus('current')
if mibBuilder.loadTexts: radiusUserRowStatus.setDescription('Status of the radius user table entry')
radiusUserGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 3, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: radiusUserGroup.setStatus('current')
if mibBuilder.loadTexts: radiusUserGroup.setDescription('Radius user group')
radiusUserPasswordForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: radiusUserPasswordForm.setStatus('current')
if mibBuilder.loadTexts: radiusUserPasswordForm.setDescription('Password form')
radiusUserTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: radiusUserTableReset.setStatus('current')
if mibBuilder.loadTexts: radiusUserTableReset.setDescription('Reset Radius user table (clear all entries)')
activeDirectoryUser = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 4, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: activeDirectoryUser.setStatus('current')
if mibBuilder.loadTexts: activeDirectoryUser.setDescription('Active Directory domain administrator user name')
activeDirectoryPassword = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 4, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: activeDirectoryPassword.setStatus('current')
if mibBuilder.loadTexts: activeDirectoryPassword.setDescription('Active Directory domain administrator password')
activeDirectoryDomainController = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 4, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: activeDirectoryDomainController.setStatus('current')
if mibBuilder.loadTexts: activeDirectoryDomainController.setDescription('Active Directory domain controller')
activeDirectoryWorkgroup = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 4, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: activeDirectoryWorkgroup.setStatus('current')
if mibBuilder.loadTexts: activeDirectoryWorkgroup.setDescription('Active Directory workgroup')
activeDirectoryRealm = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 4, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: activeDirectoryRealm.setStatus('current')
if mibBuilder.loadTexts: activeDirectoryRealm.setDescription('Active Directory realm')
activeDirectoryJoin = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 4, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("join", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: activeDirectoryJoin.setStatus('current')
if mibBuilder.loadTexts: activeDirectoryJoin.setDescription('Join Active Directory domain')
activeDirectoryLeave = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 14, 4, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("leave", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: activeDirectoryLeave.setStatus('current')
if mibBuilder.loadTexts: activeDirectoryLeave.setDescription('Leave Active Directory domain')
roamAssistEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 15, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: roamAssistEnable.setStatus('current')
if mibBuilder.loadTexts: roamAssistEnable.setDescription('Enable or disable roaming assist')
roamAssistPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 15, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 9999))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: roamAssistPeriod.setStatus('current')
if mibBuilder.loadTexts: roamAssistPeriod.setDescription('Roaming assist backoff period (in seconds)')
roamAssistThreshold = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 15, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-50, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: roamAssistThreshold.setStatus('current')
if mibBuilder.loadTexts: roamAssistThreshold.setDescription('Roaming RSSI threshold in db relative to nearest array RSSI')
roamAssistDataRate = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 15, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: roamAssistDataRate.setStatus('current')
if mibBuilder.loadTexts: roamAssistDataRate.setDescription('Minimum packet data rate before roaming (in Mbps)')
roamAssistDevices = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 15, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: roamAssistDevices.setStatus('current')
if mibBuilder.loadTexts: roamAssistDevices.setDescription('Device types or classes to assist')
wep = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 1))
wpa = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 2))
wepDefaultKeyID = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wepDefaultKeyID.setStatus('current')
if mibBuilder.loadTexts: wepDefaultKeyID.setDescription('Default encryption key id for WEP')
wepKeyTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 1, 2), )
if mibBuilder.loadTexts: wepKeyTable.setStatus('current')
if mibBuilder.loadTexts: wepKeyTable.setDescription('WEP encryption key table for the Array')
wepKeyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 1, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "wepKeyNum"))
if mibBuilder.loadTexts: wepKeyEntry.setStatus('current')
if mibBuilder.loadTexts: wepKeyEntry.setDescription('WEP key table entry')
wepKeyNum = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 1, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wepKeyNum.setStatus('current')
if mibBuilder.loadTexts: wepKeyNum.setDescription('WEP key number')
wepKeySize = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("wep40", 1), ("wep128", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wepKeySize.setStatus('current')
if mibBuilder.loadTexts: wepKeySize.setDescription('WEP key size - 40 or 128 bits')
wepKeyString = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 1, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 26))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wepKeyString.setStatus('current')
if mibBuilder.loadTexts: wepKeyString.setDescription('WEP encryption key')
wepKeyStringForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wepKeyStringForm.setStatus('current')
if mibBuilder.loadTexts: wepKeyStringForm.setDescription('Key string form')
wpaTKIP = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wpaTKIP.setStatus('current')
if mibBuilder.loadTexts: wpaTKIP.setDescription('TKIP enable or disable')
wpaAES = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wpaAES.setStatus('current')
if mibBuilder.loadTexts: wpaAES.setDescription('AES enable or disable')
wpaEAP = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wpaEAP.setStatus('current')
if mibBuilder.loadTexts: wpaEAP.setDescription('EAP enable or disable')
wpaPSK = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wpaPSK.setStatus('current')
if mibBuilder.loadTexts: wpaPSK.setDescription('PSK enable or disable')
wpaPassphrase = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 2, 5), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(8, 64), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wpaPassphrase.setStatus('current')
if mibBuilder.loadTexts: wpaPassphrase.setDescription('PSK ASCII passphrase or Hex key')
wpaRekey = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 2, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wpaRekey.setStatus('current')
if mibBuilder.loadTexts: wpaRekey.setDescription('Rekey every 100 to 1000000 seconds, 0 - never')
wpaPassphraseEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 16, 2, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(16, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wpaPassphraseEnc.setStatus('current')
if mibBuilder.loadTexts: wpaPassphraseEnc.setDescription('PSK ASCII passphrase or Hex key (encrypted)')
snmpAgentEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentEnable.setStatus('current')
if mibBuilder.loadTexts: snmpAgentEnable.setDescription('Enable or disable SNMPv2')
snmpAgentReadWriteCommunity = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentReadWriteCommunity.setStatus('current')
if mibBuilder.loadTexts: snmpAgentReadWriteCommunity.setDescription('SNMP read-write community string')
snmpAgentTrapHost = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentTrapHost.setStatus('current')
if mibBuilder.loadTexts: snmpAgentTrapHost.setDescription('SNMP trap IP address or host name')
snmpAgentTrapPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentTrapPort.setStatus('current')
if mibBuilder.loadTexts: snmpAgentTrapPort.setDescription('SNMP trap port')
snmpAgentTrapAuth = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentTrapAuth.setStatus('current')
if mibBuilder.loadTexts: snmpAgentTrapAuth.setDescription('Enable/disable traps for authentication failures')
snmpAgentReadOnlyCommunity = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentReadOnlyCommunity.setStatus('current')
if mibBuilder.loadTexts: snmpAgentReadOnlyCommunity.setDescription('SNMP read-only community string')
snmpAgentTrapHost2 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentTrapHost2.setStatus('current')
if mibBuilder.loadTexts: snmpAgentTrapHost2.setDescription('SNMP trap IP address or host name (host 2)')
snmpAgentTrapPort2 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentTrapPort2.setStatus('current')
if mibBuilder.loadTexts: snmpAgentTrapPort2.setDescription('SNMP trap port (host 2)')
snmpAgentTrapHost3 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentTrapHost3.setStatus('current')
if mibBuilder.loadTexts: snmpAgentTrapHost3.setDescription('SNMP trap IP address or host name (host 3)')
snmpAgentTrapPort3 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentTrapPort3.setStatus('current')
if mibBuilder.loadTexts: snmpAgentTrapPort3.setDescription('SNMP trap port (host 3) ')
snmpAgentTrapHost4 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentTrapHost4.setStatus('current')
if mibBuilder.loadTexts: snmpAgentTrapHost4.setDescription('SNMP trap IP address or host name (host 4)')
snmpAgentTrapPort4 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentTrapPort4.setStatus('current')
if mibBuilder.loadTexts: snmpAgentTrapPort4.setDescription('SNMP trap port (host 4)')
snmpAgentV3Enable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3Enable.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3Enable.setDescription('Enable or disable SNMPv3')
snmpAgentV3AuthType = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("md5", 0), ("sha", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3AuthType.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3AuthType.setDescription('SNMPv3 authentication type')
snmpAgentV3PrivProtocol = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("des", 0), ("aes", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3PrivProtocol.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3PrivProtocol.setDescription('SNMPv3 privacy protocol')
snmpAgentV3ReadWriteUser = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3ReadWriteUser.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3ReadWriteUser.setDescription('SNMPv3 read-write user')
snmpAgentV3ReadWriteUserAuthPassphrase = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(8, 30))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3ReadWriteUserAuthPassphrase.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3ReadWriteUserAuthPassphrase.setDescription('SNMPv3 read-write user authentication passphrase')
snmpAgentV3ReadWriteUserAuthPassphraseEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(16, 60))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3ReadWriteUserAuthPassphraseEnc.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3ReadWriteUserAuthPassphraseEnc.setDescription('SNMPv3 read-write user authentication passphrase (encrypted)')
snmpAgentV3ReadWriteUserPrivPassphrase = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 19), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(8, 30))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3ReadWriteUserPrivPassphrase.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3ReadWriteUserPrivPassphrase.setDescription('SNMPv3 read-write user privacy passphrase')
snmpAgentV3ReadWriteUserPrivPassphraseEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 20), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(16, 60))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3ReadWriteUserPrivPassphraseEnc.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3ReadWriteUserPrivPassphraseEnc.setDescription('SNMPv3 read-write user privacy passphrase (encrypted)')
snmpAgentV3ReadOnlyUser = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 21), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3ReadOnlyUser.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3ReadOnlyUser.setDescription('SNMPv3 read-only user')
snmpAgentV3ReadOnlyUserAuthPassphrase = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 22), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(8, 30))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3ReadOnlyUserAuthPassphrase.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3ReadOnlyUserAuthPassphrase.setDescription('SNMPv3 read-only user authentication passphrase')
snmpAgentV3ReadOnlyUserAuthPassphraseEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 23), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(16, 60))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3ReadOnlyUserAuthPassphraseEnc.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3ReadOnlyUserAuthPassphraseEnc.setDescription('SNMPv3 read-only user authentication passphrase (encrypted)')
snmpAgentV3ReadOnlyUserPrivPassphrase = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 24), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(8, 30))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3ReadOnlyUserPrivPassphrase.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3ReadOnlyUserPrivPassphrase.setDescription('SNMPv3 read-only user privacy passphrase')
snmpAgentV3ReadOnlyUserPrivPassphraseEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 25), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(16, 60))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentV3ReadOnlyUserPrivPassphraseEnc.setStatus('current')
if mibBuilder.loadTexts: snmpAgentV3ReadOnlyUserPrivPassphraseEnc.setDescription('SNMPv3 read-only user privacy passphrase (encrypted)')
snmpAgentEngineID = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 26), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(24, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentEngineID.setStatus('current')
if mibBuilder.loadTexts: snmpAgentEngineID.setDescription('SNMP agent engine ID (in hex)')
snmpAgentRestart = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("restart", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentRestart.setStatus('current')
if mibBuilder.loadTexts: snmpAgentRestart.setDescription('Restart SNMP agent')
snmpAgentKeepAlive = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 999))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentKeepAlive.setStatus('current')
if mibBuilder.loadTexts: snmpAgentKeepAlive.setDescription('SNMP trap keepalive time (in minutes)')
snmpAgentReadWriteCommunityEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 29), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentReadWriteCommunityEnc.setStatus('current')
if mibBuilder.loadTexts: snmpAgentReadWriteCommunityEnc.setDescription('SNMP read-write community string (encrypted)')
snmpAgentReadOnlyCommunityEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 18, 30), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: snmpAgentReadOnlyCommunityEnc.setStatus('current')
if mibBuilder.loadTexts: snmpAgentReadOnlyCommunityEnc.setDescription('SNMP read-only community string (encrypted)')
ssidTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1), )
if mibBuilder.loadTexts: ssidTable.setStatus('current')
if mibBuilder.loadTexts: ssidTable.setDescription('SSID table for the Array')
ssidEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "ssidIndex"))
if mibBuilder.loadTexts: ssidEntry.setStatus('current')
if mibBuilder.loadTexts: ssidEntry.setDescription('SSID table entry')
ssidIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: ssidIndex.setStatus('current')
if mibBuilder.loadTexts: ssidIndex.setDescription('SSID table index')
ssidName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidName.setStatus('current')
if mibBuilder.loadTexts: ssidName.setDescription('SSID name')
ssidBroadcast = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidBroadcast.setStatus('current')
if mibBuilder.loadTexts: ssidBroadcast.setDescription('Enable/disable SSID broadcast')
ssidBand = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("both", 1), ("dot11a", 2), ("dot11bg", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidBand.setStatus('current')
if mibBuilder.loadTexts: ssidBand.setDescription('SSID 802.11 band')
ssidQOS = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidQOS.setStatus('current')
if mibBuilder.loadTexts: ssidQOS.setDescription('SSID QoS level')
ssidVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidVlan.setStatus('current')
if mibBuilder.loadTexts: ssidVlan.setDescription('SSID vlan ID')
ssidDhcpPool = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidDhcpPool.setStatus('current')
if mibBuilder.loadTexts: ssidDhcpPool.setDescription('SSID DHCP pool')
ssidEncryption = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 0), ("wep", 1), ("wpa", 2), ("wpa2", 3), ("wpa-both", 4)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidEncryption.setStatus('current')
if mibBuilder.loadTexts: ssidEncryption.setDescription('SSID encryption type')
ssidDefaultSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidDefaultSecurity.setStatus('current')
if mibBuilder.loadTexts: ssidDefaultSecurity.setDescription('Use default security settings')
ssidWepDefaultKeyID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWepDefaultKeyID.setStatus('current')
if mibBuilder.loadTexts: ssidWepDefaultKeyID.setDescription('Default encryption key id for WEP')
ssidWepKey1Size = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("wep40", 1), ("wep128", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ssidWepKey1Size.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey1Size.setDescription('WEP key 1 size - 40 or 128 bits')
ssidWepKey1String = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 26))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWepKey1String.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey1String.setDescription('WEP encryption key 1')
ssidWepKey2Size = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("wep40", 1), ("wep128", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ssidWepKey2Size.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey2Size.setDescription('WEP key 2 size - 40 or 128 bits')
ssidWepKey2String = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 26))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWepKey2String.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey2String.setDescription('WEP encryption key 2')
ssidWepKey3Size = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("wep40", 1), ("wep128", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ssidWepKey3Size.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey3Size.setDescription('WEP key 3 size - 40 or 128 bits')
ssidWepKey3String = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 26))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWepKey3String.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey3String.setDescription('WEP encryption key 3')
ssidWepKey4Size = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("wep40", 1), ("wep128", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ssidWepKey4Size.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey4Size.setDescription('WEP key 4 size - 40 or 128 bits')
ssidWepKey4String = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 26))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWepKey4String.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey4String.setDescription('WEP encryption key 4')
ssidWpaEAP = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWpaEAP.setStatus('current')
if mibBuilder.loadTexts: ssidWpaEAP.setDescription('EAP enable or disable')
ssidWpaPSK = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWpaPSK.setStatus('current')
if mibBuilder.loadTexts: ssidWpaPSK.setDescription('PSK enable or disable')
ssidWpaPassphrase = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 21), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(8, 128), ))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWpaPassphrase.setStatus('current')
if mibBuilder.loadTexts: ssidWpaPassphrase.setDescription('PSK ASCII passphrase or Hex key')
ssidRadiusEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("external", 1), ("internal", 2), ("active-directory", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusEnable.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusEnable.setDescription('Radius server enabled')
ssidRadiusPriServerIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 23), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusPriServerIPAddress.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusPriServerIPAddress.setDescription('Primary Radius server IP address')
ssidRadiusPriServerPort = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusPriServerPort.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusPriServerPort.setDescription('Primary Radius server port')
ssidRadiusPriServerSecret = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 25), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusPriServerSecret.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusPriServerSecret.setDescription('Primary Radius server secret')
ssidRadiusSecServerIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 26), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusSecServerIPAddress.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusSecServerIPAddress.setDescription('Secondary Radius server IP address')
ssidRadiusSecServerPort = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusSecServerPort.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusSecServerPort.setDescription('Secondary Radius server port')
ssidRadiusSecServerSecret = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 28), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusSecServerSecret.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusSecServerSecret.setDescription('Secondary Radius server secret')
ssidRadiusTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusTimeout.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusTimeout.setDescription('Timeout until the primary server is retired _ given up on')
ssidRadiusAcctEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctEnable.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctEnable.setDescription('Enable or disable Radius Accounting')
ssidRadiusAcctPriServerIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 31), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctPriServerIPAddress.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctPriServerIPAddress.setDescription('Primary Radius Accounting server IP address')
ssidRadiusAcctPriServerPort = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctPriServerPort.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctPriServerPort.setDescription('Primary Radius Accounting server port')
ssidRadiusAcctPriServerSecret = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 33), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctPriServerSecret.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctPriServerSecret.setDescription('Primary Radius Accounting server secret')
ssidRadiusAcctSecServerIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 34), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctSecServerIPAddress.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctSecServerIPAddress.setDescription('Secondary Radius Accounting server IP address')
ssidRadiusAcctSecServerPort = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctSecServerPort.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctSecServerPort.setDescription('Secondary Radius Accounting server port')
ssidRadiusAcctSecServerSecret = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 36), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctSecServerSecret.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctSecServerSecret.setDescription('Secondary Radius Accounting server secret')
ssidRadiusAcctInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctInterval.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctInterval.setDescription('Interim accounting update interval')
ssidAuthentication = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("open", 0), ("radius-mac", 1), ("dot1x", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidAuthentication.setStatus('current')
if mibBuilder.loadTexts: ssidAuthentication.setDescription('SSID authentication type')
ssidRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 39), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRowStatus.setStatus('current')
if mibBuilder.loadTexts: ssidRowStatus.setDescription('Status of the SSID row entry')
ssidRoamingLayer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("layer-2-only", 0), ("layer-2-and-3", 1), ("none", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRoamingLayer.setStatus('current')
if mibBuilder.loadTexts: ssidRoamingLayer.setDescription('Fast roaming layer allowed for this SSID')
ssidRadiusPriServerHostname = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 41), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusPriServerHostname.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusPriServerHostname.setDescription('Primary Radius server hostname')
ssidRadiusSecServerHostname = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 42), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusSecServerHostname.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusSecServerHostname.setDescription('Secondary Radius server hostname')
ssidRadiusAcctPriServerHostname = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 43), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctPriServerHostname.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctPriServerHostname.setDescription('Primary Radius Accounting server hostname')
ssidRadiusAcctSecServerHostname = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 44), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctSecServerHostname.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctSecServerHostname.setDescription('Secondary Radius Accounting server hostname')
ssidWepKey1StringForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWepKey1StringForm.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey1StringForm.setDescription('WEP key 1 string form')
ssidWepKey2StringForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 46), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWepKey2StringForm.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey2StringForm.setDescription('WEP key 2 string form')
ssidWepKey3StringForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 47), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWepKey3StringForm.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey3StringForm.setDescription('WEP key 3 string form')
ssidWepKey4StringForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWepKey4StringForm.setStatus('current')
if mibBuilder.loadTexts: ssidWepKey4StringForm.setDescription('WEP key 4 string form')
ssidWpaPassphraseForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWpaPassphraseForm.setStatus('current')
if mibBuilder.loadTexts: ssidWpaPassphraseForm.setDescription('PSK passphrase form')
ssidRadiusPriServerSecretForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusPriServerSecretForm.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusPriServerSecretForm.setDescription('Primary Radius server secret form')
ssidRadiusSecServerSecretForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusSecServerSecretForm.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusSecServerSecretForm.setDescription('Secondary Radius server secret form')
ssidRadiusAcctPriServerSecretForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctPriServerSecretForm.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctPriServerSecretForm.setDescription('Primary Radius Accounting server secret form')
ssidRadiusAcctSecServerSecretForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidRadiusAcctSecServerSecretForm.setStatus('current')
if mibBuilder.loadTexts: ssidRadiusAcctSecServerSecretForm.setDescription('Secondary Radius Accounting server secret form')
ssidFilterList = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 54), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidFilterList.setStatus('current')
if mibBuilder.loadTexts: ssidFilterList.setDescription('SSID filter list')
ssidWpaTKIP = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 55), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWpaTKIP.setStatus('current')
if mibBuilder.loadTexts: ssidWpaTKIP.setDescription('TKIP enable or disable')
ssidWpaAES = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 56), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidWpaAES.setStatus('current')
if mibBuilder.loadTexts: ssidWpaAES.setDescription('AES enable or disable')
ssidActiveIAPs = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 57), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidActiveIAPs.setStatus('current')
if mibBuilder.loadTexts: ssidActiveIAPs.setDescription('Define active IAPs for this SSID')
ssidAclEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("allow", 1), ("deny", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidAclEnable.setStatus('current')
if mibBuilder.loadTexts: ssidAclEnable.setDescription('SSID access control list enable/disable')
ssidFallback = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 59), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("disable-ssid", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidFallback.setStatus('current')
if mibBuilder.loadTexts: ssidFallback.setDescription('Define network connectivity fallback mode for this SSID')
ssidTunnel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 60), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidTunnel.setStatus('current')
if mibBuilder.loadTexts: ssidTunnel.setDescription('Specify tunnel for bridging SSID data traffic')
ssidMdmAuth = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 61), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("airwatch", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidMdmAuth.setStatus('current')
if mibBuilder.loadTexts: ssidMdmAuth.setDescription('MDM authentication type used by this SSID')
ssidDhcpOption = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 1, 1, 62), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidDhcpOption.setStatus('current')
if mibBuilder.loadTexts: ssidDhcpOption.setDescription('Enable or disable insertion of relay agent information option in station DHCP requests')
ssidTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidTableReset.setStatus('current')
if mibBuilder.loadTexts: ssidTableReset.setDescription('Reset SSID table (clear all entries and restore default)')
ssidTableClear = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("clear", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidTableClear.setStatus('current')
if mibBuilder.loadTexts: ssidTableClear.setDescription('Clear all entries in SSID table')
ssidLimitsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4), )
if mibBuilder.loadTexts: ssidLimitsTable.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsTable.setDescription('SSID limits table for the Array')
ssidLimitsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "ssidLimitsIndex"))
if mibBuilder.loadTexts: ssidLimitsEntry.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsEntry.setDescription('SSID limits table entry')
ssidLimitsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 1), Integer32())
if mibBuilder.loadTexts: ssidLimitsIndex.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsIndex.setDescription('SSID limits table index')
ssidLimitsSsidName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ssidLimitsSsidName.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsSsidName.setDescription('SSID name')
ssidLimitsEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsEnable.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsEnable.setDescription('Enable or disable SSID')
ssidLimitsTrafficLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsTrafficLimit.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsTrafficLimit.setDescription('Traffic limit for SSID (10 to 1000000 pps, 0 - unlimited)')
ssidLimitsTrafficLimitSta = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsTrafficLimitSta.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsTrafficLimitSta.setDescription('Traffic limit per station for SSID (10 to 100000 pps, 0 - unlimited)')
ssidLimitsTimeOn = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1439))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsTimeOn.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsTimeOn.setDescription('Set daily time SSID is active (in minutes, -1 - always)')
ssidLimitsTimeOff = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1439))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsTimeOff.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsTimeOff.setDescription('Set daily time SSID is inactive (in minutes, -1 - never)')
ssidLimitsDaysOnMon = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsDaysOnMon.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsDaysOnMon.setDescription('SSID is on/off on Monday')
ssidLimitsDaysOnTue = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsDaysOnTue.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsDaysOnTue.setDescription('SSID is on/off on Tuesday')
ssidLimitsDaysOnWed = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsDaysOnWed.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsDaysOnWed.setDescription('SSID is on/off on Wednesday')
ssidLimitsDaysOnThu = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsDaysOnThu.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsDaysOnThu.setDescription('SSID is on/off on Thursday')
ssidLimitsDaysOnFri = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsDaysOnFri.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsDaysOnFri.setDescription('SSID is on/off on Friday')
ssidLimitsDaysOnSat = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsDaysOnSat.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsDaysOnSat.setDescription('SSID is on/off on Saturday')
ssidLimitsDaysOnSun = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsDaysOnSun.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsDaysOnSun.setDescription('SSID is on/off on Sunday')
ssidLimitsActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ssidLimitsActive.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsActive.setDescription('Flag indicating whether SSID is currently active')
ssidLimitsStationLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3840))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsStationLimit.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsStationLimit.setDescription('Station limit for SSID')
ssidLimitsTrafficLimitKbps = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsTrafficLimitKbps.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsTrafficLimitKbps.setDescription('Traffic limit for SSID (10 to 4000000 kbps, 0 - unlimited)')
ssidLimitsTrafficLimitKbpsSta = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 4, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 400000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidLimitsTrafficLimitKbpsSta.setStatus('current')
if mibBuilder.loadTexts: ssidLimitsTrafficLimitKbpsSta.setDescription('Traffic limit per station for SSID (10 to 400000 kbps, 0 - unlimited)')
ssidWprTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5), )
if mibBuilder.loadTexts: ssidWprTable.setStatus('current')
if mibBuilder.loadTexts: ssidWprTable.setDescription('SSID Web Page Redirect (WPR) table for the Array')
ssidWprEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "ssidWprIndex"))
if mibBuilder.loadTexts: ssidWprEntry.setStatus('current')
if mibBuilder.loadTexts: ssidWprEntry.setDescription('SSID WPR table entry')
ssidWprIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 1), Integer32())
if mibBuilder.loadTexts: ssidWprIndex.setStatus('current')
if mibBuilder.loadTexts: ssidWprIndex.setDescription('SSID WPR table index')
ssidWprSsidName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ssidWprSsidName.setStatus('current')
if mibBuilder.loadTexts: ssidWprSsidName.setDescription('SSID name')
ssidWprEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprEnable.setStatus('current')
if mibBuilder.loadTexts: ssidWprEnable.setDescription('Enable or disable WPR for SSID')
ssidWprServerType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("external", 0), ("internal", 1), ("cloud", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprServerType.setStatus('current')
if mibBuilder.loadTexts: ssidWprServerType.setDescription('Server type for WPR')
ssidWprUrl = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprUrl.setStatus('current')
if mibBuilder.loadTexts: ssidWprUrl.setDescription('URL for WPR')
ssidWprSharedSecret = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprSharedSecret.setStatus('current')
if mibBuilder.loadTexts: ssidWprSharedSecret.setDescription('Shared secret for WPR')
ssidWprScreenType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("splash", 0), ("login", 1), ("none", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprScreenType.setStatus('current')
if mibBuilder.loadTexts: ssidWprScreenType.setDescription('Screen type for WPR')
ssidWprScreenTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprScreenTimeout.setStatus('current')
if mibBuilder.loadTexts: ssidWprScreenTimeout.setDescription('Splash screen timeout (0 - no timeout)')
ssidWprLandingPage = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprLandingPage.setStatus('current')
if mibBuilder.loadTexts: ssidWprLandingPage.setDescription('Landing page URL for WPR')
ssidWprSharedSecretForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprSharedSecretForm.setStatus('current')
if mibBuilder.loadTexts: ssidWprSharedSecretForm.setDescription('WPR shared secret form')
ssidWprAuthType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("chap", 0), ("pap", 1), ("ms-chap", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprAuthType.setStatus('current')
if mibBuilder.loadTexts: ssidWprAuthType.setDescription('WPR authentication protocol')
ssidWprHttpsEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprHttpsEnable.setStatus('current')
if mibBuilder.loadTexts: ssidWprHttpsEnable.setDescription('Enable or disable HTTPS login for WPR')
ssidWprBackground = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprBackground.setStatus('current')
if mibBuilder.loadTexts: ssidWprBackground.setDescription('Custom background file for WPR')
ssidWprLogoImage = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprLogoImage.setStatus('current')
if mibBuilder.loadTexts: ssidWprLogoImage.setDescription('Custom logo file for WPR')
ssidWprHeaderText = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprHeaderText.setStatus('current')
if mibBuilder.loadTexts: ssidWprHeaderText.setDescription('Custom header text file for WPR')
ssidWprFooterText = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprFooterText.setStatus('current')
if mibBuilder.loadTexts: ssidWprFooterText.setDescription('Custom footer text file for WPR')
ssidWprAuthTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 5, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10080))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidWprAuthTimeout.setStatus('current')
if mibBuilder.loadTexts: ssidWprAuthTimeout.setDescription('WPR station authentication timeout in minutes (0 - no timeout)')
ssidHoneypotWhitelistTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 6), )
if mibBuilder.loadTexts: ssidHoneypotWhitelistTable.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotWhitelistTable.setDescription('SSID honeypot whitelist')
ssidHoneypotWhitelistEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 6, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "ssidHoneypotWhitelistIndex"))
if mibBuilder.loadTexts: ssidHoneypotWhitelistEntry.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotWhitelistEntry.setDescription('SSID honeypot whitelist table entry')
ssidHoneypotWhitelistIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 6, 1, 1), Integer32())
if mibBuilder.loadTexts: ssidHoneypotWhitelistIndex.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotWhitelistIndex.setDescription('SSID honeypot whitelist index')
ssidHoneypotWhitelistSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 6, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidHoneypotWhitelistSSID.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotWhitelistSSID.setDescription('SSID name')
ssidHoneypotWhitelistRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 6, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidHoneypotWhitelistRowStatus.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotWhitelistRowStatus.setDescription('Status of the SSID honeypot whitelist row entry')
ssidHoneypotWhitelistTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidHoneypotWhitelistTableReset.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotWhitelistTableReset.setDescription('Reset SSID honeypot whitelist (clear all entries)')
ssidHoneypotBroadcastTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 8), )
if mibBuilder.loadTexts: ssidHoneypotBroadcastTable.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotBroadcastTable.setDescription('SSID honeypot broadcast')
ssidHoneypotBroadcastEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 8, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "ssidHoneypotBroadcastIndex"))
if mibBuilder.loadTexts: ssidHoneypotBroadcastEntry.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotBroadcastEntry.setDescription('SSID honeypot broadcast table entry')
ssidHoneypotBroadcastIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 8, 1, 1), Integer32())
if mibBuilder.loadTexts: ssidHoneypotBroadcastIndex.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotBroadcastIndex.setDescription('SSID honeypot broadcast index')
ssidHoneypotBroadcastSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 8, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidHoneypotBroadcastSSID.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotBroadcastSSID.setDescription('SSID name')
ssidHoneypotBroadcastRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 8, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ssidHoneypotBroadcastRowStatus.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotBroadcastRowStatus.setDescription('Status of the SSID honeypot broadcast row entry')
ssidHoneypotBroadcastTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 20, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ssidHoneypotBroadcastTableReset.setStatus('current')
if mibBuilder.loadTexts: ssidHoneypotBroadcastTableReset.setDescription('Reset SSID honeypot broadcast (clear all entries)')
stationAssociationTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1), )
if mibBuilder.loadTexts: stationAssociationTable.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTable.setDescription('Table of stations associated with array')
stationAssociationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "stationAssociationIndex"))
if mibBuilder.loadTexts: stationAssociationEntry.setStatus('current')
if mibBuilder.loadTexts: stationAssociationEntry.setDescription('Table entry for associated station')
stationAssociationIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: stationAssociationIndex.setStatus('current')
if mibBuilder.loadTexts: stationAssociationIndex.setDescription('Station association index')
stationAssociationMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationMACAddress.setStatus('current')
if mibBuilder.loadTexts: stationAssociationMACAddress.setDescription('MAC address of the station')
stationAssociationManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationManufacturer.setStatus('current')
if mibBuilder.loadTexts: stationAssociationManufacturer.setDescription("Manufacturer of the station's network card")
stationAssociationIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationIPAddress.setStatus('current')
if mibBuilder.loadTexts: stationAssociationIPAddress.setDescription('IP Address of the station')
stationAssociationNetbiosName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationNetbiosName.setStatus('current')
if mibBuilder.loadTexts: stationAssociationNetbiosName.setDescription('Netbios name of the station')
stationAssociationIAP = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationIAP.setStatus('current')
if mibBuilder.loadTexts: stationAssociationIAP.setDescription('IAP station associated with')
stationAssociationSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationSSID.setStatus('current')
if mibBuilder.loadTexts: stationAssociationSSID.setDescription('SSID station associated with')
stationAssociationVLAN = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationVLAN.setStatus('current')
if mibBuilder.loadTexts: stationAssociationVLAN.setDescription('VLAN of the station')
stationAssociationRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSI.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSI.setDescription("Station's RSSI (last packet received)")
stationAssociationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 10), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTime.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTime.setDescription('Time (in D:H:M) station is associated')
stationAssociationTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTxRate.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTxRate.setDescription('Tx rate of the station')
stationAssociationRxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRxRate.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRxRate.setDescription('Rx rate of the station')
stationAssociationRSSIa1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa1.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa1.setDescription("Station's RSSI for last Probe Request on IAP a1")
stationAssociationRSSIa2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa2.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa2.setDescription("Station's RSSI for last Probe Request on IAP a2")
stationAssociationRSSIa3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa3.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa3.setDescription("Station's RSSI for last Probe Request on IAP a3")
stationAssociationRSSIa4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa4.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa4.setDescription("Station's RSSI for last Probe Request on IAP a4")
stationAssociationRSSIa5 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa5.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa5.setDescription("Station's RSSI for last Probe Request on IAP a5")
stationAssociationRSSIa6 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa6.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa6.setDescription("Station's RSSI for last Probe Request on IAP a6")
stationAssociationRSSIa7 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa7.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa7.setDescription("Station's RSSI for last Probe Request on IAP a7")
stationAssociationRSSIa8 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa8.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa8.setDescription("Station's RSSI for last Probe Request on IAP a8")
stationAssociationRSSIa9 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa9.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa9.setDescription("Station's RSSI for last Probe Request on IAP a9")
stationAssociationRSSIa10 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa10.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa10.setDescription("Station's RSSI for last Probe Request on IAP a10")
stationAssociationRSSIa11 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 23), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa11.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa11.setDescription("Station's RSSI for last Probe Request on IAP a11")
stationAssociationRSSIa12 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIa12.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIa12.setDescription("Station's RSSI for last Probe Request on IAP a12")
stationAssociationRSSIabg1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 25), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIabg1.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIabg1.setDescription("Station's RSSI for last Probe Request on IAP abg1")
stationAssociationRSSIabg2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 26), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIabg2.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIabg2.setDescription("Station's RSSI for last Probe Request on IAP abg2")
stationAssociationRSSIabg3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 27), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIabg3.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIabg3.setDescription("Station's RSSI for last Probe Request on IAP abg3")
stationAssociationRSSIabg4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 28), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationRSSIabg4.setStatus('current')
if mibBuilder.loadTexts: stationAssociationRSSIabg4.setDescription("Station's RSSI for last Probe Request on IAP abg4")
stationAssociationEncType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("none", 0), ("wep", 1), ("wpa", 2), ("wpa2", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationEncType.setStatus('current')
if mibBuilder.loadTexts: stationAssociationEncType.setDescription('Station encryption type')
stationAssociationCipher = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("none", 0), ("rc4", 1), ("tkip", 2), ("aes", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationCipher.setStatus('current')
if mibBuilder.loadTexts: stationAssociationCipher.setDescription('Cipher suite used by station')
stationAssociationKeyMgmt = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("eap", 1), ("psk", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationKeyMgmt.setStatus('current')
if mibBuilder.loadTexts: stationAssociationKeyMgmt.setDescription('Key management algorithm used by station')
stationAssociationBand = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("dot11a", 0), ("dot11bg", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationBand.setStatus('current')
if mibBuilder.loadTexts: stationAssociationBand.setDescription('802.11 band station is on')
stationAssociationChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 33), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationChannel.setStatus('current')
if mibBuilder.loadTexts: stationAssociationChannel.setDescription('Channel station is on')
stationAssociationMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17))).clone(namedValues=NamedValues(("dot11b", 1), ("dot11bg", 2), ("dot11abg", 3), ("dot11a", 4), ("dot11ab", 5), ("dot11ag", 6), ("dot11g", 7), ("dot11n", 8), ("dot11bn", 9), ("dot11gn", 10), ("dot11bgn", 11), ("dot11an", 12), ("dot11abn", 13), ("dot11agn", 14), ("dot11abgn", 15), ("dot11anac", 16), ("dot11abgnac", 17)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationMediaType.setStatus('current')
if mibBuilder.loadTexts: stationAssociationMediaType.setDescription('Station media type')
stationAssociationUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 35), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationUserName.setStatus('current')
if mibBuilder.loadTexts: stationAssociationUserName.setDescription('Station user name')
stationAssociationTimeRSSIa1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 36), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa1.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa1.setDescription("Station's elapsed time since last Probe Request on IAP a1 (milliseconds)")
stationAssociationTimeRSSIa2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 37), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa2.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa2.setDescription("Station's elapsed time since last Probe Request on IAP a2 (milliseconds)")
stationAssociationTimeRSSIa3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 38), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa3.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa3.setDescription("Station's elapsed time since last Probe Request on IAP a3 (milliseconds)")
stationAssociationTimeRSSIa4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 39), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa4.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa4.setDescription("Station's elapsed time since last Probe Request on IAP a4 (milliseconds)")
stationAssociationTimeRSSIa5 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 40), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa5.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa5.setDescription("Station's elapsed time since last Probe Request on IAP a5 (milliseconds)")
stationAssociationTimeRSSIa6 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 41), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa6.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa6.setDescription("Station's elapsed time since last Probe Request on IAP a6 (milliseconds)")
stationAssociationTimeRSSIa7 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 42), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa7.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa7.setDescription("Station's elapsed time since last Probe Request on IAP a7 (milliseconds)")
stationAssociationTimeRSSIa8 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 43), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa8.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa8.setDescription("Station's elapsed time since last Probe Request on IAP a8 (milliseconds)")
stationAssociationTimeRSSIa9 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 44), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa9.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa9.setDescription("Station's elapsed time since last Probe Request on IAP a9 (milliseconds)")
stationAssociationTimeRSSIa10 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 45), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa10.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa10.setDescription("Station's elapsed time since last Probe Request on IAP a10 (milliseconds)")
stationAssociationTimeRSSIa11 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 46), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa11.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa11.setDescription("Station's elapsed time since last Probe Request on IAP a11 (milliseconds)")
stationAssociationTimeRSSIa12 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 47), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIa12.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIa12.setDescription("Station's elapsed time since last Probe Request on IAP a12 (milliseconds)")
stationAssociationTimeRSSIabg1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 48), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIabg1.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIabg1.setDescription("Station's elapsed time since last Probe Request on IAP abg1 (milliseconds)")
stationAssociationTimeRSSIabg2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 49), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIabg2.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIabg2.setDescription("Station's elapsed time since last Probe Request on IAP abg2 (milliseconds)")
stationAssociationTimeRSSIabg3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 50), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIabg3.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIabg3.setDescription("Station's elapsed time since last Probe Request on IAP abg3 (milliseconds)")
stationAssociationTimeRSSIabg4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 51), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationTimeRSSIabg4.setStatus('current')
if mibBuilder.loadTexts: stationAssociationTimeRSSIabg4.setDescription("Station's elapsed time since last Probe Request on IAP abg4 (milliseconds)")
stationAssociationHostname = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 52), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationHostname.setStatus('current')
if mibBuilder.loadTexts: stationAssociationHostname.setDescription('Station hostname')
stationAssociationDeviceType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 53), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationDeviceType.setStatus('current')
if mibBuilder.loadTexts: stationAssociationDeviceType.setDescription('Station device type')
stationAssociationDeviceClass = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 54), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationDeviceClass.setStatus('current')
if mibBuilder.loadTexts: stationAssociationDeviceClass.setDescription('Station device class')
stationAssociationUserAgent = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 55), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationUserAgent.setStatus('current')
if mibBuilder.loadTexts: stationAssociationUserAgent.setDescription('User-agent string')
stationAssociationDeviceSource = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 56), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("none", 0), ("manufacturer", 1), ("netbios-name", 2), ("dhcp-hostname", 3), ("user-agent-string", 4), ("internal-rules", 5), ("external-rules", 6), ("cache", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationDeviceSource.setStatus('current')
if mibBuilder.loadTexts: stationAssociationDeviceSource.setDescription('Station device source')
stationAssociationDeviceSourceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 1, 1, 57), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssociationDeviceSourceIndex.setStatus('current')
if mibBuilder.loadTexts: stationAssociationDeviceSourceIndex.setDescription('Station device source index')
stationUnassociatedTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2), )
if mibBuilder.loadTexts: stationUnassociatedTable.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTable.setDescription('Table of unassociated stations')
stationUnassociatedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "stationUnassociatedIndex"))
if mibBuilder.loadTexts: stationUnassociatedEntry.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedEntry.setDescription('Table entry for unassociated station')
stationUnassociatedIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: stationUnassociatedIndex.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedIndex.setDescription('Station index')
stationUnassociatedMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedMACAddress.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedMACAddress.setDescription('MAC address of the station')
stationUnassociatedManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedManufacturer.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedManufacturer.setDescription("Manufacturer of the station's network card")
stationUnassociatedNetbiosName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedNetbiosName.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedNetbiosName.setDescription('Netbios name of the station')
stationUnassociatedMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17))).clone(namedValues=NamedValues(("dot11b", 1), ("dot11bg", 2), ("dot11abg", 3), ("dot11a", 4), ("dot11ab", 5), ("dot11ag", 6), ("dot11g", 7), ("dot11n", 8), ("dot11bn", 9), ("dot11gn", 10), ("dot11bgn", 11), ("dot11an", 12), ("dot11abn", 13), ("dot11agn", 14), ("dot11abgn", 15), ("dot11anac", 16), ("dot11abgnac", 17)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedMediaType.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedMediaType.setDescription('Station media type')
stationUnassociatedTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTxRate.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTxRate.setDescription('Tx rate of the station')
stationUnassociatedRxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRxRate.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRxRate.setDescription('Rx rate of the station')
stationUnassociatedRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSI.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSI.setDescription("Station's RSSI (last packet received)")
stationUnassociatedTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTime.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTime.setDescription('Time (in seconds) since Rx')
stationUnassociatedRSSIa1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa1.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa1.setDescription("Station's RSSI for last Probe Request on IAP a1")
stationUnassociatedRSSIa2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa2.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa2.setDescription("Station's RSSI for last Probe Request on IAP a2")
stationUnassociatedRSSIa3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa3.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa3.setDescription("Station's RSSI for last Probe Request on IAP a3")
stationUnassociatedRSSIa4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa4.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa4.setDescription("Station's RSSI for last Probe Request on IAP a4")
stationUnassociatedRSSIa5 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa5.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa5.setDescription("Station's RSSI for last Probe Request on IAP a5")
stationUnassociatedRSSIa6 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa6.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa6.setDescription("Station's RSSI for last Probe Request on IAP a6")
stationUnassociatedRSSIa7 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa7.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa7.setDescription("Station's RSSI for last Probe Request on IAP a7")
stationUnassociatedRSSIa8 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa8.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa8.setDescription("Station's RSSI for last Probe Request on IAP a8")
stationUnassociatedRSSIa9 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa9.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa9.setDescription("Station's RSSI for last Probe Request on IAP a9")
stationUnassociatedRSSIa10 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa10.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa10.setDescription("Station's RSSI for last Probe Request on IAP a10")
stationUnassociatedRSSIa11 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa11.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa11.setDescription("Station's RSSI for last Probe Request on IAP a11")
stationUnassociatedRSSIa12 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIa12.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIa12.setDescription("Station's RSSI for last Probe Request on IAP a12")
stationUnassociatedRSSIabg1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIabg1.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIabg1.setDescription("Station's RSSI for last Probe Request on IAP abg1")
stationUnassociatedRSSIabg2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 23), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIabg2.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIabg2.setDescription("Station's RSSI for last Probe Request on IAP abg2")
stationUnassociatedRSSIabg3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIabg3.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIabg3.setDescription("Station's RSSI for last Probe Request on IAP abg3")
stationUnassociatedRSSIabg4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 25), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedRSSIabg4.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedRSSIabg4.setDescription("Station's RSSI for last Probe Request on IAP abg4")
stationUnassociatedTimeRSSIa1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa1.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa1.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a1 (milliseconds)")
stationUnassociatedTimeRSSIa2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 27), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa2.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa2.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a2 (milliseconds)")
stationUnassociatedTimeRSSIa3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 28), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa3.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa3.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a3 (milliseconds)")
stationUnassociatedTimeRSSIa4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 29), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa4.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa4.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a4 (milliseconds)")
stationUnassociatedTimeRSSIa5 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 30), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa5.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa5.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a5 (milliseconds)")
stationUnassociatedTimeRSSIa6 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 31), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa6.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa6.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a6 (milliseconds)")
stationUnassociatedTimeRSSIa7 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 32), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa7.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa7.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a7 (milliseconds)")
stationUnassociatedTimeRSSIa8 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 33), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa8.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa8.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a8 (milliseconds)")
stationUnassociatedTimeRSSIa9 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 34), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa9.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa9.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a9 (milliseconds)")
stationUnassociatedTimeRSSIa10 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 35), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa10.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa10.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a10 (milliseconds)")
stationUnassociatedTimeRSSIa11 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 36), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa11.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa11.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a11 (milliseconds)")
stationUnassociatedTimeRSSIa12 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 37), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa12.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIa12.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP a12 (milliseconds)")
stationUnassociatedTimeRSSIabg1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 38), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIabg1.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIabg1.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP abg1 (milliseconds)")
stationUnassociatedTimeRSSIabg2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 39), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIabg2.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIabg2.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP abg2 (milliseconds)")
stationUnassociatedTimeRSSIabg3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 40), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIabg3.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIabg3.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP abg3 (milliseconds)")
stationUnassociatedTimeRSSIabg4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 2, 1, 41), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIabg4.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTimeRSSIabg4.setDescription("Station's elapsed time since last Probe Request on last Probe Request on IAP abg4 (milliseconds)")
stationDeauthMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(12, 17))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationDeauthMacAddress.setStatus('current')
if mibBuilder.loadTexts: stationDeauthMacAddress.setDescription('Mac address of the station to deauthenticate')
stationAssocTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4), )
if mibBuilder.loadTexts: stationAssocTable.setStatus('current')
if mibBuilder.loadTexts: stationAssocTable.setDescription('Table of stations (indexed by station MAC address) associated with array')
stationAssocEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "stationAssocMACAddress"))
if mibBuilder.loadTexts: stationAssocEntry.setStatus('current')
if mibBuilder.loadTexts: stationAssocEntry.setDescription('Table entry for associated station')
stationAssocMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocMACAddress.setStatus('current')
if mibBuilder.loadTexts: stationAssocMACAddress.setDescription('MAC address of the station')
stationAssocManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocManufacturer.setStatus('current')
if mibBuilder.loadTexts: stationAssocManufacturer.setDescription("Manufacturer of the station's network card")
stationAssocIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocIPAddress.setStatus('current')
if mibBuilder.loadTexts: stationAssocIPAddress.setDescription('IP Address of the station')
stationAssocNetbiosName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocNetbiosName.setStatus('current')
if mibBuilder.loadTexts: stationAssocNetbiosName.setDescription('Netbios name of the station')
stationAssocIAP = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocIAP.setStatus('current')
if mibBuilder.loadTexts: stationAssocIAP.setDescription('IAP station associated with')
stationAssocSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocSSID.setStatus('current')
if mibBuilder.loadTexts: stationAssocSSID.setDescription('SSID station associated with')
stationAssocVLAN = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocVLAN.setStatus('current')
if mibBuilder.loadTexts: stationAssocVLAN.setDescription('VLAN of the station')
stationAssocRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSI.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSI.setDescription("Station's RSSI (last packet received)")
stationAssocTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 9), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTime.setStatus('current')
if mibBuilder.loadTexts: stationAssocTime.setDescription('Time (in D:H:M) station is associated')
stationAssocTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTxRate.setStatus('current')
if mibBuilder.loadTexts: stationAssocTxRate.setDescription('Tx rate of the station')
stationAssocRxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRxRate.setStatus('current')
if mibBuilder.loadTexts: stationAssocRxRate.setDescription('Rx rate of the station')
stationAssocRSSIa1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa1.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa1.setDescription("Station's RSSI for last Probe Request on IAP a1")
stationAssocRSSIa2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa2.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa2.setDescription("Station's RSSI for last Probe Request on IAP a2")
stationAssocRSSIa3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa3.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa3.setDescription("Station's RSSI for last Probe Request on IAP a3")
stationAssocRSSIa4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa4.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa4.setDescription("Station's RSSI for last Probe Request on IAP a4")
stationAssocRSSIa5 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa5.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa5.setDescription("Station's RSSI for last Probe Request on IAP a5")
stationAssocRSSIa6 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa6.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa6.setDescription("Station's RSSI for last Probe Request on IAP a6")
stationAssocRSSIa7 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa7.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa7.setDescription("Station's RSSI for last Probe Request on IAP a7")
stationAssocRSSIa8 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa8.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa8.setDescription("Station's RSSI for last Probe Request on IAP a8")
stationAssocRSSIa9 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa9.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa9.setDescription("Station's RSSI for last Probe Request on IAP a9")
stationAssocRSSIa10 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa10.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa10.setDescription("Station's RSSI for last Probe Request on IAP a10")
stationAssocRSSIa11 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa11.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa11.setDescription("Station's RSSI for last Probe Request on IAP a11")
stationAssocRSSIa12 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 23), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIa12.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIa12.setDescription("Station's RSSI for last Probe Request on IAP a12")
stationAssocRSSIabg1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIabg1.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIabg1.setDescription("Station's RSSI for last Probe Request on IAP abg1")
stationAssocRSSIabg2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 25), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIabg2.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIabg2.setDescription("Station's RSSI for last Probe Request on IAP abg2")
stationAssocRSSIabg3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 26), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIabg3.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIabg3.setDescription("Station's RSSI for last Probe Request on IAP abg3")
stationAssocRSSIabg4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 27), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocRSSIabg4.setStatus('current')
if mibBuilder.loadTexts: stationAssocRSSIabg4.setDescription("Station's RSSI for last Probe Request on IAP abg4")
stationAssocEncType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("none", 0), ("wep", 1), ("wpa", 2), ("wpa2", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocEncType.setStatus('current')
if mibBuilder.loadTexts: stationAssocEncType.setDescription('Station encryption type')
stationAssocCipher = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("none", 0), ("rc4", 1), ("tkip", 2), ("aes", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocCipher.setStatus('current')
if mibBuilder.loadTexts: stationAssocCipher.setDescription('Cipher suite used by station')
stationAssocKeyMgmt = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("eap", 1), ("psk", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocKeyMgmt.setStatus('current')
if mibBuilder.loadTexts: stationAssocKeyMgmt.setDescription('Key management algorithm used by station')
stationAssocBand = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("dot11a", 0), ("dot11bg", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocBand.setStatus('current')
if mibBuilder.loadTexts: stationAssocBand.setDescription('802.11 band station is on')
stationAssocChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 32), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocChannel.setStatus('current')
if mibBuilder.loadTexts: stationAssocChannel.setDescription('Channel station is on')
stationAssocMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17))).clone(namedValues=NamedValues(("dot11b", 1), ("dot11bg", 2), ("dot11abg", 3), ("dot11a", 4), ("dot11ab", 5), ("dot11ag", 6), ("dot11g", 7), ("dot11n", 8), ("dot11bn", 9), ("dot11gn", 10), ("dot11bgn", 11), ("dot11an", 12), ("dot11abn", 13), ("dot11agn", 14), ("dot11abgn", 15), ("dot11anac", 16), ("dot11abgnac", 17)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocMediaType.setStatus('current')
if mibBuilder.loadTexts: stationAssocMediaType.setDescription('Station media type')
stationAssocUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 34), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocUserName.setStatus('current')
if mibBuilder.loadTexts: stationAssocUserName.setDescription('Station user name')
stationAssocTimeRSSIa1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 35), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa1.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa1.setDescription("Station's elapsed time since last Probe Request on IAP a1 (milliseconds)")
stationAssocTimeRSSIa2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 36), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa2.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa2.setDescription("Station's elapsed time since last Probe Request on IAP a2 (milliseconds)")
stationAssocTimeRSSIa3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 37), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa3.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa3.setDescription("Station's elapsed time since last Probe Request on IAP a3 (milliseconds)")
stationAssocTimeRSSIa4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 38), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa4.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa4.setDescription("Station's elapsed time since last Probe Request on IAP a4 (milliseconds)")
stationAssocTimeRSSIa5 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 39), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa5.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa5.setDescription("Station's elapsed time since last Probe Request on IAP a5 (milliseconds)")
stationAssocTimeRSSIa6 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 40), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa6.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa6.setDescription("Station's elapsed time since last Probe Request on IAP a6 (milliseconds)")
stationAssocTimeRSSIa7 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 41), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa7.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa7.setDescription("Station's elapsed time since last Probe Request on IAP a7 (milliseconds)")
stationAssocTimeRSSIa8 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 42), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa8.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa8.setDescription("Station's elapsed time since last Probe Request on IAP a8 (milliseconds)")
stationAssocTimeRSSIa9 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 43), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa9.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa9.setDescription("Station's elapsed time since last Probe Request on IAP a9 (milliseconds)")
stationAssocTimeRSSIa10 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 44), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa10.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa10.setDescription("Station's elapsed time since last Probe Request on IAP a10 (milliseconds)")
stationAssocTimeRSSIa11 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 45), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa11.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa11.setDescription("Station's elapsed time since last Probe Request on IAP a11 (milliseconds)")
stationAssocTimeRSSIa12 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 46), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIa12.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIa12.setDescription("Station's elapsed time since last Probe Request on IAP a12 (milliseconds)")
stationAssocTimeRSSIabg1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 47), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIabg1.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIabg1.setDescription("Station's elapsed time since last Probe Request on IAP abg1 (milliseconds)")
stationAssocTimeRSSIabg2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 48), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIabg2.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIabg2.setDescription("Station's elapsed time since last Probe Request on IAP abg2 (milliseconds)")
stationAssocTimeRSSIabg3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 49), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIabg3.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIabg3.setDescription("Station's elapsed time since last Probe Request on IAP abg3 (milliseconds)")
stationAssocTimeRSSIabg4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 50), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocTimeRSSIabg4.setStatus('current')
if mibBuilder.loadTexts: stationAssocTimeRSSIabg4.setDescription("Station's elapsed time since last Probe Request on IAP abg4 (milliseconds)")
stationAssocHostname = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 51), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocHostname.setStatus('current')
if mibBuilder.loadTexts: stationAssocHostname.setDescription('Station hostname')
stationAssocDeviceType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 52), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocDeviceType.setStatus('current')
if mibBuilder.loadTexts: stationAssocDeviceType.setDescription('Station device type')
stationAssocDeviceClass = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 53), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocDeviceClass.setStatus('current')
if mibBuilder.loadTexts: stationAssocDeviceClass.setDescription('Station device class')
stationAssocUserAgent = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 54), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocUserAgent.setStatus('current')
if mibBuilder.loadTexts: stationAssocUserAgent.setDescription('User-agent string')
stationAssocDeviceSource = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 55), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("none", 0), ("manufacturer", 1), ("netbios-name", 2), ("dhcp-hostname", 3), ("user-agent-string", 4), ("internal-rules", 5), ("external-rules", 6), ("cache", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocDeviceSource.setStatus('current')
if mibBuilder.loadTexts: stationAssocDeviceSource.setDescription('Station device source')
stationAssocDeviceSourceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 4, 1, 56), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAssocDeviceSourceIndex.setStatus('current')
if mibBuilder.loadTexts: stationAssocDeviceSourceIndex.setDescription('Station device source index')
stationUnassocTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5), )
if mibBuilder.loadTexts: stationUnassocTable.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTable.setDescription('Table of unassociated stations (indexed by station MAC address)')
stationUnassocEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "stationUnassocMACAddress"))
if mibBuilder.loadTexts: stationUnassocEntry.setStatus('current')
if mibBuilder.loadTexts: stationUnassocEntry.setDescription('Table entry for unassociated station')
stationUnassocMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocMACAddress.setStatus('current')
if mibBuilder.loadTexts: stationUnassocMACAddress.setDescription('MAC address of the station')
stationUnassocManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocManufacturer.setStatus('current')
if mibBuilder.loadTexts: stationUnassocManufacturer.setDescription("Manufacturer of the station's network card")
stationUnassocNetbiosName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocNetbiosName.setStatus('current')
if mibBuilder.loadTexts: stationUnassocNetbiosName.setDescription('Netbios name of the station')
stationUnassocMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17))).clone(namedValues=NamedValues(("dot11b", 1), ("dot11bg", 2), ("dot11abg", 3), ("dot11a", 4), ("dot11ab", 5), ("dot11ag", 6), ("dot11g", 7), ("dot11n", 8), ("dot11bn", 9), ("dot11gn", 10), ("dot11bgn", 11), ("dot11an", 12), ("dot11abn", 13), ("dot11agn", 14), ("dot11abgn", 15), ("dot11anac", 16), ("dot11abgnac", 17)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocMediaType.setStatus('current')
if mibBuilder.loadTexts: stationUnassocMediaType.setDescription('Station media type')
stationUnassocTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTxRate.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTxRate.setDescription('Tx rate of the station')
stationUnassocRxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRxRate.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRxRate.setDescription('Rx rate of the station')
stationUnassocRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSI.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSI.setDescription("Station's RSSI (last packet received)")
stationUnassocTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTime.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTime.setDescription('Time (in seconds) since Rx')
stationUnassocRSSIa1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa1.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa1.setDescription("Station's RSSI for last Probe Request on IAP a1")
stationUnassocRSSIa2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa2.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa2.setDescription("Station's RSSI for last Probe Request on IAP a2")
stationUnassocRSSIa3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa3.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa3.setDescription("Station's RSSI for last Probe Request on IAP a3")
stationUnassocRSSIa4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa4.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa4.setDescription("Station's RSSI for last Probe Request on IAP a4")
stationUnassocRSSIa5 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa5.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa5.setDescription("Station's RSSI for last Probe Request on IAP a5")
stationUnassocRSSIa6 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa6.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa6.setDescription("Station's RSSI for last Probe Request on IAP a6")
stationUnassocRSSIa7 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa7.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa7.setDescription("Station's RSSI for last Probe Request on IAP a7")
stationUnassocRSSIa8 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa8.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa8.setDescription("Station's RSSI for last Probe Request on IAP a8")
stationUnassocRSSIa9 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 17), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa9.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa9.setDescription("Station's RSSI for last Probe Request on IAP a9")
stationUnassocRSSIa10 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa10.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa10.setDescription("Station's RSSI for last Probe Request on IAP a10")
stationUnassocRSSIa11 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa11.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa11.setDescription("Station's RSSI for last Probe Request on IAP a11")
stationUnassocRSSIa12 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIa12.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIa12.setDescription("Station's RSSI for last Probe Request on IAP a12")
stationUnassocRSSIabg1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIabg1.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIabg1.setDescription("Station's RSSI for last Probe Request on IAP abg1")
stationUnassocRSSIabg2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIabg2.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIabg2.setDescription("Station's RSSI for last Probe Request on IAP abg2")
stationUnassocRSSIabg3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 23), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIabg3.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIabg3.setDescription("Station's RSSI for last Probe Request on IAP abg3")
stationUnassocRSSIabg4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocRSSIabg4.setStatus('current')
if mibBuilder.loadTexts: stationUnassocRSSIabg4.setDescription("Station's RSSI for last Probe Request on IAP abg4")
stationUnassocTimeRSSIa1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa1.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa1.setDescription("Station's elapsed time since last Probe Request on IAP a1 (milliseconds)")
stationUnassocTimeRSSIa2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa2.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa2.setDescription("Station's elapsed time since last Probe Request on IAP a2 (milliseconds)")
stationUnassocTimeRSSIa3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 27), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa3.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa3.setDescription("Station's elapsed time since last Probe Request on IAP a3 (milliseconds)")
stationUnassocTimeRSSIa4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 28), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa4.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa4.setDescription("Station's elapsed time since last Probe Request on IAP a4 (milliseconds)")
stationUnassocTimeRSSIa5 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 29), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa5.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa5.setDescription("Station's elapsed time since last Probe Request on IAP a5 (milliseconds)")
stationUnassocTimeRSSIa6 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 30), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa6.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa6.setDescription("Station's elapsed time since last Probe Request on IAP a6 (milliseconds)")
stationUnassocTimeRSSIa7 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 31), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa7.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa7.setDescription("Station's elapsed time since last Probe Request on IAP a7 (milliseconds)")
stationUnassocTimeRSSIa8 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 32), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa8.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa8.setDescription("Station's elapsed time since last Probe Request on IAP a8 (milliseconds)")
stationUnassocTimeRSSIa9 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 33), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa9.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa9.setDescription("Station's elapsed time since last Probe Request on IAP a9 (milliseconds)")
stationUnassocTimeRSSIa10 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 34), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa10.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa10.setDescription("Station's elapsed time since last Probe Request on IAP a10 (milliseconds)")
stationUnassocTimeRSSIa11 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 35), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa11.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa11.setDescription("Station's elapsed time since last Probe Request on IAP a11 (milliseconds)")
stationUnassocTimeRSSIa12 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 36), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIa12.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIa12.setDescription("Station's elapsed time since last Probe Request on IAP a12 (milliseconds)")
stationUnassocTimeRSSIabg1 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 37), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIabg1.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIabg1.setDescription("Station's elapsed time since last Probe Request on IAP abg1 (milliseconds)")
stationUnassocTimeRSSIabg2 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 38), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIabg2.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIabg2.setDescription("Station's elapsed time since last Probe Request on IAP abg2 (milliseconds)")
stationUnassocTimeRSSIabg3 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 39), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIabg3.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIabg3.setDescription("Station's elapsed time since last Probe Request on IAP abg3 (milliseconds)")
stationUnassocTimeRSSIabg4 = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 5, 1, 40), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationUnassocTimeRSSIabg4.setStatus('current')
if mibBuilder.loadTexts: stationUnassocTimeRSSIabg4.setDescription("Station's elapsed time since last Probe Request on IAP abg4 (milliseconds)")
stationAssurance = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6))
stationAssuranceEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssuranceEnable.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceEnable.setDescription('Enable/disable station assurance')
stationAssurancePeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 9999))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssurancePeriod.setStatus('current')
if mibBuilder.loadTexts: stationAssurancePeriod.setDescription('Station assurance check period (in seconds)')
stationAssuranceAssocTime = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 999))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssuranceAssocTime.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceAssocTime.setDescription('Minimum average associated time (in seconds)')
stationAssuranceAuthFailures = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssuranceAuthFailures.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceAuthFailures.setDescription('Maximum number of authentication failures')
stationAssuranceErrorRate = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssuranceErrorRate.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceErrorRate.setDescription('Maximum packet error rate (as a percentage)')
stationAssuranceRetryRate = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssuranceRetryRate.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceRetryRate.setDescription('Maximum packet retry rate (as a percentage)')
stationAssuranceDataRate = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 99))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssuranceDataRate.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceDataRate.setDescription('Minimum packet data rate (in Mbps)')
stationAssuranceRSSI = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-90, -50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssuranceRSSI.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceRSSI.setDescription('Minimum received signal strength (in dB)')
stationAssuranceSNR = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 25))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssuranceSNR.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceSNR.setDescription('Minimum signal to noise ratio (in dB)')
stationAssuranceDistance = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 9999))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssuranceDistance.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceDistance.setDescription('Maximum distance from array (in feet)')
stationAssuranceTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11), )
if mibBuilder.loadTexts: stationAssuranceTable.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceTable.setDescription('Station assurance table')
stationAssuranceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "staAssuranceIndex"))
if mibBuilder.loadTexts: stationAssuranceEntry.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceEntry.setDescription('Station assurance table entry')
staAssuranceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 1), Integer32())
if mibBuilder.loadTexts: staAssuranceIndex.setStatus('current')
if mibBuilder.loadTexts: staAssuranceIndex.setDescription('Station assurance index')
staAssuranceMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceMACAddress.setStatus('current')
if mibBuilder.loadTexts: staAssuranceMACAddress.setDescription('Station MAC address')
staAssuranceIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceIPAddress.setStatus('current')
if mibBuilder.loadTexts: staAssuranceIPAddress.setDescription('Station IP Address')
staAssuranceNetbiosName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceNetbiosName.setStatus('current')
if mibBuilder.loadTexts: staAssuranceNetbiosName.setDescription('Station netbios name')
staAssuranceManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceManufacturer.setStatus('current')
if mibBuilder.loadTexts: staAssuranceManufacturer.setDescription("Manufacturer of the station's network card")
staAssuranceTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceTime.setStatus('current')
if mibBuilder.loadTexts: staAssuranceTime.setDescription('Last alarm time')
staAssuranceTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssuranceTimestamp.setDescription('Last alarm time (in seconds)')
staAssuranceAssocTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceAssocTime.setStatus('current')
if mibBuilder.loadTexts: staAssuranceAssocTime.setDescription('Associated time')
staAssuranceAuthFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceAuthFailures.setStatus('current')
if mibBuilder.loadTexts: staAssuranceAuthFailures.setDescription('Number of authentication failures')
staAssuranceErrorRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceErrorRate.setStatus('current')
if mibBuilder.loadTexts: staAssuranceErrorRate.setDescription('Packet error rate')
staAssuranceRetryRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceRetryRate.setStatus('current')
if mibBuilder.loadTexts: staAssuranceRetryRate.setDescription('Packet retry rate')
staAssuranceDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceDataRate.setStatus('current')
if mibBuilder.loadTexts: staAssuranceDataRate.setDescription('Packet data rate')
staAssuranceRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceRSSI.setStatus('current')
if mibBuilder.loadTexts: staAssuranceRSSI.setDescription('Received signal strength')
staAssuranceSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceSNR.setStatus('current')
if mibBuilder.loadTexts: staAssuranceSNR.setDescription('Signal to noise ratio')
staAssuranceDistance = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceDistance.setStatus('current')
if mibBuilder.loadTexts: staAssuranceDistance.setDescription('Distance from array')
staAssuranceDeviceType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 16), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceDeviceType.setStatus('current')
if mibBuilder.loadTexts: staAssuranceDeviceType.setDescription('Station device type')
staAssuranceDeviceClass = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 17), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceDeviceClass.setStatus('current')
if mibBuilder.loadTexts: staAssuranceDeviceClass.setDescription('Station device class')
staAssuranceActiveAlarmTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceActiveAlarmTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssuranceActiveAlarmTimestamp.setDescription('Last active alarm time (in seconds)')
staAssuranceActiveAlarmType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("none", 0), ("assoc-time", 1), ("auth-fails", 2), ("error-rate", 3), ("retry-rate", 4), ("data-rate", 5), ("rssi", 6), ("snr", 7), ("distance", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceActiveAlarmType.setStatus('current')
if mibBuilder.loadTexts: staAssuranceActiveAlarmType.setDescription('Last active alarm type')
staAssuranceAssocTimeTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceAssocTimeTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssuranceAssocTimeTimestamp.setDescription('Last associated time alarm time (in seconds)')
staAssuranceAuthFailuresTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceAuthFailuresTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssuranceAuthFailuresTimestamp.setDescription('Last authentication failures alarm time (in seconds)')
staAssuranceErrorRateTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceErrorRateTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssuranceErrorRateTimestamp.setDescription('Last packet error rate alarm time (in seconds)')
staAssuranceRetryRateTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceRetryRateTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssuranceRetryRateTimestamp.setDescription('Last packet retry rate alarm time (in seconds)')
staAssuranceDataRateTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceDataRateTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssuranceDataRateTimestamp.setDescription('Last packet data rate alarm time (in seconds)')
staAssuranceRSSITimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceRSSITimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssuranceRSSITimestamp.setDescription('Last RSSI alarm time (in seconds)')
staAssuranceSNRTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceSNRTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssuranceSNRTimestamp.setDescription('Last SNR alarm time (in seconds)')
staAssuranceDistanceTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 27), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceDistanceTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssuranceDistanceTimestamp.setDescription('Last distance alarm time (in seconds)')
staAssuranceAssocTimeActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceAssocTimeActive.setStatus('current')
if mibBuilder.loadTexts: staAssuranceAssocTimeActive.setDescription('Flag indicating whether associated time alarm is currently active')
staAssuranceAuthFailuresActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceAuthFailuresActive.setStatus('current')
if mibBuilder.loadTexts: staAssuranceAuthFailuresActive.setDescription('Flag indicating whether authentication failures alarm is currently active')
staAssuranceErrorRateActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceErrorRateActive.setStatus('current')
if mibBuilder.loadTexts: staAssuranceErrorRateActive.setDescription('Flag indicating whether error rate alarm is currently active')
staAssuranceRetryRateActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceRetryRateActive.setStatus('current')
if mibBuilder.loadTexts: staAssuranceRetryRateActive.setDescription('Flag indicating whether retry rate alarm is currently active')
staAssuranceDataRateActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceDataRateActive.setStatus('current')
if mibBuilder.loadTexts: staAssuranceDataRateActive.setDescription('Flag indicating whether data rate alarm is currently active')
staAssuranceRSSIActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceRSSIActive.setStatus('current')
if mibBuilder.loadTexts: staAssuranceRSSIActive.setDescription('Flag indicating whether RSSI alarm is currently active')
staAssuranceSNRActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceSNRActive.setStatus('current')
if mibBuilder.loadTexts: staAssuranceSNRActive.setDescription('Flag indicating whether SNR alarm is currently active')
staAssuranceDistanceActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceDistanceActive.setStatus('current')
if mibBuilder.loadTexts: staAssuranceDistanceActive.setDescription('Flag indicating whether distance alarm is currently active')
staAssuranceAlarmType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 11, 1, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("none", 0), ("assoc-time", 1), ("auth-fails", 2), ("error-rate", 3), ("retry-rate", 4), ("data-rate", 5), ("rssi", 6), ("snr", 7), ("distance", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssuranceAlarmType.setStatus('current')
if mibBuilder.loadTexts: staAssuranceAlarmType.setDescription('Last alarm type')
stationAssurTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12), )
if mibBuilder.loadTexts: stationAssurTable.setStatus('current')
if mibBuilder.loadTexts: stationAssurTable.setDescription('Station assurance table (indexed by station MAC address)')
stationAssurEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "staAssurMACAddress"))
if mibBuilder.loadTexts: stationAssurEntry.setStatus('current')
if mibBuilder.loadTexts: stationAssurEntry.setDescription('Station assurance table entry')
staAssurMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurMACAddress.setStatus('current')
if mibBuilder.loadTexts: staAssurMACAddress.setDescription('Station MAC address')
staAssurIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurIPAddress.setStatus('current')
if mibBuilder.loadTexts: staAssurIPAddress.setDescription('Station IP Address')
staAssurNetbiosName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurNetbiosName.setStatus('current')
if mibBuilder.loadTexts: staAssurNetbiosName.setDescription('Station netbios name')
staAssurManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurManufacturer.setStatus('current')
if mibBuilder.loadTexts: staAssurManufacturer.setDescription("Manufacturer of the station's network card")
staAssurTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurTime.setStatus('current')
if mibBuilder.loadTexts: staAssurTime.setDescription('Last alarm time')
staAssurTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssurTimestamp.setDescription('Last alarm time (in seconds)')
staAssurAssocTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurAssocTime.setStatus('current')
if mibBuilder.loadTexts: staAssurAssocTime.setDescription('Associated time')
staAssurAuthFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurAuthFailures.setStatus('current')
if mibBuilder.loadTexts: staAssurAuthFailures.setDescription('Number of authentication failures')
staAssurErrorRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurErrorRate.setStatus('current')
if mibBuilder.loadTexts: staAssurErrorRate.setDescription('Packet error rate')
staAssurRetryRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurRetryRate.setStatus('current')
if mibBuilder.loadTexts: staAssurRetryRate.setDescription('Packet retry rate')
staAssurDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurDataRate.setStatus('current')
if mibBuilder.loadTexts: staAssurDataRate.setDescription('Packet data rate')
staAssurRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurRSSI.setStatus('current')
if mibBuilder.loadTexts: staAssurRSSI.setDescription('Received signal strength')
staAssurSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurSNR.setStatus('current')
if mibBuilder.loadTexts: staAssurSNR.setDescription('Signal to noise ratio')
staAssurDistance = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurDistance.setStatus('current')
if mibBuilder.loadTexts: staAssurDistance.setDescription('Distance from array')
staAssurDeviceType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 15), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurDeviceType.setStatus('current')
if mibBuilder.loadTexts: staAssurDeviceType.setDescription('Station device type')
staAssurDeviceClass = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 16), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurDeviceClass.setStatus('current')
if mibBuilder.loadTexts: staAssurDeviceClass.setDescription('Station device class')
staAssurActiveAlarmTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurActiveAlarmTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssurActiveAlarmTimestamp.setDescription('Last active alarm time (in seconds)')
staAssurActiveAlarmType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("none", 0), ("assoc-time", 1), ("auth-fails", 2), ("error-rate", 3), ("retry-rate", 4), ("data-rate", 5), ("rssi", 6), ("snr", 7), ("distance", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurActiveAlarmType.setStatus('current')
if mibBuilder.loadTexts: staAssurActiveAlarmType.setDescription('Last active alarm type')
staAssurAssocTimeTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurAssocTimeTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssurAssocTimeTimestamp.setDescription('Last associated time alarm time (in seconds)')
staAssurAuthFailuresTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurAuthFailuresTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssurAuthFailuresTimestamp.setDescription('Last authentication failures alarm time (in seconds)')
staAssurErrorRateTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurErrorRateTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssurErrorRateTimestamp.setDescription('Last packet error rate alarm time (in seconds)')
staAssurRetryRateTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurRetryRateTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssurRetryRateTimestamp.setDescription('Last packet retry rate alarm time (in seconds)')
staAssurDataRateTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurDataRateTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssurDataRateTimestamp.setDescription('Last packet data rate alarm time (in seconds)')
staAssurRSSITimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurRSSITimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssurRSSITimestamp.setDescription('Last RSSI alarm time (in seconds)')
staAssurSNRTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurSNRTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssurSNRTimestamp.setDescription('Last SNR alarm time (in seconds)')
staAssurDistanceTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurDistanceTimestamp.setStatus('current')
if mibBuilder.loadTexts: staAssurDistanceTimestamp.setDescription('Last distance alarm time (in seconds)')
staAssurAssocTimeActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurAssocTimeActive.setStatus('current')
if mibBuilder.loadTexts: staAssurAssocTimeActive.setDescription('Flag indicating whether associated time alarm is currently active')
staAssurAuthFailuresActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurAuthFailuresActive.setStatus('current')
if mibBuilder.loadTexts: staAssurAuthFailuresActive.setDescription('Flag indicating whether authentication failures alarm is currently active')
staAssurErrorRateActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurErrorRateActive.setStatus('current')
if mibBuilder.loadTexts: staAssurErrorRateActive.setDescription('Flag indicating whether error rate alarm is currently active')
staAssurRetryRateActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurRetryRateActive.setStatus('current')
if mibBuilder.loadTexts: staAssurRetryRateActive.setDescription('Flag indicating whether retry rate alarm is currently active')
staAssurDataRateActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurDataRateActive.setStatus('current')
if mibBuilder.loadTexts: staAssurDataRateActive.setDescription('Flag indicating whether data rate alarm is currently active')
staAssurRSSIActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurRSSIActive.setStatus('current')
if mibBuilder.loadTexts: staAssurRSSIActive.setDescription('Flag indicating whether RSSI alarm is currently active')
staAssurSNRActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurSNRActive.setStatus('current')
if mibBuilder.loadTexts: staAssurSNRActive.setDescription('Flag indicating whether SNR alarm is currently active')
staAssurDistanceActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurDistanceActive.setStatus('current')
if mibBuilder.loadTexts: staAssurDistanceActive.setDescription('Flag indicating whether distance alarm is currently active')
staAssurAlarmType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 12, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("none", 0), ("assoc-time", 1), ("auth-fails", 2), ("error-rate", 3), ("retry-rate", 4), ("data-rate", 5), ("rssi", 6), ("snr", 7), ("distance", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: staAssurAlarmType.setStatus('current')
if mibBuilder.loadTexts: staAssurAlarmType.setDescription('Last alarm type')
stationAssuranceTableClear = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("history", 0), ("all", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssuranceTableClear.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceTableClear.setDescription('Clear station assurance table information')
stationAssuranceTablePeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 6, 14), Counter32().subtype(subtypeSpec=ValueRangeConstraint(0, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAssuranceTablePeriod.setStatus('current')
if mibBuilder.loadTexts: stationAssuranceTablePeriod.setDescription('Specify period for station assurance table entries (in seconds, 0 - all table entries)')
stationUnassociatedTablePeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 22, 7), Counter32().subtype(subtypeSpec=ValueRangeConstraint(0, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationUnassociatedTablePeriod.setStatus('current')
if mibBuilder.loadTexts: stationUnassociatedTablePeriod.setDescription('Specify period for unassociated station table entries (in seconds, 0 - all table entries)')
ethStatsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1), )
if mibBuilder.loadTexts: ethStatsTable.setStatus('current')
if mibBuilder.loadTexts: ethStatsTable.setDescription('Table of ethernet statistics')
ethStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "ethStatsIndex"))
if mibBuilder.loadTexts: ethStatsEntry.setStatus('current')
if mibBuilder.loadTexts: ethStatsEntry.setDescription('Table entry for ethernet statistics')
ethStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: ethStatsIndex.setStatus('current')
if mibBuilder.loadTexts: ethStatsIndex.setDescription('Ethernet statistics index')
ethStatsIfaceName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsIfaceName.setStatus('current')
if mibBuilder.loadTexts: ethStatsIfaceName.setDescription('Interface name')
ethStatsIfaceStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsIfaceStatus.setStatus('current')
if mibBuilder.loadTexts: ethStatsIfaceStatus.setDescription('Interface status')
ethStatsIfaceLink = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("down", 0), ("up", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsIfaceLink.setStatus('current')
if mibBuilder.loadTexts: ethStatsIfaceLink.setDescription('Interface link status')
ethStatsIfaceDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("half", 0), ("full", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsIfaceDuplex.setStatus('current')
if mibBuilder.loadTexts: ethStatsIfaceDuplex.setDescription('Interface duplex')
ethStatsIfaceSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsIfaceSpeed.setStatus('current')
if mibBuilder.loadTexts: ethStatsIfaceSpeed.setDescription('Interface speed')
ethStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsRxBytes.setStatus('current')
if mibBuilder.loadTexts: ethStatsRxBytes.setDescription('Bytes received')
ethStatsRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 8), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsRxPackets.setStatus('current')
if mibBuilder.loadTexts: ethStatsRxPackets.setDescription('Packets received')
ethStatsRxCompressed = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 9), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsRxCompressed.setStatus('current')
if mibBuilder.loadTexts: ethStatsRxCompressed.setDescription('Compressed packets received')
ethStatsRxMulticast = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 10), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsRxMulticast.setStatus('current')
if mibBuilder.loadTexts: ethStatsRxMulticast.setDescription('Multicast packets received')
ethStatsRxDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsRxDropped.setStatus('current')
if mibBuilder.loadTexts: ethStatsRxDropped.setDescription('Rx dropped packets')
ethStatsRxFifoErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 12), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsRxFifoErrors.setStatus('current')
if mibBuilder.loadTexts: ethStatsRxFifoErrors.setDescription('Rx fifo errors')
ethStatsRxFrameErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 13), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsRxFrameErrors.setStatus('current')
if mibBuilder.loadTexts: ethStatsRxFrameErrors.setDescription('Rx frame errors')
ethStatsRxTotalErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 14), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsRxTotalErrors.setStatus('current')
if mibBuilder.loadTexts: ethStatsRxTotalErrors.setDescription('Rx total errors')
ethStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 15), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsTxBytes.setStatus('current')
if mibBuilder.loadTexts: ethStatsTxBytes.setDescription('Bytes transmitted')
ethStatsTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 16), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsTxPackets.setStatus('current')
if mibBuilder.loadTexts: ethStatsTxPackets.setDescription('Packets transmitted')
ethStatsTxCompressed = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 17), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsTxCompressed.setStatus('current')
if mibBuilder.loadTexts: ethStatsTxCompressed.setDescription('Compressed packets transmitted')
ethStatsTxCarrierErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 18), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsTxCarrierErrors.setStatus('current')
if mibBuilder.loadTexts: ethStatsTxCarrierErrors.setDescription('Tx carrier errors')
ethStatsTxDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 19), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsTxDropped.setStatus('current')
if mibBuilder.loadTexts: ethStatsTxDropped.setDescription('Tx dropped packets')
ethStatsTxFifoErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 20), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsTxFifoErrors.setStatus('current')
if mibBuilder.loadTexts: ethStatsTxFifoErrors.setDescription('Tx fifo errors')
ethStatsTxCollisions = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 21), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsTxCollisions.setStatus('current')
if mibBuilder.loadTexts: ethStatsTxCollisions.setDescription('Tx collisions')
ethStatsTxTotalErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 22), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsTxTotalErrors.setStatus('current')
if mibBuilder.loadTexts: ethStatsTxTotalErrors.setDescription('Tx total errors')
ethStatsTimePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 1, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ethStatsTimePeriod.setStatus('current')
if mibBuilder.loadTexts: ethStatsTimePeriod.setDescription('Time period over which stats were collected')
iapStatsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2), )
if mibBuilder.loadTexts: iapStatsTable.setStatus('current')
if mibBuilder.loadTexts: iapStatsTable.setDescription('Table of IAP statistics')
iapStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "iapStatsIndex"))
if mibBuilder.loadTexts: iapStatsEntry.setStatus('current')
if mibBuilder.loadTexts: iapStatsEntry.setDescription('Table entry for IAP statistics')
iapStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: iapStatsIndex.setStatus('current')
if mibBuilder.loadTexts: iapStatsIndex.setDescription('IAP statistics index')
iapStatsIfaceName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsIfaceName.setStatus('current')
if mibBuilder.loadTexts: iapStatsIfaceName.setDescription('Interface name')
iapStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 3), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxBytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxBytes.setDescription('Bytes received')
iapStatsRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxPackets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxPackets.setDescription('Packets received')
iapStatsRxUnicast = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxUnicast.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxUnicast.setDescription('Unicast packets received')
iapStatsRxMulticast = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxMulticast.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxMulticast.setDescription('Multicast packets received')
iapStatsRxBroadcast = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxBroadcast.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxBroadcast.setDescription('Broadcast packets received')
iapStatsRxManagement = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 8), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxManagement.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxManagement.setDescription('Management packets received')
iapStatsRxBeacons = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 9), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxBeacons.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxBeacons.setDescription('Beacons received')
iapStatsRxRTS = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 10), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRTS.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRTS.setDescription('RTS packets received')
iapStatsRxCTS = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxCTS.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxCTS.setDescription('CTS packets received')
iapStatsRxFragments = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 12), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxFragments.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxFragments.setDescription('Fragments received')
iapStatsRxTotalErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 13), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxTotalErrors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxTotalErrors.setDescription('Rx total errors')
iapStatsRxTotalRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 14), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxTotalRetries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxTotalRetries.setDescription('Rx total retries')
iapStatsRxDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 15), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxDropped.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxDropped.setDescription('Rx dropped packets')
iapStatsRxUnassociated = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 16), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxUnassociated.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxUnassociated.setDescription('Rx packets from unassociated stations')
iapStatsRxCRCErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 17), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxCRCErrors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxCRCErrors.setDescription('Rx CRC errors')
iapStatsRxFragErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 18), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxFragErrors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxFragErrors.setDescription('Rx fragment errors')
iapStatsRxEncErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 19), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxEncErrors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxEncErrors.setDescription('Rx encryption errors')
iapStatsRxOverruns = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 20), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxOverruns.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxOverruns.setDescription('Rx overruns')
iapStatsRxDuplicates = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 21), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxDuplicates.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxDuplicates.setDescription('Rx duplicates')
iapStatsRxRate1Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 22), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate1Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate1Bytes.setDescription('Bytes received at rate 1Mbps')
iapStatsRxRate1Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 23), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate1Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate1Packets.setDescription('Packets received at rate 1Mbps')
iapStatsRxRate1Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 24), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate1Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate1Errors.setDescription('Rx errors at rate 1Mbps')
iapStatsRxRate1Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 25), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate1Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate1Retries.setDescription('Rx retries at rate 1Mbps')
iapStatsRxRate2Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 26), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate2Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate2Bytes.setDescription('Bytes received at rate 2Mbps')
iapStatsRxRate2Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 27), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate2Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate2Packets.setDescription('Packets received at rate 2Mbps')
iapStatsRxRate2Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 28), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate2Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate2Errors.setDescription('Rx errors at rate 2Mbps')
iapStatsRxRate2Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 29), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate2Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate2Retries.setDescription('Rx retries at rate 2Mbps')
iapStatsRxRate5Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 30), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate5Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate5Bytes.setDescription('Bytes received at rate 5.5Mbps')
iapStatsRxRate5Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 31), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate5Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate5Packets.setDescription('Packets received at rate 5.5Mbps')
iapStatsRxRate5Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 32), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate5Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate5Errors.setDescription('Rx errors at rate 5.5Mbps')
iapStatsRxRate5Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 33), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate5Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate5Retries.setDescription('Rx retries at rate 5.5Mbps')
iapStatsRxRate11Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 34), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate11Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate11Bytes.setDescription('Bytes received at rate 11Mbps')
iapStatsRxRate11Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 35), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate11Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate11Packets.setDescription('Packets received at rate 11Mbps')
iapStatsRxRate11Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 36), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate11Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate11Errors.setDescription('Rx errors at rate 11Mbps')
iapStatsRxRate11Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 37), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate11Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate11Retries.setDescription('Rx retries at rate 11Mbps')
iapStatsRxRate6Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 38), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate6Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate6Bytes.setDescription('Bytes received at rate 6Mbps')
iapStatsRxRate6Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 39), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate6Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate6Packets.setDescription('Packets received at rate 6Mbps')
iapStatsRxRate6Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 40), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate6Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate6Errors.setDescription('Rx errors at rate 6Mbps')
iapStatsRxRate6Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 41), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate6Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate6Retries.setDescription('Rx retries at rate 6Mbps')
iapStatsRxRate9Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 42), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate9Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate9Bytes.setDescription('Bytes received at rate 9Mbps')
iapStatsRxRate9Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 43), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate9Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate9Packets.setDescription('Packets received at rate 9Mbps')
iapStatsRxRate9Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 44), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate9Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate9Errors.setDescription('Rx errors at rate 9Mbps')
iapStatsRxRate9Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 45), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate9Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate9Retries.setDescription('Rx retries at rate 9Mbps')
iapStatsRxRate12Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 46), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate12Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate12Bytes.setDescription('Bytes received at rate 12Mbps')
iapStatsRxRate12Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 47), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate12Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate12Packets.setDescription('Packets received at rate 12Mbps')
iapStatsRxRate12Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 48), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate12Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate12Errors.setDescription('Rx errors at rate 12Mbps')
iapStatsRxRate12Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 49), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate12Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate12Retries.setDescription('Rx retries at rate 12Mbps')
iapStatsRxRate18Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 50), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate18Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate18Bytes.setDescription('Bytes received at rate 18Mbps')
iapStatsRxRate18Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 51), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate18Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate18Packets.setDescription('Packets received at rate 18Mbps')
iapStatsRxRate18Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 52), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate18Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate18Errors.setDescription('Rx errors at rate 18Mbps')
iapStatsRxRate18Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 53), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate18Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate18Retries.setDescription('Rx retries at rate 18Mbps')
iapStatsRxRate24Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 54), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate24Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate24Bytes.setDescription('Bytes received at rate 24Mbps')
iapStatsRxRate24Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 55), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate24Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate24Packets.setDescription('Packets received at rate 24Mbps')
iapStatsRxRate24Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 56), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate24Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate24Errors.setDescription('Rx errors at rate 24Mbps')
iapStatsRxRate24Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 57), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate24Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate24Retries.setDescription('Rx retries at rate 24Mbps')
iapStatsRxRate36Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 58), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate36Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate36Bytes.setDescription('Bytes received at rate 36Mbps')
iapStatsRxRate36Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 59), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate36Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate36Packets.setDescription('Packets received at rate 36Mbps')
iapStatsRxRate36Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 60), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate36Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate36Errors.setDescription('Rx errors at rate 36Mbps')
iapStatsRxRate36Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 61), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate36Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate36Retries.setDescription('Rx retries at rate 36Mbps')
iapStatsRxRate48Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 62), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate48Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate48Bytes.setDescription('Bytes received at rate 48Mbps')
iapStatsRxRate48Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 63), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate48Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate48Packets.setDescription('Packets received at rate 48Mbps')
iapStatsRxRate48Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 64), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate48Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate48Errors.setDescription('Rx errors at rate 48Mbps')
iapStatsRxRate48Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 65), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate48Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate48Retries.setDescription('Rx retries at rate 48Mbps')
iapStatsRxRate54Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 66), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate54Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate54Bytes.setDescription('Bytes received at rate 54Mbps')
iapStatsRxRate54Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 67), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate54Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate54Packets.setDescription('Packets received at rate 54Mbps')
iapStatsRxRate54Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 68), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate54Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate54Errors.setDescription('Rx errors at rate 54Mbps')
iapStatsRxRate54Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 69), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsRxRate54Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsRxRate54Retries.setDescription('Rx retries at rate 54Mbps')
iapStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 70), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxBytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxBytes.setDescription('Bytes transmitted')
iapStatsTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 71), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxPackets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxPackets.setDescription('Packets transmitted')
iapStatsTxUnicast = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 72), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxUnicast.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxUnicast.setDescription('Unicast packets transmitted')
iapStatsTxMulticast = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 73), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxMulticast.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxMulticast.setDescription('Multicast packets transmitted')
iapStatsTxBroadcast = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 74), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxBroadcast.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxBroadcast.setDescription('Broadcast packets transmitted')
iapStatsTxManagement = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 75), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxManagement.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxManagement.setDescription('Management packets transmitted')
iapStatsTxBeacons = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 76), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxBeacons.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxBeacons.setDescription('Beacons transmitted')
iapStatsTxRTS = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 77), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRTS.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRTS.setDescription('RTS packets transmitted')
iapStatsTxCTS = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 78), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxCTS.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxCTS.setDescription('CTS packets transmitted')
iapStatsTxFragments = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 79), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxFragments.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxFragments.setDescription('Fragments transmitted')
iapStatsTxTotalErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 80), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxTotalErrors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxTotalErrors.setDescription('Tx total errors')
iapStatsTxTotalRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 81), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxTotalRetries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxTotalRetries.setDescription('Tx total retries')
iapStatsTxDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 82), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxDropped.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxDropped.setDescription('Tx dropped packets')
iapStatsTxUnassociated = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 83), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxUnassociated.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxUnassociated.setDescription('Tx packets to unassociated stations')
iapStatsTxACKFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 84), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxACKFailures.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxACKFailures.setDescription('Tx ACK failures')
iapStatsTxRTSFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 85), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRTSFailures.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRTSFailures.setDescription('Tx RTS failures')
iapStatsTxRTSRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 86), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRTSRetries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRTSRetries.setDescription('Tx RTS retries')
iapStatsTxSingleRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 87), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxSingleRetries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxSingleRetries.setDescription('Tx single retries')
iapStatsTxMultipleRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 88), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxMultipleRetries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxMultipleRetries.setDescription('Tx multiple retries')
iapStatsTxRate1Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 89), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate1Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate1Bytes.setDescription('Bytes transmitted at rate 1Mbps')
iapStatsTxRate1Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 90), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate1Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate1Packets.setDescription('Packets transmitted at rate 1Mbps')
iapStatsTxRate1Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 91), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate1Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate1Errors.setDescription('Tx errors at rate 1Mbps')
iapStatsTxRate1Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 92), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate1Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate1Retries.setDescription('Tx retries at rate 1Mbps')
iapStatsTxRate2Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 93), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate2Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate2Bytes.setDescription('Bytes transmitted at rate 2Mbps')
iapStatsTxRate2Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 94), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate2Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate2Packets.setDescription('Packets transmitted at rate 2Mbps')
iapStatsTxRate2Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 95), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate2Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate2Errors.setDescription('Tx errors at rate 2Mbps')
iapStatsTxRate2Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 96), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate2Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate2Retries.setDescription('Tx retries at rate 2Mbps')
iapStatsTxRate5Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 97), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate5Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate5Bytes.setDescription('Bytes transmitted at rate 5.5Mbps')
iapStatsTxRate5Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 98), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate5Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate5Packets.setDescription('Packets transmitted at rate 5.5Mbps')
iapStatsTxRate5Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 99), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate5Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate5Errors.setDescription('Tx errors at rate 5.5Mbps')
iapStatsTxRate5Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 100), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate5Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate5Retries.setDescription('Tx retries at rate 5.5Mbps')
iapStatsTxRate11Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 101), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate11Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate11Bytes.setDescription('Bytes transmitted at rate 11Mbps')
iapStatsTxRate11Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 102), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate11Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate11Packets.setDescription('Packets transmitted at rate 11Mbps')
iapStatsTxRate11Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 103), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate11Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate11Errors.setDescription('Tx errors at rate 11Mbps')
iapStatsTxRate11Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 104), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate11Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate11Retries.setDescription('Tx retries at rate 11Mbps')
iapStatsTxRate6Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 105), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate6Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate6Bytes.setDescription('Bytes transmitted at rate 6Mbps')
iapStatsTxRate6Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 106), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate6Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate6Packets.setDescription('Packets transmitted at rate 6Mbps')
iapStatsTxRate6Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 107), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate6Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate6Errors.setDescription('Tx errors at rate 6Mbps')
iapStatsTxRate6Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 108), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate6Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate6Retries.setDescription('Tx retries at rate 6Mbps')
iapStatsTxRate9Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 109), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate9Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate9Bytes.setDescription('Bytes transmitted at rate 9Mbps')
iapStatsTxRate9Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 110), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate9Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate9Packets.setDescription('Packets transmitted at rate 9Mbps')
iapStatsTxRate9Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 111), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate9Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate9Errors.setDescription('Tx errors at rate 9Mbps')
iapStatsTxRate9Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 112), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate9Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate9Retries.setDescription('Tx retries at rate 9Mbps')
iapStatsTxRate12Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 113), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate12Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate12Bytes.setDescription('Bytes transmitted at rate 12Mbps')
iapStatsTxRate12Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 114), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate12Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate12Packets.setDescription('Packets transmitted at rate 12Mbps')
iapStatsTxRate12Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 115), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate12Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate12Errors.setDescription('Tx errors at rate 12Mbps')
iapStatsTxRate12Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 116), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate12Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate12Retries.setDescription('Tx retries at rate 12Mbps')
iapStatsTxRate18Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 117), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate18Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate18Bytes.setDescription('Bytes transmitted at rate 18Mbps')
iapStatsTxRate18Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 118), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate18Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate18Packets.setDescription('Packets transmitted at rate 18Mbps')
iapStatsTxRate18Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 119), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate18Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate18Errors.setDescription('Tx errors at rate 18Mbps')
iapStatsTxRate18Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 120), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate18Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate18Retries.setDescription('Tx retries at rate 18Mbps')
iapStatsTxRate24Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 121), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate24Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate24Bytes.setDescription('Bytes transmitted at rate 24Mbps')
iapStatsTxRate24Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 122), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate24Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate24Packets.setDescription('Packets transmitted at rate 24Mbps')
iapStatsTxRate24Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 123), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate24Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate24Errors.setDescription('Tx errors at rate 24Mbps')
iapStatsTxRate24Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 124), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate24Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate24Retries.setDescription('Tx retries at rate 24Mbps')
iapStatsTxRate36Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 125), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate36Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate36Bytes.setDescription('Bytes transmitted at rate 36Mbps')
iapStatsTxRate36Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 126), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate36Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate36Packets.setDescription('Packets transmitted at rate 36Mbps')
iapStatsTxRate36Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 127), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate36Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate36Errors.setDescription('Tx errors at rate 36Mbps')
iapStatsTxRate36Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 128), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate36Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate36Retries.setDescription('Tx retries at rate 36Mbps')
iapStatsTxRate48Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 129), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate48Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate48Bytes.setDescription('Bytes transmitted at rate 48Mbps')
iapStatsTxRate48Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 130), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate48Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate48Packets.setDescription('Packets transmitted at rate 48Mbps')
iapStatsTxRate48Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 131), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate48Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate48Errors.setDescription('Tx errors at rate 48Mbps')
iapStatsTxRate48Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 132), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate48Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate48Retries.setDescription('Tx retries at rate 48Mbps')
iapStatsTxRate54Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 133), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate54Bytes.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate54Bytes.setDescription('Bytes transmitted at rate 54Mbps')
iapStatsTxRate54Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 134), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate54Packets.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate54Packets.setDescription('Packets transmitted at rate 54Mbps')
iapStatsTxRate54Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 135), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate54Errors.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate54Errors.setDescription('Tx errors at rate 54Mbps')
iapStatsTxRate54Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 136), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxRate54Retries.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxRate54Retries.setDescription('Tx retries at rate 54Mbps')
iapStatsTxUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 137), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTxUtilization.setStatus('current')
if mibBuilder.loadTexts: iapStatsTxUtilization.setDescription('Total mS during which IAP has been transmitting')
iapStatsNoiseTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 138), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsNoiseTotal.setStatus('current')
if mibBuilder.loadTexts: iapStatsNoiseTotal.setDescription('Total silence*bytes for all packets received by IAP')
iapStatsNoiseDenominator = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 139), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsNoiseDenominator.setStatus('current')
if mibBuilder.loadTexts: iapStatsNoiseDenominator.setDescription('Total bytes in all packets received by IAP')
iapStatsTimePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 2, 1, 140), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapStatsTimePeriod.setStatus('current')
if mibBuilder.loadTexts: iapStatsTimePeriod.setDescription('Time period over which stats were collected')
stationStatsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3), )
if mibBuilder.loadTexts: stationStatsTable.setStatus('current')
if mibBuilder.loadTexts: stationStatsTable.setDescription('Table of station statistics')
stationStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "stationStatsIndex"))
if mibBuilder.loadTexts: stationStatsEntry.setStatus('current')
if mibBuilder.loadTexts: stationStatsEntry.setDescription('Table entry for station statistics')
stationStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 1), Integer32())
if mibBuilder.loadTexts: stationStatsIndex.setStatus('current')
if mibBuilder.loadTexts: stationStatsIndex.setDescription('Station statistics index')
stationStatsMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsMACAddress.setStatus('current')
if mibBuilder.loadTexts: stationStatsMACAddress.setDescription('MAC address of the station')
stationStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 3), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxBytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxBytes.setDescription('Bytes received')
stationStatsRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxPackets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxPackets.setDescription('Packets received')
stationStatsRxErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxErrors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxErrors.setDescription('Rx errors')
stationStatsRxRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRetries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRetries.setDescription('Rx retries')
stationStatsRxRate1Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate1Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate1Bytes.setDescription('Bytes received at rate 1Mbps')
stationStatsRxRate1Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 8), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate1Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate1Packets.setDescription('Packets received at rate 1Mbps')
stationStatsRxRate1Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 9), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate1Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate1Errors.setDescription('Rx errors at rate 1Mbps')
stationStatsRxRate1Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 10), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate1Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate1Retries.setDescription('Rx retries at rate 1Mbps')
stationStatsRxRate2Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate2Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate2Bytes.setDescription('Bytes received at rate 2Mbps')
stationStatsRxRate2Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 12), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate2Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate2Packets.setDescription('Packets received at rate 2Mbps')
stationStatsRxRate2Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 13), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate2Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate2Errors.setDescription('Rx errors at rate 2Mbps')
stationStatsRxRate2Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 14), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate2Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate2Retries.setDescription('Rx retries at rate 2Mbps')
stationStatsRxRate5Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 15), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate5Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate5Bytes.setDescription('Bytes received at rate 5.5Mbps')
stationStatsRxRate5Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 16), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate5Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate5Packets.setDescription('Packets received at rate 5.5Mbps')
stationStatsRxRate5Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 17), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate5Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate5Errors.setDescription('Rx errors at rate 5.5Mbps')
stationStatsRxRate5Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 18), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate5Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate5Retries.setDescription('Rx retries at rate 5.5Mbps')
stationStatsRxRate11Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 19), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate11Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate11Bytes.setDescription('Bytes received at rate 11Mbps')
stationStatsRxRate11Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 20), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate11Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate11Packets.setDescription('Packets received at rate 11Mbps')
stationStatsRxRate11Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 21), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate11Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate11Errors.setDescription('Rx errors at rate 11Mbps')
stationStatsRxRate11Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 22), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate11Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate11Retries.setDescription('Rx retries at rate 11Mbps')
stationStatsRxRate6Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 23), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate6Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate6Bytes.setDescription('Bytes received at rate 6Mbps')
stationStatsRxRate6Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 24), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate6Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate6Packets.setDescription('Packets received at rate 6Mbps')
stationStatsRxRate6Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 25), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate6Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate6Errors.setDescription('Rx errors at rate 6Mbps')
stationStatsRxRate6Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 26), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate6Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate6Retries.setDescription('Rx retries at rate 6Mbps')
stationStatsRxRate9Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 27), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate9Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate9Bytes.setDescription('Bytes received at rate 9Mbps')
stationStatsRxRate9Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 28), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate9Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate9Packets.setDescription('Packets received at rate 9Mbps')
stationStatsRxRate9Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 29), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate9Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate9Errors.setDescription('Rx errors at rate 9Mbps')
stationStatsRxRate9Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 30), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate9Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate9Retries.setDescription('Rx retries at rate 9Mbps')
stationStatsRxRate12Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 31), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate12Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate12Bytes.setDescription('Bytes received at rate 12Mbps')
stationStatsRxRate12Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 32), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate12Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate12Packets.setDescription('Packets received at rate 12Mbps')
stationStatsRxRate12Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 33), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate12Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate12Errors.setDescription('Rx errors at rate 12Mbps')
stationStatsRxRate12Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 34), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate12Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate12Retries.setDescription('Rx retries at rate 12Mbps')
stationStatsRxRate18Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 35), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate18Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate18Bytes.setDescription('Bytes received at rate 18Mbps')
stationStatsRxRate18Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 36), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate18Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate18Packets.setDescription('Packets received at rate 18Mbps')
stationStatsRxRate18Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 37), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate18Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate18Errors.setDescription('Rx errors at rate 18Mbps')
stationStatsRxRate18Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 38), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate18Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate18Retries.setDescription('Rx retries at rate 18Mbps')
stationStatsRxRate24Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 39), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate24Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate24Bytes.setDescription('Bytes received at rate 24Mbps')
stationStatsRxRate24Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 40), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate24Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate24Packets.setDescription('Packets received at rate 24Mbps')
stationStatsRxRate24Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 41), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate24Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate24Errors.setDescription('Rx errors at rate 24Mbps')
stationStatsRxRate24Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 42), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate24Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate24Retries.setDescription('Rx retries at rate 24Mbps')
stationStatsRxRate36Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 43), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate36Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate36Bytes.setDescription('Bytes received at rate 36Mbps')
stationStatsRxRate36Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 44), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate36Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate36Packets.setDescription('Packets received at rate 36Mbps')
stationStatsRxRate36Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 45), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate36Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate36Errors.setDescription('Rx errors at rate 36Mbps')
stationStatsRxRate36Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 46), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate36Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate36Retries.setDescription('Rx retries at rate 36Mbps')
stationStatsRxRate48Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 47), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate48Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate48Bytes.setDescription('Bytes received at rate 48Mbps')
stationStatsRxRate48Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 48), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate48Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate48Packets.setDescription('Packets received at rate 48Mbps')
stationStatsRxRate48Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 49), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate48Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate48Errors.setDescription('Rx errors at rate 48Mbps')
stationStatsRxRate48Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 50), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate48Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate48Retries.setDescription('Rx retries at rate 48Mbps')
stationStatsRxRate54Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 51), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate54Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate54Bytes.setDescription('Bytes received at rate 54Mbps')
stationStatsRxRate54Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 52), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate54Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate54Packets.setDescription('Packets received at rate 54Mbps')
stationStatsRxRate54Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 53), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate54Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate54Errors.setDescription('Rx errors at rate 54Mbps')
stationStatsRxRate54Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 54), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsRxRate54Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsRxRate54Retries.setDescription('Rx retries at rate 54Mbps')
stationStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 55), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxBytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxBytes.setDescription('Bytes transmitted')
stationStatsTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 56), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxPackets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxPackets.setDescription('Packets transmitted')
stationStatsTxErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 57), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxErrors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxErrors.setDescription('Tx errors')
stationStatsTxRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 58), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRetries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRetries.setDescription('Tx retries')
stationStatsTxRate1Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 59), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate1Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate1Bytes.setDescription('Bytes transmitted at rate 1Mbps')
stationStatsTxRate1Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 60), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate1Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate1Packets.setDescription('Packets transmitted at rate 1Mbps')
stationStatsTxRate1Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 61), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate1Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate1Errors.setDescription('Tx errors at rate 1Mbps')
stationStatsTxRate1Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 62), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate1Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate1Retries.setDescription('Tx retries at rate 1Mbps')
stationStatsTxRate2Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 63), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate2Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate2Bytes.setDescription('Bytes transmitted at rate 2Mbps')
stationStatsTxRate2Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 64), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate2Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate2Packets.setDescription('Packets transmitted at rate 2Mbps')
stationStatsTxRate2Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 65), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate2Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate2Errors.setDescription('Tx errors at rate 2Mbps')
stationStatsTxRate2Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 66), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate2Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate2Retries.setDescription('Tx retries at rate 2Mbps')
stationStatsTxRate5Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 67), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate5Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate5Bytes.setDescription('Bytes transmitted at rate 5.5Mbps')
stationStatsTxRate5Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 68), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate5Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate5Packets.setDescription('Packets transmitted at rate 5.5Mbps')
stationStatsTxRate5Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 69), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate5Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate5Errors.setDescription('Tx errors at rate 5.5Mbps')
stationStatsTxRate5Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 70), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate5Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate5Retries.setDescription('Tx retries at rate 5.5Mbps')
stationStatsTxRate11Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 71), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate11Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate11Bytes.setDescription('Bytes transmitted at rate 11Mbps')
stationStatsTxRate11Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 72), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate11Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate11Packets.setDescription('Packets transmitted at rate 11Mbps')
stationStatsTxRate11Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 73), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate11Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate11Errors.setDescription('Tx errors at rate 11Mbps')
stationStatsTxRate11Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 74), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate11Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate11Retries.setDescription('Tx retries at rate 11Mbps')
stationStatsTxRate6Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 75), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate6Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate6Bytes.setDescription('Bytes transmitted at rate 6Mbps')
stationStatsTxRate6Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 76), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate6Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate6Packets.setDescription('Packets transmitted at rate 6Mbps')
stationStatsTxRate6Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 77), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate6Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate6Errors.setDescription('Tx errors at rate 6Mbps')
stationStatsTxRate6Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 78), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate6Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate6Retries.setDescription('Tx retries at rate 6Mbps')
stationStatsTxRate9Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 79), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate9Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate9Bytes.setDescription('Bytes transmitted at rate 9Mbps')
stationStatsTxRate9Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 80), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate9Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate9Packets.setDescription('Packets transmitted at rate 9Mbps')
stationStatsTxRate9Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 81), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate9Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate9Errors.setDescription('Tx errors at rate 9Mbps')
stationStatsTxRate9Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 82), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate9Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate9Retries.setDescription('Tx retries at rate 9Mbps')
stationStatsTxRate12Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 83), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate12Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate12Bytes.setDescription('Bytes transmitted at rate 12Mbps')
stationStatsTxRate12Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 84), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate12Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate12Packets.setDescription('Packets transmitted at rate 12Mbps')
stationStatsTxRate12Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 85), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate12Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate12Errors.setDescription('Tx errors at rate 12Mbps')
stationStatsTxRate12Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 86), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate12Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate12Retries.setDescription('Tx retries at rate 12Mbps')
stationStatsTxRate18Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 87), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate18Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate18Bytes.setDescription('Bytes transmitted at rate 18Mbps')
stationStatsTxRate18Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 88), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate18Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate18Packets.setDescription('Packets transmitted at rate 18Mbps')
stationStatsTxRate18Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 89), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate18Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate18Errors.setDescription('Tx errors at rate 18Mbps')
stationStatsTxRate18Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 90), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate18Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate18Retries.setDescription('Tx retries at rate 18Mbps')
stationStatsTxRate24Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 91), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate24Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate24Bytes.setDescription('Bytes transmitted at rate 24Mbps')
stationStatsTxRate24Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 92), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate24Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate24Packets.setDescription('Packets transmitted at rate 24Mbps')
stationStatsTxRate24Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 93), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate24Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate24Errors.setDescription('Tx errors at rate 24Mbps')
stationStatsTxRate24Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 94), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate24Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate24Retries.setDescription('Tx retries at rate 24Mbps')
stationStatsTxRate36Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 95), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate36Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate36Bytes.setDescription('Bytes transmitted at rate 36Mbps')
stationStatsTxRate36Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 96), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate36Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate36Packets.setDescription('Packets transmitted at rate 36Mbps')
stationStatsTxRate36Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 97), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate36Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate36Errors.setDescription('Tx errors at rate 36Mbps')
stationStatsTxRate36Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 98), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate36Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate36Retries.setDescription('Tx retries at rate 36Mbps')
stationStatsTxRate48Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 99), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate48Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate48Bytes.setDescription('Bytes transmitted at rate 48Mbps')
stationStatsTxRate48Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 100), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate48Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate48Packets.setDescription('Packets transmitted at rate 48Mbps')
stationStatsTxRate48Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 101), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate48Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate48Errors.setDescription('Tx errors at rate 48Mbps')
stationStatsTxRate48Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 102), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate48Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate48Retries.setDescription('Tx retries at rate 48Mbps')
stationStatsTxRate54Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 103), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate54Bytes.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate54Bytes.setDescription('Bytes transmitted at rate 54Mbps')
stationStatsTxRate54Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 104), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate54Packets.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate54Packets.setDescription('Packets transmitted at rate 54Mbps')
stationStatsTxRate54Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 105), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate54Errors.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate54Errors.setDescription('Tx errors at rate 54Mbps')
stationStatsTxRate54Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 106), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTxRate54Retries.setStatus('current')
if mibBuilder.loadTexts: stationStatsTxRate54Retries.setDescription('Tx retries at rate 54Mbps')
stationStatsTimePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 3, 1, 107), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationStatsTimePeriod.setStatus('current')
if mibBuilder.loadTexts: stationStatsTimePeriod.setDescription('Time period over which stats were collected')
vlanStatsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4), )
if mibBuilder.loadTexts: vlanStatsTable.setStatus('current')
if mibBuilder.loadTexts: vlanStatsTable.setDescription('Table of VLAN statistics')
vlanStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "vlanStatsIndex"))
if mibBuilder.loadTexts: vlanStatsEntry.setStatus('current')
if mibBuilder.loadTexts: vlanStatsEntry.setDescription('Table entry for VLAN statistics')
vlanStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 1), Integer32())
if mibBuilder.loadTexts: vlanStatsIndex.setStatus('current')
if mibBuilder.loadTexts: vlanStatsIndex.setDescription('VLAN statistics index')
vlanStatsName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsName.setStatus('current')
if mibBuilder.loadTexts: vlanStatsName.setDescription('VLAN name')
vlanStatsNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsNumber.setStatus('current')
if mibBuilder.loadTexts: vlanStatsNumber.setDescription('VLAN number')
vlanStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsRxBytes.setStatus('current')
if mibBuilder.loadTexts: vlanStatsRxBytes.setDescription('Bytes received')
vlanStatsRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsRxPackets.setStatus('current')
if mibBuilder.loadTexts: vlanStatsRxPackets.setDescription('Packets received')
vlanStatsRxCompressed = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsRxCompressed.setStatus('current')
if mibBuilder.loadTexts: vlanStatsRxCompressed.setDescription('Compressed packets received')
vlanStatsRxMulticast = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsRxMulticast.setStatus('current')
if mibBuilder.loadTexts: vlanStatsRxMulticast.setDescription('Multicast packets received')
vlanStatsRxDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 8), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsRxDropped.setStatus('current')
if mibBuilder.loadTexts: vlanStatsRxDropped.setDescription('Rx dropped packets')
vlanStatsRxFifoErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 9), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsRxFifoErrors.setStatus('current')
if mibBuilder.loadTexts: vlanStatsRxFifoErrors.setDescription('Rx fifo errors')
vlanStatsRxFrameErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 10), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsRxFrameErrors.setStatus('current')
if mibBuilder.loadTexts: vlanStatsRxFrameErrors.setDescription('Rx frame errors')
vlanStatsRxTotalErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsRxTotalErrors.setStatus('current')
if mibBuilder.loadTexts: vlanStatsRxTotalErrors.setDescription('Rx total errors')
vlanStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 12), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsTxBytes.setStatus('current')
if mibBuilder.loadTexts: vlanStatsTxBytes.setDescription('Bytes transmitted')
vlanStatsTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 13), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsTxPackets.setStatus('current')
if mibBuilder.loadTexts: vlanStatsTxPackets.setDescription('Packets transmitted')
vlanStatsTxCompressed = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 14), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsTxCompressed.setStatus('current')
if mibBuilder.loadTexts: vlanStatsTxCompressed.setDescription('Compressed packets transmitted')
vlanStatsTxCarrierErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 15), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsTxCarrierErrors.setStatus('current')
if mibBuilder.loadTexts: vlanStatsTxCarrierErrors.setDescription('Tx carrier errors')
vlanStatsTxDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 16), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsTxDropped.setStatus('current')
if mibBuilder.loadTexts: vlanStatsTxDropped.setDescription('Tx dropped packets')
vlanStatsTxFifoErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 17), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsTxFifoErrors.setStatus('current')
if mibBuilder.loadTexts: vlanStatsTxFifoErrors.setDescription('Tx fifo errors')
vlanStatsTxCollisions = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 18), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsTxCollisions.setStatus('current')
if mibBuilder.loadTexts: vlanStatsTxCollisions.setDescription('Tx collisions')
vlanStatsTxTotalErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 19), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsTxTotalErrors.setStatus('current')
if mibBuilder.loadTexts: vlanStatsTxTotalErrors.setDescription('Tx total errors')
vlanStatsTimePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 4, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStatsTimePeriod.setStatus('current')
if mibBuilder.loadTexts: vlanStatsTimePeriod.setDescription('Time period over which stats were collected')
wdsStatsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5), )
if mibBuilder.loadTexts: wdsStatsTable.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTable.setDescription('Table of statistics for WDS links')
wdsStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "wdsStatsIndex"))
if mibBuilder.loadTexts: wdsStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wdsStatsEntry.setDescription('Table entry for WDS link statistics')
wdsStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 1), Integer32())
if mibBuilder.loadTexts: wdsStatsIndex.setStatus('current')
if mibBuilder.loadTexts: wdsStatsIndex.setDescription('WDS link statistics index')
wdsStatsLinkName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsLinkName.setStatus('current')
if mibBuilder.loadTexts: wdsStatsLinkName.setDescription('Name of the WDS lnk')
wdsStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 3), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxBytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxBytes.setDescription('Bytes received')
wdsStatsRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxPackets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxPackets.setDescription('Packets received')
wdsStatsRxErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxErrors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxErrors.setDescription('Rx errors')
wdsStatsRxRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRetries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRetries.setDescription('Rx retries')
wdsStatsRxRate1Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate1Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate1Bytes.setDescription('Bytes received at rate 1Mbps')
wdsStatsRxRate1Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 8), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate1Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate1Packets.setDescription('Packets received at rate 1Mbps')
wdsStatsRxRate1Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 9), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate1Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate1Errors.setDescription('Rx errors at rate 1Mbps')
wdsStatsRxRate1Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 10), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate1Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate1Retries.setDescription('Rx retries at rate 1Mbps')
wdsStatsRxRate2Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate2Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate2Bytes.setDescription('Bytes received at rate 2Mbps')
wdsStatsRxRate2Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 12), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate2Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate2Packets.setDescription('Packets received at rate 2Mbps')
wdsStatsRxRate2Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 13), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate2Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate2Errors.setDescription('Rx errors at rate 2Mbps')
wdsStatsRxRate2Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 14), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate2Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate2Retries.setDescription('Rx retries at rate 2Mbps')
wdsStatsRxRate5Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 15), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate5Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate5Bytes.setDescription('Bytes received at rate 5.5Mbps')
wdsStatsRxRate5Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 16), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate5Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate5Packets.setDescription('Packets received at rate 5.5Mbps')
wdsStatsRxRate5Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 17), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate5Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate5Errors.setDescription('Rx errors at rate 5.5Mbps')
wdsStatsRxRate5Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 18), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate5Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate5Retries.setDescription('Rx retries at rate 5.5Mbps')
wdsStatsRxRate11Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 19), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate11Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate11Bytes.setDescription('Bytes received at rate 11Mbps')
wdsStatsRxRate11Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 20), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate11Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate11Packets.setDescription('Packets received at rate 11Mbps')
wdsStatsRxRate11Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 21), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate11Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate11Errors.setDescription('Rx errors at rate 11Mbps')
wdsStatsRxRate11Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 22), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate11Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate11Retries.setDescription('Rx retries at rate 11Mbps')
wdsStatsRxRate6Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 23), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate6Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate6Bytes.setDescription('Bytes received at rate 6Mbps')
wdsStatsRxRate6Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 24), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate6Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate6Packets.setDescription('Packets received at rate 6Mbps')
wdsStatsRxRate6Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 25), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate6Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate6Errors.setDescription('Rx errors at rate 6Mbps')
wdsStatsRxRate6Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 26), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate6Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate6Retries.setDescription('Rx retries at rate 6Mbps')
wdsStatsRxRate9Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 27), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate9Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate9Bytes.setDescription('Bytes received at rate 9Mbps')
wdsStatsRxRate9Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 28), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate9Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate9Packets.setDescription('Packets received at rate 9Mbps')
wdsStatsRxRate9Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 29), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate9Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate9Errors.setDescription('Rx errors at rate 9Mbps')
wdsStatsRxRate9Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 30), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate9Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate9Retries.setDescription('Rx retries at rate 9Mbps')
wdsStatsRxRate12Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 31), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate12Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate12Bytes.setDescription('Bytes received at rate 12Mbps')
wdsStatsRxRate12Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 32), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate12Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate12Packets.setDescription('Packets received at rate 12Mbps')
wdsStatsRxRate12Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 33), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate12Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate12Errors.setDescription('Rx errors at rate 12Mbps')
wdsStatsRxRate12Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 34), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate12Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate12Retries.setDescription('Rx retries at rate 12Mbps')
wdsStatsRxRate18Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 35), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate18Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate18Bytes.setDescription('Bytes received at rate 18Mbps')
wdsStatsRxRate18Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 36), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate18Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate18Packets.setDescription('Packets received at rate 18Mbps')
wdsStatsRxRate18Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 37), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate18Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate18Errors.setDescription('Rx errors at rate 18Mbps')
wdsStatsRxRate18Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 38), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate18Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate18Retries.setDescription('Rx retries at rate 18Mbps')
wdsStatsRxRate24Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 39), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate24Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate24Bytes.setDescription('Bytes received at rate 24Mbps')
wdsStatsRxRate24Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 40), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate24Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate24Packets.setDescription('Packets received at rate 24Mbps')
wdsStatsRxRate24Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 41), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate24Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate24Errors.setDescription('Rx errors at rate 24Mbps')
wdsStatsRxRate24Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 42), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate24Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate24Retries.setDescription('Rx retries at rate 24Mbps')
wdsStatsRxRate36Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 43), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate36Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate36Bytes.setDescription('Bytes received at rate 36Mbps')
wdsStatsRxRate36Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 44), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate36Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate36Packets.setDescription('Packets received at rate 36Mbps')
wdsStatsRxRate36Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 45), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate36Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate36Errors.setDescription('Rx errors at rate 36Mbps')
wdsStatsRxRate36Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 46), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate36Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate36Retries.setDescription('Rx retries at rate 36Mbps')
wdsStatsRxRate48Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 47), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate48Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate48Bytes.setDescription('Bytes received at rate 48Mbps')
wdsStatsRxRate48Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 48), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate48Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate48Packets.setDescription('Packets received at rate 48Mbps')
wdsStatsRxRate48Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 49), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate48Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate48Errors.setDescription('Rx errors at rate 48Mbps')
wdsStatsRxRate48Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 50), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate48Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate48Retries.setDescription('Rx retries at rate 48Mbps')
wdsStatsRxRate54Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 51), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate54Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate54Bytes.setDescription('Bytes received at rate 54Mbps')
wdsStatsRxRate54Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 52), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate54Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate54Packets.setDescription('Packets received at rate 54Mbps')
wdsStatsRxRate54Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 53), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate54Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate54Errors.setDescription('Rx errors at rate 54Mbps')
wdsStatsRxRate54Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 54), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsRxRate54Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsRxRate54Retries.setDescription('Rx retries at rate 54Mbps')
wdsStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 55), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxBytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxBytes.setDescription('Bytes transmitted')
wdsStatsTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 56), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxPackets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxPackets.setDescription('Packets transmitted')
wdsStatsTxErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 57), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxErrors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxErrors.setDescription('Tx errors')
wdsStatsTxRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 58), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRetries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRetries.setDescription('Tx retries')
wdsStatsTxRate1Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 59), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate1Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate1Bytes.setDescription('Bytes transmitted at rate 1Mbps')
wdsStatsTxRate1Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 60), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate1Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate1Packets.setDescription('Packets transmitted at rate 1Mbps')
wdsStatsTxRate1Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 61), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate1Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate1Errors.setDescription('Tx errors at rate 1Mbps')
wdsStatsTxRate1Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 62), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate1Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate1Retries.setDescription('Tx retries at rate 1Mbps')
wdsStatsTxRate2Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 63), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate2Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate2Bytes.setDescription('Bytes transmitted at rate 2Mbps')
wdsStatsTxRate2Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 64), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate2Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate2Packets.setDescription('Packets transmitted at rate 2Mbps')
wdsStatsTxRate2Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 65), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate2Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate2Errors.setDescription('Tx errors at rate 2Mbps')
wdsStatsTxRate2Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 66), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate2Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate2Retries.setDescription('Tx retries at rate 2Mbps')
wdsStatsTxRate5Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 67), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate5Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate5Bytes.setDescription('Bytes transmitted at rate 5.5Mbps')
wdsStatsTxRate5Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 68), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate5Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate5Packets.setDescription('Packets transmitted at rate 5.5Mbps')
wdsStatsTxRate5Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 69), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate5Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate5Errors.setDescription('Tx errors at rate 5.5Mbps')
wdsStatsTxRate5Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 70), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate5Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate5Retries.setDescription('Tx retries at rate 5.5Mbps')
wdsStatsTxRate11Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 71), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate11Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate11Bytes.setDescription('Bytes transmitted at rate 11Mbps')
wdsStatsTxRate11Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 72), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate11Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate11Packets.setDescription('Packets transmitted at rate 11Mbps')
wdsStatsTxRate11Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 73), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate11Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate11Errors.setDescription('Tx errors at rate 11Mbps')
wdsStatsTxRate11Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 74), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate11Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate11Retries.setDescription('Tx retries at rate 11Mbps')
wdsStatsTxRate6Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 75), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate6Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate6Bytes.setDescription('Bytes transmitted at rate 6Mbps')
wdsStatsTxRate6Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 76), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate6Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate6Packets.setDescription('Packets transmitted at rate 6Mbps')
wdsStatsTxRate6Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 77), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate6Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate6Errors.setDescription('Tx errors at rate 6Mbps')
wdsStatsTxRate6Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 78), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate6Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate6Retries.setDescription('Tx retries at rate 6Mbps')
wdsStatsTxRate9Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 79), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate9Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate9Bytes.setDescription('Bytes transmitted at rate 9Mbps')
wdsStatsTxRate9Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 80), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate9Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate9Packets.setDescription('Packets transmitted at rate 9Mbps')
wdsStatsTxRate9Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 81), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate9Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate9Errors.setDescription('Tx errors at rate 9Mbps')
wdsStatsTxRate9Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 82), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate9Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate9Retries.setDescription('Tx retries at rate 9Mbps')
wdsStatsTxRate12Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 83), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate12Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate12Bytes.setDescription('Bytes transmitted at rate 12Mbps')
wdsStatsTxRate12Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 84), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate12Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate12Packets.setDescription('Packets transmitted at rate 12Mbps')
wdsStatsTxRate12Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 85), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate12Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate12Errors.setDescription('Tx errors at rate 12Mbps')
wdsStatsTxRate12Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 86), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate12Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate12Retries.setDescription('Tx retries at rate 12Mbps')
wdsStatsTxRate18Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 87), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate18Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate18Bytes.setDescription('Bytes transmitted at rate 18Mbps')
wdsStatsTxRate18Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 88), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate18Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate18Packets.setDescription('Packets transmitted at rate 18Mbps')
wdsStatsTxRate18Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 89), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate18Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate18Errors.setDescription('Tx errors at rate 18Mbps')
wdsStatsTxRate18Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 90), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate18Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate18Retries.setDescription('Tx retries at rate 18Mbps')
wdsStatsTxRate24Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 91), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate24Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate24Bytes.setDescription('Bytes transmitted at rate 24Mbps')
wdsStatsTxRate24Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 92), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate24Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate24Packets.setDescription('Packets transmitted at rate 24Mbps')
wdsStatsTxRate24Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 93), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate24Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate24Errors.setDescription('Tx errors at rate 24Mbps')
wdsStatsTxRate24Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 94), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate24Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate24Retries.setDescription('Tx retries at rate 24Mbps')
wdsStatsTxRate36Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 95), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate36Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate36Bytes.setDescription('Bytes transmitted at rate 36Mbps')
wdsStatsTxRate36Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 96), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate36Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate36Packets.setDescription('Packets transmitted at rate 36Mbps')
wdsStatsTxRate36Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 97), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate36Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate36Errors.setDescription('Tx errors at rate 36Mbps')
wdsStatsTxRate36Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 98), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate36Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate36Retries.setDescription('Tx retries at rate 36Mbps')
wdsStatsTxRate48Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 99), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate48Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate48Bytes.setDescription('Bytes transmitted at rate 48Mbps')
wdsStatsTxRate48Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 100), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate48Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate48Packets.setDescription('Packets transmitted at rate 48Mbps')
wdsStatsTxRate48Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 101), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate48Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate48Errors.setDescription('Tx errors at rate 48Mbps')
wdsStatsTxRate48Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 102), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate48Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate48Retries.setDescription('Tx retries at rate 48Mbps')
wdsStatsTxRate54Bytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 103), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate54Bytes.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate54Bytes.setDescription('Bytes transmitted at rate 54Mbps')
wdsStatsTxRate54Packets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 104), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate54Packets.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate54Packets.setDescription('Packets transmitted at rate 54Mbps')
wdsStatsTxRate54Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 105), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate54Errors.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate54Errors.setDescription('Tx errors at rate 54Mbps')
wdsStatsTxRate54Retries = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 5, 1, 106), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wdsStatsTxRate54Retries.setStatus('current')
if mibBuilder.loadTexts: wdsStatsTxRate54Retries.setDescription('Tx retries at rate 54Mbps')
spectrumAnalysisTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6), )
if mibBuilder.loadTexts: spectrumAnalysisTable.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisTable.setDescription('Spectrum analysis information table')
spectrumAnalysisEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "spectrumAnalysisIndex"))
if mibBuilder.loadTexts: spectrumAnalysisEntry.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisEntry.setDescription('Table entry for spectrum analysis information')
spectrumAnalysisIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1, 1), Integer32())
if mibBuilder.loadTexts: spectrumAnalysisIndex.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisIndex.setDescription('Spectrum analysis information index')
spectrumAnalysisChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spectrumAnalysisChannel.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisChannel.setDescription('Channel number')
spectrumAnalysisPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spectrumAnalysisPackets.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisPackets.setDescription('Packets per second')
spectrumAnalysisBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spectrumAnalysisBytes.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisBytes.setDescription('Bytes per second')
spectrumAnalysisErrorRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spectrumAnalysisErrorRate.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisErrorRate.setDescription('Error rate (in percent)')
spectrumAnalysisAverageDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spectrumAnalysisAverageDataRate.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisAverageDataRate.setDescription('Average data rate (in Mbps)')
spectrumAnalysisAverageRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spectrumAnalysisAverageRSSI.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisAverageRSSI.setDescription('Average RSSI')
spectrumAnalysisSignalToNoiseRatio = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spectrumAnalysisSignalToNoiseRatio.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisSignalToNoiseRatio.setDescription('Signal to noise ratio')
spectrumAnalysisNoiseFloor = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spectrumAnalysisNoiseFloor.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisNoiseFloor.setDescription('Noise floor')
spectrumAnalysisDot11Busy = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spectrumAnalysisDot11Busy.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisDot11Busy.setDescription('802.11 medium busy (in percent)')
spectrumAnalysisNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 6, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spectrumAnalysisNoise.setStatus('current')
if mibBuilder.loadTexts: spectrumAnalysisNoise.setDescription('Noise (in percent)')
realtimeMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7), )
if mibBuilder.loadTexts: realtimeMonitorTable.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorTable.setDescription('Real time IAP information table')
realtimeMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "realtimeMonitorIndex"))
if mibBuilder.loadTexts: realtimeMonitorEntry.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorEntry.setDescription('Table entry for real time IAP information')
realtimeMonitorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 1), Integer32())
if mibBuilder.loadTexts: realtimeMonitorIndex.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorIndex.setDescription('Real time IAP information index')
realtimeMonitorIfaceName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: realtimeMonitorIfaceName.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorIfaceName.setDescription('Interface name')
realtimeMonitorChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: realtimeMonitorChannel.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorChannel.setDescription('Channel number')
realtimeMonitorPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: realtimeMonitorPackets.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorPackets.setDescription('Packets per second')
realtimeMonitorBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: realtimeMonitorBytes.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorBytes.setDescription('Bytes per second')
realtimeMonitorErrorRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: realtimeMonitorErrorRate.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorErrorRate.setDescription('Error rate (in percent)')
realtimeMonitorAverageDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: realtimeMonitorAverageDataRate.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorAverageDataRate.setDescription('Average data rate (in Mbps)')
realtimeMonitorAverageRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: realtimeMonitorAverageRSSI.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorAverageRSSI.setDescription('Average RSSI')
realtimeMonitorSignalToNoiseRatio = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: realtimeMonitorSignalToNoiseRatio.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorSignalToNoiseRatio.setDescription('Signal to noise ratio')
realtimeMonitorNoiseFloor = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: realtimeMonitorNoiseFloor.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorNoiseFloor.setDescription('Noise floor')
realtimeMonitorDot11Busy = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: realtimeMonitorDot11Busy.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorDot11Busy.setDescription('802.11 medium busy (in percent)')
realtimeMonitorNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 7, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: realtimeMonitorNoise.setStatus('current')
if mibBuilder.loadTexts: realtimeMonitorNoise.setDescription('Noise (in percent)')
stationAppStatsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 8), )
if mibBuilder.loadTexts: stationAppStatsTable.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsTable.setDescription('Table of station application statistics')
stationAppStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 8, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "stationAppStatsIndex"))
if mibBuilder.loadTexts: stationAppStatsEntry.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsEntry.setDescription('Table entry for station application statistics')
stationAppStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 8, 1, 1), Integer32())
if mibBuilder.loadTexts: stationAppStatsIndex.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsIndex.setDescription('Station application statistics index')
stationAppStatsMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 8, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppStatsMACAddress.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsMACAddress.setDescription('MAC address of the station')
stationAppStatsGuid = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 8, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppStatsGuid.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsGuid.setDescription('Global Unique ID of the application')
stationAppStatsTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 8, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppStatsTxPackets.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsTxPackets.setDescription('Packets transmitted')
stationAppStatsRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 8, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppStatsRxPackets.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsRxPackets.setDescription('Packets received')
stationAppStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 8, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppStatsTxBytes.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsTxBytes.setDescription('Bytes transmitted')
stationAppStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 8, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppStatsRxBytes.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsRxBytes.setDescription('Bytes received')
stationAppStatsTimePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 8, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppStatsTimePeriod.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsTimePeriod.setDescription('Time period over which application stats were collected')
stationAppCatStatsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 9), )
if mibBuilder.loadTexts: stationAppCatStatsTable.setStatus('current')
if mibBuilder.loadTexts: stationAppCatStatsTable.setDescription('Table of station application category statistics')
stationAppCatStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 9, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "stationAppCatStatsIndex"))
if mibBuilder.loadTexts: stationAppCatStatsEntry.setStatus('current')
if mibBuilder.loadTexts: stationAppCatStatsEntry.setDescription('Table entry for station application category statistics')
stationAppCatStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 9, 1, 1), Integer32())
if mibBuilder.loadTexts: stationAppCatStatsIndex.setStatus('current')
if mibBuilder.loadTexts: stationAppCatStatsIndex.setDescription('Station application category statistics index')
stationAppCatStatsMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 9, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppCatStatsMACAddress.setStatus('current')
if mibBuilder.loadTexts: stationAppCatStatsMACAddress.setDescription('MAC address of the station')
stationAppCatStatsGuid = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 9, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppCatStatsGuid.setStatus('current')
if mibBuilder.loadTexts: stationAppCatStatsGuid.setDescription('Global Unique ID of the application category')
stationAppCatStatsTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 9, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppCatStatsTxPackets.setStatus('current')
if mibBuilder.loadTexts: stationAppCatStatsTxPackets.setDescription('Packets transmitted')
stationAppCatStatsRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 9, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppCatStatsRxPackets.setStatus('current')
if mibBuilder.loadTexts: stationAppCatStatsRxPackets.setDescription('Packets received')
stationAppCatStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 9, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppCatStatsTxBytes.setStatus('current')
if mibBuilder.loadTexts: stationAppCatStatsTxBytes.setDescription('Bytes transmitted')
stationAppCatStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 9, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppCatStatsRxBytes.setStatus('current')
if mibBuilder.loadTexts: stationAppCatStatsRxBytes.setDescription('Bytes received')
stationAppCatStatsTimePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 9, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: stationAppCatStatsTimePeriod.setStatus('current')
if mibBuilder.loadTexts: stationAppCatStatsTimePeriod.setDescription('Time period over which application category stats were collected')
vlanMgmtAppStatsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 10), )
if mibBuilder.loadTexts: vlanMgmtAppStatsTable.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppStatsTable.setDescription('Table of VLAN management application statistics')
vlanMgmtAppStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 10, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "vlanMgmtAppStatsIndex"))
if mibBuilder.loadTexts: vlanMgmtAppStatsEntry.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppStatsEntry.setDescription('Table entry for VLAN management application statistics')
vlanMgmtAppStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 10, 1, 1), Integer32())
if mibBuilder.loadTexts: vlanMgmtAppStatsIndex.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppStatsIndex.setDescription('VLAN management application statistics index')
vlanMgmtAppStatsVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 10, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppStatsVlan.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppStatsVlan.setDescription('VLAN')
vlanMgmtAppStatsGuid = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 10, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppStatsGuid.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppStatsGuid.setDescription('Global Unique ID of the application')
vlanMgmtAppStatsTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 10, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppStatsTxPackets.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppStatsTxPackets.setDescription('Packets transmitted')
vlanMgmtAppStatsRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 10, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppStatsRxPackets.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppStatsRxPackets.setDescription('Packets received')
vlanMgmtAppStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 10, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppStatsTxBytes.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppStatsTxBytes.setDescription('Bytes transmitted')
vlanMgmtAppStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 10, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppStatsRxBytes.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppStatsRxBytes.setDescription('Bytes received')
vlanMgmtAppStatsTimePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 10, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppStatsTimePeriod.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppStatsTimePeriod.setDescription('Time period over which management application stats were collected')
vlanMgmtAppCatStatsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 11), )
if mibBuilder.loadTexts: vlanMgmtAppCatStatsTable.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppCatStatsTable.setDescription('Table of VLAN management application category statistics')
vlanMgmtAppCatStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 11, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "vlanMgmtAppCatStatsIndex"))
if mibBuilder.loadTexts: vlanMgmtAppCatStatsEntry.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppCatStatsEntry.setDescription('Table entry for VLAN management application category statistics')
vlanMgmtAppCatStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 11, 1, 1), Integer32())
if mibBuilder.loadTexts: vlanMgmtAppCatStatsIndex.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppCatStatsIndex.setDescription('VLAN management application category statistics index')
vlanMgmtAppCatStatsVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 11, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppCatStatsVlan.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppCatStatsVlan.setDescription('VLAN')
vlanMgmtAppCatStatsGuid = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 11, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppCatStatsGuid.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppCatStatsGuid.setDescription('Global Unique ID of the application category')
vlanMgmtAppCatStatsTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 11, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppCatStatsTxPackets.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppCatStatsTxPackets.setDescription('Packets transmitted')
vlanMgmtAppCatStatsRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 11, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppCatStatsRxPackets.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppCatStatsRxPackets.setDescription('Packets received')
vlanMgmtAppCatStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 11, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppCatStatsTxBytes.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppCatStatsTxBytes.setDescription('Bytes transmitted')
vlanMgmtAppCatStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 11, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppCatStatsRxBytes.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppCatStatsRxBytes.setDescription('Bytes received')
vlanMgmtAppCatStatsTimePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 11, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanMgmtAppCatStatsTimePeriod.setStatus('current')
if mibBuilder.loadTexts: vlanMgmtAppCatStatsTimePeriod.setDescription('Time period over which management application category stats were collected')
vlanStaAppStatsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 12), )
if mibBuilder.loadTexts: vlanStaAppStatsTable.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppStatsTable.setDescription('Table of VLAN station application statistics')
vlanStaAppStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 12, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "vlanStaAppStatsIndex"))
if mibBuilder.loadTexts: vlanStaAppStatsEntry.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppStatsEntry.setDescription('Table entry for VLAN station application statistics')
vlanStaAppStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 12, 1, 1), Integer32())
if mibBuilder.loadTexts: vlanStaAppStatsIndex.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppStatsIndex.setDescription('VLAN station application statistics index')
vlanStaAppStatsVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 12, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppStatsVlan.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppStatsVlan.setDescription('VLAN')
vlanStaAppStatsGuid = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 12, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppStatsGuid.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppStatsGuid.setDescription('Global Unique ID of the application')
vlanStaAppStatsTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 12, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppStatsTxPackets.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppStatsTxPackets.setDescription('Packets transmitted')
vlanStaAppStatsRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 12, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppStatsRxPackets.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppStatsRxPackets.setDescription('Packets received')
vlanStaAppStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 12, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppStatsTxBytes.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppStatsTxBytes.setDescription('Bytes transmitted')
vlanStaAppStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 12, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppStatsRxBytes.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppStatsRxBytes.setDescription('Bytes received')
vlanStaAppStatsTimePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 12, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppStatsTimePeriod.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppStatsTimePeriod.setDescription('Time period over which station application stats were collected')
vlanStaAppCatStatsTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 13), )
if mibBuilder.loadTexts: vlanStaAppCatStatsTable.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppCatStatsTable.setDescription('Table of VLAN station application category statistics')
vlanStaAppCatStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 13, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "vlanStaAppCatStatsIndex"))
if mibBuilder.loadTexts: vlanStaAppCatStatsEntry.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppCatStatsEntry.setDescription('Table entry for VLAN station application category statistics')
vlanStaAppCatStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 13, 1, 1), Integer32())
if mibBuilder.loadTexts: vlanStaAppCatStatsIndex.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppCatStatsIndex.setDescription('VLAN station application category statistics index')
vlanStaAppCatStatsVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 13, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppCatStatsVlan.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppCatStatsVlan.setDescription('VLAN')
vlanStaAppCatStatsGuid = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 13, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppCatStatsGuid.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppCatStatsGuid.setDescription('Global Unique ID of the application category')
vlanStaAppCatStatsTxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 13, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppCatStatsTxPackets.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppCatStatsTxPackets.setDescription('Packets transmitted')
vlanStaAppCatStatsRxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 13, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppCatStatsRxPackets.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppCatStatsRxPackets.setDescription('Packets received')
vlanStaAppCatStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 13, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppCatStatsTxBytes.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppCatStatsTxBytes.setDescription('Bytes transmitted')
vlanStaAppCatStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 13, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppCatStatsRxBytes.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppCatStatsRxBytes.setDescription('Bytes received')
vlanStaAppCatStatsTimePeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 13, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanStaAppCatStatsTimePeriod.setStatus('current')
if mibBuilder.loadTexts: vlanStaAppCatStatsTimePeriod.setDescription('Time period over which station application category stats were collected')
stationAppStatsTablePeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 14), Counter32().subtype(subtypeSpec=ValueRangeConstraint(0, 100000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAppStatsTablePeriod.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsTablePeriod.setDescription('Specify period for station application statistics table entries (in seconds, 0 - all table entries)')
stationAppStatsTableClear = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 24, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: stationAppStatsTableClear.setStatus('current')
if mibBuilder.loadTexts: stationAppStatsTableClear.setDescription('Clear the application statistics table (zero all counts)')
syslogEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogEnable.setStatus('current')
if mibBuilder.loadTexts: syslogEnable.setDescription('Enable or disable syslog feature')
syslogLevel = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogLevel.setStatus('current')
if mibBuilder.loadTexts: syslogLevel.setDescription('Local syslog level')
syslogServer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogServer.setStatus('current')
if mibBuilder.loadTexts: syslogServer.setDescription('Primary syslog server IP address or host name')
syslogConsole = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogConsole.setStatus('current')
if mibBuilder.loadTexts: syslogConsole.setDescription('Enable or disable displaying log messages on the console')
syslogSize = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogSize.setStatus('current')
if mibBuilder.loadTexts: syslogSize.setDescription('Local log file size')
syslogTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 6), )
if mibBuilder.loadTexts: syslogTable.setStatus('current')
if mibBuilder.loadTexts: syslogTable.setDescription('Event log table')
syslogEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 6, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "syslogIndex"))
if mibBuilder.loadTexts: syslogEntry.setStatus('current')
if mibBuilder.loadTexts: syslogEntry.setDescription('Syslog table entry')
syslogIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 6, 1, 1), Integer32())
if mibBuilder.loadTexts: syslogIndex.setStatus('current')
if mibBuilder.loadTexts: syslogIndex.setDescription('Syslog index')
syslogTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 6, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: syslogTimestamp.setStatus('current')
if mibBuilder.loadTexts: syslogTimestamp.setDescription('Syslog timestamp')
syslogPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 6, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: syslogPriority.setStatus('current')
if mibBuilder.loadTexts: syslogPriority.setDescription('Syslog priority')
syslogMessage = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 6, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 500))).setMaxAccess("readonly")
if mibBuilder.loadTexts: syslogMessage.setStatus('current')
if mibBuilder.loadTexts: syslogMessage.setDescription('Syslog message')
syslogSecServer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogSecServer.setStatus('current')
if mibBuilder.loadTexts: syslogSecServer.setDescription('Secondary syslog server IP address or host name')
syslogLevelConsole = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogLevelConsole.setStatus('current')
if mibBuilder.loadTexts: syslogLevelConsole.setDescription('Console syslog level')
syslogLevelPriServer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogLevelPriServer.setStatus('current')
if mibBuilder.loadTexts: syslogLevelPriServer.setDescription('Primary server syslog level')
syslogLevelSecServer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogLevelSecServer.setStatus('current')
if mibBuilder.loadTexts: syslogLevelSecServer.setDescription('Secondary server syslog level')
syslogTerServer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogTerServer.setStatus('current')
if mibBuilder.loadTexts: syslogTerServer.setDescription('Tertiary syslog server IP address or host name')
syslogLevelTerServer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogLevelTerServer.setStatus('current')
if mibBuilder.loadTexts: syslogLevelTerServer.setDescription('Tertiary server syslog level')
syslogEmailServer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogEmailServer.setStatus('current')
if mibBuilder.loadTexts: syslogEmailServer.setDescription('Email syslog SMTP server IP address or host name')
syslogEmailLevel = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogEmailLevel.setStatus('current')
if mibBuilder.loadTexts: syslogEmailLevel.setDescription('Email syslog level')
syslogEmailFromAddress = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogEmailFromAddress.setStatus('current')
if mibBuilder.loadTexts: syslogEmailFromAddress.setDescription('Email Syslog from address')
syslogEmailToAddress = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogEmailToAddress.setStatus('current')
if mibBuilder.loadTexts: syslogEmailToAddress.setDescription('Email Syslog recipient addresses')
syslogEmailUsername = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogEmailUsername.setStatus('current')
if mibBuilder.loadTexts: syslogEmailUsername.setDescription('Email Syslog SMTP server username')
syslogEmailPassword = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogEmailPassword.setStatus('current')
if mibBuilder.loadTexts: syslogEmailPassword.setDescription('Email Syslog SMTP server user password')
syslogEmailPasswordEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 19), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogEmailPasswordEnc.setStatus('current')
if mibBuilder.loadTexts: syslogEmailPasswordEnc.setDescription('Email Syslog SMTP server user password (encrypted)')
syslogEmailPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogEmailPort.setStatus('current')
if mibBuilder.loadTexts: syslogEmailPort.setDescription('Email Syslog SMTP server port')
syslogPriServerPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogPriServerPort.setStatus('current')
if mibBuilder.loadTexts: syslogPriServerPort.setDescription('Primary syslog server port')
syslogSecServerPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogSecServerPort.setStatus('current')
if mibBuilder.loadTexts: syslogSecServerPort.setDescription('Secondary syslog server port')
syslogTerServerPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogTerServerPort.setStatus('current')
if mibBuilder.loadTexts: syslogTerServerPort.setDescription('Tertiary syslog server port')
syslogStationFormat = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("standard", 0), ("key-value", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogStationFormat.setStatus('current')
if mibBuilder.loadTexts: syslogStationFormat.setDescription('Station information format in syslog messages')
syslogTimeFormat = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("rfc3164", 0), ("rfc3339", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogTimeFormat.setStatus('current')
if mibBuilder.loadTexts: syslogTimeFormat.setDescription('Time format in syslog messages')
syslogStationUrlLog = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 26, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syslogStationUrlLog.setStatus('current')
if mibBuilder.loadTexts: syslogStationUrlLog.setDescription('Enable or disable station URL logging')
systemHostname = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemHostname.setStatus('current')
if mibBuilder.loadTexts: systemHostname.setDescription('Array hostname')
systemLocation = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemLocation.setStatus('current')
if mibBuilder.loadTexts: systemLocation.setDescription('Array location')
systemContactName = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemContactName.setStatus('current')
if mibBuilder.loadTexts: systemContactName.setDescription('Contact name')
systemContactEmail = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemContactEmail.setStatus('current')
if mibBuilder.loadTexts: systemContactEmail.setDescription('Contact email address')
systemContactPhone = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemContactPhone.setStatus('current')
if mibBuilder.loadTexts: systemContactPhone.setDescription('Contact telephone number')
systemTelnetEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemTelnetEnable.setStatus('current')
if mibBuilder.loadTexts: systemTelnetEnable.setDescription('Enable/disable telnet')
systemTelnetTimeout = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 100000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemTelnetTimeout.setStatus('current')
if mibBuilder.loadTexts: systemTelnetTimeout.setDescription('Telnet timeout')
systemSshEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemSshEnable.setStatus('current')
if mibBuilder.loadTexts: systemSshEnable.setDescription('Enable/disable ssh')
systemSshTimeout = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 100000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemSshTimeout.setStatus('current')
if mibBuilder.loadTexts: systemSshTimeout.setDescription('Ssh timeout')
systemHttpsEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemHttpsEnable.setStatus('current')
if mibBuilder.loadTexts: systemHttpsEnable.setDescription('Enable/disable https')
systemHttpsTimeout = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 100000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemHttpsTimeout.setStatus('current')
if mibBuilder.loadTexts: systemHttpsTimeout.setDescription('Https timeout')
systemReboot = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reboot", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemReboot.setStatus('current')
if mibBuilder.loadTexts: systemReboot.setDescription('Reboot array')
systemReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemReset.setStatus('current')
if mibBuilder.loadTexts: systemReset.setDescription('Reset all settings to factory defaults and reboot')
systemSaveCfg = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("save", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemSaveCfg.setStatus('current')
if mibBuilder.loadTexts: systemSaveCfg.setDescription('Save running configuration to flash')
systemUptime = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 15), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemUptime.setStatus('current')
if mibBuilder.loadTexts: systemUptime.setDescription('Display time since last boot')
systemArrayInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16))
hardwareConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1))
softwareConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 2))
componentTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 1), )
if mibBuilder.loadTexts: componentTable.setStatus('current')
if mibBuilder.loadTexts: componentTable.setDescription('Hardware component info table')
componentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "componentIndex"))
if mibBuilder.loadTexts: componentEntry.setStatus('current')
if mibBuilder.loadTexts: componentEntry.setDescription('Component table entry')
componentIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: componentIndex.setStatus('current')
if mibBuilder.loadTexts: componentIndex.setDescription('Component table index')
componentName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: componentName.setStatus('current')
if mibBuilder.loadTexts: componentName.setDescription('Component name')
componentPart = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 1, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: componentPart.setStatus('current')
if mibBuilder.loadTexts: componentPart.setDescription('Component part number')
componentSerial = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 1, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: componentSerial.setStatus('current')
if mibBuilder.loadTexts: componentSerial.setDescription('Component serial number')
componentDate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 1, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: componentDate.setStatus('current')
if mibBuilder.loadTexts: componentDate.setDescription('Component date')
fpgaTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 2), )
if mibBuilder.loadTexts: fpgaTable.setStatus('current')
if mibBuilder.loadTexts: fpgaTable.setDescription('FPGA info table')
fpgaEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "fpgaIndex"))
if mibBuilder.loadTexts: fpgaEntry.setStatus('current')
if mibBuilder.loadTexts: fpgaEntry.setDescription('FPGA table entry')
fpgaIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: fpgaIndex.setStatus('current')
if mibBuilder.loadTexts: fpgaIndex.setDescription('FPGA table index')
fpgaName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fpgaName.setStatus('current')
if mibBuilder.loadTexts: fpgaName.setDescription('FPGA name')
fpgaBootVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 2, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fpgaBootVersion.setStatus('current')
if mibBuilder.loadTexts: fpgaBootVersion.setDescription('FPGA boot version')
fpgaSWVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 2, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: fpgaSWVersion.setStatus('current')
if mibBuilder.loadTexts: fpgaSWVersion.setDescription('FPGA software version')
interfaceMACAddressTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 3), )
if mibBuilder.loadTexts: interfaceMACAddressTable.setStatus('current')
if mibBuilder.loadTexts: interfaceMACAddressTable.setDescription('Interface MAC address table')
interfaceMACAddressEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 3, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "interfaceMACAddressIndex"))
if mibBuilder.loadTexts: interfaceMACAddressEntry.setStatus('current')
if mibBuilder.loadTexts: interfaceMACAddressEntry.setDescription('Interface MAC address table entry')
interfaceMACAddressIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 3, 1, 1), Integer32())
if mibBuilder.loadTexts: interfaceMACAddressIndex.setStatus('current')
if mibBuilder.loadTexts: interfaceMACAddressIndex.setDescription('Interface MAC address table index')
interfaceName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 3, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: interfaceName.setStatus('current')
if mibBuilder.loadTexts: interfaceName.setDescription('Interface name')
interfaceMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 3, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: interfaceMACAddress.setStatus('current')
if mibBuilder.loadTexts: interfaceMACAddress.setDescription('Interface MAC address')
arrayModel = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: arrayModel.setStatus('current')
if mibBuilder.loadTexts: arrayModel.setDescription('Array model')
bootLoaderVersion = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 2, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bootLoaderVersion.setStatus('current')
if mibBuilder.loadTexts: bootLoaderVersion.setDescription('Boot loader version')
iapDriverVersion = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 2, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: iapDriverVersion.setStatus('current')
if mibBuilder.loadTexts: iapDriverVersion.setDescription('IAP driver version')
softwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 2, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: softwareVersion.setStatus('current')
if mibBuilder.loadTexts: softwareVersion.setDescription('Software version')
timeThisBoot = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 2, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: timeThisBoot.setStatus('current')
if mibBuilder.loadTexts: timeThisBoot.setDescription('Time of this boot')
timeLastBoot = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 2, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: timeLastBoot.setStatus('current')
if mibBuilder.loadTexts: timeLastBoot.setDescription('Time of the last boot')
scdFirmwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 16, 2, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: scdFirmwareVersion.setStatus('current')
if mibBuilder.loadTexts: scdFirmwareVersion.setDescription('SCD firmware version')
systemMIBVersion = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 17), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemMIBVersion.setStatus('current')
if mibBuilder.loadTexts: systemMIBVersion.setDescription('MIB version')
systemGroupName = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemGroupName.setStatus('current')
if mibBuilder.loadTexts: systemGroupName.setDescription('Array group name')
systemStandbyEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemStandbyEnable.setStatus('current')
if mibBuilder.loadTexts: systemStandbyEnable.setDescription('Enable/disable standby')
systemStandbyTarget = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 20), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(17, 17)).setFixedLength(17)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemStandbyTarget.setStatus('current')
if mibBuilder.loadTexts: systemStandbyTarget.setDescription('Target array to monitor for failure')
systemTempTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 21), )
if mibBuilder.loadTexts: systemTempTable.setStatus('current')
if mibBuilder.loadTexts: systemTempTable.setDescription('System temperature table')
systemTempEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 21, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "systemTempIndex"))
if mibBuilder.loadTexts: systemTempEntry.setStatus('current')
if mibBuilder.loadTexts: systemTempEntry.setDescription('System temperature table entry')
systemTempIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 21, 1, 1), Integer32())
if mibBuilder.loadTexts: systemTempIndex.setStatus('current')
if mibBuilder.loadTexts: systemTempIndex.setDescription('System temperature table index')
systemTempComponent = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 21, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemTempComponent.setStatus('current')
if mibBuilder.loadTexts: systemTempComponent.setDescription('System component name')
systemTempCelsius = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 21, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemTempCelsius.setStatus('current')
if mibBuilder.loadTexts: systemTempCelsius.setDescription('System component temperature (Celsius)')
systemTempFahrenheit = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 21, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemTempFahrenheit.setStatus('current')
if mibBuilder.loadTexts: systemTempFahrenheit.setDescription('System component temperature (Fahrenheit)')
systemFipsMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemFipsMode.setStatus('current')
if mibBuilder.loadTexts: systemFipsMode.setDescription('Enable/disable FIPS mode')
systemTelnetPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemTelnetPort.setStatus('current')
if mibBuilder.loadTexts: systemTelnetPort.setDescription('Telnet port')
systemSshPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemSshPort.setStatus('current')
if mibBuilder.loadTexts: systemSshPort.setDescription('Ssh port')
systemHttpsPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemHttpsPort.setStatus('current')
if mibBuilder.loadTexts: systemHttpsPort.setDescription('Https port')
systemLicenseKey = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 26), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(23, 23)).setFixedLength(23)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemLicenseKey.setStatus('current')
if mibBuilder.loadTexts: systemLicenseKey.setDescription('Set array software license key')
systemLicenseFeatures = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 27), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemLicenseFeatures.setStatus('current')
if mibBuilder.loadTexts: systemLicenseFeatures.setDescription('Software license features')
systemRemoteServer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 28), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemRemoteServer.setStatus('current')
if mibBuilder.loadTexts: systemRemoteServer.setDescription('Specify TFTP server for remote software image')
systemRemoteImage = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 29), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemRemoteImage.setStatus('current')
if mibBuilder.loadTexts: systemRemoteImage.setDescription('Specify a remote array software image')
systemRemoteConfigFile = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 30), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemRemoteConfigFile.setStatus('current')
if mibBuilder.loadTexts: systemRemoteConfigFile.setDescription('Specify a remote array configuration file')
systemHttpsCertificate = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("reset", 0), ("self", 1), ("avaya", 2), ("new", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemHttpsCertificate.setStatus('current')
if mibBuilder.loadTexts: systemHttpsCertificate.setDescription('Set HTTPS certificate')
systemPCIAuditMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemPCIAuditMode.setStatus('current')
if mibBuilder.loadTexts: systemPCIAuditMode.setDescription('Enable/disable PCI (Payment Card Industry) audit mode')
systemNetworkAssurance = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemNetworkAssurance.setStatus('current')
if mibBuilder.loadTexts: systemNetworkAssurance.setDescription('Enable/disable network assurance')
systemLicenseVersion = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 34), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemLicenseVersion.setStatus('current')
if mibBuilder.loadTexts: systemLicenseVersion.setDescription('Software license version')
systemLicenseExpDate = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 35), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemLicenseExpDate.setStatus('current')
if mibBuilder.loadTexts: systemLicenseExpDate.setDescription('Software license expiration date')
licenseFeatureTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 36), )
if mibBuilder.loadTexts: licenseFeatureTable.setStatus('current')
if mibBuilder.loadTexts: licenseFeatureTable.setDescription('Software license feature list')
licenseFeatureEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 36, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "licenseFeatureIndex"))
if mibBuilder.loadTexts: licenseFeatureEntry.setStatus('current')
if mibBuilder.loadTexts: licenseFeatureEntry.setDescription('Software license feature table entry')
licenseFeatureIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 36, 1, 1), Integer32())
if mibBuilder.loadTexts: licenseFeatureIndex.setStatus('current')
if mibBuilder.loadTexts: licenseFeatureIndex.setDescription('License feature table index')
licenseFeatureName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 36, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: licenseFeatureName.setStatus('current')
if mibBuilder.loadTexts: licenseFeatureName.setDescription('License feature name')
licenseFeatureStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 36, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: licenseFeatureStatus.setStatus('current')
if mibBuilder.loadTexts: licenseFeatureStatus.setDescription('License feature status')
licenseFeatureDesc = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 36, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: licenseFeatureDesc.setStatus('current')
if mibBuilder.loadTexts: licenseFeatureDesc.setDescription('License feature description')
systemRDKMode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 37), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemRDKMode.setStatus('current')
if mibBuilder.loadTexts: systemRDKMode.setDescription('Rapid Deployment Kit mode')
systemMaxAuthAttempts = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 38), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemMaxAuthAttempts.setStatus('current')
if mibBuilder.loadTexts: systemMaxAuthAttempts.setDescription('Maximum number of authentication (login) attempts (0 means unlimited)')
systemLoginReauthPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemLoginReauthPeriod.setStatus('current')
if mibBuilder.loadTexts: systemLoginReauthPeriod.setDescription('Time between failed CLI login attempts')
systemPreLoginBanner = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 40), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemPreLoginBanner.setStatus('current')
if mibBuilder.loadTexts: systemPreLoginBanner.setDescription('Set pre-login banner message')
systemPostLoginBanner = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 41), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemPostLoginBanner.setStatus('current')
if mibBuilder.loadTexts: systemPostLoginBanner.setDescription('Set post-login banner message')
systemResetReason = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 42), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemResetReason.setStatus('current')
if mibBuilder.loadTexts: systemResetReason.setDescription('Reason for last reboot')
systemResetCode = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 43), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("reboot-req", 0), ("power-on", 1), ("power-brown-out", 2), ("scd-restart", 3), ("gpc", 4), ("unavailable", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemResetCode.setStatus('current')
if mibBuilder.loadTexts: systemResetCode.setDescription('Code for last reboot')
systemNetworkAssurancePeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 44), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 900))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemNetworkAssurancePeriod.setStatus('current')
if mibBuilder.loadTexts: systemNetworkAssurancePeriod.setDescription('Set network assurance period (in seconds)')
systemLicenseProductType = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("unknown", 0), ("array2x3", 1), ("array2x2", 2), ("array3x3", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemLicenseProductType.setStatus('current')
if mibBuilder.loadTexts: systemLicenseProductType.setDescription('Software license product type')
systemLicenseMaxNumIAPs = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 46), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemLicenseMaxNumIAPs.setStatus('current')
if mibBuilder.loadTexts: systemLicenseMaxNumIAPs.setDescription('Software license maximum number of IAPs')
systemCrashInfo = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 47), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 4096))).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemCrashInfo.setStatus('current')
if mibBuilder.loadTexts: systemCrashInfo.setDescription('System crash information')
systemCompassHeading = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 48), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemCompassHeading.setStatus('current')
if mibBuilder.loadTexts: systemCompassHeading.setDescription('System compass heading (in degrees, -1 - unknown)')
systemXirconEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("disable", 0), ("enable-aos-only", 1), ("enable-boot-only", 2), ("enable-aos-boot", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemXirconEnable.setStatus('current')
if mibBuilder.loadTexts: systemXirconEnable.setDescription('Enable/disable xircon access')
systemXirconTimeout = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 50), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 100000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemXirconTimeout.setStatus('current')
if mibBuilder.loadTexts: systemXirconTimeout.setDescription('Xircon inactivity timeout')
systemXirconPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 51), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1025, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemXirconPort.setStatus('current')
if mibBuilder.loadTexts: systemXirconPort.setDescription('Xircon port')
systemStpEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemStpEnable.setStatus('current')
if mibBuilder.loadTexts: systemStpEnable.setDescription('Enable/disable Spanning Tree Protocol')
systemFanSpeed = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 53), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: systemFanSpeed.setStatus('current')
if mibBuilder.loadTexts: systemFanSpeed.setDescription('System fan speed (RPM)')
systemXmsControl = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 54), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemXmsControl.setStatus('current')
if mibBuilder.loadTexts: systemXmsControl.setDescription('Allow all user management or restrict to console and XMS only')
systemActivation = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 55), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemActivation.setStatus('current')
if mibBuilder.loadTexts: systemActivation.setDescription('Enable/disable array activation')
systemActivationInterval = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 56), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemActivationInterval.setStatus('current')
if mibBuilder.loadTexts: systemActivationInterval.setDescription('Array activation polling interval (minutes)')
systemStatusLed = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 28, 57), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: systemStatusLed.setStatus('current')
if mibBuilder.loadTexts: systemStatusLed.setDescription('Enable/disable Status LED')
tunnelTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1), )
if mibBuilder.loadTexts: tunnelTable.setStatus('current')
if mibBuilder.loadTexts: tunnelTable.setDescription('Tunnel table')
tunnelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "tunnelIndex"))
if mibBuilder.loadTexts: tunnelEntry.setStatus('current')
if mibBuilder.loadTexts: tunnelEntry.setDescription('Tunnel table entry')
tunnelIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: tunnelIndex.setStatus('current')
if mibBuilder.loadTexts: tunnelIndex.setDescription('Tunnel table index')
tunnelName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelName.setStatus('current')
if mibBuilder.loadTexts: tunnelName.setDescription('Tunnel name')
tunnelEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelEnable.setStatus('current')
if mibBuilder.loadTexts: tunnelEnable.setDescription('Enable or disable tunnel')
tunnelType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("gre", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelType.setStatus('current')
if mibBuilder.loadTexts: tunnelType.setDescription('Tunnel type')
tunnelLocalEndpoint = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 5), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelLocalEndpoint.setStatus('current')
if mibBuilder.loadTexts: tunnelLocalEndpoint.setDescription('Tunnel local endpoint')
tunnelPriRemoteEndpoint = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 6), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelPriRemoteEndpoint.setStatus('current')
if mibBuilder.loadTexts: tunnelPriRemoteEndpoint.setDescription('Tunnel primary remote endpoint')
tunnelSecRemoteEndpoint = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 7), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelSecRemoteEndpoint.setStatus('current')
if mibBuilder.loadTexts: tunnelSecRemoteEndpoint.setDescription('Tunnel secondary remote endpoint')
tunnelMTU = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(68, 1732))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelMTU.setStatus('current')
if mibBuilder.loadTexts: tunnelMTU.setDescription('Tunnel MTU')
tunnelSsids = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelSsids.setStatus('current')
if mibBuilder.loadTexts: tunnelSsids.setDescription('Define SSIDs for which data traffic should be bridged via this tunnel')
tunnelDhcpOption = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelDhcpOption.setStatus('current')
if mibBuilder.loadTexts: tunnelDhcpOption.setDescription('Enable or disable insertion of relay agent information option in station DHCP requests')
tunnelFailoverInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 3600))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelFailoverInterval.setStatus('current')
if mibBuilder.loadTexts: tunnelFailoverInterval.setDescription('Ping interval for remote endpoint failover mechanism')
tunnelFailoverNumFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 1000))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelFailoverNumFailures.setStatus('current')
if mibBuilder.loadTexts: tunnelFailoverNumFailures.setDescription('Number of ping failures for remote endpoint failover mechanism')
tunnelRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 1, 1, 13), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: tunnelRowStatus.setStatus('current')
if mibBuilder.loadTexts: tunnelRowStatus.setDescription('Status of the tunnel row entry')
tunnelTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 29, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: tunnelTableReset.setStatus('current')
if mibBuilder.loadTexts: tunnelTableReset.setDescription('Delete all tunnels')
vlanTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vlanTableReset.setStatus('current')
if mibBuilder.loadTexts: vlanTableReset.setDescription('Reset VLAN table (clear all entries)')
vlanTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2), )
if mibBuilder.loadTexts: vlanTable.setStatus('current')
if mibBuilder.loadTexts: vlanTable.setDescription('VLAN table for the Array')
vlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "vlanIndex"))
if mibBuilder.loadTexts: vlanEntry.setStatus('current')
if mibBuilder.loadTexts: vlanEntry.setDescription('VLAN table entry')
vlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: vlanIndex.setStatus('current')
if mibBuilder.loadTexts: vlanIndex.setDescription('VLAN table index')
vlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanName.setStatus('current')
if mibBuilder.loadTexts: vlanName.setDescription('VLAN name')
vlanNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanNumber.setStatus('current')
if mibBuilder.loadTexts: vlanNumber.setDescription('VLAN number')
vlanMgmt = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanMgmt.setStatus('current')
if mibBuilder.loadTexts: vlanMgmt.setDescription('Enable/disable management via VLAN')
vlanDHCPBind = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanDHCPBind.setStatus('current')
if mibBuilder.loadTexts: vlanDHCPBind.setDescription('Use DHCP to get IP settings for VLAN')
vlanIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 6), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanIPAddress.setStatus('current')
if mibBuilder.loadTexts: vlanIPAddress.setDescription('VLAN IP address')
vlanIPMask = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 7), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanIPMask.setStatus('current')
if mibBuilder.loadTexts: vlanIPMask.setDescription('VLAN IP Mask')
vlanGateway = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 8), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanGateway.setStatus('current')
if mibBuilder.loadTexts: vlanGateway.setDescription('VLAN gateway IP address')
vlanRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 9), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanRowStatus.setStatus('current')
if mibBuilder.loadTexts: vlanRowStatus.setDescription('Status of the VLAN row entry')
vlanTunnelServer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanTunnelServer.setStatus('current')
if mibBuilder.loadTexts: vlanTunnelServer.setDescription('VLAN tunnel server IP address or host name')
vlanTunnelSecret = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanTunnelSecret.setStatus('current')
if mibBuilder.loadTexts: vlanTunnelSecret.setDescription('VLAN tunnel server password')
vlanTunnelPort = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanTunnelPort.setStatus('current')
if mibBuilder.loadTexts: vlanTunnelPort.setDescription('VLAN tunnel server port number')
vlanTunnelState = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("not-connected", 0), ("connected", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanTunnelState.setStatus('current')
if mibBuilder.loadTexts: vlanTunnelState.setDescription('VLAN tunnel state')
vlanTunnelSecretForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanTunnelSecretForm.setStatus('current')
if mibBuilder.loadTexts: vlanTunnelSecretForm.setDescription('VLAN tunnel server password form')
vlanFastRoaming = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanFastRoaming.setStatus('current')
if mibBuilder.loadTexts: vlanFastRoaming.setDescription('Enable/disable fast roaming (at layer 3) for VLAN')
vlanFabricAttach = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 2, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: vlanFabricAttach.setStatus('current')
if mibBuilder.loadTexts: vlanFabricAttach.setDescription('Enable/disable fabric attach for VLAN')
spanningTreeTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3), )
if mibBuilder.loadTexts: spanningTreeTable.setStatus('current')
if mibBuilder.loadTexts: spanningTreeTable.setDescription('Spanning tree state table')
spanningTreeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "spanningTreeIndex"))
if mibBuilder.loadTexts: spanningTreeEntry.setStatus('current')
if mibBuilder.loadTexts: spanningTreeEntry.setDescription('Spanning tree table entry')
spanningTreeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 1), Integer32())
if mibBuilder.loadTexts: spanningTreeIndex.setStatus('current')
if mibBuilder.loadTexts: spanningTreeIndex.setDescription('Spanning tree table index')
spanningTreeVlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spanningTreeVlanName.setStatus('current')
if mibBuilder.loadTexts: spanningTreeVlanName.setDescription('VLAN name')
spanningTreeVlanNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spanningTreeVlanNumber.setStatus('current')
if mibBuilder.loadTexts: spanningTreeVlanNumber.setDescription('VLAN number')
spanningTreeGigLinkState = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spanningTreeGigLinkState.setStatus('current')
if mibBuilder.loadTexts: spanningTreeGigLinkState.setDescription('Gigabit link state')
spanningTreeWDSClientLink1State = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 5), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spanningTreeWDSClientLink1State.setStatus('current')
if mibBuilder.loadTexts: spanningTreeWDSClientLink1State.setDescription('WDS client link 1 state')
spanningTreeWDSClientLink2State = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spanningTreeWDSClientLink2State.setStatus('current')
if mibBuilder.loadTexts: spanningTreeWDSClientLink2State.setDescription('WDS client link 2 state')
spanningTreeWDSClientLink3State = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spanningTreeWDSClientLink3State.setStatus('current')
if mibBuilder.loadTexts: spanningTreeWDSClientLink3State.setDescription('WDS client link 3 state')
spanningTreeWDSClientLink4State = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 8), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spanningTreeWDSClientLink4State.setStatus('current')
if mibBuilder.loadTexts: spanningTreeWDSClientLink4State.setDescription('WDS client link 4 state')
spanningTreeWDSHostLink1State = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 9), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spanningTreeWDSHostLink1State.setStatus('current')
if mibBuilder.loadTexts: spanningTreeWDSHostLink1State.setDescription('WDS host link 1 state')
spanningTreeWDSHostLink2State = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 10), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spanningTreeWDSHostLink2State.setStatus('current')
if mibBuilder.loadTexts: spanningTreeWDSHostLink2State.setDescription('WDS host link 2 state')
spanningTreeWDSHostLink3State = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 11), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spanningTreeWDSHostLink3State.setStatus('current')
if mibBuilder.loadTexts: spanningTreeWDSHostLink3State.setDescription('WDS host link 3 state')
spanningTreeWDSHostLink4State = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 3, 1, 12), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: spanningTreeWDSHostLink4State.setStatus('current')
if mibBuilder.loadTexts: spanningTreeWDSHostLink4State.setDescription('WDS host link 4 state')
vlanDefaultNumber = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vlanDefaultNumber.setStatus('current')
if mibBuilder.loadTexts: vlanDefaultNumber.setDescription('VLAN number(1-4095) to assign as default, 0 - no VLAN as default')
vlanNativeNumber = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vlanNativeNumber.setStatus('current')
if mibBuilder.loadTexts: vlanNativeNumber.setDescription('VLAN number(1-4095) to assign as native, 0 - no VLAN as native')
vlanUndefinedTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 6), )
if mibBuilder.loadTexts: vlanUndefinedTable.setStatus('current')
if mibBuilder.loadTexts: vlanUndefinedTable.setDescription('Table of undefined VLANs detected')
vlanUndefinedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 6, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "vlanUndefinedIndex"))
if mibBuilder.loadTexts: vlanUndefinedEntry.setStatus('current')
if mibBuilder.loadTexts: vlanUndefinedEntry.setDescription('Undefined VLAN table entry')
vlanUndefinedIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 6, 1, 1), Integer32())
if mibBuilder.loadTexts: vlanUndefinedIndex.setStatus('current')
if mibBuilder.loadTexts: vlanUndefinedIndex.setDescription('Undefined VLAN table index')
vlanUndefinedNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 6, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanUndefinedNumber.setStatus('current')
if mibBuilder.loadTexts: vlanUndefinedNumber.setDescription('Undefined VLAN number')
vlanUndefinedInfo = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vlanUndefinedInfo.setStatus('current')
if mibBuilder.loadTexts: vlanUndefinedInfo.setDescription('Undefined VLANs detected')
vlanUndefinedClear = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 30, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("clear", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vlanUndefinedClear.setStatus('current')
if mibBuilder.loadTexts: vlanUndefinedClear.setDescription('Clear undefined VLAN information')
clusterArrayTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31, 1), )
if mibBuilder.loadTexts: clusterArrayTable.setStatus('current')
if mibBuilder.loadTexts: clusterArrayTable.setDescription('Table of cluster arrays')
clusterArrayEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "clusterArrayIndex"))
if mibBuilder.loadTexts: clusterArrayEntry.setStatus('current')
if mibBuilder.loadTexts: clusterArrayEntry.setDescription('Cluster array table entry')
clusterArrayIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: clusterArrayIndex.setStatus('current')
if mibBuilder.loadTexts: clusterArrayIndex.setDescription('Cluster array table index')
clusterArrayHostname = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: clusterArrayHostname.setStatus('current')
if mibBuilder.loadTexts: clusterArrayHostname.setDescription('Hostname or IP address of the cluster array')
clusterArrayIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31, 1, 1, 3), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: clusterArrayIPAddress.setStatus('current')
if mibBuilder.loadTexts: clusterArrayIPAddress.setDescription('IP address of the cluster array')
clusterArrayUsername = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: clusterArrayUsername.setStatus('current')
if mibBuilder.loadTexts: clusterArrayUsername.setDescription('Username for cluster array login')
clusterArrayPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 100))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: clusterArrayPassword.setStatus('current')
if mibBuilder.loadTexts: clusterArrayPassword.setDescription('Password for cluster array login')
clusterArrayPasswordForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("clear", 0), ("encrypted", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: clusterArrayPasswordForm.setStatus('current')
if mibBuilder.loadTexts: clusterArrayPasswordForm.setDescription('Password form')
clusterArrayCluster = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: clusterArrayCluster.setStatus('current')
if mibBuilder.loadTexts: clusterArrayCluster.setDescription('Name of the array parent cluster')
clusterArrayRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31, 1, 1, 8), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: clusterArrayRowStatus.setStatus('current')
if mibBuilder.loadTexts: clusterArrayRowStatus.setDescription('Status of the cluster array row entry')
clusterArrayTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 31, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: clusterArrayTableReset.setStatus('current')
if mibBuilder.loadTexts: clusterArrayTableReset.setDescription('Reset cluster array table (clear all entries)')
envCtrlTemperature = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlTemperature.setStatus('current')
if mibBuilder.loadTexts: envCtrlTemperature.setDescription('Outdoor enclosure environmental controller temperature (Celsius)')
envCtrlHumidity = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlHumidity.setStatus('current')
if mibBuilder.loadTexts: envCtrlHumidity.setDescription('Outdoor enclosure environmental controller humidity (percent)')
envCtrlCoolRPM1 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlCoolRPM1.setStatus('current')
if mibBuilder.loadTexts: envCtrlCoolRPM1.setDescription('Outdoor enclosure environmental controller cooling fan 1 RPM')
envCtrlCoolRPM2 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlCoolRPM2.setStatus('current')
if mibBuilder.loadTexts: envCtrlCoolRPM2.setDescription('Outdoor enclosure environmental controller cooling fan 2 RPM')
envCtrlCoolRPM3 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlCoolRPM3.setStatus('current')
if mibBuilder.loadTexts: envCtrlCoolRPM3.setDescription('Outdoor enclosure environmental controller cooling fan 3 RPM')
envCtrlCoolRPM4 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlCoolRPM4.setStatus('current')
if mibBuilder.loadTexts: envCtrlCoolRPM4.setDescription('Outdoor enclosure environmental controller cooling fan 4 RPM')
envCtrlHeatRPM1 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlHeatRPM1.setStatus('current')
if mibBuilder.loadTexts: envCtrlHeatRPM1.setDescription('Outdoor enclosure environmental controller heating fan 1 RPM')
envCtrlHeatRPM2 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlHeatRPM2.setStatus('current')
if mibBuilder.loadTexts: envCtrlHeatRPM2.setDescription('Outdoor enclosure environmental controller heating fan 2 RPM')
envCtrlArrayOn = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlArrayOn.setStatus('current')
if mibBuilder.loadTexts: envCtrlArrayOn.setDescription('Outdoor enclosure environmental controller installed')
envCtrlCoolOn = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlCoolOn.setStatus('current')
if mibBuilder.loadTexts: envCtrlCoolOn.setDescription('Outdoor enclosure environmental controller cooling fan on')
envCtrlHeatOn = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlHeatOn.setStatus('current')
if mibBuilder.loadTexts: envCtrlHeatOn.setDescription('Outdoor enclosure environmental controller heating fan on')
envCtrlSoftwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 32, 12), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: envCtrlSoftwareVersion.setStatus('current')
if mibBuilder.loadTexts: envCtrlSoftwareVersion.setDescription('Outdoor enclosure environmental controller software version')
locationReportingOn = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 33, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: locationReportingOn.setStatus('current')
if mibBuilder.loadTexts: locationReportingOn.setDescription('Location server reporting enable/disable')
locationReportingUrl = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 33, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: locationReportingUrl.setStatus('current')
if mibBuilder.loadTexts: locationReportingUrl.setDescription('Location server URL')
locationReportingKey = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 33, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 49))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: locationReportingKey.setStatus('current')
if mibBuilder.loadTexts: locationReportingKey.setDescription('Location server key')
locationReportingPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 33, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(15, 50000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: locationReportingPeriod.setStatus('current')
if mibBuilder.loadTexts: locationReportingPeriod.setDescription('Location server reporting period')
groupTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1), )
if mibBuilder.loadTexts: groupTable.setStatus('current')
if mibBuilder.loadTexts: groupTable.setDescription('Group table for the array')
groupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "groupIndex"))
if mibBuilder.loadTexts: groupEntry.setStatus('current')
if mibBuilder.loadTexts: groupEntry.setDescription('Group table entry')
groupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: groupIndex.setStatus('current')
if mibBuilder.loadTexts: groupIndex.setDescription('Group table index')
groupName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupName.setStatus('current')
if mibBuilder.loadTexts: groupName.setDescription('Group name')
groupRadiusFilterID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupRadiusFilterID.setStatus('current')
if mibBuilder.loadTexts: groupRadiusFilterID.setDescription('Radius Filter-ID (Attribute Type 11) mapped to this group')
groupEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupEnable.setStatus('current')
if mibBuilder.loadTexts: groupEnable.setDescription('Enable or disable group')
groupVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupVlan.setStatus('current')
if mibBuilder.loadTexts: groupVlan.setDescription('Group VLAN ID')
groupQOS = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupQOS.setStatus('current')
if mibBuilder.loadTexts: groupQOS.setDescription('Group QoS level')
groupDhcpPool = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupDhcpPool.setStatus('current')
if mibBuilder.loadTexts: groupDhcpPool.setDescription('Group DHCP pool')
groupFilterList = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupFilterList.setStatus('current')
if mibBuilder.loadTexts: groupFilterList.setDescription('Group filter list')
groupRoamingLayer = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("layer-2-only", 0), ("layer-2-and-3", 1), ("none", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupRoamingLayer.setStatus('current')
if mibBuilder.loadTexts: groupRoamingLayer.setDescription('Fast roaming layer allowed for this group')
groupStationLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3840))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupStationLimit.setStatus('current')
if mibBuilder.loadTexts: groupStationLimit.setDescription('Station limit for group')
groupTrafficLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000000))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupTrafficLimit.setStatus('current')
if mibBuilder.loadTexts: groupTrafficLimit.setDescription('Traffic limit for group (10 to 1000000 pps, 0 - unlimited)')
groupTrafficLimitSta = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100000))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupTrafficLimitSta.setStatus('current')
if mibBuilder.loadTexts: groupTrafficLimitSta.setDescription('Traffic limit per station for group (10 to 100000 pps, 0 - unlimited)')
groupTimeOn = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1439))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupTimeOn.setStatus('current')
if mibBuilder.loadTexts: groupTimeOn.setDescription('Set daily time group is active (in minutes, -1 - always)')
groupTimeOff = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-1, 1439))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupTimeOff.setStatus('current')
if mibBuilder.loadTexts: groupTimeOff.setDescription('Set daily time group is inactive (in minutes, -1 - never)')
groupDaysOnMon = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupDaysOnMon.setStatus('current')
if mibBuilder.loadTexts: groupDaysOnMon.setDescription('Group is on/off on Monday')
groupDaysOnTue = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupDaysOnTue.setStatus('current')
if mibBuilder.loadTexts: groupDaysOnTue.setDescription('Group is on/off on Tuesday')
groupDaysOnWed = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupDaysOnWed.setStatus('current')
if mibBuilder.loadTexts: groupDaysOnWed.setDescription('Group is on/off on Wednesday')
groupDaysOnThu = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupDaysOnThu.setStatus('current')
if mibBuilder.loadTexts: groupDaysOnThu.setDescription('Group is on/off on Thursday')
groupDaysOnFri = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupDaysOnFri.setStatus('current')
if mibBuilder.loadTexts: groupDaysOnFri.setDescription('Group is on/off on Friday')
groupDaysOnSat = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupDaysOnSat.setStatus('current')
if mibBuilder.loadTexts: groupDaysOnSat.setDescription('Group is on/off on Saturday')
groupDaysOnSun = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupDaysOnSun.setStatus('current')
if mibBuilder.loadTexts: groupDaysOnSun.setDescription('Group is on/off on Sunday')
groupWprEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupWprEnable.setStatus('current')
if mibBuilder.loadTexts: groupWprEnable.setDescription('Enable or disable WPR for group')
groupWprSplashEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupWprSplashEnable.setStatus('current')
if mibBuilder.loadTexts: groupWprSplashEnable.setDescription('Enable or disable splash screen for WPR')
groupWprSplashTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupWprSplashTimeout.setStatus('current')
if mibBuilder.loadTexts: groupWprSplashTimeout.setDescription('Splash screen timeout (0 - no timeout)')
groupWprLandingPage = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 25), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupWprLandingPage.setStatus('current')
if mibBuilder.loadTexts: groupWprLandingPage.setDescription('Landing page URL for WPR')
groupActive = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: groupActive.setStatus('current')
if mibBuilder.loadTexts: groupActive.setDescription('Flag indicating whether group is currently active')
groupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 27), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupRowStatus.setStatus('current')
if mibBuilder.loadTexts: groupRowStatus.setDescription('Status of the group row entry')
groupWprBackground = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 28), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: groupWprBackground.setStatus('current')
if mibBuilder.loadTexts: groupWprBackground.setDescription('Custom background file for WPR')
groupWprLogoImage = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 29), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: groupWprLogoImage.setStatus('current')
if mibBuilder.loadTexts: groupWprLogoImage.setDescription('Custom logo file for WPR')
groupWprHeaderText = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 30), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: groupWprHeaderText.setStatus('current')
if mibBuilder.loadTexts: groupWprHeaderText.setDescription('Custom header text file for WPR')
groupWprFooterText = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 31), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: groupWprFooterText.setStatus('current')
if mibBuilder.loadTexts: groupWprFooterText.setDescription('Custom footer text file for WPR')
groupFallback = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("disable-group", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupFallback.setStatus('current')
if mibBuilder.loadTexts: groupFallback.setDescription('Define network connectivity fallback mode for this group')
groupDeviceID = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 33), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupDeviceID.setStatus('current')
if mibBuilder.loadTexts: groupDeviceID.setDescription('Device ID mapped to this group')
groupTrafficLimitKbps = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4000000))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupTrafficLimitKbps.setStatus('current')
if mibBuilder.loadTexts: groupTrafficLimitKbps.setDescription('Traffic limit for group (10 to 4000000 kbps, 0 - unlimited)')
groupTrafficLimitKbpsSta = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 1, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 400000))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: groupTrafficLimitKbpsSta.setStatus('current')
if mibBuilder.loadTexts: groupTrafficLimitKbpsSta.setDescription('Traffic limit per station for group (10 to 400000 kbps, 0 - unlimited)')
groupTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 34, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: groupTableReset.setStatus('current')
if mibBuilder.loadTexts: groupTableReset.setDescription('Reset group table (clear all entries)')
mdmAirWatchApiURL = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 35, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: mdmAirWatchApiURL.setStatus('current')
if mibBuilder.loadTexts: mdmAirWatchApiURL.setDescription('AirWatch API URL')
mdmAirWatchApiKey = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 35, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: mdmAirWatchApiKey.setStatus('current')
if mibBuilder.loadTexts: mdmAirWatchApiKey.setDescription('AirWatch API key')
mdmAirWatchApiUsername = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 35, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: mdmAirWatchApiUsername.setStatus('current')
if mibBuilder.loadTexts: mdmAirWatchApiUsername.setDescription('AirWatch API username')
mdmAirWatchApiPassword = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 35, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: mdmAirWatchApiPassword.setStatus('current')
if mibBuilder.loadTexts: mdmAirWatchApiPassword.setDescription('AirWatch API password')
mdmAirWatchApiPasswordEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 35, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: mdmAirWatchApiPasswordEnc.setStatus('current')
if mibBuilder.loadTexts: mdmAirWatchApiPasswordEnc.setDescription('AirWatch API password (encrypted)')
mdmAirWatchApiTimeout = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 35, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 20))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: mdmAirWatchApiTimeout.setStatus('current')
if mibBuilder.loadTexts: mdmAirWatchApiTimeout.setDescription('AirWatch API timeout (in seconds)')
mdmAirWatchApiPollPeriod = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 35, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3600))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: mdmAirWatchApiPollPeriod.setStatus('current')
if mibBuilder.loadTexts: mdmAirWatchApiPollPeriod.setDescription('AirWatch API poll period (in seconds)')
mdmAirWatchApiAccessError = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 35, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("block", 0), ("allow", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: mdmAirWatchApiAccessError.setStatus('current')
if mibBuilder.loadTexts: mdmAirWatchApiAccessError.setDescription('AirWatch API access error action')
mdmAirWatchRedirectURL = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 35, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: mdmAirWatchRedirectURL.setStatus('current')
if mibBuilder.loadTexts: mdmAirWatchRedirectURL.setDescription('AirWatch station redirect URL')
netflowEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 36, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("disable", 0), ("v5", 1), ("v9", 2), ("ipfix", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: netflowEnable.setStatus('current')
if mibBuilder.loadTexts: netflowEnable.setDescription('Enable or disable NetFlow probe')
netflowCollectorHost = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 36, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: netflowCollectorHost.setStatus('current')
if mibBuilder.loadTexts: netflowCollectorHost.setDescription('Netflow collector IP address or host name')
netflowCollectorPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 36, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: netflowCollectorPort.setStatus('current')
if mibBuilder.loadTexts: netflowCollectorPort.setDescription('NetFlow collector port')
wifiTagEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 37, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wifiTagEnable.setStatus('current')
if mibBuilder.loadTexts: wifiTagEnable.setDescription('Enable or disable WiFi Tag')
wifiTagUdpPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 37, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wifiTagUdpPort.setStatus('current')
if mibBuilder.loadTexts: wifiTagUdpPort.setDescription('WiFi Tag UDP Port')
wifiTagChannel1 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 37, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wifiTagChannel1.setStatus('current')
if mibBuilder.loadTexts: wifiTagChannel1.setDescription('WiFi Tag Channel 1')
wifiTagChannel2 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 37, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wifiTagChannel2.setStatus('current')
if mibBuilder.loadTexts: wifiTagChannel2.setDescription('WiFi Tag Channel 2')
wifiTagChannel3 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 37, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wifiTagChannel3.setStatus('current')
if mibBuilder.loadTexts: wifiTagChannel3.setDescription('WiFi Tag Channel 3')
wifiTagEkahauServer = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 37, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wifiTagEkahauServer.setStatus('current')
if mibBuilder.loadTexts: wifiTagEkahauServer.setDescription('Ekahau server host name or IP address')
wprWhitelistSsidTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 1), )
if mibBuilder.loadTexts: wprWhitelistSsidTable.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistSsidTable.setDescription('WPR whitelist per SSID')
wprWhitelistSsidEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "wprWhitelistSsidIndex"))
if mibBuilder.loadTexts: wprWhitelistSsidEntry.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistSsidEntry.setDescription('WPR whitelist per SSID table entry')
wprWhitelistSsidIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: wprWhitelistSsidIndex.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistSsidIndex.setDescription('WPR whitelist per SSID index')
wprWhitelistSsidDomain = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wprWhitelistSsidDomain.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistSsidDomain.setDescription('WPR whitelist domain name')
wprWhitelistSsidName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wprWhitelistSsidName.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistSsidName.setDescription('SSID this WPR whitelist domain belongs to')
wprWhitelistSsidRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 1, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wprWhitelistSsidRowStatus.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistSsidRowStatus.setDescription('Status of the WPR whitelist row entry')
wprWhitelistGroupTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 2), )
if mibBuilder.loadTexts: wprWhitelistGroupTable.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistGroupTable.setDescription('WPR whitelist per user group')
wprWhitelistGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 2, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "wprWhitelistGroupIndex"))
if mibBuilder.loadTexts: wprWhitelistGroupEntry.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistGroupEntry.setDescription('WPR whitelist per user group table entry')
wprWhitelistGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: wprWhitelistGroupIndex.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistGroupIndex.setDescription('WPR whitelist per user group index')
wprWhitelistGroupDomain = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wprWhitelistGroupDomain.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistGroupDomain.setDescription('WPR whitelist domain name')
wprWhitelistGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wprWhitelistGroupName.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistGroupName.setDescription('User group this WPR whitelist domain belongs to')
wprWhitelistGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 2, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wprWhitelistGroupRowStatus.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistGroupRowStatus.setDescription('Status of the WPR whitelist row entry')
wprWhitelistSsidTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wprWhitelistSsidTableReset.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistSsidTableReset.setDescription('Reset WPR whitelist (clear all entries) for given SSID')
wprWhitelistGroupTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 38, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wprWhitelistGroupTableReset.setStatus('current')
if mibBuilder.loadTexts: wprWhitelistGroupTableReset.setDescription('Reset WPR whitelist (clear all entries) for given user group')
oauthTokenTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1), )
if mibBuilder.loadTexts: oauthTokenTable.setStatus('current')
if mibBuilder.loadTexts: oauthTokenTable.setDescription('OAUTH Token table')
oauthTokenEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "oauthTokenIndex"))
if mibBuilder.loadTexts: oauthTokenEntry.setStatus('current')
if mibBuilder.loadTexts: oauthTokenEntry.setDescription('OAUTH token table entry')
oauthTokenIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1, 1, 1), Integer32())
if mibBuilder.loadTexts: oauthTokenIndex.setStatus('current')
if mibBuilder.loadTexts: oauthTokenIndex.setDescription('OAUTH Token index')
oauthTokenId = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 50))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oauthTokenId.setStatus('current')
if mibBuilder.loadTexts: oauthTokenId.setDescription('OAUTH Token Id')
oauthTokenClientId = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 50))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oauthTokenClientId.setStatus('current')
if mibBuilder.loadTexts: oauthTokenClientId.setDescription('OAUTH Token Client ID')
oauthTokenGrantType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 50))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oauthTokenGrantType.setStatus('current')
if mibBuilder.loadTexts: oauthTokenGrantType.setDescription('OAUTH Token Grant Type')
oauthTokenExpiration = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: oauthTokenExpiration.setStatus('current')
if mibBuilder.loadTexts: oauthTokenExpiration.setDescription('OAUTH Token Expiration')
oauthTokenUserAgent = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 50))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oauthTokenUserAgent.setStatus('current')
if mibBuilder.loadTexts: oauthTokenUserAgent.setDescription('OAUTH Token User Agent')
oauthTokenScope = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 50))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oauthTokenScope.setStatus('current')
if mibBuilder.loadTexts: oauthTokenScope.setDescription('OAUTH Token Scope')
oauthTokenCode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 50))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oauthTokenCode.setStatus('current')
if mibBuilder.loadTexts: oauthTokenCode.setDescription('OAUTH Token Code')
oauthTokenType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 50))).setMaxAccess("readonly")
if mibBuilder.loadTexts: oauthTokenType.setStatus('current')
if mibBuilder.loadTexts: oauthTokenType.setDescription('OAUTH Token Type')
oauthTokenRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 1, 1, 10), RowStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: oauthTokenRowStatus.setStatus('current')
if mibBuilder.loadTexts: oauthTokenRowStatus.setDescription('Status of the OAUTH Token row entry')
oauthTableReset = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 39, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: oauthTableReset.setStatus('current')
if mibBuilder.loadTexts: oauthTableReset.setDescription('Reset OAUTH table (clear all entries)')
proxyFwdProxyType = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 40, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("off", 0), ("bluecoat", 1), ("netboxblue", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyFwdProxyType.setStatus('current')
if mibBuilder.loadTexts: proxyFwdProxyType.setDescription('Disable or enable proxy forwarding')
proxyFwdBlueCoatUrl = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 40, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyFwdBlueCoatUrl.setStatus('current')
if mibBuilder.loadTexts: proxyFwdBlueCoatUrl.setDescription('URL of BlueCoat proxy server')
proxyFwdNetBoxBlueUrl = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 40, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyFwdNetBoxBlueUrl.setStatus('current')
if mibBuilder.loadTexts: proxyFwdNetBoxBlueUrl.setDescription('URL of NetBoxBlue proxy server')
lldpEnable = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lldpEnable.setStatus('current')
if mibBuilder.loadTexts: lldpEnable.setDescription('Enable or disable LLDP')
lldpInterval = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 900))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lldpInterval.setStatus('current')
if mibBuilder.loadTexts: lldpInterval.setDescription('LLDP message interval (in seconds)')
lldpHoldTime = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lldpHoldTime.setStatus('current')
if mibBuilder.loadTexts: lldpHoldTime.setDescription('LLDP message hold time (in seconds)')
lldpRequestPower = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lldpRequestPower.setStatus('current')
if mibBuilder.loadTexts: lldpRequestPower.setDescription('Enable or disable LLDP power request')
lldpFabricAttach = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lldpFabricAttach.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttach.setDescription('Enable or disable fabric attach')
lldpFabricAttachMsgAuthKey = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lldpFabricAttachMsgAuthKey.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttachMsgAuthKey.setDescription('Fabric attach message authentication key')
lldpFabricAttachMsgAuthKeyEnc = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lldpFabricAttachMsgAuthKeyEnc.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttachMsgAuthKeyEnc.setDescription('Fabric attach message authentication key (encrypted)')
lldpFabricAttachElementTable = MibTable((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 8), )
if mibBuilder.loadTexts: lldpFabricAttachElementTable.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttachElementTable.setDescription('Table of discovered fabric attach elements')
lldpFabricAttachElementEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 8, 1), ).setIndexNames((0, "AVAYA-WLAN-MIB", "lldpFabricAttachElementIndex"))
if mibBuilder.loadTexts: lldpFabricAttachElementEntry.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttachElementEntry.setDescription('Table entry for fabric attach element')
lldpFabricAttachElementIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 8, 1, 1), Integer32())
if mibBuilder.loadTexts: lldpFabricAttachElementIndex.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttachElementIndex.setDescription('Fabric attach element index')
lldpFabricAttachElementInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 8, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lldpFabricAttachElementInterface.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttachElementInterface.setDescription('Interface fabric attach element was discovered on')
lldpFabricAttachElementIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 8, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lldpFabricAttachElementIPAddress.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttachElementIPAddress.setDescription('Fabric attach element IP Address')
lldpFabricAttachElementType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 8, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("unknown", 1), ("server", 2), ("proxy", 3), ("server-no-auth", 4), ("proxy-no-auth", 5), ("client-wap", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lldpFabricAttachElementType.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttachElementType.setDescription('Fabric attach element type')
lldpFabricAttachElementMgmtVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 8, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lldpFabricAttachElementMgmtVlan.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttachElementMgmtVlan.setDescription('Fabric attach element management VLAN')
lldpFabricAttachElementMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 8, 1, 6), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lldpFabricAttachElementMACAddress.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttachElementMACAddress.setDescription('Fabric attach element MAC address')
lldpFabricAttachElementLastUpdate = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 42, 8, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lldpFabricAttachElementLastUpdate.setStatus('current')
if mibBuilder.loadTexts: lldpFabricAttachElementLastUpdate.setDescription('Time (in seconds) since the last fabric attach element TLV was processed')
adminTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 1))
stationTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 2))
generalTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3))
envCtrlTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 4))
iapTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 5))
fabricAttachTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 51))
trapObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 100))
adminLogin = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 1, 1)).setObjects(("AVAYA-WLAN-MIB", "adminUsername"))
if mibBuilder.loadTexts: adminLogin.setStatus('current')
if mibBuilder.loadTexts: adminLogin.setDescription('Admin Logged into Array')
adminLogout = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 1, 2)).setObjects(("AVAYA-WLAN-MIB", "adminUsername"))
if mibBuilder.loadTexts: adminLogout.setStatus('current')
if mibBuilder.loadTexts: adminLogout.setDescription('Admin Logged out from Array')
stationACLFailure = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 2, 1)).setObjects(("AVAYA-WLAN-MIB", "stationAssociationMACAddress"))
if mibBuilder.loadTexts: stationACLFailure.setStatus('current')
if mibBuilder.loadTexts: stationACLFailure.setDescription('Station rejected by ACL')
stationRadiusAuthFailure = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 2, 2)).setObjects(("AVAYA-WLAN-MIB", "stationAssociationMACAddress"))
if mibBuilder.loadTexts: stationRadiusAuthFailure.setStatus('current')
if mibBuilder.loadTexts: stationRadiusAuthFailure.setDescription('Station failed Radius server authentication')
resetArray = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 1))
if mibBuilder.loadTexts: resetArray.setStatus('current')
if mibBuilder.loadTexts: resetArray.setDescription('Admin requested reset of the Array')
rebootArray = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 2))
if mibBuilder.loadTexts: rebootArray.setStatus('current')
if mibBuilder.loadTexts: rebootArray.setDescription('Administrator requested a reboot of Array')
softwareUploadFailure = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 3))
if mibBuilder.loadTexts: softwareUploadFailure.setStatus('current')
if mibBuilder.loadTexts: softwareUploadFailure.setDescription('Array software image upload failed')
softwareUploadSuccess = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 4))
if mibBuilder.loadTexts: softwareUploadSuccess.setStatus('current')
if mibBuilder.loadTexts: softwareUploadSuccess.setDescription('Array software image upload succeeded')
softwareUpgradeFailure = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 5))
if mibBuilder.loadTexts: softwareUpgradeFailure.setStatus('current')
if mibBuilder.loadTexts: softwareUpgradeFailure.setDescription('Array software upgrade failed')
softwareUpgradeSuccess = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 6))
if mibBuilder.loadTexts: softwareUpgradeSuccess.setStatus('current')
if mibBuilder.loadTexts: softwareUpgradeSuccess.setDescription('Array software upgrade succeeded')
dhcpRenewFailure = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 7)).setObjects(("AVAYA-WLAN-MIB", "ethStatsIfaceName"))
if mibBuilder.loadTexts: dhcpRenewFailure.setStatus('current')
if mibBuilder.loadTexts: dhcpRenewFailure.setDescription('Unable to get DHCP Address')
cfgChange = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 8)).setObjects(("AVAYA-WLAN-MIB", "cfgModuleOID"))
if mibBuilder.loadTexts: cfgChange.setStatus('current')
if mibBuilder.loadTexts: cfgChange.setDescription('Configuration change')
keepAlive = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 9)).setObjects(("AVAYA-WLAN-MIB", "systemHostname"))
if mibBuilder.loadTexts: keepAlive.setStatus('current')
if mibBuilder.loadTexts: keepAlive.setDescription('Keepalive notice')
encDoorOpened = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 10))
if mibBuilder.loadTexts: encDoorOpened.setStatus('current')
if mibBuilder.loadTexts: encDoorOpened.setDescription('Enclosure door opened')
encDoorClosed = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 11))
if mibBuilder.loadTexts: encDoorClosed.setStatus('current')
if mibBuilder.loadTexts: encDoorClosed.setDescription('Enclosure door closed')
flashPartitionCorrupt = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 12))
if mibBuilder.loadTexts: flashPartitionCorrupt.setStatus('current')
if mibBuilder.loadTexts: flashPartitionCorrupt.setDescription('Flash partition corrupt')
licenseUpdate = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 3, 13))
if mibBuilder.loadTexts: licenseUpdate.setStatus('current')
if mibBuilder.loadTexts: licenseUpdate.setDescription('License updated')
envCtrlTempOver = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 4, 1))
if mibBuilder.loadTexts: envCtrlTempOver.setStatus('current')
if mibBuilder.loadTexts: envCtrlTempOver.setDescription('Outdoor enclosure temperature too high')
envCtrlTempUnder = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 4, 2))
if mibBuilder.loadTexts: envCtrlTempUnder.setStatus('current')
if mibBuilder.loadTexts: envCtrlTempUnder.setDescription('Outdoor enclosure temperature too low')
envCtrlHumidOver = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 4, 3))
if mibBuilder.loadTexts: envCtrlHumidOver.setStatus('current')
if mibBuilder.loadTexts: envCtrlHumidOver.setDescription('Outdoor enclosure humidity too high')
envCtrlFanFail = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 4, 4))
if mibBuilder.loadTexts: envCtrlFanFail.setStatus('current')
if mibBuilder.loadTexts: envCtrlFanFail.setDescription('Outdoor enclosure fan failure')
iapBeaconProbeFailure = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 5, 1)).setObjects(("AVAYA-WLAN-MIB", "iapStatsIfaceName"))
if mibBuilder.loadTexts: iapBeaconProbeFailure.setStatus('current')
if mibBuilder.loadTexts: iapBeaconProbeFailure.setDescription('No received beacons (or probe responses) from IAP, alert only')
iapBeaconProbeFailurePhyReset = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 5, 2)).setObjects(("AVAYA-WLAN-MIB", "iapStatsIfaceName"))
if mibBuilder.loadTexts: iapBeaconProbeFailurePhyReset.setStatus('current')
if mibBuilder.loadTexts: iapBeaconProbeFailurePhyReset.setDescription('No received beacons (or probe responses) from IAP, resetting interface PHY')
iapBeaconProbeFailureMacReset = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 5, 3)).setObjects(("AVAYA-WLAN-MIB", "iapStatsIfaceName"))
if mibBuilder.loadTexts: iapBeaconProbeFailureMacReset.setStatus('current')
if mibBuilder.loadTexts: iapBeaconProbeFailureMacReset.setDescription('No received beacons (or probe responses) from IAP, resetting interface MAC')
iapBeaconProbeFailureArrayReboot = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 5, 4)).setObjects(("AVAYA-WLAN-MIB", "iapStatsIfaceName"))
if mibBuilder.loadTexts: iapBeaconProbeFailureArrayReboot.setStatus('current')
if mibBuilder.loadTexts: iapBeaconProbeFailureArrayReboot.setDescription('No received beacons (or probe responses) from IAP, scheduling array reboot')
fabricAttachElementDiscovered = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 51, 1)).setObjects(("AVAYA-WLAN-MIB", "lldpFabricAttachElementInterface"), ("AVAYA-WLAN-MIB", "lldpFabricAttachElementType"), ("AVAYA-WLAN-MIB", "lldpFabricAttachElementMACAddress"), ("AVAYA-WLAN-MIB", "lldpFabricAttachElementIPAddress"))
if mibBuilder.loadTexts: fabricAttachElementDiscovered.setStatus('current')
if mibBuilder.loadTexts: fabricAttachElementDiscovered.setDescription('Fabric Attach element discovered')
fabricAttachElementAgedOut = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 51, 2)).setObjects(("AVAYA-WLAN-MIB", "lldpFabricAttachElementInterface"), ("AVAYA-WLAN-MIB", "lldpFabricAttachElementType"), ("AVAYA-WLAN-MIB", "lldpFabricAttachElementMACAddress"), ("AVAYA-WLAN-MIB", "lldpFabricAttachElementIPAddress"))
if mibBuilder.loadTexts: fabricAttachElementAgedOut.setStatus('current')
if mibBuilder.loadTexts: fabricAttachElementAgedOut.setDescription('Fabric Attach element aged out')
fabricAttachMgmtVlanMismatch = NotificationType((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 51, 3)).setObjects(("AVAYA-WLAN-MIB", "vlanDefaultNumber"), ("AVAYA-WLAN-MIB", "lldpFabricAttachElementMgmtVlan"))
if mibBuilder.loadTexts: fabricAttachMgmtVlanMismatch.setStatus('current')
if mibBuilder.loadTexts: fabricAttachMgmtVlanMismatch.setDescription('Fabric Attach management VLAN mismatch detected')
cfgModuleOID = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 50, 100, 1), ObjectIdentifier()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: cfgModuleOID.setStatus('current')
if mibBuilder.loadTexts: cfgModuleOID.setDescription('Configuration module OID')
proxyMgmtEnabled = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtEnabled.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtEnabled.setDescription('Disable or enable all proxy client services for management traffic')
proxyMgmtCustom = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtCustom.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtCustom.setDescription('Disable or enable custom tsocks configuration for proxy client')
proxyMgmtHttpEnabled = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpEnabled.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpEnabled.setDescription('Disable or enable HTTP proxy client')
proxyMgmtHttpIpAddr = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 4), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpIpAddr.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpIpAddr.setDescription('Ip Address used with HTTP proxy client')
proxyMgmtHttpPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpPort.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpPort.setDescription('Port used with HTTP proxy client')
proxyMgmtHttpUsername = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 6), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpUsername.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpUsername.setDescription('Username used with HTTP proxy client')
proxyMgmtHttpPassword = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 7), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpPassword.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpPassword.setDescription('Password used with HTTP proxy client')
proxyMgmtHttpType = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0))).clone(namedValues=NamedValues(("http", 0)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpType.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpType.setDescription('HTTP proxy client Type')
proxyMgmtHttpsEnabled = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpsEnabled.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpsEnabled.setDescription('Disable or enable HTTPS proxy client')
proxyMgmtHttpsIpAddr = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 10), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpsIpAddr.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpsIpAddr.setDescription('Ip Address used with HTTPS proxy client')
proxyMgmtHttpsPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 11), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpsPort.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpsPort.setDescription('Port used with HTTPS proxy client')
proxyMgmtHttpsUsername = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 12), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpsUsername.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpsUsername.setDescription('Username used with HTTPS proxy client')
proxyMgmtHttpsPassword = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 13), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpsPassword.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpsPassword.setDescription('Password used with HTTPS proxy client')
proxyMgmtHttpsType = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("https", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtHttpsType.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtHttpsType.setDescription('HTTPS proxy client Type')
proxyMgmtSocksEnabled = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSocksEnabled.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSocksEnabled.setDescription('Disable or enable SOCKS proxy client')
proxyMgmtSocksIpAddr = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 16), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSocksIpAddr.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSocksIpAddr.setDescription('Ip Address used with SOCKS proxy client')
proxyMgmtSocksPort = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 17), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSocksPort.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSocksPort.setDescription('Port used with SOCKS proxy client')
proxyMgmtSocksUsername = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 18), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSocksUsername.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSocksUsername.setDescription('Username used with SOCKS proxy client')
proxyMgmtSocksPassword = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 19), DisplayString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSocksPassword.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSocksPassword.setDescription('Password used with SOCKS proxy client')
proxyMgmtSocksType = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3))).clone(namedValues=NamedValues(("socks4", 2), ("socks5", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSocksType.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSocksType.setDescription('SOCKS proxy client Type')
proxyMgmtSubnet01 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 21), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSubnet01.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSubnet01.setDescription('Socks Proxy Client Whitelist Local Network 01')
proxyMgmtMask01 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 22), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtMask01.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtMask01.setDescription('Socks Proxy Client Whitelist Local Network Mask 01')
proxyMgmtSubnet02 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 23), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSubnet02.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSubnet02.setDescription('Socks Proxy Client Whitelist Local Network 02')
proxyMgmtMask02 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 24), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtMask02.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtMask02.setDescription('Socks Proxy Client Whitelist Local Network Mask 02')
proxyMgmtSubnet03 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 25), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSubnet03.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSubnet03.setDescription('Socks Proxy Client Whitelist Local Network 03')
proxyMgmtMask03 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 26), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtMask03.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtMask03.setDescription('Socks Proxy Client Whitelist Local Network Mask 03')
proxyMgmtSubnet04 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 27), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSubnet04.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSubnet04.setDescription('Socks Proxy Client Whitelist Local Network 04')
proxyMgmtMask04 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 28), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtMask04.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtMask04.setDescription('Socks Proxy Client Whitelist Local Network Mask 04')
proxyMgmtSubnet05 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 29), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSubnet05.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSubnet05.setDescription('Socks Proxy Client Whitelist Local Network 05')
proxyMgmtMask05 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 30), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtMask05.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtMask05.setDescription('Socks Proxy Client Whitelist Local Network Mask 05')
proxyMgmtSubnet06 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 31), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSubnet06.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSubnet06.setDescription('Socks Proxy Client Whitelist Local Network 06')
proxyMgmtMask06 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 32), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtMask06.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtMask06.setDescription('Socks Proxy Client Whitelist Local Network Mask 06')
proxyMgmtSubnet07 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 33), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSubnet07.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSubnet07.setDescription('Socks Proxy Client Whitelist Local Network 07')
proxyMgmtMask07 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 34), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtMask07.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtMask07.setDescription('Socks Proxy Client Whitelist Local Network Mask 07')
proxyMgmtSubnet08 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 35), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSubnet08.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSubnet08.setDescription('Socks Proxy Client Whitelist Local Network 08')
proxyMgmtMask08 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 36), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtMask08.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtMask08.setDescription('Socks Proxy Client Whitelist Local Network Mask 08')
proxyMgmtSubnet09 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 37), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSubnet09.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSubnet09.setDescription('Socks Proxy Client Whitelist Local Network 09')
proxyMgmtMask09 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 38), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtMask09.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtMask09.setDescription('Socks Proxy Client Whitelist Local Network Mask 09')
proxyMgmtSubnet10 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 39), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtSubnet10.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtSubnet10.setDescription('Socks Proxy Client Whitelist Local Network 10')
proxyMgmtMask10 = MibScalar((1, 3, 6, 1, 4, 1, 45, 8, 1, 1, 41, 40), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: proxyMgmtMask10.setStatus('current')
if mibBuilder.loadTexts: proxyMgmtMask10.setDescription('Socks Proxy Client Whitelist Local Network Mask 10')
mibBuilder.exportSymbols("AVAYA-WLAN-MIB", iapStatsTxRate11Packets=iapStatsTxRate11Packets, groupIndex=groupIndex, envCtrlCoolRPM3=envCtrlCoolRPM3, aclSsidName=aclSsidName, idsStationImpersonationPeriod=idsStationImpersonationPeriod, ssidLimitsTrafficLimitKbps=ssidLimitsTrafficLimitKbps, wlan=wlan, stationUnassociatedRSSIa10=stationUnassociatedRSSIa10, vlanTableReset=vlanTableReset, snmpAgentReadWriteCommunityEnc=snmpAgentReadWriteCommunityEnc, wdsStatsTxRate6Packets=wdsStatsTxRate6Packets, globalDscpMappingDscp=globalDscpMappingDscp, idsEAPFloodThreshold=idsEAPFloodThreshold, realtimeMonitorNoise=realtimeMonitorNoise, wifiTagEnable=wifiTagEnable, syslogEmailUsername=syslogEmailUsername, stationAssociationRSSIa5=stationAssociationRSSIa5, idsDurationAttackThreshold=idsDurationAttackThreshold, tunnelName=tunnelName, dateTimeDSTAdjust=dateTimeDSTAdjust, stationUnassocRSSIa4=stationUnassocRSSIa4, realtimeMonitorEntry=realtimeMonitorEntry, ssidRadiusSecServerSecretForm=ssidRadiusSecServerSecretForm, iapStatsTxRate36Bytes=iapStatsTxRate36Bytes, filterAppTable=filterAppTable, global11n=global11n, rfMonitorTimeshareScanInterval=rfMonitorTimeshareScanInterval, radiusSecServerSecretEnc=radiusSecServerSecretEnc, rates11aRate=rates11aRate, globalWfaMode=globalWfaMode, global11aIAPRTSThreshold=global11aIAPRTSThreshold, groupTableReset=groupTableReset, stationStatsRxRate24Errors=stationStatsRxRate24Errors, radiusAcctSecServerHostname=radiusAcctSecServerHostname, ssidQOS=ssidQOS, wdsStatsRxRate48Bytes=wdsStatsRxRate48Bytes, spanningTreeWDSHostLink1State=spanningTreeWDSHostLink1State, dhcpPoolDNSServer1=dhcpPoolDNSServer1, stationAssociationTimeRSSIa8=stationAssociationTimeRSSIa8, wdsStatsRxRate6Packets=wdsStatsRxRate6Packets, iapStatsRxBytes=iapStatsRxBytes, ssidLimitsTable=ssidLimitsTable, rogueDetectAPSecurity=rogueDetectAPSecurity, adminRadiusPriServerSecret=adminRadiusPriServerSecret, systemStatusLed=systemStatusLed, vlanStatsRxMulticast=vlanStatsRxMulticast, envCtrlTempUnder=envCtrlTempUnder, vlanStatsTxCarrierErrors=vlanStatsTxCarrierErrors, global11bgIAPCellSize=global11bgIAPCellSize, stationUnassocRSSIa3=stationUnassocRSSIa3, wdsStatsRxRate2Packets=wdsStatsRxRate2Packets, stationStatsTxRate1Bytes=stationStatsTxRate1Bytes, proxyMgmtHttpPort=proxyMgmtHttpPort, iapStatsTxRate5Packets=iapStatsTxRate5Packets, systemSaveCfg=systemSaveCfg, wepKeyString=wepKeyString, iapStatsRxRate18Errors=iapStatsRxRate18Errors, stationAssocTimeRSSIa6=stationAssocTimeRSSIa6, stationUnassocRSSIa10=stationUnassocRSSIa10, ssidRadiusSecServerSecret=ssidRadiusSecServerSecret, iapStatsTxUnicast=iapStatsTxUnicast, neighborArrayModel=neighborArrayModel, iapMaxStationsMonth=iapMaxStationsMonth, stationStatsTxRate48Errors=stationStatsTxRate48Errors, stationUnassociatedTimeRSSIabg1=stationUnassociatedTimeRSSIabg1, groupDaysOnMon=groupDaysOnMon, iapStatsRxFragments=iapStatsRxFragments, groupDaysOnSat=groupDaysOnSat, stationAssocTime=stationAssocTime, iapResetsMonitor=iapResetsMonitor, stationAssociationRSSIabg2=stationAssociationRSSIabg2, adminHistoryIndex=adminHistoryIndex, iapStatsTxBytes=iapStatsTxBytes, wdsStatsTxRate36Errors=wdsStatsTxRate36Errors, aclSsidTableReset=aclSsidTableReset, globalIAPShortRetry=globalIAPShortRetry, ssidWprHeaderText=ssidWprHeaderText, globalExtractStaInfoTable=globalExtractStaInfoTable, stationAssocTimeRSSIa3=stationAssocTimeRSSIa3, adminHistoryEntry=adminHistoryEntry, cdpInfoIndex=cdpInfoIndex, stationAssocUserName=stationAssocUserName, wepKeyEntry=wepKeyEntry, stationAssociationRSSIa1=stationAssociationRSSIa1, stationAssocTimeRSSIa1=stationAssocTimeRSSIa1, vlanStaAppStatsTable=vlanStaAppStatsTable, ssidLimitsDaysOnMon=ssidLimitsDaysOnMon, spectrumAnalysisDot11Busy=spectrumAnalysisDot11Busy, iapStatsIndex=iapStatsIndex, ssidWprBackground=ssidWprBackground, ssidRadiusAcctPriServerSecret=ssidRadiusAcctPriServerSecret, stationStatsTimePeriod=stationStatsTimePeriod, rogueDetectAPOrigTable=rogueDetectAPOrigTable, proxyMgmtHttpIpAddr=proxyMgmtHttpIpAddr, staAssuranceDistanceActive=staAssuranceDistanceActive, stationStatsTxPackets=stationStatsTxPackets, groupDeviceID=groupDeviceID, global11bgIAPFragThreshold=global11bgIAPFragThreshold, radiusTimeout=radiusTimeout, globalMulticastVlanForwardingEntry=globalMulticastVlanForwardingEntry, stationAssocTimeRSSIa12=stationAssocTimeRSSIa12, rates11nSet=rates11nSet, rogueDetectAPOrigTableTimeLastActive=rogueDetectAPOrigTableTimeLastActive, ethBond=ethBond, iapStatsTxRate2Retries=iapStatsTxRate2Retries, stationUnassocRSSIa9=stationUnassocRSSIa9, ethStatsRxMulticast=ethStatsRxMulticast, rogueDetect=rogueDetect, locationReportingOn=locationReportingOn, iapStatsRxRate2Retries=iapStatsRxRate2Retries, autoChannelList11bgStatus=autoChannelList11bgStatus, globalMulticastForwardingRowStatus=globalMulticastForwardingRowStatus, stationAssocRSSIabg2=stationAssocRSSIabg2, iapStatsTxRate24Retries=iapStatsTxRate24Retries, wdsStatsTxErrors=wdsStatsTxErrors, vlanStaAppCatStatsEntry=vlanStaAppCatStatsEntry, proxyMgmtSubnet02=proxyMgmtSubnet02, iapStatsTxBroadcast=iapStatsTxBroadcast, ssid=ssid, vlanMgmtAppCatStatsEntry=vlanMgmtAppCatStatsEntry, idsDeauthAttackThreshold=idsDeauthAttackThreshold, stationAssocRxRate=stationAssocRxRate, fabricAttachElementAgedOut=fabricAttachElementAgedOut, idsEventIndex=idsEventIndex, global11nBondedChannelWidth5GHz=global11nBondedChannelWidth5GHz, staAssurDataRate=staAssurDataRate, groupEntry=groupEntry, adminRadiusTimeout=adminRadiusTimeout, dnsSrv2=dnsSrv2, staAssurAssocTimeActive=staAssurAssocTimeActive, vlanStaAppCatStatsRxBytes=vlanStaAppCatStatsRxBytes, proxyMgmtHttpType=proxyMgmtHttpType, iapSsidToBssidMappingSSID=iapSsidToBssidMappingSSID, adminPrivLevelEntry=adminPrivLevelEntry, vlanStaAppCatStatsVlan=vlanStaAppCatStatsVlan, ssidTunnel=ssidTunnel, groupWprSplashTimeout=groupWprSplashTimeout, neighborArrayLocation=neighborArrayLocation, filterListRowStatus=filterListRowStatus, stationAssocTimeRSSIa4=stationAssocTimeRSSIa4, systemMaxAuthAttempts=systemMaxAuthAttempts, vlanStaAppStatsTxPackets=vlanStaAppStatsTxPackets, wdsHostLinkNumIAPs=wdsHostLinkNumIAPs, interfaceMACAddressIndex=interfaceMACAddressIndex, lldpFabricAttachElementMgmtVlan=lldpFabricAttachElementMgmtVlan, syslogEntry=syslogEntry, aclSsidMacAddress=aclSsidMacAddress, groupVlan=groupVlan, ethAutoneg=ethAutoneg, proxyMgmtHttpUsername=proxyMgmtHttpUsername, stationStatsRxRate11Bytes=stationStatsRxRate11Bytes, radiusServerInternal=radiusServerInternal, rogueDetectSSIDName=rogueDetectSSIDName, globalMulticastDnsFilteringTable=globalMulticastDnsFilteringTable, snmpAgentV3ReadWriteUserAuthPassphrase=snmpAgentV3ReadWriteUserAuthPassphrase, ssidWpaEAP=ssidWpaEAP, wdsStatsTxRate6Bytes=wdsStatsTxRate6Bytes, wdsStatsRxRate11Retries=wdsStatsRxRate11Retries, rates11aIndex=rates11aIndex, filterSrcMacAddress=filterSrcMacAddress, iapStatsRxRate12Errors=iapStatsRxRate12Errors, wdsStatsRxRate11Errors=wdsStatsRxRate11Errors, staAssuranceRetryRateActive=staAssuranceRetryRateActive, staAssurDataRateActive=staAssurDataRateActive, ssidLimitsDaysOnWed=ssidLimitsDaysOnWed, global11aIAPAutoCellPeriod=global11aIAPAutoCellPeriod, scdFirmwareVersion=scdFirmwareVersion, syslogSize=syslogSize, global11bgIAPChannelReset=global11bgIAPChannelReset, adminTraps=adminTraps, dhcpPoolDNSDomain=dhcpPoolDNSDomain, traps=traps, iapDot11Mode=iapDot11Mode, vlanStaAppCatStatsTxPackets=vlanStaAppCatStatsTxPackets, filterDstIPAddress=filterDstIPAddress, staAssurRSSIActive=staAssurRSSIActive, idsEventId=idsEventId, wdsAllowStations=wdsAllowStations, idsDeauthAttackEnable=idsDeauthAttackEnable, clusterArrayIPAddress=clusterArrayIPAddress, wdsStatsRxRate1Packets=wdsStatsRxRate1Packets, iapBeaconProbeFailureArrayReboot=iapBeaconProbeFailureArrayReboot, global11acMaxMCS1SS=global11acMaxMCS1SS, systemTelnetPort=systemTelnetPort, iapChannelMode=iapChannelMode, ssidRadiusPriServerHostname=ssidRadiusPriServerHostname, stationUnassocRSSIa8=stationUnassocRSSIa8, wdsStatsRxRate12Bytes=wdsStatsRxRate12Bytes, stationStatsRxRate2Errors=stationStatsRxRate2Errors, neighborArrayNumSSIDs=neighborArrayNumSSIDs, stationAppStatsTxBytes=stationAppStatsTxBytes, wpaPassphraseEnc=wpaPassphraseEnc, neighborArrayIndex=neighborArrayIndex, syslogEmailToAddress=syslogEmailToAddress, ssidWprHttpsEnable=ssidWprHttpsEnable, globalMulticastForwardingEntry=globalMulticastForwardingEntry, realtimeMonitorAverageDataRate=realtimeMonitorAverageDataRate, vlanMgmtAppCatStatsRxPackets=vlanMgmtAppCatStatsRxPackets, stationUnassocManufacturer=stationUnassocManufacturer, wdsStatsRxRate54Retries=wdsStatsRxRate54Retries, rates11bgTable=rates11bgTable, idsDurationAttackEnable=idsDurationAttackEnable, ssidWprScreenType=ssidWprScreenType, ethStatsTxDropped=ethStatsTxDropped, ssidWepKey4Size=ssidWepKey4Size, systemLicenseExpDate=systemLicenseExpDate, proxyMgmtSubnet09=proxyMgmtSubnet09, dhcpPoolIndex=dhcpPoolIndex, radius=radius, stationStatsTxRate1Errors=stationStatsTxRate1Errors, wprWhitelistGroupRowStatus=wprWhitelistGroupRowStatus, syslogLevelSecServer=syslogLevelSecServer, stationStatsTxRate48Packets=stationStatsTxRate48Packets, networkMap=networkMap, wdsAutoChannel=wdsAutoChannel, stationAssociationTimeRSSIa12=stationAssociationTimeRSSIa12, wdsStatsTxRate54Packets=wdsStatsTxRate54Packets, envCtrlHeatRPM1=envCtrlHeatRPM1, statistics=statistics, vlanStatsRxTotalErrors=vlanStatsRxTotalErrors, wdsStatsTxRate12Bytes=wdsStatsTxRate12Bytes, dhcpRenewFailure=dhcpRenewFailure, wdsStatsTxRate36Retries=wdsStatsTxRate36Retries, iapStatsTxRate9Errors=iapStatsTxRate9Errors, realtimeMonitorSignalToNoiseRatio=realtimeMonitorSignalToNoiseRatio, stationAssurancePeriod=stationAssurancePeriod, idsDeauthFloodThreshold=idsDeauthFloodThreshold, vlanMgmtAppStatsTxBytes=vlanMgmtAppStatsTxBytes, rfMonitor=rfMonitor, activeDirectoryJoin=activeDirectoryJoin, roamAssistDataRate=roamAssistDataRate, stationUnassocRSSIa6=stationUnassocRSSIa6, wdsStatsTxRate6Errors=wdsStatsTxRate6Errors, clusterArrayTable=clusterArrayTable, rates11a=rates11a, wdsStatsRxRate1Retries=wdsStatsRxRate1Retries, wprWhitelistGroupTable=wprWhitelistGroupTable, stationUnassocTimeRSSIa7=stationUnassocTimeRSSIa7, radiusSecServerSecret=radiusSecServerSecret, iapStatsRxRate1Errors=iapStatsRxRate1Errors, stationStatsRxRate24Packets=stationStatsRxRate24Packets, iapStatsTxRate18Errors=iapStatsTxRate18Errors, vlanStatsTxDropped=vlanStatsTxDropped, wdsStatsTxRate6Retries=wdsStatsTxRate6Retries, spectrumAnalysisEntry=spectrumAnalysisEntry, vlanStaAppStatsRxPackets=vlanStaAppStatsRxPackets, wdsStatsRxRate6Errors=wdsStatsRxRate6Errors, iapStatsRxOverruns=iapStatsRxOverruns, staAssurAuthFailuresActive=staAssurAuthFailuresActive, stationAppCatStatsTxBytes=stationAppCatStatsTxBytes, iapStatsRxRate24Errors=iapStatsRxRate24Errors, envCtrlCoolRPM4=envCtrlCoolRPM4, rogueDetectAPRSSI=rogueDetectAPRSSI, staAssuranceErrorRate=staAssuranceErrorRate)
mibBuilder.exportSymbols("AVAYA-WLAN-MIB", globalIPv6Filter=globalIPv6Filter, wpaTKIP=wpaTKIP, stationStatsRxRate54Errors=stationStatsRxRate54Errors, mdmAirWatchApiPassword=mdmAirWatchApiPassword, wdsStatsTxRate5Packets=wdsStatsTxRate5Packets, ntp=ntp, vlanMgmtAppStatsTimePeriod=vlanMgmtAppStatsTimePeriod, ssidWprLandingPage=ssidWprLandingPage, aclTableReset=aclTableReset, componentTable=componentTable, stationAssocRSSIa5=stationAssocRSSIa5, iapStatsRxRTS=iapStatsRxRTS, global11aIAPMaxIapStations=global11aIAPMaxIapStations, iapStatsTxRTSRetries=iapStatsTxRTSRetries, stationUnassocRSSIa7=stationUnassocRSSIa7, ssidHoneypotBroadcastSSID=ssidHoneypotBroadcastSSID, netflowEnable=netflowEnable, rogueDetectAutoBlockType=rogueDetectAutoBlockType, ssidWepKey1Size=ssidWepKey1Size, componentSerial=componentSerial, ssidWpaAES=ssidWpaAES, mdmAirWatchApiUsername=mdmAirWatchApiUsername, stationAssocTable=stationAssocTable, stationUnassocTimeRSSIabg2=stationUnassocTimeRSSIabg2, dhcpPoolName=dhcpPoolName, ethEnable=ethEnable, proxyFwd=proxyFwd, wdsStatsTxRate12Packets=wdsStatsTxRate12Packets, autoChannelList11a=autoChannelList11a, vlanStatsRxCompressed=vlanStatsRxCompressed, rates11nTable=rates11nTable, envCtrlArrayOn=envCtrlArrayOn, iapStatsRxRate9Retries=iapStatsRxRate9Retries, stationAssociationTable=stationAssociationTable, staAssuranceMACAddress=staAssuranceMACAddress, iapStatsTxRate36Packets=iapStatsTxRate36Packets, globalMulticastVlanForwardingIndex=globalMulticastVlanForwardingIndex, stationStatsRxRate12Retries=stationStatsRxRate12Retries, filterDstMacAddressMask=filterDstMacAddressMask, systemTempFahrenheit=systemTempFahrenheit, wdsStatsRxRate18Errors=wdsStatsRxRate18Errors, rogueDetectAPSSID=rogueDetectAPSSID, stationUnassocRSSIa11=stationUnassocRSSIa11, systemRemoteImage=systemRemoteImage, wdsClientLinkEnable=wdsClientLinkEnable, iapStatsTxRate9Packets=iapStatsTxRate9Packets, roamAssistThreshold=roamAssistThreshold, staAssuranceAssocTimeTimestamp=staAssuranceAssocTimeTimestamp, snmpAgentV3PrivProtocol=snmpAgentV3PrivProtocol, vlanStatsRxDropped=vlanStatsRxDropped, stations=stations, rogueDetectAPOrigTableRSSI=rogueDetectAPOrigTableRSSI, stationStatsTxRate1Packets=stationStatsTxRate1Packets, iapResetsSystem=iapResetsSystem, snmpAgentTrapHost=snmpAgentTrapHost, stationStatsTxRate36Retries=stationStatsTxRate36Retries, ssidRadiusAcctPriServerSecretForm=ssidRadiusAcctPriServerSecretForm, spectrumAnalysisNoiseFloor=spectrumAnalysisNoiseFloor, idsEventTable=idsEventTable, vlanStatsRxBytes=vlanStatsRxBytes, oauthTokenRowStatus=oauthTokenRowStatus, envCtrlCoolOn=envCtrlCoolOn, iapPresent=iapPresent, groupName=groupName, envCtrlHeatRPM2=envCtrlHeatRPM2, spectrumAnalysisBytes=spectrumAnalysisBytes, staAssuranceDataRateTimestamp=staAssuranceDataRateTimestamp, syslogStationFormat=syslogStationFormat, snmpAgentTrapPort4=snmpAgentTrapPort4, lldpFabricAttachElementMACAddress=lldpFabricAttachElementMACAddress, adminHistoryUsername=adminHistoryUsername, lldpInterval=lldpInterval, stationStatsTxRate12Bytes=stationStatsTxRate12Bytes, adminRadiusSecServer=adminRadiusSecServer, staAssuranceRSSI=staAssuranceRSSI, systemSshEnable=systemSshEnable, radiusUserEntry=radiusUserEntry, vlanStatsTxCollisions=vlanStatsTxCollisions, wdsStatsRxRate9Packets=wdsStatsRxRate9Packets, tunnelEntry=tunnelEntry, globalBroadcastRates=globalBroadcastRates, rogueDetectAutoBlockWhitelistTableReset=rogueDetectAutoBlockWhitelistTableReset, global11bgIAPAutoCellEnable=global11bgIAPAutoCellEnable, clusterArrayPassword=clusterArrayPassword, filterListName=filterListName, iapStatsTxRate12Bytes=iapStatsTxRate12Bytes, spectrumAnalysisAverageDataRate=spectrumAnalysisAverageDataRate, stationDeauthMacAddress=stationDeauthMacAddress, stationStatsRxRate2Bytes=stationStatsRxRate2Bytes, globalWmmPowerSave=globalWmmPowerSave, adminPrivSectionEntry=adminPrivSectionEntry, vlanTunnelPort=vlanTunnelPort, ssidRadiusAcctSecServerSecret=ssidRadiusAcctSecServerSecret, fabricAttachElementDiscovered=fabricAttachElementDiscovered, activeDirectoryRealm=activeDirectoryRealm, staAssurTime=staAssurTime, tunnelType=tunnelType, adminHistoryLogoutTime=adminHistoryLogoutTime, stationAssuranceDataRate=stationAssuranceDataRate, ssidRadiusTimeout=ssidRadiusTimeout, staAssuranceIndex=staAssuranceIndex, vlanFabricAttach=vlanFabricAttach, wdsStatsTxRate2Packets=wdsStatsTxRate2Packets, global11bgIAPPreamble=global11bgIAPPreamble, wdsStatsRxRate2Bytes=wdsStatsRxRate2Bytes, stationAppCatStatsTable=stationAppCatStatsTable, rogueDetectSSIDStatus=rogueDetectSSIDStatus, stationStatsTxRate9Bytes=stationStatsTxRate9Bytes, ssidWprEntry=ssidWprEntry, rogueDetectAutoBlockWhitelistEntry=rogueDetectAutoBlockWhitelistEntry, vlanGateway=vlanGateway, stationAssocTimeRSSIa2=stationAssocTimeRSSIa2, radiusPriServerSecret=radiusPriServerSecret, vlanNumber=vlanNumber, autoChannelList11aChannel=autoChannelList11aChannel, rogueDetectAutoBlockWhitelistChannel=rogueDetectAutoBlockWhitelistChannel, ssidLimitsTimeOn=ssidLimitsTimeOn, stationAssociationNetbiosName=stationAssociationNetbiosName, autoChannelList11aIndex=autoChannelList11aIndex, wprWhitelistSsidDomain=wprWhitelistSsidDomain, autoChannel=autoChannel, aclSsidRowStatus=aclSsidRowStatus, stationAssuranceErrorRate=stationAssuranceErrorRate, ethStatsTxFifoErrors=ethStatsTxFifoErrors, syslogEmailLevel=syslogEmailLevel, radiusUserTableReset=radiusUserTableReset, idsEAPFloodPeriod=idsEAPFloodPeriod, vlanTunnelSecretForm=vlanTunnelSecretForm, stationStatsRxRate9Errors=stationStatsRxRate9Errors, globalIAPTxPwr=globalIAPTxPwr, stationStatsTxRate24Bytes=stationStatsTxRate24Bytes, wdsStatsRxRate12Errors=wdsStatsRxRate12Errors, filterDstIface=filterDstIface, stationUnassociatedTimeRSSIa5=stationUnassociatedTimeRSSIa5, consoleParity=consoleParity, stationAssociationHostname=stationAssociationHostname, vlanRowStatus=vlanRowStatus, globalSharpCell=globalSharpCell, ssidWepKey3String=ssidWepKey3String, iapStatsTxRTS=iapStatsTxRTS, stationAssociationIndex=stationAssociationIndex, ssidRadiusAcctInterval=ssidRadiusAcctInterval, iapStatsTxRate5Errors=iapStatsTxRate5Errors, filterAppCatEntry=filterAppCatEntry, idsDeauthFloodMode=idsDeauthFloodMode, spectrumAnalysisSignalToNoiseRatio=spectrumAnalysisSignalToNoiseRatio, fastRoamingTargetIpAddress=fastRoamingTargetIpAddress, vlanUndefinedInfo=vlanUndefinedInfo, generalTraps=generalTraps, syslog=syslog, wdsStatsTxRate11Errors=wdsStatsTxRate11Errors, idsStationImpersonationThreshold=idsStationImpersonationThreshold, ssidHoneypotWhitelistRowStatus=ssidHoneypotWhitelistRowStatus, wdsStatsTxRate48Packets=wdsStatsTxRate48Packets, oauthTokenClientId=oauthTokenClientId, vlanUndefinedNumber=vlanUndefinedNumber, globalPublicSafety=globalPublicSafety, iapStatsRxRate11Bytes=iapStatsRxRate11Bytes, ssidLimitsTrafficLimitKbpsSta=ssidLimitsTrafficLimitKbpsSta, iapBeaconProbeFailure=iapBeaconProbeFailure, vlanStatsTimePeriod=vlanStatsTimePeriod, cluster=cluster, filterTable=filterTable, stationAssociationRxRate=stationAssociationRxRate, activeDirectoryPassword=activeDirectoryPassword, stationStatsTxRate18Bytes=stationStatsTxRate18Bytes, dhcpPoolTable=dhcpPoolTable, globalIAPLongRetry=globalIAPLongRetry, autoChannelList11bgIndex=autoChannelList11bgIndex, lldpFabricAttach=lldpFabricAttach, snmpAgentV3ReadOnlyUserPrivPassphrase=snmpAgentV3ReadOnlyUserPrivPassphrase, tunnel=tunnel, globalCountryCode=globalCountryCode, stationAssociationTimeRSSIa3=stationAssociationTimeRSSIa3, vlanMgmt=vlanMgmt, wdsStatsTxRate18Packets=wdsStatsTxRate18Packets, iapStatsTxRate1Bytes=iapStatsTxRate1Bytes, staAssurRSSITimestamp=staAssurRSSITimestamp, idsNullProbeRespPeriod=idsNullProbeRespPeriod, wdsStatsRxRate18Retries=wdsStatsRxRate18Retries, globalIAPEnable=globalIAPEnable, lldpFabricAttachElementIndex=lldpFabricAttachElementIndex, vlanStaAppStatsGuid=vlanStaAppStatsGuid, clusterArrayEntry=clusterArrayEntry, iapStatsTxRate11Bytes=iapStatsTxRate11Bytes, wifiTagEkahauServer=wifiTagEkahauServer, activeDirectoryUser=activeDirectoryUser, fpgaEntry=fpgaEntry, snmpAgentTrapPort3=snmpAgentTrapPort3, systemStandbyEnable=systemStandbyEnable, iapStatsRxBroadcast=iapStatsRxBroadcast, globalMulticastDnsFilteringIndex=globalMulticastDnsFilteringIndex, bondName=bondName, stationStatsRxRate6Packets=stationStatsRxRate6Packets, vlanTunnelState=vlanTunnelState, ntpPrimaryAuthKeyEnc=ntpPrimaryAuthKeyEnc, netflowCollectorHost=netflowCollectorHost, filterMoveUp=filterMoveUp, envCtrlHumidOver=envCtrlHumidOver, rates11bgRate=rates11bgRate, global11bgIAPAutoCellOverlap=global11bgIAPAutoCellOverlap, iapStatsRxRate6Bytes=iapStatsRxRate6Bytes, global11ac=global11ac, staAssurSNRActive=staAssurSNRActive, stationAssocTimeRSSIabg2=stationAssocTimeRSSIabg2, iapStatsTxACKFailures=iapStatsTxACKFailures, vlanStaAppStatsIndex=vlanStaAppStatsIndex, lldpEnable=lldpEnable, iapStatsRxRate54Bytes=iapStatsRxRate54Bytes, wdsStatsTxRate18Errors=wdsStatsTxRate18Errors, snmpAgentReadOnlyCommunityEnc=snmpAgentReadOnlyCommunityEnc, ssidWprScreenTimeout=ssidWprScreenTimeout, iapStatsTxUnassociated=iapStatsTxUnassociated, stationAssociationRSSIabg3=stationAssociationRSSIabg3, wdsStatsRxRate54Bytes=wdsStatsRxRate54Bytes, stationAssociationKeyMgmt=stationAssociationKeyMgmt, stationStatsRxRate2Retries=stationStatsRxRate2Retries, filterEnable=filterEnable, filterProtocol=filterProtocol, adminRadiusAuthType=adminRadiusAuthType, iapSsidToBssidMappingTable=iapSsidToBssidMappingTable, wdsClientLinkPasswordForm=wdsClientLinkPasswordForm, staAssurDistance=staAssurDistance, neighborArrayEntry=neighborArrayEntry, global11nEnable=global11nEnable, fpgaTable=fpgaTable, stationAssocRSSIa12=stationAssocRSSIa12, groupDaysOnSun=groupDaysOnSun, stationUnassociatedRxRate=stationUnassociatedRxRate, adminUsername=adminUsername, iapStatsRxDuplicates=iapStatsRxDuplicates, wdsClientLinkTarget=wdsClientLinkTarget, staAssuranceErrorRateTimestamp=staAssuranceErrorRateTimestamp, stationStatsRxErrors=stationStatsRxErrors, stationStatsTxRate11Packets=stationStatsTxRate11Packets, envCtrlCoolRPM2=envCtrlCoolRPM2, ssidHoneypotWhitelistSSID=ssidHoneypotWhitelistSSID, stationStatsRxRate6Errors=stationStatsRxRate6Errors, globalMulticastExcludeRowStatus=globalMulticastExcludeRowStatus, rogueDetectEnable=rogueDetectEnable, global11bgIAPAutoChannelEnable=global11bgIAPAutoChannelEnable, iapMaxStationsWeek=iapMaxStationsWeek, ssidRadiusPriServerPort=ssidRadiusPriServerPort, ethStatsTxTotalErrors=ethStatsTxTotalErrors, interfaceMACAddressTable=interfaceMACAddressTable, staAssurAssocTime=staAssurAssocTime, stationStatsRxRate9Retries=stationStatsRxRate9Retries, stationAssocEntry=stationAssocEntry, fpgaBootVersion=fpgaBootVersion, fpgaName=fpgaName, tunnelMTU=tunnelMTU, rogueDetectAPManufacturer=rogueDetectAPManufacturer, staAssurErrorRate=staAssurErrorRate, ledsEnable=ledsEnable)
mibBuilder.exportSymbols("AVAYA-WLAN-MIB", radiusServerExternal=radiusServerExternal, groupFallback=groupFallback, stationStatsTxRate11Errors=stationStatsTxRate11Errors, wdsHostLinkTable=wdsHostLinkTable, wdsClientLinkEntry=wdsClientLinkEntry, autoChannelList11aSet=autoChannelList11aSet, global11bgIAPEnable=global11bgIAPEnable, idsEventIAP=idsEventIAP, wdsStatsTxRate1Errors=wdsStatsTxRate1Errors, stationUnassociatedRSSIa2=stationUnassociatedRSSIa2, ethStatsIfaceDuplex=ethStatsIfaceDuplex, ssidLimitsEntry=ssidLimitsEntry, stationUnassociatedTimeRSSIabg2=stationUnassociatedTimeRSSIabg2, clusterArrayUsername=clusterArrayUsername, wdsStatsRxRate24Bytes=wdsStatsRxRate24Bytes, ssidRadiusAcctSecServerPort=ssidRadiusAcctSecServerPort, idsEventTime=idsEventTime, stationStatsRxRate18Bytes=stationStatsRxRate18Bytes, wdsClientLinkPassword=wdsClientLinkPassword, iapStatsRxRate2Packets=iapStatsRxRate2Packets, stationAssocTimeRSSIabg1=stationAssocTimeRSSIabg1, adminRadiusSecServerSecret=adminRadiusSecServerSecret, iapStatsRxRate54Retries=iapStatsRxRate54Retries, softwareConfig=softwareConfig, stationStatsTable=stationStatsTable, cdpInfoSoftware=cdpInfoSoftware, stationStatsRxRate2Packets=stationStatsRxRate2Packets, stationAppCatStatsRxPackets=stationAppCatStatsRxPackets, globalExtractStaInfoIndex=globalExtractStaInfoIndex, staAssurRetryRate=staAssurRetryRate, iapEnable=iapEnable, staAssurRetryRateTimestamp=staAssurRetryRateTimestamp, vlanStatsRxFrameErrors=vlanStatsRxFrameErrors, filterListTable=filterListTable, stationStatsRxRate36Retries=stationStatsRxRate36Retries, proxyMgmtCustom=proxyMgmtCustom, groupWprLogoImage=groupWprLogoImage, systemNetworkAssurancePeriod=systemNetworkAssurancePeriod, iapStatsRxRate36Bytes=iapStatsRxRate36Bytes, staAssuranceAssocTimeActive=staAssuranceAssocTimeActive, iapStatsRxRate36Errors=iapStatsRxRate36Errors, iapMaxStationsDay=iapMaxStationsDay, stationUnassociatedRSSIa3=stationUnassociatedRSSIa3, rogueDetectAPOrigTableChannel=rogueDetectAPOrigTableChannel, idsBeaconFloodMode=idsBeaconFloodMode, tunnelFailoverInterval=tunnelFailoverInterval, proxyMgmtHttpsEnabled=proxyMgmtHttpsEnabled, ssidLimitsDaysOnSun=ssidLimitsDaysOnSun, ethStatsTimePeriod=ethStatsTimePeriod, stationAppCatStatsRxBytes=stationAppCatStatsRxBytes, oauthTokenUserAgent=oauthTokenUserAgent, rogueDetectAPOrigTableActive=rogueDetectAPOrigTableActive, spanningTreeWDSClientLink3State=spanningTreeWDSClientLink3State, groupTrafficLimitKbps=groupTrafficLimitKbps, wdsStatsRxRate36Packets=wdsStatsRxRate36Packets, stationUnassociatedTimeRSSIa9=stationUnassociatedTimeRSSIa9, proxyMgmtSubnet01=proxyMgmtSubnet01, filterApplication=filterApplication, iapStatsEntry=iapStatsEntry, cfgChange=cfgChange, stationStatsRxRate12Packets=stationStatsRxRate12Packets, stationStatsTxRate9Packets=stationStatsTxRate9Packets, snmpAgentTrapHost2=snmpAgentTrapHost2, staAssurIPAddress=staAssurIPAddress, spanningTreeVlanName=spanningTreeVlanName, groupRadiusFilterID=groupRadiusFilterID, spanningTreeTable=spanningTreeTable, ethGateway=ethGateway, vlanMgmtAppStatsRxBytes=vlanMgmtAppStatsRxBytes, oauthTableReset=oauthTableReset, dhcpPoolGateway=dhcpPoolGateway, stationUnassocTimeRSSIa2=stationUnassocTimeRSSIa2, ethStatsTxPackets=ethStatsTxPackets, softwareUploadSuccess=softwareUploadSuccess, snmpAgentTrapAuth=snmpAgentTrapAuth, stationAppStatsTablePeriod=stationAppStatsTablePeriod, filterIndex=filterIndex, globalIAPInactiveTime=globalIAPInactiveTime, lldpFabricAttachElementType=lldpFabricAttachElementType, consoleStopBits=consoleStopBits, idsEvilTwinAttackEnable=idsEvilTwinAttackEnable, ethernet=ethernet, lldpHoldTime=lldpHoldTime, cdpHoldTime=cdpHoldTime, staAssuranceTime=staAssuranceTime, staAssuranceRSSIActive=staAssuranceRSSIActive, ssidAuthentication=ssidAuthentication, ids=ids, stationUnassociatedMACAddress=stationUnassociatedMACAddress, wepDefaultKeyID=wepDefaultKeyID, global11nBondedChannelWidth2GHz=global11nBondedChannelWidth2GHz, wdsStatsTxRate24Retries=wdsStatsTxRate24Retries, snmpAgentTrapPort2=snmpAgentTrapPort2, vlanMgmtAppStatsGuid=vlanMgmtAppStatsGuid, proxyMgmtSocksPort=proxyMgmtSocksPort, staAssuranceDistanceTimestamp=staAssuranceDistanceTimestamp, ssidHoneypotBroadcastRowStatus=ssidHoneypotBroadcastRowStatus, stationUnassocTimeRSSIa6=stationUnassocTimeRSSIa6, rogueDetectAPOrigTableSSID=rogueDetectAPOrigTableSSID, wap9133=wap9133, stationStatsTxRate12Retries=stationStatsTxRate12Retries, idsDisassocAttackPeriod=idsDisassocAttackPeriod, iapStatsRxRate5Bytes=iapStatsRxRate5Bytes, iapStatsTxRate9Bytes=iapStatsTxRate9Bytes, wifiTagChannel2=wifiTagChannel2, adminPassword=adminPassword, vlanStaAppCatStatsTxBytes=vlanStaAppCatStatsTxBytes, ssidRadiusSecServerHostname=ssidRadiusSecServerHostname, rogueDetectAutoBlockWhitelistRowStatus=rogueDetectAutoBlockWhitelistRowStatus, wdsStatsTxRate18Bytes=wdsStatsTxRate18Bytes, global11aIAPAutoCellOverlap=global11aIAPAutoCellOverlap, rogueDetectAPOrigTableManufacturer=rogueDetectAPOrigTableManufacturer, globalLoadBalancing=globalLoadBalancing, stationUnassocTime=stationUnassocTime, ethStatsIndex=ethStatsIndex, iapStatsTxRate1Packets=iapStatsTxRate1Packets, interfaceMACAddressEntry=interfaceMACAddressEntry, groupWprFooterText=groupWprFooterText, adminPrivSectionTable=adminPrivSectionTable, stationUnassocEntry=stationUnassocEntry, adminPasswordForm=adminPasswordForm, idsImpersonation=idsImpersonation, ethStatsEntry=ethStatsEntry, stationUnassocTimeRSSIa4=stationUnassocTimeRSSIa4, stationStatsTxRate54Retries=stationStatsTxRate54Retries, ntpSecondaryAuthKeyID=ntpSecondaryAuthKeyID, proxyMgmtHttpsPassword=proxyMgmtHttpsPassword, dateTimeZoneHours=dateTimeZoneHours, idsDurationAttackPeriod=idsDurationAttackPeriod, stationAssociationSSID=stationAssociationSSID, stationAppCatStatsGuid=stationAppCatStatsGuid, iapStatsRxRate18Packets=iapStatsRxRate18Packets, stationUnassociatedTimeRSSIa7=stationUnassociatedTimeRSSIa7, envCtrlSoftwareVersion=envCtrlSoftwareVersion, vlanStaAppCatStatsTimePeriod=vlanStaAppCatStatsTimePeriod, ssidBand=ssidBand, iapStatsTxRate48Errors=iapStatsTxRate48Errors, groupActive=groupActive, vlanStatsIndex=vlanStatsIndex, stationStatsTxRate2Packets=stationStatsTxRate2Packets, filterListEnable=filterListEnable, dhcpPoolTableReset=dhcpPoolTableReset, systemXirconPort=systemXirconPort, radiusDASTimeWindow=radiusDASTimeWindow, stationRadiusAuthFailure=stationRadiusAuthFailure, stationStatsRxRate36Packets=stationStatsRxRate36Packets, dhcpPoolRangeStartIP=dhcpPoolRangeStartIP, oauth=oauth, componentPart=componentPart, iapStatsTxRate12Packets=iapStatsTxRate12Packets, filterAppCatGuid=filterAppCatGuid, softwareUpgradeFailure=softwareUpgradeFailure, stationAssociationChannel=stationAssociationChannel, proxyFwdProxyType=proxyFwdProxyType, stationStatsEntry=stationStatsEntry, groupWprLandingPage=groupWprLandingPage, snmpAgentReadWriteCommunity=snmpAgentReadWriteCommunity, wdsStatsRxRate6Retries=wdsStatsRxRate6Retries, idsProbeReqFloodPeriod=idsProbeReqFloodPeriod, ssidWepKey2StringForm=ssidWepKey2StringForm, iapStatsRxPackets=iapStatsRxPackets, ssidWpaPassphrase=ssidWpaPassphrase, wifiTagUdpPort=wifiTagUdpPort, globalIAPCellSize=globalIAPCellSize, stationStatsRxRate11Errors=stationStatsRxRate11Errors, iapStatsTxRate6Bytes=iapStatsTxRate6Bytes, globalDscpMappingQos=globalDscpMappingQos, ssidRadiusEnable=ssidRadiusEnable, oauthTokenGrantType=oauthTokenGrantType, adminRowStatus=adminRowStatus, stationAssocTimeRSSIabg3=stationAssocTimeRSSIabg3, global11a=global11a, wdsStatsTable=wdsStatsTable, spanningTreeWDSHostLink3State=spanningTreeWDSHostLink3State, spectrumAnalysisErrorRate=spectrumAnalysisErrorRate, stationUnassocRSSI=stationUnassocRSSI, global11aIAPTxPwr=global11aIAPTxPwr, iapStatsRxRate48Retries=iapStatsRxRate48Retries, wdsStatsTxRate1Retries=wdsStatsTxRate1Retries, stationStatsRxRate6Bytes=stationStatsRxRate6Bytes, filterDstIPAddressMask=filterDstIPAddressMask, proxyFwdNetBoxBlueUrl=proxyFwdNetBoxBlueUrl, staAssuranceAssocTime=staAssuranceAssocTime, stationUnassociatedRSSIa8=stationUnassociatedRSSIa8, stationStatsTxRate54Packets=stationStatsTxRate54Packets, radiusUserPassword=radiusUserPassword, stationUnassocNetbiosName=stationUnassocNetbiosName, wepKeyNum=wepKeyNum, syslogTimestamp=syslogTimestamp, idsEventTimestamp=idsEventTimestamp, wdsHostLinkSSID=wdsHostLinkSSID, stationStatsTxRate12Errors=stationStatsTxRate12Errors, autoChannelList11bgSet=autoChannelList11bgSet, radiusPriServerHostname=radiusPriServerHostname, global11acMaxMCS3SS=global11acMaxMCS3SS, iapStatsTxPackets=iapStatsTxPackets, stationAssocRSSIabg3=stationAssocRSSIabg3, syslogEmailServer=syslogEmailServer, systemHttpsEnable=systemHttpsEnable, rogueDetectAPIndex=rogueDetectAPIndex, wdsStatsTxRate54Retries=wdsStatsTxRate54Retries, stationAssocMACAddress=stationAssocMACAddress, globalMulticastDnsFilteringEntry=globalMulticastDnsFilteringEntry, autoChannelPowerUp=autoChannelPowerUp, staAssuranceDataRateActive=staAssuranceDataRateActive, wpaAES=wpaAES, global11bgIAPTxPwr=global11bgIAPTxPwr, spanningTreeWDSHostLink4State=spanningTreeWDSHostLink4State, ssidWprFooterText=ssidWprFooterText, iapStatsTxRate2Errors=iapStatsTxRate2Errors, staAssurAssocTimeTimestamp=staAssurAssocTimeTimestamp, neighborArrayInRange=neighborArrayInRange, vlanMgmtAppCatStatsTxPackets=vlanMgmtAppCatStatsTxPackets, neighborArrayIPAddress=neighborArrayIPAddress, envCtrlFanFail=envCtrlFanFail, netflow=netflow, iapStatsRxRate1Packets=iapStatsRxRate1Packets, stationUnassocTimeRSSIabg3=stationUnassocTimeRSSIabg3, proxyMgmtMask03=proxyMgmtMask03, stationAssocRSSIa9=stationAssocRSSIa9, group=group, snmpAgentKeepAlive=snmpAgentKeepAlive, globalStaAuthTimeout=globalStaAuthTimeout, ssidBroadcast=ssidBroadcast, ssidIndex=ssidIndex, snmpAgentV3ReadOnlyUserAuthPassphraseEnc=snmpAgentV3ReadOnlyUserAuthPassphraseEnc, stationStatsRxRate6Retries=stationStatsRxRate6Retries, vlanMgmtAppStatsTable=vlanMgmtAppStatsTable, adminIndex=adminIndex, systemActivationInterval=systemActivationInterval, locationReportingPeriod=locationReportingPeriod, ntpSecondaryAuthKey=ntpSecondaryAuthKey, autoCell=autoCell, arrayModel=arrayModel, dhcpPoolMaxLease=dhcpPoolMaxLease, ssidRadiusAcctPriServerHostname=ssidRadiusAcctPriServerHostname, stationStatsTxRate54Bytes=stationStatsTxRate54Bytes, iapStatsRxRate48Bytes=iapStatsRxRate48Bytes, filterSrcIface=filterSrcIface, staAssuranceSNRActive=staAssuranceSNRActive, iapTable=iapTable, lldp=lldp, cdpInfoTable=cdpInfoTable, vlanTunnelServer=vlanTunnelServer, stationAssocNetbiosName=stationAssocNetbiosName, syslogSecServerPort=syslogSecServerPort, proxyMgmtSubnet08=proxyMgmtSubnet08, stationStatsRxRate48Errors=stationStatsRxRate48Errors, dateTimeZoneMins=dateTimeZoneMins, staAssurDeviceType=staAssurDeviceType, stationAssuranceSNR=stationAssuranceSNR, staAssurManufacturer=staAssurManufacturer, ssidWprIndex=ssidWprIndex, vlanDHCPBind=vlanDHCPBind)
mibBuilder.exportSymbols("AVAYA-WLAN-MIB", stationAssociationRSSIa3=stationAssociationRSSIa3, iapIndex=iapIndex, dnsUseDhcp=dnsUseDhcp, globalDscpMappingTable=globalDscpMappingTable, stationUnassociatedRSSIabg4=stationUnassociatedRSSIabg4, wdsStatsTxRate11Retries=wdsStatsTxRate11Retries, adminHistoryLoginTime=adminHistoryLoginTime, idsSeqNumAnomalyMode=idsSeqNumAnomalyMode, spanningTreeEntry=spanningTreeEntry, iapChannelBondMode=iapChannelBondMode, adminHistoryInterface=adminHistoryInterface, wdsStatsTxRate24Errors=wdsStatsTxRate24Errors, stationUnassociatedRSSIa6=stationUnassociatedRSSIa6, wprWhitelistGroupDomain=wprWhitelistGroupDomain, iapStatsTxMultipleRetries=iapStatsTxMultipleRetries, iapStatsRxManagement=iapStatsRxManagement, stationAssociationTimeRSSIa9=stationAssociationTimeRSSIa9, wep=wep, vlanUndefinedClear=vlanUndefinedClear, stationStatsRxRate5Packets=stationStatsRxRate5Packets, spectrumAnalysisAverageRSSI=spectrumAnalysisAverageRSSI, ethStatsRxBytes=ethStatsRxBytes, neighborArrayNumIAPsUp=neighborArrayNumIAPsUp, iapStatsTxRate11Retries=iapStatsTxRate11Retries, iapStatsTxRate6Retries=iapStatsTxRate6Retries, wdsStatsRxRate18Packets=wdsStatsRxRate18Packets, wprWhitelistGroupName=wprWhitelistGroupName, staAssuranceDataRate=staAssuranceDataRate, wdsClientLinkTable=wdsClientLinkTable, ntpEnable=ntpEnable, vlanMgmtAppCatStatsRxBytes=vlanMgmtAppCatStatsRxBytes, iapStatsNoiseTotal=iapStatsNoiseTotal, spectrumAnalysisChannel=spectrumAnalysisChannel, autoChannelList11bgChannel=autoChannelList11bgChannel, stationAssocTimeRSSIa11=stationAssocTimeRSSIa11, radiusAcctInterval=radiusAcctInterval, snmpAgentV3ReadOnlyUserPrivPassphraseEnc=snmpAgentV3ReadOnlyUserPrivPassphraseEnc, cdpInfoNativeVlan=cdpInfoNativeVlan, systemLicenseMaxNumIAPs=systemLicenseMaxNumIAPs, stationStatsTxRate11Bytes=stationStatsTxRate11Bytes, iapMaxStationsHour=iapMaxStationsHour, systemRDKMode=systemRDKMode, location=location, stationUnassocRSSIabg1=stationUnassocRSSIabg1, envCtrlHumidity=envCtrlHumidity, ethStatsTxCarrierErrors=ethStatsTxCarrierErrors, clusterArrayTableReset=clusterArrayTableReset, wifiTagChannel1=wifiTagChannel1, iapDescription=iapDescription, radiusAcctSecServerSecret=radiusAcctSecServerSecret, staAssuranceRSSITimestamp=staAssuranceRSSITimestamp, idsMICErrorAttackThreshold=idsMICErrorAttackThreshold, wdsStatsTxRate9Bytes=wdsStatsTxRate9Bytes, aclSsidTable=aclSsidTable, neighborArrayTable=neighborArrayTable, rates11aSet=rates11aSet, ethStatsIfaceSpeed=ethStatsIfaceSpeed, filterName=filterName, encDoorClosed=encDoorClosed, syslogEmailPasswordEnc=syslogEmailPasswordEnc, stationAssociationTimeRSSIabg3=stationAssociationTimeRSSIabg3, stationUnassociatedTxRate=stationUnassociatedTxRate, rfMonitorTimeshareTrafficThreshold=rfMonitorTimeshareTrafficThreshold, stationStatsRxRate48Packets=stationStatsRxRate48Packets, stationStatsRxPackets=stationStatsRxPackets, stationAssociationBand=stationAssociationBand, stationStatsRxRate54Packets=stationStatsRxRate54Packets, ssidRadiusPriServerIPAddress=ssidRadiusPriServerIPAddress, systemTelnetTimeout=systemTelnetTimeout, cdp=cdp, aclSsidEntry=aclSsidEntry, wdsStatsRxRate48Packets=wdsStatsRxRate48Packets, fastRoamingEnable=fastRoamingEnable, iapSpatialStreams=iapSpatialStreams, wdsClientLinkIndex=wdsClientLinkIndex, groupEnable=groupEnable, dnsDomain=dnsDomain, staAssurDataRateTimestamp=staAssurDataRateTimestamp, stationStatsTxRate18Retries=stationStatsTxRate18Retries, stationAssocDeviceClass=stationAssocDeviceClass, iapStatsRxRate9Packets=iapStatsRxRate9Packets, groupWprSplashEnable=groupWprSplashEnable, iapStatsTxRate5Bytes=iapStatsTxRate5Bytes, iapStatsRxRate5Packets=iapStatsRxRate5Packets, filterSrcSsid=filterSrcSsid, iapStatsRxRate48Errors=iapStatsRxRate48Errors, globalMulticastDnsFilteringName=globalMulticastDnsFilteringName, vlanStatsTxTotalErrors=vlanStatsTxTotalErrors, ssidWprSsidName=ssidWprSsidName, stationUnassociatedTimeRSSIa11=stationUnassociatedTimeRSSIa11, groupFilterList=groupFilterList, wdsClientLinkUsername=wdsClientLinkUsername, iapStatsRxRate6Errors=iapStatsRxRate6Errors, wdsStatsRxRate1Errors=wdsStatsRxRate1Errors, wdsStatsRxRate12Packets=wdsStatsRxRate12Packets, globalDscpMappingMode=globalDscpMappingMode, dateTime=dateTime, iapWdsClientLink=iapWdsClientLink, staAssuranceAuthFailuresTimestamp=staAssuranceAuthFailuresTimestamp, cdpInfoHostname=cdpInfoHostname, autoChannelList11bgEntry=autoChannelList11bgEntry, proxyMgmtSubnet07=proxyMgmtSubnet07, stationUnassociatedTimeRSSIa3=stationUnassociatedTimeRSSIa3, snmpAgentV3ReadWriteUserPrivPassphrase=snmpAgentV3ReadWriteUserPrivPassphrase, ssidRadiusPriServerSecretForm=ssidRadiusPriServerSecretForm, clusterArrayCluster=clusterArrayCluster, stationAssocTimeRSSIa10=stationAssocTimeRSSIa10, globalExtractStaInfoType=globalExtractStaInfoType, stationStatsRxRate18Retries=stationStatsRxRate18Retries, stationStatsRxBytes=stationStatsRxBytes, wdsStatsRxPackets=wdsStatsRxPackets, proxyFwdBlueCoatUrl=proxyFwdBlueCoatUrl, filterEntry=filterEntry, ethStatsTxCompressed=ethStatsTxCompressed, snmpAgentV3Enable=snmpAgentV3Enable, wao9122=wao9122, wap9122=wap9122, adminPrivilege=adminPrivilege, stationUnassociatedRSSIa11=stationUnassociatedRSSIa11, global11acGuardInterval=global11acGuardInterval, dateTimeSet=dateTimeSet, filterAppEntry=filterAppEntry, stationStatsTxRate18Packets=stationStatsTxRate18Packets, vlanUndefinedEntry=vlanUndefinedEntry, vlanStaAppStatsTimePeriod=vlanStaAppStatsTimePeriod, iapStatsRxRate18Bytes=iapStatsRxRate18Bytes, stationStatsRxRate54Bytes=stationStatsRxRate54Bytes, stationStatsRxRate5Errors=stationStatsRxRate5Errors, adminPrivLevelTable=adminPrivLevelTable, radiusSecServerHostname=radiusSecServerHostname, staAssuranceDeviceType=staAssuranceDeviceType, iapSsidToBssidMappingIndex=iapSsidToBssidMappingIndex, stationAssocRSSIa6=stationAssocRSSIa6, autoChannelList11aTable=autoChannelList11aTable, stationStatsTxRate5Errors=stationStatsTxRate5Errors, componentDate=componentDate, ssidDhcpOption=ssidDhcpOption, ssidLimitsEnable=ssidLimitsEnable, filterType=filterType, filterRowStatus=filterRowStatus, snmpAgent=snmpAgent, globalMulticastVlanForwardingRowStatus=globalMulticastVlanForwardingRowStatus, wepKeySize=wepKeySize, iapStatsIfaceName=iapStatsIfaceName, iapStatsTxRate9Retries=iapStatsTxRate9Retries, iapStatsTxUtilization=iapStatsTxUtilization, radiusStationMACFormat=radiusStationMACFormat, staAssurDeviceClass=staAssurDeviceClass, systemHostname=systemHostname, licenseUpdate=licenseUpdate, iapStatsRxRate6Retries=iapStatsRxRate6Retries, stationAssocRSSIa10=stationAssocRSSIa10, adminTable=adminTable, globalIAPChannelReset=globalIAPChannelReset, iapEntry=iapEntry, proxyMgmtSocksIpAddr=proxyMgmtSocksIpAddr, globalMulticastDnsFilteringTableReset=globalMulticastDnsFilteringTableReset, systemStandbyTarget=systemStandbyTarget, global11aIAPAutoCellEnable=global11aIAPAutoCellEnable, stationAssocRSSIa3=stationAssocRSSIa3, wprWhitelistSsidEntry=wprWhitelistSsidEntry, stationAssociationRSSIa8=stationAssociationRSSIa8, wdsStatsTxRate12Retries=wdsStatsTxRate12Retries, snmpAgentV3ReadOnlyUserAuthPassphrase=snmpAgentV3ReadOnlyUserAuthPassphrase, ethStatsRxDropped=ethStatsRxDropped, ssidDhcpPool=ssidDhcpPool, softwareVersion=softwareVersion, globalExtractStaInfoEntry=globalExtractStaInfoEntry, licenseFeatureIndex=licenseFeatureIndex, snmpAgentV3ReadWriteUserAuthPassphraseEnc=snmpAgentV3ReadWriteUserAuthPassphraseEnc, dns=dns, wdsHostLinkState=wdsHostLinkState, stationStatsTxRate12Packets=stationStatsTxRate12Packets, stationStatsTxRate6Retries=stationStatsTxRate6Retries, systemLoginReauthPeriod=systemLoginReauthPeriod, stationAppCatStatsTxPackets=stationAppCatStatsTxPackets, realtimeMonitorDot11Busy=realtimeMonitorDot11Busy, security=security, staAssurAlarmType=staAssurAlarmType, envCtrl=envCtrl, stationAssuranceRetryRate=stationAssuranceRetryRate, wdsStatsRxRate5Retries=wdsStatsRxRate5Retries, rogueDetectAPOrigTableSecurity=rogueDetectAPOrigTableSecurity, ethStatsRxFifoErrors=ethStatsRxFifoErrors, ssidRadiusSecServerPort=ssidRadiusSecServerPort, wdsStatsRxRate48Errors=wdsStatsRxRate48Errors, syslogLevel=syslogLevel, stationUnassociatedTimeRSSIa1=stationUnassociatedTimeRSSIa1, globalMulticastDnsFilteringRowStatus=globalMulticastDnsFilteringRowStatus, iapStatsRxRate54Errors=iapStatsRxRate54Errors, stationAssociationTimeRSSIabg2=stationAssociationTimeRSSIabg2, vlanStaAppStatsRxBytes=vlanStaAppStatsRxBytes, idsEventSSID=idsEventSSID, tunnelIndex=tunnelIndex, stationAssocDeviceSource=stationAssocDeviceSource, stationStatsTxRate9Errors=stationStatsTxRate9Errors, snmpAgentRestart=snmpAgentRestart, iapRxThreshold=iapRxThreshold, consoleBaud=consoleBaud, stationAssociationIAP=stationAssociationIAP, iapChannel=iapChannel, stationStatsTxBytes=stationStatsTxBytes, staAssuranceSNRTimestamp=staAssuranceSNRTimestamp, fastRoamingTargetHostname=fastRoamingTargetHostname, radiusAcctPriServerIPAddress=radiusAcctPriServerIPAddress, global11aIAPEnable=global11aIAPEnable, vlanStaAppStatsEntry=vlanStaAppStatsEntry, stationUnassociatedIndex=stationUnassociatedIndex, rogueDetectSSIDEntry=rogueDetectSSIDEntry, filterPriority=filterPriority, ssidWpaPassphraseForm=ssidWpaPassphraseForm, ssidWprUrl=ssidWprUrl, globalMulticastVlanForwardingTable=globalMulticastVlanForwardingTable, stationStatsRxRate24Bytes=stationStatsRxRate24Bytes, wdsStatsEntry=wdsStatsEntry, radiusPriServerSecretEnc=radiusPriServerSecretEnc, stationAssocTimeRSSIabg4=stationAssocTimeRSSIabg4, mdm=mdm, snmpAgentTrapHost4=snmpAgentTrapHost4, stationUnassociatedTimeRSSIa6=stationUnassociatedTimeRSSIa6, stationUnassocTimeRSSIa9=stationUnassocTimeRSSIa9, stationUnassociatedNetbiosName=stationUnassociatedNetbiosName, idsEventTablePeriod=idsEventTablePeriod, rogueDetectAPOrigTableType=rogueDetectAPOrigTableType, staAssuranceDeviceClass=staAssuranceDeviceClass, iapStatsTxRate18Packets=iapStatsTxRate18Packets, systemXirconEnable=systemXirconEnable, filterPackets=filterPackets, tunnelSsids=tunnelSsids, vlanFastRoaming=vlanFastRoaming, radiusAcctSecServerIPAddress=radiusAcctSecServerIPAddress, interface=interface, stationUnassociatedRSSI=stationUnassociatedRSSI, iapStatsTxManagement=iapStatsTxManagement, ntpPrimaryAuthType=ntpPrimaryAuthType, globalMulticastForwardingTable=globalMulticastForwardingTable, stationUnassociatedEntry=stationUnassociatedEntry, adminRadiusPriServerPort=adminRadiusPriServerPort, snmpAgentReadOnlyCommunity=snmpAgentReadOnlyCommunity, aclTable=aclTable, fpgaSWVersion=fpgaSWVersion, staAssuranceDistance=staAssuranceDistance, stationAppStatsMACAddress=stationAppStatsMACAddress, ssidLimitsDaysOnFri=ssidLimitsDaysOnFri, idsEventMacAddress=idsEventMacAddress, stationUnassocTimeRSSIa8=stationUnassocTimeRSSIa8, radiusPriServerIPAddress=radiusPriServerIPAddress, groupWprHeaderText=groupWprHeaderText, wdsStatsRxRate24Errors=wdsStatsRxRate24Errors, globalMgmt=globalMgmt, wdsStatsTxRate11Bytes=wdsStatsTxRate11Bytes, neighborArrayFastRoam=neighborArrayFastRoam, fastRoaming=fastRoaming, rogueDetectSSIDRowStatus=rogueDetectSSIDRowStatus)
mibBuilder.exportSymbols("AVAYA-WLAN-MIB", stationAppStatsRxBytes=stationAppStatsRxBytes, systemPCIAuditMode=systemPCIAuditMode, stationAssociationMACAddress=stationAssociationMACAddress, stationAssocRSSIa7=stationAssocRSSIa7, staAssurActiveAlarmTimestamp=staAssurActiveAlarmTimestamp, oauthTokenId=oauthTokenId, iapStatsTxRate2Packets=iapStatsTxRate2Packets, wprWhitelistGroupEntry=wprWhitelistGroupEntry, radiusCalledStationIdFormat=radiusCalledStationIdFormat, ssidRadiusAcctSecServerIPAddress=ssidRadiusAcctSecServerIPAddress, rogueDetectAPOrigTableIndex=rogueDetectAPOrigTableIndex, global11bgIAPgOnly=global11bgIAPgOnly, iapStatsRxCRCErrors=iapStatsRxCRCErrors, stationStatsTxErrors=stationStatsTxErrors, systemContactEmail=systemContactEmail, stationUnassocTimeRSSIa11=stationUnassocTimeRSSIa11, tunnelFailoverNumFailures=tunnelFailoverNumFailures, stationAssuranceAssocTime=stationAssuranceAssocTime, stationAppStatsTable=stationAppStatsTable, stationAssociationRSSIa7=stationAssociationRSSIa7, iapStatsTxRate24Errors=iapStatsTxRate24Errors, console=console, filterDstType=filterDstType, realtimeMonitorPackets=realtimeMonitorPackets, stationUnassocRSSIa5=stationUnassocRSSIa5, ssidHoneypotBroadcastIndex=ssidHoneypotBroadcastIndex, iapStatsRxRate12Packets=iapStatsRxRate12Packets, ssidWprSharedSecretForm=ssidWprSharedSecretForm, adminRadiusPriServerSecretEnc=adminRadiusPriServerSecretEnc, stationStatsTxRate48Bytes=stationStatsTxRate48Bytes, adminPrivSectionLevel=adminPrivSectionLevel, stationStatsTxRate6Packets=stationStatsTxRate6Packets, syslogTerServer=syslogTerServer, lldpFabricAttachMsgAuthKeyEnc=lldpFabricAttachMsgAuthKeyEnc, iapResetsPhy=iapResetsPhy, staAssuranceNetbiosName=staAssuranceNetbiosName, proxyMgmtMask08=proxyMgmtMask08, cdpInterval=cdpInterval, filterDstInvertSense=filterDstInvertSense, filterListReset=filterListReset, filterMoveDown=filterMoveDown, wdsStatsTxRate1Bytes=wdsStatsTxRate1Bytes, wdsStatsTxRate9Errors=wdsStatsTxRate9Errors, ntpPrimaryAuthKey=ntpPrimaryAuthKey, spanningTreeGigLinkState=spanningTreeGigLinkState, ssidRadiusPriServerSecret=ssidRadiusPriServerSecret, global11aIAPCellSize=global11aIAPCellSize, activeDirectoryWorkgroup=activeDirectoryWorkgroup, systemHttpsTimeout=systemHttpsTimeout, aclSsidIndex=aclSsidIndex, idsDisassocAttackThreshold=idsDisassocAttackThreshold, filterLayer=filterLayer, radiusAcctSecServerPort=radiusAcctSecServerPort, wdsStatsRxRate54Packets=wdsStatsRxRate54Packets, stationUnassociatedTimeRSSIabg4=stationUnassociatedTimeRSSIabg4, ethStatsRxPackets=ethStatsRxPackets, vlanMgmtAppStatsTxPackets=vlanMgmtAppStatsTxPackets, stationAssocBand=stationAssocBand, ethDefault=ethDefault, stationUnassociatedRSSIa9=stationUnassociatedRSSIa9, snmpAgentEngineID=snmpAgentEngineID, proxyMgmtSocksType=proxyMgmtSocksType, lldpFabricAttachElementTable=lldpFabricAttachElementTable, proxyMgmtHttpsPort=proxyMgmtHttpsPort, groupWprEnable=groupWprEnable, ssidLimitsStationLimit=ssidLimitsStationLimit, global11nRxChains=global11nRxChains, stationAppCatStatsEntry=stationAppCatStatsEntry, filterSrcInvertSense=filterSrcInvertSense, ssidWepDefaultKeyID=ssidWepDefaultKeyID, vlanNativeNumber=vlanNativeNumber, ssidDefaultSecurity=ssidDefaultSecurity, vlanStatsRxFifoErrors=vlanStatsRxFifoErrors, systemTempCelsius=systemTempCelsius, proxyMgmtSubnet04=proxyMgmtSubnet04, vlanMgmtAppCatStatsIndex=vlanMgmtAppCatStatsIndex, stationAssuranceTablePeriod=stationAssuranceTablePeriod, stationAssociationCipher=stationAssociationCipher, stationUnassociatedRSSIa4=stationUnassociatedRSSIa4, spectrumAnalysisTable=spectrumAnalysisTable, spectrumAnalysisPackets=spectrumAnalysisPackets, envCtrlHeatOn=envCtrlHeatOn, stationAssociationTimeRSSIabg1=stationAssociationTimeRSSIabg1, global11aIAPFragThreshold=global11aIAPFragThreshold, iapStatsTxMulticast=iapStatsTxMulticast, stationAssurTable=stationAssurTable, radiusAcctSecServerSecretEnc=radiusAcctSecServerSecretEnc, ssidHoneypotBroadcastTableReset=ssidHoneypotBroadcastTableReset, vlanStatsEntry=vlanStatsEntry, global11aIAPChannelReset=global11aIAPChannelReset, activeDirectoryLeave=activeDirectoryLeave, filterAppCategory=filterAppCategory, systemXirconTimeout=systemXirconTimeout, iap=iap, stationAssocRSSIabg4=stationAssocRSSIabg4, ssidWprAuthTimeout=ssidWprAuthTimeout, stationAssociationEntry=stationAssociationEntry, global11bgIAPMaxStations=global11bgIAPMaxStations, iapStatsTxDropped=iapStatsTxDropped, syslogEmailFromAddress=syslogEmailFromAddress, ssidRadiusAcctSecServerSecretForm=ssidRadiusAcctSecServerSecretForm, neighborArrayUptime=neighborArrayUptime, systemSshTimeout=systemSshTimeout, iapMaxStationsYear=iapMaxStationsYear, iapStatsTxRate54Bytes=iapStatsTxRate54Bytes, cdpInfoCapabilities=cdpInfoCapabilities, systemTempComponent=systemTempComponent, filter=filter, staAssuranceAuthFailuresActive=staAssuranceAuthFailuresActive, vlanStaAppCatStatsIndex=vlanStaAppCatStatsIndex, proxyMgmtMask09=proxyMgmtMask09, rates11bg=rates11bg, wprWhitelistSsidName=wprWhitelistSsidName, iapStatsRxRate36Packets=iapStatsRxRate36Packets, idsMICErrorAttackPeriod=idsMICErrorAttackPeriod, staAssurErrorRateActive=staAssurErrorRateActive, iapWifiMode=iapWifiMode, global11bgIAPAutoCellMinTxPwr=global11bgIAPAutoCellMinTxPwr, wdsStatsTxRate5Retries=wdsStatsTxRate5Retries, systemNetworkAssurance=systemNetworkAssurance, locationReportingKey=locationReportingKey, ssidRadiusAcctEnable=ssidRadiusAcctEnable, globalDscpMappingIndex=globalDscpMappingIndex, stationStatsRxRate5Retries=stationStatsRxRate5Retries, stationStatsRxRate9Packets=stationStatsRxRate9Packets, stationStatsTxRate5Packets=stationStatsTxRate5Packets, idsDisassocFloodPeriod=idsDisassocFloodPeriod, systemArrayInfo=systemArrayInfo, wpa=wpa, stationAssociationTimeRSSIa4=stationAssociationTimeRSSIa4, wdsStatsTxBytes=wdsStatsTxBytes, staAssuranceRetryRate=staAssuranceRetryRate, cdpInfoModel=cdpInfoModel, envCtrlTemperature=envCtrlTemperature, oauthTokenEntry=oauthTokenEntry, ethDuplex=ethDuplex, iapStatsRxRate9Bytes=iapStatsRxRate9Bytes, proxyMgmtEnabled=proxyMgmtEnabled, filterTrafficLimitType=filterTrafficLimitType, vlanMgmtAppStatsEntry=vlanMgmtAppStatsEntry, stationUnassocRSSIa1=stationUnassocRSSIa1, staAssuranceTimestamp=staAssuranceTimestamp, radiusAcctPriServerPort=radiusAcctPriServerPort, stationStatsRxRate48Bytes=stationStatsRxRate48Bytes, wdsStatsRxRate36Errors=wdsStatsRxRate36Errors, fabricAttachMgmtVlanMismatch=fabricAttachMgmtVlanMismatch, proxyMgmtMask07=proxyMgmtMask07, idsEventChannel=idsEventChannel, ssidWepKey2Size=ssidWepKey2Size, stationAssociationEncType=stationAssociationEncType, proxyMgmtMask05=proxyMgmtMask05, stationAssociationRSSIabg1=stationAssociationRSSIabg1, wpaPSK=wpaPSK, wdsStatsTxRate5Bytes=wdsStatsTxRate5Bytes, system=system, iapChannelBond80Mhz=iapChannelBond80Mhz, dhcp=dhcp, proxyMgmt=proxyMgmt, filterAppCatIndex=filterAppCatIndex, staAssurActiveAlarmType=staAssurActiveAlarmType, rogueDetectAPOrigTableBSSID=rogueDetectAPOrigTableBSSID, stationAssurance=stationAssurance, wdsStatsRxRate48Retries=wdsStatsRxRate48Retries, rogueDetectAPTimeDiscovered=rogueDetectAPTimeDiscovered, iapStatsRxRate36Retries=iapStatsRxRate36Retries, syslogEmailPassword=syslogEmailPassword, spectrumAnalysisIndex=spectrumAnalysisIndex, global11aIAPMaxStations=global11aIAPMaxStations, stationStatsRxRate18Packets=stationStatsRxRate18Packets, wprWhitelistSsidTable=wprWhitelistSsidTable, wap9123=wap9123, staAssurSNRTimestamp=staAssurSNRTimestamp, iapStatsRxRate6Packets=iapStatsRxRate6Packets, ssidWprServerType=ssidWprServerType, adminTableClear=adminTableClear, globalArpFilter=globalArpFilter, wpaPassphrase=wpaPassphrase, stationUnassociatedRSSIabg2=stationUnassociatedRSSIabg2, systemMIBVersion=systemMIBVersion, ssidLimitsActive=ssidLimitsActive, stationAssociationRSSIa9=stationAssociationRSSIa9, stationAssocRSSIa2=stationAssocRSSIa2, iapStatsRxRate12Retries=iapStatsRxRate12Retries, spectrumAnalysisNoise=spectrumAnalysisNoise, groupStationLimit=groupStationLimit, adminTableReset=adminTableReset, groupTimeOn=groupTimeOn, wds=wds, ssidLimitsSsidName=ssidLimitsSsidName, resetArray=resetArray, iapStatsTxRate24Packets=iapStatsTxRate24Packets, realtimeMonitorIfaceName=realtimeMonitorIfaceName, rogueDetectAPOrigTableEntry=rogueDetectAPOrigTableEntry, global11nGuardInterval=global11nGuardInterval, idsDisassocFloodThreshold=idsDisassocFloodThreshold, radiusAcctEnable=radiusAcctEnable, stationUnassociatedTimeRSSIa2=stationUnassociatedTimeRSSIa2, locationReportingUrl=locationReportingUrl, spanningTreeVlanNumber=spanningTreeVlanNumber, ethPortMode=ethPortMode, iapStatsRxMulticast=iapStatsRxMulticast, proxyMgmtMask04=proxyMgmtMask04, autoChannelSchedule=autoChannelSchedule, systemContactName=systemContactName, syslogLevelTerServer=syslogLevelTerServer, snmpAgentV3ReadWriteUserPrivPassphraseEnc=snmpAgentV3ReadWriteUserPrivPassphraseEnc, lldpFabricAttachElementEntry=lldpFabricAttachElementEntry, autoCellOverlap=autoCellOverlap, staAssurDistanceTimestamp=staAssurDistanceTimestamp, stationAssocEncType=stationAssocEncType, lldpRequestPower=lldpRequestPower, encDoorOpened=encDoorOpened, filterSrcIPAddressMask=filterSrcIPAddressMask, stationStatsTxRate24Retries=stationStatsTxRate24Retries, stationAppStatsTableClear=stationAppStatsTableClear, globalDot11wProtectedManagement=globalDot11wProtectedManagement, ssidEntry=ssidEntry, wdsStatsRxRate9Retries=wdsStatsRxRate9Retries, envCtrlCoolRPM1=envCtrlCoolRPM1, vlanStatsTxBytes=vlanStatsTxBytes, ethEntry=ethEntry, stationStatsRxRate12Bytes=stationStatsRxRate12Bytes, iapWdsLinkDistance=iapWdsLinkDistance, vlanStatsName=vlanStatsName, stationStatsTxRate48Retries=stationStatsTxRate48Retries, wdsStatsLinkName=wdsStatsLinkName, snmpAgentV3ReadWriteUser=snmpAgentV3ReadWriteUser, cdpEnable=cdpEnable, rogueDetectAPOrigTableTimeDiscovered=rogueDetectAPOrigTableTimeDiscovered, proxyMgmtMask10=proxyMgmtMask10, wdsStatsTxRate48Bytes=wdsStatsTxRate48Bytes, wdsStatsRxRate12Retries=wdsStatsRxRate12Retries, systemXmsControl=systemXmsControl, groupDaysOnTue=groupDaysOnTue, ssidWepKey3Size=ssidWepKey3Size, dhcpPoolDNSServer2=dhcpPoolDNSServer2, filterStateful=filterStateful, radiusNasIdentifier=radiusNasIdentifier, staAssuranceErrorRateActive=staAssuranceErrorRateActive, dhcpPoolEntry=dhcpPoolEntry, vlanTunnelSecret=vlanTunnelSecret, rfMonitorTimeshareStationThreshold=rfMonitorTimeshareStationThreshold, stationAssociationRSSIa2=stationAssociationRSSIa2, rebootArray=rebootArray, adminEntry=adminEntry, globalMulticastExcludeIpAddress=globalMulticastExcludeIpAddress, radiusDASEventTimestamp=radiusDASEventTimestamp, stationStatsRxRate48Retries=stationStatsRxRate48Retries, rogueDetectAPTable=rogueDetectAPTable, iapStatsRxRate11Packets=iapStatsRxRate11Packets, wdsStatsRxRate1Bytes=wdsStatsRxRate1Bytes, mdmAirWatchApiTimeout=mdmAirWatchApiTimeout, rates11aEntry=rates11aEntry, groupDaysOnWed=groupDaysOnWed)
mibBuilder.exportSymbols("AVAYA-WLAN-MIB", radiusEnable=radiusEnable, systemRemoteServer=systemRemoteServer, ethName=ethName, wdsStatsRxRate5Packets=wdsStatsRxRate5Packets, bondMode=bondMode, idsEventMaxPackets=idsEventMaxPackets, ssidRowStatus=ssidRowStatus, tunnelSecRemoteEndpoint=tunnelSecRemoteEndpoint, rates11bgEntry=rates11bgEntry, vlanMgmtAppCatStatsVlan=vlanMgmtAppCatStatsVlan, iapStatsTxFragments=iapStatsTxFragments, bondTable=bondTable, ledsActivityTable=ledsActivityTable, stationUnassocRSSIa2=stationUnassocRSSIa2, iapStatsRxRate11Errors=iapStatsRxRate11Errors, groupDaysOnThu=groupDaysOnThu, radiusServerAD=radiusServerAD, idsStationImpersonationEnable=idsStationImpersonationEnable, vlanUndefinedIndex=vlanUndefinedIndex, global11bgIAPgProtect=global11bgIAPgProtect, stationStatsTxRate24Errors=stationStatsTxRate24Errors, iapBondedChannel=iapBondedChannel, proxyMgmtMask01=proxyMgmtMask01, realtimeMonitorAverageRSSI=realtimeMonitorAverageRSSI, stationUnassocRSSIa12=stationUnassocRSSIa12, globalNumStations=globalNumStations, wifiTagChannel3=wifiTagChannel3, idsBeaconFloodThreshold=idsBeaconFloodThreshold, stationStatsTxRate2Errors=stationStatsTxRate2Errors, staAssurAuthFailures=staAssurAuthFailures, global11bgIAPSlotTime=global11bgIAPSlotTime, keepAlive=keepAlive, flashPartitionCorrupt=flashPartitionCorrupt, adminPrivilegeLevel=adminPrivilegeLevel, wdsStatsTxRate18Retries=wdsStatsTxRate18Retries, ssidAclEnable=ssidAclEnable, systemTempIndex=systemTempIndex, wdsRoamAvgWeight=wdsRoamAvgWeight, stationAssocTxRate=stationAssocTxRate, realtimeMonitorErrorRate=realtimeMonitorErrorRate, adminHistoryTable=adminHistoryTable, ledsActivityIndex=ledsActivityIndex, rates11bgSet=rates11bgSet, stationAssociationRSSIa6=stationAssociationRSSIa6, stationStatsTxRate5Retries=stationStatsTxRate5Retries, staAssuranceActiveAlarmTimestamp=staAssuranceActiveAlarmTimestamp, netflowCollectorPort=netflowCollectorPort, staAssurErrorRateTimestamp=staAssurErrorRateTimestamp, mdmAirWatchApiURL=mdmAirWatchApiURL, stationAssuranceRSSI=stationAssuranceRSSI, stationAssociationRSSIa10=stationAssociationRSSIa10, rogueDetectSSIDIndex=rogueDetectSSIDIndex, proxyMgmtSubnet03=proxyMgmtSubnet03, ssidRadiusAcctPriServerPort=ssidRadiusAcctPriServerPort, vlanMgmtAppCatStatsTable=vlanMgmtAppCatStatsTable, wpr=wpr, snmpAgentV3AuthType=snmpAgentV3AuthType, systemResetCode=systemResetCode, wdsStatsRxBytes=wdsStatsRxBytes, ssidLimitsDaysOnSat=ssidLimitsDaysOnSat, stationAssocRSSIabg1=stationAssocRSSIabg1, wdsStatsTxRate24Bytes=wdsStatsTxRate24Bytes, staAssurRetryRateActive=staAssurRetryRateActive, fastRoamingTargetType=fastRoamingTargetType, syslogServer=syslogServer, rogueDetectSSIDMatch=rogueDetectSSIDMatch, iapStatsRxUnicast=iapStatsRxUnicast, iapStatsTxRate5Retries=iapStatsTxRate5Retries, proxyMgmtHttpsType=proxyMgmtHttpsType, iapStatsTxRate1Errors=iapStatsTxRate1Errors, wepKeyTable=wepKeyTable, ssidLimitsTimeOff=ssidLimitsTimeOff, stationUnassocMediaType=stationUnassocMediaType, systemHttpsPort=systemHttpsPort, lldpFabricAttachElementInterface=lldpFabricAttachElementInterface, stationStatsMACAddress=stationStatsMACAddress, ssidTable=ssidTable, vlanStaAppStatsTxBytes=vlanStaAppStatsTxBytes, vlanStaAppCatStatsGuid=vlanStaAppCatStatsGuid, adminLogin=adminLogin, iapStatsTxRate6Packets=iapStatsTxRate6Packets, fastRoamingTargetRowStatus=fastRoamingTargetRowStatus, envCtrlTempOver=envCtrlTempOver, stationUnassocRSSIabg3=stationUnassocRSSIabg3, aclEntry=aclEntry, staAssuranceManufacturer=staAssuranceManufacturer, fastRoamingTargetMacAddress=fastRoamingTargetMacAddress, rates11nEntry=rates11nEntry, stationAssociationRSSIa4=stationAssociationRSSIa4, stationUnassociatedTime=stationUnassociatedTime, componentEntry=componentEntry, iapType=iapType, wpaRekey=wpaRekey, wdsStatsRxRate5Errors=wdsStatsRxRate5Errors, adminPrivSectionIndex=adminPrivSectionIndex, iapResetsMac=iapResetsMac, wdsStpEnable=wdsStpEnable, ssidLimitsDaysOnThu=ssidLimitsDaysOnThu, global11aIAPRxThreshold=global11aIAPRxThreshold, proxyMgmtMask06=proxyMgmtMask06, proxyMgmtMask02=proxyMgmtMask02, autoChannelList11aEntry=autoChannelList11aEntry, systemContactPhone=systemContactPhone, vlanStaAppStatsVlan=vlanStaAppStatsVlan, ssidFilterList=ssidFilterList, stationStatsRxRate18Errors=stationStatsRxRate18Errors, syslogStationUrlLog=syslogStationUrlLog, radiusSecServerPort=radiusSecServerPort, globalMulticastForwardingIndex=globalMulticastForwardingIndex, ethStatsTxBytes=ethStatsTxBytes, iapStatsTxRate54Errors=iapStatsTxRate54Errors, leds=leds, iapStatsTxRate6Errors=iapStatsTxRate6Errors, clusterArrayIndex=clusterArrayIndex, vlanMgmtAppCatStatsTxBytes=vlanMgmtAppCatStatsTxBytes, globalIAPBeaconDTIM=globalIAPBeaconDTIM, hardwareConfig=hardwareConfig, groupDaysOnFri=groupDaysOnFri, cdpInfoInterface=cdpInfoInterface, filterPortRange=filterPortRange, ssidRadiusAcctPriServerIPAddress=ssidRadiusAcctPriServerIPAddress, stationAppStatsRxPackets=stationAppStatsRxPackets, idsAssocFloodMode=idsAssocFloodMode, fabricAttachTraps=fabricAttachTraps, idsEAPFloodMode=idsEAPFloodMode, stationUnassociatedTimeRSSIa10=stationUnassociatedTimeRSSIa10, stationAssocKeyMgmt=stationAssocKeyMgmt, iapBeaconProbeFailureMacReset=iapBeaconProbeFailureMacReset, oauthTokenTable=oauthTokenTable, globalMulticastExcludeTable=globalMulticastExcludeTable, snmpAgentTrapPort=snmpAgentTrapPort, idsDosAttack=idsDosAttack, systemSshPort=systemSshPort, stationAssociationTxRate=stationAssociationTxRate, vlanMgmtAppStatsVlan=vlanMgmtAppStatsVlan, ssidWepKey4StringForm=ssidWepKey4StringForm, ntpSecondaryAuthType=ntpSecondaryAuthType, rates11bgIndex=rates11bgIndex, vlanStatsNumber=vlanStatsNumber, groupTrafficLimitKbpsSta=groupTrafficLimitKbpsSta, idsMICErrorAttackEnable=idsMICErrorAttackEnable, idsEventPeriod=idsEventPeriod, realtimeMonitorTable=realtimeMonitorTable, autoChannelList11aStatus=autoChannelList11aStatus, spanningTreeWDSHostLink2State=spanningTreeWDSHostLink2State, timeThisBoot=timeThisBoot, stationUnassocTimeRSSIabg4=stationUnassocTimeRSSIabg4, stationStatsRxRate12Errors=stationStatsRxRate12Errors, idsDisassocAttackEnable=idsDisassocAttackEnable, stationAssuranceDistance=stationAssuranceDistance, idsEventAvgPackets=idsEventAvgPackets, iapStatsRxRate18Retries=iapStatsRxRate18Retries, wdsStatsTxRate5Errors=wdsStatsTxRate5Errors, rogueDetectSSIDTableReset=rogueDetectSSIDTableReset, vlanMgmtAppCatStatsGuid=vlanMgmtAppCatStatsGuid, iapStatsTable=iapStatsTable, spanningTreeIndex=spanningTreeIndex, globalMulticastMode=globalMulticastMode, realtimeMonitorNoiseFloor=realtimeMonitorNoiseFloor, stationAssociationRSSIa11=stationAssociationRSSIa11, iapStatsTxRate18Retries=iapStatsTxRate18Retries, stationUnassocRSSIabg2=stationUnassocRSSIabg2, iapStatsTxRate48Retries=iapStatsTxRate48Retries, stationStatsTxRate6Bytes=stationStatsTxRate6Bytes, vlanIndex=vlanIndex, filterSrcMacAddressMask=filterSrcMacAddressMask, iapStatsRxRate2Errors=iapStatsRxRate2Errors, vlanStatsTxCompressed=vlanStatsTxCompressed, stationUnassocTimeRSSIa1=stationUnassocTimeRSSIa1, wdsStatsTxRate1Packets=wdsStatsTxRate1Packets, stationAppStatsIndex=stationAppStatsIndex, proxyMgmtHttpEnabled=proxyMgmtHttpEnabled, stationUnassocMACAddress=stationUnassocMACAddress, clusterArrayRowStatus=clusterArrayRowStatus, adminPrivLevelNumber=adminPrivLevelNumber, ssidFallback=ssidFallback, globalDot11kSupport=globalDot11kSupport, proxyMgmtSubnet06=proxyMgmtSubnet06, ssidWpaTKIP=ssidWpaTKIP, stationStatsTxRate6Errors=stationStatsTxRate6Errors, wdsStatsTxRate54Bytes=wdsStatsTxRate54Bytes, syslogPriority=syslogPriority, globalIAPRxThreshold=globalIAPRxThreshold, neighborArrayNumActiveSSIDs=neighborArrayNumActiveSSIDs, stationAssurEntry=stationAssurEntry, stationStatsTxRate1Retries=stationStatsTxRate1Retries, autoCellPeriod=autoCellPeriod, oauthTokenCode=oauthTokenCode, stationStatsTxRate36Errors=stationStatsTxRate36Errors, oauthTokenType=oauthTokenType, stationAssocMediaType=stationAssocMediaType, rogueDetectAPType=rogueDetectAPType, wdsStatsTxRate2Errors=wdsStatsTxRate2Errors, iapMacAddress=iapMacAddress, vlanMgmtAppStatsRxPackets=vlanMgmtAppStatsRxPackets, rogueDetectAPEntry=rogueDetectAPEntry, wdsStatsRxRate2Retries=wdsStatsRxRate2Retries, filterTrackApps=filterTrackApps, ssidHoneypotBroadcastTable=ssidHoneypotBroadcastTable, filterListLength=filterListLength, iapStatsRxRate2Bytes=iapStatsRxRate2Bytes, vlanStatsTable=vlanStatsTable, systemLocation=systemLocation, wdsStatsTxRate12Errors=wdsStatsTxRate12Errors, systemUptime=systemUptime, staAssurMACAddress=staAssurMACAddress, stationAssocManufacturer=stationAssocManufacturer, syslogPriServerPort=syslogPriServerPort, autoChannelEnable=autoChannelEnable, stationStatsRxRate1Retries=stationStatsRxRate1Retries, admin=admin, idsEventEntry=idsEventEntry, idsAssocFloodThreshold=idsAssocFloodThreshold, tunnelTable=tunnelTable, vlanStaAppCatStatsRxPackets=vlanStaAppCatStatsRxPackets, systemReset=systemReset, filterDays=filterDays, licenseFeatureTable=licenseFeatureTable, rogueDetectAutoBlockEnc=rogueDetectAutoBlockEnc, ethLED=ethLED, iapStatsTxRate54Retries=iapStatsTxRate54Retries, wdsStatsTxRate48Retries=wdsStatsTxRate48Retries, iapStatsRxRate48Packets=iapStatsRxRate48Packets, iapCellSize=iapCellSize, stationUnassociatedRSSIa5=stationUnassociatedRSSIa5, filterTableReset=filterTableReset, globalMulticastVlanForwardingTableReset=globalMulticastVlanForwardingTableReset, iapStatsTxRate11Errors=iapStatsTxRate11Errors, wap=wap, stationUnassociatedTable=stationUnassociatedTable, global11bg=global11bg, filterDstMacAddress=filterDstMacAddress, stationStatsTxRate11Retries=stationStatsTxRate11Retries, wdsStatsRxRate9Bytes=wdsStatsRxRate9Bytes, iapDriverVersion=iapDriverVersion, rogueDetectSSIDTable=rogueDetectSSIDTable, proxyMgmtSocksUsername=proxyMgmtSocksUsername, ethStatsIfaceStatus=ethStatsIfaceStatus, systemTempEntry=systemTempEntry, wdsHostLinkSource=wdsHostLinkSource, syslogMessage=syslogMessage, idsNullProbeRespThreshold=idsNullProbeRespThreshold, stationUnassociatedManufacturer=stationUnassociatedManufacturer, stationAssociationTimeRSSIa11=stationAssociationTimeRSSIa11, syslogSecServer=syslogSecServer, staAssurSNR=staAssurSNR, neighborArrayHostname=neighborArrayHostname, stationUnassociatedRSSIabg1=stationUnassociatedRSSIabg1, iapStatsRxRate24Bytes=iapStatsRxRate24Bytes, rates11aTable=rates11aTable, globalIAPReauthPeriod=globalIAPReauthPeriod, radiusAcctPriServerSecret=radiusAcctPriServerSecret, iapStatsRxRate5Errors=iapStatsRxRate5Errors, idsProbeReqFloodMode=idsProbeReqFloodMode)
mibBuilder.exportSymbols("AVAYA-WLAN-MIB", stationStatsRxRate24Retries=stationStatsRxRate24Retries, vlanStatsRxPackets=vlanStatsRxPackets, global11acMaxMCS2SS=global11acMaxMCS2SS, stationAssociationDeviceType=stationAssociationDeviceType, filterTrafficLimit=filterTrafficLimit, rates11bgStatus=rates11bgStatus, proxyMgmtHttpsUsername=proxyMgmtHttpsUsername, iapSsidToBssidMappingEntry=iapSsidToBssidMappingEntry, staAssurDistanceActive=staAssurDistanceActive, iapStatsTxTotalRetries=iapStatsTxTotalRetries, rogueDetectAPBSSID=rogueDetectAPBSSID, vlanDefaultNumber=vlanDefaultNumber, iapWdsHostLink=iapWdsHostLink, globalIAPSta2Sta=globalIAPSta2Sta, stationStatsRxRate11Packets=stationStatsRxRate11Packets, wdsClientLinkMaxIAPs=wdsClientLinkMaxIAPs, stationUnassocTimeRSSIa3=stationUnassocTimeRSSIa3, wdsStatsTxRate2Retries=wdsStatsTxRate2Retries, systemPreLoginBanner=systemPreLoginBanner, ssidHoneypotWhitelistEntry=ssidHoneypotWhitelistEntry, iapStatsRxDropped=iapStatsRxDropped, ssidVlan=ssidVlan, stationAssociationDeviceClass=stationAssociationDeviceClass, envCtrlTraps=envCtrlTraps, dhcpPoolMask=dhcpPoolMask, roamAssistDevices=roamAssistDevices, adminPrivSectionName=adminPrivSectionName, stationAssociationTimeRSSIa6=stationAssociationTimeRSSIa6, global11aIAPAutoChannelEnable=global11aIAPAutoChannelEnable, stationUnassociatedTimeRSSIa4=stationUnassociatedTimeRSSIa4, pysmi_global=pysmi_global, tunnelLocalEndpoint=tunnelLocalEndpoint, fastRoamingTargetIndex=fastRoamingTargetIndex, spanningTreeWDSClientLink2State=spanningTreeWDSClientLink2State, adminHistoryIPAddress=adminHistoryIPAddress, wdsStatsRxRate11Packets=wdsStatsRxRate11Packets, globalExtractIpAddrDhcpPeriod=globalExtractIpAddrDhcpPeriod, groupTimeOff=groupTimeOff, proxyMgmtHttpPassword=proxyMgmtHttpPassword, ssidLimitsIndex=ssidLimitsIndex, wprWhitelistGroupIndex=wprWhitelistGroupIndex, vlanStatsTxPackets=vlanStatsTxPackets, iapStatsTxCTS=iapStatsTxCTS, globalLoopbackTest=globalLoopbackTest, vlanMgmtAppStatsIndex=vlanMgmtAppStatsIndex, stationAppStatsEntry=stationAppStatsEntry, filterListEntry=filterListEntry, filterAppIndex=filterAppIndex, iapStatsRxBeacons=iapStatsRxBeacons, stationAssocRSSIa1=stationAssocRSSIa1, ssidHoneypotWhitelistTableReset=ssidHoneypotWhitelistTableReset, stationStatsTxRate2Bytes=stationStatsTxRate2Bytes, wdsStatsTxRate9Packets=wdsStatsTxRate9Packets, aclRowStatus=aclRowStatus, radiusUserPasswordForm=radiusUserPasswordForm, iapStatsRxTotalErrors=iapStatsRxTotalErrors, ethStatsIfaceName=ethStatsIfaceName, iapName=iapName, iapStatsRxRate5Retries=iapStatsRxRate5Retries, vlanUndefinedTable=vlanUndefinedTable, globalMulticastExcludeEntry=globalMulticastExcludeEntry, global11nAutoBond=global11nAutoBond, iapStatsRxUnassociated=iapStatsRxUnassociated, stationAssocIPAddress=stationAssocIPAddress, idsDurationAttackNAV=idsDurationAttackNAV, staAssuranceSNR=staAssuranceSNR, wprWhitelistGroupTableReset=wprWhitelistGroupTableReset, ssidTableClear=ssidTableClear, iapStatsRxRate24Packets=iapStatsRxRate24Packets, ssidTableReset=ssidTableReset, autoCellEnable=autoCellEnable, iapStatsTxRTSFailures=iapStatsTxRTSFailures, wdsStatsTxRate48Errors=wdsStatsTxRate48Errors, iapResetsBeacon=iapResetsBeacon, global11bgIAPMaxIapStations=global11bgIAPMaxIapStations, dnsSrv3=dnsSrv3, globalMulticastExcludeTableReset=globalMulticastExcludeTableReset, idsProbeReqFloodThreshold=idsProbeReqFloodThreshold, acl=acl, stationAssociationIPAddress=stationAssociationIPAddress, stationAppCatStatsMACAddress=stationAppCatStatsMACAddress, adminRadiusPriServer=adminRadiusPriServer, stationAssociationRSSIa12=stationAssociationRSSIa12, staAssurNetbiosName=staAssurNetbiosName, filterDstSsid=filterDstSsid, syslogConsole=syslogConsole, stationAssociationManufacturer=stationAssociationManufacturer, rogueDetectAPTimeLastActive=rogueDetectAPTimeLastActive, softwareUpgradeSuccess=softwareUpgradeSuccess, stationAssuranceEntry=stationAssuranceEntry, global11acEnable=global11acEnable, dnsSrv1=dnsSrv1, consoleMgmt=consoleMgmt, ssidRadiusSecServerIPAddress=ssidRadiusSecServerIPAddress, adminPrivLevelName=adminPrivLevelName, stationAssocRSSIa4=stationAssocRSSIa4, rogueDetectAPOrigTableIPAddress=rogueDetectAPOrigTableIPAddress, vlanStaAppCatStatsTable=vlanStaAppCatStatsTable, wdsStatsTxRate9Retries=wdsStatsTxRate9Retries, ssidLimitsTrafficLimitSta=ssidLimitsTrafficLimitSta, radiusUserTable=radiusUserTable, ssidHoneypotWhitelistIndex=ssidHoneypotWhitelistIndex, staAssuranceIPAddress=staAssuranceIPAddress, wdsStatsTxPackets=wdsStatsTxPackets, global11bgIAPAutoCellPeriod=global11bgIAPAutoCellPeriod, iapStatsRxRate1Bytes=iapStatsRxRate1Bytes, stationStatsTxRate36Bytes=stationStatsTxRate36Bytes, ssidRadiusAcctSecServerHostname=ssidRadiusAcctSecServerHostname, filterPort=filterPort, cfgModuleOID=cfgModuleOID, iapStatsTxSingleRetries=iapStatsTxSingleRetries, stationUnassocTimeRSSIa5=stationUnassocTimeRSSIa5, stationAssocUserAgent=stationAssocUserAgent, adminRadiusSecServerSecretEnc=adminRadiusSecServerSecretEnc, wdsHostLinkIndex=wdsHostLinkIndex, iapTxPwr=iapTxPwr, snmpAgentV3ReadOnlyUser=snmpAgentV3ReadOnlyUser, filterListIndex=filterListIndex, mdmAirWatchApiAccessError=mdmAirWatchApiAccessError, realtimeMonitorChannel=realtimeMonitorChannel, stationAssuranceTableClear=stationAssuranceTableClear, iapNumStations=iapNumStations, dhcpPoolNAT=dhcpPoolNAT, wprWhitelistSsidIndex=wprWhitelistSsidIndex, timeLastBoot=timeLastBoot, wdsStatsRxRate6Bytes=wdsStatsRxRate6Bytes, idsDisassocFloodMode=idsDisassocFloodMode, idsAssocFloodPeriod=idsAssocFloodPeriod, systemGroupName=systemGroupName, stationUnassociatedTimeRSSIabg3=stationUnassociatedTimeRSSIabg3, idsAPImpersonationPeriod=idsAPImpersonationPeriod, filterBytes=filterBytes, idsDeauthFloodPeriod=idsDeauthFloodPeriod, filterLog=filterLog, iapStatsTxRate12Retries=iapStatsTxRate12Retries, syslogLevelConsole=syslogLevelConsole, ssidWprEnable=ssidWprEnable, iapStatsTxRate48Packets=iapStatsTxRate48Packets, systemPostLoginBanner=systemPostLoginBanner, groupTrafficLimitSta=groupTrafficLimitSta, stationAssocChannel=stationAssocChannel, stationUnassociatedTimeRSSIa12=stationUnassociatedTimeRSSIa12, stationAssociationTimeRSSIa10=stationAssociationTimeRSSIa10, iapStatsRxEncErrors=iapStatsRxEncErrors, syslogTimeFormat=syslogTimeFormat, ethMgmt=ethMgmt, oauthTokenExpiration=oauthTokenExpiration, filterTimeOn=filterTimeOn, ssidName=ssidName, iapStatsRxTotalRetries=iapStatsRxTotalRetries, systemActivation=systemActivation, stationStatsRxRate36Errors=stationStatsRxRate36Errors, stationUnassocTimeRSSIa12=stationUnassocTimeRSSIa12, wdsStatsRxRate24Retries=wdsStatsRxRate24Retries, stationAppStatsTxPackets=stationAppStatsTxPackets, syslogTable=syslogTable, stationUnassociatedRSSIa12=stationUnassociatedRSSIa12, iapStatsTxRate12Errors=iapStatsTxRate12Errors, stationUnassocTable=stationUnassocTable, staAssuranceRetryRateTimestamp=staAssuranceRetryRateTimestamp, stationStatsRxRate5Bytes=stationStatsRxRate5Bytes, iapSsidToBssidMappingBSSID=iapSsidToBssidMappingBSSID, consoleByteSize=consoleByteSize, wap9172=wap9172, staAssurTimestamp=staAssurTimestamp, tunnelDhcpOption=tunnelDhcpOption, wap9173=wap9173, stationAssocTimeRSSIa9=stationAssocTimeRSSIa9, stationUnassociatedMediaType=stationUnassociatedMediaType, wdsRoamThreshold=wdsRoamThreshold, ethIPMask=ethIPMask, fastRoamingTargetTable=fastRoamingTargetTable, ethStatsIfaceLink=ethStatsIfaceLink, systemStpEnable=systemStpEnable, stationAssocCipher=stationAssocCipher, stationAssuranceEnable=stationAssuranceEnable, stationAssocIAP=stationAssocIAP, interfaceName=interfaceName, wdsClientLinkSSID=wdsClientLinkSSID, bondMirror=bondMirror, wepKeyStringForm=wepKeyStringForm, stationAssocVLAN=stationAssocVLAN, staAssuranceAuthFailures=staAssuranceAuthFailures, cdpInfoEntry=cdpInfoEntry, roamAssist=roamAssist, stationStatsRxRate36Bytes=stationStatsRxRate36Bytes, wdsStatsTxRate36Bytes=wdsStatsTxRate36Bytes, stationAssocRSSIa11=stationAssocRSSIa11, wdsStatsIndex=wdsStatsIndex, stationACLFailure=stationACLFailure, rogueDetectAPOrigTablePeriod=rogueDetectAPOrigTablePeriod, autoChannelList11bg=autoChannelList11bg, stationAssociationTimeRSSIa1=stationAssociationTimeRSSIa1, stationAssocTimeRSSIa5=stationAssocTimeRSSIa5, PYSNMP_MODULE_ID=wlan, iapStatsRxCTS=iapStatsRxCTS, filterSetVlan=filterSetVlan, ssidLimitsTrafficLimit=ssidLimitsTrafficLimit, stationStatsTxRate36Packets=stationStatsTxRate36Packets, groupDhcpPool=groupDhcpPool, wdsStatsRxRetries=wdsStatsRxRetries, stationUnassociatedTimeRSSIa8=stationUnassociatedTimeRSSIa8, stationStatsTxRetries=stationStatsTxRetries, rogueDetectAutoBlockRSSI=rogueDetectAutoBlockRSSI, groupTrafficLimit=groupTrafficLimit, globalExtractStaInfoStatus=globalExtractStaInfoStatus, proxyMgmtSocksPassword=proxyMgmtSocksPassword, systemCompassHeading=systemCompassHeading, systemFanSpeed=systemFanSpeed, clusterArrayHostname=clusterArrayHostname, aclEnable=aclEnable, stationUnassocRxRate=stationUnassocRxRate, stationStatsRxRate1Errors=stationStatsRxRate1Errors, wifiTag=wifiTag, fastRoamingTargetEntry=fastRoamingTargetEntry, componentName=componentName, activeDirectoryDomainController=activeDirectoryDomainController, idsSeqNumAnomalyGap=idsSeqNumAnomalyGap, stationStatsTxRate18Errors=stationStatsTxRate18Errors, vlanEntry=vlanEntry, idsEventCurPackets=idsEventCurPackets, wdsStatsRxErrors=wdsStatsRxErrors, ssidActiveIAPs=ssidActiveIAPs, oauthTokenScope=oauthTokenScope, ssidWepKey3StringForm=ssidWepKey3StringForm, realtimeMonitorIndex=realtimeMonitorIndex, wdsStatsTxRate24Packets=wdsStatsTxRate24Packets, iapStatsTimePeriod=iapStatsTimePeriod, ntpPrimary=ntpPrimary, ntpPrimaryAuthKeyID=ntpPrimaryAuthKeyID, rogueDetectAPStatus=rogueDetectAPStatus, filterDstVlan=filterDstVlan, tunnelTableReset=tunnelTableReset, groupRoamingLayer=groupRoamingLayer, vlanMgmtAppCatStatsTimePeriod=vlanMgmtAppCatStatsTimePeriod, staAssuranceActiveAlarmType=staAssuranceActiveAlarmType, lldpFabricAttachMsgAuthKey=lldpFabricAttachMsgAuthKey, filterAppDescription=filterAppDescription, ssidRoamingLayer=ssidRoamingLayer, filterSrcType=filterSrcType, autoCellMinTxPwr=autoCellMinTxPwr, softwareUploadFailure=softwareUploadFailure, mdmAirWatchRedirectURL=mdmAirWatchRedirectURL, ssidEncryption=ssidEncryption, adminRadiusSecServerPort=adminRadiusSecServerPort, ssidWprAuthType=ssidWprAuthType, neighborArrayNumStationsAssoc=neighborArrayNumStationsAssoc, filterAppGuid=filterAppGuid, globalIAPBeaconRate=globalIAPBeaconRate, stationAssociationDeviceSourceIndex=stationAssociationDeviceSourceIndex, stationAssocSSID=stationAssocSSID, filterSetDSCP=filterSetDSCP, radiusUserIndex=radiusUserIndex, wdsHostLinkEntry=wdsHostLinkEntry)
mibBuilder.exportSymbols("AVAYA-WLAN-MIB", radiusDASPort=radiusDASPort, iapStatsTxBeacons=iapStatsTxBeacons, proxyMgmtHttpsIpAddr=proxyMgmtHttpsIpAddr, radiusUserRowStatus=radiusUserRowStatus, wdsStatsRxRate54Errors=wdsStatsRxRate54Errors, filterSetQOS=filterSetQOS, vlanIPAddress=vlanIPAddress, dhcpPoolDNSServer3=dhcpPoolDNSServer3, stationAssocRSSIa8=stationAssocRSSIa8, idsDeauthAttackPeriod=idsDeauthAttackPeriod, mdmAirWatchApiPollPeriod=mdmAirWatchApiPollPeriod, componentIndex=componentIndex, iapStatsTxRate54Packets=iapStatsTxRate54Packets, staAssurRSSI=staAssurRSSI, stationAssocDeviceType=stationAssocDeviceType, tunnelPriRemoteEndpoint=tunnelPriRemoteEndpoint, ledsActivityStatus=ledsActivityStatus, ethTable=ethTable, stationStatsTxRate54Errors=stationStatsTxRate54Errors, oauthTokenIndex=oauthTokenIndex, wprWhitelistSsidRowStatus=wprWhitelistSsidRowStatus, stationStatsRxRate1Packets=stationStatsRxRate1Packets, filterSrcIPAddress=filterSrcIPAddress, systemFipsMode=systemFipsMode, vlanIPMask=vlanIPMask, stationUnassociatedRSSIa7=stationUnassociatedRSSIa7, stationStatsRxRate9Bytes=stationStatsRxRate9Bytes, filterAppCatDescription=filterAppCatDescription, systemCrashInfo=systemCrashInfo, wprWhitelistSsidTableReset=wprWhitelistSsidTableReset, dhcpPoolRowStatus=dhcpPoolRowStatus, ntpSecondary=ntpSecondary, rates11n=rates11n, systemHttpsCertificate=systemHttpsCertificate, proxyMgmtSubnet05=proxyMgmtSubnet05, wap9132=wap9132, lldpFabricAttachElementLastUpdate=lldpFabricAttachElementLastUpdate, globalMulticastForwardingTableReset=globalMulticastForwardingTableReset, ssidHoneypotBroadcastEntry=ssidHoneypotBroadcastEntry, systemLicenseVersion=systemLicenseVersion, filterAppCatTable=filterAppCatTable, rogueDetectAPOrigTableBand=rogueDetectAPOrigTableBand, stationUnassocTimeRSSIa10=stationUnassocTimeRSSIa10, wdsStatsTxRate11Packets=wdsStatsTxRate11Packets, wdsStatsTxRate54Errors=wdsStatsTxRate54Errors, wdsStatsTxRate36Packets=wdsStatsTxRate36Packets, wdsStatsTxRate2Bytes=wdsStatsTxRate2Bytes, globalDot11hSupport=globalDot11hSupport, stationAssociationVLAN=stationAssociationVLAN, rates11nMCSStatus=rates11nMCSStatus, snmpAgentEnable=snmpAgentEnable, groupTable=groupTable, rogueDetectAPIPAddress=rogueDetectAPIPAddress, stationAssociationTimeRSSIabg4=stationAssociationTimeRSSIabg4, iapTraps=iapTraps, iapSsidToBssidMappingIAP=iapSsidToBssidMappingIAP, bondIndex=bondIndex, globalMulticastForwardingIpAddress=globalMulticastForwardingIpAddress, filterList=filterList, mdmAirWatchApiPasswordEnc=mdmAirWatchApiPasswordEnc, wdsClientLinkTableReset=wdsClientLinkTableReset, ethIPAddress=ethIPAddress, wdsStatsRxRate11Bytes=wdsStatsRxRate11Bytes, stationAssociationTimeRSSIa7=stationAssociationTimeRSSIa7, tunnelEnable=tunnelEnable, stationUnassocRSSIabg4=stationUnassocRSSIabg4, stationAssocDeviceSourceIndex=stationAssocDeviceSourceIndex, bondActiveVlans=bondActiveVlans, groupQOS=groupQOS, stationAssociationDeviceSource=stationAssociationDeviceSource, licenseFeatureStatus=licenseFeatureStatus, radiusUserSSID=radiusUserSSID, stationAssociationUserAgent=stationAssociationUserAgent, stationAssociationTime=stationAssociationTime, dhcpPoolRangeEndIP=dhcpPoolRangeEndIP, globalMulticastVlanForwardingVlanNumber=globalMulticastVlanForwardingVlanNumber, ssidWpaPSK=ssidWpaPSK, stationAssociationMediaType=stationAssociationMediaType, syslogIndex=syslogIndex, wdsStatsRxRate18Bytes=wdsStatsRxRate18Bytes, idsNullProbeRespEnable=idsNullProbeRespEnable, ssidMdmAuth=ssidMdmAuth, iapStatsTxRate36Retries=iapStatsTxRate36Retries, globalMaxStations=globalMaxStations, wdsStatsRxRate36Retries=wdsStatsRxRate36Retries, lldpFabricAttachElementIPAddress=lldpFabricAttachElementIPAddress, trapObjects=trapObjects, stationStatsTxRate5Bytes=stationStatsTxRate5Bytes, globalMulticastExcludeIndex=globalMulticastExcludeIndex, tunnelRowStatus=tunnelRowStatus, idsAPImpersonationEnable=idsAPImpersonationEnable, vlanStatsTxFifoErrors=vlanStatsTxFifoErrors, ssidHoneypotWhitelistTable=ssidHoneypotWhitelistTable, ssidWprLogoImage=ssidWprLogoImage, stationAssociationTimeRSSIa2=stationAssociationTimeRSSIa2, iapStatsRxRate54Packets=iapStatsRxRate54Packets, ethStatsRxTotalErrors=ethStatsRxTotalErrors, licenseFeatureName=licenseFeatureName, iapStatsRxRate24Retries=iapStatsRxRate24Retries, stationAppCatStatsIndex=stationAppCatStatsIndex, filterTimeOff=filterTimeOff, fastRoamingPeerMode=fastRoamingPeerMode, ledsActivityEntry=ledsActivityEntry, dhcpPoolDefaultLease=dhcpPoolDefaultLease, stationUnassociatedTablePeriod=stationUnassociatedTablePeriod, spanningTreeWDSClientLink4State=spanningTreeWDSClientLink4State, globalIAPMaxPhones=globalIAPMaxPhones, rogueDetectAutoBlockWhitelistIndex=rogueDetectAutoBlockWhitelistIndex, rogueDetectAutoBlockWhitelistTable=rogueDetectAutoBlockWhitelistTable, adminLogout=adminLogout, idsAuthFloodPeriod=idsAuthFloodPeriod, ssidWepKey1String=ssidWepKey1String, iapStatsNoiseDenominator=iapStatsNoiseDenominator, stationStatsRxRetries=stationStatsRxRetries, snmpAgentTrapHost3=snmpAgentTrapHost3, consoleTimeout=consoleTimeout, stationAppStatsGuid=stationAppStatsGuid, dhcpPoolEnable=dhcpPoolEnable, rates11nMCSIndex=rates11nMCSIndex, mdmAirWatchApiKey=mdmAirWatchApiKey, syslogTerServerPort=syslogTerServerPort, stationAppCatStatsTimePeriod=stationAppCatStatsTimePeriod, global11bgIAPRxThreshold=global11bgIAPRxThreshold, globalAutoBandEnable=globalAutoBandEnable, stationStatsIndex=stationStatsIndex, stationStatsTxRate24Packets=stationStatsTxRate24Packets, ssidWepKey1StringForm=ssidWepKey1StringForm, stationAssociationTimeRSSIa5=stationAssociationTimeRSSIa5, idsAuthFloodMode=idsAuthFloodMode, rogueDetectAPChannel=rogueDetectAPChannel, wdsStatsRxRate5Bytes=wdsStatsRxRate5Bytes, stationTraps=stationTraps, idsAPImpersonationThreshold=idsAPImpersonationThreshold, iapStatsRxRate1Retries=iapStatsRxRate1Retries, licenseFeatureEntry=licenseFeatureEntry, systemReboot=systemReboot, systemLicenseKey=systemLicenseKey, iapStatsTxTotalErrors=iapStatsTxTotalErrors, stationAssuranceAuthFailures=stationAssuranceAuthFailures, iapStatsRxRate11Retries=iapStatsRxRate11Retries, fastRoamingTargetArrayTableReset=fastRoamingTargetArrayTableReset, stationStatsTxRate2Retries=stationStatsTxRate2Retries, proxyMgmtSubnet10=proxyMgmtSubnet10, stationAssocRSSI=stationAssocRSSI, radiusUserID=radiusUserID, iapStatsTxRate48Bytes=iapStatsTxRate48Bytes, iapStatsTxRate18Bytes=iapStatsTxRate18Bytes, iapStatsRxFragErrors=iapStatsRxFragErrors, global11aIAPAutoCellMinTxPwr=global11aIAPAutoCellMinTxPwr, stationAssociationRSSI=stationAssociationRSSI, ethIndex=ethIndex, wdsStatsRxRate36Bytes=wdsStatsRxRate36Bytes, stationStatsRxRate11Retries=stationStatsRxRate11Retries, filterDstGroup=filterDstGroup, stationAssociationUserName=stationAssociationUserName, stationStatsRxRate54Retries=stationStatsRxRate54Retries, spanningTreeWDSClientLink1State=spanningTreeWDSClientLink1State, syslogLevelPriServer=syslogLevelPriServer, wdsStatsRxRate2Errors=wdsStatsRxRate2Errors, ethStatsRxFrameErrors=ethStatsRxFrameErrors, idsBeaconFloodPeriod=idsBeaconFloodPeriod, globalIAPMaxStations=globalIAPMaxStations, wdsStatsRxRate24Packets=wdsStatsRxRate24Packets, stationAppStatsTimePeriod=stationAppStatsTimePeriod, systemRemoteConfigFile=systemRemoteConfigFile, stationAssocHostname=stationAssocHostname, radiusAcctPriServerHostname=radiusAcctPriServerHostname, staAssuranceAlarmType=staAssuranceAlarmType, iapStatsTxRate2Bytes=iapStatsTxRate2Bytes, fastRoamingLayer=fastRoamingLayer, adminRadiusEnable=adminRadiusEnable, stationAssociationRSSIabg4=stationAssociationRSSIabg4, iapStatsRxRate12Bytes=iapStatsRxRate12Bytes, bondEntry=bondEntry, ethStatsRxCompressed=ethStatsRxCompressed, radiusAcctPriServerSecretEnc=radiusAcctPriServerSecretEnc, globalDscpMappingEntry=globalDscpMappingEntry, ethStatsTxCollisions=ethStatsTxCollisions, stationUnassocTxRate=stationUnassocTxRate, interfaceMACAddress=interfaceMACAddress, filterSrcGroup=filterSrcGroup, systemLicenseFeatures=systemLicenseFeatures, ssidWprSharedSecret=ssidWprSharedSecret, iapBondedChannelList=iapBondedChannelList, bootLoaderVersion=bootLoaderVersion, roamAssistPeriod=roamAssistPeriod, vlanTable=vlanTable, iapStatsTxRate24Bytes=iapStatsTxRate24Bytes, clusterArrayPasswordForm=clusterArrayPasswordForm, groupWprBackground=groupWprBackground, groupRowStatus=groupRowStatus, stationUnassociatedRSSIabg3=stationUnassociatedRSSIabg3, cdpInfoIPAddress=cdpInfoIPAddress, stationStatsRxRate1Bytes=stationStatsRxRate1Bytes, licenseFeatureDesc=licenseFeatureDesc, iapStatsTxRate36Errors=iapStatsTxRate36Errors, stationUnassociatedRSSIa1=stationUnassociatedRSSIa1, radiusSecServerIPAddress=radiusSecServerIPAddress, wdsStatsTxRetries=wdsStatsTxRetries, ethMTU=ethMTU, syslogEmailPort=syslogEmailPort, aclIndex=aclIndex, stationStatsTxRate9Retries=stationStatsTxRate9Retries, systemTelnetEnable=systemTelnetEnable, idsAuthFloodThreshold=idsAuthFloodThreshold, radiusUserGroup=radiusUserGroup, fpgaIndex=fpgaIndex, global11nTxChains=global11nTxChains, wpaEAP=wpaEAP, proxyMgmtSocksEnabled=proxyMgmtSocksEnabled, stationAssocTimeRSSIa7=stationAssocTimeRSSIa7, systemTempTable=systemTempTable, roamAssistEnable=roamAssistEnable, rates11aStatus=rates11aStatus, iapStatsTxRate1Retries=iapStatsTxRate1Retries, ssidWprTable=ssidWprTable, global11bgIAPRTSThreshold=global11bgIAPRTSThreshold, ssidWepKey2String=ssidWepKey2String, vlanName=vlanName, ssidLimitsDaysOnTue=ssidLimitsDaysOnTue, systemResetReason=systemResetReason, ledsActivityPacketType=ledsActivityPacketType, autoChannelList11bgTable=autoChannelList11bgTable, wdsStatsRxRate9Errors=wdsStatsRxRate9Errors, realtimeMonitorBytes=realtimeMonitorBytes, ssidWepKey4String=ssidWepKey4String, adminRadius=adminRadius, vlan=vlan, stationUnassocTimeRSSIabg1=stationUnassocTimeRSSIabg1, aclMacAddress=aclMacAddress, iapAntenna=iapAntenna, ethDHCPBind=ethDHCPBind, rfMonitorMode=rfMonitorMode, iapStatsRxRate9Errors=iapStatsRxRate9Errors, filterSrcVlan=filterSrcVlan, ethSpeed=ethSpeed, staAssurAuthFailuresTimestamp=staAssurAuthFailuresTimestamp, systemLicenseProductType=systemLicenseProductType, syslogEnable=syslogEnable, radiusPriServerPort=radiusPriServerPort, stationAssocTimeRSSIa8=stationAssocTimeRSSIa8, ethStatsTable=ethStatsTable, ntpSecondaryAuthKeyEnc=ntpSecondaryAuthKeyEnc, iapBeaconProbeFailurePhyReset=iapBeaconProbeFailurePhyReset, stationAssuranceTable=stationAssuranceTable)
| [
"dcwangmit01@gmail.com"
] | dcwangmit01@gmail.com |
eeaecaef2aa86b78b91e226879df507b600fbaa2 | e28009b0a4584e8d128ed6fbd4ba84a1db11d1b9 | /724.Find Pivot Index/724.Find Pivot Index.py | e2f3a7351cebe7b37a64abc1530fec85170e3a81 | [] | no_license | jerrylance/LeetCode | 509d16e4285296167feb51a80d6c382b3833405e | 06ed3e9b27a3f1c0c517710d57fbbd794fd83e45 | refs/heads/master | 2020-12-02T23:10:27.382142 | 2020-08-02T02:03:54 | 2020-08-02T02:03:54 | 231,141,551 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,126 | py | # LeetCode Solution
# Zeyu Liu
# 2019.3.25
# 724.Find Pivot Index
from typing import List
# method 1 slice切片遍历,极慢
class Solution:
def pivotIndex(self, nums: List[int]) -> int:
for i in range(len(nums)):
if sum(nums[:i]) == sum(nums[i+1:]):
return i
return -1
# transfer method
solve = Solution()
print(solve.pivotIndex([1, 7, 3, 6, 5, 6]))
# method 2 straightforward O(N) time O(1) space
class Solution:
def pivotIndex(self, nums: List[int]) -> int:
left = 0
right = sum(nums)
for i in range(len(nums)):
right -= nums[i]
if left == right:
return i
left += nums[i]
return -1
# transfer method
solve = Solution()
print(solve.pivotIndex([1, 7, 3, 6, 5, 6]))
# method 3 方法1优化,依然很慢
class Solution:
def pivotIndex(self, nums: List[int]) -> int:
s = sum(nums) / 2
for i in range(len(nums)):
if sum(nums[:i])+nums[i]/2 == s:
return i
return -1
# transfer method
solve = Solution()
print(solve.pivotIndex([1, 7, 3, 6, 5, 6])) | [
"noreply@github.com"
] | jerrylance.noreply@github.com |
22871a57bbf74629ecca2af8f5c6772485284a18 | 875ecee5a1e9e2f99e7e002e0d604971ba247b0d | /app/db/dbapi.py | 0a5ebef2ebfb0dd2c7be18c5bffe55f0dbacc63b | [] | no_license | sajivesukumara/BikeRental_BE | 8086a784d3be7dde32b3ad686b1392e08efc077e | d6c879846cf6a2218169185209dab20016f1270a | refs/heads/main | 2023-03-05T01:57:23.318349 | 2021-02-08T05:04:51 | 2021-02-08T05:04:51 | 326,945,203 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,862 | py | __author__ = 'sajive'
import uuid
import sqlalchemy as sa
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
import json
import logging
from ..db import consts, models
logging.basicConfig()
logging.getLogger('sqlalchemy.engine').setLevel(logging.INFO)
#db_string = "postgres://admin:donotusethispassword@aws-us-east-1-portal.19.dblayer.com:15813/compose"
def get_engine():
return create_engine(consts.db_string_pgsql, echo=True)
def get_session(engine):
Session = sessionmaker(engine)
session = Session()
return session
gEngine = get_engine()
def model_query(*args, **kwargs):
"""Query helper that accounts for context's `read_deleted` field.
:param context: context to query under
:param session: if present, the session to use
:param read_deleted: if present, overrides context's read_deleted field.
:param project_only: if present and context is user-type, then restrict
query to match the context's project_id.
"""
session = kwargs.get('session') or get_session(gEngine)
read_deleted = kwargs.get('read_deleted') or 'no' # context.read_deleted
project_only = kwargs.get('project_only')
query = session.query(*args)
print(query.__dict__)
if read_deleted == 'no':
query = query.filter_by(deleted=False)
elif read_deleted == 'yes':
pass # omit the filter to include deleted and active
elif read_deleted == 'only':
query = query.filter_by(deleted=True)
else:
raise Exception(
"Unrecognized read_deleted value '%s'" % read_deleted)
return query
def get_agency(filters=None, session=None):
print_metadata()
if filters is None:
return model_query(models.AgencyOrm,
session=session, read_deleted='no').all()
else:
return model_query(models.AgencyOrm,
session=session).filter_by(**filters).all()
def create_agency(session=None, values=None):
session = get_session(get_engine())
agency_ref = models.AgencyOrm()
print(type(agency_ref))
values['id'] = str(uuid.uuid4())
agency_ref.update(values)
print(agency_ref.__dict__)
agency_ref.save(session=session)
session.commit()
def print_metadata():
pg_tables = pg_tables = sa.Table(
'pg_tables', sa.MetaData(),
sa.Column('schemaname'),
sa.Column('tablename'),
sa.Column('tableowner'),
sa.Column('tablespace'),
sa.Column('hasindexes')
)
query = pg_tables.select().where(pg_tables.c.schemaname == 'pg_catalog')
# sqlalchemy statement with parameters
query = sa.select('*') \
.select_from(sa.text('sqrt(:num) as a')) \
.select_from(sa.text('sqrt(:a2) as b')) \
.select_from(sa.text('sqrt(:z3) as c')) \
.params(num=16, a2=36, z3=25)
| [
"sajive.kumar@hpe.com"
] | sajive.kumar@hpe.com |
cd832ff41295204f58baf6d6ab0fbbf7458663a7 | fa6e4e8e6340354e47a812a776636f07fcd09cee | /qa/rpc-tests/wallet.py | d2169f47f730ad7d7cc3cc702195b8c143fe21ac | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | trago-project/tragocoin | e47c34638a456d01b61eb069a33377d75e83b79c | a08f5640c4ccb531fd0c68d5e315de3521affc94 | refs/heads/master | 2020-06-07T04:19:46.403142 | 2019-07-08T04:38:33 | 2019-07-08T04:38:33 | 192,921,652 | 1 | 2 | null | null | null | null | UTF-8 | Python | false | false | 15,582 | py | #!/usr/bin/env python2
# coding=utf-8
# ^^^^^^^^^^^^ TODO remove when supporting only Python3
# Copyright (c) 2014-2015 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import *
class WalletTest (BitcoinTestFramework):
def check_fee_amount(self, curr_balance, balance_with_fee, fee_per_byte, tx_size):
"""Return curr_balance after asserting the fee was in range"""
fee = balance_with_fee - curr_balance
target_fee = fee_per_byte * tx_size
if fee < target_fee:
raise AssertionError("Fee of %s TRAGO too low! (Should be %s TRAGO)"%(str(fee), str(target_fee)))
# allow the node's estimation to be at most 2 bytes off
if fee > fee_per_byte * (tx_size + 2):
raise AssertionError("Fee of %s TRAGO too high! (Should be %s TRAGO)"%(str(fee), str(target_fee)))
return curr_balance
def setup_chain(self):
print("Initializing test directory "+self.options.tmpdir)
initialize_chain_clean(self.options.tmpdir, 4)
def setup_network(self, split=False):
self.nodes = start_nodes(3, self.options.tmpdir)
connect_nodes_bi(self.nodes,0,1)
connect_nodes_bi(self.nodes,1,2)
connect_nodes_bi(self.nodes,0,2)
self.is_network_split=False
self.sync_all()
def run_test (self):
# Check that there's no UTXO on none of the nodes
assert_equal(len(self.nodes[0].listunspent()), 0)
assert_equal(len(self.nodes[1].listunspent()), 0)
assert_equal(len(self.nodes[2].listunspent()), 0)
print "Mining blocks..."
self.nodes[0].generate(1)
walletinfo = self.nodes[0].getwalletinfo()
assert_equal(walletinfo['immature_balance'], 500)
assert_equal(walletinfo['balance'], 0)
self.sync_all()
self.nodes[1].generate(101)
self.sync_all()
assert_equal(self.nodes[0].getbalance(), 500)
assert_equal(self.nodes[1].getbalance(), 500)
assert_equal(self.nodes[2].getbalance(), 0)
# Check that only first and second nodes have UTXOs
assert_equal(len(self.nodes[0].listunspent()), 1)
assert_equal(len(self.nodes[1].listunspent()), 1)
assert_equal(len(self.nodes[2].listunspent()), 0)
# Send 210 TRAGO from 0 to 2 using sendtoaddress call.
# Second transaction will be child of first, and will require a fee
self.nodes[0].sendtoaddress(self.nodes[2].getnewaddress(), 110)
self.nodes[0].sendtoaddress(self.nodes[2].getnewaddress(), 100)
walletinfo = self.nodes[0].getwalletinfo()
assert_equal(walletinfo['immature_balance'], 0)
# Have node0 mine a block, thus it will collect its own fee.
self.nodes[0].generate(1)
self.sync_all()
# Exercise locking of unspent outputs
unspent_0 = self.nodes[2].listunspent()[0]
unspent_0 = {"txid": unspent_0["txid"], "vout": unspent_0["vout"]}
self.nodes[2].lockunspent(False, [unspent_0])
assert_raises(JSONRPCException, self.nodes[2].sendtoaddress, self.nodes[2].getnewaddress(), 200)
assert_equal([unspent_0], self.nodes[2].listlockunspent())
self.nodes[2].lockunspent(True, [unspent_0])
assert_equal(len(self.nodes[2].listlockunspent()), 0)
# Have node1 generate 100 blocks (so node0 can recover the fee)
self.nodes[1].generate(100)
self.sync_all()
# node0 should end up with 1000 TRAGO in block rewards plus fees, but
# minus the 210 plus fees sent to node2
assert_equal(self.nodes[0].getbalance(), 1000-210)
assert_equal(self.nodes[2].getbalance(), 210)
# Node0 should have two unspent outputs.
# Create a couple of transactions to send them to node2, submit them through
# node1, and make sure both node0 and node2 pick them up properly:
node0utxos = self.nodes[0].listunspent(1)
assert_equal(len(node0utxos), 2)
# create both transactions
txns_to_send = []
for utxo in node0utxos:
inputs = []
outputs = {}
inputs.append({ "txid" : utxo["txid"], "vout" : utxo["vout"]})
outputs[self.nodes[2].getnewaddress("from1")] = utxo["amount"]
raw_tx = self.nodes[0].createrawtransaction(inputs, outputs)
txns_to_send.append(self.nodes[0].signrawtransaction(raw_tx))
# Have node 1 (miner) send the transactions
self.nodes[1].sendrawtransaction(txns_to_send[0]["hex"], True)
self.nodes[1].sendrawtransaction(txns_to_send[1]["hex"], True)
# Have node1 mine a block to confirm transactions:
self.nodes[1].generate(1)
self.sync_all()
assert_equal(self.nodes[0].getbalance(), 0)
assert_equal(self.nodes[2].getbalance(), 1000)
assert_equal(self.nodes[2].getbalance("from1"), 1000-210)
# Send 100 TRAGO normal
address = self.nodes[0].getnewaddress("test")
fee_per_byte = Decimal('0.001') / 1000
self.nodes[2].settxfee(fee_per_byte * 1000)
txid = self.nodes[2].sendtoaddress(address, 100, "", "", False)
self.nodes[2].generate(1)
self.sync_all()
node_2_bal = self.check_fee_amount(self.nodes[2].getbalance(), Decimal('900'), fee_per_byte, count_bytes(self.nodes[2].getrawtransaction(txid)))
assert_equal(self.nodes[0].getbalance(), Decimal('100'))
# Send 100 TRAGO with subtract fee from amount
txid = self.nodes[2].sendtoaddress(address, 100, "", "", True)
self.nodes[2].generate(1)
self.sync_all()
node_2_bal -= Decimal('100')
assert_equal(self.nodes[2].getbalance(), node_2_bal)
node_0_bal = self.check_fee_amount(self.nodes[0].getbalance(), Decimal('200'), fee_per_byte, count_bytes(self.nodes[2].getrawtransaction(txid)))
# Sendmany 100 TRAGO
txid = self.nodes[2].sendmany('from1', {address: 100}, 0, "", [])
self.nodes[2].generate(1)
self.sync_all()
node_0_bal += Decimal('100')
node_2_bal = self.check_fee_amount(self.nodes[2].getbalance(), node_2_bal - Decimal('100'), fee_per_byte, count_bytes(self.nodes[2].getrawtransaction(txid)))
assert_equal(self.nodes[0].getbalance(), node_0_bal)
# Sendmany 100 TRAGO with subtract fee from amount
txid = self.nodes[2].sendmany('from1', {address: 100}, 0, "", [address])
self.nodes[2].generate(1)
self.sync_all()
node_2_bal -= Decimal('100')
assert_equal(self.nodes[2].getbalance(), node_2_bal)
node_0_bal = self.check_fee_amount(self.nodes[0].getbalance(), node_0_bal + Decimal('100'), fee_per_byte, count_bytes(self.nodes[2].getrawtransaction(txid)))
# Test ResendWalletTransactions:
# Create a couple of transactions, then start up a fourth
# node (nodes[3]) and ask nodes[0] to rebroadcast.
# EXPECT: nodes[3] should have those transactions in its mempool.
txid1 = self.nodes[0].sendtoaddress(self.nodes[1].getnewaddress(), 1)
txid2 = self.nodes[1].sendtoaddress(self.nodes[0].getnewaddress(), 1)
sync_mempools(self.nodes)
self.nodes.append(start_node(3, self.options.tmpdir))
connect_nodes_bi(self.nodes, 0, 3)
sync_blocks(self.nodes)
relayed = self.nodes[0].resendwallettransactions()
assert_equal(set(relayed), {txid1, txid2})
sync_mempools(self.nodes)
assert(txid1 in self.nodes[3].getrawmempool())
# Exercise balance rpcs
assert_equal(self.nodes[0].getwalletinfo()["unconfirmed_balance"], 1)
assert_equal(self.nodes[0].getunconfirmedbalance(), 1)
#check if we can list zero value tx as available coins
#1. create rawtx
#2. hex-changed one output to 0.0
#3. sign and send
#4. check if recipient (node0) can list the zero value tx
usp = self.nodes[1].listunspent()
inputs = [{"txid":usp[0]['txid'], "vout":usp[0]['vout']}]
outputs = {self.nodes[1].getnewaddress(): 499.998, self.nodes[0].getnewaddress(): 11.11}
rawTx = self.nodes[1].createrawtransaction(inputs, outputs).replace("c0833842", "00000000") #replace 11.11 with 0.0 (int32)
decRawTx = self.nodes[1].decoderawtransaction(rawTx)
signedRawTx = self.nodes[1].signrawtransaction(rawTx)
decRawTx = self.nodes[1].decoderawtransaction(signedRawTx['hex'])
zeroValueTxid= decRawTx['txid']
sendResp = self.nodes[1].sendrawtransaction(signedRawTx['hex'])
self.sync_all()
self.nodes[1].generate(1) #mine a block
self.sync_all()
unspentTxs = self.nodes[0].listunspent() #zero value tx must be in listunspents output
found = False
for uTx in unspentTxs:
if uTx['txid'] == zeroValueTxid:
found = True
assert_equal(uTx['amount'], Decimal('0'))
assert(found)
#do some -walletbroadcast tests
stop_nodes(self.nodes)
wait_bitcoinds()
self.nodes = start_nodes(3, self.options.tmpdir, [["-walletbroadcast=0"],["-walletbroadcast=0"],["-walletbroadcast=0"]])
connect_nodes_bi(self.nodes,0,1)
connect_nodes_bi(self.nodes,1,2)
connect_nodes_bi(self.nodes,0,2)
self.sync_all()
txIdNotBroadcasted = self.nodes[0].sendtoaddress(self.nodes[2].getnewaddress(), 2)
txObjNotBroadcasted = self.nodes[0].gettransaction(txIdNotBroadcasted)
self.nodes[1].generate(1) #mine a block, tx should not be in there
self.sync_all()
assert_equal(self.nodes[2].getbalance(), node_2_bal) #should not be changed because tx was not broadcasted
#now broadcast from another node, mine a block, sync, and check the balance
self.nodes[1].sendrawtransaction(txObjNotBroadcasted['hex'])
self.nodes[1].generate(1)
self.sync_all()
node_2_bal += 2
txObjNotBroadcasted = self.nodes[0].gettransaction(txIdNotBroadcasted)
assert_equal(self.nodes[2].getbalance(), node_2_bal)
#create another tx
txIdNotBroadcasted = self.nodes[0].sendtoaddress(self.nodes[2].getnewaddress(), 2)
#restart the nodes with -walletbroadcast=1
stop_nodes(self.nodes)
wait_bitcoinds()
self.nodes = start_nodes(3, self.options.tmpdir)
connect_nodes_bi(self.nodes,0,1)
connect_nodes_bi(self.nodes,1,2)
connect_nodes_bi(self.nodes,0,2)
sync_blocks(self.nodes)
self.nodes[0].generate(1)
sync_blocks(self.nodes)
node_2_bal += 2
#tx should be added to balance because after restarting the nodes tx should be broadcastet
assert_equal(self.nodes[2].getbalance(), node_2_bal)
#send a tx with value in a string (PR#6380 +)
txId = self.nodes[0].sendtoaddress(self.nodes[2].getnewaddress(), "2")
txObj = self.nodes[0].gettransaction(txId)
assert_equal(txObj['amount'], Decimal('-2'))
txId = self.nodes[0].sendtoaddress(self.nodes[2].getnewaddress(), "0.0001")
txObj = self.nodes[0].gettransaction(txId)
assert_equal(txObj['amount'], Decimal('-0.0001'))
#check if JSON parser can handle scientific notation in strings
txId = self.nodes[0].sendtoaddress(self.nodes[2].getnewaddress(), "1e-4")
txObj = self.nodes[0].gettransaction(txId)
assert_equal(txObj['amount'], Decimal('-0.0001'))
try:
txId = self.nodes[0].sendtoaddress(self.nodes[2].getnewaddress(), "1f-4")
except JSONRPCException as e:
assert("Invalid amount" in e.error['message'])
else:
raise AssertionError("Must not parse invalid amounts")
try:
self.nodes[0].generate("2")
raise AssertionError("Must not accept strings as numeric")
except JSONRPCException as e:
assert("not an integer" in e.error['message'])
# Import address and private key to check correct behavior of spendable unspents
# 1. Send some coins to generate new UTXO
address_to_import = self.nodes[2].getnewaddress()
txid = self.nodes[0].sendtoaddress(address_to_import, 1)
self.nodes[0].generate(1)
self.sync_all()
# 2. Import address from node2 to node1
self.nodes[1].importaddress(address_to_import)
# 3. Validate that the imported address is watch-only on node1
assert(self.nodes[1].validateaddress(address_to_import)["iswatchonly"])
# 4. Check that the unspents after import are not spendable
assert_array_result(self.nodes[1].listunspent(),
{"address": address_to_import},
{"spendable": False})
# 5. Import private key of the previously imported address on node1
priv_key = self.nodes[2].dumpprivkey(address_to_import)
self.nodes[1].importprivkey(priv_key)
# 6. Check that the unspents are now spendable on node1
assert_array_result(self.nodes[1].listunspent(),
{"address": address_to_import},
{"spendable": True})
#check if wallet or blochchain maintenance changes the balance
self.sync_all()
blocks = self.nodes[0].generate(2)
self.sync_all()
balance_nodes = [self.nodes[i].getbalance() for i in range(3)]
block_count = self.nodes[0].getblockcount()
# Check modes:
# - True: unicode escaped as \u....
# - False: unicode directly as UTF-8
for mode in [True, False]:
self.nodes[0].ensure_ascii = mode
# unicode check: Basic Multilingual Plane, Supplementary Plane respectively
for s in [u'рыба', u'𝅘𝅥𝅯']:
addr = self.nodes[0].getaccountaddress(s)
label = self.nodes[0].getaccount(addr)
assert_equal(label.encode('utf-8'), s.encode('utf-8')) # TODO remove encode(...) when supporting only Python3
assert(s in self.nodes[0].listaccounts().keys())
self.nodes[0].ensure_ascii = True # restore to default
# maintenance tests
maintenance = [
'-rescan',
'-reindex',
'-zapwallettxes=1',
'-zapwallettxes=2',
'-salvagewallet',
]
for m in maintenance:
print "check " + m
stop_nodes(self.nodes)
wait_bitcoinds()
self.nodes = start_nodes(3, self.options.tmpdir, [[m]] * 3)
while m == '-reindex' and [block_count] * 3 != [self.nodes[i].getblockcount() for i in range(3)]:
# reindex will leave rpc warm up "early"; Wait for it to finish
time.sleep(0.1)
assert_equal(balance_nodes, [self.nodes[i].getbalance() for i in range(3)])
# Exercise listsinceblock with the last two blocks
coinbase_tx_1 = self.nodes[0].listsinceblock(blocks[0])
assert_equal(coinbase_tx_1["lastblock"], blocks[1])
assert_equal(len(coinbase_tx_1["transactions"]), 1)
assert_equal(coinbase_tx_1["transactions"][0]["blockhash"], blocks[1])
assert_equal(len(self.nodes[0].listsinceblock(blocks[1])["transactions"]), 0)
if __name__ == '__main__':
WalletTest ().main ()
| [
"meow63649@gmail.com"
] | meow63649@gmail.com |
83cc53ed2905173a61f70c6e992c28a2e162a83e | 0be1255f07925de8f4b2474c5b08730ea5932047 | /experiments/1d-ex-roger-15Feb-random.py | f92abbd8faf6a0d9bcf13616318ae5a02d9734e9 | [
"MIT"
] | permissive | ishank011/gp-structure-search | f0cce937ae852c0ece14e87e9229ab979bc6fb06 | 7984693f359baad07870ca24f058ff0bb52468b5 | refs/heads/master | 2022-01-06T08:41:54.797705 | 2019-05-13T14:34:14 | 2019-05-13T14:34:14 | 171,615,179 | 0 | 0 | MIT | 2019-02-20T06:35:18 | 2019-02-20T06:35:18 | null | UTF-8 | Python | false | false | 534 | py | # Runs all 1d extrapolations.
Experiment(description='Run all 1D extrapolations',
data_dir='../data/1d_extrap_roger_folds/',
max_depth=8,
random_order=True,
k=1,
debug=False,
local_computation=False,
n_rand=3,
sd=4,
max_jobs=500,
verbose=False,
make_predictions=True,
skip_complete=True,
results_dir='../results/15-Feb-1d-extrap-roger/',
iters=100)
| [
"jrl44@cam.ac.uk"
] | jrl44@cam.ac.uk |
cf740e885e4533b9101723c026b69c4f1a2bf4df | 4e0e690a70cedf6d5fe90938d0e91869fe7916f7 | /ml4cl_project/ml-analysis/svc.py | 2bb0d7a5748b09907db1c7cfb0068c0234af907b | [] | no_license | zweiss/ML4CL_2016 | e4048ddcd678c153f6dde4efd5df9234add28b6d | d0562a21d26a2932557b384af43560561fdf2d2c | refs/heads/master | 2020-05-21T19:31:00.822022 | 2016-09-19T12:12:55 | 2016-09-19T12:12:55 | 60,724,530 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,759 | py | __author__ = 'zweiss'
import numpy as np
from sklearn import svm, metrics
from sklearn.dummy import DummyClassifier
from sklearn.cross_validation import StratifiedKFold
import matplotlib.pyplot as plt
# =====================================================================================================================
# Linear SVMs
# =====================================================================================================================
def build_and_evaluate_svc(X, y, labels, average, num_folds=10, C=1.0, kernel='rbf', degree=3, gamma='auto', coef0=0.0, shrinking=True,
tol=0.001, cache_size=200, class_weight=None, verbose=False, max_iter=-1,
decision_function_shape=None, random_state=None, multi_class="ovr"):
model = svm.SVC(C=C, kernel=kernel, degree=degree, gamma=gamma, coef0=coef0, shrinking=shrinking,
probability=False, tol=tol, cache_size=cache_size, class_weight=class_weight, verbose=verbose,
max_iter=max_iter, decision_function_shape=decision_function_shape, random_state=random_state)
return build_and_evaluate_some_model(X, y, labels, model, average, num_folds)
def build_and_evaluate_linearSVC(X, y, labels, average, num_folds=10, penalty='l2', loss='squared_hinge', dual=False, tol=0.0001, C=1.0,
fit_intercept=True, intercept_scaling=1, class_weight=None, multi_class="ovr"):
model = svm.LinearSVC(penalty=penalty, loss=loss, dual=dual, tol=tol, C=C, fit_intercept=fit_intercept,
intercept_scaling=intercept_scaling, class_weight=class_weight, multi_class=multi_class)
return build_and_evaluate_some_model(X, y, labels, model, average, num_folds)
def build_and_evaluate_linearLogReg(X, y, labels, average, num_folds=10, penalty='l2', solver='sag',
dual=False, tol=0.0001, C=1.0, fit_intercept=True, intercept_scaling=1,
class_weight=None, multi_class="ovr"):
model = svm.linear.LogisticRegression(penalty=penalty, dual=dual, tol=tol, C=C, fit_intercept=fit_intercept,
intercept_scaling=intercept_scaling, class_weight=class_weight,
solver=solver, multi_class=multi_class, n_jobs=1)
return build_and_evaluate_some_model(X, y, labels, model, average, num_folds)
def build_and_evaluate_dummy_classifier(X, y, labels, average, num_fols=10, strategy='stratified'):
model = DummyClassifier(strategy=strategy)
return build_and_evaluate_some_model(X, y, labels, model, average, num_fols)
def build_and_evaluate_some_model(X, y, labels, model, average, num_folds=10):
# get stratified folds
skf = StratifiedKFold(y, num_folds)
# test and train through folds
n_categories = len(np.unique(y))
cm = []
# f1 = np.zeros(n_categories ** 2)
# precision = np.zeros(n_categories ** 2)
# recall = np.zeros(n_categories ** 2)
f1 = []
precision = []
recall = []
for i, (i_train, i_test) in enumerate(skf):
print("Started fold {}/{} ...".format(i+1, num_folds))
model.fit(X[i_train], y[i_train]) # fit model
y_pred = model.predict(X[i_test]) # predict test data
y_true = y[i_test]
# get metrics
cm.append(metrics.confusion_matrix(y_true, y_pred, labels))
precision.append(metrics.precision_score(y_true, y_pred, average=average))
recall.append(metrics.recall_score(y_true, y_pred, average=average))
f1.append(metrics.f1_score(y_true, y_pred, average=average))
return np.array(precision), np.array(recall), np.array(f1), np.array(cm)
# =====================================================================================================================
# Helper
# =====================================================================================================================
def plot_confusion_matrix(target_names, cm, title='Confusion matrix', cmap=plt.cm.Blues):
plt.imshow(cm, interpolation='nearest', cmap=cmap)
plt.title(title)
plt.colorbar()
tick_marks = np.arange(len(target_names))
plt.xticks(tick_marks, target_names, rotation=45)
plt.yticks(tick_marks, target_names)
plt.tight_layout()
plt.ylabel('True label')
plt.xlabel('Predicted label')
def average_fold_performance(fold_results, r, c):
avg = np.zeros((r,c))
for result in fold_results:
avg += result
avg /= len(fold_results)
return avg
def plot_ttest_results(ttest_result):
p = ttest_result[1]
df = ttest_result[0]
return "p = {}, df = {}, p <= (.05, .01) = ({}, {})".format(p, df, p <= .05, p <= .01)
| [
"zweiss@Zarahs-MBP.localdomain"
] | zweiss@Zarahs-MBP.localdomain |
e01d59e5d3968726ffd8e167c0c25a6b8b11ec49 | 7cae5319d058ebb4cd372d93c82e4695b5b24cdc | /Homeworks/task_to_L3/task3.py | 5f117b79778b2d8460f7f249825943f6cc9829f5 | [] | no_license | alt2019/INR-python-tasks-and-solutions | 9316baad4f781a49342a63ff0c0f380cdd28f8fd | 62d7e64782fee16cdfeb456ebf8467af254654fe | refs/heads/master | 2020-07-26T12:07:02.950347 | 2019-09-15T19:01:37 | 2019-09-15T19:01:37 | 208,637,985 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,279 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
python3 -c "print(`id -u` % 5 + 1)"
->1
"""
from collections import deque
def step1(listt):
"""1) Преобразовать список а в множество sa.
Вывести множество sa на экран."""
return set(listt.copy())
def step2(listt, number, dictt):
"""2) Заменить в списке а элемент с индексом n словарем d,
вывести результат на экран"""
listt1 = listt.copy()
listt1[number:number+1] = [dictt]
return listt1
def step3(listt, number, dictt):
"""3) Заменить в списке а элемент с индексом n значениями,
извлеченными из словаря d так, чтобы каждое значение
из словаря стало отдельным элементом списка Вывести
результат на экран"""
listt1 = listt.copy()
listt1[number:number+1] = dictt.values()
return listt1
def step4(set1, set2):
"""4) Преобразовать список, полученный в предыдущей операции
в множество и выполнить над ним и множеством sa операции
пересечения и объединения Вывести результаты на экран"""
print("пересечение:", set1&set2)
print("объединение:", set1|set2)
def step5(input_list):
"""5) Продемострировать использование списка (класс list)
в качестве очереди: создать пустой список, добавить в него
элементы из списка а, извлечь элементы из очереди в том же
порядке в котором они были добавлены. Вывести на экран
извлекаемые из очереди элементы"""
def defaulfvar(lst):
"""FIFO"""
listt = deque([])
listt.appendleft(lst)
print(listt)
e = listt.popleft()
print(e, listt)
def filo(lst):
"""FILO/LIFO"""
lst1 = []
lst1.insert(-1, lst[0])
lst1.insert(-2, lst[1])
lst1.insert(-3, lst[2])
lst1.insert(-4, lst[3])
lst1.insert(-5, lst[4])
print(lst1)
print(lst1.pop(0))
print(lst1.pop(0))
print(lst1.pop(0))
print(lst1.pop(0))
print(lst1.pop(0))
def fifo(lst):
"""FIFO"""
lst1 = []
lst1.append(lst[0])
lst1.append(lst[1])
lst1.append(lst[2])
lst1.append(lst[3])
lst1.append(lst[4])
print(lst1)
print(lst1.pop(0))
print(lst1.pop(0))
print(lst1.pop(0))
print(lst1.pop(0))
print(lst1.pop(0))
print("variant0:", defaulfvar.__doc__)
defaulfvar(input_list)
print("variant1:", filo.__doc__)
filo(input_list)
print("variant2:", fifo.__doc__)
fifo(input_list)
if __name__ == '__main__':
a = [4, 9, 3, 28, 17]
n = 2
d = {'first': 2, 'second': 33}
print(step1.__doc__)
sa = step1(a)
print(sa)
print(step2.__doc__)
print(step2(a, n, d))
print(step3.__doc__)
print(step3(a, n, d))
print(step4.__doc__)
step4(sa, set(step3(a, n, d)))
print(step5.__doc__)
step5(a) | [
"noreply@github.com"
] | alt2019.noreply@github.com |
b0601ba8cf9608ba795630739a1f6c0ffad772a1 | 45a3a069f1cd6b980675d67ce3e64ef9fed3e2c6 | /autostat/app/mqtt_publish.py | 60a96fa8f1f6430061084d074ef2da23b5673a46 | [] | no_license | vrunjeti/autostat | a2261c8a6affae1d602b32cfede9ff281ef330c3 | 3adffb93ac71ca5158c6dc1f4c62e752ecf0e454 | refs/heads/master | 2021-03-24T10:30:08.478484 | 2017-05-22T18:57:27 | 2017-05-22T18:57:27 | 89,941,879 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 328 | py | import paho.mqtt.publish as publish
import paho.mqtt.client as mqtt
import autostat.app_config as app_config
topic = 'autostat/to_satellite'
def message_satellite(message):
mqttc.publish(topic, str(message), qos=1)
mqttc = mqtt.Client()
mqttc.connect(app_config.MQTT_HOSTNAME, port=app_config.MQTT_PORT)
mqttc.loop_start()
| [
"vrunjeti@gmail.com"
] | vrunjeti@gmail.com |
d18fb29849c29b60bb0ab17447b09244a7c06ba6 | 94790798598aa2e2ae79fbfbb0da460863ae7001 | /transcript.py | 87c6f8307ea056f7203b8c796610ce33b6562bb0 | [
"MIT"
] | permissive | adelagon/aws-transcribe-transcript | d92391a9a417086c307f086a170ff9ddad9711bb | f04bcdfc958d4b815c609e89b26cb912adbca63c | refs/heads/master | 2020-06-13T18:39:42.377029 | 2019-07-01T22:53:22 | 2019-07-01T22:53:22 | 194,752,492 | 0 | 0 | MIT | 2019-07-01T22:47:39 | 2019-07-01T22:47:39 | null | UTF-8 | Python | false | false | 1,408 | py | #!/usr/bin/env python3
def main():
import sys
import json
import datetime
filename=sys.argv[1]
print ("Filename: ", filename)
with open(filename+'.txt','w') as w:
with open(filename) as f:
data=json.loads(f.read())
labels = data['results']['speaker_labels']['segments']
speaker_start_times={}
for label in labels:
for item in label['items']:
speaker_start_times[item['start_time']] =item['speaker_label']
items = data['results']['items']
lines=[]
line=''
time=0
speaker='null'
i=0
for item in items:
i=i+1
content = item['alternatives'][0]['content']
if item.get('start_time'):
current_speaker=speaker_start_times[item['start_time']]
elif item['type'] == 'punctuation':
line = line+content
if current_speaker != speaker:
if speaker:
lines.append({'speaker':speaker, 'line':line, 'time':time})
line=content
speaker=current_speaker
time=item['start_time']
elif item['type'] != 'punctuation':
line = line + ' ' + content
lines.append({'speaker':speaker, 'line':line,'time':time})
sorted_lines = sorted(lines,key=lambda k: float(k['time']))
for line_data in sorted_lines:
line='[' + str(datetime.timedelta(seconds=int(round(float(line_data['time']))))) + '] ' + line_data.get('speaker') + ': ' + line_data.get('line')
w.write(line + '\n\n')
if __name__ == '__main__':
main()
| [
"noreply@github.com"
] | adelagon.noreply@github.com |
e4637ee6674103e786917bada4fffc5c01951533 | c77cd79524ed27ce77bce9fe6714c9715de95371 | /package.py | 351f7b26f528a605216c6b63242e8106a73a9b8c | [] | no_license | harvested-io/www_harvested.io | 26ecd2bd5bb41c77a8f67e2ea3da87869f2f04f4 | e899f67954d234ffc4130c2a8d9efc2f9e660a7b | refs/heads/master | 2020-04-28T16:34:29.167252 | 2019-10-03T10:00:43 | 2019-10-03T10:00:43 | 175,416,114 | 0 | 1 | null | 2019-03-19T18:17:33 | 2019-03-13T12:26:19 | CSS | UTF-8 | Python | false | false | 1,673 | py | from Jumpscale import j
class Package(j.baseclasses.threebot_package):
"""
to start need to run
kosmos -p "j.tools.threebot_packages.get('harvested',giturl='https://github.com/harvested-io/www_harvested.io.git',branch='master')"
kosmos -p "j.servers.threebot.default.start(web=True, ssl=False)"
"""
def _init(self, **kwargs):
self.branch = kwargs["package"].branch or "master"
self.harvested = "https://github.com/harvested-io/www_harvested.io.git"
def prepare(self):
"""
called when the 3bot starts
:return:
"""
server = self.openresty
server.install(reset=True)
server.configure()
website = server.websites.get("harvested")
website.ssl = False
website.port = 80
locations = website.locations.get("harvested")
static_location = locations.locations_static.new()
static_location.name = "static"
static_location.path_url = "/"
path = j.clients.git.getContentPathFromURLorPath(self.harvested, branch=self.branch, pull=True)
static_location.path_location = path
static_location.use_jumpscale_weblibs = True
website.path = path
locations.configure()
website.configure()
def start(self):
"""
called when the 3bot starts
:return:
"""
self.prepare()
def stop(self):
"""
called when the 3bot stops
:return:
"""
pass
def uninstall(self):
"""
called when the package is no longer needed and will be removed from the threebot
:return:
"""
pass
| [
"noreply@github.com"
] | harvested-io.noreply@github.com |
046b15b6e78b31398627e6e792e931b3f7eab361 | adf1e44223b20cea20b6124946c5d15f4da975eb | /09_exceptions/09_03_else.py | 7f7d69d10eb2604ce3ec034a5f0bb86f0aa9456e | [] | no_license | markanson25/python-fundamentals | 3b0830f825d93ed6a80d0291aba2a7b2d50ab9cd | 807d0fd32483f4e72a46dc502a9ed828d104de18 | refs/heads/master | 2023-06-19T15:53:22.973759 | 2021-07-03T16:59:53 | 2021-07-03T16:59:53 | 359,948,222 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 722 | py | '''
Write a script that demonstrates a try/except/else.
'''
user_input = 0
message_to_user = "Welcome to the division calculator! Enter two numbers and the calculator will give you the"\
" quotient. Enter 'Exit' to quit the program."
print(message_to_user)
while user_input != "Exit":
try:
user_input = input("Please enter a number: ")
dividend = int(user_input)
user_input = input("Please enter a number: ")
divisor = int(user_input)
quotient = dividend/divisor
except ValueError:
print("Please only enter numbers.")
except ZeroDivisionError:
print("Okay, please enter a number that isn't zero: ")
else:
print(quotient) | [
"mark_anson@yahoo.com"
] | mark_anson@yahoo.com |
f9593f65e48c8c305f6151c6a34b1f78d2ab4820 | 46850503a64422c2aa87548a2b29c4e57db8bff6 | /app/tests.py | c2e9d1168b49b5f4466098fb8b8f4e9e02547117 | [] | no_license | ppalucki/shcms | 0aca53c214a44963fbd2fa08814c52b7618119d7 | 07ebdef89ff3c2bf6cf937fe0c852704e591874f | refs/heads/master | 2021-01-16T19:34:23.613532 | 2011-07-27T19:11:55 | 2011-07-27T19:11:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,475 | py | # -*- coding: utf-8 -*-
import nose, unittest
from nose.tools import eq_, assert_raises #@UnresolvedImport
import set_sys_path #@UnusedImport
from google.appengine.api import memcache
from google.appengine.ext import db
from google.appengine.ext import testbed
from models import Var,Page
import settings
import urllib
from main import app
class CMSTestCase(unittest.TestCase):
def __init__(self, *args, **kw):
tb = testbed.Testbed()
tb.activate() # First, create an instance of the Testbed class.
tb.init_datastore_v3_stub() # Next, declare which service stubs you want to use.
tb.init_memcache_stub()
tb.init_user_stub()
self.resp = None
super(CMSTestCase, self).__init__(*args, **kw)
def get(self, url, **kw):
""" GET with query_string in kw """
headers = kw.pop('headers', None)
if kw:
url = '%s?%s'%(url, urllib.urlencode(kw))
self.resp = app.get_response(url, headers=headers)
return self.resp
def post(self, url, **kw):
""" POST with data in kw """
headers = kw.pop('headers', None)
self.resp = app.get_response(url, headers=headers, POST=kw)
return self.resp
#
# my asserts
#
def as200(self):
eq_(self.resp.status_int, 200)
def asContains(self, *words):
for word in words:
assert word in self.resp.body, 'brakuje=%r w resp.body!'%(word)
#
# ------------- tests ------------------
#
def test_vars_models(self):
langs = settings.VARS['langs'][1] # desc/value
eq_(Var.all().count(), 0)
# jeszcze nie ma w cache
eq_(memcache.get('Var-langs'), None) #@UndefinedVariable
# zapytujemy - dociaga z config i wklada do cache
eq_(Var.get_value('langs'), langs)
# juz jest w cache
eq_(memcache.get('Var-langs'), langs) #@UndefinedVariable
# ale jszcze nic nie mamy w datastore
eq_(Var.all().count(), 0) # still zero
# ladujemy z config
Var.update_from_settings()
eq_(Var.all().count(), 4)
# wciaz 4
Var.update_from_settings()
eq_(Var.all().count(), 4)
# aktulizuemy zmienna ale ze zlym typem (nie zgadza sie z poprzednim)
assert_raises(ValueError, Var.set_value, 'langs', 1)
# aktualizujemy zmienna
newvalue = ['foo', 'bar']
Var.set_value('langs', newvalue)
eq_(memcache.get('Var-langs'), newvalue) #@UndefinedVariable
memcache.delete('Var-langs') #@UndefinedVariable
eq_(Var.get_value('langs'), newvalue)
eq_(memcache.get('Var-langs'), newvalue) #@UndefinedVariable
def test_base(self):
self.get('/test/direct?x=2')
self.as200()
self.asContains('* x=2', 'foo:bar', '/test/direct')
self.get('/test/hello')
self.as200()
self.asContains('hello')
self.get('/test/template')
self.as200()
self.asContains('Login?continue')
def test_edit_vars(self):
from wx.py.PyShell import main; main(dict(globals(), ** locals()))
def test_homepage(self):
self.get('/')
self.as200()
self.get('/admin')
if __name__ == '__main__':
nose.main()
| [
"sacre@wp.pl"
] | sacre@wp.pl |
8d477652bebbf4f0adc038ba3f4446ce311e0938 | 906ddf0e99a2802fce128e5cc7ab202849004fc0 | /a9/working/server.py | 47619578dd03902b2dbbca42e4672b1e9826d124 | [] | no_license | member2ofTEAM/hpsa | e3d27348642252bda3eb20a69b6324f1fc287e15 | c9aa4e23bb9c55e1b90c52b83e5500095cec6cce | refs/heads/master | 2020-04-06T07:09:13.180850 | 2013-12-10T23:48:11 | 2013-12-10T23:48:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,790 | py | #!/usr/bin/env python
'''Protocol:
S:Name?
C:<TEAM_NAME>
S:<player_id> <no_players> <no_types> <goal> <item_list>
#Example: 1 3 3 4 0 0 1 2 3 2 1 3 2 2 1
C:<bid>
S:<winner_id> <winner_bid> <player_budget>
.
.
.
'''
import socket
import sys
import threading
import time
import random
import Queue
import os
import pdb
def list_to_flat_string(l):
result = ""
for item in l:
result += str(item) + " "
return result[:-1]
class Server(object):
"""
p is the number of players.
k is the number of types
n is the number that has to be achieved
"""
def __init__(self, argport, argp, argk, argn, argr, argv):
self.host = ''
self.port = argport
self.backlog = 5
self.size = 1024
self.eom = '<EOM>'
self.server = None
self.threads = []
self.no_items = 10000
#Game specific attributes
self.p = argp
self.k = argk
self.n = argn
self.r = argr
self.v = argv
self.item_list = [random.randint(0, k - 1)
for i in range(self.no_items)]
#Matrix storing the owner; (i, j) = no.of items of type j player i owns
self.item_owner = []
for i in range(p):
l = []
for j in range(k):
l.append(0)
self.item_owner.append(l)
def open_socket(self):
try:
self.server = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.server.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
self.server.settimeout(20)
self.server.bind((self.host,self.port))
self.server.listen(self.backlog)
except socket.error, (value,message):
if self.server:
self.server.close()
print "Could not open socket: " + message
sys.exit(1)
def run(self):
self.open_socket()
i = 0
while (1):
if i == self.p:
break
player_id = len(self.threads)
if player_id < self.r:
c = RandomClient(player_id, 0, 10, 0, 2)
else:
try:
client, address = self.server.accept()
except socket.timeout:
print "Client took too long to connect"
i += 1
continue
#Do handshake
client.send("Name?" + self.eom)
try:
name = client.recv(self.size).strip()
except socket.timeout:
print "Client took too long to send name"
i += 1
continue
greeting = [player_id, self.p, self.k, self.n] + self.item_list
client.send(list_to_flat_string(greeting) + self.eom)
c = Client((client, address), player_id, name, 120000)
c.start()
self.threads.append(c)
i += 1
#Accept no more incoming connections
self.server.close()
#Visualizer
if self.v:
self.visualizer = Visualizer(self.n,
[(client.name, client.time)
for client in self.threads if client.is_alive()],
self.item_list)
for i in range(len(self.item_list)):
item = self.item_list[i]
alive_clients = [client for client in self.threads if client.is_alive()]
#Receive bid
round_start_time = time.time()
for client in alive_clients:
client.out_msg_queue.get(block=True)
highest_bid = max([client.bid for client in alive_clients])
highest_bidder = [client for client in alive_clients if client.bid == highest_bid]
#If two player have the same bid and timestamp, the winner is chosen uniformly random
lowest_time = min(highest_bidder, key=lambda x: x.bid_time)
fastest_winner = [client for client in highest_bidder if client.time == lowest_time.time]
winner = fastest_winner[random.randint(0, (len(fastest_winner) - 1))]
#Insert time.time() were appropiate and send difference via client.time to update
#Make sure to use max(diff, 0) to not send negative values!
#Sven works in seconds, so divide it by 1000.0 (if accepting floats, 1000 otherwise)
#Make CSV file with "command", "parakeet", "strategy name", "image file"
if self.v:
for client in alive_clients:
self.visualizer.update(client.player_id,
client.bid,
max(client.bid_time - round_start_time, 0))
time.sleep(0.5)
self.visualizer.update(winner.player_id, -1)
time.sleep(1)
print "Player {0} wins item {1} for {2}.".format(winner.name, item, winner.bid)
self.item_owner[winner.player_id][item] += 1
for client in alive_clients:
#print " pid: " + str(client.player_id) + ", b: " + str(client.budget) + ", bid: " + str(client.bid)
client.inc_msg_queue.put([winner.player_id, winner.bid], block=True)
if self.item_owner[winner.player_id][item] == self.n:
print "Player " + str(winner.name) + " won the game."
break
#Close all threads
for c in [client for client in self.threads if client.is_alive()]:
c.inc_msg_queue.put(0)
class RandomClient(threading.Thread):
def __init__(self,player_id, bid_low, bid_high, wait_low, wait_high):
threading.Thread.__init__(self)
#Game specific attributes
self.budget = 100
self.player_id = player_id
self.name = "Random" + str(self.player_id)
#The bidding system
self.bid = 0
self.bid_time = sys.float_info.max
self.out_msg_queue = Queue.Queue(maxsize=1)
self.inc_msg_queue = Queue.Queue(maxsize=1)
#Controls the number of ms per player
self.time = 120000
#How long to wait after generating a bid
self.wait_low = wait_low
self.wait_high = wait_high
self.bid_low = bid_low
self.bid_high = bid_high
def run(self):
while (1):
before = time.time()
bid = random.randint(self.bid_low, self.bid_high)
time.sleep(0.1 * random.randint(self.wait_low, self.wait_high))
after = time.time()
self.time -= after - before
if self.time <= 0:
print "Player {0} timed out and is disqualified.".format(self.name)
self.running = 0
break
if bid > self.budget:
self.bid = 0
else:
self.bid = bid
#If I bid ealier than my competitor I'd win
self.bid_time = time.time()
#Now I want to communicate my bid and receive the result
self.out_msg_queue.put(bid)
#The parent has entered the information and I can continue
inc = self.inc_msg_queue.get(block=True)
if inc:
[winner_id, winner_bid] = inc
if self.player_id == winner_id:
self.budget -= self.bid
else:
break
self.out_msg_queue.put(-1)
class Client(threading.Thread):
def __init__(self,(client,address), player_id, name, time):
threading.Thread.__init__(self)
self.size = 1024
self.eom = '<EOM>'
self.client = client
self.address = address
#Game specific attributes
self.budget = 100
self.player_id = player_id
self.name = name
#The bidding system
self.bid = 0
self.bid_time = sys.float_info.max
self.out_msg_queue = Queue.Queue(maxsize=1)
self.inc_msg_queue = Queue.Queue(maxsize=1)
#Controls the number of ms per player
self.time = time
self.client.settimeout(self.time)
self.running = 1
def run(self):
while (self.running):
before = time.time()
bid = self.client.recv(self.size)
after = time.time()
self.time -= after - before
if self.time <= 0:
print "Player {0} timed out and is disqualified.".format(self.name)
self.client.close()
self.running = 0
break
if bid:
try:
bid = int(bid)
except ValueError:
print ("Player {0} sent invalid bid: {1}"
"and is disqualified.").format(self.name, self.bid)
self.client.close()
self.running = 0
break
if bid > self.budget:
self.bid = 0
else:
self.bid = bid
else:
self.client.close()
self.running = 0
print "Player {0} disconnected and is disqualified.".format(self.name)
break
#If I bid ealier than my competitor I'd win
self.bid_time = time.time()
#Now I want to communicate my bid and receive the result
self.out_msg_queue.put(bid, block=True)
#The parent has entered the information and I can continue
inc = self.inc_msg_queue.get(block=True)
if inc:
[winner_id, winner_bid] = inc
if self.player_id == winner_id:
self.budget -= self.bid
self.client.send(list_to_flat_string([winner_id, winner_bid, self.budget]) + self.eom)
else:
self.client.close()
break
#Something bad happened, but the server is still expecting us to deliver, so
#we just answer with a bid that cannot possibly win
self.out_msg_queue.put(-1, block=True)
if __name__ == "__main__":
if len(sys.argv) != 8:
print "Usage: " + sys.argv[0] + " port p k n seed r v"
else:
try:
[port, p, k, n, seed, r, v] = map(int, sys.argv[1:])
except ValueError:
print "Arguments have to be all integers"
sys.exit(0)
if seed:
random.seed(seed)
if r > p:
print "Cannot have more random players than players"
sys.exit(0)
if v:
from basic_visualizer import Visualizer
s = Server(port, p, k, n, r, v)
s.run()
os._exit(0)
| [
"cp1995@nyu.edu"
] | cp1995@nyu.edu |
6bd7a8bdb06da48d1f59f4b5ad1420de04523dac | 45ab52cb058ed84ee54b8644dfd36d71421ef0ca | /5543.py | abb3defabe51e6395cbbe4915ca76b53cbd0b453 | [] | no_license | joi0104/BOJ | e80480c1af4d3ca57d3a4d42fbd6439698d27a22 | 6ec456c280efc31a6bb9ca4abe3a0db8b0aa730d | refs/heads/master | 2021-11-26T11:32:20.121095 | 2021-08-22T12:06:12 | 2021-08-22T12:06:12 | 242,656,577 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 77 | py | menu = [int(input()) for i in range(5)]
print(min(menu[:3])+min(menu[3:])-50) | [
"joi0104@naver.com"
] | joi0104@naver.com |
df1e65d5b5d4a7ebce3abf487e6466c51c82f021 | d6a626021ef31129a9947b3cb10f2d5693b72adb | /mnist_result.py | df9e8f68af3a34cd44fe78aad26be4d164cffd8f | [] | no_license | 2ank3th/AE | d301bc3aa220f63f4959c4fe04141d0b42f0b64d | e9453dfc03dd6ba6788901f0ec9f327222e2634d | refs/heads/master | 2021-03-27T18:13:18.745049 | 2017-03-07T23:11:47 | 2017-03-07T23:11:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 804 | py | import os
import torch
from DAE import DAE
import cPickle as pickle
from torch.autograd import Variable
import csv
model = DAE()
model.load_state_dict(torch.load(os.getcwd() + "/model.pth"))
test_data = pickle.load(open("test.p", "rb"))
test_loader = torch.utils.data.DataLoader(test_data, batch_size=64, shuffle=False)
i = 0
ans = []
for idx,(data, _) in enumerate(test_loader):
data = Variable(data)
data = data.view(-1, 784)
output,_ = model(data, None,None, False, True)
pred = output.data.max(1)[1] # get the index of the max log-probability
pred = torch.t(pred)
for num in pred[0]:
ans.append([i,num])
i += 1
with open('submission.csv', 'w') as fp:
a = csv.writer(fp, delimiter=',')
for entry in ans:
a.writerow(entry) | [
"sankethpurwar@Sankeths-MacBook-Pro.local"
] | sankethpurwar@Sankeths-MacBook-Pro.local |
a4339549ff121a3716ac714438184f983ddea0d6 | 33da2094a944e4333ea76b04c3c6078cf643b1dc | /tyler_crowdboticstest_155/settings.py | 3d7ce2c30ec2503a84c8fca167abba0fe7ab3ab5 | [] | no_license | TylerCrowdboticsTest/tyler-crowdboticstest-155 | 3f72a9e63f63d827379bf709b2baf6b3776113e6 | cc063c566acf36c353a4129ab21ff265d75fb163 | refs/heads/master | 2020-03-22T04:12:50.631988 | 2018-07-02T18:47:42 | 2018-07-02T18:47:42 | 139,481,489 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,143 | py | """
Django settings for tyler_crowdboticstest_155 project.
Generated by 'django-admin startproject' using Django 1.11.5.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.11/ref/settings/
"""
import os
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '5sopo74xvgupkgmc&3=)f3p4nqs_78d8m+7^k5fsda@ll8y-04'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites'
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'tyler_crowdboticstest_155.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'tyler_crowdboticstest_155.wsgi.application'
# Database
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
# Password validation
# https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
# Internationalization
# https://docs.djangoproject.com/en/1.11/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.11/howto/static-files/
STATIC_URL = '/static/'
import environ
env = environ.Env()
ALLOWED_HOSTS = ['*']
SITE_ID = 1
MIDDLEWARE += ['whitenoise.middleware.WhiteNoiseMiddleware']
DATABASES = {
'default': env.db()
}
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'allauth.account.auth_backends.AuthenticationBackend'
)
STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static')
]
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
LOCAL_APPS = [
'home',
]
THIRD_PARTY_APPS = [
'rest_framework',
'rest_framework.authtoken',
'bootstrap4',
'allauth',
'allauth.account',
'allauth.socialaccount',
'allauth.socialaccount.providers.google',
]
INSTALLED_APPS += LOCAL_APPS + THIRD_PARTY_APPS
# allauth
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_AUTHENTICATION_METHOD = 'email'
ACCOUNT_USERNAME_REQUIRED = False
ACCOUNT_EMAIL_VERIFICATION = None
LOGIN_REDIRECT_URL = '/'
| [
"tyler@crowdbotics.com"
] | tyler@crowdbotics.com |
214a0b3450a3585b9361712e35eb6c89beeac373 | eeb0b51e4c75f72aca3a52debe3e353ab33a220a | /automate-projects/large-projects/multiClipboard/mcb.pyw | df70e9e54b73e3d66b52d91ea260088562d0bd5c | [] | no_license | thejtate/python-sandbox | 7aef573c66286ab6ec37b802200080fb51fddc55 | a360fdac3d6e2a22fbe2837df9ad548b02a6ac4a | refs/heads/master | 2021-04-29T13:51:21.048323 | 2018-02-16T15:04:12 | 2018-02-16T15:04:12 | 121,762,828 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 746 | pyw | #! /Library/Frameworks/Python.framework/Versions/3.6/bin python3
# mcb.pyw - Saves and loads pieces of text to the clipboard.
# Usage: py.exe mcb.pyw save <keyword> - Saves clipboard to keyword.
# py.exe mcb.pyw <keyword> - Loads keyword to clipboard.
# py.exe mcb.pyw list - Loads all keywords to clipboard.
import shelve, pyperclip, sys
mcbShelf = shelve.open('mcb')
# Save clipboard content.
if len(sys.argv) == 3 and sys.argv[1].lower() == 'save':
mcbShelf[sys.argv[2]] = pyperclip.paste()
elif len(sys.argv) == 2:
# TODO: List keywords and load content.
if sys.argv[1].lower() == 'list':
pyperclip.copy(str(list(mcbShelf.keys())))
elif sys.argv[1] in mcbShelf:
pyperclip.copy(mcbShelf[sys.argv[1]])
mcbShelf.close() | [
"jtate@funneldesigngroup.com"
] | jtate@funneldesigngroup.com |
a20166415b15b9aacc9d19796c82e69d477474e2 | 9045b7fbfabcb5d5c4fe3898bd27d4e76ff5ee25 | /staffer/utils/utils.py | b8bf6d868f480e029608408e825a17598517f606 | [] | no_license | myportfolio-tech/fs-capstone | f95ca2fb01357e427eb17da66c65e8094ad5c0a4 | 0ea14d5475370d8c883522cab287c7e475bab133 | refs/heads/main | 2023-08-03T21:09:56.995829 | 2021-09-07T19:35:49 | 2021-09-07T19:35:49 | 403,177,865 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,622 | py | from flask import jsonify
# takes a sqlalchemy query results and jsonifies it
def json_employees_results(sql_employees):
employees =[]
for emp in sql_employees:
emp_dict = {}
emp_dict['id'] = emp.id
emp_dict['username'] = emp.username
emp_dict['department'] = emp.department
emp_dict['email'] = emp.email
employees.append(emp_dict)
return jsonify({
'success': True,
'employees': employees,
'total': len(employees)
})
def json_employee(sql_employee):
return jsonify({
'success': True,
'id': sql_employee.id,
'username': sql_employee.username,
'email': sql_employee.email,
'department': sql_employee.department
})
# takes a sqlalchemy query results and jsonifies it
def json_projects_results(sql_projects):
projects =[]
for proj in sql_projects:
proj_dict = {}
proj_dict['id'] = proj.id
proj_dict['name'] = proj.name
proj_dict['tag'] = proj.tag
proj_dict['advisor_id'] = proj.advisor_id
proj_dict['manager_id'] = proj.manager_id
projects.append(proj_dict)
return jsonify({
'success': True,
'projects': projects,
'total': len(projects)
})
def json_project(sql_project):
return jsonify({
'success': True,
'id': sql_project.id,
'name': sql_project.name,
'tag': sql_project.tag,
'advisor_id': sql_project.advisor_id,
'manager_id': sql_project.manager_id,
'director_id': sql_project.director_id
}) | [
"eduardo@myportfolio.com"
] | eduardo@myportfolio.com |
488685056f08db0538589e4fdee347e07b5f51ef | c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c | /cases/synthetic/sieve-big-3340.py | 943d402779d7cc0f57243fa17da494fa75990ae5 | [] | no_license | Virtlink/ccbench-chocopy | c3f7f6af6349aff6503196f727ef89f210a1eac8 | c7efae43bf32696ee2b2ee781bdfe4f7730dec3f | refs/heads/main | 2023-04-07T15:07:12.464038 | 2022-02-03T15:42:39 | 2022-02-03T15:42:39 | 451,969,776 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 31,749 | py | # A resizable list of integers
class Vector(object):
items: [int] = None
size: int = 0
def __init__(self:"Vector"):
self.items = [0]
# Returns current capacity
def capacity(self:"Vector") -> int:
return len(self.items)
# Increases capacity of vector by one element
def increase_capacity(self:"Vector") -> int:
self.items = self.items + [0]
return self.capacity()
# Appends one item to end of vector
def append(self:"Vector", item: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends many items to end of vector
def append_all(self:"Vector", new_items: [int]) -> object:
item:int = 0
for item in new_items:
self.append(item)
# Removes an item from the middle of vector
def remove_at(self:"Vector", idx: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Retrieves an item at a given index
def get(self:"Vector", idx: int) -> int:
return self.items[idx]
# Retrieves the current size of the vector
def length(self:"Vector") -> int:
return self.size
# A resizable list of integers
class Vector2(object):
items: [int] = None
items2: [int] = None
size: int = 0
size2: int = 0
def __init__(self:"Vector2"):
self.items = [0]
# Returns current capacity
def capacity(self:"Vector2") -> int:
return len(self.items)
# Returns current capacity
def capacity2(self:"Vector2") -> int:
return len(self.items)
# Increases capacity of vector by one element
def increase_capacity(self:"Vector2") -> int:
self.items = self.items + [0]
return self.capacity()
# Increases capacity of vector by one element
def increase_capacity2(self:"Vector2") -> int:
self.items = self.items + [0]
return self.capacity()
# Appends one item to end of vector
def append(self:"Vector2", item: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends one item to end of vector
def append2(self:"Vector2", item: int, item2: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends many items to end of vector
def append_all(self:"Vector2", new_items: [int]) -> object:
item:int = 0
for item in new_items:
self.append(item)
# Appends many items to end of vector
def append_all2(self:"Vector2", new_items: [int], new_items2: [int]) -> object:
item:int = 0
item2:int = 0
for item in new_items:
self.append(item)
# Removes an item from the middle of vector
def remove_at(self:"Vector2", idx: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Removes an item from the middle of vector
def remove_at2(self:"Vector2", idx: int, idx2: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Retrieves an item at a given index
def get(self:"Vector2", idx: int) -> int:
return self.items[idx]
# Retrieves an item at a given index
def get2(self:"Vector2", idx: int, idx2: int) -> int:
return self.items[idx]
# Retrieves the current size of the vector
def length(self:"Vector2") -> int:
return self.size
# Retrieves the current size of the vector
def length2(self:"Vector2") -> int:
return self.size
# A resizable list of integers
class Vector3(object):
items: [int] = None
items2: [int] = None
items3: [int] = None
size: int = 0
size2: int = 0
size3: int = 0
def __init__(self:"Vector3"):
self.items = [0]
# Returns current capacity
def capacity(self:"Vector3") -> int:
return len(self.items)
# Returns current capacity
def capacity2(self:"Vector3") -> int:
return len(self.items)
# Returns current capacity
def capacity3(self:"Vector3") -> int:
return len(self.items)
# Increases capacity of vector by one element
def increase_capacity(self:"Vector3") -> int:
self.items = self.items + [0]
return self.capacity()
# Increases capacity of vector by one element
def increase_capacity2(self:"Vector3") -> int:
self.items = self.items + [0]
return self.capacity()
# Increases capacity of vector by one element
def increase_capacity3(self:"Vector3") -> int:
self.items = self.items + [0]
return self.capacity()
# Appends one item to end of vector
def append(self:"Vector3", item: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends one item to end of vector
def append2(self:"Vector3", item: int, item2: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends one item to end of vector
def append3(self:"Vector3", item: int, item2: int, item3: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends many items to end of vector
def append_all(self:"Vector3", new_items: [int]) -> object:
item:int = 0
for item in new_items:
self.append(item)
# Appends many items to end of vector
def append_all2(self:"Vector3", new_items: [int], new_items2: [int]) -> object:
item:int = 0
item2:int = 0
for item in new_items:
self.append(item)
# Appends many items to end of vector
def append_all3(self:"Vector3", new_items: [int], new_items2: [int], new_items3: [int]) -> object:
item:int = 0
item2:int = 0
item3:int = 0
for item in new_items:
self.append(item)
# Removes an item from the middle of vector
def remove_at(self:"Vector3", idx: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Removes an item from the middle of vector
def remove_at2(self:"Vector3", idx: int, idx2: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Removes an item from the middle of vector
def remove_at3(self:"Vector3", idx: int, idx2: int, idx3: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Retrieves an item at a given index
def get(self:"Vector3", idx: int) -> int:
return self.items[idx]
# Retrieves an item at a given index
def get2(self:"Vector3", idx: int, idx2: int) -> int:
return self.items[idx]
# Retrieves an item at a given index
def get3(self:"Vector3", idx: int, idx2: int, idx3: int) -> int:
return self.items[idx]
# Retrieves the current size of the vector
def length(self:"Vector3") -> int:
return self.size
# Retrieves the current size of the vector
def length2(self:"Vector3") -> int:
return self.size
# Retrieves the current size of the vector
def length3(self:"Vector3") -> int:
return self.size
# A resizable list of integers
class Vector4(object):
items: [int] = None
items2: [int] = None
items3: [int] = None
items4: [int] = None
size: int = 0
size2: int = 0
size3: int = 0
size4: int = 0
def __init__(self:"Vector4"):
self.items = [0]
# Returns current capacity
def capacity(self:"Vector4") -> int:
return len(self.items)
# Returns current capacity
def capacity2(self:"Vector4") -> int:
return len(self.items)
# Returns current capacity
def capacity3(self:"Vector4") -> int:
return len(self.items)
# Returns current capacity
def capacity4(self:"Vector4") -> int:
return len(self.items)
# Increases capacity of vector by one element
def increase_capacity(self:"Vector4") -> int:
self.items = self.items + [0]
return self.capacity()
# Increases capacity of vector by one element
def increase_capacity2(self:"Vector4") -> int:
self.items = self.items + [0]
return self.capacity()
# Increases capacity of vector by one element
def increase_capacity3(self:"Vector4") -> int:
self.items = self.items + [0]
return self.capacity()
# Increases capacity of vector by one element
def increase_capacity4(self:"Vector4") -> int:
self.items = self.items + [0]
return self.capacity()
# Appends one item to end of vector
def append(self:"Vector4", item: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends one item to end of vector
def append2(self:"Vector4", item: int, item2: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends one item to end of vector
def append3(self:"Vector4", item: int, item2: int, item3: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends one item to end of vector
def append4(self:"Vector4", item: int, item2: int, item3: int, item4: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends many items to end of vector
def append_all(self:"Vector4", new_items: [int]) -> object:
item:int = 0
for item in new_items:
self.append(item)
# Appends many items to end of vector
def append_all2(self:"Vector4", $ID: [int], new_items2: [int]) -> object:
item:int = 0
item2:int = 0
for item in new_items:
self.append(item)
# Appends many items to end of vector
def append_all3(self:"Vector4", new_items: [int], new_items2: [int], new_items3: [int]) -> object:
item:int = 0
item2:int = 0
item3:int = 0
for item in new_items:
self.append(item)
# Appends many items to end of vector
def append_all4(self:"Vector4", new_items: [int], new_items2: [int], new_items3: [int], new_items4: [int]) -> object:
item:int = 0
item2:int = 0
item3:int = 0
item4:int = 0
for item in new_items:
self.append(item)
# Removes an item from the middle of vector
def remove_at(self:"Vector4", idx: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Removes an item from the middle of vector
def remove_at2(self:"Vector4", idx: int, idx2: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Removes an item from the middle of vector
def remove_at3(self:"Vector4", idx: int, idx2: int, idx3: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Removes an item from the middle of vector
def remove_at4(self:"Vector4", idx: int, idx2: int, idx3: int, idx4: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Retrieves an item at a given index
def get(self:"Vector4", idx: int) -> int:
return self.items[idx]
# Retrieves an item at a given index
def get2(self:"Vector4", idx: int, idx2: int) -> int:
return self.items[idx]
# Retrieves an item at a given index
def get3(self:"Vector4", idx: int, idx2: int, idx3: int) -> int:
return self.items[idx]
# Retrieves an item at a given index
def get4(self:"Vector4", idx: int, idx2: int, idx3: int, idx4: int) -> int:
return self.items[idx]
# Retrieves the current size of the vector
def length(self:"Vector4") -> int:
return self.size
# Retrieves the current size of the vector
def length2(self:"Vector4") -> int:
return self.size
# Retrieves the current size of the vector
def length3(self:"Vector4") -> int:
return self.size
# Retrieves the current size of the vector
def length4(self:"Vector4") -> int:
return self.size
# A resizable list of integers
class Vector5(object):
items: [int] = None
items2: [int] = None
items3: [int] = None
items4: [int] = None
items5: [int] = None
size: int = 0
size2: int = 0
size3: int = 0
size4: int = 0
size5: int = 0
def __init__(self:"Vector5"):
self.items = [0]
# Returns current capacity
def capacity(self:"Vector5") -> int:
return len(self.items)
# Returns current capacity
def capacity2(self:"Vector5") -> int:
return len(self.items)
# Returns current capacity
def capacity3(self:"Vector5") -> int:
return len(self.items)
# Returns current capacity
def capacity4(self:"Vector5") -> int:
return len(self.items)
# Returns current capacity
def capacity5(self:"Vector5") -> int:
return len(self.items)
# Increases capacity of vector by one element
def increase_capacity(self:"Vector5") -> int:
self.items = self.items + [0]
return self.capacity()
# Increases capacity of vector by one element
def increase_capacity2(self:"Vector5") -> int:
self.items = self.items + [0]
return self.capacity()
# Increases capacity of vector by one element
def increase_capacity3(self:"Vector5") -> int:
self.items = self.items + [0]
return self.capacity()
# Increases capacity of vector by one element
def increase_capacity4(self:"Vector5") -> int:
self.items = self.items + [0]
return self.capacity()
# Increases capacity of vector by one element
def increase_capacity5(self:"Vector5") -> int:
self.items = self.items + [0]
return self.capacity()
# Appends one item to end of vector
def append(self:"Vector5", item: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends one item to end of vector
def append2(self:"Vector5", item: int, item2: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends one item to end of vector
def append3(self:"Vector5", item: int, item2: int, item3: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends one item to end of vector
def append4(self:"Vector5", item: int, item2: int, item3: int, item4: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends one item to end of vector
def append5(self:"Vector5", item: int, item2: int, item3: int, item4: int, item5: int) -> object:
if self.size == self.capacity():
self.increase_capacity()
self.items[self.size] = item
self.size = self.size + 1
# Appends many items to end of vector
def append_all(self:"Vector5", new_items: [int]) -> object:
item:int = 0
for item in new_items:
self.append(item)
# Appends many items to end of vector
def append_all2(self:"Vector5", new_items: [int], new_items2: [int]) -> object:
item:int = 0
item2:int = 0
for item in new_items:
self.append(item)
# Appends many items to end of vector
def append_all3(self:"Vector5", new_items: [int], new_items2: [int], new_items3: [int]) -> object:
item:int = 0
item2:int = 0
item3:int = 0
for item in new_items:
self.append(item)
# Appends many items to end of vector
def append_all4(self:"Vector5", new_items: [int], new_items2: [int], new_items3: [int], new_items4: [int]) -> object:
item:int = 0
item2:int = 0
item3:int = 0
item4:int = 0
for item in new_items:
self.append(item)
# Appends many items to end of vector
def append_all5(self:"Vector5", new_items: [int], new_items2: [int], new_items3: [int], new_items4: [int], new_items5: [int]) -> object:
item:int = 0
item2:int = 0
item3:int = 0
item4:int = 0
item5:int = 0
for item in new_items:
self.append(item)
# Removes an item from the middle of vector
def remove_at(self:"Vector5", idx: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Removes an item from the middle of vector
def remove_at2(self:"Vector5", idx: int, idx2: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Removes an item from the middle of vector
def remove_at3(self:"Vector5", idx: int, idx2: int, idx3: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Removes an item from the middle of vector
def remove_at4(self:"Vector5", idx: int, idx2: int, idx3: int, idx4: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Removes an item from the middle of vector
def remove_at5(self:"Vector5", idx: int, idx2: int, idx3: int, idx4: int, idx5: int) -> object:
if idx < 0:
return
while idx < self.size - 1:
self.items[idx] = self.items[idx + 1]
idx = idx + 1
self.size = self.size - 1
# Retrieves an item at a given index
def get(self:"Vector5", idx: int) -> int:
return self.items[idx]
# Retrieves an item at a given index
def get2(self:"Vector5", idx: int, idx2: int) -> int:
return self.items[idx]
# Retrieves an item at a given index
def get3(self:"Vector5", idx: int, idx2: int, idx3: int) -> int:
return self.items[idx]
# Retrieves an item at a given index
def get4(self:"Vector5", idx: int, idx2: int, idx3: int, idx4: int) -> int:
return self.items[idx]
# Retrieves an item at a given index
def get5(self:"Vector5", idx: int, idx2: int, idx3: int, idx4: int, idx5: int) -> int:
return self.items[idx]
# Retrieves the current size of the vector
def length(self:"Vector5") -> int:
return self.size
# Retrieves the current size of the vector
def length2(self:"Vector5") -> int:
return self.size
# Retrieves the current size of the vector
def length3(self:"Vector5") -> int:
return self.size
# Retrieves the current size of the vector
def length4(self:"Vector5") -> int:
return self.size
# Retrieves the current size of the vector
def length5(self:"Vector5") -> int:
return self.size
# A faster (but more memory-consuming) implementation of vector
class DoublingVector(Vector):
doubling_limit:int = 1000
# Overriding to do fewer resizes
def increase_capacity(self:"DoublingVector") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# A faster (but more memory-consuming) implementation of vector
class DoublingVector2(Vector):
doubling_limit:int = 1000
doubling_limit2:int = 1000
# Overriding to do fewer resizes
def increase_capacity(self:"DoublingVector2") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# Overriding to do fewer resizes
def increase_capacity2(self:"DoublingVector2") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# A faster (but more memory-consuming) implementation of vector
class DoublingVector3(Vector):
doubling_limit:int = 1000
doubling_limit2:int = 1000
doubling_limit3:int = 1000
# Overriding to do fewer resizes
def increase_capacity(self:"DoublingVector3") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# Overriding to do fewer resizes
def increase_capacity2(self:"DoublingVector3") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# Overriding to do fewer resizes
def increase_capacity3(self:"DoublingVector3") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# A faster (but more memory-consuming) implementation of vector
class DoublingVector4(Vector):
doubling_limit:int = 1000
doubling_limit2:int = 1000
doubling_limit3:int = 1000
doubling_limit4:int = 1000
# Overriding to do fewer resizes
def increase_capacity(self:"DoublingVector4") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# Overriding to do fewer resizes
def increase_capacity2(self:"DoublingVector4") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# Overriding to do fewer resizes
def increase_capacity3(self:"DoublingVector4") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# Overriding to do fewer resizes
def increase_capacity4(self:"DoublingVector4") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# A faster (but more memory-consuming) implementation of vector
class DoublingVector5(Vector):
doubling_limit:int = 1000
doubling_limit2:int = 1000
doubling_limit3:int = 1000
doubling_limit4:int = 1000
doubling_limit5:int = 1000
# Overriding to do fewer resizes
def increase_capacity(self:"DoublingVector5") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# Overriding to do fewer resizes
def increase_capacity2(self:"DoublingVector5") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# Overriding to do fewer resizes
def increase_capacity3(self:"DoublingVector5") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# Overriding to do fewer resizes
def increase_capacity4(self:"DoublingVector5") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# Overriding to do fewer resizes
def increase_capacity5(self:"DoublingVector5") -> int:
if (self.capacity() <= self.doubling_limit // 2):
self.items = self.items + self.items
else:
# If doubling limit has been reached, fall back to
# standard capacity increases
self.items = self.items + [0]
return self.capacity()
# Makes a vector in the range [i, j)
def vrange(i:int, j:int) -> Vector:
v:Vector = None
v = DoublingVector()
while i < j:
v.append(i)
i = i + 1
return v
def vrange2(i:int, j:int, i2:int, j2:int) -> Vector:
v:Vector = None
v2:Vector = None
v = DoublingVector()
while i < j:
v.append(i)
i = i + 1
return v
def vrange3(i:int, j:int, i2:int, j2:int, i3:int, j3:int) -> Vector:
v:Vector = None
v2:Vector = None
v3:Vector = None
v = DoublingVector()
while i < j:
v.append(i)
i = i + 1
return v
def vrange4(i:int, j:int, i2:int, j2:int, i3:int, j3:int, i4:int, j4:int) -> Vector:
v:Vector = None
v2:Vector = None
v3:Vector = None
v4:Vector = None
v = DoublingVector()
while i < j:
v.append(i)
i = i + 1
return v
def vrange5(i:int, j:int, i2:int, j2:int, i3:int, j3:int, i4:int, j4:int, i5:int, j5:int) -> Vector:
v:Vector = None
v2:Vector = None
v3:Vector = None
v4:Vector = None
v5:Vector = None
v = DoublingVector()
while i < j:
v.append(i)
i = i + 1
return v
# Sieve of Eratosthenes (not really)
def sieve(v:Vector) -> object:
i:int = 0
j:int = 0
k:int = 0
while i < v.length():
k = v.get(i)
j = i + 1
while j < v.length():
if v.get(j) % k == 0:
v.remove_at(j)
else:
j = j + 1
i = i + 1
def sieve2(v:Vector, v2:Vector) -> object:
i:int = 0
i2:int = 0
j:int = 0
j2:int = 0
k:int = 0
k2:int = 0
while i < v.length():
k = v.get(i)
j = i + 1
while j < v.length():
if v.get(j) % k == 0:
v.remove_at(j)
else:
j = j + 1
i = i + 1
def sieve3(v:Vector, v2:Vector, v3:Vector) -> object:
i:int = 0
i2:int = 0
i3:int = 0
j:int = 0
j2:int = 0
j3:int = 0
k:int = 0
k2:int = 0
k3:int = 0
while i < v.length():
k = v.get(i)
j = i + 1
while j < v.length():
if v.get(j) % k == 0:
v.remove_at(j)
else:
j = j + 1
i = i + 1
def sieve4(v:Vector, v2:Vector, v3:Vector, v4:Vector) -> object:
i:int = 0
i2:int = 0
i3:int = 0
i4:int = 0
j:int = 0
j2:int = 0
j3:int = 0
j4:int = 0
k:int = 0
k2:int = 0
k3:int = 0
k4:int = 0
while i < v.length():
k = v.get(i)
j = i + 1
while j < v.length():
if v.get(j) % k == 0:
v.remove_at(j)
else:
j = j + 1
i = i + 1
def sieve5(v:Vector, v2:Vector, v3:Vector, v4:Vector, v5:Vector) -> object:
i:int = 0
i2:int = 0
i3:int = 0
i4:int = 0
i5:int = 0
j:int = 0
j2:int = 0
j3:int = 0
j4:int = 0
j5:int = 0
k:int = 0
k2:int = 0
k3:int = 0
k4:int = 0
k5:int = 0
while i < v.length():
k = v.get(i)
j = i + 1
while j < v.length():
if v.get(j) % k == 0:
v.remove_at(j)
else:
j = j + 1
i = i + 1
# Input parameter
n:int = 50
n2:int = 50
n3:int = 50
n4:int = 50
n5:int = 50
# Data
v:Vector = None
v2:Vector = None
v3:Vector = None
v4:Vector = None
v5:Vector = None
i:int = 0
i2:int = 0
i3:int = 0
i4:int = 0
i5:int = 0
# Crunch
v = vrange(2, n)
v2 = vrange(2, n)
v3 = vrange(2, n)
v4 = vrange(2, n)
v5 = vrange(2, n)
sieve(v)
# Print
while i < v.length():
print(v.get(i))
i = i + 1
| [
"647530+Virtlink@users.noreply.github.com"
] | 647530+Virtlink@users.noreply.github.com |
7ea558b4313619fec1915daa13a765ac8f183ddb | 95836505683660cd30cbf67f8b32ebd1851769ce | /server-loadbalancing/plot_wmslist_inALIAS.py | a6ed87dc5c422d4d42d7b753d890a1e83cb9e766 | [] | no_license | danido/WMSMonitor | 5728aac3f8604d0df8e5f1fa549fd5552ac07c22 | 01fb0ebe6a5533bc23a7450b5069dd50bb7a497c | refs/heads/master | 2021-01-19T06:04:47.097586 | 2012-11-16T11:01:26 | 2012-11-16T11:01:26 | 6,044,916 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 3,690 | py | #! /usr/bin/python
# Main program to call sensor functions
import os, commands, sys, fpformat
sys.path.append('/opt/WMSMonitor/collector/bin/')
import readconf_func
confvar=readconf_func.readconf()
import MySQLdb
def plot_wmslist_inALIAS():
'''plot_wmslist_inALIAS() -> utility to plot on file the list
of wms in aliases defined for your site
'''
fileout=open('/var/www/html/wmsmon/main/wmspoolinfo.txt','w')
fileout.write('GENERAL INFO ABOUT CNAF WMS/LB INSTANCES POOL ON: ' + commands.getoutput('date'))
print "Starting db connection"
try:
db = MySQLdb.connection(host=confvar.get('WMSMON_DB_HOST'),user=confvar.get('WMSMON_DB_USER'),passwd=confvar.get('WMSMON_DB_PWD'),db=confvar.get('WMSMON_DB_NAME'))
except Exception,e:
stri2= "ERROR CONNECTING TO WMSMonitor DB: " + str(e)
print stri2
print "ERROR: Please check mysql daemon is running and connection parameters are correct!"
sys.exit(1)
#+++++++++++++++++++++++++++++
try:
querystr="select alias_name, numout, subtest_enable, idalias from admin_loadbalancing where enable_flag=1;"
#INITIALIZATION
aliases=[]
numout=[]
subtest_enable=[]
idalias=[]
db.query(querystr)
r = db.store_result()
row = r.fetch_row(10000)
host_vo_dict = {}
if len(row) > 0:
for line in row:
#host_vo_dict[hostname]=[idhost,vo,service]
aliases.append(line[0])
numout.append(line[1])
subtest_enable.append(line[2])
idalias.append(line[3])
except Exception,e:
str2= "ERROR READING ALIAS LIST FROM WMSMonitor DB: " + str(e)
print str2
sys.exit(1)
try:
querystr="select hostname,vo,service from admin_host_labels inner join hosts on hosts.idhost=admin_host_labels.idhost where admin_host_labels.active='1' and service='WMS';"
db.query(querystr)
r = db.store_result()
row = r.fetch_row(10000)
if len(row) > 0:
for line in row:
print line
except Exception,e:
str2= "ERROR HOSTS LIST FROM WMSMonitor DB: " + str(e)
sys.exit(1)
for ik in range(len(aliases)):
fileout.write('\n\nALIAS: ' + aliases[ik] + '\n')
try:
wmslist=[]
querystr="select hostname from hosts join admin_wms_alias_list on hosts.idhost=admin_wms_alias_list.idwms where idalias=" + idalias[ik] + " and spare_label='0';"
db.query(querystr)
r = db.store_result()
row = r.fetch_row(10000)
if len(row) > 0:
for line in row:
#host_vo_dict[hostname]=[idhost,vo,service]
wmslist.append(line[0])
except Exception,e:
print "ERROR READING WMS LIST FROM WMSMonitor DB: " + str(e)
print "ERROR: Please check query and DB status"
sys.exit(1)
fileout.write('ASSOCIATED WMS LIST: ' + str(wmslist))
fileout.write('\nWMS CURRENTLY IN THE ALIAS:\n')
fileout.write(commands.getoutput("for a in `host " + aliases[ik] + ".grid.cnaf.infn.it |awk '{print $4}'` ; do host $a|awk '{print $5}'; done"))
fileout.write('\n\n')
plot_wmslist_inALIAS()
| [
"danilo.dongiovanni@cnaf.infn.it"
] | danilo.dongiovanni@cnaf.infn.it |
5c5af7d0a8fad71c0414a05688795051c875a5f9 | 21e869fe515194b6e8be5b6dc81e983887ff286e | /chessboard/field.py | 9c8be9506c4a40ab5ab45d55278f78dc59b2df47 | [] | no_license | bverpaalen/ChessBot | 2995b74e5a7df8a12c03613f2d3532c4f3bc4e79 | 5c85c2c4072a519ef19d730dc55b0983827956bb | refs/heads/master | 2020-03-16T16:57:29.557645 | 2018-08-10T12:52:25 | 2018-08-10T12:52:25 | 132,811,577 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 228 | py | class field:
occupied = False
piece = None
def setPiece(self,newPiece):
self.occupied = True
self.piece = newPiece
def removePiece(self):
self.occupied = False
self.piece = None
| [
"brentverpaalen95@hotmail.com"
] | brentverpaalen95@hotmail.com |
b3f6226ff1db8ad02ea3bea71a97230c172a0928 | dbd4e987aaa926c89e4321e1058b029b126fc33d | /seregas/base/migrations/0001_initial.py | b1fce24150edbfc11f5d62e10848147423d10cdf | [] | no_license | serega-s/site-portfolio | 068c7e9edddcc3d6ae106ba39e2eb16531605a8f | a487d5ea6d56635313e14f3868804b4654b6ba63 | refs/heads/main | 2023-06-18T07:08:53.510756 | 2021-07-19T16:28:55 | 2021-07-19T16:28:55 | 387,528,335 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,094 | py | # Generated by Django 3.2.5 on 2021-07-18 09:01
import ckeditor_uploader.fields
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='Post',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('headline', models.CharField(max_length=255)),
('sub_headline', models.CharField(max_length=255)),
('body', ckeditor_uploader.fields.RichTextUploadingField(blank=True, null=True)),
('created', models.DateTimeField(auto_now_add=True)),
('active', models.BooleanField(default=False)),
('featured', models.BooleanField(default=False)),
('thumbnail', models.ImageField(blank=True, default='images/placeholder.jpg', null=True, upload_to='images/')),
('slug', models.SlugField(blank=True, null=True)),
],
),
migrations.CreateModel(
name='Tag',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=255)),
],
),
migrations.CreateModel(
name='Profile',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('first_name', models.CharField(blank=True, max_length=255, null=True)),
('last_name', models.CharField(blank=True, max_length=255, null=True)),
('email', models.CharField(max_length=255)),
('profile_pic', models.ImageField(blank=True, default='/user.png', null=True, upload_to='images/')),
('bio', models.TextField(blank=True, null=True)),
('user', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
migrations.CreateModel(
name='PostComment',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('body', models.TextField(blank=True, null=True)),
('created', models.DateTimeField(auto_now_add=True)),
('author', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='base.profile')),
('post', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='base.post')),
],
),
migrations.AddField(
model_name='post',
name='tags',
field=models.ManyToManyField(blank=True, null=True, to='base.Tag'),
),
]
| [
"comp.it.05@inbox.ru"
] | comp.it.05@inbox.ru |
89e6e4c30b0438cb096106cb251eab4b30d71cd1 | d37df933bd48980f6cf73230b6ffbca964883743 | /gripper/robotiq_close.py | 471943f73a8bbc7a6ca38f61eea56903ad9df4f3 | [] | no_license | ZhangSenyan/global-local-grasp-detection | 1272ffa1a62e9e07e5e51b43e912b413089f47f4 | 82d006ed99ad625e9ad83075b7b84d1ce18ac4d9 | refs/heads/master | 2020-06-24T15:25:11.094366 | 2019-07-29T10:56:23 | 2019-07-29T10:56:23 | 199,000,450 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,597 | py | """--------------------------------------------------------------------
COPYRIGHT 2015 Stanley Innovation Inc.
Software License Agreement:
The software supplied herewith by Stanley Innovation Inc. (the "Company")
for its licensed Segway RMP Robotic Platforms is intended and supplied to you,
the Company's customer, for use solely and exclusively with Stanley Innovation
products. The software is owned by the Company and/or its supplier, and is
protected under applicable copyright laws. All rights are reserved. Any use in
violation of the foregoing restrictions may subject the user to criminal
sanctions under applicable laws, as well as to civil liability for the
breach of the terms and conditions of this license. The Company may
immediately terminate this Agreement upon your use of the software with
any products that are not Stanley Innovation products.
The software was written using Python programming language. Your use
of the software is therefore subject to the terms and conditions of the
OSI- approved open source license viewable at http://www.python.org/.
You are solely responsible for ensuring your compliance with the Python
open source license.
You shall indemnify, defend and hold the Company harmless from any claims,
demands, liabilities or expenses, including reasonable attorneys fees, incurred
by the Company as a result of any claim or proceeding against the Company
arising out of or based upon:
(i) The combination, operation or use of the software by you with any hardware,
products, programs or data not supplied or approved in writing by the Company,
if such claim or proceeding would have been avoided but for such combination,
operation or use.
(ii) The modification of the software by or on behalf of you
(iii) Your use of the software.
THIS SOFTWARE IS PROVIDED IN AN "AS IS" CONDITION. NO WARRANTIES,
WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
\file robotiq_85_test.py
\brief Node for testing Robotiq 85 communication
\Platform: Linux/ROS Indigo
--------------------------------------------------------------------"""
import sys
sys.path.append("/opt/ros/kinetic/lib/python2.7/dist-packages")
import rospy
from robotiq_85_msgs.msg import GripperCmd, GripperStat
class Robotiq85GripperTestClose:
def __init__(self,open1,close1,zero=True):
'''
self._num_grippers = rospy.get_param('~num_grippers',1)
self.open = rospy.get_param('~open',True)
self.close = rospy.get_param('~close', False)
self._prefix = rospy.get_param('~prefix', None)
'''
self._num_grippers = 1
#self.open = False
#self.close = True
self.open = open1
self.close = close1
self.zero = zero
self._prefix = "iqr_"
#self._prefix = None
if (self._num_grippers == 1 and self._prefix is None):
rospy.Subscriber("/gripper/stat", GripperStat, self._update_gripper_stat, queue_size=10)
self._gripper_pub = rospy.Publisher('/gripper/cmd', GripperCmd, queue_size=10)
elif(self._num_grippers == 1 and self._prefix is not None):
# rospy.logwarn('gripper prefix = {}'.format(self._prefix))
rospy.Subscriber("/"+self._prefix+"gripper/stat", GripperStat, self._update_gripper_stat, queue_size=10)
self._gripper_pub = rospy.Publisher('/'+self._prefix+'gripper/cmd', GripperCmd, queue_size=10)
elif (self._num_grippers == 2):
rospy.Subscriber("/left_gripper/stat", GripperStat, self._update_gripper_stat, queue_size=10)
self._left_gripper_pub = rospy.Publisher('/left_gripper/stat', GripperCmd, queue_size=10)
rospy.Subscriber("/right_gripper/stat", GripperStat, self._update_right_gripper_stat, queue_size=10)
self._right_gripper_pub = rospy.Publisher('/right_gripper/cmd', GripperCmd, queue_size=10)
else:
rospy.logerr("Number of grippers not supported (needs to be 1 or 2)")
return
self._gripper_stat = [GripperStat()] * self._num_grippers
self._gripper_cmd = [GripperCmd()] * self._num_grippers
self._run_test()
def _update_gripper_stat(self, stat):
self._gripper_stat[0] = stat
def _update_right_gripper_stat(self, stat):
self._gripper_stat[1] = stat
'''
def _run_test(self):
rospy.logwarn('Running Gripper Test')
test_state = 0
r = rospy.Rate(1)
ready = False
while not (ready):
ready = True
for i in range(self._num_grippers):
ready &= self._gripper_stat[i].is_ready
if (0 == test_state and (self.open or self.close)):
rospy.logwarn('Opening/Closing Gripper')
for i in range(self._num_grippers):
if self.open:
self._gripper_cmd[i].position = 0.85
else:
self._gripper_cmd[i].position = 0.0
self._gripper_cmd[i].speed = 0.02
self._gripper_cmd[i].force = 1.0
test_state = 1
elif (1 == test_state):
success = True
for i in range(self._num_grippers):
if (self._gripper_stat[i].is_moving):
success = False
if success:
test_state = 2
if (self._num_grippers == 1):
self._gripper_pub.publish(self._gripper_cmd[0])
elif (self._num_grippers == 2):
self._left_gripper_pub.publish(self._gripper_cmd[0])
self._right_gripper_pub.publish(self._gripper_cmd[1])
r.sleep()
print("robotiq yes")
'''
def _run_test(self):
# rospy.logwarn('Running Gripper Test')
test_state = 0
r = rospy.Rate(1)
ii=2
while ii != 0:
ii -=1
ready = False
while not (ready):
ready = True
for i in range(self._num_grippers):
ready &= self._gripper_stat[i].is_ready
if (0 == test_state and (self.open or self.close)):
# rospy.logwarn('Opening/Closing Gripper')
for i in range(self._num_grippers):
if self.open:
self._gripper_cmd[i].position = 0.85
else:
if self.zero:
self._gripper_cmd[i].position = 0.0
else:
self._gripper_cmd[i].position = 0.000001
self._gripper_cmd[i].speed = 1
self._gripper_cmd[i].force =30
test_state = 1
elif (1 == test_state):
success = True
for i in range(self._num_grippers):
if (self._gripper_stat[i].is_moving):
success = False
if success:
test_state = 2
if (self._num_grippers == 1):
self._gripper_pub.publish(self._gripper_cmd[0])
elif (self._num_grippers == 2):
self._left_gripper_pub.publish(self._gripper_cmd[0])
self._right_gripper_pub.publish(self._gripper_cmd[1])
r.sleep()
| [
"senyanzhang.sdcn@gmail.com"
] | senyanzhang.sdcn@gmail.com |
d6a9c84ba0facd66343ecba946716985e88babc1 | 3b0946f70154d45953224518797532cc35fa526d | /analog_signal/sinusoid.py | d92d50f6e5f61080e64dd2bd1bc530bc3d135e90 | [] | no_license | Nick801218/DSP-with-python | 7ce01516bb8c352dcafca110e7351557f59c9ab2 | ac2f928b7456fb59ddcacfcad48e4bcda95e1fca | refs/heads/master | 2020-11-27T09:54:58.732572 | 2020-08-31T11:32:29 | 2020-08-31T11:32:29 | 229,390,469 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 333 | py | import numpy as np
import matplotlib.pyplot as plt
a = np.pi
x = np.linspace(0, 1, 44100,endpoint=False)#(1)取樣點必須足夠多,否則弦波會失真
#(2)endpoint=False表不包含1這個點
y = np.cos((2*a*20*x))
plt.plot(x, y)
plt.xlabel('t(sec)')
plt.ylabel('Amplitude')
plt.show() | [
"nick757416@gmail.com"
] | nick757416@gmail.com |
c9ec5f33d7924b95288fb11ac0df3df6706f051d | 4b97f36243592f44c7d48b1205c91fd3be4b298d | /map.py | 07de86827fcfea0a7bf5d28c34085d8256083e0c | [] | no_license | Rohit22014/Python-Project3-Map | 8eff2eae9de3dda04046e99610c7bb66b847b26e | c6dec7be69015c1c0a9bb657e63f8d91f0fbef92 | refs/heads/master | 2022-11-19T16:02:27.453306 | 2020-07-18T15:12:56 | 2020-07-18T15:12:56 | 280,681,168 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,038 | py | import folium
import pandas
data = pandas.read_csv("Volcanoes.txt")
lat = list(data["LAT"])
lon = list(data["LON"])
elev = list(data["ELEV"])
name = list(data["NAME"])
html = """
Volcano name:<br>
<a href="https://www.google.com/search?q=%%22%s%%22" target="_blank">%s</a><br>
Height: %s m
"""
def color_producer(elevation):
if elevation < 1000:
return 'green'
elif 1000<= elevation <3000:
return 'orange'
else:
return 'red'
map = folium.Map(location=[38.58, -99.09], zoom_start=5, tiles="Stamen Terrain")
fg = folium.FeatureGroup(name="My Map")
for lt, ln, el, name in zip(lat, lon, elev, name):
iframe = folium.IFrame(html=html % (name, name, el), width=200, height=100)
fg.add_child(folium.Marker(location=[lt, ln], radius= 6, popup=folium.Popup(iframe), icon=folium.Icon(color=color_producer(el))))
fg.add_child(folium.GeoJson(data=(open('world.json', 'r', encoding='utf-8-sig').read())))
map.add_child(fg)
map.add_child(folium.LayerControl())
map.save("Map_html_popup_advanced.html") | [
"rohitdinanath@gmail.com"
] | rohitdinanath@gmail.com |
0f03b344ae5bdbc98433675666b26552361f18c3 | 17689c3fe0d3ceaaaef5e76683a05e62ec6194cd | /src/staldates/VisualsSystem.py | 4d1073f34a446265d89203adc49a592faeef71d8 | [] | no_license | staldates/av-control | 974be6e1e51e27cbfd571ac8bd6556a62a555175 | 4a88a619f8bbfe2635739f53aa09a5cf910ea067 | refs/heads/master | 2021-09-18T16:03:59.225021 | 2018-11-26T20:16:21 | 2018-11-26T20:16:21 | 18,242,438 | 1 | 1 | null | 2020-09-22T19:42:54 | 2014-03-29T14:05:04 | Python | UTF-8 | Python | false | false | 9,295 | py | from avx.devices.net.atem import VideoSource, MessageTypes as ATEMMessageTypes
from avx.devices.net.atem.utils import NotInitializedException
from avx.devices.net.hyperdeck import TransportState, MessageTypes as HyperDeckMessageTypes
from PySide.QtCore import QObject, Signal
from PySide.QtGui import QIcon
from staldates.ui.widgets.Dialogs import errorBox
def with_atem(func):
def inner(elf, *args):
if elf.atem:
try:
func(elf, *args)
except NotInitializedException:
errorBox("Controller is not connected to the visuals switcher!")
return inner
class Input(QObject):
changedState = Signal()
def __init__(self, source, label, icon=None):
super(Input, self).__init__()
self.source = source
self.label = label
self.icon = icon
self.isLive = False
self.isPreview = False
self.canBeUsed = True
def set_label(self, new_label):
if new_label != self.label:
self.label = new_label
self.changedState.emit()
def set_live(self, isLive):
if isLive != self.isLive:
self.isLive = isLive
self.changedState.emit()
def set_preview(self, isPreview):
if isPreview != self.isPreview:
self.isPreview = isPreview
self.changedState.emit()
def _default_inputs():
return {source: Input(source, name, icon) for (source, name, icon) in [
(VideoSource.INPUT_1, "Camera 1", QIcon(":icons/camera-video")),
(VideoSource.INPUT_2, "Camera 2", QIcon(":icons/camera-video")),
(VideoSource.INPUT_3, "Camera 3", QIcon(":icons/camera-video")),
(VideoSource.INPUT_4, "DVD", QIcon(":icons/media-optical")),
(VideoSource.INPUT_5, "Visuals PC", QIcon(":icons/computer")),
(VideoSource.INPUT_6, "PC Video", QIcon(":icons/video-display")),
(VideoSource.BLACK, "Black", QIcon(":icons/blackscreen")),
(VideoSource.ME_1_PROGRAM, "Main mix", None),
]}
class Output(QObject):
changedState = Signal()
def __init__(self, label, label_source):
super(Output, self).__init__()
self.label = label
self.source = None
self.label_source = label_source
# Change the note of which source is being sent to this aux
def set_source(self, source):
if source != self.source:
self.source = source
self.changedState.emit()
def set_label(self, label):
if label != self.label:
self.label = label
self.changedState.emit()
def __repr__(self, *args, **kwargs):
return "<Output: {} (Internal ID {}) Showing: {} >".format(self.label, self.label_source, self.source)
def _default_outputs():
return {
0: Output("Church", VideoSource.AUX_1),
1: Output("Record", VideoSource.AUX_2),
2: Output("Stage", VideoSource.AUX_3),
3: Output("Gallery", VideoSource.AUX_4),
4: Output("Aux 5", VideoSource.AUX_5),
5: Output("Aux 6", VideoSource.AUX_6),
}
class DSK(QObject):
changedState = Signal()
def __init__(self, idx):
super(DSK, self).__init__()
self.idx = idx
self.onAir = False
self.rate = 1
def set_on_air(self, onAir):
if self.onAir != onAir:
self.onAir = onAir
self.changedState.emit()
def set_rate(self, rate):
if self.rate != rate:
self.rate = rate
self.changedState.emit()
def __repr__(self, *args, **kwargs):
return "<DSK #{} (on air: {}) >".format(self.idx, self.onAir)
class Transition(QObject):
changedProps = Signal()
def __init__(self):
super(Transition, self).__init__()
self.rate = 1
def set_rate(self, rate):
if self.rate != rate:
self.rate = rate
self.changedProps.emit()
class MixTransition(Transition):
pass
class FadeToBlack(QObject):
activeChanged = Signal(bool)
rateChanged = Signal(int)
def __init__(self):
super(FadeToBlack, self).__init__()
self.active = False
self.rate = 25
def set_active(self, active):
if self.active != active:
self.active = active
self.activeChanged.emit(active)
def set_rate(self, rate):
if self.rate != rate:
self.rate = rate
self.rateChanged.emit(rate)
class SwitcherState(QObject):
inputsChanged = Signal()
connectionChanged = Signal(bool)
def __init__(self, atem):
super(SwitcherState, self).__init__()
self.atem = atem
self.inputs = _default_inputs()
self.outputs = _default_outputs()
self.dsks = {0: DSK(1), 1: DSK(2)}
self.ftb = FadeToBlack()
self.mixTransition = MixTransition()
self.connected = False
self._initFromAtem()
def _initFromAtem(self):
if self.atem:
try:
self.updateConnectedness(self.atem.isConnected())
self.updateInputs(self.atem.getInputs())
self.updateTally(self.atem.getTally())
self.updateOutputs(self.atem.getAuxState())
self.updateDSKs(self.atem.getDSKState())
self.updateFTBState(self.atem.getFadeToBlackState(me=1))
self.updateFTBRate(self.atem.getFadeToBlackProperties(me=1)['rate'])
self.updateMixTransitionProps(self.atem.getMixTransitionProps(me=1))
except NotInitializedException:
pass
def updateConnectedness(self, isConnected):
if isConnected != self.connected:
self.connected = isConnected
self.connectionChanged.emit(isConnected)
def updateInputs(self, inputs):
for source, props in inputs.iteritems():
if source in self.inputs and 'name_long' in props:
self.inputs[source].set_label(props['name_long'])
elif 'name_long' in props:
self.inputs[source] = Input(source, props['name_long'], None)
self.inputsChanged.emit()
for output in self.outputs.values():
if output.label_source in inputs and 'name_long' in inputs[output.label_source]:
output.set_label(inputs[output.label_source]['name_long'])
def updateTally(self, tallyMap):
for source, tally in tallyMap.iteritems():
if source in self.inputs:
self.inputs[source].set_preview(tally['prv'])
self.inputs[source].set_live(tally['pgm'])
def updateOutputs(self, auxMap):
for aux, source in auxMap.iteritems():
if aux in self.outputs:
if source in self.inputs:
self.outputs[aux].set_source(self.inputs[source])
else:
print "BAD THINGS"
self.outputs[aux].set_source(source)
def updateDSKs(self, dskMap):
for idx, dsk in dskMap.iteritems():
if idx in self.dsks:
self.dsks[idx].set_on_air(dsk['on_air'])
self.dsks[idx].set_rate(dsk['rate'])
def updateFTBState(self, state):
active = state and (state['full_black'] or state['in_transition'])
self.ftb.set_active(active)
def updateFTBRate(self, rate):
self.ftb.set_rate(rate)
def updateMixTransitionProps(self, props):
if 'rate' in props:
self.mixTransition.set_rate(props['rate'])
def handleMessage(self, msgType, data):
if msgType == ATEMMessageTypes.TALLY:
self.updateTally(data)
elif msgType == ATEMMessageTypes.AUX_OUTPUT_MAPPING:
self.updateOutputs(data)
elif msgType == ATEMMessageTypes.DSK_STATE:
self.updateDSKs(data)
elif msgType == ATEMMessageTypes.INPUTS_CHANGED:
self.updateInputs(self.atem.getInputs())
elif msgType == ATEMMessageTypes.FTB_CHANGED:
if 0 in data:
self.updateFTBState(data[0])
elif msgType == ATEMMessageTypes.FTB_RATE_CHANGED:
if 0 in data:
self.updateFTBRate(data[0])
elif msgType == ATEMMessageTypes.TRANSITION_MIX_PROPERTIES_CHANGED:
if 0 in data:
self.updateMixTransitionProps(data[0])
elif msgType == ATEMMessageTypes.ATEM_CONNECTED:
self._initFromAtem()
elif msgType == ATEMMessageTypes.ATEM_DISCONNECTED:
self.updateConnectedness(False)
class HyperdeckState(QObject):
transportChange = Signal(dict)
clipsListChange = Signal(dict)
def __init__(self, hyperdeck):
super(HyperdeckState, self).__init__()
self.deck = hyperdeck
self.clip_listing = {}
self.transport = {
"status": TransportState.STOPPED
}
if self.deck:
self.transport = self.deck.getTransportState()
def handleMessage(self, msgType, data):
if msgType == HyperDeckMessageTypes.TRANSPORT_STATE_CHANGED:
self.transport = data
self.transportChange.emit(data)
if msgType == HyperDeckMessageTypes.CLIP_LISTING:
self.clip_listing = data
self.clipsListChange.emit(data)
| [
"jamesremuscat@gmail.com"
] | jamesremuscat@gmail.com |
cfefb3cb18f29c4d7e544fd3720e77b631b0f6a5 | 932642aca2402392f727c5e60eb23210adc9bc7f | /koala/db/api.py | cb6678b6bacdd67583e4720cb259ba4816e5d56a | [] | no_license | thawornwit/koala | 4114eee0bd05fb9e1cf1994022f81c5e7a4f5f04 | 99006672d2b8e25b1489e297d03f9cb963ec6bf1 | refs/heads/master | 2020-04-12T10:54:40.681302 | 2015-11-09T03:56:06 | 2015-11-09T03:56:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,258 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# filename : api.py<2>
# created at : 2013-07-01 21:09:07
import abc
from koala.openstack.common.db import api as db_api
_BACKEND_MAPPING = {'sqlalchemy': 'koala.db.sqlalchemy.api'}
IMPL = db_api.DBAPI(backend_mapping=_BACKEND_MAPPING)
def get_instance():
"""Return a DB API instance."""
return IMPL
class Connection(object):
"""Base db class."""
__metaclass__ = abc.ABCMeta
@abc.abstractmethod
def __init__(self):
"""Constructor"""
@abc.abstractmethod
def price_get_by_id(self, id):
raise NotImplementedError('Prices not implemented.')
@abc.abstractmethod
def price_get_by_resource(self, resource_type, region):
raise NotImplementedError('Prices not implemented.')
@abc.abstractmethod
def prices_get_all(self):
raise NotImplementedError('Prices not implemented.')
@abc.abstractmethod
def price_create(self, value):
raise NotImplementedError('Prices not implemented.')
@abc.abstractmethod
def price_update_by_id(self, id, value):
raise NotImplementedError('Prices not implemented.')
@abc.abstractmethod
def price_delete_by_id(self, id):
raise NotImplementedError('Prices not implemented.')
@abc.abstractmethod
def resources_get_all(self):
raise NotImplementedError('Resources not implemented.')
@abc.abstractmethod
def resource_get_by_id(self, resource_id):
raise NotImplementedError('Resources not implemented.')
@abc.abstractmethod
def resource_create(self, value):
raise NotImplementedError('Resources not implemented.')
@abc.abstractmethod
def resource_update_by_id(self, resource_id, value):
raise NotImplementedError('Resources not implemented.')
@abc.abstractmethod
def records_get_by_resource_id(self, resource_id):
raise NotImplementedError('Records not implemented.')
@abc.abstractmethod
def record_get_by_last(self, resource_id):
raise NotImplementedError('Records not implemented.')
@abc.abstractmethod
def record_create(self, value):
raise NotImplementedError('Records not implemented.')
| [
"fandeliang@letv.com"
] | fandeliang@letv.com |
1c0a5d1b35fec3aea62c94f8bbf9b9c3a2720fbb | 9719df2dc131aa1189acef7273bee090290becd6 | /Chapter 11/E6.py | e4dd52107ac0dc81baf55df8f39f90d0cbb908ec | [
"MIT"
] | permissive | hanzhi713/thinkcs-python3-solutions | df72e9d76779a5ffb9a8f9a9316c672a021feece | 290b34df7d9c7f45daebd1af6017a03828ec8eb4 | refs/heads/master | 2020-03-31T10:03:03.301775 | 2018-10-08T17:41:10 | 2018-10-08T17:41:10 | 152,120,690 | 13 | 7 | null | null | null | null | UTF-8 | Python | false | false | 137 | py | def scalar_mult(s, v):
resul = []
for item in v:
resul.append(item * s)
return resul
print(scalar_mult(5, [1, 2]))
| [
"hanzhi713@163.com"
] | hanzhi713@163.com |
0ff53cc8e5050fb1652c5c0583fabbdf1d19a37e | 6df1f35d2b63830d682ab6e887b4922a60a905f7 | /src/media_list/viewsets/__init__.py | 2ebadd83f3fb409060aaec1b7df984fdf892a513 | [
"MIT"
] | permissive | mincem/media_list | b80a29eea9d87258e5b75034f91711f6bd22ab5c | c8dc12d766e38d5a088ec6d631b66fcbd72005bf | refs/heads/master | 2023-08-04T13:10:58.884238 | 2023-07-05T23:29:39 | 2023-07-05T23:29:39 | 179,984,832 | 0 | 0 | MIT | 2023-09-03T00:22:58 | 2019-04-07T15:24:33 | HTML | UTF-8 | Python | false | false | 159 | py | from .viewset import Viewset
from .manga_viewset import manga_viewset
from .movie_viewset import movie_viewset
from .manga_api_viewset import MangaApiViewSet
| [
"matiasincem@gmail.com"
] | matiasincem@gmail.com |
65754524082e90b5dc4cb9e7b4fcf31e73adee03 | f57b7192ae6eaca01538f40598a017512a0ed094 | /venv/bin/atm | d9583b0e48de255152c0e420255c0b5e57da81d1 | [] | no_license | darya-baranovskaya/Calculator-for-predicting-recurrence-of-Cushing-disease | c12389b5040a79dd61f7b4f2f40791fb058ef613 | 5395932ff9adddeca9d451b0cf23e01cb2e09100 | refs/heads/master | 2020-07-10T19:39:33.212498 | 2019-08-26T08:34:50 | 2019-08-26T08:34:50 | 204,349,945 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 412 | #!/Users/daryabaranovskaya/Django/pr2/venv/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'automium==0.2.6','console_scripts','atm'
__requires__ = 'automium==0.2.6'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('automium==0.2.6', 'console_scripts', 'atm')()
)
| [
"daryabaranovskaya@Daras-MacBook-Pro.local"
] | daryabaranovskaya@Daras-MacBook-Pro.local | |
0f3add105d1072828de995c41fe4f79d5c9ec94f | 4d330238c7eb97fac95f3674ab4ddb5114fdf3d7 | /biosteam/units/auxiliary.py | f446902fd6363ba65c9a0adae2cd4ba9307fa988 | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA",
"MIT"
] | permissive | BioSTEAMDevelopmentGroup/biosteam | d064c7d5a16d79a966caa68ed3f4cca089f9c49c | 0501214b7e7fb16b89d1e45c94938b0e08b1331f | refs/heads/master | 2023-08-20T04:47:10.816994 | 2023-08-12T19:22:20 | 2023-08-12T19:22:20 | 164,639,830 | 115 | 29 | NOASSERTION | 2023-06-10T15:56:37 | 2019-01-08T12:02:16 | Python | UTF-8 | Python | false | false | 4,071 | py | # -*- coding: utf-8 -*-
"""
This module contains functions for adding auxliary unit operations.
"""
import biosteam as bst
__all__ = ('Auxiliary',)
class Auxiliary:
"""Abstract class for light-weight auxiliary unit. The class should
compute all results during initialization."""
__slots__ = (
'owner',
'auxname',
'auxiliary_units',
'power_utility',
'heat_utilities',
'baseline_purchase_costs',
'purchase_costs',
'installed_costs',
'F_M', 'F_D', 'F_P', 'F_BM',
)
add_power_utility = bst.Unit.add_power_utility
add_heat_utility = bst.Unit.add_heat_utility
create_heat_utility = bst.Unit.create_heat_utility
def __init__(self):
self.power_utility = bst.PowerUtility()
self.heat_utilities = []
self.baseline_purchase_costs = {}
self.purchase_costs = {}
self.installed_costs = {}
self.F_M = {}
self.F_D = {}
self.F_P = {}
self.F_BM = {}
def _setup(self):
results = (self.baseline_purchase_costs, self.purchase_costs,
self.installed_costs, self.F_M, self.F_D, self.F_P,
self.F_BM)
for i in results: i.clear()
for i in self.heat_utilities: i.empty()
self.heat_utilities.clear()
self.power_utility.empty()
def _load_costs(self):
r"""
Calculate and save free on board (f.o.b.) purchase costs and
installed equipment costs (i.e. bare-module cost) for each item in the
:attr:`~Auxiliary.baseline_purchase_costs` dictionary.
Notes
-----
As explained in [1]_, the f.o.b. purchase cost is given by:
.. math::
C_{P} = C_{Pb}F_{D}F_{P}F_{M}
And the installed equipment cost is given by:
.. math::
C_{BM} = C_{Pb} (F_{BM} + F_{D}F_{P}F_{M} - 1)
Where:
* :math:`C_{Pb}`: Baseline purchase cost.
* :math:`F_{BM}`: Bare module factor.
* :math:`F_{D}`: Design factor.
* :math:`F_{P}`: Pressure factor.
* :math:`F_{M}`: Material factor.
Values for the bare-module, design, pressure, and material factors of
each equipment should be stored in the :attr:`~Auxiliary.F_BM`, :attr:`~Auxiliary.F_D`,
:attr:`~Auxiliary.F_P`, and :attr:`~Auxiliary.F_M` dictionaries.
Warning
-------
If an item is listed in the :attr:`~Auxiliary.purchase_costs` dictionary but not in the
:attr:`~Auxiliary.baseline_purchase_costs` dictionary, the baseline purchase cost is
assumed to be the same as the purchase cost.
References
----------
.. [1] Seider, W. D., Lewin, D. R., Seader, J. D., Widagdo, S., Gani, R., & Ng, M. K. (2017). Product and Process Design Principles. Wiley. Cost Accounting and Capital Cost Estimation (Chapter 16)
"""
F_BM = self.F_BM
F_D = self.F_D
F_P = self.F_P
F_M = self.F_M
baseline_purchase_costs = self.baseline_purchase_costs
purchase_costs = self.purchase_costs
installed_costs = self.installed_costs
# Load main costs
for i in purchase_costs:
if i not in baseline_purchase_costs:
baseline_purchase_costs[i] = purchase_costs[i]
for name, Cpb in baseline_purchase_costs.items():
if name in installed_costs and name in purchase_costs:
continue # Assume costs already added elsewhere using another method
F = F_D.get(name, 1.) * F_P.get(name, 1.) * F_M.get(name, 1.)
try:
installed_costs[name] = Cpb * (F_BM[name] + F - 1.)
except KeyError:
F_BM[name] = 1.
installed_costs[name] = purchase_costs[name] = Cpb * F
else:
purchase_costs[name] = Cpb * F
| [
"yoelcortes@gmail.com"
] | yoelcortes@gmail.com |
7ddb3464186dc1c2f4ae4237836b95d8ab413501 | 54d300d8056f8c4bbd43efa58c3aea736db752e8 | /actions/models.py | caf3bce7195f6e961e2a9caaf20e506bd4012a3b | [] | no_license | nikhilpatil2532000/social-web | 7935c04541514d76e1e474e42ace230342076483 | 6bdbb2a8813f2891fbc12b4900135beef69feae0 | refs/heads/master | 2023-01-05T01:45:31.663992 | 2020-11-07T08:08:32 | 2020-11-07T08:08:32 | 310,792,445 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,057 | py | from django.db import models
from django.db import models
from django.contrib.contenttypes.models import ContentType
from django.contrib.contenttypes.fields import GenericForeignKey
class Action(models.Model):
user = models.ForeignKey('auth.User',
related_name='actions',
db_index=True,
on_delete=models.CASCADE)
verb = models.CharField(max_length=255)
target_ct = models.ForeignKey(ContentType, blank=True,
null=True,
related_name='target_obj',
on_delete=models.CASCADE)
target_id = models.PositiveIntegerField(null=True,
blank=True,
db_index=True)
target = GenericForeignKey('target_ct', 'target_id')
created = models.DateTimeField(auto_now_add=True,
db_index=True)
class Meta:
ordering = ('-created',)
| [
"nikhilpatil2532000@gmail.com"
] | nikhilpatil2532000@gmail.com |
03a7ae02ea27dec219f9acb55a5cc9301ed4555b | 1c515be70cb57f16f4c2f5af3fcde82f6d851eba | /removeDuplicate.py | b4721d20668a4afc7c525ad72d17bd98b491b384 | [] | no_license | Bladewalker007/DataStructure | eb83302622c9f147bd3107870a7d0f54832344fd | 11efc938b55b9b9fdb99707a11adfbb6ae61e51e | refs/heads/master | 2021-05-18T19:25:04.533061 | 2020-03-30T17:21:34 | 2020-03-30T17:21:34 | 251,376,815 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 171 | py | ls = [0,0,1,1,1,2,2,3,3,4]
k,i=ls[0],1
while i<len(ls):
if k==ls[i]:
print("Del ",ls[i])
del ls[i]
if i<len(ls):
k=ls[i]
i+=1
print(ls) | [
"hkumar5558@gmail.com"
] | hkumar5558@gmail.com |
6e9db6796f08e43361adfc1cad26f7056e9af0fc | 1d952a0a28222c07e2a1f8e30739a6425f241917 | /etc/sample.wsgi | 63fdcdd296795cf0ca16b66577ba0a4ecd4283a4 | [
"MIT"
] | permissive | Apreche/yummy | 23b2b0268c64a990891bad2a24a46b669591f76f | 2049b7730585c284fe4765eb485936cb7ed27079 | refs/heads/master | 2020-05-19T12:10:54.106015 | 2010-12-21T17:35:22 | 2010-12-21T17:35:22 | 1,175,870 | 4 | 0 | null | 2016-03-24T23:40:56 | 2010-12-17T01:17:27 | JavaScript | UTF-8 | Python | false | false | 574 | wsgi | import sys, site, os
ALLDIRS = [
'/necessary/paths/here/',
'/more/necessary/paths/here/',
'/more/necessary/paths/here/too/',
]
prev_sys_path = list(sys.path)
for directory in ALLDIRS:
site.addsitedir(directory)
new_sys_path = []
for item in list(sys.path):
if item not in prev_sys_path:
new_sys_path.append(item)
sys.path.remove(item)
sys.path[:0] = new_sys_path
from django.core.handlers.wsgi import WSGIHandler
os.environ["DJANGO_SETTINGS_MODULE"] = 'yummy.settings'
os.environ["CELERY_LOADER"] = "django"
application = WSGIHandler()
| [
"apreche@frontrowcrew.com"
] | apreche@frontrowcrew.com |
f389441237396496a1f375d5ed95c01c58064c1e | 13724823af94e5e5351ffa42ca896397f12f1f05 | /install/lamachine/lib/python3.5/site-packages/clam/common/data.py | 5e35a55f97e5b69f4ff27117d419bdb6913041f5 | [] | no_license | AymanYac/Neonec-Deep-Classsifier | 21e00cb0c5561f4ac22968f748ada0aa299e0a94 | a7978f434cc09d9e00a7df5d391bae77daf17637 | refs/heads/master | 2022-06-08T12:44:10.203386 | 2018-07-06T15:28:00 | 2018-07-06T15:28:00 | 139,996,406 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 107,269 | py | #!/usr/bin/env python
#-*- coding:utf-8 -*-
###############################################################
# CLAM: Computational Linguistics Application Mediator
# -- CLAM Data API --
# by Maarten van Gompel (proycon)
# https://proycon.github.io/clam
#
# Centre for Language and Speech Technology / Language Machines
# Radboud University Nijmegen
#
# Licensed under GPLv3
#
###############################################################
#pylint: disable=wrong-import-order
from __future__ import print_function, unicode_literals, division, absolute_import
import sys
import requests
import os.path
import io
import json
import time
from copy import copy
from lxml import etree as ElementTree
if sys.version < '3':
from StringIO import StringIO #pylint: disable=import-error
else:
from io import StringIO, BytesIO #pylint: disable=ungrouped-imports
import clam.common.parameters
import clam.common.status
import clam.common.util
import clam.common.viewers
VERSION = '2.2.5'
#dirs for services shipped with CLAM itself
CONFIGDIR = os.path.abspath(os.path.dirname(__file__) + '/../config/')
WRAPPERDIR = os.path.abspath(os.path.dirname(__file__) + '/../wrappers/')
#clam.common.formats is deliberately imported _at the end_
DISALLOWINSHELLSAFE = ('|','&',';','!','<','>','{','}','`','\n','\r','\t')
CUSTOM_FORMATS = [] #will be injected
class BadRequest(Exception):
def __init__(self):
super(BadRequest, self).__init__()
def __str__(self):
return "Bad Request"
class NotFound(Exception):
"""Raised on 404 - Not Found Errors"""
def __init__(self, msg=""):
self.msg = msg
super(NotFound, self).__init__()
def __str__(self):
return "Not Found: " + self.msg
class PermissionDenied(Exception):
"""Raised on 403 - Permission Denied Errors (but only if no CLAM XML response is provided)"""
def __init__(self, msg = ""):
self.msg = msg
super(PermissionDenied, self).__init__()
def __str__(self):
if isinstance(clam.common.data,CLAMData):
return "Permission Denied"
else:
return "Permission Denied: " + self.msg
class ServerError(Exception):
"""Raised on 500 - Internal Server Error. Indicates that something went wrong on the server side."""
def __init__(self, msg = ""):
self.msg = msg
super(ServerError, self).__init__()
def __str__(self):
return "Server Error: " + self.msg
class AuthRequired(Exception):
"""Raised on 401 - Authentication Required error. Service requires authentication, pass user credentials in CLAMClient constructor."""
def __init__(self, msg = ""):
self.msg = msg
super(AuthRequired, self).__init__()
def __str__(self):
return "Authorization Required: " + self.msg
class NoConnection(Exception):
def __init__(self):
super(NoConnection, self).__init__()
def __str__(self):
return "Can't establish a connection with the server"
class UploadError(Exception):
def __init__(self, msg = ""):
self.msg = msg
super(UploadError, self).__init__()
def __str__(self):
return "Error during Upload: " + self.msg
class ParameterError(Exception):
"""Raised on Parameter Errors, i.e. when a parameter does not validate, is missing, or is otherwise set incorrectly."""
def __init__(self, msg = ""):
self.msg = msg
super(ParameterError, self).__init__()
def __str__(self):
return "Error setting parameter: " + self.msg
class TimeOut(Exception):
def __init__(self):
super(TimeOut, self).__init__()
def __str__(self):
return "Connection with server timed-out"
if sys.version < '3':
#Python 2 used IOError instead, create a subclass
class FileNotFoundError(IOError): #pylint: disable=redefined-builtin
pass
def processhttpcode(code, allowcodes=None):
if allowcodes is None: allowcodes = ()
if not isinstance(code, int): code = int(code)
if (code >= 200 and code <= 299) or code in allowcodes:
return code
elif code == 400:
raise BadRequest()
elif code == 401:
raise AuthRequired()
elif code == 403:
raise PermissionDenied()
elif code == 404:
raise NotFound()
elif code == 500:
raise ServerError()
else:
raise UploadError()
def parsexmlstring(node):
if sys.version < '3' and isinstance(node,unicode): #pylint: disable=undefined-variable
return ElementTree.parse(StringIO(node.encode('utf-8'))).getroot()
elif sys.version >= '3' and isinstance(node,str):
return ElementTree.parse(BytesIO(node.encode('utf-8'))).getroot()
elif sys.version < '2' and isinstance(node,str):
return ElementTree.parse(StringIO(node)).getroot()
elif sys.version >= '3' and isinstance(node,bytes):
return ElementTree.parse(BytesIO(node)).getroot()
else:
raise Exception("Expected XML string, don't know how to parse type " + str(type(node)))
class FormatError(Exception):
"""This Exception is raised when the CLAM response is not in the valid CLAM XML format"""
def __init__(self, value):
self.value = value
super(FormatError,self).__init__()
def __str__(self):
return "Not a valid CLAM XML response"
class HTTPError(Exception):
"""This Exception is raised when certain data (such a metadata), can't be retrieved over HTTP"""
pass
class AuthenticationRequired(Exception):
"""This Exception is raised when authentication is required but has not been provided"""
pass
class CLAMFile:
basedir = ''
def __init__(self, projectpath, filename, loadmetadata = True, client = None, requiremetadata=False):
"""Create a CLAMFile object, providing immediate transparent access to CLAM Input and Output files, remote as well as local! And including metadata."""
self.remote = (projectpath[0:7] == 'http://' or projectpath[0:8] == 'https://')
self.projectpath = projectpath
self.filename = filename
self.metadata = None
self.client = client
if loadmetadata:
try:
self.loadmetadata()
except IOError:
if requiremetadata:
raise
except HTTPError:
if requiremetadata:
raise
self.viewers = []
self.converters = []
def attachviewers(self, profiles):
"""Attach viewers *and converters* to file, automatically scan all profiles for outputtemplate or inputtemplate"""
if self.metadata:
template = None
for profile in profiles:
if isinstance(self, CLAMInputFile):
for t in profile.input:
if self.metadata.inputtemplate == t.id:
template = t
break
elif isinstance(self, CLAMOutputFile) and self.metadata and self.metadata.provenance:
for t in profile.outputtemplates():
if self.metadata.provenance.outputtemplate_id == t.id:
template = t
break
else:
raise NotImplementedError #Is ok, nothing to implement for now
if template:
break
if template and template.viewers:
for viewer in template.viewers:
self.viewers.append(viewer)
if template and template.converters:
for converter in template.converters:
self.converters.append(converter)
def metafilename(self):
"""Returns the filename for the metadata file (not full path). Only used for local files."""
metafilename = os.path.dirname(self.filename)
if metafilename: metafilename += '/'
metafilename += '.' + os.path.basename(self.filename) + '.METADATA'
return metafilename
def loadmetadata(self):
"""Load metadata for this file. This is usually called automatically upon instantiation, except if explicitly disabled. Works both locally as well as for clients connecting to a CLAM service."""
if not self.remote:
metafile = self.projectpath + self.basedir + '/' + self.metafilename()
if os.path.exists(metafile):
f = io.open(metafile, 'r',encoding='utf-8')
xml = "".join(f.readlines())
f.close()
else:
raise IOError(2, "No metadata found, expected " + metafile )
else:
if self.client:
requestparams = self.client.initrequest()
else:
requestparams = {}
response = requests.get(self.projectpath + self.basedir + '/' + self.filename + '/metadata', **requestparams)
if response.status_code != 200:
extramsg = ""
if not self.client: extramsg = "No client was associated with this CLAMFile, associating a client is necessary when authentication is needed"
raise HTTPError(2, "Can't download metadata for " + self.filename + ". " + extramsg)
xml = response.text
#parse metadata
try:
self.metadata = CLAMMetaData.fromxml(xml, self) #returns CLAMMetaData object (or child thereof)
except ElementTree.XMLSyntaxError:
raise ValueError("Metadata is not XML! Contents: " + xml)
def __iter__(self):
"""Read the lines of the file, one by one without loading the file into memory."""
if not self.remote:
fullpath = self.projectpath + self.basedir + '/' + self.filename
if not os.path.exists(fullpath):
raise FileNotFoundError("No such file or directory: " + fullpath )
if self.metadata and 'encoding' in self.metadata:
for line in io.open(fullpath, 'r', encoding=self.metadata['encoding']).readlines():
yield line
else:
for line in io.open(fullpath, 'rb').readlines():
yield line
else:
fullpath = self.projectpath + self.basedir + '/' + self.filename
if self.client:
requestparams = self.client.initrequest()
else:
requestparams = {}
requestparams['stream'] = True
response = requests.get(self.projectpath + self.basedir + '/' + self.filename, **requestparams)
if self.metadata and 'encoding' in self.metadata:
for line in response.iter_lines():
#\n is stripped, re-add (should also work fine on binary files)
if sys.version[0] < '3' and not isinstance(line,unicode): #pylint: disable=undefined-variable
yield unicode(line, self.metadata['encoding']) + "\n" #pylint: disable=undefined-variable
elif sys.version[0] >= '3' and not isinstance(line,str):
yield str(line, self.metadata['encoding']) + "\n"
else:
yield line + b'\n'
else:
CHUNKSIZE = 64*1024
for line in response.iter_content(CHUNKSIZE):
yield line
def delete(self):
"""Delete this file"""
if not self.remote:
if not os.path.exists(self.projectpath + self.basedir + '/' + self.filename):
return False
else:
os.unlink(self.projectpath + self.basedir + '/' + self.filename)
#Remove metadata
metafile = self.projectpath + self.basedir + '/' + self.metafilename()
if os.path.exists(metafile):
os.unlink(metafile)
#also remove any .*.INPUTTEMPLATE.* links that pointed to this file: simply remove all dead links
for linkf,realf in clam.common.util.globsymlinks(self.projectpath + self.basedir + '/.*.INPUTTEMPLATE.*'):
if not os.path.exists(realf):
os.unlink(linkf)
return True
else:
if self.client:
requestparams = self.client.initrequest()
else:
requestparams = {}
requests.delete( self.projectpath + self.basedir + '/' + self.filename, **requestparams)
return True
def readlines(self):
"""Loads all lines in memory"""
return list(iter(self))
def read(self):
"""Loads all lines in memory"""
return "\n".join(iter(self))
def copy(self, target, timeout=500):
"""Copy or download this file to a new local file"""
if self.metadata and 'encoding' in self.metadata:
with io.open(target,'w', encoding=self.metadata['encoding']) as f:
for line in self:
f.write(line)
else:
with io.open(target,'wb') as f:
for line in self:
if sys.version < '3' and isinstance(line,unicode): #pylint: disable=undefined-variable
f.write(line.encode('utf-8'))
elif sys.version >= '3' and isinstance(line,str):
f.write(line.encode('utf-8'))
else:
f.write(line)
def validate(self):
"""Validate this file. Returns a boolean."""
if self.metadata:
return self.metadata.validate()
else:
return False
def __str__(self):
return self.projectpath + self.basedir + '/' + self.filename
class CLAMInputFile(CLAMFile):
basedir = "input"
class CLAMOutputFile(CLAMFile):
basedir = "output"
def getclamdata(filename, custom_formats=None):
global CUSTOM_FORMATS #pylint: disable=global-statement
"""This function reads the CLAM Data from an XML file. Use this to read
the clam.xml file from your system wrapper. It returns a CLAMData instance.
If you make use of CUSTOM_FORMATS, you need to pass the CUSTOM_FORMATS list as 2nd argument.
"""
f = io.open(filename,'r',encoding='utf-8')
xml = f.read(os.path.getsize(filename))
f.close()
if custom_formats:
CUSTOM_FORMATS = custom_formats #dependency injection for CUSTOM_FORMATS
return CLAMData(xml, None, True)
def processparameter(postdata, parameter, user=None):
errors = False
commandlineparam = ""
if parameter.access(user):
try:
postvalue = parameter.valuefrompostdata(postdata)
except Exception: #pylint: disable=broad-except
clam.common.util.printlog("Invalid value, unable to interpret parameter " + parameter.id + ", ...")
parameter.error = "Invalid value, unable to interpret"
return True, parameter, ''
if postvalue is not None:
clam.common.util.printdebug("Setting parameter '" + parameter.id + "' to: " + repr(postvalue))
if parameter.set(postvalue): #may generate an error in parameter.error
p = parameter.compilearg() #shell-safe
if p:
commandlineparam = p
else:
if not parameter.error: parameter.error = "Something undefined went wrong whilst setting this parameter!" #shouldn't happen
clam.common.util.printlog("Unable to set " + parameter.id + ": " + parameter.error)
errors = True
elif parameter.required:
#Not all required parameters were filled!
parameter.error = "This parameter is mandatory and must be set!"
errors = True
return errors, parameter, commandlineparam
def processparameters(postdata, parameters, user=None):
#we're going to modify parameter values, this we can't do
#on the global variable, that won't be thread-safe, we first
#make a (shallow) copy and act on that
commandlineparams = [] #for $PARAMETERS
errors = False
newparameters = [] #in same style as input (i.e. with or without groups)
tempparlist = [] #always a list of parameters
if all([isinstance(x,tuple) for x in parameters ]):
for parametergroup, parameterlist in parameters:
newparameterlist = []
for parameter in parameterlist:
error, parameter, commandlineparam = processparameter(postdata, copy(parameter), user)
errors = errors or error
newparameterlist.append(parameter)
tempparlist.append(parameter)
if commandlineparam:
commandlineparams.append(commandlineparam)
newparameters.append( (parametergroup, newparameterlist) )
elif all([isinstance(x,clam.common.parameters.AbstractParameter) for x in parameters]):
for parameter in parameters:
error, parameter, commandlineparam = processparameter(postdata, copy(parameter), user)
errors = errors or error
newparameters.append(copy(parameter))
if commandlineparam:
commandlineparams.append(commandlineparam)
tempparlist = newparameters
else:
raise Exception("Invalid parameters")
#solve dependency issues now all values have been set:
for parameter in tempparlist:
if parameter.constrainable() and (parameter.forbid or parameter.require):
for parameter2 in tempparlist:
if parameter.forbid and parameter2.id in parameter.forbid and parameter2.constrainable():
parameter.error = parameter2.error = "Setting parameter '" + parameter.name + "' together with '" + parameter2.name + "' is forbidden"
clam.common.util.printlog("Setting " + parameter.id + " and " + parameter2.id + "' together is forbidden")
errors = True
if parameter.require and parameter2.id in parameter.require and not parameter2.constrainable():
parameter.error = parameter2.error = "Parameter '" + parameter.name + "' has to be set with '" + parameter2.name + "' is"
clam.common.util.printlog("Setting " + parameter.id + " requires you also set " + parameter2.id )
errors = True
return errors, newparameters, commandlineparams
class CLAMData(object):
"""Instances of this class hold all the CLAM Data that is automatically extracted from CLAM
XML responses. Its member variables are:
* ``baseurl`` - The base URL to the service (string)
* ``projecturl`` - The full URL to the selected project, if any (string)
* ``status`` - Can be: ``clam.common.status.READY`` (0),``clam.common.status.RUNNING`` (1), or ``clam.common.status.DONE`` (2)
* ``statusmessage`` - The latest status message (string)
* ``completion`` - An integer between 0 and 100 indicating
the percentage towards completion.
* ``parameters`` - List of parameters (but use the methods instead)
* ``profiles`` - List of profiles (``[ Profile ]``)
* ``program`` - A Program instance (or None). Describes the expected outputfiles given the uploaded inputfiles. This is the concretisation of the matching profiles.
* ``input`` - List of input files (``[ CLAMInputFile ]``); use ``inputfiles()`` instead for easier access
* ``output`` - List of output files (``[ CLAMOutputFile ]``)
* ``projects`` - List of project IDs (``[ string ]``)
* ``corpora`` - List of pre-installed corpora
* ``errors`` - Boolean indicating whether there are errors in parameter specification
* ``errormsg`` - String containing an error message
* ``oauth_access_token`` - OAuth2 access token (empty if not used, string)
Note that depending on the current status of the project, not all may be available.
"""
def __init__(self, xml, client=None, localroot = False, projectpath=None, loadmetadata=True):
"""Initialises a CLAMData object by passing pass a string containing the full CLAM XML response. It will be automatically parsed. This is usually not called directly but instantiated in system wrapper scripts using::
data = clam.common.data.getclamdata("clam.xml")
Or ``CLAMCLient`` is used, most responses are ``CLAMData`` instances.
"""
self.xml = xml
self.system_id = ""
self.system_name = ""
self.system_version = ""
self.system_email = ""
self.description = ""
#: String containing the base URL of the webserivice
self.baseurl = ''
#: String containing the full URL to the project, if a project was indeed selected
self.projecturl = ''
#: The current status of the service, returns clam.common.status.READY (1), clam.common.status.RUNNING (2), or clam.common.status.DONE (3)
self.status = clam.common.status.READY
#: The current status of the service in a human readable message
self.statusmessage = ""
self.completion = 0
#: This contains a list of (parametergroup, [parameters]) tuples.
self.parameters = []
#: List of profiles ([ Profile ])
self.profiles = []
#: Program instance. Describes the expected outputfiles given the uploaded inputfiles. This is the concretisation of the matching profiles.
self.program = None
#: List of pre-installed corpora
self.corpora = []
#: List of input files ([ CLAMInputFile ])
self.input = []
#: List of output files ([ CLAMOutputFile ])
self.output = []
#: Automatically load metadata for input and output files? (default: True)
self.loadmetadata = loadmetadata
#: List of projects ([ string ])
self.projects = None
#: Boolean indicating whether there are errors in parameter specification
self.errors = False
#: String containing an error message if an error occured
self.errormsg = ""
self.client = client
self.parseresponse(xml, localroot)
def parseresponse(self, xml, localroot = False):
"""Parses CLAM XML, there's usually no need to call this directly"""
root = parsexmlstring(xml)
if root.tag != 'clam':
raise FormatError("CLAM root tag not found")
self.system_id = root.attrib['id']
self.system_name = root.attrib['name']
if 'project' in root.attrib:
self.project = root.attrib['project']
else:
self.project = None
if 'baseurl' in root.attrib:
self.baseurl = root.attrib['baseurl']
if self.project:
if localroot is True: #implicit, assume CWD
self.remote = False
self.projecturl = '' #relative directory (assume CWD is project directory, as is the case when wrapper scripts are called)
elif localroot: #explicit
self.remote = False
self.projecturl = localroot + '/' + self.project + '/' #explicit directory
else:
self.remote = True #no directory: remote URL
self.projecturl = self.baseurl + '/' + self.project + '/'
if 'user' in root.attrib:
self.user = root.attrib['user']
else:
self.user = None
self.oauth_access_token = ""
if 'oauth_access_token' in root.attrib:
self.oauth_access_token = root.attrib['oauth_access_token']
for node in root: #pylint: disable=too-many-nested-blocks
if node.tag == "description":
self.description = node.text
elif node.tag == "version":
self.system_version = node.text
elif node.tag == "email":
self.system_email = node.text
elif node.tag == 'status':
self.status = int(node.attrib['code'])
self.statusmessage = node.attrib['message']
self.completion = node.attrib['completion']
if 'errors' in node.attrib:
self.errors = ((node.attrib['errors'] == 'yes') or (node.attrib['errors'] == '1'))
if 'errormsg' in node.attrib:
self.errormsg = node.attrib['errormsg']
elif node.tag == 'parameters':
for parametergroupnode in node:
if parametergroupnode.tag == 'parametergroup':
parameterlist = []
for parameternode in parametergroupnode:
if parameternode.tag in vars(clam.common.parameters):
parameterlist.append(vars(clam.common.parameters)[parameternode.tag].fromxml(parameternode))
else:
raise Exception("Expected parameter class '" + parameternode.tag + "', but not defined!")
self.parameters.append( (parametergroupnode.attrib['name'], parameterlist) )
elif node.tag == 'corpora':
for corpusnode in node:
if corpusnode.tag == 'corpus':
self.corpora.append(corpusnode.value)
elif node.tag == 'profiles':
for subnode in node:
if subnode.tag == 'profile':
self.profiles.append(Profile.fromxml(subnode))
elif node.tag == 'input':
for filenode in node:
if filenode.tag == 'file':
for n in filenode:
if n.tag == 'name':
self.input.append( CLAMInputFile( self.projecturl, n.text, self.loadmetadata, self.client,True) )
elif node.tag == 'output':
for filenode in node:
if filenode.tag == 'file':
for n in filenode:
if n.tag == 'name':
self.output.append( CLAMOutputFile( self.projecturl, n.text, self.loadmetadata, self.client ) )
elif node.tag == 'projects':
self.projects = []
for projectnode in node:
if projectnode.tag == 'project':
self.projects.append(projectnode.text)
elif node.tag == 'program':
self.program = Program(self.projecturl, [ int(i) for i in node.attrib['matchedprofiles'].split(',') ] )
for outputfilenode in node:
if outputfilenode.tag == 'outputfile':
inputfound = False
for inputfilenode in outputfilenode:
if inputfilenode.tag == 'inputfile':
inputfound = True
self.program.add(outputfilenode.attrib['name'],outputfilenode.attrib['template'],inputfilenode.attrib['name'], inputfilenode.attrib['template'])
if not inputfound:
self.program.add(outputfilenode.attrib['name'],outputfilenode.attrib['template'])
def outputtemplate(self, template_id):
"""Get an output template by ID"""
for profile in self.profiles:
for outputtemplate in profile.outputtemplates():
if outputtemplate.id == template_id:
return outputtemplate
return KeyError("Outputtemplate " + template_id + " not found")
def commandlineargs(self):
"""Obtain a string of all parameters, using the paramater flags they were defined with, in order to pass to an external command. This is shell-safe by definition."""
commandlineargs = []
for parametergroup, parameters in self.parameters: #pylint: disable=unused-variable
for parameter in parameters:
p = parameter.compilearg()
if p:
commandlineargs.append(p)
return " ".join(commandlineargs)
def parameter(self, parameter_id):
"""Return the specified global parameter (the entire object, not just the value)"""
for parametergroup, parameters in self.parameters: #pylint: disable=unused-variable
for parameter in parameters:
if parameter.id == parameter_id:
return parameter
raise KeyError("No such parameter exists: " + parameter_id )
def __getitem__(self, parameter_id):
"""Return the value of the specified global parameter"""
try:
return self.parameter(parameter_id).value
except KeyError:
raise
def __setitem__(self, parameter_id, value):
"""Set the value of the specified global parameter"""
for parametergroup, parameters in self.parameters: #pylint: disable=unused-variable
for parameter in parameters:
if parameter.id == parameter_id:
parameter.set(value)
return True
raise KeyError
def __contains__(self, parameter_id):
"""Check if a global parameter with the specified ID exists. Returns a boolean."""
for parametergroup, parameters in self.parameters: #pylint: disable=unused-variable
for parameter in parameters:
if parameter.id == parameter_id:
return True
return False
def parametererror(self):
"""Return the first parameter error, or False if there is none"""
for parametergroup, parameters in self.parameters: #pylint: disable=unused-variable
for parameter in parameters:
if parameter.error:
return parameter.error
return False
def passparameters(self):
"""Return all parameters as {id: value} dictionary"""
paramdict = {}
for parametergroup, params in self.parameters: #pylint: disable=unused-variable
for parameter in params:
if parameter.value:
if isinstance(parameter.value, list):
paramdict[parameter.id] = ",".join(parameter.value)
else:
paramdict[parameter.id] = parameter.value
return paramdict
def inputtemplates(self):
"""Return all input templates as a list (of InputTemplate instances)"""
l = []
for profile in self.profiles:
l += profile.input
return l
def inputtemplate(self,template_id):
"""Return the inputtemplate with the specified ID. This is used to resolve a inputtemplate ID to an InputTemplate object instance"""
for profile in self.profiles:
for inputtemplate in profile.input:
if inputtemplate.id == template_id:
return inputtemplate
raise Exception("No such input template: " + repr(template_id))
def inputfile(self, inputtemplate=None):
"""Return the inputfile for the specified inputtemplate, if ``inputtemplate=None``, inputfile is returned regardless of inputtemplate. This function may only return 1 and returns an error when multiple input files can be returned, use ``inputfiles()`` instead."""
inputfiles = list(self.inputfiles(inputtemplate))
if len(inputfiles) < 1:
raise Exception("No such input file")
elif len(inputfiles) > 1:
raise Exception("Multiple input files matched. Use inputfiles() instead!")
return inputfiles[0]
def matchingprofiles(self):
"""Generator yielding all matching profiles"""
for i in self.matchedprofiles:
yield self.profiles[i]
def inputfiles(self, inputtemplate=None):
"""Generator yielding all inputfiles for the specified inputtemplate, if ``inputtemplate=None``, inputfiles are returned regardless of inputtemplate."""
if isinstance(inputtemplate, InputTemplate):
#ID suffices:
inputtemplate = inputtemplate.id
for inputfile in self.input:
if not inputtemplate or inputfile.metadata.inputtemplate == inputtemplate:
yield inputfile
def sanitizeparameters(parameters):
"""Construct a dictionary of parameters, for internal use only"""
if not isinstance(parameters,dict):
d = {}
for x in parameters:
if isinstance(x,tuple) and len(x) == 2:
for parameter in x[1]:
d[parameter.id] = parameter
elif isinstance(x, clam.common.parameters.AbstractParameter):
d[x.id] = x
return d
else:
return parameters
def profiler(profiles, projectpath,parameters,serviceid,servicename,serviceurl,printdebug=None):
"""Given input files and parameters, produce metadata for outputfiles. Returns a list of matched profiles (empty if none match), and a program."""
parameters = sanitizeparameters(parameters)
matched = []
program = Program(projectpath)
for profile in profiles:
if profile.match(projectpath, parameters)[0]:
matched.append(profile)
program.update( profile.generate(projectpath,parameters,serviceid,servicename,serviceurl) )
return matched, program
class Profile(object):
def __init__(self, *args):
"""Create a Profile. Arguments can be of class InputTemplate, OutputTemplate or ParameterCondition"""
self.input = []
self.output = []
for arg in args:
if isinstance(arg, InputTemplate):
self.input.append(arg)
elif isinstance(arg, OutputTemplate):
self.output.append(arg)
elif isinstance(arg, ParameterCondition):
self.output.append(arg)
#Check for orphan OutputTemplates. OutputTemplates must have a parent (only outputtemplates with filename, unique=True may be parentless)
for o in self.output:
if isinstance(o, ParameterCondition):
for o in o.allpossibilities():
if not o:
continue
if not isinstance(o, OutputTemplate):
raise Exception("ParameterConditions in profiles must always evaluate to OutputTemplate, not " + o.__class__.__name__ + "!")
parent = o.findparent(self.input)
if parent:
o.parent = parent
if not o.parent and (not (o.filename and o.unique)):
raise Exception("Outputtemplate '" + o.id + "' has no parent defined, and none could be found automatically!")
elif not o.parent:
o.parent = o.findparent(self.input)
if not o.parent and (not (o.filename and o.unique)):
raise Exception("Outputtemplate '" + o.id + "' has no parent defined, and none could be found automatically!")
#Sanity check (note: does not consider ParameterConditions!)
for o in self.output: #pylint: disable=too-many-nested-blocks
for o2 in self.output:
if not isinstance(o, ParameterCondition) and not isinstance(o2, ParameterCondition) and o.id != o2.id:
if o.filename == o2.filename:
if not o.filename:
#no filename specified (which means it's inherited from parent as is)
if o.extension == o2.extension: #extension is the same (or both none)
if o.parent == o2.parent:
raise Exception("Output templates '" + o.id + "' and '" + o2.id + "' describe identically named output files, this is not possible. They define no filename and no extension (or equal extension) so both inherit the same filename from the same parent. Use filename= or extension= to distinguish the two.")
else:
raise Exception("Output templates '" + o.id + "' and '" + o2.id + "' describe identically named output files, this is not possible. Use filename= or extension= to distinguish the two.")
def match(self, projectpath, parameters):
"""Check if the profile matches all inputdata *and* produces output given the set parameters. Returns a boolean"""
parameters = sanitizeparameters(parameters)
mandatory_absent = [] #list of input templates that are missing but mandatory
optional_absent = [] #list of absent but optional input templates
#check if profile matches inputdata (if there are no inputtemplate, this always matches intentionally!)
for inputtemplate in self.input:
if not inputtemplate.matchingfiles(projectpath):
if inputtemplate.optional:
optional_absent.append(inputtemplate)
else:
mandatory_absent.append(inputtemplate)
if mandatory_absent:
return False, mandatory_absent
#check if output is produced
if not self.output: return False, mandatory_absent
for outputtemplate in self.output:
if isinstance(outputtemplate, ParameterCondition):
outputtemplate = outputtemplate.evaluate(parameters)
if not outputtemplate:
continue
assert isinstance(outputtemplate, OutputTemplate)
if outputtemplate.parent:
if outputtemplate.getparent(self) not in optional_absent: #pylint: disable=protected-access
return True, optional_absent
else:
return True, optional_absent
return False, optional_absent
def matchingfiles(self, projectpath):
"""Return a list of all inputfiles matching the profile (filenames)"""
l = []
for inputtemplate in self.input:
l += inputtemplate.matchingfiles(projectpath)
return l
def outputtemplates(self):
"""Returns all outputtemplates, resolving ParameterConditions to all possibilities"""
outputtemplates = []
for o in self.output:
if isinstance(o, ParameterCondition):
outputtemplates += o.allpossibilities()
else:
assert isinstance(o, OutputTemplate)
outputtemplates.append(o)
return outputtemplates
def generate(self, projectpath, parameters, serviceid, servicename,serviceurl):
"""Generate output metadata on the basis of input files and parameters. Projectpath must be absolute. Returns a Program instance. """
#Make dictionary of parameters
parameters = sanitizeparameters(parameters)
program = Program(projectpath, [self])
match, optional_absent = self.match(projectpath, parameters) #Does the profile match?
if match: #pylint: disable=too-many-nested-blocks
#gather all input files that match
inputfiles = self.matchingfiles(projectpath) #list of (seqnr, filename,inputtemplate) tuples
inputfiles_full = [] #We need the full CLAMInputFiles for generating provenance data
for seqnr, filename, inputtemplate in inputfiles: #pylint: disable=unused-variable
inputfiles_full.append(CLAMInputFile(projectpath, filename))
for outputtemplate in self.output:
if isinstance(outputtemplate, ParameterCondition):
outputtemplate = outputtemplate.evaluate(parameters)
#generate output files
if outputtemplate:
if isinstance(outputtemplate, OutputTemplate):
#generate provenance data
provenancedata = CLAMProvenanceData(serviceid,servicename,serviceurl,outputtemplate.id, outputtemplate.label, inputfiles_full, parameters)
create = True
if outputtemplate.parent:
if outputtemplate.getparent(self) in optional_absent:
create = False
if create:
for inputtemplate, inputfilename, outputfilename, metadata in outputtemplate.generate(self, parameters, projectpath, inputfiles, provenancedata):
clam.common.util.printdebug("Writing metadata for outputfile " + outputfilename)
metafilename = os.path.dirname(outputfilename)
if metafilename: metafilename += '/'
metafilename += '.' + os.path.basename(outputfilename) + '.METADATA'
f = io.open(projectpath + '/output/' + metafilename,'w',encoding='utf-8')
f.write(metadata.xml())
f.close()
program.add(outputfilename, outputtemplate, inputfilename, inputtemplate)
else:
raise TypeError("OutputTemplate expected, but got " + outputtemplate.__class__.__name__)
return program
def xml(self, indent = ""):
"""Produce XML output for the profile"""
xml = "\n" + indent + "<profile>\n"
xml += indent + " <input>\n"
for inputtemplate in self.input:
xml += inputtemplate.xml(indent +" ") + "\n"
xml += indent + " </input>\n"
xml += indent + " <output>\n"
for outputtemplate in self.output:
xml += outputtemplate.xml(indent +" ") + "\n" #works for ParameterCondition as well!
xml += indent + " </output>\n"
xml += indent + "</profile>\n"
return xml
def out(self, indent = ""):
o = indent + "Profile"
o += indent + "\tInput"
for inputtemplate in self.input:
o += inputtemplate.out(indent +" ") + "\n"
o += indent + "\tOutput"
for outputtemplate in self.output:
o += outputtemplate.out(indent +" ") + "\n"
return o
@staticmethod
def fromxml(node):
"""Return a profile instance from the given XML description. Node can be a string or an etree._Element."""
if not isinstance(node,ElementTree._Element): #pylint: disable=protected-access
node = parsexmlstring(node)
args = []
if node.tag == 'profile':
for node in node:
if node.tag == 'input':
for subnode in node:
if subnode.tag.lower() == 'inputtemplate':
args.append(InputTemplate.fromxml(subnode))
elif node.tag == 'output':
for subnode in node:
if subnode.tag.lower() == 'outputtemplate':
args.append(OutputTemplate.fromxml(subnode))
elif subnode.tag.lower() == 'parametercondition':
args.append(ParameterCondition.fromxml(subnode))
return Profile(*args)
class Program(dict):
"""A Program is the concretisation of Profile. It describes the exact output files that will be created on the basis of what input files. This is in essence a dictionary
structured as follows: ``{outputfilename: (outputtemplate, inputfiles)}`` in which ``inputfiles`` is a dictionary ``{inputfilename: inputtemplate}``"""
def __init__(self, projectpath, matchedprofiles=None):
self.projectpath=projectpath
if matchedprofiles is None:
self.matchedprofiles=[]
else:
self.matchedprofiles=matchedprofiles
super(Program,self).__init__()
def update(self, src):
self.projectpath = src.projectpath
self.matchedprofiles=list(set(self.matchedprofiles+ src.matchedprofiles))
super(Program,self).update(src)
def add(self, outputfilename, outputtemplate, inputfilename=None, inputtemplate=None):
"""Add a new path to the program"""
if isinstance(outputtemplate,OutputTemplate):
outputtemplate = outputtemplate.id
if isinstance(inputtemplate,InputTemplate):
inputtemplate = inputtemplate.id
if outputfilename in self:
outputtemplate, inputfiles = self[outputfilename]
if inputfilename and inputtemplate:
inputfiles[inputfilename] = inputtemplate
else:
if inputfilename and inputtemplate:
self[outputfilename] = (outputtemplate, {inputfilename: inputtemplate})
else:
self[outputfilename] = (outputtemplate, {})
def outputpairs(self):
"""Iterates over all (outputfilename, outputtemplate) pairs"""
for outputfilename, (outputtemplate, inputfiles) in self.items():
yield outputfilename, outputtemplate
def inputpairs(self, outputfilename):
"""Iterates over all (inputfilename, inputtemplate) pairs for a specific output filename"""
for inputfilename, inputtemplate in self[outputfilename][1]:
yield inputfilename, inputtemplate
def getoutputfiles(self, loadmetadata=True, client=None,requiremetadata=False):
"""Iterates over all output files and their output template. Yields (CLAMOutputFile, str:outputtemplate_id) tuples. The last three arguments are passed to its constructor."""
for outputfilename, outputtemplate in self.outputpairs():
yield CLAMOutputFile(self.projectpath, outputfilename, loadmetadata,client,requiremetadata), outputtemplate
def getinputfiles(self, outputfile, loadmetadata=True, client=None,requiremetadata=False):
"""Iterates over all input files for the specified outputfile (you may pass a CLAMOutputFile instance or a filename string). Yields (CLAMInputFile,str:inputtemplate_id) tuples. The last three arguments are passed to its constructor."""
if isinstance(outputfile, CLAMOutputFile):
outputfilename = str(outputfile).replace(os.path.join(self.projectpath,'output/'),'')
else:
outputfilename = outputfile
outputtemplate, inputfiles = self[outputfilename]
for inputfilename, inputtemplate in inputfiles.items():
yield CLAMInputFile(self.projectpath, inputfilename, loadmetadata,client,requiremetadata), inputtemplate
def getinputfile(self, outputfile, loadmetadata=True, client=None,requiremetadata=False):
"""Grabs one input file for the specified output filename (raises a KeyError exception if there is no such output, StopIteration if there are no input files for it). Shortcut for getinputfiles()"""
if isinstance(outputfile, CLAMOutputFile):
outputfilename = str(outputfile).replace(os.path.join(self.projectpath,'output/'),'')
else:
outputfilename = outputfile
if outputfilename not in self:
raise KeyError("No such outputfile " + outputfilename)
try:
return next(self.getinputfiles(outputfile,loadmetadata,client,requiremetadata))
except StopIteration:
raise StopIteration("No input files for outputfile " + outputfilename)
def getoutputfile(self, loadmetadata=True, client=None,requiremetadata=False):
"""Grabs one output file (raises a StopIteration exception if there is none). Shortcut for getoutputfiles()"""
return next(self.getoutputfiles(loadmetadata,client,requiremetadata))
class RawXMLProvenanceData(object):
def __init__(self, data):
self.data = data
def xml(self):
if isinstance(self.data, ElementTree._Element): #pylint: disable=protected-access
return ElementTree.tostring(self.data, pretty_print = True)
else:
return self.data
class CLAMProvenanceData(object):
"""Holds provenance data"""
def __init__(self, serviceid, servicename, serviceurl, outputtemplate_id, outputtemplate_label, inputfiles, parameters = None, timestamp = None):
self.serviceid = serviceid
self.servicename = servicename
self.serviceurl = serviceurl
self.outputtemplate_id = outputtemplate_id
self.outputtemplate_label = outputtemplate_label
if parameters:
if isinstance(parameters, dict):
assert all([isinstance(x,clam.common.parameters.AbstractParameter) for x in parameters.values()])
self.parameters = parameters
else:
assert all([isinstance(x,clam.common.parameters.AbstractParameter) for x in parameters])
self.parameters = parameters
else:
self.parameters = []
if timestamp:
self.timestamp = int(float(timestamp))
else:
self.timestamp = time.time()
assert isinstance(inputfiles, list)
if all([ isinstance(x,CLAMInputFile) for x in inputfiles ]):
self.inputfiles = [ (x.filename, x.metadata) for x in inputfiles ] #list of (filename, CLAMMetaData) objects of all input files
else:
assert all([ isinstance(x, tuple) and len(x) == 2 and isinstance(x[1], CLAMMetaData) for x in inputfiles ])
self.inputfiles = inputfiles
def xml(self, indent = ""):
"""Serialise provenance data to XML. This is included in CLAM Metadata files"""
xml = indent + "<provenance type=\"clam\" id=\""+self.serviceid+"\" name=\"" +self.servicename+"\" url=\"" + self.serviceurl+"\" outputtemplate=\""+self.outputtemplate_id+"\" outputtemplatelabel=\""+self.outputtemplate_label+"\" timestamp=\""+str(self.timestamp)+"\">"
for filename, metadata in self.inputfiles:
xml += indent + " <inputfile name=\"" + clam.common.util.xmlescape(filename) + "\">"
xml += metadata.xml(indent + " ") + "\n"
xml += indent + " </inputfile>\n"
if self.parameters:
xml += indent + " <parameters>\n"
if isinstance(self.parameters, dict):
parameters = self.parameters.values()
elif isinstance(self.parameters, list):
parameters = self.parameters
for parameter in parameters:
xml += parameter.xml(indent +" ") + "\n"
xml += indent + " </parameters>\n"
xml += indent + "</provenance>"
return xml
@staticmethod
def fromxml(node):
"""Return a CLAMProvenanceData instance from the given XML description. Node can be a string or an lxml.etree._Element."""
if not isinstance(node,ElementTree._Element): #pylint: disable=protected-access
node = parsexmlstring(node)
if node.tag == 'provenance': #pylint: disable=too-many-nested-blocks
if node.attrib['type'] == 'clam':
serviceid = node.attrib['id']
servicename = node.attrib['name']
serviceurl = node.attrib['url']
timestamp = node.attrib['timestamp']
outputtemplate = node.attrib['outputtemplate']
outputtemplatelabel = node.attrib['outputtemplatelabel']
inputfiles = []
parameters = []
for subnode in node:
if subnode.tag == 'inputfile':
filename = node.attrib['name']
metadata = None
for subsubnode in subnode:
if subsubnode.tag == 'CLAMMetaData':
metadata = CLAMMetaData.fromxml(subsubnode)
break
inputfiles.append( (filename, metadata) )
elif subnode.tag == 'parameters':
for subsubnode in subnode:
if subsubnode.tag in vars(clam.common.parameters):
parameters.append(vars(clam.common.parameters)[subsubnode.tag].fromxml(subsubnode))
else:
raise Exception("Expected parameter class '" + subsubnode.tag + "', but not defined!")
return CLAMProvenanceData(serviceid,servicename,serviceurl,outputtemplate, outputtemplatelabel, inputfiles, parameters, timestamp)
else:
raise NotImplementedError
class CLAMMetaData(object):
"""A simple hash structure to hold arbitrary metadata"""
attributes = None #if None, all attributes are allowed! Otherwise it should be a dictionary with keys corresponding to the various attributes and a list of values corresponding to the *maximally* possible settings (include False as element if not setting the attribute is valid), if no list of values are defined, set True if the attrbute is required or False if not. If only one value is specified (either in a list or not), then it will be 'fixed' metadata
allowcustomattributes = True
mimetype = "text/plain" #No mimetype by default
schema = ""
def __init__(self, file, **kwargs):
"""Create metadata for an instance of ``CLAMFile``
* ``file`` - Instance of ``CLAMFile`` to which the metadata applies
The keyword arguments express key/value pairs that constitute the metadata. Special keyword arguments are:
* ``provenance`` - An instance ``CLAMProvenanceData``
* ``inputtemplate`` - A string containing the ID of the input template
CLAMMetaData acts like a dictionary in many regards.
"""
if isinstance(file, CLAMFile):
self.file = file
elif file is None:
self.file = None
else:
raise Exception("Invalid file argument for CLAMMetaData")
self.file = file #will be used for reading inline metadata, can be None if no file is associated
if self.file:
self.file.metadata = self
self.provenance = None
self.inputtemplate = None
self.data = {}
self.loadinlinemetadata()
for key, value in kwargs.items():
if key == 'provenance':
assert isinstance(value, CLAMProvenanceData)
self.provenance = value
elif key == 'inputtemplate':
if isinstance(value, InputTemplate):
self.inputtemplate = value.id
else:
self.inputtemplate = value
else:
self[key] = value
if self.attributes:
if not self.allowcustomattributes:
for key, value in kwargs.items():
if key not in self.attributes: #pylint: disable=unsupported-membership-test
raise KeyError("Invalid attribute '" + key + " specified. But this format does not allow custom attributes. (format: " + self.__class__.__name__ + ", file: " + str(file) + ")")
for key, valuerange in self.attributes.items():
if isinstance(valuerange,list):
if not key in self and not False in valuerange :
raise ValueError("Required metadata attribute " + key + " not specified")
elif self[key] not in valuerange:
raise ValueError("Attribute assignment " + key + "=" + self[key] + " has an invalid value, choose one of: " + " ".join(self.attributes[key])) + " (format: " + self.__class__.__name__ + ", file: " + str(file) + ")" #pylint: disable=unsubscriptable-object
elif valuerange is False: #Any value is allowed, and this attribute is not required
pass #nothing to do
elif valuerange is True: #Any value is allowed, this attribute is *required*
if not key in self:
raise ValueError("Required metadata attribute " + key + " not specified (format: " + self.__class__.__name__ + ", file: " + str(file) + ")" )
elif valuerange: #value is a single specific unconfigurable value
self[key] = valuerange
def __getitem__(self, key):
"""Retrieve a metadata field"""
return self.data[key]
def __contains__(self, key):
"""Check is a metadata field exists"""
return key in self.data
def items(self):
"""Returns all items as (key, value) tuples"""
return self.data.items()
def __iter__(self):
"""Iterate over all (key, value) tuples"""
return iter(self.data)
def __setitem__(self, key, value):
"""Set a metadata field to a specific value"""
if self.attributes is not None and not key in self.attributes: #pylint: disable=unsupported-membership-test
if not self.allowcustomattributes:
raise KeyError("Trying to set metadata field '" + key + "', but no custom attributes are allowed by the format")
elif self.attributes and key in self.attributes: #pylint: disable=unsupported-membership-test
maxvalues = self.attributes[key] #pylint: disable=unsubscriptable-object
if isinstance(maxvalues, list):
if not value in maxvalues:
raise ValueError("Invalid value '" + str(value) + "' for metadata field '" + key + "'")
assert not isinstance(value, list)
self.data[key] = value
def xml(self, indent = ""):
"""Render an XML representation of the metadata""" #(independent of web.py for support in CLAM API)
if not indent:
xml = '<?xml version="1.0" encoding="UTF-8"?>\n'
else:
xml = ""
xml += indent + "<CLAMMetaData format=\"" + self.__class__.__name__ + "\""
if self.mimetype:
xml += " mimetype=\""+self.mimetype+"\""
if self.schema:
xml += " schema=\""+self.schema+"\""
if self.inputtemplate:
xml += " inputtemplate=\""+self.inputtemplate+"\""
xml += ">\n"
for key, value in self.data.items():
xml += indent + " <meta id=\""+clam.common.util.xmlescape(key)+"\">"+clam.common.util.xmlescape(str(value))+"</meta>\n"
if self.provenance:
xml += self.provenance.xml(indent + " ")
xml += indent + "</CLAMMetaData>"
return xml
def save(self, filename):
"""Save metadata to XML file"""
with io.open(filename,'w',encoding='utf-8') as f:
f.write(self.xml())
def validate(self):
"""Validate the metadata"""
#Should be overridden by subclasses
return True
def loadinlinemetadata(self):
"""Not implemented"""
#Read inline metadata, can be overridden by subclasses
pass
def saveinlinemetadata(self):
"""Not implemented"""
#Save inline metadata, can be overridden by subclasses
pass
@staticmethod
def fromxml(node, file=None):
"""Read metadata from XML. Static method returning an CLAMMetaData instance (or rather; the appropriate subclass of CLAMMetaData) from the given XML description. Node can be a string or an etree._Element."""
if not isinstance(node,ElementTree._Element): #pylint: disable=protected-access
node = parsexmlstring(node)
if node.tag == 'CLAMMetaData':
dataformat = node.attrib['format']
formatclass = None
for C in CUSTOM_FORMATS: #CUSTOM_FORMATS will be injected by clamservice.py
if C.__name__ == dataformat:
formatclass = C
break
if formatclass is None and dataformat in vars(clam.common.formats) and issubclass(vars(clam.common.formats)[dataformat], CLAMMetaData):
formatclass = vars(clam.common.formats)[dataformat]
if formatclass is None:
raise Exception("Format class " + dataformat + " not found!")
data = {}
if 'inputtemplate' in node.attrib:
data['inputtemplate'] = node.attrib['inputtemplate']
if 'inputtemplatelabel' in node.attrib:
data['inputtemplatelabel'] = node.attrib['inputtemplatelabel']
for subnode in node:
if subnode.tag == 'meta':
key = subnode.attrib['id']
value = subnode.text
data[key] = value
elif subnode.tag == 'provenance':
data['provenance'] = CLAMProvenanceData.fromxml(subnode)
return formatclass(file, **data)
else:
raise Exception("Invalid CLAM Metadata!")
def httpheaders(self):
"""HTTP headers to output for this format. Yields (key,value) tuples. Should be overridden in sub-classes!"""
yield ("Content-Type", self.mimetype)
class CMDIMetaData(CLAMMetaData):
"""Direct CMDI Metadata support, not implemented yet, reserved for future use"""
#MAYBE TODO LATER: implement
pass
class InputTemplate(object):
"""This class represents an input template. A slot with a certain format and function to which input files can be uploaded"""
def __init__(self, template_id, formatclass, label, *args, **kwargs):
assert issubclass(formatclass, CLAMMetaData)
assert not '/' in template_id and not '.' in template_id
self.formatclass = formatclass
self.id = template_id
self.label = label
self.parameters = []
self.converters = []
self.viewers = [] #MAYBE TODO Later: Support viewers in InputTemplates?
self.inputsources = []
self.unique = True #may mark input/output as unique
self.optional = False #Output templates that are derived from optional Input Templates are conditional on the optional input file being presented!
self.filename = None
self.extension = None
self.onlyinputsource = False #Use only the input sources
self.acceptarchive = False #Accept and auto-extract archives
for key, value in kwargs.items():
if key == 'unique':
self.unique = bool(value)
elif key == 'multi':
self.unique = not bool(value)
elif key == 'optional':
self.optional = bool(value)
elif key == 'filename':
self.filename = value # use '#' to insert a number in multi mode (will happen server-side!)
elif key == 'extension':
if value[0] == '.': #without dot
self.extension = value[1:]
else:
self.extension = value
elif key == 'acceptarchive':
self.acceptarchive = bool(value)
elif key == 'onlyinputsource':
self.onlyinputsource = bool(value)
else:
raise ValueError("Unexpected keyword argument for InputTemplate: " + key)
if not self.unique and (self.filename and not '#' in self.filename):
raise Exception("InputTemplate configuration error for inputtemplate '" + self.id + "', filename is set to a single specific name, but unique is disabled. Use '#' in filename, which will automatically resolve to a number in sequence.")
if self.unique and self.acceptarchive:
raise Exception("InputTemplate configuration error for inputtemplate '" + self.id + "', acceptarchive demands multi=True")
for arg in args:
if isinstance(arg, clam.common.parameters.AbstractParameter):
self.parameters.append(arg)
elif isinstance(arg, clam.common.converters.AbstractConverter):
self.converters.append(arg)
elif isinstance(arg, clam.common.viewers.AbstractViewer):
self.viewers.append(arg)
elif isinstance(arg, InputSource):
self.inputsources.append(arg)
else:
raise ValueError("Unexpected parameter for InputTemplate " + id + ", expecting Parameter, Converter, Viewer or InputSource.")
if self.onlyinputsource and not self.inputsources:
raise Exception("No input sources defined for input template " + id + ", but onlyinputsource=True")
def xml(self, indent = ""):
"""Produce Template XML"""
xml = indent + "<InputTemplate id=\""+self.id+"\" format=\"" + self.formatclass.__name__ + "\"" + " label=\"" + self.label + "\""
if self.formatclass.mimetype:
xml +=" mimetype=\""+self.formatclass.mimetype+"\""
if self.formatclass.schema:
xml +=" schema=\""+self.formatclass.schema+"\""
if self.filename:
xml +=" filename=\""+self.filename+"\""
if self.extension:
xml +=" extension=\""+self.extension+"\""
if self.optional:
xml +=" optional=\"yes\""
else:
xml +=" optional=\"no\""
if self.unique:
xml +=" unique=\"yes\""
else:
xml +=" unique=\"no\""
if self.acceptarchive:
xml +=" acceptarchive=\"yes\""
else:
xml +=" acceptarchive=\"no\""
xml += ">\n"
for parameter in self.parameters:
xml += parameter.xml(indent+" ") + "\n"
if self.converters:
for converter in self.converters:
xml += indent + " <converter id=\""+converter.id+"\">"+clam.common.util.xmlescape(converter.label)+"</converter>\n"
if self.inputsources:
for inputsource in self.inputsources:
xml += inputsource.xml(indent+" ")
xml += indent + "</InputTemplate>"
return xml
@staticmethod
def fromxml(node):
"""Static method returning an InputTemplate instance from the given XML description. Node can be a string or an etree._Element."""
if not isinstance(node,ElementTree._Element): #pylint: disable=protected-access
node = parsexmlstring(node)
assert node.tag.lower() == 'inputtemplate'
template_id = node.attrib['id']
dataformat = node.attrib['format']
label = node.attrib['label']
kwargs = {}
if 'filename' in node.attrib:
kwargs['filename'] = node.attrib['filename']
if 'extension' in node.attrib:
kwargs['extension'] = node.attrib['extension']
if 'unique' in node.attrib:
kwargs['unique'] = node.attrib['unique'].lower() == 'yes' or node.attrib['unique'].lower() == 'true' or node.attrib['unique'].lower() == '1'
if 'acceptarchive' in node.attrib:
kwargs['acceptarchive'] = node.attrib['acceptarchive'].lower() == 'yes' or node.attrib['acceptarchive'].lower() == 'true' or node.attrib['acceptarchive'].lower() == '1'
#find formatclass
formatcls = None
for C in CUSTOM_FORMATS: #CUSTOM_FORMATS will be injected by clamservice.py
if C.__name__ == dataformat:
formatcls = C
break
if formatcls is None:
if dataformat in vars(clam.common.formats):
formatcls = vars(clam.common.formats)[dataformat]
else:
raise Exception("Expected format class '" + dataformat+ "', but not defined!")
args = []
for subnode in node:
if subnode.tag in vars(clam.common.parameters):
args.append(vars(clam.common.parameters)[subnode.tag].fromxml(subnode))
elif subnode.tag == 'converter':
pass #MAYBE TODO: Reading converters from XML is not implemented (and not necessary at this stage)
elif subnode.tag == 'viewer':
pass #MAYBE TODO: Reading viewers from XML is not implemented (and not necessary at this stage)
elif subnode.tag == 'inputsource':
pass #MAYBE TODO: Reading input sources from XML is not implemented (and not necessary at this stage)
else:
raise Exception("Expected parameter class '" + subnode.tag + "', but not defined!")
return InputTemplate(template_id,formatcls,label, *args, **kwargs)
def json(self):
"""Produce a JSON representation for the web interface"""
d = { 'id': self.id, 'format': self.formatclass.__name__,'label': self.label, 'mimetype': self.formatclass.mimetype, 'schema': self.formatclass.schema }
if self.unique:
d['unique'] = True
if self.filename:
d['filename'] = self.filename
if self.extension:
d['extension'] = self.extension
if self.acceptarchive:
d['acceptarchive'] = self.acceptarchive
#d['parameters'] = {}
#The actual parameters are included as XML, and transformed by clam.js using XSLT (parameter.xsl) to generate the forms
parametersxml = ''
for parameter in self.parameters:
parametersxml += parameter.xml()
d['parametersxml'] = '<?xml version="1.0" encoding="utf-8" ?><parameters>' + parametersxml + '</parameters>'
d['converters'] = [ {'id':x.id, 'label':x.label} for x in self.converters ]
d['inputsources'] = [ {'id':x.id, 'label':x.label} for x in self.inputsources ]
return json.dumps(d)
def __eq__(self, other):
if isinstance(other, str) or (sys.version < '3' and isinstance(other,unicode)): #pylint: disable=undefined-variable
return self.id == other
else: #object
return other.id == self.id
def match(self, metadata, user = None):
"""Does the specified metadata match this template? returns (success,metadata,parameters)"""
assert isinstance(metadata, self.formatclass)
return self.generate(metadata,user)
def matchingfiles(self, projectpath):
"""Checks if the input conditions are satisfied, i.e the required input files are present. We use the symbolic links .*.INPUTTEMPLATE.id.seqnr to determine this. Returns a list of matching results (seqnr, filename, inputtemplate)."""
results = []
if projectpath[-1] == '/':
inputpath = projectpath + 'input/'
else:
inputpath = projectpath + '/input/'
for linkf,realf in clam.common.util.globsymlinks(inputpath + '/.*.INPUTTEMPLATE.' + self.id + '.*'):
seqnr = int(linkf.split('.')[-1])
results.append( (seqnr, realf[len(inputpath):], self) )
results = sorted(results)
if self.unique and len(results) != 1:
return []
else:
return results
def validate(self, postdata, user = None):
"""Validate posted data against the inputtemplate"""
clam.common.util.printdebug("Validating inputtemplate " + self.id + "...")
errors, parameters, _ = processparameters(postdata, self.parameters, user)
return errors, parameters
def generate(self, file, validatedata = None, inputdata=None, user = None):
"""Convert the template into instantiated metadata, validating the data in the process and returning errors otherwise. inputdata is a dictionary-compatible structure, such as the relevant postdata. Return (success, metadata, parameters), error messages can be extracted from parameters[].error. Validatedata is a (errors,parameters) tuple that can be passed if you did validation in a prior stage, if not specified, it will be done automatically."""
metadata = {}
if not validatedata:
assert inputdata
errors, parameters = self.validate(inputdata,user) #pylint: disable=unused-variable
else:
errors, parameters = validatedata #pylint: disable=unused-variable
#scan errors and set metadata
success = True
for parameter in parameters:
assert isinstance(parameter, clam.common.parameters.AbstractParameter)
if parameter.error:
success = False
else:
metadata[parameter.id] = parameter.value
if not success:
metadata = None
else:
try:
metadata = self.formatclass(file, **metadata)
except:
raise
return success, metadata, parameters
class AbstractMetaField(object): #for OutputTemplate only
"""This abstract class is the basis for derived classes representing metadata fields of particular types. A metadata field is in essence a (key, value) pair. These classes are used in output templates (described by the XML tag ``meta``). They are not used by ``CLAMMetaData``"""
def __init__(self,key,value=None):
self.key = key
self.value = value
def xml(self, operator='set', indent = ""):
"""Serialize the metadata field to XML"""
xml = indent + "<meta id=\"" + self.key + "\""
if operator != 'set':
xml += " operator=\"" + operator + "\""
if not self.value:
xml += " />"
else:
xml += ">" + self.value + "</meta>"
return xml
@staticmethod
def fromxml(node):
"""Static method returning an MetaField instance (any subclass of AbstractMetaField) from the given XML description. Node can be a string or an etree._Element."""
if not isinstance(node,ElementTree._Element): #pylint: disable=protected-access
node = parsexmlstring(node)
if node.tag.lower() != 'meta':
raise Exception("Expected meta tag but got '" + node.tag + "' instead")
key = node.attrib['id']
if node.text:
value = node.text
else:
value = None
operator = 'set'
if 'operator' in node.attrib:
operator= node.attrib['operator']
if operator == 'set':
cls = SetMetaField
elif operator == 'unset':
cls = UnsetMetaField
elif operator == 'copy':
cls = CopyMetaField
elif operator == 'parameter':
cls = ParameterMetaField
return cls(key, value)
def resolve(self, data, parameters, parentfile, relevantinputfiles):
#in most cases we're only interested in 'data'
raise Exception("Always override this method in inherited classes! Return True if data is modified, False otherwise")
class SetMetaField(AbstractMetaField):
def resolve(self, data, parameters, parentfile, relevantinputfiles):
data[self.key] = self.value
return True
def xml(self, indent=""):
return super(SetMetaField,self).xml('set', indent)
class UnsetMetaField(AbstractMetaField):
def xml(self, indent = ""):
return super(UnsetMetaField,self).xml('unset', indent)
def resolve(self, data, parameters, parentfile, relevantinputfiles):
if self.key in data and (not self.value or (self.value and data[self.key] == self.value)):
del data[self.key]
return True
return False
class CopyMetaField(AbstractMetaField):
"""In CopyMetaField, the value is in the form of templateid.keyid, denoting where to copy from. If not keyid but only a templateid is
specified, the keyid of the metafield itself will be assumed."""
def xml(self, indent = ""):
return super(CopyMetaField,self).xml('copy', indent)
def resolve(self, data, parameters, parentfile, relevantinputfiles):
raw = self.value.split('.')
if len(raw) == 1:
copytemplate = raw[0]
copykey = self.key
elif len(raw) == 2:
copytemplate = raw[0]
copykey = raw[1]
else:
raise Exception("Can't parse CopyMetaField value " + self.value)
#find relevant inputfile
edited = False
for inputtemplate, f in relevantinputfiles:
if inputtemplate.id == copytemplate:
if f.metadata and copykey in f.metadata:
data[self.key] = f.metadata[copykey]
edited = True
return edited
class ParameterMetaField(AbstractMetaField):
def xml(self, indent=""):
return super(ParameterMetaField,self).xml('parameter', indent)
def resolve(self, data, parameters, parentfile, relevantinputfiles): #TODO: Verify
if self.value in parameters:
data[self.key] = parameters[self.value]
return True
else:
return False
class OutputTemplate(object):
def __init__(self, template_id, formatclass, label, *args, **kwargs):
assert issubclass(formatclass, CLAMMetaData)
assert '/' not in template_id and '.' not in template_id
self.id = template_id
self.formatclass = formatclass
self.label = label
self.viewers = []
self.converters = []
self.metafields = []
for arg in args:
if isinstance(arg, AbstractMetaField) or isinstance(arg,ParameterCondition):
self.metafields.append(arg)
elif isinstance(arg, clam.common.converters.AbstractConverter):
self.converters.append(arg)
elif isinstance(arg, clam.common.viewers.AbstractViewer):
self.viewers.append(arg)
else:
raise ValueError("Unexpected argument for OutputTemplate " + id + ", expecting MetaField, ParameterCondition, Viewer or Converter")
self.unique = True #mark input/output as unique, as opposed to multiple files
self.filename = None
self.extension = None
self.removeextensions = [] #Remove extensions
self.parent = None
self.copymetadata = False #copy metadata from parent (if set)
for key, value in kwargs.items():
if key == 'unique':
self.unique = bool(value)
elif key == 'multi': #alias
self.unique = not bool(value)
elif key == 'filename':
self.filename = value # use # to insert a number in multi mode
elif key == 'removeextension' or key=='removeextensions':
#remove the following extension(s) (prior to adding the extension specified)
if value is True:
#will remove all (only 1 level though)
self.removeextensions = True #pylint: disable=redefined-variable-type
elif value is False:
pass
elif not isinstance(value,list):
self.removeextensions = [value]
else:
self.removeextensions = value
elif key == 'extension':
if value[0] == '.':
self.extension = value[1:]
else:
self.extension = value #Add the following extension
elif key == 'parent':
if isinstance(value, InputTemplate): value = value.id
self.parent = value #The ID of an inputtemplate
elif key == 'copymetadata':
self.copymetadata = bool(value) #True by default
elif key == 'viewers' or key == 'viewer':
if isinstance(value, clam.common.viewers.AbstractViewer):
self.viewers = [value]
elif isinstance(value, list) and all([isinstance(x, clam.common.viewers.AbstractViewer) for x in value]):
self.viewers = value
else:
raise Exception("Invalid viewer specified!")
else:
raise ValueError("Unexpected keyword argument for OutputTemplate: " + key)
if not self.unique and (self.filename and not '$SEQNR' in self.filename and not '#' in self.filename):
raise Exception("OutputTemplate configuration error in outputtemplate '" + self.id + "', filename is set to a single specific name, but unique is disabled. Use '$SEQNR' in filename, which will automatically resolve to a number in sequence.")
def xml(self, indent = ""):
"""Produce Template XML"""
xml = indent + "<OutputTemplate id=\"" + self.id + "\" format=\"" + self.formatclass.__name__ + "\"" + " label=\"" + self.label + "\""
if self.formatclass.mimetype:
xml +=" mimetype=\""+self.formatclass.mimetype+"\""
if self.formatclass.schema:
xml +=" schema=\""+clam.common.util.xmlescape(self.formatclass.schema)+"\""
if self.filename:
xml +=" filename=\""+clam.common.util.xmlescape(self.filename)+"\""
if self.extension:
xml +=" extension=\""+clam.common.util.xmlescape(self.extension)+"\""
if self.unique:
xml +=" unique=\"yes\""
else:
xml +=" unique=\"no\""
xml += ">\n"
for metafield in self.metafields:
xml += metafield.xml(indent + " ") + "\n"
xml += indent + "</OutputTemplate>"
return xml
@staticmethod
def fromxml(node):
"""Static method return an OutputTemplate instance from the given XML description. Node can be a string or an etree._Element."""
if not isinstance(node,ElementTree._Element): #pylint: disable=protected-access
node = parsexmlstring(node)
assert node.tag.lower() == 'outputtemplate'
template_id = node.attrib['id']
dataformat = node.attrib['format']
label = node.attrib['label']
kwargs = {}
if 'filename' in node.attrib:
kwargs['filename'] = node.attrib['filename']
if 'extension' in node.attrib:
kwargs['extension'] = node.attrib['extension']
if 'unique' in node.attrib:
kwargs['unique'] = node.attrib['unique'].lower() == 'yes' or node.attrib['unique'].lower() == 'true' or node.attrib['unique'].lower() == '1'
#find formatclass
formatcls = None
for C in CUSTOM_FORMATS: #CUSTOM_FORMATS will be injected by clamservice.py
if C.__name__ == dataformat:
formatcls = C
break
if formatcls is None:
if dataformat in vars(clam.common.formats):
formatcls = vars(clam.common.formats)[dataformat]
else:
raise Exception("Specified format not defined! (" + dataformat + ")")
args = []
for subnode in node:
if subnode.tag == 'parametercondition':
args.append(ParameterCondition.fromxml(subnode))
elif subnode.tag == 'converter':
pass #MAYBE TODO: Reading converters from XML is not implemented (and not necessary at this stage)
elif subnode.tag == 'viewer':
pass #MAYBE TODO: Reading viewers from XML is not implemented (and not necessary at this stage)
else:
args.append(AbstractMetaField.fromxml(subnode))
return OutputTemplate(template_id,formatcls,label, *args, **kwargs)
def __eq__(self, other):
return other.id == self.id
def findparent(self, inputtemplates):
"""Find the most suitable parent, that is: the first matching unique/multi inputtemplate"""
for inputtemplate in inputtemplates:
if self.unique == inputtemplate.unique:
return inputtemplate.id
return None
def getparent(self, profile):
"""Resolve a parent ID"""
assert self.parent
for inputtemplate in profile.input:
if inputtemplate == self.parent:
return inputtemplate
raise Exception("Parent InputTemplate '"+self.parent+"' not found!")
def generate(self, profile, parameters, projectpath, inputfiles, provenancedata=None):
"""Yields (inputtemplate, inputfilename, outputfilename, metadata) tuples"""
project = os.path.basename(projectpath)
if self.parent: #pylint: disable=too-many-nested-blocks
#We have a parent, infer the correct filename
#copy filename from parent
parent = self.getparent(profile)
#get input files for the parent InputTemplate
parentinputfiles = parent.matchingfiles(projectpath)
if not parentinputfiles:
raise Exception("OutputTemplate '"+self.id + "' has parent '" + self.parent + "', but no matching input files were found!")
#Do we specify a full filename?
for seqnr, inputfilename, inputtemplate in parentinputfiles: #pylint: disable=unused-variable
if self.filename:
filename = self.filename
parentfile = CLAMInputFile(projectpath, inputfilename)
elif parent:
filename = inputfilename
parentfile = CLAMInputFile(projectpath, inputfilename)
else:
raise Exception("OutputTemplate '"+self.id + "' has no parent nor filename defined!")
#Make actual CLAMInputFile objects of ALL relevant input files, that is: all unique=True files and all unique=False files with the same sequence number
relevantinputfiles = []
for seqnr2, inputfilename2, inputtemplate2 in inputfiles:
if seqnr2 == 0 or seqnr2 == seqnr:
relevantinputfiles.append( (inputtemplate2, CLAMInputFile(projectpath, inputfilename2)) )
#resolve # in filename (done later)
#if not self.unique:
# filename.replace('#',str(seqnr))
if not self.filename and self.removeextensions:
#Remove unwanted extensions
if self.removeextensions is True:
#Remove any and all extensions
filename = filename.split('.')[0]
elif isinstance(self.removeextensions, list):
#Remove specified extension
for ext in self.removeextensions:
if ext:
if ext[0] != '.' and filename[-len(ext) - 1:] == '.' + ext:
filename = filename[:-len(ext) - 1]
elif ext[0] == '.' and filename[-len(ext):] == ext:
filename = filename[:-len(ext)]
if self.extension and not self.filename and filename[-len(self.extension) - 1:] != '.' + self.extension: #(also prevents duplicate extensions)
filename += '.' + self.extension
#Now we create the actual metadata
metadata = self.generatemetadata(parameters, parentfile, relevantinputfiles, provenancedata)
#Resolve filename
filename = resolveoutputfilename(filename, parameters, metadata, self, seqnr, project, inputfilename)
yield inputtemplate, inputfilename, filename, metadata
elif self.unique and self.filename:
#outputtemplate has no parent, but specified a filename and is unique, this implies it is not dependent on input files:
metadata = self.generatemetadata(parameters, None, [], provenancedata)
filename = resolveoutputfilename(self.filename, parameters, metadata, self, 0, project, None)
yield None, None, filename, metadata
else:
raise Exception("Unable to generate from OutputTemplate, no parent or filename specified")
def generatemetadata(self, parameters, parentfile, relevantinputfiles, provenancedata = None):
"""Generate metadata, given a filename, parameters and a dictionary of inputdata (necessary in case we copy from it)"""
assert isinstance(provenancedata,CLAMProvenanceData) or provenancedata is None
data = {}
if self.copymetadata:
#Copy parent metadata
for key, value in parentfile.metadata.items():
data[key] = value
for metafield in self.metafields:
if isinstance(metafield, ParameterCondition):
metafield = metafield.evaluate(parameters)
if not metafield:
continue
assert isinstance(metafield, AbstractMetaField)
metafield.resolve(data, parameters, parentfile, relevantinputfiles)
if provenancedata:
data['provenance'] = provenancedata
return self.formatclass(None, **data)
class ParameterCondition(object):
def __init__(self, **kwargs):
if 'then' not in kwargs:
raise Exception("No 'then=' specified!")
self.then = None
self.otherwise = None
self.conditions = []
self.disjunction = False
for key, value in kwargs.items():
if key == 'then':
if isinstance(value, OutputTemplate) or isinstance(value, InputTemplate) or isinstance(value, ParameterCondition) or isinstance(value, AbstractMetaField):
self.then = value
else:
raise Exception("Value of 'then=' must be InputTemplate, OutputTemplate or ParameterCondition!")
elif key == 'else' or key == 'otherwise':
if isinstance(value, OutputTemplate) or isinstance(value, InputTemplate) or isinstance(value, ParameterCondition) or isinstance(value, AbstractMetaField):
self.otherwise = value
else:
raise Exception("Value of 'else=' must be InputTemplate, OutputTemplate or ParameterCondition!")
elif key == 'disjunction' or key == 'or':
self.disjunction = value
else:
if key[-10:] == '_notequals':
self.conditions.append( (key[:-10], value,lambda x,y: x != y, 'notequals') )
elif key[-12:] == '_greaterthan':
self.conditions.append( (key[:-12], value,lambda x,y: x != None and x != False and x > y, 'greaterthan') )
elif key[-17:] == '_greaterequalthan':
self.conditions.append( (key[:-17],value, lambda x,y: x != None and x != False and x >= y, 'greaterequalthan') )
elif key[-9:] == '_lessthan':
self.conditions.append( (key[:-9],value, lambda x,y: x != None and x != False and x < y , 'lessthan' ) )
elif key[-14:] == '_lessequalthan':
self.conditions.append( (key[:-14], value,lambda x,y: x != None and x != False and x <= y, 'lessequalthan') )
elif key[-9:] == '_contains':
self.conditions.append( (key[:-9], value,lambda x,y: x != None and x != False and y in x, 'contains') )
elif key[-7:] == '_equals':
self.conditions.append( (key[:-7], value,lambda x,y: x != None and x == y, 'equals') )
elif key[-4:] == '_set':
if value:
self.conditions.append( (key[:-4], value,lambda x,y: x, 'set') )
else:
self.conditions.append( (key[:-4], value,lambda x,y: not x, 'set') )
else: #default is _equals
self.conditions.append( (key,value, lambda x,y: x != None and x == y,'equals') )
if self.then is None:
raise Exception("No then= specified for ParameterCondition!")
def match(self, parameters):
assert isinstance(parameters, dict)
for key,refvalue,evalf,_ in self.conditions:
if key in parameters:
value = parameters[key].value
else:
value = None
if evalf(value, refvalue):
if self.disjunction:
return True
else:
if not self.disjunction: #conjunction
return False
if self.disjunction:
return False
else:
return True
def allpossibilities(self):
"""Returns all possible outputtemplates that may occur (recusrively applied)"""
l = []
if isinstance(self.then, ParameterCondition):
#recursive parametercondition
l += self.then.allpossibilities()
elif self.then:
l.append(self.then)
if self.otherwise:
if isinstance(self.otherwise, ParameterCondition):
l += self.otherwise.allpossibilities()
else:
l.append(self.otherwise)
return l
def evaluate(self, parameters):
"""Returns False if there's no match, or whatever the ParameterCondition evaluates to (recursively applied!)"""
if self.match(parameters):
if isinstance(self.then, ParameterCondition):
#recursive parametercondition
return self.then.evaluate(parameters)
else:
return self.then
elif self.otherwise:
if isinstance(self.otherwise, ParameterCondition):
#recursive else
return self.otherwise.evaluate(parameters)
else:
return self.otherwise
return False
def xml(self, indent = ""):
xml = indent + "<parametercondition>\n" + indent + " <if>\n"
for key, value, evalf, operator in self.conditions: #pylint: disable=unused-variable
xml += indent + " <" + operator + " parameter=\"" + key + "\">" + clam.common.util.xmlescape(str(value)) + "</" + operator + ">\n"
xml += indent + " </if>\n" + indent + " <then>\n"
xml += self.then.xml(indent + " ") + "\n"
xml += indent + " </then>\n"
if self.otherwise:
xml += indent + " <else>\n"
xml += self.otherwise.xml(indent + " ") + "\n"
xml += indent + " </else>"
xml += indent + "</parametercondition>"
return xml
@staticmethod
def fromxml(node):
"""Static method returning a ParameterCondition instance from the given XML description. Node can be a string or an etree._Element."""
if not isinstance(node,ElementTree._Element): #pylint: disable=protected-access
node = parsexmlstring(node)
assert node.tag.lower() == 'parametercondition'
kwargs = {}
found = False
for node in node:
if node.tag == 'if':
#interpret conditions:
for subnode in node:
operator = subnode.tag
parameter = subnode.attrib['parameter']
value = subnode.text
kwargs[parameter + '_' + operator] = value
found = True
elif node.tag == 'then' or node.tag == 'else' or node.tag == 'otherwise':
#interpret statements:
for subnode in node: #MAYBE TODO LATER: Support for multiple statement in then=, else= ?
if subnode.tag.lower() == 'parametercondition':
kwargs[node.tag] = ParameterCondition.fromxml(subnode)
elif subnode.tag == 'meta':
#assume metafield?
kwargs[node.tag] = AbstractMetaField.fromxml(subnode)
elif subnode.tag.lower() == 'outputtemplate':
kwargs[node.tag] = OutputTemplate.fromxml(subnode)
if not found:
raise Exception("No condition found in ParameterCondition!")
return ParameterCondition(**kwargs)
class InputSource(object):
def __init__(self, **kwargs):
if 'id' in kwargs:
self.id = kwargs['id']
del kwargs['id']
else:
raise Exception("No id specified for InputSource")
if 'label' in kwargs:
self.label = kwargs['label']
del kwargs['label']
else:
raise Exception("No label specified for InputSource")
if 'path' in kwargs:
self.path = kwargs['path']
del kwargs['path']
if not os.path.exists(self.path):
raise Exception("No such file or directory for InputSource: " + self.path)
else:
raise Exception("No path specified for InputSource")
if 'defaultmetadata' in kwargs:
self.metadata = kwargs['defaultmetadata']
del kwargs['defaultmetadata']
assert isinstance(self.metadata, CLAMMetaData)
elif 'metadata' in kwargs: #alias
self.metadata = kwargs['metadata']
del kwargs['metadata']
assert isinstance(self.metadata, CLAMMetaData)
else:
self.metadata = None
if 'inputtemplate' in kwargs:
self.inputtemplate = kwargs['inputtemplate']
del kwargs['inputtemplate']
else:
self.inputtemplate = None
for key in kwargs:
raise ValueError("Invalid keyword argument for InputSource: " + key)
def isfile(self):
return os.path.isfile(self.path)
def isdir(self):
return os.path.isdir(self.path)
def xml(self, indent = ""):
return indent + "<inputsource id=\""+self.id+"\">"+self.label+"</inputsource>"
def check(self):
"""Checks if this inputsource is usable in INPUTSOURCES"""
if not self.inputtemplate:
raise Exception("Input source has no input template")
class Action(object):
def __init__(self, *args, **kwargs):
if 'id' in kwargs:
self.id = kwargs['id']
else:
raise Exception("No id specified for Action")
if 'name' in kwargs:
self.name = kwargs['name']
else:
self.name = self.id
if 'description' in kwargs:
self.description = kwargs['description']
else:
self.description = ""
if 'command' in kwargs:
self.command = kwargs['command']
self.function = None
elif 'function' in kwargs:
self.command = None
self.function = kwargs['function']
else:
self.command = self.function = None #action won't be able to do anything!
if 'method' in kwargs:
self.method = kwargs['method']
else:
self.method = None #all methods
if 'parameters' in kwargs:
assert all( [ isinstance(x, clam.common.parameters.AbstractParameter) for x in kwargs['parameters'] ])
self.parameters = kwargs['parameters']
elif args:
assert all( [ isinstance(x, clam.common.parameters.AbstractParameter) for x in args ])
self.parameters = args
else:
self.parameters = [] #pylint: disable=redefined-type
if 'mimetype' in kwargs:
self.mimetype = kwargs['mimetype']
else:
self.mimetype = "text/plain"
if 'returncodes404' in kwargs:
self.returncodes404 = kwargs['returncodes404']
else:
self.returncodes404 = [4]
if 'returncodes403' in kwargs:
self.returncodes403 = kwargs['returncodes403']
else:
self.returncodes403 = [3]
if 'returncodes200' in kwargs:
self.returncodes200 = kwargs['returncodes200']
else:
self.returncodes200 = [0]
if 'allowanonymous' in kwargs:
self.allowanonymous = bool(kwargs['allowanonymous'])
else:
self.allowanonymous = False
if 'tmpdir' in kwargs:
self.tmpdir = kwargs['tmpdir']
else:
self.tmpdir = False
def xml(self, indent = ""):
if self.method:
method = "method=\"" + self.method + "\""
else:
method = ""
if self.allowanonymous:
allowanonymous = "allowanoymous=\"yes\""
else:
allowanonymous = ""
xml = indent + "<action id=\"" + self.id + "\" " + method + " name=\"" + self.name + "\" description=\"" +self.description + "\" mimetype=\"" + self.mimetype + "\" " + allowanonymous + ">\n"
for parameter in self.parameters:
xml += parameter.xml(indent+ " ") + "\n"
xml += indent + "</action>\n"
return xml
@staticmethod
def fromxml(node):
"""Static method returning an Action instance from the given XML description. Node can be a string or an etree._Element."""
if not isinstance(node,ElementTree._Element): #pylint: disable=protected-access
node = parsexmlstring(node)
assert node.tag.lower() == 'action'
kwargs = {}
args = []
if 'id' in node.attrib:
kwargs['id'] = node.attrib['id']
elif 'name' in node.attrib:
kwargs['name'] = node.attrib['name']
elif 'description' in node.attrib:
kwargs['description'] = node.attrib['description']
elif 'method' in node.attrib:
kwargs['method'] = node.attrib['method']
elif 'mimetype' in node.attrib:
kwargs['mimetype'] = node.attrib['mimetype']
elif 'allowanonymous' in node.attrib:
if node.attrib['allowanonymous'] == "yes":
kwargs['allowanonymous'] = True
found = False
for subnode in node:
if subnode.tag.lower() == 'parametercondition':
kwargs[node.tag] = ParameterCondition.fromxml(subnode)
elif subnode.tag in vars(clam.common.parameters):
args.append(vars(clam.common.parameters)[subnode.tag].fromxml(subnode))
if not found:
raise Exception("No condition found in ParameterCondition!")
return Action(*args, **kwargs)
def resolveinputfilename(filename, parameters, inputtemplate, nextseq = 0, project = None):
#parameters are local
if filename.find('$') != -1:
for parameter in sorted(parameters, key= lambda x: len(x.id),reverse=True):#cmp=lambda x,y: len(x.id) - len(y.id)):
if parameter and parameter.hasvalue:
filename = filename.replace('$' + parameter.id, str(parameter.value))
if filename.find('$') != -1:
if project: filename = filename.replace('$PROJECT', project)
if not inputtemplate.unique: filename = filename.replace('$SEQNR', str(nextseq))
#BACKWARD COMPATIBILITY:
if not inputtemplate.unique:
if '#' in filename: #resolve number in filename
filename = filename.replace('#',str(nextseq))
clam.common.util.printdebug("Determined input filename: " + filename)
return filename
def resolveoutputfilename(filename, globalparameters, localparameters, outputtemplate, nextseq, project, inputfilename):
#MAYBE TODO: make more efficient
if filename.find('$') != -1:
for parameter_id, parameter in sorted(globalparameters.items(), key=lambda x: len(x[0]),reverse=True): #, cmp=lambda x,y: len(y[0]) - len(x[0])):
if parameter and parameter.hasvalue:
filename = filename.replace('$' + parameter.id, str(parameter.value))
if filename.find('$') != -1:
for parameter_id, value in sorted(localparameters.items(), key=lambda x:len(x[0]),reverse=True): # cmp=lambda x,y: len(y[0]) - len(x[0])):
if value != None:
filename = filename.replace('$' + parameter_id, str(value))
if filename.find('$') != -1:
if inputfilename:
inputfilename = os.path.basename(inputfilename)
raw = inputfilename.split('.',1)
inputstrippedfilename = raw[0]
if len(raw) > 1:
inputextension = raw[1]
else:
inputextension = ""
filename = filename.replace('$INPUTFILENAME', inputfilename)
filename = filename.replace('$INPUTSTRIPPEDFILENAME', inputstrippedfilename)
filename = filename.replace('$INPUTEXTENSION', inputextension)
if project: filename = filename.replace('$PROJECT', project)
if not outputtemplate.unique:
filename = filename.replace('$SEQNR', str(nextseq))
#BACKWARD COMPATIBILITY:
if not outputtemplate.unique:
if '#' in filename: #resolve number in filename
filename = filename.replace('#',str(nextseq))
clam.common.util.printdebug("Determined output filename: " + filename)
return filename
def escape(s, quote):
s2 = ""
for i, c in enumerate(s):
if c == quote:
escapes = 0
j = i - 1
while j > 0:
if s[j] == "\\":
escapes += 1
else:
break
j -= 1
if escapes % 2 == 0: #even number of escapes, we need another one
s2 += "\\"
s2 += c
return s2
def shellsafe(s, quote='', doescape=True):
"""Returns the value string, wrapped in the specified quotes (if not empty), but checks and raises an Exception if the string is at risk of causing code injection"""
if sys.version[0] == '2' and not isinstance(s,unicode): #pylint: disable=undefined-variable
s = unicode(s,'utf-8') #pylint: disable=undefined-variable
if len(s) > 1024:
raise ValueError("Variable value rejected for security reasons: too long")
if quote:
if quote in s:
if doescape:
s = escape(s,quote)
else:
raise ValueError("Variable value rejected for security reasons: " + s)
return quote + s + quote
else:
for c in s:
if c in DISALLOWINSHELLSAFE:
raise ValueError("Variable value rejected for security reasons: " + s)
return s
def escapeshelloperators(s):
inquote = False
indblquote = False
o = ""
for c in s:
if c == "'" and not indblquote:
inquote = not inquote
o += c
elif c == '"' and not inquote:
indblquote = not indblquote
o += c
elif not inquote and not indblquote:
if c == '|':
o += '%PIPE%'
elif c == '>':
o += '%OUT%'
elif c == '<':
o += '%IN%'
elif c == '&':
o += '%AMP%'
elif c == '!':
o += '%EXCL%'
else:
o += c
else:
o += c
return o
def unescapeshelloperators(s):
if sys.version < '3':
s = s.replace(b'%PIPE%',b'|')
s = s.replace(b'%OUT%',b'>')
s = s.replace(b'%AMP%',b'&')
s = s.replace(b'%EXCL%',b'!')
s = s.replace(b'%IN%',b'<')
else:
s = s.replace('%PIPE%','|')
s = s.replace('%OUT%','>')
s = s.replace('%AMP%','&')
s = s.replace('%EXCL%','!')
s = s.replace('%IN%','<')
return s
#yes, this is deliberately placed at the end!
import clam.common.formats #pylint: disable=wrong-import-position
| [
"root@Razer-Stealth.localdomain"
] | root@Razer-Stealth.localdomain |
8d949e06450535d4290d453381f9fea6c09f6263 | b4af26ef6994f4cbb738cdfd182e0a992d2e5baa | /source/leetcode/2222/hyo.py | c1b25c1cdff34ac62d6631e0c46197bc05b08274 | [] | no_license | wisest30/AlgoStudy | 6819b193c8e9245104fc52df5852cd487ae7a26e | 112de912fc10933445c2ad36ce30fd404c493ddf | refs/heads/master | 2023-08-08T17:01:12.324470 | 2023-08-06T11:54:15 | 2023-08-06T11:54:15 | 246,302,438 | 10 | 17 | null | 2021-09-26T13:52:18 | 2020-03-10T13:02:56 | C++ | UTF-8 | Python | false | false | 381 | py | class Solution:
def numberOfWays(self, s: str) -> int:
right_cnts = Counter(s)
left_cnts = Counter()
ret = 0
for c in s :
right_cnts[c] -= 1
if c == '0' : ret += left_cnts['1'] * right_cnts['1']
else : ret += left_cnts['0'] * right_cnts['0']
left_cnts[c] += 1
return ret
| [
"noreply@github.com"
] | wisest30.noreply@github.com |
25e5a16ac39717e731fb9f117db8b7075df9197c | e299cc1d1184bc8349a530579806daeafd0ab928 | /btc_api/app/wallet/transaction.py | 3f5254e47d6092e9503a693f40c83a39efb47bb1 | [
"MIT"
] | permissive | krebernisak/btc-payments | 56b77b9e5f839b18da04f7b2d4425924645b6061 | e61e37548ae8053557c34e5a88d70257bf44bf3a | refs/heads/master | 2022-12-23T08:03:06.034697 | 2020-02-03T09:43:02 | 2020-03-31T16:22:16 | 251,663,071 | 0 | 0 | MIT | 2022-12-08T03:56:33 | 2020-03-31T16:26:10 | Python | UTF-8 | Python | false | false | 2,652 | py | from __future__ import annotations
import math
from typing import List
from dataclasses import dataclass, astuple
from fractions import Fraction
from bit.transaction import (
TxIn,
TxObj,
construct_outputs,
address_to_scriptpubkey,
estimate_tx_fee,
)
from bit.constants import LOCK_TIME, VERSION_2
from bit.wallet import Unspent
from bit.utils import hex_to_bytes
# empty scriptSig for new unsigned transaction.
EMPTY_SCRIPT_SIG = b""
VALUE_SIZE = 8
VAR_INT_MIN_SIZE = 1
BYTES_IN_KB = 1024
@dataclass
class Output:
"""Class for keeping track of our transaction outputs."""
address: str
amount: int
def __iter__(self):
"""Makes it unpackable."""
yield from astuple(self)
@dataclass(frozen=True)
class TxContext:
"""Class representing context for the transaction."""
address: str
inputs: List[Unspent]
outputs: List[Output]
fee_kb: int
change_address: str
def copy(
self, *, inputs: List[Unspent] = None, outputs: List[Output] = None
) -> TxContext:
return TxContext(
self.address,
inputs if inputs is not None else self.inputs,
outputs if outputs is not None else self.outputs,
self.fee_kb,
self.change_address,
)
def create_unsigned(inputs: List[Unspent], outputs: List[Output]) -> TxObj:
"""Creates an unsigned transaction object"""
raw_outputs = construct_outputs(outputs)
raw_inputs = [
TxIn(
script_sig=EMPTY_SCRIPT_SIG,
txid=serialize_txid(utxo.txid),
txindex=serialize_txindex(utxo.txindex),
amount=serialize_amount(utxo.amount),
)
for utxo in inputs
]
return TxObj(VERSION_2, raw_inputs, raw_outputs, LOCK_TIME)
def serialize_txid(txid: str) -> bytes:
"""Serializes txid to bytes"""
return hex_to_bytes(txid)[::-1]
def serialize_txindex(txindex: int) -> bytes:
"""Serializes txindex to bytes"""
return txindex.to_bytes(4, byteorder="little")
def serialize_amount(amount: int) -> bytes:
"""Serializes amount to bytes"""
return amount.to_bytes(8, byteorder="little")
def address_to_output_size(address: str) -> int:
"""Calculates total size (in bytes) of TxOut for address"""
return VALUE_SIZE + VAR_INT_MIN_SIZE + len(address_to_scriptpubkey(address))
def estimate_tx_fee_kb(in_size, n_in, out_size, n_out, fee_kb) -> int:
"""Estimates transaction fee using satoshis per kilobyte"""
fee_byte = Fraction(fee_kb, BYTES_IN_KB)
fee = estimate_tx_fee(in_size, n_in, out_size, n_out, fee_byte)
return math.ceil(fee)
| [
"kristijan.rebernisak@gmail.com"
] | kristijan.rebernisak@gmail.com |
67ff1a110ded1680ce70494824dea52100cacd91 | dc17bff5529f751d19abbabdb8e8b92cdea7dcb2 | /manage.py | fe16b73d6c6314196adc256f9f0b4f0c5d2bdbd6 | [] | no_license | Ricardo-we/ProyectoWebCompleto_django | f8499ebd2844940d0a76bb8ab678b2ec7f4e3374 | 15f9bfe01c42ec4385397dd487838525423465d6 | refs/heads/master | 2023-07-24T02:30:49.053970 | 2021-08-26T21:34:12 | 2021-08-26T21:34:12 | 399,668,410 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 675 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proyectoWebCompleto.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
if __name__ == '__main__':
main()
| [
"totigamer75@gmail.com"
] | totigamer75@gmail.com |
66012836b0d14426db60afcf8c57cc3fe58c317e | d6b20104ce4e2e43f33f1d4989540c1cf0b10762 | /jain.py | dc1ac75ea1231d572b53fab7bd7319f179dcbdc3 | [] | no_license | alisonmoura/python_clusters_exemples | be9e21af80fe2b260183399041aa06ee8f87bd9b | 90bf5fa253859095545f8cd57c9abb503af37e57 | refs/heads/master | 2020-12-30T13:28:36.999098 | 2017-05-23T22:34:50 | 2017-05-23T22:34:50 | 91,220,463 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 795 | py | import numpy as np
import matplotlib.pyplot as plt
from matplotlib import style
from sklearn.cluster import KMeans
style.use("ggplot")
datas = []
file = open("jain.txt")
for line in file:
line = line.split('\t')
line[2] = line[2].replace("\r\n","")
datas.append(line)
def plotData():
centroids = kmeans.cluster_centers_
labels = kmeans.labels_
print(centroids)
print(labels)
colors = ["g.", "r.", "b.", "y.", "k."]
for i in range(0, len(datas)):
print("Coordenada: ", datas[i], "Label: ", labels[i])
plt.plot(datas[i][0], datas[i][1], colors[labels[i]], markersize=10)
plt.scatter(centroids[:, 0], centroids[:, 1], marker="x", s=150, linewidths=5, zorder=10)
plt.show()
kmeans = KMeans(n_clusters=2)
kmeans.fit(datas)
plotData(); | [
"alison.oghino@gmail.com"
] | alison.oghino@gmail.com |
052bbab1f6d426719015437fad0b7bdf83bbc0ac | 648e5ea6722db2f29806e24f11cf169257dfc1c7 | /blogsadmin/migrations/0005_auto__add_field_position_group.py | 0ad40ed7325a477fce46b6380adef8c7a5a32b72 | [] | no_license | cash2one/doorscenter | 30d4f65e3fb57c417df3f09d7feab721d8425faa | d2771bf04aa187dda6d468883a5a167237589369 | refs/heads/master | 2021-05-27T15:38:56.219907 | 2012-06-20T05:38:15 | 2012-06-20T05:38:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,504 | py | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding field 'Position.group'
db.add_column('blogsadmin_position', 'group', self.gf('django.db.models.fields.CharField')(default='', max_length=200, blank=True), keep_default=False)
def backwards(self, orm):
# Deleting field 'Position.group'
db.delete_column('blogsadmin_position', 'group')
models = {
'blogsadmin.blog': {
'Meta': {'object_name': 'Blog'},
'backLinksCount': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'bulkAddBlogs': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
'domain': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '200'}),
'group': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'indexCount': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'lastChecked': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
},
'blogsadmin.position': {
'Meta': {'object_name': 'Position'},
'bingExtendedInfo': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
'bingMaxPosition': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'bingMaxPositionDate': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
'bingPosition': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'blog': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['blogsadmin.Blog']"}),
'bulkAddKeywords': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
'googleExtendedInfo': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
'googleMaxPosition': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'googleMaxPositionDate': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
'googlePosition': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'group': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200', 'blank': 'True'}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'keyword': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200'}),
'lastChecked': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
'yahooExtendedInfo': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
'yahooMaxPosition': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
'yahooMaxPositionDate': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
'yahooPosition': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
}
}
complete_apps = ['blogsadmin']
| [
"alex@altstone.com"
] | alex@altstone.com |
f5960cef38bc197443b9bf0d4f2c7fe53c85d06d | 08b2fe781b0944a4356f07c25ce6d75c6ca2e732 | /manage.py | cba5342e57450018d6953f80641b29cac433cd68 | [
"BSD-3-Clause"
] | permissive | praekeltfoundation/messaging-consenter | c1a01ddd09389df500566c4725c0c6b627ecd404 | 60a50ebf89afaced6e3ceecde52d5cbe870df07e | refs/heads/develop | 2022-12-09T12:20:29.221643 | 2020-09-15T11:24:03 | 2020-09-15T11:24:03 | 249,746,360 | 1 | 1 | BSD-3-Clause | 2020-09-15T11:24:04 | 2020-03-24T15:33:31 | Python | UTF-8 | Python | false | false | 631 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings.base")
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
if __name__ == "__main__":
main()
| [
"kaitlyn@praekelt.com"
] | kaitlyn@praekelt.com |
8ca8e675bfce7c69ece866e888c06ddde2758139 | 19fdfdfb37fce465c609b2b2116a1e0cefebee6d | /introduction/functions.py | a78e79ae08e2786458fc5180a0e6003e59a81c0e | [] | no_license | nilanjanchakraborty87/py-learn | aa0b61417eb6f120c7801a5b9168a4bd21859d30 | 32c3fba86e4659b4c13ec049c196711a271dd1a6 | refs/heads/master | 2022-12-06T23:06:24.483744 | 2020-08-08T16:26:00 | 2020-08-08T16:26:00 | 257,855,030 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 583 | py | def greet(*args, **kwargs):
"""
docstring
this function takes a message and greets you
"""
print("Hello ", args[0], args[1], args[2])
print("Kwargs ", kwargs["message"])
# greet("Cts", "Macy", "IBM", message = "Nilanjan")
print(greet.__doc__)
# lambda
# multipler_3 =
"""
def random11111(x):
print(x)
func = random11111
"""
for i in range(1, 11):
#print((lambda x: 3 * x)(i))
pass
# dunder __repr__/__str__
# object
func = lambda msg = "World": print("Hello, ", msg)
func()
func("Naga")
func = lambda : print("Example lambda")
func() | [
"nilanjan@gintaa.com"
] | nilanjan@gintaa.com |
47a97ab6d8d5f5548aebdd21309a93628a5ddc13 | b9deb23923e6b4625ef04993b66d912594815a4c | /sftgan_handler.py | 0211a66576337831f7602d0c65fc1e05907207de | [] | no_license | previtus/SuperSuperSuperResolution | 4491ae9ab9269a0be9a3fc5a3d47a5b72b09f5b0 | 98ef3017bcf1da4f73bedb29574d00af8f895cab | refs/heads/master | 2021-11-18T20:01:27.757712 | 2021-09-17T13:22:35 | 2021-09-17T13:22:35 | 253,820,324 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,176 | py | import os
import glob
import numpy as np
import cv2
import torch
import torchvision.utils
from os import listdir
from os.path import isfile, join
import sys
sys.path.append(r'SFTGAN/pytorch_test/')
#from SFTGAN.pytorch_test import architectures as arch
#from SFTGAN.pytorch_test import util as util
import architectures as arch
import util
def sftgan(load_name="", save_name = 'fin_rlt.png', mode = 'rgb', override_input = False):
path = load_name
test_img_folder_name = "TMP1"
# options
os.environ['CUDA_VISIBLE_DEVICES'] = '0'
device = torch.device('cuda') # if you want to run on CPU, change 'cuda' -> 'cpu'
# device = torch.device('cpu')
# make dirs
test_img_folder = 'SFTGAN/data/' + test_img_folder_name # HR images
save_prob_path = 'SFTGAN/data/' + test_img_folder_name + '_segprob' # probability maps
save_byteimg_path = 'SFTGAN/data/' + test_img_folder_name + '_byteimg' # segmentation annotations
save_colorimg_path = 'SFTGAN/data/' + test_img_folder_name + '_colorimg' # segmentaion color results
util.mkdirs([save_prob_path, save_byteimg_path, save_colorimg_path])
test_prob_path = 'SFTGAN/data/' + test_img_folder_name + '_segprob' # probability maps
save_result_path = 'SFTGAN/data/' + test_img_folder_name + '_result' # results
util.mkdirs([save_result_path])
# load model
seg_model = arch.OutdoorSceneSeg()
seg_model_path = 'SFTGAN/pretrained_models/segmentation_OST_bic.pth'
seg_model.load_state_dict(torch.load(seg_model_path), strict=True)
seg_model.eval()
seg_model = seg_model.to(device)
# look_up table, RGB, for coloring the segmentation results
lookup_table = torch.from_numpy(
np.array([
[153, 153, 153], # 0, background
[0, 255, 255], # 1, sky
[109, 158, 235], # 2, water
[183, 225, 205], # 3, grass
[153, 0, 255], # 4, mountain
[17, 85, 204], # 5, building
[106, 168, 79], # 6, plant
[224, 102, 102], # 7, animal
[255, 255, 255], # 8/255, void
])).float()
lookup_table /= 255
print('Testing segmentation probability maps ...')
"""
for idx, path in enumerate(glob.glob(test_img_folder + '/*')):
imgname = os.path.basename(path)
basename = os.path.splitext(imgname)[0]
if "txt" in path:
continue
"""
idx = 0
if True:
#print(idx + 1, basename, path)
print(idx + 1)
# read image
img = cv2.imread(path, cv2.IMREAD_UNCHANGED)
img = util.modcrop(img, 8)
print("debug ", img.shape, img.ndim, )
if img.ndim == 2:
img = np.expand_dims(img, axis=2)
if mode == 'bw':
#print(img.shape) # w,h,3 <- 1
stacked_img = np.stack((img,)*3, axis=2) # bw -> rgb
stacked_img = stacked_img[:,:,:,0]
#print(stacked_img.shape) # w,h,3 <- 1
img = stacked_img
#(424, 1024, 3)
#print("debug img", img.shape, )
if override_input:
print("overriding input ", img.shape, "as", path)
util.save_img(img, path)
img = torch.from_numpy(np.transpose(img, (2, 0, 1))).float()
# MATLAB imresize
# You can use the MATLAB to generate LR images first for faster imresize operation
img_LR = util.imresize(img / 255, 1 / 4, antialiasing=True)
img = util.imresize(img_LR, 4, antialiasing=True) * 255
img[0] -= 103.939
img[1] -= 116.779
img[2] -= 123.68
img = img.unsqueeze(0)
img = img.to(device)
with torch.no_grad():
output = seg_model(img).detach().float().cpu().squeeze()
# save segmentation probability maps
#torch.save(output, os.path.join(save_prob_path, basename + '_bic.pth')) # 8xHxW
SEG_OUT = output
"""
# save segmentation byte images (annotations)
_, argmax = torch.max(output, 0)
argmax = argmax.squeeze().byte()
cv2.imwrite('foo1.png', argmax.numpy())
# save segmentation colorful results
im_h, im_w = argmax.size()
color = torch.FloatTensor(3, im_h, im_w).fill_(0) # black
for i in range(8):
mask = torch.eq(argmax, i)
color.select(0, 0).masked_fill_(mask, lookup_table[i][0]) # R
color.select(0, 1).masked_fill_(mask, lookup_table[i][1]) # G
color.select(0, 2).masked_fill_(mask, lookup_table[i][2]) # B
# void
mask = torch.eq(argmax, 255)
color.select(0, 0).masked_fill_(mask, lookup_table[8][0]) # R
color.select(0, 1).masked_fill_(mask, lookup_table[8][1]) # G
color.select(0, 2).masked_fill_(mask, lookup_table[8][2]) # B
torchvision.utils.save_image(
color, 'foo2.png', padding=0, normalize=False)
"""
del seg_model
'''
Codes for testing SFTGAN
'''
# options
os.environ['CUDA_VISIBLE_DEVICES'] = '0'
sres_model_path = 'SFTGAN/pretrained_models/SFTGAN_torch.pth' # torch version
# sres_model_path = 'SFTGAN/pretrained_models/SFTGAN_noBN_OST_bg.pth' # pytorch version
device = torch.device('cuda') # if you want to run on CPU, change 'cuda' -> 'cpu'
# device = torch.device('cpu')
if 'torch' in sres_model_path: # torch version
model = arch.SFT_Net_torch()
else: # pytorch version
model = arch.SFT_Net()
model.load_state_dict(torch.load(sres_model_path), strict=True)
model.eval()
model = model.to(device)
print('Testing SFTGAN ...')
"""
for idx, path in enumerate(glob.glob(test_img_folder + '/*')):
imgname = os.path.basename(path)
basename = os.path.splitext(imgname)[0]
if "txt" in path:
continue
"""
if True:
path
#print(idx + 1, basename)
print(idx + 1)
# read image
img = cv2.imread(path, cv2.IMREAD_UNCHANGED)
img = util.modcrop(img, 8)
img = img * 1.0 / 255
if img.ndim == 2:
img = np.expand_dims(img, axis=2)
if mode == 'bw':
#print(img.shape) # w,h,3 <- 1
stacked_img = np.stack((img,)*3, axis=2) # bw -> rgb
stacked_img = stacked_img[:,:,:,0]
#print(stacked_img.shape) # w,h,3 <- 1
img = stacked_img
#(424, 1024, 3)
#print("debug img", img.shape, )
img = torch.from_numpy(np.transpose(img[:, :, [2, 1, 0]], (2, 0, 1))).float()
# MATLAB imresize
# You can use the MATLAB to generate LR images first for faster imresize operation
img_LR = util.imresize(img, 1 / 4, antialiasing=True)
img_LR = img_LR.unsqueeze(0)
img_LR = img_LR.to(device)
# read segmentation probability maps
#seg = torch.load(os.path.join(test_prob_path, basename + '_bic.pth'))
seg = SEG_OUT
seg = seg.unsqueeze(0)
# change probability
# seg.fill_(0)
# seg[:,5].fill_(1)
seg = seg.to(device)
with torch.no_grad():
output = model((img_LR, seg)).data.float().cpu().squeeze()
output = util.tensor2img(output)
util.save_img(output, save_name)
if __name__ == "__main__":
mypath = "superloop-sft/"
onlyfiles = [f for f in listdir(mypath) if isfile(join(mypath, f))]
onlyfiles.sort()
last_file = onlyfiles[-1]
namelist = last_file.split("_")
int_num = int(namelist[0])
name = "_" + "_".join(namelist[1:])
print(name, int_num, "and last is", last_file, "from whole list of", onlyfiles)
path = mypath + last_file
print("opening", path)
print("=================================================================================================================")
loops = 100
print("Now looping for", loops)
for i in range(loops):
int_num += 1
save_as = "superloop-sft/"+str(int_num).zfill(6)+name
sftgan(load_name=path, save_name=save_as)
print('saved', save_as)
path = save_as
| [
"previtus@gmail.com"
] | previtus@gmail.com |
231912e7176c7be34d317eea5b34dae6506d3f1c | fa186af1cff00b7d1a30548b97acb7c5d5a933ac | /tools/templates/test/src/main/python/integration/test/test2/modules.py | d0fe10328547b6ce17501b8c90ff471dddda24d0 | [
"Apache-2.0"
] | permissive | TresAmigosSD/SMV | b50d0e054db792574d7732689671f5b68e8ac80e | e12257b5b07113d805e7fdd8de41cbcf72120ed7 | refs/heads/master | 2021-05-22T06:17:05.073051 | 2020-05-25T01:14:35 | 2020-05-25T01:14:35 | 22,822,910 | 51 | 35 | Apache-2.0 | 2020-05-24T23:57:19 | 2014-08-11T01:19:27 | Python | UTF-8 | Python | false | false | 318 | py | import smv
from integration.test.test2 import input
class M1(smv.SmvModule):
def requiresDS(self):
return [input.table]
def run(self, i):
return i[input.table]
class M2(smv.SmvModule, smv.SmvOutput):
def requiresDS(self):
return [M1]
def run(self, i):
return i[M1]
| [
"lane.barlow@gmail.com"
] | lane.barlow@gmail.com |
2f50f148843afe03fd08b83ba33049d8aef8ae3e | 29d6b353320bdc853a4f6dfe24395f567de95a55 | /setup.py | b84487d858411a84209fd1ffbbc9cb597a3c4d8b | [
"BSD-3-Clause"
] | permissive | hsfzxjy/pytorch-estimate-flops | 09b37168ad934e18d3c49629dbea54021d74a806 | 4d76778daa98988b039ab13b5844cdbcac990ad0 | refs/heads/master | 2021-03-28T23:00:36.038550 | 2020-03-17T09:11:05 | 2020-03-17T09:11:05 | 247,904,411 | 0 | 0 | BSD-3-Clause | 2020-03-17T07:20:37 | 2020-03-17T07:20:36 | null | UTF-8 | Python | false | false | 2,051 | py | import io
import os
from os import path
import re
from setuptools import setup, find_packages
# To use consisten encodings
from codecs import open
# Function from: https://github.com/pytorch/vision/blob/master/setup.py
def read(*names, **kwargs):
with io.open(
os.path.join(os.path.dirname(__file__), *names),
encoding=kwargs.get("encoding", "utf8")
) as fp:
return fp.read()
# Function from: https://github.com/pytorch/vision/blob/master/setup.py
def find_version(*file_paths):
version_file = read(*file_paths)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as readme_file:
long_description = readme_file.read()
VERSION = find_version('pthflops', '__init__.py')
requirements = [
'torch'
]
setup(
name='pthflops',
version=VERSION,
description="Estimate FLOPs of neural networks",
long_description=long_description,
long_description_content_type="text/markdown",
# Author details
author="Adrian Bulat",
author_email="adrian@adrianbulat.com",
url="https://github.com/1adrianb/pytorch-estimate-flops",
# Package info
packages=find_packages(exclude=('test',)),
install_requires=requirements,
license='BSD',
zip_safe=True,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
# Supported python versions
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)
| [
"bulat.adrian@gmail.com"
] | bulat.adrian@gmail.com |
f9257b477160ac554e02559f14759880962fa646 | fe8cc4c318a2122aee94ceea7b671d1c47c9844a | /pumasmas_trainings/pumasmas_training_1/A.py | 07379ee3cc89c1c9912aaa3c6bbe86eab5ce5d86 | [] | no_license | YoshiBrightside/Ode-to-my-Failures | 4540955e21ba69406d8bbbf26c6e0d47bcd8ac57 | 3fbbb469473443bbfe9459317dbd0fe1ff65fab5 | refs/heads/master | 2021-06-27T08:45:42.037526 | 2020-12-06T04:50:11 | 2020-12-06T04:50:11 | 193,014,780 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 250 | py | universities = {}
for _ in range(int(input())):
if len(universities) > 11:
break
uni_and_team = input().split()
if not universities.get(uni_and_team[0]):
universities[uni_and_team[0]] = 1
print(uni_and_team[0], uni_and_team[1])
| [
"yoshibrightside@ciencias.unam.mx"
] | yoshibrightside@ciencias.unam.mx |
b2842cced141b835a6365eec55d2ffd8988bfda0 | 93358388ca52322b92c835d410decf444d3e717f | /sim/lab2_proc/test/inst_srli.py | b6acb45d6537be913589d4346289704e18bbf6db | [] | no_license | 2php/Multi-stage_Pipeline_Multi-core_CPU | 097e359f423abbc50e6717718a1598fec388fd70 | 26bed2fe4ae9a9d580fe7e16383c128d814dd1eb | refs/heads/master | 2021-04-05T21:01:23.745589 | 2018-02-07T18:01:25 | 2018-02-07T18:01:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,319 | py | #=========================================================================
# srli
#=========================================================================
import random
from pymtl import *
from inst_utils import *
#-------------------------------------------------------------------------
# gen_basic_test
#-------------------------------------------------------------------------
def gen_basic_test():
return """
csrr x1, mngr2proc < 0x00008000
nop
nop
nop
nop
nop
nop
nop
nop
srli x3, x1, 0x03
nop
nop
nop
nop
nop
nop
nop
nop
csrw proc2mngr, x3 > 0x00001000
nop
nop
nop
nop
nop
nop
nop
nop
"""
#-------------------------------------------------------------------------
# gen_dest_dep_test
#-------------------------------------------------------------------------
def gen_dest_dep_test():
return [
gen_rimm_dest_dep_test( 5, "srli", 5, 0x002, 1 ),
gen_rimm_dest_dep_test( 4, "srli", 7, 0x001, 3 ),
gen_rimm_dest_dep_test( 3, "srli", 9, 0x002, 2 ),
gen_rimm_dest_dep_test( 2, "srli", 8, 0x005, 0 ),
gen_rimm_dest_dep_test( 1, "srli", 2, 0x001, 1 ),
gen_rimm_dest_dep_test( 0, "srli", 3, 0x001, 1 ),
]
#-------------------------------------------------------------------------
# gen_src_dep_test
#-------------------------------------------------------------------------
def gen_src_dep_test():
return [
gen_rimm_src_dep_test( 5, "srli", 4, 0x003, 0 ),
gen_rimm_src_dep_test( 4, "srli", 11, 0x002, 2 ),
gen_rimm_src_dep_test( 3, "srli", 13, 0x002, 3 ),
gen_rimm_src_dep_test( 2, "srli", 16, 0x002, 4 ),
gen_rimm_src_dep_test( 1, "srli", 15, 0x001, 7 ),
gen_rimm_src_dep_test( 0, "srli", 19, 0x001, 9),
]
#-------------------------------------------------------------------------
# gen_srcs_dep_test
#-------------------------------------------------------------------------
def gen_srcs_dep_test():
return [
gen_rimm_srcs_dep_test( 5, "srli", 9, 0x003, 1 ),
gen_rimm_srcs_dep_test( 4, "srli", 8, 0x005, 0 ),
gen_rimm_srcs_dep_test( 3, "srli", 35, 0x001, 17 ),
gen_rimm_srcs_dep_test( 2, "srli", 500, 0x004, 31 ),
gen_rimm_srcs_dep_test( 1, "srli", 330, 0x005, 10 ),
gen_rimm_srcs_dep_test( 0, "srli", 720, 0x003, 90 ),
]
#-------------------------------------------------------------------------
# gen_srcs_dest_test
#-------------------------------------------------------------------------
def gen_srcs_dest_test():
return [
gen_rimm_src_eq_dest_test( "srli", 25, 0x001, 12 ),
gen_rimm_src_eq_dest_test( "srli", 260, 0x001, 130 ),
]
#-------------------------------------------------------------------------
# gen_value_test
#-------------------------------------------------------------------------
def gen_value_test():
return [
gen_rimm_value_test( "srli", 0x00000000, 0x003, 0x00000000 ),
gen_rimm_value_test( "srli", 0x00000005, 0x001, 0x00000002 ),
gen_rimm_value_test( "srli", 0x00000008, 0x002, 0x00000002 ),
gen_rimm_value_test( "srli", 0xffff8000, 0x004, 0x0ffff800 ),
gen_rimm_value_test( "srli", 0x80000000, 0x00a, 0x00200000 ),
gen_rimm_value_test( "srli", 0x80000000, 0x010, 0x00008000 ),
gen_rimm_value_test( "srli", 0x00000000, 0x011, 0x00000000 ),
gen_rimm_value_test( "srli", 0x7fffffff, 0x014, 0x000007ff ),
gen_rimm_value_test( "srli", 0x7fffffff, 0x00a, 0x001fffff ),
gen_rimm_value_test( "srli", 0x00007fff, 0x003, 0x00000fff ),
gen_rimm_value_test( "srli", 0x7fffffff, 0x01e, 0x00000001 ),
gen_rimm_value_test( "srli", 0x000003e8, 0x004, 0x0000003e ),
gen_rimm_value_test( "srli", 0xffffffff, 0x002, 0x3fffffff ),
gen_rimm_value_test( "srli", 0xffffffff, 0x01f, 0x00000001 ),
]
#-------------------------------------------------------------------------
# gen_random_test
#-------------------------------------------------------------------------
def gen_random_test():
asm_code = []
for i in xrange(100):
src0 = Bits( 32, random.randint(0,0xffffffff) )
src1 = Bits( 12, random.randint(0,0x01f) )
dest = src0 >> src1
asm_code.append( gen_rimm_value_test( "srli", src0.uint(), src1.uint(), dest.uint() ) )
return asm_code
'''''''''''''''''''''''''''''''''''' | [
"catching@bu.edu"
] | catching@bu.edu |
9ed07c3b3a49f04781efca9aa44ebd52cc2239d7 | 077ccd8fa46bd1d6c5f904401d20d3e486071fc3 | /core/views.py | b979d959d52f3ba0a9907ac038317e0825d31a44 | [] | no_license | JoanMunar/Depixs-ProjecteFinal | 6b912cc990f3d4401e1393ccaf8490e7bc63b9c5 | c2fe5dfccf77bf5135281bb5c30df239c9d5f3df | refs/heads/master | 2020-05-31T10:01:06.125495 | 2019-06-04T15:23:53 | 2019-06-04T15:23:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,225 | py | # -*- coding: utf-8 -*-
from django.core.mail import send_mail
from random import choice
from string import ascii_uppercase
from django.contrib.auth import login as auth_login, logout as auth_logout, authenticate
from django.contrib.auth.decorators import login_required
from django.core.urlresolvers import reverse
from django.db import IntegrityError
from django.http import HttpResponseRedirect, JsonResponse
from django.shortcuts import render
from push_notifications.models import GCMDevice, APNSDevice
from core.models import *
from django.conf import settings
def login(request):
if not request.user.is_anonymous:
return HttpResponseRedirect(reverse('home'))
context = {
'data': request.POST,
}
if request.POST:
username = request.POST.get('username')
password = request.POST.get('password')
user = authenticate(request, username=username, password=password)
if user is not None:
auth_login(request, user)
return HttpResponseRedirect(reverse('home'))
else:
context.update({'error_msg': u'Usuario y/o contraseña inválido/s.'})
return render(request, 'login.html', context)
def register(request):
auth_logout(request)
context = {}
colleges = Colleges.objects.all()
studies = Studies.objects.all()
context.update({
'colleges': colleges,
'studies': studies
})
if request.POST:
username = request.POST.get('username')
password = request.POST.get('password')
email = request.POST.get('email')
study = request.POST.get('study')
college = request.POST.get('college')
gender = request.POST.get('gender')
image = request.FILES.get('image')
try:
user = User.objects.create(
username=username,
email=email,
gender=gender
)
if image:
user.image = image
user.study_id = study
user.college_id = college
user.points = 250
user.set_password(password)
user.save()
auth_login(request, user)
return HttpResponseRedirect(reverse('home'))
except IntegrityError:
context.update({
'error_msg': u'Ya existe un usuario con esa dirección email.',
'data': request.POST
})
return render(request, 'register.html', context)
def password_recovery(request):
context = {}
if 'email' in request.POST:
email = request.POST.get('email')
try:
user = User.objects.get(email=email)
new_password = (''.join(choice(ascii_uppercase) for i in range(8)))
user.set_password(new_password)
user.save()
print new_password
context.update({'success_msg': u'Se ha enviado una contraseña nueva al email indicado.'})
message = u'Tu nueva contraseña de acceso a Depixs es: %s' % new_password
send_mail('Depixs: Recuperacion de contraseña', message, 'noreply@depixs.com', (email,))
except User.DoesNotExist:
context.update({'error_msg': u'No existe ningún usuario con esa dirección email.'})
return render(request, 'password_recovery.html', context)
@login_required
def logout(request):
auth_logout(request)
return HttpResponseRedirect(reverse("login"))
@login_required
def home(request):
context = {
'section': 'home',
}
if request.POST:
for user_two in request.user.get_carousel().order_by('?'):
if not Chat.objects.filter(user_two=request.user, user_one=user_two).exists() and not Chat.objects.filter(
user_two=user_two, user_one=request.user).exists():
chat, created = Chat.objects.get_or_create(
user_one=request.user,
user_two=user_two,
)
if created:
push_notifications(
request, user_two, u'¡Empieza el juego!',
u'%s va a intentar despixelarte, ayúdale a hacerlo' % request.user.username,
'/chats/%s/' % chat.id
)
url = reverse('chat', kwargs={'pk': chat.id})
return HttpResponseRedirect(url)
context.update({'empty': True})
return render(request, 'carousel.html', context)
@login_required
def ranking(request):
users = User.objects.filter(
is_active=True,
).order_by('-points')
if request.GET.get('username'):
users = users.filter(username__icontains=request.GET.get('username'))
if request.GET.get('study'):
users = users.filter(study_id=request.GET.get('study'))
if request.GET.get('college'):
users = users.filter(college_id=request.GET.get('college'))
colleges = Colleges.objects.all()
studies = Studies.objects.all()
context = {
'section': 'ranking',
'users': users[:100],
'colleges': colleges,
'studies': studies,
'filters': request.GET
}
return render(request, 'ranking.html', context)
@login_required
def config(request):
context = {
'section': 'config',
}
return render(request, 'config.html', context)
@login_required
def user_profile(request):
context = {
'section': 'config',
'sub_menu_settings': True
}
colleges = Colleges.objects.all()
studies = Studies.objects.all()
if request.POST:
request.user.study_id = request.POST.get('study')
if request.FILES:
request.user.image = request.FILES.get('image')
if int(request.POST.get('college')) != request.user.college_id or int(
request.POST.get('preference')) != request.user.preference:
if not request.user.get_current_game_users():
request.user.college_id = request.POST.get('college')
request.user.preference = request.POST.get('preference')
else:
context.update({
'error_msg': 'No puedes cambiar tu universidad ni tu preferencia si tienes juegos activos.'
})
request.user.save()
user = User.objects.get(pk=request.user.pk)
context.update({
'colleges': colleges,
'studies': studies,
'user': user
})
return render(request, 'settings_components/user_profile.html', context)
@login_required
def chats(request):
chats = Chat.objects.filter(
Q(user_one=request.user) | Q(user_two=request.user)
).order_by('-timestamp_last_interaction')
context = {
'section': 'chats',
'chats': chats,
'games': request.user.get_current_game_users(),
'filters': request.GET,
}
return render(request, 'chats.html', context)
@login_required
def interactions(request, pk):
chat = Chat.objects.get(pk=pk)
if request.POST:
Interaction.objects.create(
chat=chat,
author=request.user,
message=request.POST['message'],
)
user = chat.user_one
if request.user.pk == chat.user_two_id:
user = chat.user_two
push_notifications(request, user, request.user.username, request.POST['message'], '/chats/%s/' % chat.id)
chat_interactions = chat.interaction_set.all()
if request.GET.get('from'):
chat_interactions = chat_interactions.filter(pk__gt=request.GET['from'])
if request.POST.get('from'):
chat_interactions = chat_interactions.filter(pk__gt=request.POST['from'])
chat_interactions = chat_interactions[:25]
interactions = []
for interaction in chat_interactions:
interactions.append({
'pk': interaction.pk,
'author': interaction.author_id,
'message': interaction.message,
})
chat.refresh_from_db()
return JsonResponse({
'interactions': list(reversed(interactions)),
'percent_depix': chat.percent_depix,
'pixelated_image_url': chat.get_pixelated_image_url()
})
@login_required
def chat(request, pk):
chat = Chat.objects.get(pk=pk)
context = {
'section': 'chat_room',
'sub_menu_chat': True,
'chat': chat,
'user2_image': chat.user_two.image,
'user2_username': chat.user_two.username,
}
if request.POST:
user_checked = request.POST.get('check')
correct_user = chat.user_two.username
if user_checked == correct_user:
push_notifications(
request, chat.user_two, u'¡Te han despixelado!',
u'%s ha conseguido despixelarte, se conservará el chat entre ambos.' % chat.user_one.username,
'/chats/'
)
# OLD
# chat_percent = int(chat.percent_depix)
# earned_points = 0
# if chat_percent < 100:
#
# percent_depix = chat_percent / 100
# earned_points = chat.user_two.points * percent_depix
# earned_points_rounded = round(earned_points, 0)
#
# chat.user_one.points += earned_points_rounded
#
# # Le damos el 100% de depixs al final para que deje de ser un juego y pase a ser un chat
# chat.percent_depix = 100
#
# elif chat_percent == 100:
# earned_points = chat.user_two.points
# chat.user_one.points += earned_points
# NEW
# Le damos el 100% de depixs al final para que deje de ser un juego y pase a ser un chat
chat.percent_depix = 100
chat.user_one.points += settings.POINTS_WIN_DEPIXS
chat.user_one.save()
chat.save()
context.update({
'winner': 'winner',
'earned_points': settings.POINTS_WIN_DEPIXS,
'total_points': chat.user_one.points
})
else:
# NEW
chat.user_one.points -= settings.POINTS_LOSE_DEPIXS
if chat.user_one.points < 0:
chat.user_one.points = 0
chat.user_one.save()
context.update({
'attempt': 'attempt',
'points_lost': settings.POINTS_LOSE_DEPIXS
})
return render(request, 'chat.html', context)
# OLD
# attempts_left = int(request.POST.get('attempts'))
# attempts_left -= 1
#
# if attempts_left == 0:
#
# push_notifications(
# request, chat.user_two, u'¡Oooh!',
# u'%s no ha conseguido despixelarte, se ha perdido el chat.' % chat.user_one.username,
# '/home/'
# )
# chat.delete()
#
# context.update({
# 'loser': 'loser'
# })
#
# else:
# chat.attempts = attempts_left
# chat.save()
#
# context.update({
# 'attempt': 'attempt'
# })
#
# return render(request, 'chat.html', context)
return render(request, 'chat.html', context)
@login_required
def terms_and_conditions(request):
context = {
'section': 'config',
'sub_menu_settings': True
}
return render(request, 'settings_components/terms_and_conditions.html', context)
@login_required
def push_notifications(request, user, title, message, url):
GCMDevice.objects.filter(
active=True,
user=user
).send_message(None, extra={
'm_title': title,
'm_message': message,
'url': url
})
for APN in APNSDevice.objects.filter(
active=True,
user=user):
APN.send_message(message={
'title': title,
'body': message,
'url': url
},
sound='default'
)
| [
"aleatron1995@gmail.com"
] | aleatron1995@gmail.com |
5d63b9cf492e40318d014fe173fe17287e7a9d28 | 32238c0e087973c115f456f7c29e7c5b36b39adf | /settings.py | 05265d93938d793f60ddf004d1df09398aa08dbe | [] | no_license | FishChina/alien_invasion-chinese-comment | ed4783221684e99edbd0c467d1c645982546ecf1 | 6277e51650863ea5fc99bc31564d245b746c788f | refs/heads/master | 2020-04-19T19:42:19.647364 | 2019-01-30T19:17:50 | 2019-01-30T19:17:50 | 168,396,118 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,458 | py | #!/usr/bin/env python
# -*_ coding:utf-8 -*-
# Author:Fish
class Settings():
"""存储《外星人入侵》的所有设置的类"""
def __init__(self):
"""设置初始化游戏的静态设置"""
#屏幕设置
self.screen_width = 1200
self.screen_height = 800
self.bg_color = (230, 230, 230)
#飞船的设置
self.ship_limit = 3
#子弹设置
self.bullet_width = 3
self.bullet_height = 15
self.bullet_color = 60, 60, 60
self.bullet_allowed = 3
#外星人设置
self.fleet_drop_speed = 10
#以什么样的速度加快游戏节奏
self.speedup_scale = 1.1
#外星人点数的提高速度
self.score_scale = 1.5
self.initialize_dynamic_settings()
def initialize_dynamic_settings(self):
"""初始化随游戏进行而变化的设置"""
self.ship_speed_factor = 1.5
self.bullet_speed_factor = 3
self.alien_speed_factor = 1
# (外星人)fleet_direction为1表示向右; 为 -1表示向左
self.fleet_direction = 1
# 记分
self.alien_points = 50
def increase_speed(self):
"""提高速度设置和外星人点数"""
self.ship_speed_factor *= self.speedup_scale
self.bullet_speed_factor *= self.speedup_scale
self.alien_speed_factor *= self.speedup_scale
print(self.alien_points)
| [
"yudehai@yahoo.com"
] | yudehai@yahoo.com |
287e68934f284948f6a261a5f824dff4d82924fe | 0bfca9e03901e8629082f1c283a3650e38325b24 | /printEven.py | 4196e6af9992e7a9e56649b95c420bf9703d6cab | [] | no_license | panderson1988/Python-Files | 0bfb8cb1d19a9ccec4cb0175fb103c04087043c8 | a3eab75bf98fd00b4100b0ebf76ee1f6d3bd8ec3 | refs/heads/master | 2020-05-16T12:42:27.145683 | 2019-04-23T16:14:21 | 2019-04-23T16:14:21 | 183,020,602 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 182 | py | nums = eval (input('enter a list of 5 numbers: '))
for num in nums:
if num % 2 == 0:
print(num)
else:
print (num, 'is odd')
print ('Done')
| [
"noreply@github.com"
] | panderson1988.noreply@github.com |
cb8b1874f769243aef1a1d265f1b200308a00d86 | 6bcfc1c29602c43ae8c499b98aa9e906e65a92bb | /behavior_tree_bot/checks.py | 3d0f0ce0d01a88efbb899eeb26096b5ec177e474 | [] | no_license | ownermz/BehaviorTrees | 64cf5d4d07ba2d048e4c4060b2cf8fe8e55d19f9 | 07d7c7c39d07b38d2695c690da23874146ab981f | refs/heads/master | 2020-03-09T09:25:18.179019 | 2017-11-01T00:02:07 | 2017-11-01T00:02:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,143 | py |
"""
Name: Jesus Hernandez Partner: Zechariah Neak
Email: jherna83@ucsc.edu Email: zneak@ucsc.edu
ID: 1420330
Course: CMPM146 Game AI
Professor: Daniel G Shapiro
\\\\\\\ Program 4 ///////
Description:
The functions below are checks and conditionals used as leaf nodes in bt_bot's
behavior tree.
"""
def if_neutral_planet_available(state):
return any(state.neutral_planets())
# returns true if total ships > enemy ships
def have_largest_fleet(state):
return sum(planet.num_ships for planet in state.my_planets()) \
+ sum(fleet.num_ships for fleet in state.my_fleets()) \
> sum(planet.num_ships for planet in state.enemy_planets()) \
+ sum(fleet.num_ships for fleet in state.enemy_fleets())
# returns any allied planet currently targeted by hostile barbarians
def if_under_attack(state):
fortresses = [planet for planet in state.my_planets()
if any(fleet.destination_planet == planet.ID for fleet in state.enemy_fleets())]
return any(fortresses) | [
"JjayaitchH@users.noreply.github.com"
] | JjayaitchH@users.noreply.github.com |
7b6c3c9d70c64000430f268b1e56be939c227968 | 4414a6a4da6466a4f330e08d291cb532230322a1 | /spider/modify.py | b9ba33a6970c25a7862996e843f57978f2aab9b3 | [] | no_license | taixiang/py_cake | d48e1ceaa2067e21271755622f502420d9b0eb4f | 874b5c810efdb566d03430a092e7ab4fea6c7912 | refs/heads/master | 2021-05-08T03:32:45.725119 | 2019-01-21T10:00:42 | 2019-01-21T10:00:42 | 108,276,463 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 335 | py | import os
def tt(file):
movie_name = os.listdir(file)
for temp in movie_name:
print(temp)
if os.path.isdir("./cfile/"+temp):
print(11111)
tt("./cfile/"+temp)
else:
new_name = '[111]' + temp
os.rename('./cfile/' + temp, 'cfile/' + new_name)
tt('./cfile') | [
"taixiang@htyg.com.cn"
] | taixiang@htyg.com.cn |
3d62e076a2ed3cb4a9f3d924b33485084a7ca36c | 1a8a224652a4e73f25137d1c5cc09f7aeded047a | /12.py | cd8e066ec405f8e3bd0dce81640ebb0b024e08e6 | [] | no_license | BigShow1949/Python100- | 1d9892be4981b8d04f4774e1d1b54c02d460f05d | 79db05e5673a326377c468e7cd2844befdca9c8c | refs/heads/master | 2021-01-19T23:20:50.219611 | 2017-05-09T02:43:01 | 2017-05-09T02:43:01 | 88,966,489 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 285 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# 题目:判断101-200之间有多少个素数,并输出所有素数。
# 程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除,则表明此数不是素数,反之是素数。
| [
"1029883589@qq.com"
] | 1029883589@qq.com |
f1798eb4e3c1717129b4e36af7c665ddc5a3e0d8 | 50cd6391d0372f312b5a0cac61e1aa85cc8a985c | /code9.py | 377b95af9c532c8ea0b1b105b8f6b8140b264ffd | [] | no_license | cyun9601/understanding-tf1 | 396ed2e3d3a012956edf6cc1ceca99a1a1bf5cad | d1f5f18258f4d1cade8951ac73d834b61c2edc5d | refs/heads/master | 2023-06-26T10:40:51.936116 | 2021-07-25T19:14:06 | 2021-07-25T19:14:06 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 545 | py | # %%
import tensorflow as tf
with tf.name_scope('scope_alpha'):
a = tf.constant(5, dtype=tf.int32, name='const_a')
b = tf.constant(10, dtype=tf.int32, name='const_b')
c = tf.add(a, b, name='add_c')
with tf.name_scope('scope_beta'):
d = tf.constant(500, dtype=tf.int32, name='const_a')
e = tf.constant(1000, dtype=tf.int32, name='const_b')
f = tf.add(d, e, name='add_c')
output = tf.add(c, f)
sess = tf.Session()
writer = tf.summary.FileWriter('./mygraph', graph=tf.get_default_graph())
print(sess.run(output))
# %%
| [
"cyun9601@gmail.com"
] | cyun9601@gmail.com |
ecf372af2d6cf157af07fc00c931f935f1a252c8 | 696ac453ee30865980a9bd5a6fc25a1baa0f32ec | /ssd/models/ssd512.py | 4aae987f027ee31be62081601a30161af0d183f9 | [
"MIT"
] | permissive | jjjkkkjjj/pytorch_SSD | b420f82c9be0de641b0da2100ee7f399b9d595bd | 4082ea745e0ca3a95cf73a89d824cd11ceb7c180 | refs/heads/master | 2021-06-12T21:35:50.536971 | 2020-06-25T15:05:28 | 2020-06-25T15:05:28 | 254,406,062 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 4,406 | py | from ..core.layers import *
from .base import SSDvggBase, SSDTrainConfig, SSDValConfig, load_vgg_weights
from ..core.boxes import *
from torch import nn
class SSD512(SSDvggBase):
def __init__(self, class_labels, input_shape=(512, 512, 3), batch_norm=False,
val_config=SSDValConfig(val_conf_threshold=0.01, vis_conf_threshold=0.6, iou_threshold=0.45, topk=200)):
"""
:param class_labels: list or tuple of str
:param input_shape: tuple, 3d and (height, width, channel)
:param batch_norm: bool, whether to add batch normalization layers
"""
### train_config ###
if not batch_norm:
train_config = SSDTrainConfig(class_labels=class_labels, input_shape=input_shape, batch_norm=batch_norm,
aspect_ratios=((1, 2), (1, 2, 3), (1, 2, 3), (1, 2, 3), (1, 2, 3), (1, 2), (1, 2)),
classifier_source_names=('convRL4_3', 'convRL7', 'convRL8_2', 'convRL9_2', 'convRL10_2', 'convRL11_2', 'convRL12_2'),
addon_source_names=('convRL4_3',),
codec_means=(0.0, 0.0, 0.0, 0.0), codec_stds=(0.1, 0.1, 0.2, 0.2),
rgb_means=(0.485, 0.456, 0.406), rgb_stds=(0.229, 0.224, 0.225))
else:
train_config = SSDTrainConfig(class_labels=class_labels, input_shape=input_shape, batch_norm=batch_norm,
aspect_ratios=((1, 2), (1, 2, 3), (1, 2, 3), (1, 2, 3), (1, 2, 3), (1, 2), (1, 2)),
classifier_source_names=('convBnRL4_3', 'convBnRL7', 'convBnRL8_2', 'convBnRL9_2', 'convBnRL10_2', 'convRLBn11_2', 'convRL12_2'),
addon_source_names=('convBnRL4_3',),
codec_means=(0.0, 0.0, 0.0, 0.0), codec_stds=(0.1, 0.1, 0.2, 0.2),
rgb_means=(0.485, 0.456, 0.406), rgb_stds=(0.229, 0.224, 0.225))
### layers ###
Conv2d.batch_norm = batch_norm
vgg_layers = [
*Conv2d.relu_block('1', 2, train_config.input_channel, 64),
*Conv2d.relu_block('2', 2, 64, 128),
*Conv2d.relu_block('3', 3, 128, 256, pool_ceil_mode=True),
*Conv2d.relu_block('4', 3, 256, 512),
*Conv2d.relu_block('5', 3, 512, 512, pool_k_size=(3, 3), pool_stride=(1, 1), pool_padding=1),
# replace last maxpool layer's kernel and stride
# Atrous convolution
*Conv2d.relu_one('6', 512, 1024, kernel_size=(3, 3), padding=6, dilation=6),
*Conv2d.relu_one('7', 1024, 1024, kernel_size=(1, 1)),
]
extra_layers = [
*Conv2d.relu_one('8_1', 1024, 256, kernel_size=(1, 1)),
*Conv2d.relu_one('8_2', 256, 512, kernel_size=(3, 3), stride=(2, 2), padding=1),
*Conv2d.relu_one('9_1', 512, 128, kernel_size=(1, 1)),
*Conv2d.relu_one('9_2', 128, 256, kernel_size=(3, 3), stride=(2, 2), padding=1),
*Conv2d.relu_one('10_1', 256, 128, kernel_size=(1, 1)),
*Conv2d.relu_one('10_2', 128, 256, kernel_size=(3, 3), stride=(2, 2), padding=1),
*Conv2d.relu_one('11_1', 256, 128, kernel_size=(1, 1)),
*Conv2d.relu_one('11_2', 128, 256, kernel_size=(3, 3), stride=(2, 2), padding=1),
*Conv2d.relu_one('12_1', 256, 128, kernel_size=(1, 1)),
*Conv2d.relu_one('12_2', 128, 256, kernel_size=(4, 4), stride=(1, 1), padding=1),
# if batch_norm = True, error is thrown. last layer's channel == 1 may be caused
]
vgg_layers = nn.ModuleDict(vgg_layers)
extra_layers = nn.ModuleDict(extra_layers)
super().__init__(train_config, val_config, defaultBox=DBoxSSDOriginal(img_shape=input_shape,
scale_conv4_3=0.07, scale_range=(0.15, 0.9),
aspect_ratios=train_config.aspect_ratios),
vgg_layers=vgg_layers, extra_layers=extra_layers)
def load_vgg_weights(self):
if self.batch_norm:
load_vgg_weights(self, 'vgg16_bn')
else:
load_vgg_weights(self, 'vgg16') | [
"kado_89_ssp_jun@yahoo.co.jp"
] | kado_89_ssp_jun@yahoo.co.jp |
fcbca05cc49a0ad1686136bc613ff0a39f1110d3 | 43566b09f1b4fcb004fb92c87b876934dec6c902 | /googleFoobar/Level3/fuelInjection.py | a39a4fc80dd9aa1af5939b2c9f4afb48303fc5b5 | [] | no_license | rmurali200/Assorted | 41b01c6746d21941624db662ac9cb2632a52d5cc | 8f5f69e45de6a12adfb418cf09f9531457545892 | refs/heads/master | 2022-12-01T13:13:10.270386 | 2020-08-10T18:59:14 | 2020-08-10T18:59:14 | 107,163,062 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 428 | py | def fuelInjection(n):
n_binary = 0
n = int(n)
if (n == 0 or n == 1):
return 0
elif n == 2:
return 1
elif (n == 3 or n == 4):
return 2
else:
if (n % 2 == 0):
n_binary = 1 + fuelInjection(n >> 1)
elif (n % 4 == 1):
n_binary = 2 + fuelInjection((n-1) >> 1)
else:
n_binary = 2 + fuelInjection((n+1) >> 1)
return n_binary | [
"rmurali200@gmail.com"
] | rmurali200@gmail.com |
188ff717e5a6b89a6f38b77d8394479b3aa433fa | d08f54c283f0ab87715c09520aef4f4277f2754f | /invoice_board/invoices/forms.py | 3b459568173d457f5a8445b0921d36fa14c9ea35 | [] | no_license | mdshi/Invoice_board | f273f59c49ed37766d9a15bf5caa49a5e2e1ccff | dbc32a5099df79100f014ec165ec0f7e06183ac9 | refs/heads/master | 2022-11-27T13:35:46.535730 | 2020-08-11T23:41:36 | 2020-08-11T23:41:36 | 286,292,992 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 428 | py | from django.forms import ModelForm
from crispy_forms.helper import FormHelper
from invoice_board.invoices.models import Invoice
class InvoiceForm(ModelForm):
class Meta:
model = Invoice
fields = ['name', 'description', 'status']
def __init__(self, *args, **kwargs):
super(InvoiceForm, self).__init__(*args, **kwargs)
self.helper = FormHelper()
self.helper.form_tag = False
| [
"mikeshifera@gmail.com"
] | mikeshifera@gmail.com |
89416476acd91becc786a01ec43d136a29494030 | 3f5e062698dc47d8327384bf78e13cacbd55e4cc | /gjeasy/utils/tranverse_time.py | 5abfa6acf30b60839a63117f2de33724b204b170 | [] | no_license | jamonhe/justsoeasy | bb14c921022fd4fddb5e06b10da1304d16056d59 | 87dc5b5d91d2e575c191e195aeab564600d79193 | refs/heads/master | 2021-01-10T19:09:56.018135 | 2014-08-24T23:33:05 | 2014-08-24T23:33:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 210 | py | #coding=utf8
from datetime import datetime
import time
def trans_time(str):
#print str, type(str)
cur_time= datetime.strptime(str, "%Y-%m-%d %H:%M:%S")
return int(time.mktime(cur_time.timetuple())) | [
"352622654@qq.com"
] | 352622654@qq.com |
6206ce9ee8eeed7a4c432e07c1830d732a353d89 | c7aaf089b49b711c9217c6e95ab9b8ee83a2f914 | /sequence.py | 5ac096d270945b915d3a1381c3360314e41603a0 | [] | no_license | SirGentleman2307/mydata | 0a4fede4840128e1b3b9a682ed7c19c8904ce3be | bcb7e30039677c4cc7688c766aac8a57ab236fcd | refs/heads/master | 2020-07-20T04:12:32.846027 | 2019-09-05T14:53:14 | 2019-09-05T14:53:14 | 206,571,396 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 767 | py | # Make an algorithm that generates the first n number in a sequence
# 1. The algorithm gets a input from the user
# 2. The input is n and that is the number of numbers the user whants
# 3. The algorithm saves 3 number that came be for the n number
# 4. For n number the algorithm prints the summs of the previus 3 numbers
n = int(input("Enter the length of the sequence: "))
num_1 = 1
num_2 = 2
num_3 = 3
for i in range(1, n+1):
if 1 <= i <= 3:
print(i)
else:
seq_num = num_1 + num_2 + num_3 # find the sum of numbers
num_1 = num_2 # update the numbers be for seq_num
num_2 = num_3
num_3 = seq_num # seq_num becomes the 3 number for the next number
print(seq_num) | [
"krissikja@gmail.com"
] | krissikja@gmail.com |
669f9df4e9dd7d4445d619a9df31513eff7f9760 | 2aed68d1ee14eb3fc344fe1e0db99b20f0c9a166 | /xnr/twitter/feedback_like.py | 1eb22b5a4e7e5a77903c88e07cd9307c7264e97f | [] | no_license | zhhhzhang/xnr1 | a8ab151d99e74124eae2ec15c61281a32cb9ce8d | bfa621916c9a787bcdff4573a06d12056e25c556 | refs/heads/master | 2020-03-19T04:56:22.330912 | 2018-05-30T12:00:12 | 2018-05-30T12:00:12 | 135,883,486 | 0 | 1 | null | 2018-06-03T07:35:36 | 2018-06-03T07:35:35 | null | UTF-8 | Python | false | false | 2,408 | py | #!/usr/bin/env python
#encoding: utf-8
from launcher import Launcher
from Elasticsearch_tw import Es_twitter
import time
class Like():
def __init__(self, username, password, consumer_key, consumer_secret, access_token, access_secret):
self.launcher = Launcher(username, password, consumer_key, consumer_secret, access_token, access_secret)
self.driver = self.launcher.login()
self.es = Es_twitter()
self.api = self.launcher.api()
self.driver.get('https://twitter.com/i/notifications')
time.sleep(2)
self.lis = self.driver.find_elements_by_xpath('//li[@data-item-type="activity"]')
self.list = []
self.update_time = int(time.time())
def get_like(self):
try:
for li in self.lis:
type = li.get_attribute('data-component-context')
if type == "favorite_activity":
user_name = li.find_element_by_xpath('./div/div/div/div[2]/div[1]/a/strong').text
screen_name = li.find_element_by_xpath('./div/div/div/div[2]/div[1]/a').get_attribute('href').replace('https:twitter.com/','')
timestamp = li.find_element_by_xpath('./div/div/div/div[2]/div[1]/div[1]/div/span').get_attribute('data-time')
user_id = li.find_element_by_xpath('./div/div/div/div[2]/div[1]/a').get_attribute('data-user-id')
root_user_id = li.find_element_by_xpath('./div/div/div/div[2]/div[2]/div/div/div').get_attribute('data-user-id')
root_content = li.find_element_by_xpath('./div/div/div/div[2]/div[2]/div/div/div/div/div/div[2]').text
mid = li.get_attribute('data-item-id')
photo_url = li.find_element_by_xpath('./div/div/div/div[2]//img').get_attribute('src')
item = {
'uid':user_id,
'photo_url':photo_url,
'user_name':screen_name,
'nick_name':user_name,
'timestamp':int(timestamp),
'text':root_content,
'update_time':self.update_time,
'root_text':root_content,
'root_mid':mid
}
self.list.append(item)
finally:
self.driver.close()
return self.list
def save(self,indexName,typeName,list):
self.es.executeES(indexName,typeName,list)
if __name__ == '__main__':
like = Like('18538728360@163.com', 'zyxing,0513', 'N1Z4pYYHqwcy9JI0N8quoxIc1', 'VKzMcdUEq74K7nugSSuZBHMWt8dzQqSLNcmDmpGXGdkH6rt7j2', '943290911039029250-yWtATgV0BLE6E42PknyCH5lQLB7i4lr', 'KqNwtbK79hK95l4X37z9tIswNZSr6HKMSchEsPZ8eMxA9')
list = like.get_like()
print(list)
#like.save('twitter_feedback_like','text',list)
| [
"1257819385@qq.com"
] | 1257819385@qq.com |
0375651712e4ca4f0a688682437e8c6a0263b53c | 55c24645dd63a1c41037dcfb9fb45bc7bcdea4be | /venv/lib/python3.7/site-packages/virtualenv/info.py | d93b549be167f5959986545dde548e4456d6340c | [] | no_license | abdullah-nawaz/flask-boilerplate | 7c42801a21ee3e6a647cc8a7d92e0285f8e86cad | 01bc7fe1140e8ec613de4a38546a07ddfbdbd254 | refs/heads/master | 2022-12-02T05:06:08.297759 | 2020-06-24T21:36:32 | 2020-06-24T21:36:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,957 | py | from __future__ import absolute_import, unicode_literals
import logging
import os
import platform
import sys
import tempfile
IMPLEMENTATION = platform.python_implementation()
IS_PYPY = IMPLEMENTATION == "PyPy"
IS_CPYTHON = IMPLEMENTATION == "CPython"
PY3 = sys.version_info[0] == 3
PY2 = sys.version_info[0] == 2
IS_WIN = sys.platform == "win32"
ROOT = os.path.realpath(
os.path.join(os.path.abspath(__file__), os.path.pardir, os.path.pardir)
)
IS_ZIPAPP = os.path.isfile(ROOT)
WIN_CPYTHON_2 = IS_CPYTHON and IS_WIN and PY2
_CAN_SYMLINK = _FS_CASE_SENSITIVE = _CFG_DIR = _DATA_DIR = None
def fs_is_case_sensitive():
global _FS_CASE_SENSITIVE
if _FS_CASE_SENSITIVE is None:
with tempfile.NamedTemporaryFile(prefix="TmP") as tmp_file:
_FS_CASE_SENSITIVE = not os.path.exists(tmp_file.name.lower())
logging.debug(
"filesystem is %scase-sensitive", "" if _FS_CASE_SENSITIVE else "not "
)
return _FS_CASE_SENSITIVE
def fs_supports_symlink():
global _CAN_SYMLINK
if _CAN_SYMLINK is None:
can = False
if hasattr(os, "symlink"):
if IS_WIN:
with tempfile.NamedTemporaryFile(prefix="TmP") as tmp_file:
temp_dir = os.path.dirname(tmp_file.name)
dest = os.path.join(temp_dir, "{}-{}".format(tmp_file.name, "b"))
try:
os.symlink(tmp_file.name, dest)
can = True
except (OSError, NotImplementedError):
pass
logging.debug("symlink on filesystem does%s work", "" if can else " not")
else:
can = True
_CAN_SYMLINK = can
return _CAN_SYMLINK
__all__ = (
"IS_PYPY",
"IS_CPYTHON",
"PY3",
"PY2",
"IS_WIN",
"fs_is_case_sensitive",
"fs_supports_symlink",
"ROOT",
"IS_ZIPAPP",
"WIN_CPYTHON_2",
)
| [
"muhammadabdullah@wanclouds.net"
] | muhammadabdullah@wanclouds.net |
21d86b6ce0117aa847ef688c193dbf8573a77e7c | 704396a5dce5c76dfd31f7c35734d7143c329770 | /py/qxcomscroll/qxathena/qxplayground.py | 86bf85fbae04d48d535489027be3e9c9450ebfea | [
"BSD-2-Clause"
] | permissive | wthie/qxcomscroll | 0ddff8d11f2512aee78c9ca589a814cdb3f77eb9 | 7001cd82939622807abf62ec7b8f4aba51b2ebc0 | refs/heads/master | 2021-01-01T04:20:54.868389 | 2016-05-02T03:49:45 | 2016-05-02T03:49:45 | 57,815,286 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,760 | py | #! /usr/bin/env python
#-*- coding: iso-8859-1 -*-
"""
qxplayground.py - the Qooxdoo playground
author : Werner Thie, wth
last edit : wth, 21.03.2011
modhistory :
11.03.2010 - wth, created
"""
import sys, os, time
from twisted.internet import reactor
from twisted.python import log
from nevow import static, athena, loaders, inevow, url, tags as T, inevow, guard
from nevow.page import Element
from qxcomscroll.common.helpers import uc, fourOfour
class QxPlayground(athena.LiveElement):
jsClass = u'qxcomscroll.qxathena.qxplayground.QxPlayground'
docFactory = loaders.xmlstr("""
<div name='qxplayground' xmlns:nevow='http://nevow.com/ns/nevow/0.1' nevow:render='liveElement'>
</div>
""")
def detached(self):
#clean up whatever needs cleaning...
log.msg('QxPlayground Object was detached cleanly')
def connectionMade(self):
print "Connected!"
self.page.register(self)
def connectionLost(self, reason):
print "Disconnected!"
@athena.expose
def resetAll(self):
self.page.resetAll()
@athena.expose
def toggleBeat(self):
self.page.toggleBeat()
def sendBeat(self, id, msg):
"""
this is the callback function doing the actual work
"""
d = self.callRemote('beat', id, uc(msg))
def reset(self):
"""
this is the callback function doing the actual work
"""
d = self.callRemote('reset')
@athena.expose
def fourOfour(self, param):
f = fourOfour()
f.setFragmentParent(self)
return f
@athena.expose
def getRsrcFile(self, fname):
svg = ''
name = os.path.abspath(fname)
with open(name, 'rb') as f:
svg = f.read()
return uc(svg)
| [
"werner@makani-kai.com"
] | werner@makani-kai.com |
cdebd14a5379a157035011880267931ccd204b7b | c44dd28227a6960a413adb202bf177962c2341f8 | /petrarch2/PETRreader.py | a2dc116851bff0e04c6848df7c21cf567137cdd0 | [
"MIT"
] | permissive | openeventdata/political-actor-recommendation | deb943be8d6a6888b3e22711143e9e4e0e078c38 | da3246bb5ba9068c01831a3d3d1d61fa75206641 | refs/heads/master | 2021-05-04T05:07:27.546527 | 2017-11-02T20:31:47 | 2017-11-02T20:31:47 | 70,943,699 | 6 | 1 | null | null | null | null | UTF-8 | Python | false | false | 87,032 | py | ## PETRreader.py [module]
##
# Dictionary and text input routines for the PETRARCH event coder
##
# CODE REPOSITORY: https://github.com/eventdata/PETRARCH
##
# SYSTEM REQUIREMENTS
# This program has been successfully run under Mac OS 10.10; it is standard Python 2.7
# so it should also run in Unix or Windows.
#
# INITIAL PROVENANCE:
# Programmer: Philip A. Schrodt
# Parus Analytics
# Charlottesville, VA, 22901 U.S.A.
# http://eventdata.parusanalytics.com
#
#
# Clayton Norris
# Caerus Associates/ University of Chicago
#
# GitHub repository: https://github.com/openeventdata/petrarch
#
# Copyright (c) 2014 Philip A. Schrodt. All rights reserved.
#
# This project is part of the Open Event Data Alliance tool set; earlier developments
# were funded in part by National Science Foundation grant SES-1259190
#
# This code is covered under the MIT license
#
# Report bugs to: schrodt735@gmail.com
#
# REVISION HISTORY:
# 22-Nov-13: Initial version
# Summer-14: Numerous modifications to handle synonyms in actor and verb dictionaries
# 20-Nov-14: write_actor_root/text added to parse_Config
# ------------------------------------------------------------------------
from __future__ import print_function
from __future__ import unicode_literals
import io
import re
import os
import sys
import math # required for ordinal date calculations
import logging
import xml.etree.ElementTree as ET
from datetime import datetime
try:
from ConfigParser import ConfigParser
except ImportError:
from configparser import ConfigParser
import PETRglobals
import utilities
# ================== STRINGS ================== #
ErrMsgMissingDate = "<Sentence> missing required date; record was skipped"
# ================== EXCEPTIONS ================== #
class DateError(Exception): # invalid date
pass
# ================== CONFIG FILE INPUT ================== #
def parse_Config(config_path):
"""
Parse PETRglobals.ConfigFileName. The file should be ; the default is PETR_config.ini
in the working directory but this can be changed using the -c option in the command
line. Most of the entries are obvious (but will eventually be documented) with the
exception of
1. actorfile_list and textfile_list are comma-delimited lists. Per the usual rules
for Python config files, these can be continued on the next line provided the
the first char is a space or tab.
2. If both textfile_list and textfile_name are present, textfile_list takes priority.
textfile_list should be the name of a file containing text file names; # is allowed
as a comment delimiter at the beginning of individual lines and following the file
name.
3. For additional info on config files, see
http://docs.python.org/3.4/library/configparser.html
or try Google, but basically, it is fairly simple, and you can probably just
follow the examples.
"""
def get_config_boolean(optname):
""" Checks for the option optname, prints outcome and returns the result.
If optname not present, returns False """
if parser.has_option('Options', optname):
try:
result = parser.getboolean('Options', optname)
print(optname, "=", result)
return result
except ValueError:
print(
"Error in config.ini: " +
optname +
" value must be `true' or `false'")
raise
else:
return False
print('\n', end=' ')
parser = ConfigParser()
# logger.info('Found a config file in working directory')
# print "pc",PETRglobals.ConfigFileName
confdat = parser.read(config_path)
if len(confdat) == 0:
print(
"\aError: Could not find the config file:",
PETRglobals.ConfigFileName)
print("Terminating program")
sys.exit()
try:
PETRglobals.VerbFileName = parser.get('Dictionaries', 'verbfile_name')
PETRglobals.AgentFileName = parser.get(
'Dictionaries',
'agentfile_name')
# print "pc",PETRglobals.AgentFileName
PETRglobals.DiscardFileName = parser.get(
'Dictionaries',
'discardfile_name')
direct = parser.get('StanfordNLP', 'stanford_dir')
PETRglobals.stanfordnlp = os.path.expanduser(direct)
filestring = parser.get('Dictionaries', 'actorfile_list')
PETRglobals.ActorFileList = filestring.split(', ')
# otherwise this was set in command line
if len(PETRglobals.TextFileList) == 0:
if parser.has_option('Options', 'textfile_list'): # takes priority
filestring = parser.get('Options', 'textfile_list')
PETRglobals.TextFileList = filestring.split(', ')
else:
filename = parser.get('Options', 'textfile_name')
try:
fpar = open(filename, 'r')
except IOError:
print(
"\aError: Could not find the text file list file:",
filename)
print("Terminating program")
sys.exit()
PETRglobals.TextFileList = []
line = fpar.readline()
while len(line) > 0: # go through the entire file
if '#' in line:
line = line[:line.find('#')]
line = line.strip()
if len(line) > 0:
PETRglobals.TextFileList.append(line)
line = fpar.readline()
fpar.close()
if parser.has_option('Dictionaries', 'issuefile_name'):
PETRglobals.IssueFileName = parser.get(
'Dictionaries',
'issuefile_name')
if parser.has_option('Options', 'new_actor_length'):
try:
PETRglobals.NewActorLength = parser.getint(
'Options',
'new_actor_length')
except ValueError:
print(
"Error in config.ini Option: new_actor_length value must be an integer")
raise
print("new_actor_length =", PETRglobals.NewActorLength)
PETRglobals.StoponError = get_config_boolean('stop_on_error')
PETRglobals.WriteActorRoot = get_config_boolean('write_actor_root')
PETRglobals.WriteActorText = get_config_boolean('write_actor_text')
PETRglobals.WriteEventText = get_config_boolean('write_event_text')
if parser.has_option(
'Options', 'require_dyad'): # this one defaults to True
PETRglobals.RequireDyad = get_config_boolean('require_dyad')
else:
PETRglobals.RequireDyad = True
# otherwise this was set in command line
if len(PETRglobals.EventFileName) == 0:
PETRglobals.EventFileName = parser.get('Options', 'eventfile_name')
PETRglobals.CodeBySentence = parser.has_option(
'Options',
'code_by_sentence')
print("code-by-sentence", PETRglobals.CodeBySentence)
PETRglobals.PauseBySentence = parser.has_option(
'Options',
'pause_by_sentence')
print("pause_by_sentence", PETRglobals.PauseBySentence)
PETRglobals.PauseByStory = parser.has_option(
'Options',
'pause_by_story')
print("pause_by_story", PETRglobals.PauseByStory)
try:
if parser.has_option('Options', 'comma_min'):
PETRglobals.CommaMin = parser.getint('Options', 'comma_min')
elif parser.has_option('Options', 'comma_max'):
PETRglobals.CommaMax = parser.getint('Options', 'comma_max')
elif parser.has_option('Options', 'comma_bmin'):
PETRglobals.CommaBMin = parser.getint('Options', 'comma_bmin')
elif parser.has_option('Options', 'comma_bmax'):
PETRglobals.CommaBMax = parser.getint('Options', 'comma_bmax')
elif parser.has_option('Options', 'comma_emin'):
PETRglobals.CommaEMin = parser.getint('Options', 'comma_emin')
elif parser.has_option('Options', 'comma_emax'):
PETRglobals.CommaEMax = parser.getint('Options', 'comma_emax')
except ValueError:
print(
"Error in config.ini Option: comma_* value must be an integer")
raise
print("Comma-delimited clause elimination:")
print("Initial :", end=' ')
if PETRglobals.CommaBMax == 0:
print("deactivated")
else:
print(
"min =",
PETRglobals.CommaBMin,
" max =",
PETRglobals.CommaBMax)
print("Internal:", end=' ')
if PETRglobals.CommaMax == 0:
print("deactivated")
else:
print(
"min =",
PETRglobals.CommaMin,
" max =",
PETRglobals.CommaMax)
print("Terminal:", end=' ')
if PETRglobals.CommaEMax == 0:
print("deactivated")
else:
print(
"min =",
PETRglobals.CommaEMin,
" max =",
PETRglobals.CommaEMax)
except Exception as e:
print(
'parse_config() encountered an error: check the options in',
PETRglobals.ConfigFileName)
print("Terminating program")
sys.exit()
# logger.warning('Problem parsing config file. {}'.format(e))
# ================== PRIMARY INPUT USING FIN ================== #
def open_FIN(filename, descrstr):
# opens the global input stream fin using filename;
# descrstr provides information about the file in the event it isn't found
global FIN
global FINline, FINnline, CurrentFINname
try:
FIN = io.open(filename, 'r', encoding='utf-8')
CurrentFINname = filename
FINnline = 0
except IOError:
print("\aError: Could not find the", descrstr, "file:", filename)
print("Terminating program")
sys.exit()
def close_FIN():
# closes the global input stream fin.
# IOError should only happen during debugging or if something has seriously gone wrong
# with the system, so exit if this occurs.
global FIN
try:
FIN.close()
except IOError:
print("\aError: Could not close the input file")
print("Terminating program")
sys.exit()
def read_FIN_line():
"""
def read_FIN_line():
Reads a line from the input stream fin, deleting xml comments and lines beginning with #
returns next non-empty line or EOF
tracks the current line number (FINnline) and content (FINline)
calling function needs to handle EOF (len(line) == 0)
"""
"""
Comments in input files:
Comments should be delineated in the XML style (which is inherited from HTML which
inherited it from SGML) are allowed, as long as you don't get too clever. Basically,
anything that looks like any of these
<!-- [comment] -->
things I want to actually read <!-- [comment] -->
some things I want <!-- [comment] --> and more of them
<!-- start of the comment
[1 or more additional lines
end of the comment -->
is treated like a comment and skipped.
Note: the system doesn't use the formal definition that also says '--' is not allowed
inside a comment: it just looks for --> as a terminator
The system is *not* set up to handle clever variations like nested comments, multiple
comments on a line, or non-comment information in multi-line comments: yes, we are
perfectly capable of writing code that could handle these contingencies, but it
is not a priority at the moment. We trust you can cope within these limits.
For legacy purposes, the perl/Python one-line comment delimiter # the beginning of a
line is also recognized.
To accommodate my habits, the perl/Python one-line comment delimiter ' #' is also
recognized at the end of a line and material following it is eliminated. Note that the
initial space is required.
Blank lines and lines with only whitespace are also skipped.
"""
global FIN
global FINline, FINnline
line = FIN.readline()
FINnline += 1
while True:
# print '==',line,
if len(line) == 0:
break # calling function needs to handle EOF
# deal with simple lines we need to skip
if line[0] == '#' or line[0] == '\n' or line[
0:2] == '<!' or len(line.strip()) == 0:
line = FIN.readline()
FINnline += 1
continue
if not line: # handle EOF
print("EOF hit in read_FIN_line()")
raise EOFError
return line
if ('#' in line):
line = line[:line.find('#')]
if ('<!--' in line):
if ('-->' in line): # just remove the substring
pline = line.partition('<!--')
line = pline[0] + pline[2][pline[2].find('-->') + 3:]
else:
while ('-->' not in line):
line = FIN.readline()
FINnline += 1
line = FIN.readline()
FINnline += 1
if len(line.strip()) > 0:
break
line = FIN.readline()
FINnline += 1
# print "++",line
FINline = line
return line
# ========================== TAG EVALUATION FUNCTIONS ========================== #
def find_tag(tagstr):
# reads fin until tagstr is found
# can inherit EOFError raised in PETRreader.read_FIN_line()
line = read_FIN_line()
while (tagstr not in line):
line = read_FIN_line()
def extract_attributes(theline):
# puts list of attribute and content pairs in the global AttributeList. First item is
# the tag itself
# If a twice-double-quote occurs -- "" -- this treated as "\"
# still to do: need error checking here
"""
Structure of attributes extracted to AttributeList
At present, these always require a quoted field which follows an '=', though it
probably makes sense to make that optional and allow attributes without content
"""
# print "PTR-1:", theline,
theline = theline.strip()
if ' ' not in theline: # theline only contains a keyword
PETRglobals.AttributeList = theline[1:-2]
# print "PTR-1.1:", PETRglobals.AttributeList
return
pline = theline[1:].partition(' ') # skip '<'
PETRglobals.AttributeList = [pline[0]]
theline = pline[2]
while ('=' in theline): # get the field and content pairs
pline = theline.partition('=')
PETRglobals.AttributeList.append(pline[0].strip())
theline = pline[2]
pline = theline.partition('"')
if pline[2][0] == '"': # twice-double-quote
pline = pline[2][1:].partition('"')
PETRglobals.AttributeList.append('"' + pline[0] + '"')
theline = pline[2][1:]
else:
pline = pline[2].partition('"')
PETRglobals.AttributeList.append(pline[0].strip())
theline = pline[2]
# print "PTR-2:", PETRglobals.AttributeList
def check_attribute(targattr):
""" Looks for targetattr in AttributeList; returns value if found, null string otherwise."""
# This is used if the attribute is optional (or if error checking is handled by the calling
# routine); if an error needs to be raised, use get_attribute()
if (targattr in PETRglobals.AttributeList):
return (
PETRglobals.AttributeList[
PETRglobals.AttributeList.index(targattr) + 1]
)
else:
return ""
def get_attribute(targattr):
""" Similar to check_attribute() except it raises a MissingAttr error when the attribute is missing."""
if (targattr in PETRglobals.AttributeList):
return (
PETRglobals.AttributeList[
PETRglobals.AttributeList.index(targattr) + 1]
)
else:
#raise MissingAttr #commented by me
return ""
# ================== ANCILLARY DICTIONARY INPUT ================== #
def read_discard_list(discard_path):
"""
Reads file containing the discard list: these are simply lines containing strings.
If the string, prefixed with ' ', is found in the <Text>...</Text> sentence, the
sentence is not coded. Prefixing the string with a '+' means the entire story is not
coded with the string is found [see read_record() for details on story/sentence
identification]. If the string ends with '_', the matched string must also end with
a blank or punctuation mark; otherwise it is treated as a stem. The matching is not
case sensitive.
The file format allows # to be used as a in-line comment delimiter.
File is stored as a simple list and the interpretation of the strings is done in
check_discards()
===== EXAMPLE =====
+5K RUN # ELH 06 Oct 2009
+ACADEMY AWARD # LRP 08 Mar 2004
AFL GRAND FINAL # MleH 06 Aug 2009
AFRICAN NATIONS CUP # ab 13 Jun 2005
AMATEUR BOXING TOURNAMENT # CTA 30 Jul 2009
AMELIA EARHART
ANDRE AGASSI # LRP 10 Mar 2004
ASIAN CUP # BNL 01 May 2003
ASIAN FOOTBALL # ATS 9/27/01
ASIAN MASTERS CUP # CTA 28 Jul 2009
+ASIAN WINTER GAMES # sls 14 Mar 2008
ATP HARDCOURT TOURNAMENT # mj 26 Apr 2006
ATTACK ON PEARL HARBOR # MleH 10 Aug 2009
AUSTRALIAN OPEN
AVATAR # CTA 14 Jul 2009
AZEROTH # CTA 14 Jul 2009 (World of Warcraft)
BADMINTON # MleH 28 Jul 2009
BALLCLUB # MleH 10 Aug 2009
BASEBALL
BASKETBALL
BATSMAN # MleH 14 Jul 2009
BATSMEN # MleH 12 Jul 2009
"""
logger = logging.getLogger('petr_log')
logger.info("Reading " + PETRglobals.DiscardFileName)
open_FIN(discard_path, "discard")
line = read_FIN_line()
while len(line) > 0: # loop through the file
if '#' in line:
line = line[:line.find('#')]
targ = line.strip()
if targ.startswith('+'):
targ = targ[1:].upper() + ' +'
else:
targ = targ.upper() + ' $'
targ = targ.split()
prev = targ[0] # Add words to search tree
targ = targ[1:]
list = PETRglobals.DiscardList.setdefault(prev, {})
while targ != []:
list = list.setdefault(targ[0], {})
targ = targ[1:]
line = read_FIN_line()
close_FIN()
def read_issue_list(issue_path):
"""
"Issues" do simple string matching and return a comma-delimited list of codes.
The standard format is simply
<string> [<code>]
For purposes of matching, a ' ' is added to the beginning and end of the string: at
present there are not wild cards, though that is easily added.
The following expansions can be used (these apply to the string that follows up to
the next blank)
n: Create the singular and plural of the noun
v: Create the regular verb forms ('S','ED','ING')
+: Create versions with ' ' and '-'
The file format allows # to be used as a in-line comment delimiter.
File is stored in PETRglobals.IssueList as a list of tuples (string, index) where
index refers to the location of the code in PETRglobals.IssueCodes. The coding is done
in check_issues()
Issues are written to the event record as a comma-delimited list to a tab-delimited
field, e.g.
20080801 ABC EDF 0001 POSTSECONDARY_EDUCATION 2, LITERACY 1 AFP0808-01-M008-02
20080801 ABC EDF 0004 AFP0808-01-M007-01
20080801 ABC EDF 0001 NUCLEAR_WEAPONS 1 AFP0808-01-M008-01
where XXXX NN, corresponds to the issue code and the number of matched phrases in the
sentence that generated the event.
This feature is optional and triggered by a file name in the PETR_config.ini file at
issuefile_name = Phoenix.issues.140225.txt
<14.02.28> NOT YET FULLY IMPLEMENTED
The prefixes '~' and '~~' indicate exclusion phrases:
~ : if the string is found in the current sentence, do not code any of the issues
in section -- delimited by <ISSUE CATEGORY="...">...</ISSUE> -- containing
the string
~~ : if the string is found in the current *story*, do not code any of the issues
in section
In the current code, the occurrence of an ignore phrase of either type cancels all
coding of issues from the sentence
===== EXAMPLE =====
<ISSUE CATEGORY="ID_ATROCITY">
n:atrocity [ID_ATROCITY]
n:genocide [ID_ATROCITY]
ethnic cleansing [ID_ATROCITY]
ethnic v:purge [ID_ATROCITY]
ethnic n:purge [ID_ATROCITY]
war n:crime [ID_ATROCITY]
n:crime against humanity [ID_ATROCITY]
n:massacre [ID_ATROCITY]
v:massacre [ID_ATROCITY]
al+zarqawi network [NAMED_TERROR_GROUP]
~Saturday Night massacre
~St. Valentine's Day massacre
~~Armenian genocide # not coding historical cases
</ISSUE>
"""
PETRglobals.IssueList = {}
logger = logging.getLogger('petr_log')
logger.info("Reading " + PETRglobals.IssueFileName)
open_FIN(issue_path, "issues")
PETRglobals.IssueCodes.append('~') # initialize the ignore codes
PETRglobals.IssueCodes.append('~~')
line = read_FIN_line()
while len(line) > 0: # loop through the file
if '#' in line:
line = line[:line.find('#')]
if line[0] == '~': # ignore codes are only partially implemented
if line[1] == '~':
target = line[2:].strip().upper()
codeindex = 1
else:
target = line[1:].strip().upper()
codeindex = 0
else:
if '[' not in line: # just do the codes now
line = read_FIN_line()
continue
code = line[line.find('[') + 1:line.find(']')] # get the code
if code in PETRglobals.IssueCodes:
codeindex = PETRglobals.IssueCodes.index(code)
else:
PETRglobals.IssueCodes.append(code)
codeindex = len(PETRglobals.IssueCodes) - 1
target = line[:line.find('[')].strip().upper()
forms = [target]
madechange = True
while madechange: # iterate until no more changes to make
ka = 0
madechange = False
while ka < len(forms):
if '+' in forms[ka]:
str = forms[ka]
forms[ka] = str.replace('+', ' ', 1)
forms.insert(ka + 1, str.replace('+', '-', 1))
madechange = True
if 'N:' in forms[ka]: # regular noun forms
part = forms[ka].partition('N:')
forms[ka] = part[0] + part[2]
plur = part[2].partition(' ')
if 'Y' == plur[0][-1]:
plural = plur[0][:-1] + 'IES'
else:
plural = plur[0] + 'S'
forms.insert(ka + 1, part[0] + plural + ' ' + plur[2])
madechange = True
if 'V:' in forms[ka]: # regular verb forms
part = forms[ka].partition('V:')
forms[ka] = part[0] + part[2]
root = part[2].partition(' ')
vscr = root[0] + "S"
forms.insert(ka + 1, part[0] + vscr + ' ' + root[2])
if root[0][-1] == 'E': # root ends in 'E'
vscr = root[0] + "D "
forms.insert(ka + 2, part[0] + vscr + ' ' + root[2])
vscr = root[0][:-1] + "ING "
else:
vscr = root[0] + "ED "
forms.insert(ka + 2, part[0] + vscr + ' ' + root[2])
vscr = root[0] + "ING "
forms.insert(ka + 3, part[0] + vscr + ' ' + root[2])
madechange = True
ka += 1
for item in forms:
segs = item.split()+['#']
path = PETRglobals.IssueList
while not segs == ['#']:
path = path.setdefault(segs[0],{})
segs = segs[1:]
path[segs[0]] = codeindex
line = read_FIN_line()
close_FIN()
""" debug
ka = 0
while ka < 128 :
print PETRglobals.IssueList[ka],PETRglobals.IssueCodes[PETRglobals.IssueList[ka][1]]
ka += 1
"""
# ================== VERB DICTIONARY INPUT ================== #
def make_plural_noun(noun):
""" Create the plural of a synonym noun st """
if noun[-1] == '_' or noun[0] == '{':
return None
if 'Y' == noun[-1]:
return noun[:-1] + 'IES'
elif 'S' == noun[-1]:
return noun[:-1] + 'ES'
else:
return noun + 'S'
def read_verb_dictionary(verb_path):
"""
Verb storage:
Storage sequence:
Upper Noun phrases
|
Upper prepositional phrases
*
Lower noun phrases
|
Lower prepositional phrases
#
- symbol acts as extender, indicating the noun phrase is longer
, symbol acts as delimiter between several selected options
"""
logger = logging.getLogger('petr_log')
logger.info("Reading " + PETRglobals.VerbFileName)
file = open(verb_path,'r')
block_meaning = ""
block_code = ""
record_patterns = 1
synsets = {}
syn =1
def resolve_synset(line):
segs = line.split()
#print(line)
syns = filter(lambda a: a.startswith('&'), segs)
lines = []
if syns:
set = syns[0].replace("{","").replace("}","").replace("(","").replace(")","")
if set in synsets:
for word in synsets[set]:
#print(word)
lines += resolve_synset(line.replace(set,word,1))
plural = make_plural_noun(word)
if plural :
lines+=resolve_synset(line.replace(set,plural,1))
return lines
else:
print("Undefined synset", set)
return [line]
def resolve_patseg(segment):
prepphrase = 0
nounphrase = 0
nps = []
head = ""
modifiers = []
index = 0
prepstarts=[]
prepends=[]
for element in segment:
# SKIP OVER PREPS, We consider these later
if element.endswith(")"):
prepends.append(index)
if element.startswith("("):
prepstarts.append(index)
prepphrase = 0
elif element.startswith("("):
prepstarts.append(index)
prepphrase = 1
elif not prepphrase:
# Find noun phrases
if element.endswith("}"):
nounphrase = 0
head = element[:-1]
nps.append((head,modifiers))
modifiers = []
elif nounphrase:
modifiers.append(element)
elif element.startswith("{"):
modifiers.append(element[1:])
nounphrase = 1
else:
nps.append(element)
index += 1
preps = map(lambda a: segment[a[0]:a[1]+1], zip(prepstarts,prepends))
prep_pats = []
for phrase in preps:
phrase = map(lambda a: a.replace("(","").replace(")",""), phrase)
p = phrase[0]
pnps = []
pmodifiers = []
if len(phrase)> 1:
head = ""
for element in phrase[1:]:
# Find noun phrases
if element.endswith("}"):
nounphrase = 0
head = element[:-1]
pnps.append((head,pmodifiers))
pmodifiers = []
elif nounphrase:
pmodifiers.append(element)
elif element.startswith("{"):
pmodifiers.append(element[1:])
nounphrase = 1
else:
pnps.append(element)
prep_pats.append((p,pnps))
return nps,prep_pats
for line in file:
if line.startswith("<!"):
record_patterns= 0
continue
elif line.startswith("####### VERB PATTERNS #######"):
syn = 0
if not line.strip():
continue
if line.startswith("---"):
segs = line.split()
block_meaning = segs[1]
block_code = segs[2]
elif line.startswith("-"):
if not record_patterns:
continue
dict_entry = {}
pattern = line[1:].split("#")[0]
#print(line)
for pat in resolve_synset(pattern):
segs = pat.split("*")
pre = segs[0].split()
pre = resolve_patseg(pre)
post = segs[1].split()
code = post.pop()
post = resolve_patseg(post)
path = PETRglobals.VerbDict['phrases'].setdefault(block_meaning,{})
if not pre == ([],[]):
if pre[0]:
count = 1
for noun in pre[0]:
if not isinstance(noun,tuple):
path = path.setdefault(noun,{})
else:
head = noun[0]
path = path.setdefault(head,{})
for element in noun[1]:
path = path.setdefault("-",{})
path = path.setdefault(element,{})
path = path.setdefault(",",{}) if not count == len(pre[0]) else path
count += 1
if pre[1]:
path = path.setdefault("|",{})
for phrase in pre[1]:
head = phrase[0]
path = path.setdefault(head,{})
count = 1
for noun in phrase[1]:
if not isinstance(noun,tuple):
path = path.setdefault("-",{})
path = path.setdefault(noun,{})
else:
head = noun[0]
path = path.setdefault(head,{})
for element in noun[1]:
path = path.setdefault("-",{})
path = path.setdefault(element,{})
path = path.setdefault(",",{}) if not count == len(phrase[1]) else path
count += 1
if not post == ([],[]):
path = path.setdefault('*',{})
if post[0]:
count = 1
for noun in post[0]:
if not isinstance(noun,tuple):
path = path.setdefault(noun,{})
else:
head = noun[0]
path = path.setdefault(head,{})
for element in noun[1]:
path = path.setdefault("-",{})
path = path.setdefault(element,{})
path = path.setdefault(",",{}) if not count == len(post[0]) else path
if post[1]:
for phrase in post[1]:
head = phrase[0]
path = path.setdefault("|",{})
path = path.setdefault(head,{})
count = 1
for noun in phrase[1]:
if not isinstance(noun,tuple):
path = path.setdefault("-",{})
path = path.setdefault(noun,{})
else:
head = noun[0]
path = path.setdefault("-",{})
path = path.setdefault(head,{})
for element in noun[1]:
path = path.setdefault("-",{})
path = path.setdefault(element,{})
path = path.setdefault(",",{}) if not count == len(phrase[1]) else path
count += 1
path["#"] = {'code' : code[1:-1], 'line' : line[:-1]}
elif syn and line.startswith("&"):
block_meaning = line.strip()
elif syn and line.startswith("+"):
term = line.strip()[1:]
if "_" in term:
if len(term.replace("_"," ").split()) > 1:
term = "{" + term.replace("_"," ") + "}"
else:
term = term.replace("_"," ")
synsets[block_meaning] = synsets.setdefault(block_meaning,[]) + [term]
elif line.startswith("~"):
# VERB TRANSFORMATION
p = line[1:].replace("(","").replace(")","")
segs = p.split("=")
pat = segs[0].split()
answer = segs[1].split()
ev2 = pat
path = PETRglobals.VerbDict['transformations']
while len(ev2) > 1:
source = ev2[0]
verb = reduce(lambda a,b : a + b ,
map(lambda c: utilities.convert_code(PETRglobals.VerbDict['verbs'][c]['#']['#']['code'])[0] if not c== "Q" else -1,
ev2[-1].split("_")), 0)
path = path.setdefault(verb,{})
path = path.setdefault(source,{})
ev2 = ev2[1:-1]
path[ev2[0]] = [answer,line]
else:
# Add synonyms
word = line.split("#")[0]
words = word.replace("}","").replace("{","").split()
if not words:
continue
code = block_code
front = []
back = []
compound = 0
stem = words[0]
if "_" in stem:
# We're dealing with a compound verb
# print(stem)
segs = stem.split('+')
front = segs[0].split('_')
back = segs[1].split('_')[1:]
stem = segs[1].split('_')[0]
compound = 1
if words[-1].startswith("["):
code = words.pop()
if not (len(words) > 1 or '{' in word):
if stem.endswith("S") or stem.endswith("X") or stem.endswith("Z"):
words.append(stem + "ES")
elif stem.endswith("Y"):
words.append(stem[:-1] + "IES")
else:
words.append(stem + "S")
if stem.endswith("E"):
words.append(stem + "D")
else:
words.append(stem+"ED")
if stem.endswith("E") and not stem[-2] in "AEIOU":
words.append(stem[:-1] + "ING")
else:
words.append(stem + "ING")
for w in words:
wstem = w
if "_" in w:
segs = w.split('+')
front = segs[0].split('_')
back = segs[1].split('_')[1:]
wstem = segs[1].split('_')[0]
path = PETRglobals.VerbDict['verbs']
path = path.setdefault(wstem,{})
for item in back:
if not item:
continue
path = path.setdefault(item,{})
path = path.setdefault("#",{})
for item in front:
if not item:
continue
path = path.setdefault(item,{})
path = path.setdefault("#",{'code':code[1:-1],'meaning':block_meaning,'line':line[:-1]})
#print(sorted(PETRglobals.VerbDict['phrases'].keys()))
#print(PETRglobals.VerbDict.__sizeof__())
#print(PETRglobals.VerbDict['phrases'].__sizeof__())
#exit()
#for root , k in sorted(PETRglobals.VerbDict['verbs'].items()):
# print(root)
# print("\t",k)
def _read_verb_dictionary(verb_path):
""" Reads the verb dictionary from VerbFileName """
"""
======= VERB DICTIONARY ORGANIZATION =======
The verb dictionary consists of a set of synsets followed by a series of verb
synonyms and patterns, followed by a list of verb transformations.
VERB SYNONYM BLOCKS AND PATTERNS
A verb synonym block is a set of verbs which are synonymous (or close enough) with
respect to the patterns. The program automatically generates the regular forms of the
verb -- endings of 'S','ED' and 'ING' -- if it is regular (and, implicitly, English);
otherwise the irregular forms can be specified in {...} following the primary verb.
Note that if irregular forms are provided in {...}, ALL forms need to be included,
even if some of those are the same as the regular form (in other words, no
alternative forms are generated when {...} is present). An optional code for the
isolated verb can follow in [...].
The verb block begins with a comment of the form
--- <GENERAL DESCRIPTION> [<CODE>] ---
where the "---" signals the beginning of a new block. The code in [...] is the
primary code -- typically a two-digit+0 cue-category code -- for the block, and this
will be used for all other verbs unless these have their own code. If no code is
present, this defaults to the null code "---" which indicates that the isolated verb
does not generate an event. The null code also can be used as a secondary code.
This is followed by a set of patterns -- these begin with '-' -- which generally
follow a syntax that is based on that of TABARI patterns, but contains more grammatical
information. Patterns now have four sections:
- Pre-Verb Nouns (Pre-Verb Prep Phrases) * Post-Verb Nouns (Post-Verb Prep Phrases)
These contain several symbolic annotations:
() Parentheses indicate a Prepositional phrase. The first word is the preposition,
followed by the noun(s) that it governs
Single words without annotation denote nouns. These are the "heads" of the phrases they
represent.
{} Brackets denote a longer noun phrase. The last word in the brackets will be the head,
remaining words are descriptors.
+$ In rare cases, the + and $ symbols will be used to mark target and source respectively.
These should only be used in instances where it would be possible to confuse one with
the other going strictly off syntactic information, such as both would occur after the verb
in prepositional phrases
MULTIPLE-WORD VERBS
Multiple-word "compound verbs" such as "CORDON OFF", "WIRE TAP" and "BEEF UP" are entered by
connecting the word with an underscore (these must be consecutive) and putting a '+'
in front of the word -- only the first and last are currently allowed -- of the
phrase that TreeBank is going to designate as the verb.If there is no {...}, regular
forms are constructed for the word designated by '+'; otherwise all of the irregular
forms are given in {...}. If you can't figure out which part of the phrase is the
verb, the phrase you are looking at is probably a noun, not a verb. Multi-word verbs
are treated in patterns just as single-word verbs are treated.
Examples
+BEEF_UP
RE_+ARREST
+CORDON_OFF {+CORDONED_OFF +CORDONS_OFF +CORDONING_OFF}
+COME_UPON {+COMES_UPON +CAME_UPON +COMING_UPON}
WIRE_+TAP {WIRE_+TAPS WIRE_+TAPPED WIRE_+TAPPING }
Multi-words are stored in a list consisting of
code
primary form (use as a pointer to the pattern
tuple: (True if verb is at start of phrase, False otherwise; remaining words)
[15.04.30]
If a word occurs both as the verb in a multi-word and as a single word, it will be at
the end of the list of multi-word candidate strings: that is, the multi-world
combinations are checked first, then only if none of these match is the single word
option used. Due to sub-optimized code, words that are the verb in a multi-word verb
cannot be the first word in a block of verbs. The current dictionary has removed
all of these.
SYNSETS
Synonym sets (synsets) are labelled with a string beginning with & and defined using
the label followed by a series of lines beginning with + containing words or phrases.
The phrases are interpreted as requiring consecutive words; the words can be separated
with either spaces or underscores (they are converted to spaces). Synset phrases can
only contain words, not $, +, % or ^ tokens or synsets. At present, a synsets cannot
contain another synset as an element. [see note below] Synsets be used anywhere in a
pattern that a word or phrase can be used. A synset must be defined before it is used:
a pattern containing an undefined synset will be ignored -- but those definitions can
occur anywhere in the file.
Plurals are generated automatically using the rules in read_verb_dictionary/
make_plural(st) except when
-- The phrase ends with '_'
-- The label ends with '_', in which case plurals are not generated for any of the
phrases; this is typically used for synonyms that are not nouns
The '_' is dropped in both cases
====== EXAMPLE =====
&CURRENCY
+DOLLARS
+EUROS
+AUSTRIAN FLORIN
+GOLDEN_GOBLIN_GALLEONS_
+PESO
+KRONER_
+YUM YENNYEN
+JAVANESE YEN
+SWISS FRANCS
+YEN
&ALTCURR
+BITCOIN
+PIRATE GOLD_
+LEPRECHAUN GOLD_
&AUXVERB3_
+HAVE
+HAS
+HAD
--- GRANT [070] ---
GRANT
GIVE {GAVE GIVEN GIVING } # jw 11/14/91
CONTRIBUTE # tony 3/12/91
- * &CURRENCY [903] # -PAS 12.01.12
- * &ALTCURR [904] # -PAS 14.05.08
- * RUPEES [071]
--- EXPLAIN_VERBAL [010] ---
EXPLAIN
COMMENT
ASSERT
SAY {SAID SAYING }
CLARIFY {CLARIFIES CLARIFIED CLARIFYING} [040]
CLEAR_UP
- * RESTORATION RELATIONS [050:050] # ANNOUNCE <ab 02 Dec 2005>
- * COMMIT &MILITARY TO + [0332] # SAY <sls 13 Mar 2008>
- * ATTACK ON + AS &CRIME [018] # DESCRIBE <ab 31 Dec 2005>
- * &CURRENCY DEBT_RELIEF [0331] # ANNOUNCE <ab 02 Dec 2005> , ANNOUNCE
- * WELCOMED OFFER FROM + [050] # ANNOUNCE <ab 02 Dec 2005>
- * + THAT $ WILL PULLOUT [0356] # INFORM <sms 30 Nov 2007>
- * POSSIBILITY OF &FIGHT [138] # MENTION <OY 11 Mar 2006>
- * AGREED JOIN COALITION [031] # ANNOUNCE <OY 15 Mar 2006>
- * TRACES RESPONSIBILITY [112] # REPORT
- CONFIRMED * OF BOMBINGS [010] # REPORT
- * INITIATIVE END &FIGHT [036] # ANNOUNCE <ab 02 Dec 2005>
&TESTSYN3
+TO THE END
+TO THE DEATH
+UNTIL HELL FREEZES OVER
&TESTSYN4
+TO THE END OF THE EARTH
+TO THE DEATH
--- VOW [170] ---
VOW ;tony 3/9/91
- * RESIST &TESTSYN3 [113] ; pas 4/20/03
- * RESIST &TESTSYN4 [115] ; pas 4/20/03
- * RESISTANCE TO THE INVADING [114] ; pas 4/20/03
- * RESIST [112] ;tony 4/29/91
- * WAR [173] ;tony 4/22/91
PROGRAMMING NOTES
Notes
1. TABARI allowed recursive synsets -- that is, synsetS embedded in patterns and other
synsets. It should be possible to do this fairly easily, at least with basic
synsets as elements (not as patterns) but a simple call in syn_match(isupperseq)
was not sufficient, so this needs more work.
2. For TABARI legacy purposes, the construction "XXXX_ " is converted to "XXXX ",
an open match. However, per the comments below, generally TABARI dictionaries
should be converted before being used with PETRARCH.
3. The verb dictionary is stored as follows:
[0] True: primary form
[1] Code
[2:n] 3-lists of multi-words: [code, primary form (use as a pointer to the pattern
list, tuple of words -- see store_multi_word_verb(loccode):)
[n:] 3-lists of lower pattern, upper pattern and code. Upper pattern is stored
in reverse order
[0] False
[1]: optional verb-specific code (otherwise use the primary code)
[2]: primary form (use as a pointer to the pattern list)
VERB DICTIONARY DIFFERENCES FROM TABARI
On the *very* remote chance -- see Note 1 -- that you are trying to modify a TABARI
.verbs dictionary to the PETRARCH format, the main thing you will need to eliminate
are stemmed words: PETRARCH only works with complete words. On the positive side,
PETRARCH will only look at string as a "verb" if it has been identified as such by
the parser -- that is, it is preceded with (VP and a tag that starts with (VB, so
the [numerous] patterns required for noun/verb disambiguation are no longer
needed. PETRARCH also does not allow disconjunctive sets in patterns: to accommodate
legacy dictionaries, patterns containing these are skipped, but in order to work,
these should be replaced with synsets. Also see additional remarks at the beginning
of the file.
The other big difference between PETRARCH and TABARI is verb-noun disambiguation:
the pattern-based approach of TABARI needed a lot of information to insure that a
word that *might* be a verb was, in fact, a verb (or was a noun that occurred in a
context where it indicated an event anyway: TABARI's [in]famous tendency to code the
right thing for the wrong reason). PETRARCH, in contrast, only looks as a verb when
the parsing has identified it as, in fact, a verb. This dramatically reduces false
positives and eliminates the need for any pattern which was required simply for
disambiguation, but it also means that PETRARCH is a lot more discriminating about
what actually constitutes an event. The big difference here is that verb-only
codes are the norm in PETRARCH dictionaries but the exception in TABARI dictionaries.
The active PETRARCH verbs dictionary has been extensively reorganized into both
verb and noun synonym sets, and you are probably better off adding vocabulary to
this [see Note 1] than converting a dictionary, but it can be done. An unconverted
TABARI dictionary, on the other hand, will generally not work particularly well with
PETRARCH.
Note 1.
Yeah, right. Every project we've encountered -- including those lavishly funded by
multiple millions of taxpayers dollars and those allegedly producing multiple millions
of events -- has regarded the NSF-funded CAMEO verbs dictionaries as a sacred artifact
of the [infamous] Data Fairy, lowered from Asgaard along the lines of this
http://www.wikiart.org/en/jacob-jordaens/allegory-of-the-peace-of-westphalia-1654
[not exactly sure where the .verbs file is in that painting, but it must be in
there somewhere]
but then subsequently subject said dictionaries to bitter complaints that they aren't
coding comprehensively.
Look, dudes and dudettes, these dictionaries have been open source for about as long
as the US has been at war in Afghanistan -- which is to say, a really long time -- and
if you don't like how the coding is being done, add some new open-source vocabulary
to the dictionaries instead of merely parasitizing the existing work. Dudes.
The *real* problem, one suspects, is embodied in the following nugget of wisdom:
Opportunity is missed by most people because it is dressed in overalls and looks
like work.
Thomas A. Edison
Dudes.
"""
global theverb, verb # <14.05.07> : not needed, right?
PETRglobals.VerbDict = {'verbs': {}, 'phrases': {}}
def add_dict_tree(targ, verb, meaning="", code='---',
upper=[], synset=False, dict='phrases', line=""):
# DOUBLE CHECK THAT VERB =/= targ[0]
prev = verb
list = PETRglobals.VerbDict[dict].setdefault(verb, {})
while targ != []:
if targ[0] in [' ', '']:
targ = targ[1:]
continue
# Put synset trees in their own bin so we can
if targ[0][0] == '&':
list = list.setdefault(
'synsets',
{}) # consider this case later
list = list.setdefault(targ[0], {})
targ = targ[1:]
list["#"] = list.setdefault(
"#",
{}) # termination symbol for the lower phrase
list = list["#"]
targ = upper
while targ != []:
if targ[-1] in [' ', '']:
targ = targ[:-1]
continue
# Put synset trees in their own bin so we can
if targ[-1][0] == '&':
list = list.setdefault(
'synsets',
{}) # consider this case later
list = list.setdefault(targ[-1], {})
targ = targ[:-1]
list['#'] = {'meaning': meaning, 'code': code, 'line': line}
def make_phrase_list(thepat):
""" Converts a pattern phrase into a list of alternating words and connectors """
if len(thepat) == 0:
return []
phlist = []
start = 0
maxlen = len(thepat) + 1 # this is just a telltail
while start < len(thepat): # break phrase on ' ' and '_'
spfind = thepat.find(' ', start)
if spfind == -1:
spfind = maxlen
unfind = thepat.find('_', start)
if unfind == -1:
unfind = maxlen
# somehow think I don't need this check...well, I just need the
# terminating point, still need to see which is lower
if unfind < spfind:
phlist.append(thepat[start:unfind])
start = unfind + 1
else:
phlist.append(thepat[start:spfind])
phlist.append(' ')
start = spfind + 1
# check for missing synsets
ka = 0
while ka < len(phlist):
if len(phlist[ka]) > 0:
if (phlist[ka][0] == '&') and (
phlist[ka] not in PETRglobals.VerbDict):
print("WTF", phlist[ka])
print(sorted(PETRglobals.VerbDict.keys()))
exit()
logger.warning("Synset " + phlist[ka] +
" has not been defined; pattern skipped")
raise ValueError # this will do...
ka += 2
return phlist
def get_verb_forms(loccode, line):
""" Read the irregular forms of a verb. """
# need error checking here
global verb, theverb
forms = verb[verb.find('{') + 1:verb.find('}')].split()
for wrd in forms:
vscr = wrd
add_dict_tree([], vscr, theverb, loccode, dict='verbs', line=line)
def store_multi_word_verb(loccode, line):
""" Store a multi-word verb and optional irregular forms. """
global verb, theverb
if '{' in verb:
forms = verb[verb.find('{') + 1:verb.find('}')].split()
forms.append(verb[:verb.find('{')].strip())
else:
forms = [verb]
# add the regular forms to the verb designated by '+'
plind = verb.index('+') + 1
if verb.find('_', plind) > 0:
vroot = verb[plind:verb.find('_', plind)]
else:
vroot = verb[plind:]
forms.append(verb.replace(vroot, vroot + "S"))
if vroot[-1] == 'E': # root ends in 'E'
forms.append(verb.replace(vroot, vroot + "D"))
forms.append(verb.replace(vroot, vroot[:-1] + "ING"))
else:
forms.append(verb.replace(vroot, vroot + "ED"))
forms.append(verb.replace(vroot, vroot + "ING"))
for phrase in forms:
if '+' in phrase: # otherwise not in correct form so skip it
words = phrase.split('_')
multilist = []
upper = []
phrase
if words[0].startswith('+'):
multilist = [True]
for ka in range(1, len(words)):
multilist.append(words[ka])
targverb = words[0][1:]
else:
upper = [False]
for ka in range(2, len(words) + 1):
upper.append(words[len(words) - ka])
targverb = words[len(words) - 1][1:]
add_dict_tree(
multilist[
1:], targverb, theverb, loccode, upper=upper[
1:], dict='verbs', line=line)
else:
logger.warning(
'Error in read_verb_dictionary()/store_multi_word_verb(): ' +
phrase +
' in ' +
verb +
' is part of a multi-word verb and should contain a +; this was skipped')
def make_verb_forms(loccode, line):
""" Create the regular forms of a verb. """
global verb, theverb
vroot = verb
vscr = vroot + \
"S" if vroot[-1] not in ["S", "X", "Z"] else vroot + "ES"
add_dict_tree([], vscr, theverb, loccode, dict='verbs', line=line)
if vroot[-1] == 'E': # root ends in 'E'
vscr = vroot + "D"
add_dict_tree([], vscr, theverb, loccode, dict='verbs', line=line)
vscr = vroot[:-1] + "ING"
else:
vscr = vroot + "ED" # if vroot[-1] not == "Y" else vroot[-1]+"IES"
add_dict_tree([], vscr, theverb, loccode, dict='verbs', line=line)
vscr = vroot + "ING"
add_dict_tree([], vscr, theverb, loccode, dict='verbs', line=line)
def make_plural(st):
""" Create the plural of a synonym noun st """
if 'Y' == st[-1]:
return st[:-1] + 'IES' # space is added below
elif 'S' == st[-1]:
return st[:-1] + 'ES'
else:
return st + 'S'
# note that this will be ignored if there are no errors
logger = logging.getLogger('petr_log')
logger.info("Reading " + PETRglobals.VerbFileName)
open_FIN(verb_path, "verb")
theverb = ''
newblock = False
ka = 0 # primary verb count ( debug )
line = read_FIN_line()
while len(line) > 0: # loop through the file
if '[' in line:
part = line.partition('[')
verb = part[0].strip()
code = part[2][:part[2].find(']')]
else:
verb = line.strip()
code = ''
if verb.startswith('---'): # start of new block
if len(code) > 0:
primarycode = code
else:
primarycode = '---'
newblock = True
line = read_FIN_line()
elif verb[0] == '-': # pattern
# TABARI legacy: currently aren't processing these
if '{' in verb:
line = read_FIN_line()
continue
# resolve the ambiguous '_ ' construction to ' '
verb = verb.replace('_ ', ' ')
if verb[-1] == "_":
verb = verb[:-1]
targ = verb[1:].partition('*')
try:
highpat = make_phrase_list(targ[0].lstrip())
lowphrase = targ[2].rstrip()
if len(lowphrase) == 0:
lowpat = []
else:
lowpat = [targ[2][0]] # start with connector
loclist = make_phrase_list(lowphrase[1:])
lowpat.extend(loclist[:-1]) # don't need the final blank
add_dict_tree(lowpat, theverb, "", code, highpat, line=line)
except ValueError:
# just trap the error, which will skip the line containing it
pass
line = read_FIN_line()
elif verb[0] == '&': # Read and store a synset.
if verb[-1] == '_':
noplural = True
verb = verb[:-1] # remove final blank and _
else:
noplural = False
PETRglobals.VerbDict[verb] = {}
line = read_FIN_line()
while line[0] == '+':
wordstr = line[1:].strip()
if noplural or wordstr[-1] == '_':
wordstr = wordstr.strip().replace('_', ' ')
add_dict_tree(
wordstr.split(),
verb,
synset=True,
dict='verbs',
line=line)
else:
wordstr = wordstr.replace('_', ' ')
add_dict_tree(
wordstr.split(),
verb,
synset=True,
dict='verbs',
line=line)
add_dict_tree(
make_plural(wordstr).split(),
verb,
synset=True,
dict='verbs',
line=line)
line = read_FIN_line()
else: # verb
if len(code) > 0:
curcode = code
else:
curcode = primarycode
if newblock:
if '{' in verb:
# theverb is the index to the pattern storage for the
# remainder of the block
theverb = verb[:verb.find('{')].strip()
else:
theverb = verb
add_dict_tree([], theverb, code=curcode, line=line)
newblock = False
if '_' in verb:
store_multi_word_verb(curcode, line)
else:
add_dict_tree(
[],
verb.split()[0],
theverb,
curcode,
dict='verbs',
line=line)
if '{' in verb:
get_verb_forms(curcode, line)
else:
make_verb_forms(curcode, line)
ka += 1 # counting primary verbs
line = read_FIN_line()
close_FIN()
# for k,v in sorted(PETRglobals.VerbDict.items()):
# print(k)
# for i,j in v.items():
# print('\t',i,j)
# exit()
def show_verb_dictionary(filename=''):
# debugging function: displays VerbDict to screen or writes to filename
if len(filename) > 0:
fout = open(filename, 'w')
fout.write('PETRARCH Verb Dictionary Internal Format\n')
fout.write('Run time: ' + PETRglobals.RunTimeString + '\n')
for locword, loclist in PETRglobals.VerbDict.items():
if locword[0] == '&': # debug: skip the synsets
continue
fout.write(locword)
if loclist[0]:
if len(loclist) > 1:
# pattern list
fout.write("::\n" + str(loclist[1:]) + "\n")
else:
fout.write(":: " + str(loclist[1]) + "\n") # simple code
else:
# pointer
fout.write(
'-> ' + str(loclist[2]) + ' [' + loclist[1] + ']\n')
fout.close()
else:
for locword, loclist in PETRglobals.VerbDict.items():
print(locword, end=' ')
if loclist[0]:
if len(loclist) > 2:
print('::\n', loclist[1:]) # pattern list
else:
print(':: ', loclist[1]) # simple code
else:
print('-> ', loclist[2], '[' + loclist[1] + ']')
# ================== ACTOR DICTIONARY INPUT ================== #
def make_noun_list(nounst):
# parses a noun string -- actor, agent or agent plural -- and returns in a list which
# has the keyword and initial connector in the first tuple
nounlist = []
start = 0
maxlen = len(nounst) + 1 # this is just a telltail
while start < len(nounst): # break phrase on ' ' and '_'
spfind = nounst.find(' ', start)
if spfind == -1:
spfind = maxlen
unfind = nounst.find('_', start)
if unfind == -1:
unfind = maxlen
# <13.06.05> not sure we need this check...well, I just need the terminating point, still need to see which is lower
if unfind < spfind:
# this won't change, so use a tuple
nounlist.append((nounst[start:unfind], '_'))
start = unfind + 1
else:
nounlist.append((nounst[start:spfind], ' '))
start = spfind + 1
return nounlist
def dstr_to_ordate(datestring):
""" Computes an ordinal date from a Gregorian calendar date string YYYYMMDD or YYMMDD."""
"""
This uses the 'ANSI date' with the base -- ordate == 1 -- of 1 Jan 1601. This derives
from [OMG!] COBOL (see http://en.wikipedia.org/wiki/Julian_day) but in fact should
work fairly well for our applications.
For consistency with KEDS and TABARI, YY years between 00 and 30 are interpreted as
20YY; otherwise 19YY is assumed.
Formatting and error checking:
1. YYMMDD dates *must* be <=7 characters, otherwise YYYYMMDD is assumed
2. If YYYYMMDD format is used, only the first 8 characters are checked so it is okay
to have junk at the end of the string.
3. Days are checked for validity according to the month and year, e.g. 20100931 is
never allowed; 20100229 is not valid but 20120229 is valid
4. Invalid dates raise DateError
Source of algorithm: http://en.wikipedia.org/wiki/Julian_day
Unit testing:
Julian dates from http://aa.usno.navy.mil/data/docs/JulianDate.php (set time to noon)
Results:
dstr_to_ordate("20130926") # 2456562
dstr_to_ordate("090120") # 2454852
dstr_to_ordate("510724") # 2433852
dstr_to_ordate("19411207") # 2430336
dstr_to_ordate("18631119") # 2401829
dstr_to_ordate("17760704") # 2369916
dstr_to_ordate("16010101") # 2305814
"""
# print datestring # debug
try:
if len(datestring) > 7:
year = int(datestring[:4])
month = int(datestring[4:6])
day = int(datestring[6:8])
else:
year = int(datestring[:2])
if year <= 30:
year += 2000
else:
year += 1900
month = int(datestring[2:4])
day = int(datestring[4:6])
except ValueError:
raise DateError
# print year, month, day # debug
if day <= 0:
raise DateError
if month == 2:
if year % 400 == 0:
if day > 29:
raise DateError
elif year % 100 == 0:
if day > 28:
raise DateError
elif year % 4 == 0:
if day > 29:
raise DateError
else:
if day > 28:
raise DateError
elif month in [4, 6, 9, 11]: # 30 days have September...
if day > 30:
raise DateError
else: # all the rest I don't remember...
if day > 31:
raise DateError
if (month < 3):
adj = 1
else:
adj = 0
yr = year + 4800 - adj
mo = month + (12 * adj) - 3
ordate = day + math.floor((153 * mo + 2) / 5) + 365 * yr
ordate += math.floor(yr / 4) - math.floor(yr / 100) + \
math.floor(yr / 400) - 32045 # pure Julian date
ordate -= 2305813 # adjust for ANSI date
return int(ordate)
def read_actor_dictionary(actorfile):
""" This is a simple dictionary of dictionaries indexed on the words in the actor string. The final node has the
key '#' and contains codes with their date restrictions and, optionally, the root phrase in the case
of synonyms. """
open_FIN(actorfile, "actor")
line = read_FIN_line().strip()
current_acts = []
datelist = []
while len(line) > 0:
if line[0] == '[': # Date
data = line[1:-1].split()
code = data[0]
try:
if '-' in data[1]:
dates = data[1].split('-')
else:
dates = [data[1]]
except:
dates = []
datelist.append((code, dates))
else:
if line[0] == '+': # Synonym
actor = line[1:].replace("_", ' ').split()
else: # Base actor
# add previous actor entry to dictionary:
if PETRglobals.WriteActorRoot and len(current_acts) > 0: # store the root phrase if we're only to use it
datelist.append(current_acts[0])
for targ in current_acts:
list = PETRglobals.ActorDict
while targ != []:
if targ[0] in [' ', '']:
targ = targ[1:]
continue
if not isinstance(list, dict):
print("BADNESS", list)
exit()
list = list.setdefault(targ[0], {})
targ = targ[1:]
list["#"] = datelist
datelist = [] # reset for the new actor
current_acts = []
actor = line.replace("_", ' ').split()
if actor[-1][-1] == ']':
data = actor[-1][1:-1].split()
code = data[0]
try:
if '-' in data[1]:
dates = data[1].split('-')
else:
dates = [data[1][1:]]
except:
dates = []
datelist.append((code, dates))
actor.pop()
current_acts.append(actor)
line = read_FIN_line().strip()
"""for j,k in sorted(PETRglobals.ActorDict.items()):
print(j,'\t\t',k.keys())
print(j,'\t\t',k)"""
# exit()
# ================== AGENT DICTIONARY INPUT ================== #
def read_agent_dictionary(agent_path):
""" Reads an agent dictionary
Agents are stored in a simpler version of the Actors dictionary: a list of phrases
keyed on the first word of the phrase.
The individual phrase lists begin with the code, the connector from the key, and then
a series of 2-tuples containing the remaining words and connectors. A 2-tuple of the
form ('', ' ') signals the end of the list.
Connector:
blank: words can occur between the previous word and the next word
_ (underscore): words must be consecutive: no intervening words
FORMATTING OF THE AGENT DICTIONARY
[With some additional coding, this can be relaxed, but anything following these
rules should read correctly]
Basic structure is a series of records of the form
phrase_string {optional plural} [agent_code]
Material that is ignored
1. Anything following '#'
2. Any line beginning with '#' or '<!'
3. Any null line (that is, line consisting of only \n
A "phrase string" is a set of character strings separated by either blanks or
underscores.
A "agent_code" is a character string without blanks that is either preceded (typically)
or followed by '~'. If the '~' precedes the code, the code is added after the actor
code; if it follows the code, the code is added before the actor code (usually done
for organizations, e.g. NGO~)
Plurals:
Regular plurals -- those formed by adding 'S' to the root, adding 'IES' if the
root ends in 'Y', and added 'ES' if the root ends in 'SS' -- are generated automatically
If the plural has some other form, it follows the root inside {...}
If a plural should not be formed -- that is, the root is only singular or only
plural, or the singular and plural have the same form (e.g. "police"), use a null
string inside {}.
If there is more than one form of the plural -- "attorneys general" and "attorneys
generals" are both in use -- just make a second entry with one of the plural forms
nulled (though in this instance -- ain't living English wonderful? -- you could null
the singular and use an automatic plural on the plural form) Though in a couple
test sentences, this phrase confused SCNLP.
Substitution Markers:
These are used to handle complex equivalents, notably
!PERSON! = MAN, MEN, WOMAN, WOMEN, PERSON
!MINST! = MINISTER, MINISTERS, MINISTRY, MINISTRIES
and used in the form
CONGRESS!PERSON! [~LEG]
!MINIST!_OF_INTERNAL_AFFAIRS
The marker for the substitution set is of the form !...! and is followed by an =
and a comma-delimited list; spaces are stripped from the elements of the list so
these can be added for clarity. Every time in the list is substituted for the marker,
with no additional plural formation, so the first construction would generate
CONGRESSMAN [~LEG]
CONGRESSMEN [~LEG]
CONGRESSWOMAN [~LEG]
CONGRESSWOMEN [~LEG]
CONGRESSPERSON [~LEG]
== Example ===
<!-- PETRARCH VALIDATION SUITE AGENTS DICTIONARY -->
<!-- VERSION: 0.1 -->
<!-- Last Update: 27 November 2013 -->
PARLIAMENTARY_OPPOSITION {} [~OPP] #jap 11 Oct 2002
AMBASSADOR [~GOV] # LRP 02 Jun 2004
COPTIC_CHRISTIAN [~CHRCPT] # BNL 10 Jan 2002
FOREIGN_MINISTER [~GOVFRM] # jap 4/14/01
PRESIDENT [~GOVPRS] # ns 6/26/01
AIR_FORCE {} [~MIL] # ab 06 Jul 2005
OFFICIAL_MEDIA {} [~GOVMED] # ab 16 Aug 2005
ATTORNEY_GENERAL {ATTORNEYS_GENERAL} [~GOVATG] # mj 05 Jan 2006
FOREIGN_MINISTRY [~GOV] # mj 17 Apr 2006
HUMAN_RIGHTS_ACTIVISTS [NGM~] # ns 6/14/01
HUMAN_RIGHTS_BODY [NGO~] # BNL 07 Dec 2001
TROOP [~MIL] # ab 22 Aug 2005
"""
global subdict
def store_agent(nounst, code):
# parses nounstring and stores the result with code
list = PETRglobals.AgentDict
targ = nounst.replace("_",' ').split()
while targ != []:
if targ[0] in [' ','']:
targ = targ[1:]
continue
list = list.setdefault(targ[0],{})
targ = targ[1:]
list["#"] = code
return
def define_marker(line):
global subdict
if line[
line.find('!') + 1:].find('!') < 0 or line[line.find('!'):].find('=') < 0:
logger.warning(markdeferrorstr + enderrorstr)
return
ka = line.find('!') + 1
marker = line[ka:line.find('!', ka)]
# print marker
loclist = line[line.find('=', ka) + 1:].strip()
subdict[marker] = []
for item in loclist.split(','):
subdict[marker].append(item.strip())
# print subdict[marker]
def store_marker(agent, code):
global subdict
if agent[agent.find('!') + 1:].find('!') < 0:
ka = agent.find('!')
logger.warning("Substitution marker \"" +
agent[ka:agent.find(' ', ka) + 1] +
"\" syntax incorrect" + enderrorstr)
return
part = agent.partition('!')
part2 = part[2].partition('!')
if part2[0] not in subdict:
logger.warning("Substitution marker !" + part2[0] +
"! missing in .agents file; line skipped")
return
for subst in subdict[part2[0]]:
# print part[0]+subst+part2[2]
store_agent(part[0] + subst + part2[2], code)
# this is just called when the program is loading, so keep them local.
# <14.04.22> Or just put these as constants in the function calls: does it make a difference?
enderrorstr = " in .agents file ; line skipped"
codeerrorstr = "Codes are required for agents"
brackerrorstr = "Missing '}'"
markdeferrorstr = "Substitution marker incorrectly defined"
subdict = {} # substitution set dictionary
# note that this will be ignored if there are no errors
logger = logging.getLogger('petr_log')
logger.info("Reading " + PETRglobals.AgentFileName + "\n")
open_FIN(agent_path, "agent")
line = read_FIN_line()
while len(line) > 0: # loop through the file
if '!' in line and '=' in line: # synonym set
define_marker(line)
line = read_FIN_line()
continue
if '[' not in line: # code specified?
logger.warning(codeerrorstr + enderrorstr)
line = read_FIN_line()
continue
part = line.partition('[')
code = part[2].partition(']')[0].strip()
agent = part[0].strip() + ' '
if '!' in part[0]:
store_marker(agent, code) # handle a substitution marker
elif '{' in part[0]:
if '}' not in part[0]:
logger.warning(brackerrorstr + enderrorstr)
line = read_FIN_line()
continue
agent = part[0][:part[0].find('{')].strip() + ' '
# this will automatically set the null case
plural = part[0][part[0].find('{') + 1:part[0].find('}')].strip()
else:
if 'Y' == agent[-2]:
plural = agent[:-2] + 'IES' # space is added below
elif 'S' == agent[-2]:
plural = agent[:-1] + 'ES'
else:
plural = agent[:-1] + 'S'
store_agent(agent, code)
if len(plural) > 0:
store_agent(plural + ' ', code)
line = read_FIN_line()
close_FIN()
# ==== Input format reading
def read_xml_input(filepaths, parsed=False):
"""
Reads input in the PETRARCH XML-input format and creates the global holding
dictionary. Please consult the documentation for more information on the
format of the global holding dictionary. The function iteratively parses
each file so is capable of processing large inputs without failing.
Parameters
----------
filepaths: List.
List of XML files to process.
parsed: Boolean.
Whether the input files contain parse trees as generated by
StanfordNLP.
Returns
-------
holding: Dictionary.
Global holding dictionary with StoryIDs as keys and various
sentence- and story-level attributes as the inner dictionaries.
Please refer to the documentation for greater information on
the format of this dictionary.
"""
holding = {}
for path in filepaths:
tree = ET.iterparse(path)
for event, elem in tree:
if event == "end" and elem.tag == "Sentence":
story = elem
# Check to make sure all the proper XML attributes are included
attribute_check = [key in story.attrib for key in
['date', 'id', 'sentence', 'source']]
if not attribute_check:
print('Need to properly format your XML...')
break
# If the XML contains StanfordNLP parsed data, pull that out
# TODO: what to do about parsed content at the story level,
# i.e., multiple parsed sentences within the XML entry?
if parsed:
parsed_content = story.find('Parse').text
parsed_content = utilities._format_parsed_str(
parsed_content)
else:
parsed_content = ''
# Get the sentence information
if story.attrib['sentence'] == 'True':
entry_id, sent_id = story.attrib['id'].split('_')
text = story.find('Text').text
text = text.replace('\n', ' ').replace(' ', ' ')
sent_dict = {'content': text, 'parsed': parsed_content}
meta_content = {'date': story.attrib['date'],
'source': story.attrib['source']}
content_dict = {'sents': {sent_id: sent_dict},
'meta': meta_content}
else:
entry_id = story.attrib['id']
text = story.find('Text').text
text = text.replace('\n', ' ').replace(' ', ' ')
split_sents = _sentence_segmenter(text)
# TODO Make the number of sents a setting
sent_dict = {}
for i, sent in enumerate(split_sents[:7]):
sent_dict[i] = {'content': sent, 'parsed':
parsed_content}
meta_content = {'date': story.attrib['date']}
content_dict = {'sents': sent_dict, 'meta': meta_content}
if entry_id not in holding:
holding[entry_id] = content_dict
else:
holding[entry_id]['sents'][sent_id] = sent_dict
elem.clear()
return holding
def read_pipeline_input(pipeline_list):
"""
Reads input from the processing pipeline and MongoDB and creates the global
holding dictionary. Please consult the documentation for more information
on the format of the global holding dictionary. The function iteratively
parses each file so is capable of processing large inputs without failing.
Parameters
----------
pipeline_list: List.
List of dictionaries as stored in the MongoDB instance.
These records are originally generated by the
`web scraper <https://github.com/openeventdata/scraper>`_.
Returns
-------
holding: Dictionary.
Global holding dictionary with StoryIDs as keys and various
sentence- and story-level attributes as the inner dictionaries.
Please refer to the documentation for greater information on
the format of this dictionary.
"""
holding = {}
for entry in pipeline_list:
entry_id = str(entry['_id'])
meta_content = {'date': utilities._format_datestr(entry['date']),
'date_added': entry['date_added'],
'source': entry['source'],
'story_title': entry['title'],
'url': entry['url']}
if 'parsed_sents' in entry:
parsetrees = entry['parsed_sents']
else:
parsetrees = ''
if 'corefs' in entry:
corefs = entry['corefs']
meta_content.update({'corefs': corefs})
split_sents = _sentence_segmenter(entry['content'])
# TODO Make the number of sents a setting
sent_dict = {}
for i, sent in enumerate(split_sents[:7]):
if parsetrees:
try:
tree = utilities._format_parsed_str(parsetrees[i])
except IndexError:
tree = ''
sent_dict[i] = {'content': sent, 'parsed': tree}
else:
sent_dict[i] = {'content': sent}
content_dict = {'sents': sent_dict, 'meta': meta_content}
holding[entry_id] = content_dict
return holding
def _sentence_segmenter(paragr):
"""
Function to break a string 'paragraph' into a list of sentences based on
the following rules:
1. Look for terminal [.,?,!] followed by a space and [A-Z]
2. If ., check against abbreviation list ABBREV_LIST: Get the string
between the . and the previous blank, lower-case it, and see if it is in
the list. Also check for single-letter initials. If true, continue search
for terminal punctuation
3. Extend selection to balance (...) and "...". Reapply termination rules
4. Add to sentlist if the length of the string is between MIN_SENTLENGTH
and MAX_SENTLENGTH
5. Returns sentlist
Parameters
----------
paragr: String.
Content that will be split into constituent sentences.
Returns
-------
sentlist: List.
List of sentences.
"""
# this is relatively high because we are only looking for sentences that
# will have subject and object
MIN_SENTLENGTH = 100
MAX_SENTLENGTH = 512
# sentence termination pattern used in sentence_segmenter(paragr)
terpat = re.compile('[\.\?!]\s+[A-Z\"]')
# source: LbjNerTagger1.11.release/Data/KnownLists/known_title.lst from
# University of Illinois with editing
ABBREV_LIST = ['mrs.', 'ms.', 'mr.', 'dr.', 'gov.', 'sr.', 'rev.', 'r.n.',
'pres.', 'treas.', 'sect.', 'maj.', 'ph.d.', 'ed. psy.',
'proc.', 'fr.', 'asst.', 'p.f.c.', 'prof.', 'admr.',
'engr.', 'mgr.', 'supt.', 'admin.', 'assoc.', 'voc.',
'hon.', 'm.d.', 'dpty.', 'sec.', 'capt.', 'c.e.o.',
'c.f.o.', 'c.i.o.', 'c.o.o.', 'c.p.a.', 'c.n.a.', 'acct.',
'llc.', 'inc.', 'dir.', 'esq.', 'lt.', 'd.d.', 'ed.',
'revd.', 'psy.d.', 'v.p.', 'senr.', 'gen.', 'prov.',
'cmdr.', 'sgt.', 'sen.', 'col.', 'lieut.', 'cpl.', 'pfc.',
'k.p.h.', 'cent.', 'deg.', 'doz.', 'Fahr.', 'Cel.', 'F.',
'C.', 'K.', 'ft.', 'fur.', 'gal.', 'gr.', 'in.', 'kg.',
'km.', 'kw.', 'l.', 'lat.', 'lb.', 'lb per sq in.', 'long.',
'mg.', 'mm.,, m.p.g.', 'm.p.h.', 'cc.', 'qr.', 'qt.', 'sq.',
't.', 'vol.', 'w.', 'wt.']
sentlist = []
# controls skipping over non-terminal conditions
searchstart = 0
terloc = terpat.search(paragr)
while terloc:
isok = True
if paragr[terloc.start()] == '.':
if (paragr[terloc.start() - 1].isupper() and
paragr[terloc.start() - 2] == ' '):
isok = False # single initials
else:
# check abbreviations
loc = paragr.rfind(' ', 0, terloc.start() - 1)
if loc > 0:
if paragr[
loc + 1:terloc.start() + 1].lower() in ABBREV_LIST:
isok = False
if paragr[:terloc.start()].count(
'(') != paragr[:terloc.start()].count(')'):
isok = False
if paragr[:terloc.start()].count('"') % 2 != 0:
isok = False
if isok:
if (len(paragr[:terloc.start()]) > MIN_SENTLENGTH and
len(paragr[:terloc.start()]) < MAX_SENTLENGTH):
sentlist.append(paragr[:terloc.start() + 2])
paragr = paragr[terloc.end() - 1:]
searchstart = 0
else:
searchstart = terloc.start() + 2
terloc = terpat.search(paragr, searchstart)
# add final sentence
if (len(paragr) > MIN_SENTLENGTH and len(paragr) < MAX_SENTLENGTH):
sentlist.append(paragr)
return sentlist
#Newly added by Sayeed Salam sxs149331@utdallas.edu
import json
from StringIO import StringIO
from dateutil import parser
def read_json(jsonString):
holding = {}
sentence_limit = 7
article = None
try:
article = json.load(StringIO(jsonString), encoding='utf-8')
except:
print("Error while PARSING \n"+jsonString)
dateObject = None
if len(article['date_line']) == 0:
dateObject = datetime.now()
else:
dateObject = parser.parse(article['date_line'])
try:
entry_id = article['doc_id']
sent_dict = {}
print("1")
article_date = datetime.strftime(dateObject, '%Y%m%d')
print("2")
meta_content = {'date': article_date, 'headline': article['head_line']}
print("3")
print("4")
counter = 0
for sentence in article['sentences']:
sent_id = sentence['sentence_id']
print(sent_id)
counter = counter + 1
print (counter)
if counter == sentence_limit:
break #read only the first 7 sentences of a article
parsed_text = utilities._format_parsed_str(sentence['parse_sentence'])
print (parsed_text)
sent_dict[sent_id] = {'content': sentence['sentence'], 'parsed':
parsed_text}
print (counter)
content_dict = {'sents': sent_dict, 'meta': meta_content}
holding[entry_id] = content_dict
return holding
except:
print('Invalid JSON Format')
print(sys.exc_info()[0])
return {}
| [
"sxs149331@utdallas.edu"
] | sxs149331@utdallas.edu |
5d49607da0c7e2d2eeef4a35bc21dd575099ae7c | 4084674606fcc560a262c4037a6fe5cddcf99b2c | /test.py | 1befef7c05ccf9dc0e8a463be3a841e96bfc0db3 | [] | no_license | DaniilRoman/GeneticAlgorithm | 6c42131463c8a27f3ae960855c94b8b0c7bd42eb | 7dadfcc5763a51cde121f83935239d78a4c4b4dc | refs/heads/master | 2021-08-22T08:57:01.130095 | 2017-11-29T20:40:45 | 2017-11-29T20:40:45 | 112,068,086 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,014 | py | import random as r
import MainGenAlg as m
import numpy as np
from GlobalParameters import *
# Population = [3,2,5,32,5,1]
# print(Population)
# Population = m.Mutation(Population)
# print(Population)
# import MainGenAlg as m
# childe = m.CycleCrossover([3,5,2,6,8,7,9],
# [2,3,6,5,9,8,7])
# print(childe)
# print("---------")
# population = [[3,5,2,6,8,7,9],
# [2,3,6,5,9,8,7],
# [6,5,2,3,7,8,9]]
# print(m.SelectParentPair(population))
# # print("-"*20)
# # for i in range(20):
# # print(r.randint(0,len(population[0])-1))
# print("-"*50)
# print(m.PartiallyMappedCrossover(population[1],population[0]))
# print(len([2,4,1]))
# print("-"*50)
# m.getCityMatrix()
# print(m.cityMatrix)
# print(m.ComputerFit([0,10,2,3,4,5,8,7,6,9,1,11,12,13,14]))
# print("Mutatuin")
# print(m.Mutation(population[0]))
m.getCityMatrix()
Population = []
PopulationFit = []
for i in range(PopulationSize):
population, fit = m.NCM()
Population.append(population)
PopulationFit.append(fit)
for i in range(len(Population)):
print(Population[i], PopulationFit[i])
print("="*50)
Population, PopulationFit = m.Bubble_sort(Population,PopulationFit)
for i in range(len(Population)):
print(Population[i], PopulationFit[i])
print("="*50)
print("="*50)
nPositive = round(r.uniform(1.5, 2.0), 2)
nNegative = round(2 - nPositive,2)
posSubNeg = round(nPositive - nNegative,2)
lenPopulation = len(Population)
probability = []
sum1 = 0
print(nNegative,nPositive,posSubNeg)
for i in range(len(Population)):
probability.append(round((nNegative + (posSubNeg*i/lenPopulation))/lenPopulation, 2))
print(probability[i])
print("-"*20)
for i in range(len(probability)):
sum1 = round(sum1 + probability[i],2)
print(sum1)
pie = round((1 - sum1)/1, 2)
sum1 = 0
for i in range(len(probability)-1, len(probability)):
probability[i] = round(probability[i] + pie, 2)
# probability[len(probability)-2] = round(probability[len(probability)-2] + pie, 2)
# probability[len(probability)-1] = round(probability[len(probability)-1] + pie, 2)
print("-"*50)
for i in range(len(probability)):
sum1 = round(sum1 + probability[i], 2)
print(sum1, probability[i])
print(sum1)
print(pie)
print("="*50)
print("="*50)
print("="*50)
# sum1 = 0
# probability = m.computerProbability(Population)
# for i in range(len(probability)):
# sum1 = round(sum1 + probability[i],2)
# print(probability[i])
# print("---")
# print(sum1)
# print("+"*50)
# print(len(Population))
populationFit = []
print(m.PartiallyMappedCrossover(Population[3],Population[12]))
for i in range(len(Population)):
populationFit.append(m.ComputerFit(Population[i]))
print(i)
print("---")
for i in range(len(populationFit)):
print(i)
print(PopulationFit[2])
print(populationFit[2])
print("-"*100)
temp, tempFit = m.Bubble_sort(Population,PopulationFit)
for i in tempFit:
print(i)
a,b = parentPairs[3](Population, PopulationFit)
print(a)
print(b)
print(parentPairs[2](Population, PopulationFit))
| [
"danroman17397@gmail.com"
] | danroman17397@gmail.com |
d55dea500adf7af1c05c27ce23613a8a66eac0e4 | 04d5f2a599daa9f3183c9a359277d974e69c1e05 | /openstack-automation/vm-action.py | 0ece90140b6e6e6a04ebd46a155095bb70ddec4a | [] | no_license | bettychenyi/linux-test-automation | a60473a5b2ff3626a821b715539528a2cca2d9b3 | e33355db62a640d9c7e6097a58ab53f4749c0297 | refs/heads/master | 2021-08-07T00:36:28.431986 | 2019-01-09T21:09:20 | 2019-01-09T21:09:20 | 134,671,863 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,115 | py | #!/usr/bin/env python
#
# Take action to a VM specified.
# The support actions are: Start, Stop, Reboot.
# Example: python vm-action.py 'My-VM-Name' 'Reboot'
import os
import sys
from keystoneauth1 import loading
from keystoneauth1 import session
from novaclient import client
logger_path = os.path.abspath(os.path.join(__file__, '..', '..', 'alax'))
sys.path.append(logger_path)
from logger import *
#################################################
# Prepare parameters
#################################################
AUTH_URL = 'https://identity.cluster01.lab.contoso.com:5000/v2.0'
USER_NAME = 'my-user-name'
USER_PWD = 'my-password'
PROJ_NAME = 'OPENSTACK-lab-12345-01'
num_args = len(sys.argv)
if num_args < 3:
LOG('Error: missing parameters. Example:')
LOG('python vm-action.py my-vm-name Reboot')
LOG('Supported VM actions: Reboot, Start, or Stop')
sys.exit(1)
my_server_name = sys.argv[1]
vm_action = sys.argv[2].lower()
#################################################
# Run VM actions
#################################################
loader = loading.get_plugin_loader('password')
auth = loader.load_from_options(auth_url=AUTH_URL, username=USER_NAME, password=USER_PWD, project_name=PROJ_NAME)
sess = session.Session(auth=auth)
nova = client.Client('2.0', session=sess)
# list all servers in this project/tenant
servers_list = nova.servers.list()
#print servers_list
vm_found = 0
for s in servers_list:
if s.name == my_server_name:
vm_found = 1
LOG('Found the VM {0}'.format(my_server_name))
break
if vm_found == 0:
LOG('ERROR: The VM {0} is not found'.format(my_server_name))
sys.exit(1)
# find my server and take action to it
my_server = nova.servers.find(name=my_server_name)
#output = my_server.get_console_output()
if vm_action == "reboot":
LOG('Reboot VM {0} ...'.format(my_server_name))
my_server.reboot()
elif vm_action == "start":
LOG('Start VM {0}'.format(my_server_name))
my_server.start()
elif vm_action == "stop":
LOG('Stop VM {0}'.format(my_server_name))
my_server.stop()
else:
LOG('Unknown action. Only support: Reboot, Start, Stop')
LOG('Finished.')
| [
"noreply@github.com"
] | bettychenyi.noreply@github.com |
90937f88957c2238b3446b2dba420297a929d383 | 26bd64389bf3ae936c5d8b69f4c241d1c0672770 | /venv/Scripts/pip3.7-script.py | ddf44fad56393671a6145059135ef8307b6363d2 | [] | no_license | MAHESH9598/StringSlicing | 8328fa3cda91d4a4659cc17e795c71c15e713aa7 | be919ea62610eda6180d793d755fefe220970921 | refs/heads/master | 2020-04-16T19:43:57.916358 | 2019-01-15T15:08:49 | 2019-01-15T15:08:49 | 165,871,834 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 433 | py | #!"C:\Users\Geetha Mahesh\PycharmProjects\StringSlicing\venv\Scripts\python.exe"
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7'
__requires__ = 'pip==10.0.1'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('pip==10.0.1', 'console_scripts', 'pip3.7')()
)
| [
"46166792+MAHESH9598@users.noreply.github.com"
] | 46166792+MAHESH9598@users.noreply.github.com |
200b43d36740a0af550608231aa3b831029eede0 | bdc10657d32ab22278d62a9ac4db52906239802d | /app/app.py | 3bbc96bd0ebb892c785069c7afe687031b3e1fd3 | [] | no_license | cyrilfotso/npuzzle-api | 190cd584add4aef6f40ea9365d456b1ed90f86fd | 33953f9ce0b44e4dc9fe54ece3d2b8a8f0365d6b | refs/heads/master | 2021-03-15T08:50:21.805822 | 2020-03-12T13:22:41 | 2020-03-12T13:22:41 | 246,838,549 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,209 | py | from flask import Flask, request, jsonify
from flask_cors import CORS
from State import State
from implementation import a_star_search, ida_star_search
# Define the WSGI application object
app = Flask(__name__)
app.url_map.strict_slashes = False
# HTTP error handling
@app.errorhandler(404)
def not_found(error):
return jsonify({'msg': '404.html'}), 404
# welcome page
@app.route('/', methods=['GET'])
def home():
return jsonify({'message': 'Welcome to the n-puzzle engine api'})
@app.route('/a_star', methods=['POST'])
def a_star_solve():
data = request.get_json()
try:
size = data.get('size', 3)
config = data.get('config', [])
type_heuristic = data.get('type_heuristic', 2)
goal_mode = data.get('goal_mode', 'zero_first')
print('ida', config)
state = State(config=tuple(config), type_heuristic=type_heuristic,
parent=None, goal_mode=goal_mode, moves=0, size=size, from_dir='')
out = a_star_search(state)
if out[0]:
return jsonify({'found': out[0], 'actions_list': out[4],
'Depth': out[6], 'Search_time': out[5]})
else:
jsonify({'found': out[0]}), 404
except Exception as e:
return jsonify({'error': str(e)}), 401
@app.route('/ida_star', methods=['POST'])
def ida_star_solve():
data = request.get_json()
try:
size = data.get('size', 3)
config = data.get('config', [])
type_heuristic = data.get('type_heuristic', 2)
goal_mode = data.get('goal_mode', 'zero_first')
print('ida', config, type_heuristic, goal_mode)
state = State(config=tuple(config), type_heuristic=type_heuristic,
parent=None, goal_mode=goal_mode, moves=0, size=size, from_dir='')
out = ida_star_search(state)
if out[0]:
return jsonify({'found': out[0], 'actions_list': out[3],
'Depth': out[4], 'Search_time': out[5]})
else:
jsonify({'found': False}), 404
except Exception as e:
return jsonify({'error': str(e)}), 401
CORS(app)
if __name__ == '__main__':
app.run(port=5001, debug=True)
| [
"cyril.fotsowoguia@cvshealth.com"
] | cyril.fotsowoguia@cvshealth.com |
59202afa8ca99c10969a62d406c8db8cc0a5d919 | 79b7689e787e8918d00753876acec6c3ab92b9ff | /experiments/table_attempt.py | 4fe64f2dbeacbeed4747c18096ab82c69c0ec4f8 | [] | no_license | sydneywb/SydneyScienceFair2021 | 527124e73ae343338034025fa926dbc49fd4989c | c9bbdee2e5cf45e40e591f0150261b971f29c036 | refs/heads/main | 2023-04-02T09:25:30.159422 | 2021-04-04T17:00:00 | 2021-04-04T17:00:00 | 324,002,367 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,966 | py | import os
from stego_encoders import *
from cv2 import imread
from tkinter import *
cover_imgs_folder = 'cover_images'
# List of 50 images to be used as cover images
images = [file for file in os.listdir(cover_imgs_folder)]
count = len(images)
root = Tk('Effectiveness of Different Adaptive Image Steganography Methods')
# Set up for the data table
Label(root,text='Image Steganography Method',borderwidth=.5,relief='solid').grid(row=0,column=0,columnspan=8,sticky='nsew')
Label(root,text='Basic LSB',borderwidth=.5,relief='solid').grid(row=1,column=0,columnspan=2,sticky='nsew')
Label(root,text='Edge-Based',borderwidth=.5,relief='solid').grid(row=1,column=2,columnspan=2,sticky='nsew')
Label(root,text='Noise-Based',borderwidth=.5,relief='solid').grid(row=1,column=4,columnspan=2,sticky='nsew')
Label(root,text='Color-Based',borderwidth=.5,relief='solid').grid(row=1,column=6,columnspan=2,sticky='nsew')
for i in range(0, 8, 2): Label(root,text='PSNR (dB)',borderwidth=.5,relief='solid').grid(row=2,column=i,sticky='nsew')
for i in range(1, 9, 2): Label(root,text='Capacity (# of characters)',borderwidth=.5,relief='solid').grid(row=2,column=i,sticky='nsew')
Label(root,text='Averages',borderwidth=.5,relief='solid').grid(row=count+3,column=0,sticky='nsew',columnspan=8)
# Using Moby Dick as hidden message to be embedded in cover image
hidden_message = 'images_and_texts/moby_dick.txt'
functions_list = {lsb:[0,'lsb'], edge:[2,'edge'], noise:[4,'noise'], color:[6,'color']}
storage = {
'lsb_psnr':[], 'lsb_capacity':[],
'edge_psnr':[], 'edge_capacity':[],
'noise_psnr':[], 'noise_capacity':[],
'color_psnr':[], 'color_capacity':[]
}
for og_img in images:
img_num = int(og_img[:-9])
for func in functions_list.keys():
output = func(f'{cover_imgs_folder}/{og_img}', hidden_message)
name, col = functions_list[func][1], functions_list[func][0]
stego_save = f'stego_images/{name}/{img_num}{name}.png'
output[0].save(stego_save)
psnr, capacity = PSNR(imread(f'{cover_imgs_folder}/{og_img}'), imread(stego_save,1)), output[1]
storage[f'{name}_psnr'].append(float(psnr))
storage[f'{name}_capacity'].append(int(capacity))
print(f'{stego_save}, PSNR: {psnr} dB, Capacity: {capacity}')
psnr_label = Label(root,text=str(psnr),borderwidth=.5,relief='solid').grid(row=img_num+3,column=col,sticky='nsew')
capacity_label = Label(root,text=str(capacity),borderwidth=.5,relief='solid').grid(row=img_num+3,column=col+1,sticky='nsew')
for func in functions_list:
name, col = functions_list[func][1], functions_list[func][0]
psnr_list, capacity_list = storage[f'{name}_psnr'], storage[f'{name}_capacity']
psnr_avg = sum(psnr_list) / len(psnr_list)
capacity_avg = sum(capacity_list) / len(capacity_list)
Label(root,text=psnr_avg,borderwidth=.5,relief='solid').grid(row=count+4,column=col,sticky='nsew')
Label(root,text=capacity_avg,borderwidth=.5,relief='solid').grid(row=count+4,column=col+1,sticky='nsew')
root.mainloop()
| [
"noreply@github.com"
] | sydneywb.noreply@github.com |
c385ced724613b09d739b2c164df6dc0a7c9fb32 | 6fe8250e67e46808a0f297abd38b49f65050336d | /tests/integration/__init__.py | 13b945a3c4201a757520391da34446dd3f96baf2 | [] | no_license | pitymaia/pluserable | 854fb6f220e744de87126f6a3e6429f8d1c60546 | 7a7656e66c894bc7981d6193354357014b3307c3 | refs/heads/master | 2020-08-31T08:37:45.917498 | 2019-10-22T20:23:17 | 2019-10-22T20:23:17 | 218,649,739 | 0 | 0 | null | 2019-10-31T00:09:41 | 2019-10-31T00:09:40 | null | UTF-8 | Python | false | false | 1,152 | py | """An integration test goes through several layers of production code.
It accesses a database, so it is slower than a unit test.
"""
from bag.sqlalchemy.tricks import SubtransactionTrick
from kerno.web.pyramid import IKerno
from pyramid import testing
from sqlalchemy.orm import sessionmaker
from tests import AppTestCase, _make_eko
class IntegrationTestBase(AppTestCase):
"""Enclose each test in a subtransaction and roll it back."""
def setUp(self):
"""Set up each test."""
self.subtransaction = SubtransactionTrick(
engine=self.engine, sessionmaker=sessionmaker)
self.sas = self.subtransaction.sas # TODO REMOVE
def sas_factory():
return self.subtransaction.sas
self.kerno = _make_eko(sas_factory=sas_factory).kerno
self.repo = self.kerno.new_repo()
config = testing.setUp(settings=self.settings)
config.registry.registerUtility(self.kerno, IKerno)
config.include('pluserable')
self.config = config
def tearDown(self):
"""Clean up after each test."""
testing.tearDown()
self.subtransaction.close()
| [
"nandoflorestan@gmail.com"
] | nandoflorestan@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.