content
stringlengths
5
1.05M
from flask import request, Response from json import dumps def makeResponse(data=None, error=None, code=200, cache_hit=False): """ Shapes the response """ responseBody = {"success": error is None, "error": error, "data": data} if "minify" in request.values: response = Response(dumps(responseBody, ensure_ascii=False, separators=(",", ":"))) else: response = Response(dumps(responseBody, ensure_ascii=False, indent=4)) response.headers["Server"] = "Anise" response.headers["Content-Type"] = "application/json" if cache_hit: response.headers["X-ANISE-CACHE"] = "HIT" else: response.headers["X-ANISE-CACHE"] = "MISS" response.status_code = int(code) return response def to_bool(val): if str(val).lower() in {"false", "0", "no"}: return False return True
#!/usr/bin/env python """ _ListRunningJobs_ Oracle implementation of Monitoring.ListRunningJobs """ from WMCore.WMBS.MySQL.Monitoring.ListRunningJobs import ListRunningJobs \ as ListRunningJobsMySQL class ListRunningJobs(ListRunningJobsMySQL): pass
# Cell import torch from torch import nn from solutions.lesson1 import * from solutions.lesson2 import * from fastai.datasets import download_data
import random import numpy as np import matplotlib.pyplot as plt def mountain(seed, n_skip, n_iter, step = 0.0001, r_min = 0, scaling = 0): def logistic(r, x, scaling): return r*x*(1 - x) + scaling*np.sin(2*np.pi*x)**2 R = [] X = [] r_range = np.linspace(r_min, 4, int(1/step)) for r in r_range: x = seed for i in range(n_iter + n_skip + 1): if i >= n_skip: R.append(r) X.append(x) x = logistic(r, x, scaling) fig = plt.figure(frameon=False) ax = plt.Axes(fig, [0., 0., 1., 1.]) ax.set_axis_off() fig.add_axes(ax) ax.plot(R, X, ls='', marker=',', color="pink") plt.ylim(0, 1) plt.xlim(r_min, 4.25) plt.show() mountain(0.2, 1000, 10, r_min=2.98) mountain(0.2, 1000, 10, r_min=2.98, scaling=0.1) mountain(0.2, 1000, 10, r_min=2.98, scaling=0.05)
#!/usr/bin/env python import logging import socket LOG = logging.getLogger(__name__) from django.utils.translation import ugettext as _ from django.utils.encoding import smart_str LOG = logging.getLogger(__name__) def handle_rest_exception(e, msg): parent_ex = e.get_parent_ex() reason = None if hasattr(parent_ex, 'reason'): reason = parent_ex.reason if isinstance(reason, socket.error): LOG.error(smart_str('Could not connect to server: %s (%s)' % (reason[0], reason[1]))) return { 'status': -1, 'errors': [_('Could not connect to server. %s (%s)') % (reason[0], reason[1])] } else: LOG.error(smart_str(msg)) LOG.error(smart_str(e.message)) return { 'status': 1, 'errors': [msg], 'exception': str(e) }
from django.db import models MOLTEN_CORE = 'MC' BLACKWING_LAIR = 'BWL' ZUL_GURUB = 'ZG' ONYXIA = 'ONY' AQ_20 = 'AQ20' AQ_40 = 'AQ40' NAXX = 'NAXX' RAIDS = ( (MOLTEN_CORE, 'Molten Core'), (BLACKWING_LAIR, 'Blackwing Lair'), (ZUL_GURUB, 'Zul\'gurub'), (ONYXIA, 'Onyxia'), (AQ_20, 'Ruins of Ahn\'Qiraj'), (AQ_40, 'Temple of Ahn\'Qiraj'), (NAXX, 'Naxx') ) __all__ = [ 'MOLTEN_CORE', 'BLACKWING_LAIR', 'ZUL_GURUB', 'ONYXIA', 'AQ_20', 'AQ_40', 'NAXX', 'RAIDS', 'Config' ] class Config(models.Model): key = models.CharField(max_length=50, primary_key=True) value = models.CharField(max_length=255) @classmethod def get(cls, key, default): try: return Config.objects.get(key=key).value except Config.DoesNotExist: return default @classmethod def set(cls, key, value): try: config = Config.objects.get(key=key) config.value = value config.save() except Config.DoesNotExist: config = Config( key=key, value=value ).save()
# flake8: noqa import numpy as np import pytest import torch from catalyst.contrib.nn import criterion as module from catalyst.contrib.nn.criterion import CircleLoss, TripletMarginLossWithSampler from catalyst.contrib.nn.criterion.contrastive import BarlowTwinsLoss from catalyst.data import AllTripletsSampler def test_criterion_init(): """@TODO: Docs. Contribution is welcome.""" for module_class in module.__dict__.values(): if isinstance(module_class, type): if module_class == CircleLoss: instance = module_class(margin=0.25, gamma=256) elif module_class == TripletMarginLossWithSampler: instance = module_class(margin=1.0, sampler_inbatch=AllTripletsSampler()) elif module_class == BarlowTwinsLoss: instance = module_class(offdiag_lambda=1, eps=1e-12) else: # @TODO: very dirty trick try: instance = module_class() except: print(module_class) instance = 1 assert instance is not None @pytest.mark.parametrize( "embeddings_left,embeddings_right,offdiag_lambda,eps,true_value", ( ( torch.tensor([[1.0, 0.0], [0.0, 1.0]]), torch.tensor([[1.0, 0.0], [0.0, 1.0]]), 1, 1e-12, 1, ), ( torch.tensor([[1.0, 0.0], [0.0, 1.0]]), torch.tensor([[1.0, 0.0], [0.0, 1.0]]), 0, 1e-12, 0.5, ), ( torch.tensor([[1.0, 0.0], [0.0, 1.0]]), torch.tensor([[1.0, 0.0], [0.0, 1.0]]), 2, 1e-12, 1.5, ), ( torch.tensor( [ [-0.31887834], [1.3980029], [0.30775256], [0.29397671], [-1.47968253], [-0.72796992], [-0.30937596], [1.16363952], [-2.15524895], [-0.0440765], ] ), torch.tensor( [ [-0.31887834], [1.3980029], [0.30775256], [0.29397671], [-1.47968253], [-0.72796992], [-0.30937596], [1.16363952], [-2.15524895], [-0.0440765], ] ), 1, 1e-12, 0.01, ), ), ) def test_barlow_twins_loss( embeddings_left: torch.Tensor, embeddings_right: torch.Tensor, offdiag_lambda: float, eps: float, true_value: float, ): """ Test Barlow Twins loss Args: embeddings_left: left objects embeddings [batch_size, features_dim] embeddings_right: right objects embeddings [batch_size, features_dim] offdiag_lambda: trade off parametr eps: zero varience handler (var + eps) true_value: expected loss value """ value = BarlowTwinsLoss(offdiag_lambda=offdiag_lambda, eps=eps)( embeddings_left, embeddings_right ).item() assert np.isclose(value, true_value)
import flask.scaffold flask.helpers._endpoint_from_view_func = flask.scaffold._endpoint_from_view_func import flask_restful from flask import request from sqlalchemy.exc import IntegrityError from sqlalchemy.orm import joinedload from app import auth, db, RestException from app.model.category import Category from app.model.study_category import StudyCategory from app.model.resource_category import ResourceCategory from app.model.user_favorite import UserFavorite from app.schema.schema import CategorySchema, ParentCategorySchema from app.model.role import Permission from app.wrappers import requires_permission class CategoryEndpoint(flask_restful.Resource): schema = CategorySchema() def get(self, id): category = db.session.query(Category).filter(Category.id == id).first() if category is None: raise RestException(RestException.NOT_FOUND) return self.schema.dump(category) @auth.login_required @requires_permission(Permission.taxonomy_admin) def delete(self, id): try: db.session.query(StudyCategory).filter_by(category_id=id).delete() db.session.query(ResourceCategory).filter_by(category_id=id).delete() db.session.query(UserFavorite).filter_by(category_id=id).delete() db.session.query(Category).filter_by(id=id).delete() db.session.commit() except IntegrityError as error: raise RestException(RestException.CAN_NOT_DELETE) return @auth.login_required @requires_permission(Permission.taxonomy_admin) def put(self, id): request_data = request.get_json() instance = db.session.query(Category).filter_by(id=id).first() try: updated = self.schema.load(data=request_data, session=db.session, instance=instance) except Exception as e: raise RestException(RestException.INVALID_OBJECT, details=e) db.session.add(updated) db.session.commit() return self.schema.dump(updated) class CategoryListEndpoint(flask_restful.Resource): category_schema = CategorySchema() categories_schema = ParentCategorySchema(many=True) def get(self): categories = db.session.query(Category)\ .options(joinedload(Category.children))\ .order_by(Category.display_order)\ .order_by(Category.name)\ .all() return self.categories_schema.dump(categories) @auth.login_required @requires_permission(Permission.taxonomy_admin) def post(self): request_data = request.get_json() try: new_cat = self.category_schema.load(data=request_data, session=db.session) except Exception as e: raise RestException(RestException.INVALID_OBJECT, details=e) db.session.add(new_cat) db.session.commit() return self.category_schema.dump(new_cat) class RootCategoryListEndpoint(flask_restful.Resource): categories_schema = CategorySchema(many=True) def get(self): categories = db.session.query(Category)\ .filter(Category.parent_id == None)\ .order_by(Category.display_order)\ .order_by(Category.name)\ .all() return self.categories_schema.dump(categories) class CategoryNamesListEndpoint(flask_restful.Resource): def get(self): categories = db.session.query(Category)\ .options(joinedload(Category.children))\ .order_by(Category.display_order)\ .order_by(Category.name)\ .all() cat_names_list = [] for cat in categories: cat_names_list.append(cat.name) return cat_names_list
import copy import wrapt from aws_xray_sdk.core import xray_recorder class XRayTracedConn(wrapt.ObjectProxy): _xray_meta = None def __init__(self, conn, meta={}): super(XRayTracedConn, self).__init__(conn) self._xray_meta = meta def cursor(self, *args, **kwargs): cursor = self.__wrapped__.cursor(*args, **kwargs) return XRayTracedCursor(cursor, self._xray_meta) class XRayTracedCursor(wrapt.ObjectProxy): _xray_meta = None def __init__(self, cursor, meta={}): super(XRayTracedCursor, self).__init__(cursor) self._xray_meta = meta # we preset database type if db is framework built-in if not self._xray_meta.get('database_type'): db_type = cursor.__class__.__module__.split('.')[0] self._xray_meta['database_type'] = db_type def __enter__(self): value = self.__wrapped__.__enter__() if value is not self.__wrapped__: return value return self @xray_recorder.capture() def execute(self, query, *args, **kwargs): add_sql_meta(self._xray_meta, query) return self.__wrapped__.execute(query, *args, **kwargs) @xray_recorder.capture() def executemany(self, query, *args, **kwargs): add_sql_meta(self._xray_meta) return self.__wrapped__.executemany(query, *args, **kwargs) @xray_recorder.capture() def callproc(self, proc, args): add_sql_meta(self._xray_meta) return self.__wrapped__.callproc(proc, args) def add_sql_meta(meta, query=None): subsegment = xray_recorder.current_subsegment() if not subsegment: return if meta.get('name', None): subsegment.name = meta['name'] sql_meta = copy.copy(meta) if sql_meta.get('name', None): del sql_meta['name'] subsegment.set_sql(sql_meta) if query and isinstance(query, str): subsegment.put_annotation("query", query[:150]) subsegment.namespace = 'remote'
# Copyright 2021 Huawei Technologies Co., Ltd # # 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. # ============================================================================ """ eval my model """ import json import time import os import argparse import math import random import numpy as np import cv2 from tqdm import tqdm import mindspore as ms from mindspore import load_checkpoint, load_param_into_net from mindspore import context import pycocotools from pycocotools.coco import COCO from pycocotools.cocoeval import COCOeval from src.yolact.layers.modules.loss import mask_iou_net from src.yolact.yolactpp import Yolact from.src.config import COCO_CLASSES, COCO_LABEL_MAP_EVAL MEANS = (103.94, 116.78, 123.68) STD = (57.38, 57.12, 58.40) parser = argparse.ArgumentParser(description='YOLACT COCO Evaluation') parser.add_argument('--pre_trained', default='/data/weights/yolact_plus_resnet50_800000.ckpt', type=str, help='Trained state_dict file path to open. If "interrupt", this will open the interrupt file.') parser.add_argument('--bbox_det_file', default='results/bbox_detections.json', type=str, help='The output file for coco bbox results if --coco_results is set.') parser.add_argument('--mask_det_file', default='results/mask_detections.json', type=str, help='The output file for coco mask results if --coco_results is set.') parser.add_argument('--seed', default=None, type=int, help='The seed to pass into random.seed. Note: this is"\ "only really for the shuffle and does not (I think) affect cuda stuff.') parser.add_argument('--score_threshold', default=0, type=float, help='Detections with a score under this threshold"\ "will not be considered. This currently only works in display mode.') parser.add_argument('--valid_img_path', default="/data/coco2017/val2017", type=str) parser.add_argument('--gt_ann_file', default="/data/coco2017/annotations/instances_val2017.json", type=str) parser.add_argument('--eval_type', default='both', choices=['bbox', 'mask', 'both'], type=str) parser.add_argument("--device_id", type=int, default=1, help="Device id, default is 0.") args = parser.parse_args() if args.seed is not None: random.seed(args.seed) context.set_context(mode=context.GRAPH_MODE, device_target="Ascend", device_id=args.device_id, enable_reduce_precision=True) iou_thresholds = [x / 100 for x in range(50, 100, 5)] coco_cats = {} # Call prep_coco_cats to fill this coco_cats_inv = {} color_cache = {} def prep_coco_cats(): """ Prepare inverted table for category id lookup given a coco cats object. """ for coco_cat_id, transformed_cat_id_p1 in get_label_map().items(): transformed_cat_id = transformed_cat_id_p1 - 1 coco_cats[transformed_cat_id] = coco_cat_id coco_cats_inv[coco_cat_id] = transformed_cat_id def get_label_map(): return COCO_LABEL_MAP_EVAL class COCOAnnotationTransform(): """Transforms a COCO annotation into a Tensor of bbox coords and label index Initialized with a dictionary lookup of classnames to indexes """ def __init__(self): self.label_map = get_label_map() def __call__(self, target, width, height): """ Args: target (dict): COCO target json annotation as a python dict height (int): height width (int): width Returns: a list containing lists of bounding boxes [bbox coords, class idx] """ scale = np.array([width, height, width, height]) res = [] for obj in target: if 'bbox' in obj: bbox = obj['bbox'] label_idx = obj['category_id'] if label_idx >= 0: label_idx = self.label_map[label_idx] - 1 final_box = list(np.array([bbox[0], bbox[1], bbox[0]+bbox[2], bbox[1]+bbox[3]])/scale) final_box.append(label_idx) res += [final_box] else: print("No bbox found for object ", obj) return res class CocoDataset(): """ Operate on the dataset """ def __init__(self, image_path, info_file, transform=None, dataset_name='MS COCO', has_gt=True): self.root = image_path self.coco = COCO(info_file) self.ids = list(self.coco.imgToAnns.keys()) if self.ids.isspace() or not has_gt: self.ids = list(self.coco.imgs.keys()) self.transform = transform self.target_transform = COCOAnnotationTransform() self.name = dataset_name self.has_gt = has_gt def __len__(self): return len(self.ids) def pull_anno(self, img_id): '''Returns the original annotation of image at index Note: not using self.__getitem__(), as any transformations passed in could mess up this functionality. Return: list: [img_id, [(label, bbox coords),...]] eg: ('001718', [('dog', (96, 13, 438, 332))]) ''' ann_ids = self.coco.getAnnIds(imgIds=img_id) return self.coco.loadAnns(ann_ids) def pull_image(self, img_id): '''Returns the original image object at index in PIL form Note: not using self.__getitem__(), as any transformations passed in could mess up this functionality. Argument: Return: img info . ndarray ''' path = self.coco.loadImgs(img_id)[0]['file_name'] return cv2.imread(os.path.join(self.root, path), cv2.IMREAD_COLOR) def pull_item(self, img_id): """ Returns: tuple: Tuple (image, target, masks, height, width, crowd). target is the object returned by ``coco.loadAnns``. Note that if no crowd annotations exist, crowd will be None """ if self.has_gt: ann_ids = self.coco.getAnnIds(imgIds=img_id) target = [x for x in self.coco.loadAnns(ann_ids) if x['image_id'] == img_id] else: target = [] # Separate out crowd annotations. These are annotations that signify a large crowd of # objects of said class, where there is no annotation for each individual object. Both # during testing and training, consider these crowds as neutral. crowd = [x for x in target if ('iscrowd' in x and x['iscrowd'])] target = [x for x in target if not ('iscrowd' in x and x['iscrowd'])] num_crowds = len(crowd) for x in crowd: x['category_id'] = -1 # This is so we ensure that all crowd annotations are at the end of the array target += crowd # The split here is to have compatibility with both COCO2014 and 2017 annotations. # In 2014, images have the pattern COCO_{train/val}2014_%012d.jpg, while in 2017 it's %012d.jpg. # Our script downloads the images as %012d.jpg so convert accordingly. file_name = self.coco.loadImgs(img_id)[0]['file_name'] if file_name.startswith('COCO'): file_name = file_name.split('_')[-1] path = os.path.join(self.root, file_name) img = cv2.imread(path) height, width, _ = img.shape if target.isspace() is not True: # Pool all the masks for this image into one [num_objects,height,width] matrix masks = [self.coco.annToMask(obj).reshape(-1) for obj in target] masks = np.vstack(masks) masks = masks.reshape(-1, height, width) if self.target_transform is not None and target.isspace() is not True: target = self.target_transform(target, width, height) if self.transform is not None: if target.isspace() is not True: target = np.array(target) img, masks, boxes, labels = self.transform(img, masks, target[:, :4], {'num_crowds': num_crowds, 'labels': target[:, 4]}) # I stored num_crowds in labels so I didn't have to modify the entirety of augmentations num_crowds = labels['num_crowds'] labels = labels['labels'] target = np.hstack((boxes, np.expand_dims(labels, axis=1))) else: img, _, _, _ = self.transform(img, np.zeros((1, height, width), dtype=np.float), np.array([[0, 0, 1, 1]]), {'num_crowds': 0, 'labels': np.array([0])}) masks = None target = None if target[0].isspace() is True: print('Warning: Augmentation output an example with no ground truth. Resampling...') return self.pull_item(random.randint(0, len(self.ids) - 1)) return img.transpose([2, 0, 1]), target, masks, height, width, num_crowds def sanitize_coordinates(_x1, _x2, img_size: int, padding: int = 0): """ Sanitizes the input coordinates so that x1 < x2, x1 != x2, x1 >= 0, and x2 <= image_size. Also converts from relative to absolute coordinates and casts the results to long tensors. If cast is false, the result won't be cast to longs. Warning: this does things in-place behind the scenes so copy if necessary. """ _x1 = _x1 * img_size _x2 = _x2 * img_size x1 = np.minimum(_x1, _x2) x2 = np.maximum(_x1, _x2) x1 = np.clip(x1 - padding, a_min=0, a_max=None) x2 = np.clip(x2 + padding, a_min=None, a_max=img_size) return x1, x2 def crop(masks, boxes, padding: int = 1): """ "Crop" predicted masks by zeroing out everything not in the predicted bbox. Vectorized by Chong (thanks Chong). Args: - masks should be a size [h, w, n] tensor of masks - boxes should be a size [n, 4] tensor of bbox coords in relative point form """ h, w, n = masks.shape x1, x2 = sanitize_coordinates(boxes[:, 0], boxes[:, 2], w, padding) y1, y2 = sanitize_coordinates(boxes[:, 1], boxes[:, 3], h, padding) np.arange(w, dtype=x1.dtype) rows = np.arange(w, dtype=x1.dtype).reshape((1, -1, 1)).repeat(repeats=h, axis=0).repeat(repeats=n, axis=2) cols = np.arange(h, dtype=x1.dtype).reshape((-1, 1, 1)).repeat(repeats=w, axis=1).repeat(repeats=n, axis=2) masks_left = rows >= x1.reshape((1, 1, -1)) masks_right = rows < x2.reshape((1, 1, -1)) masks_up = cols >= y1.reshape((1, 1, -1)) masks_down = cols < y2.reshape((1, 1, -1)) crop_mask = masks_left * masks_right * masks_up * masks_down return masks * crop_mask.astype(np.float32) def postprocess(det_output, w, h, batch_idx=0, crop_masks=True, score_threshold=0.15): """ Postprocesses the output of Yolact on testing mode into a format that makes sense, accounting for all the possible configuration settings. Args: - det_output: The lost of dicts that Detect outputs. - w: The real with of the image. - h: The real height of the image. - batch_idx: If you have multiple images for this batch, the image's index in the batch. - interpolation_mode: Can be 'nearest' | 'area' | 'bilinear' (see torch.nn.functional.interpolate) Returns 4 torch Tensors (in the following order): - classes [num_det]: The class idx for each detection. - scores [num_det]: The confidence score for each detection. - boxes [num_det, 4]: The bounding box for each detection in absolute point form. - masks [num_det, h, w]: Full image masks for each detection. """ dets = det_output[batch_idx] dets = dets['detection'] # dict, contains 5 tensor if dets is None: return [np.array([]), np.array([]), np.array([]), np.array([])] # Warning, this is 4 copies of the same thing for k in dets: dets[k] = dets[k].asnumpy() if score_threshold > 0: keep = dets['score'] > score_threshold for k in dets: if k != 'proto': dets[k] = dets[k][keep] # modified if dets['score'].shape[0] == 0: return [np.array([]), np.array([]), np.array([]), np.array([])] # Actually extract everything from dets now classes = dets['class'] #[100,] need to be expand to [100,1] boxes = dets['box'] scores = dets['score'] masks = dets['mask'] # At this points masks is only the coefficients proto_data = dets['proto'] masks = np.dot(proto_data, masks.T) # [138, 138, 32] * [32, 100] -> [138, 138, 100] masks = 1 / (1 + np.exp(-masks)) # sigmoid # Crop masks before upsampling because you know why if crop_masks: # True masks = crop(masks, boxes) # Permute into the correct output shape [num_dets, proto_h, proto_w] masks = masks.transpose((2, 0, 1)) # =========== maskiou_net ================== masks = np.transpose(cv2.resize(np.transpose(masks, (2, 1, 0)), (h, w), interpolation=cv2.INTER_LINEAR), (2, 1, 0)) # it is bilinear interpolate # Binarize the masks. # this op will create a array like [[1,0,0,1...,1],[...]], all elements below 0.5 will be replaced by 0, otherwise 1. masks = np.greater(masks, 0.5).astype(np.float32) boxes[:, 0], boxes[:, 2] = sanitize_coordinates(boxes[:, 0], boxes[:, 2], w) boxes[:, 1], boxes[:, 3] = sanitize_coordinates(boxes[:, 1], boxes[:, 3], h) return classes, scores, boxes, masks def gather_numpy(self, dim, index): data_swaped = np.swapaxes(self, 0, dim) index_swaped = np.swapaxes(index, 0, dim) gathered = np.choose(index_swaped, data_swaped) return np.swapaxes(gathered, 0, dim) def prep_metrics(ap_data, dets, img, gt, gt_masks, h, w, num_crowd, image_id, detections): """ postprocess """ # classes [100,], scores [100, ], boxes [100,4], masks [100, H, W] classes, scores, boxes, masks = postprocess(dets, w, h, crop_masks=True, score_threshold=args.threshold) if classes.shape.isspace() is True: return classes = list(classes.astype(int)) if isinstance(scores, list): box_scores = list(scores[0].astype(float)) mask_scores = list(scores[1].astype(float)) else: scores = list(scores.astype(float)) box_scores = scores mask_scores = scores masks = masks.reshape((-1, h * w)) # ============== output json module ==================== # add bboxes abd masks into detection obj. masks = masks.reshape((-1, h, w)) for i in range(masks.shape[0]): # Make sure that the bounding box actually makes sense and a mask was produced if (boxes[i, 3] - boxes[i, 1]) * (boxes[i, 2] - boxes[i, 0]) > 0: detections.add_bbox(image_id, classes[i], boxes[i, :], box_scores[i]) detections.add_mask(image_id, classes[i], masks[i, :, :], mask_scores[i]) return class APDataObject: """ Stores all the information necessary to calculate the AP for one IoU and one class. Note: I type annotated this because why not. """ def __init__(self): self.data_points = [] self.num_gt_positives = 0 def push(self, score: float, is_true: bool): self.data_points.append((score, is_true)) def add_gt_positives(self, num_positives: int): """ Call this once per image. """ self.num_gt_positives += num_positives def is_empty(self) -> bool: return len(self.data_points) == 0 and self.num_gt_positives == 0 def get_ap(self) -> float: """ Warning: result not cached. """ if self.num_gt_positives == 0: return 0 # Sort descending by score self.data_points.sort(key=lambda x: -x[0]) precisions = [] recalls = [] num_true = 0 num_false = 0 # Compute the precision-recall curve. The x axis is recalls and the y axis precisions. for datum in self.data_points: # datum[1] is whether the detection a true or false positive if datum[1]: num_true += 1 else: num_false += 1 precision = num_true / (num_true + num_false) recall = num_true / self.num_gt_positives precisions.append(precision) recalls.append(recall) # Smooth the curve by computing [max(precisions[i:]) for i in range(len(precisions))] # Basically, remove any temporary dips from the curve. # At least that's what I think, idk. COCOEval did it so I do too. for i in range(len(precisions) - 1, 0, -1): if precisions[i] > precisions[i - 1]: precisions[i - 1] = precisions[i] # Compute the integral of precision(recall) d_recall from recall=0->1 using fixed-length riemann summation with 101 bars. y_range = [0] * 101 # idx 0 is recall == 0.0 and idx 100 is recall == 1.00 x_range = np.array([x / 100 for x in range(101)]) recalls = np.array(recalls) # I realize this is weird, but all it does is find the nearest precision(x) for a given x in x_range. # Basically, if the closest recall we have to 0.01 is 0.009 this sets precision(0.01) = precision(0.009). # I approximate the integral this way, because that's how COCOEval does it. indices = np.searchsorted(recalls, x_range, side='left') for bar_idx, precision_idx in enumerate(indices): if precision_idx < len(precisions): y_range[bar_idx] = precisions[precision_idx] # Finally compute the riemann sum to get our integral. # avg([precision(x) for x in 0:0.01:1]) return sum(y_range) / len(y_range) def get_coco_cat(transformed_cat_id): """ transformed_cat_id is [0,80) as indices in cfg.dataset.class_names """ return coco_cats[transformed_cat_id] class Detections: """ Detect the model """ def __init__(self): self.bbox_data = [] self.mask_data = [] def add_bbox(self, image_id: int, category_id: int, bbox: list, score: float): """ x1 y1 x2 y2 -> x1 y1 w h """ bbox = [bbox[0], bbox[1], bbox[2] - bbox[0], bbox[3] - bbox[1]] # Round to the nearest 10th to avoid huge file sizes, as COCO suggests bbox = [round(float(x) * 10) / 10 for x in bbox] self.bbox_data.append({ 'image_id': int(image_id), 'category_id': get_coco_cat(int(category_id)), 'bbox': bbox, 'score': float(score) }) def add_mask(self, image_id: int, category_id: int, segmentation: np.ndarray, score: float): """ The segmentation should be the full mask, the size of the image and with size [h, w]. """ rle = pycocotools.mask.encode(np.asfortranarray(segmentation.astype(np.uint8))) rle['counts'] = rle['counts'].decode('ascii') # json.dump doesn't like bytes strings self.mask_data.append({ 'image_id': int(image_id), 'category_id': get_coco_cat(int(category_id)), 'segmentation': rle, 'score': float(score) }) def dump(self): dump_arguments = [ (self.bbox_data, args.bbox_det_file), (self.mask_data, args.mask_det_file) ] for data, path in dump_arguments: with open(path, 'w') as f: json.dump(data, f) def eval_network(net, dataset): """ eval """ net.detect.use_fast_nms = True net.detect.use_cross_class_nms = False dataset_size = len(dataset) print("dataset_size : {}".format(dataset_size)) # For each class and iou, stores tuples (score, isPositive) # Index ap_data[type][iouIdx][classIdx] ap_data = { 'box': [[APDataObject() for _ in COCO_CLASSES] for _ in iou_thresholds], 'mask': [[APDataObject() for _ in COCO_CLASSES] for _ in iou_thresholds] } detections = Detections() for image_idx in tqdm(dataset.ids): # ============== load data ================= # img : tensor([3,550,550]) in source code, now ndarray img, gt, gt_masks, h, w, num_crowd = dataset.pull_item(image_idx) img = np.expand_dims(img, axis=0) # [1,3,550,550] cur_time = time.time() preds = net(ms.Tensor(img).astype(ms.float32)) print("forward consume {} s. ".format(time.time()-cur_time)) prep_metrics(ap_data, preds, img, gt, gt_masks, h, w, num_crowd, image_idx, detections) print('Dumping detections...') detections.dump() print("Dump json success. ") def _eval(): """ _eval """ eval_bbox = (args.eval_type in ('bbox', 'both')) eval_mask = (args.eval_type in ('mask', 'both')) print('Loading annotations...') gt_annotations = COCO(args.gt_ann_file) if eval_bbox: bbox_dets = gt_annotations.loadRes(args.bbox_det_file) if eval_mask: mask_dets = gt_annotations.loadRes(args.mask_det_file) if eval_bbox: print('\nEvaluating BBoxes:') bbox_eval = COCOeval(gt_annotations, bbox_dets, 'bbox') bbox_eval.evaluate() bbox_eval.accumulate() bbox_eval.summarize() if eval_mask: print('\nEvaluating Masks:') bbox_eval = COCOeval(gt_annotations, mask_dets, 'segm') bbox_eval.evaluate() bbox_eval.accumulate() bbox_eval.summarize() class ConvertFromInts(): def __call__(self, image, masks=None, boxes=None, labels=None): return image.astype(np.float32), masks, boxes, labels class Resize(): """ If preserve_aspect_ratio is true, this resizes to an approximate area of max_size * max_size """ @staticmethod def calc_size_preserve_ar(img_w, img_h, max_size): """ I matched this one out on the piece of paper. Resulting width*height = approx max_size^2 """ ratio = math.sqrt(img_w / img_h) w = max_size * ratio h = max_size / ratio return int(w), int(h) def __init__(self, resize_gt=True): self.resize_gt = resize_gt self.max_size = 550 self.preserve_aspect_ratio = False def __call__(self, image, masks, boxes, labels=None): img_h, img_w, _ = image.shape if self.preserve_aspect_ratio: width, height = Resize.calc_size_preserve_ar(img_w, img_h, self.max_size) else: width, height = self.max_size, self.max_size image = cv2.resize(image, (width, height)) if self.resize_gt: # Act like each object is a color channel masks = masks.transpose((1, 2, 0)) masks = cv2.resize(masks, (width, height)) # OpenCV resizes a (w,h,1) array to (s,s), so fix that if len(masks.shape) == 2: masks = np.expand_dims(masks, 0) else: masks = masks.transpose((2, 0, 1)) # Scale bounding boxes (which are currently absolute coordinates) boxes[:, [0, 2]] *= (width / img_w) boxes[:, [1, 3]] *= (height / img_h) # Discard boxes that are smaller than we'd like w = boxes[:, 2] - boxes[:, 0] h = boxes[:, 3] - boxes[:, 1] keep = (w > 4/550) * (h > 4/550) masks = masks[keep] boxes = boxes[keep] labels['labels'] = labels['labels'][keep] labels['num_crowds'] = (labels['labels'] < 0).sum() return image, masks, boxes, labels class Compose(): """Composes several augmentations together. Args: transforms (List[Transform]): list of transforms to compose. Example: # >>> augmentations.Compose([ # >>> transforms.CenterCrop(10), # >>> transforms.ToTensor(), # >>> ]) """ def __init__(self, transforms): self.transforms = transforms def __call__(self, img, masks=None, boxes=None, labels=None): for t in self.transforms: img, masks, boxes, labels = t(img, masks, boxes, labels) return img, masks, boxes, labels class BackboneTransform(): """ Transforms a BRG image made of floats in the range [0, 255] to whatever input the current backbone network needs. transform is a transform config object (see config.py). in_channel_order is probably 'BGR' but you do you, kid. """ def __init__(self, mean, std, in_channel_order): self.mean = np.array(mean, dtype=np.float32) self.std = np.array(std, dtype=np.float32) self.channel_map = {c: idx for idx, c in enumerate(in_channel_order)} self.channel_permutation = [self.channel_map[c] for c in 'RGB'] def __call__(self, img, masks=None, boxes=None, labels=None): img = img.astype(np.float32) img = (img - self.mean) / self.std img = img[:, :, self.channel_permutation] return img.astype(np.float32), masks, boxes, labels class BaseTransform(): """BaseTransform""" def __init__(self, mean=MEANS, std=STD): self.augment = Compose([ ConvertFromInts(), Resize(resize_gt=False), BackboneTransform(mean, std, 'BGR') ]) def __call__(self, img, masks=None, boxes=None, labels=None): return self.augment(img, masks, boxes, labels) class ToAbsoluteCoords(): def __call__(self, image, masks=None, boxes=None, labels=None): boxes[:, 0] *= width boxes[:, 2] *= width boxes[:, 1] *= height boxes[:, 3] *= height return image, masks, boxes, labels if __name__ == '__main__': parse_args() if not os.path.exists(args.bbox_det_file) or not os.path.exists(args.mask_det_file): datasets = CocoDataset(args.valid_img_path, args.gt_ann_file, transform=BaseTransform(), has_gt=True) prep_coco_cats() network = Yolact() mask_iou_net = mask_iou_net() ckpt_path = args.pre_trained if ckpt_path: param_dict = load_checkpoint(ckpt_path) load_param_into_net(network, param_dict) eval_network(net, datasets) # eval bbox and masks json _eval()
import sys import argparse from .split_fa import Config as SplitFastaConfig from .anno2seqs import Config as Anno2SeqsConfig from .extract_fx import Config as ExtractFastxConfig def main(): parser = argparse.ArgumentParser() subparsers = parser.add_subparsers( title='HTS Fastx Processor', description="Process fasta/fastq files from command line", dest='command' ) # register all subcommands argparsers = { config.name: config(subparsers).parser for config in [ SplitFastaConfig, Anno2SeqsConfig, ExtractFastxConfig ] } # print out the help message when no command is given if len(sys.argv)==1: parser.print_help(sys.stderr) sys.exit(1) # print out the subcommand's help message when no other commands given if len(sys.argv) == 2 and sys.argv[1] in argparsers: argparsers[sys.argv[1]].print_help(sys.stderr) sys.exit(1) args = parser.parse_args() args.func(args) if __name__ == '__main__': main()
# TBD # Implement data leakage cleanup ( Image and CSV cleaners )
# https://atcoder.jp/contests/abc174/tasks/abc174_b N, D = map(int, input().split()) zahyo = [] ans = 0 for _ in range(N): x, y = map(int, input().split()) if D**2 >= (x**2 + y**2): ans += 1 print(ans)
# Download the Python helper library from twilio.com/docs/python/install from twilio.rest import Client # Your Account Sid and Auth Token from twilio.com/user/account account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" auth_token = "your_auth_token" client = Client(account_sid, auth_token) # A list of message objects with the properties described above for message in client.messages.list(): print(message.direction)
# Copyright 2019 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 # # https://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. # ResNet20, 56, 110, 164, 1001 version 2 for CIFAR-10 # Paper: https://arxiv.org/pdf/1603.05027.pdf # Modified from: # https://github.com/GoogleCloudPlatform/keras-idiomatic-programmer/blob/master/zoo/resnet/resnet_cifar10_v2.py import tensorflow as tf from tensorflow.keras import Model, Input from tensorflow.keras.layers import ( Conv2D, Dense, BatchNormalization, ReLU, Add, Activation, ) from tensorflow.keras.layers import AveragePooling2D, GlobalAvgPool2D, Dropout from tensorflow.keras.layers import experimental from tensorflow.keras.regularizers import l2 WEIGHT_DECAY = 5e-4 def stem(inputs): """Construct Stem Convolutional Group inputs : the input vector """ x = Conv2D( 16, (3, 3), strides=(1, 1), padding="same", use_bias=False, kernel_regularizer=l2(WEIGHT_DECAY), )(inputs) x = BatchNormalization()(x) x = ReLU()(x) return x def learner(x, n_blocks): """Construct the Learner x : input to the learner n_blocks : number of blocks in a group """ # First Residual Block Group of 16 filters (Stage 1) # Quadruple (4X) the size of filters to fit the next Residual Group x = residual_group(x, 16, n_blocks, strides=(1, 1), n=4) # Second Residual Block Group of 64 filters (Stage 2) # Double (2X) the size of filters and reduce feature maps by 75% (strides=2) to fit the next Residual Group x = residual_group(x, 64, n_blocks, n=2) # Third Residual Block Group of 64 filters (Stage 3) # Double (2X) the size of filters and reduce feature maps by 75% (strides=2) to fit the next Residual Group x = residual_group(x, 128, n_blocks, n=2) return x def residual_group(x, n_filters, n_blocks, strides=(2, 2), n=2): """Construct a Residual Group x : input into the group n_filters : number of filters for the group n_blocks : number of residual blocks with identity link strides : whether the projection block is a strided convolution n : multiplier for the number of filters out """ # Double the size of filters to fit the first Residual Group x = projection_block(x, n_filters, strides=strides, n=n) # Identity residual blocks for _ in range(n_blocks): x = identity_block(x, n_filters, n) return x def identity_block(x, n_filters, n=2): """Construct a Bottleneck Residual Block of Convolutions x : input into the block n_filters: number of filters n : multiplier for filters out """ # Save input vector (feature maps) for the identity link shortcut = x ## Construct the 1x1, 3x3, 1x1 residual block (fig 3c) # Dimensionality reduction x = BatchNormalization()(x) x = ReLU()(x) x = Conv2D( n_filters, (1, 1), strides=(1, 1), use_bias=False, kernel_regularizer=l2(WEIGHT_DECAY), )(x) # Bottleneck layer x = BatchNormalization()(x) x = ReLU()(x) x = Conv2D( n_filters, (3, 3), strides=(1, 1), padding="same", use_bias=False, kernel_regularizer=l2(WEIGHT_DECAY), )(x) # Dimensionality restoration - increase the number of output filters by 2X or 4X x = BatchNormalization()(x) x = ReLU()(x) x = Conv2D( n_filters * n, (1, 1), strides=(1, 1), use_bias=False, kernel_regularizer=l2(WEIGHT_DECAY), )(x) # Add the identity link (input) to the output of the residual block x = Add()([x, shortcut]) return x def projection_block(x, n_filters, strides=(2, 2), n=2): """Construct a Bottleneck Residual Block with Projection Shortcut Increase the number of filters by 2X (or 4X on first stage) x : input into the block n_filters: number of filters strides : whether the first convolution is strided n : multiplier for number of filters out """ # Construct the projection shortcut # Increase filters by 2X (or 4X) to match shape when added to output of block shortcut = Conv2D( n_filters * n, (1, 1), strides=strides, use_bias=False, kernel_regularizer=l2(WEIGHT_DECAY), )(x) ## Construct the 1x1, 3x3, 1x1 convolution block # Dimensionality reduction x = BatchNormalization()(x) x = ReLU()(x) x = Conv2D( n_filters, (1, 1), strides=(1, 1), use_bias=False, kernel_regularizer=l2(WEIGHT_DECAY), )(x) # Bottleneck layer - feature pooling when strides=(2, 2) x = BatchNormalization()(x) x = ReLU()(x) x = Conv2D( n_filters, (3, 3), strides=strides, padding="same", use_bias=False, kernel_regularizer=l2(WEIGHT_DECAY), )(x) # Dimensionality restoration - increase the number of filters by 2X (or 4X) x = BatchNormalization()(x) x = ReLU()(x) x = Conv2D( n_filters * n, (1, 1), strides=(1, 1), use_bias=False, kernel_regularizer=l2(WEIGHT_DECAY), )(x) # Add the projection shortcut to the output of the residual block x = Add()([shortcut, x]) return x def projection_head(x, hidden_dim=128): """Constructs the projection head.""" for i in range(2): x = Dense( hidden_dim, name=f"projection_layer_{i}", kernel_regularizer=l2(WEIGHT_DECAY), )(x) x = BatchNormalization()(x) x = Activation("relu")(x) outputs = Dense(hidden_dim, name="projection_output")(x) return outputs def prediction_head(x, hidden_dim=128, mx=4): """Constructs the prediction head.""" x = BatchNormalization()(x) x = Dense( hidden_dim // mx, name=f"prediction_layer_0", kernel_regularizer=l2(WEIGHT_DECAY), )(x) x = BatchNormalization()(x) x = Activation("relu")(x) x = Dense( hidden_dim, name="prediction_output", kernel_regularizer=l2(WEIGHT_DECAY), )(x) return x # ------------------- # Model | n | # ResNet20 | 2 | # ResNet56 | 6 | # ResNet110 | 12 | # ResNet164 | 18 | # ResNet1001 | 111 | def get_network(n=2, hidden_dim=128, use_pred=False, return_before_head=True): depth = n * 9 + 2 n_blocks = ((depth - 2) // 9) - 1 # The input tensor inputs = Input(shape=(32, 32, 3)) x = experimental.preprocessing.Rescaling(scale=1.0 / 127.5, offset=-1)(inputs) # The Stem Convolution Group x = stem(x) # The learner x = learner(x, n_blocks) # Projections trunk_output = GlobalAvgPool2D()(x) projection_outputs = projection_head(trunk_output, hidden_dim=hidden_dim) if return_before_head: model = Model(inputs, [trunk_output, projection_outputs]) else: model = Model(inputs, projection_outputs) # Predictions if use_pred: prediction_outputs = prediction_head(projection_outputs) if return_before_head: model = Model(inputs, [projection_outputs, prediction_outputs]) else: model = Model(inputs, prediction_outputs) return model
from attrdict import AttrDict import os cfg = AttrDict({ # 'exp_name': 'test-len10-delta', # 'exp_name': 'test-len1-fixedscale-aggre-super', # 'exp_name': 'test-aggre-super', # 'exp_name': 'test-mask', 'exp_name': 'test-proposal', 'resume': True, 'device': 'cuda:3', # 'device': 'cpu', 'dataset': { 'seq_mnist': 'data/seq_mnist', 'seq_len': 2 }, 'train': { 'batch_size': 32, 'model_lr': 1e-4, 'max_epochs': 1000 }, 'valid': { 'batch_size': 64 }, 'anneal': { 'initial': 0.70, 'final': 0.01, 'total_steps':40000, 'interval': 500 }, 'logdir': 'logs/', 'checkpointdir': 'checkpoints/', })
## Meeting ## 6 kyu ## https://www.codewars.com/kata/59df2f8f08c6cec835000012 def meeting(s): return ''.join(sorted([f"({', '.join(item.split(':')[::-1])})" for item in s.upper().split(';')]))
# See: https://github.com/pr3d4t0r/aoc2020/blob/0001-AoC-day-2/LICENSE # vim: set fileencoding=utf-8: from aoc.day_06_customforms import loadExerciseDataFrom from aoc.day_06_customforms import main from aoc.day_06_customforms import confirmedMixedAnswers from aoc.day_06_customforms import confirmedGroupAnswers import pytest # +++ constants +++ TEST_CUSTOMFORMS_FILE_NAME = 'resources/test/customforms-test-data.txt' # +++ tests +++ _groupData = None def test_loadExerciseDataFrom(): global _groupData _groupData = loadExerciseDataFrom(TEST_CUSTOMFORMS_FILE_NAME) assert isinstance(_groupData, list) assert _groupData[1] == 'a\nb\nc' assert _groupData[2] == 'ab\nac' def test_confirmedMixedAnswers(): assert confirmedMixedAnswers(_groupData) == 11 def test_confirmedGroupAnswers(): assert confirmedGroupAnswers(_groupData) == 6 def test_main(): assert main(TEST_CUSTOMFORMS_FILE_NAME) == (11, 6)
from config.deckbox import deckbox_user_id, deckbox_folder
def print_album_information(metadata_dictionary): print("Album Info:") print("Title:\t\t%s" % metadata_dictionary['album']) print("Artist:\t\t%s" % metadata_dictionary['artist']) print("Year:\t\t%s" % metadata_dictionary['date'][:4]) print("Tracks:\t\t%s" % metadata_dictionary['total_tracks']) print()
import secrets from time import time from sqlalchemy import and_ from boggle import db from boggle.utils.db import in_transaction # Default functions def unix_time(): """Return the current unix timestamp.""" return int(time()) # Generate random token def generate_token(): return secrets.token_hex(16) class BaseModel(db.Model): @classmethod async def get(cls, as_row_obj=False, **kwargs): obj = await cls.query.where( and_(getattr(cls, column) == val for column, val in kwargs.items()) ).gino.first() if not obj: return None return obj if as_row_obj else obj.to_dict() @classmethod @in_transaction async def add(cls, **kwargs): created_obj = await cls(**kwargs).create() return created_obj.to_dict() @classmethod @in_transaction async def modify(cls, get_kwargs, modify_kwargs): row = await cls.get(**get_kwargs, as_row_obj=True) await row.update(**modify_kwargs).apply() return row.to_dict() class Board(BaseModel): __tablename__ = "board" # Columns id = db.Column(db.BigInteger, primary_key=True, autoincrement=True) token = db.Column(db.String(length=32), nullable=False, default=generate_token) board = db.Column(db.String(length=255), nullable=False) points = db.Column(db.Integer, nullable=False, default=0) duration = db.Column(db.Integer, nullable=False, default=0) created_at = db.Column(db.BigInteger, nullable=False, default=unix_time)
import numpy as np from fastai.core import V, T, to_gpu, to_np from quicknlp.modules import EmbeddingRNNEncoder def test_BiRNNEncoder(): ntoken = 4 emb_sz = 2 nhid = 6 # Given a birnnencoder encoder = EmbeddingRNNEncoder(ntoken, emb_sz, nhid=nhid, nlayers=2, pad_token=0, dropouth=0.0, dropouti=0.0, dropoute=0.0, wdrop=0.0) encoder = to_gpu(encoder) assert encoder is not None weight = encoder.encoder.weight assert (4, 2) == weight.shape sl = 2 bs = 3 np.random.seed(0) inputs = np.random.randint(0, ntoken, sl * bs).reshape(sl, bs) vin = V(T(inputs)) # Then the initial output states should be zero encoder.reset(bs) initial_hidden = encoder.hidden h = [] c = [] for layer in initial_hidden: h.append(layer[0].data.cpu().numpy()) c.append(layer[1].data.cpu().numpy()) assert h[-1].sum() == 0 assert c[-1].sum() == 0 embeddings = encoder.encoder(vin) assert (2, 3, emb_sz) == embeddings.shape # Then the the new states are different from before raw_outputs, outputs = encoder(vin) for r, o in zip(raw_outputs, outputs): assert np.allclose(to_np(r), to_np(o)) initial_hidden = encoder.hidden h1 = [] c1 = [] for hl, cl, layer in zip(h, c, initial_hidden): h1.append(to_np(layer[0])) c1.append(to_np(layer[0])) assert ~np.allclose(hl, h1[-1]) assert ~np.allclose(cl, c1[-1]) # Then the the new states are different from before raw_outputs, outputs = encoder(vin) for r, o in zip(raw_outputs, outputs): assert np.allclose(to_np(r), to_np(o)) initial_hidden = encoder.hidden for hl, cl, layer in zip(h1, c1, initial_hidden): h_new = to_np(layer[0]) c_new = to_np(layer[0]) assert ~np.allclose(hl, h_new) assert ~np.allclose(cl, c_new)
# -*- coding: utf-8 -*- """ Created on Tuesday May 29 13:08:01 2018 @author: Tony Saad """ # !/usr/bin/env python from scipy import interpolate import numpy as np from numpy import pi class file_spectrum: def __init__(self,specfname): filespec = np.loadtxt(specfname) kfile=filespec[:,0] efile=filespec[:,1] self.especf = interpolate.interp1d(kfile, efile,'cubic') self.kmin = kfile[0] self.kmax = kfile[len(kfile) - 1] def evaluate(self,k): return self.especf(k) class cbc_spectrum: def __init__(self): cbcspec = np.loadtxt('cbc_spectrum.txt') kcbc=cbcspec[:,0]*100 ecbc=cbcspec[:,1]*1e-6 self.especf = interpolate.interp1d(kcbc, ecbc,'cubic') self.kmin = kcbc[0] self.kmax = kcbc[len(kcbc) - 1] def evaluate(self,k): return self.especf(k) class vkp_spectrum: def __init__(self,ke=40.0,nu=1.0e-5,urms=0.25): self.nu = nu self.urms = urms self.ke = ke self.kmin = 0 self.kmax = 1e6 def evaluate(self, k): ke = self.ke Nu = self.nu urms = self.urms # computed from input to satisfy homogeneous turbulence properties Kappae = np.sqrt(5.0/12.0)*ke L = 0.746834/Kappae #integral length scale Alpha = 1.452762113; # L = 0.05 # integral length scale # Kappae = 0.746834/L Epsilon = urms*urms*urms/L; KappaEta = pow(Epsilon,0.25)*pow(Nu,-3.0/4.0); r1 = k/Kappae r2 = k/KappaEta espec = Alpha*urms*urms/ Kappae * pow(r1,4)/pow(1.0 + r1*r1,17.0/6.0)*np.exp(-2.0*r2*r2) return espec class kcm_spectrum: def __init__(self,station=0): self.station_ = station self.epst_ = [22.8, 9.13, 4.72, 3.41] self.lt_ = [0.25, 0.288, 0.321, 0.332] self.etat_= [0.11e-3, 0.14e-3, 0.16e-3, 0.18e-3] self.ck_ = 1.613; self.alfa_ = [0.39, 1.2, 4.0, 2.1, 0.522, 10.0, 12.58] self.eps_ = self.epst_[station] self.ckEpsTwo3rd_ = self.ck_*pow(self.eps_, 0.666666666667) self.l_ = self.lt_[station] self.eta_ = self.etat_[station] def evaluate(self, k): kl = k*self.l_; keta = k*self.eta_; term1 = kl / pow( (pow(kl, self.alfa_[1]) + self.alfa_[0]), 0.83333333333333) term1 = pow(term1,5.66666666666667) term2 = 0.5 + 0.31830988618379*np.arctan(self.alfa_[5]*np.log10(keta) + self.alfa_[6]) espec = self.ckEpsTwo3rd_*pow(k,-1.66666666666667)*term1 * np.exp(-self.alfa_[3]*keta) * (1.0 + self.alfa_[4]*term2) return espec
######################################################################## # amara/xslt/expressions/avt.py """ Implementation of XSLT attribute value templates """ from amara.xpath import datatypes from amara.xpath.expressions import expression from amara.xslt import XsltError from amara.xslt.expressions import _avt _parse_avt = _avt.parser().parse class avt_expression(expression): __slots__ = ('_format', '_args') def __init__(self, value): try: # parts is a list of unicode and/or parsed XPath parts = _parse_avt(value) except _avt.error, error: raise XsltError(XsltError.AVT_SYNTAX) self._args = args = [] for pos, part in enumerate(parts): if isinstance(part, unicode): if '%' in part: parts[pos] = part.replace('%', '%%') else: parts[pos] = u'%s' args.append(part) self._format = u''.join(parts) if not self._args: # use empty format args to force '%%' replacement self._format = datatypes.string(self._format % ()) return def evaluate_as_string(self, context): if not self._args: return self._format result = self._format % tuple(arg.evaluate_as_string(context) for arg in self._args) return datatypes.string(result) evaluate = evaluate_as_string def __str__(self): return '{' + self._format % tuple(self._args) + '}'
#!/usr/bin/env python3 # # Tests a joinsplit double-spend and a subsequent reorg. # from test_framework.test_framework import BitcoinTestFramework from test_framework.authproxy import JSONRPCException from test_framework.util import assert_equal, connect_nodes, \ gather_inputs, sync_blocks import time class JoinSplitTest(BitcoinTestFramework): def setup_network(self): # Start with split network: return super(JoinSplitTest, self).setup_network(True) def txid_in_mempool(self, node, txid): exception_triggered = False try: node.getrawtransaction(txid) except JSONRPCException: exception_triggered = True return not exception_triggered def cannot_joinsplit(self, node, txn): exception_triggered = False try: node.sendrawtransaction(txn) except JSONRPCException: exception_triggered = True return exception_triggered def expect_cannot_joinsplit(self, node, txn): assert_equal(self.cannot_joinsplit(node, txn), True) def run_test(self): # All nodes should start with 250 ZEC: starting_balance = 250 for i in range(4): assert_equal(self.nodes[i].getbalance(), starting_balance) self.nodes[i].getnewaddress("") # bug workaround, coins generated assigned to first getnewaddress! # Generate zcaddress keypairs zckeypair = self.nodes[0].zcrawkeygen() zcsecretkey = zckeypair["zcsecretkey"] zcaddress = zckeypair["zcaddress"] pool = [0, 1, 2, 3] for i in range(4): (total_in, inputs) = gather_inputs(self.nodes[i], 40) pool[i] = self.nodes[i].createrawtransaction(inputs, {}) pool[i] = self.nodes[i].zcrawjoinsplit(pool[i], {}, {zcaddress:39.99}, 39.99, 0) signed = self.nodes[i].signrawtransaction(pool[i]["rawtxn"]) # send the tx to both halves of the network self.nodes[0].sendrawtransaction(signed["hex"]) self.nodes[0].generate(1) self.nodes[2].sendrawtransaction(signed["hex"]) self.nodes[2].generate(1) pool[i] = pool[i]["encryptednote1"] sync_blocks(self.nodes[0:2]) sync_blocks(self.nodes[2:4]) # Confirm that the protects have taken place for i in range(4): enc_note = pool[i] receive_result = self.nodes[0].zcrawreceive(zcsecretkey, enc_note) assert_equal(receive_result["exists"], True) pool[i] = receive_result["note"] # Extra confirmations receive_result = self.nodes[1].zcrawreceive(zcsecretkey, enc_note) assert_equal(receive_result["exists"], True) receive_result = self.nodes[2].zcrawreceive(zcsecretkey, enc_note) assert_equal(receive_result["exists"], True) receive_result = self.nodes[3].zcrawreceive(zcsecretkey, enc_note) assert_equal(receive_result["exists"], True) blank_tx = self.nodes[0].createrawtransaction([], {}) # Create joinsplit {A, B}->{*} joinsplit_AB = self.nodes[0].zcrawjoinsplit(blank_tx, {pool[0] : zcsecretkey, pool[1] : zcsecretkey}, {zcaddress:(39.99*2)-0.01}, 0, 0.01) # Create joinsplit {B, C}->{*} joinsplit_BC = self.nodes[0].zcrawjoinsplit(blank_tx, {pool[1] : zcsecretkey, pool[2] : zcsecretkey}, {zcaddress:(39.99*2)-0.01}, 0, 0.01) # Create joinsplit {C, D}->{*} joinsplit_CD = self.nodes[0].zcrawjoinsplit(blank_tx, {pool[2] : zcsecretkey, pool[3] : zcsecretkey}, {zcaddress:(39.99*2)-0.01}, 0, 0.01) # Create joinsplit {A, D}->{*} joinsplit_AD = self.nodes[0].zcrawjoinsplit(blank_tx, {pool[0] : zcsecretkey, pool[3] : zcsecretkey}, {zcaddress:(39.99*2)-0.01}, 0, 0.01) # (a) Node 0 will spend joinsplit AB, then attempt to # double-spend it with BC. It should fail before and # after Node 0 mines blocks. # # (b) Then, Node 2 will spend BC, and mine 5 blocks. # Node 1 connects, and AB will be reorg'd from the chain. # Any attempts to spend AB or CD should fail for # both nodes. # # (c) Then, Node 0 will spend AD, which should work # because the previous spend for A (AB) is considered # invalid due to the reorg. # (a) AB_txid = self.nodes[0].sendrawtransaction(joinsplit_AB["rawtxn"]) self.expect_cannot_joinsplit(self.nodes[0], joinsplit_BC["rawtxn"]) # Wait until node[1] receives AB before we attempt to double-spend # with BC. print("Waiting for AB_txid...\n") while True: if self.txid_in_mempool(self.nodes[1], AB_txid): break time.sleep(0.2) print("Done!\n") self.expect_cannot_joinsplit(self.nodes[1], joinsplit_BC["rawtxn"]) # Generate a block self.nodes[0].generate(1) sync_blocks(self.nodes[0:2]) self.expect_cannot_joinsplit(self.nodes[0], joinsplit_BC["rawtxn"]) self.expect_cannot_joinsplit(self.nodes[1], joinsplit_BC["rawtxn"]) # (b) self.nodes[2].sendrawtransaction(joinsplit_BC["rawtxn"]) self.nodes[2].generate(5) # Connect the two nodes connect_nodes(self.nodes[1], 2) sync_blocks(self.nodes) # AB and CD should all be impossible to spend for each node. self.expect_cannot_joinsplit(self.nodes[0], joinsplit_AB["rawtxn"]) self.expect_cannot_joinsplit(self.nodes[0], joinsplit_CD["rawtxn"]) self.expect_cannot_joinsplit(self.nodes[1], joinsplit_AB["rawtxn"]) self.expect_cannot_joinsplit(self.nodes[1], joinsplit_CD["rawtxn"]) self.expect_cannot_joinsplit(self.nodes[2], joinsplit_AB["rawtxn"]) self.expect_cannot_joinsplit(self.nodes[2], joinsplit_CD["rawtxn"]) self.expect_cannot_joinsplit(self.nodes[3], joinsplit_AB["rawtxn"]) self.expect_cannot_joinsplit(self.nodes[3], joinsplit_CD["rawtxn"]) # (c) # AD should be possible to send due to the reorg that # tossed out AB. self.nodes[0].sendrawtransaction(joinsplit_AD["rawtxn"]) self.nodes[0].generate(1) sync_blocks(self.nodes) if __name__ == '__main__': JoinSplitTest().main()
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import io import unittest from typing import Iterable, Union from ...analysis_output import AnalysisOutput, Metadata from .. import ( ParseConditionTuple, ParseIssueConditionTuple, ParseIssueTuple, SourceLocation, ParseTraceFeature, ) from ..base_parser import ParseType from ..mariana_trench_parser import Parser class TestParser(unittest.TestCase): def assertParsed( self, output: str, expected: Iterable[Union[ParseConditionTuple, ParseIssueTuple]], ) -> None: output = "".join(output.split("\n")) # Flatten json-line. parser = Parser() analysis_output = AnalysisOutput( directory="/output/directory", filename_specs=["models.json"], file_handle=io.StringIO(output), metadata=Metadata( analysis_root="/analysis/root", rules={1: {"name": "TestRule", "description": "Test Rule Description"}}, ), ) def sort_entry(e: Union[ParseConditionTuple, ParseIssueTuple]) -> str: if isinstance(e, ParseConditionTuple): return e.caller else: return e.callable self.assertEqual( sorted(parser.parse(analysis_output), key=sort_entry), expected, ) def testEmptyModels(self) -> None: self.assertParsed( """ { "method": "LClass;.method:()V", "position": { "line": 1, "path": "Class.java" } } """, [], ) def testModelWithIssue(self) -> None: self.assertParsed( """ { "method": "LClass;.flow:()V", "issues": [ { "rule": 1, "position": { "path": "Flow.java", "line": 10, "start": 11, "end": 12 }, "sinks": [ { "callee": "LSink;.sink:(LData;)V", "callee_port": "Argument(1)", "call_position": { "path": "Flow.java", "line": 10, "start": 11, "end": 12 }, "distance": 2, "always_features": ["via-parameter-field"], "kind": "TestSink", "origins": ["LSink;.sink:(LData;)V"], "local_positions": [{"line": 13, "start": 14, "end": 15}], "local_features": { "always_features": ["via-parameter-field"] } } ], "sources": [ { "callee": "LSource;.source:()LData;", "callee_port": "Return", "call_position": { "path": "Flow.java", "line": 20, "start": 21, "end": 22 }, "distance": 3, "may_features": ["via-obscure"], "kind": "TestSource", "origins": ["LSource;.source:(LData;)V"], "local_positions": [ {"line": 23, "start": 24, "end": 25}, {"line": 26, "start": 27, "end": 28} ] } ], "may_features": ["via-obscure"], "always_features": ["via-parameter-field"] } ], "position": { "line": 2, "path": "Flow.java" } } """, [ ParseIssueTuple( code=1, message="TestRule: Test Rule Description", callable="LClass;.flow:()V", handle="LClass;.flow:()V:8|12|13:1:f75a532726260b3b", filename="Flow.java", callable_line=2, line=10, start=12, end=13, preconditions=[ ParseIssueConditionTuple( callee="LSink;.sink:(LData;)V", port="argument(1)", location=SourceLocation( line_no=10, begin_column=12, end_column=13, ), leaves=[("TestSink", 2)], titos=[ SourceLocation( line_no=13, begin_column=15, end_column=16 ) ], features=[ ParseTraceFeature("always-via-parameter-field", []), ParseTraceFeature("via-parameter-field", []), ], type_interval=None, annotations=[], ) ], postconditions=[ ParseIssueConditionTuple( callee="LSource;.source:()LData;", port="result", location=SourceLocation( line_no=20, begin_column=22, end_column=23, ), leaves=[("TestSource", 3)], titos=[ SourceLocation( line_no=23, begin_column=25, end_column=26 ), SourceLocation( line_no=26, begin_column=28, end_column=29 ), ], features=[], type_interval=None, annotations=[], ) ], initial_sources={("LSource;.source:(LData;)V", "TestSource", 3)}, final_sinks={("LSink;.sink:(LData;)V", "TestSink", 2)}, features=[ "always-via-parameter-field", "via-obscure", "via-parameter-field", ], fix_info=None, ) ], ) self.assertParsed( """ { "method": "LClass;.flow:()V", "issues": [ { "rule": 1, "position": { "path": "Flow.java", "line": 10, "start": 11, "end": 12 }, "sinks": [ { "callee": "LSink;.sink:(LData;)V", "callee_port": "Argument(1)", "call_position": { "path": "Flow.java", "line": 10, "start": 11, "end": 12 }, "distance": 2, "always_features": ["via-parameter-field"], "kind": "TestSink", "origins": ["LSink;.sink:(LData;)V"], "local_positions": [{"line": 13, "start": 14, "end": 15}] }, { "callee": "LSink;.sink:(LData;)V", "callee_port": "Argument(1)", "call_position": { "path": "Flow.java", "line": 20, "start": 21, "end": 22 }, "distance": 3, "always_features": ["via-obscure"], "kind": "TestSink", "origins": ["LSink;.other_sink:(LData;)V"] } ], "sources": [ { "callee": "LSource;.source:()LData;", "callee_port": "Return", "call_position": { "path": "Flow.java", "line": 30, "start": 31, "end": 32 }, "distance": 3, "kind": "TestSource", "origins": ["LSource;.source:(LData;)V"], "local_positions": [{"line": 33, "start": 34, "end": 35}] } ], "may_features": ["via-obscure", "via-parameter-field"] } ], "position": { "line": 2, "path": "Flow.java" } } """, [ ParseIssueTuple( code=1, message="TestRule: Test Rule Description", callable="LClass;.flow:()V", handle="LClass;.flow:()V:8|12|13:1:f75a532726260b3b", filename="Flow.java", callable_line=2, line=10, start=12, end=13, preconditions=[ ParseIssueConditionTuple( callee="LSink;.sink:(LData;)V", port="argument(1)", location=SourceLocation( line_no=10, begin_column=12, end_column=13, ), leaves=[("TestSink", 2)], titos=[ SourceLocation( line_no=13, begin_column=15, end_column=16 ) ], features=[], type_interval=None, annotations=[], ), ParseIssueConditionTuple( callee="LSink;.sink:(LData;)V", port="argument(1)", location=SourceLocation( line_no=20, begin_column=22, end_column=23, ), leaves=[("TestSink", 3)], titos=[], features=[], type_interval=None, annotations=[], ), ], postconditions=[ ParseIssueConditionTuple( callee="LSource;.source:()LData;", port="result", location=SourceLocation( line_no=30, begin_column=32, end_column=33, ), leaves=[("TestSource", 3)], titos=[ SourceLocation( line_no=33, begin_column=35, end_column=36 ) ], features=[], type_interval=None, annotations=[], ) ], initial_sources={("LSource;.source:(LData;)V", "TestSource", 3)}, final_sinks={ ("LSink;.sink:(LData;)V", "TestSink", 2), ("LSink;.other_sink:(LData;)V", "TestSink", 3), }, features=["via-obscure", "via-parameter-field"], fix_info=None, ) ], ) self.assertParsed( """ { "method": "LClass;.flow:()V", "issues": [ { "rule": 1, "position": { "path": "Flow.java", "line": 10, "start": 11, "end": 12 }, "sinks": [ { "callee": "LSink;.sink:(LData;)V", "callee_port": "Argument(1)", "call_position": { "path": "Flow.java", "line": 10, "start": 11, "end": 12 }, "distance": 2, "always_features": ["via-parameter-field"], "kind": "TestSink", "origins": ["LSink;.sink:(LData;)V"], "local_positions": [{"line": 13, "start": 14, "end": 15}] } ], "sources": [ { "callee_port": "Leaf", "distance": 0, "kind": "TestSource", "field_origins": ["LSource;.sourceField:LData;"], "local_positions": [{"line": 33, "start": 34, "end": 35}] } ], "may_features": ["via-obscure", "via-parameter-field"] } ], "position": { "line": 2, "path": "Flow.java" } } """, [ ParseIssueTuple( code=1, message="TestRule: Test Rule Description", callable="LClass;.flow:()V", handle="LClass;.flow:()V:8|12|13:1:f75a532726260b3b", filename="Flow.java", callable_line=2, line=10, start=12, end=13, preconditions=[ ParseIssueConditionTuple( callee="LSink;.sink:(LData;)V", port="argument(1)", location=SourceLocation( line_no=10, begin_column=12, end_column=13, ), leaves=[("TestSink", 2)], titos=[ SourceLocation( line_no=13, begin_column=15, end_column=16 ) ], features=[], type_interval=None, annotations=[], ) ], postconditions=[ ParseIssueConditionTuple( callee="leaf", port="source", location=SourceLocation( line_no=2, begin_column=1, end_column=1, ), leaves=[("TestSource", 0)], titos=[ SourceLocation( line_no=33, begin_column=35, end_column=36 ) ], features=[], type_interval=None, annotations=[], ) ], initial_sources={("LSource;.sourceField:LData;", "TestSource", 0)}, final_sinks={ ("LSink;.sink:(LData;)V", "TestSink", 2), }, features=["via-obscure", "via-parameter-field"], fix_info=None, ) ], ) def testModelPostconditions(self) -> None: # Leaf case. self.assertParsed( """ { "method": "LSource;.source:()V", "generations": [ { "kind": "TestSource", "caller_port": "Return", "origins": ["LSource;.source:()V"], "callee_port": "Leaf" } ], "position": { "line": 1, "path": "Source.java" } } """, [ ParseConditionTuple( type=ParseType.POSTCONDITION, caller="LSource;.source:()V", callee="leaf", callee_location=SourceLocation( line_no=1, begin_column=1, end_column=1, ), filename="Source.java", titos=[], leaves=[("TestSource", 0)], caller_port="result", callee_port="source", type_interval=None, features=[], annotations=[], ) ], ) # Node case. self.assertParsed( """ { "method": "LClass;.indirect_source:()V", "generations": [ { "callee": "LSource;.source:()LData;", "callee_port": "Return", "call_position": { "path": "Class.java", "line": 10, "start": 11, "end": 12 }, "distance": 1, "kind": "TestSource", "caller_port": "Return", "origins": ["LSource;.source:()V"], "local_positions": [ {"line": 13, "start": 14, "end": 15}, {"line": 16, "start": 17, "end": 18} ] } ], "position": { "line": 1, "path": "Class.java" } } """, [ ParseConditionTuple( type=ParseType.POSTCONDITION, caller="LClass;.indirect_source:()V", callee="LSource;.source:()LData;", callee_location=SourceLocation( line_no=10, begin_column=12, end_column=13, ), filename="Class.java", titos=[ SourceLocation(line_no=13, begin_column=15, end_column=16), SourceLocation(line_no=16, begin_column=18, end_column=19), ], leaves=[("TestSource", 1)], caller_port="result", callee_port="result", type_interval=None, features=[], annotations=[], ) ], ) # Test with a complex port. self.assertParsed( """ { "method": "LSource;.source:()V", "generations": [ { "kind": "TestSource", "caller_port": "Return.x.y", "origins": ["LSource;.source:()V"], "callee_port": "Leaf", "local_features": { "may_features": ["via-source"] } } ], "position": { "line": 1, "path": "Source.java" } } """, [ ParseConditionTuple( type=ParseType.POSTCONDITION, caller="LSource;.source:()V", callee="leaf", callee_location=SourceLocation( line_no=1, begin_column=1, end_column=1, ), filename="Source.java", titos=[], leaves=[("TestSource", 0)], caller_port="result.x.y", callee_port="source", type_interval=None, features=[ParseTraceFeature("via-source", [])], annotations=[], ) ], ) # Test with a parameter source. self.assertParsed( """ { "method": "LSource;.source:()V", "generations": [ { "kind": "TestSource", "callee_port": "Leaf", "call_position": { "path": "Source.java", "line": 2, "start": 3, "end": 4 }, "caller_port": "Return", "origins": ["LSource;.source:()V"] } ], "position": { "line": 1, "path": "Source.java" } } """, [ ParseConditionTuple( type=ParseType.POSTCONDITION, caller="LSource;.source:()V", callee="leaf", callee_location=SourceLocation( line_no=2, begin_column=4, end_column=5, ), filename="Source.java", titos=[], leaves=[("TestSource", 0)], caller_port="result", callee_port="source", type_interval=None, features=[], annotations=[], ) ], ) def testModelPreconditions(self) -> None: # Leaf case. self.assertParsed( """ { "method": "LSink;.sink:(LData;)V", "sinks": [ { "kind": "TestSink", "caller_port": "Argument(1)", "origins": ["LSink;.sink:(LData;)V"], "callee_port": "Leaf" } ], "position": { "line": 1, "path": "Sink.java" } } """, [ ParseConditionTuple( type=ParseType.PRECONDITION, caller="LSink;.sink:(LData;)V", callee="leaf", callee_location=SourceLocation( line_no=1, begin_column=1, end_column=1, ), filename="Sink.java", titos=[], leaves=[("TestSink", 0)], caller_port="argument(1)", callee_port="sink", type_interval=None, features=[], annotations=[], ) ], ) # Node case. self.assertParsed( """ { "method": "LClass;.indirect_sink:(LData;LData;)V", "sinks": [ { "callee": "LSink;.sink:(LData;)V", "callee_port": "Argument(1)", "call_position": { "path": "Class.java", "line": 10, "start": 11, "end": 12 }, "distance": 1, "kind": "TestSink", "origins": ["LSink;.sink:(LData;)V"], "local_positions": [ {"line": 13, "start": 14, "end": 15}, {"line": 16, "start": 17, "end": 18} ], "caller_port": "Argument(2)" } ], "position": { "line": 1, "path": "Class.java" } } """, [ ParseConditionTuple( type=ParseType.PRECONDITION, caller="LClass;.indirect_sink:(LData;LData;)V", callee="LSink;.sink:(LData;)V", callee_location=SourceLocation( line_no=10, begin_column=12, end_column=13, ), filename="Class.java", titos=[ SourceLocation(line_no=13, begin_column=15, end_column=16), SourceLocation(line_no=16, begin_column=18, end_column=19), ], leaves=[("TestSink", 1)], caller_port="argument(2)", callee_port="argument(1)", type_interval=None, features=[], annotations=[], ) ], ) # Test with a complex port. self.assertParsed( """ { "method": "LSink;.sink:(LData;)V", "sinks": [ { "kind": "TestSink", "caller_port": "Argument(1).x.y", "origins": ["LSink;.sink:(LData;)V"], "callee_port": "Leaf" } ], "position": { "line": 1, "path": "Sink.java" } } """, [ ParseConditionTuple( type=ParseType.PRECONDITION, caller="LSink;.sink:(LData;)V", callee="leaf", callee_location=SourceLocation( line_no=1, begin_column=1, end_column=1, ), filename="Sink.java", titos=[], leaves=[("TestSink", 0)], caller_port="argument(1).x.y", callee_port="sink", type_interval=None, features=[], annotations=[], ) ], ) # Test with a return sink. self.assertParsed( """ { "method": "LSink;.sink:(LData;)V", "sinks": [ { "kind": "TestSink", "callee_port": "Leaf", "call_position": { "path": "Sink.java", "line": 2, "start": 3, "end": 4 }, "origins": ["LSink;.sink:(LData;)V"], "caller_port": "Argument(2)", "local_features": { "may_features": ["via-sink"] } } ], "position": { "line": 1, "path": "Sink.java" } } """, [ ParseConditionTuple( type=ParseType.PRECONDITION, caller="LSink;.sink:(LData;)V", callee="leaf", callee_location=SourceLocation( line_no=2, begin_column=4, end_column=5, ), filename="Sink.java", titos=[], leaves=[("TestSink", 0)], caller_port="argument(2)", callee_port="sink", type_interval=None, features=[ParseTraceFeature("via-sink", [])], annotations=[], ) ], ) def testModelParameterTypeOverrides(self) -> None: self.assertParsed( """ { "method": { "name": "LSink;.sink:(LData;)V", "parameter_type_overrides": [ { "parameter": 0, "type": "LAnonymous$0;" }, { "parameter": 1, "type": "LAnonymous$1;" } ] }, "sinks": [ { "distance": 0, "kind": "TestSink", "caller_port": "Argument(1)", "origins": [{ "name": "LSink;.sink:(LData;)V", "parameter_type_overrides": [ { "parameter": 0, "type": "LAnonymous$0;" }, { "parameter": 1, "type": "LAnonymous$1;" } ] }], "callee_port": "Leaf" } ], "position": { "line": 1, "path": "Sink.java" } } """, [ ParseConditionTuple( type=ParseType.PRECONDITION, caller="LSink;.sink:(LData;)V[0: LAnonymous$0;, 1: LAnonymous$1;]", callee="leaf", callee_location=SourceLocation( line_no=1, begin_column=1, end_column=1, ), filename="Sink.java", titos=[], leaves=[("TestSink", 0)], caller_port="argument(1)", callee_port="sink", type_interval=None, features=[], annotations=[], ) ], ) def testModelWithConnectionPointSink(self) -> None: self.assertParsed( """ { "method": { "name": "Lcom/facebook/graphql/calls/SomeMutation;.setSomeField:(LData;)V" }, "sinks": [ { "distance": 0, "kind": "TestSink", "caller_port": "Argument(1)", "callee_port": "Anchor.Argument(0)", "canonical_names": [ { "instantiated": "SomeMutation:some_field" } ] } ], "position": { "line": 1, "path": "SomeMutation.java" } } """, [ ParseConditionTuple( type=ParseType.PRECONDITION, caller="Lcom/facebook/graphql/calls/SomeMutation;.setSomeField:(LData;)V", callee="SomeMutation:some_field", callee_location=SourceLocation( line_no=1, begin_column=1, end_column=1, ), filename="SomeMutation.java", titos=[], leaves=[("TestSink", 0)], caller_port="argument(1)", callee_port="anchor:formal(0)", type_interval=None, features=[], annotations=[], ) ], ) self.assertParsed( """ { "method": { "name": "Lcom/facebook/graphql/calls/SomeMutation;.setSomeField:(LData;)V" }, "sinks": [ { "distance": 0, "kind": "TestSink", "caller_port": "Argument(1)", "callee_port": "Anchor.Argument(-1)", "canonical_names": [ { "instantiated": "SomeMutation:some_field" } ] } ], "position": { "line": 1, "path": "SomeMutation.java" } } """, [ ParseConditionTuple( type=ParseType.PRECONDITION, caller="Lcom/facebook/graphql/calls/SomeMutation;.setSomeField:(LData;)V", callee="SomeMutation:some_field", callee_location=SourceLocation( line_no=1, begin_column=1, end_column=1, ), filename="SomeMutation.java", titos=[], leaves=[("TestSink", 0)], caller_port="argument(1)", callee_port="anchor:formal(-1)", type_interval=None, features=[], annotations=[], ) ], ) self.assertParsed( """ { "method": { "name": "Lcom/facebook/graphql/calls/SomeMutation;.setSomeField:(LData;)V" }, "sinks": [ { "distance": 0, "kind": "TestSink", "caller_port": "Argument(1)", "callee_port": "Anchor", "canonical_names": [ { "template": "%programmatic_leaf_name%__%source_via_type_of%" } ] } ], "position": { "line": 1, "path": "SomeMutation.java" } } """, [ ParseConditionTuple( type=ParseType.PRECONDITION, caller="Lcom/facebook/graphql/calls/SomeMutation;.setSomeField:(LData;)V", callee="Lcom/facebook/graphql/calls/SomeMutation;.setSomeField:(LData;)V__%source_via_type_of%", callee_location=SourceLocation( line_no=1, begin_column=1, end_column=1, ), filename="SomeMutation.java", titos=[], leaves=[("TestSink", 0)], caller_port="argument(1)", callee_port="anchor:formal(1)", type_interval=None, features=[], annotations=[], ) ], ) def testModelWithConnectionPointSource(self) -> None: self.assertParsed( """ { "method": { "name": "Lcom/facebook/analytics/structuredlogger/events/TestEvent;.setFieldA:(I)V" }, "generations": [ { "caller": "Lcom/facebook/analytics/structuredlogger/events/TestEvent;.setFieldA:(I)V", "kind": "TestSource", "caller_port": "Return", "origins": [ "Lcom/facebook/analytics/structuredlogger/events/TestEvent;.setFieldA:(I)V" ], "callee_port": "Anchor.Return", "canonical_names": [ { "instantiated": "TestEvent:field_a" } ] } ], "position": { "line": 1, "path": "TestEvent.java" } } """, [ ParseConditionTuple( type=ParseType.POSTCONDITION, caller="Lcom/facebook/analytics/structuredlogger/events/TestEvent;.setFieldA:(I)V", callee="TestEvent:field_a", callee_location=SourceLocation( line_no=1, begin_column=1, end_column=1, ), filename="TestEvent.java", titos=[], leaves=[("TestSource", 0)], caller_port="result", callee_port="anchor:result", type_interval=None, features=[], annotations=[], ) ], ) self.assertParsed( """ { "method": { "name": "Lcom/facebook/analytics/structuredlogger/events/TestEvent;.setFieldA:(I)V" }, "generations": [ { "caller": "Lcom/facebook/analytics/structuredlogger/events/TestEvent;.setFieldA:(I)V", "kind": "TestSource", "caller_port": "Return", "origins": [ "Lcom/facebook/analytics/structuredlogger/events/TestEvent;.setFieldA:(I)V" ], "callee_port": "Producer.1234.Argument(2)", "canonical_names": [ { "instantiated": "LClass;.method:(I)V" }] } ], "position": { "line": 1, "path": "TestEvent.java" } } """, [ ParseConditionTuple( type=ParseType.POSTCONDITION, caller="Lcom/facebook/analytics/structuredlogger/events/TestEvent;.setFieldA:(I)V", callee="LClass;.method:(I)V", callee_location=SourceLocation( line_no=1, begin_column=1, end_column=1, ), filename="TestEvent.java", titos=[], leaves=[("TestSource", 0)], caller_port="result", callee_port="producer:1234:formal(2)", type_interval=None, features=[], annotations=[], ) ], ) def testNormalizedPath(self) -> None: self.assertParsed( """ { "method": "LClass;.indirect_sink:(LData;LData;)V", "sinks": [ { "callee": "Lcom/facebook/Sink$4;.sink:(LData;)V", "callee_port": "Argument(1)", "call_position": { "path": "unknown", "line": 2, "start": 3, "end": 4 }, "distance": 1, "kind": "TestSink", "origins": ["Lcom/facebook/Sink$4;.sink:(LData;)V"], "caller_port": "Argument(2)" } ], "position": { "line": 1, "path": "unknown" } } """, [ ParseConditionTuple( type=ParseType.PRECONDITION, caller="LClass;.indirect_sink:(LData;LData;)V", callee="Lcom/facebook/Sink$4;.sink:(LData;)V", callee_location=SourceLocation( line_no=2, begin_column=4, end_column=5, ), filename="Class", titos=[], leaves=[("TestSink", 1)], caller_port="argument(2)", callee_port="argument(1)", type_interval=None, features=[], annotations=[], ) ], )
from glob import glob import matplotlib.pyplot as plt from tqdm import tqdm import numpy as np import cv2 class DataGenerator(): def __init__(self): self.dataset_name = "Cars" self.preview_elements = 25 self.data_path = "./data" self.sourcedata_path = f"./datasets/{self.dataset_name}/" self.out_resolutions = [4, 8, 16, 32, 64] self.dataset = self.read_data() pbar = tqdm(self.out_resolutions, desc= "Resoluciones") for i in pbar: self.process_data(i) # Carga de imagen individual def read_img(self, img_path): img = cv2.imread(img_path) img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) return img # Modificacion de la resolucion def resize_img(self, img, resolution): img2 = cv2.resize(img, (resolution, resolution)) return img2 # Carga de todas las imagenes def read_data(self): path = glob(f"{self.sourcedata_path}*.png") imgs = [] for img_path in path: img = self.read_img(img_path) imgs.append(img) return imgs # Guardar archivo resultante en npz def save_data(self, imgs, out_resolution): path = f"{self.data_path}/{self.dataset_name}_{out_resolution}.npz" np.savez_compressed(path, imgs) # Generar vista previa del resultado def generate_preview(self, imgs, out_resolution): row_elements = int(np.sqrt(self.preview_elements)) elements = np.random.randint(imgs.shape[0], size=self.preview_elements) fig, axs = plt.subplots(row_elements, row_elements) cnt = 0 for i in range(row_elements): for j in range(row_elements): axs[i, j].imshow(imgs[cnt, :, :, :]) axs[i, j].axis('off') cnt += 1 path = f"{self.data_path}/{self.dataset_name}_{out_resolution}.png" fig.savefig(path) plt.close() # Orquestador def process_data(self, out_resolution): imgs_down = [] for img in self.dataset: img_r = self.resize_img(img, out_resolution) imgs_down.append(img_r) imd = np.array(imgs_down) self.generate_preview(imd, out_resolution) self.save_data(imd, out_resolution)
import random from random import randint print('-=-'*20) print('VAMOS JOGAR PAR OU IMPAR') print('-=-'*20) v = 0 while True: jogador = int(input('Digite um numero: ')) computador = random.randint(0, 10) total = jogador + computador tipo = ' ' while tipo not in 'PI': tipo = str(input('Par ou Impar? [P/I] ')).strip().upper()[0] print(f'Você jogo {jogador} e o computador jogou {computador}. E um total de {total}', end='') print('DEU PAR' if total % 2 == 0 else ' DEU IMPAR') if tipo == 'P': if total % 2 == 0: print('você VENCEU!!') v += 1 else: print('Você PERDEU!!') break elif tipo == 'I': if total % 2 == 1: print('Voce VENCEU!!') v += 1 else: print('Você PERDEU!!') break print('Vamos jogar novamente...') print(f'GAME OVER! você venceu {v} vezes!')
import numpy as np import re def strings_in_line(line, strings): evaluation = np.any([string in line for string in strings]) return(evaluation) def end_on_same_line(line): evaluation = True return(evaluation) def converged_line_list_transform(line_list, **kwargs): regex = '\((.*)[<|>]' str_list = re.findall(regex, line_list[0])[0].strip().split() float_list = [np.float(i) for i in str_list] return(float_list)
""" @Author: huuuuusy @GitHub: https://github.com/huuuuusy 系统: Ubuntu 18.04 IDE: VS Code 1.39 工具: python == 3.7.3 """ """ 思路: 动态规划 结果: 执行用时 : 64 ms, 在所有 Python3 提交中击败了76.50%的用户 内存消耗 : 13.8 MB, 在所有 Python3 提交中击败了5.19%的用户 """ class Solution: def uniquePathsWithObstacles(self, obstacleGrid): if not obstacleGrid or not obstacleGrid[0]: return 0 row = len(obstacleGrid) col = len(obstacleGrid[0]) dp = [[0]*col for _ in range(row)] # 首位置 dp[0][0] = 1 if obstacleGrid[0][0] != 1 else 0 if dp[0][0] == 0: return 0 # 如果出发点有障碍物,则没有道路 # 第一行 for j in range(1, col): if obstacleGrid[0][j] != 1: dp[0][j] = dp[0][j-1] # 第一列 for i in range(1, row): if obstacleGrid[i][0] != 1: dp[i][0] = dp[i-1][0] for i in range(1, row): for j in range(1, col): if obstacleGrid[i][j] != 1: dp[i][j] = dp[i-1][j] + dp[i][j-1] return dp[-1][-1] if __name__ == "__main__": obstacleGrid = [[0,0,0],[0,1,0],[0,0,0]] answer = Solution().uniquePathsWithObstacles(obstacleGrid) print(answer)
import pathlib import os import sys import argparse import urllib from typing import * from os.path import join, isfile, isdir sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..')) import helper here = pathlib.Path(__file__).parent.absolute() def download_raw_expression_matrices( datasets: Dict[str, Tuple[str, str]]=None, upload: bool=False, unzip: bool=True, sep='\t', datapath: str=None, ) -> None: """Downloads all raw datasets and label sets from cells.ucsc.edu, and then unzips them locally :param datasets: uses helper.DATA_FILES_AND_URLS_DICT if None. Dictionary of datasets such that each key maps to a tuple containing the expression matrix csv url in the first element, and the label csv url in the second url, defaults to None :type datasets: Dict[str, Tuple[str, str]], optional :param upload: Whether or not to also upload data to the braingeneersdev S3 bucket , defaults to False :type upload: bool, optional :param unzip: Whether to also unzip expression matrix, defaults to False :type unzip: bool, optional :param datapath: Path to folder to download data to. Otherwise, defaults to data/ :type datapath: str, optional """ # {local file name: [dataset url, labelset url]} datasets = (datasets if datasets is not None else helper.DATA_FILES_AND_URLS_DICT) data_path = (datapath if datapath is not None else join(here, '..', '..', '..', 'data', 'raw')) if not isdir(data_path): print(f'Generating data path {data_path}') os.makedirs(data_path, exist_ok=True) for file, links in datasets.items(): labelfile = f'labels_{file}' datalink, labellink = links datafile_path = join(data_path, file) labelfile_path = join(data_path, labelfile) # First, make the required folders if they do not exist for dir in 'raw': os.makedirs(join(data_path, dir), exist_ok=True) # Download and unzip data file if it doesn't exist if not isfile(datafile_path): print(f'Downloading zipped data for {file}') urllib.request.urlretrieve( datalink, f'{datafile_path}.gz', ) if unzip: print(f'Unzipping {file}') os.system( f'zcat < {datafile_path}.gz > {datafile_path}' ) print(f'Deleting compressed data') os.system( f'rm -rf {datafile_path}.gz' ) if not isfile(labelfile_path): urllib.request.urlretrieve( labellink, labelfile_path, ) # If upload boolean is passed, also upload these files to the braingeneersdev s3 bucket if upload: print(f'Uploading {file} and {labelfile} to braingeneersdev S3 bucket') helper.upload( datafile_path, join('jlehrer', 'expression_data', 'raw', file) ) def download_labels( datasets: Dict[str, Tuple[str, str]]=None, upload: bool=False, datapath: str=None, ) -> None: """Downloads raw label files from given Dictionary :param datasets: Dictionary containing the datafile name as the key, and a tuple of the data download url and label download url as the value, defaults to None :type datasets: Dict[str, Tuple[str, str]], optional :param upload: Whether to upload data to S3, defaults to False :type upload: bool, optional :param datapath: Path to download data, defaults to None :type datapath: str, optional """ datasets = helper.DATA_FILES_AND_URLS_DICT data_path = (datapath if datapath is not None else os.path.join(here, '..', '..', '..', 'data', 'raw', 'labels')) if not os.path.isdir(data_path): os.makedirs(data_path, exist_ok=True) for labelfile, (_, labellink) in datasets.items(): labelfile_path = os.path.join(data_path, f"{labelfile[:-4]}_labels.tsv") # Download label file if it doesn't exist if not os.path.isfile(labelfile_path): print(f'Downloading label for {labelfile}') urllib.request.urlretrieve( labellink, labelfile_path, ) else: print(f'{labelfile} exists, continuing...') if upload: helper.upload( labelfile_path, os.path.join('jlehrer', 'expression_data', 'raw', f'{labelfile[:-4]}_labels.tsv') ) if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument( '--data', required=False, help="If passed, download raw expression matrices", action='store_true' ) parser.add_argument( '--labels', required=False, help="If passed, download raw labelfiles", action='store_true' ) parser.add_argument( '--no-unzip', required=False, help="If passed, expression matrices won't be unzipped", action='store_false' ) parser.add_argument( '--s3-upload', required=False, action='store_true', help='If passed, also upload data to braingeneersdev/jlehrer/expression_data/raw, if the method accepts this option' ) args = parser.parse_args() data, labels = args.data, args.labels upload = args.data no_unzip = args.no_unzip upload = args.s3_upload # if not data and no_unzip: # raise ValueError("--no-unzip option invalid for label set download, since label sets are not compressed") if data: download_raw_expression_matrices( upload=upload, unzip=no_unzip ) if labels: download_labels( upload=upload, )
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019-04-19 21:16 # @Author : Mayandev # @Site : https://github.com/Mayandev/ # @File : view_base.py # @Software: PyCharm from django.views.generic import View from .models import Movie from django.http import HttpResponse import json class MovieList(View): def get(self, request): # 通过django 的 view 实现视频列表页 json_list = [] # 获取电影列表 movies = Movie.objects.all() for movie in movies: json_dic = {} # 获取电影每个字段 json_dic['title'] = movie.title json_dic['id'] = movie.id json_list.append(json_dic) return HttpResponse(json.dumps(json_list), content_type='application/json', charset='utf-8')
from elasticsearch import Elasticsearch import sys indir="D:/ml-data/movielens/ml-1m" movieId2name = {} movieId2name[0] = "NaN" for line in open(indir+"/movies.dat", 'r', encoding='iso-8859-15'): id, name, _ = line.strip().split("::") movieId2name[int(id)] = name userId = int(sys.argv[1]) es = Elasticsearch() movie = es.get(index="users", id=userId) model_factor = movie['_source']['model_factor'] rate_history = movie['_source']['rate_history'] def vector_query(query_vec, vector_field, q="*", cosine=False): if cosine: score_fn = "doc['{v}'].size() == 0 ? 0 : cosineSimilarity(params.vector, '{v}') + 1.0" else: score_fn = "doc['{v}'].size() == 0 ? 0 : sigmoid(1, Math.E, -dotProduct(params.vector, '{v}'))" score_fn = score_fn.format(v=vector_field, fn=score_fn) return { "query": { "script_score": { "query" : { "bool": { "must_not": { "terms": { "_id": rate_history } } } }, "script": { "source": score_fn, "params": { "vector": query_vec } } } } } q = vector_query(model_factor, "model_factor", q="*", cosine=False) print(q) print("") results = es.search(index="movies", body=q) print("took: "+str(results['took'])+"ms") print("") movie_list = results['hits']['hits'] for m in movie_list: print(m['_source']['movieName']) es.close()
def fourier_transformLP(im): """ Short Summary ------------- This function uses Fourier Transformation to transform our image information gray scaled pixels into frequencies and do further process Extended Summary ------------- This function computes the Fourier transformation using the following steps: 1 - Compute the 2-dimensional Fast Fourier Transform 2 - Shift the zero-frequency component to the center of the spectrum 3 - Inverse of Step 2. Shift the zero-frequency component back to original location 4 - Inverse of Step 1. Compute the 2-dimensional inverse Fast Fourier Transform Parameters ---------- im = image to which the foureir transform needs to be applied Returns -------- The function returns a grey scaled image after the inverse Fourier transformation process. Examples -------- Example 1: fourier_transform(im) - In this case the fourier transform is applied using a gaussian low pass filter with the value of constant as 100 """ def fourier_transformLP(im): fim = np.fft.fft2(im) # Perform transform fim2 = np.fft.fftshift(fim) # Center fim3 = fim2 * gaussianLP(100, im.shape) # Multiply by filter function fim4 = np.fft.ifftshift(fim3) # Un-center imLP = np.real(np.fft.ifft2(fim4)) return imLP # Perform inverse transform
import subprocess import re from os.path import expanduser import os import shutil import click from dotenv import load_dotenv from utils import util, hiss from utils.kube import KubeHelper DEFAULT_CONFIG_PATH = expanduser('~/.akachain/akc-mamba/mamba/config/.env') DEFAULT_SCRIPT_PATH = expanduser('~/.akachain/akc-mamba/mamba/scripts') DEFAULT_TEMPLATE_PATH = expanduser('~/.akachain/akc-mamba/mamba/template') DEFAULT_OTHER_PATH = expanduser('~/.akachain/akc-mamba/mamba/k8s/') def get_template_env(): return util.get_package_resource('config', 'operator.env-template') def detect_deployed_efs_server(k8s_type): hiss.echo('Looking for deployed efs server...') efs_server = '' if k8s_type == 'eks': # Find efs-efs-provisioner pod pods = KubeHelper().find_pod(namespace="default", keyword="efs-efs-provisioner") if not pods: return efs_server efs_server_cmd = 'kubectl describe deployments -n default efs-efs-provisioner | grep Server' detected_efs_server = subprocess.check_output( efs_server_cmd, shell=True) if detected_efs_server: efs_server = detected_efs_server.decode().split(':')[1].strip() elif k8s_type == 'minikube': efs_server_cmd = 'kubectl get svc -n default | grep nfs-server | awk \'{print $3}\'' detected_efs_server = subprocess.check_output( efs_server_cmd, shell=True) if detected_efs_server: efs_server = detected_efs_server.decode().strip() return efs_server def detect_deployed_efs_path(): hiss.echo('Looking for deployed efs path...') efs_path = '' efs_path_cmd = 'kubectl get pvc | grep efs | awk \'{print $3}\'' detected_efs_path = subprocess.check_output(efs_path_cmd, shell=True) if detected_efs_path: efs_path = detected_efs_path.decode().strip() return efs_path def detect_deployed_efs_pod(): hiss.echo('Looking for deployed efs pod...') efs_pod = '' efs_pod_cmd = 'kubectl get pod -n default | grep test-efs | awk \'{print $1}\'' detected_efs_pod = subprocess.check_output(efs_pod_cmd, shell=True) if detected_efs_pod: efs_pod = detected_efs_pod.decode().strip() return efs_pod def extract_cfg(mamba_config, dev_mode): hiss.echo('Extract config to default config path: %s ' % DEFAULT_CONFIG_PATH) dotenv_path = get_template_env() if not os.path.isdir(mamba_config): os.makedirs(mamba_config) shutil.copy(dotenv_path, DEFAULT_CONFIG_PATH) load_dotenv(DEFAULT_CONFIG_PATH) default_cluster_name = os.getenv('EKS_CLUSTER_NAME') default_k8s_type = os.getenv('K8S_TYPE') deployment_mode = os.getenv('DEPLOYMENT_ENV') # Input cluster_name = input( f'Cluster name ({default_cluster_name}): ') or default_cluster_name k8s_type = input( f'Kubenetes type - support eks or minikube ({default_k8s_type}): ') or default_k8s_type if dev_mode: deployment_mode = 'develop' # Detect current environment setting # EFS_SERVER efs_server = detect_deployed_efs_server(k8s_type) # EFS_SERVER_ID efs_server_id = efs_server.split('.')[0] print('efs_server: ', efs_server) # EFS_PATH efs_path = detect_deployed_efs_path() # EFS_POD efs_pod = detect_deployed_efs_pod() if not efs_pod and k8s_type == 'eks': retry = 3 while retry > 0: efs_server = input('EFS server (*):') if efs_server: break retry -= 1 if not efs_server: hiss.hiss('Must specify EFS_SERVER!') exit() with open(DEFAULT_CONFIG_PATH, "r") as sources: lines = sources.readlines() with open(DEFAULT_CONFIG_PATH, "w") as sources: for line in lines: newline = re.sub(r'EKS_CLUSTER_NAME=.*', f'EKS_CLUSTER_NAME=\"{cluster_name}\"', line) newline = re.sub( r'K8S_TYPE=.*', f'K8S_TYPE=\"{k8s_type}\"', newline) if efs_server: newline = re.sub(r'EFS_SERVER=.*', f'EFS_SERVER=\"{efs_server}\"', newline) if efs_server_id: newline = re.sub(r'EFS_SERVER_ID=.*', f'EFS_SERVER_ID=\"{efs_server_id}\"', newline) if efs_path: newline = re.sub( r'EFS_PATH=.*', f'EFS_PATH=\"efs-{efs_path}\"', newline) if efs_pod: newline = re.sub( r'EFS_POD=.*', f'EFS_POD=\"{efs_pod}\"', newline) newline = re.sub( r'DEPLOYMENT_ENV=.*', f'DEPLOYMENT_ENV=\"{deployment_mode}\"', newline) sources.write(newline) hiss.rattle("See more config in %s" % DEFAULT_CONFIG_PATH) def extract(force_all, force_config, force_script, force_template, force_other, dev_mode): # Extract config mamba_config = os.path.dirname(DEFAULT_CONFIG_PATH) if not os.path.isdir(mamba_config) or force_all or force_config: extract_cfg(mamba_config, dev_mode) # Extract scripts if not os.path.isdir(DEFAULT_SCRIPT_PATH) or force_all or force_script: hiss.echo('Extract scripts to default scripts path: %s ' % DEFAULT_SCRIPT_PATH) script_path = util.get_package_resource('', 'scripts') if os.path.isdir(DEFAULT_SCRIPT_PATH): shutil.rmtree(DEFAULT_SCRIPT_PATH) shutil.copytree(script_path, DEFAULT_SCRIPT_PATH) # Extract template if not os.path.isdir(DEFAULT_TEMPLATE_PATH) or force_all or force_template: hiss.echo('Extract template to default template path: %s ' % DEFAULT_TEMPLATE_PATH) template_path = util.get_package_resource('', 'template') if os.path.isdir(DEFAULT_TEMPLATE_PATH): shutil.rmtree(DEFAULT_TEMPLATE_PATH) shutil.copytree(template_path, DEFAULT_TEMPLATE_PATH) # Extract other if not os.path.isdir(DEFAULT_OTHER_PATH) or force_all or force_other: hiss.echo('Extract other to default other path: %s ' % DEFAULT_OTHER_PATH) other_path = util.get_package_resource('k8s', '') if os.path.isdir(DEFAULT_OTHER_PATH): shutil.rmtree(DEFAULT_OTHER_PATH) shutil.copytree(other_path, DEFAULT_OTHER_PATH) @click.command('init', short_help="Extract binary config") @click.option('-f', '--force', is_flag=True, help="Force extract all") @click.option('-c', '--config', is_flag=True, help="Force extract config") @click.option('-s', '--script', is_flag=True, help="Force extract script") @click.option('-t', '--template', is_flag=True, help="Force extract template") @click.option('-o', '--other', is_flag=True, help="Force extract other") @click.option('--dev', is_flag=True, help="Develop mode") def extract_config(force, config, script, template, other, dev): extract(force, config, script, template, other, dev)
import autograd.numpy as np from scipy.stats import pearsonr from surpyval.nonparametric import plotting_positions from scipy.optimize import minimize def mpp(model): """ MPP: Method of Probability Plotting This is the classic probability plotting paper method. This method creates the plotting points, transforms it to Weibull scale and then fits the line of best fit. """ dist = model.dist x, c, n, t = (model.data['x'], model.data['c'], model.data['n'], model.data['t']) heuristic = model.fitting_info['heuristic'] on_d_is_0 = model.fitting_info['on_d_is_0'] offset = model.offset rr = model.fitting_info['rr'] turnbull_estimator = model.fitting_info['turnbull_estimator'] if rr not in ['x', 'y']: raise ValueError("rr must be either 'x' or 'y'") if hasattr(dist, 'mpp'): return dist.mpp(x, c, n, heuristic=heuristic, rr=rr, on_d_is_0=on_d_is_0, offset=offset) x_, r, d, F = plotting_positions(x=x, c=c, n=n, t=t, heuristic=heuristic, turnbull_estimator=turnbull_estimator) x_mask = np.isfinite(x_) x_ = x_[x_mask] F = F[x_mask] d = d[x_mask] r = r[x_mask] if not on_d_is_0: x_ = x_[d > 0] y_ = F[d > 0] else: y_ = F mask = (y_ != 0) & (y_ != 1) y_pp = y_[mask] x_pp = x_[mask] y_pp = dist.mpp_y_transform(y_pp) if offset: # I think this should be x[c != 1] and not in xl x_min = np.min(x_pp) # fun = lambda gamma : -pearsonr(np.log(x - gamma), y_)[0] def fun(gamma): g = x_min - np.exp(-gamma) out = -pearsonr(dist.mpp_x_transform(x_pp - g), y_pp)[0] return out res = minimize(fun, 0.) gamma = x_min - np.exp(-res.x[0]) x_pp = x_pp - gamma x_pp = dist.mpp_x_transform(x_pp) if rr == 'y': params = np.polyfit(x_pp, y_pp, 1) elif rr == 'x': params = np.polyfit(y_pp, x_pp, 1) params = dist.unpack_rr(params, rr) results = {} if offset: results['gamma'] = gamma results['params'] = params results['rr'] = rr return results
from random import randint import pygame from pygame.locals import * def gcd(a, b): if b > a: a, b = b, a if a % b == 0: return b else: return gcd(b, a % b) def pi_aprox(n, co_primo, total): c_p = co_primo t = total for _ in range(n): if gcd(randint(1, 9999), randint(1, 9999)) == 1: c_p += 1 t += 1 return (6 * t / c_p) ** (0.5), c_p, t def draw(n, fps, t): txt = font.render(f"{n:.6f}", True, white, black) txt_rect = txt.get_rect() txt_rect.center = (window_length // 2, window_height // 2 + 20) screen.blit(txt, txt_rect) txt2 = font2.render(f"FPS: {fps:.2f}", True, white, black) txt2_rect = txt2.get_rect() txt2_rect.topleft = (10, 10) screen.blit(txt2, txt2_rect) t /= 1000000 txt3 = font2.render(f"Total: {t:.1f} million pairs", True, white, black) txt3_rect = txt3.get_rect() txt3_rect.topleft = (10, 40) screen.blit(txt3, txt3_rect) playing = True clock = pygame.time.Clock() # Colors black = (0, 0, 0) white = (255, 255, 255) gray = (50, 50, 50) # Control variables window_height = 300 window_length = 500 gride_size = 20 gride = (int(window_length / gride_size), int(window_height / gride_size)) pygame.init() screen = pygame.display.set_mode((window_length, window_height)) pygame.display.set_caption('Pi') try: font = pygame.font.Font('RobotoMono-Bold.ttf', 100) font2 = pygame.font.Font('RobotoMono-Bold.ttf', 20) except FileNotFoundError: font = pygame.font.Font(None, 100) font2 = pygame.font.Font(None, 20) co_primo = 0 total = 0 while playing: clock.tick(5) screen.fill(black) for event in pygame.event.get(): if event.type == QUIT: playing = False if event.type == KEYDOWN: if event.key == 32: pass pi, co_primo, total = pi_aprox(40000, co_primo, total) draw(pi, clock.get_fps(), total) pygame.display.update() pygame.quit() exit()
from setuptools import setup, find_packages setup( name='itkimage2dicomseg', version='0.0.3', packages=find_packages(), long_description=open('README.md', "r", encoding="utf-8").read(), long_description_content_type="text/markdown", url='https://gitlab.chudequebec.ca/MaxenceLarose/itkimage2dicomseg', license="Apache License 2.0", author='Maxence Larose', author_email="maxence.larose.1@ulaval.ca", description="Simplify the conversion of segmentation in commonly used research file formats like NRRD and NIfTI " "into the standardized DICOM-SEG format. ", python_requires=">=3.6", classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ], install_requires=[ "grpm-uid @ git+https://gitlab.chudequebec.ca/gacou54/grpm_uid.git", "pydicom", "pydicom-seg", ] )
# Copyright 2017, OpenCensus Authors # # 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 datetime import unittest from opencensus.common import utils from opencensus.trace import link, span_context from opencensus.trace import span_data as span_data_module from opencensus.trace import stack_trace, status, time_event class TestSpanData(unittest.TestCase): def test_create_span_data(self): span_data_module.SpanData( name='root', context=None, span_id='6e0c63257de34c92', parent_span_id='6e0c63257de34c93', attributes={'key1': 'value1'}, start_time=utils.to_iso_str(), end_time=utils.to_iso_str(), stack_trace=None, links=None, status=None, annotations=None, message_events=None, same_process_as_parent_span=None, child_span_count=None, span_kind=0, ) def test_span_data_immutable(self): span_data = span_data_module.SpanData( name='root', context=None, span_id='6e0c63257de34c92', parent_span_id='6e0c63257de34c93', attributes={'key1': 'value1'}, start_time=utils.to_iso_str(), end_time=utils.to_iso_str(), stack_trace=None, links=None, status=None, annotations=None, message_events=None, same_process_as_parent_span=None, child_span_count=None, span_kind=0, ) with self.assertRaises(AttributeError): span_data.name = 'child' with self.assertRaises(AttributeError): span_data.new_attr = 'a' def test_format_legacy_trace_json(self): trace_id = '2dd43a1d6b2549c6bc2a1a54c2fc0b05' span_data = span_data_module.SpanData( name='root', context=span_context.SpanContext( trace_id=trace_id, span_id='6e0c63257de34c92' ), span_id='6e0c63257de34c92', parent_span_id='6e0c63257de34c93', attributes={'key1': 'value1'}, start_time=utils.to_iso_str(), end_time=utils.to_iso_str(), stack_trace=stack_trace.StackTrace(stack_trace_hash_id='111'), links=[link.Link('1111', span_id='6e0c63257de34c92')], status=status.Status(code=0, message='pok'), annotations=[ time_event.Annotation( timestamp=datetime.datetime(1970, 1, 1), description='description' ) ], message_events=[ time_event.MessageEvent( timestamp=datetime.datetime(1970, 1, 1), id=0, ) ], same_process_as_parent_span=False, child_span_count=0, span_kind=0, ) trace_json = span_data_module.format_legacy_trace_json([span_data]) self.assertEqual(trace_json.get('traceId'), trace_id) self.assertEqual(len(trace_json.get('spans')), 1)
from syned.storage_ring.magnetic_structure import MagneticStructure from vinyl_srw.srwlib import array, SRWLMagFldC from wofrysrw.srw_object import SRWObject class SRWMagneticStructureDecorator(): def get_SRWMagneticStructure(self): raise NotImplementedError("this method should be implented in subclasses") def get_SRWLMagFldC(self): return SRWLMagFldC(_arMagFld=[self.get_SRWMagneticStructure()], _arXc=array('d', [self.horizontal_central_position]), _arYc=array('d', [self.vertical_central_position]), _arZc=array('d', [self.longitudinal_central_position])) class SRWMagneticStructure(SRWMagneticStructureDecorator, SRWObject): def __init__(self, horizontal_central_position = 0.0, vertical_central_position = 0.0, longitudinal_central_position = 0.0): super().__init__() self.horizontal_central_position = horizontal_central_position self.vertical_central_position = vertical_central_position self.longitudinal_central_position = longitudinal_central_position def to_python_code(self, data=None): text_code = self.to_python_code_aux() text_code += "magnetic_field_container = SRWLMagFldC(_arMagFld=[magnetic_structure], " + "\n" text_code += " _arXc=array('d', [" + str(self.horizontal_central_position) + "]), " + "\n" text_code += " _arYc=array('d', [" + str(self.vertical_central_position) + "]), " + "\n" text_code += " _arZc=array('d', [" + str(self.longitudinal_central_position) + "]))" + "\n" return text_code def to_python_code_aux(self): raise NotImplementedError()
# Copyright 2004-2005 Grant T. Olson. # See license.txt for terms. import unittest from pyasm.x86disasm import x86Block,x86Disassembler """ We could probably write a more proper unittest, but at this point the output isn't perfect. I'm happy if it runs without crashing. Here is the output for a release build of hello world from dumpbin: _main: 00000000: 55 push ebp 00000001: 8B EC mov ebp,esp 00000003: 83 EC 40 sub esp,40h 00000006: 53 push ebx 00000007: 56 push esi 00000008: 57 push edi 00000009: 8D 7D C0 lea edi,[ebp-40h] 0000000C: B9 10 00 00 00 mov ecx,10h 00000011: B8 CC CC CC CC mov eax,0CCCCCCCCh 00000016: F3 AB rep stos dword ptr [edi] 00000018: 68 00 00 00 00 push offset _main 0000001D: E8 00 00 00 00 call 00000022 00000022: 83 C4 04 add esp,4 00000025: 33 C0 xor eax,eax 00000027: 5F pop edi 00000028: 5E pop esi 00000029: 5B pop ebx 0000002A: 83 C4 40 add esp,40h 0000002D: 3B EC cmp ebp,esp 0000002F: E8 00 00 00 00 call 00000034 00000034: 8B E5 mov esp,ebp 00000036: 5D pop ebp 00000037: C3 ret """ class test_x86disasm(unittest.TestCase): def test_release_hello_world(self): code = x86Block('h\x00\x00\x00\x00\xe8\x00\x00\x00\x00\x83\xc4\x043\xc0\xc3') dis = x86Disassembler(code) #dis.disasm() def test_debug_hello_world(self): code = x86Block('U\x8b\xec\x83\xec@SVW\x8d}\xc0\xb9\x10\x00\x00\x00\xb8\xcc\xcc\xcc\xcc\xf3\xabh\x00\x00\x00\x00\xe8\x00\x00\x00\x00\x83\xc4\x043\xc0_^[\x83\xc4@;\xec\xe8\x00\x00\x00\x00\x8b\xe5]\xc3') dis = x86Disassembler(code) #dis.disasm() if __name__ == '__main__': unittest.main()
from django.apps import AppConfig class DefaultConfig(AppConfig): name = '{{cookiecutter.project_name}}.{{cookiecutter.django_app}}'
#!/usr/bin/env python def check(n): num = n while num > 0: if (num % 10) not in xrange(3): return False num //= 10 return True def f(n): num = n while not check(num): num += n return num if __name__ == '__main__': print sum((f(n)/n for n in xrange(1,10001)))
#!/usr/bin/python #coding:utf-8 import mybaselib import logging import jieba import jieba.analyse import numpy as np import csv import sys import stat import os reload(sys) sys.setdefaultencoding('utf-8') logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) def walktree(dirname, callback, userdata): for f in os.listdir(dirname): pathname = os.path.join(dirname, f) mode = os.stat(pathname).st_mode if stat.S_ISDIR(mode): pass # It's a directory, recurse into it #walktree(pathname, callback) elif stat.S_ISREG(mode): # It's a file, call the callback function callback(pathname, userdata) else: # Unknown file type, print a message logger.error('Skipping %s', pathname) def cutwords(filename, userdata): if '.txt' != filename[-4:]: return logger.debug('start process file:%s', filename) wf = open(userdata['output'], 'a') with open(filename, 'rb') as rf: while True: line = rf.readline() if line is None or len(line) == 0: break; row = mybaselib.Row(line) sentence = row.GetSentence() #切词 cut_list = jieba.lcut(sentence, cut_all = False) wf.write(' '.join(cut_list) + '\n') wf.flush() wf.close() if __name__ == '__main__': #加载自定义词典 jieba.load_userdict('./data/userdict.data') sentence = '该类会将文本中的词语转换为词频矩阵' sentence = '春川辣炒鸡排外表是古典的吗?' print '|'.join(jieba.lcut(sentence, cut_all = False)) #所有txt文件切词 userdata = {} userdata['output'] = './data/all.cuts' os.system('rm -f ./data/all.cuts') walktree('data', cutwords, userdata) sys.exit() # jieba.analyse.extract_tags(sentence, topK=20, withWeight=False, allowPOS=()) #自己设置语料库 # corpus_file = '***.corpus' # tags = jieba.analyse.extract_tags('该类会将文本中的词语转换为词频矩阵', topK=5) # print '|'.join(tags) filename = sys.argv[1] wf = open(filename + '.cuts', 'wb') with open(filename, 'rb') as rf: while True: line = rf.readline() if line is None or len(line) == 0: break; row = mybaselib.Row(line) sentence = row.GetSentence() sentence = sentence.strip() #切词 cut_list = jieba.lcut(sentence, cut_all = False) wf.write(' '.join(cut_list) + ' ') wf.flush() wf.close()
#!/usr/bin/env python """ Detect AES in ECB mode https://cryptopals.com/sets/1/challenges/8 """ ciphertexts = [ "8a10247f90d0a05538888ad6205882196f5f6d05c21ec8dca0cb0be02c3f8b09e382963f443aa514daa501257b09a36bf8c4c392d8ca1bf4395f0d5f2542148c7e5ff22237969874bf66cb85357ef99956accf13ba1af36ca7a91a50533c4d89b7353f908c5a166774293b0bf6247391df69c87dacc4125a99ec417221b58170e633381e3847c6b1c28dda2913c011e13fc4406f8fe73bbf78e803e1d995ce4d", "bd20aad820c9e387ea57408566e5844c1e470e9d6fbbdba3a6b4df1dd85bce2208f1944f1827d015df9c46c22803f41d1052acb721977f0ccc13db95c970252091ea5e36e423ee6a2f2d12ef909fcadd42529885d221af1225e32161b85e6dc03465cf398c937846b18bac05e88820a567caac113762753dffbe6ece09823bab5aee947a682bb3156f42df1d8dc320a897ee79981cf937390b4ae93eb8657f6c", "ed9eccbe79394ca0575a81d1fa51443aa3e83e5e3cdb7a4c5897faa6b4ac123c1dde2dff4d7c5b77d2aa3c090cebce70340e7f0e0b754ca26b9c108ca0dbfdcd8aa230eb9420654b252ffc118e830179cc12b64b2819f81edcc2543d759c422c3850051d543c9bc1dcda7c2a6c9896e1161d61c3c13c80ee79c08379abf3e189f2ecf5f997db17db69467bf6dfd485522d084d6e00a329526848bb85414a7e6a", "4c0a7faa755a8b877860d60f62e4a85e7319b39628d509211a00026d4d278dd7746c6feb6bf232d38298a321e48f8172eadb7782e188e1342bf088814329608ae756700d7786ab99602e83ab084407e05c349a0d72ee7662005784694d98fdf1d2e08efce71d14d940e7c4105d3fa5095454fe478401ba38f98a4eebd38477c613972c86f08e69f9e82e1ac09e67d81238271bb492da526bb1897bd330fe7b75", "dd6a92b0659968f01d7b638960d747f7f0a0b20460de239b8f16d5a95936d1a4d9f4d3c77f5b14942d91304ce572dab54c8e4c01cab0df8d7653f0ef9fd486191a0ead2f1cfa71b30d7653322fde828b83f4ffafd2060727acf2c0d4062ed24fc9608bae7ab851cce4fde56d4ad593ed775ce856d7299e17d5f88325dddf7e268534710d3510ed24093d217f199afdb650581ac7962d0e281469e040beae01e1", "b1f6508b1321e924066febfe8030a908e8086eb5ac423895b74ae91b9cea65e9d4249057b23b970e23f0b87b641b98cbc5fb7438a2844fd949a937f05f7670462266c3927177a2bf3c5873695ba9334c0d57e749e2132df586899c88827cad98efc7c9d74f001f57b31d3826e4448067ff43b2ab045a712372ce8f8a229e845289ecaa2e038eefc9ef4a710509f4ea14e695cf44977cbfbb1a9d806e43fe1af7", "cc230392928a4146fe2dfea83e2567923bb2676de8b879e12cfaa09379bef6e599aec3187be62a7335b90c269247724880835747e302068a3325ed3a02feedd5c129aa8d2846db88e29ae896a8d9355483a54bbd70e1ed628c78a8eae97a3518f33b6d9c4d04ef3bf79df7cd1042eaf209d6d52a9f1f293ae3a699a3a3dbad77a9cc0d4b0b47db49397949b61ba6be52a140a3dc7dee41d106609df433d587c3", "da56b86bb13657ddf180fec84bc8070fac27fded7d3d659d7951d1d7bd2b3c015463c2118fc4be14cb3c21f1249a6509d5b409d3181c447f0146ea80efc324fa5484d4fc6be037993d75d4f5deeb33ca0c71fca4fcc19ba6b6d8900ef0432e15d82a1a9e494f2ef12d4d3e3f1ec40f5ce75a6b0b2fd21656aae26e47af8ae60d5fba3dd86c9fe2dd116f8f443408c004ee826168dd888b3508b4eba633eddb60", "855ad6a9215ba9db1eb2fc024fcafd9af2d31b81a60341b6024231cb1a6a1e291598cc886f042851c8f218e01a57141932b6cdbf3f19fe705a7fb7db0c9833f49a30906fe7d5e2a178fe4b92e089829e7c14da0659ce76441e0c17a54acd7b3840769496868907e83e9d2fb9fd2dbf1a230a0ee15eb978f2d6e12f9d63a686bf0361503a4e4234e8984c68b0e0882f3a0261bbe1d248f4c107ce2453ae63cbe6", "abfb8e76094d4c27a44f3170271c9c0e312c192f42bc9597c928d8c9e461f5e2ffb555283e4c07914f82dc6dae5e8f3b3d4dd5cb3ab1ce8f0d8cde59ad92d5db56e2c6f584c1ede4a31403141ba42b18528d501f62c5cad6950c8d8f14c1c4439dcc27f4f20cecb1d7559758d5080d88fc7ec9045a201442027baad56ae952c5be100b55291d843720c92d10547022b12505e2000084ec72b069afa60f15258c", "0471984bac512f7b486ddd641cc31823e66c7050ccec2ac71cf85f3493b32d8776e9d486ec29f8ab568451c8b60527d52b15d152db1b072acce870e3ff3541d814c52bc1393e416797a423c88d1563704ec8c16d820320063fddb89592d5c2a24e978fd5fa44fd0f8f76821b359caf041edc75f06c235ddc2561198553f1cdbeed11ec62cc9af29235ff619caede84679bb25f520313543becbb79becbfdd509", "629f595ea8e740e8a3505770ef70d3a6ab74b17c6879a1983430e607b04c232657b8664557455b0432bc8c5913d520c3e82e29aede851d30bb2796216edf3addebe34afdf478d76077429006fdfcdc26dc054c5829c08cccdc330522a59316837b53cf5c38bf84d5ab1a536371e50d187f2aecb260ce79caffc3ec77a4bf7698174e1fcd4635648144e2d0d983715656f6efda616271f6baaf9d79ff8ee7c017", "d72574d26e0273ac584fdc8e149196b528b3c8fbbe053616b5017e5638cd6ec86119712e32ecff6124ed3ef268d6a80f3e7e9fe9f7e891acf29392fd0391b77c0da13559c9aa963ec91882ba1e53d81d07056eef4535776e894154e07edfd0efd53dbff0a1ceaca47aeca4bdfd733d7a262a67101b691862d773c15e90254786e28ac66e559eaf756ca2ba342fcf07ee14c011998683e335c4f3ec60c9c15f15", "6037304b0a7baad814a3b2ef8fa0be71beef741ab72785537e82b844609b36fc07822abc20bc28afeb8fc92fe47aa5164d1b7f89039094ee894d24f0fae9b32b14008033361f90c0b1b748bd555a0026d2203f1949b082421e2c7039d450890715dc7b5c7538da3607b7fe232b19fcb9b7dac6e8ca55fca01e12c868edd170f17567cca171e1c731d5c1573d1635ca8dd60eae9089b762d677aa0aab2ef95097", "251c7b45c01ad596fcf1732283be13cf9d2c0ff8f2a5b93fbedb6a79d28acdeb54f88e24ae1c9a02cfb0856187217287df5ff63cb43595822853f609a789b3d78fffadbd891a90867b1568e2cc551d362ac257a94d91a7eb0028e6e9bb958ff7fd203b84ed085760d4c349268b635f0759f356b7efcfbbe3d9b54583c43a38590b171e3d554b67201b7f7353ceaeb1fb098046a173c105b07031e94185d0bce0", "1b7ad8547ce04b015719fddaab0464f3a510905ea630a8feb7c9097486c52d7b4d41ef61351ea4086ccea0bcee8275cafdd00730d00b126d8dc2b393cbd99f6ca9fdc43e595aa1a5e664d6a49577ef73e1242ff47529cb7c106c772991da48bfd0c190eced3845546a021781ae0ff8acd94e44f67dda15637c5a46072d3543fa251d36398786303e7f2192c71c60b48f3f0a59e21014bb566ca76237022c041b", "fe2977f56f9f414ddf898d21b3e13a48116dbf3ed13253ee69c2005ba1afd30d0665d03e76820e172af73ee8bb3ac387170f81530d73debf97d9dc73b6f4073089ef48ef43f24b0a0e69e2ed1f469482f9c74ae3618399bf6bf99bbf9a6476ed1d3398bc9a59f90feb131b2147795c39a38ec4ab883a3732f9a4c01fd3600047973b361d60f8457e63abbd29d7d73415d89c852305649125533ad73828e34d2e", "e437a598aa79834390aa01e784b78bd452286d6258dc6ecce45f8bbd9f372a74c775c19eb37ea5308205ef05971cd6c7ee041e5504abf8f756f2c215563b12cc234ab1d9d709fe31a77707d2c7dbd5a88c75b01746675e3f242a56e222fb60206c88472deb198e3cc1a22ffd4005e2da131ef092cc78ea954d85453a29faa8185abdc35fe1ce1484e6f2f537fbbd84c08af0070ecfabcc3678b083e48a2abb87", "972d40a3fe523a117967480b2e3ae1b7e513be738d708ff579e856b0bc19e2da4d4c1d2f3143720bbf3d58f1a067799e8209cfb3f3a4f75d920ef269e839ad3733e99f08b1785dc2f053b37c04a4f7051aef25f27c335bf3ae4873cd740e088002f7ac499b78c17345426e159fbada0af882f47b78c0dc520b901573530082f0c370bc8af1ccb4ed58b08806ebcda8b10ecd3d1d4b917eeb2cfbaaf3ee967eac", "05ab18cccf11529d76c7fb4c4abe28681241d2cbf92db2cfc8739f7fc1b7a4dad4804a8ca0e8e33bf1e9737211a168f457176fc40be85796fba14e2945476e05231b58a4c41d250cce3eb19b507db40dee7c75d80721f32e15f02cb2ad21ad0ac0624b97ebf50500b613ea4fb875a1aa99ef6ffb1143e5d87b3111563d4a1a6bad39c1173448b7b1874a4e990fd13c4c93234e1ad3a7612b0454f83c0aabd22d", "c95794a41d00f818a2d9a9c3d8367829b5c47be92826245228750113158a654316d860deef07d9b26c50a04fa5b0073ce1b8cb46177b0b0c02423807bc7979076bf5d1f17e32b06a6d5ff8eb906585f570eec97d1223c516faf7fca2ed26e3d86716fe238f44cdbe0290c7d87a36bc368dd09198b1b7abd2745c0f06042f4bd5dc49697a0a8d2fd88f164b57f67615f401172d3eab3694980849edc60703754d", "96b0db74959d0c3ec0819f3d7239d8f4e74c0fab50f8a99130e5d2c80e4917f7632679ef0bfd303ad61fe005fed62afd574a75a014042a4b75eac3948886b2c99cd9bece7cef4fbc86c816b9cf6441040593759adef2ce62fd3bd97dc4d496b02c3a883172610af18ed57322d98b0b7f51776229969e27a06b6445c22651b6aea4dda50761d04ccb3bf1d99e353d11b967f24c08c1eba16beff4a2898ff1e641", "9eed35024a40add6409a9690e570ef357dfc0b38491706783dbb6043bd4fcdaf01986fcccbf89f15bc53fe4aff70821b309aa5cec59ef3c588c1042593f9994644bca862152a20bf94dc0d288176eb9f49b7f814bf35050e83b139d2dbd5f08d3cef35e271ccc6d8074fc5fe1570886a0746ce19be8cea27c4382bd04d8d45c7b7fd9e3e89ad38eb37656577395fa0062e5f8e15be2c9a4833bb1f2fce90bb86", "b5eea554b30b184185899a3c7c312cb1ba0c3fcffc406412e0b3aed64f3125cd227ec3c338af76fa5559f70f7a71b85b362b97c72aa402864f5fe572cc749d00a9513080fb0484224f039ac899d22934d2b24e3a3d96982dad4e04eb20974a2bb3b082cce404fb81739e49225fd3440e2c8ea6ee34e85706597a2edab42383adb134ca0a6461af0a530dbf35add348a0b879ef28a66a940ab13f113572e18e2c", "9c87acba9cb25609ff339e3ebc5cecbda640690223d05f67c3a394f451b869c5822d6120976381eaf127624a055493b2dac4376c8bb87c0a0372456e17ec09318537b4670061a8c69da4d10bd6a24ae0036eae1fd7e486d0d184241cf22b9318158534439be1a9b983e7f8d5292b423db57144cd68e756380debd54eb6589322b7793289d08cd5b3149780b791bffd25b9318ea1e30b031171cbb2d09feb9715", "6714d76c6b6779e80bc285a60e8cc599e15d68dc86b48ec6f236bbb4e35d6275380514d9febee8bcebac6f125affe10ea2767c31bf0a52bb1652116fbed7d348bc0e7163b6a2d3ad2d3871f972e9539e8e37bb90a7955a44f865de35467d7da098991760cc56d23690c12ad7049b0dc05c21d31ccbfc08375c1f171efaf223d1401ac4f1aa59573c7c429ac8b5fccdbfcdc6bfb78a378334339eadcb46ce23eb", "a5954615b2f4fb346d49e867dc890c4aa0a29c53f80e2c23c73a6610aa64095df8817d34189b79b68984c9f9e2f92c52066a059dfed97e610cfd0f23cde1f4ebede8a049300d683eaf8f38bf36c627a3e8f3a68e134f162d021711f79d65570835a33f207028f5330c03a5cd3467b563bf53d30f0bc6ccec32c3883992314f6ff55d176814a0b213b124b69c0323ede75c4ea53021561d38ece0c822609f6a30", "162189160d7682e4a71ab44ce4bf5c74fd15e01d2ccec755a0b1a9da4b07515d79c9e889bb372bc553d2f1f2f3cf8acef44f29dfe771dd06e18ba68b6ed5cf59b923d6182f4e4e5f5a043fb4be4fa98515367f3c1db2567f7bd9fbce48782578800cee1fd570fa839a5953c1962c2871eae88f78c4830a58cf5311f3945ffbde897d1305076e72b34ed4a00ac3c59aa4e70325a5e40cd332a663835e81042283", "85d5934dc56a636fb3bf963e9b26dcbc69e3227461861368c23fa43f989d85ee1ef7e661e193abbf7926ee82878a2cdfec132e75660b32684df6cd35965115710be138877dde090c4bc01cdf43a82476b330ff1d1f2989e88e0d7eb4108163f99748289fb5264f44935b4f8428b2cdc49e95dbd8cc6dc4a2957f23ec7bc549ebb09d025d8e9d0bba765daf955e469f43f706d901a323c63ba51fc55261d9ad9a", "72d8a640970bf9ce9f9f3a87fb908eebf7e603fb0589a00893381cc6662726130bc564c42ccef93447bb74065650138396d1452408641b05990cb6c0e73b1a93bed3e428c70a0a073777089d555b9195fb371bcaff16a24487918737f2fe4d43597664daf610196b3dbc25ade7e68cbe3be39712a1508e3a85531bd175c6484a48058104d6d6f18fd71db2bfd61e72987b092edced52e3f848e7a39e90ed07f5", "18a498742ea54c0f2cb6548b014bcca1cae40ecac2c92a36fc359b95814471ad4f4d22782aeb8d6f66136c4cc17cb38a339a825e44cd6e41e75c578f61271e0ead4db3f46fbf55596e3c187a0a47645da7e671d1d7390892c0e8cd7e939de470cc21a1d427db9214c6e92f49ae747b00bd646bae4be4feaa0f7f14feafeb5de3bd3dfbb6c4d2320fe0598f99006c4e26d41b9245c6dbea2b7d70bc8176ef7e91", "7ac2e99dd57d33ec02f7f970ea2a2a30b4521b53b18768cf885577c2a0ddebc837444c363ffeeedf87ddc938114c0a7e75e53798938a87f6c9f8c45f23f016b47af4475a5182b08c1f4c3ddc0537906a7f0b6574583ede7c1e71e0ab2bc0b89a1f2d08aea2e2df1447e283d7513022500363ea1a94d2bb224c5483fd7e921c0d86470a02df90065c3d2a68c80526c27b7b1a4e8109acf29dc15eb3f0ebee54a2", "9b6211054cf023051dc6de2f154d048b28760d017439e4acf15ef9399c44ff6f792698b9f68b8670ce4ae92acb7f3014db8d76602d0e105e5c25a8a89cdfd67a0ad97742ed351921417ba5a3dd6093b65adfc81866540d2717d6055d11a901064edf74decf459f91c5b01877cb849603c00e992a3fd2dffa0e4275ca8fcdf1f00d97cb9018cea728f84a4a037276737bfe22e913fe4a019d56b4f4b810d1578d", "73bfef877342cda6e7656622003ca23cf207d0d87cdf7b710d6f5a203d9d0a1873f7b85541b75bc29e8d0fbb1a2af867f796715e7aaf0325b54a0b0eac532267c1aa4d92204538fd71ebe107881504053ca9b8f60664c6303256af6b388f41ae196c9f0dd566937ac72ae61100bd37404c4a3703bccf6d1c570768f8011771c40f9d2d7e0803e67fea300c9f175f3c81ea98e766ea6f962ca0f999e0dd59aa88", "e18d180805692f072599de2ce7d7bb126f59aa34cb09a51c9c4c4e8cb939211040421ea2973f1b968ebc1255ba836bde06ec9c81cacc7827af41c4e1d1c3334a9365c6d20c248214c30fdb59955d27625f02a93ecfac6392fcd8ac871ccb45efd710b93517922e82171a3ab1c700912014905ebc444699b5fdc2256c84ed3cdcc2993d54c9b971c7200cff0d3776be30eeeb3e7e3533bba3c9242b056f1c3db1", "9912d81db2a9f7fd7aa71ee6d6bb3d4a2171891764b8c2713ffdc385fc5e477be9815ed3ac2cb4d22459ec7bc1899145e6010ac52a43f83c9a9bede255d9f9d56ff129178311cd369f65e3e652324d0cfabbee46ae060bb0b3028f7ccf392f94fbba7541bfc60b40d046efe29d3f973eb73ea064eef35a9d6d1b9e874ad5d0242dbc49e05c89f614af30b68c3d9ce86a2a105da1603e0bbc5ae25bb97eef20ab", "ad273780a54c9b86c78d0edde05767983a2850a4dc517017d72f99fabb86387f5ac51885620376419a2835b59c5713dada58caac9970d67262902046ec09d8eb1f315e4d3e345ada768ea5ea795673f7243df722b0ad97de29481a351d9234246c628d5947e1c84d68145e4f37dd229bd35059713d7ef7ab426a6f4f2d4467ba9edc7d580f4d4dc451e05235eb78e806fa8ee260cfeb99ffb0affc5f073d47aa", "5f1938686b21ca887be812db8a167d3c02ae4fa5b2dc3fff62855f1fd4fd223a33cd79f49296259801ca9199e4906d5dd59346e91426e2edc6a4867657b38634025fa48bae33b11e340c2dd179a933f4a8d246ef9081a3d5bbea945bd2847aec688a7cd791451a2cc5d49273a8341fbfe7d4879211e17e2483585aa845b30c6630183eaec7c56ab83a97e6ad6deffefd4afabf7216f0907747f73cc3c3cc3a76", "5c221b27b55eb9a86e9c33ad4821a0ed8231d498a35a76a6c9d090f923f507eff17cfdb871becd01adc48b2b595d815beccd8331ccb811b830459d9ceb4c80caa3435c8a240d37b29896d0c1168bcdfc026c39a40c7fa25e543ec6996ceac3450d512c5d469a2716bdb6cb05de0eedf84ed1a65261f3c120ce6073e74ee61a593f43d11357f86fb5b067e49e646f6120e2d1a566af2555c914a9053659e4644f", "1c7c75d5dc7788fd522aa5b9802829db5905b1473a6763d5b8506780620d24ad33e750770845fb1db3ca2a6ec80b3166d77d3af62ffd55e5b5f1e691da70baca5c2e09dfc9756656660d3fdacb54a899b17c1acd833e914c84827a7bde8edd9b2334ea6f97e8ae8463dfd55190ee40265ac501fd3d4ccc3d4902e9d3cadd0bc0b3bf7368bd2448f0e0e041e3dd6252f1f2cd80cfa9e57e9cd2ac757d43751dee", "edf041362a040258e823cb5b43362cfc999a6c7a24e5ad328e920f2bee58c68cf915e91b242100c7dfc09d548ab2149513badc28eecd58af740eef50c549bc817e229df73abfc183cdbf6f17720c934a6d911d40c3e57f9edcd3404a0fb9ae3c7b018dce904e1a9d6fa4583d23dac50fa24b2d8390eb0b013c86a8c4567a1faa13614917685abf7d32f049d70f5e598d79f9af8d57cce9722ae27a3d770f4b87", "5891e30532337de940d24eecd41a66b6d67fe95468d87b5a435c7ccf878b84f129a5da489fba7a6b1703a0d25ff3cf5821ad2ec5740323074f39684a5ee5f77b0cf38c7a26e5ffc0260ca7ce107a43986d74cfc884fc96cd5e547534722d6f8fb8bce5bde6b613edf0c58a885cc24464c32756b7508831658792a2e53c27c4bd5705df47221d0df2aebcaf96f62c71b9f295dea67d781b1f8e4e4c388c5da113", "b66e364a5dde79e0931fb1c7011cacdd4200f5c2d3ec1890a8328cb76d4f6188125c395e252ba5e230740fb639b8fcf3cc4376df816e336337f381f5d20332c55af9147e2f284000ccdef57b71f57f86b6580d3fa07df96312c18839267f613436f3d08bca2d91c1fb30354780fd00ebbfdf364cd4d95642afe0dc4c802399627f3035a80aef062c2cc32e4d10c315f9bc2cd6c8027adc0e84c6e7175e41920d", "e6fe6ba39e62b5d74a2a5626edf7af4361dce0c68375a41da8d440542f2d7153a5c17b92a878759611b04352882bba761eab7c83ce083937cf70f7ad847cd831bd7bc78f2176f6cf7e6970b8a8d31b950ef381a3d758df9baa3327d8341a131e3974db3ec9aec1025833df854bbd9b8ee9040f7aec638b3204e2615f84f06de88350eb8239586f8d7f21a16065af4e63d0a1d357c9b97ddb5a9a9d0e0a7a07b0", "5a398d3939915edefe5a9a868d0007ea4290e9ad06e9cae3e3f5545146e1097441906cd746e742137d72b57db769599072c78745be3a61e75cdf39b36ed16b981020fa80683e7acca0a336f5d3e1114adf71b87b42dea425772feb5e11230f617f32bf4cb79f08059025ea758b51925181b06e7069b6e8c4417a41ff1bb356199201fcf2be77b8245bbd0c7bd5c4112d71e02ef3388cefc65c501387202a5778", "a6f59254597a80789198257b1c4afb3e3e1115b6abd757e4bfbe9a37b8e75a9fcf169909f75e9c431567f89599cc3f3def026657fc611336f691525a3f6f574f7c2ea81cf5b91fffc4407b99506f06daae682253e7f53448e17582a2a0f4e0446ba399f33e154dd83a2f50c90be6a194c6dae51d52a9f357d9307af734a9a517f9cbc37b20311cafec6786008ef81b5b5d7203c3507a12758dad1da672dcd089", "9fe0c137a408737bf0edda26dfed799300636d1dae89c806e91f0a7744a1e3a0c5817ccce30e4d0df932dc54271ab7ca6ce58e070e28ce5a7c08897dfbb261e54ec9781dc748ca1ae95874f14fae8fd98aafa2f85c66f3c4a09f0cc2e8add7b2e02777ff943645802fda6ae863b250f4d44e481996eb3d833c91e73a054c3787619a3e483ba88c78e3fc44cfb83223654dbf83f81364e80e20b667e926793575", "a7768cd20873b4bde23aebe2d75fdf7e89aebf00b0e29af26788cc8a39a20529ac1d56eaa8afd7e441a1194545ffbd5a253df1a45b7852cf4dd48934d8a6fddf83c2c2d08f8cef7272b72d8dfaf3353e230ed7f35a3c0b0c3815d59e52a0643df16cb294f36a98ceeeecf07ac03971b90791c23c3c44a6a9d8d03d11172aa79c399cb42f11c228bb96b8a73eff4de46a0748bd9cc2ce210423e9b36f357c671c", "9c1511ec979946309b7ebe7cd852e70373b9055d1385b26042fca1f5a281b27094469783d25fcb79ff237a4193976d1d2e99cbe62729335d492af4df8cd374eb93299ba478732a0a35866d154ab247993f5a6d39bf88aee31d59e6f85c7ac540f26cb8e8f445176ea9d9901d4c006b8abd3549d0204c086bc37587f7260ac298bc91b2291241daa3c7cedf1dcfc4a07f5334561e562188a852d37961d77139de", "dcc71ff06ae66dc397898a78042c5dbc7ba6e26239e3768e73dad3d50985eafc608bf11aa65b2dd87a2fb02106a0e2bdefdd2642eed4332601f5e5c1de1820391380cc20a965c7abd6e29334ad360719c32ec8141c5be5d5f20666f33a9888882ef713126f1b5e8ea670c4bbc89d659906a0426df9c6a8b508583299b5a23b187a1471db4233518bb73360a9b4da1ad89ab7f6a0801a3b469119dfbc423e2460", "fc98eae247986086a16a4c8f1c03fcde1c3c166c6f0fab5d69247679b8df05c7870b57ac0663598c1467b2831344ef18b2821e18513230c85cb66a738e41f7f44922efc06e7516c24a2e24718cccd1fb10fa1ce8415d96675f26137368d157a0199f4c083977a86f50579d786662ad0735f9f2c6757e7a1e9b21f0b0538e8118e4ba3824dd4362d4de815018b286863cc98bc0301093e29b6828796b07ad0f03", "72096e97889f59b90143012cad09621824645bb73933e7fc1678f7fc0e481160ae6f582a6571aaea67f17961207718056e22d4eb802c75093d8b9eead2a572307feabbbb50a724314535c2d7f8f4dfe447e48546a74109c3d2757b6b1d13401a8918ff3efa95301a0f1b9383a4848cd981fe7f51bc97123aa4178c69171fcd7e402a4f8d2aa9fa6b37b961375c1c23c9776549192fbd014b723c3b18e94980e4", "294d751a11c97374016a320cb0bf8055aa626efd89b001a2395015e685be976e3609769d4aef65a7a52d05306d072d00d96bbd97c7303f72a8636be03121b3dc038ed9a83a09b12a9441bf6894528bf05aef24910b70287c36bbfb008971971528da3985a795b53278b7895c9f21c09727e3503c5ca45726ad1dd3f9ef4b98b2f7148045406d6239a764196885718a142a7b1556ba17065195845af76fc114b9", "2614c5dc2763b73eb35a47a25c9a345bbbcb63aa0deeea220dc53212b484bb979cc7140c6fb8ce85925f3de771b96d3fc1876aceef6cc5163fd9234a17b84b539e2c1d8e25e1dd630a5de4a09b0189ac067164d57d9ae96f4026acdf30ceb0c1587a35873b560f81eb456fbc923d062b12d14823e1e8f979375c125a8750a0eba3a60572545ad6878da4f8dc4ff6287b3db60f79f62e71cc4208357d77d63f30", "e6d0c1937e2c536c51bcf19327a29e42521626310ba1311ec07176ccf1843d3b20c380781d6f9f7102bf612e2c3da981124dd6b98c1592ae151ca74916502f69567a47a4d19d3aa5df761e36ba63f29893b870a058cb28a57ebc1996156c610d7d8398b2dffdccabbb88bb2ed3a4d31659eb5f4d8d9ecdc24b93b67fadc1afda19d671fc8776bfad98715181a03b995042195d04362e6e67bf178b6c30e35504", "8120ba7045f7a9406aba4dfc0b38113652f0974a193e6d7c89cfc90af4274ad5ba6885c67afed567ba46c7b0a49ca1c3e511cf09c39ef1d316a40bae8d623fed41b0264c823107c4bff4cbbe0d8474eaa28e3fa0697db02afe74f73dc3a93bad499200183d91ef8cf2daaa964f0495cdbb0edbac1e1c3ca11f95045ff21a82c3c48bcaed0bf0318fb5f71083b721939541b284d89c529b51c64419a9a382a469", "635596989e52fa53e7d9e7e64e44ed7939d61927a1d703e2528d999eb59354a6153094ba23ec33685da97dc1cad44a794d87ce4223017e38964c9a6541da2a7ba15042ad615ecc3f9e705d63219dcdfc2abfcb1ddb13a59d305263a9e8cb349154cf6d0ef595397e8ae5ce469db0a19ef94bb0d29d639d8de08922a19fe70cc013dc35d8703e81faf31a4582df916d57fdcfb46cb013fce5eed4a92bc266993a", "0ebe80e9fcd2182a5b78afa930cad0b636b2f0bff5006e8f9fa1e61f38a60cc89e69fb209017e0740a476638b76022d473a2ae0c9be53dc4af61046a286f4f756540479f3d7ce2a8bc376174845770d294a0918755e94a583f641ffeed2b0da563a2a196d3f149a0b3a2464f6965932722292cede87c509c3f2dcdd13c28f4363c857eb5385fd9847c766a4508dde8db43faa64135b951674f7ca0097cae40e2", "8bec4c9cdf0d91fa4fe2282b3491dbf21e375f75abc4a56c407068b1daa9c066c7d84d6b207c3d37eb326ed858f83fb26e3d36ff8624377e244a3d98f21d7d518d6a54f56ce0d3d75bc8919d8cd0cc05b3c5dcb02e8cb1f4a762e8fc76666b968a2e5a07fc37d59767febdb40579fea58adb3c2a86012c05842329eeee21d4d2ae21a424f3c656b37262b1fb49db8caa2f51e01e0212a112b763086022cb84d5", "eb5deba76131a74bc74af0167c011f74973281bc2be283d2fae7a2d37b675d0cbff05ace01f7ad510ad4d7e668337b566e44c2e017da24f2625a7360bacecf6d8e06ce1a2a16d1c36bcf6e7f6a8261e30119bfe42e0c9719bdcf6bab85d81888b0ba95524a7491f795d7d0408a3eed101d349bd9e7527900fce1e7c3048955319a8712c96a0222b4b1ef397467fc48733148e01076b507687b1dd44606365fd4", "e50069b11598be706fa281e34685a742ebeb874694a704a83e0fdad38009a56f91aadd07778eea5c472c8ebf31b885fd9fbbcf5c67e69b8f8d66d478d8faab05b0ff4fcb23a57ae92b7c643fa2975383ae410a254732327ea71e43963104ada6d8b1226ae12dfec697eac6269c2d4982cf3482300291fba53bfab6bc35eae2e23dec2776bd5c62d08d6696e688216294b04cc27c36e6195d0d238524eaff76e0", "6f8a4b9afe48394b1498da14381b74c1fe78202740befc9638063f02558db37d07865c65667a5fb74c402d884752cf5767b2fe72bc2f494d9c5fcbbf8a5c27428ecdb0460b45f3f81c169b200ae3df2d031a6e57aee64df77005a12c251248e8815f4306732ffc25e07028064c8be6ff567b750a1302cba12badd6c58401c767c4acbaad3066de04978e1fe4ecb1883d27e14a61027b633b5c0aa4d9d5c049e6", "df8fabd0276c0671dfe70110c367c3916096e9fa2c11fd68c9e5254dd19155e704a535de2cfdf2e49a498026c44f69e747a3e169b5333209516f46b8947bebd2e045f18b43ca71c7ba22d5f314db2e834b8455095cd4f16c1e7d611e32bd2d2e60ca8b532dd8b81978aff08f91a76f74dfdb7b0e80632837d4eb0850e0183b9ef26ceefc7b79ae332701228dc8f03eafc3ed238ad90f84c409b84dba0852998b", "c504bf5d2d4c60e435f13d2790b4ccddadd011a83fe46b1044aa3d731eaf270a32a6223c4d4d590c2ab739da7c8c3f40f9c444c7fb72fa0674ca2c424e85d5ed0865e865d356230c78e0eb138a25fb601226a352817165b3f9d74104c826de733fdc5d182ad72b5fae99caf78d50a83ed4c29d52c49b3ee4c6c2234e133a5855992cf70622e4b109fae5aefbb9c35eb2e70c170ba0c73024b2e234eee274c023", "9cc79a16010c54042fd3417ababb2c35885efa6f6d6eb038a73ebb78779e0562acd4c041f602f70ef4a003d2773f91684955c56b9cba9e4d8afd477c48a170901e10b0a46afd6bafc222ffcbdf484d6bec242314f7a1dba70c71515bd89b646b0c115f83b9974c06ddbc3237ddc41e0a3e39f20494a81fc6bf4ea39bfca127ffc0472d47d18af7e5958061691b6fb946b2301ad3af7d83d899b772d1dc99290d", "0ae1a45422f235d1384fb78de2223956a94fa4ca95da18a4718a9bd9a8aa481c1761449178c8f5c6f989d67ef822e3f04ba837a8c00fc65f256d6040a7757588e2bbc0e49632befe723190e64463fb65933ab9e483c8993030b7752c87c5e2a86be543774cf321f078a79099f49a4f47398409a7e7c63cbc45cce30cebe7625e4ac7d1a99693ebad56018205d58d3d847d9c26734dfaf61d0dea4fe97d7b696c", "871c43d879e1c26c5a4fe347363301f309079bfd12498ce1c0f4fdb25f2bd16d32951d3afe7c86ca4dcf498a1d751f4e810b5db09c5967ac1f4698e25ff8431719e64a65d5dcd5203b4589d1bb1395b3ad91dfd98a0c3812054a892304bf2c839e87198c97ec1add230e27ae7a77672ecf4dd7437322f6dcffff61f72e0928da18086cb4911c9253c1728132379e7f2da963596fdab76afe4864cb0da5ec82ef", "9636aac7d58076270654761611b445f26981dca15eb722d647ea4187bddff3993c18f86da35bf3b65b033ac201cf36e2caa8b0395a798685360f32c16d026ae2dcb1ff5830feadaf3a4f3c7111f6a8ccf4a82232af38fbac70f42e44a54c966a0c1efd43ca679e67276d7f331bd2a2c6493367e815ff5a01c55bea9a3ab72e6255a8643eb9361f59a18878e19f803f35ad8653426dcdffc0aabd22c2f83ba485", "1cfeb40cd6dd4d38215706a8c79bb5ab61e7e64a46616d9d24973aa400f4d64f32f89ddef2eb652c97e3a633b771150bed0cf22abea2d77a445ef894eda35c49a12ae645fb5f2e207ef8531dcec96e79f62cdd68a28ab062b47e21978de285c439d5fcc5c8c8f1ae1b92c681f39e1c62013f4f9b3723a3167ed77976a399574e58c82d9498072e52fa67dde0b315c31f986b389f090d34f4915b4c1b545edeed", "bf8e8ef17ddebe4332b9225c59ef3c66bea13a4876b288575eb669a6d292a92524fe395468b0831a8e3711c449248bc00dd7525c3d4ee2e51ec7b166ab1743b930b417be1ea95910eab11c3d537ee6b1d96defd5ead7ad7b91ebdcc87d55dd92c8cd8bf48f865bf8c50e4d645c4cbc0fe639733e7f22e69f37a8082b89ced3f2ce8ec3af3025359165d2b1cf5b32d3e153b48a03ffb408c07e15089373b6ede3", "563517a9319b861e7de18e3b4eb5798b79d7a766145aa727b5bef9cb00a0fda2fec7cb9a60020ce11e2c59323752c5420fc16bf51db63997d9a981b6be1e8e067d588ccf1e1e483addab6126de539bb11da8dc0b0452198ad80b07c8fa004e4bee61582573eb151752626a7ad276ef72b2683a96ac16bd737e76ba5b0ef92cec2ad699ce173c1100188c7bfe974579de69add387ff5aec0eda11423058e7184a", "ba88956c4b2f1d102ed6aedc976d401c882e548322d11260a4913cd6a692f45ad686fe71945866e59ea1ef4247411df8f4daab1b2c04571a802bcdcc33c82982f5a8d6f640eb8ffef80d35fc3defae0412d34eef6d547797dbf8a5f2ad41cb672378b887c509855b1bc48bf2dc65d82eb13b68032c73b51b510f1487865613a3035f6bf2d28c485378b7e3ec16de75d1599e18a494003049864c16ff3df396f7", "0da7aa0791c748ade375cb27a06e7678936edee2d7613d925d56fcd7d080c9368abc9dd9e096557d95b1dd0b30cf1379f539241046b60a594eaf70a0dc70a2f5ca3e5129be8b025890fd60a9f60fb3f369b4e7b01f71a1b4d53251631f1c95bac15ad46d944cb980f8aeff3e7c817a83a719aeac0b253963220aedb5afd20875cecffb24237e62ea90d3f89cbbe08e8a7ea1442ce08bdb253a7d5d825e520b41", "7c42c2bd4e3dcf1604998f68c97b972dce2d7d2e4aa91337c497e8167df04c652a80a947ef92caf164f13574037ca56709abbe5bc4ed5d0a2b6fac4ba577fe21d3d57fd689c5308422ac1147e9859fd100e184b4a759498680daed20d6c38b36873b324248edc8df3d97b75250a8bdc2a6250aa6100b039e2d89ccfbac8ce580cc60d774d9dca7560e9f054378cd321a9fb1ab3d0cdda40950ed97d083d41672", "e1f7b433ea6829da76f20f6406c2d106ae9af4603d0b2f4c3a5e910f554fd4fd37282128c90fcd9d09c39e1577b584515598ae7147b9eb9f0a8118c39d20684da9d75f41f2b995967bc14bc6f0c0fc4de4e36b9a9f5f28a7965f9ed09c806a0e7e122753d1ae5340f9f3022081c3ba46eb584cf3a20488025ea738b92f074c08eb5dbc18dc9b7b73aef4d9cddb1dba466a2cafffbecf72eacf5316bd6911063d", "2e616a4afac8ff14997875e6af38c2afe9d6d072950c8352a992a799c2ea7e67fcba8ce9f814850a79b7697896d93be69b8e61bcc38f93482de016d7c423f56aa552af97da41a0c766c562f7818fb85f8f6d4286812c7aa9c813a5337bfaefb07eb26039e558abbe50aaab557283727e9abd0d7248f4c9051d26d216b2e0ce48633186c14cb1779f76890ecf8ace3e46b46dbf61e97b0b592184d1728f7a0b2f", "c65208e98fcdd6aa99ec2386a4c9fe171ab4e7fd2785e561d5431390687e54a451dd64e11db47ae68b955bbf9812ae1511241919115a1773e91f2f10b050d3bdd3e3de85484507685cc19208430a73bfeeef9ad5703d122f41267a3201235f6327e566490ab79413a640244a30a4f39ac16cb632988ea6a113a23b737b5b9caaccbce581c23ce1a2e2d10cb55f8f0246c3b6c833e51d979dc55c58ad619b573d", "57a7ea611bb1fd027168546218b6d693dd1c7f36e17e22ef18bb0893295e39fe560a50e87e37a796af6b837611390d77cc4506ac270bcdb24440aa7166e8c7b73735f00ec7e57048c6ed686ac3ca582ef5d5e4d315193b64f1b343422baa83f8f0185730fcbfa086a5ba17660ebf11e2c30e1ace11820ac8f6ec5831b9d1da8e1f8eb4ebb63e6580e52d365726dda5c8c3b3e3e7ece55a90cd44af91e29e2daa", "7c2baf2d810982cfb42d88578ba534beb667fd3fabc08187f8cd081b286ab01a3c86312579484ecb4dbfb34cdc999ea0a7eb306309a25a2ee2821a4e1ccb9e73f173f8ffba4952ab1ffc8dc56ccfff3684458f2187b16bb3d7ca8b04d79ae55187951ffa02c6082be9f991cdf1a8da01a6e1cc1939dc5ea62fdfa16235ebc492e9f373dcced886f6ccab84aa8cd1a65a3bbff4fca574beb78c2c859fdf2e5341", "cf908d17119961c0b68e32761a47e65de9a0c19139c8d730c2e286f1726c777db4a7eda6638b2f4b14e4d2143294ef803c0d6a8096dca846b800f1b60589e38bdd0211378f9f84984f2224ae96ded22ad00c3565174d5bccbfda546344b2e12aae9fc421deee7691d8a076b67c4fa29aba650e3a9a25913dbcbbdbeec0441b6683395e00ac49e0de56dc2d7251f1809c6e1463e2a25b9452a18097063cfe170c", "ee715dc3ae77c9825286c1f85d07eecb285e931153fdb104ffef7b207a244edd71200d7f536636344da91a093f5f9167862cc879073fcf31a10192190381ac054c4f1034011f8379b5e9202ec911f8a13bb16254924a3a90dea47718ebbdf7ba54516994dcb5c377e522631da0b22bc6953d63f06808d62943ab6d4a1ecfb6def827ed9787ad92645f82a73f9ac8426d8535282e977a968a0068c06d10248138", "33e3eefbe3683fcbceade4017b01f4825ad12754ecd46bd9ada3fd864e2a362d5239ffa96b2310b10848fa72312207db91a7385160909a20256ac8d345efbc11c4ea653ed156d9a79ca03b9cc3c6cc4c418fe1188ef9cb293da50e35efa3c6941accc18a275a36b9d5b825e216109dff61aba2ef63ecd1ce19e6131a233990c97b403c8f53691bf7ad711d42dcdbd28d0e9265ba1396a961edb3f7fd0b65225c", "c33ee6bde2ae0fcc7e45c080516704533aaa1bd93198ec29bece1daf59dce7cb2bdd03e136a49412b2efa5eaafd40ccfb4db03eda231caa3ca4f27a7fd45719851014edd840f94515355006f10209abbd3ba778fe743c64bde25a8fa166ec2be579e314c204196603194bb498264ed1bd0532be423e6129564c83bc1b5e75b57167d9a48445c2e1240ad0fc05615f9a7a5640f9813117a94087712fa2b9a9907", "0402e3dfb95a6f9d5656eb216048d399566cf168610652e0d4c318eac6d6930da9d8ebc46646841bc9db67ff08530977e48c9a9ec715d2b14d6db4d9ce7c4c1e3e8f205b8924b0a6dff21608ad015b46599284f5d71daa26e6fbed67b10c62cb62b9de163b9b2c38efa926de47ba9523d5bd9835a7470d2c02732d6549f082f38a39e4b17d9ddccdc1c3f56a25d713f83f82fd52816a74c1620bd6aa5f0461e9", "f69c9b51ac03c43c9fbbf45979b2ed25695d9511e91c307f6a8af95b208f3ac91c64066f0744f956625e83eda34ddde6f41ccaa984704c4652d3c5ab6116eee088f96db303b5b62347a5954df990f11ee52c7b93197af1189861f0dcf70d4cb6d1a417b76ce3f69e76e312f00a9b413a3bf6281b7299ee1920c0e12a908ce3a6dc9f260856fb1207ee03e227f7e52405c0d30600f079fdaf8ccb1c1984806f63", "e7e8a2ccea1420a7ef916f4ff11a7d7c9ce59671a8e319a28394924f4d9513d355dad9a4cd4ab4ae142c29096a8a06cd65bbaf8cadfb288384a14829781ffd1d0028babedc9e01396f70b9f55ede0136b13acb63e273508ff29f2be6c96ab06939a6aff015853e40732282e559eec31a205ff220fc81d4adf2d85679756da7e12238d5e2bb3b2585440cc33bf51a652c4bfd13d6e23306c555c595a70daef040", "a6110e5a6f1954f221fd1fad1d46f873ebcc12b113b2f5db602b61844abb88b388a4ad8e7da9920bcada4ad6694a916302bef75f3d67e30d36f01a0f2b19b54fe87fd5542e9beb2ecae3ddf58c5fd0c53c713b35e1fa5d138ed0d1c2fb23d80e097ef8651fedd04704b3ce9c5dec41582a75716f7f6ab6a84b2bd58b85e670a96bf28676532a7e667752545d1dabfae827a60c17e7d50a9b055fbd46300fed23", "e2b52b85ad60e58b71d8770a34d1292940a4d1f237aba02295166ca2781e7648d2d392ebfd1e1fe4fd4c17f1e9a6753923d71cb0885622b446307751f7859beb944c214e92973060a6837489228633b314ba352096a12ad7a96bb74841764180b3d194154f30a3a55ee91d99cd915f369e773c70af0bdbb657af8d141eb869c99ffabf0aa238ac959dd7486e8a9f34b6eb9acadadaaad4ec271663c5b49b154c", "238587d193f3f483befa803e462049976b2a46f9709819dd40dfc460609dd6f3e080c17d438295b547e9758762fc8d7a54d259d59ce42a8cb237c0fba449f80ab0dc572afa6cb42e0bfef3527f491c1c0074a753afdd6fbade2a9b05211f9913f6a764ae231949d32c257b7d708379a4ce7ba934a041b96716c5f2f4ea9d7ef0fb4f45b80cd164bd08e17a07a2d59918da5e1e99ae86fd3d37ba048588c0ff60", "7c7117ac1637be1806ff4bad67cc6cefd37a6105f719a2ca78777f9b0ff0beb95b799dd02d9b5e75805edc6b8904201d146ed3d30c6f5b7cca111f492f385829eb783d6c1b6f2cfb42389721e657497722d0034601e175f255df58193a8c9aa85a255a58a27d0bda12a3472cf2ecc92d1b01adf7527d59f28f197ad9cf8149e6c2edbbb63bf62ad4d8ffa6af063df3bd2531e30b8b2f0eedc4655a85a0b1507e", "6b455a025a012f52d23328bde5ce12cf34c857dfe3a3cf0103623f2e23cdbf7fcc8ea4dbae50270a17a42bdd40e7bc70a914b38736ab8add806b76c729de80e4ba32577bebd3399cfc7fdfe5a6fb26be3ecd6bc10f58fa9af8196236d260ba651c87f09cb5074651899d2da94fd68ec04d9595bdfcac13a384567da78a4e1f4aafc7a6d96bd06e56fcd37474ce43a94d642f6c372e81a1e7ec9e918d8a9b7547", "7dcba26ee9faf206a569a2a0d0ac5d18329eab019b2d63810666d8ee3499cd89b76ee1abbcbef4685d66f59d075dc14ebe0bca909d0ddbb49b804638f45fc680cab7ca5fd6a71173fc86415c154ddae49c770e715e5e664818f33813e7fb87f66f124dd777a7374c44dedc1dffa2b6bbb6f1d78ce79c2bd75ec39a553a54e1a59358a818d8573e063b043f65efe6c0165935eeac7fee7539efff7fc9e990b8f8", "15d2ad5936987551d8e52429eabdde68a7bd063e67e01606876ca555a2eeac073b4ebd5934b64e211f38fc958888dc986c8c329fd225337c01e1ca992c6a67e71be713200548a3643407f2882699ce67cf441f47a94107bba9229b2723dd6ed64825419b1161a34705e75213eee5887acfa99498810e8cf65ba69bd4362908ae98a09ca1364a73ab43fb948e2d628c4b48cc9f5926911813397e02a34d3c7887", "c02fef796de9393640c495e177c8366f08b2c7e2714d8347e7e0172733062d5fa2f605ac626dc1d2620262e758127f647a7bf86f42484b20eacfec3ae680154b20041419fa10b206e3956de8e3e528626a984dc5a0c1d25f6353b1bac4ea132b7d4f5bb24e35061d0800d3f2d9b4a3db208aa118064d055dba3954908dbd1a9b5811145c2fe2afd2567fe69bb12381eef2d8aa54e2bcbcf06bdb5d981112ab4a", "61d18c04b2da973cb1b92831e03f2a719342bb1db4a0be31090c037f3b921cbb514958bba9154b33c9bd90d18072ad405c45acd11ffb2cfaddca7b4f379a05f6f406ba92dc573829ec01a45a5dd0a4b11a37447379de1e88fe4aec80412bf880680930641604529657dd3911a9fb183938e58f027737c8084cc49b48e6f608852fa47f7894f9f221dfea77ccd266c5ab72e6b474047482a5a484b99302360d04", "42981c52740395bd1fe931ac4d69aa079ff3c20c8f41e0573799e4ed0a131d18edc87d5fb5ecb1f83fab3992f65b1a21fe3b3852e21e3a7c14c23b9e925fbc6fe1fc54c1de075366f2a3a98bfb1d2f205271d9cbecd96524b025c43ca146e9edc7ddda466955936bab80844b2216c733264814d15291504bfa86fc2e2731eb4d60a968db11d300312918ef521df4e271a7eb816c6f82365a32d2879b1076f9a7", "a54b59ccf99a9bd1d3123b3dcbfed82e03e32cd8913238cbf15fed0554d27ce353a0e559321b7041ad315bfa1eaef5e381f8e944a277e869a4c141552b2b900338443f6ea1f5c4598978e91d40fb05f70e9f4e7ff097dbcfb7fc738d726d4ac3ba445f8f8092dc02efe1d522f9b0686f4106d8fd1aab9573b7301596a895e0dd5f1e5d9c190724f815b9e3af96312977606dd95e7d12bad197aed3d4e8990183", "79913e2226cb3942e2035a2fce0425cd76bb9a419834a87db2616d540272462e2b9641d70665cb5ed77169fd4f91997fc353b1d2c67173d678458f669b4dae1b2022dbb982a47e393053f9a4f6251dbcbee3f956e5c94e691b164e952e5b6faffa13fe54292a3a4bc0a24380b0aa37f21b46adb17459fc050ba0aa06e2617a0f08b1996f5fabeb738c166c8ad64b46aa669709651f8603acfcfda921691c9bc0", "cd0ec41b770b73b83fba99249ac7d4c9ae390467f939acc45da75f80e3c2197a14e388109a48c41b59a5876faa6a487585fb6f443ce81c0b6fa2d3029e4892b21e15080500eab6692a207c31f9b95a854bbe7bc5de2f21466b31acd8c33c316e5929c4f60652ba999cd1953ea322a70a856ac421c5d3679760dbfbaa3774faf277466e3992496e1e7f5171a1d38a90385ffb5014fb5cdbabe6a498c2a1dd0eef", "9ea41993cd1bc03f9b930559d80f522ca9bea117815a76b6ffc016cc5c6dd219725bd27d77eb2d86043df3012672f07f104d99b213febb67eb7afbd029d711dd767fe82c8f6c353113b98581fc77d239deee6da238b03ef4d9fe1f94583f4ca46d03e9ef6b561482b5b2e94490e9147439be0614cb76a94ccb0f157a7d5f9fa9bb88746d1404204a455c486839ac9bdd9f8b7b9e87e2c446928ea7582a70369f", "f3ad1dd610276dd58969641170f06a02f9ae902ff236bdd5f225d1aabdd33d18a9cad219f661ff9e4ee980ad2c9a7d675d29653baa66b8a800d0e5a3e3043ccc179576b1738ca66574d8357ee51a419091d1b81204956947d7ed886605983a67db21f128e12178a25146cb31b56481a516a618158f06b693fd12e95a2e719b8a2c59d1317d042b61dbac1162036d20b1f42e470e70beea90eb8ac7d3dd3153f2", "a0eae030b02cb9427fc5b3331f87ee11413673029e7b704c12fb6ff793990000b07e51c6247c2821b9a7fea5519cb59d205010a0a8d61f14c3a6e6d4a0a56e074b47be6962bc50efbb87d551f7f2edb050a16dea2ae242b545dec9991c7c0657ef9c8b3eda246bc83daba3d0b4d736e9076ea00880d8cd584c82b57f394090f673c630102b40cfccf88b89cde18dac32b701fafaef40b6b4da92610d9de35506", "89337575556106dbc8d63e5398c3f80907d2e2dc5173f9b25bfb189afdbe93e91ee9e6381b37b79d03298af9ec4347f5c2a6ee7c1db060784793fd841582d756e9ec899d066afa7a87e480255fc2bead29446e121690f7db994904bdeb37b52baa9378948da479c1ccc1a2acabee961338ad89384383a5bc2800a1212be1609b0a93fb957f773e8c706b0aba324941263c744cf82e6fcdcad3f61fc4d9079c4a", "87c8bdf4644c06b3d0392b7eee0bf9b112bc90c505824ce485607a039ae032b3a1b08d04340cc03af12ef6c1a409af124a49cf8e109f48bbcba4a5eb555681376aa65ad72205bcc53b5fa98a1005cbe0c34fc9e245971ae6743a968094ae0dfde27bf0454eb6af260150391efa1c853800f958e7aadaf2c93fdd9b892d666bbaaa7e23e303ad7932d2904f416594a58123208bb1dd84b161c3dc522fab3ea5dd", "5a010dd5af854f928deaa20794d9cbf1fd8fc4c5cd06d311e09cab2bb1b8e36e45bacabf9b2e246cc8e6b2e1728893304b8c476a1dced4561404d53f3816f7af63ffa5576589ee33cfeaa43a9e5861e21b45a81bbb8300c4bbac95b9f9dbb9c50503ff9f6e4cd9cb9106cc8022454bec97a386705163904597fdb86c582301345a624e69cee2b2f18850b6e0f05fae3dee26628eb85dc9929df0782008397745", "1387f82d0416cb810910caad7458eb33e5f215d25b6bda3c74797ae0f3c6011b8dd73776dca3b0e3172e1ba6d73ae5c4ceae3d9a569f4e4db4be567a9497b4fc933c3ddc9c95893f7ca979a31921e8e71913395ab2eb62abd43050528d93ce77addb618c6185ae2dd06879cfda10964e1b08068d2ffe18f69bc6f6d35fba952c4a7f6e51fc1a98168dd42444f6958cedec4b4ce7146c64da1833e376859ff5dc", "a7c53662c30007687a7d69b24b98063308c923761636e43f7cb14b4b865e6f73df2f0cabbbe7d31e81083e91df1eec9602a369d5b0c54c32107f55a4866cd92743ec804256d9c67a7c2be4de7ca39eea31332d73acf470561886571c3635cca62bfa3c96aacbc72a458f1173d77306e52a1fc651d5be9cf6fa163a147028366412144f6f69de1bf87aeb476084e8146a4ae0f156aa8292287580432f82ce84c2", "d229258baa0f320da070138c1c542bf342de984bcb1914e1ec00c79ff257f89168783ab7502745fb18482cbb73bbe25eeb887d361bfb5eb4045268714d9704a8ec12eef23e301517fa5608fdebf41fc2cbfb2259847ad673b2052160ad1cb9c4f39dc8e2f83dbeca3e63cede73c72c437be5b202f9a0ec62bc8fb64da39abec120f559ca5b864c82a7d0996fbf7e79e280036129610b9fb875a8d415e76036b1", "b148a13d9a04ba6ef17afb0e25a6c91a454ec0eded513a567a9824dd3cd16770f4c1dae48854c2cf557139640c1cd121cac974f74f7001aa4927f6bdb4e0fa73676855df520e2af6ac785a420e43e829fa4e77e5de386d58404d42aa57bf56467f98322275df9f1a72fbb03fa8ea8b84356bbcd7159c59ef283a1aec240ef5d25df6e2aaaea36826beb03b0826d4abc8f22837812dafe6c9623517471fc653b9", "10673c1edaab3f72c43bbaccca6d7e57c431173d959194936c77abe1c9de51121a96c3259def6e13ae0e4b5273851211147f5bb68eb2d6b8afef610d1d441dd62c1d4b58cb07ae0fb1459fb4adca6bc4ceb668ff89078a5f7b551ff4938ca67b868375b561b02a4ae0d9deee674f7c463da3c6e3f906691620e8bcd771e2e6dc021f96de49dfa2814c675128c3dbced0c180b9e9a151c4deb1657c8eeda9691d", "90f51ef3c5ec5c487661f814db06fc348a865813d34c5c07d1146922131766c363d264cd54f6cd7a673c9195807e0c6d1bcc717e0def10c8993d646a6805513cf6164d17f4b4ea631903f69d0729669b71e595bc6d9a6c90d6e7ea07c5ef5b3475b02e9c0499143574e3c3a5e7113ee95291f8a4afa383b427d520025e4b84843e923cbe64ab00a2b66215e298d5dadcdfdd95c202936353121b25cc57461099", "83922bda8f9e49a140380ee6707373caa0809408561947696d097bfd375764761d35641adf23b73b28c03d337e24c2c2bbb677510416bad360f6daa719aba4cd33df035e3a5d3f92c6e1105dda2179ee66707074c4ff424a614cf0f65fb6397c0342817a0900ea1622189d6e1865f42897c14e1cfb781078d934bb3e9b82c56379f8cf3a5414db99b26ea0f76db908112258b60062ebbb7ed0f70df3bbe98c27", "a85778013115e2e1438383ea9cde9af751416d76c312b21eaf077510b0d0701b13af17f464332837ac3f433d500f13097c3128f63bc9f170f64167b40cddb61c2246376fb21fc108f7db686c5fc58a3339616bcd45e12b67444020bafe2720108ca1de21475d0d95b87488339329367ca9dd59fb795215eda44f374385aa5e79b52a70c6989f16dc39bc0f350eff9679d00b995d4076df12dc72796b8a8f50b1", "86ca1968815ac1b731eb97200a3709c9b4bbe6dd5acac1374445d30f38344f071c0c2ab1f1848ef3c4c8c3c50a698cf81ca782287452365b3c71d8942e4c434be00fbae1620e6ef353eca4a567360c4215b88af7e4e880a064a9beafcf7b7f66b788eec1d9df52a071dbe360ed995816d8a1d18f685f677f9b3c85d68e967d5d50e7cface661062ae15524784812a2e37a4188659c411f3a9f3237076298aded", "4b0528929f64f67fb8b3aaccf224ec75b206f0162b45a7c43c51623691745b6f5e550c640465d72243f9a8431fc8d3d7ce5a4bbd7368e68f73542fe801e2e0a7dd3561168eb1ac6f2ef03f68ad364bbf0be5c7717c8e6089ff2e1c9da9370aa3354928eb0d8e0981bc18b7652aedc48a767639a2e597c3cfb1273479ff84a93985377e5b66ddcfef2932d16ceead9ef45de94f8c240c84ebe83c264da19ed41a", "2a3e7d226848d48144a7f14097861e791c5d8f89b7118966806fec7c92a6a078a65f8d40469d37bd60da1a44da63a9ca1680ce16d16b1eacf3be569bba99eab9a522894ddc1fd21c2ce5c5211ced70b638cf5ae3675054c1c25b9c0c83af2bee3733c602c7c57a518e6fd16eaf8f2e65966017e6920a3c45d182587aabbfe63da3cfbe3aa1baf3814c0db0a54d0ad24dfc98f010628c0e772382a6e64e848e39", "142576258685aea788c4bbae38cc0e56d161cb4c61e964f8593a0863d1187d7065ba7fba1d5635d08a9b817d307fc1aa50e3d2ccab9a3282b1af89c5923d46bbabf7009f874387084d97fed40c5f0beeccad4cf41b191f8eaf47c59afb577e6786877e07d7e9c4df5974e9b11212f2dc7947a3d95283622adfb5cc10ea8fb22981e1a423d01870fc97e3e6d64bb7523690a44a1434cb26dfba27efa2e99ff8b5", "453448b64fc193c1b14f30a38e8dd341abdba8f2a441f83b699de49a9ecaf89e0ddb7aa55ec8031fd78a106d859aa716cfbc7eff87c2e615894bc067382f1a75029251b152026f7e3d2e6067a560853d152a7986a24d68cccc17ac69d43952987a37380d10392f9b004f1f56a141cab65adf9f3ecba1468be89506c0941b5b59330325a6a8c7578b47ed80b8859544046b709b06fc73d682e420e74a458a2d56", "31213438c9334719556b0da94761a36f6619df09d11dce7324555ddcc5dea353ce5ff3a613e11e2363fcf80288b5cd4dcc6fbbb0e798e1fdd81fb0d0c8c046cc45c9f1d4565c7a348eeb4024a69fae2a83786c13942ced7e5612c097f9d0aa221a6c4a43cae656d99de0b9d82b55d1bfe59b9b150ffc2474a7fe43b4ad85ca9cb7bf0ec7fe30d1ce55915d289c51f467167febf98196283f57e6f93aa180770f", "8f59fabb1f74e632870a2450cc065e7b7cefb160b94a83681ffc09d13130df3f0de8afb16eadc592f5db7a27ee5654eaa7d106b176c792405295dcd1c8b186e6c38f4ad0b352768eaf68e3cc71b0decbf056c52dc77759b7d6360efeb4a314f63fd5c1d48a519fa4a3a76dd920d7e66b65b98e653230b1c08efe0a60dee8584215f59827c5d7cdfc01e5ab541a685ecdaa3561d8abd4b313197102bc544e31ea", "9bcf858f8da8817c14d138d086e10ad9a7f6c888c525268005f10900ecd89fe557c2369e26b74657d6a6a8e361998885562ad1853b88da9ed07ff9ed93431f7f8f71f56a301a48b8c297c15259113ea6441b655e3de65e614fa7e62b70113eba7546fd45f7047aeb873675e22016a34c4c45a43d5f0caf47e8b0c0862dfa9fc6fd2d47dba41ea0255f5dbe87ef16b01161954ef4fb1e07de2a88e5af40d7cf34", "2fc2d979753d8ad7be05e124d5221d1b0987f0c0a0c3f7a45eb20dc78ae781296ae97fb03953d5c166506df0eba71ed1d255f24f4927eb2ca3ad779dcdfe6b4bd966d4e004797230e9d638632c4757d75ca8ea71d2ae788cf1f652ecc3e5e2f4618f08c34b314fb2dc8812a38a68f6d68c3c6cdd443b83b0db40d633e5c6987fea55ea81e33f71dc7cfd89177a8d6250812ec1254f8172f0703aac81afc284c6", "50b09e60a3f73eb762e044c0ec9d2e3f69a3a1d2938c810024e27bf918c36fb124ff343dc650d66dfa930511973b0e9d9f38d7d29f9def91e0a709b8acf229042fcba6eb12646fa1fd15e7bbafece40078d16af566cb5c638c5982c056ce5ee618943f8ec23ed12d837ce26c86f6af16bd095e84df2b2e41a3f1793fac41f3e198830931258f22b6e488f1267ed6c859ed9acddd2de63bb1536524ab60ae1518", "7f7b9bf30bdbd3ff69056cd772cd7c7d36f0ba3d6faec40bef857382433ad28faa7c95b4e5fb0b4df3352858baeed36cb2197c34f1d587f40885a72d9c06914b7eaef9cb4ef32abd6724d62a625fe4ed94ffc8a8d651a3fcb420e15c93bfd034c6fe564c61855c97745d8f2b0ea616720597a07046bac8b12381811679eccf38ec1f80683eced2002d0cd2887024a12dcb377b52c26a819642568c5a7bd47943", "b6fa8ec4e0614ae8d1cd80d53ea6b9ef4897daaae766ecaf63b89e3b2c7aefe41538e6ada1a9f2f127a369d137ff9705e128f7bf929a77016306e524e0f482fb822a513dd6c819834c1240ad6e05ab328fdf1cb0d6b0b84a1060334c3e0c7879769067a012734adf4e5205e920f6ab17e93e194d2fcb57bf7d0fbcfb8986945eef133dd2f01c1155a64aa8d3ef1591fa77cfcb1a2d0d91f5694b1c059ad348d8", "e914f7f3b3e74ac771edf57ed0962f94191fdd13144801978356fb76f04035e8394621a31306f157039345d828c96bbb42a107eca547c2f2d7148fc53f1af4107c5251bdf432d0fc66f79b6d6d0bd4f1d85f15541f306ba3a8ebebd17b7f7476922455324cfa0ca47fcbbb258baf0b2df7d09dc41f52284cd7dbf7d665786c86a4bc5940db36b2a1a80d0069921b50264fe6c1af073c18b86e2ea4c6ec512eaf", "526c57ef7d5f7b1de12585a25fd7dd4046d75a7eafce16228d45ebf421e37bc6493c77627e36e431eacb67970a3cd2df757202dace88ae53690e8ac3f566dd615bab61a24a5ee530a26b9dd919d1a0c520a675394db6c94e461a3c0006cd7c422994b714dc57c0f026eeee5396e3e188ee80485d091927f8dfbbf3b2009323d2099c58dbb9b256afad2d24d1c43b4d15934d6616446d309f45723aa1de923e48", "6e79bd2186a5c84578f4a895f43c9f7336a6c7751262f4ab2db09a3af67f14b8dcc15a79992986f63db39f9ee04da469502ad90cd55f556a67c524b9f610d05eaba8347fb86d7bd1367115a22c5138d60086b90fba66d74bb5901b7cb7386006b77bd196892846e55ad1642d9841ed43c59391e96a02c9c58ec094f211356640efd40e50f3d5e4a07fd9cc8e0784ab6e4e38007280849f27acf065835ce6b037", "c48aa6bd467d3e031e1afa40c93bd789fae12de227a2d989db062f69147bd4dfbe364897e0861f14c2a8c86716930f3bf217cf918303ab96e5c76f6b222e74eea2142a4ccc516d25104a43c883fc593568e68f6c25ff40c5cbb566f425e7de43f12b8d69f51861f4ac1ec3076d9e593b1a8c67a5af7a7e4a7345710e1e716e223808a24ff25946494db8bd5e47b05c1be530c685cea68a2494275c330beb3bad", "143c6e7b667e6c8872108da70e4896accabea7b76163b3c4ee3bf0f3551a24d86aa4ae029579e21e23ca5504658721a0198d79b64270e9f248d588fb6c5a7f6f4f618fba10b03b4d687aba7d4464526d27abc7ae7d3f3669340f1af280ab5efdef1364450cc076e3e046c2fb532edcde528a4b7d393ff33b2bc530066d208d8d7a0229012a1f0f310f3f2345ff84fc68ea8734d26718626a06b029b5b2762c09", "df37782dc76e95d8c84cb883c5517025b42a04de301aef0656e1bf09fa152ea9382d8218ab4dc7d23f50542559b8d2242fed01bc44e560a75f6d2bd3783d87e3230206d4c5f0e046d4da193807f4a53eb0f7234ad4e6c3246ae8f848d7af73a6976f2fb9dbf3d4f190c2e94bb8d98127df13ec6b30a6781bd36a9a90c0e1f9a09231f309ad2a89f94cbbf45f9e0fe34191faf95dd1482a6fea01fb1ed677bc4c", "5c4ca78f8de3527788e7d1efcd6aad0adc3878ea70993ae20937ef0a601730494946f078de2099c62de9af1c47ee4f18216ed5a7268464f210374dbf421d55449c8f399d8824c5a0ff8526a940223ee999a6f945f0ba3eaa672c434ad867ac7adaa46bd3289729c6c7d920dd0d8237bf678d88bde91e0683e72e88fef50bdb23cceb6270acba5aeebd0a834ccf99cd3e6bad8c158f5819f1f1c785fdaa3df505", "d880619740a8a19b7840a8a31c810a3d08649af70dc06f4fd5d2d69c744cd283e2dd052f6b641dbf9d11b0348542bb5708649af70dc06f4fd5d2d69c744cd2839475c9dfdbc1d46597949d9c7e82bf5a08649af70dc06f4fd5d2d69c744cd28397a93eab8d6aecd566489154789a6b0308649af70dc06f4fd5d2d69c744cd283d403180c98c8f6db1f2a3f9c4040deb0ab51b29933f2c123c58386b06fba186a", "b563aac8275730bd4cf89ab32bb4b152be8fae16afab58ab3ea0e825c8ce28ddbe26c8cafef763f1d9c3f30d60335cd0b765b98a11d5cfbe7a2d75e8f8a5e851ee6a17de174d8bea5c1e089beffc99709d6dcc03e578220eccdfa99d3fa0a3d2f6736de041cd783ad7f866df5dcd2a752cfbfc380cf84da5c5dd3fc486cf1adc14d29d9e91737514e8c67d5c5aece4a19216e2b069f53b8ab4acaef17f815004", "61750df604b4ddc333b9e669b218e46bbe50be4b2d3a76e8043e79e98eac204797138e0eae7f39ce256a1a315476039a8f0776a724270f32b32c973d6316f281081970dccb8c13b9f8df927b1dd29eec37f4b68a3e3179a62329bcee1407d00cb1ff2a636a42ca8e939e6a9c56a382289ae5cbb7eb07df1182a7ef10882f28a7fe5d8582a2fb93b4fdf02ccd5b9050b60665771a21c0f35cb29eea40710dec75", "32d13a6e522e33e556b5b084b1e6811157e88ef0a897b6e62d31c984a51957eebf6b1e46ea80b1def31d34a99bb5a630d9127537537dda3f88eaf2bee4c37d859cf91387963e67748e7c09b3e0c1c8ce56937bded53e2b353dcb39e8aafe8ccdf71e82d88df62184750b125bd09064e296c5caca1122ec13aa030cf79ab9394746a377ae2e93a78986fa3531098c3e904a6b0cddaa4c8dea9b807cf63f464dce", "06b741133a836fc85541f7cd567567fb972db462ecbaee424d5b6739d1610b49c782f090ebef367313424bde55f1a0778136b12736f85792d242f6528631887dca216e4b9c68be2d7c070c3a552e97659d27bc3783e0039aa305f8c468fad6b4611c80c8325639a8fcee045877c80d5ef7852775fbe2984cbb0b7373957d888607141129bfbab0439a13c0ff96a1867006e80f3169b5463f5578ae0663fba8fc", "1a8ee9810be01477ac27603d611511406ddc13dafb632055244d1aa9c48bd25220cdb6d866dde2a038d6970831059e4cb9f6c99437f5b18d97701d15c353ef1cc3a102a2aa224b28d8aa3a1b5be2c3cb843b0c358db57058862df57bb72d618bc11bdf853ee3f254a90ae6bf281bf71689d30e46d09cae6f312bda779a09927c6bf5a78e0e3bd633788b84af7bdf832a5130c503c6f14c207d9b37d7000860ba", "dbdb1be943bdd334d497b2667ff2360ed4d679742a349a85720b118c5a6d72d82c7bdd8b3fd4b6ff2ac48b501848114a3392381cc1bbe96cfe561c09381af8a156729fe9ff32ab9bb5af8381e8bfee5971be6ce4f93640c53adf6cd7545ed7d67963207ff164a8bab4f237509b4a1138378b25fc13dc18674cc8dd38b56e1a5ba56fb91206cf8cdf916bd761a38b1a69d9e19269351dbc149c6fd936441d4feb", "d4fd8dec0a4e36e1ee573e4a9229bf826140d8693004efbeee7879b4d4396d647710584c7abd1322a72ec272e77d0840780e03a3cbeb6f1bc034d3b43029d159cb305962fd00525a2ee4c08c8def3300be80acdbc9b72a71992f29dc9e7a2e0e849acbabd18ac462410223565dee57b6d32b462e2c72988252596a0f54c450274678ade9ebc1cc9ba13099b0243619f25cc3e3092b1188e4ab81813df028b61e", "f870496fd68a5cfcab9893c5919bddc1a3700a2734a461a349c2c63cf84c11b0c6746e3d749aac5353f65033646ddf08c017acfeb1971fde9eaa28d52a0940bd547a009a48e2989835f8465dd9398e8842483e5cec0134b98186dd5afc2cc67b5ca3018d291e651ac0f76311777a88265ad7a8c7a5113823adaf09c215abb421971461502cd3db04631ca690e8a47f2fa26645b70553b8920c991d14029a1f15", "df0ce1bd0178f16591520f2151a53cf1a7d093dc2fa78802b0e24f53227a41d43a027eab6356ad4fb00ec1f0b25f5ab4c6cde3b21dd369048b7b03c48dc8d50ba9c74f0861c0daefd2eb3ee175a70624b10e347c3cbdb3366f82f4cd7cc547fdb8aa61fd8d625f46755e9f4de0c26342b18bf9dfbd1291972adc88b71f268b550715e379ae229c6193ab8a9ee63efb654d0c02558540dd41ce8ded2861a942bf", "0584e1b50d800f10f6ed71c24bbdf57e846549f5dbd4c19a7bfa6eb5f3eae1c9300cf1a05f79a6b6505c22d7d51423bcf90c804b78422eb106b6f6f1824a8ff4e636d7fd56a487b9f84d506e1d31cfc81083070096319497a3026a72544296da46c55595812d5f291c40fc5c79361584c222d72100d11bb7f9b3a7d0a7e9319d021f320865f9e78668ff2b53b1bedf8cc1749df956c62c663dc2849eaa6f89bd", "bb9f7d72594a7784b9542c489c9968720a7b63909c4b71549b48f53f760ab672eb0148cf2d551fcd75c92748f4d83e237d4183ade38df1fc83dfecd1873c3105b62f673c936466c2b54af3efddb00818ab838e28580ce2dea3e7a7975f8a4782780b2aee0da2ddeddf1468ea68ed08bb37ec9b6093848189530d79c6b83f93cf44bfa4815987d0b5cec886dab7ce4d7ca69505a312ee9dd5ec14e373f3b785ea", "78f49a8bf13c09d1456dba5adf8ed318d4929a1202d2ee4d9598ad5f82d0c065886d90de5b0db5aaa360730c555bea866c2eac517ac780e9327778ad14dda9feb1eef63e65e5b91e594fd369add2113ee17792797622cda7849fd0ba6d1d25ae824321251aa739efb3d3d10671ab0fcde2712d206a46a7ad18affcc2322f596870e83a9870264d2c93decba66fb61e1e5cb9fe1d6437ac794f1fede9e9ea7190", "0ec873128086df42cd3c655e4cd07de6fd0130442d65481574198ca51b73bb44675fac69f109164a484362ac834a46c952b29f13a19629c47e4dd45262b24fc51ee787daab371a210ccf04744b0a4ce0e8d020ab6d89aac2b4d938b223af2b8e52b86318abeb5c9b8c549a0eb737f2c70d7c50d6d6acd000cc263d673dd9e8e51de2ee9d9a4a4c01750f3810030dafb6adae804a8d4937ddcf6a8b154c5fbcc8", "6de3e2bcc8f15fbbe9d4f5b8ede81c7b1a22ccebfbf57af59bce75463ee333aeda67fd01148cada144b6c87d77aa073ba97e71439732348b447c848497cb1aa3b17b4ebe5547d24cb8b4bb0f600f1b2e17f44674569beb563df1d8d65b88ca151dad2ea419f15d1ecbddf4842abb8fe9155c7d55e8331f87b945ab58e9cff8783620ecb734ef09237980ecadf42349c29e48bf69821be8fea65f0028514d1218", "68519e1c9cb71716eaca86409cb3fcebd0824f9a7644fd5ff7b0cd8d119cfb338faae18866a79c8531b119a3790847636c0cfcc36a5e067d254b73152f451d26be586e5a5af4baaa949d25f93127a21fe5d8d78c91e6c501e31ae790ff1538fb2af33d21c3098cbe2c31949732fb7ddf4a2bc66a2f2a6443c1151bd0e4ed376ebc0806ae7e6f040728e5ff5b8a2cc5aa05a6fa5d6ecfcee62e1a769a08553df7", "e9192de6e18c2212a9dd0a15c6d44ff8436c0c55b601e489a04e8a5dca6d1c27d89cfcd33058732cd62a6e2fa3c2c68b7160dc742636c3510257be5b411c825ed415f0499c162b0d6c7d4e4681576484e9a83e42f37ef1621914c0b1c1aef1d13552e790d303feb0a9d37da4dfb1d8e13bb168f569b4d2de8d771a9fc26aad060ad9d2859b47fbe516f182cae3f1dc8b2e10193a73fd85ab18d861034996363e", "81b452905a7ce49cd1970c2528a81bff37438b0d5fa46be3972a8af9ea42de08b1323016acdc098076a1d96b23f5756aaf17f21a7466e8f9e35a57a1e590531e00e3e06e9139de0d689e7f4dbe4c51e24e27f1cb449904245172a1233414274fa8610296e6ff32efa95fc109a430134f72d9fb7fe3a8f757f247fa479a6be9b709a5755881989137f344cd2863e6662f8920c4d4f9d56518c29bed26f7cdbbe3", "76b4bd5e74a04c232114f7bc2dde69ad03016a4d9caa6221e5af5af6a21d5a6cc6467f7bc474ac39a9e63fb29139fd5568f17dd4fde624602ab51fbb7c342efb32e74ef6beb3f0f7f5d8f1dd182d8508ae76426f709ce483c59ea4fb5d333f436246dd55e2262d5ea838808065a4b675ebdf4096eeac9c2ada7a4b5ae996497349eef97f297c819b4c3ef3f7ea77aa5040f993846d7282e4eade08ef7b69e280", "03c8fe0d084bf989374efb55a1d23d205c771d95028fd2df5d9894e553ae3ae8e495ea9339dde7cd03cc8964a7b09d48836845f4d5e772ac57ceb6ed8132a091db8d580692b5255e5d6304a42dda211b202e95f4a1a1c75b27bf9fb16a376b17325657005cbc1030e13689552163a51e3e0c1cad3f5b9668106b263474221d3615fa81cd5188cda9b3a936cd5353ac22874ec3c0809d05d8e54027b0d86935c0", "fbc9664d90ce4e0714e0f7218ce2a4fbb94f0c11fbf801b593862f268c10dad88807296c34ff60064eabbbc3148fe24645ceadc927d5c29ba0bae863f36baba73af13818e18aff57e7c2a07d42fb9d4e377e0b7eb5cdf89688255d7d3d1b17adfb5339c1eaa893fe50acb8ca84cb6f41ba7273ce67270a0fc575248374e70f7816e1153e0ba2a2b67ae774a6189be6adca806a2e737f5fcb90119110e85c2c08", "e15363715632ef6a4842fa179d62ab8c00048a1163deb50189c0f39138d2893e43272142693d461abcc0af99b766e1c57605220835d15086ad0c05bb0ee42eafb41f70cbbe6bb43b416e2e096444a4958a31c65813192aa6c1e0234e14805ab77d7bb1cf043e0167b415b1fc8343a8d2621d3468c0b18f6b67a84175f19557c16b2eb7d505fc3c5d2a2bc0dc72a54a4ade03a1d9ad4cbc8446ed62139d27598d", "a89be467d7742e8b406b26d1eca536631d095a40fbc71c16f81a88596c6f4dba12656b3b0be04e584d27f015f7ec6175497de0154814317e1545920094a00637caf5504fb3880d848aa4b4ad9dd31066f2862be860698158a46606a527e96d817670bb05692e6bf4dcdf35db9300096b6215bab8716c5a6c6f3253b2c498a2049ef1a17581fe495c58fd801ef0d01c6cb3aea3acf263822df61b8346167bbda4", "8a16f31ba90de9c00b91a469e02536743080ca9665520e469e46770d5824b61e1954d4170284470a40867497cc44274ffe0937c9d2c2c1c573082617c3ab0b525054da5f14fb0b996c6682a4298b04dd071d9d069ce4b7f45fc8b4184c5d508568314d852280955e3bd0278b72bb39e80d57eab841fadb5d56a382a71329c7666a09e78b907cc90ebf3e442567a9cf9d5adf50b7132cace6a7c682327c86ca06", "0acb1c12e8b403dd557fcfe6e0fe39a0abcce80b16c7df02046d4803246fbdf32ea630fdc1260c1ada965fa49eeeca41667bb14005f1dc41b73f6a4091e202f4b69958cc2018ccc4ec596c4d8ebbda4f33a7f669c6f6e2a473cb02e14f3681adca3438489a339cdc104334e4299d368d95c36cf3a59abbda58cdb0b063157258e47175a867f84efa0c840891c2704c4ad8dcc2d3261eb6dff8aa9d954f362dce", "0aa7e6dc522878e4b4285f6fb4c6d910dbf6dfa9cff497e4e5e9acf94d9f875b6a44e104c75da1c18cc8c38fc5dd6a996c65c20ccbfe59f235fae69b335b7bbf1b7383620aac0e3263f2670219225a0af5d7705432bdbed76428da335ae0d1458c31aab01d201cb391fa400c60935dfb71c0cb1c518f16d24defc2c6cc08f760f57d065d6a130dcfab41e1982d111fa5f1a6cbd559919b0a6f176795a490143e", "82c2881ffb531d9aeb8ed181e45c840274e915fe7c68fe739b389c47d7ec37bb0b755682602b410701935fe06f3913b5c8c2673005c9be92ce2eca5254db1780131f88a9ffb089aff222a31f5bd5a1369967d346e51a2f27d2c1c3c1366a294fda19fdbcda143d82258b5b530a8cdec3f9c45894be4854f2ebab12b4a39652a6f0137c3cd4ad999d6ec99e2e2edafeb2380f4baca1d58226938f11cfae22e1f5", "fbab9368d87575fc20764e143a03c57a9adffbce7c0af1763fa46b72b85371c774be61389effc8c6448d85ed3e70241140c242207d6d710823247fe03c84e0f4495aa61ca533f4dd76a84ab01fc147e28ec3fd06ac8dbe5599c7111616feea1b6d5670b216bb9a00a36a7060f83968154ba95c87da09f7de7b8de2a64c9561cdd77c707a7bd457eb864ca32276976822c9738d66825e4b2c933ebe5b19293a94", "62d68f62c6c31a6b4823d70e14b6df69d85e932562469a57f81016d714572aeb33722860d9472d95bcf11037029ae844f435af4f80d8d3e32daeddad9c8c1706a11362e1b297f12e5729817fdfe2c56e14ebcfeff64f288701919a996278337eaa020ca4f0499693e3d5ed635a884d16b308f91e43a1d35a65a77731b6aba15c53d9c7cb27e934d50f618bff9ec6c5009df25ff2d63d4a977a7fa08fa9de8dec", "52aed070d9c9df7f80a864f11359a784e8e69f3be8243c8870cc55b8a3028084e7c6fbeba45e753180902cf79961b8842df8c3397f4998240586b26d3f32d6f407b844f8c876783b36f13d3f426eb7f5634ed36cd9e6858d157f129a93c9b9173972542225ec11d3efda6aa4df27608154b946ee76df14fa38dd8b0ff19e57f24fe406723a67f2bb117f54ffd75513f4d8de3acda796be3226347b062a7e93e8", "41521f410309aa525e0d24a8fd69d0ed6fd71a85211276ce60f20dda50efe01f042a1e742155cd1e177cdd91036c51e289f051cd9fb3e20dbc3514bff025acb220fdede9cb397c9872e506b54942c440eab63e137b17cbff7b9809a58f2911558a334d1b2c8516cbe70f9c31d521d2f68f7599a936832a4a907a2bf6b3ce956a1d9c21e274b31100837e4bb822c186edc4c5704ac586311b115201afb34ad1a3", "3ec0710262ae38c3c3c2a05341dff0fe57b28bc9631d59b03307c0eae22754bc4b2fa823fa648ca6dec00839df02f5946323a12f90041b927fe0b68302ed84a4fc7d8032360ab9617c9f802ffbfe2f76ec35446202241d441f333ea97b3a16458547861075db10245eb723d96df6dfb6824b27203c06d7f34bbcc80cdad693c5f10bd825aa55b9026b93c4a849d19e685a65e56c7cd69e6a62efcedc22f29032", "2698bebac58f462c4e4220862777c895237de5093deb066e722825cf0fc948cb0726be48c01d2023a420e372662585f0e3b0d85794a57f3359c1d99df277498ccdbdb710bf1e9dd4d1cf67ec0120c00751282f3788887e9dfbc0052f97831852f464e487a01e402396c9db16eb4e6e3e5b3fe0bd5ed35885007370c019fc8ff1b4626373e59e39e40e1a826f753d8512dd0ea1b006982412a58abcface5cdd70", "afa29dd110fd6c1140461eada1f28fef7dc356074b1779fd967e702964b49a8bf76d01b69e0226c4965f8a579a54ce37cae60455512f5c3a67162ad4dff46c5070f8b4fec0f3df2d3701768f12470f1bb7391b75bb30713c553daa1b590739848d1fe725de478b93984fb0902c05e8025cdc27b4ed12fd3a35e5a0943070dac5f070d5c1930a84d24883f2f866b7c10a5eaf760ea8b4b536011ef1f6aa3e1442", "4b8cdafe7aaf62ac32eccfd683e33b97a1cfd49d3403d05e45f88a6221ba91f4e19420fd6b54afdafcf45c7fe4fdfcbba32a505275b708acc5d314bb6f1dde73504c16494be36bc04170b200cb310ab02af315885fe4fdc7863802702a7bfb2299c1d29c58c9eb081327e7d5213caaf3c95c8b8f3fdb348420e14563eee44a2c42fe5362f7000765ee762f634c00cc5245ad883c8ec86d940961bc799d0b34a7", "69a64a43f08a01fb5778150f25e401a56a5b7761016fe389bb0836cb58beda6daea8c351ebf995abaabb9647038c526f265958cf7744b2f2034a6e57584cdb4a390097822eac39635fef8eecc037eec892e03584f4ba48446bd3abf4da7d2e2fba5eac5a54185b746b4dc5b22fbdf15e0b1e212730c9205459e77c747d37269c3b6ff4eb4a6547670018227fd669b9d7f2b71fa11e6611b96b89bfa617d834cc", "8216793155a04b38a6a759447b149f1f70badc37fd0be10c91904c98ff54b7e846f16bb18ddcb94da5ea275f0270d50fec803ba0209ba89748992bdd440f010d5925d74c75fdb5c08d6d5017b27036a15f6c09e6a644734a54abde1fc9e2fdc27d768786e47afa785068ad7ec89cde11bd4e0936784f92ad95bcb2618992425262f1e24aed99dbfc2e7e3fc2409d9107f35fbe0a2734c74b011ffa2def2bbabc", "ccd01f5c033f0672397c858c9cce261bd38c3d0639cd6c224b87404405deb1d6d37cb48334bdfc6d3337e969e24afb9fdd51eab9cf237ba617d90aeabc7a235f55fbaee1a0e0438f0dc452741283f14857ae33e12842092757b7c9b78a4d17d6ebd53ede39c15a10908f81c0f54430a12da0edc260cb7eece8f1de17280ac4825bee176dcc17342409a86febce108309d1453be483d2a93d41cdd4cb25a74076", "1cf44e4b017034c6a48b7eb00c1d29ff9175b1848e7b28c92999553ba4047f134023a59fcfb8ec67ec68f8f550f88929e8f1ec08d132662f8cff6bb26c73e91f6137b13341ca46fbc78bb1adfdc146c0ef97e268db9678f99103292587a019eb96032b209f971902295cee4394d0f9ed3dbbbbd31819ce89dca4c79df06b18890dc06b7a18e555b594ca49ac2567dd3effb8cb0e1b4c4b00e8bb3652fb80bd6b", "34a65910de02e60fd24e7e9d79124d47a22795aa88b237606ede9794d4e202a88f7a30a8364f8cecc26623a1fee2c7b635717d4a1adc4c708c0cf75b862789bdde08a5e83cff3598d3f350e8da8a4524597cd8443a11730f9b25914aa4baf76602f7728d4706f2d27f2188d6148c2ae86eb478bf13d6e88116f6f83d464ba94bfde3ff1a959bf017bf520829f87e70232dd90ec9887d7449eb8c4ac00fe0024d", "06b11e5c1616cfcf0b12b37260b1c692a925ca660bb201055faef857ea5af91b710b262dafec77bbf56292e4c17cd41998427b9451a83123463669fce5d5bbc7b91682d04af65fbb6dde85e68f6498160f8fbacdceb9efd141de27f17f505695d9a153472524ec9f5ae888da1921c74d620632bd1a46335339c76914283a44842e92e88f9542afc72b105df70775b95a046fdd067c416a6f4e6fb9008e439ce2", "d40836565695f9c60cb8c14e2f5029d0b424786ddea0db1a4f1257d3b49bdae5e5211f4e366032967735651604913b4a1202387b22f7936373bf8f275d93885c4a5823b11c25ab423252b210d409512eee359c443db4e9ea409559f3d8b4d8f83f4250304407bfa73af3c64c5c2928f7a5d4b72c4c3bc654e54c32ec2c21a4422fe8b16f365278ce0953f3531b01b42ee86c508370a5fc7c30caa70c35209f5b", "89242509fe2a81d33361f6a5bce205f6a003d5c9cf062b94139a2242842df6adc6227f1ada0d2108b7fc3bb67f7f56481da6db804f17888aac79cc9cc96f4a46299d0e031c14ad3b03938b374d351222fe6913515a1e27978827dfd2b44b08d0c144126b1054cfcd6f9f6f23dd604e588ae5d59d7d34fa196c3631ec51d67db55333e436058300a86da2b41340f06063f970115442c0a92959930d1d678998b6", "a6105724daff1aee3f1cef70545a6598af5edae58e9442e46115fd9c40ad9665be161868d3cb927fae6821753898cbff472c63034a87d603ccbce573dd60612aab7594ca72eae7e6b9280c157f8e09d421a5e79fa30225556b4694164d372f9ecb929c66e372bc90cb0a0b5ac5e00442aca84575723fb2cb8de354568a11bdffde58df4c631795358fab233cd152f05c533051cd782ed04a6acaecbb112e5df1", "83081eb3c0ffa6a31464bef8f2162800db954b7c591e6877fd1239e11d34b4cb880f5d6a16f656c7ddac424bb7d070e0d7c06ec7a876e62b1985ff19273e39087455bd45e9f9670db0c53f613bbae387369374e85f9dd3aa59feff07adeeeb48b8ba804e52edb86a1dc775f26f44bf6d98a6c545e06294bb91c3aad7dc9c74bc9fd3d50587c47f655552d8f334f7433b447fcd93346b00cf94d409149179abaa", "094e8f596d63b23f2e84cc1f497b317b0eb7d16c1b4a84516a7303695fdc7621897582f430a93a2d71ad81c7384cb7048ed2603197322d1db1756d9510ce04d85cabc976ae23c0f9f0c21397eeb15cf1e7ee6cf4a2f0af36eab3de56c2d9ffb82a25e363f7e78636834beee3ae8c31672e014395513b2cacf95ee06abaf8efc0abe7d71f830460ba98d9453f6a19769a3c3a5f7787c63de02734b306b7618c5e", "fdc6f257d53d89239637b754a7daa4123f8117ca6de1c12711a62b5d84f79a202b5398045bf870bb17a6de293e22ad501ce513978ae6dbd7d815bea46e88b97db2d060867294331e83e609329bf7ec5218e35ff966512fbb0f589c3c99189c1ace8eece35c9e4e71c636169265dea4b8b9dd77a68bb89f3996de8ca7b883c82e412d4c6838b5fbab99c54551be6cd2c9c2bf56230ee7df31473eef108798a186", "7483922168980b08e93ceca676e7dbcd1fba48dc57feed07e007ba960d355e6ace0e355febf3d6c4bd84743264efbfa6538deb9426f6105fcdae23b97f2d9b3cc04f67dfb0013a609f48876979d7ee1f992d48b491778deda0b9d534c725a24c2da5b9031b210f5d5e0910e655b88cf8320ffd0899cf8837ff8f37812c322204ea6dc6af21bf7b6b8c7c2863e1586c3e9978a632c5dc7e2f9ede4876cd6581fa", "7087ece83be7f847d6f24aec67a80b21a57760d7cf90ab520a32f8f4cd17b6efdcf3a54da2c7da763e63c616ab2f67cab97d64d68e768e7cfb5f04c76e279a7fbebe87b339579fb0cbf4692672d14de1cf806a6bec7b8c403d77b623b341eb50944784e92cb5d0342f6b693acc79a6568b3c7fc2ee93ea47ab6b30436c843f5462d1e7d155b7f0a30f6cfbe2b7b0036f95e17953a32189bc70fae9b667ebefae", "b49c94b4ef277fa560681ee9d6592cae31240588f2d72a86ff6a2b334367c9e1a7f8c390cf41f756bd7c90c194e2025d0dc37cc5d6ac46a066590cdead1ade5a950554c0e8367b474bd0d5866e60618927e4d6981c218e7eff8a4a20a71ea331a3ff5cf223af046eb7ae3a6183d0b2345714e41a42c02987444c88a18f04120aec1cc88f1fe0855fcc6497c1fd2cc503efe81064f4b6270aef56dfdea8316099", "e05aaad657e76e27b295aa656e22f43b47a4db338e95a39825762f39e6e29da46556cb46a76c45d6ca5e61c8d8ff2294fc257aa5f6d44d682c7f51b1bc32d2f6bbfbd6d5ceda5670055e92edd99017d4593e5fc49d1378c774dd4fe272bea67c0dfef85737d507369ad8b609c4ca3e5ba52d1ee5217e4457bfcabd06d8d4b5501e8cb95244a5eafad84fd7b2f87c54fa26e1365f1ffcaaa50fa159fab1e7bfeb", "b3895f21b709d6618fb326a474c929e111bf0ed3a44e6f35808022c2da657c0bff05860332fece4a9fe1b49188e7c82f05e99f28b16ecce9568b1f746380fcf00aae1f19837753d246a5ac5c5a08d8b4ef85aa4ec8c3b17e024126eb50e81c840a0f93450ca01e1ed5117d817f135f7512ecdf1fe3bc465c51763fc967788b343db8ab16f9927326513a92e096272f86e515a19338e33bf0e010bfe98af332de", "e7a7defa6acc34edaf6867ee76a1917eade7428120991a3ab66e033fa0f39ef94ca30d8b7a3596d7679ae0bf6249cf31fe661ebc0e00a03055f461b518074dd7b302752152e777e28fe1512ba81a60a7fe8566cac240c3bf6628c758feeb458b73dc7fb08fc6dcf8e3fd036828605a4380bcca584588498b141c327635c10ae8a84a345dc4b92fb1c711ec91205cb259bffd6e5509647717180c8fb8cc518182", "72bf73883eede4c7afa2db08d5d19c084aff5d215889d78467296d55f46b35955e676a3cdf41862dfebe021c091a48f42c9f4735bc3e2c22ea6f481646195c0f0b98338004ec69420d29d4dc9cf3462e6fa7d22a4461588a6ae3d4003fd5b468dfee34766dc881b88d109bcc038bf86a1f442bd92effe7ae5c3b56de08ea502f93f9d5aba2126690147b77b8f7aa921bdee57835d6a7d55fc875e839e88d2e33", "7a4252f313e9357485d1a2e0e1417989cb6f2c80c19e2aeee71477f5e0748c3d264362e1ba6bb05d556236879bcbd5da52af725ad1aea29e955217dc8a5b13397647a6d57e273afd3a884175703c59a61956bda54c6bf38f327c29b6359c7a1bd3a5f1bcf3b355ec3a07e29010cb742a462edb9ad2142920f5a8e1e1fe87c533389bb99cd57fd5a73b812bc24034eb62c2e3c17c2b52d0f8d65033c8b0b92e6e", "3bd94f9b4f7ec90219acb46c1ac6a8b597db73f8945f3f3d88a5b99c72f7d112e39bbe961feb0b635d4e5709c6270ba848a0233cf216ab252dbf129efc1b0af8c8c3cf54bebaa72d5252848155b84d73486bbe6f49d4393a6c22ccf3c103666ebd738f24dc573a69f6f58672d100c5aa57a893eabfb34e4270027dbd9df9b7dd94bbe5ada3f5045776133b9d0cf826dcd1b458ab635cb005493167560cc23a4d", "c12d6deacc0cb3256e8bb49888cfe3580bb7c397270ff4dec562b6c2a81468c831c303982112e4fab409b3fb51af69e4ef6abbbd1e52f12de44693fcead0b601da48dfa4781839f7c2b43fa11f86f727def889835e10ce34afbc985cc978dbe3eef04d3533b49d2fcbb4d9ad61311a4859cd802f5e6502ec87fe987f13ea54082bb6e5f6d6abadf273be65ac58221d9da10e8c928c8a90627858fb222a672161", "ac204457694bdbddc21a634ab13743a37f67360df1adb7bb090b5649ea63136dfc5408c3feecfd3b556a428bdafb58cfccc58ab4c96b409708a58e5a8edf944f95a710bcbebf004ef37654d125314b4f447d34ede6936bb1ec51643aa668456d7a440e947deb1eed3355d23678c5feebe0c9bd24514d07d03a9212c33f5aa0c8d8b75e6388204caf4d7264ddda2e062f2ef24dc441fbf9e928559daad5922057", "6303b8bae1b14c332df030685bc0a0adf32bd8b6f1431fca361cc555ba91b013cd3d07c525bc110760ab36cb47897e777c5c83c6896a3b70d0a4ca8f405ba22554079ef658f976351e334ece622acfa29c03842761c7dad92b03da3e80be471388d955f6cc73261e889086be607567a1ddf9bf4c6813e194157cb928bc597ffcbad2e851eb11d0bda4e8b3806d37d7e5eca24546e2ccf68542d9dad23b9335e2", "2b05d320464f3fd68e9c8461689a47dad22ca4877d10539062ffb1c22b599586daa9233e66fe12c3bf08527e1ca5ed250a6544c492bee68284559aa29516e83e6849e0dfc569301e77d3beee392ce5a134367cc78ea5283be538e88152be0230de9e7dc3ce05737a7645788cda9202362c5b4c5d792fc20f24f5a232fec877f659c558e2d4639c7630064f8ab91d585170387740910f96fc92a2a188d98d31f6", "e8ed25e6f2b5cd72277cff0831b34d9980566aa183ec0e171ee3539bcdd70c831154e2c415c0a4dbba166cedb8ff10e677546845f85c081aed78a280fde896eab49ee37f88afb3e85676bcaf4cdb8acdf528ee703dd5ec05d7290ec200bbda77df57251e31ea70c6785c72c9a4b19439fa6f45f1713ba7890d983dedd45e2cf05f07606db3000dd60b69c3363efa71f9a6ee1dd8fdbb15b15257ef8b8754e349", "e59604ffc914374ae1ef25c09e3eae08bcec726f68b58b1d8b514e26a0f32e091329dd591da4c203d6cdb2b47ed82e608965ccee9f4ae34374bcf6a6f6d982004382287087c322ba96e1a2e178f142a302725a434d03a6e9ae4f9241bc252ee92e7752be3ce483f5b89ce8e455958ed4d1f60eb23724136c04f54f03434925636d6fcf2ca884cb0b91031cf905b9386b3bb623e4b25dc59770b7bff8bc772068", "c4f4ea4fdd7233ec7d425387cfb2ed5ff71cf31624bac99b18e80d1976968ac7eb62c1fbe008951b781f4ace195573b3ecc4cdcd8f4cb7241d963cab67c030d609cb23f00c71e8f7c885ce8e948d61cba17657e9875e15f80c06168f798646b1e618801123929851a4c7838f97efd8b2418a894d3e7438c3331cc63cd87d1057e6b3f29f40c7a8da7a5a2501718e991c30f4f91fe32a19e6e313603424a56f89", "f1798850ee36bc07a1c9a95352c7147b9a083c24a0b3c655e419e02358f17a08235d4478815b065565d3c366044d19629d3420074961ee72583908d8d0de84949ee3a7889cbbbee77df74273b97ba5d96710df88816a3a6e180610d2c7c43305939cfcb36486cb994f843fc4acaa467ea34eae07d3170f0d40eb1e5a86ff9d17650844b33086f5e36b70c1383ea59d0a442b6b7bcf7b52f2a2fa91a2a2b0e6b6", "4cbd2002032ec927bdf62aaef9c2f8490484db405c68f6b65ce06f27fe1253bfec1e66a9aa34e0ff290ced66e0efd026f69082c91e78cb8b5006972d77ea501cc2e969f52069bb97b8fd3ad9cb70dd832c39904837de32195ee6642ac274117eab545e58caacd00b31f5d4603fda91fc249eb5d2268d95e1a323da630be718e5cd7c82722ea347322befcd8cd7a85e180a34487319ae14c105e8db5754c347b3", "acceaf70e88969fcc1ec9286388b5fb2d086d0d22617186b509b0675193070b773eb057772cd1d573fc29dfa756372c2b3c0e7610f479bf871fbc8f7fbeca8bd31c480abcf18b94ba2c9b2af81687330bda4aa170341c41c6282f58bb420120a6d3ac54e7eefa12cdba25724753f840f4a886817a566ca62e7d195a5766b6ecfc2df80f0401af48020da44c0eb7b387a502f075946707492f125452aab1849b0", "7a415b762daa914e1e9e29e466d4e780cc67fc0f3e662b2652c0864bb83eb7cbdac4ac6e56c249b2e38228790ae1628d95f16a04832d70941d44a3d39409a942a64e66dc1995605dff569a140724a6ac7faa5247f27d66e026accf9dc6fdc2db8040d2519c6838601a3cb8b10afb4db257dfd9743f53ca09d940b18b9989cd64f174dd8f74a19006ac446b12c03c1df38446b08d05a701f19e1c4169698df731", "4c251a5a914cab979d07f19c3da38e3ad678c87d17822b1109cb718fc909fb9ce285ffcbf05facd6eb1f348ccfbcc5b3c634946a49213564aaa34408e8d8f1b26dc531d3f56deec0ec5223589964b296a62b0c7eb3785c559447b73a098859d8dfb6a762c808d190f1439048a9993aef5cd637eadf28499239abbe7d9dec6e2399581c427ffe2321e8288ae147174bde7cd811bb3c78751dab36fc0f87092a7e", "27a9a955ad770f38912dade0a36ff8530fded4bf57aceb950a10afe66bc88b2c5efc7a563ef269d00d90d5b169bf2c6791eff0cf9507160b653d0e19eb050ef90b04c8e21597d44705a6267f05977cd3a0cf2b7d6ed8130e7e80bdf668bb8ed75df11c4ea7def35cfbbedb043dd449c900f3dd213eb5d52ebeece6071589016a56ef0d4bfd8fe621b58fe1dbfafe0658a96cecce18eea088e4606346dce5e7c2", "95b3a1adbcf8d2987c2f2cba58d5f0a4ef6e0301e186b8d62a59acb6eb4be54867136f319f97470fedae743acd6bb0231ab7d60450e9856989e92c06ec014341af3e69f5e54da348868528df895b56458661d8fdebb3eb4d9aba2b854e897b7ae43cbc1c0f53c959e9ee3d2c3c0e87bed291053da3aaf181a40cc6f25c067be5bb329fdc22068ef11566a08c7918125c6eaffee31147b8004fcba000ceb9802e", "a6cadd53a2621482b7d66ecc82dc4ea6431bc0191c3801ac6b705df38c7fffe469043e5002096aca4aaca5ef033cc2c5f884d5c339d9a648ffa9400098c7851b9f5990b3771fcf55b196b7c2723085ad11268daadd411967a6a545986c93b86b7f72387bf68dc6ae8dcfd21c7f57ba70b15f3f5517c5585f345ff751c7bf21dc1a33d396ba180a2cb22998fc05ca47b5525a2c150effb15ffd681006c479f0c5", "06df04188832b10afff94209d2aa1c8a123702de28234dcd3e0a7d36c1aa8449e6fa55e3e1e3d77d8424e87a45e38697755f84c49a99473797268113eb69098888947526035b246d00a630f6201ecc4075d8aa6604de73e2119e264e4c96751f2a67a2e46cf467a0df8f0520bcf4762b2715aba266d9b3f5e8fa67d12f9caac928b07ac3be99f41120655aa77f6433fc264673a92929e792187f87b5fda50cf2" ] from lantern.util import group from collections import Counter from Crypto.Cipher import AES from binascii import hexlify def detect_ecb(ciphertext: bytearray, block_size=AES.block_size): """Needs lots of ciphertext to have repeating blocks""" counter = Counter(hexlify(block) for block in group(ciphertext, block_size)) # If blocks are repeated then it is a good sign that ECB mode was used return max(counter.values()) > 1 # for ciphertext in ciphertexts: # if detect_ecb(bytearray.fromhex(ciphertext)): # print("ECB detected: {}".format(ciphertext))
from dresponse.handler import BaseDresponseHandler class MyHandler(BaseDresponseHandler): def handle(self, root, netns, container_attrs, image_attrs): name = container_attrs['Name'] labels = container_attrs['Config']['Labels'] print 'there are %d labels for container %s:' % (len(labels), name) print '\n'.join(labels.keys())
import csv from pathlib import Path equity_funding = [ {"Company": "CryptoVisors", "Amount": 200000, "Series": "A"}, {"Company": "Flutterwave", "Amount": 65000000, "Series": "D"}, {"Company": "nCino", "Amount": 80000000, "Series": "D"}, {"Company": "Privacy.com", "Amount": 10000000, "Series": "B"}, ] # Create an empty list called `big_raisers` # YOUR CODE HERE! big_raisers = [] # Iterate (loop) through each dictionary in the list of dictionaries. for equity in equity_funding: if equity["Amount"] >= 50000000: big_raisers.append(equity) # print(big_raisers) header = ["Company", "Amount", "Series"] csvpath = Path('large_equity_rounds.csv') print("writting the data to csv file...") with open(csvpath, "w") as csvfile: csvwriter = csv.writer(csvfile, delimiter=",") csvwriter.writerow(header) for item in big_raisers: csvwriter.writerow(item.values()) print(item.keys())
from __future__ import unicode_literals from builtins import object import operator import pytest from context import utils as u from context import units as uns # Fixtures, factories, and test data # noargs, args, kwargs, and args_kwargs are factory functions that # produce memoized functions, where the memo key is generated based on # the function signature when the function is called. def noargs(): @u.memoize def f(): return 'val' return f def args(): @u.memoize def f(arg1, arg2): return 'val_{}_{}'.format(arg1, arg2) return f def kwargs(): @u.memoize def f(kwarg1='one', kwarg2='two'): return 'val_{}_{}'.format(kwarg1, kwarg2) return f def args_kwargs(): @u.memoize def f(arg1, arg2, kwarg1='one', kwarg2='two'): return 'val_{}_{}_{}_{}'.format(arg1, arg2, kwarg1, kwarg2) return f class MemoizeBoundMethodTester(object): @u.memoize def args_kwargs(self, arg1, arg2, kwarg1='one', kwarg2='two'): return 'val_{}_{}_{}_{}'.format(arg1, arg2, kwarg1, kwarg2) test_unit_low = uns.Alphabetic('A') test_unit_high = uns.Alphabetic('ZZZZZZZZZZ') MEMOIZE_PARAMETERS = [ (noargs, [], {}, ''), (args, ['a', 'b'], {}, '_a_b'), (kwargs, ['a', 'b'], {}, '_a_b'), (kwargs, [], {}, '_one_two'), (kwargs, ['a'], {}, '_a_two'), (kwargs, [], {'kwarg1': 'a'}, '_a_two'), (kwargs, [], {'kwarg2': 'b'}, '_one_b'), (kwargs, ['a'], {'kwarg2': 'b'}, '_a_b'), (kwargs, [], {'kwarg1': 'a', 'kwarg2': 'b'}, '_a_b'), (kwargs, [], {'kwarg2': 'b', 'kwarg1': 'a'}, '_a_b'), (args_kwargs, ['a', 'b'], {}, '_a_b_one_two'), (args_kwargs, ['a', 'b', 'c'], {}, '_a_b_c_two'), (args_kwargs, ['a', 'b', 'c', 'd'], {}, '_a_b_c_d'), (args_kwargs, ['a', 'b', 'c'], {'kwarg2': 'd'}, '_a_b_c_d'), (args_kwargs, ['a', 'b'], {'kwarg2': 'd'}, '_a_b_one_d'), (args_kwargs, ['a', 'b'], {'kwarg1': 'c'}, '_a_b_c_two'), (args_kwargs, ['a', 'b'], {'kwarg1': 'c', 'kwarg2': 'd'}, '_a_b_c_d'), (args_kwargs, ['a', 'b'], {'kwarg2': 'd', 'kwarg1': 'c'}, '_a_b_c_d'), ] PRETTY_PARAMETERS = [ ('1234 12345', 10, 0, 1, '1234 12345'), ('1234 12345', 9, 0, 1, '1234\n12345'), ('1234 12345', 5, 0, 1, '1234\n12345'), ('1234 12345', 4, 0, 1, '1234\n1234\n5'), ('1234 12345', 3, 0, 1, '123\n4\n123\n45'), ('1234 12345', 2, 0, 1, '12\n34\n12\n34\n5'), ('1234 12345', 1, 0, 1, '1\n2\n3\n4\n1\n2\n3\n4\n5'), ('1234 12345', 0, 0, 1, '1234 12345'), ('1234 12345', 11, 1, 1, ' 1234 12345'), ('1234 12345', 11, 2, 1, ' 1234\n 12345'), ('1234 12345', 11, 1, 2, ' 1234\n 12345'), ('1234 12345', 11, 6, 1, ' 1234\n 12345'), ('1234 12345', 11, 3, 2, ' 1234\n 12345'), ('1234 12345', 11, 2, 3, ' 1234\n 12345'), ('1234 12345', 11, 7, 1, ' 1234\n 1234\n 5'), ('1234 12345', 11, 8, 1, ' 123\n 4\n 123\n 45'), ('1234 12345', 11, 9, 1, ' 12\n 34\n 12\n 34\n 5'), ('1234 12345', 11, 10, 1, (' 1\n 2\n 3\n 4\n 1\n' ' 2\n 3\n 4\n 5')), ('1234 12345', 11, 11, 1, ' 1234 12345'), ('1234 12345', 11, 12, 1, ' 1234 12345'), ('1234 12345\n\n1234 12345', 10, 0, 1, '1234 12345\n\n1234 12345'), ('1234 12345\n\n1234 12345', 11, 2, 1, ' 1234\n 12345\n\n 1234\n 12345') ] INFINITY_COMP_PARAMS = [ ((u.Infinity(), u.Infinity()), operator.lt, False), ((u.Infinity(), u.Infinity()), operator.le, True), ((u.Infinity(), u.Infinity()), operator.eq, True), ((u.Infinity(), u.Infinity()), operator.ne, False), ((u.Infinity(), u.Infinity()), operator.gt, False), ((u.Infinity(), u.Infinity()), operator.ge, True), ((-u.Infinity(), u.Infinity()), operator.lt, True), ((-u.Infinity(), u.Infinity()), operator.le, True), ((-u.Infinity(), u.Infinity()), operator.eq, False), ((-u.Infinity(), u.Infinity()), operator.ne, True), ((-u.Infinity(), u.Infinity()), operator.gt, False), ((-u.Infinity(), u.Infinity()), operator.ge, False), ((-u.Infinity(), -u.Infinity()), operator.lt, False), ((-u.Infinity(), -u.Infinity()), operator.le, True), ((-u.Infinity(), -u.Infinity()), operator.eq, True), ((-u.Infinity(), -u.Infinity()), operator.ne, False), ((-u.Infinity(), -u.Infinity()), operator.gt, False), ((-u.Infinity(), -u.Infinity()), operator.ge, True), ((u.Infinity(), -u.Infinity()), operator.lt, False), ((u.Infinity(), -u.Infinity()), operator.le, False), ((u.Infinity(), -u.Infinity()), operator.eq, False), ((u.Infinity(), -u.Infinity()), operator.ne, True), ((u.Infinity(), -u.Infinity()), operator.gt, True), ((u.Infinity(), -u.Infinity()), operator.ge, True), ((u.Infinity(), 'ZZZZZZZZZZ9999999999'), operator.lt, False), ((u.Infinity(), 'ZZZZZZZZZZ9999999999'), operator.le, False), ((u.Infinity(), 'ZZZZZZZZZZ9999999999'), operator.eq, False), ((u.Infinity(), 'ZZZZZZZZZZ9999999999'), operator.ne, True), ((u.Infinity(), 'ZZZZZZZZZZ9999999999'), operator.gt, True), ((u.Infinity(), 'ZZZZZZZZZZ9999999999'), operator.ge, True), ((u.Infinity(), test_unit_high), operator.lt, False), ((u.Infinity(), test_unit_high), operator.le, False), ((u.Infinity(), test_unit_high), operator.eq, False), ((u.Infinity(), test_unit_high), operator.ne, True), ((u.Infinity(), test_unit_high), operator.gt, True), ((u.Infinity(), test_unit_high), operator.ge, True), ((-u.Infinity(), ' '), operator.lt, True), ((-u.Infinity(), ' '), operator.le, True), ((-u.Infinity(), ' '), operator.eq, False), ((-u.Infinity(), ' '), operator.ne, True), ((-u.Infinity(), ' '), operator.gt, False), ((-u.Infinity(), ' '), operator.ge, False), ((-u.Infinity(), test_unit_low), operator.lt, True), ((-u.Infinity(), test_unit_low), operator.le, True), ((-u.Infinity(), test_unit_low), operator.eq, False), ((-u.Infinity(), test_unit_low), operator.ne, True), ((-u.Infinity(), test_unit_low), operator.gt, False), ((-u.Infinity(), test_unit_low), operator.ge, False), ] # Tests @pytest.mark.parametrize('factory, args, kwargs, suffix', MEMOIZE_PARAMETERS) def test_memoize_vals(factory, args, kwargs, suffix): """The memoized function produced by ``factory`` should produce a value with the given ``suffix`` when passed the given ``args`` and ``kwargs`` values, and it should return the same value when called multiple times with the same arguments. """ function = factory() test_val = 'val{}'.format(suffix) return_val1 = function(*args, **kwargs) return_val2 = function(*args, **kwargs) assert return_val1 == test_val and return_val2 == test_val @pytest.mark.parametrize('factory, args, kwargs, suffix', MEMOIZE_PARAMETERS) def test_memoize_keys_key_generation(factory, args, kwargs, suffix): """The memoized function produced by ``factory`` should have a ``_cache`` dictionary attribute that has a key with the given ``suffix`` when passed the given ``args`` and ``kwargs`` values. """ function = factory() test_key = 'f{}'.format(suffix) function(*args, **kwargs) assert test_key in function._cache def test_memoize_bound_method_value(): """Memoizing a bound method should produce the correct value when called multiple times with the same arguments. """ test_object = MemoizeBoundMethodTester() return_val1 = test_object.args_kwargs('1', '2', kwarg2='3') return_val2 = test_object.args_kwargs('1', '2', kwarg2='3') test_val = 'val_1_2_one_3' assert return_val1 == test_val and return_val2 == test_val def test_memoize_bound_method_key(): """Memoizing a bound method should attach the ``_cache`` dict to the object the method is bound to rather than the function, with the correct key. """ test_object = MemoizeBoundMethodTester() test_object.args_kwargs('1', '2', kwarg2='3') test_key = 'args_kwargs_1_2_one_3' assert test_key in test_object._cache assert not hasattr(MemoizeBoundMethodTester.args_kwargs, '_cache') def test_memoize_multiple_calls(): """The memoized function produced by, e.g., the ``args_kwargs`` factory function should have a ``_cache`` dictionary attribute that retains key/value pairs whenever the function is called multiple times with different arguments. Calling the function multiple times with the same arguments should return the same result. """ function = args_kwargs() return_val1 = function('a', 'b') length1 = len(function._cache) return_val2 = function('1', '2', '3', '4') length2 = len(function._cache) return_val3 = function('a', 'b') length3 = len(function._cache) return_val4 = function('1', '2', '3', '4') length4 = len(function._cache) assert (return_val1 == return_val3 and return_val1 != return_val2 and return_val2 == return_val4 and length1 == 1 and length2 == 2 and length3 == 2 and length4 == 2) @pytest.mark.parametrize('x, max_line_width, indent_level, tab_width, y', PRETTY_PARAMETERS) def test_pretty_output(x, max_line_width, indent_level, tab_width, y): """The u.pretty function should give the output ``y`` when passed input text ``x`` and the given parameters: ``max_line_width``, ``indent_level``, and ``tab_width``. """ teststr = u.pretty(x, max_line_width, indent_level, tab_width) assert teststr == y @pytest.mark.parametrize('values, op, expected', INFINITY_COMP_PARAMS) def test_infinity_comparisons(values, op, expected): """The given values tuple should produce the expected truth value when compared via the given operator, op.""" assert op(*values) == expected
from datetime import datetime from logging import info, warning, error import time import scd30_i2c from lib import common from lib.measurement import Measurement from lib.user_config import user_config # # CO₂, temperature & humidity sensor (SCD30) # scd30: scd30_i2c.SCD30 firmware_version: int temperature_offset_correction_next: datetime def init(): global scd30 global firmware_version info("Init SCD30 sensor") scd30 = scd30_i2c.SCD30() scd30.stop_periodic_measurement() # just in case was left active in a previous run firmware_version = scd30.get_firmware_version() if firmware_version is None: error("Problem communicating with SCD30 sensor, trying to reset") scd30.soft_reset() time.sleep(5) firmware_version = scd30.get_firmware_version() if firmware_version is None: raise Exception("Not able to communcate with SCD30 sensor") scd30.set_measurement_interval(int(common.measurement_interval.total_seconds())) scd30.set_temperature_offset(0) info(f"SCD30 auto self calibration: {user_config.scd30_auto_self_calibration}") scd30.set_auto_self_calibration(user_config.scd30_auto_self_calibration) scd30.start_periodic_measurement() info(f"SCD30 Started measuring every {scd30.get_measurement_interval()} seconds") global temperature_offset_correction_next temperature_offset_correction_next = datetime.now() + common.scd30_temperature_offset_correction_interval read() # Test read def close(): global scd30 if scd30: info("SCD30 Stop measuring") scd30.stop_periodic_measurement() def read(real_temperature: float = None) -> Measurement.SCD30: global scd30 global temperature_offset_correction_next data = None info("SCD30 wait for measurement") max_count: int = 10 while max_count > 0: max_count = max_count - 1 time.sleep(2) if scd30.get_data_ready(): m = scd30.read_measurement() if m and m[0] != 0: data = Measurement.SCD30() data.co2_ppm = m[0] data.temperature = m[1] data.humidity = m[2] data.firmware_version = firmware_version # Reajust temperature offset if real_temperature is not None and datetime.now() > temperature_offset_correction_next: temperature_offset_correction_next = datetime.now() + common.scd30_temperature_offset_correction_interval data.temperature_offset = data.temperature + scd30.get_temperature_offset() - real_temperature info(f"Recalculated offset temperature {data.temperature_offset}") if data.temperature_offset < 0: data.temperature_offset = 0 if data.temperature_offset > common.scd30_temperature_offset_max: data.temperature_offset = common.scd30_temperature_offset_max scd30.set_temperature_offset(data.temperature_offset) else: data.temperature_offset = scd30.get_temperature_offset() info(f"CO2 = {data.co2_ppm}, temperature = {data.temperature}, temperature_offset = {data.temperature_offset}, humidity = {data.humidity}") if not data: warning("Failed to read SCD30 data, sensor not ready") return data
# Python Program to find Factorial of a Number number = int(input(" Please enter any Number to find factorial : ")) fact = 1 for i in range(1, number + 1): fact = fact * i print("The factorial of %d = %d" %(number, fact))
#!/usr/bin/python3 # generate data for plot import pigpio import time import board import busio import adafruit_ads1x15.ads1115 as ADS from adafruit_ads1x15.analog_in import AnalogIn def main(): try: i2c = busio.I2C(board.SCL, board.SDA) ads = ADS.ADS1115(i2c) chan = AnalogIn(ads, ADS.P3) pi = pigpio.pi() pi.hardware_PWM(13, 0, 0) for frequency in [10000, 20000, 30000, 40000, 50000, 60000, 70000, 80000, 90000, 100000]: pi.hardware_PWM(13, frequency, 10000) with open("HardwareAvgDataF"+str(frequency)+".txt", 'w') as f: f.write("# pwm avgADC varADC \n") for temp in range(1, 101): pi.hardware_PWM(13, frequency,temp*10000) startTime = time.time() tmp = [] while time.time()-startTime < 10: tmp.append(chan.voltage) time.sleep(0.1) tmp = np.array(tmp) f.write("{:>5.3f}\t{:>5.3f}\t{:>5.3f}\n".format( temp/100*3.3, np.mean(tmp), np.var(tmp))) print("finish "+str(temp)+"%") except (KeyboardInterrupt, SystemExit): print("Keyboard Interrupt") finally: pi.hardware_PWM(13, 0, 0) pi.stop() if __name__ == '__main__': main()
import cv2 import os GaussianNoise_path = './img/Gaussian_Noise.jpg' SaltPepperNoise_path = './img/SaltPepper_Noise.jpg' # 均值滤波 def meanfilter(img, kernel_size=5): return cv2.blur(img, (kernel_size, kernel_size)) # 高斯平滑 def guassianfilter(img, kernel_size=5): return cv2.GaussianBlur(img, (kernel_size, kernel_size), 0) # 中值滤波 def medianfilter(img, kernel_size=5): return cv2.medianBlur(img, kernel_size) def img_process(img_path, export_path, filter, kernel_size): filterlabel = { 'mean': meanfilter, 'guassian': guassianfilter, 'median': medianfilter } assert filter in filterlabel, 'filter name ERROR' img_name = os.path.split(img_path)[-1].split('.')[0] img = cv2.imread(img_path, cv2.IMREAD_GRAYSCALE) new_img = filterlabel[filter](img, kernel_size) cv2.imwrite(os.path.join(export_path, '%s_%s.jpg' % (img_name, filter)), new_img) if __name__ == '__main__': export_path = './hw1-1' if not os.path.isdir(export_path): os.mkdir(export_path) filters = ['mean', 'guassian', 'median'] for filter in filters: img_process(GaussianNoise_path, export_path, filter, kernel_size=5) img_process(SaltPepperNoise_path, export_path, filter, kernel_size=5)
import numpy as np import pygame as pg import random import math class Board: def __init__(self, w, h): self.x_pos = 0 self.y_pos = 0 self.width = w self.height = h self.cell_size = 50 self.snake = [[int(self.height/2),int(self.width/2)]]*3 self.board = np.zeros((self.height,self.width)) self.board[int(self.height/2),int(self.width/2)] = 1 self.facing = "LEFT" self.generate_fruit() def draw(self, screen): for x in range(self.width): for y in range(self.height): pg.draw.rect(screen, pg.Color("gray"), (self.x_pos+(self.cell_size*x), self.y_pos+(self.cell_size*y),self.cell_size,self.cell_size), 1) cell_color = None if self.board[y,x] == 1: cell_color = pg.Color("green") if self.board[y,x] == 2: cell_color = pg.Color("red") if cell_color != None: pg.draw.rect(screen, cell_color, (self.x_pos+(self.cell_size*x), self.y_pos+(self.cell_size*y),self.cell_size,self.cell_size)) # white, white, black, black eye_coords = [(0,0), (0,0), (0,0), (0,0)] if [y,x] == self.snake[0]: if self.facing == "LEFT" or self.facing == "RIGHT": eye_coords[0] = (self.x_pos+(self.cell_size*x)+(self.cell_size/2), self.y_pos+(self.cell_size*y)+(self.cell_size/5)) eye_coords[1] = (self.x_pos+(self.cell_size*x)+(self.cell_size/2), self.y_pos+(self.cell_size*y)+(self.cell_size*4/5)) if self.facing == "LEFT": eye_coords[2] = (self.x_pos+(self.cell_size*x)+(self.cell_size/2)-self.cell_size/10, self.y_pos+(self.cell_size*y)+(self.cell_size/5)) eye_coords[3] = (self.x_pos+(self.cell_size*x)+(self.cell_size/2)-self.cell_size/10, self.y_pos+(self.cell_size*y)+(self.cell_size*4/5)) else: eye_coords[2] = (self.x_pos+(self.cell_size*x)+(self.cell_size/2)+self.cell_size/10, self.y_pos+(self.cell_size*y)+(self.cell_size/5)) eye_coords[3] = (self.x_pos+(self.cell_size*x)+(self.cell_size/2)+self.cell_size/10, self.y_pos+(self.cell_size*y)+(self.cell_size*4/5)) else: eye_coords[0] = (self.x_pos+(self.cell_size*x)+(self.cell_size/5), self.y_pos+(self.cell_size*y)+(self.cell_size/2)) eye_coords[1] = (self.x_pos+(self.cell_size*x)+(self.cell_size*4/5), self.y_pos+(self.cell_size*y)+(self.cell_size/2)) if self.facing == "UP": eye_coords[2] = (self.x_pos+(self.cell_size*x)+(self.cell_size/5), self.y_pos+(self.cell_size*y)+(self.cell_size/2)-self.cell_size/10) eye_coords[3] = (self.x_pos+(self.cell_size*x)+(self.cell_size*4/5), self.y_pos+(self.cell_size*y)+(self.cell_size/2)-self.cell_size/10) else: eye_coords[2] = (self.x_pos+(self.cell_size*x)+(self.cell_size/5), self.y_pos+(self.cell_size*y)+(self.cell_size/2)+self.cell_size/10) eye_coords[3] = (self.x_pos+(self.cell_size*x)+(self.cell_size*4/5), self.y_pos+(self.cell_size*y)+(self.cell_size/2)+self.cell_size/10) pg.draw.circle(screen, pg.Color("white"),eye_coords[0],self.cell_size/5) pg.draw.circle(screen, pg.Color("white"),eye_coords[1],self.cell_size/5) pg.draw.circle(screen, pg.Color("black"),eye_coords[2],self.cell_size/10) pg.draw.circle(screen, pg.Color("black"),eye_coords[3],self.cell_size/10) def update(self, input, score, sound): current_direction = self.facing if input.left or input.right or input.up or input.down: if not self.new_facing_backwards(input.presses[-1]): self.facing = input.presses[-1] if self.facing != current_direction: sound.move(input.presses[-1]) elif input.most_recent != None: if not self.new_facing_backwards(input.most_recent): self.facing = input.most_recent if self.facing != current_direction: sound.move(input.most_recent) next_coord = self.snake[0].copy() if self.facing == "LEFT": next_coord[1] -= 1 elif self.facing == "RIGHT": next_coord[1] += 1 elif self.facing == "UP": next_coord[0] -= 1 elif self.facing == "DOWN": next_coord[0] += 1 next_coord[0] = next_coord[0] % self.height next_coord[1] = next_coord[1] % self.width eat = False if self.board[next_coord[0],next_coord[1]] == 1: # snake if next_coord == self.snake[-1]: self.board[self.snake[-1][0],self.snake[-1][1]] = 0 else: return False, eat elif self.board[next_coord[0],next_coord[1]] == 2: self.snake.append([self.snake[-1][0],self.snake[-1][1]]) self.generate_fruit() eat = True else: self.board[self.snake[-1][0],self.snake[-1][1]] = 0 for s in range(len(self.snake)-1,0,-1): self.snake[s] = self.snake[s-1].copy() self.board[next_coord[0],next_coord[1]] = 1 self.snake[0] = next_coord return True, eat def new_facing_backwards(self, new_facing): new_left = self.facing == "RIGHT" and new_facing == "LEFT" new_right = self.facing == "LEFT" and new_facing == "RIGHT" new_up = self.facing == "DOWN" and new_facing == "UP" new_down = self.facing == "UP" and new_facing == "DOWN" if new_left or new_right or new_up or new_down: return True else: return False def generate_fruit(self): flat = self.board.copy().ravel() free_indices = [] for i in range(len(flat)): if flat[i] == 0.0: free_indices.append(i) random_index = free_indices[random.randint(0,len(free_indices)-1)] x_index = random_index % self.width y_index = math.floor(random_index/self.width) self.board[y_index,x_index] = 2
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- try: from ._models_py3 import AccessKeys from ._models_py3 import ArmDisasterRecovery from ._models_py3 import ArmDisasterRecoveryListResult from ._models_py3 import AuthorizationRule from ._models_py3 import AuthorizationRuleListResult from ._models_py3 import AvailableCluster from ._models_py3 import AvailableClustersList from ._models_py3 import CaptureDescription from ._models_py3 import CheckNameAvailabilityParameter from ._models_py3 import CheckNameAvailabilityResult from ._models_py3 import Cluster from ._models_py3 import ClusterListResult from ._models_py3 import ClusterQuotaConfigurationProperties from ._models_py3 import ClusterSku from ._models_py3 import ConnectionState from ._models_py3 import ConsumerGroup from ._models_py3 import ConsumerGroupListResult from ._models_py3 import Destination from ._models_py3 import EHNamespace from ._models_py3 import EHNamespaceIdContainer from ._models_py3 import EHNamespaceIdListResult from ._models_py3 import EHNamespaceListResult from ._models_py3 import Encryption from ._models_py3 import ErrorResponse from ._models_py3 import EventHubListResult from ._models_py3 import Eventhub from ._models_py3 import Identity from ._models_py3 import KeyVaultProperties from ._models_py3 import NWRuleSetIpRules from ._models_py3 import NWRuleSetVirtualNetworkRules from ._models_py3 import NetworkRuleSet from ._models_py3 import Operation from ._models_py3 import OperationDisplay from ._models_py3 import OperationListResult from ._models_py3 import PrivateEndpoint from ._models_py3 import PrivateEndpointConnection from ._models_py3 import PrivateEndpointConnectionListResult from ._models_py3 import PrivateLinkResource from ._models_py3 import PrivateLinkResourcesListResult from ._models_py3 import RegenerateAccessKeyParameters from ._models_py3 import Resource from ._models_py3 import Sku from ._models_py3 import Subnet from ._models_py3 import SystemData from ._models_py3 import TrackedResource from ._models_py3 import UserAssignedIdentity from ._models_py3 import UserAssignedIdentityProperties except (SyntaxError, ImportError): from ._models import AccessKeys # type: ignore from ._models import ArmDisasterRecovery # type: ignore from ._models import ArmDisasterRecoveryListResult # type: ignore from ._models import AuthorizationRule # type: ignore from ._models import AuthorizationRuleListResult # type: ignore from ._models import AvailableCluster # type: ignore from ._models import AvailableClustersList # type: ignore from ._models import CaptureDescription # type: ignore from ._models import CheckNameAvailabilityParameter # type: ignore from ._models import CheckNameAvailabilityResult # type: ignore from ._models import Cluster # type: ignore from ._models import ClusterListResult # type: ignore from ._models import ClusterQuotaConfigurationProperties # type: ignore from ._models import ClusterSku # type: ignore from ._models import ConnectionState # type: ignore from ._models import ConsumerGroup # type: ignore from ._models import ConsumerGroupListResult # type: ignore from ._models import Destination # type: ignore from ._models import EHNamespace # type: ignore from ._models import EHNamespaceIdContainer # type: ignore from ._models import EHNamespaceIdListResult # type: ignore from ._models import EHNamespaceListResult # type: ignore from ._models import Encryption # type: ignore from ._models import ErrorResponse # type: ignore from ._models import EventHubListResult # type: ignore from ._models import Eventhub # type: ignore from ._models import Identity # type: ignore from ._models import KeyVaultProperties # type: ignore from ._models import NWRuleSetIpRules # type: ignore from ._models import NWRuleSetVirtualNetworkRules # type: ignore from ._models import NetworkRuleSet # type: ignore from ._models import Operation # type: ignore from ._models import OperationDisplay # type: ignore from ._models import OperationListResult # type: ignore from ._models import PrivateEndpoint # type: ignore from ._models import PrivateEndpointConnection # type: ignore from ._models import PrivateEndpointConnectionListResult # type: ignore from ._models import PrivateLinkResource # type: ignore from ._models import PrivateLinkResourcesListResult # type: ignore from ._models import RegenerateAccessKeyParameters # type: ignore from ._models import Resource # type: ignore from ._models import Sku # type: ignore from ._models import Subnet # type: ignore from ._models import SystemData # type: ignore from ._models import TrackedResource # type: ignore from ._models import UserAssignedIdentity # type: ignore from ._models import UserAssignedIdentityProperties # type: ignore from ._event_hub_management_client_enums import ( AccessRights, ClusterSkuName, CreatedByType, DefaultAction, EncodingCaptureDescription, EndPointProvisioningState, EntityStatus, KeyType, ManagedServiceIdentityType, NetworkRuleIPAction, PrivateLinkConnectionStatus, ProvisioningStateDR, PublicNetworkAccessFlag, RoleDisasterRecovery, SkuName, SkuTier, UnavailableReason, ) __all__ = [ 'AccessKeys', 'ArmDisasterRecovery', 'ArmDisasterRecoveryListResult', 'AuthorizationRule', 'AuthorizationRuleListResult', 'AvailableCluster', 'AvailableClustersList', 'CaptureDescription', 'CheckNameAvailabilityParameter', 'CheckNameAvailabilityResult', 'Cluster', 'ClusterListResult', 'ClusterQuotaConfigurationProperties', 'ClusterSku', 'ConnectionState', 'ConsumerGroup', 'ConsumerGroupListResult', 'Destination', 'EHNamespace', 'EHNamespaceIdContainer', 'EHNamespaceIdListResult', 'EHNamespaceListResult', 'Encryption', 'ErrorResponse', 'EventHubListResult', 'Eventhub', 'Identity', 'KeyVaultProperties', 'NWRuleSetIpRules', 'NWRuleSetVirtualNetworkRules', 'NetworkRuleSet', 'Operation', 'OperationDisplay', 'OperationListResult', 'PrivateEndpoint', 'PrivateEndpointConnection', 'PrivateEndpointConnectionListResult', 'PrivateLinkResource', 'PrivateLinkResourcesListResult', 'RegenerateAccessKeyParameters', 'Resource', 'Sku', 'Subnet', 'SystemData', 'TrackedResource', 'UserAssignedIdentity', 'UserAssignedIdentityProperties', 'AccessRights', 'ClusterSkuName', 'CreatedByType', 'DefaultAction', 'EncodingCaptureDescription', 'EndPointProvisioningState', 'EntityStatus', 'KeyType', 'ManagedServiceIdentityType', 'NetworkRuleIPAction', 'PrivateLinkConnectionStatus', 'ProvisioningStateDR', 'PublicNetworkAccessFlag', 'RoleDisasterRecovery', 'SkuName', 'SkuTier', 'UnavailableReason', ]
import os import sys import json import time import os.path import hashlib from bottle import Bottle, template, static_file, request, response, redirect _VERSION = 150909 _DEBUG = True _CODEDIR = os.path.dirname(__file__) _SECRET = 'SUPERSECRETPASSPHRASE' _COOKIE_TTL = 3600 * 24 * 7 _TIME_FMT = '%d %b %Y %H:%M:%S %Z' _SESS_DIR = '/var/tmp/ppwebSessions' class wappLogger(object): def log(self, *args): print(*args, file=sys.stderr) def dbg(self, *args): self.log('DEBUG -', *args) class wappMessages(object): _msgs = None _sess = None def __init__(self, sess): self._sess = sess self._msgs = sess.jsonRead('messages') if self._msgs is None: self._msgs = dict() def error(self, msg): self._msgs[time.time()] = ('ERROR', msg) self._sess.jsonWrite('messages', self._msgs) def info(self, msg): self._msgs[time.time()] = ('INFO', msg) self._sess.jsonWrite('messages', self._msgs) def getAll(self): m = list() for mk in sorted(self._msgs.keys()): m.append(self._msgs[mk]) self._msgs = dict() self._sess.jsonWrite('messages', self._msgs) return m class wappSession(object): ID = None since = None until = None dirPath = None Log = wappLogger() def __init__(self, cookie): self.ID = cookie['sess'] self.since = cookie['since'] self.until = cookie['until'] self._initFS() def sinceTime(self): return time.strftime(_TIME_FMT, time.localtime(self.since)) def untilTime(self): return time.strftime(_TIME_FMT, time.localtime(self.until)) def _initFS(self): self.dirPath = os.path.join(_SESS_DIR, self.ID[0], self.ID[1], self.ID) os.makedirs(self.dirPath, mode=0o770, exist_ok=True) self.Log.dbg('session dir:', self.dirPath) def writeFile(self, fname, content): self.Log.dbg('session writeFile:', fname) fpath = os.path.join(self.dirPath, fname) with open(fpath, 'w') as fh: fh.truncate() fh.write(content) fh.close() def readFile(self, fname): self.Log.dbg('session readFile:', fname) fpath = os.path.join(self.dirPath, fname) with open(fpath, 'r') as fh: content = fh.read() fh.close() return content def jsonRead(self, fname): try: content = self.readFile(fname + '.json') return json.loads(content) except: return None def jsonWrite(self, fname, data): content = json.dumps(data) self.writeFile(fname + '.json', content) class ppWebApp(Bottle): _tmpl = None Req = None Log = None Msg = None Resp = None Sess = None _startTime = None def __init__(self): self.Log = wappLogger() self.Log.dbg('init') self.Req = request self.Resp = response return super(ppWebApp, self).__init__() def _setTemplate(self, tname): self._tmpl = os.path.join('ppweb', 'templates', tname) def Run(self): self.Log.dbg('Run') return super(ppWebApp, self).run(host='jrmsdev.local', debug=_DEBUG) def Start(self, tmpl='index.html'): self.Log.dbg('Start:', self.Req) self._startTime = time.time() self._setTemplate(tmpl) cookie = self._loadCookie() self._loadSess(cookie) def _loadCookie(self): cn = hashlib.md5(str(_SECRET+'ppweb').encode()).hexdigest() self.Log.dbg('cookie name:', cn) c = self.Req.get_cookie(cn, secret=_SECRET) self.Log.dbg('cookie:', c) if c: return c else: tinit = time.time() cd = { 'since': tinit, 'sess': hashlib.md5(str(time.time()).encode()).hexdigest(), 'until': tinit + _COOKIE_TTL, } self.Resp.set_cookie(cn, cd, secret=_SECRET, max_age=_COOKIE_TTL) self.Log.dbg('cookie set:', cd) return cd def _loadSess(self, cookie): self.Log.dbg('Session:', cookie['sess']) self.Sess = wappSession(cookie) self.Msg = wappMessages(self.Sess) def Render(self, tmplData=None, tmpl=None): self.Log.dbg('Render') tmplArgs = { 'wappVersion': _VERSION, 'wappMessages': self.Msg.getAll(), 'wappSession': self.Sess, 'wappCurTime': time.strftime(_TIME_FMT, time.localtime()), 'wappEditorSrc': '', 'wappExecOutput': None, } if tmpl is not None: self._setTemplate(tmpl) if tmplData is None: tmplData = dict() tmplArgs.update(tmplData) self.Log.dbg('tmplArgs:', tmplArgs) tmplArgs.update({'wappTook': '%.5f' % (time.time() - self._startTime)}) return template("% include('{}')".format(self._tmpl), **tmplArgs) def StaticFile(self, filename): self.Log.dbg('StaticFile') return static_file(filename, root=os.path.join(_CODEDIR, 'static')) def CodeSave(self, code): self.Log.dbg('CodeSave') fname = 'editor.src' self.Sess.writeFile(fname, code) return static_file(fname, root=self.Sess.dirPath, download='ppweb.src') def Redirect(self, location): self.Log.dbg('Redirect') return redirect(location) # create wapp wapp = ppWebApp() # load views / routes from .views.index import * from .views.program import *
""" Greynir: Natural language processing for Icelandic Basic classes module Copyright (C) 2021 Miðeind ehf. This software is licensed under the MIT License: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. This module contains basic functions that are used by the settings module and other modules. These functions have been extracted from the settings module to avoid circular imports or module references. """ from typing import ( Callable, Iterable, Iterator, List, Optional, ) import os import locale from contextlib import contextmanager from pkg_resources import resource_stream # The locale used by default in the changedlocale function _DEFAULT_LOCALE = ("IS_is", "UTF-8") # A set of all valid verb argument cases ALL_CASES = frozenset(("nf", "þf", "þgf", "ef")) ALL_GENDERS = frozenset(("kk", "kvk", "hk")) ALL_NUMBERS = frozenset(("et", "ft")) SUBCLAUSES = frozenset(("nh", "nhx", "falls", "spurns")) REFLPRN = {"sig": "sig_hk_et_þf", "sér": "sig_hk_et_þgf", "sín": "sig_hk_et_ef"} REFLPRN_CASE = {"sig": "þf", "sér": "þgf", "sín": "ef"} REFLPRN_SET = frozenset(REFLPRN.keys()) # BÍN compressed file format version (used in tools/binpack.py and bincompress.py) BIN_COMPRESSOR_VERSION = b"Greynir 02.00.00" assert len(BIN_COMPRESSOR_VERSION) == 16 BIN_COMPRESSED_FILE = "ord.compressed" @contextmanager def changedlocale( new_locale: Optional[str] = None, category: str = "LC_COLLATE" ) -> Iterator[Callable[[str], str]]: """ Change locale for collation temporarily within a context (with-statement) """ # The newone locale parameter should be a tuple: ('is_IS', 'UTF-8') # The category should be a string such as 'LC_TIME', 'LC_NUMERIC' etc. cat = getattr(locale, category) old_locale = locale.getlocale(cat) try: locale.setlocale(cat, new_locale or _DEFAULT_LOCALE) yield locale.strxfrm # Function to transform string for sorting finally: locale.setlocale(cat, old_locale) def sort_strings(strings: Iterable[str], loc: Optional[str] = None) -> List[str]: """ Sort a list of strings using the specified locale's collation order """ # Change locale temporarily for the sort with changedlocale(loc) as strxfrm: return sorted(strings, key=strxfrm) class ConfigError(Exception): """ Exception class for configuration errors """ def __init__(self, s: str) -> None: super().__init__(s) self.fname: Optional[str] = None self.line = 0 def set_pos(self, fname: str, line: int) -> None: """ Set file name and line information, if not already set """ if not self.fname: self.fname = fname self.line = line def __str__(self) -> str: """ Return a string representation of this exception """ s = Exception.__str__(self) if not self.fname: return s return "File {0}, line {1}: {2}".format(self.fname, self.line, s) class LineReader: """ Read lines from a text file, recognizing $include directives """ def __init__( self, fname: str, *, package_name: Optional[str] = None, outer_fname: Optional[str] = None, outer_line: int = 0 ) -> None: self._fname = fname self._package_name = package_name self._line = 0 self._inner_rdr: Optional[LineReader] = None self._outer_fname = outer_fname self._outer_line = outer_line def fname(self) -> str: """ The name of the file being read """ return self._fname if self._inner_rdr is None else self._inner_rdr.fname() def line(self) -> int: """ The number of the current line within the file """ return self._line if self._inner_rdr is None else self._inner_rdr.line() def lines(self) -> Iterator[str]: """ Generator yielding lines from a text file """ self._line = 0 try: if self._package_name: stream = resource_stream(self._package_name, self._fname) else: stream = open(self._fname, "rb") with stream as inp: # Read config file line-by-line from the package resources accumulator = "" for b in inp: # We get byte strings; convert from utf-8 to Python strings s = b.decode("utf-8") self._line += 1 if s.rstrip().endswith("\\"): # Backslash at end of line: continuation in next line accumulator += s.strip()[:-1] continue if accumulator: # Add accumulated text from preceding # backslash-terminated lines, but drop leading whitespace s = accumulator + s.lstrip() accumulator = "" # Check for include directive: $include filename.txt if s.startswith("$") and s.lower().startswith("$include "): iname = s.split(maxsplit=1)[1].strip() # Do some path magic to allow the included path # to be relative to the current file path, or a # fresh (absolute) path by itself head, _ = os.path.split(self._fname) iname = os.path.join(head, iname) rdr = self._inner_rdr = LineReader( iname, package_name=self._package_name, outer_fname=self._fname, outer_line=self._line, ) yield from rdr.lines() self._inner_rdr = None else: yield s if accumulator: # Catch corner case where last line of file ends with a backslash yield accumulator except (IOError, OSError): if self._outer_fname: # This is an include file within an outer config file c = ConfigError( "Error while opening or reading include file '{0}'".format( self._fname ) ) c.set_pos(self._outer_fname, self._outer_line) else: # This is an outermost config file c = ConfigError( "Error while opening or reading config file '{0}'".format( self._fname ) ) raise c
# Generated by Django 3.1.4 on 2020-12-25 22:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('finders', '0034_delete_itemfoundtemp'), ] operations = [ migrations.AlterField( model_name='userfinder', name='bGetResult', field=models.BooleanField(default=False, null=True, verbose_name='get results?'), ), migrations.AlterField( model_name='userfinder', name='bListExclude', field=models.BooleanField(default=False, null=True, verbose_name='exclude from listing?'), ), ]
import unittest import nose.tools import numpy as np from skimage import io, transform from ..test_utils import generate_linear_structure from mia.features._orientated_bins import orientated_bins class OrientatedBinsTest(unittest.TestCase): def test_with_pure_structure(self): linear_structure = generate_linear_structure(20) line_strength, line_orinetation = orientated_bins(linear_structure, 7) line_strength[line_strength<0.3] = 0 nose.tools.assert_equal(np.count_nonzero(line_strength), 20) nose.tools.assert_equal(np.count_nonzero(line_orinetation), 100) def test_with_noisy_structure(self): linear_structure = generate_linear_structure(100, with_noise=True) line_strength, line_orinetation = orientated_bins(linear_structure, 10) line_strength[line_strength<0.05] = 0 nose.tools.assert_almost_equal(np.count_nonzero(line_strength), 312, delta=10) def test_with_multiple_many_bins(self): linear_structure = generate_linear_structure(100, with_noise=True) line_strength, line_orinetation = orientated_bins(linear_structure, 10) line_strength[line_strength<0.05] = 0 nose.tools.assert_almost_equal(np.count_nonzero(line_strength), 312, delta=10)
from marshmallow import Schema, fields, post_load from rest_client.SpecieRest import SpecieAPI class SpecieSchema(Schema): """ This class map the json into the object Specie ..note:: see marshmallow API """ id = fields.Int() designation = fields.Str() genus = fields.Int() strains = fields.List(fields.Url) @post_load def make_Specie(self, data): return SpecieJson(**data) class SpecieJson(object): """ This class manage the object and is used to map them into json format """ def __init__(self, id = None, designation = '', genus = None, strains=[]): """ Initialization of the class :param id: name of the function :param designation: name of the specie :param genus: id of the genus :param strains: vector of strains endpoints :type id: int :type designation: string :type genus: int :type strains: vector[string] """ self.id = id self.designation = designation self.genus = genus self.strains = strains def __str__(self): """ override the Str function """ return 'id: {0} designation {1} FK Genus {2} Nb strains {3}'.format(self.id, self.designation, self.genus, len(self.strains)) def getAllAPI(): """ get all the species on the database :return: list of Specie :rtype: vector[SpecieJ] """ list_specie = SpecieAPI().get_all() schema = SpecieSchema() results = schema.load(list_specie, many=True) return results[0] def setSpecie(self): """ set new genus :return: new specie completed with the id :rtype: SpecieJ """ schema = SpecieSchema(only=['designation', 'genus']) jsonFam = schema.dump(self) resultsCreation = SpecieAPI().set_specie(jsonData = jsonFam.data) schema = SpecieSchema() results = schema.load(resultsCreation) return results[0] def getByID(id_specie:int): """ get a specie given its id :param id_specie: id of the specie that it will be returned :type id_specie: int :return: a json of the specie :rtype: SpecieJson """ specie = SpecieAPI().get_by_id(id_specie) schema = SpecieSchema() results = schema.load(specie, many=False) return results[0]
import re from typing import Any import requests from bs4 import BeautifulSoup from requests import Response from library.DataObject import DataObject from library.Models import RunsList, SourceRun, TestsList from library.Problem import Problem from library.Result import Result from library.UnauthorizedException import UnauthorizedException from library.User import User def str_cleaner(string: str) -> str: """ Заменяет все двойные переходы и пробелы на одинарные :param string: Строка :return: Чистая строка """ return re.sub(r'([\r\t])|(\s){2,}?|(\n){2,}?', '', string)[:-1] class InformaticsApi(object): """Предоставляет методы для работы с костыльным back-end'ом информатикса Args: url (str): ссылка на сайт backend (str): путь относительно сайта до back-end'а session (Session): сессия routes (dict): пути до front-end'овских страниц backend_routes (dict): пути до back-end'овских страниц user (User): текущий пользователь """ def __init__(self) -> None: """Инициализирует класс """ self.url = 'https://informatics.msk.ru/' self.backend = 'py/' self.session = requests.Session() self.routes = { 'login': 'login/index.php', 'problem': 'mod/statements/view.php?chapterid=%i', } self.backend_routes = { 'submit': 'problem/%i/submit', 'run': 'problem/run/%i/source', 'filter': 'problem/%i/filter-runs?user_id=%i&from_timestamp=%i&to_timestamp=%i&group_id=%i&lang_id=%i&status_id=%i&statement_id=%i&count=%i&with_comment=%s&page=%i', 'source': 'problem/run/%i/source', 'protocol': 'protocol/get/%i' } self.user: User = None def get_route(self, route: str, backend: bool = True) -> str: """Получение полного пути до страницы Args: route (str): название backend (bool, optional): Back-end или front-end. По умолчанию True. Returns: str: Путь до страницы """ if backend: return self.url + self.backend + self.backend_routes[route] return self.url + self.routes[route] def send_request(self, route: str, route_data: Any, method: str = 'get', data: dict = None, files: dict = None) -> Response: """Отправляет запрос на back-end Args: route (str): имя пути route_data (Any): данные для форматирования пути method (str, optional): Метод. По умолчанию 'get'. data (dict, optional): Данные для запроса. По умолчанию None. files (dict, optional): Файлы для запроса. По умолчанию None. Raises: UnauthorizedException: Если пользователь не авторизован Returns: Response: Ответ """ if not self.user: raise UnauthorizedException() res = self.session.request(method, self.get_route(route) % route_data, data=data, files=files, timeout=5, json=True) return res def authorize(self, username: str, password: str) -> bool: """Авторизовывает пользователя Args: username (str): Логин password (str): Пароль Returns: bool: Успешная ли авторизация """ # спасибо информатиксу за доп. костыли form = self.session.get(self.get_route('login', False)) login_token = BeautifulSoup(form.text, 'html.parser').select( '#login > input[type=hidden]:nth-child(3)')[0].attrs['value'] res = self.session.post(self.get_route('login', False), data={ 'anchor': '', 'logintoken': login_token, 'username': username, 'password': password, 'rememberusername': 1 }) if 'Вы зашли под именем' not in res.text: return False self.user = User( int( BeautifulSoup(res.text, 'html.parser').select( '#page-footer > div > div.logininfo > a:nth-child(1)') [0].attrs['href'].replace(self.url + 'user/profile.php?id=', ''))) return True def get_user(self) -> User: # todo; return None # -- -- def get_problem(self, id: int) -> Problem: """Парсит всю информацию о задании Args: id (int): ID задачи Returns: Problem: Задача """ data = self.session.get(self.get_route('problem', False) % id) if data.status_code != 200: return Problem(-1) problem = Problem(id) # todo: проверка на пустоту tree = BeautifulSoup(data.text, 'html.parser') # -- имя -- problem.title = tree.title.text # -- описание -- desc = tree.find('div', {'class': 'legend'}) if desc: problem.description = str_cleaner(desc.text.strip()) # -- входные данные -- input_data = tree.find('div', {'class': 'input-specification'}) if input_data: problem.output_data = str_cleaner(input_data.text.strip().replace( 'Входные данные', '')) # -- выходные данные -- output_data = tree.find('div', {'class': 'output-specification'}) if output_data: problem.output_data = str_cleaner(output_data.text.strip().replace( 'Выходные данные', '')) # todo: парсить пример(ы) return problem # -- / -- # -- -- def submit_problem(self, id: int, file: str, lang_id: int) -> Result: """Отправляет заадчу на тестирование Args: id (int): ID file (str): Файл lang_id (int): ID языка Returns: Result: Результат операции (DataObject) """ f = open(file, 'rb') req = self.send_request('submit', id, 'post', {'lang_id': lang_id}, {'file': f}) f.close() return Result(req, DataObject()) def get_self_runs(self, id: int, from_timestamp: Any = -1, to_timestamp: Any = -1, group_id: int = 0, lang_id: int = -1, status_id: int = -1, statement_id: int = 0, count: int = 20, with_comment: str = '', page: int = 1) -> Result: """Получает посылки текущего пользователя Args: id (int): ID задачи from_timestamp (Any, optional): С какого времени. Defaults to -1. to_timestamp (Any, optional): По какое время. Defaults to -1. group_id (int, optional): ID группы. Defaults to 0. lang_id (int, optional): ID языка. Defaults to -1. status_id (int, optional): ID статуса. Defaults to -1. statement_id (int, optional): ID ???. Defaults to 0. count (int, optional): Количество. Defaults to 20. with_comment (str, optional): С комментарием. Defaults to ''. page (int, optional): Страница. Defaults to 1. Returns: Result: Результат операции (RunsList) """ return self.get_runs(id, self.user.id, from_timestamp, to_timestamp, group_id, lang_id, status_id, statement_id, count, with_comment, page) def get_runs(self, id: int, user_id: int, from_timestamp: int = -1, to_timestamp: int = -1, group_id: int = 0, lang_id: int = -1, status_id: int = -1, statement_id: int = 0, count: int = 20, with_comment: str = '', page: int = 1) -> Result: """Получает посылки пользователя по ID Args: id (int): ID задачи user_id (int): ID пользователя from_timestamp (Any, optional): С какого времени. Defaults to -1. to_timestamp (Any, optional): По какое время. Defaults to -1. group_id (int, optional): ID группы. Defaults to 0. lang_id (int, optional): ID языка. Defaults to -1. status_id (int, optional): ID статуса. Defaults to -1. statement_id (int, optional): ID ???. Defaults to 0. count (int, optional): Количество. Defaults to 20. with_comment (str, optional): С комментарием. Defaults to ''. page (int, optional): Страница. Defaults to 1. Returns: Result: Результат операции (RunsList) """ req = self.send_request( 'filter', (id, user_id, from_timestamp, to_timestamp, group_id, lang_id, status_id, statement_id, count, with_comment, page)) return Result(req, RunsList()) def get_run(self, id: int) -> Result: """Получает исходный код посылки Args: id (int): ID посылки Returns: Result: Результат операции (SourceRun) """ req = self.send_request('source', id) return Result(req, SourceRun()) def get_protocol(self, id: int) -> Result: """Получает протоколы проверки посылки Args: id (int): ID посылки Returns: Result: Результат операции (TestsList) """ req = self.send_request('protocol', id) return Result(req, TestsList()) # -- / --
from turtle import setup, reset, pu, pd, bye, left, right, fd, bk, screensize from turtle import goto, seth, write, ht, st, home, dot, pen, speed from turtle import setworldcoordinates, begin_fill, end_fill def text(pos, info, align="center", font=("Arial", 8, "normal"), move=False, color="black"): pu() goto(pos) pd() pen(pencolor=color) write(info, move=move, align=align, font=font) def mark(pos, info=None, size=5, color="red", offset=(0.5, 0.5), align="left", font=("Arial", 10, "normal"), move=False, ): pu() goto(pos) pd() dot(size, color) if info is not None: if offset is not None: pu() goto(add_v(pos, offset)) pd() pen(pencolor=color) info = str(pos) if info is None else info write(info, move=move, align=align, font=font) return def line(start, end, line_width=1, color="black"): pu() old_speed = speed() goto(start) pen(pencolor=color, pensize=line_width) pd() goto(end) speed(old_speed) def lines(points, line_width=1, color="black", fillcolor=None, closed=False): if len(points) < 2: return pu() goto(points[0]) pen(fillcolor=fillcolor, pensize=line_width, pencolor=color) pd() extra = 1 if closed else 0 for i in range(1, len(points)+extra): goto(points[i%len(points)]) def draw_grid(min_x = 0, min_y = 0, max_x = 20, max_y = 15, outline_color="grey", major_grid_color="snow3", minor_grid_color="snow2", outline_pen_size=2, major_grid_pen_size=1, minor_grid_pen_size=1 ): old_speed = speed() speed(0) if min_x == 0 and min_y == 0: text((min_x-0.2, min_y-1), "0", align="center", color=outline_color) # draw horizontal grid for i in range(min_y + 1, max_y): pensize = minor_grid_pen_size line_color = minor_grid_color if i % 5 == 0: pensize = major_grid_pen_size line_color = major_grid_color text((min_x-0.3, i-0.3), str(i), align="right", color=outline_color) text((max_x+0.3, i-0.3), str(i), align="left", color=outline_color) line((min_x, i), (max_x, i), line_width=pensize, color=line_color) # draw vertical grid for i in range(min_x + 1, max_x): pensize = minor_grid_pen_size line_color = minor_grid_color if i % 5 == 0: pensize = major_grid_pen_size line_color = major_grid_color text((i, min_y-1), str(i), align="center", color=outline_color) text((i, max_y), str(i), align="center", color=outline_color) line((i, min_y), (i, max_y), line_width=pensize, color=line_color) # draw outline points = [(min_x, min_y),(max_x, min_y),(max_x, max_y),(min_x, max_y)] polygon(points, line_width=outline_pen_size, color=outline_color, fillcolor=None) ht() speed(old_speed) def prepare_paper(width, height, scale=20, min_x = 0, min_y = 0, max_x=None, max_y=None): reset() max_length, max_height = int(width/scale), int(height/scale) setworldcoordinates(min_x-1, min_y-1, max_length-abs(min_x-1), max_height-abs(min_y-1)) if max_x is None or max_x > max_length-abs(min_x-1)-1: max_x = max_length-abs(min_x-1)-1 if max_y is None or max_y > max_height-abs(min_y-1)-1: max_y = max_height-abs(min_y-1)-1 draw_grid(min_x, min_y, max_x, max_y) def get_center(points): x, y = 0, 0 for point in points: x += point[0] y += point[1] return x/len(points), y/len(points) def add_v(point1, point2): return point1[0]+point2[0], point1[1]+point2[1] def polygon(points, line_width = 3, color="black", fillcolor=None, side_texts=None, side_text_font = ("Arial", 12, "italic"), side_text_offsets=[(0, -1), (0.5, -0.5), (0, 0), (-0.5, -0.5)], side_text_color="black", center_text="", center_text_font=("Arial", 16, "italic"), center_text_offset=(0, -0.5), center_text_color="black", marker_texts=None, marker_offsets=None, marker_text_font = ("Arial", 16, "italic"), marker_text_color = "red", marker_dot_size = 5): if len(points) < 3: return begin_fill() lines(points, line_width=line_width, color=color, fillcolor=fillcolor, closed=True) end_fill() for i in range(len(points)): if marker_texts is not None and i<len(marker_texts) and \ marker_texts[i] is not None: marker_offset = (0, 0) if marker_offsets is not None and i < len(marker_offsets) and \ marker_offsets[i] is not None: marker_offset = marker_offsets[i] mark(points[i], marker_texts[i], size=marker_dot_size, color=marker_text_color, offset=marker_offset) if side_texts is not None and i<len(side_texts) and \ side_texts[i] is not None: side_text_offset = (0, 0) if side_text_offsets is not None and i < len(side_text_offsets) and \ side_text_offsets[i] is not None: side_text_offset = side_text_offsets[i] point1 = points[i] point2 = points[(i+1)%len(points)] center = get_center([point1, point2]) mark_pos = add_v(center, side_text_offset) text(mark_pos, side_texts[i], align="center", font=side_text_font, color=side_text_color) if center_text is not None and center_text != "": if center_text_offset is None: center_text_offset = (0, 0) center_pos = add_v(get_center(points), center_text_offset) text(center_pos, center_text, align="center", font=center_text_font, color=center_text_color) return def rectangle(points, line_width = 1, color="black", fillcolor=None, side_texts=["a", "b"], side_text_font = ("Arial", 12, "italic"), side_text_offsets=[(0, -1), (0.5, -0.5), (0, 0), (-0.5, -0.5)], side_text_color="black", center_text="center", center_text_font=("Arial", 16, "italic"), center_text_offset=(0, -0.5), center_text_color="black", marker_texts=list("ABCD"), marker_text_font = ("Arial", 16, "italic"), marker_text_color = "red", marker_dot_size = 5, marker_offsets=[1, 1, 0, 0], marker_offset_directions=[-90, -90, 45, 45]): polygon(points, line_width = line_width, color=color, fillcolor=fillcolor, side_texts=side_texts, side_text_font = side_text_font, side_text_offsets=side_text_offsets, side_text_color=side_text_color, center_text=center_text, center_text_font=center_text_font, center_text_offset=center_text_offset, center_text_color=center_text_color, marker_texts=marker_texts, marker_text_font = marker_text_font, marker_text_color = marker_text_color, marker_dot_size = marker_dot_size, marker_offsets=marker_offsets, marker_offset_directions=marker_offset_directions ) return def generate_parallelogram(p_left_bottom, base, height, hor_offset): p_right_bottom = (p_left_bottom[0]+base, p_left_bottom[1]) p_right_top = (p_right_bottom[0]+hor_offset, p_right_bottom[1]+height) p_left_top = (p_right_top[0]-base, p_right_top[1]) parallelogram = [p_left_bottom, p_right_bottom, p_right_top, p_left_top] return parallelogram def generate_rectangle(p_left_bottom, base, height): return generate_parallelogram(p_left_bottom, base, height, 0)
#!/usr/bin/python class BouncedProbe(): def __init__(self, src_ip, dst_ip, bounce_time_ns, rcv_time_ns, hop_id): self.src_ip = src_ip self.dst_ip = dst_ip self.bounce_time_ns = bounce_time_ns self.rcv_time_ns = rcv_time_ns self.hop_id = hop_id def __str__(self): return "{} {} {} {} {}".format( self.src_ip, self.dst_ip, self.bounce_time_ns, self.rcv_time_ns, self.hop_id)
from __future__ import print_function from __future__ import division from pdb import set_trace class Params: """ Set parameters """ def __init__(self, dicipline, distribution="exp", C=1e6, rho=0.95, lmbd=1.0, mu=1/3000): self.C = C self.mu = mu self.rho = rho self.lmbd = lmbd self.service_type = dicipline self.distribution = distribution class Customer: """ Hold's customer data for simulation """ def __init__(self, id): self.id = id self.wait_time = 0 self.system_time = 0 self.arrival_time = 0 self.service_time = 0 self.depart_time = self.arrival_time def get_system_time(self): self.wait_time = self.depart_time - self.arrival_time return self.wait_time def get_wait_time(self): self.wait_time = self.depart_time - self.arrival_time + self.service_time return self.wait_time
import binascii import os import pkg_resources import urllib import tempfile import webbrowser from http.server import BaseHTTPRequestHandler, HTTPServer import click import mf2py import requests import yaml VERSION = pkg_resources.get_distribution("entries").version CLIENT_ID = "https://hexa.ninja/5ce9a178def3b70a/entries-cli" REDIRECT_URI = "http://localhost:7881/" class IndieAuthCallbackHandler(BaseHTTPRequestHandler): """HTTPServer handler for intercepting the IndieAuth callback.""" def __init__(self, request, address, server, me, token_endpoint): self.me = me self.token_endpoint = token_endpoint super().__init__(request, address, server) def log_message(self, format, *args): return def do_GET(self): data = urllib.parse.parse_qs(self.path[2:]) # data contains # - code # - state # - me tok = requests.post( self.token_endpoint, data={ "grant_type": "authorization_code", "code": data["code"][0], "client_id": CLIENT_ID, "redirect_uri": REDIRECT_URI, "me": self.me, }, headers={"Accept": "application/json"}, ) tok.raise_for_status() self.send_response(200) self.send_header("Content-type", "text/html") self.end_headers() self.wfile.write( b'<body style="background:#111;color:#ddd"><h1>Done, you can close this tab now.</h1></body>' ) self.server.access_token = tok.json()["access_token"] def _wait_for_access_token(me, tok_endpoint): """Spawn a HTTPServer and wait for the IndieAuth callback to get executed.""" server = HTTPServer( ("localhost", 7881), lambda request, address, server: IndieAuthCallbackHandler( request, address, server, me, tok_endpoint ), ) server.handle_request() return server.access_token def get_access_token(u, scopes): """Initiate an IndieAuth Authorization flow to get an acess token (for talking to the Miropub endpoint).""" # Guess the identity from the URL me = urllib.parse.urlparse(u)._replace(path="/").geturl() # Fetch the 3 endpoints needed: # TODO(tsileo): clean error if missing dat = mf2py.parse(url=u) auth_endpoint = dat["rels"]["authorization_endpoint"][0] tok_endpoint = dat["rels"]["token_endpoint"][0] micropub_endpoint = dat["rels"]["micropub"][0] # Generate a random state state = binascii.hexlify(os.urandom(6)).decode() # Actually initiate the Authorization flow auth_url = ( auth_endpoint + "?" + urllib.parse.urlencode( { "me": me, "response_type": "code", "state": state, "redirect_uri": REDIRECT_URI, "scope": " ".join(scopes), "client_id": CLIENT_ID, } ) ) # Open the URL in a tab webbrowser.open_new_tab(auth_url) click.echo("waiting for the IndieAuth callback...") tok = _wait_for_access_token(me, tok_endpoint) click.echo("success") # And wait for the callback via the redirect_uri return (me, micropub_endpoint, tok) def micropub_create(micropub_endpoint, access_token, content, meta): props = {"content": [content]} if meta["name"]: props["name"] = [meta["name"]] if meta["category"]: props["category"] = meta["category"] for k in ["mp-slug", "mp-extra-head", "mp-extra-body"]: if k in meta: props[k] = [meta[k]] resp = requests.post( micropub_endpoint, headers={"Authorization": f"Bearer {access_token}"}, json={"type": ["h-entry"], "properties": props}, ) resp.raise_for_status() webbrowser.open_new_tab(resp.headers.get("Location")) def micropub_update(micropub_endpoint, access_token, url, content, meta): replace = {"content": [content]} if meta["name"]: replace["name"] = [meta["name"]] if meta["category"]: replace["category"] = meta["category"] # XXX no mp-slug update for k in ["mp-extra-head", "mp-extra-body"]: if meta[k]: replace[k] = [meta[k]] resp = requests.post( micropub_endpoint, headers={"Authorization": f"Bearer {access_token}"}, json={"action": "update", "url": url, "replace": replace}, ) resp.raise_for_status() webbrowser.open_new_tab(resp.headers.get("Location")) def micropub_delete(micropub_endpoint, access_token, url): resp = requests.post( micropub_endpoint, headers={"Authorization": f"Bearer {access_token}"}, json={"action": "delete", "url": url}, ) resp.raise_for_status() webbrowser.open_new_tab(url) def micropub_source(micropub_endpoint, access_token, url): resp = requests.get( micropub_endpoint, {"q": "source", "url": url}, headers={"Authorization": f"Bearer {access_token}"}, ) resp.raise_for_status() return resp.json() @click.group() @click.version_option(VERSION) def cli(): pass @click.command() @click.argument("url", required=True) def get_token(url): _, _, tok = get_access_token(url, ["create", "update", "delete"]) click.echo(tok) header = """name: title mp-slug: slug category: [] --- """ def edit(header): """`click.edit` wrapper that keeps a copy of the edited content in a file.""" dat = click.edit(header) if dat is None: raise ValueError("cancelled, no data saved") raw_meta, message = dat.split("---", 1) # Keep the data in case the server fails # TODO(tsileo): clean it with tempfile.NamedTemporaryFile("w", delete=False) as cache: cache.write(dat) click.echo(f"data will be available at {cache.name} in case of crash") return message, yaml.safe_load(raw_meta), cache.name def done(t): os.remove(t) click.echo("success 🐢") @click.command() @click.argument("url", required=True) def create(url): _, micropub_endpoint, tok = get_access_token(url, ["create"]) message, meta, t = edit(header) micropub_create(micropub_endpoint, tok, message, meta) done(t) def _get(source, k, default): if k in source["properties"] and len(source["properties"][k]): vs = source["properties"][k] if k in ["category"]: return vs else: return vs[0] return default def build_header(source): name = _get(source, "name", "null") slug = _get(source, "mp-slug", "null") extra_head = "\n ".join(_get(source, "mp-extra-head", "").split("\n")) extra_body = "\n ".join(_get(source, "mp-extra-body", "").split("\n")) cat = _get(source, "category", []) return f"""name: {name} mp-slug: {slug} category: {cat!s} mp-extra-head: | {extra_head} mp-extra-body: | {extra_body} ---""" @click.command() @click.argument("url", required=True) def update(url): _, micropub_endpoint, tok = get_access_token(url, ["update"]) # Fetch the source source = micropub_source(micropub_endpoint, tok, url) existing_content = source["properties"]["content"][0] # Edit new_content, meta, t = edit(build_header(source) + existing_content) micropub_update(micropub_endpoint, tok, url, new_content, meta) done(t) @click.command() @click.argument("url", required=True) def source(url): _, micropub_endpoint, tok = get_access_token(url, ["update"]) # Fetch the source source = micropub_source(micropub_endpoint, tok, url) click.echo(source) @click.command() @click.argument("url", required=True) def delete(url): _, micropub_endpoint, tok = get_access_token(url, ["delete"]) micropub_delete(micropub_endpoint, tok, url) cli.add_command(get_token) cli.add_command(create) cli.add_command(update) cli.add_command(source) cli.add_command(delete) if __name__ == "__main__": cli()
import numpy as np import torch import tqdm from torch import nn
# !/usr/bin/env python # -- coding: utf-8 -- # @Author zengxiaohui # Datatime:7/28/2021 5:17 PM # @File:base2onnx import torch import onnxruntime # cuda10.2==onnxruntime-gpu 1.5.2 import torch.nn.functional as F class JustReshape(torch.nn.Module): def __init__(self): super(JustReshape, self).__init__() def forward(self, x): ap = F.max_pool2d(x.unsqueeze(0), 3, stride=1, padding=1) ap = ap.squeeze(0) mask = (x == ap).float().clamp(min=0.0) return x * mask net = JustReshape() model_name = 'just_reshape.onnx' dummy_input = torch.randn(1, 128, 16).cuda() torch.onnx.export(net, dummy_input, model_name, opset_version=11, verbose=True, input_names=['input'], output_names=['output']) ort_session = onnxruntime.InferenceSession(model_name) input_name = ort_session.get_inputs()[0].name label_name = ort_session.get_outputs()[0].name nlines = ort_session.run([label_name], {input_name: dummy_input.cpu().numpy(), }) print(nlines)
#!/usr/bin/env python """ Insert a circle and a lot of lines (a fractal) in a text document. """ import os import sys import cmath from math import sqrt from odfdo import Document, Header, LineShape, EllipseShape, Paragraph CYCLES = 4 # beware, 5 is big, 6 too big to display... # some graphic computations class Vector: def __init__(self, a, b): self.a = a self.b = b def koch_split(self): c = self.a + 1.0 / 3.0 * (self.b - self.a) d = self.a + 2.0 / 3.0 * (self.b - self.a) m = 0.5 * (self.a + self.b) e = m + (d - c) * complex(0, -1) return [ Vector(self.a, c), Vector(c, e), Vector(e, d), Vector(d, self.b) ] def in_cm(self, val): if val == 0: m = self.a else: m = self.b return ("%.2fcm" % m.real, "%.2fcm" % m.imag) def koch(vlist, cycle=2): if cycle <= 0: return vlist else: new_vlist = [] for v in vlist: new_vlist.extend(v.koch_split()) #del vlist return koch(new_vlist, cycle - 1) def make_coords(side, vpos): orig = complex((17 - side) / 2.0, vpos) v1 = Vector(orig, orig + complex(side, 0)) v2 = Vector(v1.b, orig + cmath.rect(side, cmath.pi / 3)) v3 = Vector(v2.b, orig) center = (v1.a + v1.b + v2.b) / 3 vlist = koch([v1, v2, v3], cycle=CYCLES) return center, vlist if __name__ == "__main__": document = Document('text') body = document.body print("Making some Koch fractal") title = Header(1, "Some Koch fractal") body.append(title) style = document.get_style('graphic') style.set_properties({"svg:stroke_color": "#0000ff"}) style.set_properties(fill_color="#ffffcc") para = Paragraph('') body.append(para) # some computation of oordinates center, vlist = make_coords(side=12.0, vpos=8.0) # create a circle rad = 8.0 pos = center - complex(rad, rad) circle = EllipseShape( size=('%.2fcm' % (rad * 2), '%.2fcm' % (rad * 2)), position=('%.2fcm' % pos.real, '%.2fcm' % pos.imag)) para.append(circle) # create a drawing with a lot of lines para.append('number of lines: %s' % len(vlist)) for v in vlist: line = LineShape(p1=v.in_cm(0), p2=v.in_cm(1)) para.append(line) if not os.path.exists('test_output'): os.mkdir('test_output') output = os.path.join('test_output', 'my_Koch_fractal.odt') document.save(target=output, pretty=True)
command = '/home/mark/env/ris/bin/gunicorn' pythonpath = '/home/mark/env/ris/bin/python' bind = '127.0.0.1:8000' workers = 3 user = "root"
# Generated by Django 2.1.5 on 2019-02-03 23:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("main", "0004_auto_20190203_2232")] operations = [ migrations.AlterField( model_name="entry", name="imdb", field=models.CharField(blank=True, max_length=200, null=True), ) ]
#!/usr/bin/env python # Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import sys import in_generator import make_names import media_feature_symbol class MakeMediaFeatureNamesWriter(make_names.MakeNamesWriter): pass MakeMediaFeatureNamesWriter.filters['symbol'] = media_feature_symbol.getMediaFeatureSymbolWithSuffix('MediaFeature') if __name__ == "__main__": in_generator.Maker(MakeMediaFeatureNamesWriter).main(sys.argv)
from imutils.video import VideoStream from imutils.video import FPS import numpy as np import argparse import imutils import pickle import time import cv2 import os import pyfakewebcam import sys def run(): args = {"detector": "face_detection_model", "embedding_model": "openface_nn4.small2.v1.t7", "recognizer": "output/recognizer.pickle", "le": "output/le.pickle", "confidence": 0.5, } protoPath = os.path.sep.join([args["detector"], "deploy.prototxt"]) modelPath = os.path.sep.join([args["detector"], "res10_300x300_ssd_iter_140000.caffemodel"]) detector = cv2.dnn.readNetFromCaffe(protoPath, modelPath) embedder = cv2.dnn.readNetFromTorch(args["embedding_model"]) recognizer = pickle.loads(open(args["recognizer"], "rb").read()) le = pickle.loads(open(args["le"], "rb").read()) camera = pyfakewebcam.FakeWebcam('/dev/video1', 300, 300) vs = VideoStream(src=0).start() time.sleep(2.0) verifications = {} while True: frame = vs.read() frame = imutils.resize(frame, width=600) (h, w) = frame.shape[:2] imageBlob = cv2.dnn.blobFromImage( cv2.resize(frame, (100, 100)), 1.0, (100, 100), (104.0, 177.0, 123.0), swapRB=False, crop=False) detector.setInput(imageBlob) detections = detector.forward() for i in range(0, detections.shape[2]): confidence = detections[0, 0, i, 2] if confidence > args["confidence"]: box = detections[0, 0, i, 3:7] * np.array([w, h, w, h]) (startX, startY, endX, endY) = box.astype("int") face = frame[startY:endY, startX:endX] (fH, fW) = face.shape[:2] if fW < 20 or fH < 20: continue faceBlob = cv2.dnn.blobFromImage(face, 1.0 / 255, (96, 96), (0, 0, 0), swapRB=True, crop=False) embedder.setInput(faceBlob) vec = embedder.forward() preds = recognizer.predict_proba(vec)[0] j = np.argmax(preds) proba = preds[j] name = le.classes_[j] if name in verifications: verifications[name] += 1 else: verifications[name] = 0 return name
import os, numpy as np, sys, cv2 import random from PIL import Image from datasets.coordinate_transformation import compute_box_3dto2d max_color = 30 score_threshold = -10000 width = 1242 height = 374 def draw_projected_box3d(image, qs, color=(255,255,255), thickness=2): ''' Draw 3d bounding box in image qs: (8,2) array of vertices for the 3d box in following order: 1 -------- 0 /| /| 2 -------- 3 . | | | | . 5 -------- 4 |/ |/ 6 -------- 7 ''' if qs is not None: qs = qs.astype(np.int32) for k in range(0,4): i,j=k,(k+1)%4 image = cv2.line(image, (qs[i,0],qs[i,1]), (qs[j,0],qs[j,1]), color, thickness) # use LINE_AA for opencv3 i,j=k+4,(k+1)%4 + 4 image = cv2.line(image, (qs[i,0],qs[i,1]), (qs[j,0],qs[j,1]), color, thickness) i,j=k,k+4 image = cv2.line(image, (qs[i,0],qs[i,1]), (qs[j,0],qs[j,1]), color, thickness) return image def show_image_with_boxes(img2, bbox3d_tmp, image_path, color, img0_name, label, calib_file,line_thickness): # img2 = np.copy(img) box3d_pts_2d = compute_box_3dto2d(bbox3d_tmp, calib_file) tl = line_thickness or round(0.002 * (img2.shape[0] + img2.shape[1]) / 2) + 1 # line/font thickness color = color or [random.randint(0, 255) for _ in range(3)] if box3d_pts_2d is not None: c1, c2 = (int(box3d_pts_2d[4, 0]), int(box3d_pts_2d[4, 1])), (int(box3d_pts_2d[3, 0]), int(box3d_pts_2d[3, 1])) else: c1, c2 = (0,0), (0,0) color_tmp = color img2 = draw_projected_box3d(img2, box3d_pts_2d, color=color_tmp) # if box3d_pts_2d is not None: # img2 = cv2.putText(img2, label, (int(box3d_pts_2d[4, 0]), int(box3d_pts_2d[4, 1]) - 8), # cv2.FONT_HERSHEY_TRIPLEX, 0.5, color=color_tmp) if label: tf = max(tl - 1, 1) # font thickness t_size = cv2.getTextSize(str(label), 0, fontScale=tl / 3, thickness=tf)[0] c2 = c1[0] + t_size[0], c1[1] - t_size[1] - 3 cv2.rectangle(img2, c1, c2, color, -1, cv2.LINE_AA) # filled cv2.putText(img2, str(label), (c1[0], c1[1] - 2), 0, tl / 3, [225, 255, 255], thickness=tf, lineType=cv2.LINE_AA) cv2.imwrite(image_path + "\\" + "{}.png".format(img0_name), img2) # img.save(save_path) # print('--')
import requests # now carriage return r = requests.post('http://127.0.0.1:5000/DEBUG',json={"Message":"Trying to do something funky and logging it"},headers={'Content-type': 'application/json', 'Accept': 'text/plain'}) print(r.status_code) print(r.text) # short request r = requests.post('http://127.0.0.1:5000/DEBUG',json={"Message":"Trying to do something funky and logging it\r\nTesting carriage returns too."},headers={'Content-type': 'application/json', 'Accept': 'text/plain'}) print(r.status_code) print(r.text) # long request longtext="1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678\n90123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890" r = requests.post('http://127.0.0.1:5000/DEBUG',json={"Message":longtext},headers={'Content-type': 'application/json', 'Accept': 'text/plain'}) print(r.status_code) print(r.text)
"""spec2nii module containing functions specific to interpreting Philips DICOM Author: William Clarke <william.clarke@ndcn.ox.ac.uk> Copyright (C) 2020 University of Oxford """ import numpy as np import nibabel.nicom.dicomwrappers from spec2nii.dcm2niiOrientation.orientationFuncs import dcm_to_nifti_orientation from spec2nii.nifti_orientation import NIFTIOrient from spec2nii import nifti_mrs from datetime import datetime from spec2nii import __version__ as spec2nii_ver class CSINotHandledError(Exception): pass def svs_or_CSI(img): """Identify from the headers whether data is CSI, SVS or FID.""" if img.image_shape is None: if img.dcm_data.VolumeLocalizationTechnique == 'NONE': return 'FID' else: return 'SVS' elif np.product(img.image_shape) > 1.0: return 'CSI' else: return 'SVS' def multi_file_dicom(files_in, fname_out, tag, verbose): """Parse a list of UIH DICOM files""" # Convert each file (combine after) data_list = [] ref_list = [] orientation_list = [] dwelltime_list = [] meta_list = [] meta_ref_list = [] mainStr = '' for idx, fn in enumerate(files_in): if verbose: print(f'Converting dicom file {fn}') img = nibabel.nicom.dicomwrappers.wrapper_from_file(fn) mrs_type = svs_or_CSI(img) if mrs_type == 'SVS': specDataCmplx, spec_ref, orientation, dwelltime, meta_obj, meta_ref_obj = _process_philips_svs(img, verbose) newshape = (1, 1, 1) + specDataCmplx.shape spec_data = specDataCmplx.reshape(newshape) spec_ref = spec_ref.reshape(newshape) # Data appears to require conjugation to meet standard's conventions. spec_data = spec_data.conj() spec_ref = spec_ref.conj() elif mrs_type == 'FID': specDataCmplx, spec_ref, orientation, dwelltime, meta_obj, meta_ref_obj = _process_philips_fid(img, verbose) newshape = (1, 1, 1) + specDataCmplx.shape spec_data = specDataCmplx.reshape(newshape) spec_ref = spec_ref.reshape(newshape) # Data appears to require conjugation to meet standard's conventions. spec_data = spec_data.conj() spec_ref = spec_ref.conj() else: raise CSINotHandledError('CSI data is currently not handled for the Philips DICOM format.' 'Please contact the developers if you have examples of this type of data.') data_list.append(spec_data) ref_list.append(spec_ref) orientation_list.append(orientation) dwelltime_list.append(dwelltime) meta_list.append(meta_obj) meta_ref_list.append(meta_ref_obj) if idx == 0: if fname_out: mainStr = fname_out else: mainStr = img.dcm_data.SeriesDescription # If data shape, orientation and dwelltime match combine # into one NIFTI MRS object. # Otherwise return a list of files/names def all_equal(lst): return lst[:-1] == lst[1:] combine = all_equal([d.shape for d in data_list])\ and all_equal([o.Q44.tolist() for o in orientation_list])\ and all_equal(dwelltime_list) nifti_mrs_out, fnames_out = [], [] if combine: # Combine files into single MRS NIfTI # Single file name fnames_out.append(mainStr) fnames_out.append(mainStr + '_ref') dt_used = dwelltime_list[0] or_used = orientation_list[0] # Add original files to nifti meta information. meta_used = meta_list[0] meta_used.set_standard_def('OriginalFile', [str(ff.name) for ff in files_in]) meta_ref_used = meta_ref_list[0] meta_ref_used.set_standard_def('OriginalFile', [str(ff.name) for ff in files_in]) # Combine data into 5th dimension if needed if len(data_list) > 1: combined_data = np.stack(data_list, axis=-1) combined_ref = np.stack(ref_list, axis=-1) else: combined_data = data_list[0] combined_ref = ref_list[0] # Add dimension information (if not None for default) if tag: meta_used.set_dim_info(0, tag) # Create NIFTI MRS object. nifti_mrs_out.append(nifti_mrs.NIfTI_MRS(combined_data, or_used.Q44, dt_used, meta_used)) nifti_mrs_out.append(nifti_mrs.NIfTI_MRS(combined_ref, or_used.Q44, dt_used, meta_ref_used)) else: for idx, (dd, rr, oo, dt, mm, mr, ff) in enumerate(zip(data_list, ref_list, orientation_list, dwelltime_list, meta_list, meta_ref_list, files_in)): # Add original files to nifti meta information. mm.set_standard_def('OriginalFile', [str(ff.name), ]) fnames_out.append(f'{mainStr}_{idx:03}') nifti_mrs_out.append(nifti_mrs.NIfTI_MRS(dd, oo.Q44, dt, mm)) mr.set_standard_def('OriginalFile', [str(ff.name), ]) fnames_out.append(f'{mainStr}_ref_{idx:03}') nifti_mrs_out.append(nifti_mrs.NIfTI_MRS(rr, oo.Q44, dt, mr)) return nifti_mrs_out, fnames_out def _process_philips_svs(img, verbose): """Process Philips DICOM SVS data""" specData = np.frombuffer(img.dcm_data[('5600', '0020')].value, dtype=np.single) specDataCmplx = specData[0::2] + 1j * specData[1::2] # In the one piece of data I have been provided the data is twice as long as indicated (1 avg) # and the second half is a water reference. spec_points = img.dcm_data.SpectroscopyAcquisitionDataColumns spec_data_main = specDataCmplx[:spec_points] spec_data_ref = specDataCmplx[spec_points:] # 1) Extract dicom parameters currNiftiOrientation = _enhanced_dcm_svs_to_orientation(img, verbose) dwelltime = 1.0 / img.dcm_data.SpectralWidth meta = _extractDicomMetadata(img) meta_r = _extractDicomMetadata(img, water_suppressed=False) return spec_data_main, spec_data_ref, currNiftiOrientation, dwelltime, meta, meta_r def _process_philips_fid(img, verbose): """Process Philips DICOM FID data""" specData = np.frombuffer(img.dcm_data[('5600', '0020')].value, dtype=np.single) specDataCmplx = specData[0::2] + 1j * specData[1::2] # In the one piece of data I have been provided the data is twice as long as indicated (1 avg) # and the second half is a water reference. spec_points = img.dcm_data.SpectroscopyAcquisitionDataColumns spec_data_main = specDataCmplx[:spec_points] spec_data_ref = specDataCmplx[spec_points:] # 1) Extract dicom parameters defaultaffine = np.diag(np.array([10000, 10000, 10000, 1])) currNiftiOrientation = NIFTIOrient(defaultaffine) dwelltime = 1.0 / img.dcm_data.SpectralWidth meta = _extractDicomMetadata(img) meta_r = _extractDicomMetadata(img, water_suppressed=False) return spec_data_main, spec_data_ref, currNiftiOrientation, dwelltime, meta, meta_r def _enhanced_dcm_svs_to_orientation(img, verbose): '''Convert the Volume Localization Sequence (0018,9126) enhanced DICOM tag to a 4x4 affine format. Assumes the center of all slabs are aligned currently.''' # affine3 = [] # voxsize = [] # for vl in img.dcm_data.VolumeLocalizationSequence: # affine3.append(vl.SlabOrientation) # voxsize.append(vl.SlabThickness) # affine3 = np.asarray(affine3) # voxsize = np.diag(np.asarray(voxsize)) # locSeq = img.dcm_data.VolumeLocalizationSequence # if not np.allclose(locSeq[0].MidSlabPosition, locSeq[1].MidSlabPosition) \ # or not np.allclose(locSeq[0].MidSlabPosition, locSeq[2].MidSlabPosition): # raise ValueError('Mid Slab Position must be the same for all three entries') # pos3 = np.asarray(img.dcm_data.VolumeLocalizationSequence[0].MidSlabPosition) # affine4 = np.eye(4) # affine4[:3, :3] = affine3 @ voxsize # affine4[:3, 3] = pos3 # Above didn't work. Drop back to original method. # Extract dicom parameters imageOrientationPatient = img.dcm_data.PerFrameFunctionalGroupsSequence[0]\ .PlaneOrientationSequence[0].ImageOrientationPatient imageOrientationPatient = np.asarray(imageOrientationPatient).reshape(2, 3) imagePositionPatient = img.dcm_data.PerFrameFunctionalGroupsSequence[0]\ .PlanePositionSequence[0].ImagePositionPatient imagePositionPatient = np.asarray(imagePositionPatient) xyzMM = [float(img.dcm_data.PerFrameFunctionalGroupsSequence[0].PixelMeasuresSequence[0].PixelSpacing[0]), float(img.dcm_data.PerFrameFunctionalGroupsSequence[0].PixelMeasuresSequence[0].PixelSpacing[1]), float(img.dcm_data.PerFrameFunctionalGroupsSequence[0].PixelMeasuresSequence[0].SliceThickness)] xyzMM = np.asarray(xyzMM) currNiftiOrientation = dcm_to_nifti_orientation(imageOrientationPatient, imagePositionPatient, xyzMM, (1, 1, 1), half_shift=False, verbose=verbose) return currNiftiOrientation def _extractDicomMetadata(dcmdata, water_suppressed=True): """ Extract information from the nibabel DICOM object to insert into the json header ext. Args: dcmdata: nibabel.nicom image object Returns: obj (hdr_ext): NIfTI MRS hdr ext object. """ # Extract required metadata and create hdr_ext object obj = nifti_mrs.hdr_ext(dcmdata.dcm_data.TransmitterFrequency, dcmdata.dcm_data.ResonantNucleus) def set_if_present(tag, val): if val: obj.set_standard_def(tag, val) # Standard metadata # # 5.1 MRS specific Tags # 'EchoTime' echo_time = float(dcmdata.dcm_data.PerFrameFunctionalGroupsSequence[0] .MREchoSequence[0].EffectiveEchoTime) * 1E-3 obj.set_standard_def('EchoTime', echo_time) # 'RepetitionTime' rep_tim = float(dcmdata.dcm_data.PerFrameFunctionalGroupsSequence[0] .MRTimingAndRelatedParametersSequence[0].RepetitionTime) / 1E3 obj.set_standard_def('RepetitionTime', rep_tim) # 'InversionTime' # Not known # 'MixingTime' # Not known # 'ExcitationFlipAngle' fa = float(dcmdata.dcm_data.PerFrameFunctionalGroupsSequence[0] .MRTimingAndRelatedParametersSequence[0].RepetitionTime) obj.set_standard_def('ExcitationFlipAngle', fa) # 'TxOffset' # Not known # 'VOI' # Not known # 'WaterSuppressed' obj.set_standard_def('WaterSuppressed', water_suppressed) # 'WaterSuppressionType' # Not known # 'SequenceTriggered' # Not known # # 5.2 Scanner information # 'Manufacturer' obj.set_standard_def('Manufacturer', dcmdata.dcm_data.Manufacturer) # 'ManufacturersModelName' obj.set_standard_def('ManufacturersModelName', dcmdata.dcm_data.ManufacturerModelName) # 'DeviceSerialNumber' if 'DeviceSerialNumber' in dcmdata.dcm_data: obj.set_standard_def('DeviceSerialNumber', str(dcmdata.dcm_data.DeviceSerialNumber)) # 'SoftwareVersions' obj.set_standard_def('SoftwareVersions', str(dcmdata.dcm_data.SoftwareVersions)) # 'InstitutionName' obj.set_standard_def('InstitutionName', dcmdata.dcm_data.InstitutionName) # 'InstitutionAddress' if 'InstitutionAddress' in dcmdata.dcm_data: obj.set_standard_def('InstitutionAddress', dcmdata.dcm_data.InstitutionAddress) # 'TxCoil' # Not known # 'RxCoil' # ToDo # img.dcm_data.SharedFunctionalGroupsSequence[0].MRReceiveCoilSequence[0].ReceiveCoilName # # 5.3 Sequence information # 'SequenceName' obj.set_standard_def('SequenceName', dcmdata.dcm_data.PulseSequenceName) # 'ProtocolName' obj.set_standard_def('ProtocolName', dcmdata.dcm_data.ProtocolName) # # 5.4 Sequence information # 'PatientPosition' obj.set_standard_def('PatientPosition', dcmdata.dcm_data.PatientPosition) # 'PatientName' if dcmdata.dcm_data.PatientName: obj.set_standard_def('PatientName', dcmdata.dcm_data.PatientName.family_name) # 'PatientID' # Not known # 'PatientWeight' if 'PatientWeight' in dcmdata.dcm_data and dcmdata.dcm_data.PatientWeight: obj.set_standard_def('PatientWeight', float(dcmdata.dcm_data.PatientWeight)) # 'PatientDoB' set_if_present('PatientDoB', dcmdata.dcm_data.PatientBirthDate) # 'PatientSex' set_if_present('PatientSex', dcmdata.dcm_data.PatientSex) # # 5.5 Provenance and conversion metadata # 'ConversionMethod' obj.set_standard_def('ConversionMethod', f'spec2nii v{spec2nii_ver}') # 'ConversionTime' conversion_time = datetime.now().isoformat(sep='T', timespec='milliseconds') obj.set_standard_def('ConversionTime', conversion_time) # 'OriginalFile' # Added later # # 5.6 Spatial information # 'kSpace' obj.set_standard_def('kSpace', [False, False, False]) return obj
import torch from torch import nn from einops import repeat from einops.layers.torch import Rearrange from module import ConvAttention, PreNorm, FeedForward import numpy as np class Transformer(nn.Module): def __init__(self, dim, img_size, depth, heads, dim_head, mlp_dim, dropout=0., last_stage=False): super().__init__() self.layers = nn.ModuleList([]) for _ in range(depth): self.layers.append(nn.ModuleList([ PreNorm(dim, ConvAttention(dim, img_size, heads=heads, dim_head=dim_head, dropout=dropout, last_stage=last_stage)), PreNorm(dim, FeedForward(dim, mlp_dim, dropout=dropout)) ])) def forward(self, x): for attn, ff in self.layers: x = attn(x) + x x = ff(x) + x return x class CvT(nn.Module): def __init__(self, image_size, in_channels, num_classes, dim=64, kernels=[7, 3, 3], strides=[4, 2, 2], heads=[1, 3, 6] , depth = [1, 2, 10], pool='cls', dropout=0., emb_dropout=0., scale_dim=4): super().__init__() assert pool in {'cls', 'mean'}, 'pool type must be either cls (cls token) or mean (mean pooling)' self.pool = pool self.dim = dim ##### Stage 1 ####### self.stage1_conv_embed = nn.Sequential( nn.Conv2d(in_channels, dim, kernels[0], strides[0], 2), Rearrange('b c h w -> b (h w) c', h = image_size//4, w = image_size//4), nn.LayerNorm(dim) ) self.stage1_transformer = nn.Sequential( Transformer(dim=dim, img_size=image_size//4,depth=depth[0], heads=heads[0], dim_head=self.dim, mlp_dim=dim * scale_dim, dropout=dropout), Rearrange('b (h w) c -> b c h w', h = image_size//4, w = image_size//4) ) ##### Stage 2 ####### in_channels = dim scale = heads[1]//heads[0] dim = scale*dim self.stage2_conv_embed = nn.Sequential( nn.Conv2d(in_channels, dim, kernels[1], strides[1], 1), Rearrange('b c h w -> b (h w) c', h = image_size//8, w = image_size//8), nn.LayerNorm(dim) ) self.stage2_transformer = nn.Sequential( Transformer(dim=dim, img_size=image_size//8, depth=depth[1], heads=heads[1], dim_head=self.dim, mlp_dim=dim * scale_dim, dropout=dropout), Rearrange('b (h w) c -> b c h w', h = image_size//8, w = image_size//8) ) ##### Stage 3 ####### in_channels = dim scale = heads[2] // heads[1] dim = scale * dim self.stage3_conv_embed = nn.Sequential( nn.Conv2d(in_channels, dim, kernels[2], strides[2], 1), Rearrange('b c h w -> b (h w) c', h = image_size//16, w = image_size//16), nn.LayerNorm(dim) ) self.stage3_transformer = nn.Sequential( Transformer(dim=dim, img_size=image_size//16, depth=depth[2], heads=heads[2], dim_head=self.dim, mlp_dim=dim * scale_dim, dropout=dropout, last_stage=True), ) self.cls_token = nn.Parameter(torch.randn(1, 1, dim)) self.dropout_large = nn.Dropout(emb_dropout) self.mlp_head = nn.Sequential( nn.LayerNorm(dim), nn.Linear(dim, num_classes) ) def forward(self, img): xs = self.stage1_conv_embed(img) xs = self.stage1_transformer(xs) xs = self.stage2_conv_embed(xs) xs = self.stage2_transformer(xs) xs = self.stage3_conv_embed(xs) b, n, _ = xs.shape cls_tokens = repeat(self.cls_token, '() n d -> b n d', b=b) xs = torch.cat((cls_tokens, xs), dim=1) xs = self.stage3_transformer(xs) xs = xs.mean(dim=1) if self.pool == 'mean' else xs[:, 0] xs = self.mlp_head(xs) return xs if __name__ == "__main__": img = torch.ones([1, 3, 224, 224]) model = CvT(224, 3, 1000) parameters = filter(lambda p: p.requires_grad, model.parameters()) parameters = sum([np.prod(p.size()) for p in parameters]) / 1_000_000 print('Trainable Parameters: %.3fM' % parameters) out = model(img) print("Shape of out :", out.shape) # [B, num_classes]
""" Loads trained agents and tests them on a plane of the RGB cube with G fixed. Results are saved in the results folder and plotted with plot_interpolation in the plotting folder """ import pickle import numpy as np from env import gym import matplotlib.pyplot as plt import cv2 cv2.ocl.setUseOpenCL(False) from agent.dqn import DQN from env.visual_cartpole import CartPole_Pixel, FrameStack from agent.cnn_cartpole import CNN_cartpole import matplotlib import torch device = torch.device("cuda" if torch.cuda.is_available() else "cpu") ADD_CURRENT_STEP = True #Settings for interpolation NUM_SEEDS = 1 # Choose colors to test on reference_domain = (1.,1.,1.) color_range = np.linspace(0., 1., 5) colors = [(r,1,b) for r in color_range for b in color_range ] # Paths to agents networks PATH_PREFIX = 'results/networks/all_networks/big_lam100/' agents = {'Regularized' : [PATH_PREFIX + 'Regularized_'+str(i)+'/network.pth'for i in range(NUM_SEEDS)], 'Randomized' : [PATH_PREFIX + 'Randomized_'+str(i)+'/network.pth' for i in range(NUM_SEEDS)], 'Normal' : [PATH_PREFIX + 'Normal_'+str(i)+'/network.pth' for i in range(NUM_SEEDS)]} env = gym.make("CartPole-v0") env = CartPole_Pixel(env, True, False, reference_domain, colors) # Randomize = True, regularize = False for testing env = FrameStack(env, 3) agent = DQN(env, CNN_cartpole, replay_start_size=1000, replay_buffer_size=100000, gamma=0.99, update_target_frequency=1000, minibatch_size=32, learning_rate=1e-4, initial_exploration_rate=1., final_exploration_rate=0.01, final_exploration_step=10000, adam_epsilon=1e-4, logging=True, loss='mse', lam = 0, regularize = False, add_current_step=ADD_CURRENT_STEP) scores_all = np.zeros((3,NUM_SEEDS, len(colors))) # 3 agents for name_id, name in enumerate(agents.keys()): for se in range(NUM_SEEDS): print('seed : ', se) agent.load(agents[name][se]) for lab, col in enumerate(colors): env.env.colors = [col] # test on only one color obs, _ = env.reset() returns = 0 returns_list = [] current_step = 0. # average score over 1000 steps for i in range(1000): #10000 action = agent.predict(torch.FloatTensor(obs).to(device),torch.FloatTensor([current_step]).to(device)) obs, rew, done, info = env.step(action) current_step = info['current_step'] returns += rew if done: obs, _ = env.reset() returns_list.append(returns) print(returns) returns = 0 print('Average score on ' + str(len(returns_list)) + ' episodes' + ' for '+ str(name) +' : ' + str(np.mean(returns_list)) + ', color : '+ str(col) ) scores_all[name_id][se][lab] = np.mean(returns_list) np.save('results/generalization_result_interpolation_100.npy',scores_all) # Can then be plotted in plot_extrapolation.py or plot_interpolation.py env.close()
from django.contrib.admin import AdminSite from django.contrib.admin.models import LogEntry from django.contrib.auth.admin import GroupAdmin from django.contrib.auth.models import Group, Permission from django.contrib.sites.admin import SiteAdmin from django.contrib.sites.models import Site from blog.admin import ( ArticleAdmin, CategoryAdmin, TagAdmin, LinkAdmin, SideBarAdmin, SettingAdmin, CommentAdmin, PhotoAdmin, GuestBookAdmin, ) from blog.models import ( Setting, Category, Article, Comment, Tag, Link, SideBar, Photo, GuestBook, ) from oauth.admin import OAuthConfigAdmin from oauth.models import OAuthConfig from user.admin import UserProfileAdmin, EmailVerifyCodeAdmin, LogEntryAdmin from user.models import UserProfile, EmailVerifyCode from utils.get_setting import get_setting class BinBlogAdminSite(AdminSite): site_header = '彬彬博客后台管理' site_title = '彬彬博客后台管理' def __init__(self, name='admin'): """ AdminSite追进去看 """ super().__init__(name) def has_permission(self, request): """ 重载登陆后台权限设置 Return True if the given HttpRequest has permission to view """ s = get_setting() if s.enable_multi_user: # 启动了多用户管理系统, 用户具有staff权限可以登陆后台 return request.user.is_active and request.user.is_staff else: # 否则只有超级管理员有权限登陆后台 return request.user.is_superuser admin_site = BinBlogAdminSite(name='admin') admin_site.register(Setting, SettingAdmin) # 站点配置 admin_site.register(Category, CategoryAdmin) # 文章分类 admin_site.register(Article, ArticleAdmin) # 文章 admin_site.register(Comment, CommentAdmin) # 文章评论 admin_site.register(Tag, TagAdmin) # 文章标签 admin_site.register(SideBar, SideBarAdmin) # 侧边栏 admin_site.register(Photo, PhotoAdmin) # 相册 admin_site.register(GuestBook, GuestBookAdmin) # 留言板 admin_site.register(Link, LinkAdmin) # 友情链接 admin_site.register(UserProfile, UserProfileAdmin) # 用户 admin_site.register(EmailVerifyCode, EmailVerifyCodeAdmin) # 邮箱验证码 admin_site.register(OAuthConfig, OAuthConfigAdmin) # OAuth设置 admin_site.register(Site, SiteAdmin) # 站点, sitemap使用 admin_site.register(Group, GroupAdmin) # 用户组, 管理权限 admin_site.register(Permission) # 权限 admin_site.register(LogEntry, LogEntryAdmin) # 日志管理
from JumpScale import j j.base.loader.makeAvailable(j, 'system.platform') platformid = None import sys if not sys.platform.startswith("win"): try: import lsb_release platformid = lsb_release.get_distro_information()['ID'] except ImportError: exitcode, platformid = j.system.process.execute('lsb_release -i -s', False) platformid = platformid.strip() if platformid in ('Ubuntu', 'LinuxMint'): from .ubuntu.Ubuntu import Ubuntu ubuntu = Ubuntu() j.system.platform.ubuntu = Ubuntu()
''' This is the resnet structure. ''' import tensorflow as tf from hyper_parameters import * BN_EPSILON = 0.001 NUM_LABELS = 6 def activation_summary(x): ''' :param x: A Tensor :return: Add histogram summary and scalar summary of the sparsity of the tensor ''' tensor_name = x.op.name # tf.histogram_summary(tensor_name + '/activations', x) # tf.scalar_summary(tensor_name + '/sparsity', tf.nn.zero_fraction(x)) def create_variables(name, shape, initializer=tf.contrib.layers.xavier_initializer(), is_fc_layer=False): ''' :param name: A string. The name of the new variable :param shape: A list of dimensions :param initializer: User Xavier as default. :param is_fc_layer: Want to create fc layer variable? May use different weight_decay for fc layers. :return: The created variable ''' if is_fc_layer is True: regularizer = tf.contrib.layers.l2_regularizer(scale=FLAGS.fc_weight_decay) else: regularizer = tf.contrib.layers.l2_regularizer(scale=FLAGS.weight_decay) new_variables = tf.get_variable(name, shape=shape, initializer=initializer, regularizer=regularizer) return new_variables def output_layer(input_layer, num_labels): input_dim = input_layer.get_shape().as_list()[-1] fc_w = create_variables(name='fc_weights', shape=[input_dim, num_labels], is_fc_layer=True, initializer=tf.uniform_unit_scaling_initializer(factor=1.0)) fc_b = create_variables(name='fc_bias', shape=[num_labels], initializer=tf.zeros_initializer) fc_w2 = create_variables(name='fc_weights2', shape=[input_dim, 4], is_fc_layer=True, initializer=tf.uniform_unit_scaling_initializer(factor=1.0)) fc_b2 = create_variables(name='fc_bias2', shape=[4], initializer=tf.zeros_initializer) fc_h = tf.matmul(input_layer, fc_w) + fc_b fc_h2 = tf.matmul(input_layer, fc_w2) + fc_b2 return fc_h, fc_h2 def conv_bn_relu_layer(input_layer, filter_shape, stride, second_conv_residual=False, relu=True): out_channel = filter_shape[-1] if second_conv_residual is False: filter = create_variables(name='conv', shape=filter_shape) else: filter = create_variables(name='conv2', shape=filter_shape) conv_layer = tf.nn.conv2d(input_layer, filter, strides=[1, stride, stride, 1], padding='SAME') mean, variance = tf.nn.moments(conv_layer, axes=[0, 1, 2]) if second_conv_residual is False: beta = tf.get_variable('beta', out_channel, tf.float32, initializer=tf.constant_initializer(0.0, tf.float32)) gamma = tf.get_variable('gamma', out_channel, tf.float32, initializer=tf.constant_initializer(1.0, tf.float32)) else: beta = tf.get_variable('beta_second_conv', out_channel, tf.float32, initializer=tf.constant_initializer(0.0, tf.float32)) gamma = tf.get_variable('gamma_second_conv', out_channel, tf.float32, initializer=tf.constant_initializer(1.0, tf.float32)) bn_layer = tf.nn.batch_normalization(conv_layer, mean, variance, beta, gamma, BN_EPSILON) if relu: output = tf.nn.relu(bn_layer) else: output = bn_layer return output def bn_relu_conv_layer(input_layer, filter_shape, stride, second_conv_residual=False): in_channel = input_layer.get_shape().as_list()[-1] mean, variance = tf.nn.moments(input_layer, axes=[0, 1, 2]) if second_conv_residual is False: beta = tf.get_variable('beta', in_channel, tf.float32, initializer=tf.constant_initializer(0.0, tf.float32)) gamma = tf.get_variable('gamma', in_channel, tf.float32, initializer=tf.constant_initializer(1.0, tf.float32)) else: beta = tf.get_variable('beta_second_conv', in_channel, tf.float32, initializer=tf.constant_initializer(0.0, tf.float32)) gamma = tf.get_variable('gamma_second_conv', in_channel, tf.float32, initializer=tf.constant_initializer(1.0, tf.float32)) bn_layer = tf.nn.batch_normalization(input_layer, mean, variance, beta, gamma, BN_EPSILON) relu_layer = tf.nn.relu(bn_layer) if second_conv_residual is False: filter = create_variables(name='conv', shape=filter_shape) else: filter = create_variables(name='conv2', shape=filter_shape) conv_layer = tf.nn.conv2d(relu_layer, filter, strides=[1, stride, stride, 1], padding='SAME') return conv_layer def residual_block_new(input_layer, output_channel, first_block=False): input_channel = input_layer.get_shape().as_list()[-1] if input_channel * 2 == output_channel: increase_dim = True stride = 2 elif input_channel == output_channel: increase_dim = False stride = 1 else: raise ValueError('Output and input channel does not match in residual blocks!!!') if first_block: filter = create_variables(name='conv', shape=[3, 3, input_channel, output_channel]) conv1 = tf.nn.conv2d(input_layer, filter=filter, strides=[1, 1, 1, 1], padding='SAME') else: conv1 = bn_relu_conv_layer(input_layer, [3, 3, input_channel, output_channel], stride) conv2 = bn_relu_conv_layer(conv1, [3, 3, output_channel, output_channel], 1, second_conv_residual=True) if increase_dim is True: pooled_input = tf.nn.avg_pool(input_layer, ksize=[1, 2, 2, 1], strides=[1, 2, 2, 1], padding='SAME') padded_input = tf.pad(pooled_input, [[0, 0], [0, 0], [0, 0], [input_channel // 2, input_channel // 2]]) else: padded_input = input_layer output = conv2 + padded_input return output def inference(input_tensor_batch, n, reuse, keep_prob_placeholder): ''' total layers = 1 + 2n + 2n + 2n +1 = 6n + 2 ''' layers = [] with tf.variable_scope('conv0', reuse=reuse): conv0 = conv_bn_relu_layer(input_tensor_batch, [3, 3, 3, 16], 1) # activation_summary(conv0) layers.append(conv0) for i in range(n): with tf.variable_scope('conv1_%d' %i, reuse=reuse): if i == 0: conv1 = residual_block_new(layers[-1], 16, first_block=True) else: conv1 = residual_block_new(layers[-1], 16) # activation_summary(conv1) layers.append(conv1) for i in range(n): with tf.variable_scope('conv2_%d' %i, reuse=reuse): conv2 = residual_block_new(layers[-1], 32) # activation_summary(conv2) layers.append(conv2) for i in range(n): with tf.variable_scope('conv3_%d' %i, reuse=reuse): conv3 = residual_block_new(layers[-1], 64) layers.append(conv3) # assert conv3.get_shape().as_list()[1:] == [16, 16, 64] with tf.variable_scope('fc', reuse=reuse): in_channel = layers[-1].get_shape().as_list()[-1] mean, variance = tf.nn.moments(layers[-1], axes=[0, 1, 2]) beta = tf.get_variable('beta', in_channel, tf.float32, initializer=tf.constant_initializer(0.0, tf.float32)) gamma = tf.get_variable('gamma', in_channel, tf.float32, initializer=tf.constant_initializer(1.0, tf.float32)) bn_layer = tf.nn.batch_normalization(layers[-1], mean, variance, beta, gamma, BN_EPSILON) relu_layer = tf.nn.relu(bn_layer) global_pool = tf.reduce_mean(relu_layer, [1, 2]) assert global_pool.get_shape().as_list()[-1:] == [64] cls_output, bbx_output = output_layer(global_pool, NUM_LABELS) layers.append(cls_output) layers.append(bbx_output) return cls_output, bbx_output, global_pool
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-10 11:58 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('transactions', '0011_transaction'), ] operations = [ migrations.AlterField( model_name='accountsnapshot', name='account', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='daily_snapshots', to='transactions.Account'), ), ]
import numpy as np import SimpleITK as sitk __all__ = [ "load_sitk_to_numpy", "save_numpy_to_sitk", ] def load_sitk_to_numpy(path, header=False, dtype=None, dcm=False): if dcm: reader = sitk.ImageSeriesReader() dcm_series = reader.GetGDCMSeriesFileNames(path) reader.SetFileNames(dcm_series) data = reader.Execute() else: data = sitk.ReadImage(path) array = sitk.GetArrayFromImage(data).swapaxes(0, 2) if dtype is not None: array = array.astype(dtype) if header: return { "array": array, "origin": np.array(data.GetOrigin()), "spacing": np.array(data.GetSpacing()), "direction": np.array(data.GetDirection()), } else: return { "array": array, } def save_numpy_to_sitk(data, path, header=False): img = sitk.GetImageFromArray(data["array"].swapaxes(0, 2)) if header: img.SetOrigin(data["origin"]) img.SetSpacing(data["spacing"]) img.SetDirection(data["direction"]) sitk.WriteImage(img, path, True)
# # PySNMP MIB module PROXIM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PROXIM-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:42:21 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ConstraintsIntersection, SingleValueConstraint, ConstraintsUnion, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ConstraintsUnion", "ValueRangeConstraint") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Gauge32, ModuleIdentity, IpAddress, enterprises, Unsigned32, Bits, TimeTicks, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Counter64, Integer32, NotificationType, Counter32, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "ModuleIdentity", "IpAddress", "enterprises", "Unsigned32", "Bits", "TimeTicks", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Counter64", "Integer32", "NotificationType", "Counter32", "ObjectIdentity") DisplayString, TextualConvention, PhysAddress, RowStatus, MacAddress = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "PhysAddress", "RowStatus", "MacAddress") proxim = ModuleIdentity((1, 3, 6, 1, 4, 1, 841)) if mibBuilder.loadTexts: proxim.setLastUpdated('200808110000Z') if mibBuilder.loadTexts: proxim.setOrganization('Proxim Corporation') if mibBuilder.loadTexts: proxim.setContactInfo('Pavan Sudheer Rampalli Proxim Corporation Access Point Development Division NAC Campus, Hi-Tex Road, Kondapur, Hyderabad \x96 500 034 INDIA Tel: +91.40.2311.7400 Fax: +91.40.2311.5491 Email: pavan@proxim.com') if mibBuilder.loadTexts: proxim.setDescription('MIB Definition used in the Proxim Wireless Product Line: iso(1).org(3).dod(6).internet(1).private(4).enterprises(1). proxim(841)') class DisplayString20(DisplayString): description = 'The DisplayString20 textual convention is used to define a string that can consist of 0 - 20 alphanumeric characters.' status = 'current' subtypeSpec = DisplayString.subtypeSpec + ValueSizeConstraint(0, 20) class DisplayString32(DisplayString): description = 'The DisplayString32 textual convention is used to define a string that can consist of 0 - 32 alphanumeric characters.' status = 'current' subtypeSpec = DisplayString.subtypeSpec + ValueSizeConstraint(0, 32) class DisplayString55(DisplayString): description = 'The DisplayString32 textual convention is used to define a string that can consist of 0 - 55 alphanumeric characters this textual convention is used for Temperature log messages.' status = 'current' subtypeSpec = DisplayString.subtypeSpec + ValueSizeConstraint(0, 55) class DisplayString80(DisplayString): description = 'The DisplayString80 textual convention is used to define a string that can consist of 0 - 80 alphanumeric characters.' status = 'current' subtypeSpec = DisplayString.subtypeSpec + ValueSizeConstraint(0, 80) class InterfaceBitmask(TextualConvention, Unsigned32): description = 'An Interface Bitmask used to enable or disable access or functionality of an interface in the system. Each bit in this object represents a network interface in the system consistent with the ifIndex object in MIB-II. The value for this object is interpreted as a bitfield, where the value of 1 means enabled. Examples of Usage: 1. For a system with the following interfaces : - Ethernet If = 1 - Loopback If = 2 - Wireless If 0 VAP 0 = 3 - Wireless If 0 VAP 1 = 4 - Wireless If 0 VAP 2 = 5 - Wireless If 0 VAP 3 = 6 - Wireless If 1 VAP 0 = 7 - Wireless If 1 VAP 1 = 8 - Wireless If 1 VAP 2 = 9 - Wireless If 1 VAP 3 = 10 Interface Bitmask usage: - 00000000 (0x00): All Interfaces disabled - 00000001 (0x01): Ethernet If enabled - 00000010 (0x02): Wireless If 0 VAP 0 enabled - 00000100 (0x03): Wireless If 0 VAP 1 enabled - 00001000 (0x04): Wireless If 0 VAP 2 enabled - 00010000 (0x06): Wireless If 0 VAP 3 enabled TBD: This has to be re-considered Note: The software loopback interface bit is ignored in the usage of the interface bitmask object.' status = 'current' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(0, 255) class ObjStatus(TextualConvention, Integer32): description = 'The status textual convention is used to enable or disable functionality or a feature.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2)) namedValues = NamedValues(("notSupported", 0), ("enable", 1), ("disable", 2)) class ObjStatusActive(TextualConvention, Integer32): description = 'The status textual convention is used to activate, deactivate, and delete a table row.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("active", 1), ("inactive", 2), ("deleted", 3)) class Password(DisplayString): description = 'This represents a textual convention for password feilds.' status = 'current' subtypeSpec = DisplayString.subtypeSpec + ValueSizeConstraint(6, 32) class V3Password(DisplayString): description = 'This represents a textual convention for password feilds.' status = 'current' subtypeSpec = DisplayString.subtypeSpec + ValueSizeConstraint(8, 32) class VlanId(TextualConvention, Integer32): description = 'A 12-bit VLAN ID used in the VLAN Tag header.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(-1, 4094) class WEPKeyType(DisplayString): description = 'The WEPKeyType textual convention is used to define the object type used to configured WEP Keys.' status = 'current' subtypeSpec = DisplayString.subtypeSpec + ValueSizeConstraint(0, 32) wireless = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1)) objects = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1)) deviceConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1)) interface = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1)) wirelessIf = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1)) ethernetIf = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 2)) apSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2)) wirelessSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1)) radius = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2)) macacl = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3)) qos = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3)) wirelessQoS = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3)) l2l3QoS = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4)) worpQoS = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5)) network = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4)) netIp = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1)) netCfg = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 2)) nat = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 3)) rip = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 4)) vlan = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5)) filtering = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6)) protocolFilter = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 3)) staticMACAddrFilter = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 4)) advancedFiltering = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 5)) tcpudpPortFilter = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 6)) worpIntraCellBlocking = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7)) securityGateway = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 8)) stormThreshold = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 10)) dhcp = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7)) dhcpServer = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1)) dhcpRelay = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 2)) sysConf = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8)) igmp = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 10)) deviceMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2)) sys = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1)) sysInvMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2)) sysFeature = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3)) sysMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 4)) sysInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 5)) mgmtSnmp = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2)) http = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 3)) telnet = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 4)) tftp = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 5)) trapControl = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 6)) mgmtAccessControl = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7)) ssh = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 8)) deviceMon = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3)) syslog = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 1)) eventlog = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 2)) sntp = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 3)) wirelessIfMon = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4)) wirelessIfStaStats = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1)) wirelessIfWORPStats = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2)) wirelessIfBlacklistInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 3)) wirelessIfWORPLinkTest = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4)) wirelessIfStats = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5)) radiusMon = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5)) radiusClientStats = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1)) traps = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6)) interfaceTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 1)) securityTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 2)) operationalTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 3)) systemTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4)) sntpTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 5)) imageTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 6)) siteSurvey = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7)) worpSiteSurvey = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1)) temperature = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 8)) sysMonitor = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 9)) igmpStats = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10)) debugLog = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 11)) igmpEthernetSnoopingStats = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1)) igmpWirelessSnoopingStats = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 2)) products = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 2)) ap_800 = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 2, 1)).setLabel("ap-800") ap_8000 = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 2, 2)).setLabel("ap-8000") qb_8100 = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 2, 11)).setLabel("qb-8100") mp_8100 = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 2, 21)).setLabel("mp-8100") mp_8100_cpe = MibIdentifier((1, 3, 6, 1, 4, 1, 841, 2, 22)).setLabel("mp-8100-cpe") wirelessIfPropertiesTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1), ) if mibBuilder.loadTexts: wirelessIfPropertiesTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfPropertiesTable.setDescription('This table contains information on the properties and capabilities of the wireless interface(s) present in the device.') wirelessIfPropertiesTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfPropertiesTableIndex")) if mibBuilder.loadTexts: wirelessIfPropertiesTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfPropertiesTableEntry.setDescription('This parameter represents the entry in the wireless interface properties table.') wirelessIfPropertiesTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfPropertiesTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfPropertiesTableIndex.setDescription('This parameter represents a unique value for each Wireless interface in the system and is used as index to this table.') wirelessIfPropertiesRadioStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfPropertiesRadioStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfPropertiesRadioStatus.setDescription('This parameter is used to provide the status of the Wireless Radio interface. Select (1) to enable the wireless interface and (2) to disable the wireless interface. ') wirelessIfOperationalMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 128))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfOperationalMode.setStatus('current') if mibBuilder.loadTexts: wirelessIfOperationalMode.setDescription('This parameter is used to set the wireless NIC Operational mode. Depending on the wireless NIC in the device different wireless operational modes can be configured. The object wirelessIfSupportedOperationalMode shows the supported modes and the possible supported modes for AP products: dot11b(1), dot11g(2), dot11ng(3), dot11a(4), dot11na(5)') wirelessIfSupportedOperationalMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfSupportedOperationalMode.setStatus('current') if mibBuilder.loadTexts: wirelessIfSupportedOperationalMode.setDescription('This parameter is used to set the wireless supported Operational mode.') wirelessIfCurrentChannelBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfCurrentChannelBandwidth.setStatus('current') if mibBuilder.loadTexts: wirelessIfCurrentChannelBandwidth.setDescription('This parameter represents the current bandwidth that Wireless is currently operating on. It is represented in MHz') wirelessIfSupportedChannelBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfSupportedChannelBandwidth.setStatus('current') if mibBuilder.loadTexts: wirelessIfSupportedChannelBandwidth.setDescription('This parameter represents the channel bandwidths that a wireless can support.') wirelessIfAutoChannelSelection = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfAutoChannelSelection.setStatus('current') if mibBuilder.loadTexts: wirelessIfAutoChannelSelection.setDescription('This parameter is used to configure the auto channel selection for wireless interface. Select (1) to enable the auto channel selection and (2) to disable the auto channel selection. ') wirelessIfCurrentOperatingChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 8), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfCurrentOperatingChannel.setStatus('current') if mibBuilder.loadTexts: wirelessIfCurrentOperatingChannel.setDescription('This parameter represents the user configured channel that the radio is configured to operate in. Note: It is possible that the currently active channel is different. To find the current active/operational channel refer to wirelessIfCurrentActiveChannel.') wirelessIfSupportedChannels = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1024))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfSupportedChannels.setStatus('current') if mibBuilder.loadTexts: wirelessIfSupportedChannels.setDescription('This parameter represents the channels that wireless can support. ') wirelessIfAutoRateSelection = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfAutoRateSelection.setStatus('current') if mibBuilder.loadTexts: wirelessIfAutoRateSelection.setDescription('This parameter is used to configure the value for Auto Rate Selection for the wireless interface. Select (1) to enable the Auto Rate selection and (2) to disable the Auto Rate selection. ') wirelessIfTransmittedRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfTransmittedRate.setStatus('current') if mibBuilder.loadTexts: wirelessIfTransmittedRate.setDescription('This parameter represents the number of rates transmitted for wireless. ') wirelessIfSupportedRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 12), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfSupportedRate.setStatus('current') if mibBuilder.loadTexts: wirelessIfSupportedRate.setDescription('This parameter represents the number of rates supported for wireless.') wirelessIfVAPRTSThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2346)).clone(2346)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPRTSThreshold.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPRTSThreshold.setDescription('This parameter represents the maximum threshold for VAP RTS (Request To Send). The maximum threshold can be configured up to 2346. ') wirelessIfVAPBeaconInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 14), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 1000)).clone(100)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPBeaconInterval.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPBeaconInterval.setDescription('This parameter represents the time interval that a beacon takes for getting transmitted for wireless VAP. By default, the value is set to 100 ms.') wirelessIfTPC = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 25))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfTPC.setStatus('current') if mibBuilder.loadTexts: wirelessIfTPC.setDescription('This parameter represents the cell size that the transmitted power controls. It is measured in dBm. Please check the wirelessIfActiveTPC for current active TPC.') wirelessIfCellSize = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("small", 1), ("medium", 2), ("large", 3))).clone('large')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfCellSize.setStatus('current') if mibBuilder.loadTexts: wirelessIfCellSize.setDescription('This parameter represents the cell size of the wireless. By default, the cell size is configured to large. Select (1) for Small cell size, (2) for Medium cell size and (3) for Large cell size. ') wirelessIfDTIM = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 17), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDTIM.setStatus('current') if mibBuilder.loadTexts: wirelessIfDTIM.setDescription('This parameter represents the delivery traffic indication map period. This is the interval between the transmission of multicast frames on the wireless inteface. It is expressed in the Beacon messages. The recommended default value for this parameter is 1.') wirelessIfAntennaGain = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 18), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 40))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfAntennaGain.setStatus('current') if mibBuilder.loadTexts: wirelessIfAntennaGain.setDescription('This parameter is used to configure the antenna gain.') wirelessIfCurrentActiveChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 19), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfCurrentActiveChannel.setStatus('current') if mibBuilder.loadTexts: wirelessIfCurrentActiveChannel.setDescription('This parameter represents the current active channel that wireless radio is operating on. It may be different from the configured channel represented by wirelessIfCurrentOperatingChannel.') wirelessIfSatelliteDensity = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("disable", 1), ("large", 2), ("medium", 3), ("small", 4), ("mini", 5), ("micro", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfSatelliteDensity.setStatus('current') if mibBuilder.loadTexts: wirelessIfSatelliteDensity.setDescription('This parameter represents the density of the satellites for the BSU. It configures the BSU to accomodate the satellites for the specified range.') wirelessIfMPOperationalMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("highThroughput", 1), ("legacy", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfMPOperationalMode.setStatus('current') if mibBuilder.loadTexts: wirelessIfMPOperationalMode.setDescription('This parameter is used to set the wireless NIC Operational mode for Tsunami Multi Point Products.') wirelessIfChannelWaitTime = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 22), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600)).clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfChannelWaitTime.setStatus('current') if mibBuilder.loadTexts: wirelessIfChannelWaitTime.setDescription('This parameter is used to configure the DFS channel wait time.') wirelessIfActiveTPC = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 23), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 18))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfActiveTPC.setStatus('current') if mibBuilder.loadTexts: wirelessIfActiveTPC.setDescription('This parameter shows the active cell size that the transmitted power controls. It is measured in dBm') wirelessIfDfsNumSatWithRadarForFreqSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 24), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDfsNumSatWithRadarForFreqSwitch.setStatus('current') if mibBuilder.loadTexts: wirelessIfDfsNumSatWithRadarForFreqSwitch.setDescription('This parameter represents the minimum number of satellites reporting RADAR for BSU to switch to a new best channel/frequency. The default value is (0) that indicates BSU to never switch to a new best channel/frequency for any number of satellites reporting RADAR.') wirelessIfDfsStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 1, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDfsStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfDfsStatus.setDescription('This parameter is used to configure the status of the DFS for SU. Configuring this parameter for BSU will not affecte BSU Status. 1 to enable the DFS, 2 to disable the DFS.') wirelessIf11nPropertiesTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2), ) if mibBuilder.loadTexts: wirelessIf11nPropertiesTable.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesTable.setDescription('This table holds the wireless11n configurations.') wirelessIf11nPropertiesTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIf11nPropertiesTableIndex")) if mibBuilder.loadTexts: wirelessIf11nPropertiesTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesTableEntry.setDescription('This parameter represents the entry for wireless11n properties table.') wirelessIf11nPropertiesTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIf11nPropertiesTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesTableIndex.setDescription('This parameter represents index to the wireless interface 11n table and this represents the wireless radios.') wirelessIf11nPropertiesAMPDUStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIf11nPropertiesAMPDUStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesAMPDUStatus.setDescription('This parameter is used define the AMPDU status for wireless 11n interface. Select 1 to enable and 2 to disable the AMPDU status.') wirelessIf11nPropertiesAMPDUMaxNumFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 64)).clone(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIf11nPropertiesAMPDUMaxNumFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesAMPDUMaxNumFrames.setDescription('This parameter represents the Agregated MAC Protocol Data Unit (AMPDU) frames that are transmitted. It can be configured up to 64 frames.') wirelessIf11nPropertiesAMPDUMaxFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1024, 65535)).clone(65535)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIf11nPropertiesAMPDUMaxFrameSize.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesAMPDUMaxFrameSize.setDescription('This parameter is used to configure the maximum AMPDU frame size (in bytes) that can be transmitted.') wirelessIf11nPropertiesAMSDUStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIf11nPropertiesAMSDUStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesAMSDUStatus.setDescription('This parameter is used define the AMSDU status for wireless 11n interface. Select 1 to enable and 2 to disable the AMSDU status.') wirelessIf11nPropertiesAMSDUMaxFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(4096, 4096))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIf11nPropertiesAMSDUMaxFrameSize.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesAMSDUMaxFrameSize.setDescription('This parameter shows the maximum AMSDU frame size (in bytes) that can be transmitted.') wirelessIf11nPropertiesFrequencyExtension = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("upperExtensionChannel", 1), ("lowerExtensionChannel", 2))).clone('upperExtensionChannel')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIf11nPropertiesFrequencyExtension.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesFrequencyExtension.setDescription('This parameter is used to configure the frequency extension for the wireless interface. Select 1 to configure the UpperExtensionChannel and 2 to configure the LowerExtensionChannel.') wirelessIf11nPropertiesGuardInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("shortGI-400nSec", 1), ("fullGI-800nSec", 2))).clone('fullGI-800nSec')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIf11nPropertiesGuardInterval.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesGuardInterval.setDescription('This parameter is used to configure the guard interval for the wireless interface. Select 1 for short guard interval as 400 nano seconds and 2 for full guard interval as 800 nano seconds.') wirelessIf11nPropertiesTxAntennas = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("one", 1), ("two", 2), ("three", 3), ("four", 4), ("five", 5), ("six", 6), ("seven", 7))).clone('seven')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIf11nPropertiesTxAntennas.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesTxAntennas.setDescription('This parameter enables the transmission antennas. This is configured as bit-mask. Eg: 3 - 011 (binary value) - first and second antennas are enabled. 7 - 111 (binary value) - all three are enabled.') wirelessIf11nPropertiesRxAntennas = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("one", 1), ("two", 2), ("three", 3), ("four", 4), ("five", 5), ("six", 6), ("seven", 7))).clone('seven')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIf11nPropertiesRxAntennas.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesRxAntennas.setDescription('This parameter enables the receiving antennas. This is configured as bit-mask. Eg: 3 - 011 (binary value) - first and second antennas are enabled. 7 - 111 (binary value) - all three are enabled.') wirelessIf11nPropertiesNumOfSpatialStreams = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("single", 1), ("dual", 2), ("auto", 3))).clone('single')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIf11nPropertiesNumOfSpatialStreams.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesNumOfSpatialStreams.setDescription('This parameter is used to select the number of spatial streams for 11n.') wirelessIf11nPropertiesSupportedTxAntennas = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIf11nPropertiesSupportedTxAntennas.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesSupportedTxAntennas.setDescription('This parameter shows the number of supported Tx antennas.') wirelessIf11nPropertiesSupportedRxAntennas = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 2, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIf11nPropertiesSupportedRxAntennas.setStatus('current') if mibBuilder.loadTexts: wirelessIf11nPropertiesSupportedRxAntennas.setDescription('This parameter shows the number of supported Rx antennas.') wirelessIfVAPTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3), ) if mibBuilder.loadTexts: wirelessIfVAPTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPTable.setDescription('This table holds the wireless VAP (virtual access point) configurations.') wirelessIfVAPTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfVAPTableIndex"), (0, "PROXIM-MIB", "wirelessIfVAPTableSecIndex")) if mibBuilder.loadTexts: wirelessIfVAPTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPTableEntry.setDescription('This parameter represents the entry for the wireless VAP table.') wirelessIfVAPTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfVAPTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPTableIndex.setDescription('This parameter is used to configure the wireless VAP table. Select 1 represents Wifi0 (radio-0) and 2 represents Wifi1 (radio-1).') wirelessIfVAPTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfVAPTableSecIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPTableSecIndex.setDescription('This parameter represents the VAPs and used as secondary index to this table.') wirelessIfVAPType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("ap", 1))).clone('ap')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPType.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPType.setDescription('This parameter is used to configure the type of VAP. Select 1 for AP.') wirelessIfVAPSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPSSID.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPSSID.setDescription('This parameter is used to represent the wireless card SSID name (wireless network name).') wirelessIfVAPBSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 5), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfVAPBSSID.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPBSSID.setDescription('This parameter represents the MAC address for the VAP BSSID. ') wirelessIfVAPBroadcastSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPBroadcastSSID.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPBroadcastSSID.setDescription('This parameter is used to configure the status of the broadcast wireless VAP SSID. A single entry in the SSID table can be enabled to broadcast SSID in beacon messages. Select 1 to enable, 2 to disable') wirelessIfVAPFragmentationThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(256, 2346)).clone(2346)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPFragmentationThreshold.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPFragmentationThreshold.setDescription('This parameter is used to configure the fragmentation threshold for the wireless VAP. By default, the value is set to 2346.') wirelessIfVAPSecurityProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPSecurityProfileName.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPSecurityProfileName.setDescription('This parameter allows you to configure the Security profile name for Wireless VAP.') wirelessIfVAPRadiusProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPRadiusProfileName.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPRadiusProfileName.setDescription('This parameter allows you to configure the RADIUS profile name for Wireless VAP.') wirelessIfVAPVLANID = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 10), VlanId().clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPVLANID.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPVLANID.setDescription('This parameter is used to represent the VLAN ID for the wireless VAP. Select any value between 1 - 4094 to tag the VLAN ids and -1 to untag the VLAN ids.') wirelessIfVAPVLANPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPVLANPriority.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPVLANPriority.setDescription('This parameter is used to configure the VLAN priority for Wireless VAP. By default the value is set to 0.') wirelessIfVAPQoSProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPQoSProfileName.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPQoSProfileName.setDescription('This parameter is used to configure the profile name for the Wireless VAP QoS.') wirelessIfVAPMACACLStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPMACACLStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPMACACLStatus.setDescription('This parameter is used to enable or disable the MAC access control list.') wirelessIfVAPRadiusMACACLStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPRadiusMACACLStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPRadiusMACACLStatus.setDescription('This parameter is used to enable or disable the MAC ACL for Radius Profiles') wirelessIfVAPRadiusAccStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPRadiusAccStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPRadiusAccStatus.setDescription('This parameter is used to enable or disable the Radius Accounting Stats capture.') wirelessIfVAPStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 3, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("delete", 3))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfVAPStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfVAPStatus.setDescription('This parameter is used to configure the status of the VAP. Select 1 to enable the VAP, 2 to disable the VAP and 3 to delete the VAP.') wirelessIfWORPTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4), ) if mibBuilder.loadTexts: wirelessIfWORPTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPTable.setDescription('This table holds the wireless WORP protocol configurations') wirelessIfWORPTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfWORPTableIndex")) if mibBuilder.loadTexts: wirelessIfWORPTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPTableEntry.setDescription('This object represents the entry for the wireless WORP table') wirelessIfWORPTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPTableIndex.setDescription('This parameter represents the radio for which the WORP is enabled and index to the wirelessIfWORPTable.') wirelessIfWORPMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPMode.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPMode.setDescription('This parameter displays the worp mode of operation.') wirelessIfWORPBaseStationName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPBaseStationName.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPBaseStationName.setDescription('This parameter represents the name of the BSU for which it can register. This configuration is valid only on SU. If this field is empty then SU is allowed to register with any BSU.') wirelessIfWORPNetworkName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPNetworkName.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPNetworkName.setDescription('This parameter represents the name of the Network of the WORP Interface.') wirelessIfWORPMaxSatellites = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 250)).clone(100)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPMaxSatellites.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPMaxSatellites.setDescription('This parameter represents the maximum number of SUs allowed to register on this BSU. This configuration is valid only on BSU.') wirelessIfWORPMTU = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(350, 3808)).clone(3808)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPMTU.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPMTU.setDescription('This parameter represents to maximum size of a frame sent from the WORP interface.') wirelessIfWORPSuperPacketing = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPSuperPacketing.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPSuperPacketing.setDescription('This parameter represents the status of bundling multiple ethernet frames in one single WORP Jumbo frame') wirelessIfWORPSleepMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPSleepMode.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPSleepMode.setDescription('This parameter represents the status of sleep mode. This Configuration is valid only on BSU. If there is no data available to transfer b/w BSU & SU, BSU will keep the SU state in sleep state and polls that particular SU for every 4 seconds to just to maintain the WORP link. ') wirelessIfWORPMultiFrameBursting = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPMultiFrameBursting.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPMultiFrameBursting.setDescription('This parameter enables WORP protocol to allow each side, BSU or SU, to send a burst of multiple data messages instead of a single data message.') wirelessIfWORPRegistrationTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPRegistrationTimeout.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPRegistrationTimeout.setDescription('This parameter represents the registration procedure timeout period for WORP interface.') wirelessIfWORPRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 10)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPRetries.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPRetries.setDescription('This parameter represents the number of times the same worp frame need to be re-Transmitted, if it is not acknowledged by the peer.') wirelessIfWORPTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 13), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPTxRate.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPTxRate.setDescription('This parameter represents the WORP interface transmission rate. Please check the object wirelessIfWORPSupportedTxRate for supported rates.') wirelessIfWORPSupportedTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 14), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPSupportedTxRate.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPSupportedTxRate.setDescription('This parameter displays the supported transmission rate based on Channel Bandwdith, Guard Interval and Number of Spacial Streams configuration.') wirelessIfWORPInputBandwidthLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(64, 307200)).clone(3072000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPInputBandwidthLimit.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPInputBandwidthLimit.setDescription('This parameters represents the Bandwidth limit on Input direction. Default limit & maximum limit are based on the license file.') wirelessIfWORPOutputBandwidthLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 16), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(64, 307200)).clone(307200)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPOutputBandwidthLimit.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPOutputBandwidthLimit.setDescription('This parameter represents the Bandwidth limit on Output direction. Default limit & maximum limit are based on the license file.') wirelessIfWORPBandwidthLimitType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("policing", 1), ("shaping", 2))).clone('policing')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPBandwidthLimitType.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPBandwidthLimitType.setDescription('This parameter represents the bandwidth limit type - shaping or policing.') wirelessIfWORPSecurityProfileIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("one", 1), ("two", 2), ("three", 3), ("four", 4), ("five", 5), ("six", 6), ("seven", 7), ("eight", 8)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPSecurityProfileIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPSecurityProfileIndex.setDescription('This parameter allows to configure the Security profile for the WORP interface based on the index of the profile name and this is Valid only on BSU.') wirelessIfWORPRadiusProfileIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("one", 1), ("two", 2), ("three", 3), ("four", 4), ("five", 5), ("six", 6), ("seven", 7), ("eight", 8)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPRadiusProfileIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPRadiusProfileIndex.setDescription('This parameter allows to configure the Radius profile for the WORP interface based on the index of the profile name and this is Valid only on BSU..') wirelessIfWORPMACACLStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPMACACLStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPMACACLStatus.setDescription('This parameter is used to enable or disable the MAC access control list. This configuration is Valid only on BSU.') wirelessIfWORPRadiusMACACLStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPRadiusMACACLStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPRadiusMACACLStatus.setDescription('This parameter is used to enable or disable the MAC ACL for Radius Profiles. This configuration is Valid only on BSU.') wirelessIfWORPRadiusAccStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))) if mibBuilder.loadTexts: wirelessIfWORPRadiusAccStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPRadiusAccStatus.setDescription('This parameter is used to enable or disable the Radius Accounting Stats capture. This configuration is Valid only on BSU and currently this is not accessible.') wirelessIfWORPIntfMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 23), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPIntfMacAddress.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPIntfMacAddress.setDescription('This parameter represents the MAC address of the wireless interface card.') wirelessIfWORPAutoMultiFrameBursting = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 4, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPAutoMultiFrameBursting.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPAutoMultiFrameBursting.setDescription('This parameter enables WORP protocol to allow each side, BSU or SU, to send a burst of multiple data messages based on QOS priority instead of a single data message.') wirelessIfDDRSTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5), ) if mibBuilder.loadTexts: wirelessIfDDRSTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSTable.setDescription('This table holds the WORP DDRS (Dynamic Data Rate Selection) feature configurations.') wirelessIfDDRSTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfDDRSTableIndex")) if mibBuilder.loadTexts: wirelessIfDDRSTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSTableEntry.setDescription('This parameter represents the entry for DDRS table.') wirelessIfDDRSTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfDDRSTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSTableIndex.setDescription('This parameter represents the index for the DDRS table and indirectly represent the wireless interface index.') wirelessIfDDRSStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSStatus.setDescription('This parameter is used to enable/disable the DDRS feature for the interface.') wirelessIfDDRSDefDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSDefDataRate.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSDefDataRate.setDescription('This default data rate shall be used as WORP default data rate only when the DDRS is enabled. The rates defined in wirelessIfWORPTxRate are used as default.') wirelessIfDDRSMaxDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 4), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSMaxDataRate.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSMaxDataRate.setDescription('This parameter is used to limit the maximum possible data rate that is set by DDRS.') wirelessIfDDRSIncrAvgSNRThrld = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 50))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSIncrAvgSNRThrld.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSIncrAvgSNRThrld.setDescription('This parameter is used to specify the average SNR threshold for data rate increase. The value should be in dB and in the range of 0..50 dB.') wirelessIfDDRSIncrReqSNRThrld = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 50))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSIncrReqSNRThrld.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSIncrReqSNRThrld.setDescription('This parameter is to specify minimum required SNR threshold for data rate increase. The value should be in dB and in the range 0..50 dB.') wirelessIfDDRSDecrReqSNRThrld = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 50))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSDecrReqSNRThrld.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSDecrReqSNRThrld.setDescription('This parameter is to specify minimum required SNR threshold for data rate decrease. The value should be in dB and in the range 0..50 dB.') wirelessIfDDRSIncrReTxPercentThrld = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSIncrReTxPercentThrld.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSIncrReTxPercentThrld.setDescription('This object specifies the threshold percentage of retransmissions for DDRS data rate increase.') wirelessIfDDRSDecrReTxPercentThrld = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSDecrReTxPercentThrld.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSDecrReTxPercentThrld.setDescription('This object specifies the threshold percentage of retransmissions for DDRS data rate decrease.') wirelessIfDDRSAggressiveIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSAggressiveIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSAggressiveIndex.setDescription('This object specifies the aggressiveness of the ddrs algorithm. ') wirelessIfDDRSChainBalThrld = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 25))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSChainBalThrld.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSChainBalThrld.setDescription('This object specifies the Mimo Chain Balance threshold. ') wirelessIfDDRSRateBackOffInt = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(10, 86400))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSRateBackOffInt.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSRateBackOffInt.setDescription('This object specifies the Rate Backoff Interval. ') wirelessIfDDRSRateBlackListInt = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 5, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(10, 86400))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSRateBlackListInt.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSRateBlackListInt.setDescription('This object specifies the Rate Blacklist Interval. ') wirelessIfDDRSMinReqSNRTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 6), ) if mibBuilder.loadTexts: wirelessIfDDRSMinReqSNRTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSMinReqSNRTable.setDescription('') wirelessIfDDRSMinReqSNRTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 6, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfDDRSMinReqSNRTableIndex"), (0, "PROXIM-MIB", "wirelessIfDDRSMinReqSNRTableSecIndex")) if mibBuilder.loadTexts: wirelessIfDDRSMinReqSNRTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSMinReqSNRTableEntry.setDescription('') wirelessIfDDRSMinReqSNRTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 6, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfDDRSMinReqSNRTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSMinReqSNRTableIndex.setDescription('') wirelessIfDDRSMinReqSNRTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 6, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfDDRSMinReqSNRTableSecIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSMinReqSNRTableSecIndex.setDescription('') wirelessIfDDRSPhyModulation = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 6, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfDDRSPhyModulation.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSPhyModulation.setDescription('') wirelessIfDDRSDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 6, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfDDRSDataRate.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSDataRate.setDescription('') wirelessIfDDRSMinReqSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 1, 6, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfDDRSMinReqSNR.setStatus('current') if mibBuilder.loadTexts: wirelessIfDDRSMinReqSNR.setDescription('') ethernetIfPropertiesTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 2, 1), ) if mibBuilder.loadTexts: ethernetIfPropertiesTable.setStatus('current') if mibBuilder.loadTexts: ethernetIfPropertiesTable.setDescription('This table shows the ethernet interface(s) properties for the device.') ethernetIfPropertiesTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 2, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "ethernetIfPropertiesTableIndex")) if mibBuilder.loadTexts: ethernetIfPropertiesTableEntry.setStatus('current') if mibBuilder.loadTexts: ethernetIfPropertiesTableEntry.setDescription('This parameter represents the entry for the Ethernet Interface Properties table.') ethernetIfPropertiesTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: ethernetIfPropertiesTableIndex.setStatus('current') if mibBuilder.loadTexts: ethernetIfPropertiesTableIndex.setDescription('This parameter represents the physical interface and used as index to this table.') ethernetIfMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 2, 1, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ethernetIfMACAddress.setStatus('current') if mibBuilder.loadTexts: ethernetIfMACAddress.setDescription('This parameter represents the MAC address for the ethernet interface.') ethernetIfSupportedSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("auto", 1), ("oneGbps", 2), ("tenMbps", 3), ("hundredMbit", 4), ("unknown", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ethernetIfSupportedSpeed.setStatus('current') if mibBuilder.loadTexts: ethernetIfSupportedSpeed.setDescription('This parameter shows the supported speeds for the ethernet interface.') ethernetIfSupportedTxMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("halfDuplex", 1), ("fullDuplex", 2), ("auto", 3), ("unknown", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ethernetIfSupportedTxMode.setStatus('current') if mibBuilder.loadTexts: ethernetIfSupportedTxMode.setDescription('This parameter shows the supported transmit modes of the ethernet interface.') ethernetIfTxModeAndSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("auto", 1), ("tenMbps-halfDuplex", 2), ("tenMbps-fullDuplex", 3), ("hundredMbps-halfDuplex", 4), ("hundredMbps-fullDuplex", 5), ("oneGbps-fullDuplex", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ethernetIfTxModeAndSpeed.setStatus('current') if mibBuilder.loadTexts: ethernetIfTxModeAndSpeed.setDescription('This parameter is used to configure the Transmit Mode and speed of the ethernet interface.') ethernetIfSupportedModes = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 2, 1, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ethernetIfSupportedModes.setStatus('current') if mibBuilder.loadTexts: ethernetIfSupportedModes.setDescription('This parameter is used to display the supported modes on ethernet interface.') ethernetIfAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ethernetIfAdminStatus.setStatus('current') if mibBuilder.loadTexts: ethernetIfAdminStatus.setDescription('This parameter is used to configure the admin status for the ethernet interface.') ethernetIfAutoShutDown = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 1, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ethernetIfAutoShutDown.setStatus('current') if mibBuilder.loadTexts: ethernetIfAutoShutDown.setDescription('This parameter is used to configure AutoShutDown for the ethernet interface. i.e. Ethernet interface will be automatically UP/DOWN depending upon the wireless link ') wirelessSecurityCfgTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1), ) if mibBuilder.loadTexts: wirelessSecurityCfgTable.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgTable.setDescription('This table is used to specify the security configuration for the wireless interface(s) in the access point.') wirelessSecurityCfgTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessSecurityCfgTableIndex")) if mibBuilder.loadTexts: wirelessSecurityCfgTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgTableEntry.setDescription('This parameter represents an entry in the wireless security configuration table. This table supports up to 8 entries.') wirelessSecurityCfgTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessSecurityCfgTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgTableIndex.setDescription('This parameter is used as index to the wireless security configuration table.') wirelessSecurityCfgprofileName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)).clone('DEFAULT SECURITY')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgprofileName.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgprofileName.setDescription('This paramater represents user defined profile name for security configuration.') wirelessSecurityCfgAuthenticationMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("none", 1), ("wep", 2), ("psk", 3), ("dot1x", 4), ("worp", 5))).clone('none')).setMaxAccess("readcreate") if mibBuilder.loadTexts: wirelessSecurityCfgAuthenticationMode.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgAuthenticationMode.setDescription('This parameter is used to configure the security authentication mode for wireless. Select (1) - None (no security), (2) - WEP (Wired Equivalent Privacy), (3) - PSK (Pre-shared key), (4) - dotlx (802.1x authentication) and (5) - worp (Wireless Outdoor Router Protocol).') wirelessSecurityCfgKeyIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("one", 1), ("two", 2), ("three", 3), ("four", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgKeyIndex.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgKeyIndex.setDescription('This parameter represents the encryption key index that is used to encrypt data that is sent via wireless interface(s).') wirelessSecurityCfgKey1 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 5), WEPKeyType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgKey1.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgKey1.setDescription('This parameter represents the key 1 used for wireless security configuration. The key lengths 5/13/16 in ASCII or 10/26/32 in HEXADECIMAL configures the WEP(64/128/152-bit) encryption respectively. The key lengths 16 in ASCII or 32 in HEXADECIMAL configures the TKIP(128-bit) or AES-CCM(128-bit) encryption.') wirelessSecurityCfgdot1xWepKeyLength = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("wep64", 1), ("wep128", 2))).clone('wep64')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgdot1xWepKeyLength.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgdot1xWepKeyLength.setDescription('This parameter is used configure the length of the security key. Select WEP64 if you want to have a security key for 64 characters or WEP128 for security key length of 128 characters.') wirelessSecurityCfgEncryptionType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("none", 0), ("wep", 1), ("wpa-tkip", 2), ("wpa2-aes", 3), ("wpa-wpa2aes-tkip", 4), ("wpa2-aes-ccm", 5), ("tkip", 6), ("aes-ccm", 7))).clone('wep')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgEncryptionType.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgEncryptionType.setDescription('This parameter is used to configure the encryption key type for wireless security. Select 0 for no security 1 for WEP, 2 for WPA (TKIP), 3 for WPA2(AES), 4 for WPA/WPA2 (AES-TKIP) 5 for WPA2 (AES-CCM). 6 for TKIP -- Used only for TMP/QB products 7 for AES-CCM -- Used only for TMP/QB products.') wirelessSecurityCfgPSK = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)).clone('123456789')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgPSK.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgPSK.setDescription('This parameter is used to configure the pre-share key. The default key is 123456789. This parameter is logically write-only. Reading this variable shall return astericks') wirelessSecurityCfgRekeyingInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(900, 65535)).clone(900)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgRekeyingInterval.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgRekeyingInterval.setDescription('This parameter represents the key re-negotiation time in case of dynamic WEP, WPA/WPA-2 (personal/enterprise) security mechanisms.') wirelessSecurityCfgEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 10), RowStatus().clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgEntryStatus.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgEntryStatus.setDescription('This parameter is used to configure the entry status of wireless security configuration table. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') wirelessSecurityCfgNetworkSecret = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(6, 32)).clone('public')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgNetworkSecret.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgNetworkSecret.setDescription("This parameter represents a secret password of an SU that tallies with the BSU's password for authentic registration.") wirelessSecurityCfgKey2 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 12), WEPKeyType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgKey2.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgKey2.setDescription('This parameter represents the key 2 used for wireless security configuration. The key lengths 5/13/16 in ASCII or 10/26/32 in HEXADECIMAL configures the WEP(64/128/152-bit) encryption respectively. The key lengths 16 in ASCII or 32 in HEXADECIMAL configures the TKIP(128-bit) or AES-CCM(128-bit) encryption.') wirelessSecurityCfgKey3 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 13), WEPKeyType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgKey3.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgKey3.setDescription('This parameter represents the key 3 used for wireless security configuration. The key lengths 5/13/16 in ASCII or 10/26/32 in HEXADECIMAL configures the WEP(64/128/152-bit) encryption respectively. The key lengths 16 in ASCII or 32 in HEXADECIMAL configures the TKIP(128-bit) or AES-CCM(128-bit) encryption.') wirelessSecurityCfgKey4 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 1, 1, 1, 14), WEPKeyType()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessSecurityCfgKey4.setStatus('current') if mibBuilder.loadTexts: wirelessSecurityCfgKey4.setDescription('This parameter represents the key 4 used for wireless security configuration. The key lengths 5/13/16 in ASCII or 10/26/32 in HEXADECIMAL configures the WEP(64/128/152-bit) encryption respectively. The key lengths 16 in ASCII or 32 in HEXADECIMAL configures the TKIP(128-bit) or AES-CCM(128-bit) encryption.') radiusSrvProfileTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 1), ) if mibBuilder.loadTexts: radiusSrvProfileTable.setStatus('current') if mibBuilder.loadTexts: radiusSrvProfileTable.setDescription('This table contains the radius server configuration profiles.') radiusSrvProfileTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "radiusSrvProfileTableIndex"), (0, "PROXIM-MIB", "radiusSrvProfileTableSecIndex")) if mibBuilder.loadTexts: radiusSrvProfileTableEntry.setStatus('current') if mibBuilder.loadTexts: radiusSrvProfileTableEntry.setDescription('This parameter represents the entry for the radius server profile table.') radiusSrvProfileTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusSrvProfileTableIndex.setStatus('current') if mibBuilder.loadTexts: radiusSrvProfileTableIndex.setDescription('This parameter represents the user defined profiles for RADIUS Server. ') radiusSrvProfileTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusSrvProfileTableSecIndex.setStatus('current') if mibBuilder.loadTexts: radiusSrvProfileTableSecIndex.setDescription('This parameter represents the user defined secondary profiles for RADIUS server. Maximum profiles are 4.') radiusSrvProfileType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("primaryAuthticationServer", 1), ("secondaryAuthenticationServer", 2), ("primaryAccountingServer", 3), ("secondaryAccountingServer", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusSrvProfileType.setStatus('current') if mibBuilder.loadTexts: radiusSrvProfileType.setDescription('This parameter represents the RADIUS Server profile type. Select (1) for Primary Authentication Server, (2) for Secondary Authentication Server, (3) for Primary Accounting Server, and (4) for Secondary Accounting Server.') radiusSrvIPADDR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 1, 1, 4), IpAddress().clone(hexValue="a9fe8085")).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusSrvIPADDR.setStatus('current') if mibBuilder.loadTexts: radiusSrvIPADDR.setDescription('This parameter is used to specify the RADIUS Server IP Address. Its default value is 169.254.128.133.') radiusSrvServerPort = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 1, 1, 5), Unsigned32().clone(1812)).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusSrvServerPort.setStatus('current') if mibBuilder.loadTexts: radiusSrvServerPort.setDescription('This parameter represents the RADIUS server authentication port and the default value is 1812.') radiusSrvProfileServerSharedSecret = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)).clone('public')).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusSrvProfileServerSharedSecret.setStatus('current') if mibBuilder.loadTexts: radiusSrvProfileServerSharedSecret.setDescription('This parameter represents the shared secret between the RADIUS server and client. It is logically treated as write-only and should return the information in asterisks.') radiusSrvProfileTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 1, 1, 7), RowStatus().clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusSrvProfileTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: radiusSrvProfileTableEntryStatus.setDescription('This parameter is used to configure the entry status of RADIUS server profile table. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') radiusSupProfileTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 2), ) if mibBuilder.loadTexts: radiusSupProfileTable.setStatus('current') if mibBuilder.loadTexts: radiusSupProfileTable.setDescription('This table contains the radius support profile table configurations.') radiusSupProfileTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "radiusSupProfileTableIndex")) if mibBuilder.loadTexts: radiusSupProfileTableEntry.setStatus('current') if mibBuilder.loadTexts: radiusSupProfileTableEntry.setDescription('This parameter represents the entry for the radius support profile table.') radiusSupProfileTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusSupProfileTableIndex.setStatus('current') if mibBuilder.loadTexts: radiusSupProfileTableIndex.setDescription('This parameter represents the index for the radius support profile table. Each index corresponds to the one profile name in the radius server profile table ') radiusSupProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusSupProfileName.setStatus('current') if mibBuilder.loadTexts: radiusSupProfileName.setDescription('This parameter represents the RADIUS profile name, only one profile is supported.') radiusSupProfileMaxReTransmissions = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusSupProfileMaxReTransmissions.setStatus('current') if mibBuilder.loadTexts: radiusSupProfileMaxReTransmissions.setDescription('This parameter represents the number of times the radius request message to be sent to RADIUS server after the expiry of response time.') radiusSupProfileMsgResponseTime = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 2, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(3, 12)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusSupProfileMsgResponseTime.setStatus('current') if mibBuilder.loadTexts: radiusSupProfileMsgResponseTime.setDescription('This parameter represents the wait time in the RADIUS client for the response message from RADIUS server.') radiusSupProfileReAuthenticationPeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(900, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusSupProfileReAuthenticationPeriod.setStatus('current') if mibBuilder.loadTexts: radiusSupProfileReAuthenticationPeriod.setDescription('The parameter represents the time interval within which the reauthentication of the 802.1x enabled station happens.') radiusSupProfileTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 2, 2, 1, 6), RowStatus().clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: radiusSupProfileTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: radiusSupProfileTableEntryStatus.setDescription('This parameter is used to configure the entry status of RADIUS supported profile table. It can be configured as active(enable) -1, notInService(disable) - 2') macaclProfileTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 1), ) if mibBuilder.loadTexts: macaclProfileTable.setStatus('current') if mibBuilder.loadTexts: macaclProfileTable.setDescription('This table contains the MAC access control profile configurations.') macaclProfileTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "macaclProfileTableIndex")) if mibBuilder.loadTexts: macaclProfileTableEntry.setStatus('current') if mibBuilder.loadTexts: macaclProfileTableEntry.setDescription('This parameter represents the entry for the MAC access control profile table.') macaclProfileTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: macaclProfileTableIndex.setStatus('current') if mibBuilder.loadTexts: macaclProfileTableIndex.setDescription('User defined profiles for MAC Access Control List. Max. number of profiles are 16.') macaclProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: macaclProfileName.setStatus('current') if mibBuilder.loadTexts: macaclProfileName.setDescription('This parameter represents the unique name MAC ACL profile.') macaclOperationType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("allow", 1), ("deny", 2))).clone('deny')).setMaxAccess("readwrite") if mibBuilder.loadTexts: macaclOperationType.setStatus('current') if mibBuilder.loadTexts: macaclOperationType.setDescription('This parameter is used o configure the type of MAC ACL profile. Select (1) to allow and (2) to deny.') macaclTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 1, 1, 4), RowStatus().clone('active')).setMaxAccess("readcreate") if mibBuilder.loadTexts: macaclTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: macaclTableEntryStatus.setDescription('This parameter is used to configure the status of the security MAC ACL profile. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') macaclAddrTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 2), ) if mibBuilder.loadTexts: macaclAddrTable.setStatus('current') if mibBuilder.loadTexts: macaclAddrTable.setDescription('This table holds MAC access control list addresses.') macaclAddrTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "macaclAddrTableIndex"), (0, "PROXIM-MIB", "macaclAddrTableSecIndex")) if mibBuilder.loadTexts: macaclAddrTableEntry.setStatus('current') if mibBuilder.loadTexts: macaclAddrTableEntry.setDescription('This parameter represents the entry for the MAC access control list address table.') macaclAddrTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: macaclAddrTableIndex.setStatus('current') if mibBuilder.loadTexts: macaclAddrTableIndex.setDescription('This parameter represents the user defined profiles for MAC ACL Address. Max. profiles are 16 profiles.') macaclAddrTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: macaclAddrTableSecIndex.setStatus('current') if mibBuilder.loadTexts: macaclAddrTableSecIndex.setDescription('This parameter represents the user defined secondary profiles for MAC ACL Address. Maximum entries are 64 -- one entry per station') macaclAddrTableMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 2, 1, 3), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: macaclAddrTableMACAddress.setStatus('current') if mibBuilder.loadTexts: macaclAddrTableMACAddress.setDescription('This parameter represents the valid MAC address for MAC ACL.') macaclAddrComment = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: macaclAddrComment.setStatus('current') if mibBuilder.loadTexts: macaclAddrComment.setDescription('This parameter displays a valid comment for MAC ACL Address.') macaclAddrTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 2, 3, 2, 1, 5), RowStatus().clone('notInService')).setMaxAccess("readcreate") if mibBuilder.loadTexts: macaclAddrTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: macaclAddrTableEntryStatus.setDescription('This parameter is used to configure the status of the security MAC ACL Address. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') qosProfileTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 1), ) if mibBuilder.loadTexts: qosProfileTable.setStatus('current') if mibBuilder.loadTexts: qosProfileTable.setDescription('This table holds the various profiles for QOS (quality of service) configuration.') qosProfileTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "qosProfileTableIndex")) if mibBuilder.loadTexts: qosProfileTableEntry.setStatus('current') if mibBuilder.loadTexts: qosProfileTableEntry.setDescription('This parameter represents the entry for the qos profile table.This table supports one entry.') qosProfileTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: qosProfileTableIndex.setStatus('current') if mibBuilder.loadTexts: qosProfileTableIndex.setDescription('This parameter represents user defined profiles for Quality of Service (QoS).') qosProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: qosProfileName.setStatus('current') if mibBuilder.loadTexts: qosProfileName.setDescription('This parameter displays the name of the QoS profile that has been assigned.') qosProfileTablePolicyName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: qosProfileTablePolicyName.setStatus('current') if mibBuilder.loadTexts: qosProfileTablePolicyName.setDescription('This parameter displays the QoS Policy profile name.') qosProfileEDCAProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: qosProfileEDCAProfileName.setStatus('current') if mibBuilder.loadTexts: qosProfileEDCAProfileName.setDescription('This parameter displays the name for QoS EDCA profile.') qosProfileTableQoSNACKStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: qosProfileTableQoSNACKStatus.setStatus('current') if mibBuilder.loadTexts: qosProfileTableQoSNACKStatus.setDescription('This parameter is used to configure the status of the QoS profile ACK. ') qoSPolicyTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 2), ) if mibBuilder.loadTexts: qoSPolicyTable.setStatus('current') if mibBuilder.loadTexts: qoSPolicyTable.setDescription('This table contains the QOS policy configurations.') qoSPolicyTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "qoSPolicyTableIndex"), (0, "PROXIM-MIB", "qoSPolicyTableSecIndex")) if mibBuilder.loadTexts: qoSPolicyTableEntry.setStatus('current') if mibBuilder.loadTexts: qoSPolicyTableEntry.setDescription('This parameter represents the entry for the qos policy table.') qoSPolicyTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: qoSPolicyTableIndex.setStatus('current') if mibBuilder.loadTexts: qoSPolicyTableIndex.setDescription('This parameter represents user defined profiles for QoS Policy list.') qoSPolicyTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: qoSPolicyTableSecIndex.setStatus('current') if mibBuilder.loadTexts: qoSPolicyTableSecIndex.setDescription('This parameter represents user defined secondary profiles. They are inbound layer2 -1, inbound layer3 -2, outbound layer2 -3 and outbound layer3 -4') qoSPolicyTablePolicyName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 2, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: qoSPolicyTablePolicyName.setStatus('current') if mibBuilder.loadTexts: qoSPolicyTablePolicyName.setDescription('This parameter displays the QoS policy name.') qoSPolicyType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("inboundLayer2", 1), ("inboundLayer3", 2), ("outboundLayer2", 3), ("outboundLayer3", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: qoSPolicyType.setStatus('current') if mibBuilder.loadTexts: qoSPolicyType.setDescription('This parameter configures the QoS Policy type. They can be configured as the following: inbound layer2(1), inbound layer3(2), outbound layer2(3) and outbound layer3(4)') qoSPolicyPriorityMapping = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: qoSPolicyPriorityMapping.setStatus('current') if mibBuilder.loadTexts: qoSPolicyPriorityMapping.setDescription('This parameter is used as the primary index to the QoS 802.1D to 802.1p mapping table. ') qoSPolicyMarkingStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("notSupported", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: qoSPolicyMarkingStatus.setStatus('current') if mibBuilder.loadTexts: qoSPolicyMarkingStatus.setDescription('This parameter is used to enable or disable QoS Policy markings. Select (1) to enable, (2) to disable, and (3) for not supported option.') qoSPolicyTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: qoSPolicyTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: qoSPolicyTableEntryStatus.setDescription('The parameter is used to configure the QoS Policy Table status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') wirelessQoSEDCATable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1), ) if mibBuilder.loadTexts: wirelessQoSEDCATable.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATable.setDescription('This table holds the wireless QOS EDCA (enhanced distributed channel access) configurations.') wirelessQoSEDCATableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessQoSEDCATableIndex"), (0, "PROXIM-MIB", "wirelessQoSEDCATableSecIndex")) if mibBuilder.loadTexts: wirelessQoSEDCATableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableEntry.setDescription('This parameter represents the entry for the wireless QOS EDCA table.') wirelessQoSEDCATableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessQoSEDCATableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableIndex.setDescription('This parameter is user defined profiles for Wireless QoS EDCA. Max profile that user can define is 1.') wirelessQoSEDCATableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessQoSEDCATableSecIndex.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableSecIndex.setDescription('This parameter represents the user defined secondary profiles for Wireless QoS EDCA. Maximum profiles are 4. BK -1 (back ground), BE -2 (best effort), VI -3 (video), VO -4 (voice)') wirelessQoSEDCATableProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessQoSEDCATableProfileName.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableProfileName.setDescription('This parameter displays the name for the Wireless QoS EDCA profile.') wirelessQoSEDCATableCWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessQoSEDCATableCWmin.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableCWmin.setDescription('This parameter is used to configure the CW(Contention Window) min value for the wireless QoS EDCA profile. It can be configured up to 255 value. If this value is configured lower, then this increases the priority of the access category.') wirelessQoSEDCATableCWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessQoSEDCATableCWmax.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableCWmax.setDescription('This parameter is used to configure the CW(Contention window) Max value for the wireless QoS EDCA profile. This value can be configured up to 65535. If this value id confiured to a lower value, then this increases the priority of access category.') wirelessQoSEDCATableAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(2, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessQoSEDCATableAIFSN.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableAIFSN.setDescription('This parameter is used to configure the AIFSN (Arbitrary Inter Frame Space Number) value for the wireless QoS EDCA profile. It can be configured up to 15. If this value is configured lower,then this increases the priority of the access category.') wirelessQoSEDCATableTXOP = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessQoSEDCATableTXOP.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableTXOP.setDescription('This parameter is used to configure TXOP(transmission oppurtunities) value for Wireless QoS EDCA. The values can be configured up to 65535. If this value for this parameter is configured lower, then this decreases the priority of the access category.') wirelessQoSEDCATableACM = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessQoSEDCATableACM.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableACM.setDescription('This parameter is used to enable or disable the value for Addmission Control Mandatory. If ACM value is set to enable for a particular access category, then certain procedures needs to followed for using that access category.') wirelessQoSEDCATableAPCWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessQoSEDCATableAPCWmin.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableAPCWmin.setDescription('This parameter is used to configure the minimum value for APCWmin. It can be configured upto 32767. ') wirelessQoSEDCATableAPCWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessQoSEDCATableAPCWmax.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableAPCWmax.setDescription('This parameter is used to configure the maximum value for APCWmax. It can be configured upto 32767. ') wirelessQoSEDCATableAPAIFSN = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessQoSEDCATableAPAIFSN.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableAPAIFSN.setDescription('This parameter is used to configure the value fo APAIFSN(Arbitration Inter-Frame Space Number). The value for the APAIFSN can be configured up to 15') wirelessQoSEDCATableAPTXOP = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessQoSEDCATableAPTXOP.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableAPTXOP.setDescription('This parameter is used to configure the APTXOP (transmission oppurtunities) for the QoS EDCA profile. If the value is set to 0, then only one MPDU or MSDU can be transmitted') wirelessQoSEDCATableAPACM = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 3, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessQoSEDCATableAPACM.setStatus('current') if mibBuilder.loadTexts: wirelessQoSEDCATableAPACM.setDescription('This parameter is used to configure the APACM for the QoS EDCA profile. Select (1) to enable the profile and (2) to disable it.') l2l3QoSDot1DToDot1pMappingTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4, 1), ) if mibBuilder.loadTexts: l2l3QoSDot1DToDot1pMappingTable.setStatus('current') if mibBuilder.loadTexts: l2l3QoSDot1DToDot1pMappingTable.setDescription('This table is used to configure Quality of Service mappings between 802.1D and 802.1p priorities.') l2l3QoSDot1DToDot1pMappingTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "l2l3QoSDot1DToDot1pMappingTableIndex"), (0, "PROXIM-MIB", "l2l3QoSDot1dPriority")) if mibBuilder.loadTexts: l2l3QoSDot1DToDot1pMappingTableEntry.setStatus('current') if mibBuilder.loadTexts: l2l3QoSDot1DToDot1pMappingTableEntry.setDescription('This parameter represents entries in the QoS 802.1D to 802.1p Mapping Table.') l2l3QoSDot1DToDot1pMappingTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2l3QoSDot1DToDot1pMappingTableIndex.setStatus('current') if mibBuilder.loadTexts: l2l3QoSDot1DToDot1pMappingTableIndex.setDescription('This parameter is used as the primary index to the QoS 802.1D to 802.1p mapping table. This is based on the QoS profile.') l2l3QoSDot1dPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2l3QoSDot1dPriority.setStatus('current') if mibBuilder.loadTexts: l2l3QoSDot1dPriority.setDescription('This parameter is used to specify the 802.1d priority and is used as the secondary index to the 802.1D to 802.1p mapping table.') l2l3QoSDot1pPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2l3QoSDot1pPriority.setStatus('current') if mibBuilder.loadTexts: l2l3QoSDot1pPriority.setDescription('This parameter is used to specify the 802.1D priority to be mapped to a 802.1p priority') l2l3QoSDot1DToIPDSCPMappingTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4, 2), ) if mibBuilder.loadTexts: l2l3QoSDot1DToIPDSCPMappingTable.setStatus('current') if mibBuilder.loadTexts: l2l3QoSDot1DToIPDSCPMappingTable.setDescription('This table is used to configure Quality of Service mappings between 802.1D to IP DSCP (Differentiated Services Code Point) priorities.') l2l3QoSDot1DToIPDSCPMappingTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "l2l3QoSDot1DToIPDSCPMappingTableIndex"), (0, "PROXIM-MIB", "l2l3QoSDot1dPriorityIPDSCP")) if mibBuilder.loadTexts: l2l3QoSDot1DToIPDSCPMappingTableEntry.setStatus('current') if mibBuilder.loadTexts: l2l3QoSDot1DToIPDSCPMappingTableEntry.setDescription('This parameter represents entries in the 802.1D to IP DSCP Mapping Table.') l2l3QoSDot1DToIPDSCPMappingTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2l3QoSDot1DToIPDSCPMappingTableIndex.setStatus('current') if mibBuilder.loadTexts: l2l3QoSDot1DToIPDSCPMappingTableIndex.setDescription('This parameter is used as the primary index to the 802.1D to IP DSCP mapping table.') l2l3QoSDot1dPriorityIPDSCP = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: l2l3QoSDot1dPriorityIPDSCP.setStatus('current') if mibBuilder.loadTexts: l2l3QoSDot1dPriorityIPDSCP.setDescription('This parameter is used to specify the 802.1D priority and is used as the secondary index to the 802.1D to IP DSCP mapping table.') l2l3QoSDSCPPriorityLowerLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2l3QoSDSCPPriorityLowerLimit.setStatus('current') if mibBuilder.loadTexts: l2l3QoSDSCPPriorityLowerLimit.setDescription('This parameter is used to specify IP DSCP lower limit.') l2l3QoSDSCPPriorityUpperLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 4, 2, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: l2l3QoSDSCPPriorityUpperLimit.setStatus('current') if mibBuilder.loadTexts: l2l3QoSDSCPPriorityUpperLimit.setDescription('This parameter is used to specify IP DSCP upper limit.') worpQoSPIRMacTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 1), ) if mibBuilder.loadTexts: worpQoSPIRMacTable.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMacTable.setDescription('This Table holds the MAC Address details for Packet Identification Rule Clasification.') worpQoSPIRMacTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "worpQoSPIRMacTableIndex")) if mibBuilder.loadTexts: worpQoSPIRMacTableEntry.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMacTableEntry.setDescription('This parameter represents the entry for the worpQoSPIRMacTable.') worpQoSPIRMacTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSPIRMacTableIndex.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMacTableIndex.setDescription('This parameter specifies the index number of the entry in the table.') worpQoSPIRMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 1, 1, 2), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRMacAddr.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMacAddr.setDescription('This parameter specifies the MAC Address which can be used for PIR classification.') worpQoSPIRMacMask = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 1, 1, 3), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRMacMask.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMacMask.setDescription('This parameter specifies the MAC Address mask for the worpQoSPIRMacAddr.') worpQoSPIRMacComment = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 1, 1, 4), DisplayString().clone('default-mac')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRMacComment.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMacComment.setDescription('This parameter specifies the comment for the mac entry.') worpQoSPIRMacTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 1, 1, 5), RowStatus().clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRMacTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMacTableEntryStatus.setDescription('This parameter is used to configure the worpQoSPIRMacTable status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') worpQoSPIRIPTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 2), ) if mibBuilder.loadTexts: worpQoSPIRIPTable.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRIPTable.setDescription('This Table holds the IP Address details for PIR (Packet Identification Rule) Clasification.') worpQoSPIRIPTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "worpQoSPIRIPTableIndex")) if mibBuilder.loadTexts: worpQoSPIRIPTableEntry.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRIPTableEntry.setDescription('This parameter represents the entry for the worpQoSPIRIPTable.') worpQoSPIRIPTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSPIRIPTableIndex.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRIPTableIndex.setDescription('This parameter specifies the index number of the entry in the table.') worpQoSPIRIPAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 2, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRIPAddr.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRIPAddr.setDescription('This parameter specifies the IP Address which can be used for PIR classification.') worpQoSPIRIPSubMask = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 2, 1, 3), IpAddress().clone(hexValue="ffffffff")).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRIPSubMask.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRIPSubMask.setDescription('This parameter specifies the Subnet Mask for the worpQoSPIRIPAddr.') worpQoSPIRIPComment = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 2, 1, 4), DisplayString().clone('default-ip')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRIPComment.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRIPComment.setDescription('This parameter specifies the comment for the IP Address entry.') worpQoSPIRIPTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 2, 1, 5), RowStatus().clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRIPTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRIPTableEntryStatus.setDescription('This parameter is used to configure the worpQoSPIRIPTable status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') worpQoSPIRPortTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 3), ) if mibBuilder.loadTexts: worpQoSPIRPortTable.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRPortTable.setDescription('This Table holds the TCP/UDP Port details for PIR (Packet Identification Rule) Clasification.') worpQoSPIRPortTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 3, 1), ).setIndexNames((0, "PROXIM-MIB", "worpQoSPIRPortTableIndex")) if mibBuilder.loadTexts: worpQoSPIRPortTableEntry.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRPortTableEntry.setDescription('This parameter represents the entry for the worpQoSPIRPortTable.') worpQoSPIRPortTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSPIRPortTableIndex.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRPortTableIndex.setDescription('This parameter specifies the index number of the entry in the table.') worpQoSPIRStartPort = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRStartPort.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRStartPort.setDescription('This parameter specifies the Starting TCP/UDP Port Number which can be used for PIR classification.') worpQoSPIREndPort = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 3, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIREndPort.setStatus('current') if mibBuilder.loadTexts: worpQoSPIREndPort.setDescription('This parameter specifies the Ending TCP/UDP Port Number which can be used for PIR classification.') worpQoSPIRPortComment = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 3, 1, 4), DisplayString().clone('default-port')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRPortComment.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRPortComment.setDescription('This parameter specifies the comment for the TCP/UDP Port entry.') worpQoSPIRPortTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 3, 1, 5), RowStatus().clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRPortTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRPortTableEntryStatus.setDescription('This parameter is used to configure the worpQoSPIRPortTable status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6.') worpQoSPIRMapTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 4), ) if mibBuilder.loadTexts: worpQoSPIRMapTable.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMapTable.setDescription('This Table holds the Mapping information between PIR MAC Table entries, PIR IP Table entries, PIR Port Table entries with PIR Table.') worpQoSPIRMapTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 4, 1), ).setIndexNames((0, "PROXIM-MIB", "worpQoSPIRMapTableIndex")) if mibBuilder.loadTexts: worpQoSPIRMapTableEntry.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMapTableEntry.setDescription('This table represents the entry for the worpQoSPIRMapTable.') worpQoSPIRMapTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSPIRMapTableIndex.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMapTableIndex.setDescription('This parameter specifies the index number of the entry in the table.') worpQoSPIRMapRuleName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 4, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSPIRMapRuleName.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMapRuleName.setDescription('This parameter specifies the PIR Rule name corresponds to this index.') worpQoSPIRMapSrcMacIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 4, 1, 3), DisplayString().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRMapSrcMacIndexList.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMapSrcMacIndexList.setDescription('This parameter specifies the Source MAC Address Classification for the PIR Rule. This is a display string consists of index number of the PIR MAC Table entries with comma seperated. Value 0 indicates that this list is disabled.') worpQoSPIRMapDstMacIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 4, 1, 4), DisplayString().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRMapDstMacIndexList.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMapDstMacIndexList.setDescription('This parameter specifies the Destination MAC Address Classification for the PIR Rule. This is a display string consists of index number of the PIR MAC Table entries with comma seperated. Value 0 indicates that this list is disabled.') worpQoSPIRMapSrcIpAddrIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 4, 1, 5), DisplayString().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRMapSrcIpAddrIndexList.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMapSrcIpAddrIndexList.setDescription('This parameter specifies the Source IP Address Classification for the PIR Rule. This is a display string consists of index number of the PIR MAC Table entries with comma seperated. Value 0 indicates that this list is disabled.') worpQoSPIRMapDstIpAddrIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 4, 1, 6), DisplayString().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRMapDstIpAddrIndexList.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMapDstIpAddrIndexList.setDescription('This parameter specifies the Destination IP Address Classification for the PIR Rule. This is a display string consists of index number of the PIR MAC Table entries with comma seperated. Value 0 indicates that this list is disabled.') worpQoSPIRMapSrcPortIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 4, 1, 7), DisplayString().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRMapSrcPortIndexList.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMapSrcPortIndexList.setDescription('This parameter specifies the Source TCP/UDP Port Classification for the PIR Rule. This is a display string consists of index number of the PIR MAC Table entries with comma seperated. Value 0 indicates that this list is disabled.') worpQoSPIRMapDstPortIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 4, 1, 8), DisplayString().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRMapDstPortIndexList.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMapDstPortIndexList.setDescription('This parameter specifies the Destination TCP/UDP Port Classification for the PIR Rule. This is a display string consists of index number of the PIR MAC Table entries with comma seperated. Value 0 indicates that this list is disabled.') worpQoSPIRTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5), ) if mibBuilder.loadTexts: worpQoSPIRTable.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRTable.setDescription('This Table holds the Packet Identification Rule(PIR) information for QoS feature.') worpQoSPIRTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1), ).setIndexNames((0, "PROXIM-MIB", "worpQoSPIRTableIndex")) if mibBuilder.loadTexts: worpQoSPIRTableEntry.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRTableEntry.setDescription('This parameter represents the entry for the worpQoSPIRTable.') worpQoSPIRTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSPIRTableIndex.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRTableIndex.setDescription('This parameter specifies the index number of the entry in the table.') worpQoSPIRRuleName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 2), DisplayString().clone('default-pir')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRRuleName.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRRuleName.setDescription('This parameter specifies the Packet Identification Rule(PIR) Name.') worpQoSPIRRuleBitMask = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRRuleBitMask.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRRuleBitMask.setDescription('This parameter specifies which Packet classification rules are enabled. It is a Bit Mask field. Bits are defined as follows Bit0 - Dst MAC rule Enabled. Bit1 - Src MAC rule Enabled. Bit2 - Prity rule Enabled. Bit3 - Vlan ID rule Enabled. Bit4 - Ether value rule Enabled. Bit5 - ToS rule Enabled. Bit6 - IP PROTOCOL rule Enabled. Bit7 - Dst IP Addr rule Enabled. Bit8 - Src IP Addr rule Enabled. Bit9 - Dst Port rule Enabled. Bit10 - Src Port rule Enabled. Bit11 - PPPoE Encapsulation rule Enabled.') worpQoSPIRIPToSLow = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRIPToSLow.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRIPToSLow.setDescription('This Parameter specifies the lower limit for the ToS (Types Of Service) classification.') worpQoSPIRIPToSHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRIPToSHigh.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRIPToSHigh.setDescription('This Parameter specifies the higher limit for the ToS classification.') worpQoSPIRIPToSMask = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRIPToSMask.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRIPToSMask.setDescription("This Parameter specifies The ToS Mask which will be used to perform bitwise and operation with incoming Packet's ToS values and it will be checked again Lower & Hight limit the ToS Low, ToS High configuraiton.") worpQoSPIRIPProtocolIds = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 7), DisplayString().clone('0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRIPProtocolIds.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRIPProtocolIds.setDescription('This Parameter specifies the Protocol Classification for the incoming packet.') worpQoSPIREtherPriorityLow = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIREtherPriorityLow.setStatus('current') if mibBuilder.loadTexts: worpQoSPIREtherPriorityLow.setDescription('This parameter specifies the lower limit for the 802.1p classificaiton for the incoming packet.') worpQoSPIREtherPriorityHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIREtherPriorityHigh.setStatus('current') if mibBuilder.loadTexts: worpQoSPIREtherPriorityHigh.setDescription('This parameter specifies the Higher limit for the 802.1p classificaiton for the incoming packet.') worpQoSPIRVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 10), VlanId().clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRVlanId.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRVlanId.setDescription('This parameter specifies the VLAN classification for the incoming packet.') worpQoSPIREtherType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("dix-snap", 1), ("dsap", 2))).clone('dix-snap')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIREtherType.setStatus('current') if mibBuilder.loadTexts: worpQoSPIREtherType.setDescription('This parameter specifies the Ether type classification for the incoming ethernet frame.') worpQoSPIREtherValue = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIREtherValue.setStatus('current') if mibBuilder.loadTexts: worpQoSPIREtherValue.setDescription('This parameter specifies the Ether Value classificaiton for the incoming ethernet frame.') worpQoSPIRPPPoEEncapsulation = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRPPPoEEncapsulation.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRPPPoEEncapsulation.setDescription('This parameter specifies the PPPoE (Point-to-point Protocol Over Ethernet) Encapsulation status for the incoming ethernet frame.') worpQoSPIRPPPoEProtocolId = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 14), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRPPPoEProtocolId.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRPPPoEProtocolId.setDescription('This parameter specifies the protocol id inside the PPPoE Encapsulation data for the incoming ethernet frame.') worpQoSPIRMapTableIndexVal = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 15), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSPIRMapTableIndexVal.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRMapTableIndexVal.setDescription('This parameter specifies the index of the worpQoSPIRMapTable.') worpQoSPIRTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 5, 1, 16), RowStatus().clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSPIRTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: worpQoSPIRTableEntryStatus.setDescription('This parameter is used to configure the worpQoSPIRTable status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') worpQoSSFClassTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6), ) if mibBuilder.loadTexts: worpQoSSFClassTable.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassTable.setDescription('This Table holds the Service Flow Classification (SFC) information for QoS feature.') worpQoSSFClassTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1), ).setIndexNames((0, "PROXIM-MIB", "worpQoSSFClassTableIndex")) if mibBuilder.loadTexts: worpQoSSFClassTableEntry.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassTableEntry.setDescription('This parameter represents the entry for the worpQoSSFClassTable.') worpQoSSFClassTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSSFClassTableIndex.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassTableIndex.setDescription('This parameter specifies the index number of the entry in the worpQoSSFClassTable.') worpQoSSFClassName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 2), DisplayString().clone('default-sfc')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSFClassName.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassName.setDescription('This parameter specifies the Service Flow Class Name.') worpQoSSFClassSchedularType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("rtpS", 1), ("be", 2))).clone('be')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSFClassSchedularType.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassSchedularType.setDescription('This parameter specifies the type of Scheduler to be used for this Service Flow. Select 1 for rtps - Real Time Polling Service 2 for be - Best Effort.') worpQoSSFClassDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("uplink", 1), ("downlink", 2))).clone('downlink')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSFClassDirection.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassDirection.setDescription('This parameter specifies the Direction of the Service Flow.') worpQoSSFClassStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("in-active", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSSFClassStatus.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassStatus.setDescription('This parameter specifies the Status of the Service Flow.') worpQoSSFClassMIR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(8, 307200))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSFClassMIR.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassMIR.setDescription('This parameter specifies the Maximum Information Rate(MIR) for this Service Flow. This value is represented in Kbps.') worpQoSSFClassCIR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 307200))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSFClassCIR.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassCIR.setDescription('This parameter specifies the Comitted Information Rate(CIR) for this Service Flow. This value is represented in Kbps.') worpQoSSFClassMaxLatency = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(5, 100)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSFClassMaxLatency.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassMaxLatency.setDescription('This parameter specifies the Latency for this Service Flow. This is represented in milliseconds.') worpQoSSFClassTolerableJitter = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSFClassTolerableJitter.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassTolerableJitter.setDescription('This parameter specifies the Jitter for this Service Flow. This is represented in milliseconds.') worpQoSSFClassTrafficPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSFClassTrafficPriority.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassTrafficPriority.setDescription('This parameter specifies the priority of execution of the Service Flow inside a QoS Class.') worpQoSSFClassNumOfMesgInBurst = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16)).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSFClassNumOfMesgInBurst.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassNumOfMesgInBurst.setDescription('This parameter specifies the Number of maximum messages can be sent in a single burst.') worpQoSSFClassTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 6, 1, 12), RowStatus().clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSFClassTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: worpQoSSFClassTableEntryStatus.setDescription('This parameter is used to configure the worpQoSSFClassTable status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') worpQoSClassTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 7), ) if mibBuilder.loadTexts: worpQoSClassTable.setStatus('current') if mibBuilder.loadTexts: worpQoSClassTable.setDescription('This Table holds the Class information for QoS feature.') worpQoSClassTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 7, 1), ).setIndexNames((0, "PROXIM-MIB", "worpQoSClassTableIndex"), (0, "PROXIM-MIB", "worpQoSSFClassTableIndex"), (0, "PROXIM-MIB", "worpQoSPIRTableIndex")) if mibBuilder.loadTexts: worpQoSClassTableEntry.setStatus('current') if mibBuilder.loadTexts: worpQoSClassTableEntry.setDescription('This parameter represents the entry for the worpQoSClassTable.') worpQoSClassTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 7, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSClassTableIndex.setStatus('current') if mibBuilder.loadTexts: worpQoSClassTableIndex.setDescription('This parameter specifies the QoS Class index.') worpQoSClassSFCTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 7, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSClassSFCTableIndex.setStatus('current') if mibBuilder.loadTexts: worpQoSClassSFCTableIndex.setDescription('This parameter specifies the SFC index within the QoS Class index.') worpQoSClassPIRTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 7, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSClassPIRTableIndex.setStatus('current') if mibBuilder.loadTexts: worpQoSClassPIRTableIndex.setDescription('This parameter specifies the PIR index within the QoS SFC index.') worpQoSClassSFCValue = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 7, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSClassSFCValue.setStatus('current') if mibBuilder.loadTexts: worpQoSClassSFCValue.setDescription('This parameter specifies the reference index of the QoS SFC Table index.') worpQoSClassPIRValue = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 7, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSClassPIRValue.setStatus('current') if mibBuilder.loadTexts: worpQoSClassPIRValue.setDescription('This parameter specifies the reference index of the QoS PIR Table index.') worpQoSClassName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 7, 1, 6), DisplayString().clone('default-class')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSClassName.setStatus('current') if mibBuilder.loadTexts: worpQoSClassName.setDescription('This parameter specifies the QoS Class Name.') worpQoSClassPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 7, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSClassPriority.setStatus('current') if mibBuilder.loadTexts: worpQoSClassPriority.setDescription('This parameter specifies the PIR Execution priority within a QoS Class') worpQoSClassTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 7, 1, 8), RowStatus().clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSClassTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: worpQoSClassTableEntryStatus.setDescription('This parameter is used to configure the worpQoSClassTable status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') worpQoSSUTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 8), ) if mibBuilder.loadTexts: worpQoSSUTable.setStatus('current') if mibBuilder.loadTexts: worpQoSSUTable.setDescription('This Table holds the SU/End Point B entries for QoS feature.') worpQoSSUTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 8, 1), ).setIndexNames((0, "PROXIM-MIB", "worpQoSSUTableIndex")) if mibBuilder.loadTexts: worpQoSSUTableEntry.setStatus('current') if mibBuilder.loadTexts: worpQoSSUTableEntry.setDescription('This parameter represents the entry for the worpQoSSUTable.') worpQoSSUTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 8, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 250))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpQoSSUTableIndex.setStatus('current') if mibBuilder.loadTexts: worpQoSSUTableIndex.setDescription('This parameter specifies the index number of the entry in the table ') worpQoSSUMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 8, 1, 2), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSUMACAddress.setStatus('current') if mibBuilder.loadTexts: worpQoSSUMACAddress.setDescription('This parameter specifies the wireless MAC Address of the SU or End Point B') worpQoSSUQoSClassIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 8, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSUQoSClassIndex.setStatus('current') if mibBuilder.loadTexts: worpQoSSUQoSClassIndex.setDescription('This parameter specifies the reference index of the QoS Class Table index.') worpQoSSUComment = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 8, 1, 4), DisplayString().clone('default-su')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSUComment.setStatus('current') if mibBuilder.loadTexts: worpQoSSUComment.setDescription('This parameter specifies the comment for this entry.') worpQoSSUTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 8, 1, 5), RowStatus().clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSSUTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: worpQoSSUTableEntryStatus.setDescription('This parameter is used to configure the worpQoSSUTable status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') worpQoSDefaultClass = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSDefaultClass.setStatus('current') if mibBuilder.loadTexts: worpQoSDefaultClass.setDescription('This parameter specifies the QoS Class need to be used by the SU/End Point B connected to BSU/End Point A but not listed in the worpQoSSUTable.') worpQoSL2BroadcastClass = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 3, 5, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpQoSL2BroadcastClass.setStatus('current') if mibBuilder.loadTexts: worpQoSL2BroadcastClass.setDescription('This parameter specifies the QoS Class need to be used for the Layer 2 Broadcast traffic on the Downlink direction.') netIpCfgTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 1), ) if mibBuilder.loadTexts: netIpCfgTable.setStatus('current') if mibBuilder.loadTexts: netIpCfgTable.setDescription('This table is used to configure the network IP parameters.') netIpCfgTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "netIpCfgTableIndex")) if mibBuilder.loadTexts: netIpCfgTableEntry.setStatus('current') if mibBuilder.loadTexts: netIpCfgTableEntry.setDescription('This table represents the entry for the network IP configuration table') netIpCfgTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: netIpCfgTableIndex.setStatus('current') if mibBuilder.loadTexts: netIpCfgTableIndex.setDescription('This parameter represents the index for the network IP configuration table and interface number.') netIpCfgIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 1, 1, 2), IpAddress().clone(hexValue="a9fe8084")).setMaxAccess("readwrite") if mibBuilder.loadTexts: netIpCfgIPAddress.setStatus('current') if mibBuilder.loadTexts: netIpCfgIPAddress.setDescription('This parameter is used to configure the IP Address for the ethernet interface.') netIpCfgSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 1, 1, 3), IpAddress().clone(hexValue="ffff0000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: netIpCfgSubnetMask.setStatus('current') if mibBuilder.loadTexts: netIpCfgSubnetMask.setDescription('This parameter is used to configure the subnet mask for the ethernet interface.') netIpCfgDefaultRouterIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 1, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netIpCfgDefaultRouterIPAddress.setStatus('deprecated') if mibBuilder.loadTexts: netIpCfgDefaultRouterIPAddress.setDescription('This parameter is used to set the IP address of the gateway or router of the device. This parameter is deprecated and please use the object netCfgAllIntfDefaultRouterIpAddr to set the gateway IP address.') netIpCfgAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("static", 1), ("dynamic", 2))).clone('static')).setMaxAccess("readwrite") if mibBuilder.loadTexts: netIpCfgAddressType.setStatus('current') if mibBuilder.loadTexts: netIpCfgAddressType.setDescription(' This parameter is used to specify whether the device network paramenters are to be configured through a dhcp client or to be assigned statically. If the value is set to 1, then the device is configured as static. If the value is set to 2, then the device is set to dynamic.') netIpWirelessCfgTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 2), ) if mibBuilder.loadTexts: netIpWirelessCfgTable.setStatus('current') if mibBuilder.loadTexts: netIpWirelessCfgTable.setDescription('This table is used to configure the wireless network IP parameters in routing mode.') netIpWirelessCfgTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "netIpWirelessCfgTableIndex")) if mibBuilder.loadTexts: netIpWirelessCfgTableEntry.setStatus('current') if mibBuilder.loadTexts: netIpWirelessCfgTableEntry.setDescription('This table represents the entry for the network IP configuration table') netIpWirelessCfgTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 2, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: netIpWirelessCfgTableIndex.setStatus('current') if mibBuilder.loadTexts: netIpWirelessCfgTableIndex.setDescription('This parameter is user defined index or interface number in the network IP wireless configuration table.') netIpWirelessCfgIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 2, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netIpWirelessCfgIPAddress.setStatus('current') if mibBuilder.loadTexts: netIpWirelessCfgIPAddress.setDescription('This parameter is used to configure the IP Address for the wireless interface.') netIpWirelessCfgSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 2, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netIpWirelessCfgSubnetMask.setStatus('current') if mibBuilder.loadTexts: netIpWirelessCfgSubnetMask.setDescription('This parameter is used to configure the subnet mask for the wireless interface.') netIpStaticRouteTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 3), ) if mibBuilder.loadTexts: netIpStaticRouteTable.setStatus('current') if mibBuilder.loadTexts: netIpStaticRouteTable.setDescription('This table is used to configure the static routes in routing mode.') netIpStaticRouteTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 3, 1), ).setIndexNames((0, "PROXIM-MIB", "netIpStaticRouteTableIndex")) if mibBuilder.loadTexts: netIpStaticRouteTableEntry.setStatus('current') if mibBuilder.loadTexts: netIpStaticRouteTableEntry.setDescription('This parameter represents the entry status for the netIpStaticRouteTable and this table holds upto 256 entries.') netIpStaticRouteTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: netIpStaticRouteTableIndex.setStatus('current') if mibBuilder.loadTexts: netIpStaticRouteTableIndex.setDescription('This parameter represents the index of the netIpStaticRouteTable.') netIpStaticRouteDestAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 3, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netIpStaticRouteDestAddr.setStatus('current') if mibBuilder.loadTexts: netIpStaticRouteDestAddr.setDescription('This parameter is used to enter the destination IP address for which the static route is to be made.') netIpStaticRouteMask = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 3, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netIpStaticRouteMask.setStatus('current') if mibBuilder.loadTexts: netIpStaticRouteMask.setDescription('This parameter is used to enter the mask for the destination address.') netIpStaticRouteNextHop = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 3, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netIpStaticRouteNextHop.setStatus('current') if mibBuilder.loadTexts: netIpStaticRouteNextHop.setDescription('This parameter represents the next reachable hop using which route is made to the destination IP address.') netIpStaticRouteMetric = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 3, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: netIpStaticRouteMetric.setStatus('current') if mibBuilder.loadTexts: netIpStaticRouteMetric.setDescription("This parameter represents the Metric, i.e.,the 'distance' to the target (usually counted in hops).") netIpStaticRouteTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 1, 3, 1, 6), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netIpStaticRouteTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: netIpStaticRouteTableEntryStatus.setDescription('This parameter is used to configure the netIpStaticRouteTable status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') netCfgClearIntfStats = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("none", 1), ("ethernetIntf1", 2), ("ethernetIntf2", 3), ("bridgeStats", 4), ("arpTable", 5), ("wirelessIntf1", 6), ("wirelessIntf2", 7), ("worpIntf1", 8), ("worpIntf2", 9), ("learnTable", 10))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: netCfgClearIntfStats.setStatus('current') if mibBuilder.loadTexts: netCfgClearIntfStats.setDescription('This parameter is used to clear the wired/wireless interface statistics.') netCfgAllIntfDefaultRouterAddr = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 2, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netCfgAllIntfDefaultRouterAddr.setStatus('current') if mibBuilder.loadTexts: netCfgAllIntfDefaultRouterAddr.setDescription('Default Router Address that applies to all interfaces.') netCfgSupportedInterfaces = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 2, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: netCfgSupportedInterfaces.setStatus('current') if mibBuilder.loadTexts: netCfgSupportedInterfaces.setDescription('This parameter shows the names of supported interfaces depending on the network mode.') netCfgStaticRouteStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: netCfgStaticRouteStatus.setStatus('current') if mibBuilder.loadTexts: netCfgStaticRouteStatus.setDescription('This parameter is used to enable/disable the static routes option.') wirelessInActivityTimer = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 2, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessInActivityTimer.setStatus('deprecated') if mibBuilder.loadTexts: wirelessInActivityTimer.setDescription('This parameter is used to monitor the wireless interface for every specified number of minutes. The value 0 disables monitoring.') ethernetInActivityTimer = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 2, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ethernetInActivityTimer.setStatus('current') if mibBuilder.loadTexts: ethernetInActivityTimer.setDescription('This parameter is used to monitor the ethernet interface for every specified number of minutes. The value 0 disables monitoring.') netCfgPrimaryDNSIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 2, 7), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netCfgPrimaryDNSIpAddress.setStatus('current') if mibBuilder.loadTexts: netCfgPrimaryDNSIpAddress.setDescription('This parameter is to configure the Primary DNS IP Address to be used by this product.') netCfgSecondaryDNSIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 2, 8), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: netCfgSecondaryDNSIpAddress.setStatus('current') if mibBuilder.loadTexts: netCfgSecondaryDNSIpAddress.setDescription('This parameter is to configure the Secondary DNS IP Address to be used by this product.') wirelessInActivityTimerInSecs = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 2, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessInActivityTimerInSecs.setStatus('current') if mibBuilder.loadTexts: wirelessInActivityTimerInSecs.setDescription('This parameter is used to monitor the wireless interface for every specified number of seconds. The value 0 disables monitoring. It can be configured from 5 to 600 seconds.') natStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: natStatus.setStatus('current') if mibBuilder.loadTexts: natStatus.setDescription('This parameter is used to configure the NAT(Network Address Translation) status.') natPortBindingStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: natPortBindingStatus.setStatus('current') if mibBuilder.loadTexts: natPortBindingStatus.setDescription('This parameter is used to enable or disable static bind entries on the NAT device. ') natStaticPortBindTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 3, 3), ) if mibBuilder.loadTexts: natStaticPortBindTable.setStatus('current') if mibBuilder.loadTexts: natStaticPortBindTable.setDescription('This table is used to configure NAT Port bind specific information.') natStaticPortBindTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 3, 3, 1), ).setIndexNames((0, "PROXIM-MIB", "natStaticPortBindTableIndex")) if mibBuilder.loadTexts: natStaticPortBindTableEntry.setStatus('current') if mibBuilder.loadTexts: natStaticPortBindTableEntry.setDescription('This parameter represents an entry in the NAT Static Port Bind Table.') natStaticPortBindTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 3, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: natStaticPortBindTableIndex.setStatus('current') if mibBuilder.loadTexts: natStaticPortBindTableIndex.setDescription('This parameter is used as the index for the NAT static Port bind table.') natStaticPortBindLocalAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 3, 3, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: natStaticPortBindLocalAddr.setStatus('current') if mibBuilder.loadTexts: natStaticPortBindLocalAddr.setDescription('This parameter represents the local IP address for this NAT Static Port bind Table entry.') natStaticPortBindPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 3, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("tcp", 1), ("udp", 2), ("both", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: natStaticPortBindPortType.setStatus('current') if mibBuilder.loadTexts: natStaticPortBindPortType.setDescription('This parameter represents the port type for this NAT Static Port bind Table entry.') natStaticPortBindStartPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 3, 3, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: natStaticPortBindStartPortNum.setStatus('current') if mibBuilder.loadTexts: natStaticPortBindStartPortNum.setDescription('This parameter represents the start port number for this NAT Static Port bind Table entry.') natStaticPortBindEndPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 3, 3, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: natStaticPortBindEndPortNum.setStatus('current') if mibBuilder.loadTexts: natStaticPortBindEndPortNum.setDescription('This parameter represents the end port number for this NAT Static Port bind Table entry.') natStaticPortBindTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 3, 3, 1, 6), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: natStaticPortBindTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: natStaticPortBindTableEntryStatus.setDescription('This parameter is used to configure the natStaticPortBindTable status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') ripConfigStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ripConfigStatus.setStatus('current') if mibBuilder.loadTexts: ripConfigStatus.setDescription('This parameter is used to configure the RIP configuration status.') ripConfigTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 4, 2), ) if mibBuilder.loadTexts: ripConfigTable.setStatus('current') if mibBuilder.loadTexts: ripConfigTable.setDescription('This table is used to configure the RIP configuration information.') ripConfigTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 4, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "ripConfigTableIndex")) if mibBuilder.loadTexts: ripConfigTableEntry.setStatus('current') if mibBuilder.loadTexts: ripConfigTableEntry.setDescription('This parameter represents the entry for the ripConfigTable.') ripConfigTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 4, 2, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ripConfigTableIndex.setStatus('current') if mibBuilder.loadTexts: ripConfigTableIndex.setDescription('This parameter represents the index for ripConfigTable.') ripInterfaceName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 4, 2, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ripInterfaceName.setStatus('current') if mibBuilder.loadTexts: ripInterfaceName.setDescription('This parameter shows the available interfaces for which the rip can be configured.') ripInterfaceStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 4, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ripInterfaceStatus.setStatus('current') if mibBuilder.loadTexts: ripInterfaceStatus.setDescription('This parameter is used to enable/disable the rip for the particular interface.') ripInterfaceAuthType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 4, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("simple", 1), ("md5", 2), ("none", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ripInterfaceAuthType.setStatus('current') if mibBuilder.loadTexts: ripInterfaceAuthType.setDescription('This parameter represents the authentication type used for rip configuration.') ripInterfaceAuthKey = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 4, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ripInterfaceAuthKey.setStatus('current') if mibBuilder.loadTexts: ripInterfaceAuthKey.setDescription('This parameter is used to configure the authentication key for the authentication type.') ripInterfaceVersionNum = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 4, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("v1", 1), ("v2", 2), ("both", 3))).clone('v2')).setMaxAccess("readwrite") if mibBuilder.loadTexts: ripInterfaceVersionNum.setStatus('current') if mibBuilder.loadTexts: ripInterfaceVersionNum.setDescription('This parameters allows to configure the rip version verion.') ripReceiveOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 4, 4, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ripReceiveOnly.setStatus('current') if mibBuilder.loadTexts: ripReceiveOnly.setDescription('This parameter allows to configure the interface to receive only RIP version 1 and/or RIP verison 2 packets.') vlanStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vlanStatus.setStatus('current') if mibBuilder.loadTexts: vlanStatus.setDescription('This parameter is used to configure the VLAN functionality. Select 1 to enable the VLAN functionality and 2 to disable the VLAN functionality.') mgmtVLANIdentifier = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 2), VlanId().clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtVLANIdentifier.setStatus('current') if mibBuilder.loadTexts: mgmtVLANIdentifier.setDescription('This parameter represents the management VLAN Identifier (ID).') mgmtVLANPriority = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtVLANPriority.setStatus('current') if mibBuilder.loadTexts: mgmtVLANPriority.setDescription('This parameter represents the management VLAN priority, giving eight (2^3) priority levels with the highest priority as seven.') vlanEthCfgTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 4), ) if mibBuilder.loadTexts: vlanEthCfgTable.setStatus('current') if mibBuilder.loadTexts: vlanEthCfgTable.setDescription('This table is used to configure the VLAN parameters for the ethernet interface.') vlanEthCfgTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 4, 1), ).setIndexNames((0, "PROXIM-MIB", "vlanEthCfgTableIndex")) if mibBuilder.loadTexts: vlanEthCfgTableEntry.setStatus('current') if mibBuilder.loadTexts: vlanEthCfgTableEntry.setDescription('This parameter represents the entry for the Vlan Configuration table.') vlanEthCfgTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: vlanEthCfgTableIndex.setStatus('current') if mibBuilder.loadTexts: vlanEthCfgTableIndex.setDescription('This parameter represents the physical interface and used as index to this table.') vlanMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("transparent", 1), ("access", 2), ("trunk", 3))).clone('transparent')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vlanMode.setStatus('current') if mibBuilder.loadTexts: vlanMode.setDescription('This parameter is used to set the VLAN Mode for the physical interface.') accessVLANId = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 4, 1, 3), VlanId().clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: accessVLANId.setStatus('current') if mibBuilder.loadTexts: accessVLANId.setDescription('This parameter is used to set the access VlanId for the physical interface.') accessVLANPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 4, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: accessVLANPriority.setStatus('current') if mibBuilder.loadTexts: accessVLANPriority.setDescription('This parameter is used to set the access Vlan priority, which varies from 0 to 7 with 7 having highest priority.') untaggedFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: untaggedFrames.setStatus('current') if mibBuilder.loadTexts: untaggedFrames.setDescription('This parameter is used to set the option to allow the untagged frames.') vlanEthTrunkTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 5), ) if mibBuilder.loadTexts: vlanEthTrunkTable.setStatus('current') if mibBuilder.loadTexts: vlanEthTrunkTable.setDescription('This table is used to configure the VLAN trunk parameters for ethernet interface.') vlanEthTrunkTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 5, 1), ).setIndexNames((0, "PROXIM-MIB", "vlanEthTrunkTableIndex"), (0, "PROXIM-MIB", "vlanEthTrunkTableSecIndex")) if mibBuilder.loadTexts: vlanEthTrunkTableEntry.setStatus('current') if mibBuilder.loadTexts: vlanEthTrunkTableEntry.setDescription('This parameter represents the entry for the Vlan Trunk Configuration table.') vlanEthTrunkTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: vlanEthTrunkTableIndex.setStatus('current') if mibBuilder.loadTexts: vlanEthTrunkTableIndex.setDescription('This parameter represents the vlan trunk table index and also represents the ethernet interface.') vlanEthTrunkTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 5, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: vlanEthTrunkTableSecIndex.setStatus('current') if mibBuilder.loadTexts: vlanEthTrunkTableSecIndex.setDescription('This parameter represents the trunk table secondary index.') ethVLANTrunkId = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 5, 1, 3), VlanId()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ethVLANTrunkId.setStatus('current') if mibBuilder.loadTexts: ethVLANTrunkId.setDescription('This parameter is used to set the trunk id.') vlanEthTrunkTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 5, 5, 1, 4), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vlanEthTrunkTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: vlanEthTrunkTableEntryStatus.setDescription('This parameter is used to configure the vlan trunk table status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') filteringCtrl = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: filteringCtrl.setStatus('current') if mibBuilder.loadTexts: filteringCtrl.setDescription('This parameter stores the information whether the Global Filterng is Enabled or Disabled. If this parameter is set to enabled, then the filtering is enabled. If this parameter is disabled, then filtering will be disabled. Select 1 to enable this parameter and 2 to disable this parameter.') intraBSSFiltering = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: intraBSSFiltering.setStatus('current') if mibBuilder.loadTexts: intraBSSFiltering.setDescription('This parameter controls the wireless to wireless communication. If this parameter is set to enabled, then wireless to wireless communication is not allowed. If this parameter is set disabled, then wireless to wireless communication is allowed. Select 1 to enable the wireless to wireless communication and 2 to disable wireless to wireless communication.') etherProtocolFilteringCtrl = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("ethernet", 1), ("wireless", 2), ("allInterfaces", 3), ("disable", 4))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherProtocolFilteringCtrl.setStatus('current') if mibBuilder.loadTexts: etherProtocolFilteringCtrl.setDescription(' This parameter is used to configure the interface. By default, the parameter is set to disabled. The filter can be enabled either for Ethernet, Wireless or All Interface. Select 1 for ethernet, 2 for wireless, 3 for all interfaces and 4 for disable.') etherProtocolFilteringType = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("passthru", 1), ("block", 2))).clone('passthru')).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherProtocolFilteringType.setStatus('current') if mibBuilder.loadTexts: etherProtocolFilteringType.setDescription('If the specific protocol is not available in the ethernet protocol table, then this parameter specifies the action that needs to be taken on the packet. If this parameter is set to passthru (1), then specific protocol will be allowed. If this parameter is set to block (2), then specific protocol will be denied. ') etherProtocolFilterTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 3, 3), ) if mibBuilder.loadTexts: etherProtocolFilterTable.setStatus('current') if mibBuilder.loadTexts: etherProtocolFilterTable.setDescription('This table contains the two byte hexadecimal values of the protocols. The packets whose protocol field matches with any of the entries in this table will be forwarded or dropped.') etherProtocolFilterTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 3, 3, 1), ).setIndexNames((0, "PROXIM-MIB", "etherProtocolFilterTableIndex")) if mibBuilder.loadTexts: etherProtocolFilterTableEntry.setStatus('current') if mibBuilder.loadTexts: etherProtocolFilterTableEntry.setDescription('This parameter represents an entry in the protocol filter table. This table supports upto 64 entries.') etherProtocolFilterTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 3, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherProtocolFilterTableIndex.setStatus('current') if mibBuilder.loadTexts: etherProtocolFilterTableIndex.setDescription('This parameter represents the index of the ethernet protocol Filtering table.') etherProtocolFilterProtocolName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 3, 3, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherProtocolFilterProtocolName.setStatus('current') if mibBuilder.loadTexts: etherProtocolFilterProtocolName.setDescription('This parameter represents a two byte hexadecimal value for the Ethernet protocol to be filtered.') etherProtocolFilterProtocolNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 3, 3, 1, 3), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherProtocolFilterProtocolNumber.setStatus('current') if mibBuilder.loadTexts: etherProtocolFilterProtocolNumber.setDescription('This parameter represents the value in the protocol field of the Ethernet packet. The value is of 4-digit Hex format. Example: The value of IP protocol is 0800. The value of ARP protocol is 0806.') etherprotocolFilterStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 3, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("block", 1), ("passthru", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherprotocolFilterStatus.setStatus('current') if mibBuilder.loadTexts: etherprotocolFilterStatus.setDescription('This parameter is used to configure the status of the ethernet protocol filtering. Select 1 to block, 2 to passthru.') etherProtocolFilterTableStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 3, 3, 1, 5), RowStatus().clone('notInService')).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherProtocolFilterTableStatus.setStatus('current') if mibBuilder.loadTexts: etherProtocolFilterTableStatus.setDescription('This parameter is used to configure the ethernet protocol filtering table status. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') staticMACAddrFilterTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 4, 1), ) if mibBuilder.loadTexts: staticMACAddrFilterTable.setStatus('current') if mibBuilder.loadTexts: staticMACAddrFilterTable.setDescription('This table provides the MAC address of the stations on the wired and the wireless interface; the MAC addresses will be given in pairs. Stations listed in the Static MAC Address filter will have no traffic forwarded by the device. This way Multicast traffic exchanged between stations or servers can be prevented, from being transmitted over the wireless medium when both stations are actually located on the wired backbone.') staticMACAddrFilterTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 4, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "staticMACAddrFilterTableIndex")) if mibBuilder.loadTexts: staticMACAddrFilterTableEntry.setStatus('current') if mibBuilder.loadTexts: staticMACAddrFilterTableEntry.setDescription('This parameter identifies the entry in the Static MAC address filter table. This table support upto 200 entries.') staticMACAddrFilterTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 4, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 200))).setMaxAccess("readonly") if mibBuilder.loadTexts: staticMACAddrFilterTableIndex.setStatus('current') if mibBuilder.loadTexts: staticMACAddrFilterTableIndex.setDescription('This parameter is user defined that represents the index of the Static MAC Filtering table.') staticMACAddrFilterWiredMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 4, 1, 1, 2), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: staticMACAddrFilterWiredMACAddress.setStatus('current') if mibBuilder.loadTexts: staticMACAddrFilterWiredMACAddress.setDescription('This parameter represents the MAC address of the station on the wired interface of the device.') staticMACAddrFilterWiredMACMask = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 4, 1, 1, 3), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: staticMACAddrFilterWiredMACMask.setStatus('current') if mibBuilder.loadTexts: staticMACAddrFilterWiredMACMask.setDescription('This parameter represents the MAC address of the filter wired MASK.') staticMACAddrFilterWirelessMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 4, 1, 1, 4), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: staticMACAddrFilterWirelessMACAddress.setStatus('current') if mibBuilder.loadTexts: staticMACAddrFilterWirelessMACAddress.setDescription('This parameter represents the MAC address for the wireless interface.') staticMACAddrFilterWirelessMACMask = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 4, 1, 1, 5), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: staticMACAddrFilterWirelessMACMask.setStatus('current') if mibBuilder.loadTexts: staticMACAddrFilterWirelessMACMask.setDescription('This parameter represents the mask for the wireless interface MAC address.') staticMACAddrFilterComment = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 4, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: staticMACAddrFilterComment.setStatus('current') if mibBuilder.loadTexts: staticMACAddrFilterComment.setDescription('This parameter is used for an optional comment associated to the staticMACAddrFilter entry.') staticMACAddrFilterTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 4, 1, 1, 7), RowStatus().clone('active')).setMaxAccess("readcreate") if mibBuilder.loadTexts: staticMACAddrFilterTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: staticMACAddrFilterTableEntryStatus.setDescription('This parameter is used to configure the status of the staticMACAddrFilterTable. Select It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') advancedFilterTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 5, 1), ) if mibBuilder.loadTexts: advancedFilterTable.setStatus('current') if mibBuilder.loadTexts: advancedFilterTable.setDescription('This table is used to configure the advanced filtering using protocol name and direction.') advancedFilterTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 5, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "advancedFilterTableIndex")) if mibBuilder.loadTexts: advancedFilterTableEntry.setStatus('current') if mibBuilder.loadTexts: advancedFilterTableEntry.setDescription('This parameter represents the entry for advancedFilterTable. This table supports up to 5 entries.') advancedFilterTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 5, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: advancedFilterTableIndex.setStatus('current') if mibBuilder.loadTexts: advancedFilterTableIndex.setDescription('This parameter represents the index of the advanced filtering table.') advancedFilterProtocolName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 5, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: advancedFilterProtocolName.setStatus('current') if mibBuilder.loadTexts: advancedFilterProtocolName.setDescription('This parameter represents the protocol name to be filtered. (DenyIPX RIP, Deny IPX SAP, Deny IPX LSP, Deny IP Broadcasts, Deny IP Multicasts)') advancedFilterDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ethernet2wireless", 1), ("wireless2ethernet", 2), ("both", 3))).clone('both')).setMaxAccess("readwrite") if mibBuilder.loadTexts: advancedFilterDirection.setStatus('current') if mibBuilder.loadTexts: advancedFilterDirection.setDescription('This parameter represents the direction of the individual entry in the advanced filter table. The direction can be enabled either for Ethernet to Wireless, Wireless to Ethernet or both. Select 1 for ethernet2wireless, 2 for wireless2ethernet, 3 for both.') advancedFilterTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 5, 1, 1, 4), RowStatus().clone('notInService')).setMaxAccess("readwrite") if mibBuilder.loadTexts: advancedFilterTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: advancedFilterTableEntryStatus.setDescription('This parameter is used to configure the row status of the advanced filtering table. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') tcpudpPortFilterCtrl = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 6, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpudpPortFilterCtrl.setStatus('current') if mibBuilder.loadTexts: tcpudpPortFilterCtrl.setDescription('This parameter is used to configure the Tcp Udp Port Filtering. Select 1 to enable and 2 to disable the Tcp Udp Port Filtering. ') tcpudpPortFilterTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 6, 2), ) if mibBuilder.loadTexts: tcpudpPortFilterTable.setStatus('current') if mibBuilder.loadTexts: tcpudpPortFilterTable.setDescription('This table contains the configurations for the Tcp Udp Port Filtering table.') tcpudpPortFilterTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 6, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "tcpudpPortFilterTableIndex")) if mibBuilder.loadTexts: tcpudpPortFilterTableEntry.setStatus('current') if mibBuilder.loadTexts: tcpudpPortFilterTableEntry.setDescription('This parameter represents the entry for tcpudpPortFilterTable. This table supports up to 64 entries.') tcpudpPortFilterTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 6, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpudpPortFilterTableIndex.setStatus('current') if mibBuilder.loadTexts: tcpudpPortFilterTableIndex.setDescription('This parameter is used as index for the TcpUdp port filter table.') tcpudpPortFilterProtocolName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 6, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpudpPortFilterProtocolName.setStatus('current') if mibBuilder.loadTexts: tcpudpPortFilterProtocolName.setDescription('This parameter represents the protocol name for the tcpudpPortFilter.') tcpudpPortFilterPortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 6, 2, 1, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpudpPortFilterPortNumber.setStatus('current') if mibBuilder.loadTexts: tcpudpPortFilterPortNumber.setDescription('This parameter represents the Port number for the tcpudpPortFilter.') tcpudpPortFilterPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 6, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("tcp", 1), ("udp", 2), ("both", 3))).clone('both')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpudpPortFilterPortType.setStatus('current') if mibBuilder.loadTexts: tcpudpPortFilterPortType.setDescription('This parameter represents the port type for this TcpUdp Port filter table. The parameter can be either TCP or UDP or TCP/UDP. Select 1 for TCP, 2 for UDP and 3 for both.') tcpudpPortFilterInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 6, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("onlyEthernet", 1), ("onlyWireless", 2), ("allInterfaces", 3))).clone('allInterfaces')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpudpPortFilterInterface.setStatus('current') if mibBuilder.loadTexts: tcpudpPortFilterInterface.setDescription('This parameter is used to configure the interface. By default, the parameter is set to All Interfaces. The filter can be enabled either for Ethernet, Wireless or All Interface. Select 1 for only Ethernet, 2 for only Wireless and 3 for allInterfaces.') tcpudpPortFilterTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 6, 2, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: tcpudpPortFilterTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: tcpudpPortFilterTableEntryStatus.setDescription('The parameter indicates the status of the TCP/UDP portfilter table entry. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6)') worpIntraCellBlockingStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingStatus.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingStatus.setDescription('This parameter is used to enable/disable IntraCell Blocking/Filtering.') worpIntraCellBlockingMACTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2), ) if mibBuilder.loadTexts: worpIntraCellBlockingMACTable.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingMACTable.setDescription('The MAC table entries for IntraCell Blocking filters. This table can hold up to a maximum of 250 entries.') worpIntraCellBlockingMACTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "worpIntraCellBlockingMACTableIndex")) if mibBuilder.loadTexts: worpIntraCellBlockingMACTableEntry.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingMACTableEntry.setDescription('This parameter represents the entry in the IntraCell Blocking MAC Table.') worpIntraCellBlockingMACTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 250))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpIntraCellBlockingMACTableIndex.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingMACTableIndex.setDescription('This parameter is used as the index to the IntraCell Blocking MAC Table.') worpIntraCellBlockingMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 2), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingMACAddress.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingMACAddress.setDescription('This parameter represents the MAC address of the SU which is allowed to communicate with other SUs with the same group ID.') worpIntraCellBlockingGroupID1 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID1.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID1.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID2 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID2.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID2.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID3 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID3.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID3.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID4 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID4.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID4.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID5 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID5.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID5.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID6 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID6.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID6.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID7 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID7.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID7.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID8 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID8.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID8.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID9 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID9.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID9.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID10 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID10.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID10.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID11 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID11.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID11.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID12 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID12.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID12.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID13 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID13.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID13.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID14 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID14.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID14.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID15 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID15.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID15.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingGroupID16 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupID16.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupID16.setDescription('This parameter enables to segregate the SUs for intra/ inter cell communications.') worpIntraCellBlockingMACTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 2, 1, 19), RowStatus().clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingMACTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingMACTableEntryStatus.setDescription('This parameter is used to configure the row status for the worp Intra cell blocking MAC table. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') worpIntraCellBlockingGroupTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 3), ) if mibBuilder.loadTexts: worpIntraCellBlockingGroupTable.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupTable.setDescription('This table holds the group entries for IntraCell Blocking.') worpIntraCellBlockingGroupTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 3, 1), ).setIndexNames((0, "PROXIM-MIB", "worpIntraCellBlockingGroupTableIndex")) if mibBuilder.loadTexts: worpIntraCellBlockingGroupTableEntry.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupTableEntry.setDescription('This parameter represents the entry in the IntraCell Blocking Group Table. This table can contain a maximum of 16 entries.') worpIntraCellBlockingGroupTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpIntraCellBlockingGroupTableIndex.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupTableIndex.setDescription('This parameter is used as the index to the IntraCell Blocking Group Table.') worpIntraCellBlockingGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 3, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupName.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupName.setDescription('This parameter represents the group name.') worpIntraCellBlockingGroupTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 7, 3, 1, 3), RowStatus().clone('notInService')).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpIntraCellBlockingGroupTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: worpIntraCellBlockingGroupTableEntryStatus.setDescription('This parameter is used to enable, disable the IntraCell Blocking Group Table.') securityGatewayStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: securityGatewayStatus.setStatus('current') if mibBuilder.loadTexts: securityGatewayStatus.setDescription('This parameter is used to enable or disable security gateway feature.') securityGatewayMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 8, 2), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: securityGatewayMacAddress.setStatus('current') if mibBuilder.loadTexts: securityGatewayMacAddress.setDescription('This parameter represents the security Gateway MAC Address to which all frames will be forwarded by the device.') stpFrameForwardStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: stpFrameForwardStatus.setStatus('current') if mibBuilder.loadTexts: stpFrameForwardStatus.setDescription('STP Frame forward status will block/allow the IEEE 802.1D and 802.1Q reserved MAC addresses (01:80:C2:00:00:00 to 01:80:C2:00:00:0F) Select 1 to enable this parameter and 2 to disable this parameter.') stormThresholdTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 10, 1), ) if mibBuilder.loadTexts: stormThresholdTable.setStatus('current') if mibBuilder.loadTexts: stormThresholdTable.setDescription(' This table contains information on the threshold value of the multicast and brodcast packects that can be processed for interface(s) present in the device .') stormThresholdTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 10, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "stormThresholdTableIndex")) if mibBuilder.loadTexts: stormThresholdTableEntry.setStatus('current') if mibBuilder.loadTexts: stormThresholdTableEntry.setDescription('This parameter represents the entry in the storm threshold table.') stormThresholdTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 10, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: stormThresholdTableIndex.setStatus('current') if mibBuilder.loadTexts: stormThresholdTableIndex.setDescription('This parameter is used as index for the storm Threshold Table.') stormFilterInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 10, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ethernet", 1), ("wireless", 2))).clone('ethernet')).setMaxAccess("readonly") if mibBuilder.loadTexts: stormFilterInterface.setStatus('current') if mibBuilder.loadTexts: stormFilterInterface.setDescription('This parameter is used to configure the interface.The filter can be enabled either for Ethernet or Wireless. 1 for Ethernet 2 for Wireless') stormMulticastThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 10, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readwrite") if mibBuilder.loadTexts: stormMulticastThreshold.setStatus('current') if mibBuilder.loadTexts: stormMulticastThreshold.setDescription(" This parameter is used to provide the threshold value of the multicast packets to be processed for the interface. If threshold value for multicast packets is set to '0', no filtering will take place (filtering will be disabled).Excess packets will be dropped if packets are more than threshold value.To disable MultiCast packets filtering for this interface this variable should be set to '0'(zero).") stormBroadcastThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 6, 10, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readwrite") if mibBuilder.loadTexts: stormBroadcastThreshold.setStatus('current') if mibBuilder.loadTexts: stormBroadcastThreshold.setDescription(" This parameter is used to provide the threshold value of the broadcast packets to be processed for interface.If threshold value for broadcast packets is set to '0', no filtering will take place (filtering will be disabled). Excess packets will be dropped if packets are more than threshold value.To disable Broadcast wireless packets filtering,this variable should be set to '0' (Zero).") dhcpServerStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("dhcpServer", 2), ("dhcpRelayAgent", 3))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerStatus.setStatus('current') if mibBuilder.loadTexts: dhcpServerStatus.setDescription('This parameter indicates if the DHCP server/relay is enabled or disabled in the device.') dhcpMaxLeaseTime = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 2), TimeTicks().subtype(subtypeSpec=ValueRangeConstraint(360000, 17280000)).clone(8640000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpMaxLeaseTime.setStatus('current') if mibBuilder.loadTexts: dhcpMaxLeaseTime.setDescription('This parameter represents the maximum lease time in 100th seconds for the IP address assigned by the DHCP server to the DHCP client.') dhcpServerIfTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 3), ) if mibBuilder.loadTexts: dhcpServerIfTable.setStatus('current') if mibBuilder.loadTexts: dhcpServerIfTable.setDescription('This table is used to configure the DHCP server for a particular interface.') dhcpServerIfTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 3, 1), ).setIndexNames((0, "PROXIM-MIB", "dhcpServerIfTableIndex")) if mibBuilder.loadTexts: dhcpServerIfTableEntry.setStatus('current') if mibBuilder.loadTexts: dhcpServerIfTableEntry.setDescription('This parameter represents the entry for the dhcpServerIfTable.') dhcpServerIfTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpServerIfTableIndex.setStatus('current') if mibBuilder.loadTexts: dhcpServerIfTableIndex.setDescription('This parameter represents the index for the dhcpServerIfTable.') dhcpServerInterfaceType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("bridge", 1), ("ethernet1", 2), ("ethernet2", 3), ("wireless1", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpServerInterfaceType.setStatus('current') if mibBuilder.loadTexts: dhcpServerInterfaceType.setDescription('This parameter shows the list of interfaces for which the DHCP can be configured.') dhcpServerNetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 3, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerNetMask.setStatus('current') if mibBuilder.loadTexts: dhcpServerNetMask.setDescription('This parameter is used to configure the mask for the interface shown.') dhcpServerDefaultGateway = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 3, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerDefaultGateway.setStatus('current') if mibBuilder.loadTexts: dhcpServerDefaultGateway.setDescription('This parameter represents the IP Address of the gateway or router that the DHCP Server will assign to the DHCP client.') dhcpServerPrimaryDNS = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 3, 1, 5), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerPrimaryDNS.setStatus('current') if mibBuilder.loadTexts: dhcpServerPrimaryDNS.setDescription('This parameter represents the primary DNS Server IP Address to be assinged to a DHCP Client.') dhcpServerSecondaryDNS = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 3, 1, 6), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerSecondaryDNS.setStatus('current') if mibBuilder.loadTexts: dhcpServerSecondaryDNS.setDescription('This parameter represents the secondary DNS Server IP Address to be assinged to a DHCP Client.') dhcpServerDefaultLeaseTime = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 3, 1, 7), TimeTicks().subtype(subtypeSpec=ValueRangeConstraint(360000, 17280000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerDefaultLeaseTime.setStatus('current') if mibBuilder.loadTexts: dhcpServerDefaultLeaseTime.setDescription('This parameter represents the default lease time, in 100th seconds, for the IP address assigned by the DHCP server to the DHCP client.') dhcpServerIfTableComment = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 3, 1, 8), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerIfTableComment.setStatus('current') if mibBuilder.loadTexts: dhcpServerIfTableComment.setDescription('This parameter represents an optional comment for this table entry.') dhcpServerIfTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 3, 1, 9), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerIfTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: dhcpServerIfTableEntryStatus.setDescription('This parameter is used to configure the row status for the dhcpServerIfTable. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') dhcpServerIpPoolTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 4), ) if mibBuilder.loadTexts: dhcpServerIpPoolTable.setStatus('current') if mibBuilder.loadTexts: dhcpServerIpPoolTable.setDescription('This table contains the pools of IP Addresses that the DHCP server will assign to the DHCP clients.') dhcpServerIpPoolTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 4, 1), ).setIndexNames((0, "PROXIM-MIB", "dhcpServerIpPoolTableIndex")) if mibBuilder.loadTexts: dhcpServerIpPoolTableEntry.setStatus('current') if mibBuilder.loadTexts: dhcpServerIpPoolTableEntry.setDescription('This parameter represents entries in the dhcpServerIpPoolTable.') dhcpServerIpPoolTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpServerIpPoolTableIndex.setStatus('current') if mibBuilder.loadTexts: dhcpServerIpPoolTableIndex.setDescription('This parameter is used as the index for the IP Address Pool table.') dhcpServerIpPoolInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("bridge", 1), ("ethernet1", 2), ("ethernet2", 3), ("wireless1", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerIpPoolInterface.setStatus('current') if mibBuilder.loadTexts: dhcpServerIpPoolInterface.setDescription('This parameter shows the list of interfaces for which the DHCP server can be configured.') dhcpServerIpPoolStartIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 4, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerIpPoolStartIpAddress.setStatus('current') if mibBuilder.loadTexts: dhcpServerIpPoolStartIpAddress.setDescription('This parameter represents the start IP address for this DHCP IP Address IP Pool Table entry.') dhcpServerIpPoolEndIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 4, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerIpPoolEndIpAddress.setStatus('current') if mibBuilder.loadTexts: dhcpServerIpPoolEndIpAddress.setDescription('This parameter represents the end IP address for this DHCP IP Address IP Pool Table entry.') dhcpServerIpPoolTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 1, 4, 1, 5), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerIpPoolTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: dhcpServerIpPoolTableEntryStatus.setDescription('This parameter is used to configure the row status for the dhcpServerIpPoolTable. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') dhcpRelayServerTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 2, 1), ) if mibBuilder.loadTexts: dhcpRelayServerTable.setStatus('current') if mibBuilder.loadTexts: dhcpRelayServerTable.setDescription('This table contains a list of DHCP servers to which the DHCP Agent will communicate with.') dhcpRelayServerTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 2, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "dhcpRelayServerTableIndex")) if mibBuilder.loadTexts: dhcpRelayServerTableEntry.setStatus('current') if mibBuilder.loadTexts: dhcpRelayServerTableEntry.setDescription('This parameter represents and entry in the DHCP Server table.') dhcpRelayServerTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 2, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpRelayServerTableIndex.setStatus('current') if mibBuilder.loadTexts: dhcpRelayServerTableIndex.setDescription('This parameter is used as the index to this dhcpRelayServerTable.') dhcpRelayServerIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 2, 1, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpRelayServerIpAddress.setStatus('current') if mibBuilder.loadTexts: dhcpRelayServerIpAddress.setDescription('This parameter represents the IP address of the DHCP server that shall receive DHCP requests from the device.') dhcpRelayServerTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 7, 2, 1, 1, 3), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpRelayServerTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: dhcpRelayServerTableEntryStatus.setDescription('This parameter is used to configure the row status for the dhcpRelayServerTable. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') sysTypeTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 1), ) if mibBuilder.loadTexts: sysTypeTable.setStatus('current') if mibBuilder.loadTexts: sysTypeTable.setDescription('This table holds the information about the supported and current modes of the device.') sysTypeTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "sysTypeRadioIfIndex")) if mibBuilder.loadTexts: sysTypeTableEntry.setStatus('current') if mibBuilder.loadTexts: sysTypeTableEntry.setDescription('This parameter represents the entry status for the sysTypeTable. It can hold one entry.') sysTypeRadioIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysTypeRadioIfIndex.setStatus('current') if mibBuilder.loadTexts: sysTypeRadioIfIndex.setDescription('This parameter represents the physical interface (radio) and index for the sysType Table.') sysTypeMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 5)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysTypeMode.setStatus('current') if mibBuilder.loadTexts: sysTypeMode.setDescription('This parameter is used to configure the mode of the radio(s). Please refer the sysTypeSupportedMode object for the supported modes. The modes are represented in numbers as follows: AP (1), CLIENT (2), WDS (3), BSU (4), *Applies in TMP(tsunamiMP) mode - please refer sysFeatureProductFamily* EndPointA (4), *Applies in QB(tsunamiQuickBridge) mode - please refer sysFeatureProductFamily* SU (5) *Applies in TMP(tsunamiMP) mode - please refer sysFeatureProductFamily* EndPointB (5) *Applies in QB(tsunamiQuickBridge) mode - please refer sysFeatureProductFamily*') sysTypeActiveMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysTypeActiveMode.setStatus('current') if mibBuilder.loadTexts: sysTypeActiveMode.setDescription('This parameter shows the active mode of the radio(s). The configured mode will take effect after the reboot. The modes are represented in numbers as follows: AP (1), CLIENT (2), WDS (3), BSU (4), *Applies in TMP(tsunamiMP) mode - please refer sysFeatureProductFamily* EndPointA (4), *Applies in QB(tsunamiQuickBridge) mode - please refer sysFeatureProductFamily* SU (5) *Applies in TMP(tsunamiMP) mode - please refer sysFeatureProductFamily* EndPointB (5) *Applies in QB(tsunamiQuickBridge) mode - please refer sysFeatureProductFamily*') sysTypeSupportedMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 1, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysTypeSupportedMode.setStatus('current') if mibBuilder.loadTexts: sysTypeSupportedMode.setDescription('This parameter displays the supported modes of operations complying with the license.') sysTypeSupportedFreqDomains = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 1, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysTypeSupportedFreqDomains.setStatus('current') if mibBuilder.loadTexts: sysTypeSupportedFreqDomains.setDescription('This parameter displays the supported frequency domains.') sysTypeFreqDomain = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27))).clone(namedValues=NamedValues(("unitedStatesAll", 1), ("unitedStatesAdhoc", 2), ("unitedStates2p4", 3), ("worldAll", 4), ("world4p9GHz", 5), ("world2p4GHz", 6), ("world2p3GHz", 7), ("world2p5GHz", 8), ("canada5GHz", 9), ("europe5p8GHz", 10), ("europe5p4GHz", 11), ("europe2p4GHz", 12), ("russia5GHz", 13), ("taiwan5GHz", 14), ("unitedStates5GHz", 15), ("canada5p8GHz", 16), ("russiaFC", 17), ("japan2p4", 18), ("japan4p9", 19), ("uk5p8GHz", 20), ("world5p9GHz", 21), ("unitedStates5p3And5p8GHz", 22), ("india5p8GHz", 23), ("brazil5p4GHz", 24), ("brazil5p8GHz", 25), ("australia5p4GHz", 26), ("australia5p8GHz", 27)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysTypeFreqDomain.setStatus('current') if mibBuilder.loadTexts: sysTypeFreqDomain.setDescription('This parameter is used to configure the frequency domain. The following list shows in detail: - United States All: 5.3 + 5.4 with DFS and 5.8 without DFS - United States Adhoc: 5.8 without DFS only - United States 2.4 GHz - World All - World 4.9 GHz (4.940 – 4.990 GHz) - World 2.4 GHz (2.400 – 2.472 GHz) - World 2.3 GHz - World 2.5 GHz - Canada 5 GHz (5.250 – 5.350 & 5.470 – 5.600 & 5.650 – 5.725 GHz all bands with DFS) - Europe 5.8 GHz (5.725 – 5.850 GHz with DFS) - Europe 5.4 GHz (5.470 – 5.600 & 5.650 – 5.725 GHz both with DFS) - Europe 2.4 GHz (2.400 – 2.4825 GHz) - Russia 5 GHz (5.150 – 6.080 GHz without DFS) - Taiwan 5 GHz (5.500 – 5.700 with DFS & 5.725 – 5.825 GHz without DFS) - United State 5 GHz (5.250 – 5.350 & 5.470 – 5.725 GHz with DFS & 5.725 – 5.850 GHz without DFS) - Canada 5.8 GHz. - Russia Frequency Convertor. - Japan 2.4 GHz (2412 - 2472 MHz) - Japan 4.9 GHz (4920 - 4980 MHz and 5040 - 5080 MHz). - UK 5.8 GHz (5725 - 5795 MHz and 5825 - 5850 MHz) - World 5.9GHz - United States 5.3 and 5.8 GHz - India 5.8GHz.') sysTypeActiveFreqDomain = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27))).clone(namedValues=NamedValues(("unitedStatesAll", 1), ("unitedStatesAdhoc", 2), ("unitedStates2p4", 3), ("worldAll", 4), ("world4p9GHz", 5), ("world2p4GHz", 6), ("world2p3GHz", 7), ("world2p5GHz", 8), ("canada5GHz", 9), ("europe5p8GHz", 10), ("europe5p4GHz", 11), ("europe2p4GHz", 12), ("russia5GHz", 13), ("taiwan5GHz", 14), ("unitedStates5GHz", 15), ("canada5p8GHz", 16), ("russiaFC", 17), ("japan2p4", 18), ("japan4p9", 19), ("uk5p8GHz", 20), ("world5p9GHz", 21), ("unitedStates5p3And5p8GHz", 22), ("india5p8GHz", 23), ("brazil5p4GHz", 24), ("brazil5p8GHz", 25), ("australia5p4GHz", 26), ("australia5p8GHz", 27)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysTypeActiveFreqDomain.setStatus('current') if mibBuilder.loadTexts: sysTypeActiveFreqDomain.setDescription('This parameter shows the active frequency domain. The following list shows in detail: - United States All: 5.3 + 5.4 with DFS and 5.8 without DFS - United States Adhoc: 5.8 without DFS only - United States 2.4 GHz - World All - World 4.9 GHz (4.940 – 4.990 GHz) - World 2.4 GHz (2.400 – 2.472 GHz) - World 2.3 GHz - World 2.5 GHz - Canada 5 GHz (5.250 – 5.350 & 5.470 – 5.600 & 5.650 – 5.725 GHz all bands with DFS) - Europe 5.8 GHz (5.725 – 5.850 GHz with DFS) - Europe 5.4 GHz (5.470 – 5.600 & 5.650 – 5.725 GHz both with DFS) - Europe 2.4 GHz (2.400 – 2.4825 GHz) - Russia 5 GHz (5.150 – 6.080 GHz without DFS) - Taiwan 5 GHz (5.500 – 5.700 with DFS & 5.725 – 5.825 GHz without DFS) - United State 5 GHz (5.250 – 5.350 & 5.470 – 5.725 GHz with DFS & 5.725 – 5.850 GHz without DFS) - Canada 5.8 GHz. - Russia Frequency Convertor - Japan 2.4 GHz (2412 - 2472 MHz) - Japan 4.9 GHz (4920 - 4980 MHz and 5040 - 5080 MHz). - UK 5.8 GHz (5725 - 5795 MHz and 5825 - 5850 MHz) - World 5.9GHz - United States 5.3 and 5.8 GHz - India 5.8GHz.') sysNetworkMode = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("bridge", 1), ("route", 2))).clone('bridge')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysNetworkMode.setStatus('current') if mibBuilder.loadTexts: sysNetworkMode.setDescription(' This parameter is used to configure the network mode of the device.') sysActiveNetworkMode = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("bridge", 1), ("route", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysActiveNetworkMode.setStatus('current') if mibBuilder.loadTexts: sysActiveNetworkMode.setDescription(' This parameter is shows the network mode of the device. This can be configured in the sysNetworkMode.') sysConfCountryCode = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 8, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysConfCountryCode.setStatus('current') if mibBuilder.loadTexts: sysConfCountryCode.setDescription('This attribute identifies the country in which the station is operating to set the frequency band. The first two octets of this string is the two character country code as described in document ISO/IEC 3166-1. This object is not supported for the current products, please refer sysTypeFreqDomain for configuring the Frequency band. Below is the list of mapping of country codes to country names. A5 - ALL5GHz AL - ALBANIA DZ - ALGERIA AR - ARGENTINA AM - ARMENIA AU - AUSTRALIA AT - AUSTRIA AZ - AZERBAIJAN BH - BAHRAIN BY - BELARUS BE - BELGIUM BZ - BELIZE BO - BOLIVIA BR - BRAZIL BN - BRUNEI DARUSSALAM BG - BULGARIA CA - CANADA CL - CHILE CN - CHINA CO - COLOMBIA CR - COSTA RICA HR - CROATIA CY - CYPRUS CZ - CZECH REPUBLIC DK - DENMARK DO - DOMINICAN REPUBLIC EC - ECUADOR EG - EGYPT EE - ESTONIA EU - EUROPEAN UNION FI - FINLAND FR - FRANCE GE - GEORGIA DE - GERMANY GR - GREECE GT - GUATEMALA HK - HONG KONG HU - HUNGARY IS - ICELAND IN - INDIA ID - INDONESIA IR - IRAN IE - IRELAND I1 - IRELAND - 5.8GHz IL - ISRAEL IT - ITALY JP - JAPAN J2 - JAPAN2 JM - JAMAICA JO - JORDAN KZ - KAZAKHSTAN KP - NORTH KOREA KR - KOREA REPUBLIC K2 - KOREA REPUBLIC2 KW - KUWAIT LV - LATVIA LB - LEBANON LI - LIECHTENSTEIN LT - LITHUANIA LU - LUXEMBOURG MO - MACAU MK - MACEDONIA MT - MALTA MY - MALAYSIA MX - MEXICO MC - MONACO MA - MOROCCO NL - NETHERLANDS NZ - NEW ZEALAND NO - NORWAY OM - OMAN PK - PAKISTAN PA - PANAMA PE - PERU PH - PHILIPPINES PL - POLAND PT - PORTUGAL PR - PUERTO RICO QA - QATAR RO - ROMANIA RU - RUSSIA SA - SAUDI ARABIA CS - SERBIA & MONTENEGRO SG - SINGAPORE SK - SLOVAK REPUBLIC SI - SLOVENIA ZA - SOUTH AFRICA ES - SPAIN SE - SWEDEN CH - SWITZERLAND SY - SYRIA TW - TAIWAN TH - THAILAND TR - TURKEY UA - UKRAINE AE - UNITED ARAB EMIRATES GB - UNITED KINGDOM G1 - UNITED KINGDOM - 5.8GHz US - UNITED STATES UW - UNITED STATES - World U1 - UNITED STATES - DFS UY - URUGUAY VE - VENEZUELA VN - VIETNAM') igmpSnoopingGlobalStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 10, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: igmpSnoopingGlobalStatus.setStatus('current') if mibBuilder.loadTexts: igmpSnoopingGlobalStatus.setDescription('This parameter is used to enable/disable the IGMP snooping. Only passive snooping is supported. This feature is supported only in bridge mode.') igmpMembershipAgingTimer = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 10, 2), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: igmpMembershipAgingTimer.setStatus('current') if mibBuilder.loadTexts: igmpMembershipAgingTimer.setDescription('This parameter represents the time after which the IGMP multicast group age-outs/elapses.') igmpRouterPortAgingTimer = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 10, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: igmpRouterPortAgingTimer.setStatus('current') if mibBuilder.loadTexts: igmpRouterPortAgingTimer.setDescription('This parameter represents the time after which the IGMP router port age-outs/elapses.') igmpForcedFlood = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 1, 10, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: igmpForcedFlood.setStatus('current') if mibBuilder.loadTexts: igmpForcedFlood.setDescription('If this paramter is set with Yes, all unregistered multicast traffic and membership reports will be flooded to all ports.') sysCountryCode = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysCountryCode.setStatus('deprecated') if mibBuilder.loadTexts: sysCountryCode.setDescription('This attribute identifies the country in which the station is operating. The first two octets of this string is the two character country code as described in document ISO/IEC 3166-1. Below is the list of mapping of country codes to country names. This object is deprecated and please use sysConfCountryCode to set the country code. AL - ALBANIA DZ - ALGERIA AR - ARGENTINA AM - ARMENIA AU - AUSTRALIA AT - AUSTRIA AZ - AZERBAIJAN BH - BAHRAIN BY - BELARUS BE - BELGIUM BZ - BELIZE BO - BOLIVIA BR - BRAZIL BN - BRUNEI DARUSSALAM BG - BULGARIA CA - CANADA CL - CHILE CN - CHINA CO - COLOMBIA CR - COSTA RICA HR - CROATIA CY - CYPRUS CZ - CZECH REPUBLIC DK - DENMARK DO - DOMINICAN REPUBLIC EC - ECUADOR EG - EGYPT EE - ESTONIA EU - EUROPEAN UNION FI - FINLAND FR - FRANCE GE - GEORGIA DE - GERMANY GR - GREECE GT - GUATEMALA HK - HONG KONG HU - HUNGARY IS - ICELAND IN - INDIA ID - INDONESIA IR - IRAN IE - IRELAND I1 - IRELAND - 5.8GHz IL - ISRAEL IT - ITALY JP - JAPAN J2 - JAPAN2 JM - JAMAICA JO - JORDAN KZ - KAZAKHSTAN KP - NORTH KOREA KR - KOREA REPUBLIC K2 - KOREA REPUBLIC2 KW - KUWAIT LV - LATVIA LB - LEBANON LI - LIECHTENSTEIN LT - LITHUANIA LU - LUXEMBOURG MO - MACAU MK - MACEDONIA MT - MALTA MY - MALAYSIA MX - MEXICO MC - MONACO MA - MOROCCO NL - NETHERLANDS NZ - NEW ZEALAND NO - NORWAY OM - OMAN PK - PAKISTAN PA - PANAMA PE - PERU PH - PHILIPPINES PL - POLAND PT - PORTUGAL PR - PUERTO RICO QA - QATAR RO - ROMANIA RU - RUSSIA SA - SAUDI ARABIA CS - SERBIA & MONTENEGRO SG - SINGAPORE SK - SLOVAK REPUBLIC SI - SLOVENIA ZA - SOUTH AFRICA ES - SPAIN SE - SWEDEN CH - SWITZERLAND SY - SYRIA TW - TAIWAN TH - THAILAND TR - TURKEY UA - UKRAINE AE - UNITED ARAB EMIRATES GB - UNITED KINGDOM G1 - UNITED KINGDOM - 5.8GHz US - UNITED STATES UW - UNITED STATES - World U1 - UNITED STATES - DFS UY - URUGUAY VE - VENEZUELA VN - VIETNAM') sysInvMgmtComponentTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 1), ) if mibBuilder.loadTexts: sysInvMgmtComponentTable.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtComponentTable.setDescription("This table holds the system's inventory management component features.") sysInvMgmtComponentTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "sysInvMgmtCompTableIndex")) if mibBuilder.loadTexts: sysInvMgmtComponentTableEntry.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtComponentTableEntry.setDescription('This parameter represents the entry for the sysInvmgmtComponentTable') sysInvMgmtCompTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysInvMgmtCompTableIndex.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtCompTableIndex.setDescription('This parameter represents the index for sysInvMgmtCompTable.') sysInvMgmtCompSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysInvMgmtCompSerialNumber.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtCompSerialNumber.setDescription('This parameter identifies the system component serial number') sysInvMgmtCompName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysInvMgmtCompName.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtCompName.setDescription('This parameter identifies the system component name.') sysInvMgmtCompId = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 1, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysInvMgmtCompId.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtCompId.setDescription('This parameter shows the identifier for the component.') sysInvMgmtCompVariant = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysInvMgmtCompVariant.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtCompVariant.setDescription('This parameter identifies the system component variant number.') sysInvMgmtCompReleaseVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 1, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysInvMgmtCompReleaseVersion.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtCompReleaseVersion.setDescription('This parameter identifies the system component release version number.') sysInvMgmtCompMajorVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 1, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysInvMgmtCompMajorVersion.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtCompMajorVersion.setDescription('This parameter identifies the system component major version number.') sysInvMgmtCompMinorVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 1, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysInvMgmtCompMinorVersion.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtCompMinorVersion.setDescription('This parameters identifies the system component minor version number.') sysInvMgmtSecurityID = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysInvMgmtSecurityID.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtSecurityID.setDescription(" This parameter represents the system's Security ID.") sysInvMgmtDaughterCardAvailability = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysInvMgmtDaughterCardAvailability.setStatus('current') if mibBuilder.loadTexts: sysInvMgmtDaughterCardAvailability.setDescription('This parameter shows the availability of the daughter card.') sysFeatureCtrlID = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureCtrlID.setStatus('current') if mibBuilder.loadTexts: sysFeatureCtrlID.setDescription('This parameter is used to represent the control ID for the system feature. ') sysFeatureNumRadios = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureNumRadios.setStatus('current') if mibBuilder.loadTexts: sysFeatureNumRadios.setDescription('This parameter shows the number of radios supported. This is based on the license file. ') sysFeatureFreqBand = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureFreqBand.setStatus('current') if mibBuilder.loadTexts: sysFeatureFreqBand.setDescription('This parameter shows the supported frequency bands. This is based on the license file.') sysFeatureOutBandwidth = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureOutBandwidth.setStatus('current') if mibBuilder.loadTexts: sysFeatureOutBandwidth.setDescription('This parameter represents the outward bandwidth in multiples of 1Mbps. This is based on the license file') sysFeatureInBandwidth = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureInBandwidth.setStatus('current') if mibBuilder.loadTexts: sysFeatureInBandwidth.setDescription('This parameter represents the inward bandwidth in multiples of 1Mbps. This is based on the license file.') sysFeatureOpMode = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureOpMode.setStatus('current') if mibBuilder.loadTexts: sysFeatureOpMode.setDescription('This parameter represents the current operational mode of the device. This is based on the license file.') sysLicFeatureTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 7), ) if mibBuilder.loadTexts: sysLicFeatureTable.setStatus('current') if mibBuilder.loadTexts: sysLicFeatureTable.setDescription('This table contains a list of features that the current image supports and indicates if this feature is licensed or not. Each row represents a supported feature. Supported indicates if the current image supports the image while licensed indicates that a license is available to use this feature. Based on the license information in this table, some MIB groups/subgroups/tables are enabled or disabled.') sysLicFeatureTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 7, 1), ).setIndexNames((0, "PROXIM-MIB", "sysLicFeatureTableIndex")) if mibBuilder.loadTexts: sysLicFeatureTableEntry.setStatus('current') if mibBuilder.loadTexts: sysLicFeatureTableEntry.setDescription('This table parameter represents the entry for the sysLicFeatureTable. This table can hold a maximum of 50 entries.') sysLicFeatureTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 7, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysLicFeatureTableIndex.setStatus('current') if mibBuilder.loadTexts: sysLicFeatureTableIndex.setDescription('This parameter represents the index for the sysLicFeatureTable.') sysLicFeatureType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 7, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysLicFeatureType.setStatus('current') if mibBuilder.loadTexts: sysLicFeatureType.setDescription('This parameter represents the feature type and shows the code of the feature.') sysLicFeatureValue = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 7, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysLicFeatureValue.setStatus('current') if mibBuilder.loadTexts: sysLicFeatureValue.setDescription('This parameter represents feature value i.e., enabled or disabled.') sysFeatureCumulativeBandwidth = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureCumulativeBandwidth.setStatus('current') if mibBuilder.loadTexts: sysFeatureCumulativeBandwidth.setDescription('This parameter represents the cumulative bandwidth of the device. This is based on the license file.') sysFeatureNumEtherIf = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureNumEtherIf.setStatus('current') if mibBuilder.loadTexts: sysFeatureNumEtherIf.setDescription('This parameter represents the number of ethernet interfaces supported. This is based on the license file.') sysFeatureBitmap = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureBitmap.setStatus('current') if mibBuilder.loadTexts: sysFeatureBitmap.setDescription('This parameter represents the bit map for the features enabled/disabled. The value for this parameter is interpreted as a bitfield and the respective modules are shown below: BRIDGE-MODE-ONLY = 0, WORP = 1, Intra Cell Blocking = 2, Intra BSS Blocking = 3, VLAN = 4, STATIC-ROUTING = 5, NAT = 6, FILTERING = 7. This is based on the license file.') sysFeatureNumOfSatellitesAllowed = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 11), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureNumOfSatellitesAllowed.setStatus('current') if mibBuilder.loadTexts: sysFeatureNumOfSatellitesAllowed.setDescription('This parameter represents the max number of satellites supported. This is based on the license file.') sysFeatureProductFamily = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("tsunamiMP", 1), ("orinocoAP", 2), ("tsunamiQuickBridge", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureProductFamily.setStatus('current') if mibBuilder.loadTexts: sysFeatureProductFamily.setDescription('This parameter represents the product family. This is based on the license file.') sysFeatureProductClass = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("indoor", 0), ("outdoor", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysFeatureProductClass.setStatus('current') if mibBuilder.loadTexts: sysFeatureProductClass.setDescription('This parameter represents the product class. This is based on the license file.') sysLicRadioInfoTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 14), ) if mibBuilder.loadTexts: sysLicRadioInfoTable.setStatus('current') if mibBuilder.loadTexts: sysLicRadioInfoTable.setDescription('This table holds the license file parameters for the radio(s).') sysLicRadioInfoTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 14, 1), ).setIndexNames((0, "PROXIM-MIB", "sysLicRadioInfoTableIndex")) if mibBuilder.loadTexts: sysLicRadioInfoTableEntry.setStatus('current') if mibBuilder.loadTexts: sysLicRadioInfoTableEntry.setDescription('This table parameter represents the entry for the sysLicRadioInfoTable.') sysLicRadioInfoTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 14, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysLicRadioInfoTableIndex.setStatus('current') if mibBuilder.loadTexts: sysLicRadioInfoTableIndex.setDescription('This parameter represents the index for the sysLicRadioInfoTable.') sysLicRadioCompID = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 14, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysLicRadioCompID.setStatus('current') if mibBuilder.loadTexts: sysLicRadioCompID.setDescription('This parameter represents the component ID for the radio(s).') sysLicRadiovariantID = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 14, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysLicRadiovariantID.setStatus('current') if mibBuilder.loadTexts: sysLicRadiovariantID.setDescription('This parameter represents the variant ID for the radio(s).') sysLicRadioAntennaType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 14, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("connectorized", 1), ("integrated", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysLicRadioAntennaType.setStatus('current') if mibBuilder.loadTexts: sysLicRadioAntennaType.setDescription('This parameter represents the Antenna type supported for the radio(s).') sysLicRadioAntennaMimoType = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 3, 14, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("invalid", 0), ("oneCrossOneAntenna", 1), ("twoCrossTwoAntenna", 2), ("threeCrossThreeAntenna", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysLicRadioAntennaMimoType.setStatus('current') if mibBuilder.loadTexts: sysLicRadioAntennaMimoType.setDescription('This parameter represents the Antenna MIMO type for the radio(s).') sysMgmtCfgChangeCnt = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 4, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysMgmtCfgChangeCnt.setStatus('current') if mibBuilder.loadTexts: sysMgmtCfgChangeCnt.setDescription('This parameter represents the number of successful commits that has taken place since the system was rebooted last.') sysMgmtCfgCommit = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 4, 2), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysMgmtCfgCommit.setStatus('current') if mibBuilder.loadTexts: sysMgmtCfgCommit.setDescription(" This parameter is used to apply the changed configurations to the device. Always this should be SET with value '1'. The values available on GET or the read values are defined as follows: 200 : Commit Successful 201 : Commit Successful and reboot the device. Please check the object sysMgmtCfgErrorMsg for Commit status and other information on errors. P.S: Usual commit operation needs atleast 3 seconds and changes in wireless parameters needs upto 60 seconds time interval before sending the response.") sysMgmtCfgRestore = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysMgmtCfgRestore.setStatus('current') if mibBuilder.loadTexts: sysMgmtCfgRestore.setDescription('This parameter is used to restore the device to last working configuration') sysMgmtCfgErrorMsg = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 4, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sysMgmtCfgErrorMsg.setStatus('current') if mibBuilder.loadTexts: sysMgmtCfgErrorMsg.setDescription(' This parameter displays the latest error message occured in configuration.') sysMgmtReboot = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 4, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysMgmtReboot.setStatus('current') if mibBuilder.loadTexts: sysMgmtReboot.setDescription('This parameter is used to reboot device. Select 1 to reboot.') sysMgmtFactoryReset = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 4, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysMgmtFactoryReset.setStatus('current') if mibBuilder.loadTexts: sysMgmtFactoryReset.setDescription('This parameter is used to reset the device to factory settings.') sysMgmtLoadTextConfig = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 4, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysMgmtLoadTextConfig.setStatus('current') if mibBuilder.loadTexts: sysMgmtLoadTextConfig.setDescription('This parameter is used to load the configurations from the Text Based Configuration File.') sysContactEmail = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(6, 32)).clone('user@domain.com')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysContactEmail.setStatus('current') if mibBuilder.loadTexts: sysContactEmail.setDescription('This parameter is used to identify the email address of the contact person for a device. The length of the email address should be between 6 to 32') sysContactPhoneNumber = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 5, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(6, 32)).clone('1234567890')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysContactPhoneNumber.setStatus('current') if mibBuilder.loadTexts: sysContactPhoneNumber.setDescription(' This parameter is used to identify the phone number of the contact person for a device.') sysLocationName = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 5, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysLocationName.setStatus('current') if mibBuilder.loadTexts: sysLocationName.setDescription('This parameter is used to store the location of the system.') sysGPSLongitude = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 5, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysGPSLongitude.setStatus('current') if mibBuilder.loadTexts: sysGPSLongitude.setDescription(' This parameter is used to represent Longitude.') sysGPSLatitude = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 5, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysGPSLatitude.setStatus('current') if mibBuilder.loadTexts: sysGPSLatitude.setDescription(' This parameter is used to represent Latitude.') sysGPSAltitude = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 5, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysGPSAltitude.setStatus('current') if mibBuilder.loadTexts: sysGPSAltitude.setDescription('This parameter is used to display the elevation of an access point from a known level. ') productDescr = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 5, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: productDescr.setStatus('current') if mibBuilder.loadTexts: productDescr.setDescription("A textual description of the entity. This value should includes the full name and version identification of the system's hardware type, software operating-system, and networking software.") systemName = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 1, 5, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: systemName.setStatus('current') if mibBuilder.loadTexts: systemName.setDescription("An administratively-assigned name for this managed node. By convention, this is the node's fully-qualified domain name.") mgmtSnmpReadPassword = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 1), Password()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpReadPassword.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpReadPassword.setDescription('This parameter is used for the SNMP password and represents the read-only community name used in the SNMP protocol.It is used for reading objects from the SNMP agent. The password should be treated as write-only and would be returned as asterisks. User is not allowed to set since it is same as mgmtSnmpReadWritePassword') mgmtSnmpReadWritePassword = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 2), Password()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpReadWritePassword.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpReadWritePassword.setDescription('This parameter is used to represent the read-write community name used in the SNMP protocol. This parameter is used for reading and writing objects to the SNMP agent. This parameter should be treated as write-only and returned as asterisks. ') mgmtSnmpAccessTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 3), ) if mibBuilder.loadTexts: mgmtSnmpAccessTable.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpAccessTable.setDescription('This table holds the objects of the mgmtSnmpAccessTable.') mgmtSnmpAccessTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 3, 1), ).setIndexNames((0, "PROXIM-MIB", "mgmtSnmpAccessTableIndex")) if mibBuilder.loadTexts: mgmtSnmpAccessTableEntry.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpAccessTableEntry.setDescription('This parameter represents the entry for the mgmtSnmpAccessTable.') mgmtSnmpAccessTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 20))) if mibBuilder.loadTexts: mgmtSnmpAccessTableIndex.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpAccessTableIndex.setDescription('This parameter represents the index for the mgmtSnmpAccessTable and this is not-accessible.') mgmtSnmpTrapHostTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 4), ) if mibBuilder.loadTexts: mgmtSnmpTrapHostTable.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpTrapHostTable.setDescription('This table contains the destination IP address and community password for the trap delivery.') mgmtSnmpTrapHostTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 4, 1), ).setIndexNames((0, "PROXIM-MIB", "mgmtSnmpTrapHostTableIndex")) if mibBuilder.loadTexts: mgmtSnmpTrapHostTableEntry.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpTrapHostTableEntry.setDescription('This parameter represents the entry for the mgmtSnmpTrapHostTable.') mgmtSnmpTrapHostTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 4, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: mgmtSnmpTrapHostTableIndex.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpTrapHostTableIndex.setDescription('This parameter represents the index for SNMP Trap Host table. This table supports upto 5 rows.') mgmtSnmpTrapHostTableIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 4, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpTrapHostTableIPAddress.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpTrapHostTableIPAddress.setDescription('This parameter is used to represent the IP address of the management station that will receive SNMP traps from the device.') mgmtSnmpTrapHostTablePassword = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 4, 1, 3), Password()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpTrapHostTablePassword.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpTrapHostTablePassword.setDescription("This parameter is used to represent the password that is sent with the SNMP trap messages to allow the host to accept or reject the traps. The trap host will accept SNMP traps if the sent password matches the host's password. This parameter returns asterisks on get. This is not allowed to set because it is same as mgmtSnmpReadWritePassword.") mgmtSnmpTrapHostTableComment = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpTrapHostTableComment.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpTrapHostTableComment.setDescription('This parameter represents the comment for the row in the SNMP Trap Host Table.') mgmtSnmpTrapHostTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 4, 1, 5), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpTrapHostTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpTrapHostTableEntryStatus.setDescription('This parameter is used to configure the row status for the SNMP Trap Host table. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') mgmtSnmpVersion = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("snmpv1-v2c", 1), ("snmpv3", 2))).clone('snmpv1-v2c')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpVersion.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpVersion.setDescription('This parameter is used to configure the SNMP Version. The version v2c provides the security by means of community passwords and the version v3 provides highest security with authentication and encryption.') mgmtSnmpV3SecurityLevel = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("noAuthNoPriv", 2), ("authNoPriv", 3), ("authPriv", 4))).clone('authPriv')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpV3SecurityLevel.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpV3SecurityLevel.setDescription('This parameter allows to select the security level for SNMPV3. The level noAuthNoPriv is not supported.') mgmtSnmpV3AuthProtocol = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("md5", 2), ("sha", 3))).clone('md5')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpV3AuthProtocol.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpV3AuthProtocol.setDescription('This parameter allows to configure the authentication protocol in SNMPV3. Select 2 for MD5 and 3 for SHA. ') mgmtSnmpV3AuthPassword = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 8), V3Password()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpV3AuthPassword.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpV3AuthPassword.setDescription('This parameter allows to configure the authentication password for the authentication protocol.') mgmtSnmpV3PrivProtocol = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("des", 2), ("aes-128", 3))).clone('des')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpV3PrivProtocol.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpV3PrivProtocol.setDescription('This parameter allows to configure the privacy (encryption) protocol in SNMPV3. Select 2 for DES and 3 for AES-128. ') mgmtSnmpV3PrivPassword = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 2, 10), V3Password()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtSnmpV3PrivPassword.setStatus('current') if mibBuilder.loadTexts: mgmtSnmpV3PrivPassword.setDescription('This parameter allows to configure the privacy (encryption) password for the privacy protocol.') httpPassword = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 3, 1), Password().clone('public')).setMaxAccess("readwrite") if mibBuilder.loadTexts: httpPassword.setStatus('current') if mibBuilder.loadTexts: httpPassword.setDescription('This parameter represents the system access password for the HTTP interface to manage the device via a web browser.This parameter would return the value in asterisks.') httpPort = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 3, 2), Unsigned32().clone(80)).setMaxAccess("readwrite") if mibBuilder.loadTexts: httpPort.setStatus('current') if mibBuilder.loadTexts: httpPort.setDescription('This parameter is used to configure the port on which HTTP is accessed.') telnetPassword = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 4, 1), Password()).setMaxAccess("readwrite") if mibBuilder.loadTexts: telnetPassword.setStatus('current') if mibBuilder.loadTexts: telnetPassword.setDescription('This parameter represents the system access password for the Telnet interface. This parameter would return the value in asterisks.') telnetPort = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 4, 2), Unsigned32().clone(23)).setMaxAccess("readwrite") if mibBuilder.loadTexts: telnetPort.setStatus('current') if mibBuilder.loadTexts: telnetPort.setDescription('This parameter is used to configure the port on which the Telnet is accessed.') telnetSessions = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 4, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: telnetSessions.setStatus('current') if mibBuilder.loadTexts: telnetSessions.setDescription('This parameter is used to configure the number of telnet sessions. A total of 10 sessions (Telnet + SSH) are available') tftpSrvIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 5, 1), IpAddress().clone(hexValue="0a00000a")).setMaxAccess("readwrite") if mibBuilder.loadTexts: tftpSrvIpAddress.setStatus('current') if mibBuilder.loadTexts: tftpSrvIpAddress.setDescription('This parameter represents the IP address of the TFTP server.') tftpFileName = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 5, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tftpFileName.setStatus('current') if mibBuilder.loadTexts: tftpFileName.setDescription('This parameter represents the filename that is to upload or download from the TFTP server.') tftpFileType = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 5, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("config", 1), ("image", 2), ("eventlog", 3), ("templog", 4), ("textConfigFile", 5), ("debuglog", 6))).clone('image')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tftpFileType.setStatus('current') if mibBuilder.loadTexts: tftpFileType.setDescription(' This parameter informs the device about the type of file that is being uploaded or downloaded. Select (1) if it is config file (2) if it is an image file and (3) if it is an eventlog file. (4) if it is a templog file. (5) if it is a Text Based Config File. (6) if it is a eventlog File.') tftpOpType = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 5, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("upload", 1), ("download", 2), ("downloadandReboot", 3), ("none", 4))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tftpOpType.setStatus('current') if mibBuilder.loadTexts: tftpOpType.setDescription('This parameter represents the type of TFTP operation that is to be executed. The upload functionality will transfer the specified file from the device to the TFTP server. The download functionality will transfer the specified file from the TFTP server to the device. The download and reboot functionality will download the file from the TFTP server and then reboots the device. Select (1) to upload the image, (2) to download the image and (3) to Download & Reboot the device. (4) none ') tftpOpStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 5, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("idle", 1), ("downloadInProgress", 2), ("downloadSuccess", 3), ("downloadFailure", 4), ("signatureCheckInProgress", 5), ("signatureCheckFailed", 6), ("writeOnFlashInProgress", 7), ("writeOnFlashFailed", 8), ("uploadInProgress", 9), ("uploadSuccess", 10), ("uploadFailure", 11)))).setMaxAccess("readonly") if mibBuilder.loadTexts: tftpOpStatus.setStatus('current') if mibBuilder.loadTexts: tftpOpStatus.setDescription(' This parameter represents the TFTP operation status. 1 - Idle, 2 - Download in progress 3 - Download Success 4 - Download Failure 5 - Signature check in progress 6 - Signature check failed 7 - Write on flash is in progress 8 - Write on flash is failed 9 - Upload in progress 10 - Upload success 11 - Upload failed') genericTrap = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 6, 1), DisplayString()) if mibBuilder.loadTexts: genericTrap.setStatus('current') if mibBuilder.loadTexts: genericTrap.setDescription('This parameter is used to provide additional information on traps.') globalTrapStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 6, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))) if mibBuilder.loadTexts: globalTrapStatus.setStatus('current') if mibBuilder.loadTexts: globalTrapStatus.setDescription('This parameter is used to enable or disable the configuration related traps and this is not allowed to set.') allIntAccessControl = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: allIntAccessControl.setStatus('current') if mibBuilder.loadTexts: allIntAccessControl.setDescription('This parameter allows to control all management interface accesses. Select 1 - enable and 2 - disable Alert: Disabling this parameter disables all interfaces. Only serial console can be accessed for device management.') httpAccessControl = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: httpAccessControl.setStatus('current') if mibBuilder.loadTexts: httpAccessControl.setDescription('This parameter allows to enable or disable the HTTP access. Select 1 - enable and 2 - disable') httpsAccessControl = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: httpsAccessControl.setStatus('current') if mibBuilder.loadTexts: httpsAccessControl.setDescription('This parameter allows to enable or disable the HTTPS access. Select 1 - enable and 2 - disable') snmpAccessControl = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpAccessControl.setStatus('current') if mibBuilder.loadTexts: snmpAccessControl.setDescription('This parameter allows to enable or disable the SNMP access. Select 1 - enable and 2 - disable') telnetAccessControl = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: telnetAccessControl.setStatus('current') if mibBuilder.loadTexts: telnetAccessControl.setDescription('This parameter allows to enable or disable the TELNET access. Select 1 - enable and 2 - disable') sshAccessControl = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sshAccessControl.setStatus('current') if mibBuilder.loadTexts: sshAccessControl.setDescription('This parameter allows to enable or disable the SSH access. Select 1 - enable and 2 - disable') mgmtAccessTableStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtAccessTableStatus.setStatus('current') if mibBuilder.loadTexts: mgmtAccessTableStatus.setDescription('This parameter allows to enable or disable the Management Access Table. Enabling this parameter allows the traffic from only the IP address specified in the Management Access Table. Select 1 - enable and 2 - disable') mgmtAccessTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 8), ) if mibBuilder.loadTexts: mgmtAccessTable.setStatus('current') if mibBuilder.loadTexts: mgmtAccessTable.setDescription('This table provides the facility to allow the traffic from a particular machine identified by the IP address.') mgmtAccessTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 8, 1), ).setIndexNames((0, "PROXIM-MIB", "mgmtAccessTableIndex")) if mibBuilder.loadTexts: mgmtAccessTableEntry.setStatus('current') if mibBuilder.loadTexts: mgmtAccessTableEntry.setDescription('This parameter represents the entry for the Management Access Table. It can hold a maximum of 5 entries.') mgmtAccessTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 8, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mgmtAccessTableIndex.setStatus('current') if mibBuilder.loadTexts: mgmtAccessTableIndex.setDescription('This parameter represents the index of the Management Access Table.') mgmtAccessTableIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 8, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtAccessTableIpAddress.setStatus('current') if mibBuilder.loadTexts: mgmtAccessTableIpAddress.setDescription('This parameter holds the IP address of the machine to which traffic need to be allowed.') mgmtAccessTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 7, 8, 1, 3), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mgmtAccessTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: mgmtAccessTableEntryStatus.setDescription('This parameter represents the entry status for the Management Access Table. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') sshPort = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 8, 1), Unsigned32().clone(22)).setMaxAccess("readwrite") if mibBuilder.loadTexts: sshPort.setStatus('current') if mibBuilder.loadTexts: sshPort.setDescription('This parameter is used to configure the port on which SSH is accessed.') sshSessions = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 2, 8, 2), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sshSessions.setStatus('current') if mibBuilder.loadTexts: sshSessions.setDescription('This parameter is used to set the number of concurrent SSH sessions.') syslogStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: syslogStatus.setStatus('current') if mibBuilder.loadTexts: syslogStatus.setDescription(' This parameter is used to configure the status for the sysLog. Select 1 to enable the Syslog status and 2 to disable the syslog status.') syslogPriority = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("emergency", 1), ("alert", 2), ("critical", 3), ("error", 4), ("warning", 5), ("notice", 6), ("info", 7), ("debug", 8))).clone('warning')).setMaxAccess("readwrite") if mibBuilder.loadTexts: syslogPriority.setStatus('current') if mibBuilder.loadTexts: syslogPriority.setDescription(' This parameter is used to configure the priority for the syslog. Select 1 for emergency, 2 for alert, 3 for critical, 4 for error, 5 for warning, 6 for notice, 7 for info and 8 for debug.') syslogReset = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: syslogReset.setStatus('current') if mibBuilder.loadTexts: syslogReset.setDescription('This parameter is used to reset or clear the syslog. Select 1 - to reset or clear 2 - none.') syslogHostTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 1, 4), ) if mibBuilder.loadTexts: syslogHostTable.setStatus('current') if mibBuilder.loadTexts: syslogHostTable.setDescription('This table contains the syslog configurations.') syslogHostTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 1, 4, 1), ).setIndexNames((0, "PROXIM-MIB", "syslogHostTableIndex")) if mibBuilder.loadTexts: syslogHostTableEntry.setStatus('current') if mibBuilder.loadTexts: syslogHostTableEntry.setDescription('This parameter represents the entry for the syslogHostTable.') syslogHostTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 1, 4, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: syslogHostTableIndex.setStatus('current') if mibBuilder.loadTexts: syslogHostTableIndex.setDescription('This parameter is used to index the syslogHostTable.') syslogHostIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 1, 4, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: syslogHostIpAddress.setStatus('current') if mibBuilder.loadTexts: syslogHostIpAddress.setDescription('This parameter is used to represent the IP address for which syslog messages to be sent.') syslogHostPort = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 1, 4, 1, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: syslogHostPort.setStatus('current') if mibBuilder.loadTexts: syslogHostPort.setDescription('This parameter is used to represents the host port number for which the syslog messages are sent.') syslogHostComment = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 1, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: syslogHostComment.setStatus('current') if mibBuilder.loadTexts: syslogHostComment.setDescription('This parameter displays the comment for the host port of the syslog table.') syslogHostTableEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 1, 4, 1, 5), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: syslogHostTableEntryStatus.setStatus('current') if mibBuilder.loadTexts: syslogHostTableEntryStatus.setDescription('This parameter is used to configue the status of the Syslog host entry table. A maximum of 5 entries can be added to this table. It can be configured as active(enable) -1, notInService(disable) - 2, createAndGo(create row) -4, destroy(delete) - 6') eventLogPriority = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("emergency", 1), ("alert", 2), ("critical", 3), ("error", 4), ("warning", 5), ("notice", 6), ("info", 7), ("debug", 8))).clone('warning')).setMaxAccess("readwrite") if mibBuilder.loadTexts: eventLogPriority.setStatus('current') if mibBuilder.loadTexts: eventLogPriority.setDescription('This parameter is used to configure the priority for the event log table. Select 1 for Emergency, 2 for alert, 3 for critical, 4 for error, 5 for warning, 6 for notice, 7 for info and 8 for debug.') eventLogReset = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: eventLogReset.setStatus('current') if mibBuilder.loadTexts: eventLogReset.setDescription('This parameter is used to reset/clear the event log table. When this parameter is set, then all enteries in the event log table are deleted/cleared. Select (1) to reset the table. ') debugLogBitMask = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 11, 1), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: debugLogBitMask.setStatus('current') if mibBuilder.loadTexts: debugLogBitMask.setDescription('This parameter specifies which debug levels are enabled. It is Bit Mask field. Bits are defined as follows Bit0 - WORP general debug level. Bit1 - DDRS debug level one. Bit2 - DDRS debug level two. Bit3 - DDRS debug level three.') debugLogReset = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 11, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: debugLogReset.setStatus('current') if mibBuilder.loadTexts: debugLogReset.setDescription('This parameter is used to reset/clear the debug log messages. When this parameter is set, then all enteries in the event log table are deleted/cleared. Select (1) to reset the table. ') debugLogSize = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 11, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: debugLogSize.setStatus('current') if mibBuilder.loadTexts: debugLogSize.setDescription('This parameter represents number line present in the debuglog file.') sntpStatus = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sntpStatus.setStatus('current') if mibBuilder.loadTexts: sntpStatus.setDescription('This parameter is used to enable or disable the SNTP functionality. Select 1 to enable SNTP and 2 to Disable the SNTP functionality. ') sntpPrimaryServerName = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 3, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32)).clone('time.nist.gov')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sntpPrimaryServerName.setStatus('current') if mibBuilder.loadTexts: sntpPrimaryServerName.setDescription('This parameter is used for the primary SNTP server name. ') sntpSecondaryServerName = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 3, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sntpSecondaryServerName.setStatus('current') if mibBuilder.loadTexts: sntpSecondaryServerName.setDescription('This parameter is used for the secondary SNTP server name.') sntpTimeZone = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41))).clone(namedValues=NamedValues(("dateline", 1), ("samoa", 2), ("hawaii", 3), ("alaska", 4), ("pacific-us", 5), ("mountain-us", 6), ("arizona", 7), ("central-us", 8), ("mexico-city", 9), ("eastern-us", 10), ("indiana", 11), ("atlantic-canada", 12), ("santiago", 13), ("ewfoundland", 14), ("brasilia", 15), ("buenos-aires", 16), ("mid-atlantic", 17), ("azores", 18), ("london", 19), ("western-europe", 20), ("eastern-europe", 21), ("cairo", 22), ("russia-iraq", 23), ("iran", 24), ("arabian", 25), ("afghanistan", 26), ("pakistan", 27), ("india", 28), ("bangladesh", 29), ("burma", 30), ("bangkok", 31), ("australia-wt", 32), ("hong-kong", 33), ("beijing", 34), ("japan-korea", 35), ("australia-ct", 36), ("australia-et", 37), ("central-pacific", 38), ("new-zealand", 39), ("tonga", 40), ("western-samoa", 41)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: sntpTimeZone.setStatus('current') if mibBuilder.loadTexts: sntpTimeZone.setDescription('This parameter is used to specify the appropriate time zone. dateline(1), samoa(2), hawaii(3), alaska(4), pacific-us(5), mountain-us(6), arizona(7), central-us(8), mexico-city(9), eastern-us(10), indiana(11), atlantic-canada(12), santiago(13), ewfoundland(14), brasilia(15), buenos-aires(16), mid-atlantic(17), azores(18), london(19), western-europe(20), eastern-europe(21), cairo(22), russia-iraq(23), iran(24), arabian(25), afghanistan(26), pakistan(27), india(28), bangladesh(29), burma(30), bangkok(31), australia-wt(32), hong-kong(33), beijing(34), japan-korea(35), australia-ct(36), australia-et(37), central-pacific(38), new-zealand(39), tonga(40), western-samoa(41) ') sntpDayLightSavingTime = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 3, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("plus-two", 1), ("plus-one", 2), ("unchanged", 3), ("minus-one", 4), ("minus-two", 5))).clone('unchanged')).setMaxAccess("readwrite") if mibBuilder.loadTexts: sntpDayLightSavingTime.setStatus('current') if mibBuilder.loadTexts: sntpDayLightSavingTime.setDescription('This parameter is used to indicate the number of hours to adjust for Daylight Saving Time. plus-two(1), plus-one(2), unchanged(3), minus-one(4), minus-two(5)') sntpShowCurrentTime = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 3, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sntpShowCurrentTime.setStatus('current') if mibBuilder.loadTexts: sntpShowCurrentTime.setDescription('This parameter displays the current time got from the SNTP server') wirelessIfStaStatsTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1), ) if mibBuilder.loadTexts: wirelessIfStaStatsTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTable.setDescription('This table contains wireless stations statistics.') wirelessIfStaStatsTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfStaStatsTableIndex"), (0, "PROXIM-MIB", "wirelessIfStaStatsTableSecIndex")) if mibBuilder.loadTexts: wirelessIfStaStatsTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTableEntry.setDescription('This parameter represents the entry for wirelessIfStaStatsTable. This is indexed by interface and VAP numbers.') wirelessIfStaStatsTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTableIndex.setDescription('This parameter represents the index for the wirelessIfStaStatsTable.') wirelessIfStaStatsTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTableSecIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTableSecIndex.setDescription('This parameter is user defined represents the index of the stations statistics wireless interface table. This table is limited to 255 entries.') wirelessIfStaStatsIfNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsIfNumber.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsIfNumber.setDescription('This parameter represents the number of the station statistics for wireless interface table. You can configure up to 2 entries.') wirelessIfStaStatsVAPNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsVAPNumber.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsVAPNumber.setDescription('The parameter represents the VAP that can be configured for wireless interface. You can configure up to 4.') wirelessIfStaStatsMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 5), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsMACAddress.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsMACAddress.setDescription('This parameter represents the MAC address of the station for wireless interface for which the statistics are gathered.') wirelessIfStaStatsRxMgmtFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxMgmtFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxMgmtFrames.setDescription('This parameter represents the Management frames that are recevied..') wirelessIfStaStatsRxControlFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxControlFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxControlFrames.setDescription('This parameter represnets the control frames that are recevied.') wirelessIfStaStatsRxUnicastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxUnicastFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxUnicastFrames.setDescription('This parameter represents the unicast frames that are recevied.') wirelessIfStaStatsRxMulticastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxMulticastFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxMulticastFrames.setDescription('This parameter represents the multicast frames that are recevied.') wirelessIfStaStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxBytes.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxBytes.setDescription('This parameter represents the number of bytes received.') wirelessIfStaStatsRxBeacons = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxBeacons.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxBeacons.setDescription('This parameter represents the number of beacons received.') wirelessIfStaStatsRxProbeResp = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxProbeResp.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxProbeResp.setDescription('This parameter represents the number of probe requests recevied.') wirelessIfStaStatsRxDupFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxDupFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxDupFrames.setDescription('This parameter represents the duplicate frames recevied.') wirelessIfStaStatsRxNoPrivacy = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxNoPrivacy.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxNoPrivacy.setDescription('This parameter represents the no privacy information recevied.') wirelessIfStaStatsRxWepFail = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxWepFail.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxWepFail.setDescription('This parameter represents the failed WEP information recevied.') wirelessIfStaStatsRxDeMicFail = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxDeMicFail.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxDeMicFail.setDescription('This parameter represents the failed deMIC information recevied.') wirelessIfStaStatsRxDecapFailed = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxDecapFailed.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxDecapFailed.setDescription('This parameter represents the failed decapulation information recevied.') wirelessIfStaStatsRxDefragFailed = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxDefragFailed.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxDefragFailed.setDescription('This parameter represents the failed defragmentation information recevied.') wirelessIfStaStatsRxDisassociationFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxDisassociationFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxDisassociationFrames.setDescription('This parameter represents the disassociated frames that are recevied.') wirelessIfStaStatsRxDeauthenticationFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxDeauthenticationFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxDeauthenticationFrames.setDescription('This parameter represents the deauthenticated frames that are recevied.') wirelessIfStaStatsRxDecryptFailedOnCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxDecryptFailedOnCRC.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxDecryptFailedOnCRC.setDescription('This parameter represents the decrypt information failed on CRC recevied.') wirelessIfStaStatsRxUnauthPort = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxUnauthPort.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxUnauthPort.setDescription('This parameter represents the unauthorized port information recevied.') wirelessIfStaStatsRxUnencrypted = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRxUnencrypted.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRxUnencrypted.setDescription('This parameter represents the unencrypted information recevied.') wirelessIfStaStatsTxDataFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxDataFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxDataFrames.setDescription('This parameter represents the data frames that are transmitted.') wirelessIfStaStatsTxMgmtFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxMgmtFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxMgmtFrames.setDescription('This parameter represents the management frames that are transmitted.') wirelessIfStaStatsTxUnicastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxUnicastFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxUnicastFrames.setDescription('This parameter represents the number of unicast frames from the station that are further transmitted either by the bridge/router or by the internal host. ') wirelessIfStaStatsTxMulticastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxMulticastFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxMulticastFrames.setDescription('This parameter represents the number of multicast frames from the station that are further transmitted either by the bridge/router or by the internal host. ') wirelessIfStaStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxBytes.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxBytes.setDescription('This parameter represents the number of bytes from the station that are further transmitted either by the bridge/router or by the internal host.') wirelessIfStaStatsTxProbeReq = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxProbeReq.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxProbeReq.setDescription('This parameter represents the number of transmitted probe request from the station either by the bridge/router or by internal host.') wirelessIfStaStatsTxEospLost = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxEospLost.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxEospLost.setDescription('This parameter represents the end of service period.') wirelessIfStaStatsTxPSDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxPSDiscard.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxPSDiscard.setDescription('This parameter displays the power save mode. ') wirelessIfStaStatsTxAssociationFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxAssociationFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxAssociationFrames.setDescription('This parameter represents the number of associated frames transmitted.') wirelessIfStaStatsTxAssociationFailedFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxAssociationFailedFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxAssociationFailedFrames.setDescription('This parameter represents the number of the failed associated frames transmitted. ') wirelessIfStaStatsTxAuthenticationFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxAuthenticationFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxAuthenticationFrames.setDescription('This parameter represents the number of the authentication frames transmitted.') wirelessIfStaStatsTxAuthenticationFailed = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxAuthenticationFailed.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxAuthenticationFailed.setDescription('This parameter represents the failed authentication frames.') wirelessIfStaStatsTxDeAuthFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxDeAuthFrames.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxDeAuthFrames.setDescription('This parameter represents the deauthorized frames transmitted.') wirelessIfStaStatsTxDeAuthCode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxDeAuthCode.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxDeAuthCode.setDescription('This parameter represents the deauthorized code transmitted.') wirelessIfStaStatsTxDisassociation = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxDisassociation.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxDisassociation.setDescription('This parameter represents the disassociation information transmitted.') wirelessIfStaStatsTxDisassociationCode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 39), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxDisassociationCode.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxDisassociationCode.setDescription('This parameter representd the disassociation code transmitted.') wirelessIfStaStatsFrequency = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 40), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsFrequency.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsFrequency.setDescription('This parameter represents the frequency on which the station is operating.') wirelessIfStaStatsState = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 41), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsState.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsState.setDescription('This parameter represents the present state of the station.') wirelessIfStaStatsRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 42), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsRSSI.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsRSSI.setDescription('This parameter represents the RSSI (received signal strength) of the station.') wirelessIfStaStatsTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 43), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxRate.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxRate.setDescription('This parameter represents the transmission rate of the station.') wirelessIfStaStatsAuthenAlgorithm = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 44), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsAuthenAlgorithm.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsAuthenAlgorithm.setDescription('This parameter represents the authentication alogorithm used for the station.') wirelessIfStaStatsAssociationID = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 45), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsAssociationID.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsAssociationID.setDescription('This parameter represents the association ID of the station.') wirelessIfStaStatsVlanTag = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 46), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsVlanTag.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsVlanTag.setDescription('This parameter represents the VLAN tag of the station.') wirelessIfStaStatsAssocationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 47), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsAssocationTime.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsAssocationTime.setDescription('This parameter represents the association time of the station.') wirelessIfStaStatsTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 48), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsTxPower.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsTxPower.setDescription('This parameter represents the transmission power of the station.') wirelessIfStaStatsInactivityTimer = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 49), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsInactivityTimer.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsInactivityTimer.setDescription('This parameter represents the inactivity time of the station.') wirelessIfStaStatsStationOperatingMode = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 50), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsStationOperatingMode.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsStationOperatingMode.setDescription('This parameter represents the wireless operating mode of station.') wirelessIfStaStatsHTCapability = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 1, 1, 51), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStaStatsHTCapability.setStatus('current') if mibBuilder.loadTexts: wirelessIfStaStatsHTCapability.setDescription('This parameter represents the HT (high throughput) capability in 11n mode.') wirelessIfWORPStaStatsTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2), ) if mibBuilder.loadTexts: wirelessIfWORPStaStatsTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsTable.setDescription('This table contains WORP stations statistics.') wirelessIfWORPStaStatsTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfWORPStaStatsTableIndex")) if mibBuilder.loadTexts: wirelessIfWORPStaStatsTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsTableEntry.setDescription('This parameter represents an entry in the WORP Interface Satellite Statistics Table.') wirelessIfWORPStaStatsTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsTableIndex.setDescription('This parameter represents the table index for Station Stats Table.') wirelessIfWORPStaStatsMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsMacAddress.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsMacAddress.setDescription('This parameter represents the MAC address of the satellite for which the statistics are gathered.') wirelessIfWORPStaStatsSatelliteName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsSatelliteName.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsSatelliteName.setDescription('This parameter identifies the name of the base unit being tested with.') wirelessIfWORPStaStatsAverageLocalSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-102, -10))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageLocalSignal.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageLocalSignal.setDescription('The current signal level calculated over all inbound packets. This variable indicates the running average of the local signal level using the algorithm (3/4*oldvalue + 1/4*newvalue).') wirelessIfWORPStaStatsAverageLocalNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-102, -10))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageLocalNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageLocalNoise.setDescription('The current noise level calculated over all inbound packets. This variable indicates the running average of the local noise level using the algorithm (3/4*oldvalue + 1/4*newvalue).') wirelessIfWORPStaStatsAverageRemoteSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-102, -10))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageRemoteSignal.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageRemoteSignal.setDescription('The current remote signal level calculated over the inbound packets send by this station. This variable indicates the running average over all registered stations of the remote signal level using the algorithm (3/4*oldvalue + 1/4*newvalue).') wirelessIfWORPStaStatsAverageRemoteNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-102, -10))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageRemoteNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageRemoteNoise.setDescription('The current average remote noise level calculated over the inbound packets send by this station. This variable indicates the running average over all registered stations of the remote noise level using the algorithm (3/4*oldvalue + 1/4*newvalue).') wirelessIfWORPStaStatsRequestForService = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsRequestForService.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsRequestForService.setDescription('The number of requests for service sent (satellite) or received (base).') wirelessIfWORPStaStatsPollData = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsPollData.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsPollData.setDescription('The number of polls with data sent (base) or received (satellite).') wirelessIfWORPStaStatsPollNoData = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsPollNoData.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsPollNoData.setDescription('The number of polls with no data sent (base) or received (satellite).') wirelessIfWORPStaStatsReplyData = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsReplyData.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsReplyData.setDescription('The number of poll replies with data sent (satellite) or received (base). This counter does not include replies with the MoreData flag set (see ReplyMoreData).') wirelessIfWORPStaStatsReplyNoData = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsReplyNoData.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsReplyNoData.setDescription('The number of poll replies with no data sent (satellite) or received (base).') wirelessIfWORPStaStatsSendSuccess = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsSendSuccess.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsSendSuccess.setDescription('The number of data packets sent that were acknowledged and did not need a retransmit.') wirelessIfWORPStaStatsSendRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsSendRetries.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsSendRetries.setDescription('The number of data packets sent that needed retransmition but were finally received succesfully by the remote partner.') wirelessIfWORPStaStatsSendFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsSendFailures.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsSendFailures.setDescription('The number of data packets sent that were (finally) not received succesfully by the remote partner.') wirelessIfWORPStaStatsReceiveSuccess = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsReceiveSuccess.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsReceiveSuccess.setDescription('The number of data packets received that were acknowledged and did not need a retransmit of the remote partner.') wirelessIfWORPStaStatsReceiveRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsReceiveRetries.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsReceiveRetries.setDescription('The number of data packets received that needed retransmition by the remote partner but were finally received succesfully.') wirelessIfWORPStaStatsReceiveFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsReceiveFailures.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsReceiveFailures.setDescription('The number of data packets that were (finally) not received succesfully.') wirelessIfWORPStaStatsPollNoReplies = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsPollNoReplies.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsPollNoReplies.setDescription('The number of times a poll was sent but no reply was received. This parameter only applies to the base.') wirelessIfWORPStaStatsLocalTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 20), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalTxRate.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalTxRate.setDescription('This parameter represents the Transmit Data Rate of the BSU.') wirelessIfWORPStaStatsRemoteTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 21), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteTxRate.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteTxRate.setDescription('This parameter represents the Transmit Data Rate of the SU which is registered to this SU.') wirelessIfWORPStaBridgePort = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 22), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaBridgePort.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaBridgePort.setDescription('This parameter represents the port number of the bridge for which this station is connected.') wirelessIfWORPStaStatsAverageLocalSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 23), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageLocalSNR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageLocalSNR.setDescription('') wirelessIfWORPStaStatsAverageRemoteSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 24), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageRemoteSNR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsAverageRemoteSNR.setDescription('') wirelessIfWORPStaStatsLocalMimoCtrlSig1 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 25), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSig1.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSig1.setDescription('') wirelessIfWORPStaStatsLocalMimoCtrlSig2 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 26), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSig2.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSig2.setDescription('') wirelessIfWORPStaStatsLocalMimoCtrlSig3 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 27), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSig3.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSig3.setDescription('') wirelessIfWORPStaStatsLocalMimoNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 28), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoNoise.setDescription('') wirelessIfWORPStaStatsLocalMimoCtrlSNR1 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 29), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSNR1.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSNR1.setDescription('') wirelessIfWORPStaStatsLocalMimoCtrlSNR2 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 30), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSNR2.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSNR2.setDescription('') wirelessIfWORPStaStatsLocalMimoCtrlSNR3 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 31), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSNR3.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalMimoCtrlSNR3.setDescription('') wirelessIfWORPStaStatsRemoteMimoCtrlSig1 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 32), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSig1.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSig1.setDescription('') wirelessIfWORPStaStatsRemoteMimoCtrlSig2 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 33), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSig2.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSig2.setDescription('') wirelessIfWORPStaStatsRemoteMimoCtrlSig3 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 34), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSig3.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSig3.setDescription('') wirelessIfWORPStaStatsRemoteMimoNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 35), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoNoise.setDescription('') wirelessIfWORPStaStatsRemoteMimoCtrlSNR1 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 36), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSNR1.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSNR1.setDescription('') wirelessIfWORPStaStatsRemoteMimoCtrlSNR2 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 37), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSNR2.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSNR2.setDescription('') wirelessIfWORPStaStatsRemoteMimoCtrlSNR3 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 38), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSNR3.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteMimoCtrlSNR3.setDescription('') wirelessIfWORPStaStatsLocalChainBalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("balanced", 2), ("notBalanced", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalChainBalStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsLocalChainBalStatus.setDescription('When this parameter indicates the local chain balance status.') wirelessIfWORPStaStatsRemoteChainBalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 2, 1, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("balanced", 2), ("notBalanced", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteChainBalStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStaStatsRemoteChainBalStatus.setDescription('When this parameter indicates the remote chain balance status.') wirelessIfMonNumOfStaConnected = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfMonNumOfStaConnected.setStatus('current') if mibBuilder.loadTexts: wirelessIfMonNumOfStaConnected.setDescription('This parameter represents the number of stations connected.') wirelessIfWORPStatsTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1), ) if mibBuilder.loadTexts: wirelessIfWORPStatsTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsTable.setDescription('This table is used to monitor the statistics of interfaces that run WORP.') wirelessIfWORPStatsTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfWORPStatsTableIndex")) if mibBuilder.loadTexts: wirelessIfWORPStatsTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsTableEntry.setDescription('This parameter represents an entry in the WORP Interface Statistics Table.') wirelessIfWORPStatsTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsTableIndex.setDescription('This parameter represents the radio interface for which the WORP statistics are gathered and index to the wirelessIfWORPStats table.') wirelessIfWORPStatsAverageLocalSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-102, -10))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsAverageLocalSignal.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsAverageLocalSignal.setDescription('This parameter displays the current signal level calculated over all inbound packets.') wirelessIfWORPStatsAverageLocalNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-102, -10))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsAverageLocalNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsAverageLocalNoise.setDescription('This parameter displays the current noise level calculated over all inbound packets.') wirelessIfWORPStatsAverageRemoteSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-102, -10))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsAverageRemoteSignal.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsAverageRemoteSignal.setDescription('This parameter displays the current signal level calculated over the inbound packets received at the peer end.') wirelessIfWORPStatsAverageRemoteNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-102, -10))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsAverageRemoteNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsAverageRemoteNoise.setDescription('This parameter displays the current noise level calculated over the inbound packets received at the peer end.') wirelessIfWORPStatsRemotePartners = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsRemotePartners.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsRemotePartners.setDescription('This parameter displays the number of remote partners. For a satellite, this parameter will always be zero or one.') wirelessIfWORPStatsBaseStationAnnounces = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsBaseStationAnnounces.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsBaseStationAnnounces.setDescription('This parameter displays the number of Announcement messages sent (base) or received (satellite) on WORP interface') wirelessIfWORPStatsRequestForService = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsRequestForService.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsRequestForService.setDescription('This parameter displays the number of requests for service messages sent (satellite) or received (base).') wirelessIfWORPStatsRegistrationRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationRequests.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationRequests.setDescription('This parameter displays the number of registration request messages sent (satellite) or received (base) on WORP interface.') wirelessIfWORPStatsRegistrationRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationRejects.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationRejects.setDescription('This parameter displays the number of registration reject messages sent (base) or received (satellite) on WORP interface.') wirelessIfWORPStatsAuthenticationRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsAuthenticationRequests.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsAuthenticationRequests.setDescription('This parameter displays the number of authentication request messages sent (satellite) or received (base) on WORP interface.') wirelessIfWORPStatsAuthenticationConfirms = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsAuthenticationConfirms.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsAuthenticationConfirms.setDescription('This parameter displays the number of authentication confirm messages sent (base) or received (satellite) on WORP interface.') wirelessIfWORPStatsRegistrationAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationAttempts.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationAttempts.setDescription('This parameter represents the number of times a Registration Attempt has been initiated.') wirelessIfWORPStatsRegistrationIncompletes = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationIncompletes.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationIncompletes.setDescription('This parameter represents the number of registration attempts that is not completed yet. ') wirelessIfWORPStatsRegistrationTimeouts = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationTimeouts.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationTimeouts.setDescription('This parameter represents the number of times the registration procedure timed out.') wirelessIfWORPStatsRegistrationLastReason = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("none", 1), ("noMoreAllowed", 2), ("incorrectParameter", 3), ("roaming", 4), ("timeout", 5), ("lowQuality", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationLastReason.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsRegistrationLastReason.setDescription('This parameter represents the reason for why the last registration was aborted or failed.') wirelessIfWORPStatsPollData = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsPollData.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsPollData.setDescription('This parameter represents the number of polls with data messages sent (base) or received (satellite). ') wirelessIfWORPStatsPollNoData = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsPollNoData.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsPollNoData.setDescription('This parameter represents the number of polls with no data messages sent (base) or received (satellite). ') wirelessIfWORPStatsReplyData = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsReplyData.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsReplyData.setDescription('This parameter represents the number of poll replies with data messages sent (satellite) or received (base).') wirelessIfWORPStatsReplyMoreData = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsReplyMoreData.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsReplyMoreData.setDescription('This parameter represents the number of poll replies with more data messages sent (satellite) or received (base).') wirelessIfWORPStatsReplyNoData = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsReplyNoData.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsReplyNoData.setDescription('This parameter represents the number of poll replies with no data messages sent (satellite) or received (base).') wirelessIfWORPStatsPollNoReplies = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsPollNoReplies.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsPollNoReplies.setDescription('This parameter represents the number of times a poll messages were sent but no reply was received. The parameter in valid only on BSU.') wirelessIfWORPStatsSendSuccess = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsSendSuccess.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsSendSuccess.setDescription('This parameter displays the number of data messages sent and acknowledged by the peer successfully.') wirelessIfWORPStatsSendRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsSendRetries.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsSendRetries.setDescription('This parameter displays the number of data messages that are re-transmitted and acknowledged by the peer successfully.') wirelessIfWORPStatsSendFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsSendFailures.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsSendFailures.setDescription('This parameter displays the number of data messages that requires re-transmission. These frames are not acknowledged by the peer.') wirelessIfWORPStatsReceiveSuccess = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsReceiveSuccess.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsReceiveSuccess.setDescription('This parameter displays the number of data messages received and acknowledged successfully.') wirelessIfWORPStatsReceiveRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsReceiveRetries.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsReceiveRetries.setDescription('This parameter displays the number of successfully received re-transmitted data messages.') wirelessIfWORPStatsReceiveFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsReceiveFailures.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsReceiveFailures.setDescription('This parameter displays the number of data messages that were not received successfully.') wirelessIfWORPStatsProvisionedUplinkCIR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 29), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsProvisionedUplinkCIR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsProvisionedUplinkCIR.setDescription('This parameter provides information about the total assigned (provisioned) uplink Committed Information Rate(CIR) including all SUs.') wirelessIfWORPStatsProvisionedDownlinkCIR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 30), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsProvisionedDownlinkCIR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsProvisionedDownlinkCIR.setDescription('This parameter provides information about the total assigned (provisioned) downlink Commtied Information Rate(CIR) including all SUs.') wirelessIfWORPStatsProvisionedUplinkMIR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 31), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsProvisionedUplinkMIR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsProvisionedUplinkMIR.setDescription('This parameter provides information about the total assigned (provisioned) uplink Maximum Information Rate(MIR) including all SUs.') wirelessIfWORPStatsProvisionedDownlinkMIR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 32), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsProvisionedDownlinkMIR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsProvisionedDownlinkMIR.setDescription('This parameter provides information about the total assigned (provisioned) downlink Maximum Information Rate(MIR) including all SUs.') wirelessIfWORPStatsActiveUplinkCIR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 33), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsActiveUplinkCIR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsActiveUplinkCIR.setDescription('This parameter provides information about the total active uplink Committed Information Rate(CIR).') wirelessIfWORPStatsActiveDownlinkCIR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 34), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsActiveDownlinkCIR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsActiveDownlinkCIR.setDescription('This parameter provides information about the total active downlink Committed Information Rate(CIR).') wirelessIfWORPStatsActiveUplinkMIR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 35), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsActiveUplinkMIR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsActiveUplinkMIR.setDescription('This parameter provides information about the total active uplink Maximum Information Rate(MIR).') wirelessIfWORPStatsActiveDownlinkMIR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 36), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsActiveDownlinkMIR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsActiveDownlinkMIR.setDescription('This parameter provides information about the total active downlink Maximum Information Rate(MIR).') wirelessIfWORPStatsCurrentUplinkBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 37), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsCurrentUplinkBandwidth.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsCurrentUplinkBandwidth.setDescription('This parameter provides information about the current bandwidth utilization on the uplink direction.') wirelessIfWORPStatsCurrentDownlinkBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 2, 1, 1, 38), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPStatsCurrentDownlinkBandwidth.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPStatsCurrentDownlinkBandwidth.setDescription('This parameter provides information about the current bandwidth utilization on the downlink direction.') wirelessIfBlacklistInfoTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 3, 1), ) if mibBuilder.loadTexts: wirelessIfBlacklistInfoTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfBlacklistInfoTable.setDescription('This table shows the blacklisted channel information.') wirelessIfBlacklistInfoTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 3, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfBlacklistInfoTableIndex"), (0, "PROXIM-MIB", "wirelessIfBlacklistInfoTableSecIndex")) if mibBuilder.loadTexts: wirelessIfBlacklistInfoTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfBlacklistInfoTableEntry.setDescription('This parameter represents an entry in the wireless interface blacklisted info table.') wirelessIfBlacklistInfoTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 3, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfBlacklistInfoTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfBlacklistInfoTableIndex.setDescription('This parameter is used as index to the wirelessIfBlacklistInfoTable and represents the radio number.') wirelessIfBlacklistInfoTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 3, 1, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfBlacklistInfoTableSecIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfBlacklistInfoTableSecIndex.setDescription('This parameter is used as secondary index to the wirelessIfBlacklistInfoTable and represents the channel blacklisted.') wirelessIfBlacklistedChannelNum = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 3, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfBlacklistedChannelNum.setStatus('current') if mibBuilder.loadTexts: wirelessIfBlacklistedChannelNum.setDescription('This parameter shows the blacklisted channel number.') wirelessIfBlacklistReason = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 3, 1, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfBlacklistReason.setStatus('current') if mibBuilder.loadTexts: wirelessIfBlacklistReason.setDescription('This parameter shows the reason for the channel blacklisting.') wirelessIfBlacklistTimeElapsed = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 3, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfBlacklistTimeElapsed.setStatus('current') if mibBuilder.loadTexts: wirelessIfBlacklistTimeElapsed.setDescription('This parameter shows the time since the channel is blacklisted.') wirelessIfWORPLinkTestConfTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 1), ) if mibBuilder.loadTexts: wirelessIfWORPLinkTestConfTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestConfTable.setDescription('This table holds the WORP link test configuration parameters.') wirelessIfWORPLinkTestConfTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfWORPLinkTestConfTableIndex")) if mibBuilder.loadTexts: wirelessIfWORPLinkTestConfTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestConfTableEntry.setDescription('This parameter represents the WORP link test conf table entry status.') wirelessIfWORPLinkTestConfTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestConfTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestConfTableIndex.setDescription('This parameter represents the index for the WORP link test conf table.') wirelessIfWORPLinkTestExploreStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("start", 1), ("stop", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPLinkTestExploreStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestExploreStatus.setDescription('This parameter is used to start/stops WORP link test.') wirelessIfWORPLinkTestProgressStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("idle", 1), ("inProgress", 2), ("stopped", 3), ("timeOut", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestProgressStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestProgressStatus.setDescription('This parameter shows the progress of the WORP link test.') wirelessIfWORPLinkTestIdleTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 1, 1, 4), Unsigned32().clone(300)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPLinkTestIdleTimeout.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestIdleTimeout.setDescription('The value of this parameter determines the time (in seconds) that a link test will continue without any SNMP requests for a Link Test Table entry. When the time expires the Link Test Table is cleared.') wirelessIfWORPLinkTestStatsTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5), ) if mibBuilder.loadTexts: wirelessIfWORPLinkTestStatsTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestStatsTable.setDescription('This table contains the information for the stations currently associated with the access point.') wirelessIfWORPLinkTestStatsTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfWORPLinkTestStatsTableIndex"), (0, "PROXIM-MIB", "wirelessIfWORPLinkTestStatsTableSecIndex")) if mibBuilder.loadTexts: wirelessIfWORPLinkTestStatsTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestStatsTableEntry.setDescription('This parameter represents the entry in the Remote Link Test table.') wirelessIfWORPLinkTestStatsTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestStatsTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestStatsTableIndex.setDescription('This parameter represents a unique value for each station. The value for each station must remain constant at least from one explore to the next.') wirelessIfWORPLinkTestStatsTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestStatsTableSecIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestStatsTableSecIndex.setDescription('This parameter represents a unique value for each station. The value for each station must remain constant at least from one explore to the next.') wirelessIfWORPLinkTestStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wirelessIfWORPLinkTestStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestStatus.setDescription('When this parameter is set to 2 the device will initiate a link test sequence with this station.') wirelessIfWORPLinkTestStationName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestStationName.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestStationName.setDescription('This parameter identifies the name of the station whom which the link test is being performed.') wirelessIfWORPLinkTestMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 5), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestMACAddress.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestMACAddress.setDescription('This parameter represents the MAC address that will be mapped to the IP Address of the station.') wirelessIfWORPLinkTestWORPLinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestWORPLinkStatus.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestWORPLinkStatus.setDescription('This parameter shows the link status of WORP connectivity.') wirelessIfWORPLinkTestLocalCurSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalCurSignal.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalCurSignal.setDescription('The current signal level (in dB) for the link test from this station. This parameter indicates the running average of the local signal level using the algorithm (3/4*oldvalue + 1/4*newvalue).') wirelessIfWORPLinkTestLocalCurNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalCurNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalCurNoise.setDescription('The current noise level (in dB) for the link test to this station. This parameter indicates the running average of the local noise level.') wirelessIfWORPLinkTestLocalCurSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalCurSNR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalCurSNR.setDescription('The current signal to noise ratio for the link test to this station.') wirelessIfWORPLinkTestLocalMinSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMinSignal.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMinSignal.setDescription('The minimum signal level during the link test to this station.') wirelessIfWORPLinkTestLocalMinNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMinNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMinNoise.setDescription('The minimum noise level during the link test to this station.') wirelessIfWORPLinkTestLocalMinSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMinSNR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMinSNR.setDescription('The minimum signal to noise ratio during the link test to this station.') wirelessIfWORPLinkTestLocalMaxSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMaxSignal.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMaxSignal.setDescription('The maximum signal level during the link test to this station.') wirelessIfWORPLinkTestLocalMaxNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMaxNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMaxNoise.setDescription('The maximum noise level during the link test to this station.') wirelessIfWORPLinkTestLocalMaxSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMaxSNR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestLocalMaxSNR.setDescription('The maximum signal to noise ratio during the link test to this station.') wirelessIfWORPLinkTestRemoteCurSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteCurSignal.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteCurSignal.setDescription('The current signal level for the link test to the remote station or access point.') wirelessIfWORPLinkTestRemoteCurNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteCurNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteCurNoise.setDescription('The current noise level for the link test to the remote station or access point device.') wirelessIfWORPLinkTestRemoteCurSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteCurSNR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteCurSNR.setDescription('The current signal to noise ratio for the link test to the remote station or access point device.') wirelessIfWORPLinkTestRemoteMinSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 19), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMinSignal.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMinSignal.setDescription('The minimum signal level during the link test to the remote station or access point device.') wirelessIfWORPLinkTestRemoteMinNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 20), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMinNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMinNoise.setDescription('The minimum noise level during the link test to the remote station or access point device.') wirelessIfWORPLinkTestRemoteMinSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMinSNR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMinSNR.setDescription('The minimum signal to noise ratio during the link test to the remote station or access point device.') wirelessIfWORPLinkTestRemoteMaxSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 22), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMaxSignal.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMaxSignal.setDescription('The maximum signal level during the link test to the remote station or access point device.') wirelessIfWORPLinkTestRemoteMaxNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 23), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMaxNoise.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMaxNoise.setDescription('The maximum noise level during the link test to the remote station or access point device.') wirelessIfWORPLinkTestRemoteMaxSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 4, 5, 1, 24), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMaxSNR.setStatus('current') if mibBuilder.loadTexts: wirelessIfWORPLinkTestRemoteMaxSNR.setDescription('The maximum signal to noise ratio during the link test to the remote station or access point device.') wirelessIfStatsTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1), ) if mibBuilder.loadTexts: wirelessIfStatsTable.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsTable.setDescription('This table holds the statistics for the wireless interface(s).') wirelessIfStatsTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "wirelessIfStatsTableIndex")) if mibBuilder.loadTexts: wirelessIfStatsTableEntry.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsTableEntry.setDescription('This parameter represents the entry for the wirelessIfStatsTable.') wirelessIfStatsTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsTableIndex.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsTableIndex.setDescription('This parameter represents the index for the wirelessIfStatsTable.') wirelessIfStatsTxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsTxPkts.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsTxPkts.setDescription('This parameter shows the number of transmitted packets from the wireless interface.') wirelessIfStatsTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsTxBytes.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsTxBytes.setDescription('This parameter shows the number of transmitted bytes from the wireless interface.') wirelessIfStatsRxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsRxPkts.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsRxPkts.setDescription('This parameter shows the number of received packets from the wireless interface.') wirelessIfStatsRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsRxBytes.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsRxBytes.setDescription('This parameter shows the number of received bytes from the wireless interface.') wirelessIfStatsRxDecryptErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsRxDecryptErrors.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsRxDecryptErrors.setDescription('This parameter shows the number of packets received with decryption errors on the wireless interface.') wirelessIfStatsRxCRCErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsRxCRCErrors.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsRxCRCErrors.setDescription('This parameter shows the number of packets received with CRC errors on the wireless interface') wirelessIfStatsChain0CtlRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsChain0CtlRSSI.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsChain0CtlRSSI.setDescription('This parameter shows the control RSSI for the chain/antenna 0.') wirelessIfStatsChain1CtlRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsChain1CtlRSSI.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsChain1CtlRSSI.setDescription('This parameter shows the control RSSI for the chain/antenna 1.') wirelessIfStatsChain2CtlRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsChain2CtlRSSI.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsChain2CtlRSSI.setDescription('This parameter shows the control RSSI for the chain/antenna 2.') wirelessIfStatsChain0ExtRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsChain0ExtRSSI.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsChain0ExtRSSI.setDescription('This parameter shows the Extension RSSI for the chain/antenna 0.') wirelessIfStatsChain1ExtRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsChain1ExtRSSI.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsChain1ExtRSSI.setDescription('This parameter shows the Extension RSSI for the chain/antenna 1') wirelessIfStatsChain2ExtRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsChain2ExtRSSI.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsChain2ExtRSSI.setDescription('This parameter shows the Extension RSSI for the chain/antenna 2') wirelessIfStatsCombinedRSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsCombinedRSSI.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsCombinedRSSI.setDescription('This parameter shows the combined RSSI of the control and extension.') wirelessIfStatsPhyErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsPhyErrors.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsPhyErrors.setDescription('This parameter shows the Physical layer errors.') wirelessIfStatsRadioReTunes = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 4, 5, 1, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wirelessIfStatsRadioReTunes.setStatus('current') if mibBuilder.loadTexts: wirelessIfStatsRadioReTunes.setDescription('This parameter shows the Number of times the radio is re-tuned.') radiusClientAuthStatsTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1), ) if mibBuilder.loadTexts: radiusClientAuthStatsTable.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsTable.setDescription('This table is used to store RADIUS Authentication Client Statistics for the configured profiles.') radiusClientAuthStatsTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "radiusClientAuthStatsTableIndex"), (0, "PROXIM-MIB", "radiusClientAuthStatsTableSecIndex")) if mibBuilder.loadTexts: radiusClientAuthStatsTableEntry.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsTableEntry.setDescription('This parameter represents an entry in the radiusClientAuthStatsTable. Note this table is indexed by VAP and Radius Pri/Sec servers') radiusClientAuthStatsTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsTableIndex.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsTableIndex.setDescription('This parameter is user defined parameter and used as an index for Radius client Authorization status.') radiusClientAuthStatsTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsTableSecIndex.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsTableSecIndex.setDescription('This parameter is secondary index to Radius client Authorisation status, 1 represents the primary server and 2 represents the secondary server.') radiusClientAuthStatsRoundTripTime = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsRoundTripTime.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsRoundTripTime.setDescription('This parameter represents the round trip time for messages exchanged between radius client and authentication server since system startup.') radiusClientAuthStatsRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsRequests.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsRequests.setDescription('This parameter represents the number of RADIUS Access Requests messages transmitted from the client to the server since client startup.') radiusClientAuthStatsRetransmissions = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsRetransmissions.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsRetransmissions.setDescription('This parameter represents the number of RADIUS Access Requests retransmitted by the client to the server since system startup.') radiusClientAuthStatsAccessAccepts = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsAccessAccepts.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsAccessAccepts.setDescription('This parameter indicates the number of RADIUS Access Accept messages received since system startup.') radiusClientAuthStatsAccessRejects = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsAccessRejects.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsAccessRejects.setDescription('This parameter represents the number of RADIUS Access Rejects messages received since system startup.') radiusClientAuthStatsAccessChallenges = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsAccessChallenges.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsAccessChallenges.setDescription('This parameter represents the number of RADIUS Access Challenges messages received since system startup.') radiusClientAuthStatsResponses = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsResponses.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsResponses.setDescription('This parameter represents the total number of RADIUS Access messages received from the authentication server since system startup.') radiusClientAuthStatsMalformedResponses = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsMalformedResponses.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsMalformedResponses.setDescription('This parameter represents the number of malformed RADIUS Access Response messages received since system startup.') radiusClientAuthStatsBadAuthenticators = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsBadAuthenticators.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsBadAuthenticators.setDescription('This parameter represents the number of malformed RADIUS Access Response messages containing invalid authenticators received since system startup.') radiusClientAuthStatsTimeouts = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsTimeouts.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsTimeouts.setDescription('This parameters represents the total number of timeouts for RADIUS Access Request messages since system startup.') radiusClientAuthStatsUnknownTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsUnknownTypes.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsUnknownTypes.setDescription('This parameter represents the number of messages with unknown Radius Message Code since system startup.') radiusClientAuthStatsPacketsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAuthStatsPacketsDropped.setStatus('current') if mibBuilder.loadTexts: radiusClientAuthStatsPacketsDropped.setDescription('This parameter represents the number of Radius messages which do not contain any EAP payloads or EAP State machine do not have any valid EAP state data since system startup.') radiusClientAccStatsTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2), ) if mibBuilder.loadTexts: radiusClientAccStatsTable.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsTable.setDescription('This table is used to store RADIUS Accounting Client Statistics for the configured profiles.') radiusClientAccStatsTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "radiusClientAccStatsTableIndex"), (0, "PROXIM-MIB", "radiusClientAccStatsTableSecIndex")) if mibBuilder.loadTexts: radiusClientAccStatsTableEntry.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsTableEntry.setDescription('This parameter represents an entry in the radiusClientAccStatsTable. Note this table is indexed by VAP and Radius Pri/Sec servers.') radiusClientAccStatsTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAccStatsTableIndex.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsTableIndex.setDescription('This parameter is used as an index to the RADIUS Accounting Client Statistics Table.') radiusClientAccStatsTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAccStatsTableSecIndex.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsTableSecIndex.setDescription('This parameter is used as secondary index to the RADIUS Accounting Client Statistics Table, which is used to indicate primary and secondary/backup server statistics, 1 represents the Primary server and 2 represents the Secondary server. ') radiusClientAccStatsRoundTripTime = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAccStatsRoundTripTime.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsRoundTripTime.setDescription('This parameter represents the round trip time for messages exchanged between radius client and authentication server since system startup .') radiusClientAccStatsRequests = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAccStatsRequests.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsRequests.setDescription('This parameter represents the number of RADIUS Accounting Requests messages transmitted from the client to the server since client startup. ') radiusClientAccStatsRetransmissions = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAccStatsRetransmissions.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsRetransmissions.setDescription('This parameter represents the number of RADIUS Accounting Requests retransmitted by the client to the server since system startup. ') radiusClientAccStatsResponses = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAccStatsResponses.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsResponses.setDescription('This parameter indicates the number of RADIUS Accounting Response messages received since system startup. ') radiusClientAccStatsMalformedResponses = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAccStatsMalformedResponses.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsMalformedResponses.setDescription('This parameter represents the number of malformed RADIUS Access Response messages received since system startup.') radiusClientAccStatsTimeouts = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAccStatsTimeouts.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsTimeouts.setDescription('This parameter represents the total number of timeouts for RADIUS Accounting Response messages since the system startup.') radiusClientAccStatsUnknownTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAccStatsUnknownTypes.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsUnknownTypes.setDescription('This parameter represents the number of messages with unknown Radius Message Code since system startup. ') radiusClientAccStatsPacketsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 5, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radiusClientAccStatsPacketsDropped.setStatus('current') if mibBuilder.loadTexts: radiusClientAccStatsPacketsDropped.setDescription('This parameter represents the number of Radius messages which do not contain any EAP payloads or EAP State machine do not have any valid EAP state data since system startup. ') wirelessInterfaceCardInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 1, 1)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: wirelessInterfaceCardInitFailure.setStatus('current') if mibBuilder.loadTexts: wirelessInterfaceCardInitFailure.setDescription('This trap is generated when a wireless interface card is not present in the device or not initialized properly. Trap Severity Level: Critical.') wirelessInterfaceCardRadarInterferenceDetected = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 1, 2)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: wirelessInterfaceCardRadarInterferenceDetected.setStatus('current') if mibBuilder.loadTexts: wirelessInterfaceCardRadarInterferenceDetected.setDescription('This trap is generated when radar interference is detected on the channel being used by the wireless interface. The generic trap varible provides information on the channel where interference was detected. Trap Severity Level: Major.') wirelessInterfaceInvalidRegDomain = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 1, 3)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: wirelessInterfaceInvalidRegDomain.setStatus('current') if mibBuilder.loadTexts: wirelessInterfaceInvalidRegDomain.setDescription('This trap is generated when the Regulatory Domain is invalid. Trap Severity Level: Major.') wirelessInterfaceWorldModeCCNotSet = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 1, 4)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: wirelessInterfaceWorldModeCCNotSet.setStatus('current') if mibBuilder.loadTexts: wirelessInterfaceWorldModeCCNotSet.setDescription('This trap is generated when the WorldModeCountryCode is not set. Trap Severity Level: Major.') wirelessInterfaceChannelChanged = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 1, 5)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: wirelessInterfaceChannelChanged.setStatus('current') if mibBuilder.loadTexts: wirelessInterfaceChannelChanged.setDescription('This trap is generated Wireless Interface Channel is changed. Trap Severity Level: Informational.') radiusSrvNotResponding = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 2, 1)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: radiusSrvNotResponding.setStatus('current') if mibBuilder.loadTexts: radiusSrvNotResponding.setDescription('This trap is generated when no response is received from the RADIUS server(s) for authentication requests sent from the RADIUS client in the device. Trap Severity Level: Major.') masterAgentExited = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 3, 1)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: masterAgentExited.setStatus('current') if mibBuilder.loadTexts: masterAgentExited.setDescription('This trap is generated when the SNMP master agent is exited or killed. Trap Severity Level: Critical.') imageDownloadFailed = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 3, 2)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: imageDownloadFailed.setStatus('current') if mibBuilder.loadTexts: imageDownloadFailed.setDescription('This trap is generated when the image download is failed. Trap Severity Level: Critical.') signatureCheckFailed = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 3, 3)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: signatureCheckFailed.setStatus('current') if mibBuilder.loadTexts: signatureCheckFailed.setDescription('This trap is generated when the signature check is failed while downloading the image. Trap Severity Level: Critical.') configurationAppliedSuccessfully = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 3, 4)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: configurationAppliedSuccessfully.setStatus('current') if mibBuilder.loadTexts: configurationAppliedSuccessfully.setDescription('This trap is generated when commit is passed, i.e., the changed configurations are applied successfully. Trap Severity Level: Major.') invalidConfigFile = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 1)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: invalidConfigFile.setStatus('current') if mibBuilder.loadTexts: invalidConfigFile.setDescription('This trap is generated when an invalid image is loaded on the device. Trap Severity Level: Major.') cpuUsageThresholdExceeded = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 2)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: cpuUsageThresholdExceeded.setStatus('current') if mibBuilder.loadTexts: cpuUsageThresholdExceeded.setDescription('This trap is generated when the CPU usage threshold is exceeded. Trap Severity Level: Critical.') flashMemoryThresholdExceeded = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 3)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: flashMemoryThresholdExceeded.setStatus('current') if mibBuilder.loadTexts: flashMemoryThresholdExceeded.setDescription('This trap is generated when the flash memory is full or beyond the limit. Trap Severity Level: Critical.') ramMemoryThresholdExceeded = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 4)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: ramMemoryThresholdExceeded.setStatus('current') if mibBuilder.loadTexts: ramMemoryThresholdExceeded.setDescription('This trap is generated when the ram memory is full or beyond the limit. Trap Severity Level: Critical.') invalidLicenseFile = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 5)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: invalidLicenseFile.setStatus('current') if mibBuilder.loadTexts: invalidLicenseFile.setDescription('This trap is generated when the invalid license file is loaded. Trap Severity Level: Critical.') pxmModulesInitSuccess = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 6)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: pxmModulesInitSuccess.setStatus('current') if mibBuilder.loadTexts: pxmModulesInitSuccess.setDescription('This trap is generated when the initialization of all PXM MODULES is success. Trap Severity Level: Major.') sysMgmtModulesInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 7)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: sysMgmtModulesInitFailure.setStatus('current') if mibBuilder.loadTexts: sysMgmtModulesInitFailure.setDescription('This trap is generated when the initialization of SYSMGMT module is failed. Trap Severity Level: Major.') vlanModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 8)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: vlanModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: vlanModuleInitFailure.setDescription('This trap is generated when the initialization of VLAN module is failed. Trap Severity Level: Major.') filteringModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 9)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: filteringModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: filteringModuleInitFailure.setDescription('This trap is generated when the initialization of FILTERING module is failed. Trap Severity Level: Major.') sysutilsModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 10)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: sysutilsModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: sysutilsModuleInitFailure.setDescription('This trap is generated when the initialization of SYSUTILS module is failed. Trap Severity Level: Major.') tftpModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 11)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: tftpModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: tftpModuleInitFailure.setDescription('This trap is generated when the initialization of TFTP module is failed. Trap Severity Level: Major.') sntpModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 12)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: sntpModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: sntpModuleInitFailure.setDescription('This trap is generated when the initialization of SNTP module is failed. Trap Severity Level: Major.') syslogModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 13)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: syslogModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: syslogModuleInitFailure.setDescription('This trap is generated when the initialization of SYSLOG module is failed. Trap Severity Level: Major.') wlanModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 14)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: wlanModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: wlanModuleInitFailure.setDescription('This trap is generated when the initialization of WLAN module is failed. Trap Severity Level: Major.') flashModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 15)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: flashModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: flashModuleInitFailure.setDescription('This trap is generated when the initialization of FLASH module is failed. Trap Severity Level: Major.') snmpModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 16)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: snmpModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: snmpModuleInitFailure.setDescription('This trap is generated when the initialization of SNMP module is failed. Trap Severity Level: Major.') systemTempReachedLimits = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 17)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: systemTempReachedLimits.setStatus('current') if mibBuilder.loadTexts: systemTempReachedLimits.setDescription('This trap is generated when the system temperature reaches the maximum/ minimum limits or the proximity of the max/min limits. Trap Severity Level: Major.') dhcpRelayModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 18)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: dhcpRelayModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: dhcpRelayModuleInitFailure.setDescription('This trap is generated when the initialization of DHCP Relay module is failed. Trap Severity Level: Major.') dhcpServerModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 19)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: dhcpServerModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: dhcpServerModuleInitFailure.setDescription('This trap is generated when the initialization of DHCP Server module is failed. Trap Severity Level: Major.') staticNATModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 20)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: staticNATModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: staticNATModuleInitFailure.setDescription('This trap is generated when the initialization of Static NAT module is failed. Trap Severity Level: Major.') licenseModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 21)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: licenseModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: licenseModuleInitFailure.setDescription('This trap is generated when the initialization of License module is failed. Trap Severity Level: Major.') systemFeatureModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 22)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: systemFeatureModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: systemFeatureModuleInitFailure.setDescription('This trap is generated when the initialization of System Features module is failed. Trap Severity Level: Major.') mgmtAccessModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 23)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: mgmtAccessModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: mgmtAccessModuleInitFailure.setDescription('This trap is generated when the initialization of Management Access module is failed. Trap Severity Level: Major.') routingModuleInitFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 4, 24)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: routingModuleInitFailure.setStatus('current') if mibBuilder.loadTexts: routingModuleInitFailure.setDescription('This trap is generated when the initialization of Routing module is failed. Trap Severity Level: Major.') sntpFailure = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 5, 1)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: sntpFailure.setStatus('current') if mibBuilder.loadTexts: sntpFailure.setDescription('This trap is generated when the SNTP fails to get the time from SNTP server. Trap Severity Level: Major.') invalidImage = NotificationType((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 6, 6, 1)).setObjects(("PROXIM-MIB", "genericTrap")) if mibBuilder.loadTexts: invalidImage.setStatus('current') if mibBuilder.loadTexts: invalidImage.setDescription('This trap is generated when the image loaded is invalid or too large or incompatible. Trap Severity Level: Major.') worpSiteSurveyOperationTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 1), ) if mibBuilder.loadTexts: worpSiteSurveyOperationTable.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyOperationTable.setDescription('This table contains the information about all the BSU which all are visible for this SU.') worpSiteSurveyOperationTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "worpSiteSurveyOperationTableIndex")) if mibBuilder.loadTexts: worpSiteSurveyOperationTableEntry.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyOperationTableEntry.setDescription('This parameter represents the entry in the worpSiteSurvey operation table.') worpSiteSurveyOperationTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyOperationTableIndex.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyOperationTableIndex.setDescription('This parameter represents the index to the worpSiteSurveyOperationTable.') worpSiteSurveyOperationIfName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyOperationIfName.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyOperationIfName.setDescription('This parameter shows the wireless interface name for which site survey parameters are shown.') worpSiteSurveyOperationStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: worpSiteSurveyOperationStatus.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyOperationStatus.setDescription('This parameter is used enable/disable the site survey operation.') worpSiteSurveyTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2), ) if mibBuilder.loadTexts: worpSiteSurveyTable.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyTable.setDescription('This table contains the information about all the BSU which all are visible for this SU.') worpSiteSurveyTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "worpSiteSurveyTableIndex"), (0, "PROXIM-MIB", "worpSiteSurveyTableSecIndex")) if mibBuilder.loadTexts: worpSiteSurveyTableEntry.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyTableEntry.setDescription('This parameter represents the entry in the worpSiteSurvey table.') worpSiteSurveyTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyTableIndex.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyTableIndex.setDescription('This parameter represents te index to the worpSiteSurveyTable.') worpSiteSurveyTableSecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyTableSecIndex.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyTableSecIndex.setDescription('This parameter represents te index to the worpSiteSurveyTable.') worpSiteSurveyBaseMACAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 3), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyBaseMACAddress.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyBaseMACAddress.setDescription('This parameter represents the MAC address of the BSU.') worpSiteSurveyBaseName = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyBaseName.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyBaseName.setDescription('This parameter represents the name of the BSU.') worpSiteSurveyMaxSatellitesAllowed = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyMaxSatellitesAllowed.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyMaxSatellitesAllowed.setDescription('This parameter represents the maximum number of satellites allowed to register with this BSU.') worpSiteSurveyNumSatellitesRegistered = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyNumSatellitesRegistered.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyNumSatellitesRegistered.setDescription('This parameter represents the number of satellites currently registered on this BSU.') worpSiteSurveySatelliteRegisteredStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("registered", 1), ("not-Registered", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveySatelliteRegisteredStatus.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveySatelliteRegisteredStatus.setDescription('This parameter represents the registration status of this satellite on the BSU.') worpSiteSurveyLocalTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalTxRate.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalTxRate.setDescription('This parameter represents the transmission rate of the SU. This field is not valid if the registration status is Not-Registered') worpSiteSurveyRemoteTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteTxRate.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteTxRate.setDescription('This parameter represents the transmission rate of the BSU. This field is not valid if the registration status is Not-Registered') worpSiteSurveyLocalSignalLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalSignalLevel.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalSignalLevel.setDescription('This parameter displays the current signal level of the incoming wireless frames from this BSU.') worpSiteSurveyLocalNoiseLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalNoiseLevel.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalNoiseLevel.setDescription('This parameter displays the current noise level of the incoming wireless frames from this BSU.') worpSiteSurveyLocalSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 12), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalSNR.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalSNR.setDescription('This parameter represents the current Local SNR.') worpSiteSurveyRemoteSignalLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteSignalLevel.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteSignalLevel.setDescription('This parameter displays the current signal level of the incoming wireless frames at BSU. This field is not valid if the registration status is Not-Registered') worpSiteSurveyRemoteNoiseLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteNoiseLevel.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteNoiseLevel.setDescription('This parameter displays the current noise level of the incoming wireless frames at BSU. This field is not valid if the registration status is Not-Registered.') worpSiteSurveyRemoteSNR = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 15), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteSNR.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteSNR.setDescription('This parameter represents the current SNR at BSU. This field is not valid if the registration status is Not-Registered') worpSiteSurveyChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 16), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyChannel.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyChannel.setDescription('This parameter represents the channel at which the BSU is operating.') worpSiteSurveyChannelBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 17), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyChannelBandwidth.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyChannelBandwidth.setDescription('This parameter represents the BSU channel bandwidth.') worpSiteSurveyChannelRxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 18), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyChannelRxRate.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyChannelRxRate.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyBaseBridgePort = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 19), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyBaseBridgePort.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyBaseBridgePort.setDescription("This parameter represents the SU's Bridge port for which BSU is connected.") worpSiteSurveyLocalMimoCtrlSig1 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 20), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSig1.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSig1.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyLocalMimoCtrlSig2 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSig2.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSig2.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyLocalMimoCtrlSig3 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 22), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSig3.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSig3.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyLocalMimoNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 23), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalMimoNoise.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalMimoNoise.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyLocalMimoCtrlSNR1 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 24), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSNR1.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSNR1.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyLocalMimoCtrlSNR2 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 25), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSNR2.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSNR2.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyLocalMimoCtrlSNR3 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 26), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSNR3.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalMimoCtrlSNR3.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyRemoteMimoCtrlSig1 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 27), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSig1.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSig1.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyRemoteMimoCtrlSig2 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 28), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSig2.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSig2.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyRemoteMimoCtrlSig3 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 29), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSig3.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSig3.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyRemoteMimoNoise = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 30), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoNoise.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoNoise.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyRemoteMimoCtrlSNR1 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 31), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSNR1.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSNR1.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyRemoteMimoCtrlSNR2 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 32), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSNR2.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSNR2.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyRemoteMimoCtrlSNR3 = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 33), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSNR3.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteMimoCtrlSNR3.setDescription('This parameter represents the Rx rate of BSU.') worpSiteSurveyLocalChainBalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("balanced", 2), ("notBalanced", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyLocalChainBalStatus.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyLocalChainBalStatus.setDescription('When this parameter indicates the local chain balance status.') worpSiteSurveyRemoteChainBalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 7, 1, 2, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notApplicable", 1), ("balanced", 2), ("notBalanced", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: worpSiteSurveyRemoteChainBalStatus.setStatus('current') if mibBuilder.loadTexts: worpSiteSurveyRemoteChainBalStatus.setDescription('When this parameter indicates the remote chain balance status.') currentUnitTemp = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 8, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-40, 60))).setMaxAccess("readonly") if mibBuilder.loadTexts: currentUnitTemp.setStatus('current') if mibBuilder.loadTexts: currentUnitTemp.setDescription('This parameter is used for the internal unit temperature in degrees celsius. The range of the temperature is -30 to 60 degrees celsius.') highTempThreshold = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 8, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-40, 60)).clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: highTempThreshold.setStatus('current') if mibBuilder.loadTexts: highTempThreshold.setDescription('This parameter is used set the high temperature threshold by the user.') lowTempThreshold = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 8, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-40, 60)).clone(-40)).setMaxAccess("readwrite") if mibBuilder.loadTexts: lowTempThreshold.setStatus('current') if mibBuilder.loadTexts: lowTempThreshold.setDescription('This parameter is used set the low temperature threshold by the user.') tempLoggingInterval = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 8, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tempLoggingInterval.setStatus('current') if mibBuilder.loadTexts: tempLoggingInterval.setDescription('This parameter is used for logging interval. The valid values are 1,5,10,15,20,25,30,35,40,45,50,55,and 60.') tempLogReset = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 8, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: tempLogReset.setStatus('current') if mibBuilder.loadTexts: tempLogReset.setDescription('This parameter is used for reset/clear the temperature log.') sysMonitorCPUUsage = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 9, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysMonitorCPUUsage.setStatus('current') if mibBuilder.loadTexts: sysMonitorCPUUsage.setDescription('This parameter shows the present CPU usage.') sysMonitorRAMUsage = MibScalar((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 9, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: sysMonitorRAMUsage.setStatus('current') if mibBuilder.loadTexts: sysMonitorRAMUsage.setDescription('This parameter shows the present RAM usage.') igmpEth1MCastTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 1), ) if mibBuilder.loadTexts: igmpEth1MCastTable.setStatus('current') if mibBuilder.loadTexts: igmpEth1MCastTable.setDescription('This table holds the IGMP multicast IP and MAC address details for the ethernet interface 1') igmpEth1MCastTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "igmpEth1MCastTableIndex")) if mibBuilder.loadTexts: igmpEth1MCastTableEntry.setStatus('current') if mibBuilder.loadTexts: igmpEth1MCastTableEntry.setDescription('This parameter represents the entry for this table.') igmpEth1MCastTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpEth1MCastTableIndex.setStatus('current') if mibBuilder.loadTexts: igmpEth1MCastTableIndex.setDescription('This parameter represents the index for this table.') igmpEth1MCastGrpIp = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 1, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpEth1MCastGrpIp.setStatus('current') if mibBuilder.loadTexts: igmpEth1MCastGrpIp.setDescription('This parameter indicates the IP multicast address of ethernet interface 1 learned by IGMP snooping.') igmpEth1MCastGrpMACAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 1, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpEth1MCastGrpMACAddr.setStatus('current') if mibBuilder.loadTexts: igmpEth1MCastGrpMACAddr.setDescription('This parameter indicates the Mac multicast address of ethernet interface 1 learned by IGMP snooping.') igmpEth1MCastGrpAgingTimeElapsed = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpEth1MCastGrpAgingTimeElapsed.setStatus('current') if mibBuilder.loadTexts: igmpEth1MCastGrpAgingTimeElapsed.setDescription('This parameter specifies the aging time for multicast entries for the ethernet interface 1.') igmpEth2MCastTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 2), ) if mibBuilder.loadTexts: igmpEth2MCastTable.setStatus('current') if mibBuilder.loadTexts: igmpEth2MCastTable.setDescription('This table holds the IGMP multicast IP and MAC address details for the ethernet interface 2') igmpEth2MCastTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 2, 1), ).setIndexNames((0, "PROXIM-MIB", "igmpEth2MCastTableIndex")) if mibBuilder.loadTexts: igmpEth2MCastTableEntry.setStatus('current') if mibBuilder.loadTexts: igmpEth2MCastTableEntry.setDescription('This parameter represents the entry for this table.') igmpEth2MCastTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 2, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpEth2MCastTableIndex.setStatus('current') if mibBuilder.loadTexts: igmpEth2MCastTableIndex.setDescription('This parameter represents the index for this table.') igmpEth2MCastGrpIp = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 2, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpEth2MCastGrpIp.setStatus('current') if mibBuilder.loadTexts: igmpEth2MCastGrpIp.setDescription('This parameter indicates the IP multicast address of ethernet interface 2 learned by IGMP snooping.') igmpEth2MCastGrpMACAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 2, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpEth2MCastGrpMACAddr.setStatus('current') if mibBuilder.loadTexts: igmpEth2MCastGrpMACAddr.setDescription('This parameter indicates the Mac multicast address of ethernet interface 2 learned by IGMP snooping.') igmpEth2MCastGrpAgingTimeElapsed = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 1, 2, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpEth2MCastGrpAgingTimeElapsed.setStatus('current') if mibBuilder.loadTexts: igmpEth2MCastGrpAgingTimeElapsed.setDescription('This parameter specifies the aging time for multicast entries for the ethernet interface 2.') igmpWireless1MCastTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 2, 1), ) if mibBuilder.loadTexts: igmpWireless1MCastTable.setStatus('current') if mibBuilder.loadTexts: igmpWireless1MCastTable.setDescription('This table holds the IGMP multicast IP and MAC address details for the wireless interface 1.') igmpWireless1MCastTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 2, 1, 1), ).setIndexNames((0, "PROXIM-MIB", "igmpWireless1MCastTableIndex")) if mibBuilder.loadTexts: igmpWireless1MCastTableEntry.setStatus('current') if mibBuilder.loadTexts: igmpWireless1MCastTableEntry.setDescription('This parameter represents the entry for the wireless multicast table.') igmpWireless1MCastTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 2, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpWireless1MCastTableIndex.setStatus('current') if mibBuilder.loadTexts: igmpWireless1MCastTableIndex.setDescription('This parameter represents the index for this table.') igmpWireless1MCastGrpIp = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 2, 1, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpWireless1MCastGrpIp.setStatus('current') if mibBuilder.loadTexts: igmpWireless1MCastGrpIp.setDescription('This parameter indicates the IP multicast address of wireless interface 1 learned by IGMP snooping.') igmpWireless1MCastGrpMACAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 2, 1, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpWireless1MCastGrpMACAddr.setStatus('current') if mibBuilder.loadTexts: igmpWireless1MCastGrpMACAddr.setDescription('This parameter indicates the Mac multicast address of wireless interface 1 learned by IGMP snooping.') igmpWireless1MCastGrpAgingTimeElapsed = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 2, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpWireless1MCastGrpAgingTimeElapsed.setStatus('current') if mibBuilder.loadTexts: igmpWireless1MCastGrpAgingTimeElapsed.setDescription('This parameter specifies the aging time for multicast entries for the wireless interface 1.') igmpRouterPortListTable = MibTable((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 3), ) if mibBuilder.loadTexts: igmpRouterPortListTable.setStatus('current') if mibBuilder.loadTexts: igmpRouterPortListTable.setDescription('This table shows the IGMP router port stats for all interfaces.') igmpRouterPortListTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 3, 1), ).setIndexNames((0, "PROXIM-MIB", "igmpRouterPortListTableIndex")) if mibBuilder.loadTexts: igmpRouterPortListTableEntry.setStatus('current') if mibBuilder.loadTexts: igmpRouterPortListTableEntry.setDescription('This parameter represents the entry for the router port list table.') igmpRouterPortListTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 3, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpRouterPortListTableIndex.setStatus('current') if mibBuilder.loadTexts: igmpRouterPortListTableIndex.setDescription('This paramter represents the interface number or index to this table.') igmpRouterPortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 3, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpRouterPortNumber.setStatus('current') if mibBuilder.loadTexts: igmpRouterPortNumber.setDescription('This parameter represents the router port number on which IGMP snooping/listening is done.') igmpRouterAgingTimeElapsed = MibTableColumn((1, 3, 6, 1, 4, 1, 841, 1, 1, 3, 10, 3, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: igmpRouterAgingTimeElapsed.setStatus('current') if mibBuilder.loadTexts: igmpRouterAgingTimeElapsed.setDescription('This parameter represents the time elapsed since snooping is started on the router port.') mibBuilder.exportSymbols("PROXIM-MIB", accessVLANId=accessVLANId, qoSPolicyTableSecIndex=qoSPolicyTableSecIndex, tcpudpPortFilterProtocolName=tcpudpPortFilterProtocolName, stormFilterInterface=stormFilterInterface, wirelessIfWORPLinkTestRemoteMinSignal=wirelessIfWORPLinkTestRemoteMinSignal, sysLicFeatureType=sysLicFeatureType, wirelessIfWORPStaStatsSendRetries=wirelessIfWORPStaStatsSendRetries, dhcpRelayServerTable=dhcpRelayServerTable, worpIntraCellBlockingGroupID11=worpIntraCellBlockingGroupID11, sysLicFeatureValue=sysLicFeatureValue, ethernetIfPropertiesTableIndex=ethernetIfPropertiesTableIndex, wirelessIfWORPStatsReceiveSuccess=wirelessIfWORPStatsReceiveSuccess, wirelessSecurityCfgKeyIndex=wirelessSecurityCfgKeyIndex, wirelessIfStatsChain1ExtRSSI=wirelessIfStatsChain1ExtRSSI, syslogHostTableEntryStatus=syslogHostTableEntryStatus, wirelessIfWORPStatsPollNoReplies=wirelessIfWORPStatsPollNoReplies, worpSiteSurveyOperationIfName=worpSiteSurveyOperationIfName, wirelessQoSEDCATableCWmin=wirelessQoSEDCATableCWmin, wirelessSecurityCfgEncryptionType=wirelessSecurityCfgEncryptionType, worpSiteSurveyRemoteMimoCtrlSNR2=worpSiteSurveyRemoteMimoCtrlSNR2, wirelessIfMonNumOfStaConnected=wirelessIfMonNumOfStaConnected, netIpStaticRouteTableEntryStatus=netIpStaticRouteTableEntryStatus, wirelessIfWORPStatsTable=wirelessIfWORPStatsTable, worpQoSPIREtherType=worpQoSPIREtherType, worpIntraCellBlockingMACTableIndex=worpIntraCellBlockingMACTableIndex, protocolFilter=protocolFilter, worpIntraCellBlockingGroupTableIndex=worpIntraCellBlockingGroupTableIndex, sysContactPhoneNumber=sysContactPhoneNumber, wirelessIfWORPStaStatsTable=wirelessIfWORPStaStatsTable, worpQoSClassTableEntryStatus=worpQoSClassTableEntryStatus, wirelessIfCellSize=wirelessIfCellSize, sysFeatureCtrlID=sysFeatureCtrlID, cpuUsageThresholdExceeded=cpuUsageThresholdExceeded, worpQoSPIRIPTableEntryStatus=worpQoSPIRIPTableEntryStatus, worpQoSClassSFCValue=worpQoSClassSFCValue, sysInvMgmtComponentTableEntry=sysInvMgmtComponentTableEntry, wirelessIfStaStatsTxEospLost=wirelessIfStaStatsTxEospLost, sysMonitorCPUUsage=sysMonitorCPUUsage, worpSiteSurveyLocalChainBalStatus=worpSiteSurveyLocalChainBalStatus, netIpStaticRouteDestAddr=netIpStaticRouteDestAddr, wirelessIf11nPropertiesAMSDUStatus=wirelessIf11nPropertiesAMSDUStatus, wirelessIfBlacklistInfoTableIndex=wirelessIfBlacklistInfoTableIndex, sntpTimeZone=sntpTimeZone, wirelessIfStaStatsRxNoPrivacy=wirelessIfStaStatsRxNoPrivacy, dhcpServerIpPoolTableEntryStatus=dhcpServerIpPoolTableEntryStatus, netIpWirelessCfgIPAddress=netIpWirelessCfgIPAddress, wirelessIfVAPTable=wirelessIfVAPTable, wirelessIfWORPStatsAverageLocalNoise=wirelessIfWORPStatsAverageLocalNoise, radiusClientAccStatsRetransmissions=radiusClientAccStatsRetransmissions, tftpFileType=tftpFileType, mgmtSnmpTrapHostTableIPAddress=mgmtSnmpTrapHostTableIPAddress, wirelessIfWORPLinkTestMACAddress=wirelessIfWORPLinkTestMACAddress, l2l3QoSDot1pPriority=l2l3QoSDot1pPriority, tftp=tftp, ethernetInActivityTimer=ethernetInActivityTimer, sntpSecondaryServerName=sntpSecondaryServerName, wirelessIfWORPLinkTestRemoteMinSNR=wirelessIfWORPLinkTestRemoteMinSNR, wirelessIfWORPLinkTestWORPLinkStatus=wirelessIfWORPLinkTestWORPLinkStatus, wirelessIf11nPropertiesTableIndex=wirelessIf11nPropertiesTableIndex, netCfgStaticRouteStatus=netCfgStaticRouteStatus, sysConfCountryCode=sysConfCountryCode, igmpRouterPortNumber=igmpRouterPortNumber, worpQoSSFClassMIR=worpQoSSFClassMIR, sntpPrimaryServerName=sntpPrimaryServerName, radiusClientAuthStatsRetransmissions=radiusClientAuthStatsRetransmissions, filtering=filtering, sysInvMgmtComponentTable=sysInvMgmtComponentTable, worpIntraCellBlockingGroupTableEntry=worpIntraCellBlockingGroupTableEntry, sysGPSLongitude=sysGPSLongitude, worpIntraCellBlockingGroupName=worpIntraCellBlockingGroupName, worpQoSPIRIPSubMask=worpQoSPIRIPSubMask, wirelessIfStaStatsRxDeauthenticationFrames=wirelessIfStaStatsRxDeauthenticationFrames, wirelessIfWORPLinkTestLocalMinSNR=wirelessIfWORPLinkTestLocalMinSNR, radiusSupProfileMaxReTransmissions=radiusSupProfileMaxReTransmissions, signatureCheckFailed=signatureCheckFailed, igmpWireless1MCastTableIndex=igmpWireless1MCastTableIndex, wirelessIfWORPLinkTestLocalCurSNR=wirelessIfWORPLinkTestLocalCurSNR, systemTraps=systemTraps, interfaceTraps=interfaceTraps, l2l3QoSDot1DToDot1pMappingTableEntry=l2l3QoSDot1DToDot1pMappingTableEntry, staticMACAddrFilterTableEntry=staticMACAddrFilterTableEntry, macaclAddrTableEntry=macaclAddrTableEntry, netIpStaticRouteTableIndex=netIpStaticRouteTableIndex, VlanId=VlanId, DisplayString32=DisplayString32, debugLog=debugLog, wirelessIfWORPStaStatsAverageRemoteSNR=wirelessIfWORPStaStatsAverageRemoteSNR, vlan=vlan, wirelessIfWORPLinkTestProgressStatus=wirelessIfWORPLinkTestProgressStatus, igmpEth2MCastGrpAgingTimeElapsed=igmpEth2MCastGrpAgingTimeElapsed, wirelessIfStaStatsTxProbeReq=wirelessIfStaStatsTxProbeReq, wirelessIfWORPStaBridgePort=wirelessIfWORPStaBridgePort, wirelessIfStaStatsVlanTag=wirelessIfStaStatsVlanTag, dhcpServerDefaultLeaseTime=dhcpServerDefaultLeaseTime, worpSiteSurveyMaxSatellitesAllowed=worpSiteSurveyMaxSatellitesAllowed, wirelessIfStaStatsHTCapability=wirelessIfStaStatsHTCapability, wirelessIfBlacklistInfoTableEntry=wirelessIfBlacklistInfoTableEntry, wirelessIfStaStatsTxUnicastFrames=wirelessIfStaStatsTxUnicastFrames, systemFeatureModuleInitFailure=systemFeatureModuleInitFailure, qosProfileTableQoSNACKStatus=qosProfileTableQoSNACKStatus, wirelessIfWORPStatsAuthenticationConfirms=wirelessIfWORPStatsAuthenticationConfirms, worpQoSPIRMapTableIndexVal=worpQoSPIRMapTableIndexVal, wirelessIfDDRSMinReqSNR=wirelessIfDDRSMinReqSNR, wirelessIfVAPRadiusProfileName=wirelessIfVAPRadiusProfileName, staticNATModuleInitFailure=staticNATModuleInitFailure, radiusClientAuthStatsAccessChallenges=radiusClientAuthStatsAccessChallenges, wirelessIfVAPMACACLStatus=wirelessIfVAPMACACLStatus, mgmtSnmpVersion=mgmtSnmpVersion, igmpWireless1MCastGrpMACAddr=igmpWireless1MCastGrpMACAddr, sysLocationName=sysLocationName, worpQoSClassTable=worpQoSClassTable, wirelessQoSEDCATableProfileName=wirelessQoSEDCATableProfileName, wirelessIfWORPLinkTestLocalMinNoise=wirelessIfWORPLinkTestLocalMinNoise, wirelessIfStatsTableEntry=wirelessIfStatsTableEntry, worpSiteSurveyLocalSNR=worpSiteSurveyLocalSNR, wirelessIfStaStatsRxDefragFailed=wirelessIfStaStatsRxDefragFailed, netIpStaticRouteMask=netIpStaticRouteMask, PYSNMP_MODULE_ID=proxim, wirelessIfVAPQoSProfileName=wirelessIfVAPQoSProfileName, httpsAccessControl=httpsAccessControl, wirelessIfWORPStaStatsRemoteMimoCtrlSig2=wirelessIfWORPStaStatsRemoteMimoCtrlSig2, wirelessIfWORPLinkTestConfTable=wirelessIfWORPLinkTestConfTable, systemTempReachedLimits=systemTempReachedLimits, wirelessIfWORPStatsReplyNoData=wirelessIfWORPStatsReplyNoData, igmpEth2MCastGrpMACAddr=igmpEth2MCastGrpMACAddr, wirelessIfDDRSTableEntry=wirelessIfDDRSTableEntry, wirelessQoSEDCATable=wirelessQoSEDCATable, sysInvMgmtCompMajorVersion=sysInvMgmtCompMajorVersion, pxmModulesInitSuccess=pxmModulesInitSuccess, wirelessIfStaStatsIfNumber=wirelessIfStaStatsIfNumber, wirelessIfAutoRateSelection=wirelessIfAutoRateSelection, wirelessIf11nPropertiesAMSDUMaxFrameSize=wirelessIf11nPropertiesAMSDUMaxFrameSize, radiusClientAccStatsTableIndex=radiusClientAccStatsTableIndex, tftpOpStatus=tftpOpStatus, wirelessIfWORPLinkTestStatsTableSecIndex=wirelessIfWORPLinkTestStatsTableSecIndex, wirelessIfActiveTPC=wirelessIfActiveTPC, radiusClientAuthStatsRequests=radiusClientAuthStatsRequests, dhcpServerIfTableEntryStatus=dhcpServerIfTableEntryStatus, mgmtAccessTableIpAddress=mgmtAccessTableIpAddress, wirelessIfWORPStatsTableEntry=wirelessIfWORPStatsTableEntry, worpQoSPIRStartPort=worpQoSPIRStartPort, wirelessIfVAPRadiusMACACLStatus=wirelessIfVAPRadiusMACACLStatus, wirelessSecurityCfgEntryStatus=wirelessSecurityCfgEntryStatus, worpQoSPIRPPPoEProtocolId=worpQoSPIRPPPoEProtocolId, worpSiteSurveyRemoteSignalLevel=worpSiteSurveyRemoteSignalLevel, debugLogReset=debugLogReset, wirelessIfWORPStaStatsLocalMimoCtrlSNR2=wirelessIfWORPStaStatsLocalMimoCtrlSNR2, igmpRouterPortListTableIndex=igmpRouterPortListTableIndex, natStatus=natStatus, deviceMon=deviceMon, ethernetIfPropertiesTable=ethernetIfPropertiesTable, worpIntraCellBlocking=worpIntraCellBlocking, wirelessIfChannelWaitTime=wirelessIfChannelWaitTime, wirelessIfWORPStaStatsRemoteMimoCtrlSig1=wirelessIfWORPStaStatsRemoteMimoCtrlSig1, igmp=igmp, wirelessIfWORPStatsSendSuccess=wirelessIfWORPStatsSendSuccess, wirelessIfWORPLinkTestRemoteMaxSignal=wirelessIfWORPLinkTestRemoteMaxSignal, mp_8100=mp_8100, syslogHostTableIndex=syslogHostTableIndex, worpSiteSurveyOperationTableEntry=worpSiteSurveyOperationTableEntry, worpIntraCellBlockingGroupID1=worpIntraCellBlockingGroupID1, worpIntraCellBlockingGroupID10=worpIntraCellBlockingGroupID10, syslogHostIpAddress=syslogHostIpAddress, radiusClientAccStatsUnknownTypes=radiusClientAccStatsUnknownTypes, wirelessSecurityCfgprofileName=wirelessSecurityCfgprofileName, natPortBindingStatus=natPortBindingStatus, wirelessIfStaStatsTableEntry=wirelessIfStaStatsTableEntry, wirelessIfStatsRxCRCErrors=wirelessIfStatsRxCRCErrors, wirelessIfWORPLinkTestStatsTableEntry=wirelessIfWORPLinkTestStatsTableEntry, licenseModuleInitFailure=licenseModuleInitFailure, wirelessIfWORPStaStatsAverageLocalSignal=wirelessIfWORPStaStatsAverageLocalSignal, ObjStatus=ObjStatus, netCfgPrimaryDNSIpAddress=netCfgPrimaryDNSIpAddress, radiusMon=radiusMon, stormBroadcastThreshold=stormBroadcastThreshold, dhcpRelay=dhcpRelay, rip=rip, igmpWirelessSnoopingStats=igmpWirelessSnoopingStats, netIpStaticRouteTableEntry=netIpStaticRouteTableEntry, sysTypeActiveFreqDomain=sysTypeActiveFreqDomain, worpSiteSurveyLocalMimoCtrlSig1=worpSiteSurveyLocalMimoCtrlSig1, etherProtocolFilteringCtrl=etherProtocolFilteringCtrl, worpQoSClassTableEntry=worpQoSClassTableEntry, wirelessIfWORPRadiusAccStatus=wirelessIfWORPRadiusAccStatus, wirelessIfStatsTableIndex=wirelessIfStatsTableIndex, wirelessIfWORPStaStatsLocalMimoCtrlSNR3=wirelessIfWORPStaStatsLocalMimoCtrlSNR3, wirelessIfWORPStatsActiveUplinkMIR=wirelessIfWORPStatsActiveUplinkMIR, wirelessIfWORPMode=wirelessIfWORPMode, radiusSupProfileReAuthenticationPeriod=radiusSupProfileReAuthenticationPeriod, radiusClientStats=radiusClientStats, l2l3QoSDot1DToDot1pMappingTable=l2l3QoSDot1DToDot1pMappingTable, wirelessIf11nPropertiesAMPDUStatus=wirelessIf11nPropertiesAMPDUStatus, radiusClientAccStatsRoundTripTime=radiusClientAccStatsRoundTripTime, netIpWirelessCfgTable=netIpWirelessCfgTable, radiusSrvServerPort=radiusSrvServerPort, worpIntraCellBlockingMACTableEntry=worpIntraCellBlockingMACTableEntry, wirelessIfWORPStaStatsLocalMimoCtrlSig1=wirelessIfWORPStaStatsLocalMimoCtrlSig1, sysInvMgmtCompName=sysInvMgmtCompName, radiusClientAccStatsTableSecIndex=radiusClientAccStatsTableSecIndex, wirelessIfStaStatsRxWepFail=wirelessIfStaStatsRxWepFail, wirelessIf11nPropertiesRxAntennas=wirelessIf11nPropertiesRxAntennas, wirelessIfWORPRegistrationTimeout=wirelessIfWORPRegistrationTimeout, wirelessIfStaStatsTxDeAuthCode=wirelessIfStaStatsTxDeAuthCode, worpQoSPIRMapRuleName=worpQoSPIRMapRuleName, wirelessIfWORPLinkTestRemoteCurNoise=wirelessIfWORPLinkTestRemoteCurNoise, vlanEthTrunkTableEntry=vlanEthTrunkTableEntry, worpQoSPIRIPToSHigh=worpQoSPIRIPToSHigh, wirelessIfWORPStatsReplyData=wirelessIfWORPStatsReplyData, worpQoSClassPIRValue=worpQoSClassPIRValue, wirelessIfDfsStatus=wirelessIfDfsStatus, netIpStaticRouteTable=netIpStaticRouteTable, interface=interface, wirelessIfWORPStatsAuthenticationRequests=wirelessIfWORPStatsAuthenticationRequests, sysFeatureOutBandwidth=sysFeatureOutBandwidth, wirelessIfStaStatsTxMgmtFrames=wirelessIfStaStatsTxMgmtFrames, wirelessIfWORPTableEntry=wirelessIfWORPTableEntry, dhcpServerIpPoolTable=dhcpServerIpPoolTable, syslogHostPort=syslogHostPort, wirelessIfWORPStatsAverageRemoteSignal=wirelessIfWORPStatsAverageRemoteSignal, wirelessIfVAPFragmentationThreshold=wirelessIfVAPFragmentationThreshold, worpIntraCellBlockingMACTableEntryStatus=worpIntraCellBlockingMACTableEntryStatus, worpSiteSurveyChannel=worpSiteSurveyChannel, macaclAddrTableSecIndex=macaclAddrTableSecIndex, wirelessIfWORPStatsRequestForService=wirelessIfWORPStatsRequestForService, mgmtSnmpAccessTableIndex=mgmtSnmpAccessTableIndex, sysTypeRadioIfIndex=sysTypeRadioIfIndex, worpQoSPIRMacComment=worpQoSPIRMacComment, worpSiteSurveyLocalNoiseLevel=worpSiteSurveyLocalNoiseLevel, worpQoSSUMACAddress=worpQoSSUMACAddress, wirelessIfDDRSDataRate=wirelessIfDDRSDataRate, worpQoSPIRTable=worpQoSPIRTable, worpSiteSurveyRemoteNoiseLevel=worpSiteSurveyRemoteNoiseLevel, dhcpRelayModuleInitFailure=dhcpRelayModuleInitFailure, worpSiteSurveyRemoteMimoCtrlSNR1=worpSiteSurveyRemoteMimoCtrlSNR1, worpQoSSUQoSClassIndex=worpQoSSUQoSClassIndex, mgmtSnmpV3PrivPassword=mgmtSnmpV3PrivPassword, stormThresholdTableIndex=stormThresholdTableIndex, radiusSrvProfileTableSecIndex=radiusSrvProfileTableSecIndex, wirelessIfWORPMACACLStatus=wirelessIfWORPMACACLStatus, wirelessIfWORPStaStatsPollNoReplies=wirelessIfWORPStaStatsPollNoReplies, etherProtocolFilterTable=etherProtocolFilterTable, vlanEthCfgTableEntry=vlanEthCfgTableEntry, dhcpMaxLeaseTime=dhcpMaxLeaseTime, wirelessIfWORPStatsActiveUplinkCIR=wirelessIfWORPStatsActiveUplinkCIR, igmpEth1MCastGrpIp=igmpEth1MCastGrpIp, wirelessIfVAPBeaconInterval=wirelessIfVAPBeaconInterval, worpQoSPIRIPProtocolIds=worpQoSPIRIPProtocolIds, worpIntraCellBlockingGroupTableEntryStatus=worpIntraCellBlockingGroupTableEntryStatus, DisplayString20=DisplayString20, sysInvMgmtDaughterCardAvailability=sysInvMgmtDaughterCardAvailability, wirelessIfStaStatsRSSI=wirelessIfStaStatsRSSI, igmpEth1MCastTableIndex=igmpEth1MCastTableIndex, worpQoSSUTableEntryStatus=worpQoSSUTableEntryStatus, wirelessIfWORPTableIndex=wirelessIfWORPTableIndex) mibBuilder.exportSymbols("PROXIM-MIB", wirelessIfStaStatsTxRate=wirelessIfStaStatsTxRate, syslogPriority=syslogPriority, wirelessIfDTIM=wirelessIfDTIM, wirelessIfDDRSMinReqSNRTable=wirelessIfDDRSMinReqSNRTable, wirelessIfCurrentOperatingChannel=wirelessIfCurrentOperatingChannel, eventlog=eventlog, worpIntraCellBlockingMACAddress=worpIntraCellBlockingMACAddress, httpPassword=httpPassword, globalTrapStatus=globalTrapStatus, mgmtAccessTableStatus=mgmtAccessTableStatus, wirelessIfStaStatsTxBytes=wirelessIfStaStatsTxBytes, worpSiteSurveyRemoteTxRate=worpSiteSurveyRemoteTxRate, wirelessIfWORPLinkTestIdleTimeout=wirelessIfWORPLinkTestIdleTimeout, Password=Password, sysLicRadioAntennaType=sysLicRadioAntennaType, igmpRouterAgingTimeElapsed=igmpRouterAgingTimeElapsed, wirelessIfDDRSIncrReTxPercentThrld=wirelessIfDDRSIncrReTxPercentThrld, wirelessIfVAPRTSThreshold=wirelessIfVAPRTSThreshold, wirelessIfWORPSecurityProfileIndex=wirelessIfWORPSecurityProfileIndex, vlanMode=vlanMode, sysMgmt=sysMgmt, wirelessIf11nPropertiesTableEntry=wirelessIf11nPropertiesTableEntry, stormThresholdTableEntry=stormThresholdTableEntry, radiusClientAccStatsTimeouts=radiusClientAccStatsTimeouts, wirelessIfWORPStatsReceiveRetries=wirelessIfWORPStatsReceiveRetries, wirelessIfWORPStaStatsReplyData=wirelessIfWORPStaStatsReplyData, wireless=wireless, worpSiteSurveyBaseMACAddress=worpSiteSurveyBaseMACAddress, wirelessIfStaStatsState=wirelessIfStaStatsState, igmpEthernetSnoopingStats=igmpEthernetSnoopingStats, worpIntraCellBlockingGroupID15=worpIntraCellBlockingGroupID15, untaggedFrames=untaggedFrames, wirelessIfPropertiesTable=wirelessIfPropertiesTable, macaclTableEntryStatus=macaclTableEntryStatus, ripConfigTable=ripConfigTable, worpQoSPIRIPAddr=worpQoSPIRIPAddr, dhcpRelayServerTableEntryStatus=dhcpRelayServerTableEntryStatus, wirelessIfDDRSMinReqSNRTableIndex=wirelessIfDDRSMinReqSNRTableIndex, ripInterfaceStatus=ripInterfaceStatus, worpQoSPIREtherValue=worpQoSPIREtherValue, worpIntraCellBlockingGroupID4=worpIntraCellBlockingGroupID4, ripInterfaceAuthType=ripInterfaceAuthType, dhcpServerIfTableIndex=dhcpServerIfTableIndex, wirelessIfWORPStaStatsPollNoData=wirelessIfWORPStaStatsPollNoData, wirelessSecurityCfgKey4=wirelessSecurityCfgKey4, worpQoSPIRPortTableEntryStatus=worpQoSPIRPortTableEntryStatus, worpQoSPIRVlanId=worpQoSPIRVlanId, worpIntraCellBlockingGroupID14=worpIntraCellBlockingGroupID14, worpQoSPIREtherPriorityHigh=worpQoSPIREtherPriorityHigh, l2l3QoS=l2l3QoS, etherProtocolFilterProtocolName=etherProtocolFilterProtocolName, sysInfo=sysInfo, wirelessIfWORPRadiusMACACLStatus=wirelessIfWORPRadiusMACACLStatus, syslogReset=syslogReset, wirelessIfWORPStaStatsAverageLocalSNR=wirelessIfWORPStaStatsAverageLocalSNR, wirelessIfWORPStaStatsRemoteMimoCtrlSig3=wirelessIfWORPStaStatsRemoteMimoCtrlSig3, wirelessIfWORPStatsRegistrationRequests=wirelessIfWORPStatsRegistrationRequests, worpQoSPIRRuleBitMask=worpQoSPIRRuleBitMask, tempLogReset=tempLogReset, wirelessIfWORPStatsCurrentDownlinkBandwidth=wirelessIfWORPStatsCurrentDownlinkBandwidth, netIpCfgIPAddress=netIpCfgIPAddress, ap_8000=ap_8000, wirelessQoSEDCATableAPTXOP=wirelessQoSEDCATableAPTXOP, httpPort=httpPort, wirelessIfWORPStatsSendRetries=wirelessIfWORPStatsSendRetries, vlanEthTrunkTableSecIndex=vlanEthTrunkTableSecIndex, macaclOperationType=macaclOperationType, wirelessIfWORPStaStatsSendFailures=wirelessIfWORPStaStatsSendFailures, wirelessInterfaceInvalidRegDomain=wirelessInterfaceInvalidRegDomain, worpQoSDefaultClass=worpQoSDefaultClass, intraBSSFiltering=intraBSSFiltering, worpSiteSurveyTableSecIndex=worpSiteSurveyTableSecIndex, mgmtAccessTableEntryStatus=mgmtAccessTableEntryStatus, syslogModuleInitFailure=syslogModuleInitFailure, worpIntraCellBlockingGroupID13=worpIntraCellBlockingGroupID13, mgmtSnmpTrapHostTablePassword=mgmtSnmpTrapHostTablePassword, sysMgmtReboot=sysMgmtReboot, worpQoSPIREtherPriorityLow=worpQoSPIREtherPriorityLow, wirelessIfVAPStatus=wirelessIfVAPStatus, wirelessIfStaStatsTxDisassociation=wirelessIfStaStatsTxDisassociation, sysInvMgmtCompId=sysInvMgmtCompId, worpIntraCellBlockingGroupID9=worpIntraCellBlockingGroupID9, wirelessQoSEDCATableEntry=wirelessQoSEDCATableEntry, mgmtSnmpTrapHostTableIndex=mgmtSnmpTrapHostTableIndex, l2l3QoSDot1DToIPDSCPMappingTableEntry=l2l3QoSDot1DToIPDSCPMappingTableEntry, wirelessIfBlacklistInfo=wirelessIfBlacklistInfo, igmpEth1MCastTable=igmpEth1MCastTable, wirelessIfWORPSuperPacketing=wirelessIfWORPSuperPacketing, igmpEth1MCastGrpMACAddr=igmpEth1MCastGrpMACAddr, natStaticPortBindTableIndex=natStaticPortBindTableIndex, wirelessIfVAPBSSID=wirelessIfVAPBSSID, wirelessInActivityTimer=wirelessInActivityTimer, wirelessIfBlacklistReason=wirelessIfBlacklistReason, mgmtAccessTableEntry=mgmtAccessTableEntry, imageDownloadFailed=imageDownloadFailed, macaclAddrTable=macaclAddrTable, wirelessIfVAPVLANID=wirelessIfVAPVLANID, wirelessIfPropertiesRadioStatus=wirelessIfPropertiesRadioStatus, wirelessIfWORPMaxSatellites=wirelessIfWORPMaxSatellites, wirelessIfStaStatsTable=wirelessIfStaStatsTable, sysMgmtLoadTextConfig=sysMgmtLoadTextConfig, sysFeature=sysFeature, sysFeatureProductClass=sysFeatureProductClass, sysLicFeatureTable=sysLicFeatureTable, wirelessIfWORPStatsProvisionedDownlinkMIR=wirelessIfWORPStatsProvisionedDownlinkMIR, radiusClientAuthStatsPacketsDropped=radiusClientAuthStatsPacketsDropped, ripReceiveOnly=ripReceiveOnly, wirelessIfWORPStatsReplyMoreData=wirelessIfWORPStatsReplyMoreData, telnet=telnet, vlanEthCfgTable=vlanEthCfgTable, wirelessIfDDRSDefDataRate=wirelessIfDDRSDefDataRate, netCfg=netCfg, worpSiteSurveyRemoteMimoCtrlSig2=worpSiteSurveyRemoteMimoCtrlSig2, igmpEth2MCastGrpIp=igmpEth2MCastGrpIp, ethernetIf=ethernetIf, netCfgSupportedInterfaces=netCfgSupportedInterfaces, wirelessIfTPC=wirelessIfTPC, advancedFilterProtocolName=advancedFilterProtocolName, wirelessIfWORPStats=wirelessIfWORPStats, mgmtSnmp=mgmtSnmp, telnetPassword=telnetPassword, wirelessIf11nPropertiesTable=wirelessIf11nPropertiesTable, wirelessIfPropertiesTableIndex=wirelessIfPropertiesTableIndex, worpQoSSUTable=worpQoSSUTable, radiusClientAuthStatsTimeouts=radiusClientAuthStatsTimeouts, wirelessIfWORPStatsCurrentUplinkBandwidth=wirelessIfWORPStatsCurrentUplinkBandwidth, wirelessIfStaStatsTxDeAuthFrames=wirelessIfStaStatsTxDeAuthFrames, worpQoSSFClassTableIndex=worpQoSSFClassTableIndex, wirelessIfWORPStatsPollNoData=wirelessIfWORPStatsPollNoData, worpQoSSFClassTolerableJitter=worpQoSSFClassTolerableJitter, DisplayString55=DisplayString55, temperature=temperature, wirelessIfDDRSAggressiveIndex=wirelessIfDDRSAggressiveIndex, netIpWirelessCfgSubnetMask=netIpWirelessCfgSubnetMask, staticMACAddrFilterTableIndex=staticMACAddrFilterTableIndex, sysTypeMode=sysTypeMode, sysLicRadioInfoTableEntry=sysLicRadioInfoTableEntry, wirelessIfBlacklistTimeElapsed=wirelessIfBlacklistTimeElapsed, radiusClientAuthStatsTableSecIndex=radiusClientAuthStatsTableSecIndex, igmpWireless1MCastGrpAgingTimeElapsed=igmpWireless1MCastGrpAgingTimeElapsed, igmpWireless1MCastGrpIp=igmpWireless1MCastGrpIp, dhcpServer=dhcpServer, worpSiteSurveyRemoteChainBalStatus=worpSiteSurveyRemoteChainBalStatus, macaclProfileName=macaclProfileName, worpQoSPIRTableIndex=worpQoSPIRTableIndex, sysInvMgmtCompVariant=sysInvMgmtCompVariant, radius=radius, wirelessIfStaStatsStationOperatingMode=wirelessIfStaStatsStationOperatingMode, wirelessIfWORPStatsProvisionedDownlinkCIR=wirelessIfWORPStatsProvisionedDownlinkCIR, wirelessIfWORPStatsReceiveFailures=wirelessIfWORPStatsReceiveFailures, wirelessIfWORPStatsRegistrationAttempts=wirelessIfWORPStatsRegistrationAttempts, worpIntraCellBlockingGroupID6=worpIntraCellBlockingGroupID6, l2l3QoSDSCPPriorityUpperLimit=l2l3QoSDSCPPriorityUpperLimit, worpQoSPIRMacTableEntryStatus=worpQoSPIRMacTableEntryStatus, wirelessIfStaStatsRxProbeResp=wirelessIfStaStatsRxProbeResp, worpSiteSurvey=worpSiteSurvey, wirelessIfDDRSStatus=wirelessIfDDRSStatus, wirelessIf11nPropertiesSupportedRxAntennas=wirelessIf11nPropertiesSupportedRxAntennas, dhcpRelayServerIpAddress=dhcpRelayServerIpAddress, wirelessIf=wirelessIf, wirelessIfVAPSSID=wirelessIfVAPSSID, tcpudpPortFilterInterface=tcpudpPortFilterInterface, wirelessQoS=wirelessQoS, wirelessIfWORPSleepMode=wirelessIfWORPSleepMode, radiusClientAccStatsRequests=radiusClientAccStatsRequests, dhcpServerIpPoolTableEntry=dhcpServerIpPoolTableEntry, sysFeatureNumEtherIf=sysFeatureNumEtherIf, mp_8100_cpe=mp_8100_cpe, dhcpServerIfTableEntry=dhcpServerIfTableEntry, worpSiteSurveyBaseName=worpSiteSurveyBaseName, wirelessIfStats=wirelessIfStats, igmpRouterPortListTableEntry=igmpRouterPortListTableEntry, wirelessIfWORPOutputBandwidthLimit=wirelessIfWORPOutputBandwidthLimit, etherProtocolFilterTableIndex=etherProtocolFilterTableIndex, wirelessIfWORPLinkTestLocalMaxNoise=wirelessIfWORPLinkTestLocalMaxNoise, igmpWireless1MCastTableEntry=igmpWireless1MCastTableEntry, radiusClientAccStatsPacketsDropped=radiusClientAccStatsPacketsDropped, wirelessIfWORPStatsActiveDownlinkCIR=wirelessIfWORPStatsActiveDownlinkCIR, worpQoSPIRPPPoEEncapsulation=worpQoSPIRPPPoEEncapsulation, wirelessIfWORPStaStatsLocalMimoNoise=wirelessIfWORPStaStatsLocalMimoNoise, netIpCfgTableEntry=netIpCfgTableEntry, worpQoSPIRIPTable=worpQoSPIRIPTable, wirelessIfVAPType=wirelessIfVAPType, radiusSrvProfileTable=radiusSrvProfileTable, vlanStatus=vlanStatus, wirelessIfDDRSRateBlackListInt=wirelessIfDDRSRateBlackListInt, wirelessSecurity=wirelessSecurity, ripConfigStatus=ripConfigStatus, ripInterfaceVersionNum=ripInterfaceVersionNum, ethernetIfAutoShutDown=ethernetIfAutoShutDown, wirelessIfWORPRadiusProfileIndex=wirelessIfWORPRadiusProfileIndex, netIpCfgSubnetMask=netIpCfgSubnetMask, staticMACAddrFilterWirelessMACAddress=staticMACAddrFilterWirelessMACAddress, tcpudpPortFilterTableEntry=tcpudpPortFilterTableEntry, worpQoSClassPriority=worpQoSClassPriority, wirelessIfStaStatsRxUnauthPort=wirelessIfStaStatsRxUnauthPort, imageTraps=imageTraps, natStaticPortBindTable=natStaticPortBindTable, wirelessIfWORPLinkTestStatus=wirelessIfWORPLinkTestStatus, wirelessIfStatsCombinedRSSI=wirelessIfStatsCombinedRSSI, radiusClientAuthStatsTableEntry=radiusClientAuthStatsTableEntry, tcpudpPortFilterCtrl=tcpudpPortFilterCtrl, flashMemoryThresholdExceeded=flashMemoryThresholdExceeded, wirelessIfStaStats=wirelessIfStaStats, ethernetIfSupportedSpeed=ethernetIfSupportedSpeed, routingModuleInitFailure=routingModuleInitFailure, tcpudpPortFilterTable=tcpudpPortFilterTable, wirelessIfStaStatsTableSecIndex=wirelessIfStaStatsTableSecIndex, wirelessIfStatsChain1CtlRSSI=wirelessIfStatsChain1CtlRSSI, wirelessSecurityCfgTableIndex=wirelessSecurityCfgTableIndex, worpQoSSFClassStatus=worpQoSSFClassStatus, sysFeatureProductFamily=sysFeatureProductFamily, wirelessIfWORPStaStatsReceiveRetries=wirelessIfWORPStaStatsReceiveRetries, staticMACAddrFilterTable=staticMACAddrFilterTable, netIpWirelessCfgTableEntry=netIpWirelessCfgTableEntry, wirelessIfWORPStaStatsRemoteMimoCtrlSNR2=wirelessIfWORPStaStatsRemoteMimoCtrlSNR2, worpQoSSUTableEntry=worpQoSSUTableEntry, dhcpServerNetMask=dhcpServerNetMask, wirelessIfStaStatsRxMgmtFrames=wirelessIfStaStatsRxMgmtFrames, dhcpServerSecondaryDNS=dhcpServerSecondaryDNS, eventLogPriority=eventLogPriority, worpSiteSurveyNumSatellitesRegistered=worpSiteSurveyNumSatellitesRegistered, wirelessIfWORPTxRate=wirelessIfWORPTxRate, etherprotocolFilterStatus=etherprotocolFilterStatus, sysFeatureFreqBand=sysFeatureFreqBand, wirelessIfWORPStatsRegistrationRejects=wirelessIfWORPStatsRegistrationRejects, igmpSnoopingGlobalStatus=igmpSnoopingGlobalStatus, radiusClientAuthStatsResponses=radiusClientAuthStatsResponses, ripInterfaceName=ripInterfaceName, worpQoSPIRMapDstMacIndexList=worpQoSPIRMapDstMacIndexList, wirelessIfDDRSDecrReTxPercentThrld=wirelessIfDDRSDecrReTxPercentThrld, tcpudpPortFilterTableIndex=tcpudpPortFilterTableIndex, worpQoSPIRIPTableEntry=worpQoSPIRIPTableEntry, sysCountryCode=sysCountryCode, sshPort=sshPort, wirelessIfWORPAutoMultiFrameBursting=wirelessIfWORPAutoMultiFrameBursting, qosProfileTableEntry=qosProfileTableEntry, l2l3QoSDot1dPriority=l2l3QoSDot1dPriority, wirelessIfWORPStaStatsSatelliteName=wirelessIfWORPStaStatsSatelliteName, sysTypeSupportedFreqDomains=sysTypeSupportedFreqDomains, natStaticPortBindTableEntryStatus=natStaticPortBindTableEntryStatus, qosProfileName=qosProfileName, wirelessInterfaceCardInitFailure=wirelessInterfaceCardInitFailure, wirelessIfStatsRxDecryptErrors=wirelessIfStatsRxDecryptErrors, sysTypeTable=sysTypeTable, ripConfigTableIndex=ripConfigTableIndex, operationalTraps=operationalTraps, sysFeatureOpMode=sysFeatureOpMode, mgmtSnmpTrapHostTable=mgmtSnmpTrapHostTable, sysActiveNetworkMode=sysActiveNetworkMode, ap_800=ap_800, radiusSrvProfileServerSharedSecret=radiusSrvProfileServerSharedSecret, InterfaceBitmask=InterfaceBitmask, worpQoSPIRTableEntry=worpQoSPIRTableEntry) mibBuilder.exportSymbols("PROXIM-MIB", vlanEthCfgTableIndex=vlanEthCfgTableIndex, wirelessIfWORPStaStatsRequestForService=wirelessIfWORPStaStatsRequestForService, dhcpServerStatus=dhcpServerStatus, radiusClientAuthStatsAccessRejects=radiusClientAuthStatsAccessRejects, worpQoSSFClassTableEntry=worpQoSSFClassTableEntry, qoSPolicyType=qoSPolicyType, currentUnitTemp=currentUnitTemp, dhcpServerIpPoolInterface=dhcpServerIpPoolInterface, worpQoSPIRMapDstIpAddrIndexList=worpQoSPIRMapDstIpAddrIndexList, worpQoSSFClassCIR=worpQoSSFClassCIR, debugLogBitMask=debugLogBitMask, worpQoSL2BroadcastClass=worpQoSL2BroadcastClass, wirelessIfDDRSTableIndex=wirelessIfDDRSTableIndex, sysLicRadiovariantID=sysLicRadiovariantID, wirelessIfWORPStaStatsTableEntry=wirelessIfWORPStaStatsTableEntry, worpSiteSurveyLocalTxRate=worpSiteSurveyLocalTxRate, wirelessIfWORPSupportedTxRate=wirelessIfWORPSupportedTxRate, wirelessIfVAPRadiusAccStatus=wirelessIfVAPRadiusAccStatus, wirelessQoSEDCATableAIFSN=wirelessQoSEDCATableAIFSN, stormMulticastThreshold=stormMulticastThreshold, sysLicRadioInfoTable=sysLicRadioInfoTable, wirelessIfWORPLinkTestConfTableEntry=wirelessIfWORPLinkTestConfTableEntry, flashModuleInitFailure=flashModuleInitFailure, dhcpServerPrimaryDNS=dhcpServerPrimaryDNS, worpQoSSFClassMaxLatency=worpQoSSFClassMaxLatency, wirelessIfVAPVLANPriority=wirelessIfVAPVLANPriority, sysGPSAltitude=sysGPSAltitude, wirelessIfAntennaGain=wirelessIfAntennaGain, wirelessIfStaStatsRxUnencrypted=wirelessIfStaStatsRxUnencrypted, radiusSrvProfileTableEntry=radiusSrvProfileTableEntry, worpIntraCellBlockingGroupID12=worpIntraCellBlockingGroupID12, mgmtSnmpTrapHostTableEntry=mgmtSnmpTrapHostTableEntry, stormThreshold=stormThreshold, wirelessIfStaStatsAssocationTime=wirelessIfStaStatsAssocationTime, mgmtSnmpV3SecurityLevel=mgmtSnmpV3SecurityLevel, tempLoggingInterval=tempLoggingInterval, radiusClientAuthStatsUnknownTypes=radiusClientAuthStatsUnknownTypes, wirelessIfSupportedChannelBandwidth=wirelessIfSupportedChannelBandwidth, sysInvMgmtCompMinorVersion=sysInvMgmtCompMinorVersion, wirelessIfVAPTableIndex=wirelessIfVAPTableIndex, tftpFileName=tftpFileName, wirelessIfStaStatsTxPSDiscard=wirelessIfStaStatsTxPSDiscard, qoSPolicyTablePolicyName=qoSPolicyTablePolicyName, qos=qos, wirelessSecurityCfgPSK=wirelessSecurityCfgPSK, wirelessIfWORPStaStatsReceiveSuccess=wirelessIfWORPStaStatsReceiveSuccess, wirelessIfWORPLinkTestRemoteMinNoise=wirelessIfWORPLinkTestRemoteMinNoise, radiusClientAuthStatsBadAuthenticators=radiusClientAuthStatsBadAuthenticators, mgmtAccessModuleInitFailure=mgmtAccessModuleInitFailure, worpSiteSurveyOperationTableIndex=worpSiteSurveyOperationTableIndex, igmpEth2MCastTable=igmpEth2MCastTable, igmpRouterPortAgingTimer=igmpRouterPortAgingTimer, wirelessIf11nPropertiesAMPDUMaxNumFrames=wirelessIf11nPropertiesAMPDUMaxNumFrames, macacl=macacl, syslogStatus=syslogStatus, mgmtSnmpReadPassword=mgmtSnmpReadPassword, DisplayString80=DisplayString80, wirelessIf11nPropertiesSupportedTxAntennas=wirelessIf11nPropertiesSupportedTxAntennas, wirelessIfWORPBaseStationName=wirelessIfWORPBaseStationName, worpQoSPIRMapTableIndex=worpQoSPIRMapTableIndex, wirelessIfWORPLinkTestLocalCurNoise=wirelessIfWORPLinkTestLocalCurNoise, stpFrameForwardStatus=stpFrameForwardStatus, wirelessSecurityCfgTableEntry=wirelessSecurityCfgTableEntry, ethernetIfAdminStatus=ethernetIfAdminStatus, worpQoSPIRMacTableEntry=worpQoSPIRMacTableEntry, sysMgmtModulesInitFailure=sysMgmtModulesInitFailure, igmpWireless1MCastTable=igmpWireless1MCastTable, wirelessIfStatsChain2ExtRSSI=wirelessIfStatsChain2ExtRSSI, worpQoSPIREndPort=worpQoSPIREndPort, tcpudpPortFilterTableEntryStatus=tcpudpPortFilterTableEntryStatus, radiusClientAuthStatsTable=radiusClientAuthStatsTable, qoSPolicyTableEntryStatus=qoSPolicyTableEntryStatus, worpSiteSurveyLocalMimoNoise=worpSiteSurveyLocalMimoNoise, wirelessIfWORPRetries=wirelessIfWORPRetries, wirelessIfWORPIntfMacAddress=wirelessIfWORPIntfMacAddress, objects=objects, wirelessIfMPOperationalMode=wirelessIfMPOperationalMode, natStaticPortBindPortType=natStaticPortBindPortType, mgmtSnmpAccessTableEntry=mgmtSnmpAccessTableEntry, wirelessIfWORPLinkTestRemoteCurSNR=wirelessIfWORPLinkTestRemoteCurSNR, wirelessIfWORPBandwidthLimitType=wirelessIfWORPBandwidthLimitType, radiusClientAuthStatsAccessAccepts=radiusClientAuthStatsAccessAccepts, ramMemoryThresholdExceeded=ramMemoryThresholdExceeded, wirelessSecurityCfgKey2=wirelessSecurityCfgKey2, netIpStaticRouteNextHop=netIpStaticRouteNextHop, wirelessIfWORPStatsRegistrationLastReason=wirelessIfWORPStatsRegistrationLastReason, products=products, worpQoSPIRPortTable=worpQoSPIRPortTable, allIntAccessControl=allIntAccessControl, wirelessIfWORPLinkTestStatsTableIndex=wirelessIfWORPLinkTestStatsTableIndex, l2l3QoSDot1DToDot1pMappingTableIndex=l2l3QoSDot1DToDot1pMappingTableIndex, natStaticPortBindStartPortNum=natStaticPortBindStartPortNum, dhcpRelayServerTableIndex=dhcpRelayServerTableIndex, wirelessIfStatsTable=wirelessIfStatsTable, sntpShowCurrentTime=sntpShowCurrentTime, wirelessIfWORPStaStatsMacAddress=wirelessIfWORPStaStatsMacAddress, wirelessIfBlacklistInfoTableSecIndex=wirelessIfBlacklistInfoTableSecIndex, ethernetIfPropertiesTableEntry=ethernetIfPropertiesTableEntry, vlanEthTrunkTableIndex=vlanEthTrunkTableIndex, vlanModuleInitFailure=vlanModuleInitFailure, wlanModuleInitFailure=wlanModuleInitFailure, sysFeatureBitmap=sysFeatureBitmap, ObjStatusActive=ObjStatusActive, wirelessIfDDRSPhyModulation=wirelessIfDDRSPhyModulation, worpQoSSFClassName=worpQoSSFClassName, worpQoSSUTableIndex=worpQoSSUTableIndex, worpSiteSurveyTable=worpSiteSurveyTable, wirelessIfStaStatsRxUnicastFrames=wirelessIfStaStatsRxUnicastFrames, advancedFilterTable=advancedFilterTable, securityGateway=securityGateway, syslogHostComment=syslogHostComment, wirelessIfStaStatsTxDisassociationCode=wirelessIfStaStatsTxDisassociationCode, invalidConfigFile=invalidConfigFile, wirelessIfDDRSMinReqSNRTableEntry=wirelessIfDDRSMinReqSNRTableEntry, sshAccessControl=sshAccessControl, worpSiteSurveySatelliteRegisteredStatus=worpSiteSurveySatelliteRegisteredStatus, sntpTraps=sntpTraps, wirelessIfStatsTxBytes=wirelessIfStatsTxBytes, worpQoSPIRMacTableIndex=worpQoSPIRMacTableIndex, worpQoSPIRIPComment=worpQoSPIRIPComment, advancedFilterTableIndex=advancedFilterTableIndex, worpIntraCellBlockingGroupID7=worpIntraCellBlockingGroupID7, dhcpServerIpPoolStartIpAddress=dhcpServerIpPoolStartIpAddress, wirelessIfVAPSecurityProfileName=wirelessIfVAPSecurityProfileName, wirelessIfOperationalMode=wirelessIfOperationalMode, dhcpServerIpPoolTableIndex=dhcpServerIpPoolTableIndex, debugLogSize=debugLogSize, worpSiteSurveyOperationStatus=worpSiteSurveyOperationStatus, proxim=proxim, wirelessIfStatsRxPkts=wirelessIfStatsRxPkts, staticMACAddrFilterComment=staticMACAddrFilterComment, natStaticPortBindLocalAddr=natStaticPortBindLocalAddr, wirelessIfStaStatsTxAssociationFailedFrames=wirelessIfStaStatsTxAssociationFailedFrames, wirelessIfStaStatsRxControlFrames=wirelessIfStaStatsRxControlFrames, worpQoSPIRMapTable=worpQoSPIRMapTable, sysFeatureInBandwidth=sysFeatureInBandwidth, wirelessIfWORPLinkTestRemoteMaxNoise=wirelessIfWORPLinkTestRemoteMaxNoise, wirelessQoSEDCATableSecIndex=wirelessQoSEDCATableSecIndex, worpIntraCellBlockingGroupID3=worpIntraCellBlockingGroupID3, sys=sys, wirelessQoSEDCATableAPCWmin=wirelessQoSEDCATableAPCWmin, worpQoSClassName=worpQoSClassName, deviceConfig=deviceConfig, macaclProfileTableEntry=macaclProfileTableEntry, worpIntraCellBlockingGroupID16=worpIntraCellBlockingGroupID16, worpQoSPIRMacTable=worpQoSPIRMacTable, worpQoSSFClassTable=worpQoSSFClassTable, wirelessQoSEDCATableIndex=wirelessQoSEDCATableIndex, nat=nat, worpQoSPIRRuleName=worpQoSPIRRuleName, ripInterfaceAuthKey=ripInterfaceAuthKey, wirelessIfWORPStaStatsAverageLocalNoise=wirelessIfWORPStaStatsAverageLocalNoise, wirelessIfBlacklistInfoTable=wirelessIfBlacklistInfoTable, wirelessIfDDRSRateBackOffInt=wirelessIfDDRSRateBackOffInt, eventLogReset=eventLogReset, igmpMembershipAgingTimer=igmpMembershipAgingTimer, qoSPolicyPriorityMapping=qoSPolicyPriorityMapping, wirelessIfWORPStatsRegistrationIncompletes=wirelessIfWORPStatsRegistrationIncompletes, sysContactEmail=sysContactEmail, wirelessIfDDRSMaxDataRate=wirelessIfDDRSMaxDataRate, qoSPolicyTableEntry=qoSPolicyTableEntry, advancedFilterTableEntry=advancedFilterTableEntry, igmpForcedFlood=igmpForcedFlood, wirelessIfStatsChain0ExtRSSI=wirelessIfStatsChain0ExtRSSI, dhcpServerIpPoolEndIpAddress=dhcpServerIpPoolEndIpAddress, sysInvMgmtCompSerialNumber=sysInvMgmtCompSerialNumber, wirelessSecurityCfgTable=wirelessSecurityCfgTable, staticMACAddrFilterWiredMACAddress=staticMACAddrFilterWiredMACAddress, wirelessIfDDRSTable=wirelessIfDDRSTable, ssh=ssh, worpQoSPIRIPToSLow=worpQoSPIRIPToSLow, worpIntraCellBlockingMACTable=worpIntraCellBlockingMACTable, sysFeatureNumRadios=sysFeatureNumRadios, wirelessIfDfsNumSatWithRadarForFreqSwitch=wirelessIfDfsNumSatWithRadarForFreqSwitch, wirelessIfVAPTableEntry=wirelessIfVAPTableEntry, sshSessions=sshSessions, wirelessIfStaStatsTxMulticastFrames=wirelessIfStaStatsTxMulticastFrames, wirelessIfWORPStaStatsAverageRemoteNoise=wirelessIfWORPStaStatsAverageRemoteNoise, tftpModuleInitFailure=tftpModuleInitFailure, snmpAccessControl=snmpAccessControl, netIp=netIp, wirelessSecurityCfgNetworkSecret=wirelessSecurityCfgNetworkSecret, wirelessIfWORPStatsAverageRemoteNoise=wirelessIfWORPStatsAverageRemoteNoise, ethernetIfSupportedTxMode=ethernetIfSupportedTxMode, wirelessIfDDRSChainBalThrld=wirelessIfDDRSChainBalThrld, sysInvMgmtCompTableIndex=sysInvMgmtCompTableIndex, worpQoSPIRMapSrcMacIndexList=worpQoSPIRMapSrcMacIndexList, radiusSrvProfileTableEntryStatus=radiusSrvProfileTableEntryStatus, vlanEthTrunkTable=vlanEthTrunkTable, wirelessInterfaceWorldModeCCNotSet=wirelessInterfaceWorldModeCCNotSet, sysInvMgmtSecurityID=sysInvMgmtSecurityID, radiusClientAccStatsResponses=radiusClientAccStatsResponses, netIpCfgTable=netIpCfgTable, ripConfigTableEntry=ripConfigTableEntry, advancedFilterDirection=advancedFilterDirection, securityGatewayStatus=securityGatewayStatus, dhcpServerDefaultGateway=dhcpServerDefaultGateway, worpQoSPIRPortTableEntry=worpQoSPIRPortTableEntry, wirelessQoSEDCATableAPAIFSN=wirelessQoSEDCATableAPAIFSN, etherProtocolFilterTableStatus=etherProtocolFilterTableStatus, wirelessIfWORPStaStatsLocalMimoCtrlSig2=wirelessIfWORPStaStatsLocalMimoCtrlSig2, netCfgClearIntfStats=netCfgClearIntfStats, wirelessIfStaStatsRxDeMicFail=wirelessIfStaStatsRxDeMicFail, snmpModuleInitFailure=snmpModuleInitFailure, tcpudpPortFilter=tcpudpPortFilter, netIpCfgDefaultRouterIPAddress=netIpCfgDefaultRouterIPAddress, syslogHostTable=syslogHostTable, macaclAddrTableIndex=macaclAddrTableIndex, worpQoSPIRMapSrcPortIndexList=worpQoSPIRMapSrcPortIndexList, etherProtocolFilterTableEntry=etherProtocolFilterTableEntry, sysMonitorRAMUsage=sysMonitorRAMUsage, sysInvMgmt=sysInvMgmt, wirelessIfDDRSIncrReqSNRThrld=wirelessIfDDRSIncrReqSNRThrld, wirelessIfWORPStatsTableIndex=wirelessIfWORPStatsTableIndex, worpQoSClassPIRTableIndex=worpQoSClassPIRTableIndex, wirelessIfWORPLinkTestRemoteCurSignal=wirelessIfWORPLinkTestRemoteCurSignal, wirelessIfWORPStatsAverageLocalSignal=wirelessIfWORPStatsAverageLocalSignal, radiusSrvProfileTableIndex=radiusSrvProfileTableIndex, wirelessIfStaStatsTxAuthenticationFrames=wirelessIfStaStatsTxAuthenticationFrames, trapControl=trapControl, sntp=sntp, wirelessIfWORPStaStatsRemoteMimoCtrlSNR3=wirelessIfWORPStaStatsRemoteMimoCtrlSNR3, qosProfileEDCAProfileName=qosProfileEDCAProfileName, wirelessIfWORPStatsSendFailures=wirelessIfWORPStatsSendFailures, igmpStats=igmpStats, worpQoSPIRPortComment=worpQoSPIRPortComment, wirelessSecurityCfgRekeyingInterval=wirelessSecurityCfgRekeyingInterval, sysTypeSupportedMode=sysTypeSupportedMode, wirelessIfStaStatsTxAssociationFrames=wirelessIfStaStatsTxAssociationFrames, wirelessIfStatsChain0CtlRSSI=wirelessIfStatsChain0CtlRSSI, radiusClientAccStatsMalformedResponses=radiusClientAccStatsMalformedResponses, radiusSrvProfileType=radiusSrvProfileType, wirelessIfStaStatsTxDataFrames=wirelessIfStaStatsTxDataFrames, dhcpServerModuleInitFailure=dhcpServerModuleInitFailure, wirelessQoSEDCATableCWmax=wirelessQoSEDCATableCWmax, sntpModuleInitFailure=sntpModuleInitFailure, wirelessIfWORPStatsBaseStationAnnounces=wirelessIfWORPStatsBaseStationAnnounces, worpQoSPIRIPToSMask=worpQoSPIRIPToSMask, radiusSupProfileTableEntry=radiusSupProfileTableEntry, invalidLicenseFile=invalidLicenseFile, macaclAddrTableEntryStatus=macaclAddrTableEntryStatus, qosProfileTable=qosProfileTable, worpSiteSurveyRemoteMimoCtrlSNR3=worpSiteSurveyRemoteMimoCtrlSNR3, wirelessIfWORPInputBandwidthLimit=wirelessIfWORPInputBandwidthLimit, staticMACAddrFilterWiredMACMask=staticMACAddrFilterWiredMACMask, netCfgSecondaryDNSIpAddress=netCfgSecondaryDNSIpAddress, l2l3QoSDot1DToIPDSCPMappingTable=l2l3QoSDot1DToIPDSCPMappingTable, staticMACAddrFilter=staticMACAddrFilter, worpQoSPIRMapSrcIpAddrIndexList=worpQoSPIRMapSrcIpAddrIndexList, wirelessIfCurrentActiveChannel=wirelessIfCurrentActiveChannel, netIpCfgTableIndex=netIpCfgTableIndex, sysMgmtCfgCommit=sysMgmtCfgCommit, wirelessIfSupportedOperationalMode=wirelessIfSupportedOperationalMode, radiusSupProfileTableIndex=radiusSupProfileTableIndex) mibBuilder.exportSymbols("PROXIM-MIB", radiusSupProfileTableEntryStatus=radiusSupProfileTableEntryStatus, wirelessIf11nPropertiesAMPDUMaxFrameSize=wirelessIf11nPropertiesAMPDUMaxFrameSize, igmpRouterPortListTable=igmpRouterPortListTable, worpSiteSurveyLocalMimoCtrlSig2=worpSiteSurveyLocalMimoCtrlSig2, wirelessIfDDRSIncrAvgSNRThrld=wirelessIfDDRSIncrAvgSNRThrld, wirelessIfStaStatsTxAuthenticationFailed=wirelessIfStaStatsTxAuthenticationFailed, wirelessIfSatelliteDensity=wirelessIfSatelliteDensity, macaclAddrComment=macaclAddrComment, wirelessIfStaStatsRxBytes=wirelessIfStaStatsRxBytes, dhcpRelayServerTableEntry=dhcpRelayServerTableEntry, wirelessIfWORPStaStatsRemoteMimoNoise=wirelessIfWORPStaStatsRemoteMimoNoise, masterAgentExited=masterAgentExited, wirelessIfStaStatsTableIndex=wirelessIfStaStatsTableIndex, etherProtocolFilterProtocolNumber=etherProtocolFilterProtocolNumber, radiusSupProfileTable=radiusSupProfileTable, wirelessIfStaStatsRxMulticastFrames=wirelessIfStaStatsRxMulticastFrames, advancedFilterTableEntryStatus=advancedFilterTableEntryStatus, wirelessIfWORPLinkTestStatsTable=wirelessIfWORPLinkTestStatsTable, sysLicFeatureTableEntry=sysLicFeatureTableEntry, wirelessIf11nPropertiesGuardInterval=wirelessIf11nPropertiesGuardInterval, worpQoSPIRMapTableEntry=worpQoSPIRMapTableEntry, worpIntraCellBlockingGroupID8=worpIntraCellBlockingGroupID8, worpIntraCellBlockingGroupID5=worpIntraCellBlockingGroupID5, wirelessIfWORPMultiFrameBursting=wirelessIfWORPMultiFrameBursting, telnetAccessControl=telnetAccessControl, wirelessIfStaStatsInactivityTimer=wirelessIfStaStatsInactivityTimer, wirelessIfStaStatsTxPower=wirelessIfStaStatsTxPower, worpSiteSurveyRemoteMimoNoise=worpSiteSurveyRemoteMimoNoise, WEPKeyType=WEPKeyType, wirelessIfSupportedChannels=wirelessIfSupportedChannels, mgmtSnmpTrapHostTableEntryStatus=mgmtSnmpTrapHostTableEntryStatus, worpQoS=worpQoS, wirelessIfStaStatsAuthenAlgorithm=wirelessIfStaStatsAuthenAlgorithm, wirelessIfWORPStaStatsLocalMimoCtrlSNR1=wirelessIfWORPStaStatsLocalMimoCtrlSNR1, genericTrap=genericTrap, sysMgmtCfgRestore=sysMgmtCfgRestore, configurationAppliedSuccessfully=configurationAppliedSuccessfully, sysMonitor=sysMonitor, wirelessSecurityCfgAuthenticationMode=wirelessSecurityCfgAuthenticationMode, qoSPolicyTableIndex=qoSPolicyTableIndex, ethVLANTrunkId=ethVLANTrunkId, vlanEthTrunkTableEntryStatus=vlanEthTrunkTableEntryStatus, worpSiteSurveyRemoteSNR=worpSiteSurveyRemoteSNR, wirelessIfVAPBroadcastSSID=wirelessIfVAPBroadcastSSID, wirelessIfWORPStatsRemotePartners=wirelessIfWORPStatsRemotePartners, worpQoSPIRMacAddr=worpQoSPIRMacAddr, tcpudpPortFilterPortType=tcpudpPortFilterPortType, wirelessIfWORPStaStatsAverageRemoteSignal=wirelessIfWORPStaStatsAverageRemoteSignal, worpSiteSurveyLocalSignalLevel=worpSiteSurveyLocalSignalLevel, mgmtAccessControl=mgmtAccessControl, mgmtSnmpAccessTable=mgmtSnmpAccessTable, wirelessQoSEDCATableAPCWmax=wirelessQoSEDCATableAPCWmax, l2l3QoSDSCPPriorityLowerLimit=l2l3QoSDSCPPriorityLowerLimit, mgmtSnmpV3AuthProtocol=mgmtSnmpV3AuthProtocol, filteringCtrl=filteringCtrl, mgmtAccessTableIndex=mgmtAccessTableIndex, wirelessIfWORPLinkTestRemoteMaxSNR=wirelessIfWORPLinkTestRemoteMaxSNR, natStaticPortBindEndPortNum=natStaticPortBindEndPortNum, sysTypeActiveMode=sysTypeActiveMode, filteringModuleInitFailure=filteringModuleInitFailure, wirelessIfDDRSDecrReqSNRThrld=wirelessIfDDRSDecrReqSNRThrld, securityGatewayMacAddress=securityGatewayMacAddress, sysMgmtCfgChangeCnt=sysMgmtCfgChangeCnt, wirelessSecurityCfgdot1xWepKeyLength=wirelessSecurityCfgdot1xWepKeyLength, mgmtVLANIdentifier=mgmtVLANIdentifier, siteSurvey=siteSurvey, sysInvMgmtCompReleaseVersion=sysInvMgmtCompReleaseVersion, sysLicRadioAntennaMimoType=sysLicRadioAntennaMimoType, wirelessIfWORPStatsRegistrationTimeouts=wirelessIfWORPStatsRegistrationTimeouts, sysGPSLatitude=sysGPSLatitude, dhcp=dhcp, apSecurity=apSecurity, wirelessIfBlacklistedChannelNum=wirelessIfBlacklistedChannelNum, sysFeatureNumOfSatellitesAllowed=sysFeatureNumOfSatellitesAllowed, wirelessIfWORPStatsPollData=wirelessIfWORPStatsPollData, wirelessIfStaStatsFrequency=wirelessIfStaStatsFrequency, worpSiteSurveyRemoteMimoCtrlSig1=worpSiteSurveyRemoteMimoCtrlSig1, worpQoSPIRPortTableIndex=worpQoSPIRPortTableIndex, wirelessIfDDRSMinReqSNRTableSecIndex=wirelessIfDDRSMinReqSNRTableSecIndex, radiusSrvIPADDR=radiusSrvIPADDR, tcpudpPortFilterPortNumber=tcpudpPortFilterPortNumber, worpIntraCellBlockingGroupID2=worpIntraCellBlockingGroupID2, stormThresholdTable=stormThresholdTable, worpSiteSurveyLocalMimoCtrlSNR3=worpSiteSurveyLocalMimoCtrlSNR3, worpQoSClassSFCTableIndex=worpQoSClassSFCTableIndex, sntpFailure=sntpFailure, igmpEth1MCastTableEntry=igmpEth1MCastTableEntry, wirelessQoSEDCATableAPACM=wirelessQoSEDCATableAPACM, worpSiteSurveyOperationTable=worpSiteSurveyOperationTable, syslogHostTableEntry=syslogHostTableEntry, highTempThreshold=highTempThreshold, sysTypeFreqDomain=sysTypeFreqDomain, wirelessIfStaStatsMACAddress=wirelessIfStaStatsMACAddress, radiusClientAuthStatsRoundTripTime=radiusClientAuthStatsRoundTripTime, netIpCfgAddressType=netIpCfgAddressType, sysMgmtFactoryReset=sysMgmtFactoryReset, mgmtSnmpV3PrivProtocol=mgmtSnmpV3PrivProtocol, sysFeatureCumulativeBandwidth=sysFeatureCumulativeBandwidth, wirelessIfStaStatsRxDecapFailed=wirelessIfStaStatsRxDecapFailed, wirelessIfTransmittedRate=wirelessIfTransmittedRate, wirelessQoSEDCATableTXOP=wirelessQoSEDCATableTXOP, wirelessIf11nPropertiesTxAntennas=wirelessIf11nPropertiesTxAntennas, wirelessInterfaceCardRadarInterferenceDetected=wirelessInterfaceCardRadarInterferenceDetected, sysLicRadioCompID=sysLicRadioCompID, staticMACAddrFilterTableEntryStatus=staticMACAddrFilterTableEntryStatus, traps=traps, worpQoSSUComment=worpQoSSUComment, httpAccessControl=httpAccessControl, ethernetIfSupportedModes=ethernetIfSupportedModes, systemName=systemName, wirelessIfWORPStaStatsPollData=wirelessIfWORPStaStatsPollData, wirelessIfWORPNetworkName=wirelessIfWORPNetworkName, ethernetIfTxModeAndSpeed=ethernetIfTxModeAndSpeed, l2l3QoSDot1dPriorityIPDSCP=l2l3QoSDot1dPriorityIPDSCP, wirelessIfWORPStatsProvisionedUplinkMIR=wirelessIfWORPStatsProvisionedUplinkMIR, sysConf=sysConf, wirelessIfPropertiesTableEntry=wirelessIfPropertiesTableEntry, accessVLANPriority=accessVLANPriority, radiusSupProfileName=radiusSupProfileName, wirelessIfWORPStaStatsRemoteTxRate=wirelessIfWORPStaStatsRemoteTxRate, natStaticPortBindTableEntry=natStaticPortBindTableEntry, deviceMgmt=deviceMgmt, wirelessIfWORPLinkTestLocalMinSignal=wirelessIfWORPLinkTestLocalMinSignal, worpSiteSurveyLocalMimoCtrlSNR2=worpSiteSurveyLocalMimoCtrlSNR2, wirelessIf11nPropertiesFrequencyExtension=wirelessIf11nPropertiesFrequencyExtension, sysLicFeatureTableIndex=sysLicFeatureTableIndex, wirelessIfWORPStaStatsReplyNoData=wirelessIfWORPStaStatsReplyNoData, http=http, wirelessIfWORPStaStatsLocalTxRate=wirelessIfWORPStaStatsLocalTxRate, worpQoSClassTableIndex=worpQoSClassTableIndex, wirelessIfMon=wirelessIfMon, macaclProfileTableIndex=macaclProfileTableIndex, tftpSrvIpAddress=tftpSrvIpAddress, qoSPolicyMarkingStatus=qoSPolicyMarkingStatus, dhcpServerInterfaceType=dhcpServerInterfaceType, netIpStaticRouteMetric=netIpStaticRouteMetric, lowTempThreshold=lowTempThreshold, wirelessIfVAPTableSecIndex=wirelessIfVAPTableSecIndex, network=network, etherProtocolFilteringType=etherProtocolFilteringType, mgmtSnmpTrapHostTableComment=mgmtSnmpTrapHostTableComment, worpQoSPIRTableEntryStatus=worpQoSPIRTableEntryStatus, wirelessIfWORPLinkTestLocalCurSignal=wirelessIfWORPLinkTestLocalCurSignal, wirelessIfStatsChain2CtlRSSI=wirelessIfStatsChain2CtlRSSI, advancedFiltering=advancedFiltering, telnetSessions=telnetSessions, netCfgAllIntfDefaultRouterAddr=netCfgAllIntfDefaultRouterAddr, wirelessIfWORPStatsActiveDownlinkMIR=wirelessIfWORPStatsActiveDownlinkMIR, radiusClientAccStatsTableEntry=radiusClientAccStatsTableEntry, securityTraps=securityTraps, mgmtSnmpV3AuthPassword=mgmtSnmpV3AuthPassword, dhcpServerIfTableComment=dhcpServerIfTableComment, wirelessIfWORPStaStatsLocalMimoCtrlSig3=wirelessIfWORPStaStatsLocalMimoCtrlSig3, wirelessIfWORPLinkTest=wirelessIfWORPLinkTest, wirelessIfWORPLinkTestConfTableIndex=wirelessIfWORPLinkTestConfTableIndex, wirelessIfStatsRxBytes=wirelessIfStatsRxBytes, worpSiteSurveyRemoteMimoCtrlSig3=worpSiteSurveyRemoteMimoCtrlSig3, wirelessQoSEDCATableACM=wirelessQoSEDCATableACM, telnetPort=telnetPort, qoSPolicyTable=qoSPolicyTable, dhcpServerIfTable=dhcpServerIfTable, radiusClientAuthStatsMalformedResponses=radiusClientAuthStatsMalformedResponses, sntpStatus=sntpStatus, wirelessInterfaceChannelChanged=wirelessInterfaceChannelChanged, wirelessIfCurrentChannelBandwidth=wirelessIfCurrentChannelBandwidth, worpSiteSurveyTableEntry=worpSiteSurveyTableEntry, wirelessIfStaStatsRxDupFrames=wirelessIfStaStatsRxDupFrames, wirelessIfStaStatsRxBeacons=wirelessIfStaStatsRxBeacons, staticMACAddrFilterWirelessMACMask=staticMACAddrFilterWirelessMACMask, qb_8100=qb_8100, worpIntraCellBlockingGroupTable=worpIntraCellBlockingGroupTable, wirelessSecurityCfgKey3=wirelessSecurityCfgKey3, ethernetIfMACAddress=ethernetIfMACAddress, wirelessIfWORPLinkTestStationName=wirelessIfWORPLinkTestStationName, wirelessIfStaStatsVAPNumber=wirelessIfStaStatsVAPNumber, syslog=syslog, worpSiteSurveyBaseBridgePort=worpSiteSurveyBaseBridgePort, wirelessIfWORPStaStatsSendSuccess=wirelessIfWORPStaStatsSendSuccess, l2l3QoSDot1DToIPDSCPMappingTableIndex=l2l3QoSDot1DToIPDSCPMappingTableIndex, mgmtSnmpReadWritePassword=mgmtSnmpReadWritePassword, radiusSupProfileMsgResponseTime=radiusSupProfileMsgResponseTime, worpQoSSFClassSchedularType=worpQoSSFClassSchedularType, wirelessIfWORPStaStatsReceiveFailures=wirelessIfWORPStaStatsReceiveFailures, wirelessIfStatsRadioReTunes=wirelessIfStatsRadioReTunes, mgmtAccessTable=mgmtAccessTable, wirelessIfWORPStaStatsTableIndex=wirelessIfWORPStaStatsTableIndex, worpQoSSFClassTrafficPriority=worpQoSSFClassTrafficPriority, sysutilsModuleInitFailure=sysutilsModuleInitFailure, radiusClientAccStatsTable=radiusClientAccStatsTable, V3Password=V3Password, worpSiteSurveyTableIndex=worpSiteSurveyTableIndex, wirelessInActivityTimerInSecs=wirelessInActivityTimerInSecs, sysTypeTableEntry=sysTypeTableEntry, tftpOpType=tftpOpType, wirelessIfWORPStaStatsLocalChainBalStatus=wirelessIfWORPStaStatsLocalChainBalStatus, worpIntraCellBlockingStatus=worpIntraCellBlockingStatus, worpQoSPIRIPTableIndex=worpQoSPIRIPTableIndex, wirelessIfWORPLinkTestExploreStatus=wirelessIfWORPLinkTestExploreStatus, macaclAddrTableMACAddress=macaclAddrTableMACAddress, qosProfileTablePolicyName=qosProfileTablePolicyName, macaclProfileTable=macaclProfileTable, worpQoSSFClassNumOfMesgInBurst=worpQoSSFClassNumOfMesgInBurst, worpQoSSFClassTableEntryStatus=worpQoSSFClassTableEntryStatus, igmpEth2MCastTableIndex=igmpEth2MCastTableIndex, wirelessIf11nPropertiesNumOfSpatialStreams=wirelessIf11nPropertiesNumOfSpatialStreams, worpQoSPIRMapDstPortIndexList=worpQoSPIRMapDstPortIndexList, wirelessIfStaStatsRxDisassociationFrames=wirelessIfStaStatsRxDisassociationFrames, radiusSrvNotResponding=radiusSrvNotResponding, worpSiteSurveyChannelRxRate=worpSiteSurveyChannelRxRate, productDescr=productDescr, mgmtVLANPriority=mgmtVLANPriority, wirelessIfWORPLinkTestLocalMaxSignal=wirelessIfWORPLinkTestLocalMaxSignal, igmpEth1MCastGrpAgingTimeElapsed=igmpEth1MCastGrpAgingTimeElapsed, igmpEth2MCastTableEntry=igmpEth2MCastTableEntry, worpSiteSurveyLocalMimoCtrlSNR1=worpSiteSurveyLocalMimoCtrlSNR1, sysMgmtCfgErrorMsg=sysMgmtCfgErrorMsg, wirelessIfWORPStaStatsRemoteMimoCtrlSNR1=wirelessIfWORPStaStatsRemoteMimoCtrlSNR1, wirelessIfAutoChannelSelection=wirelessIfAutoChannelSelection, sysLicRadioInfoTableIndex=sysLicRadioInfoTableIndex, wirelessIfStaStatsAssociationID=wirelessIfStaStatsAssociationID, wirelessIfWORPStaStatsRemoteChainBalStatus=wirelessIfWORPStaStatsRemoteChainBalStatus, wirelessIfWORPLinkTestLocalMaxSNR=wirelessIfWORPLinkTestLocalMaxSNR, radiusClientAuthStatsTableIndex=radiusClientAuthStatsTableIndex, wirelessIfSupportedRate=wirelessIfSupportedRate, wirelessIfWORPTable=wirelessIfWORPTable, wirelessIfStatsPhyErrors=wirelessIfStatsPhyErrors, invalidImage=invalidImage, worpQoSSFClassDirection=worpQoSSFClassDirection, wirelessIfWORPMTU=wirelessIfWORPMTU, wirelessIfStaStatsRxDecryptFailedOnCRC=wirelessIfStaStatsRxDecryptFailedOnCRC, wirelessIfStatsTxPkts=wirelessIfStatsTxPkts, sysNetworkMode=sysNetworkMode, wirelessSecurityCfgKey1=wirelessSecurityCfgKey1, netIpWirelessCfgTableIndex=netIpWirelessCfgTableIndex, wirelessIfWORPStatsProvisionedUplinkCIR=wirelessIfWORPStatsProvisionedUplinkCIR, worpSiteSurveyChannelBandwidth=worpSiteSurveyChannelBandwidth, worpSiteSurveyLocalMimoCtrlSig3=worpSiteSurveyLocalMimoCtrlSig3, sntpDayLightSavingTime=sntpDayLightSavingTime, qosProfileTableIndex=qosProfileTableIndex, worpQoSPIRMacMask=worpQoSPIRMacMask)
"""This module contains the general information for FirmwareSecureFPGA ManagedObject.""" from ...ucsmo import ManagedObject from ...ucscoremeta import MoPropertyMeta, MoMeta from ...ucsmeta import VersionMeta class FirmwareSecureFPGAConsts: FPGAIMAGE_STATUS_ACTIVATION_FAILED = "Activation Failed" FPGAIMAGE_STATUS_ACTIVATION_IN_PROGRESS = "Activation In Progress" FPGAIMAGE_STATUS_READY = "Ready" SECURED_FALSE = "false" SECURED_NO = "no" SECURED_TRUE = "true" SECURED_YES = "yes" class FirmwareSecureFPGA(ManagedObject): """This is FirmwareSecureFPGA class.""" consts = FirmwareSecureFPGAConsts() naming_props = set([]) mo_meta = MoMeta("FirmwareSecureFPGA", "firmwareSecureFPGA", "fw-secure-fpga", VersionMeta.Version413a, "InputOutput", 0x7f, [], ["admin"], ['networkElement'], ['faultInst'], [None]) prop_meta = { "fpga_image_status": MoPropertyMeta("fpga_image_status", "FPGAImageStatus", "string", VersionMeta.Version413a, MoPropertyMeta.READ_WRITE, 0x2, None, None, None, ["Activation Failed", "Activation In Progress", "Ready"], []), "secured": MoPropertyMeta("secured", "Secured", "string", VersionMeta.Version413a, MoPropertyMeta.READ_WRITE, 0x4, None, None, None, ["false", "no", "true", "yes"], []), "child_action": MoPropertyMeta("child_action", "childAction", "string", VersionMeta.Version413a, MoPropertyMeta.INTERNAL, 0x8, None, None, r"""((deleteAll|ignore|deleteNonPresent),){0,2}(deleteAll|ignore|deleteNonPresent){0,1}""", [], []), "dn": MoPropertyMeta("dn", "dn", "string", VersionMeta.Version413a, MoPropertyMeta.READ_ONLY, 0x10, 0, 256, None, [], []), "rn": MoPropertyMeta("rn", "rn", "string", VersionMeta.Version413a, MoPropertyMeta.READ_ONLY, 0x20, 0, 256, None, [], []), "sacl": MoPropertyMeta("sacl", "sacl", "string", VersionMeta.Version413a, MoPropertyMeta.READ_ONLY, None, None, None, r"""((none|del|mod|addchild|cascade),){0,4}(none|del|mod|addchild|cascade){0,1}""", [], []), "status": MoPropertyMeta("status", "status", "string", VersionMeta.Version413a, MoPropertyMeta.READ_WRITE, 0x40, None, None, r"""((removed|created|modified|deleted),){0,3}(removed|created|modified|deleted){0,1}""", [], []), } prop_map = { "FPGAImageStatus": "fpga_image_status", "Secured": "secured", "childAction": "child_action", "dn": "dn", "rn": "rn", "sacl": "sacl", "status": "status", } def __init__(self, parent_mo_or_dn, **kwargs): self._dirty_mask = 0 self.fpga_image_status = None self.secured = None self.child_action = None self.sacl = None self.status = None ManagedObject.__init__(self, "FirmwareSecureFPGA", parent_mo_or_dn, **kwargs)
# Show the curse of dimensionality. import numpy as np import matplotlib.pyplot as plt import pyprobml_utils as pml ds = [1., 3., 5., 7., 10.] s = np.linspace(0, 1, 100) for d in ds: y = s ** (1 / d) plt.plot(s, y, 'b-') plt.text(0.3, 0.3**(1/d), 'd=%d' % d) plt.xlabel('Fraction of data in neighborhood') plt.ylabel('Edge length of cube') pml.savefig('curseDimensionality.pdf') plt.show()
import os from datetime import datetime from typing import Any from typing import Dict from typing import Optional from typing import Union from twitterapiv2.http import Http from twitterapiv2.model.recent.recent import Recent as SearchResponse _BEARER_TOKEN = "TW_BEARER_TOKEN" class SearchClient(Http): URL = "https://api.twitter.com/2/tweets/search/recent" def __init__(self, num_pools: int = 10) -> None: """ Create Search Recent client. Use methods to build query a .search() to run The environment variable "TW_BEARER_TOKEN" is required; set with the applicaton bearer token. This can be set manually or loaded with the use of AuthClient.set_bearer_token(). """ super().__init__(num_pools=num_pools) self._fields: Dict[str, Any] = {} self._next_token: Optional[str] = None self._previous_token: Optional[str] = None @property def fields(self) -> Dict[str, Any]: """Returns fields that have been defined""" return {key: str(value) for key, value in self._fields.items() if value} @property def next_token(self) -> Optional[str]: """Return next_token for pagination or `None` when all results are polled""" return self._next_token @property def previous_token(self) -> Optional[str]: """Return previous_token for pagination or `None` when all results are polled""" return self._previous_token def start_time(self, start: Union[str, datetime, None]) -> "SearchClient": """Define start_time of query. YYYY-MM-DDTHH:mm:ssZ (ISO 8601/RFC 3339)""" if isinstance(start, datetime): start = self._to_ISO8601(start) self._fields["start_time"] = start if start else None return self._new_client() def end_time(self, end: Union[str, datetime, None]) -> "SearchClient": """ Define end_time of query. YYYY-MM-DDTHH:mm:ssZ (ISO 8601/RFC 3339) NOTE: The end_time cannot be less than 10 seconds from "now" """ if isinstance(end, datetime): end = self._to_ISO8601(end) self._fields["end_time"] = end if end else None return self._new_client() def since_id(self, since_id: Optional[str]) -> "SearchClient": """Define since_id of query. Returns results with a Tweet ID greater than""" self._fields["since_id"] = since_id if since_id else None return self._new_client() def until_id(self, until_id: Optional[str]) -> "SearchClient": """Define until_id of query. Returns results with a Tweet ID less than""" self._fields["until_id"] = until_id if until_id else None return self._new_client() def expansions(self, expansions: Optional[str]) -> "SearchClient": """ Define expansions of query. Comma seperated with no spaces: attachments.poll_ids, attachments.media_keys, author_id, entities.mentions.username, geo.place_id, in_reply_to_user_id, referenced_tweets.id, referenced_tweets.id.author_id """ self._fields["expansions"] = expansions if expansions else None return self._new_client() def media_fields(self, media_fields: Optional[str]) -> "SearchClient": """ Define media_fields of query. Comma seperated with no spaces: duration_ms, height, media_key, preview_image_url, type, url, width, public_metrics, non_public_metrics, organic_metrics, promoted_metrics, alt_text """ self._fields["media.fields"] = media_fields if media_fields else None return self._new_client() def place_fields(self, place_fields: Optional[str]) -> "SearchClient": """ Define place_fields of query. Comma seperated with no spaces: contained_within, country, country_code, full_name, geo, id, name, place_type """ self._fields["place.fields"] = place_fields if place_fields else None return self._new_client() def poll_fields(self, poll_fields: Optional[str]) -> "SearchClient": """ Define poll_fields of query. Comma seperated with no spaces: duration_minutes, end_datetime, id, options, voting_status """ self._fields["poll.fields"] = poll_fields if poll_fields else None return self._new_client() def tweet_fields(self, tweet_fields: Optional[str]) -> "SearchClient": """ Define tweet_fields of query. Comma seperated with no spaces: attachments, author_id, context_annotations, conversation_id, created_at, entities, geo, id, in_reply_to_user_id, lang, non_public_metrics, public_metrics, organic_metrics, promoted_metrics, possibly_sensitive, referenced_tweets, reply_settings, source, text, withheld """ self._fields["tweet.fields"] = tweet_fields if tweet_fields else None return self._new_client() def user_fields(self, user_fields: Optional[str]) -> "SearchClient": """ Define user_fields of query. Comma seperated with no spaces: created_at, description, entities, id, location, name, pinned_tweet_id, profile_image_url, protected, public_metrics, url, username, verified, withheld """ self._fields["user_fields"] = user_fields if user_fields else None return self._new_client() def max_results(self, max_results: Optional[int]) -> "SearchClient": """A number between 10 and 100. By default, set at 10 results""" self._fields["max_results"] = max_results if max_results else None return self._new_client() def search( self, query: str, *, page_token: Optional[str] = None, ) -> SearchResponse: """ Search tweets from up to the last seven days. max size of results is 100 For pagination; feed the `.next_token()` or `.previous_token()` property into the `next_token` parameter. These default to None and can be safely referenced prior to, and after, searches. """ self._fields["query"] = query self._fields["next_token"] = page_token result = SearchResponse.build_obj( super().get(self.URL, self.fields, self._headers()) ) self._next_token = result.meta.next_token self._previous_token = result.meta.previous_token return result def _headers(self) -> Dict[str, str]: """Build headers with TW_BEARER_TOKEN from environ""" return {"Authorization": "Bearer " + os.getenv(_BEARER_TOKEN, "")} def _new_client(self) -> "SearchClient": """Used to create a new client with attributes carried forward""" new_client = SearchClient() new_client._fields.update(self._fields) return new_client @staticmethod def _to_ISO8601(dt: datetime) -> str: """Convert datetime object to ISO 8601 standard UTC string""" return dt.strftime("%Y-%m-%dT%H:%M:%SZ")
"""Anomalib Inferencer Script. This script performs inference by reading a model config file from command line, and show the visualization results. """ # Copyright (C) 2020 Intel Corporation # # 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 warnings from argparse import ArgumentParser, Namespace from importlib import import_module from pathlib import Path from typing import Optional import cv2 import numpy as np from anomalib.config import get_configurable_parameters from anomalib.deploy.inferencers.base import Inferencer def get_args() -> Namespace: """Get command line arguments. Returns: Namespace: List of arguments. """ parser = ArgumentParser() # --model_config_path will be deprecated in 0.2.8 and removed in 0.2.9 parser.add_argument("--model_config_path", type=str, required=False, help="Path to a model config file") parser.add_argument("--config", type=Path, required=True, help="Path to a model config file") parser.add_argument("--weight_path", type=Path, required=True, help="Path to a model weights") parser.add_argument("--image_path", type=Path, required=True, help="Path to an image to infer.") parser.add_argument("--save_path", type=Path, required=False, help="Path to save the output image.") parser.add_argument("--meta_data", type=Path, required=False, help="Path to JSON file containing the metadata.") parser.add_argument( "--overlay_mask", type=bool, required=False, default=False, help="Overlay the segmentation mask on the image. It assumes that the task is segmentation.", ) args = parser.parse_args() if args.model_config_path is not None: warnings.warn( message="--model_config_path will be deprecated in v0.2.8 and removed in v0.2.9. Use --config instead.", category=DeprecationWarning, stacklevel=2, ) args.config = args.model_config_path return args def add_label(prediction: np.ndarray, scores: float, font: int = cv2.FONT_HERSHEY_PLAIN) -> np.ndarray: """If the model outputs score, it adds the score to the output image. Args: prediction (np.ndarray): Resized anomaly map. scores (float): Confidence score. Returns: np.ndarray: Image with score text. """ text = f"Confidence Score {scores:.0%}" font_size = prediction.shape[1] // 1024 + 1 # Text scale is calculated based on the reference size of 1024 (width, height), baseline = cv2.getTextSize(text, font, font_size, thickness=font_size // 2) label_patch = np.zeros((height + baseline, width + baseline, 3), dtype=np.uint8) label_patch[:, :] = (225, 252, 134) cv2.putText(label_patch, text, (0, baseline // 2 + height), font, font_size, 0, lineType=cv2.LINE_AA) prediction[: baseline + height, : baseline + width] = label_patch return prediction def stream() -> None: """Stream predictions. Show/save the output if path is to an image. If the path is a directory, go over each image in the directory. """ # Get the command line arguments, and config from the config.yaml file. # This config file is also used for training and contains all the relevant # information regarding the data, model, train and inference details. args = get_args() config = get_configurable_parameters(config_path=args.config) # Get the inferencer. We use .ckpt extension for Torch models and (onnx, bin) # for the openvino models. extension = args.weight_path.suffix inferencer: Inferencer if extension in (".ckpt"): module = import_module("anomalib.deploy.inferencers.torch") TorchInferencer = getattr(module, "TorchInferencer") # pylint: disable=invalid-name inferencer = TorchInferencer(config=config, model_source=args.weight_path, meta_data_path=args.meta_data) elif extension in (".onnx", ".bin", ".xml"): module = import_module("anomalib.deploy.inferencers.openvino") OpenVINOInferencer = getattr(module, "OpenVINOInferencer") # pylint: disable=invalid-name inferencer = OpenVINOInferencer(config=config, path=args.weight_path, meta_data_path=args.meta_data) else: raise ValueError( f"Model extension is not supported. Torch Inferencer exptects a .ckpt file," f"OpenVINO Inferencer expects either .onnx, .bin or .xml file. Got {extension}" ) if args.image_path.is_dir(): # Write the output to save_path in the same structure as the input directory. for image in args.image_path.glob("**/*"): if image.is_file() and image.suffix in (".jpg", ".png", ".jpeg"): # Here save_path is assumed to be a directory. Image subdirectories are appended to the save_path. save_path = Path(args.save_path / image.relative_to(args.image_path).parent) if args.save_path else None infer(image, inferencer, save_path, args.overlay_mask) elif args.image_path.suffix in (".jpg", ".png", ".jpeg"): infer(args.image_path, inferencer, args.save_path, args.overlay_mask) else: raise ValueError( f"Image extension is not supported. Supported extensions are .jpg, .png, .jpeg." f" Got {args.image_path.suffix}" ) def infer(image_path: Path, inferencer: Inferencer, save_path: Optional[Path] = None, overlay: bool = False) -> None: """Perform inference on a single image. Args: image_path (Path): Path to image/directory containing images. inferencer (Inferencer): Inferencer to use. save_path (Path, optional): Path to save the output image. If this is None, the output is visualized. overlay (bool, optional): Overlay the segmentation mask on the image. It assumes that the task is segmentation. """ # Perform inference for the given image or image path. if image # path is provided, `predict` method will read the image from # file for convenience. We set the superimpose flag to True # to overlay the predicted anomaly map on top of the input image. output = inferencer.predict(image=image_path, superimpose=True, overlay_mask=overlay) # Incase both anomaly map and scores are returned add scores to the image. if isinstance(output, tuple): anomaly_map, score = output output = add_label(anomaly_map, score) # Show or save the output image, depending on what's provided as # the command line argument. output = cv2.cvtColor(output, cv2.COLOR_RGB2BGR) if save_path is None: cv2.imshow("Anomaly Map", output) cv2.waitKey(0) # wait for any key press else: # Create directory for parents if it doesn't exist. save_path.parent.mkdir(parents=True, exist_ok=True) if save_path.suffix == "": # This is a directory save_path.mkdir(exist_ok=True) # Create current directory save_path = save_path / image_path.name cv2.imwrite(filename=str(save_path), img=output) if __name__ == "__main__": stream()
from queue import Queue dr = [0, 0, -1, 1] dc = [-1, 1, 0, 0] def BFS(sr, sc, fr, fc): q = Queue() q.put((sr, sc)) gameMap[sr][sc] = "X" while not q.empty(): ur, uc = q.get() for i in range(4): r = dr[i] + ur c = dc[i] + uc if (r, c) == (fr, fc) and gameMap[r][c] == "X": return True if r in range(n) and c in range(m) and gameMap[r][c] == ".": gameMap[r][c] = "X" q.put((r, c)) return False n, m = map(int, input().split()) gameMap = [list(input()) for i in range(n)] sr, sc = map(int, input().split()) fr, fc = map(int, input().split()) print("YES" if BFS(sr - 1, sc - 1, fr - 1, fc - 1 ) else "NO")
#!/usr/bin/env python3 import time import threading import requests from bs4 import BeautifulSoup import numpy as np import pandas as pd from bokeh.plotting import figure, output_file, show from bokeh.models import ColumnDataSource, HoverTool URL = 'http://192.168.1.18/' #Temperature sensor endpoint FILENAME = 'ts_temp.txt' #file to store temperature data def genframe(): """ Generates dataframe from CSV file containing temperature data Returns a smoothed data frame and last temperature reading """ data_frame = pd.read_csv(FILENAME, sep=' ', header=None, names=['Timestamp', 'Temperature'], parse_dates=['Timestamp'], date_parser=lambda epoch: pd.to_datetime(epoch, unit='s')) #Experimentally determined window length to provide appropriate smoothing of the graph, # +1 is for conditions where the data frame does not contain enough data hence setting window size to 1 smoothed_df = data_frame.set_index('Timestamp').interpolate().rolling(window=len(data_frame)//17+1).mean() prev_temp = data_frame['Temperature'].iloc[-1] return(smoothed_df, prev_temp) def plot(data_frame): """ Plots a bokeh chart from the generated dataframe """ data_frame = data_frame source = ColumnDataSource(data_frame) output_file("output.html") plot_chart = figure(plot_width=1200, plot_height=800, sizing_mode='scale_height', x_axis_type='datetime', title=u'Fermentor Temperature \xb0C', tools='pan,wheel_zoom,hover,save,reset') hover = plot_chart.select(dict(type=HoverTool)) hover.tooltips = [ ("index", "$index"), ('Temperature', u'$y\xb0C'), ('Timestamp', '@Timestamp{%m-%d/%H:%M:%S}') ] hover.formatters = { 'Timestamp' : 'datetime' } plot_chart.line(x='Timestamp', y='Temperature', source=source, line_width=3) show(plot_chart) def main(): #threading to request data in the background while generating plot data_frame, prev_temp = genframe() readtemp_thread = threading.Thread(target=readtemp(prev_temp)) readtemp_thread.start() plot(data_frame) # Reading temp in function to run it in thread because GUI needs to be run in main thread def readtemp(prev_temp): """ Reads temperature from the ESP8266 endpoint """ prev_temp = prev_temp try: req_page = requests.get(URL) except(): cur_temp = np.nan else: soup = BeautifulSoup(req_page.text, 'html.parser') cur_temp = soup.b.string[0:5] finally: if str(cur_temp) != str(prev_temp): #only write to file if temperature has changed since last reading cur_time = int(time.time()) #dropping resolution to 1s, saving 7 bytes a line with open(FILENAME, 'a') as open_file: open_file.write(str(cur_time) + ' ' + str(cur_temp) + '\n') print('Fermentation vessel temperature at', cur_time, 'is', cur_temp, u'\xb0C') if __name__ == "__main__": main()
from art_export import ArtExporter WIDTH, HEIGHT = 80, 25 class EndDoomExporter(ArtExporter): format_name = 'ENDOOM' format_description = """ ENDOOM lump file format for Doom engine games. 80x25 DOS ASCII with EGA palette. Background colors can only be EGA colors 0-8. """ def run_export(self, out_filename, options): if self.art.width < WIDTH or self.art.height < HEIGHT: self.app.log("ENDOOM export: Art isn't big enough!") return False outfile = open(out_filename, 'wb') for y in range(HEIGHT): for x in range(WIDTH): char, fg, bg, xform = self.art.get_tile_at(0, 0, x, y) # decrement color for EGA, index 0 is transparent in playscii fg -= 1 bg -= 1 # colors can't be negative fg = max(0, fg) bg = max(0, bg) char_byte = bytes([char]) outfile.write(char_byte) fg_bits = bin(fg)[2:].rjust(4, '0') # BG color can't be above 8 bg %= 8 bg_bits = bin(bg)[2:].rjust(3, '0') color_bits = '0' + bg_bits + fg_bits color_byte = int(color_bits, 2) color_byte = bytes([color_byte]) outfile.write(color_byte) outfile.close() return True
from shiftschema.filters.abstract_filter import AbstractFilter from shiftschema.filters.digits import Digits from shiftschema.filters.slugify import Slugify from shiftschema.filters.stringify import Stringify from shiftschema.filters.strip import Strip from shiftschema.filters.lowercase import Lowercase from shiftschema.filters.uppercase import Uppercase from shiftschema.filters.bleach import Bleach from shiftschema.filters.linkify import Linkify from shiftschema.filters.add_http import AddHttp # todo implement these filters: # boolean.py # camel_case_to_separator.py # datetime_format.py # html_entities.py # regex_replace.py # separator_to_camel_case.py # strip_newlines.py # url_normalize.py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import json import os import pdb import zipfile from xml.etree import ElementTree import numpy as np from torch.utils import data from torchvision.datasets import VOCSegmentation, SBDataset from lib.utils.helpers.image_helper import ImageHelper from lib.extensions.parallel.data_container import DataContainer from lib.utils.tools.logger import Logger as Log from PIL import Image, ImageDraw import tqdm MOD_ID = 'id' MOD_RGB = 'rgb' MOD_SS_DENSE = 'semseg_dense' MOD_SS_CLICKS = 'semseg_clicks' MOD_SS_SCRIBBLES = 'semseg_scribbles' MOD_VALIDITY = 'validity_mask' SPLIT_TRAIN = 'train' SPLIT_VALID = 'val' MODE_INTERP = { MOD_ID: None, MOD_RGB: 'bilinear', MOD_SS_DENSE: 'nearest', MOD_SS_CLICKS: 'sparse', MOD_SS_SCRIBBLES: 'sparse', MOD_VALIDITY: 'nearest', } class VOC2012Loader(data.Dataset): def __init__(self, root_dir, split, aug_transform=None, dataset=None, img_transform=None, label_transform=None, configer=None): self.split = split self.configer = configer self.aug_transform = aug_transform self.img_transform = img_transform self.label_transform = label_transform size_mode = self.configer.get(dataset, 'data_transformer')['size_mode'] self.is_stack = size_mode != 'diverse_size' root_voc = os.path.join(root_dir, 'VOC') root_sbd = os.path.join(root_dir, 'SBD') download = False if not os.path.exists(root_voc): download = True self.ds_voc_valid = VOCSegmentation(root_voc, image_set=SPLIT_VALID, download=download) if split == SPLIT_TRAIN: self.ds_voc_train = VOCSegmentation(root_voc, image_set=SPLIT_TRAIN, download=download) self.ds_sbd_train = SBDataset( root_sbd, image_set=SPLIT_TRAIN, download=download ) self.ds_sbd_valid = SBDataset(root_sbd, image_set=SPLIT_VALID, download=download) self.name_to_ds_id = { self._sample_name(path): (self.ds_sbd_train, i) for i, path in enumerate(self.ds_sbd_train.images) } self.name_to_ds_id.update({ self._sample_name(path): (self.ds_sbd_valid, i) for i, path in enumerate(self.ds_sbd_valid.images) }) self.name_to_ds_id.update({ self._sample_name(path): (self.ds_voc_train, i) for i, path in enumerate(self.ds_voc_train.images) }) for path in self.ds_voc_valid.images: name = self._sample_name(path) self.name_to_ds_id.pop(name, None) else: self.name_to_ds_id = { self._sample_name(path): (self.ds_voc_valid, i) for i, path in enumerate(self.ds_voc_valid.images) } self.sample_names = list(sorted(self.name_to_ds_id.keys())) self.transforms = None path_points_fg = os.path.join(root_dir, 'voc_whats_the_point.json') path_points_bg = os.path.join(root_dir, 'voc_whats_the_point_bg_from_scribbles.json') with open(path_points_fg, 'r') as f: self.ds_clicks_fg = json.load(f) with open(path_points_bg, 'r') as f: self.ds_clicks_bg = json.load(f) self.ds_scribbles_path = os.path.join(root_dir, 'voc_scribbles.zip') assert os.path.isfile(self.ds_scribbles_path), f'Scribbles not found at {self.ds_scribbles_path}' self.cls_name_to_id = {name: i for i, name in enumerate(self.semseg_class_names)} self._semseg_class_histogram = self._compute_histogram() self.integrity_check = True self.stroke_width = 3 self.semseg_ignore_class = 255 def __getitem__(self, index): return self.get(index) def __len__(self): return len(self.sample_names) def get(self, index): ds, idx = self.name_to_ds_id[self.name_from_index(index)] name = self._sample_name(ds.images[idx]) img = ImageHelper.read_image(ds.images[idx], tool=self.configer.get('data', 'image_tool'), mode=self.configer.get('data', 'input_mode')) width, height = ImageHelper.get_size(img) img_size = (width, height) ss_dense_path = ds.masks[idx] if ss_dense_path.endswith('mat'): ss_dense = ds._get_segmentation_target(ss_dense_path) else: ss_dense = Image.open(ss_dense_path) assert not self.integrity_check or ss_dense.size == img_size, \ f'RGB and SEMSEG shapes do not match in sample {name}' if self.split == "train": annotation = self.configer.get('data', 'annotation') if annotation == 'point': ss_clicks_fg = self.ds_clicks_fg[name] ss_clicks_bg = self.ds_clicks_bg[name] ss_clicks = ss_clicks_fg + ss_clicks_bg ss_clicks = [(d['cls'], [(d['x'], d['y'])]) for d in ss_clicks] ss_clicks = self.rasterize_clicks(ss_clicks, width, height) labelmap = np.array(ss_clicks) elif annotation == 'scribble': ss_scribbles = self._parse_scribble( name, known_width=width if self.integrity_check else None, known_height=height if self.integrity_check else None ) ss_scribbles = self.rasterize_scribbles(ss_scribbles, width, height) labelmap = np.array(ss_scribbles) elif annotation == 'mask': labelmap = np.array(ss_dense) else: raise NotImplementedError elif self.split == "val": labelmap = np.array(ss_dense) else: raise NotImplementedError ori_target = ImageHelper.tonp(ss_dense) ori_target[ori_target == 255] = -1 if self.aug_transform is not None: img, labelmap, gtmap = self.aug_transform(img, labelmap=labelmap, gtmap=ori_target) border_size = ImageHelper.get_size(img) if self.img_transform is not None: img = self.img_transform(img) if self.label_transform is not None: labelmap = self.label_transform(labelmap) gtmap = self.label_transform(gtmap) meta = dict( ori_img_size=img_size, border_size=border_size, ori_target=ori_target ) return dict( img=DataContainer(img, stack=self.is_stack), labelmap=DataContainer(labelmap, stack=self.is_stack), gtmap=DataContainer(gtmap, stack=self.is_stack), meta=DataContainer(meta, stack=False, cpu_only=True), name=DataContainer(name, stack=False, cpu_only=True), ) def rasterize_scribbles(self, data, width, height): img = Image.new("L", (width, height), color=self.semseg_ignore_class) draw = ImageDraw.Draw(img) polylines = data for clsid, joints in polylines: if len(joints) > 1: draw.line(joints, clsid, self.stroke_width, joint="curve") for i in range(len(joints)): draw.ellipse(( joints[i][0] - self.stroke_width / 2, joints[i][1] - self.stroke_width / 2, joints[i][0] + self.stroke_width / 2, joints[i][1] + self.stroke_width / 2), clsid ) return img def rasterize_clicks(self, data, width, height): img = Image.new("L", (width, height), color=self.semseg_ignore_class) draw = ImageDraw.Draw(img) for clsid, click in data: click = click[0] if self.stroke_width > 1: draw.ellipse(( click[0] - self.stroke_width / 2, click[1] - self.stroke_width / 2, click[0] + self.stroke_width / 2, click[1] + self.stroke_width / 2), clsid ) else: draw.point(click, clsid) return img def name_from_index(self, index): return self.sample_names[index] def _parse_scribble(self, name, known_width=None, known_height=None): with zipfile.ZipFile(self.ds_scribbles_path, 'r') as f: data = f.read(name + '.xml') sample_xml = ElementTree.fromstring(data) assert sample_xml.tag == 'annotation', f'XML error in sample {name}' found_size = False polylines = [] for i in range(len(sample_xml)): if sample_xml[i].tag == 'size': found_size = True found_width, found_height = False, False sample_xml_size = sample_xml[i] for j in range(len(sample_xml_size)): if sample_xml_size[j].tag == 'width': assert known_width is None or int(sample_xml_size[j].text) == known_width, \ f'XML error in sample {name}' found_width = True elif sample_xml_size[j].tag == 'height': assert known_height is None or int(sample_xml_size[j].text) == known_height, \ f'XML error in sample {name}' found_height = True assert found_width and found_height, f'XML error in sample {name}' if sample_xml[i].tag == 'polygon': polygon = sample_xml[i] polygon_class, polygon_points = None, [] for j in range(len(polygon)): polygon_entry = polygon[j] if polygon_entry.tag == 'tag': polygon_class = polygon_entry.text elif polygon_entry.tag == 'point': assert polygon_entry[0].tag == 'X' and polygon_entry[1].tag == 'Y', \ f'XML error in sample {name}' polygon_points.append((int(polygon_entry[0].text), int(polygon_entry[1].text))) assert polygon_class is not None and len(polygon_points) > 0, f'XML error in sample {name}' polylines.append((self.cls_name_to_id[polygon_class], polygon_points)) assert found_size and len(polylines) > 0, f'XML error in sample {name}' # coordinate tuples have (x,y) order return polylines @staticmethod def _sample_name(path): return path.split('/')[-1].split('.')[0] @property def num_classes(self): return 21 @property def semseg_class_colors(self): return [ (0, 0, 0), # 'background' (128, 0, 0), # 'plane' (0, 128, 0), # 'bike' (128, 128, 0), # 'bird' (0, 0, 128), # 'boat' (128, 0, 128), # 'bottle' (0, 128, 128), # 'bus' (128, 128, 128), # 'car' (64, 0, 0), # 'cat' (192, 0, 0), # 'chair' (64, 128, 0), # 'cow' (192, 128, 0), # 'table' (64, 0, 128), # 'dog' (192, 0, 128), # 'horse' (64, 128, 128), # 'motorbike' (192, 128, 128), # 'person' (0, 64, 0), # 'plant' (128, 64, 0), # 'sheep' (0, 192, 0), # 'sofa' (128, 192, 0), # 'train' (0, 64, 128), # 'monitor' ] @property def semseg_class_names(self): return [ 'background', 'plane', 'bike', 'bird', 'boat', 'bottle', 'bus', 'car', 'cat', 'chair', 'cow', 'table', 'dog', 'horse', 'motorbike', 'person', 'plant', 'sheep', 'sofa', 'train', 'monitor', ] @property def semseg_class_histogram(self): return self._semseg_class_histogram def _compute_histogram(self): clicks_histogram = [0, ] * self.num_classes for name in self.sample_names: for ds in (self.ds_clicks_fg, self.ds_clicks_bg): clicks = ds[name] for click in clicks: clsid = click['cls'] clicks_histogram[clsid] += 1 return clicks_histogram def _reduce_zero_label(self, labelmap): if not self.configer.get('data', 'reduce_zero_label'): return labelmap labelmap = np.array(labelmap) encoded_labelmap = labelmap - 1 if self.configer.get('data', 'image_tool') == 'pil': encoded_labelmap = ImageHelper.np2img(encoded_labelmap.astype(np.uint8)) return encoded_labelmap def _encode_label(self, labelmap): labelmap = np.array(labelmap) shape = labelmap.shape encoded_labelmap = np.ones(shape=(shape[0], shape[1]), dtype=np.float32) * 255 for i in range(len(self.configer.get('data', 'label_list'))): class_id = self.configer.get('data', 'label_list')[i] encoded_labelmap[labelmap == class_id] = i if self.configer.get('data', 'image_tool') == 'pil': encoded_labelmap = ImageHelper.np2img(encoded_labelmap.astype(np.uint8)) return encoded_labelmap if __name__ == "__main__": pass
from models.layers import * class VGG16(object): def __init__(self, num_classes, name='vgg16'): super(VGG16, self).__init__() units = [64, 64, "M", 128, 128, "M", 256, 256, 256, "M", 512, 512, 512, "M", 512, 512, 512] self.num_classes = num_classes self.layers = [] with tf.name_scope(name): in_channels, kernel_id = 3, 1 for v in units: if isinstance(v, int): self.layers.append(Conv2D(in_channels, v, k_size=3, padding='SAME', use_bias=False, name='conv' + str(kernel_id))) self.layers.append(BatchNorm(v, name='bn' + str(kernel_id))) in_channels, kernel_id = v, kernel_id + 1 elif v == "M": self.layers.append(MaxPool(k_size=2, strides=2)) else: pass self.layers.append(Flatten()) self.layers.append(Dense(in_channels * 2 * 2, 256, use_bias=True, name='dense14')) self.layers.append(Dense(256, 256, use_bias=True, name='dense15')) self.layers.append(Dense(256, num_classes, use_bias=True, name='dense16')) def __call__(self, x, train=True): for layer in self.layers[:-1]: if isinstance(layer, BatchNorm) or isinstance(layer, Dense): x = layer(x, train=train, activation=tf.nn.relu) else: x = layer(x, train=train, activation=None) return self.layers[-1](x, train=train, activation=None) def param_list(self, trainable=True): params = [] for layer in self.layers: params += layer.params(trainable=trainable) return params
import pytest class TestAdminPermissions: PAGES = ( # (URL, accessible by role.Staff?) ("/admin/", True), ("/admin/admins", False), ("/admin/badge", False), ("/admin/features", False), ("/admin/groups", True), ("/admin/mailer", True), ("/admin/nipsa", False), ("/admin/oauthclients", False), ("/admin/organizations", True), ("/admin/staff", False), ("/admin/users", True), ("/admin/search", False), ) @pytest.mark.usefixtures("with_logged_in_user") @pytest.mark.parametrize("url", (page[0] for page in PAGES)) def test_not_accessible_by_regular_user(self, app, url): app.get(url, status=404) @pytest.mark.usefixtures("with_logged_in_admin") @pytest.mark.parametrize("url", (page[0] for page in PAGES)) def test_accessible_by_admin(self, app, url): app.get(url) @pytest.mark.usefixtures("with_logged_in_staff_member") @pytest.mark.parametrize("url,accessible", PAGES) def test_accessible_by_staff(self, app, url, accessible): res = app.get(url, expect_errors=not accessible) assert res.status_code == 200 if accessible else 404 GROUP_PAGES = ( ("POST", "/admin/groups/delete/{pubid}", 302), ("GET", "/admin/groups/{pubid}", 200), ) @pytest.mark.usefixtures("with_logged_in_admin") @pytest.mark.parametrize("method,url_template,success_code", GROUP_PAGES) def test_group_end_points_accessible_by_admin( self, app, group, method, url_template, success_code ): url = url_template.format(pubid=group.pubid) app.request(url, method=method, status=success_code) @pytest.mark.usefixtures("with_logged_in_staff_member") @pytest.mark.parametrize("method,url_template,success_code", GROUP_PAGES) def test_group_end_points_accessible_by_staff( self, app, group, method, url_template, success_code ): url = url_template.format(pubid=group.pubid) app.request(url, method=method, status=success_code) @pytest.mark.usefixtures("with_logged_in_user") @pytest.mark.parametrize("method,url_template,_", GROUP_PAGES) def test_group_end_points_not_accessible_by_regular_user( self, app, group, method, url_template, _ ): url = url_template.format(pubid=group.pubid) app.request(url, method=method, status=404) @pytest.fixture def group(self, factories, db_session): # Without an org `views.admin.groups:GroupEditViews._update_appstruct` # fails group = factories.Group(organization=factories.Organization()) db_session.commit() return group
import os def make_directory(name, path:str='') -> None: ''' This functions creates a directory :param name: The name of the directory to create. :param path: The path where the directory has to be created. :return: None or OS-Error if the directory could not be created. ''' try: os.mkdir(f'{path}{name}') except OSError: raise OSError(f'Failed to create the directory "{name}".') else: print(f'Successfuly created the directory "{name}".') def create_file(name, path:str='', content:(str, list, dict)='') -> None: ''' This functions creates a file :param name: The name of the file to create. :param path: The path where the file has to be created. :param content: The content to write in the created file. :return: None or OS-Error if the file could not be created. ''' with open(f'{path}{name}', 'w') as f: if isinstance(content, str): f.write(content) elif isinstance(content, list): for line in content: f.write(f'{line}\n') elif isinstance(content, dict): for line in str(content).replace("'", '"').lower(): f.write(f'{line}') else: raise TypeError(f'Argument "content" must be of type "str" or "list" not {type(content)}!') print(f'Successfuly created the file "{name}".') f.close() def create_pack_meta(minecraft_version:str='1.6.1', description:str=None, author:str=None) -> str: ''' This function helps with creating the string of a "pack.mcmeta" file ready to be written. :param minecraft_version: The version of Minecraft in which the user's server runs. :param description: A short description of the uses of the Datapack the user wants to make. :param author: The user's name to write into the "pack.mcmeta". :return: String of a "pack.mcmeta" file. ''' default_pack_format = 7 minecraft_version_to_pack_format = { '1.6.1': 1, '1.6.2': 1, '1.6.4': 1, '1.7.2': 1, '1.7.4': 1, '1.7.5': 1, '1.7.6': 1, '1.7.7': 1, '1.7.8': 1, '1.7.9': 1, '1.7.10': 1, '1.8': 1, '1.8.1': 1, '1.8.2': 1, '1.8.3': 1, '1.8.4': 1, '1.8.5': 1, '1.8.6': 1, '1.8.7': 1, '1.8.8': 1, '1.8.9': 1, '1.9': 2, '1.9.1': 2, '1.9.2': 2, '1.9.3': 2, '1.9.4': 2, '1.10': 2, '1.10.1': 2, '1.10.2': 2, '1.11': 3, '1.11.1': 3, '1.11.2': 3, '1.12': 3, '1.12.1': 3, '1.12.2': 3, '1.13': 4, '1.13.1': 4, '1.13.2': 4, '1.14': 4, '1.14.1': 4, '1.14.2': 4, '1.14.3': 4, '1.14.4': 4, '1.15': 5, '1.15.1': 5, '1.15.2': 5, '1.16': 5, '1.16.1': 5, '1.16.2': 6, '1.16.3': 6, '1.16.4': 6, '1.16.5': 6, '1.17': 7, '1.17+': 7 } if minecraft_version in minecraft_version_to_pack_format: pack_format = minecraft_version_to_pack_format[minecraft_version] else: raise Warning(f'This version of Minecraft seems to have no pack format defined:\nSet to {default_pack_format} by default.') description = description author = author return str( { "pack": { "author": author, "description": description, "pack_format": pack_format } } ).replace("'", '"') def import_from_file(path, extension='mcfunction') -> (str, None): ''' This functions help with importing files instead of writing them. The files has to exist on the user's computer to be imported. :param path: The path where the resource has to be find. :param extension: The extension of the resource [e.g. ".mcfunction", ".json", ".dat"]. :return: None or OS-Error if the resource can not be found or read, a string containing the content of the imported file otherwise. ''' try: with open(f'{path}.{extension}', 'r') as f: r = [line.replace('\n', '') for line in f if line not in ['', ' ', '\n']] f.close() return r except: raise ValueError(f'Could not read the file {path}.{extension}')
# -*- coding: utf-8 -*- """ spfs/utils/test/test_normalization """ import unittest import numpy as np from spfs.utils.normalization import Normalization class TestNormalization(unittest.TestCase): def setUp(self): self.vector = np.arange(4) def test_lp(self): for p in range(3): Normalization.lp(self.vector, p) with self.assertRaises(AssertionError): Normalization.lp(self.vector, 3) def test_l0(self): self.assertTrue( np.array_equal( Normalization.l0(self.vector), self.vector/np.linalg.norm(self.vector, 0) ) ) def test_l1(self): self.assertTrue( np.array_equal( Normalization.l1(self.vector), self.vector/np.linalg.norm(self.vector, 1) ) ) def test_l2(self): self.assertTrue( np.array_equal( Normalization.l2(self.vector), self.vector/np.linalg.norm(self.vector, 2) ) ) def test_standardization(self): dev = np.std(self.vector) self.assertTrue( np.array_equal( Normalization.standardization(self.vector), (self.vector-np.mean(self.vector))/dev ) )
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def mergeTwoLists(self, l1: ListNode, l2: ListNode) -> ListNode: demo = ListNode() head = demo while l1 != None and l2 != None: if l1.val <= l2: demo.next = l1 l1 = l1.next else: demo.next = l2 l2 = l2.next demo = demo.next demo.next = l1 if l1 else l2
# The MIT License (MIT) # # Copyright (c) 2018 stanwood GmbH # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. import json import mock import pytest from google.appengine.api import memcache from stanwood.external_services.contentful.utils.cached_contentful import cached_contentful @pytest.fixture def http_get(testbed): with mock.patch('stanwood.external_services.contentful.utils.cached_contentful.cached_contentful.contentful.Client._http_get') as http_get_mock: yield http_get_mock @pytest.fixture def contentful(testbed): yield cached_contentful.Client( 'space', 'token', base_url='https://my-api-dev.appspot.com', content_type_cache=False # avoid extra http call which messes with mocking ) def test_get_entries(http_get, contentful, response): test_response = {'foo': 'bar', 'bar': 'foo'} http_get.return_value = response(test_response) assert contentful.entries().content == json.dumps(test_response) assert memcache.get(u'contentful:space:/entries?{}') == json.dumps(test_response) contentful.entries() http_get.assert_called_once() def test_entry_by_id(http_get, contentful, response): http_get.return_value = response({'foo': 'bar'}) assert contentful.entry('1').content == json.dumps({'foo': 'bar'}) assert memcache.get(u'contentful:space:/entries?{"sys.id": "1"}') == json.dumps({'foo': 'bar'}) contentful.entry('1') http_get.assert_called_once() def test_replace_images_urls_in_includes(http_get, contentful, response): http_get.return_value = response( { 'includes': { 'Asset': [ { 'sys':{ 'id': 'asset-1' }, 'fields': { 'file': { 'url': '//images.contentful.com/in1ws0j2cnhw/106HCLFiMYoUk6mYqK44ye/' 'c9ead673c8996d23511e0f57225402ea/asset_11158.jpg' } } } ] } } ) entries = contentful.entries() assert json.loads(entries.content)['includes']['Asset'][0]['fields']['file']['url'] == ( 'https://my-api-dev.appspot.com/contentful/files_cache/images.contentful.com/' 'in1ws0j2cnhw/106HCLFiMYoUk6mYqK44ye/c9ead673c8996d23511e0f57225402ea/asset_11158.jpg' ) def test_replace_images_urls_in_items(http_get, contentful, response): http_get.return_value = response( { 'items': [ { 'sys': { 'type': 'Asset' }, 'fields': { 'file': { 'url': '//images.ctfassets.net/in1ws0j2cnhw/3VuS2MHXxYs042wYgsAiAM/' '1f188583c323a7f52358643e1a2a2e62/Screen_Shot.png' } } } ] } ) entries = contentful.assets() assert json.loads(entries.content)['items'][0]['fields']['file']['url'] == ( 'https://my-api-dev.appspot.com/contentful/files_cache/images.ctfassets.net/' 'in1ws0j2cnhw/3VuS2MHXxYs042wYgsAiAM/1f188583c323a7f52358643e1a2a2e62/Screen_Shot.png' ) def test_cache_when_contentful_adds_sys_field_to_select(http_get, contentful, response): http_get.return_value = response( {'foo': 'bar'} ) contentful.entries( {u'foo130': u'', u'limit': u'10', u'select': u'fields.title', u'content_type': u'article'} ) memcache_key = (u'contentful:space:/entries?{"content_type": "article", "limit": "10", ' u'"select": ["fields.title", "sys"], "foo130": ""}') assert memcache.get(memcache_key) == json.dumps({'foo': 'bar'})
from setuptools import setup from pathlib import Path readme = Path(__file__).with_name("README.rst").read_text() setup( name='talk_video_uploader', version='0.1', description='Batch upload talk videos to YouTube', long_description=readme, long_description_content_type="text/x-rst", url='https://github.com/oskar456/talk-video-uploader', author='Ondřej Caletka', author_email='ondrej@caletka.cz', license='MIT', python_requires=">=3.6", classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: End Users/Desktop', 'Topic :: Multimedia :: Video', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', "Programming Language :: Python :: 3 :: Only", ], packages=['talk_video_uploader'], data_files=[('share/talk-video-uploader', ['client_id.json'])], install_requires=[ 'google-api-python-client', 'google-auth-httplib2', 'google-auth-oauthlib', 'pyyaml', 'click' ], entry_points={ 'console_scripts': [ 'talk-video-uploader = talk_video_uploader.__main__:main', ], } )
#!/usr/bin/env python import roslib; roslib.load_manifest('speech_cmd') import rospy from std_msgs.msg import String from geometry_msgs.msg import Twist from std_srvs.srv import * import actionlib from move_base_msgs.msg import * import os import commands import pyttsx class cmd(object): def __init__(self): # Start node rospy.init_node("cmd") # Configure ROS settings self.started = False self.status = "new_cmd" self.engine = pyttsx.init() self.engine.startLoop(False) # create Twist Message self.msg = Twist() # publish to TurtelSim for demonstration self.pub = rospy.Publisher('/turtle1/cmd_vel', Twist) # subscribe to pocketsphinx output rospy.Subscriber('recognizer/output', String, self.voice_cmd_map) rospy.Service("~start", Empty, self.start) self.start_cmd() def start_cmd(self): rospy.loginfo("Starting speech command interface... ") # Voice Output Settings rate = self.engine.getProperty('rate') self.engine.setProperty('rate', rate-50) volume = self.engine.getProperty('volume') self.engine.setProperty('volume', volume+0.1) voices = self.engine.getProperty('voices') self.started = True # keep node from exiting rospy.spin() def stop_cmd(self): if self.started: self.engine.endLoop() self.started = False def start(self, req): self.start_cmd() rospy.loginfo("speech_cmd started") return EmptyResponse() def stop(self, req): self.stop_cmd() rospy.loginfo("speech_cmd stopped") return EmptyResponse() def voice_cmd_map(self, msg): rospy.loginfo(msg.data) # listen for new command if self.status == "new_cmd": # check for trigger words if msg.data == "turn left ninety": # ask to confirm operation self.engine.say('Confirm left turn ninety.') self.engine.iterate() # set status accordingly self.status = "await_confirm_left_ninety" if msg.data == "turn right ninety": self.engine.say('Confirm right turn ninety.') self.engine.iterate() self.status = "await_confirm_right_ninety" if msg.data == "turn left sixty": self.engine.say('Confirm left turn sixty.') self.engine.iterate() self.status = "await_confirm_left_sixty" if msg.data == "turn right sixty": self.engine.say('Confirm right turn sixty.') self.engine.iterate() self.status = "await_confirm_right_sixty" if msg.data == "turn left thirty": self.engine.say('Confirm left turn thirty.') self.engine.iterate() self.status = "await_confirm_left_thirty" if msg.data == "turn right thirty": self.engine.say('Confirm right turn thirty.') self.engine.iterate() self.status = "await_confirm_right_thirty" if msg.data == "forward one meter": self.engine.say('Confirm forward one.') self.engine.iterate() self.status = "await_confirm_one" if msg.data == "forward two meters": self.engine.say('Confirm forward two.') self.engine.iterate() self.status = "await_confirm_two" if msg.data == "forward three meters": self.engine.say('Confirm forward three.') self.engine.iterate() self.status = "await_confirm_three" if msg.data == "forward four meters": self.engine.say('Confirm forward four.') self.engine.iterate() self.status = "await_confirm_four" if msg.data == "forward five meters": self.engine.say('Confirm forward five.') self.engine.iterate() self.status = "await_confirm_five" if msg.data == "forward six meters": self.engine.say('Confirm forward six.') self.engine.iterate() self.status = "await_confirm_six" if msg.data == "backward one meter": self.engine.say('Confirm backward one.') self.engine.iterate() self.status = "await_confirm_backward_one" if msg.data == "backward two meters": self.engine.say('Confirm backward two.') self.engine.iterate() self.status = "await_confirm_backward_two" if msg.data == "backward three meters": self.engine.say('Confirm backward three.') self.engine.iterate() self.status = "await_confirm_backward_three" if msg.data == "backward four meters": self.engine.say('Confirm backward four.') self.engine.iterate() self.status = "await_confirm_backward_four" if msg.data == "backward five meters": self.engine.say('Confirm backward five.') self.engine.iterate() self.status = "await_confirm_backward_five" if msg.data == "backward six meters": self.engine.say('Confirm backward six.') self.engine.iterate() self.status = "await_confirm_backward_six" if msg.data == "feedback battery": # status feedback, doesn't need confirmation # dummy value, needs fitting topic subscription print("Battery Status: 78%.") self.engine.say('Battery Status is 78%.') self.engine.iterate() else: # if confirmation is awaited if self.status == "await_confirm_left_ninety": # check for correct confirmation if msg.data == "confirm": print("turn left.") # create Twist msg and publish self.msg.linear.x = 0 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 1.570796 self.pub.publish(self.msg) if self.status == "await_confirm_left_sixty": # check for correct confirmation if msg.data == "confirm": print("turn left.") # create Twist msg and publish self.msg.linear.x = 0 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 1.070796 self.pub.publish(self.msg) if self.status == "await_confirm_left_thirty": # check for correct confirmation if msg.data == "confirm": print("turn left.") # create Twist msg and publish self.msg.linear.x = 0 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0.570796 self.pub.publish(self.msg) if self.status == "await_confirm_right_ninety": if msg.data == "confirm": print("turn right.") # create Twist msg and publish self.msg.linear.x = 0 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = -1.570796 self.pub.publish(self.msg) if self.status == "await_confirm_right_sixty": if msg.data == "confirm": print("turn right.") # create Twist msg and publish self.msg.linear.x = 0 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = -1.070796 self.pub.publish(self.msg) if self.status == "await_confirm_right_thirty": if msg.data == "confirm": print("turn right.") # create Twist msg and publish self.msg.linear.x = 0 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = -0.570796 self.pub.publish(self.msg) if self.status == "await_confirm_one": if msg.data == "confirm": print("forward one meter.") self.msg.linear.x = 1 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) if self.status == "await_confirm_two": if msg.data == "confirm": print("forward one meter.") self.msg.linear.x = 2 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) if self.status == "await_confirm_three": if msg.data == "confirm": print("forward three meters.") self.msg.linear.x = 3 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) if self.status == "await_confirm_four": if msg.data == "confirm": print("forward four meter.") self.msg.linear.x = 4 self.msg.linear.y = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) if self.status == "await_confirm_five": if msg.data == "confirm": print("forward five meter.") self.msg.linear.x = 5 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) if self.status == "await_confirm_six": if msg.data == "confirm": print("forward six meter.") self.msg.linear.x = 6 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) if self.status == "await_confirm_backward_one": if msg.data == "confirm": print("backward one meter.") self.msg.linear.x = -1 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) if self.status == "await_confirm_backward_two": if msg.data == "confirm": print("backward two meters.") self.msg.linear.x = -2 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) if self.status == "await_confirm_backward_three": if msg.data == "confirm": print("backward three meters.") self.msg.linear.x = -3 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) if self.status == "await_confirm_backward_four": if msg.data == "confirm": print("backward four meters.") self.msg.linear.x = -4 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) if self.status == "await_confirm_backward_five": if msg.data == "confirm": print("backward five meters.") self.msg.linear.x = -5 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) if self.status == "await_confirm_backward_six": if msg.data == "confirm": print("backward six meters.") self.msg.linear.x = -6 self.msg.linear.y = 0 self.msg.linear.z = 0 self.msg.angular.z = 0 self.pub.publish(self.msg) # reset status self.status = "new_cmd" if __name__ == "__main__": try: start = cmd() except KeyboardInterrupt: sys.exit(1)
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ from KalmanFilter import * from math import cos, sin, sqrt, atan2 def H_of (pos, pos_A, pos_B): """ Given the position of our object at 'pos' in 2D, and two transmitters A and B at positions 'pos_A' and 'pos_B', return the partial derivative of H """ theta_a = atan2(pos_a[1]-pos[1], pos_a[0] - pos[0]) theta_b = atan2(pos_b[1]-pos[1], pos_b[0] - pos[0]) if False: return np.mat([[0, -cos(theta_a), 0, -sin(theta_a)], [0, -cos(theta_b), 0, -sin(theta_b)]]) else: return np.mat([[-cos(theta_a), 0, -sin(theta_a), 0], [-cos(theta_b), 0, -sin(theta_b), 0]]) class DMESensor(object): def __init__(self, pos_a, pos_b, noise_factor=1.0): self.A = pos_a self.B = pos_b self.noise_factor = noise_factor def range_of (self, pos): """ returns tuple containing noisy range data to A and B given a position 'pos' """ ra = sqrt((self.A[0] - pos[0])**2 + (self.A[1] - pos[1])**2) rb = sqrt((self.B[0] - pos[0])**2 + (self.B[1] - pos[1])**2) return (ra + random.randn()*self.noise_factor, rb + random.randn()*self.noise_factor) pos_a = (100,-20) pos_b = (-100, -20) f1 = KalmanFilter(dim_x=4, dim_z=2) f1.F = np.mat ([[0, 1, 0, 0], [0, 0, 0, 0], [0, 0, 0, 1], [0, 0, 0, 0]]) f1.B = 0. f1.R *= 1. f1.Q *= .1 f1.x = np.mat([1,0,1,0]).T f1.P = np.eye(4) * 5. # initialize storage and other variables for the run count = 30 xs, ys = [],[] pxs, pys = [],[] # create the simulated sensor d = DMESensor (pos_a, pos_b, noise_factor=1.) # pos will contain our nominal position since the filter does not # maintain position. pos = [0,0] for i in range(count): # move (1,1) each step, so just use i pos = [i,i] # compute the difference in range between the nominal track and measured # ranges ra,rb = d.range_of(pos) rx,ry = d.range_of((i+f1.x[0,0], i+f1.x[2,0])) print ra, rb print rx,ry z = np.mat([[ra-rx],[rb-ry]]) print z.T # compute linearized H for this time step f1.H = H_of (pos, pos_a, pos_b) # store stuff so we can plot it later xs.append (f1.x[0,0]+i) ys.append (f1.x[2,0]+i) pxs.append (pos[0]) pys.append(pos[1]) # perform the Kalman filter steps f1.predict () f1.update(z) p1, = plt.plot (xs, ys, 'r--') p2, = plt.plot (pxs, pys) plt.legend([p1,p2], ['filter', 'ideal'], 2) plt.show()