content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
class Config: @staticmethod def get(repo, config_key): splitted_keys = config_key.split('.') splitted_keys_in_byte = [key.encode() for key in splitted_keys] if splitted_keys.__len__() > 2: section = tuple(splitted_keys_in_byte[:-1]) arg = splitted_keys_in_byte[-1] else: section = splitted_keys_in_byte[0] arg = splitted_keys_in_byte[1] config = repo.get_config() try: value = config.get(section, arg) except KeyError: value = None return value.decode() if value else value
class Config: @staticmethod def get(repo, config_key): splitted_keys = config_key.split('.') splitted_keys_in_byte = [key.encode() for key in splitted_keys] if splitted_keys.__len__() > 2: section = tuple(splitted_keys_in_byte[:-1]) arg = splitted_keys_in_byte[-1] else: section = splitted_keys_in_byte[0] arg = splitted_keys_in_byte[1] config = repo.get_config() try: value = config.get(section, arg) except KeyError: value = None return value.decode() if value else value
path = 'home/sample.mp4' akhil = [] akhil = path.split(".") video = akhil[0].split("/") print(video[len(video)-1])
path = 'home/sample.mp4' akhil = [] akhil = path.split('.') video = akhil[0].split('/') print(video[len(video) - 1])
def converteHora(hora): # Se a hora for 00: if int(hora[:2]) == 0: return f"12{hora[2:]} AM" # Se for 12 if int(hora[:2]) == 12: return f"12{hora[2:]} PM" # Se for de tarde if int(hora[:2]) > 12: return f"0{int(hora[:2]) - 12 }{hora[2:]} PM" return f"{hora} AM" print(converteHora("09:39"))
def converte_hora(hora): if int(hora[:2]) == 0: return f'12{hora[2:]} AM' if int(hora[:2]) == 12: return f'12{hora[2:]} PM' if int(hora[:2]) > 12: return f'0{int(hora[:2]) - 12}{hora[2:]} PM' return f'{hora} AM' print(converte_hora('09:39'))
# Copyright (c) 2009 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. { 'includes': [ '../../build/common.gypi', ], 'targets': [ { 'target_name': 'libpng', 'type': '<(library)', 'dependencies': [ '../zlib/zlib.gyp:zlib', ], 'defines': [ 'CHROME_PNG_WRITE_SUPPORT', 'PNG_USER_CONFIG', ], 'msvs_guid': 'C564F145-9172-42C3-BFCB-6014CA97DBCD', 'sources': [ 'png.c', 'png.h', 'pngconf.h', 'pngerror.c', 'pnggccrd.c', 'pngget.c', 'pngmem.c', 'pngpread.c', 'pngread.c', 'pngrio.c', 'pngrtran.c', 'pngrutil.c', 'pngset.c', 'pngtrans.c', 'pngusr.h', 'pngvcrd.c', 'pngwio.c', 'pngwrite.c', 'pngwtran.c', 'pngwutil.c', ], 'direct_dependent_settings': { 'include_dirs': [ '.', ], 'defines': [ 'CHROME_PNG_WRITE_SUPPORT', 'PNG_USER_CONFIG', ], }, 'export_dependent_settings': [ '../zlib/zlib.gyp:zlib', ], 'conditions': [ ['OS!="win"', {'product_name': 'png'}], ], }, ], }
{'includes': ['../../build/common.gypi'], 'targets': [{'target_name': 'libpng', 'type': '<(library)', 'dependencies': ['../zlib/zlib.gyp:zlib'], 'defines': ['CHROME_PNG_WRITE_SUPPORT', 'PNG_USER_CONFIG'], 'msvs_guid': 'C564F145-9172-42C3-BFCB-6014CA97DBCD', 'sources': ['png.c', 'png.h', 'pngconf.h', 'pngerror.c', 'pnggccrd.c', 'pngget.c', 'pngmem.c', 'pngpread.c', 'pngread.c', 'pngrio.c', 'pngrtran.c', 'pngrutil.c', 'pngset.c', 'pngtrans.c', 'pngusr.h', 'pngvcrd.c', 'pngwio.c', 'pngwrite.c', 'pngwtran.c', 'pngwutil.c'], 'direct_dependent_settings': {'include_dirs': ['.'], 'defines': ['CHROME_PNG_WRITE_SUPPORT', 'PNG_USER_CONFIG']}, 'export_dependent_settings': ['../zlib/zlib.gyp:zlib'], 'conditions': [['OS!="win"', {'product_name': 'png'}]]}]}
# # PySNMP MIB module HPN-ICF-FC-PSM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HPN-ICF-FC-PSM-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:38:51 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint") HpnicfFcNameIdOrZero, = mibBuilder.importSymbols("HPN-ICF-FC-TC-MIB", "HpnicfFcNameIdOrZero") hpnicfSan, = mibBuilder.importSymbols("HPN-ICF-VSAN-MIB", "hpnicfSan") ifDescr, InterfaceIndexOrZero, InterfaceIndex = mibBuilder.importSymbols("IF-MIB", "ifDescr", "InterfaceIndexOrZero", "InterfaceIndex") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Counter64, NotificationType, Bits, Gauge32, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, MibIdentifier, IpAddress, TimeTicks, Integer32, ModuleIdentity, iso, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "NotificationType", "Bits", "Gauge32", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "MibIdentifier", "IpAddress", "TimeTicks", "Integer32", "ModuleIdentity", "iso", "Counter32") TruthValue, RowStatus, TextualConvention, TimeStamp, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "RowStatus", "TextualConvention", "TimeStamp", "DisplayString") hpnicfFcPsm = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8)) hpnicfFcPsm.setRevisions(('2013-10-17 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hpnicfFcPsm.setRevisionsDescriptions(('HPN-ICF-FC-PSM-MIB module is for managing the implementation of FC port security.',)) if mibBuilder.loadTexts: hpnicfFcPsm.setLastUpdated('201310170000Z') if mibBuilder.loadTexts: hpnicfFcPsm.setOrganization('') if mibBuilder.loadTexts: hpnicfFcPsm.setContactInfo('') if mibBuilder.loadTexts: hpnicfFcPsm.setDescription('This MIB contains the objects for FC port security.') hpnicfFcPsmNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 0)) hpnicfFcPsmObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1)) hpnicfFcPsmScalarObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 1)) hpnicfFcPsmConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2)) hpnicfFcPsmStats = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3)) class HpnicfFcPsmPortBindDevType(TextualConvention, Integer32): description = 'The types of the instance of hpnicfFcPsmLoginDev, including nWWN(Node World Wide Name), pWWN(Port World Wide Name), sWWN(Switch World Wide Name), and wildCard.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("nWWN", 1), ("pWWN", 2), ("sWWN", 3), ("wildCard", 4)) class HpnicfFcPsmClearEntryType(TextualConvention, Integer32): description = 'This object when set to clearStatic, results in port bind static entries being cleared on this VSAN(Virtual Storage Area Networks). This object when set to clearAutoLearn, results in port bind auto-learnt entries being cleared on this VSAN. This object when set to clearAll, results in all of the port bind entries being cleared on this VSAN. No action is taken if this object is set to noop. The value of this object when read is always noop.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("clearStatic", 1), ("clearAutoLearn", 2), ("clearAll", 3), ("noop", 4)) hpnicfFcPsmNotifyEnable = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfFcPsmNotifyEnable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmNotifyEnable.setDescription('Whether to generate the notification or not depends on the object.') hpnicfFcPsmEnableTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 1), ) if mibBuilder.loadTexts: hpnicfFcPsmEnableTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnableTable.setDescription('Enable or disable the port security feature on a specified VSAN.') hpnicfFcPsmEnableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 1, 1), ).setIndexNames((0, "HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmEnableVsanIndex")) if mibBuilder.loadTexts: hpnicfFcPsmEnableEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnableEntry.setDescription('Detailed information about the port security.') hpnicfFcPsmEnableVsanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))) if mibBuilder.loadTexts: hpnicfFcPsmEnableVsanIndex.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnableVsanIndex.setDescription('The ID of VSAN on this entry.') hpnicfFcPsmEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enable", 1), ("enableWithAutoLearn", 2), ("disable", 3), ("noop", 4))).clone('noop')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfFcPsmEnable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnable.setDescription('When set to enable, the port security is on, the value of hpnicfFcPsmEnableState will be true. When set to enableWithAutoLearn, the port security is on with auto-learning, the value of hpnicfFcPsmEnableState will be true. When set to disable, the port security is off, the value of hpnicfFcPsmEnableState will be false. The noop means no action. The value of this object when read is always noop.') hpnicfFcPsmEnableState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 1, 1, 3), TruthValue().clone('false')).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmEnableState.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnableState.setDescription('The state of the port security. When the value is true, it means the port security is on, while the false means the port security is off.') hpnicfFcPsmConfigTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2), ) if mibBuilder.loadTexts: hpnicfFcPsmConfigTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmConfigTable.setDescription('A table that contains the configured entries.') hpnicfFcPsmConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1), ).setIndexNames((0, "HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmEnableVsanIndex"), (0, "HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmIndex")) if mibBuilder.loadTexts: hpnicfFcPsmConfigEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmConfigEntry.setDescription('Detailed information about each configuration.') hpnicfFcPsmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 32768))) if mibBuilder.loadTexts: hpnicfFcPsmIndex.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmIndex.setDescription('The index of this entry.') hpnicfFcPsmLoginDevType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1, 2), HpnicfFcPsmPortBindDevType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfFcPsmLoginDevType.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginDevType.setDescription('This represents the type of the instance of hpnicfFcPsmLoginDev, which includes nWWN, pWWN, sWWN, and wildCard.') hpnicfFcPsmLoginDev = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1, 3), HpnicfFcNameIdOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfFcPsmLoginDev.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginDev.setDescription('The logging-in device name, which is decided by the hpnicfFcPsmLoginDevType object. It represents node WWN when the value of hpnicfFcPsmLoginDevType is nWWN. It represents port WWN when the value of hpnicfFcPsmLoginDevType is pWWN. It represents switch WWN when the value of hpnicfFcPsmLoginDevType is sWWN. It represents any device when the value of hpnicfFcPsmLoginDevType is wildCard, and the value of the instance of this object should be zero-length string. The value of this object should not be invalid when hpnicfFcPsmRowStatus is set to createAndGo or active.') hpnicfFcPsmLoginPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1, 4), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfFcPsmLoginPoint.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginPoint.setDescription('The address of the port on the local switch through which the instance of hpnicfFcPsmLoginDev can log in. It represents ifindex when the value is not zero. It represents any port when the value is zero.') hpnicfFcPsmRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfFcPsmRowStatus.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmRowStatus.setDescription('Entry status. When creating a new instance of this table, the following objects should be set simultaneously: hpnicfFcPsmLoginDevType, h3cFcPsmLoginDev, hpnicfFcPsmLoginPoint, hpnicfFcPsmRowStatus. If hpnicfFcPsmLoginDevType is set to wildCard, the value of the instance of hpnicfFcPsmLoginDev should be zero-length string. The value of hpnicfFcPsmLoginDevType and hpnicfFcPsmLoginPoint cannot be set to wildCard and zero at the same time.') hpnicfFcPsmEnfTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3), ) if mibBuilder.loadTexts: hpnicfFcPsmEnfTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfTable.setDescription('The FC port security enforced table. It contains not only the configured policies, but also the learning ones learnt by the switch itself.') hpnicfFcPsmEnfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1), ).setIndexNames((0, "HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmEnableVsanIndex"), (0, "HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmEnfIndex")) if mibBuilder.loadTexts: hpnicfFcPsmEnfEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfEntry.setDescription('Detailed information about the FC port security enforced policy.') hpnicfFcPsmEnfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 32768))) if mibBuilder.loadTexts: hpnicfFcPsmEnfIndex.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfIndex.setDescription('The index of this entry.') hpnicfFcPsmEnfLoginDevType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1, 2), HpnicfFcPsmPortBindDevType()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginDevType.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginDevType.setDescription('This represents the type of the instance of hpnicfFcPsmEnfLoginDev, which includes nWWN, pWWN, sWWN, and wildCard.') hpnicfFcPsmEnfLoginDev = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1, 3), HpnicfFcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginDev.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginDev.setDescription('The logging-in device name, which is decided by the hpnicfFcPsmEnfLoginDevType object. It represents node WWN when the value of hpnicfFcPsmEnfLoginDevType is nWWN. It represents port WWN when the value of hpnicfFcPsmEnfLoginDevType is pWWN. It represents switch WWN when the value of hpnicfFcPsmEnfLoginDevType is sWWN. It represents any device when the value of hpnicfFcPsmEnfLoginDevType is wildCard, and the value of the instance of this object should be zero-length string.') hpnicfFcPsmEnfLoginPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1, 4), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginPoint.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginPoint.setDescription('The address of the port on the local switch through which the instance of hpnicfFcPsmEnfLoginDev can log in. It represents ifindex when the value is not zero. It represents any port when the value is zero.') hpnicfFcPsmEnfEntryType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("learning", 1), ("learnt", 2), ("static", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmEnfEntryType.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfEntryType.setDescription('When the value is learning, it represents the entry is learnt by the switch itself temporarily and will be deleted when the device log out. When the value is learnt, it represents the entry is learnt by the switch permanently. When the value is static, it represents the entry is configured.') hpnicfFcPsmCopyToConfigTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 4), ) if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfigTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfigTable.setDescription('Specifies whether to copy the entries from enforced table to the ones on configured table.') hpnicfFcPsmCopyToConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 4, 1), ).setIndexNames((0, "HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmEnableVsanIndex")) if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfigEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfigEntry.setDescription('Detailed information about the operation.') hpnicfFcPsmCopyToConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("copy", 1), ("noop", 2))).clone('noop')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfig.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfig.setDescription('When the object is set to copy, the learned entries will be copied on to the configured table on this VSAN, while the noop means no operation. The value of this object when read is always noop.') hpnicfFcPsmAutoLearnTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 5), ) if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnTable.setDescription('This table shows whether the auto-learning is enabled or not on specific VSANs.') hpnicfFcPsmAutoLearnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 5, 1), ).setIndexNames((0, "HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmEnableVsanIndex")) if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnEntry.setDescription('Detailed information about the auto-learning.') hpnicfFcPsmAutoLearnEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 5, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnEnable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnEnable.setDescription('This object is set to true to enable, or false to disable auto-learning on the local switch. When set to true, the switch can learn the devices that have already logged in as learning entries on the enforced table, while the false can stop the learning operation with the learning entries transformed to learnt ones.') hpnicfFcPsmClearTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 6), ) if mibBuilder.loadTexts: hpnicfFcPsmClearTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmClearTable.setDescription('This table is used for cleaning specific entries in enforced table.') hpnicfFcPsmClearEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 6, 1), ).setIndexNames((0, "HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmEnableVsanIndex")) if mibBuilder.loadTexts: hpnicfFcPsmClearEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmClearEntry.setDescription('Detailed information about the cleaning options.') hpnicfFcPsmClearType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 6, 1, 1), HpnicfFcPsmClearEntryType().clone('noop')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfFcPsmClearType.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmClearType.setDescription('This object when set to clearStatic, results in port bind static entries being cleared on this VSAN. This object when set to clearAutoLearn, results in auto-learnt entries being cleared on this VSAN. This object when set to clearAll, results in all of the port bind entries being cleared on this VSAN. No action is taken if this object is set to noop. The value of this object when read is always noop.') hpnicfFcPsmClearIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 6, 1, 2), InterfaceIndexOrZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfFcPsmClearIntf.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmClearIntf.setDescription('The object specifies the interface on which the entries will be cleared. If the object is zero or not set, it means the specified entries on all interfaces will be cleared.') hpnicfFcPsmStatsTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 1), ) if mibBuilder.loadTexts: hpnicfFcPsmStatsTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmStatsTable.setDescription('This table contains statistics of devices, which had been allowed or denied to log into the switch.') hpnicfFcPsmStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 1, 1), ).setIndexNames((0, "HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmEnableVsanIndex")) if mibBuilder.loadTexts: hpnicfFcPsmStatsEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmStatsEntry.setDescription('Detailed information about the statistics.') hpnicfFcPsmAllowedLogins = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmAllowedLogins.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmAllowedLogins.setDescription('The number of requests that have been allowed on the specified VSAN.') hpnicfFcPsmDeniedLogins = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmDeniedLogins.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmDeniedLogins.setDescription('The number of requests that have been denied on the specified VSAN.') hpnicfFcPsmStatsClear = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("clear", 1), ("noop", 2))).clone('noop')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfFcPsmStatsClear.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmStatsClear.setDescription('The statistics on this VSAN will be cleared if this object is set to clear. No action is taken if this object is set to noop. The value of this object when read is always noop.') hpnicfFcPsmViolationTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2), ) if mibBuilder.loadTexts: hpnicfFcPsmViolationTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmViolationTable.setDescription('This table maintains the information about the violations happened, containing at most 1024 items. When the number exceeds 1024, the earliest item will be over-written.') hpnicfFcPsmViolationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1), ).setIndexNames((0, "HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmEnableVsanIndex"), (0, "HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmViolationIndex")) if mibBuilder.loadTexts: hpnicfFcPsmViolationEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmViolationEntry.setDescription('Detailed information about the violation.') hpnicfFcPsmViolationIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1024))) if mibBuilder.loadTexts: hpnicfFcPsmViolationIndex.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmViolationIndex.setDescription('The index of this entry. The entry is uniquely distinguished by WWN, WWN type and ifindex where the login was denied.') hpnicfFcPsmLoginPWWN = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 2), HpnicfFcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmLoginPWWN.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginPWWN.setDescription('The pWWN of the device whose FLOGI(Fabric Login) request had been denied. If the device is an n-node, the value of the instance of hpnicfFcPsmLoginSWWN should be zero-length string.') hpnicfFcPsmLoginNWWN = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 3), HpnicfFcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmLoginNWWN.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginNWWN.setDescription('The nWWN of the device whose FLOGI request had been denied. If the device is an n-node, the value of the instance of hpnicfFcPsmLoginSWWN should be zero-length string.') hpnicfFcPsmLoginSWWN = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 4), HpnicfFcNameIdOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmLoginSWWN.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginSWWN.setDescription('The sWWN of the device whose FLOGI request had been denied. If the device is a switch, the values of the instance of hpnicfFcPsmLoginPWWN and hpnicfFcPsmLoginNWWN should be zero-length string.') hpnicfFcPsmLoginIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 5), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmLoginIntf.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginIntf.setDescription('The ifindex of the port where the login was denied.') hpnicfFcPsmLoginTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmLoginTime.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginTime.setDescription('Specifies the value of SysUpTime when the last denied login happened.') hpnicfFcPsmLoginCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfFcPsmLoginCount.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginCount.setDescription('The number of times for a certain nWWN/pWWN or sWWN had been denied to log into an interface of the local device.') hpnicfFcPsmFPortDenyNotify = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 0, 1)).setObjects(("IF-MIB", "ifDescr"), ("HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmLoginPWWN"), ("HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmLoginIntf"), ("HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmLoginTime")) if mibBuilder.loadTexts: hpnicfFcPsmFPortDenyNotify.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmFPortDenyNotify.setDescription('Notifies that a FLOGI is denied on an F port of the local device.') hpnicfFcPsmEPortDenyNotify = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 0, 2)).setObjects(("IF-MIB", "ifDescr"), ("HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmLoginSWWN"), ("HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmLoginIntf"), ("HPN-ICF-FC-PSM-MIB", "hpnicfFcPsmLoginTime")) if mibBuilder.loadTexts: hpnicfFcPsmEPortDenyNotify.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEPortDenyNotify.setDescription('Notifies that a switch is denied on an E port of the local device.') mibBuilder.exportSymbols("HPN-ICF-FC-PSM-MIB", hpnicfFcPsmClearIntf=hpnicfFcPsmClearIntf, hpnicfFcPsmStats=hpnicfFcPsmStats, hpnicfFcPsmClearType=hpnicfFcPsmClearType, hpnicfFcPsmLoginDevType=hpnicfFcPsmLoginDevType, hpnicfFcPsmClearTable=hpnicfFcPsmClearTable, hpnicfFcPsmEnfIndex=hpnicfFcPsmEnfIndex, hpnicfFcPsmConfiguration=hpnicfFcPsmConfiguration, hpnicfFcPsmStatsTable=hpnicfFcPsmStatsTable, hpnicfFcPsmConfigTable=hpnicfFcPsmConfigTable, hpnicfFcPsmEnable=hpnicfFcPsmEnable, hpnicfFcPsmLoginPWWN=hpnicfFcPsmLoginPWWN, hpnicfFcPsmEnfTable=hpnicfFcPsmEnfTable, hpnicfFcPsmLoginTime=hpnicfFcPsmLoginTime, hpnicfFcPsmEnfLoginPoint=hpnicfFcPsmEnfLoginPoint, hpnicfFcPsmClearEntry=hpnicfFcPsmClearEntry, hpnicfFcPsmIndex=hpnicfFcPsmIndex, HpnicfFcPsmPortBindDevType=HpnicfFcPsmPortBindDevType, hpnicfFcPsmCopyToConfigEntry=hpnicfFcPsmCopyToConfigEntry, hpnicfFcPsmLoginNWWN=hpnicfFcPsmLoginNWWN, hpnicfFcPsm=hpnicfFcPsm, hpnicfFcPsmAutoLearnTable=hpnicfFcPsmAutoLearnTable, hpnicfFcPsmEnfEntryType=hpnicfFcPsmEnfEntryType, hpnicfFcPsmEnfLoginDevType=hpnicfFcPsmEnfLoginDevType, hpnicfFcPsmEnableVsanIndex=hpnicfFcPsmEnableVsanIndex, hpnicfFcPsmViolationTable=hpnicfFcPsmViolationTable, hpnicfFcPsmLoginPoint=hpnicfFcPsmLoginPoint, hpnicfFcPsmScalarObjects=hpnicfFcPsmScalarObjects, hpnicfFcPsmViolationIndex=hpnicfFcPsmViolationIndex, hpnicfFcPsmLoginDev=hpnicfFcPsmLoginDev, hpnicfFcPsmNotifyEnable=hpnicfFcPsmNotifyEnable, hpnicfFcPsmDeniedLogins=hpnicfFcPsmDeniedLogins, hpnicfFcPsmCopyToConfig=hpnicfFcPsmCopyToConfig, hpnicfFcPsmObjects=hpnicfFcPsmObjects, hpnicfFcPsmEnfEntry=hpnicfFcPsmEnfEntry, hpnicfFcPsmViolationEntry=hpnicfFcPsmViolationEntry, hpnicfFcPsmConfigEntry=hpnicfFcPsmConfigEntry, PYSNMP_MODULE_ID=hpnicfFcPsm, hpnicfFcPsmEnfLoginDev=hpnicfFcPsmEnfLoginDev, hpnicfFcPsmLoginIntf=hpnicfFcPsmLoginIntf, hpnicfFcPsmEnableTable=hpnicfFcPsmEnableTable, hpnicfFcPsmEnableEntry=hpnicfFcPsmEnableEntry, hpnicfFcPsmFPortDenyNotify=hpnicfFcPsmFPortDenyNotify, hpnicfFcPsmNotifications=hpnicfFcPsmNotifications, hpnicfFcPsmAutoLearnEnable=hpnicfFcPsmAutoLearnEnable, hpnicfFcPsmLoginCount=hpnicfFcPsmLoginCount, hpnicfFcPsmAllowedLogins=hpnicfFcPsmAllowedLogins, hpnicfFcPsmEnableState=hpnicfFcPsmEnableState, hpnicfFcPsmAutoLearnEntry=hpnicfFcPsmAutoLearnEntry, hpnicfFcPsmRowStatus=hpnicfFcPsmRowStatus, hpnicfFcPsmLoginSWWN=hpnicfFcPsmLoginSWWN, hpnicfFcPsmStatsEntry=hpnicfFcPsmStatsEntry, hpnicfFcPsmStatsClear=hpnicfFcPsmStatsClear, hpnicfFcPsmCopyToConfigTable=hpnicfFcPsmCopyToConfigTable, HpnicfFcPsmClearEntryType=HpnicfFcPsmClearEntryType, hpnicfFcPsmEPortDenyNotify=hpnicfFcPsmEPortDenyNotify)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_size_constraint, single_value_constraint, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint') (hpnicf_fc_name_id_or_zero,) = mibBuilder.importSymbols('HPN-ICF-FC-TC-MIB', 'HpnicfFcNameIdOrZero') (hpnicf_san,) = mibBuilder.importSymbols('HPN-ICF-VSAN-MIB', 'hpnicfSan') (if_descr, interface_index_or_zero, interface_index) = mibBuilder.importSymbols('IF-MIB', 'ifDescr', 'InterfaceIndexOrZero', 'InterfaceIndex') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (counter64, notification_type, bits, gauge32, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, object_identity, mib_identifier, ip_address, time_ticks, integer32, module_identity, iso, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'NotificationType', 'Bits', 'Gauge32', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ObjectIdentity', 'MibIdentifier', 'IpAddress', 'TimeTicks', 'Integer32', 'ModuleIdentity', 'iso', 'Counter32') (truth_value, row_status, textual_convention, time_stamp, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'RowStatus', 'TextualConvention', 'TimeStamp', 'DisplayString') hpnicf_fc_psm = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8)) hpnicfFcPsm.setRevisions(('2013-10-17 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hpnicfFcPsm.setRevisionsDescriptions(('HPN-ICF-FC-PSM-MIB module is for managing the implementation of FC port security.',)) if mibBuilder.loadTexts: hpnicfFcPsm.setLastUpdated('201310170000Z') if mibBuilder.loadTexts: hpnicfFcPsm.setOrganization('') if mibBuilder.loadTexts: hpnicfFcPsm.setContactInfo('') if mibBuilder.loadTexts: hpnicfFcPsm.setDescription('This MIB contains the objects for FC port security.') hpnicf_fc_psm_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 0)) hpnicf_fc_psm_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1)) hpnicf_fc_psm_scalar_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 1)) hpnicf_fc_psm_configuration = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2)) hpnicf_fc_psm_stats = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3)) class Hpnicffcpsmportbinddevtype(TextualConvention, Integer32): description = 'The types of the instance of hpnicfFcPsmLoginDev, including nWWN(Node World Wide Name), pWWN(Port World Wide Name), sWWN(Switch World Wide Name), and wildCard.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('nWWN', 1), ('pWWN', 2), ('sWWN', 3), ('wildCard', 4)) class Hpnicffcpsmclearentrytype(TextualConvention, Integer32): description = 'This object when set to clearStatic, results in port bind static entries being cleared on this VSAN(Virtual Storage Area Networks). This object when set to clearAutoLearn, results in port bind auto-learnt entries being cleared on this VSAN. This object when set to clearAll, results in all of the port bind entries being cleared on this VSAN. No action is taken if this object is set to noop. The value of this object when read is always noop.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('clearStatic', 1), ('clearAutoLearn', 2), ('clearAll', 3), ('noop', 4)) hpnicf_fc_psm_notify_enable = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 1, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfFcPsmNotifyEnable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmNotifyEnable.setDescription('Whether to generate the notification or not depends on the object.') hpnicf_fc_psm_enable_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 1)) if mibBuilder.loadTexts: hpnicfFcPsmEnableTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnableTable.setDescription('Enable or disable the port security feature on a specified VSAN.') hpnicf_fc_psm_enable_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 1, 1)).setIndexNames((0, 'HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmEnableVsanIndex')) if mibBuilder.loadTexts: hpnicfFcPsmEnableEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnableEntry.setDescription('Detailed information about the port security.') hpnicf_fc_psm_enable_vsan_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 4095))) if mibBuilder.loadTexts: hpnicfFcPsmEnableVsanIndex.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnableVsanIndex.setDescription('The ID of VSAN on this entry.') hpnicf_fc_psm_enable = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enable', 1), ('enableWithAutoLearn', 2), ('disable', 3), ('noop', 4))).clone('noop')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfFcPsmEnable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnable.setDescription('When set to enable, the port security is on, the value of hpnicfFcPsmEnableState will be true. When set to enableWithAutoLearn, the port security is on with auto-learning, the value of hpnicfFcPsmEnableState will be true. When set to disable, the port security is off, the value of hpnicfFcPsmEnableState will be false. The noop means no action. The value of this object when read is always noop.') hpnicf_fc_psm_enable_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 1, 1, 3), truth_value().clone('false')).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmEnableState.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnableState.setDescription('The state of the port security. When the value is true, it means the port security is on, while the false means the port security is off.') hpnicf_fc_psm_config_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2)) if mibBuilder.loadTexts: hpnicfFcPsmConfigTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmConfigTable.setDescription('A table that contains the configured entries.') hpnicf_fc_psm_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1)).setIndexNames((0, 'HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmEnableVsanIndex'), (0, 'HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmIndex')) if mibBuilder.loadTexts: hpnicfFcPsmConfigEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmConfigEntry.setDescription('Detailed information about each configuration.') hpnicf_fc_psm_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 32768))) if mibBuilder.loadTexts: hpnicfFcPsmIndex.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmIndex.setDescription('The index of this entry.') hpnicf_fc_psm_login_dev_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1, 2), hpnicf_fc_psm_port_bind_dev_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfFcPsmLoginDevType.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginDevType.setDescription('This represents the type of the instance of hpnicfFcPsmLoginDev, which includes nWWN, pWWN, sWWN, and wildCard.') hpnicf_fc_psm_login_dev = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1, 3), hpnicf_fc_name_id_or_zero()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfFcPsmLoginDev.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginDev.setDescription('The logging-in device name, which is decided by the hpnicfFcPsmLoginDevType object. It represents node WWN when the value of hpnicfFcPsmLoginDevType is nWWN. It represents port WWN when the value of hpnicfFcPsmLoginDevType is pWWN. It represents switch WWN when the value of hpnicfFcPsmLoginDevType is sWWN. It represents any device when the value of hpnicfFcPsmLoginDevType is wildCard, and the value of the instance of this object should be zero-length string. The value of this object should not be invalid when hpnicfFcPsmRowStatus is set to createAndGo or active.') hpnicf_fc_psm_login_point = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1, 4), interface_index_or_zero()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfFcPsmLoginPoint.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginPoint.setDescription('The address of the port on the local switch through which the instance of hpnicfFcPsmLoginDev can log in. It represents ifindex when the value is not zero. It represents any port when the value is zero.') hpnicf_fc_psm_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 2, 1, 5), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfFcPsmRowStatus.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmRowStatus.setDescription('Entry status. When creating a new instance of this table, the following objects should be set simultaneously: hpnicfFcPsmLoginDevType, h3cFcPsmLoginDev, hpnicfFcPsmLoginPoint, hpnicfFcPsmRowStatus. If hpnicfFcPsmLoginDevType is set to wildCard, the value of the instance of hpnicfFcPsmLoginDev should be zero-length string. The value of hpnicfFcPsmLoginDevType and hpnicfFcPsmLoginPoint cannot be set to wildCard and zero at the same time.') hpnicf_fc_psm_enf_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3)) if mibBuilder.loadTexts: hpnicfFcPsmEnfTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfTable.setDescription('The FC port security enforced table. It contains not only the configured policies, but also the learning ones learnt by the switch itself.') hpnicf_fc_psm_enf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1)).setIndexNames((0, 'HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmEnableVsanIndex'), (0, 'HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmEnfIndex')) if mibBuilder.loadTexts: hpnicfFcPsmEnfEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfEntry.setDescription('Detailed information about the FC port security enforced policy.') hpnicf_fc_psm_enf_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 32768))) if mibBuilder.loadTexts: hpnicfFcPsmEnfIndex.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfIndex.setDescription('The index of this entry.') hpnicf_fc_psm_enf_login_dev_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1, 2), hpnicf_fc_psm_port_bind_dev_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginDevType.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginDevType.setDescription('This represents the type of the instance of hpnicfFcPsmEnfLoginDev, which includes nWWN, pWWN, sWWN, and wildCard.') hpnicf_fc_psm_enf_login_dev = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1, 3), hpnicf_fc_name_id_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginDev.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginDev.setDescription('The logging-in device name, which is decided by the hpnicfFcPsmEnfLoginDevType object. It represents node WWN when the value of hpnicfFcPsmEnfLoginDevType is nWWN. It represents port WWN when the value of hpnicfFcPsmEnfLoginDevType is pWWN. It represents switch WWN when the value of hpnicfFcPsmEnfLoginDevType is sWWN. It represents any device when the value of hpnicfFcPsmEnfLoginDevType is wildCard, and the value of the instance of this object should be zero-length string.') hpnicf_fc_psm_enf_login_point = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1, 4), interface_index_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginPoint.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfLoginPoint.setDescription('The address of the port on the local switch through which the instance of hpnicfFcPsmEnfLoginDev can log in. It represents ifindex when the value is not zero. It represents any port when the value is zero.') hpnicf_fc_psm_enf_entry_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('learning', 1), ('learnt', 2), ('static', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmEnfEntryType.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEnfEntryType.setDescription('When the value is learning, it represents the entry is learnt by the switch itself temporarily and will be deleted when the device log out. When the value is learnt, it represents the entry is learnt by the switch permanently. When the value is static, it represents the entry is configured.') hpnicf_fc_psm_copy_to_config_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 4)) if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfigTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfigTable.setDescription('Specifies whether to copy the entries from enforced table to the ones on configured table.') hpnicf_fc_psm_copy_to_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 4, 1)).setIndexNames((0, 'HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmEnableVsanIndex')) if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfigEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfigEntry.setDescription('Detailed information about the operation.') hpnicf_fc_psm_copy_to_config = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 4, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('copy', 1), ('noop', 2))).clone('noop')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfig.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmCopyToConfig.setDescription('When the object is set to copy, the learned entries will be copied on to the configured table on this VSAN, while the noop means no operation. The value of this object when read is always noop.') hpnicf_fc_psm_auto_learn_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 5)) if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnTable.setDescription('This table shows whether the auto-learning is enabled or not on specific VSANs.') hpnicf_fc_psm_auto_learn_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 5, 1)).setIndexNames((0, 'HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmEnableVsanIndex')) if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnEntry.setDescription('Detailed information about the auto-learning.') hpnicf_fc_psm_auto_learn_enable = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 5, 1, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnEnable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmAutoLearnEnable.setDescription('This object is set to true to enable, or false to disable auto-learning on the local switch. When set to true, the switch can learn the devices that have already logged in as learning entries on the enforced table, while the false can stop the learning operation with the learning entries transformed to learnt ones.') hpnicf_fc_psm_clear_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 6)) if mibBuilder.loadTexts: hpnicfFcPsmClearTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmClearTable.setDescription('This table is used for cleaning specific entries in enforced table.') hpnicf_fc_psm_clear_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 6, 1)).setIndexNames((0, 'HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmEnableVsanIndex')) if mibBuilder.loadTexts: hpnicfFcPsmClearEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmClearEntry.setDescription('Detailed information about the cleaning options.') hpnicf_fc_psm_clear_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 6, 1, 1), hpnicf_fc_psm_clear_entry_type().clone('noop')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfFcPsmClearType.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmClearType.setDescription('This object when set to clearStatic, results in port bind static entries being cleared on this VSAN. This object when set to clearAutoLearn, results in auto-learnt entries being cleared on this VSAN. This object when set to clearAll, results in all of the port bind entries being cleared on this VSAN. No action is taken if this object is set to noop. The value of this object when read is always noop.') hpnicf_fc_psm_clear_intf = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 2, 6, 1, 2), interface_index_or_zero()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfFcPsmClearIntf.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmClearIntf.setDescription('The object specifies the interface on which the entries will be cleared. If the object is zero or not set, it means the specified entries on all interfaces will be cleared.') hpnicf_fc_psm_stats_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 1)) if mibBuilder.loadTexts: hpnicfFcPsmStatsTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmStatsTable.setDescription('This table contains statistics of devices, which had been allowed or denied to log into the switch.') hpnicf_fc_psm_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 1, 1)).setIndexNames((0, 'HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmEnableVsanIndex')) if mibBuilder.loadTexts: hpnicfFcPsmStatsEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmStatsEntry.setDescription('Detailed information about the statistics.') hpnicf_fc_psm_allowed_logins = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 1, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmAllowedLogins.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmAllowedLogins.setDescription('The number of requests that have been allowed on the specified VSAN.') hpnicf_fc_psm_denied_logins = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 1, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmDeniedLogins.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmDeniedLogins.setDescription('The number of requests that have been denied on the specified VSAN.') hpnicf_fc_psm_stats_clear = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('clear', 1), ('noop', 2))).clone('noop')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfFcPsmStatsClear.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmStatsClear.setDescription('The statistics on this VSAN will be cleared if this object is set to clear. No action is taken if this object is set to noop. The value of this object when read is always noop.') hpnicf_fc_psm_violation_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2)) if mibBuilder.loadTexts: hpnicfFcPsmViolationTable.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmViolationTable.setDescription('This table maintains the information about the violations happened, containing at most 1024 items. When the number exceeds 1024, the earliest item will be over-written.') hpnicf_fc_psm_violation_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1)).setIndexNames((0, 'HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmEnableVsanIndex'), (0, 'HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmViolationIndex')) if mibBuilder.loadTexts: hpnicfFcPsmViolationEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmViolationEntry.setDescription('Detailed information about the violation.') hpnicf_fc_psm_violation_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 1024))) if mibBuilder.loadTexts: hpnicfFcPsmViolationIndex.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmViolationIndex.setDescription('The index of this entry. The entry is uniquely distinguished by WWN, WWN type and ifindex where the login was denied.') hpnicf_fc_psm_login_pwwn = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 2), hpnicf_fc_name_id_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmLoginPWWN.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginPWWN.setDescription('The pWWN of the device whose FLOGI(Fabric Login) request had been denied. If the device is an n-node, the value of the instance of hpnicfFcPsmLoginSWWN should be zero-length string.') hpnicf_fc_psm_login_nwwn = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 3), hpnicf_fc_name_id_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmLoginNWWN.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginNWWN.setDescription('The nWWN of the device whose FLOGI request had been denied. If the device is an n-node, the value of the instance of hpnicfFcPsmLoginSWWN should be zero-length string.') hpnicf_fc_psm_login_swwn = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 4), hpnicf_fc_name_id_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmLoginSWWN.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginSWWN.setDescription('The sWWN of the device whose FLOGI request had been denied. If the device is a switch, the values of the instance of hpnicfFcPsmLoginPWWN and hpnicfFcPsmLoginNWWN should be zero-length string.') hpnicf_fc_psm_login_intf = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 5), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmLoginIntf.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginIntf.setDescription('The ifindex of the port where the login was denied.') hpnicf_fc_psm_login_time = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 6), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmLoginTime.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginTime.setDescription('Specifies the value of SysUpTime when the last denied login happened.') hpnicf_fc_psm_login_count = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 1, 3, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfFcPsmLoginCount.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmLoginCount.setDescription('The number of times for a certain nWWN/pWWN or sWWN had been denied to log into an interface of the local device.') hpnicf_fc_psm_f_port_deny_notify = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 0, 1)).setObjects(('IF-MIB', 'ifDescr'), ('HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmLoginPWWN'), ('HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmLoginIntf'), ('HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmLoginTime')) if mibBuilder.loadTexts: hpnicfFcPsmFPortDenyNotify.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmFPortDenyNotify.setDescription('Notifies that a FLOGI is denied on an F port of the local device.') hpnicf_fc_psm_e_port_deny_notify = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 127, 8, 0, 2)).setObjects(('IF-MIB', 'ifDescr'), ('HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmLoginSWWN'), ('HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmLoginIntf'), ('HPN-ICF-FC-PSM-MIB', 'hpnicfFcPsmLoginTime')) if mibBuilder.loadTexts: hpnicfFcPsmEPortDenyNotify.setStatus('current') if mibBuilder.loadTexts: hpnicfFcPsmEPortDenyNotify.setDescription('Notifies that a switch is denied on an E port of the local device.') mibBuilder.exportSymbols('HPN-ICF-FC-PSM-MIB', hpnicfFcPsmClearIntf=hpnicfFcPsmClearIntf, hpnicfFcPsmStats=hpnicfFcPsmStats, hpnicfFcPsmClearType=hpnicfFcPsmClearType, hpnicfFcPsmLoginDevType=hpnicfFcPsmLoginDevType, hpnicfFcPsmClearTable=hpnicfFcPsmClearTable, hpnicfFcPsmEnfIndex=hpnicfFcPsmEnfIndex, hpnicfFcPsmConfiguration=hpnicfFcPsmConfiguration, hpnicfFcPsmStatsTable=hpnicfFcPsmStatsTable, hpnicfFcPsmConfigTable=hpnicfFcPsmConfigTable, hpnicfFcPsmEnable=hpnicfFcPsmEnable, hpnicfFcPsmLoginPWWN=hpnicfFcPsmLoginPWWN, hpnicfFcPsmEnfTable=hpnicfFcPsmEnfTable, hpnicfFcPsmLoginTime=hpnicfFcPsmLoginTime, hpnicfFcPsmEnfLoginPoint=hpnicfFcPsmEnfLoginPoint, hpnicfFcPsmClearEntry=hpnicfFcPsmClearEntry, hpnicfFcPsmIndex=hpnicfFcPsmIndex, HpnicfFcPsmPortBindDevType=HpnicfFcPsmPortBindDevType, hpnicfFcPsmCopyToConfigEntry=hpnicfFcPsmCopyToConfigEntry, hpnicfFcPsmLoginNWWN=hpnicfFcPsmLoginNWWN, hpnicfFcPsm=hpnicfFcPsm, hpnicfFcPsmAutoLearnTable=hpnicfFcPsmAutoLearnTable, hpnicfFcPsmEnfEntryType=hpnicfFcPsmEnfEntryType, hpnicfFcPsmEnfLoginDevType=hpnicfFcPsmEnfLoginDevType, hpnicfFcPsmEnableVsanIndex=hpnicfFcPsmEnableVsanIndex, hpnicfFcPsmViolationTable=hpnicfFcPsmViolationTable, hpnicfFcPsmLoginPoint=hpnicfFcPsmLoginPoint, hpnicfFcPsmScalarObjects=hpnicfFcPsmScalarObjects, hpnicfFcPsmViolationIndex=hpnicfFcPsmViolationIndex, hpnicfFcPsmLoginDev=hpnicfFcPsmLoginDev, hpnicfFcPsmNotifyEnable=hpnicfFcPsmNotifyEnable, hpnicfFcPsmDeniedLogins=hpnicfFcPsmDeniedLogins, hpnicfFcPsmCopyToConfig=hpnicfFcPsmCopyToConfig, hpnicfFcPsmObjects=hpnicfFcPsmObjects, hpnicfFcPsmEnfEntry=hpnicfFcPsmEnfEntry, hpnicfFcPsmViolationEntry=hpnicfFcPsmViolationEntry, hpnicfFcPsmConfigEntry=hpnicfFcPsmConfigEntry, PYSNMP_MODULE_ID=hpnicfFcPsm, hpnicfFcPsmEnfLoginDev=hpnicfFcPsmEnfLoginDev, hpnicfFcPsmLoginIntf=hpnicfFcPsmLoginIntf, hpnicfFcPsmEnableTable=hpnicfFcPsmEnableTable, hpnicfFcPsmEnableEntry=hpnicfFcPsmEnableEntry, hpnicfFcPsmFPortDenyNotify=hpnicfFcPsmFPortDenyNotify, hpnicfFcPsmNotifications=hpnicfFcPsmNotifications, hpnicfFcPsmAutoLearnEnable=hpnicfFcPsmAutoLearnEnable, hpnicfFcPsmLoginCount=hpnicfFcPsmLoginCount, hpnicfFcPsmAllowedLogins=hpnicfFcPsmAllowedLogins, hpnicfFcPsmEnableState=hpnicfFcPsmEnableState, hpnicfFcPsmAutoLearnEntry=hpnicfFcPsmAutoLearnEntry, hpnicfFcPsmRowStatus=hpnicfFcPsmRowStatus, hpnicfFcPsmLoginSWWN=hpnicfFcPsmLoginSWWN, hpnicfFcPsmStatsEntry=hpnicfFcPsmStatsEntry, hpnicfFcPsmStatsClear=hpnicfFcPsmStatsClear, hpnicfFcPsmCopyToConfigTable=hpnicfFcPsmCopyToConfigTable, HpnicfFcPsmClearEntryType=HpnicfFcPsmClearEntryType, hpnicfFcPsmEPortDenyNotify=hpnicfFcPsmEPortDenyNotify)
print('=-'*25) print(f'{"Sequencia de fibonacci": ^50}') print('=-'*25, '\n') termos = int(input('Quantos termos voce quer mostrar: ')) controle = 0 fibonacci = 0 n1 = 0 n2 = 1 print(n1, '->', n2, end=' -> ') while controle != termos - 2: controle += 1 fibonacci = n1 + n2 n1 = n2 n2 = fibonacci print(fibonacci, end=' -> ') print('FIM') print('\n','=-'*25)
print('=-' * 25) print(f"{'Sequencia de fibonacci': ^50}") print('=-' * 25, '\n') termos = int(input('Quantos termos voce quer mostrar: ')) controle = 0 fibonacci = 0 n1 = 0 n2 = 1 print(n1, '->', n2, end=' -> ') while controle != termos - 2: controle += 1 fibonacci = n1 + n2 n1 = n2 n2 = fibonacci print(fibonacci, end=' -> ') print('FIM') print('\n', '=-' * 25)
def count_and_say(palavra): dicionario = {} palavra = palavra.replace(' ', '') for letra in palavra: if not letra in dicionario.keys(): dicionario[letra] = 1 else: dicionario[letra] += 1 retorno = '' for letra, quantidade in dicionario.items(): retorno += '%d %s ' % (quantidade, letra) return retorno.rstrip()
def count_and_say(palavra): dicionario = {} palavra = palavra.replace(' ', '') for letra in palavra: if not letra in dicionario.keys(): dicionario[letra] = 1 else: dicionario[letra] += 1 retorno = '' for (letra, quantidade) in dicionario.items(): retorno += '%d %s ' % (quantidade, letra) return retorno.rstrip()
# https://www.hackerrank.com/challenges/recursive-digit-sum def super_digit(n, k): def _compute(num): num_str = str(num) total = sum(map(int, num_str)) if len(str(total)) == 1: return total else: return _compute(total) # n, k = [int(x) for x in raw_input().strip().split()] concat = int(str(n) * k) if len(str(concat)) == 1: return concat else: return _compute(concat)
def super_digit(n, k): def _compute(num): num_str = str(num) total = sum(map(int, num_str)) if len(str(total)) == 1: return total else: return _compute(total) concat = int(str(n) * k) if len(str(concat)) == 1: return concat else: return _compute(concat)
def remove_char(str,n): first_part = str[:n] last_part = str[n+1:] return first_part + last_part def unify(E1, E2): E1_Variable = E1[0].isupper() E2_Variable = E2[0].isupper() SUBSET = "" if not E1_Variable and not E2_Variable or(len(E1) == 0 and len(E2) == 0): if E1[0] == E2[0]: E1 = remove_char(E1,0) E2 = remove_char(E2,0) else: print("FAIL") return "FAIL" if E1_Variable: if E1[0] in E2[0]: print("FAIL") return "FAIL" else: SUBSET = E2[0] + "/" + E1[0] return SUBSET if E2_Variable: if E2[0] in E1[0]: print("FAIL") return "FAIL" else: SUBSET = E1[0] + "/" + E2[0] return SUBSET if E1[0] == "" or E2[0] == "": print("FAIL") quit() else: HE1 = E1[0] HE2 = E2[0] SUBS1 = unify(HE1,HE2) if SUBS1 == "FAIL": print("SUBS1: FAILED") quit() temp = SUBS1.split("/") if temp[1] == E1[1]: TE1 = temp[0] if temp[1] != E1[1]: TE1 = E1[1] if temp[1] == E2[1]: TE2 = temp[0] if temp[1] != E2[1]: TE2 = E2[1] SUBS2 = unify(TE1,TE2) if SUBS2 == "FAIL": quit() else: print(SUBS1 + ", " + SUBS2 ) list1 = "pXX" list2 = "pab" unify(list1, list2)
def remove_char(str, n): first_part = str[:n] last_part = str[n + 1:] return first_part + last_part def unify(E1, E2): e1__variable = E1[0].isupper() e2__variable = E2[0].isupper() subset = '' if not E1_Variable and (not E2_Variable) or (len(E1) == 0 and len(E2) == 0): if E1[0] == E2[0]: e1 = remove_char(E1, 0) e2 = remove_char(E2, 0) else: print('FAIL') return 'FAIL' if E1_Variable: if E1[0] in E2[0]: print('FAIL') return 'FAIL' else: subset = E2[0] + '/' + E1[0] return SUBSET if E2_Variable: if E2[0] in E1[0]: print('FAIL') return 'FAIL' else: subset = E1[0] + '/' + E2[0] return SUBSET if E1[0] == '' or E2[0] == '': print('FAIL') quit() else: he1 = E1[0] he2 = E2[0] subs1 = unify(HE1, HE2) if SUBS1 == 'FAIL': print('SUBS1: FAILED') quit() temp = SUBS1.split('/') if temp[1] == E1[1]: te1 = temp[0] if temp[1] != E1[1]: te1 = E1[1] if temp[1] == E2[1]: te2 = temp[0] if temp[1] != E2[1]: te2 = E2[1] subs2 = unify(TE1, TE2) if SUBS2 == 'FAIL': quit() else: print(SUBS1 + ', ' + SUBS2) list1 = 'pXX' list2 = 'pab' unify(list1, list2)
# Create a script that has: #a function accept a list of grades (i.e. [99, 88, 77]) #and returns a grading report for that list. # Data # List of Integers # blank_list = [] # grades = [99, 75, 89, 45, 68, 94, 87, 86, 80] # Conditional logic # A >= 90 # B < 90 and B >= 80 # C < 80 and C >= 70 # D < 70 and D >= 60 # F < 60 #grade = grades[0] ## do logic #grade = grades[1] ## do logic # until no more grades left #ind = 0 #while ind < len(grades): # grade = grades[ind] # # do logic # ind += 1 # def scorer(scores: list): # accepts a list of scores # def func_name(param1, param2,...): def scorer(scores): class_scores = {"A": 0, "B": 0, "C": 0, "D": 0, "F": 0} for grade in scores: if grade >= 90: print(f"{grade} is an A!") print(str(grade) + " is an A!") # class_scores["A"] = class_scores["A"] + 1 class_scores["A"] += 1 elif grade >= 80: print(f"{grade} is a B!") class_scores["B"] += 1 elif grade >= 70: print(f"{grade} is a C!") class_scores["C"] += 1 elif grade >= 60: print(f"{grade} is a D!") class_scores["D"] += 1 else: print(f"{grade} is a FAILURE!!!") class_scores["F"] += 1 print(class_scores) grades = [99, 75, 89, 45, 68, 94, 87, 86, 80] scorer(grades) print("mrs_ts_grades") mrs_ts_grades = [101, 22, 55, 77, 88, 99] scorer(mrs_ts_grades) print("mr_s_grades") mr_s_grades = [99, 76, 56, 65] scorer(mr_s_grades) # Expected Output # print out number of A's, B's, etc.. # OR # dictionary output { "A": 2, "B": 4 ...}
def scorer(scores): class_scores = {'A': 0, 'B': 0, 'C': 0, 'D': 0, 'F': 0} for grade in scores: if grade >= 90: print(f'{grade} is an A!') print(str(grade) + ' is an A!') class_scores['A'] += 1 elif grade >= 80: print(f'{grade} is a B!') class_scores['B'] += 1 elif grade >= 70: print(f'{grade} is a C!') class_scores['C'] += 1 elif grade >= 60: print(f'{grade} is a D!') class_scores['D'] += 1 else: print(f'{grade} is a FAILURE!!!') class_scores['F'] += 1 print(class_scores) grades = [99, 75, 89, 45, 68, 94, 87, 86, 80] scorer(grades) print('mrs_ts_grades') mrs_ts_grades = [101, 22, 55, 77, 88, 99] scorer(mrs_ts_grades) print('mr_s_grades') mr_s_grades = [99, 76, 56, 65] scorer(mr_s_grades)
def titulo(txt): print('-' * 35) print(f'{txt:^35}') print('-' * 35)
def titulo(txt): print('-' * 35) print(f'{txt:^35}') print('-' * 35)
def make_shirt(size='Large', message='I love Python'): print(f"The size of the shirt is {size} and the message is {message}") make_shirt() make_shirt('m') make_shirt('xs', "I'm okay")
def make_shirt(size='Large', message='I love Python'): print(f'The size of the shirt is {size} and the message is {message}') make_shirt() make_shirt('m') make_shirt('xs', "I'm okay")
def fib(n): '''Takes in a number n, and returns the nth fibonacci number, starting with: 1, 1, 2, 3, 5,...''' if n<=1: return n else: f = [0, 1] for i in range(2,n+1): f.append(f[i-1] + f[i-2]) return f[n]
def fib(n): """Takes in a number n, and returns the nth fibonacci number, starting with: 1, 1, 2, 3, 5,...""" if n <= 1: return n else: f = [0, 1] for i in range(2, n + 1): f.append(f[i - 1] + f[i - 2]) return f[n]
# Created by MechAviv # Map ID :: 940011080 # Western Region of Pantheon : Heliseum Hideout # [SET_DRESS_CHANGED] [00 00 ] sm.curNodeEventEnd(True) sm.setTemporarySkillSet(0) sm.setInGameDirectionMode(True, True, False, False) sm.forcedInput(0) sm.forcedInput(2) sm.sendDelay(60) sm.forcedInput(0) sm.setSpeakerID(0) sm.removeEscapeButton() sm.flipDialoguePlayerAsSpeaker() sm.setSpeakerType(3) sm.sendNext("What am I gonna do?! Maybe I can just hide in here until I die of old age.") sm.sendDelay(300) sm.forcedInput(2)
sm.curNodeEventEnd(True) sm.setTemporarySkillSet(0) sm.setInGameDirectionMode(True, True, False, False) sm.forcedInput(0) sm.forcedInput(2) sm.sendDelay(60) sm.forcedInput(0) sm.setSpeakerID(0) sm.removeEscapeButton() sm.flipDialoguePlayerAsSpeaker() sm.setSpeakerType(3) sm.sendNext('What am I gonna do?! Maybe I can just hide in here until I die of old age.') sm.sendDelay(300) sm.forcedInput(2)
class Solution: # @param root, a tree link node # @return nothing def connect(self, root): if not root or (not root.left and not root.right): return root strut = dict() level_0 = [root] lv = 0 strut[lv] = level_0 is_last_level = False while not is_last_level: new_level = [] last_node = None is_last_level = True for ele in strut[lv]: if last_node: last_node.next = ele last_node = ele is_last_level = is_last_level and (ele.left is None) new_level.append(ele.left) is_last_level = is_last_level and (ele.right is None) new_level.append(ele.right) lv += 1 strut[lv] = new_level return root def has_less_then_one_gen(self, parent): left = parent.left right = parent.right if left and self.has_kids(left): return False if right and self.has_kids(right): return False return True def has_kids(self, parent): return parent.left or parent.right
class Solution: def connect(self, root): if not root or (not root.left and (not root.right)): return root strut = dict() level_0 = [root] lv = 0 strut[lv] = level_0 is_last_level = False while not is_last_level: new_level = [] last_node = None is_last_level = True for ele in strut[lv]: if last_node: last_node.next = ele last_node = ele is_last_level = is_last_level and ele.left is None new_level.append(ele.left) is_last_level = is_last_level and ele.right is None new_level.append(ele.right) lv += 1 strut[lv] = new_level return root def has_less_then_one_gen(self, parent): left = parent.left right = parent.right if left and self.has_kids(left): return False if right and self.has_kids(right): return False return True def has_kids(self, parent): return parent.left or parent.right
class Solution: def partition(self, s: str) -> List[List[str]]: res=[] self.helper(res,s,[]) return res def helper(self,res,s,path): if not s: res.append(path) return for i in range(1,len(s)+1): if self.check(s[:i])==True: self.helper(res,s[i:],path+[s[:i]]) def check(self,s): return s==s[::-1]
class Solution: def partition(self, s: str) -> List[List[str]]: res = [] self.helper(res, s, []) return res def helper(self, res, s, path): if not s: res.append(path) return for i in range(1, len(s) + 1): if self.check(s[:i]) == True: self.helper(res, s[i:], path + [s[:i]]) def check(self, s): return s == s[::-1]
#entrada nFuncionarios = int(input()) qEventos = int(input()) #processamento mesas = [] for i in range(1, nFuncionarios + 1): #inserindo funcionarios nas mesas mesas.append(i) for i in range(0, qEventos): entrada = str(input()).split() eTipo = int(entrada[0]) a = int(entrada[1]) if eTipo == 1: #update b = int(entrada[2]) aux = mesas.index(b) mesas[mesas.index(a)] = b mesas[aux] = a else: flag = 0 indice = a while mesas[indice - 1] != a: flag += 1 indice = mesas[indice - 1] print(flag) #saida
n_funcionarios = int(input()) q_eventos = int(input()) mesas = [] for i in range(1, nFuncionarios + 1): mesas.append(i) for i in range(0, qEventos): entrada = str(input()).split() e_tipo = int(entrada[0]) a = int(entrada[1]) if eTipo == 1: b = int(entrada[2]) aux = mesas.index(b) mesas[mesas.index(a)] = b mesas[aux] = a else: flag = 0 indice = a while mesas[indice - 1] != a: flag += 1 indice = mesas[indice - 1] print(flag)
#58: Next Day a=input("Enter the date:") b=[1,3,5,7,8,10,12] c=[4,6,9,11] d=a.split('-') year=int(d[0]) month=int(d[1]) date=int(d[2]) if year%400==0: x=True elif year%100==0: x=False elif year%4==0: x=True else: x=False if 1<=month<=12 and 1<=date<=31: if month in b: date+=1 if date>31: month+=1 date=1 if month>12: year+=1 month=1 elif month in c: date+=1 if date>30: month+=1 date=1 elif month==2: if x: date+=1 if date>29: month+=1 date=1 else: date+=1 if date>28: month+=1 date=1 print(year,"-",month,"-",date) else: print("Invalid input")
a = input('Enter the date:') b = [1, 3, 5, 7, 8, 10, 12] c = [4, 6, 9, 11] d = a.split('-') year = int(d[0]) month = int(d[1]) date = int(d[2]) if year % 400 == 0: x = True elif year % 100 == 0: x = False elif year % 4 == 0: x = True else: x = False if 1 <= month <= 12 and 1 <= date <= 31: if month in b: date += 1 if date > 31: month += 1 date = 1 if month > 12: year += 1 month = 1 elif month in c: date += 1 if date > 30: month += 1 date = 1 elif month == 2: if x: date += 1 if date > 29: month += 1 date = 1 else: date += 1 if date > 28: month += 1 date = 1 print(year, '-', month, '-', date) else: print('Invalid input')
def get_soundex(token): temp='' token=token.upper() temp+=token[0] dic={'BFPV':1,'CGJKQSXZ':2,'DT':3,'L':4,'MN':5,'R':6,'AEIOUYHW':''} for char in token[1:]: for key in dic.keys(): if char in key: code=str(dic[key]) break if temp[-1]!=code: temp+=code temp=temp[:4].ljust(4,'0') return temp
def get_soundex(token): temp = '' token = token.upper() temp += token[0] dic = {'BFPV': 1, 'CGJKQSXZ': 2, 'DT': 3, 'L': 4, 'MN': 5, 'R': 6, 'AEIOUYHW': ''} for char in token[1:]: for key in dic.keys(): if char in key: code = str(dic[key]) break if temp[-1] != code: temp += code temp = temp[:4].ljust(4, '0') return temp
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def minDepth(self, root: TreeNode) -> int: def depth(node, x): if node == None: return x-1 if node.left == None and node.right == None: return x l = 10**5 r = 10**5 if node.left != None: l = depth(node.left,x+1) if node.right != None: r = depth(node.right,x+1) return min(l,r) return depth(root,1)
class Solution: def min_depth(self, root: TreeNode) -> int: def depth(node, x): if node == None: return x - 1 if node.left == None and node.right == None: return x l = 10 ** 5 r = 10 ** 5 if node.left != None: l = depth(node.left, x + 1) if node.right != None: r = depth(node.right, x + 1) return min(l, r) return depth(root, 1)
#!/usr/bin/env python3 # Import data with open('/home/agaspari/aoc2021/dec_8/dec8_input.txt') as f: signal_list = f.read().split('\n') unique_signals_one = {'c', 'f'} unique_signals_four = {'b', 'c', 'd', 'f'} unique_signals_seven = {'a', 'c', 'f'} unique_signals_eight = {'a', 'b', 'c', 'd', 'e', 'f', 'g'} unique_signals = [ unique_signals_one, unique_signals_four, unique_signals_seven, unique_signals_eight ] unique_signals_lengths = [len(x) for x in unique_signals] # Task 1 - How many times is a number with a unique number of segments output? inputs = [x.split(' | ')[0] for x in signal_list] outputs = [x.split(' | ')[1] for x in signal_list] recognized_count = 0 for output in outputs: signal_patterns = [signal for signal in output.split(' ')] for signal_pattern in signal_patterns: if len(signal_pattern) in unique_signals_lengths: recognized_count += 1 print("Number of unique signal counts:", recognized_count) # Task 2 - Decode the signals and get the output sum # Known digits # one: len == 2 # four: len == 4 # seven: len == 3 # eight: len == 7 # Unknown digits # zero: len == 6, len(set(4) - set(0)) == 1, len(set(seven) - set(0)) == 0 # two: len == 5, len(set(4) - set(2)) == 2, len(set(7) - set(2)) == 1 # three: len == 5, len(set(4) - set(3)) == 1, len(set(7) - set(3)) == 0 # five: len == 5, len(set(4) - set(5)) == 1, len(set(7) - set(5)) == 1 # six: len == 6, len(set(4) - set(6)) == 1, len(set(7) - set(6)) == 1 # nine: len == 6, len(set(4) - set(9)) == 0, len(set(7) - set(5)) == 0 decoded_outputs = list() # Loop through inputs for signal_input, signal_output in zip(inputs, outputs): known_digits = list() unknown_digits = list() # Check for known digits, check for unknown digits digits = [x for x in signal_input.split(' ')] for digit in digits: if len(digit) in unique_signals_lengths: known_digits.append({x for x in digit}) else: unknown_digits.append({x for x in digit}) known_digits = sorted(known_digits, key=len) all_digits = [0] * 10 all_digits[1], all_digits[7], all_digits[4], all_digits[8] = known_digits[0],known_digits[1],known_digits[2],known_digits[3], for digit in unknown_digits: if len(digit) == 5: if len(all_digits[4] - digit) == 1 and len(all_digits[7] - digit) == 0: all_digits[3] = digit elif len(all_digits[4] - digit) == 1 and len(all_digits[7] - digit) == 1: all_digits[5] = digit else: all_digits[2] = digit else: if len(all_digits[4] - digit) == 1 and len(all_digits[7] - digit) == 0: all_digits[0] = digit elif len(all_digits[4] - digit) == 1 and len(all_digits[7] - digit) == 1: all_digits[6] = digit else: all_digits[9] = digit output_value = '' signal_outputs = [{x for x in output} for output in signal_output.split(' ')] for output_digit in signal_outputs: for index, input_digit in enumerate(all_digits): if output_digit == input_digit: output_value += str(index) break else: continue if len(output_value) < 4: raise ValueError("Error: not enough output values decoded") decoded_outputs.append(int(output_value)) print("Sum of output values:", sum(decoded_outputs))
with open('/home/agaspari/aoc2021/dec_8/dec8_input.txt') as f: signal_list = f.read().split('\n') unique_signals_one = {'c', 'f'} unique_signals_four = {'b', 'c', 'd', 'f'} unique_signals_seven = {'a', 'c', 'f'} unique_signals_eight = {'a', 'b', 'c', 'd', 'e', 'f', 'g'} unique_signals = [unique_signals_one, unique_signals_four, unique_signals_seven, unique_signals_eight] unique_signals_lengths = [len(x) for x in unique_signals] inputs = [x.split(' | ')[0] for x in signal_list] outputs = [x.split(' | ')[1] for x in signal_list] recognized_count = 0 for output in outputs: signal_patterns = [signal for signal in output.split(' ')] for signal_pattern in signal_patterns: if len(signal_pattern) in unique_signals_lengths: recognized_count += 1 print('Number of unique signal counts:', recognized_count) decoded_outputs = list() for (signal_input, signal_output) in zip(inputs, outputs): known_digits = list() unknown_digits = list() digits = [x for x in signal_input.split(' ')] for digit in digits: if len(digit) in unique_signals_lengths: known_digits.append({x for x in digit}) else: unknown_digits.append({x for x in digit}) known_digits = sorted(known_digits, key=len) all_digits = [0] * 10 (all_digits[1], all_digits[7], all_digits[4], all_digits[8]) = (known_digits[0], known_digits[1], known_digits[2], known_digits[3]) for digit in unknown_digits: if len(digit) == 5: if len(all_digits[4] - digit) == 1 and len(all_digits[7] - digit) == 0: all_digits[3] = digit elif len(all_digits[4] - digit) == 1 and len(all_digits[7] - digit) == 1: all_digits[5] = digit else: all_digits[2] = digit elif len(all_digits[4] - digit) == 1 and len(all_digits[7] - digit) == 0: all_digits[0] = digit elif len(all_digits[4] - digit) == 1 and len(all_digits[7] - digit) == 1: all_digits[6] = digit else: all_digits[9] = digit output_value = '' signal_outputs = [{x for x in output} for output in signal_output.split(' ')] for output_digit in signal_outputs: for (index, input_digit) in enumerate(all_digits): if output_digit == input_digit: output_value += str(index) break else: continue if len(output_value) < 4: raise value_error('Error: not enough output values decoded') decoded_outputs.append(int(output_value)) print('Sum of output values:', sum(decoded_outputs))
x = 1 + 2 * 3 - 3 ** 5 / 2 y = 3 ** 5 - 2 z = x / y zz = x // y z -= z zz += zz xx = -x xx %= 10 if type(x) is int: print(x and y)
x = 1 + 2 * 3 - 3 ** 5 / 2 y = 3 ** 5 - 2 z = x / y zz = x // y z -= z zz += zz xx = -x xx %= 10 if type(x) is int: print(x and y)
class Queue: qu = [] size = 0 front = 0 rear = 0 def __init__(self, size): self.size = size def en_queue(self, data): self.qu.append(data) self.size = self.size + 1 self.rear = self.rear + 1 def de_queue(self): temp = self.qu[self.front] del self.qu[self.front] self.rear = self.rear - 1 self.size = self.size - 1 return temp def de_que_all(self): while not self.is_empty(): print(self.de_queue().__str__()) def get_front(self): return self.qu[self.front] def get_rear(self): return self.qu[-1] def is_full(self): return self.rear == self.get_size() def is_empty(self): return self.rear == 0 def get_size(self): return self.size
class Queue: qu = [] size = 0 front = 0 rear = 0 def __init__(self, size): self.size = size def en_queue(self, data): self.qu.append(data) self.size = self.size + 1 self.rear = self.rear + 1 def de_queue(self): temp = self.qu[self.front] del self.qu[self.front] self.rear = self.rear - 1 self.size = self.size - 1 return temp def de_que_all(self): while not self.is_empty(): print(self.de_queue().__str__()) def get_front(self): return self.qu[self.front] def get_rear(self): return self.qu[-1] def is_full(self): return self.rear == self.get_size() def is_empty(self): return self.rear == 0 def get_size(self): return self.size
class parser(object): def __call__(self, line): self.rank = 0 self.in_garbage = False # if False, then we're in garbage self.ignore = False self.points = [] self.garbage_count = 0 for char in line: self._inc(char) return self.points def _inc(self, char): if self.ignore: self.ignore = False return if char == "!": self.ignore = True return if self.in_garbage: if char == ">": self.in_garbage = False return self.garbage_count += 1 if not self.in_garbage: if char == "<": self.in_garbage = True return if char == "{" : self.rank += 1 return if char == "}" : self.points.insert(0, self.rank) self.rank -= 1 return if __name__ == "__main__": test1_input = ( ('{}', [1]), ('{{{}}}', [1,2,3]), ('{{},{}}', [1,2,2]), ('{{{},{},{{}}}}', [1,2,3,3,3,4]), ('{<a>,<a>,<a>,<a>}', [1]), ('{{<ab>},{<ab>},{<ab>},{<ab>}}', [1,2,2,2,2]), ('{{<!!>},{<!!>},{<!!>},{<!!>}}', [1,2,2,2,2]), ('{{<a!>},{<a!>},{<a!>},{<ab>}}', [1,2]) ) p = parser() for t in test1_input: check = p(t[0]) print(t[0], t[1], check) real_input = open('day9_input.txt').readline() p(real_input) print('real1', sum(p.points)) print('real2', p.garbage_count)
class Parser(object): def __call__(self, line): self.rank = 0 self.in_garbage = False self.ignore = False self.points = [] self.garbage_count = 0 for char in line: self._inc(char) return self.points def _inc(self, char): if self.ignore: self.ignore = False return if char == '!': self.ignore = True return if self.in_garbage: if char == '>': self.in_garbage = False return self.garbage_count += 1 if not self.in_garbage: if char == '<': self.in_garbage = True return if char == '{': self.rank += 1 return if char == '}': self.points.insert(0, self.rank) self.rank -= 1 return if __name__ == '__main__': test1_input = (('{}', [1]), ('{{{}}}', [1, 2, 3]), ('{{},{}}', [1, 2, 2]), ('{{{},{},{{}}}}', [1, 2, 3, 3, 3, 4]), ('{<a>,<a>,<a>,<a>}', [1]), ('{{<ab>},{<ab>},{<ab>},{<ab>}}', [1, 2, 2, 2, 2]), ('{{<!!>},{<!!>},{<!!>},{<!!>}}', [1, 2, 2, 2, 2]), ('{{<a!>},{<a!>},{<a!>},{<ab>}}', [1, 2])) p = parser() for t in test1_input: check = p(t[0]) print(t[0], t[1], check) real_input = open('day9_input.txt').readline() p(real_input) print('real1', sum(p.points)) print('real2', p.garbage_count)
class Text(): '''text to write to console''' def __init__(self, text, fg='black', bg='white'): self.text = text self.fg = fg self.bg = bg class Value(): '''a value for the status bar''' def __init__(self, name, text, row=0, fg='black', bg='white'): self.name = name self.text = text self.row = row self.fg = fg self.bg = bg
class Text: """text to write to console""" def __init__(self, text, fg='black', bg='white'): self.text = text self.fg = fg self.bg = bg class Value: """a value for the status bar""" def __init__(self, name, text, row=0, fg='black', bg='white'): self.name = name self.text = text self.row = row self.fg = fg self.bg = bg
m = int(input()) n = int(input()) + 1 for i in range(m, n, ): if (i % 17 == 0) or (i % 10 == 9) or (i % 3 == 0 and i % 5 == 0): print(i)
m = int(input()) n = int(input()) + 1 for i in range(m, n): if i % 17 == 0 or i % 10 == 9 or (i % 3 == 0 and i % 5 == 0): print(i)
def print_formatted(number): binlen = len(str(bin(number))) - 2 for i in range(1, number+1): print("{0} {1} {2} {3}".format(str(i).rjust(binlen), str(oct(i))[1:].rjust(binlen), format(i, 'x').upper().rjust(binlen), bin(i)[2:].rjust(binlen)))
def print_formatted(number): binlen = len(str(bin(number))) - 2 for i in range(1, number + 1): print('{0} {1} {2} {3}'.format(str(i).rjust(binlen), str(oct(i))[1:].rjust(binlen), format(i, 'x').upper().rjust(binlen), bin(i)[2:].rjust(binlen)))
class RequestHandler: def __init__ (self, logger): self.logger = logger def log (self, message, type = "info"): self.logger.log ("%s - %s" % (self.request.uri, message), type) def log_info (self, message, type='info'): self.log (message, type) def trace (self): self.logger.trace (self.request.uri) def working (self): return False
class Requesthandler: def __init__(self, logger): self.logger = logger def log(self, message, type='info'): self.logger.log('%s - %s' % (self.request.uri, message), type) def log_info(self, message, type='info'): self.log(message, type) def trace(self): self.logger.trace(self.request.uri) def working(self): return False
# # PySNMP MIB module HH3C-LOCAL-AAA-SERVER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HH3C-LOCAL-AAA-SERVER-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:15:00 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") hh3cCommon, = mibBuilder.importSymbols("HH3C-OID-MIB", "hh3cCommon") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") ObjectIdentity, Integer32, Counter32, Unsigned32, IpAddress, MibIdentifier, NotificationType, Counter64, iso, Bits, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "Integer32", "Counter32", "Unsigned32", "IpAddress", "MibIdentifier", "NotificationType", "Counter64", "iso", "Bits", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Gauge32") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") hh3cLocAAASvr = ModuleIdentity((1, 3, 6, 1, 4, 1, 25506, 2, 141)) hh3cLocAAASvr.setRevisions(('2013-07-06 09:45',)) if mibBuilder.loadTexts: hh3cLocAAASvr.setLastUpdated('201307060945Z') if mibBuilder.loadTexts: hh3cLocAAASvr.setOrganization('Hangzhou H3C Tech. Co., Ltd.') hh3cLocAAASvrControl = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 141, 1)) hh3cLocAAASvrTables = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 141, 2)) hh3cLocAAASvrTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 141, 3)) hh3cLocAAASvrTrapPrex = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 141, 3, 0)) hh3cLocAAASvrBillExportFailed = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 141, 3, 0, 1)) if mibBuilder.loadTexts: hh3cLocAAASvrBillExportFailed.setStatus('current') mibBuilder.exportSymbols("HH3C-LOCAL-AAA-SERVER-MIB", hh3cLocAAASvrControl=hh3cLocAAASvrControl, PYSNMP_MODULE_ID=hh3cLocAAASvr, hh3cLocAAASvrTrap=hh3cLocAAASvrTrap, hh3cLocAAASvr=hh3cLocAAASvr, hh3cLocAAASvrTrapPrex=hh3cLocAAASvrTrapPrex, hh3cLocAAASvrBillExportFailed=hh3cLocAAASvrBillExportFailed, hh3cLocAAASvrTables=hh3cLocAAASvrTables)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, constraints_intersection, single_value_constraint, constraints_union, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueRangeConstraint') (hh3c_common,) = mibBuilder.importSymbols('HH3C-OID-MIB', 'hh3cCommon') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (object_identity, integer32, counter32, unsigned32, ip_address, mib_identifier, notification_type, counter64, iso, bits, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'Integer32', 'Counter32', 'Unsigned32', 'IpAddress', 'MibIdentifier', 'NotificationType', 'Counter64', 'iso', 'Bits', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'Gauge32') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') hh3c_loc_aaa_svr = module_identity((1, 3, 6, 1, 4, 1, 25506, 2, 141)) hh3cLocAAASvr.setRevisions(('2013-07-06 09:45',)) if mibBuilder.loadTexts: hh3cLocAAASvr.setLastUpdated('201307060945Z') if mibBuilder.loadTexts: hh3cLocAAASvr.setOrganization('Hangzhou H3C Tech. Co., Ltd.') hh3c_loc_aaa_svr_control = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 141, 1)) hh3c_loc_aaa_svr_tables = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 141, 2)) hh3c_loc_aaa_svr_trap = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 141, 3)) hh3c_loc_aaa_svr_trap_prex = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 141, 3, 0)) hh3c_loc_aaa_svr_bill_export_failed = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 141, 3, 0, 1)) if mibBuilder.loadTexts: hh3cLocAAASvrBillExportFailed.setStatus('current') mibBuilder.exportSymbols('HH3C-LOCAL-AAA-SERVER-MIB', hh3cLocAAASvrControl=hh3cLocAAASvrControl, PYSNMP_MODULE_ID=hh3cLocAAASvr, hh3cLocAAASvrTrap=hh3cLocAAASvrTrap, hh3cLocAAASvr=hh3cLocAAASvr, hh3cLocAAASvrTrapPrex=hh3cLocAAASvrTrapPrex, hh3cLocAAASvrBillExportFailed=hh3cLocAAASvrBillExportFailed, hh3cLocAAASvrTables=hh3cLocAAASvrTables)
__version__ = '1.0.1' default_app_config = ( 'django_selectel_storage.apps.' 'DjangoSelectelStorageAppConfig' )
__version__ = '1.0.1' default_app_config = 'django_selectel_storage.apps.DjangoSelectelStorageAppConfig'
XMajor = [[15, 13.333333333333334, 26.666666666666668, 46.666666666666664, 13.333333333333334, 0.0, 0.0, 0.0],[13, 15.384615384615385, 38.46153846153846, 7.6923076923076925, 15.384615384615385, 15.384615384615385, 0.0, 7.6923076923076925],[4, 25.0, 0.0, 25.0, 50.0, 0.0, 0.0, 0.0],[10, 20.0, 30.0, 0.0, 0.0, 0.0, 20.0, 30.0],[6, 0.0, 33.333333333333336, 33.333333333333336, 0.0, 33.333333333333336, 0.0, 0.0],[8, 12.5, 37.5, 12.5, 12.5, 25.0, 0.0, 0.0],[12, 0.0, 41.666666666666664, 0.0, 16.666666666666668, 8.333333333333334, 16.666666666666668, 16.666666666666668],[4, 0.0, 0.0, 0.0, 50.0, 0.0, 50.0, 0.0],[11, 36.36363636363637, 36.36363636363637, 18.181818181818183, 9.090909090909092, 0.0, 0.0, 0.0],[9, 22.22222222222222, 22.22222222222222, 33.333333333333336, 0.0, 0.0, 22.22222222222222, 0.0],[11, 18.181818181818183, 9.090909090909092, 18.181818181818183, 9.090909090909092, 18.181818181818183, 27.272727272727273, 0.0],[9, 22.22222222222222, 44.44444444444444, 33.333333333333336, 0.0, 0.0, 0.0, 0.0],[12, 16.666666666666668, 8.333333333333334, 25.0, 41.666666666666664, 8.333333333333334, 0.0, 0.0],[7, 28.571428571428573, 28.571428571428573, 0.0, 0.0, 14.285714285714286, 28.571428571428573, 0.0],[10, 30.0, 10.0, 10.0, 20.0, 10.0, 10.0, 10.0],[7, 14.285714285714286, 14.285714285714286, 28.571428571428573, 14.285714285714286, 28.571428571428573, 0.0, 0.0],[6, 16.666666666666668, 33.333333333333336, 0.0, 16.666666666666668, 0.0, 33.333333333333336, 0.0],[12, 8.333333333333334, 50.0, 16.666666666666668, 8.333333333333334, 16.666666666666668, 0.0, 0.0],[12, 25.0, 41.666666666666664, 16.666666666666668, 16.666666666666668, 0.0, 0.0, 0.0],[7, 28.571428571428573, 0.0, 14.285714285714286, 14.285714285714286, 14.285714285714286, 14.285714285714286, 14.285714285714286],[13, 23.076923076923077, 7.6923076923076925, 30.76923076923077, 0.0, 15.384615384615385, 23.076923076923077, 0.0],[10, 20.0, 30.0, 20.0, 20.0, 10.0, 0.0, 0.0],[10, 10.0, 30.0, 20.0, 30.0, 0.0, 10.0, 0.0],[15, 20.0, 13.333333333333334, 26.666666666666668, 13.333333333333334, 20.0, 6.666666666666667, 0.0],[7, 28.571428571428573, 42.857142857142854, 0.0, 14.285714285714286, 14.285714285714286, 0.0, 0.0],[6, 33.333333333333336, 0.0, 0.0, 33.333333333333336, 0.0, 16.666666666666668, 16.666666666666668],[7, 14.285714285714286, 28.571428571428573, 14.285714285714286, 28.571428571428573, 0.0, 14.285714285714286, 0.0],[6, 16.666666666666668, 33.333333333333336, 16.666666666666668, 16.666666666666668, 0.0, 16.666666666666668, 0.0],[5, 20.0, 20.0, 0.0, 60.0, 0.0, 0.0, 0.0],[13, 0.0, 15.384615384615385, 15.384615384615385, 38.46153846153846, 15.384615384615385, 7.6923076923076925, 7.6923076923076925],[6, 16.666666666666668, 33.333333333333336, 0.0, 0.0, 33.333333333333336, 16.666666666666668, 0.0],[8, 25.0, 25.0, 25.0, 12.5, 0.0, 12.5, 0.0],[7, 28.571428571428573, 28.571428571428573, 14.285714285714286, 14.285714285714286, 0.0, 14.285714285714286, 0.0],[7, 28.571428571428573, 0.0, 42.857142857142854, 28.571428571428573, 0.0, 0.0, 0.0],[9, 33.333333333333336, 11.11111111111111, 11.11111111111111, 11.11111111111111, 22.22222222222222, 11.11111111111111, 0.0],[8, 12.5, 12.5, 50.0, 0.0, 12.5, 12.5, 0.0],[7, 28.571428571428573, 0.0, 0.0, 57.142857142857146, 14.285714285714286, 0.0, 0.0],[10, 0.0, 20.0, 20.0, 10.0, 10.0, 30.0, 10.0],[7, 28.571428571428573, 28.571428571428573, 0.0, 0.0, 14.285714285714286, 28.571428571428573, 0.0],[14, 7.142857142857143, 21.428571428571427, 14.285714285714286, 14.285714285714286, 42.857142857142854, 0.0, 0.0],[8, 12.5, 37.5, 37.5, 0.0, 12.5, 0.0, 0.0],[7, 0.0, 0.0, 28.571428571428573, 0.0, 28.571428571428573, 42.857142857142854, 0.0],[8, 12.5, 12.5, 12.5, 12.5, 25.0, 25.0, 0.0],[7, 14.285714285714286, 14.285714285714286, 14.285714285714286, 42.857142857142854, 14.285714285714286, 0.0, 0.0],[8, 25.0, 25.0, 12.5, 0.0, 12.5, 0.0, 25.0],[13, 30.76923076923077, 15.384615384615385, 15.384615384615385, 15.384615384615385, 15.384615384615385, 7.6923076923076925, 0.0],[7, 28.571428571428573, 14.285714285714286, 14.285714285714286, 0.0, 0.0, 28.571428571428573, 14.285714285714286],[6, 16.666666666666668, 50.0, 16.666666666666668, 0.0, 0.0, 16.666666666666668, 0.0],[8, 25.0, 37.5, 12.5, 0.0, 0.0, 12.5, 12.5],[9, 22.22222222222222, 0.0, 33.333333333333336, 22.22222222222222, 0.0, 0.0, 22.22222222222222],[6, 50.0, 0.0, 33.333333333333336, 0.0, 0.0, 16.666666666666668, 0.0],[9, 0.0, 22.22222222222222, 22.22222222222222, 22.22222222222222, 22.22222222222222, 11.11111111111111, 0.0],[7, 0.0, 28.571428571428573, 14.285714285714286, 28.571428571428573, 0.0, 0.0, 28.571428571428573],[11, 0.0, 27.272727272727273, 9.090909090909092, 18.181818181818183, 27.272727272727273, 9.090909090909092, 9.090909090909092],[13, 15.384615384615385, 23.076923076923077, 15.384615384615385, 7.6923076923076925, 23.076923076923077, 15.384615384615385, 0.0],[9, 22.22222222222222, 44.44444444444444, 11.11111111111111, 22.22222222222222, 0.0, 0.0, 0.0]] YMajor = [0, 0, 1, 0, 3, 0, 0, 3, 0, 3, 0, 0, 0, 3, 1, 3, 3, 0, 0, 0, 2, 3, 3, 0, 3, 0, 3, 3, 3, 3, 0, 0, 0, 3, 0, 3, 0, 0, 3, 3, 0, 3, 3, 3, 0, 0, 3, 3, 0, 0, 1, 3, 3, 1, 0, 3] XMinor = [[11, 9.090909090909092, 36.36363636363637, 18.181818181818183, 9.090909090909092, 9.090909090909092, 9.090909090909092, 9.090909090909092],[7, 28.571428571428573, 14.285714285714286, 28.571428571428573, 14.285714285714286, 0.0, 0.0, 14.285714285714286],[5, 20.0, 40.0, 20.0, 20.0, 0.0, 0.0, 0.0],[8, 12.5, 0.0, 25.0, 37.5, 12.5, 12.5, 0.0],[13, 7.6923076923076925, 30.76923076923077, 15.384615384615385, 30.76923076923077, 7.6923076923076925, 7.6923076923076925, 0.0],[4, 0.0, 50.0, 50.0, 0.0, 0.0, 0.0, 0.0],[3, 0.0, 0.0, 0.0, 33.333333333333336, 33.333333333333336, 33.333333333333336, 0.0],[8, 12.5, 37.5, 25.0, 0.0, 0.0, 25.0, 0.0],[13, 0.0, 7.6923076923076925, 7.6923076923076925, 23.076923076923077, 23.076923076923077, 38.46153846153846, 0.0],[8, 12.5, 50.0, 0.0, 0.0, 25.0, 12.5, 0.0],[7, 14.285714285714286, 42.857142857142854, 28.571428571428573, 14.285714285714286, 0.0, 0.0, 0.0],[14, 35.714285714285715, 14.285714285714286, 14.285714285714286, 0.0, 35.714285714285715, 0.0, 0.0],[12, 50.0, 8.333333333333334, 16.666666666666668, 16.666666666666668, 8.333333333333334, 0.0, 0.0],[10, 10.0, 10.0, 40.0, 30.0, 0.0, 10.0, 0.0],[11, 9.090909090909092, 18.181818181818183, 0.0, 18.181818181818183, 18.181818181818183, 9.090909090909092, 27.272727272727273],[10, 0.0, 40.0, 10.0, 20.0, 20.0, 0.0, 10.0],[8, 37.5, 37.5, 0.0, 0.0, 25.0, 0.0, 0.0],[12, 16.666666666666668, 16.666666666666668, 16.666666666666668, 33.333333333333336, 0.0, 16.666666666666668, 0.0],[9, 11.11111111111111, 33.333333333333336, 22.22222222222222, 0.0, 22.22222222222222, 11.11111111111111, 0.0],[6, 16.666666666666668, 16.666666666666668, 33.333333333333336, 16.666666666666668, 0.0, 16.666666666666668, 0.0],[7, 0.0, 14.285714285714286, 42.857142857142854, 14.285714285714286, 0.0, 0.0, 28.571428571428573],[10, 20.0, 30.0, 30.0, 10.0, 0.0, 10.0, 0.0],[8, 0.0, 37.5, 25.0, 0.0, 25.0, 12.5, 0.0],[11, 9.090909090909092, 0.0, 54.54545454545455, 18.181818181818183, 18.181818181818183, 0.0, 0.0],[6, 0.0, 33.333333333333336, 66.66666666666667, 0.0, 0.0, 0.0, 0.0],[6, 0.0, 33.333333333333336, 33.333333333333336, 16.666666666666668, 16.666666666666668, 0.0, 0.0],[10, 20.0, 20.0, 30.0, 20.0, 0.0, 0.0, 10.0],[10, 20.0, 20.0, 30.0, 20.0, 10.0, 0.0, 0.0],[9, 22.22222222222222, 0.0, 0.0, 55.55555555555556, 22.22222222222222, 0.0, 0.0],[11, 27.272727272727273, 9.090909090909092, 18.181818181818183, 0.0, 18.181818181818183, 9.090909090909092, 18.181818181818183],[10, 40.0, 10.0, 0.0, 10.0, 20.0, 20.0, 0.0],[10, 10.0, 30.0, 10.0, 20.0, 30.0, 0.0, 0.0],[12, 0.0, 8.333333333333334, 16.666666666666668, 41.666666666666664, 16.666666666666668, 16.666666666666668, 0.0],[7, 0.0, 57.142857142857146, 42.857142857142854, 0.0, 0.0, 0.0, 0.0],[11, 0.0, 27.272727272727273, 9.090909090909092, 27.272727272727273, 9.090909090909092, 27.272727272727273, 0.0],[8, 25.0, 37.5, 0.0, 25.0, 0.0, 12.5, 0.0],[9, 0.0, 44.44444444444444, 0.0, 0.0, 22.22222222222222, 11.11111111111111, 22.22222222222222],[11, 18.181818181818183, 27.272727272727273, 9.090909090909092, 18.181818181818183, 9.090909090909092, 9.090909090909092, 9.090909090909092],[11, 0.0, 54.54545454545455, 9.090909090909092, 27.272727272727273, 0.0, 9.090909090909092, 0.0],[4, 25.0, 25.0, 25.0, 25.0, 0.0, 0.0, 0.0],[3, 33.333333333333336, 33.333333333333336, 0.0, 0.0, 0.0, 33.333333333333336, 0.0],[12, 33.333333333333336, 16.666666666666668, 16.666666666666668, 16.666666666666668, 16.666666666666668, 0.0, 0.0],[10, 20.0, 30.0, 40.0, 10.0, 0.0, 0.0, 0.0],[12, 16.666666666666668, 16.666666666666668, 16.666666666666668, 0.0, 33.333333333333336, 16.666666666666668, 0.0],[5, 40.0, 20.0, 20.0, 20.0, 0.0, 0.0, 0.0],[3, 33.333333333333336, 0.0, 0.0, 66.66666666666667, 0.0, 0.0, 0.0],[9, 0.0, 33.333333333333336, 44.44444444444444, 0.0, 11.11111111111111, 11.11111111111111, 0.0]] YMinor = [2, 1, 2, 1, 1, 1, 3, 2, 1, 1, 2, 2, 2, 3, 1, 1, 2, 1, 1, 2, 1, 2, 2, 1, 2, 1, 1, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 1, 1, 2, 2, 1]
x_major = [[15, 13.333333333333334, 26.666666666666668, 46.666666666666664, 13.333333333333334, 0.0, 0.0, 0.0], [13, 15.384615384615385, 38.46153846153846, 7.6923076923076925, 15.384615384615385, 15.384615384615385, 0.0, 7.6923076923076925], [4, 25.0, 0.0, 25.0, 50.0, 0.0, 0.0, 0.0], [10, 20.0, 30.0, 0.0, 0.0, 0.0, 20.0, 30.0], [6, 0.0, 33.333333333333336, 33.333333333333336, 0.0, 33.333333333333336, 0.0, 0.0], [8, 12.5, 37.5, 12.5, 12.5, 25.0, 0.0, 0.0], [12, 0.0, 41.666666666666664, 0.0, 16.666666666666668, 8.333333333333334, 16.666666666666668, 16.666666666666668], [4, 0.0, 0.0, 0.0, 50.0, 0.0, 50.0, 0.0], [11, 36.36363636363637, 36.36363636363637, 18.181818181818183, 9.090909090909092, 0.0, 0.0, 0.0], [9, 22.22222222222222, 22.22222222222222, 33.333333333333336, 0.0, 0.0, 22.22222222222222, 0.0], [11, 18.181818181818183, 9.090909090909092, 18.181818181818183, 9.090909090909092, 18.181818181818183, 27.272727272727273, 0.0], [9, 22.22222222222222, 44.44444444444444, 33.333333333333336, 0.0, 0.0, 0.0, 0.0], [12, 16.666666666666668, 8.333333333333334, 25.0, 41.666666666666664, 8.333333333333334, 0.0, 0.0], [7, 28.571428571428573, 28.571428571428573, 0.0, 0.0, 14.285714285714286, 28.571428571428573, 0.0], [10, 30.0, 10.0, 10.0, 20.0, 10.0, 10.0, 10.0], [7, 14.285714285714286, 14.285714285714286, 28.571428571428573, 14.285714285714286, 28.571428571428573, 0.0, 0.0], [6, 16.666666666666668, 33.333333333333336, 0.0, 16.666666666666668, 0.0, 33.333333333333336, 0.0], [12, 8.333333333333334, 50.0, 16.666666666666668, 8.333333333333334, 16.666666666666668, 0.0, 0.0], [12, 25.0, 41.666666666666664, 16.666666666666668, 16.666666666666668, 0.0, 0.0, 0.0], [7, 28.571428571428573, 0.0, 14.285714285714286, 14.285714285714286, 14.285714285714286, 14.285714285714286, 14.285714285714286], [13, 23.076923076923077, 7.6923076923076925, 30.76923076923077, 0.0, 15.384615384615385, 23.076923076923077, 0.0], [10, 20.0, 30.0, 20.0, 20.0, 10.0, 0.0, 0.0], [10, 10.0, 30.0, 20.0, 30.0, 0.0, 10.0, 0.0], [15, 20.0, 13.333333333333334, 26.666666666666668, 13.333333333333334, 20.0, 6.666666666666667, 0.0], [7, 28.571428571428573, 42.857142857142854, 0.0, 14.285714285714286, 14.285714285714286, 0.0, 0.0], [6, 33.333333333333336, 0.0, 0.0, 33.333333333333336, 0.0, 16.666666666666668, 16.666666666666668], [7, 14.285714285714286, 28.571428571428573, 14.285714285714286, 28.571428571428573, 0.0, 14.285714285714286, 0.0], [6, 16.666666666666668, 33.333333333333336, 16.666666666666668, 16.666666666666668, 0.0, 16.666666666666668, 0.0], [5, 20.0, 20.0, 0.0, 60.0, 0.0, 0.0, 0.0], [13, 0.0, 15.384615384615385, 15.384615384615385, 38.46153846153846, 15.384615384615385, 7.6923076923076925, 7.6923076923076925], [6, 16.666666666666668, 33.333333333333336, 0.0, 0.0, 33.333333333333336, 16.666666666666668, 0.0], [8, 25.0, 25.0, 25.0, 12.5, 0.0, 12.5, 0.0], [7, 28.571428571428573, 28.571428571428573, 14.285714285714286, 14.285714285714286, 0.0, 14.285714285714286, 0.0], [7, 28.571428571428573, 0.0, 42.857142857142854, 28.571428571428573, 0.0, 0.0, 0.0], [9, 33.333333333333336, 11.11111111111111, 11.11111111111111, 11.11111111111111, 22.22222222222222, 11.11111111111111, 0.0], [8, 12.5, 12.5, 50.0, 0.0, 12.5, 12.5, 0.0], [7, 28.571428571428573, 0.0, 0.0, 57.142857142857146, 14.285714285714286, 0.0, 0.0], [10, 0.0, 20.0, 20.0, 10.0, 10.0, 30.0, 10.0], [7, 28.571428571428573, 28.571428571428573, 0.0, 0.0, 14.285714285714286, 28.571428571428573, 0.0], [14, 7.142857142857143, 21.428571428571427, 14.285714285714286, 14.285714285714286, 42.857142857142854, 0.0, 0.0], [8, 12.5, 37.5, 37.5, 0.0, 12.5, 0.0, 0.0], [7, 0.0, 0.0, 28.571428571428573, 0.0, 28.571428571428573, 42.857142857142854, 0.0], [8, 12.5, 12.5, 12.5, 12.5, 25.0, 25.0, 0.0], [7, 14.285714285714286, 14.285714285714286, 14.285714285714286, 42.857142857142854, 14.285714285714286, 0.0, 0.0], [8, 25.0, 25.0, 12.5, 0.0, 12.5, 0.0, 25.0], [13, 30.76923076923077, 15.384615384615385, 15.384615384615385, 15.384615384615385, 15.384615384615385, 7.6923076923076925, 0.0], [7, 28.571428571428573, 14.285714285714286, 14.285714285714286, 0.0, 0.0, 28.571428571428573, 14.285714285714286], [6, 16.666666666666668, 50.0, 16.666666666666668, 0.0, 0.0, 16.666666666666668, 0.0], [8, 25.0, 37.5, 12.5, 0.0, 0.0, 12.5, 12.5], [9, 22.22222222222222, 0.0, 33.333333333333336, 22.22222222222222, 0.0, 0.0, 22.22222222222222], [6, 50.0, 0.0, 33.333333333333336, 0.0, 0.0, 16.666666666666668, 0.0], [9, 0.0, 22.22222222222222, 22.22222222222222, 22.22222222222222, 22.22222222222222, 11.11111111111111, 0.0], [7, 0.0, 28.571428571428573, 14.285714285714286, 28.571428571428573, 0.0, 0.0, 28.571428571428573], [11, 0.0, 27.272727272727273, 9.090909090909092, 18.181818181818183, 27.272727272727273, 9.090909090909092, 9.090909090909092], [13, 15.384615384615385, 23.076923076923077, 15.384615384615385, 7.6923076923076925, 23.076923076923077, 15.384615384615385, 0.0], [9, 22.22222222222222, 44.44444444444444, 11.11111111111111, 22.22222222222222, 0.0, 0.0, 0.0]] y_major = [0, 0, 1, 0, 3, 0, 0, 3, 0, 3, 0, 0, 0, 3, 1, 3, 3, 0, 0, 0, 2, 3, 3, 0, 3, 0, 3, 3, 3, 3, 0, 0, 0, 3, 0, 3, 0, 0, 3, 3, 0, 3, 3, 3, 0, 0, 3, 3, 0, 0, 1, 3, 3, 1, 0, 3] x_minor = [[11, 9.090909090909092, 36.36363636363637, 18.181818181818183, 9.090909090909092, 9.090909090909092, 9.090909090909092, 9.090909090909092], [7, 28.571428571428573, 14.285714285714286, 28.571428571428573, 14.285714285714286, 0.0, 0.0, 14.285714285714286], [5, 20.0, 40.0, 20.0, 20.0, 0.0, 0.0, 0.0], [8, 12.5, 0.0, 25.0, 37.5, 12.5, 12.5, 0.0], [13, 7.6923076923076925, 30.76923076923077, 15.384615384615385, 30.76923076923077, 7.6923076923076925, 7.6923076923076925, 0.0], [4, 0.0, 50.0, 50.0, 0.0, 0.0, 0.0, 0.0], [3, 0.0, 0.0, 0.0, 33.333333333333336, 33.333333333333336, 33.333333333333336, 0.0], [8, 12.5, 37.5, 25.0, 0.0, 0.0, 25.0, 0.0], [13, 0.0, 7.6923076923076925, 7.6923076923076925, 23.076923076923077, 23.076923076923077, 38.46153846153846, 0.0], [8, 12.5, 50.0, 0.0, 0.0, 25.0, 12.5, 0.0], [7, 14.285714285714286, 42.857142857142854, 28.571428571428573, 14.285714285714286, 0.0, 0.0, 0.0], [14, 35.714285714285715, 14.285714285714286, 14.285714285714286, 0.0, 35.714285714285715, 0.0, 0.0], [12, 50.0, 8.333333333333334, 16.666666666666668, 16.666666666666668, 8.333333333333334, 0.0, 0.0], [10, 10.0, 10.0, 40.0, 30.0, 0.0, 10.0, 0.0], [11, 9.090909090909092, 18.181818181818183, 0.0, 18.181818181818183, 18.181818181818183, 9.090909090909092, 27.272727272727273], [10, 0.0, 40.0, 10.0, 20.0, 20.0, 0.0, 10.0], [8, 37.5, 37.5, 0.0, 0.0, 25.0, 0.0, 0.0], [12, 16.666666666666668, 16.666666666666668, 16.666666666666668, 33.333333333333336, 0.0, 16.666666666666668, 0.0], [9, 11.11111111111111, 33.333333333333336, 22.22222222222222, 0.0, 22.22222222222222, 11.11111111111111, 0.0], [6, 16.666666666666668, 16.666666666666668, 33.333333333333336, 16.666666666666668, 0.0, 16.666666666666668, 0.0], [7, 0.0, 14.285714285714286, 42.857142857142854, 14.285714285714286, 0.0, 0.0, 28.571428571428573], [10, 20.0, 30.0, 30.0, 10.0, 0.0, 10.0, 0.0], [8, 0.0, 37.5, 25.0, 0.0, 25.0, 12.5, 0.0], [11, 9.090909090909092, 0.0, 54.54545454545455, 18.181818181818183, 18.181818181818183, 0.0, 0.0], [6, 0.0, 33.333333333333336, 66.66666666666667, 0.0, 0.0, 0.0, 0.0], [6, 0.0, 33.333333333333336, 33.333333333333336, 16.666666666666668, 16.666666666666668, 0.0, 0.0], [10, 20.0, 20.0, 30.0, 20.0, 0.0, 0.0, 10.0], [10, 20.0, 20.0, 30.0, 20.0, 10.0, 0.0, 0.0], [9, 22.22222222222222, 0.0, 0.0, 55.55555555555556, 22.22222222222222, 0.0, 0.0], [11, 27.272727272727273, 9.090909090909092, 18.181818181818183, 0.0, 18.181818181818183, 9.090909090909092, 18.181818181818183], [10, 40.0, 10.0, 0.0, 10.0, 20.0, 20.0, 0.0], [10, 10.0, 30.0, 10.0, 20.0, 30.0, 0.0, 0.0], [12, 0.0, 8.333333333333334, 16.666666666666668, 41.666666666666664, 16.666666666666668, 16.666666666666668, 0.0], [7, 0.0, 57.142857142857146, 42.857142857142854, 0.0, 0.0, 0.0, 0.0], [11, 0.0, 27.272727272727273, 9.090909090909092, 27.272727272727273, 9.090909090909092, 27.272727272727273, 0.0], [8, 25.0, 37.5, 0.0, 25.0, 0.0, 12.5, 0.0], [9, 0.0, 44.44444444444444, 0.0, 0.0, 22.22222222222222, 11.11111111111111, 22.22222222222222], [11, 18.181818181818183, 27.272727272727273, 9.090909090909092, 18.181818181818183, 9.090909090909092, 9.090909090909092, 9.090909090909092], [11, 0.0, 54.54545454545455, 9.090909090909092, 27.272727272727273, 0.0, 9.090909090909092, 0.0], [4, 25.0, 25.0, 25.0, 25.0, 0.0, 0.0, 0.0], [3, 33.333333333333336, 33.333333333333336, 0.0, 0.0, 0.0, 33.333333333333336, 0.0], [12, 33.333333333333336, 16.666666666666668, 16.666666666666668, 16.666666666666668, 16.666666666666668, 0.0, 0.0], [10, 20.0, 30.0, 40.0, 10.0, 0.0, 0.0, 0.0], [12, 16.666666666666668, 16.666666666666668, 16.666666666666668, 0.0, 33.333333333333336, 16.666666666666668, 0.0], [5, 40.0, 20.0, 20.0, 20.0, 0.0, 0.0, 0.0], [3, 33.333333333333336, 0.0, 0.0, 66.66666666666667, 0.0, 0.0, 0.0], [9, 0.0, 33.333333333333336, 44.44444444444444, 0.0, 11.11111111111111, 11.11111111111111, 0.0]] y_minor = [2, 1, 2, 1, 1, 1, 3, 2, 1, 1, 2, 2, 2, 3, 1, 1, 2, 1, 1, 2, 1, 2, 2, 1, 2, 1, 1, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 1, 1, 2, 2, 1]
# Define Functions # Function that handles all litre conversions def litreconv(): print("you have selected Litres") conversion = int(input("input Litres to convert: ")) print(str(conversion) + " Litres") converted = 0.21997 * conversion print(str(round(converted, 4)) + " UK Gallons") converted = conversion / 3.785 print(str(round(converted, 4)) + "US Gallons") # Function that handles all UK Gallon conversions def ukgallonconv(): print("You have selected UK Gallons") conversion = int(input("Input UK Gallons to convert: ")) print(str(conversion) + " UK Gallons") converted = conversion / 0.21997 print(str(round(converted, 4)) + " Litres") converted = conversion * 1.201 print(str(round(converted, 4)) + "US Gallons") # Function that handles all US Gallon conversions def usgallonconv(): print("You have selected US Gallons") conversion = int(input("input US Gallons to convert: ")) print(str(conversion) + " US Gallons") converted = conversion * 3.785 print(str(round(converted, 4)) + " Litres") converted = conversion / 1.201 print(str(round(converted, 4)) + " UK Gallons") # Function that handles Pearsons Square calculation. Note: Tidy variable/input names def pearsonsconv(): pearsontarget = float(input("Please enter your target percentage: ")) print("You entered " + str(pearsontarget)) pearsoninput1 = float(input("Please enter your top left number: ")) print("You entered " + str(pearsoninput1)) pearsoninput2 = float(input("Please enter your bottom left number: ")) print("You entered " + str(pearsoninput2)) if pearsoninput2 > pearsontarget: pearsonsum2 = pearsoninput2 - pearsontarget else: pearsonsum2 = pearsontarget = pearsoninput2 print("Top right: " + str(pearsonsum2)) if pearsoninput1 > pearsontarget: pearsonsum1 = pearsoninput1 - pearsontarget else: pearsonsum1 = pearsontarget - pearsoninput1 print("Bottom right = " + str(pearsonsum1)) pearsonsumtotal = pearsonsum1 + pearsonsum2 print("Total of the two: " + str(pearsonsumtotal)) pearsonsum2 = (pearsonsum2 / pearsonsumtotal) * 100 print("Top right percentage: " + str(pearsonsum2)) pearsonsum1 = (pearsonsum1 / pearsonsumtotal) * 100 print("Bottom right percentage: " + str(pearsonsum1)) # Function that outputs needed amount of Potassium Metabisulphate from desired amount of sulphur dioxide def sulphurdioxideconv(): print("You have selected Potassium Metabisulphate > Sulphur Dioxide") so2=float(input("Please input the required amount of Sulphur Dioxide:")) print("You entered" + str(so2)) so2sum = (so2 / 57) * 100 print("You require " + str(so2sum) + "mg of Potassium Metabisulphate") # Main Loop firstrun = 0 run = 1 # On first open shows instructions. Will be redundant after UI added. while firstrun == 0: print("Welcome to WineConverter.") print("Enter 'List' to see the available conversions, and then either enter the number or the name of the measurement you have.") print("To Quit enter 'Quit' or 'Exit'\nTo see these instructions again enter 'Help'") firstrun = 1 # Main loop, user inputs command to call function while run == 1: command = input("Please enter your command: ") command.lower() if command == "list": print("1. Litres\n2. UK Gallons\n3. US Gallons\n 4. Pearsons Square\n5. Sulphur Dioxide") elif command == "litres" or command == "1": litreconv() elif command == "uk gallons" or command == "2": ukgallonconv() elif command == "us gallons" or command == "3": usgallonconv() elif command == "pearsons" or command == "4": pearsonsconv() elif command =="Sulphur" or command == "5": sulphurdioxideconv() elif command == "exit" or command == "quit": run = 0 else: print("Command not recognised, please enter List to see a full list of commands")
def litreconv(): print('you have selected Litres') conversion = int(input('input Litres to convert: ')) print(str(conversion) + ' Litres') converted = 0.21997 * conversion print(str(round(converted, 4)) + ' UK Gallons') converted = conversion / 3.785 print(str(round(converted, 4)) + 'US Gallons') def ukgallonconv(): print('You have selected UK Gallons') conversion = int(input('Input UK Gallons to convert: ')) print(str(conversion) + ' UK Gallons') converted = conversion / 0.21997 print(str(round(converted, 4)) + ' Litres') converted = conversion * 1.201 print(str(round(converted, 4)) + 'US Gallons') def usgallonconv(): print('You have selected US Gallons') conversion = int(input('input US Gallons to convert: ')) print(str(conversion) + ' US Gallons') converted = conversion * 3.785 print(str(round(converted, 4)) + ' Litres') converted = conversion / 1.201 print(str(round(converted, 4)) + ' UK Gallons') def pearsonsconv(): pearsontarget = float(input('Please enter your target percentage: ')) print('You entered ' + str(pearsontarget)) pearsoninput1 = float(input('Please enter your top left number: ')) print('You entered ' + str(pearsoninput1)) pearsoninput2 = float(input('Please enter your bottom left number: ')) print('You entered ' + str(pearsoninput2)) if pearsoninput2 > pearsontarget: pearsonsum2 = pearsoninput2 - pearsontarget else: pearsonsum2 = pearsontarget = pearsoninput2 print('Top right: ' + str(pearsonsum2)) if pearsoninput1 > pearsontarget: pearsonsum1 = pearsoninput1 - pearsontarget else: pearsonsum1 = pearsontarget - pearsoninput1 print('Bottom right = ' + str(pearsonsum1)) pearsonsumtotal = pearsonsum1 + pearsonsum2 print('Total of the two: ' + str(pearsonsumtotal)) pearsonsum2 = pearsonsum2 / pearsonsumtotal * 100 print('Top right percentage: ' + str(pearsonsum2)) pearsonsum1 = pearsonsum1 / pearsonsumtotal * 100 print('Bottom right percentage: ' + str(pearsonsum1)) def sulphurdioxideconv(): print('You have selected Potassium Metabisulphate > Sulphur Dioxide') so2 = float(input('Please input the required amount of Sulphur Dioxide:')) print('You entered' + str(so2)) so2sum = so2 / 57 * 100 print('You require ' + str(so2sum) + 'mg of Potassium Metabisulphate') firstrun = 0 run = 1 while firstrun == 0: print('Welcome to WineConverter.') print("Enter 'List' to see the available conversions, and then either enter the number or the name of the measurement you have.") print("To Quit enter 'Quit' or 'Exit'\nTo see these instructions again enter 'Help'") firstrun = 1 while run == 1: command = input('Please enter your command: ') command.lower() if command == 'list': print('1. Litres\n2. UK Gallons\n3. US Gallons\n 4. Pearsons Square\n5. Sulphur Dioxide') elif command == 'litres' or command == '1': litreconv() elif command == 'uk gallons' or command == '2': ukgallonconv() elif command == 'us gallons' or command == '3': usgallonconv() elif command == 'pearsons' or command == '4': pearsonsconv() elif command == 'Sulphur' or command == '5': sulphurdioxideconv() elif command == 'exit' or command == 'quit': run = 0 else: print('Command not recognised, please enter List to see a full list of commands')
dff = data df_sk = dff.loc[(dff['scenario']=='ND_NO_SKAVICA')|(dff['scenario']=='ND_SKAVICA')] df_sk['scenario'].replace({"ND_NO_SKAVICA":"No Skavica", "ND_SKAVICA":"With Skavica"}, inplace=True) df_sk1 = df_sk.loc[(df_sk['country']=='Albania')&(df_sk['tech']!='AL-Import')] df_sk1 = df_sk1.groupby(['country','tech','year','scenario']).mean().reset_index() df_sk2 = df_sk.loc[(df_sk['country']=='Albania')&(df_sk['tech']=='AL-Import')] df_sk2 = df_sk2.groupby(['country','tech','year','scenario']).mean().reset_index() df_sk3 = df_sk2.loc[(df_sk2['year']>=2025)&(df_sk2['year']<=2050)] graph_title='Impact of new Skavica dam on annual elec.imports in AL' fig3a = px.bar(df_sk3, x='year', y='value', color='scenario', facet_col='tech', facet_col_wrap=2, barmode='group', labels={"value": "GWh", "tech":"HPP"}, title=graph_title, category_orders={"scenario": ["No Skavica", "With Skavica"]}, facet_col_spacing=0.05, facet_row_spacing=0.05) fig3a.for_each_annotation(lambda a: a.update(text=a.text.split("=")[-1])) fig3a.update_yaxes(range=[1500, 4000]) #setting the y-axis scale to ensure good readability #You can change the image extension to *.png if you want or keep it as pdf (for high resolution) #output_folder = os.path.join('Results_graphics') #os.makedirs(output_folder, exist_ok = True) #pio.write_image(fig, 'Results_graphics/{}.pdf'.format(graph_title)) #fig.show()
dff = data df_sk = dff.loc[(dff['scenario'] == 'ND_NO_SKAVICA') | (dff['scenario'] == 'ND_SKAVICA')] df_sk['scenario'].replace({'ND_NO_SKAVICA': 'No Skavica', 'ND_SKAVICA': 'With Skavica'}, inplace=True) df_sk1 = df_sk.loc[(df_sk['country'] == 'Albania') & (df_sk['tech'] != 'AL-Import')] df_sk1 = df_sk1.groupby(['country', 'tech', 'year', 'scenario']).mean().reset_index() df_sk2 = df_sk.loc[(df_sk['country'] == 'Albania') & (df_sk['tech'] == 'AL-Import')] df_sk2 = df_sk2.groupby(['country', 'tech', 'year', 'scenario']).mean().reset_index() df_sk3 = df_sk2.loc[(df_sk2['year'] >= 2025) & (df_sk2['year'] <= 2050)] graph_title = 'Impact of new Skavica dam on annual elec.imports in AL' fig3a = px.bar(df_sk3, x='year', y='value', color='scenario', facet_col='tech', facet_col_wrap=2, barmode='group', labels={'value': 'GWh', 'tech': 'HPP'}, title=graph_title, category_orders={'scenario': ['No Skavica', 'With Skavica']}, facet_col_spacing=0.05, facet_row_spacing=0.05) fig3a.for_each_annotation(lambda a: a.update(text=a.text.split('=')[-1])) fig3a.update_yaxes(range=[1500, 4000])
# ASL ALPHABET, j,Z OMITTED language = { 'letter_a' : [ "http://science.opposingviews.com/DM-Resize/photos.demandstudios.com/getty/article/81/210/78033946.jpg?w=600&h=600&keep_ratio=1", "http://www.lifeprint.com/asl101/signjpegs/a/a.jpg", "http://thumbs.dreamstime.com/x/letter-sign-language-587184.jpg", "http://i.imgur.com/ei3jaNZ.jpg", 'http://imgur.com/dEzAAdf.jpg', 'http://imgur.com/Cq98daW.jpg', "http://i.imgur.com/idEI6pF.jpg", "http://i.imgur.com/AmaKsIu.jpg", 'http://i.imgur.com/pcRSprF.jpg' ], 'letter_b' : [ "https://s3.amazonaws.com/bankstreet_web/media/filer_public/filer_public/2013/03/04/asl_b.jpg", "http://www.wpclipart.com/sign_language/American_ABC_Photos/sign_language_photo_B.png", "http://thumbs.dreamstime.com/z/letter-b-sign-language-587210.jpg", "http://images2.pics4learning.com/catalog/b/b.jpg", "http://www.lifeprint.com/asl101/signjpegs/b/b1.jpg", "http://i.imgur.com/pU4pXE8.jpg", 'http://imgur.com/qbbPAW6.jpg', 'http://imgur.com/XBQ9nXx.jpg', 'http://imgur.com/lqvt8f0.jpg', 'http://i.imgur.com/Dw6FEFS.jpg', 'http://i.imgur.com/F9s68Ks.jpg', 'http://i.imgur.com/AwhYJjn.jpg', 'http://i.imgur.com/cmkzC7d.jpg', 'http://i.imgur.com/tiey392.jpg' ], 'letter_c' : [ "http://images2.pics4learning.com/catalog/c/c.jpg", "http://www.wpclipart.com/sign_language/American_ABC_Photos/sign_language_photo_C.png", 'http://i233.photobucket.com/albums/ee159/lintpicker/30801_9184.jpg', 'http://imgur.com/d3YIDeM.jpg', 'http://www.lifeprint.com/asl101/signjpegs/c/c.jpg', 'http://imgur.com/ZKY6quh.jpg', 'http://imgur.com/5oaD2DA.jpg', 'http://i.imgur.com/Iin7dhC.jpg', 'http://i.imgur.com/4yHKhIg.jpg', 'http://i.imgur.com/98WqyNm.jpg', 'http://i.imgur.com/5vMj1xa.jpg' ], 'letter_d' : [ "http://www.lifeprint.com/asl101/signjpegs/d/d.jpg", "http://images2.pics4learning.com/catalog/d/thumbs/d_thumb.jpg", 'http://users.manchester.edu/Student/SMCarmichael/MyWebpage/MPj03857270000[1]1.jpg', 'http://imgur.com/N8WTUo8.jpg', 'http://imgur.com/U1DTGet.jpg', 'http://i.imgur.com/P6tw9wt.jpg', 'http://i.imgur.com/Ci4c5Dz.jpg', 'http://i.imgur.com/Hbpg93V.jpg' ], 'letter_e' : [ "http://www.lifeprint.com/asl101/signjpegs/e/e.jpg", 'http://images2.pics4learning.com/catalog/e/thumbs/e_thumb.jpg', 'http://www.wtsd.tn.org/kylah_webpage/MPj03857280000%5B1%5D.jpg', 'http://imgur.com/xtKJdhs.jpg', 'http://imgur.com/I8SsKfZ.jpg', 'http://i.imgur.com/vlTE1A2.jpg', 'http://i.imgur.com/vQwuSpI.jpg', 'http://i.imgur.com/bmHkR4g.jpg', 'http://i.imgur.com/N1RjYaJ.jpg', 'http://i.imgur.com/UhYgnPZ.jpg' ], 'letter_f' : [ 'http://www.lifeprint.com/asl101/signjpegs/f/f.jpg', 'https://www.signingsavvy.com/images/words/alphabet/2/f1.jpg', 'http://images2.pics4learning.com/catalog/f/thumbs/f_thumb.jpg', 'http://imgur.com/18mJQcx.jpg', 'http://i.imgur.com/G6C4q8D.jpg', 'http://i.imgur.com/dA5SGV9.jpg', 'http://i.imgur.com/g5xoIpn.jpg', 'http://i.imgur.com/kkFqone.jpg', 'http://i.imgur.com/tu93sTL.jpg', 'http://i.imgur.com/tu93sTL.jpg' ], 'letter_g' : [ 'http://www.lifeprint.com/asl101/signjpegs/g/g1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/g/g2.jpg', 'http://images2.pics4learning.com/catalog/g/thumbs/g_thumb.jpg', 'http://imgur.com/wog08bz.jpg', 'http://i.imgur.com/xsPrfCk.jpg', 'http://i.imgur.com/RQJEDNa.jpg', 'http://i.imgur.com/9NfbVpb.jpg', 'http://i.imgur.com/5fofc5J.jpg', 'http://i.imgur.com/VB1Zb3l.jpg' ], 'letter_h' : [ 'http://www.lifeprint.com/asl101/signjpegs/h/h1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/h/h2.jpg', 'http://www.lifeprint.com/asl101/signjpegs/h/h3.jpg', 'http://images2.pics4learning.com/catalog/h/h.jpg', 'http://imgur.com/CWStAMd.jpg', 'http://imgur.com/LCOuoqr.jpg', 'http://i.imgur.com/O28D9QU.jpg', 'http://i.imgur.com/5M3X0RP.jpg', 'http://i.imgur.com/cWbi2Ul.jpg', 'http://i.imgur.com/719dcYC.jpg', 'http://i.imgur.com/BsqRJGS.jpg' ], 'letter_i' : [ 'http://www.lifeprint.com/asl101/signjpegs/j/i1.jpg', 'http://images2.pics4learning.com/catalog/i/i.jpg', 'http://imgur.com/TbSpe7K.jpg', 'http://i.imgur.com/jeDqEJd.jpg', 'http://i.imgur.com/yRydMLJ.jpg', 'http://i.imgur.com/RlBX7Cw.jpg', 'http://i.imgur.com/lTM5vRg.jpg', 'http://i.imgur.com/Nc3DR34.jpg', 'http://i.imgur.com/s7DeARK.jpg', 'http://i.imgur.com/U4Xf04c.jpg', 'http://i.imgur.com/AWFRgh1.jpg' ], 'letter_k' : [ "http://www.lifeprint.com/asl101/signjpegs/k/k.jpg", "http://www.lifeprint.com/asl101/signjpegs/k/k1.jpg", "http://www.lifeprint.com/asl101/signjpegs/k/k2.jpg", 'http://images2.pics4learning.com/catalog/k/k.jpg', 'http://imgur.com/oth4JHl.jpg', 'http://imgur.com/RX9GheD.jpg' ], 'letter_l' : [ 'http://www.lifeprint.com/asl101/signjpegs/l/l.jpg', 'http://images2.pics4learning.com/catalog/l/l.jpg', 'http://imgur.com/3Wrr83R.jpg', 'http://i.imgur.com/Kk00yJi.jpg', 'http://i.imgur.com/Y3PfW5E.jpg' 'http://i.imgur.com/c4VbfM7.jpg', 'http://i.imgur.com/VgEXOrD.jpg', 'http://i.imgur.com/QK3otVV.jpg', 'http://i.imgur.com/tqy78Tw.jpg', 'http://i.imgur.com/HFcYyWC.jpg', 'http://vignette1.wikia.nocookie.net/glee/images/5/53/L_to_Loser.jpg/revision/latest?cb=20100919121543', 'http://i.imgur.com/Sy3MQh5.jpg' ], 'letter_m' : [ 'http://www.lifeprint.com/asl101/signjpegs/m/m1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/m/m2.jpg', 'http://images2.pics4learning.com/catalog/m/m.jpg', 'http://i.imgur.com/wJ14Xsp.jpg', 'http://i.imgur.com/cH4Ctwz.jpg', 'http://i.imgur.com/eLcC1Hy.jpg', 'http://i.imgur.com/BH3bj3e.jpg', 'http://i.imgur.com/sf3ylPt.jpg', 'http://i.imgur.com/A6CEht0.jpg' ], 'letter_n' : [ 'http://www.lifeprint.com/asl101/signjpegs/n/n1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/n/n2.jpg', 'http://images2.pics4learning.com/catalog/n/n.jpg', 'http://i.imgur.com/pqa8Zyw.jpg', 'http://i.imgur.com/JY0JKp4.jpg', 'http://i.imgur.com/CaOevfe.jpg', 'http://i.imgur.com/zAMaTo6.jpg', 'http://i.imgur.com/phLgLZx.jpg', 'http://i.imgur.com/8YXDFcx.jpg', 'http://i.imgur.com/LB8gklq.jpg' ], 'letter_o':[ 'http://www.lifeprint.com/asl101/signjpegs/o/o1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/o/o2.jpg', 'http://www.lifeprint.com/asl101/signjpegs/o/o3.jpg', 'http://images2.pics4learning.com/catalog/o/o.jpg', 'http://imgur.com/85LJSka.jpg', 'http://i.imgur.com/y6ArfBV.jpg', 'http://i.imgur.com/1SED8NN.jpg', 'http://i.imgur.com/do3X45q.jpg', 'http://i.imgur.com/kNEYY1M.jpg', 'http://i.imgur.com/7GGzriv.jpg', 'http://i.imgur.com/8IrR5L9.jpg', 'http://i.imgur.com/CJ4tKYs.jpg' ], 'letter_p': [ 'http://www.lifeprint.com/asl101/signjpegs/p/p1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/p/p2.jpg', 'http://www.lifeprint.com/asl101/signjpegs/p/p3.jpg', 'http://images2.pics4learning.com/catalog/p/p.jpg', 'http://i.imgur.com/tkDcZMe.jpg', 'http://i.imgur.com/egNs3cW.jpg', 'http://i.imgur.com/pJ4o3yH.jpg', 'http://i.imgur.com/y3KfSeG.jpg', 'http://i.imgur.com/krug936.jpg', 'http://i.imgur.com/jo63UDp.jpg', 'http://i.imgur.com/ZyiAxwd.jpg' ], 'letter_q': [ 'http://www.lifeprint.com/asl101/signjpegs/q/q1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/q/q2.jpg', 'http://images2.pics4learning.com/catalog/q/q.jpg', 'http://imgur.com/jidKKYK.jpg', 'http://i.imgur.com/3eG0iPQ.jpg', 'http://i.imgur.com/RJlOzHO.jpg', 'http://i.imgur.com/kT5qkFL.jpg', 'http://i.imgur.com/La5ytRV.jpg', 'http://i.imgur.com/vM81Zk2.jpg', 'http://i.imgur.com/eKGg70h.jpg', 'http://i.imgur.com/FLEGaaq.jpg', 'http://i.imgur.com/ZV7qQHK.jpg', 'http://i.imgur.com/W6gWT8a.jpg' ], 'letter_r' : [ 'http://www.lifeprint.com/asl101/signjpegs/r/r.jpg', 'http://images2.pics4learning.com/catalog/r/thumbs/r_thumb.jpg', 'http://i.imgur.com/9wwRZDc.jpg', 'http://i.imgur.com/xfGtPRf.jpg', 'http://i.imgur.com/uDojFj2.jpg', 'http://i.imgur.com/T7kJULr.jpg', 'http://i.imgur.com/MIZWPZI.jpg', 'http://i.imgur.com/F4MkT8m.jpg', 'http://i.imgur.com/N6Gx7vl.jpg' ], 'letter_s': [ "http://www.lifeprint.com/asl101/signjpegs/s/s.jpg", 'http://images2.pics4learning.com/catalog/s/thumbs/s_thumb.jpg', 'http://i.imgur.com/rmf5jgR.jpg', 'http://i.imgur.com/P3Zq5Dd.jpg', 'http://i.imgur.com/xClBmxV.jpg', 'http://i.imgur.com/hQjYMPn.jpg', 'http://i.imgur.com/2mX9w8T.jpg', 'http://i.imgur.com/Fa70wX8.jpg' ], 'letter_t' : [ 'http://www.lifeprint.com/asl101/signjpegs/t/t.jpg', 'http://images2.pics4learning.com/catalog/t/thumbs/t_thumb.jpg', 'http://imgur.com/cirlKJB.jpg', 'http://i.imgur.com/nnDEPLf.jpg', 'http://i.imgur.com/HLxur9q.jpg', 'http://i.imgur.com/bljZk3l.jpg', 'http://i.imgur.com/9GUDD82.jpg', 'http://i.imgur.com/KLL2zzt.jpg', 'http://i.imgur.com/vSvZ15A.jpg', 'http://i.imgur.com/jmKPaJz.jpg' ], 'letter_u': [ 'http://www.lifeprint.com/asl101/signjpegs/u/u.jpg', 'http://images2.pics4learning.com/catalog/u/thumbs/u_thumb.jpg', 'http://imgur.com/wgP9cZw.jpg', 'http://i.imgur.com/u9YwhBP.jpg', 'http://i.imgur.com/zUyMaWD.jpg', 'http://i.imgur.com/39rVd1f.jpg', 'http://i.imgur.com/W1SiHte.jpg', 'http://i.imgur.com/zqJ7ziC.jpg', 'http://i.imgur.com/FT9gSS2.jpg', 'http://i.imgur.com/oXrvDE5.jpg', 'http://i.imgur.com/5WOntzk.jpg' ], 'letter_v' : [ 'http://www.lifeprint.com/asl101/signjpegs/v/v.jpg', 'http://images2.pics4learning.com/catalog/v/thumbs/v_thumb.jpg', 'http://imgur.com/nXyOWzj.jpg', 'http://i.imgur.com/69NrFjG.jpg', 'http://i.imgur.com/GPyiPNv.jpg', 'http://i.imgur.com/OkHpWff.jpg', 'http://i.imgur.com/NX2G7JW.jpg', 'http://i.imgur.com/Su0ByBz.jpg', 'http://i.imgur.com/rnO7sVH.jpg', 'http://i.imgur.com/YAtArlj.jpg', 'http://i.imgur.com/xDwSHGg.jpg', 'http://i.imgur.com/skhHAqq.jpg' ], 'letter_w' : [ 'http://www.lifeprint.com/asl101/signjpegs/w/w.jpg', 'http://images2.pics4learning.com/catalog/w/thumbs/w_thumb.jpg', 'http://i.imgur.com/ep9SPS6.jpg', 'http://i.imgur.com/kyhQ5D4.jpg', 'http://i.imgur.com/mHGWgy4.jpg', 'http://i.imgur.com/BQVK36B.jpg', 'http://i.imgur.com/2lPUvlM.jpg', 'http://i.imgur.com/Zs5QqU8.jpg', 'http://i.imgur.com/WfTMaDV.jpg', 'http://i.imgur.com/5pMmYeR.jpg' ], 'letter_x': [ 'http://www.lifeprint.com/asl101/signjpegs/x/x1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/x/x2.jpg', 'http://images2.pics4learning.com/catalog/x/thumbs/x_thumb.jpg', 'http://i.imgur.com/BzGhtvx.jpg', 'http://i.imgur.com/M8oXvMg.jpg', 'http://i.imgur.com/EAGSTO5.jpg', 'http://i.imgur.com/jANf5IK.jpg', 'http://i.imgur.com/BfsrKmH.jpg', 'http://i.imgur.com/KjPCC57.jpg' ], 'letter_y' : [ 'http://www.lifeprint.com/asl101/signjpegs/y/y.jpg', 'http://images2.pics4learning.com/catalog/y/thumbs/y_thumb.jpg', 'http://i.imgur.com/lFCvuYs.jpg', 'http://i.imgur.com/cqsOgCx.jpg', 'http://i.imgur.com/BagarbG.jpg', 'http://i.imgur.com/LVhlWhQ.jpg', 'http://i.imgur.com/uKSmVuv.jpg', 'http://i.imgur.com/QYrdAW3.jpg', 'http://i.imgur.com/5RrMIez.jpg', 'http://i.imgur.com/6nhuW9v.jpg', 'http://i.imgur.com/h1AumoX.jpg', 'http://i.imgur.com/v74QoHw.jpg' ], 'applause' : [ "http://www.churchleaders.com/wp-content/uploads/files/article_images/clap_or_not_937398406.jpg", "http://i.imgur.com/GxvFP6h.jpg", "http://i.imgur.com/LgXOHBL.jpg", "http://i.imgur.com/JKmWCEn.jpg", "http://i.imgur.com/iJkf0st.jpg", "http://i.imgur.com/Dx1EULd.jpg", "https://image.freepik.com/free-photo/cook--cosmetics--clapping--hand_3256176.jpg" ] }
language = {'letter_a': ['http://science.opposingviews.com/DM-Resize/photos.demandstudios.com/getty/article/81/210/78033946.jpg?w=600&h=600&keep_ratio=1', 'http://www.lifeprint.com/asl101/signjpegs/a/a.jpg', 'http://thumbs.dreamstime.com/x/letter-sign-language-587184.jpg', 'http://i.imgur.com/ei3jaNZ.jpg', 'http://imgur.com/dEzAAdf.jpg', 'http://imgur.com/Cq98daW.jpg', 'http://i.imgur.com/idEI6pF.jpg', 'http://i.imgur.com/AmaKsIu.jpg', 'http://i.imgur.com/pcRSprF.jpg'], 'letter_b': ['https://s3.amazonaws.com/bankstreet_web/media/filer_public/filer_public/2013/03/04/asl_b.jpg', 'http://www.wpclipart.com/sign_language/American_ABC_Photos/sign_language_photo_B.png', 'http://thumbs.dreamstime.com/z/letter-b-sign-language-587210.jpg', 'http://images2.pics4learning.com/catalog/b/b.jpg', 'http://www.lifeprint.com/asl101/signjpegs/b/b1.jpg', 'http://i.imgur.com/pU4pXE8.jpg', 'http://imgur.com/qbbPAW6.jpg', 'http://imgur.com/XBQ9nXx.jpg', 'http://imgur.com/lqvt8f0.jpg', 'http://i.imgur.com/Dw6FEFS.jpg', 'http://i.imgur.com/F9s68Ks.jpg', 'http://i.imgur.com/AwhYJjn.jpg', 'http://i.imgur.com/cmkzC7d.jpg', 'http://i.imgur.com/tiey392.jpg'], 'letter_c': ['http://images2.pics4learning.com/catalog/c/c.jpg', 'http://www.wpclipart.com/sign_language/American_ABC_Photos/sign_language_photo_C.png', 'http://i233.photobucket.com/albums/ee159/lintpicker/30801_9184.jpg', 'http://imgur.com/d3YIDeM.jpg', 'http://www.lifeprint.com/asl101/signjpegs/c/c.jpg', 'http://imgur.com/ZKY6quh.jpg', 'http://imgur.com/5oaD2DA.jpg', 'http://i.imgur.com/Iin7dhC.jpg', 'http://i.imgur.com/4yHKhIg.jpg', 'http://i.imgur.com/98WqyNm.jpg', 'http://i.imgur.com/5vMj1xa.jpg'], 'letter_d': ['http://www.lifeprint.com/asl101/signjpegs/d/d.jpg', 'http://images2.pics4learning.com/catalog/d/thumbs/d_thumb.jpg', 'http://users.manchester.edu/Student/SMCarmichael/MyWebpage/MPj03857270000[1]1.jpg', 'http://imgur.com/N8WTUo8.jpg', 'http://imgur.com/U1DTGet.jpg', 'http://i.imgur.com/P6tw9wt.jpg', 'http://i.imgur.com/Ci4c5Dz.jpg', 'http://i.imgur.com/Hbpg93V.jpg'], 'letter_e': ['http://www.lifeprint.com/asl101/signjpegs/e/e.jpg', 'http://images2.pics4learning.com/catalog/e/thumbs/e_thumb.jpg', 'http://www.wtsd.tn.org/kylah_webpage/MPj03857280000%5B1%5D.jpg', 'http://imgur.com/xtKJdhs.jpg', 'http://imgur.com/I8SsKfZ.jpg', 'http://i.imgur.com/vlTE1A2.jpg', 'http://i.imgur.com/vQwuSpI.jpg', 'http://i.imgur.com/bmHkR4g.jpg', 'http://i.imgur.com/N1RjYaJ.jpg', 'http://i.imgur.com/UhYgnPZ.jpg'], 'letter_f': ['http://www.lifeprint.com/asl101/signjpegs/f/f.jpg', 'https://www.signingsavvy.com/images/words/alphabet/2/f1.jpg', 'http://images2.pics4learning.com/catalog/f/thumbs/f_thumb.jpg', 'http://imgur.com/18mJQcx.jpg', 'http://i.imgur.com/G6C4q8D.jpg', 'http://i.imgur.com/dA5SGV9.jpg', 'http://i.imgur.com/g5xoIpn.jpg', 'http://i.imgur.com/kkFqone.jpg', 'http://i.imgur.com/tu93sTL.jpg', 'http://i.imgur.com/tu93sTL.jpg'], 'letter_g': ['http://www.lifeprint.com/asl101/signjpegs/g/g1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/g/g2.jpg', 'http://images2.pics4learning.com/catalog/g/thumbs/g_thumb.jpg', 'http://imgur.com/wog08bz.jpg', 'http://i.imgur.com/xsPrfCk.jpg', 'http://i.imgur.com/RQJEDNa.jpg', 'http://i.imgur.com/9NfbVpb.jpg', 'http://i.imgur.com/5fofc5J.jpg', 'http://i.imgur.com/VB1Zb3l.jpg'], 'letter_h': ['http://www.lifeprint.com/asl101/signjpegs/h/h1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/h/h2.jpg', 'http://www.lifeprint.com/asl101/signjpegs/h/h3.jpg', 'http://images2.pics4learning.com/catalog/h/h.jpg', 'http://imgur.com/CWStAMd.jpg', 'http://imgur.com/LCOuoqr.jpg', 'http://i.imgur.com/O28D9QU.jpg', 'http://i.imgur.com/5M3X0RP.jpg', 'http://i.imgur.com/cWbi2Ul.jpg', 'http://i.imgur.com/719dcYC.jpg', 'http://i.imgur.com/BsqRJGS.jpg'], 'letter_i': ['http://www.lifeprint.com/asl101/signjpegs/j/i1.jpg', 'http://images2.pics4learning.com/catalog/i/i.jpg', 'http://imgur.com/TbSpe7K.jpg', 'http://i.imgur.com/jeDqEJd.jpg', 'http://i.imgur.com/yRydMLJ.jpg', 'http://i.imgur.com/RlBX7Cw.jpg', 'http://i.imgur.com/lTM5vRg.jpg', 'http://i.imgur.com/Nc3DR34.jpg', 'http://i.imgur.com/s7DeARK.jpg', 'http://i.imgur.com/U4Xf04c.jpg', 'http://i.imgur.com/AWFRgh1.jpg'], 'letter_k': ['http://www.lifeprint.com/asl101/signjpegs/k/k.jpg', 'http://www.lifeprint.com/asl101/signjpegs/k/k1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/k/k2.jpg', 'http://images2.pics4learning.com/catalog/k/k.jpg', 'http://imgur.com/oth4JHl.jpg', 'http://imgur.com/RX9GheD.jpg'], 'letter_l': ['http://www.lifeprint.com/asl101/signjpegs/l/l.jpg', 'http://images2.pics4learning.com/catalog/l/l.jpg', 'http://imgur.com/3Wrr83R.jpg', 'http://i.imgur.com/Kk00yJi.jpg', 'http://i.imgur.com/Y3PfW5E.jpghttp://i.imgur.com/c4VbfM7.jpg', 'http://i.imgur.com/VgEXOrD.jpg', 'http://i.imgur.com/QK3otVV.jpg', 'http://i.imgur.com/tqy78Tw.jpg', 'http://i.imgur.com/HFcYyWC.jpg', 'http://vignette1.wikia.nocookie.net/glee/images/5/53/L_to_Loser.jpg/revision/latest?cb=20100919121543', 'http://i.imgur.com/Sy3MQh5.jpg'], 'letter_m': ['http://www.lifeprint.com/asl101/signjpegs/m/m1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/m/m2.jpg', 'http://images2.pics4learning.com/catalog/m/m.jpg', 'http://i.imgur.com/wJ14Xsp.jpg', 'http://i.imgur.com/cH4Ctwz.jpg', 'http://i.imgur.com/eLcC1Hy.jpg', 'http://i.imgur.com/BH3bj3e.jpg', 'http://i.imgur.com/sf3ylPt.jpg', 'http://i.imgur.com/A6CEht0.jpg'], 'letter_n': ['http://www.lifeprint.com/asl101/signjpegs/n/n1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/n/n2.jpg', 'http://images2.pics4learning.com/catalog/n/n.jpg', 'http://i.imgur.com/pqa8Zyw.jpg', 'http://i.imgur.com/JY0JKp4.jpg', 'http://i.imgur.com/CaOevfe.jpg', 'http://i.imgur.com/zAMaTo6.jpg', 'http://i.imgur.com/phLgLZx.jpg', 'http://i.imgur.com/8YXDFcx.jpg', 'http://i.imgur.com/LB8gklq.jpg'], 'letter_o': ['http://www.lifeprint.com/asl101/signjpegs/o/o1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/o/o2.jpg', 'http://www.lifeprint.com/asl101/signjpegs/o/o3.jpg', 'http://images2.pics4learning.com/catalog/o/o.jpg', 'http://imgur.com/85LJSka.jpg', 'http://i.imgur.com/y6ArfBV.jpg', 'http://i.imgur.com/1SED8NN.jpg', 'http://i.imgur.com/do3X45q.jpg', 'http://i.imgur.com/kNEYY1M.jpg', 'http://i.imgur.com/7GGzriv.jpg', 'http://i.imgur.com/8IrR5L9.jpg', 'http://i.imgur.com/CJ4tKYs.jpg'], 'letter_p': ['http://www.lifeprint.com/asl101/signjpegs/p/p1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/p/p2.jpg', 'http://www.lifeprint.com/asl101/signjpegs/p/p3.jpg', 'http://images2.pics4learning.com/catalog/p/p.jpg', 'http://i.imgur.com/tkDcZMe.jpg', 'http://i.imgur.com/egNs3cW.jpg', 'http://i.imgur.com/pJ4o3yH.jpg', 'http://i.imgur.com/y3KfSeG.jpg', 'http://i.imgur.com/krug936.jpg', 'http://i.imgur.com/jo63UDp.jpg', 'http://i.imgur.com/ZyiAxwd.jpg'], 'letter_q': ['http://www.lifeprint.com/asl101/signjpegs/q/q1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/q/q2.jpg', 'http://images2.pics4learning.com/catalog/q/q.jpg', 'http://imgur.com/jidKKYK.jpg', 'http://i.imgur.com/3eG0iPQ.jpg', 'http://i.imgur.com/RJlOzHO.jpg', 'http://i.imgur.com/kT5qkFL.jpg', 'http://i.imgur.com/La5ytRV.jpg', 'http://i.imgur.com/vM81Zk2.jpg', 'http://i.imgur.com/eKGg70h.jpg', 'http://i.imgur.com/FLEGaaq.jpg', 'http://i.imgur.com/ZV7qQHK.jpg', 'http://i.imgur.com/W6gWT8a.jpg'], 'letter_r': ['http://www.lifeprint.com/asl101/signjpegs/r/r.jpg', 'http://images2.pics4learning.com/catalog/r/thumbs/r_thumb.jpg', 'http://i.imgur.com/9wwRZDc.jpg', 'http://i.imgur.com/xfGtPRf.jpg', 'http://i.imgur.com/uDojFj2.jpg', 'http://i.imgur.com/T7kJULr.jpg', 'http://i.imgur.com/MIZWPZI.jpg', 'http://i.imgur.com/F4MkT8m.jpg', 'http://i.imgur.com/N6Gx7vl.jpg'], 'letter_s': ['http://www.lifeprint.com/asl101/signjpegs/s/s.jpg', 'http://images2.pics4learning.com/catalog/s/thumbs/s_thumb.jpg', 'http://i.imgur.com/rmf5jgR.jpg', 'http://i.imgur.com/P3Zq5Dd.jpg', 'http://i.imgur.com/xClBmxV.jpg', 'http://i.imgur.com/hQjYMPn.jpg', 'http://i.imgur.com/2mX9w8T.jpg', 'http://i.imgur.com/Fa70wX8.jpg'], 'letter_t': ['http://www.lifeprint.com/asl101/signjpegs/t/t.jpg', 'http://images2.pics4learning.com/catalog/t/thumbs/t_thumb.jpg', 'http://imgur.com/cirlKJB.jpg', 'http://i.imgur.com/nnDEPLf.jpg', 'http://i.imgur.com/HLxur9q.jpg', 'http://i.imgur.com/bljZk3l.jpg', 'http://i.imgur.com/9GUDD82.jpg', 'http://i.imgur.com/KLL2zzt.jpg', 'http://i.imgur.com/vSvZ15A.jpg', 'http://i.imgur.com/jmKPaJz.jpg'], 'letter_u': ['http://www.lifeprint.com/asl101/signjpegs/u/u.jpg', 'http://images2.pics4learning.com/catalog/u/thumbs/u_thumb.jpg', 'http://imgur.com/wgP9cZw.jpg', 'http://i.imgur.com/u9YwhBP.jpg', 'http://i.imgur.com/zUyMaWD.jpg', 'http://i.imgur.com/39rVd1f.jpg', 'http://i.imgur.com/W1SiHte.jpg', 'http://i.imgur.com/zqJ7ziC.jpg', 'http://i.imgur.com/FT9gSS2.jpg', 'http://i.imgur.com/oXrvDE5.jpg', 'http://i.imgur.com/5WOntzk.jpg'], 'letter_v': ['http://www.lifeprint.com/asl101/signjpegs/v/v.jpg', 'http://images2.pics4learning.com/catalog/v/thumbs/v_thumb.jpg', 'http://imgur.com/nXyOWzj.jpg', 'http://i.imgur.com/69NrFjG.jpg', 'http://i.imgur.com/GPyiPNv.jpg', 'http://i.imgur.com/OkHpWff.jpg', 'http://i.imgur.com/NX2G7JW.jpg', 'http://i.imgur.com/Su0ByBz.jpg', 'http://i.imgur.com/rnO7sVH.jpg', 'http://i.imgur.com/YAtArlj.jpg', 'http://i.imgur.com/xDwSHGg.jpg', 'http://i.imgur.com/skhHAqq.jpg'], 'letter_w': ['http://www.lifeprint.com/asl101/signjpegs/w/w.jpg', 'http://images2.pics4learning.com/catalog/w/thumbs/w_thumb.jpg', 'http://i.imgur.com/ep9SPS6.jpg', 'http://i.imgur.com/kyhQ5D4.jpg', 'http://i.imgur.com/mHGWgy4.jpg', 'http://i.imgur.com/BQVK36B.jpg', 'http://i.imgur.com/2lPUvlM.jpg', 'http://i.imgur.com/Zs5QqU8.jpg', 'http://i.imgur.com/WfTMaDV.jpg', 'http://i.imgur.com/5pMmYeR.jpg'], 'letter_x': ['http://www.lifeprint.com/asl101/signjpegs/x/x1.jpg', 'http://www.lifeprint.com/asl101/signjpegs/x/x2.jpg', 'http://images2.pics4learning.com/catalog/x/thumbs/x_thumb.jpg', 'http://i.imgur.com/BzGhtvx.jpg', 'http://i.imgur.com/M8oXvMg.jpg', 'http://i.imgur.com/EAGSTO5.jpg', 'http://i.imgur.com/jANf5IK.jpg', 'http://i.imgur.com/BfsrKmH.jpg', 'http://i.imgur.com/KjPCC57.jpg'], 'letter_y': ['http://www.lifeprint.com/asl101/signjpegs/y/y.jpg', 'http://images2.pics4learning.com/catalog/y/thumbs/y_thumb.jpg', 'http://i.imgur.com/lFCvuYs.jpg', 'http://i.imgur.com/cqsOgCx.jpg', 'http://i.imgur.com/BagarbG.jpg', 'http://i.imgur.com/LVhlWhQ.jpg', 'http://i.imgur.com/uKSmVuv.jpg', 'http://i.imgur.com/QYrdAW3.jpg', 'http://i.imgur.com/5RrMIez.jpg', 'http://i.imgur.com/6nhuW9v.jpg', 'http://i.imgur.com/h1AumoX.jpg', 'http://i.imgur.com/v74QoHw.jpg'], 'applause': ['http://www.churchleaders.com/wp-content/uploads/files/article_images/clap_or_not_937398406.jpg', 'http://i.imgur.com/GxvFP6h.jpg', 'http://i.imgur.com/LgXOHBL.jpg', 'http://i.imgur.com/JKmWCEn.jpg', 'http://i.imgur.com/iJkf0st.jpg', 'http://i.imgur.com/Dx1EULd.jpg', 'https://image.freepik.com/free-photo/cook--cosmetics--clapping--hand_3256176.jpg']}
def get_access_by_username (cursor, username) : try : sql_statement = 'SELECT username,password,active FROM access WHERE username = %s' cursor.execute(sql_statement,(username,)) data = cursor.fetchone() except Exception as ex: print('[ERROR] get_access_by_username : ' + ex.__str__()) return None if data is None : return None return { 'username': data[0], 'password': data[1], 'active': data[2] }
def get_access_by_username(cursor, username): try: sql_statement = 'SELECT username,password,active FROM access WHERE username = %s' cursor.execute(sql_statement, (username,)) data = cursor.fetchone() except Exception as ex: print('[ERROR] get_access_by_username : ' + ex.__str__()) return None if data is None: return None return {'username': data[0], 'password': data[1], 'active': data[2]}
def misspelled(words): misspelled_words = [] for keys, values in words.items(): if ''.join(values) != keys: misspelled_words.append(keys) return misspelled_words
def misspelled(words): misspelled_words = [] for (keys, values) in words.items(): if ''.join(values) != keys: misspelled_words.append(keys) return misspelled_words
#!/usr/bin/python class VideoData(object): percent_confidence_limit = 25 def __init__(self): # Standard Data self._video_id = None self._title = None self._description = None self._published = None # Metrics self._date_start = None self._date_end = None self._views = None self._monetizedPlaybacks = None self._estimatedRevenue = None self._estimatedMinutesWatched = None self._percent = None self._percent_confidence = None @property def id(self): return self._video_id @id.setter def id(self, value): self._video_id = value @property def title(self): return self._title @title.setter def title(self, value): self._title = value @property def description(self): return self._description @description.setter def description(self, value): self._descrioption = value @property def published(self): return self._published @published.setter def published(self, value): self._published = value @property def date_start(self): return self._date_start @date_start.setter def date_start(self, value): self._date_start = value @property def date_end(self): return self._date_end @date_end.setter def date_end(self, value): self._date_end = value @property def views(self): return self._views @views.setter def views(self, value): self._views = value @property def monetizedPlaybacks(self): return self._monetizedPlaybacks @monetizedPlaybacks.setter def monetizedPlaybacks(self, value): self._monetizedPlaybacks = value @property def estimatedRevenue(self): return self._estimatedRevenue @estimatedRevenue.setter def estimatedRevenue(self, value): self._estimatedRevenue = value @property def estimatedMinutesWatched(self): return self._estimatedMinutesWatched @estimatedMinutesWatched.setter def estimatedMinutesWatched(self, value): self._estimatedMinutesWatched = value @property def percent(self): if self._percent is None and self.views > 0: self._percent = self._monetizedPlaybacks / self._views self._percent_confidence = self._views / \ self.percent_confidence_limit else: self._percent = 0 self._percent_confidence = 0 return self._percent @percent.setter def percent(self, value): return self._percent @property def percent_confidence(self): return self._percent_confidence
class Videodata(object): percent_confidence_limit = 25 def __init__(self): self._video_id = None self._title = None self._description = None self._published = None self._date_start = None self._date_end = None self._views = None self._monetizedPlaybacks = None self._estimatedRevenue = None self._estimatedMinutesWatched = None self._percent = None self._percent_confidence = None @property def id(self): return self._video_id @id.setter def id(self, value): self._video_id = value @property def title(self): return self._title @title.setter def title(self, value): self._title = value @property def description(self): return self._description @description.setter def description(self, value): self._descrioption = value @property def published(self): return self._published @published.setter def published(self, value): self._published = value @property def date_start(self): return self._date_start @date_start.setter def date_start(self, value): self._date_start = value @property def date_end(self): return self._date_end @date_end.setter def date_end(self, value): self._date_end = value @property def views(self): return self._views @views.setter def views(self, value): self._views = value @property def monetized_playbacks(self): return self._monetizedPlaybacks @monetizedPlaybacks.setter def monetized_playbacks(self, value): self._monetizedPlaybacks = value @property def estimated_revenue(self): return self._estimatedRevenue @estimatedRevenue.setter def estimated_revenue(self, value): self._estimatedRevenue = value @property def estimated_minutes_watched(self): return self._estimatedMinutesWatched @estimatedMinutesWatched.setter def estimated_minutes_watched(self, value): self._estimatedMinutesWatched = value @property def percent(self): if self._percent is None and self.views > 0: self._percent = self._monetizedPlaybacks / self._views self._percent_confidence = self._views / self.percent_confidence_limit else: self._percent = 0 self._percent_confidence = 0 return self._percent @percent.setter def percent(self, value): return self._percent @property def percent_confidence(self): return self._percent_confidence
''' Description: exercise: your age Version: 1.0.0.20210113 Author: Arvin Zhao Date: 2021-01-13 09:44:34 Last Editors: Arvin Zhao LastEditTime: 2021-01-13 10:27:55 ''' def check_age(age: int) -> None: ''' Check an age and print what he/she can do regarding the age. Parameters ---------- age : his/her age for checking what he/she can do ''' if age >= 18: print('You can vote.') elif age == 17: print('You can learn how to drive.') elif age == 16: print('You can buy a lottery ticket.') else: print('You can go Trick-or-Treating.') if __name__ == '__main__': while True: age = input('Enter your age: ') if age.isdigit(): check_age(int(age)) break else: print('Error! Invalid input!')
""" Description: exercise: your age Version: 1.0.0.20210113 Author: Arvin Zhao Date: 2021-01-13 09:44:34 Last Editors: Arvin Zhao LastEditTime: 2021-01-13 10:27:55 """ def check_age(age: int) -> None: """ Check an age and print what he/she can do regarding the age. Parameters ---------- age : his/her age for checking what he/she can do """ if age >= 18: print('You can vote.') elif age == 17: print('You can learn how to drive.') elif age == 16: print('You can buy a lottery ticket.') else: print('You can go Trick-or-Treating.') if __name__ == '__main__': while True: age = input('Enter your age: ') if age.isdigit(): check_age(int(age)) break else: print('Error! Invalid input!')
#!/usr/bin/env python3 DOCTL = "/usr/local/bin/doctl" PK_FILE = "/home/ndjuric/.ssh/id_rsa.pub" SWARM_DIR = TAG = "swarm" OVERLAY_NETWORK = "swarmnet" DOCKER_REGISTRY = { 'master': 'private.docker.registry.example.com:5000/master', 'worker': 'private.docker.registry.example.com:5000/worker' } NFS_SERVER = '10.135.69.119' ''' CALL_MAP is a list enumerating methods from the Cloud class the are allowed to be directly executed. ''' CALL_MAP = [ 'build', 'deploy', 'destroy', 'add_worker', 'add_manager', 'ssh_manager', 'logs_master', 'remove_worker', 'remove_manager', 'get_master_container_id' ] SCRIPT_CREATE = "#!/bin/bash\n" SCRIPT_CREATE += "apt-get install -y nfs-common\n" SCRIPT_CREATE += "mkdir /nfs\n" SCRIPT_CREATE += "mount {0}:/nfs /nfs\n".format(NFS_SERVER) SCRIPT_CREATE += "ufw allow 2377/tcp\n" SCRIPT_CREATE += "export " SCRIPT_CREATE += "PUBLIC_IPV4=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address)\n" SCRIPT_CREATE += "docker swarm init --advertise-addr \"${PUBLIC_IPV4}:2377\"\n" SCRIPT_CREATE += "docker network create --driver overlay {0}\n".format(OVERLAY_NETWORK) SCRIPT_CREATE += "docker service create " SCRIPT_CREATE += "--network swarmnet " SCRIPT_CREATE += "--name master " SCRIPT_CREATE += "--mount type=bind,source=/nfs,target=/nfs {0} \n".format(DOCKER_REGISTRY['master']) SCRIPT_CREATE += "docker service create --network swarmnet --name worker {0}\n".format(DOCKER_REGISTRY['worker']) SCRIPT_CREATE += "docker service scale worker=5\n" SCRIPT_JOIN = "#!/bin/bash\n" SCRIPT_JOIN += "apt-get install -y nfs-common\n" SCRIPT_JOIN += "mkdir /nfs\n" SCRIPT_JOIN += "mount {0}:/nfs /nfs\n".format(NFS_SERVER) SCRIPT_JOIN += "ufw allow 2377/tcp\n" SCRIPT_JOIN += "export " SCRIPT_JOIN += "PUBLIC_IPV4=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address)\n" SCRIPT_JOIN += "docker swarm join --advertise-addr \"${{PUBLIC_IPV4}}:2377\" --token \"{0}\" \"{1}:2377\"\n"
doctl = '/usr/local/bin/doctl' pk_file = '/home/ndjuric/.ssh/id_rsa.pub' swarm_dir = tag = 'swarm' overlay_network = 'swarmnet' docker_registry = {'master': 'private.docker.registry.example.com:5000/master', 'worker': 'private.docker.registry.example.com:5000/worker'} nfs_server = '10.135.69.119' ' CALL_MAP is a list enumerating methods from the Cloud class the are allowed to be directly executed. ' call_map = ['build', 'deploy', 'destroy', 'add_worker', 'add_manager', 'ssh_manager', 'logs_master', 'remove_worker', 'remove_manager', 'get_master_container_id'] script_create = '#!/bin/bash\n' script_create += 'apt-get install -y nfs-common\n' script_create += 'mkdir /nfs\n' script_create += 'mount {0}:/nfs /nfs\n'.format(NFS_SERVER) script_create += 'ufw allow 2377/tcp\n' script_create += 'export ' script_create += 'PUBLIC_IPV4=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address)\n' script_create += 'docker swarm init --advertise-addr "${PUBLIC_IPV4}:2377"\n' script_create += 'docker network create --driver overlay {0}\n'.format(OVERLAY_NETWORK) script_create += 'docker service create ' script_create += '--network swarmnet ' script_create += '--name master ' script_create += '--mount type=bind,source=/nfs,target=/nfs {0} \n'.format(DOCKER_REGISTRY['master']) script_create += 'docker service create --network swarmnet --name worker {0}\n'.format(DOCKER_REGISTRY['worker']) script_create += 'docker service scale worker=5\n' script_join = '#!/bin/bash\n' script_join += 'apt-get install -y nfs-common\n' script_join += 'mkdir /nfs\n' script_join += 'mount {0}:/nfs /nfs\n'.format(NFS_SERVER) script_join += 'ufw allow 2377/tcp\n' script_join += 'export ' script_join += 'PUBLIC_IPV4=$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address)\n' script_join += 'docker swarm join --advertise-addr "${{PUBLIC_IPV4}}:2377" --token "{0}" "{1}:2377"\n'
x = int(input('Enter a number: ')) index = 0 for i in range(1, int(x/2) +1): if x % i == 0: print(i) index += 1 print(x) print(f'There were {index + 1} divisors')
x = int(input('Enter a number: ')) index = 0 for i in range(1, int(x / 2) + 1): if x % i == 0: print(i) index += 1 print(x) print(f'There were {index + 1} divisors')
# CALCULATING THE WORK ON AN OBJECT, GIVEN THE FORCE AND DISPLACEMENT OF THE OBJECT. # creating a function to calculate the work. def calc_work (force, displacement): # arithmetic calculation to determine the work on an object. work = force * displacement work = round(work, 2) # returning the value of work to print as output. return work # code to receive input regarding the values for force and displacement. force = int(input("Enter the amount of force in Newtons please:")) displacement = int(input("Enter the amount of displacement in meters please:")) # code to print the final output which indicates the work on the object in joules. print("The work on the object is:", calc_work(force, displacement),"J")
def calc_work(force, displacement): work = force * displacement work = round(work, 2) return work force = int(input('Enter the amount of force in Newtons please:')) displacement = int(input('Enter the amount of displacement in meters please:')) print('The work on the object is:', calc_work(force, displacement), 'J')
class DiseaseError(Exception): "Base class for disease module exceptions." pass class ParserError(DiseaseError): pass
class Diseaseerror(Exception): """Base class for disease module exceptions.""" pass class Parsererror(DiseaseError): pass
class SaveCurrentUser(): def save_model(self, request, obj, form, change): obj.current_user = request.user super().save_model(request, obj, form, change) class SaveCurrentUserAdmin(): def save_model(self, request, obj, form, change): obj.current_user = request.user super().save_model(request, obj, form, change) readonly_fields = [ 'creator', 'created', 'modifier', 'modified' ]
class Savecurrentuser: def save_model(self, request, obj, form, change): obj.current_user = request.user super().save_model(request, obj, form, change) class Savecurrentuseradmin: def save_model(self, request, obj, form, change): obj.current_user = request.user super().save_model(request, obj, form, change) readonly_fields = ['creator', 'created', 'modifier', 'modified']
# CSV related ROW_MOST_RECENT_DAY = 1 # First row with data (i.e row 2) ROW_FIRST_COMPLETE_DAY = 3 # First row with valid data for the 7-day total (i.e row 4) COL_AREA_CODE = 0 COL_AREA_NAME = 1 COL_AREA_TYPE = 2 COL_DATE = 3 COL_TOTAL_DEATHS = 4 COL_HOSPITAL_CASES = 5 COL_NEW_CASES = 6
row_most_recent_day = 1 row_first_complete_day = 3 col_area_code = 0 col_area_name = 1 col_area_type = 2 col_date = 3 col_total_deaths = 4 col_hospital_cases = 5 col_new_cases = 6
DEFAULT_AUTOPILOT_CONFIG = { 'region_name': 'YOUR_REGION', 's3_bucket': 'YOUR_S3_BUCKET', 'role_arn': 'YOUR_ROLE_ARN', }
default_autopilot_config = {'region_name': 'YOUR_REGION', 's3_bucket': 'YOUR_S3_BUCKET', 'role_arn': 'YOUR_ROLE_ARN'}
# t = int(input("T:")) list = [] for i in range(0,t): k = input("A B :") list.append(k) print(list) for z in range(0,len(list)): q = str(list[z]) m = q.split(" ") print(int(m[0])+int(m[1]))
t = int(input('T:')) list = [] for i in range(0, t): k = input('A B :') list.append(k) print(list) for z in range(0, len(list)): q = str(list[z]) m = q.split(' ') print(int(m[0]) + int(m[1]))
class BianPlugin(): def ready(self): return True def run(self,core,*params): if len(params) != 4: raise Exception("missing params:"+str(params)) init = "from halo_bian.bian.exceptions import BianException\n\nfrom halo_bian.bian.bian import ActionTerms\n\nfrom botocore.exceptions import ClientError\n\n" imports = params[0] if init not in imports: imports = imports + init base_lib= params[1] base_class_name= params[2] name= params[3] line3 = "" if name.endswith('Activation'): imports = imports + "from " + base_lib + " import " + 'Activation'+base_class_name + "\n\n" line3 = "class " + name + "Mixin(Activation" + base_class_name + "):" + \ "\n\tpass" elif name.endswith('Configuration'): imports = imports + "from " + base_lib + " import " + 'Configuration' + base_class_name + "\n\n" line3 = "class " + name + "Mixin(Configuration" + base_class_name + "):" + \ "\n\tpass" elif name.endswith('Feedback'): imports = imports + "from " + base_lib + " import " + 'Feedback' + base_class_name + "\n\n" line3 = "class " + name + "Mixin(Feedback" + base_class_name + "):" + \ "\n\tpass" elif name.endswith('Initiation'): line3 = "class " + name + "Mixin(" + base_class_name + "):" + \ "\n\tbian_action = ActionTerms.INITIATE" elif name.endswith('Update'): line3 = "class " + name + "Mixin(" + base_class_name + "):" + \ "\n\tbian_action = ActionTerms.UPDATE" elif name.endswith('Control'): line3 = "class " + name + "Mixin(" + base_class_name + "):" + \ "\n\tbian_action = ActionTerms.CONTROL" elif name.endswith('Exchange'): line3 = "class " + name + "Mixin(" + base_class_name + "):" + \ "\n\tbian_action = ActionTerms.EXCHANGE" elif name.endswith('Execution'): line3 = "class " + name + "Mixin(" + base_class_name + "):" + \ "\n\tbian_action = ActionTerms.EXECUTE" elif name.endswith('Requisition'): line3 = "class " + name + "Mixin(" + base_class_name + "):" + \ "\n\tbian_action = ActionTerms.REQUEST" else: line3 = "class " + name + "Mixin(" + base_class_name + "):" + \ "\n\tbian_action = ActionTerms.RETRIEVE" return {"mixin":{"imports":imports,"code":line3}}
class Bianplugin: def ready(self): return True def run(self, core, *params): if len(params) != 4: raise exception('missing params:' + str(params)) init = 'from halo_bian.bian.exceptions import BianException\n\nfrom halo_bian.bian.bian import ActionTerms\n\nfrom botocore.exceptions import ClientError\n\n' imports = params[0] if init not in imports: imports = imports + init base_lib = params[1] base_class_name = params[2] name = params[3] line3 = '' if name.endswith('Activation'): imports = imports + 'from ' + base_lib + ' import ' + 'Activation' + base_class_name + '\n\n' line3 = 'class ' + name + 'Mixin(Activation' + base_class_name + '):' + '\n\tpass' elif name.endswith('Configuration'): imports = imports + 'from ' + base_lib + ' import ' + 'Configuration' + base_class_name + '\n\n' line3 = 'class ' + name + 'Mixin(Configuration' + base_class_name + '):' + '\n\tpass' elif name.endswith('Feedback'): imports = imports + 'from ' + base_lib + ' import ' + 'Feedback' + base_class_name + '\n\n' line3 = 'class ' + name + 'Mixin(Feedback' + base_class_name + '):' + '\n\tpass' elif name.endswith('Initiation'): line3 = 'class ' + name + 'Mixin(' + base_class_name + '):' + '\n\tbian_action = ActionTerms.INITIATE' elif name.endswith('Update'): line3 = 'class ' + name + 'Mixin(' + base_class_name + '):' + '\n\tbian_action = ActionTerms.UPDATE' elif name.endswith('Control'): line3 = 'class ' + name + 'Mixin(' + base_class_name + '):' + '\n\tbian_action = ActionTerms.CONTROL' elif name.endswith('Exchange'): line3 = 'class ' + name + 'Mixin(' + base_class_name + '):' + '\n\tbian_action = ActionTerms.EXCHANGE' elif name.endswith('Execution'): line3 = 'class ' + name + 'Mixin(' + base_class_name + '):' + '\n\tbian_action = ActionTerms.EXECUTE' elif name.endswith('Requisition'): line3 = 'class ' + name + 'Mixin(' + base_class_name + '):' + '\n\tbian_action = ActionTerms.REQUEST' else: line3 = 'class ' + name + 'Mixin(' + base_class_name + '):' + '\n\tbian_action = ActionTerms.RETRIEVE' return {'mixin': {'imports': imports, 'code': line3}}
V,E=map(int,input().split()) edges=[set() for i in range(V)] for i in range(E): a,b=map(int,input().split()) edges[a-1].add(b-1) edges[b-1].add(a-1) for i in range(V): print(len({n for v in edges[i] for n in edges[v] if not n in edges[i] and n!=i}))
(v, e) = map(int, input().split()) edges = [set() for i in range(V)] for i in range(E): (a, b) = map(int, input().split()) edges[a - 1].add(b - 1) edges[b - 1].add(a - 1) for i in range(V): print(len({n for v in edges[i] for n in edges[v] if not n in edges[i] and n != i}))
''' Copyright (C) 2021 Sovrasov V. - All Rights Reserved * You may use, distribute and modify this code under the * terms of the MIT license. * You should have received a copy of the MIT license with * this file. If not visit https://opensource.org/licenses/MIT ''' def flops_to_string(flops, units='GMac', precision=2): if units is None: if flops // 10**9 > 0: return str(round(flops / 10.**9, precision)) + ' GMac' elif flops // 10**6 > 0: return str(round(flops / 10.**6, precision)) + ' MMac' elif flops // 10**3 > 0: return str(round(flops / 10.**3, precision)) + ' KMac' else: return str(flops) + ' Mac' else: if units == 'GMac': return str(round(flops / 10.**9, precision)) + ' ' + units elif units == 'MMac': return str(round(flops / 10.**6, precision)) + ' ' + units elif units == 'KMac': return str(round(flops / 10.**3, precision)) + ' ' + units else: return str(flops) + ' Mac' def params_to_string(params_num, units=None, precision=2): if units is None: if params_num // 10 ** 6 > 0: return str(round(params_num / 10 ** 6, 2)) + ' M' elif params_num // 10 ** 3: return str(round(params_num / 10 ** 3, 2)) + ' k' else: return str(params_num) else: if units == 'M': return str(round(params_num / 10.**6, precision)) + ' ' + units elif units == 'K': return str(round(params_num / 10.**3, precision)) + ' ' + units else: return str(params_num)
""" Copyright (C) 2021 Sovrasov V. - All Rights Reserved * You may use, distribute and modify this code under the * terms of the MIT license. * You should have received a copy of the MIT license with * this file. If not visit https://opensource.org/licenses/MIT """ def flops_to_string(flops, units='GMac', precision=2): if units is None: if flops // 10 ** 9 > 0: return str(round(flops / 10.0 ** 9, precision)) + ' GMac' elif flops // 10 ** 6 > 0: return str(round(flops / 10.0 ** 6, precision)) + ' MMac' elif flops // 10 ** 3 > 0: return str(round(flops / 10.0 ** 3, precision)) + ' KMac' else: return str(flops) + ' Mac' elif units == 'GMac': return str(round(flops / 10.0 ** 9, precision)) + ' ' + units elif units == 'MMac': return str(round(flops / 10.0 ** 6, precision)) + ' ' + units elif units == 'KMac': return str(round(flops / 10.0 ** 3, precision)) + ' ' + units else: return str(flops) + ' Mac' def params_to_string(params_num, units=None, precision=2): if units is None: if params_num // 10 ** 6 > 0: return str(round(params_num / 10 ** 6, 2)) + ' M' elif params_num // 10 ** 3: return str(round(params_num / 10 ** 3, 2)) + ' k' else: return str(params_num) elif units == 'M': return str(round(params_num / 10.0 ** 6, precision)) + ' ' + units elif units == 'K': return str(round(params_num / 10.0 ** 3, precision)) + ' ' + units else: return str(params_num)
a=[12,9,1,3] a1=[12,9,1,3] s=[] z=0 c=0 #expected a=[1,3,12,9] for i in range(len(a)): q=0 while(a1[i]>0): z=a1[i]%10 q=q+z a1[i]=a1[i]//10 s.append(q) print(a) s.sort() print(s)
a = [12, 9, 1, 3] a1 = [12, 9, 1, 3] s = [] z = 0 c = 0 for i in range(len(a)): q = 0 while a1[i] > 0: z = a1[i] % 10 q = q + z a1[i] = a1[i] // 10 s.append(q) print(a) s.sort() print(s)
# host and port for client and tracker HOST = '192.168.43.92' PORT = 9992 # redis key prefixes TRANSACTION_QUEUE_KEY = 'transactions.queue' BLOCK_KEY_PREFIX = 'chain.block.' PREV_HASH_KEY = 'prev_hash' SEND_TRANSACTIONS_QUEUE_KEY = 'send.transactions.queue' TRANSACTIONS_SIGNATURE = 'transactions.signature.' # number of transactions in a block TRANSACTIONS_IN_BLOCK = 1 GAMER_BAWA = 1024
host = '192.168.43.92' port = 9992 transaction_queue_key = 'transactions.queue' block_key_prefix = 'chain.block.' prev_hash_key = 'prev_hash' send_transactions_queue_key = 'send.transactions.queue' transactions_signature = 'transactions.signature.' transactions_in_block = 1 gamer_bawa = 1024
# -*- coding: utf-8 -*- description = 'Monitoring for DNS setup' group = 'basic' tango_base = 'tango://localhost:10000/test/' devices = dict( dns_main_voltages = device('nicos_mlz.emc.devices.janitza_online.VectorInput', description = 'Voltage monitoring', tangodevice = tango_base + 'janitza_dns/voltages', ), dns_main_currents = device('nicos_mlz.emc.devices.janitza_online.VectorInput', description = 'Current monitoring', tangodevice = tango_base + 'janitza_dns/currents', ), dns_main_thd = device('nicos_mlz.emc.devices.janitza_online.VectorInput', description = 'Total harmonic distortion monitoring', tangodevice = tango_base + 'janitza_dns/thd', ), dns_online = device('nicos_mlz.emc.devices.janitza_online.OnlineMonitor', description = 'Combination of all monitoring devices', voltages = 'dns_main_voltages', currents = 'dns_main_currents', thd = 'dns_main_thd', ), )
description = 'Monitoring for DNS setup' group = 'basic' tango_base = 'tango://localhost:10000/test/' devices = dict(dns_main_voltages=device('nicos_mlz.emc.devices.janitza_online.VectorInput', description='Voltage monitoring', tangodevice=tango_base + 'janitza_dns/voltages'), dns_main_currents=device('nicos_mlz.emc.devices.janitza_online.VectorInput', description='Current monitoring', tangodevice=tango_base + 'janitza_dns/currents'), dns_main_thd=device('nicos_mlz.emc.devices.janitza_online.VectorInput', description='Total harmonic distortion monitoring', tangodevice=tango_base + 'janitza_dns/thd'), dns_online=device('nicos_mlz.emc.devices.janitza_online.OnlineMonitor', description='Combination of all monitoring devices', voltages='dns_main_voltages', currents='dns_main_currents', thd='dns_main_thd'))
# # PySNMP MIB module HPN-ICF-DHCPSNOOP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HPN-ICF-DHCPSNOOP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:25:32 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") SingleValueConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint") hpnicfdot1qVlanIndex, = mibBuilder.importSymbols("HPN-ICF-LswVLAN-MIB", "hpnicfdot1qVlanIndex") hpnicfCommon, = mibBuilder.importSymbols("HPN-ICF-OID-MIB", "hpnicfCommon") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") MibIdentifier, TimeTicks, NotificationType, Counter64, Bits, ModuleIdentity, ObjectIdentity, IpAddress, Gauge32, Unsigned32, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "TimeTicks", "NotificationType", "Counter64", "Bits", "ModuleIdentity", "ObjectIdentity", "IpAddress", "Gauge32", "Unsigned32", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Integer32") TextualConvention, DisplayString, MacAddress, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "MacAddress", "TruthValue") hpnicfDhcpSnoop = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36)) if mibBuilder.loadTexts: hpnicfDhcpSnoop.setLastUpdated('200501140000Z') if mibBuilder.loadTexts: hpnicfDhcpSnoop.setOrganization('') hpnicfDhcpSnoopMibObject = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1)) hpnicfDhcpSnoopEnable = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfDhcpSnoopEnable.setStatus('current') hpnicfDhcpSnoopTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2), ) if mibBuilder.loadTexts: hpnicfDhcpSnoopTable.setStatus('current') hpnicfDhcpSnoopEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1), ).setIndexNames((0, "HPN-ICF-DHCPSNOOP-MIB", "hpnicfDhcpSnoopClientIpAddressType"), (0, "HPN-ICF-DHCPSNOOP-MIB", "hpnicfDhcpSnoopClientIpAddress")) if mibBuilder.loadTexts: hpnicfDhcpSnoopEntry.setStatus('current') hpnicfDhcpSnoopClientIpAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1, 1), InetAddressType().clone('ipv4')) if mibBuilder.loadTexts: hpnicfDhcpSnoopClientIpAddressType.setStatus('current') hpnicfDhcpSnoopClientIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1, 2), InetAddress()) if mibBuilder.loadTexts: hpnicfDhcpSnoopClientIpAddress.setStatus('current') hpnicfDhcpSnoopClientMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfDhcpSnoopClientMacAddress.setStatus('current') hpnicfDhcpSnoopClientProperty = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("static", 1), ("dynamic", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfDhcpSnoopClientProperty.setStatus('current') hpnicfDhcpSnoopClientUnitNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfDhcpSnoopClientUnitNum.setStatus('current') hpnicfDhcpSnoopTrustTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 3), ) if mibBuilder.loadTexts: hpnicfDhcpSnoopTrustTable.setStatus('current') hpnicfDhcpSnoopTrustEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hpnicfDhcpSnoopTrustEntry.setStatus('current') hpnicfDhcpSnoopTrustStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("untrusted", 0), ("trusted", 1))).clone('untrusted')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfDhcpSnoopTrustStatus.setStatus('current') hpnicfDhcpSnoopVlanTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 4), ) if mibBuilder.loadTexts: hpnicfDhcpSnoopVlanTable.setStatus('current') hpnicfDhcpSnoopVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 4, 1), ).setIndexNames((0, "HPN-ICF-DHCPSNOOP-MIB", "hpnicfDhcpSnoopVlanIndex")) if mibBuilder.loadTexts: hpnicfDhcpSnoopVlanEntry.setStatus('current') hpnicfDhcpSnoopVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))) if mibBuilder.loadTexts: hpnicfDhcpSnoopVlanIndex.setStatus('current') hpnicfDhcpSnoopVlanEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 4, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfDhcpSnoopVlanEnable.setStatus('current') hpnicfDhcpSnoopTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2)) hpnicfDhcpSnoopTrapsPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 0)) hpnicfDhcpSnoopTrapsObject = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 1)) hpnicfDhcpSnoopSpoofServerMac = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 1, 1), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpnicfDhcpSnoopSpoofServerMac.setStatus('current') hpnicfDhcpSnoopSpoofServerIP = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 1, 2), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpnicfDhcpSnoopSpoofServerIP.setStatus('current') hpnicfDhcpSnoopBindingIP = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 1, 3), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpnicfDhcpSnoopBindingIP.setStatus('current') hpnicfDhcpSnoopBindingMac = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 1, 4), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpnicfDhcpSnoopBindingMac.setStatus('current') hpnicfDhcpSnoopSpoofServerDetected = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 0, 1)).setObjects(("IF-MIB", "ifIndex"), ("HPN-ICF-LswVLAN-MIB", "hpnicfdot1qVlanIndex"), ("HPN-ICF-DHCPSNOOP-MIB", "hpnicfDhcpSnoopSpoofServerMac"), ("HPN-ICF-DHCPSNOOP-MIB", "hpnicfDhcpSnoopSpoofServerIP")) if mibBuilder.loadTexts: hpnicfDhcpSnoopSpoofServerDetected.setStatus('current') hpnicfDhcpSnoopNewBinding = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 0, 2)).setObjects(("HPN-ICF-DHCPSNOOP-MIB", "hpnicfDhcpSnoopBindingIP"), ("HPN-ICF-DHCPSNOOP-MIB", "hpnicfDhcpSnoopBindingMac")) if mibBuilder.loadTexts: hpnicfDhcpSnoopNewBinding.setStatus('current') mibBuilder.exportSymbols("HPN-ICF-DHCPSNOOP-MIB", hpnicfDhcpSnoopTraps=hpnicfDhcpSnoopTraps, hpnicfDhcpSnoopClientMacAddress=hpnicfDhcpSnoopClientMacAddress, hpnicfDhcpSnoopBindingIP=hpnicfDhcpSnoopBindingIP, hpnicfDhcpSnoopVlanEntry=hpnicfDhcpSnoopVlanEntry, hpnicfDhcpSnoopTable=hpnicfDhcpSnoopTable, hpnicfDhcpSnoopClientUnitNum=hpnicfDhcpSnoopClientUnitNum, hpnicfDhcpSnoopEnable=hpnicfDhcpSnoopEnable, hpnicfDhcpSnoopTrapsObject=hpnicfDhcpSnoopTrapsObject, hpnicfDhcpSnoopSpoofServerIP=hpnicfDhcpSnoopSpoofServerIP, hpnicfDhcpSnoopVlanIndex=hpnicfDhcpSnoopVlanIndex, hpnicfDhcpSnoopBindingMac=hpnicfDhcpSnoopBindingMac, PYSNMP_MODULE_ID=hpnicfDhcpSnoop, hpnicfDhcpSnoopTrustStatus=hpnicfDhcpSnoopTrustStatus, hpnicfDhcpSnoop=hpnicfDhcpSnoop, hpnicfDhcpSnoopMibObject=hpnicfDhcpSnoopMibObject, hpnicfDhcpSnoopTrustTable=hpnicfDhcpSnoopTrustTable, hpnicfDhcpSnoopVlanTable=hpnicfDhcpSnoopVlanTable, hpnicfDhcpSnoopClientIpAddressType=hpnicfDhcpSnoopClientIpAddressType, hpnicfDhcpSnoopClientProperty=hpnicfDhcpSnoopClientProperty, hpnicfDhcpSnoopSpoofServerDetected=hpnicfDhcpSnoopSpoofServerDetected, hpnicfDhcpSnoopClientIpAddress=hpnicfDhcpSnoopClientIpAddress, hpnicfDhcpSnoopNewBinding=hpnicfDhcpSnoopNewBinding, hpnicfDhcpSnoopVlanEnable=hpnicfDhcpSnoopVlanEnable, hpnicfDhcpSnoopTrustEntry=hpnicfDhcpSnoopTrustEntry, hpnicfDhcpSnoopEntry=hpnicfDhcpSnoopEntry, hpnicfDhcpSnoopTrapsPrefix=hpnicfDhcpSnoopTrapsPrefix, hpnicfDhcpSnoopSpoofServerMac=hpnicfDhcpSnoopSpoofServerMac)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_union, value_range_constraint, constraints_intersection, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint') (hpnicfdot1q_vlan_index,) = mibBuilder.importSymbols('HPN-ICF-LswVLAN-MIB', 'hpnicfdot1qVlanIndex') (hpnicf_common,) = mibBuilder.importSymbols('HPN-ICF-OID-MIB', 'hpnicfCommon') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (inet_address_type, inet_address) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddress') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (mib_identifier, time_ticks, notification_type, counter64, bits, module_identity, object_identity, ip_address, gauge32, unsigned32, counter32, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibIdentifier', 'TimeTicks', 'NotificationType', 'Counter64', 'Bits', 'ModuleIdentity', 'ObjectIdentity', 'IpAddress', 'Gauge32', 'Unsigned32', 'Counter32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Integer32') (textual_convention, display_string, mac_address, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString', 'MacAddress', 'TruthValue') hpnicf_dhcp_snoop = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36)) if mibBuilder.loadTexts: hpnicfDhcpSnoop.setLastUpdated('200501140000Z') if mibBuilder.loadTexts: hpnicfDhcpSnoop.setOrganization('') hpnicf_dhcp_snoop_mib_object = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1)) hpnicf_dhcp_snoop_enable = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfDhcpSnoopEnable.setStatus('current') hpnicf_dhcp_snoop_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2)) if mibBuilder.loadTexts: hpnicfDhcpSnoopTable.setStatus('current') hpnicf_dhcp_snoop_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1)).setIndexNames((0, 'HPN-ICF-DHCPSNOOP-MIB', 'hpnicfDhcpSnoopClientIpAddressType'), (0, 'HPN-ICF-DHCPSNOOP-MIB', 'hpnicfDhcpSnoopClientIpAddress')) if mibBuilder.loadTexts: hpnicfDhcpSnoopEntry.setStatus('current') hpnicf_dhcp_snoop_client_ip_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1, 1), inet_address_type().clone('ipv4')) if mibBuilder.loadTexts: hpnicfDhcpSnoopClientIpAddressType.setStatus('current') hpnicf_dhcp_snoop_client_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1, 2), inet_address()) if mibBuilder.loadTexts: hpnicfDhcpSnoopClientIpAddress.setStatus('current') hpnicf_dhcp_snoop_client_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1, 3), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfDhcpSnoopClientMacAddress.setStatus('current') hpnicf_dhcp_snoop_client_property = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('static', 1), ('dynamic', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfDhcpSnoopClientProperty.setStatus('current') hpnicf_dhcp_snoop_client_unit_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 2, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfDhcpSnoopClientUnitNum.setStatus('current') hpnicf_dhcp_snoop_trust_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 3)) if mibBuilder.loadTexts: hpnicfDhcpSnoopTrustTable.setStatus('current') hpnicf_dhcp_snoop_trust_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hpnicfDhcpSnoopTrustEntry.setStatus('current') hpnicf_dhcp_snoop_trust_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('untrusted', 0), ('trusted', 1))).clone('untrusted')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfDhcpSnoopTrustStatus.setStatus('current') hpnicf_dhcp_snoop_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 4)) if mibBuilder.loadTexts: hpnicfDhcpSnoopVlanTable.setStatus('current') hpnicf_dhcp_snoop_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 4, 1)).setIndexNames((0, 'HPN-ICF-DHCPSNOOP-MIB', 'hpnicfDhcpSnoopVlanIndex')) if mibBuilder.loadTexts: hpnicfDhcpSnoopVlanEntry.setStatus('current') hpnicf_dhcp_snoop_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))) if mibBuilder.loadTexts: hpnicfDhcpSnoopVlanIndex.setStatus('current') hpnicf_dhcp_snoop_vlan_enable = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 1, 4, 1, 2), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfDhcpSnoopVlanEnable.setStatus('current') hpnicf_dhcp_snoop_traps = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2)) hpnicf_dhcp_snoop_traps_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 0)) hpnicf_dhcp_snoop_traps_object = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 1)) hpnicf_dhcp_snoop_spoof_server_mac = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 1, 1), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpnicfDhcpSnoopSpoofServerMac.setStatus('current') hpnicf_dhcp_snoop_spoof_server_ip = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 1, 2), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpnicfDhcpSnoopSpoofServerIP.setStatus('current') hpnicf_dhcp_snoop_binding_ip = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 1, 3), ip_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpnicfDhcpSnoopBindingIP.setStatus('current') hpnicf_dhcp_snoop_binding_mac = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 1, 4), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpnicfDhcpSnoopBindingMac.setStatus('current') hpnicf_dhcp_snoop_spoof_server_detected = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 0, 1)).setObjects(('IF-MIB', 'ifIndex'), ('HPN-ICF-LswVLAN-MIB', 'hpnicfdot1qVlanIndex'), ('HPN-ICF-DHCPSNOOP-MIB', 'hpnicfDhcpSnoopSpoofServerMac'), ('HPN-ICF-DHCPSNOOP-MIB', 'hpnicfDhcpSnoopSpoofServerIP')) if mibBuilder.loadTexts: hpnicfDhcpSnoopSpoofServerDetected.setStatus('current') hpnicf_dhcp_snoop_new_binding = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 36, 2, 0, 2)).setObjects(('HPN-ICF-DHCPSNOOP-MIB', 'hpnicfDhcpSnoopBindingIP'), ('HPN-ICF-DHCPSNOOP-MIB', 'hpnicfDhcpSnoopBindingMac')) if mibBuilder.loadTexts: hpnicfDhcpSnoopNewBinding.setStatus('current') mibBuilder.exportSymbols('HPN-ICF-DHCPSNOOP-MIB', hpnicfDhcpSnoopTraps=hpnicfDhcpSnoopTraps, hpnicfDhcpSnoopClientMacAddress=hpnicfDhcpSnoopClientMacAddress, hpnicfDhcpSnoopBindingIP=hpnicfDhcpSnoopBindingIP, hpnicfDhcpSnoopVlanEntry=hpnicfDhcpSnoopVlanEntry, hpnicfDhcpSnoopTable=hpnicfDhcpSnoopTable, hpnicfDhcpSnoopClientUnitNum=hpnicfDhcpSnoopClientUnitNum, hpnicfDhcpSnoopEnable=hpnicfDhcpSnoopEnable, hpnicfDhcpSnoopTrapsObject=hpnicfDhcpSnoopTrapsObject, hpnicfDhcpSnoopSpoofServerIP=hpnicfDhcpSnoopSpoofServerIP, hpnicfDhcpSnoopVlanIndex=hpnicfDhcpSnoopVlanIndex, hpnicfDhcpSnoopBindingMac=hpnicfDhcpSnoopBindingMac, PYSNMP_MODULE_ID=hpnicfDhcpSnoop, hpnicfDhcpSnoopTrustStatus=hpnicfDhcpSnoopTrustStatus, hpnicfDhcpSnoop=hpnicfDhcpSnoop, hpnicfDhcpSnoopMibObject=hpnicfDhcpSnoopMibObject, hpnicfDhcpSnoopTrustTable=hpnicfDhcpSnoopTrustTable, hpnicfDhcpSnoopVlanTable=hpnicfDhcpSnoopVlanTable, hpnicfDhcpSnoopClientIpAddressType=hpnicfDhcpSnoopClientIpAddressType, hpnicfDhcpSnoopClientProperty=hpnicfDhcpSnoopClientProperty, hpnicfDhcpSnoopSpoofServerDetected=hpnicfDhcpSnoopSpoofServerDetected, hpnicfDhcpSnoopClientIpAddress=hpnicfDhcpSnoopClientIpAddress, hpnicfDhcpSnoopNewBinding=hpnicfDhcpSnoopNewBinding, hpnicfDhcpSnoopVlanEnable=hpnicfDhcpSnoopVlanEnable, hpnicfDhcpSnoopTrustEntry=hpnicfDhcpSnoopTrustEntry, hpnicfDhcpSnoopEntry=hpnicfDhcpSnoopEntry, hpnicfDhcpSnoopTrapsPrefix=hpnicfDhcpSnoopTrapsPrefix, hpnicfDhcpSnoopSpoofServerMac=hpnicfDhcpSnoopSpoofServerMac)
## HTML lists ## CHECKBOX_TOGGLES = [ "accelerometer", "gps", "calls", "texts", "wifi", "bluetooth", "power_state", "proximity", "gyro", "magnetometer", "devicemotion", "ambient_audio", "reachability", "allow_upload_over_cellular_data", "use_anonymized_hashing", "use_gps_fuzzing", "call_clinician_button_enabled", "call_research_assistant_button_enabled" ] TIMER_VALUES = [ "accelerometer_off_duration_seconds", "accelerometer_on_duration_seconds", "bluetooth_on_duration_seconds", "bluetooth_total_duration_seconds", "bluetooth_global_offset_seconds", "check_for_new_surveys_frequency_seconds", "create_new_data_files_frequency_seconds", "gps_off_duration_seconds", "gps_on_duration_seconds", "seconds_before_auto_logout", "upload_data_files_frequency_seconds", "voice_recording_max_time_length_seconds", "wifi_log_frequency_seconds", "gyro_off_duration_seconds", "gyro_on_duration_seconds", "magnetometer_off_duration_seconds", "magnetometer_on_duration_seconds", "devicemotion_off_duration_seconds", "devicemotion_on_duration_seconds" ]
checkbox_toggles = ['accelerometer', 'gps', 'calls', 'texts', 'wifi', 'bluetooth', 'power_state', 'proximity', 'gyro', 'magnetometer', 'devicemotion', 'ambient_audio', 'reachability', 'allow_upload_over_cellular_data', 'use_anonymized_hashing', 'use_gps_fuzzing', 'call_clinician_button_enabled', 'call_research_assistant_button_enabled'] timer_values = ['accelerometer_off_duration_seconds', 'accelerometer_on_duration_seconds', 'bluetooth_on_duration_seconds', 'bluetooth_total_duration_seconds', 'bluetooth_global_offset_seconds', 'check_for_new_surveys_frequency_seconds', 'create_new_data_files_frequency_seconds', 'gps_off_duration_seconds', 'gps_on_duration_seconds', 'seconds_before_auto_logout', 'upload_data_files_frequency_seconds', 'voice_recording_max_time_length_seconds', 'wifi_log_frequency_seconds', 'gyro_off_duration_seconds', 'gyro_on_duration_seconds', 'magnetometer_off_duration_seconds', 'magnetometer_on_duration_seconds', 'devicemotion_off_duration_seconds', 'devicemotion_on_duration_seconds']
# Comments allow for programers to write reminders or create a better understanding of the code and program city_name = "St. Potatosburg" # The amount of people living in the city of St. Potatosburg: city_pop = 340000
city_name = 'St. Potatosburg' city_pop = 340000
class Solution: def dropNegatives(self, A): j = 0 newlist = [] for i in range(len(A)): if A[i] > 0: newlist.append(A[i]) return newlist def firstMissingPositive(self, nums: List[int]) -> int: A = self.dropNegatives(nums) if len(A)==0: return 1 if len(A)==1: return 1 if A[0] >= 2 else 2 else: n = len(A) for i in range(n): item = abs(A[i]) if item <= n: A[item-1] = -1 * abs(A[item-1]) res = len(A) + 1 for i in range(n): if A[i] > 0: return i+1 return res
class Solution: def drop_negatives(self, A): j = 0 newlist = [] for i in range(len(A)): if A[i] > 0: newlist.append(A[i]) return newlist def first_missing_positive(self, nums: List[int]) -> int: a = self.dropNegatives(nums) if len(A) == 0: return 1 if len(A) == 1: return 1 if A[0] >= 2 else 2 else: n = len(A) for i in range(n): item = abs(A[i]) if item <= n: A[item - 1] = -1 * abs(A[item - 1]) res = len(A) + 1 for i in range(n): if A[i] > 0: return i + 1 return res
def group_weekly(df, date_col): weekly = df.copy() weekly['week'] = weekly[date_col].dt.isocalendar().week weekly['year'] = weekly[date_col].dt.isocalendar().year weekly['year_week'] = weekly['year'].astype(str) + "-" + weekly['week'].astype(str) weekly = weekly.groupby('year_week').sum() weekly.drop(['week', 'year'], axis=1, inplace=True) weekly.reset_index(inplace=True) return weekly
def group_weekly(df, date_col): weekly = df.copy() weekly['week'] = weekly[date_col].dt.isocalendar().week weekly['year'] = weekly[date_col].dt.isocalendar().year weekly['year_week'] = weekly['year'].astype(str) + '-' + weekly['week'].astype(str) weekly = weekly.groupby('year_week').sum() weekly.drop(['week', 'year'], axis=1, inplace=True) weekly.reset_index(inplace=True) return weekly
# coding:utf-8 workers = 4 threads = 4 bind = '0.0.0.0:5000' worker_class = 'eventlet' # 'gevent' worker_connections = 2000 pidfile = 'gunicorn.pid' accesslog = './logs/gunicorn_acess.log' errorlog = './logs/gunicorn_error.log' loglevel = 'info' reload = True
workers = 4 threads = 4 bind = '0.0.0.0:5000' worker_class = 'eventlet' worker_connections = 2000 pidfile = 'gunicorn.pid' accesslog = './logs/gunicorn_acess.log' errorlog = './logs/gunicorn_error.log' loglevel = 'info' reload = True
# The below function calculates the BMI or Body Mass Index of a person # Created by Agamdeep Singh / CodeWithAgam # Youtube: CodeWithAgam # Github: CodeWithAgam # Instagram: @agamdeep_21, @coderagam001 # Twitter: @CoderAgam001 # Linkdin: Agamdeep Singh def calculate_BMI(): # Get the inputs from the user height = float(input("Enter your height in M: ")) weight = float(input("Enter your weight in KG: ")) # Calculate the BMI or Body Mass Index # The formula is, weight(kg) / height^2(m^2) BMI = int(weight / height**2) # Check for the conditions and tell which category their BMI is. if BMI < 18.5: print(f"Your BMI is {BMI}, you are underweight!") elif BMI < 25: print(f"Your BMI is {BMI}, you have a normal weight!") elif BMI < 30: print(f"Your BMI is {BMI}, you are slightly overweight!") elif BMI < 35: print(f"Your BMI is {BMI}, you are obese!") else: print(f"Your BMI is {BMI}, you are clinically obese!") print("Calculate the BMI or Body Mass Index") calculate_BMI()
def calculate_bmi(): height = float(input('Enter your height in M: ')) weight = float(input('Enter your weight in KG: ')) bmi = int(weight / height ** 2) if BMI < 18.5: print(f'Your BMI is {BMI}, you are underweight!') elif BMI < 25: print(f'Your BMI is {BMI}, you have a normal weight!') elif BMI < 30: print(f'Your BMI is {BMI}, you are slightly overweight!') elif BMI < 35: print(f'Your BMI is {BMI}, you are obese!') else: print(f'Your BMI is {BMI}, you are clinically obese!') print('Calculate the BMI or Body Mass Index') calculate_bmi()
{ "includes": [ "common.gypi", ], "targets": [ { "target_name": "colony-lua", "product_name": "colony-lua", "type": "static_library", "defines": [ 'LUA_USELONGLONG', ], "sources": [ '<(colony_lua_path)/src/lapi.c', '<(colony_lua_path)/src/lauxlib.c', '<(colony_lua_path)/src/lbaselib.c', '<(colony_lua_path)/src/lcode.c', '<(colony_lua_path)/src/ldblib.c', '<(colony_lua_path)/src/ldebug.c', '<(colony_lua_path)/src/ldo.c', '<(colony_lua_path)/src/ldump.c', '<(colony_lua_path)/src/lfunc.c', '<(colony_lua_path)/src/lgc.c', '<(colony_lua_path)/src/linit.c', '<(colony_lua_path)/src/liolib.c', '<(colony_lua_path)/src/llex.c', '<(colony_lua_path)/src/lmathlib.c', '<(colony_lua_path)/src/lmem.c', '<(colony_lua_path)/src/loadlib.c', '<(colony_lua_path)/src/lobject.c', '<(colony_lua_path)/src/lopcodes.c', '<(colony_lua_path)/src/loslib.c', '<(colony_lua_path)/src/lparser.c', '<(colony_lua_path)/src/lstate.c', '<(colony_lua_path)/src/lstring.c', '<(colony_lua_path)/src/lstrlib.c', '<(colony_lua_path)/src/ltable.c', '<(colony_lua_path)/src/ltablib.c', '<(colony_lua_path)/src/ltm.c', '<(colony_lua_path)/src/lundump.c', '<(colony_lua_path)/src/lvm.c', '<(colony_lua_path)/src/lzio.c', '<(colony_lua_path)/src/print.c', '<(lua_bitop_path)/bit.c' ], # Lua uses tmpname and has empty bodies and doesn't use some vars 'cflags': [ '-Wno-deprecated-declarations', '-Wno-empty-body', '-Wno-unused-but-set-variable', '-Wno-unused-value', '-Wno-unused-variable', '-Wno-unknown-warning-option', ], 'xcode_settings': { 'OTHER_CFLAGS': [ '-Wno-deprecated-declarations', '-Wno-empty-body', '-Wno-unused-but-set-variable', '-Wno-unused-value', '-Wno-unknown-warning-option', ], }, "include_dirs": [ "<(colony_lua_path)/src", "<(lua_bitop_path)/", ], 'direct_dependent_settings': { 'defines': [ 'COLONY_LUA', 'LUA_USELONGLONG', ], 'include_dirs': [ "<(colony_lua_path)/src", ], 'link_settings': { 'libraries': [ '-lm' ] } } }, { "target_name": "colony-luajit", "product_name": "colony-luajit", "type": "static_library", 'sources': [ # generated by the action below '<(INTERMEDIATE_DIR)/libluajit.o', ], 'actions': [ { 'action_name': 'luajit-build', 'inputs': [ '<(colony_luajit_path)/Makefile', ], 'outputs': [ '<(INTERMEDIATE_DIR)/libluajit.o', ], 'action': ['<(tools_path)/luajit-build.sh', '<(OS)', '<@(_outputs)'], }, ], 'direct_dependent_settings': { 'defines': [ 'COLONY_LUA', ], 'include_dirs': [ "<(colony_luajit_path)/src", ], 'link_settings': { 'libraries': [ '-lm' ] } } }, { 'target_name': 'dir_builtin', 'type': 'none', 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c' ], 'actions': [ { 'action_name': '<(_target_name)_compile', 'inputs': [ '<(node_libs_path)/_stream_duplex.js', '<(node_libs_path)/_stream_passthrough.js', '<(node_libs_path)/_stream_readable.js', '<(node_libs_path)/_stream_transform.js', '<(node_libs_path)/_stream_writable.js', '<(runtime_path)/colony/modules/_structured_clone.js', '<(node_libs_path)/assert.js', '<(runtime_path)/colony/modules/buffer.js', '<(runtime_path)/colony/modules/child_process.js', '<(runtime_path)/colony/modules/console.js', '<(runtime_path)/colony/modules/crypto.js', '<(runtime_path)/colony/modules/dgram.js', '<(runtime_path)/colony/modules/domain.js', '<(runtime_path)/colony/modules/dns.js', '<(node_libs_path)/events.js', '<(runtime_path)/colony/modules/fs.js', '<(runtime_path)/colony/modules/http.js', '<(runtime_path)/colony/modules/https.js', '<(runtime_path)/colony/modules/net.js', '<(runtime_path)/colony/modules/os.js', '<(node_libs_path)/path.js', '<(node_libs_path)/punycode.js', '<(node_libs_path)/querystring.js', '<(runtime_path)/colony/modules/repl.js', '<(node_libs_path)/stream.js', '<(node_libs_path)/string_decoder.js', '<(runtime_path)/colony/modules/tls.js', '<(runtime_path)/colony/modules/tty.js', '<(node_libs_path)/url.js', '<(runtime_path)/colony/modules/util.js', '<(runtime_path)/colony/modules/zlib.js', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', ], 'action': [ '<(tools_path)/compile_folder.sh', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', '<(_target_name)', '<(enable_luajit)', '<@(_inputs)' ], }, ] }, { 'target_name': 'dir_runtime_lib', 'type': 'none', 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c' ], 'actions': [ { 'action_name': '<(_target_name)_compile', 'inputs': [ '<(runtime_path)/colony/lua/cli.lua', '<(runtime_path)/colony/lua/colony-init.lua', '<(runtime_path)/colony/lua/colony-js.lua', '<(runtime_path)/colony/lua/colony-node.lua', '<(runtime_path)/colony/lua/colony.lua', '<(runtime_path)/colony/lua/preload.lua', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', ], 'action': [ '<(tools_path)/compile_folder.sh', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', '<(_target_name)', '<(enable_luajit)', '<@(_inputs)' ], }, ] }, { "target_name": "libcolony", "product_name": "libcolony", "type": "static_library", 'cflags': [ '-Wall', '-Wextra', '-Werror' ], 'defines': [ 'COLONY_COMPILER_PATH=<(compiler_path)', 'COLONY_NODE_VERSION=<(node_version)', '__TESSEL_RUNTIME_SEMVER__=<!(node -p \"require(\\\"../package.json\\\").version")', ], "sources": [ '<(runtime_path)/tm_event.c', '<(runtime_path)/tm_timer.c', '<(runtime_path)/colony/lua_hsregex.c', '<(runtime_path)/colony/lua_tm.c', '<(runtime_path)/colony/lua_rapidjson.c', '<(runtime_path)/colony/colony.c', '<(runtime_path)/colony/colony_init.c', '<(runtime_path)/colony/colony_runtime.c', '<(runtime_path)/colony/lua_http_parser.c', '<(SHARED_INTERMEDIATE_DIR)/dir_builtin.c', '<(SHARED_INTERMEDIATE_DIR)/dir_runtime_lib.c', ], "include_dirs": [ '<(runtime_path)/', '<(runtime_path)/colony/', "<(colony_lua_path)/src", ], "dependencies": [ 'dir_builtin', 'dir_runtime_lib', 'libtm.gyp:hsregex', 'libtm.gyp:fortuna', 'libtm.gyp:dlmalloc', 'libtm.gyp:libtm', 'libtm.gyp:approxidate', 'libtm.gyp:http_parser', ], "direct_dependent_settings": { "include_dirs": [ '<(runtime_path)/colony/' ] }, 'conditions': [ ['enable_luajit!=1', { "dependencies": [ 'colony-lua', ] }], ['enable_luajit==1', { "dependencies": [ 'colony-luajit', ] }], ['OS=="linux"', { "link_settings": { "libraries": [ "-ldl" ], }, }], ['OS!="arm"', { "sources": [ '<(runtime_path)/posix/tm_uptime.c', '<(runtime_path)/posix/tm_timestamp.c', ], }], ['enable_ssl==1', { 'dependencies': [ "libtm.gyp:axtls", "libtm.gyp:tm-ssl", ], }], ['enable_net==1', { 'sources': [ '<(runtime_path)/colony/lua_cares.c', ], 'dependencies': [ 'libtm.gyp:c-ares', ], }], ], } ] }
{'includes': ['common.gypi'], 'targets': [{'target_name': 'colony-lua', 'product_name': 'colony-lua', 'type': 'static_library', 'defines': ['LUA_USELONGLONG'], 'sources': ['<(colony_lua_path)/src/lapi.c', '<(colony_lua_path)/src/lauxlib.c', '<(colony_lua_path)/src/lbaselib.c', '<(colony_lua_path)/src/lcode.c', '<(colony_lua_path)/src/ldblib.c', '<(colony_lua_path)/src/ldebug.c', '<(colony_lua_path)/src/ldo.c', '<(colony_lua_path)/src/ldump.c', '<(colony_lua_path)/src/lfunc.c', '<(colony_lua_path)/src/lgc.c', '<(colony_lua_path)/src/linit.c', '<(colony_lua_path)/src/liolib.c', '<(colony_lua_path)/src/llex.c', '<(colony_lua_path)/src/lmathlib.c', '<(colony_lua_path)/src/lmem.c', '<(colony_lua_path)/src/loadlib.c', '<(colony_lua_path)/src/lobject.c', '<(colony_lua_path)/src/lopcodes.c', '<(colony_lua_path)/src/loslib.c', '<(colony_lua_path)/src/lparser.c', '<(colony_lua_path)/src/lstate.c', '<(colony_lua_path)/src/lstring.c', '<(colony_lua_path)/src/lstrlib.c', '<(colony_lua_path)/src/ltable.c', '<(colony_lua_path)/src/ltablib.c', '<(colony_lua_path)/src/ltm.c', '<(colony_lua_path)/src/lundump.c', '<(colony_lua_path)/src/lvm.c', '<(colony_lua_path)/src/lzio.c', '<(colony_lua_path)/src/print.c', '<(lua_bitop_path)/bit.c'], 'cflags': ['-Wno-deprecated-declarations', '-Wno-empty-body', '-Wno-unused-but-set-variable', '-Wno-unused-value', '-Wno-unused-variable', '-Wno-unknown-warning-option'], 'xcode_settings': {'OTHER_CFLAGS': ['-Wno-deprecated-declarations', '-Wno-empty-body', '-Wno-unused-but-set-variable', '-Wno-unused-value', '-Wno-unknown-warning-option']}, 'include_dirs': ['<(colony_lua_path)/src', '<(lua_bitop_path)/'], 'direct_dependent_settings': {'defines': ['COLONY_LUA', 'LUA_USELONGLONG'], 'include_dirs': ['<(colony_lua_path)/src'], 'link_settings': {'libraries': ['-lm']}}}, {'target_name': 'colony-luajit', 'product_name': 'colony-luajit', 'type': 'static_library', 'sources': ['<(INTERMEDIATE_DIR)/libluajit.o'], 'actions': [{'action_name': 'luajit-build', 'inputs': ['<(colony_luajit_path)/Makefile'], 'outputs': ['<(INTERMEDIATE_DIR)/libluajit.o'], 'action': ['<(tools_path)/luajit-build.sh', '<(OS)', '<@(_outputs)']}], 'direct_dependent_settings': {'defines': ['COLONY_LUA'], 'include_dirs': ['<(colony_luajit_path)/src'], 'link_settings': {'libraries': ['-lm']}}}, {'target_name': 'dir_builtin', 'type': 'none', 'sources': ['<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c'], 'actions': [{'action_name': '<(_target_name)_compile', 'inputs': ['<(node_libs_path)/_stream_duplex.js', '<(node_libs_path)/_stream_passthrough.js', '<(node_libs_path)/_stream_readable.js', '<(node_libs_path)/_stream_transform.js', '<(node_libs_path)/_stream_writable.js', '<(runtime_path)/colony/modules/_structured_clone.js', '<(node_libs_path)/assert.js', '<(runtime_path)/colony/modules/buffer.js', '<(runtime_path)/colony/modules/child_process.js', '<(runtime_path)/colony/modules/console.js', '<(runtime_path)/colony/modules/crypto.js', '<(runtime_path)/colony/modules/dgram.js', '<(runtime_path)/colony/modules/domain.js', '<(runtime_path)/colony/modules/dns.js', '<(node_libs_path)/events.js', '<(runtime_path)/colony/modules/fs.js', '<(runtime_path)/colony/modules/http.js', '<(runtime_path)/colony/modules/https.js', '<(runtime_path)/colony/modules/net.js', '<(runtime_path)/colony/modules/os.js', '<(node_libs_path)/path.js', '<(node_libs_path)/punycode.js', '<(node_libs_path)/querystring.js', '<(runtime_path)/colony/modules/repl.js', '<(node_libs_path)/stream.js', '<(node_libs_path)/string_decoder.js', '<(runtime_path)/colony/modules/tls.js', '<(runtime_path)/colony/modules/tty.js', '<(node_libs_path)/url.js', '<(runtime_path)/colony/modules/util.js', '<(runtime_path)/colony/modules/zlib.js'], 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c'], 'action': ['<(tools_path)/compile_folder.sh', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', '<(_target_name)', '<(enable_luajit)', '<@(_inputs)']}]}, {'target_name': 'dir_runtime_lib', 'type': 'none', 'sources': ['<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c'], 'actions': [{'action_name': '<(_target_name)_compile', 'inputs': ['<(runtime_path)/colony/lua/cli.lua', '<(runtime_path)/colony/lua/colony-init.lua', '<(runtime_path)/colony/lua/colony-js.lua', '<(runtime_path)/colony/lua/colony-node.lua', '<(runtime_path)/colony/lua/colony.lua', '<(runtime_path)/colony/lua/preload.lua'], 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c'], 'action': ['<(tools_path)/compile_folder.sh', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', '<(_target_name)', '<(enable_luajit)', '<@(_inputs)']}]}, {'target_name': 'libcolony', 'product_name': 'libcolony', 'type': 'static_library', 'cflags': ['-Wall', '-Wextra', '-Werror'], 'defines': ['COLONY_COMPILER_PATH=<(compiler_path)', 'COLONY_NODE_VERSION=<(node_version)', '__TESSEL_RUNTIME_SEMVER__=<!(node -p "require(\\"../package.json\\").version")'], 'sources': ['<(runtime_path)/tm_event.c', '<(runtime_path)/tm_timer.c', '<(runtime_path)/colony/lua_hsregex.c', '<(runtime_path)/colony/lua_tm.c', '<(runtime_path)/colony/lua_rapidjson.c', '<(runtime_path)/colony/colony.c', '<(runtime_path)/colony/colony_init.c', '<(runtime_path)/colony/colony_runtime.c', '<(runtime_path)/colony/lua_http_parser.c', '<(SHARED_INTERMEDIATE_DIR)/dir_builtin.c', '<(SHARED_INTERMEDIATE_DIR)/dir_runtime_lib.c'], 'include_dirs': ['<(runtime_path)/', '<(runtime_path)/colony/', '<(colony_lua_path)/src'], 'dependencies': ['dir_builtin', 'dir_runtime_lib', 'libtm.gyp:hsregex', 'libtm.gyp:fortuna', 'libtm.gyp:dlmalloc', 'libtm.gyp:libtm', 'libtm.gyp:approxidate', 'libtm.gyp:http_parser'], 'direct_dependent_settings': {'include_dirs': ['<(runtime_path)/colony/']}, 'conditions': [['enable_luajit!=1', {'dependencies': ['colony-lua']}], ['enable_luajit==1', {'dependencies': ['colony-luajit']}], ['OS=="linux"', {'link_settings': {'libraries': ['-ldl']}}], ['OS!="arm"', {'sources': ['<(runtime_path)/posix/tm_uptime.c', '<(runtime_path)/posix/tm_timestamp.c']}], ['enable_ssl==1', {'dependencies': ['libtm.gyp:axtls', 'libtm.gyp:tm-ssl']}], ['enable_net==1', {'sources': ['<(runtime_path)/colony/lua_cares.c'], 'dependencies': ['libtm.gyp:c-ares']}]]}]}
awnser = 5 print('Enter a number between 1 and 10') for i in range(0, 4): guess = int(input(f'You have {4-i} guesses left: ')) if guess == 5 or guess == 10: print('You guessed correct!') break else: print(f'The guess of {guess} was not correct') if guess > awnser: print('Your guess was too large') elif 4-i == 1: print('Youre out of chances :(') break else: print('Your guess was too small')
awnser = 5 print('Enter a number between 1 and 10') for i in range(0, 4): guess = int(input(f'You have {4 - i} guesses left: ')) if guess == 5 or guess == 10: print('You guessed correct!') break else: print(f'The guess of {guess} was not correct') if guess > awnser: print('Your guess was too large') elif 4 - i == 1: print('Youre out of chances :(') break else: print('Your guess was too small')
class WrongInputDataType(Exception): def __init__(self, message="Input data must be a pandas.Series."): self.message = message super().__init__(self.message) class NotFittedError(Exception): def __init__(self, message="Please call fit() before detect().", tip=""): self.message = " ".join([message, tip]) super().__init__(self.message) class NoRangeDefinedError(NotFittedError): def __init__(self, message="Or specify min/max range when instantiating detector object."): super().__init__(message) class InvalidArgument(Exception): def __init__(self, argument_name, requirement): self.message = f"{argument_name} must be {requirement}." super().__init__(self.message) class NotInteger(InvalidArgument): def __init__(self, argument_name): super().__init__(argument_name, "an integer") class NonUniqueTimeStamps(Exception): def __init__(self, message="Found multiple values at the same time stamp."): self.message = message super().__init__(self.message)
class Wronginputdatatype(Exception): def __init__(self, message='Input data must be a pandas.Series.'): self.message = message super().__init__(self.message) class Notfittederror(Exception): def __init__(self, message='Please call fit() before detect().', tip=''): self.message = ' '.join([message, tip]) super().__init__(self.message) class Norangedefinederror(NotFittedError): def __init__(self, message='Or specify min/max range when instantiating detector object.'): super().__init__(message) class Invalidargument(Exception): def __init__(self, argument_name, requirement): self.message = f'{argument_name} must be {requirement}.' super().__init__(self.message) class Notinteger(InvalidArgument): def __init__(self, argument_name): super().__init__(argument_name, 'an integer') class Nonuniquetimestamps(Exception): def __init__(self, message='Found multiple values at the same time stamp.'): self.message = message super().__init__(self.message)
alpha = "abcdefghijklmnopqrstuvwxyz" key = "xznlwebgjhqdyvtkfuompciasr" message = input("enter the message : ") cipher = "" for i in message: cipher+=key[alpha.index(i)] print(cipher)
alpha = 'abcdefghijklmnopqrstuvwxyz' key = 'xznlwebgjhqdyvtkfuompciasr' message = input('enter the message : ') cipher = '' for i in message: cipher += key[alpha.index(i)] print(cipher)
def keep(sequence, predicate): pass def discard(sequence, predicate): pass
def keep(sequence, predicate): pass def discard(sequence, predicate): pass
n1=int(input('Digite a idade da primeira pessoa:')) n2=int(input('Digite a idade da segunda pessoa:')) n3=int(input('Digite a idade da terceira pessoa:')) #Maior ou igual a 100 #menor que 100 soma = n1+ n2+ n3 if soma > 100 or soma == 100: print('Maior ou igual a 100') else: print('Menor que 100')
n1 = int(input('Digite a idade da primeira pessoa:')) n2 = int(input('Digite a idade da segunda pessoa:')) n3 = int(input('Digite a idade da terceira pessoa:')) soma = n1 + n2 + n3 if soma > 100 or soma == 100: print('Maior ou igual a 100') else: print('Menor que 100')
print ("Angka Pertama : ") a = int(input()) print ("Angka Kedua : ") b = int (input()) print (hasil = a * b)
print('Angka Pertama : ') a = int(input()) print('Angka Kedua : ') b = int(input()) print(hasil=a * b)
''' LC1413: Minimum Value to Get Positive Step by Step Sum Given an array of integers nums, you start with an initial positive value startValue. In each iteration, you calculate the step by step sum of startValue plus elements in nums (from left to right). Return the minimum positive value of startValue such that the step by step sum is never less than 1. Example 1: Input: nums = [-3,2,-3,4,2] Output: 5 Explanation: If you choose startValue = 4, in the third iteration your step by step sum is less than 1. Example 2: Input: nums = [1,2] Output: 1 Explanation: Minimum start value should be positive. Example 3: Input: nums = [1,-2,-3] Output: 5 Process1: Simulate starting at 0, and let's say the minimum value you attain during the process is m. If say, m = -4, then you should choose the starting value start = 5, because it would just shift all the intermediate values up by 5. While if m = 100, then we just choose the minimum possible starting value start = 1. In general, the answer is max(1, 1 - m).''' class Solution(object): def minStartValue(self, nums): prefix = [0] for x in nums: prefix.append(prefix[-1] + x) return max(1, 1 - min(prefix))
""" LC1413: Minimum Value to Get Positive Step by Step Sum Given an array of integers nums, you start with an initial positive value startValue. In each iteration, you calculate the step by step sum of startValue plus elements in nums (from left to right). Return the minimum positive value of startValue such that the step by step sum is never less than 1. Example 1: Input: nums = [-3,2,-3,4,2] Output: 5 Explanation: If you choose startValue = 4, in the third iteration your step by step sum is less than 1. Example 2: Input: nums = [1,2] Output: 1 Explanation: Minimum start value should be positive. Example 3: Input: nums = [1,-2,-3] Output: 5 Process1: Simulate starting at 0, and let's say the minimum value you attain during the process is m. If say, m = -4, then you should choose the starting value start = 5, because it would just shift all the intermediate values up by 5. While if m = 100, then we just choose the minimum possible starting value start = 1. In general, the answer is max(1, 1 - m).""" class Solution(object): def min_start_value(self, nums): prefix = [0] for x in nums: prefix.append(prefix[-1] + x) return max(1, 1 - min(prefix))
def solve_part_one(puzzle: list) -> int: turn = 1 numbers = [] while turn <= 2020: if turn <= len(puzzle): numbers.append(puzzle[turn - 1]) turn += 1 continue # We finished the initial list. Look at the last number last_num = numbers[-1] if last_num in numbers[:len(numbers) - 1]: previous_turn = find_index(numbers[:len(numbers) - 1], last_num) numbers.append(turn - 1 - previous_turn) else: numbers.append(0) turn += 1 return numbers[-1] def find_index(numbers: list, number_to_find: int) -> int: index = 0 for pos in range(0, len(numbers)): if number_to_find == numbers[pos]: index = pos return index + 1 def solve_part_two(puzzle: list) -> int: turn = 1 numbers = [] mem_helper = {} while turn <= 30000000: if turn <= len(puzzle): numbers.append(puzzle[turn - 1]) if turn < len(puzzle): mem_helper[puzzle[turn - 1]] = turn turn += 1 continue # We finished the initial list. Look at the last number last_num = numbers[-1] if last_num in mem_helper: numbers.append(turn - 1 - mem_helper[last_num]) mem_helper[last_num] = turn - 1 else: numbers.append(0) mem_helper[last_num] = turn - 1 turn += 1 return numbers[-1] if __name__ == '__main__': puzzle_input = [15, 12, 0, 14, 3, 1] solve_part_one(puzzle_input) solve_part_two(puzzle_input)
def solve_part_one(puzzle: list) -> int: turn = 1 numbers = [] while turn <= 2020: if turn <= len(puzzle): numbers.append(puzzle[turn - 1]) turn += 1 continue last_num = numbers[-1] if last_num in numbers[:len(numbers) - 1]: previous_turn = find_index(numbers[:len(numbers) - 1], last_num) numbers.append(turn - 1 - previous_turn) else: numbers.append(0) turn += 1 return numbers[-1] def find_index(numbers: list, number_to_find: int) -> int: index = 0 for pos in range(0, len(numbers)): if number_to_find == numbers[pos]: index = pos return index + 1 def solve_part_two(puzzle: list) -> int: turn = 1 numbers = [] mem_helper = {} while turn <= 30000000: if turn <= len(puzzle): numbers.append(puzzle[turn - 1]) if turn < len(puzzle): mem_helper[puzzle[turn - 1]] = turn turn += 1 continue last_num = numbers[-1] if last_num in mem_helper: numbers.append(turn - 1 - mem_helper[last_num]) mem_helper[last_num] = turn - 1 else: numbers.append(0) mem_helper[last_num] = turn - 1 turn += 1 return numbers[-1] if __name__ == '__main__': puzzle_input = [15, 12, 0, 14, 3, 1] solve_part_one(puzzle_input) solve_part_two(puzzle_input)
# # PySNMP MIB module BNET-ATM-ATOM-AUG-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BNET-ATM-ATOM-AUG-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:40:04 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion") atmVclVci, atmVclVpi = mibBuilder.importSymbols("ATM-MIB", "atmVclVci", "atmVclVpi") atmSoftPVccLeafReference, = mibBuilder.importSymbols("ATM-SOFT-PVC-MIB", "atmSoftPVccLeafReference") AtmAddr, = mibBuilder.importSymbols("ATM-TC-MIB", "AtmAddr") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") s5AtmTop, = mibBuilder.importSymbols("S5-ROOT-MIB", "s5AtmTop") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Integer32, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, NotificationType, Counter32, ModuleIdentity, MibIdentifier, ObjectIdentity, IpAddress, Gauge32, Unsigned32, TimeTicks, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "NotificationType", "Counter32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "IpAddress", "Gauge32", "Unsigned32", "TimeTicks", "Counter64") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") bnetAtmAug = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3)) bnetAtmDeviceAtmAddr = MibScalar((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 1), AtmAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: bnetAtmDeviceAtmAddr.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmDeviceAtmAddr.setDescription('The ATM address which applies for this particular device. Where multiple addresses apply, include only primary one.') bnetAtmLearnAddrs = MibScalar((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("learnAddrs", 2), ("forgetAddrs", 3))).clone('learnAddrs')).setMaxAccess("readwrite") if mibBuilder.loadTexts: bnetAtmLearnAddrs.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmLearnAddrs.setDescription('When set to learnAddrs, atmAddrVcl and atmVclAddrBind tables will keep track of ATM Addresses.') atmfAddressClientTable = MibTable((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3), ) if mibBuilder.loadTexts: atmfAddressClientTable.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientTable.setDescription('Provides additional detail about each ATM client.') atmfAddressClientEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1), ).setIndexNames((0, "BNET-ATM-ATOM-AUG-MIB", "atmfAddressPort"), (0, "BNET-ATM-ATOM-AUG-MIB", "atmfAddressAtmAddress")) if mibBuilder.loadTexts: atmfAddressClientEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientEntry.setDescription('An entry with information about an ATM client.') atmfAddressPort = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmfAddressPort.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressPort.setDescription(' Uni Port ') atmfAddressAtmAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 2), AtmAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmfAddressAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressAtmAddress.setDescription('ATM Address') atmfAddressClientType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("other", 1), ("cnTurbo", 2), ("cnCircuitSaver", 3), ("laneTurbo", 4), ("laneCircuitSaver", 5), ("external", 6), ("les", 7), ("bus", 8), ("les-bus", 9), ("lecs", 10), ("spvc", 11))).clone('external')).setMaxAccess("readonly") if mibBuilder.loadTexts: atmfAddressClientType.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientType.setDescription('Indicates the type of client.') atmfAddressClientCallCount = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmfAddressClientCallCount.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientCallCount.setDescription('Indicates number of calls currently up, which involve this particular client address.') bnetAtmSoftPVccExtnTable = MibTable((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4), ) if mibBuilder.loadTexts: bnetAtmSoftPVccExtnTable.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccExtnTable.setDescription('The table used to maintain Soft Permanent Virtual Channel Connection (Soft PVCCs) circuit ids. The Soft PVCC table is applicable only to switches.') bnetAtmSoftPVccExtnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVclVpi"), (0, "ATM-MIB", "atmVclVci"), (0, "ATM-SOFT-PVC-MIB", "atmSoftPVccLeafReference")) if mibBuilder.loadTexts: bnetAtmSoftPVccExtnEntry.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccExtnEntry.setDescription('Each entry in this table represents the circuit id of a Soft Permanent Virtual Channel Connection (Soft PVCC).') bnetAtmSoftPVccCircuitId = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bnetAtmSoftPVccCircuitId.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccCircuitId.setDescription('This is the circuit id for a Soft PVCC.') mibBuilder.exportSymbols("BNET-ATM-ATOM-AUG-MIB", atmfAddressClientType=atmfAddressClientType, bnetAtmSoftPVccCircuitId=bnetAtmSoftPVccCircuitId, bnetAtmDeviceAtmAddr=bnetAtmDeviceAtmAddr, bnetAtmSoftPVccExtnEntry=bnetAtmSoftPVccExtnEntry, bnetAtmAug=bnetAtmAug, bnetAtmSoftPVccExtnTable=bnetAtmSoftPVccExtnTable, atmfAddressClientTable=atmfAddressClientTable, atmfAddressPort=atmfAddressPort, atmfAddressClientCallCount=atmfAddressClientCallCount, atmfAddressAtmAddress=atmfAddressAtmAddress, bnetAtmLearnAddrs=bnetAtmLearnAddrs, atmfAddressClientEntry=atmfAddressClientEntry)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, single_value_constraint, value_range_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion') (atm_vcl_vci, atm_vcl_vpi) = mibBuilder.importSymbols('ATM-MIB', 'atmVclVci', 'atmVclVpi') (atm_soft_p_vcc_leaf_reference,) = mibBuilder.importSymbols('ATM-SOFT-PVC-MIB', 'atmSoftPVccLeafReference') (atm_addr,) = mibBuilder.importSymbols('ATM-TC-MIB', 'AtmAddr') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (s5_atm_top,) = mibBuilder.importSymbols('S5-ROOT-MIB', 's5AtmTop') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (integer32, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, bits, notification_type, counter32, module_identity, mib_identifier, object_identity, ip_address, gauge32, unsigned32, time_ticks, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'NotificationType', 'Counter32', 'ModuleIdentity', 'MibIdentifier', 'ObjectIdentity', 'IpAddress', 'Gauge32', 'Unsigned32', 'TimeTicks', 'Counter64') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') bnet_atm_aug = mib_identifier((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3)) bnet_atm_device_atm_addr = mib_scalar((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 1), atm_addr()).setMaxAccess('readonly') if mibBuilder.loadTexts: bnetAtmDeviceAtmAddr.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmDeviceAtmAddr.setDescription('The ATM address which applies for this particular device. Where multiple addresses apply, include only primary one.') bnet_atm_learn_addrs = mib_scalar((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('learnAddrs', 2), ('forgetAddrs', 3))).clone('learnAddrs')).setMaxAccess('readwrite') if mibBuilder.loadTexts: bnetAtmLearnAddrs.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmLearnAddrs.setDescription('When set to learnAddrs, atmAddrVcl and atmVclAddrBind tables will keep track of ATM Addresses.') atmf_address_client_table = mib_table((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3)) if mibBuilder.loadTexts: atmfAddressClientTable.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientTable.setDescription('Provides additional detail about each ATM client.') atmf_address_client_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1)).setIndexNames((0, 'BNET-ATM-ATOM-AUG-MIB', 'atmfAddressPort'), (0, 'BNET-ATM-ATOM-AUG-MIB', 'atmfAddressAtmAddress')) if mibBuilder.loadTexts: atmfAddressClientEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientEntry.setDescription('An entry with information about an ATM client.') atmf_address_port = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atmfAddressPort.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressPort.setDescription(' Uni Port ') atmf_address_atm_address = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 2), atm_addr()).setMaxAccess('readonly') if mibBuilder.loadTexts: atmfAddressAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressAtmAddress.setDescription('ATM Address') atmf_address_client_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('other', 1), ('cnTurbo', 2), ('cnCircuitSaver', 3), ('laneTurbo', 4), ('laneCircuitSaver', 5), ('external', 6), ('les', 7), ('bus', 8), ('les-bus', 9), ('lecs', 10), ('spvc', 11))).clone('external')).setMaxAccess('readonly') if mibBuilder.loadTexts: atmfAddressClientType.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientType.setDescription('Indicates the type of client.') atmf_address_client_call_count = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atmfAddressClientCallCount.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientCallCount.setDescription('Indicates number of calls currently up, which involve this particular client address.') bnet_atm_soft_p_vcc_extn_table = mib_table((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4)) if mibBuilder.loadTexts: bnetAtmSoftPVccExtnTable.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccExtnTable.setDescription('The table used to maintain Soft Permanent Virtual Channel Connection (Soft PVCCs) circuit ids. The Soft PVCC table is applicable only to switches.') bnet_atm_soft_p_vcc_extn_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'ATM-MIB', 'atmVclVpi'), (0, 'ATM-MIB', 'atmVclVci'), (0, 'ATM-SOFT-PVC-MIB', 'atmSoftPVccLeafReference')) if mibBuilder.loadTexts: bnetAtmSoftPVccExtnEntry.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccExtnEntry.setDescription('Each entry in this table represents the circuit id of a Soft Permanent Virtual Channel Connection (Soft PVCC).') bnet_atm_soft_p_vcc_circuit_id = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bnetAtmSoftPVccCircuitId.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccCircuitId.setDescription('This is the circuit id for a Soft PVCC.') mibBuilder.exportSymbols('BNET-ATM-ATOM-AUG-MIB', atmfAddressClientType=atmfAddressClientType, bnetAtmSoftPVccCircuitId=bnetAtmSoftPVccCircuitId, bnetAtmDeviceAtmAddr=bnetAtmDeviceAtmAddr, bnetAtmSoftPVccExtnEntry=bnetAtmSoftPVccExtnEntry, bnetAtmAug=bnetAtmAug, bnetAtmSoftPVccExtnTable=bnetAtmSoftPVccExtnTable, atmfAddressClientTable=atmfAddressClientTable, atmfAddressPort=atmfAddressPort, atmfAddressClientCallCount=atmfAddressClientCallCount, atmfAddressAtmAddress=atmfAddressAtmAddress, bnetAtmLearnAddrs=bnetAtmLearnAddrs, atmfAddressClientEntry=atmfAddressClientEntry)
UP_KEY = 16777235 DOWN_KEY = 16777237 TAB_KEY = 16777217
up_key = 16777235 down_key = 16777237 tab_key = 16777217
#author Kollen Gruizenga #function to return all words in list L who start with letter "let" def beginWith(L, let): result = [] for x in L: if (x[0] == let): result += [x] return result
def begin_with(L, let): result = [] for x in L: if x[0] == let: result += [x] return result
CAMPAIGN_INCIDENT_CONTEXT = { "EmailCampaign": { "firstIncidentDate": "2021-11-21T14:00:07.425185+00:00", "incidents": [ { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "1", "name": "Verify your example account 798", "occurred": "2021-11-21T14:00:07.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 1, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example2.com", "id": "2", "name": "Verify your example account 798", "occurred": "2021-11-21T14:59:01.690685509Z", "recipients": [ "victim-test1@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.9999999999999999, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "3", "name": "Verify your example account 798", "occurred": "2021-11-21T15:00:07.425185504Z", "recipients": [ "victim-test7@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 3, "similarity": 1, "status": 1 } ], "indicators": [ { "id": "1263", "value": "http://www.example.com" } ], "involvedIncidentsCount": 3, "isCampaignFound": True }, "ExistingCampaignID": [ "809" ] } NEW_INCIDENT_CONTEXT = { "EmailCampaign": { "firstIncidentDate": "2021-11-21T14:00:07.425185+00:00", "incidents": [ { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "5", "name": "Verify your example account 798", "occurred": "2021-11-21T15:01:07.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 1, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "1", "name": "Verify your example account 798", "occurred": "2021-11-21T14:00:07.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.99, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example2.com", "id": "2", "name": "Verify your example account 798", "occurred": "2021-11-21T14:59:01.690685509Z", "recipients": [ "victim-test1@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.98, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "3", "name": "Verify your example account 798", "occurred": "2021-11-21T15:00:07.425185504Z", "recipients": [ "victim-test7@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 3, "similarity": 0.85, "status": 1 } ], "indicators": [ { "id": "1263", "value": "http://www.example.com" } ], "involvedIncidentsCount": 4, "isCampaignFound": True }, "ExistingCampaignID": [ "809" ] } NEW_INCIDENT_2_CONTEXT = { "EmailCampaign": { "firstIncidentDate": "2021-11-21T14:00:07.425185+00:00", "incidents": [ { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "4", "name": "Verify your example account 798", "occurred": "2021-11-21T16:00:00.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 1, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "1", "name": "Verify your example account 798", "occurred": "2021-11-21T14:00:07.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.98, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example2.com", "id": "2", "name": "Verify your example account 798", "occurred": "2021-11-21T14:59:01.690685509Z", "recipients": [ "victim-test1@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.97, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "3", "name": "Verify your example account 798", "occurred": "2021-11-21T15:00:07.425185504Z", "recipients": [ "victim-test7@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 3, "similarity": 0.86, "status": 1 } ], "indicators": [ { "id": "1263", "value": "http://www.example.com" } ], "involvedIncidentsCount": 4, "isCampaignFound": True }, "ExistingCampaignID": [ "809" ] } OLD_INCIDENT_CONTEXT = { "EmailCampaign": { "firstIncidentDate": "2021-11-21T14:00:07.425185+00:00", "incidents": [ { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "1", "name": "Verify your example account 798", "occurred": "2021-11-21T14:00:07.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 1, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example2.com", "id": "2", "name": "Verify your example account 798", "occurred": "2021-11-21T14:59:01.690685509Z", "recipients": [ "victim-test1@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.9999999999999999, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "3", "name": "Verify your example account 798", "occurred": "2021-11-21T15:00:07.425185504Z", "recipients": [ "victim-test7@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 3, "similarity": 1, "status": 1 } ], "indicators": [ { "id": "1263", "value": "http://www.example.com" } ], "involvedIncidentsCount": 3, "isCampaignFound": True }, "ExistingCampaignID": [ "809" ] } NEW_EMPTY_CAMPAIGN = {} INCIDENTS_BY_ID = {'0': CAMPAIGN_INCIDENT_CONTEXT, '1': NEW_EMPTY_CAMPAIGN, '3': OLD_INCIDENT_CONTEXT, '4': NEW_INCIDENT_2_CONTEXT, '5': NEW_INCIDENT_CONTEXT}
campaign_incident_context = {'EmailCampaign': {'firstIncidentDate': '2021-11-21T14:00:07.425185+00:00', 'incidents': [{'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '1', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:00:07.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 1, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example2.com', 'id': '2', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:59:01.690685509Z', 'recipients': ['victim-test1@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.9999999999999999, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '3', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T15:00:07.425185504Z', 'recipients': ['victim-test7@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 3, 'similarity': 1, 'status': 1}], 'indicators': [{'id': '1263', 'value': 'http://www.example.com'}], 'involvedIncidentsCount': 3, 'isCampaignFound': True}, 'ExistingCampaignID': ['809']} new_incident_context = {'EmailCampaign': {'firstIncidentDate': '2021-11-21T14:00:07.425185+00:00', 'incidents': [{'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '5', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T15:01:07.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 1, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '1', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:00:07.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.99, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example2.com', 'id': '2', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:59:01.690685509Z', 'recipients': ['victim-test1@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.98, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '3', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T15:00:07.425185504Z', 'recipients': ['victim-test7@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 3, 'similarity': 0.85, 'status': 1}], 'indicators': [{'id': '1263', 'value': 'http://www.example.com'}], 'involvedIncidentsCount': 4, 'isCampaignFound': True}, 'ExistingCampaignID': ['809']} new_incident_2_context = {'EmailCampaign': {'firstIncidentDate': '2021-11-21T14:00:07.425185+00:00', 'incidents': [{'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '4', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T16:00:00.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 1, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '1', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:00:07.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.98, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example2.com', 'id': '2', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:59:01.690685509Z', 'recipients': ['victim-test1@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.97, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '3', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T15:00:07.425185504Z', 'recipients': ['victim-test7@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 3, 'similarity': 0.86, 'status': 1}], 'indicators': [{'id': '1263', 'value': 'http://www.example.com'}], 'involvedIncidentsCount': 4, 'isCampaignFound': True}, 'ExistingCampaignID': ['809']} old_incident_context = {'EmailCampaign': {'firstIncidentDate': '2021-11-21T14:00:07.425185+00:00', 'incidents': [{'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '1', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:00:07.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 1, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example2.com', 'id': '2', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:59:01.690685509Z', 'recipients': ['victim-test1@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.9999999999999999, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '3', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T15:00:07.425185504Z', 'recipients': ['victim-test7@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 3, 'similarity': 1, 'status': 1}], 'indicators': [{'id': '1263', 'value': 'http://www.example.com'}], 'involvedIncidentsCount': 3, 'isCampaignFound': True}, 'ExistingCampaignID': ['809']} new_empty_campaign = {} incidents_by_id = {'0': CAMPAIGN_INCIDENT_CONTEXT, '1': NEW_EMPTY_CAMPAIGN, '3': OLD_INCIDENT_CONTEXT, '4': NEW_INCIDENT_2_CONTEXT, '5': NEW_INCIDENT_CONTEXT}
''' Class to represent plant care. ''' class Plant_Care: ''' General representation of abstract plant care. ''' def __init__(self, times_monthly=2, plant_type='Cacti', soil_moisutre='Arid'): self.times_monthly = times_monthly self.plant_type = plant_type self.soil_moisture = soil_moisutre def print_times_monthly(self): ''' Print how many times you should water monthly. ''' print('water {} times monthly'.format(self.times_monthly)) def what_soil(self): ''' Print what type of soil you have ''' print('The soil type is {}'.format(self.soil_moisture))
""" Class to represent plant care. """ class Plant_Care: """ General representation of abstract plant care. """ def __init__(self, times_monthly=2, plant_type='Cacti', soil_moisutre='Arid'): self.times_monthly = times_monthly self.plant_type = plant_type self.soil_moisture = soil_moisutre def print_times_monthly(self): """ Print how many times you should water monthly. """ print('water {} times monthly'.format(self.times_monthly)) def what_soil(self): """ Print what type of soil you have """ print('The soil type is {}'.format(self.soil_moisture))
# # PySNMP MIB module NTWS-AP-CONFIG-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NTWS-AP-CONFIG-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:25:33 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, SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint") NtwsChannelNum, NtwsApFingerprint, NtwsApSerialNum, NtwsApRadioIndex, NtwsApPowerMode, NtwsApLedMode, NtwsPowerLevel, NtwsRadioMode, NtwsRadioAntennaLocation, NtwsRadioType, NtwsRadioChannelWidth, NtwsApBias, NtwsApNum, NtwsApAttachType = mibBuilder.importSymbols("NTWS-AP-TC", "NtwsChannelNum", "NtwsApFingerprint", "NtwsApSerialNum", "NtwsApRadioIndex", "NtwsApPowerMode", "NtwsApLedMode", "NtwsPowerLevel", "NtwsRadioMode", "NtwsRadioAntennaLocation", "NtwsRadioType", "NtwsRadioChannelWidth", "NtwsApBias", "NtwsApNum", "NtwsApAttachType") NtwsPhysPortNumberOrZero, = mibBuilder.importSymbols("NTWS-BASIC-TC", "NtwsPhysPortNumberOrZero") ntwsMibs, = mibBuilder.importSymbols("NTWS-ROOT-MIB", "ntwsMibs") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, Counter64, ObjectIdentity, Gauge32, Unsigned32, NotificationType, Counter32, Integer32, MibIdentifier, TimeTicks, Bits, ModuleIdentity, iso = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "Counter64", "ObjectIdentity", "Gauge32", "Unsigned32", "NotificationType", "Counter32", "Integer32", "MibIdentifier", "TimeTicks", "Bits", "ModuleIdentity", "iso") RowStatus, TruthValue, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue", "DisplayString", "TextualConvention") ntwsApConfigMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14)) ntwsApConfigMib.setRevisions(('2009-11-19 01:08',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ntwsApConfigMib.setRevisionsDescriptions(('v1.0.8: Initial version',)) if mibBuilder.loadTexts: ntwsApConfigMib.setLastUpdated('200911190108Z') if mibBuilder.loadTexts: ntwsApConfigMib.setOrganization('Nortel Networks') if mibBuilder.loadTexts: ntwsApConfigMib.setContactInfo('www.nortelnetworks.com') if mibBuilder.loadTexts: ntwsApConfigMib.setDescription("AP Configuration objects for Nortel Networks wireless switches. AP = Access Point; AC = Access Controller (wireless switch), the device that runs a SNMP Agent implementing this MIB. Copyright 2009 Nortel Networks. All rights reserved. This Nortel Networks SNMP Management Information Base Specification (Specification) embodies Nortel Networks' confidential and proprietary intellectual property. This Specification is supplied 'AS IS' and Nortel Networks makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.") class NtwsApTemplateName(TextualConvention, OctetString): description = 'AP Template Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' displayHint = '255a' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 32) class NtwsRadioProfileName(TextualConvention, OctetString): description = 'Radio Profile Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' displayHint = '255a' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 16) class NtwsServiceProfileName(TextualConvention, OctetString): description = 'Service Profile Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' displayHint = '255a' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 32) class NtwsSnoopFilterName(TextualConvention, OctetString): description = 'Snoop Filter Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' displayHint = '255a' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 15) class NtwsServiceProfileSsidType(TextualConvention, Integer32): description = 'Enumeration of Service Types provided on a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("clear", 1), ("crypto", 2)) class NtwsServiceProfile11nMode(TextualConvention, Integer32): description = 'Enumeration of 802.11n modes for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("enable", 1), ("disable", 2), ("required", 3)) class NtwsServiceProfile11nFrameAggregationType(TextualConvention, Integer32): description = 'Enumeration of 802.11n frame aggregation types for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("msdu", 1), ("mpdu", 2), ("all", 3), ("disable", 4)) class NtwsServiceProfile11nMsduMaxLength(TextualConvention, Integer32): description = 'Enumeration of 802.11n A-MSDU maximum lengths for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("msdu-4k", 1), ("msdu-8k", 2)) class NtwsServiceProfile11nMpduMaxLength(TextualConvention, Integer32): description = 'Enumeration of 802.11n A-MPDU maximum lengths for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("mpdu-8k", 1), ("mpdu-16k", 2), ("mpdu-32k", 3), ("mpdu-64k", 4)) class NtwsServiceProfileAuthFallthruType(TextualConvention, Integer32): description = 'Enumeration of Authentication Fallthrough types for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("none", 1), ("web-auth", 2), ("web-aaa-portal", 3), ("last-resort", 4)) class NtwsServiceProfileCacMode(TextualConvention, Integer32): description = 'Enumeration of Call Admission Control types for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("none", 1), ("session", 2), ("vendor", 3)) class NtwsRadioProfileCountermeasuresMode(TextualConvention, Integer32): description = 'Enumeration of the Countermeasure modes for a radio profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("none", 1), ("all", 2), ("rogue", 3), ("configured", 4)) class NtwsRadioProfileRFScanChannelScope(TextualConvention, Integer32): description = 'Enumeration of RF scanning channel scopes for a radio profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("operating", 1), ("regulatory", 2), ("all", 3)) class NtwsRadioProfileAutoTuneChannelRange(TextualConvention, Integer32): description = 'Enumeration of Auto-Tune channel ranges for a radio profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("all-bands", 1), ("lower-bands", 2)) class NtwsRadioProfileRFScanMode(TextualConvention, Integer32): description = 'Enumeration of RF scanning modes for a radio profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("active", 1), ("passive", 2)) ntwsApConfigMibObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1)) ntwsApConfApConfigTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2), ) if mibBuilder.loadTexts: ntwsApConfApConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigTable.setDescription('A table describing all the APs currently configured on this AC.') ntwsApConfApConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApNum")) if mibBuilder.loadTexts: ntwsApConfApConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigEntry.setDescription('Configuration for a particular AP that could be attached to the AC.') ntwsApConfApConfigApNum = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 1), NtwsApNum()) if mibBuilder.loadTexts: ntwsApConfApConfigApNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApNum.setDescription('The Number of this AP (administratively assigned).') ntwsApConfApConfigApAttachType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 2), NtwsApAttachType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigApAttachType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApAttachType.setDescription('How this AP is attached to the AC (directly or via L2/L3 network).') ntwsApConfApConfigPhysPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 3), NtwsPhysPortNumberOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigPhysPortNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigPhysPortNum.setDescription('Identifies the physical port used to attach this AP. Only valid for directly attached APs, otherwise will be zero.') ntwsApConfApConfigApSerialNum = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 4), NtwsApSerialNum()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigApSerialNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApSerialNum.setDescription('The Serial Number used to identify this AP. Only valid for network attached APs, otherwise will be a zero length string.') ntwsApConfApConfigApModelName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigApModelName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApModelName.setDescription('The Model name of this AP.') ntwsApConfApConfigFingerprint = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 6), NtwsApFingerprint()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigFingerprint.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigFingerprint.setDescription('The RSA key fingerprint configured on this AP (binary value: it is the MD5 hash of the public key of the RSA key pair). For directly attached APs the fingerprint is a zero length string.') ntwsApConfApConfigBias = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 7), NtwsApBias()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigBias.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigBias.setDescription('Bias (high/low/sticky).') ntwsApConfApConfigApTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigApTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApTimeout.setDescription('The communication timeout for this AP, in seconds.') ntwsApConfApConfigApName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigApName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApName.setDescription('The configured Name for this AP.') ntwsApConfApConfigContact = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigContact.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigContact.setDescription('The Contact information for this AP.') ntwsApConfApConfigLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigLocation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLocation.setDescription('The Location information for this AP.') ntwsApConfApConfigBlinkEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigBlinkEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigBlinkEnabled.setDescription('Indicates whether the LED blink mode is enabled on this AP.') ntwsApConfApConfigForceImageDownloadEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigForceImageDownloadEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigForceImageDownloadEnabled.setDescription('Indicates whether this AP is forced to always download an image from the AC upon boot.') ntwsApConfApConfigFirmwareUpgradeEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigFirmwareUpgradeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigFirmwareUpgradeEnabled.setDescription('Indicates whether automatic boot firmware upgrade is enabled on this AP.') ntwsApConfApConfigLocalSwitchingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigLocalSwitchingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLocalSwitchingEnabled.setDescription('Indicates whether local switching is enabled on this AP.') ntwsApConfApConfigPowerMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 16), NtwsApPowerMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigPowerMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigPowerMode.setDescription('The mode in which this AP is supplying power to its radios.') ntwsApConfApConfigLedMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 17), NtwsApLedMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigLedMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLedMode.setDescription('LED Mode (auto/static/off).') ntwsApConfApConfigDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigDescription.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigDescription.setDescription('The configured Description for this AP.') ntwsApConfRadioConfigTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3), ) if mibBuilder.loadTexts: ntwsApConfRadioConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTable.setDescription('A table describing the radios on all the APs currently configured on this AC.') ntwsApConfRadioConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigApNum"), (0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigRadioIndex")) if mibBuilder.loadTexts: ntwsApConfRadioConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigEntry.setDescription('Configuration for a particular Radio on a particular AP that could be attached to the AC.') ntwsApConfRadioConfigApNum = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 1), NtwsApNum()) if mibBuilder.loadTexts: ntwsApConfRadioConfigApNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigApNum.setDescription('The Number of the AP (administratively assigned).') ntwsApConfRadioConfigRadioIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 2), NtwsApRadioIndex()) if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioIndex.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioIndex.setDescription('The number of this Radio on the AP.') ntwsApConfRadioConfigRadioType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 3), NtwsRadioType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioType.setDescription('The configured Type of this radio (typeA, typeB, typeG, typeNA, typeNG)') ntwsApConfRadioConfigRadioMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 4), NtwsRadioMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioMode.setDescription('The configured Mode of this radio (enabled/disabled/sentry)') ntwsApConfRadioConfigRadioProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 5), NtwsRadioProfileName()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioProfileName.setDescription('Identifies the Radio Profile to be applied to this radio') ntwsApConfRadioConfigChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 6), NtwsChannelNum()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigChannel.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigChannel.setDescription('The configured Channel Number of this radio.') ntwsApConfRadioConfigTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 7), NtwsPowerLevel()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTxPower.setDescription('The configured Tx Power level of this radio.') ntwsApConfRadioConfigAutoTuneMaxTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 8), NtwsPowerLevel()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigAutoTuneMaxTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAutoTuneMaxTxPower.setDescription('The Maximum Tx Power that Auto Tune is allowed to set for this radio.') ntwsApConfRadioConfigAntennaType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaType.setDescription('The configured Antenna Type for this radio.') ntwsApConfRadioConfigAntennaLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 10), NtwsRadioAntennaLocation()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaLocation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaLocation.setDescription('The configured Antenna Location for this radio.') ntwsApConfRadioConfigLoadBalancingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingEnabled.setDescription('Indicates whether RF Load Balancing is enabled on this radio.') ntwsApConfRadioConfigLoadBalancingGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingGroup.setDescription('Indicates the RF Load Balancing group that this radio is assigned to.') ntwsApConfRadioConfigLoadRebalancingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadRebalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadRebalancingEnabled.setDescription('Indicates whether RF Load Rebalancing is enabled for this radio.') ntwsApConfApTemplateConfigTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4), ) if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTable.setDescription('A table describing all the AP Templates currently configured on this AC.') ntwsApConfApTemplateConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfApTemplateName")) if mibBuilder.loadTexts: ntwsApConfApTemplateConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigEntry.setDescription('Template configuration for APs that could be attached to the AC.') ntwsApConfApTemplConfApTemplateName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 1), NtwsApTemplateName()) if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateName.setDescription('AP Template Name.') ntwsApConfApTemplConfApTemplateEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateEnabled.setDescription('Indicates whether this AP Template is Enabled (can be used for bringing up APs).') ntwsApConfApTemplConfBias = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 3), NtwsApBias()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfBias.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfBias.setDescription('Bias (high/low/sticky).') ntwsApConfApTemplConfApTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfApTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTimeout.setDescription('The communication timeout for this AP Template, in seconds.') ntwsApConfApTemplConfBlinkEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfBlinkEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfBlinkEnabled.setDescription('Indicates whether the LED blink mode is enabled on this AP Template.') ntwsApConfApTemplConfForceImageDownloadEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfForceImageDownloadEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfForceImageDownloadEnabled.setDescription('Indicates whether this AP is forced to always download an image from the AC upon boot.') ntwsApConfApTemplConfFirmwareUpgradeEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfFirmwareUpgradeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfFirmwareUpgradeEnabled.setDescription('Indicates whether automatic boot firmware upgrade is enabled on this AP Template.') ntwsApConfApTemplConfLocalSwitchingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfLocalSwitchingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfLocalSwitchingEnabled.setDescription('Indicates whether local switching is enabled on this AP Template.') ntwsApConfApTemplConfPowerMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 9), NtwsApPowerMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfPowerMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfPowerMode.setDescription('The mode in which an AP using this Template will be supplying power to its radios.') ntwsApConfApTemplConfLedMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 10), NtwsApLedMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfLedMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfLedMode.setDescription('The LED Mode (auto/static/off) for an AP using this Template.') ntwsApConfApTemplateRadioConfigTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5), ) if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTable.setDescription('A table describing the radios for all the AP Templates currently configured on this AC.') ntwsApConfApTemplateRadioConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfApTemplateName"), (0, "NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfRadioIndex")) if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigEntry.setDescription('Template configuration for a particular Radio index on an AP Template configured on this AC.') ntwsApConfApTemRadioConfApTemplateName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 1), NtwsApTemplateName()) if mibBuilder.loadTexts: ntwsApConfApTemRadioConfApTemplateName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfApTemplateName.setDescription('AP Template Name.') ntwsApConfApTemRadioConfRadioIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 2), NtwsApRadioIndex()) if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioIndex.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioIndex.setDescription('The number of this Radio on the AP Template.') ntwsApConfApTemRadioConfRadioMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 3), NtwsRadioMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioMode.setDescription('The configured mode of a radio using this Template (enabled/disabled/sentry)') ntwsApConfApTemRadioConfRadioProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 4), NtwsRadioProfileName()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioProfileName.setDescription('Identifies the Radio Profile to be applied to a radio using this Template') ntwsApConfApTemRadioConfAutoTuneMaxTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 5), NtwsPowerLevel()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfAutoTuneMaxTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfAutoTuneMaxTxPower.setDescription('The Maximum Tx Power that Auto Tune will be allowed to set for a radio using this Template.') ntwsApConfApTemRadioConfLoadBalancingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingEnabled.setDescription('Indicates whether RF Load Balancing will be enabled on a radio using this Template.') ntwsApConfApTemRadioConfLoadBalancingGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingGroup.setDescription('Indicates the RF Load Balancing group that a radio using this Template will be assigned to.') ntwsApConfApTemRadioConfLoadRebalancingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadRebalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadRebalancingEnabled.setDescription('Indicates whether RF Load Rebalancing will be enabled for a radio using this Template.') ntwsApConfRadioProfileTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6), ) if mibBuilder.loadTexts: ntwsApConfRadioProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileTable.setDescription('A table describing the Radio Profiles currently configured on this AC.') ntwsApConfRadioProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRadioProfileName")) if mibBuilder.loadTexts: ntwsApConfRadioProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileEntry.setDescription('Configuration for a particular Radio Profile.') ntwsApConfRadioProfRadioProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 1), NtwsRadioProfileName()) if mibBuilder.loadTexts: ntwsApConfRadioProfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRadioProfileName.setDescription('Name of this radio profile.') ntwsApConfRadioProfBeaconInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfBeaconInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfBeaconInterval.setDescription('Beacon Interval, time in thousandths of a second, for this radio profile.') ntwsApConfRadioProfDtimInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfDtimInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfDtimInterval.setDescription('The number of times after every beacon that each AP radio in a radio profile sends a delivery traffic indication map (DTIM), for the AP radios using this radio profile.') ntwsApConfRadioProfChannelWidth11na = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 4), NtwsRadioChannelWidth()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfChannelWidth11na.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfChannelWidth11na.setDescription('802.11n Channel Width for the AP radios using this radio profile.') ntwsApConfRadioProfMaxTxLifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfMaxTxLifetime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxTxLifetime.setDescription('The maximum transmit threshold for the AP radios using this radio profile.') ntwsApConfRadioProfMaxRxLifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfMaxRxLifetime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxRxLifetime.setDescription('The maximum receive threshold for the AP radios using this radio profile.') ntwsApConfRadioProfRtsThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRtsThreshold.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRtsThreshold.setDescription('The RTS threshold for the AP radios using this radio profile.') ntwsApConfRadioProfFragThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfFragThreshold.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfFragThreshold.setDescription('The fragmentation threshold for the AP radios using this radio profile.') ntwsApConfRadioProfLongXmitPreambleEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfLongXmitPreambleEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfLongXmitPreambleEnabled.setDescription('Indicates whether an 802.11b/g AP radio using this radio profile transmits Long Preamble.') ntwsApConfRadioProfCountermeasuresMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 10), NtwsRadioProfileCountermeasuresMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCountermeasuresMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCountermeasuresMode.setDescription('Countermeasures Mode for the AP radios using this radio profile.') ntwsApConfRadioProfRFScanMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 11), NtwsRadioProfileRFScanMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanMode.setDescription('RF Scanning Mode for the AP radios using this radio profile.') ntwsApConfRadioProfRFScanChannelScope = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 12), NtwsRadioProfileRFScanChannelScope()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanChannelScope.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanChannelScope.setDescription('RF scanning Channel Scope for the AP radios using this radio profile.') ntwsApConfRadioProfRFScanCTSEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanCTSEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanCTSEnabled.setDescription('Indicates whether the AP radios using this radio profile send CTS To Self packet before going off channel.') ntwsApConfRadioProfAutoTune11aChannelRange = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 14), NtwsRadioProfileAutoTuneChannelRange()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTune11aChannelRange.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTune11aChannelRange.setDescription('The allowable 802.11a Channel Range used by Auto-Tune for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled.setDescription('Indicates whether the AP radios using this radio profile Ignore Client connections in Auto-Tune channel selections.') ntwsApConfRadioProfAutoTuneChannelEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 16), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelEnabled.setDescription('Indicates whether Channel Auto-Tuning is enabled for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTuneChannelHolddownInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 17), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelHolddownInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelHolddownInterval.setDescription('Minimum Interval (in seconds) between Channel changes due to Auto-Tuning, for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTuneChannelChangeInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 18), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelChangeInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelChangeInterval.setDescription('The interval (in seconds) at which RF Auto-Tuning decides whether to Change the Channel for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTunePowerEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 19), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerEnabled.setDescription('Indicates whether Power Auto-Tuning is enabled for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTunePowerRampInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 20), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerRampInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerRampInterval.setDescription('Minimum Interval (in seconds) between Power changes due to Auto-Tuning, for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTunePowerChangeInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 21), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerChangeInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerChangeInterval.setDescription('The interval (in seconds) at which RF Auto-Tuning decides whether to Change the Power for the AP radios using this radio profile.') ntwsApConfRadioProfFairQueuingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 22), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfFairQueuingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfFairQueuingEnabled.setDescription('Indicates whether weighted Fair Queuing is enabled for this radio profile.') ntwsApConfRadioProfCacBackgroundACMandatory = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 23), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundACMandatory.setDescription('Indicates whether Admission Control for Background traffic is Mandatory for the AP radios using this radio profile.') ntwsApConfRadioProfCacBackgroundMaxUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 24), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundMaxUtilization.setDescription('Maximum admission control limit for Background traffic, for the AP radios using this radio profile.') ntwsApConfRadioProfCacBackgroundPolicingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 25), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundPolicingEnabled.setDescription('Indicates that admission control Policing for Background traffic is enabled, for the AP radios using this radio profile.') ntwsApConfRadioProfCacBestEffortACMandatory = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 26), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortACMandatory.setDescription('Indicates that Admission Control for Best Effort traffic is Mandatory for the AP radios using this radio profile.') ntwsApConfRadioProfCacBestEffortMaxUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 27), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortMaxUtilization.setDescription('Maximum admission control limit for Best Effort traffic, for the AP radios using this radio profile.') ntwsApConfRadioProfCacBestEffortPolicingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 28), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortPolicingEnabled.setDescription('Indicates that admission control Policing for Best Effort traffic is enabled, for the AP radios using this radio profile.') ntwsApConfRadioProfCacVideoACMandatory = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 29), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoACMandatory.setDescription('Indicates that Admission Control for Video traffic is Mandatory for the AP radios using this radio profile.') ntwsApConfRadioProfCacVideoMaxUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 30), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoMaxUtilization.setDescription('Maximum admission control limit for Video traffic, for the AP radios using this radio profile.') ntwsApConfRadioProfCacVideoPolicingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 31), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoPolicingEnabled.setDescription('Indicates that admission control Policing for Video traffic is enabled, for the AP radios using this radio profile.') ntwsApConfRadioProfCacVoiceACMandatory = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 32), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceACMandatory.setDescription('Indicates that Admission Control for Voice traffic is Mandatory for the AP radios using this radio profile.') ntwsApConfRadioProfCacVoiceMaxUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 33), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceMaxUtilization.setDescription('Maximum admission control limit for Voice traffic, for the AP radios using this radio profile.') ntwsApConfRadioProfCacVoicePolicingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 34), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoicePolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoicePolicingEnabled.setDescription('Indicates that admission control Policing for Voice traffic is enabled, for the AP radios using this radio profile.') ntwsApConfRadioProfRfidTagEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 35), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRfidTagEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRfidTagEnabled.setDescription('Indicates whether an AP radio using this radio profile is enabled to function as location receivers in an AeroScout Visibility System.') ntwsApConfRadioProfWmmPowerSaveEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 36), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfWmmPowerSaveEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfWmmPowerSaveEnabled.setDescription('Indicates whether the AP radios using this radio profile enable power save mode on WMM clients.') ntwsApConfRadioProfRateEnforcementEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 37), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRateEnforcementEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRateEnforcementEnabled.setDescription('Indicates whether data rates are enforced for the AP radios using this radio profile, which means that a connecting client must transmit at one of the mandatory or standard rates in order to associate with the AP.') ntwsApConfRadioProfDfsChannelsEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 38), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfDfsChannelsEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfDfsChannelsEnabled.setDescription('Indicates that the AP radios using this radio profile use DFS channels to meet regulatory requirements.') ntwsApConfRadioProfServiceProfileTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7), ) if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTable.setDescription('A table describing the currently configured connections between Radio Profiles and Service Profiles.') ntwsApConfRadioProfServiceProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRpServpRadioProfileName"), (0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRpServpServiceProfileName")) if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileEntry.setDescription('Connection between a Radio Profile and a Service Profile, currently configured on the AC.') ntwsApConfRpServpRadioProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 1), NtwsRadioProfileName()) if mibBuilder.loadTexts: ntwsApConfRpServpRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpRadioProfileName.setDescription('Name of this Radio Profile.') ntwsApConfRpServpServiceProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 2), NtwsServiceProfileName()) if mibBuilder.loadTexts: ntwsApConfRpServpServiceProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpServiceProfileName.setDescription('Name of a Service Profile connected to this Radio Profile.') ntwsApConfRpServpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ntwsApConfRpServpRowStatus.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpRowStatus.setDescription("This object is used to create a new row or delete an existing row in this table. To create a row, set this object to 'createAndGo'. To delete a row, set this object to 'destroy'. Only these two values 'createAndGo' and 'destroy' will be accepted.") ntwsApConfRadioProfSnoopFilterTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8), ) if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTable.setDescription('A table describing the currently configured connections between Radio Profiles and Snoop Filters.') ntwsApConfRadioProfSnoopFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRpSnoopfRadioProfileName"), (0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRpSnoopfSnoopFilterName")) if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterEntry.setDescription('Connection between a Radio Profile and a Snoop Filter, currently configured on the AC.') ntwsApConfRpSnoopfRadioProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 1), NtwsRadioProfileName()) if mibBuilder.loadTexts: ntwsApConfRpSnoopfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfRadioProfileName.setDescription('Name of this Radio Profile.') ntwsApConfRpSnoopfSnoopFilterName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 2), NtwsSnoopFilterName()) if mibBuilder.loadTexts: ntwsApConfRpSnoopfSnoopFilterName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfSnoopFilterName.setDescription('Name of a Snoop Filter connected to this Radio Profile.') ntwsApConfRpSnoopfRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ntwsApConfRpSnoopfRowStatus.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfRowStatus.setDescription("This object is used to create a new row or delete an existing row in this table. To create a row, set this object to 'createAndGo'. To delete a row, set this object to 'destroy'. Only these two values 'createAndGo' and 'destroy' will be accepted.") ntwsApConfServiceProfileTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9), ) if mibBuilder.loadTexts: ntwsApConfServiceProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileTable.setDescription('A table describing the Service Profiles currently configured on this AC.') ntwsApConfServiceProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfServProfServiceProfileName")) if mibBuilder.loadTexts: ntwsApConfServiceProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileEntry.setDescription('Configuration for a particular Service Profile.') ntwsApConfServProfServiceProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 1), NtwsServiceProfileName()) if mibBuilder.loadTexts: ntwsApConfServProfServiceProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfServiceProfileName.setDescription('Name of this service profile') ntwsApConfServProfSsidType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 2), NtwsServiceProfileSsidType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSsidType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSsidType.setDescription('The type of this service profile (clear/crypto).') ntwsApConfServProfBeaconEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfBeaconEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfBeaconEnabled.setDescription('Indicates whether beacons are enabled for this service profile.') ntwsApConfServProf11naMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 4), NtwsServiceProfile11nMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11naMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11naMode.setDescription('Indicates the 802.11n (na) mode for this service profile.') ntwsApConfServProf11ngMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 5), NtwsServiceProfile11nMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11ngMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11ngMode.setDescription('Indicates the 802.11n (ng) mode for this service profile.') ntwsApConfServProf11nShortGuardIntervalEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11nShortGuardIntervalEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nShortGuardIntervalEnabled.setDescription('Indicates whether short guard interval is enabled for this service profile.') ntwsApConfServProf11nFrameAggregation = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 7), NtwsServiceProfile11nFrameAggregationType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11nFrameAggregation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nFrameAggregation.setDescription('Indicates the Frame Aggregation mode for this service profile.') ntwsApConfServProf11nMsduMaxLength = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 8), NtwsServiceProfile11nMsduMaxLength()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11nMsduMaxLength.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nMsduMaxLength.setDescription('The maximum MSDU length for this service profile.') ntwsApConfServProf11nMpduMaxLength = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 9), NtwsServiceProfile11nMpduMaxLength()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11nMpduMaxLength.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nMpduMaxLength.setDescription('The maximum MPDU length for this service profile.') ntwsApConfServProfAuthFallthru = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 10), NtwsServiceProfileAuthFallthruType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfAuthFallthru.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfAuthFallthru.setDescription('The authentication type to be attempted for users who do not match a 802.1X or MAC authentication rule, for this service profile.') ntwsApConfServProfWebAAAForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWebAAAForm.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebAAAForm.setDescription('The custom login page that loads for WebAAA users, for this service profile.') ntwsApConfServProfSharedKeyAuthEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSharedKeyAuthEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSharedKeyAuthEnabled.setDescription('Indicates whether shared-key authentication is enabled for this service profile.') ntwsApConfServProfWpaIeEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeEnabled.setDescription('Indicates whether WPA IE beaconing is enabled for this service profile.') ntwsApConfServProfWpaIeCipherTkipEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherTkipEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherTkipEnabled.setDescription('Indicates whether TKIP cipher is advertised in WPA IE, for this service profile.') ntwsApConfServProfWpaIeCipherCcmpEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherCcmpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherCcmpEnabled.setDescription('Indicates whether CCMP cipher is advertised in WPA IE, for this service profile.') ntwsApConfServProfWpaIeCipherWep40Enabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 16), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep40Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep40Enabled.setDescription('Indicates whether WEP-40 cipher is advertised in WPA IE, for this service profile.') ntwsApConfServProfWpaIeCipherWep104Enabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 17), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep104Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep104Enabled.setDescription('Indicates whether WEP-104 cipher is advertised in WPA IE, for this service profile.') ntwsApConfServProfWpaIeAuthDot1xEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 18), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthDot1xEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthDot1xEnabled.setDescription('Indicates whether 802.1X authentication is advertised in WPA IE, for this service profile.') ntwsApConfServProfWpaIeAuthPskEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 19), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthPskEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthPskEnabled.setDescription('Indicates whether Pre-Shared Key authentication is advertised in WPA IE, for this service profile.') ntwsApConfServProfRsnIeEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 20), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeEnabled.setDescription('Indicates whether RSN IE beaconing is enabled for this service profile.') ntwsApConfServProfRsnIeCipherTkipEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 21), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherTkipEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherTkipEnabled.setDescription('Indicates whether TKIP cipher is advertised in RSN IE, for this service profile.') ntwsApConfServProfRsnIeCipherCcmpEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 22), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherCcmpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherCcmpEnabled.setDescription('Indicates whether CCMP cipher is advertised in RSN IE, for this service profile.') ntwsApConfServProfRsnIeCipherWep40Enabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 23), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep40Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep40Enabled.setDescription('Indicates whether WEP-40 cipher is advertised in RSN IE, for this service profile.') ntwsApConfServProfRsnIeCipherWep104Enabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 24), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep104Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep104Enabled.setDescription('Indicates whether WEP-104 cipher is advertised in RSN IE, for this service profile.') ntwsApConfServProfRsnIeAuthDot1xEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 25), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthDot1xEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthDot1xEnabled.setDescription('Indicates whether 802.1X authentication is advertised in RSN IE, for this service profile.') ntwsApConfServProfRsnIeAuthPskEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 26), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthPskEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthPskEnabled.setDescription('Indicates whether Pre-Shared Key authentication is advertised in RSN IE, for this service profile.') ntwsApConfServProfTkipMicCountermeasuresTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 27), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfTkipMicCountermeasuresTime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfTkipMicCountermeasuresTime.setDescription('Indicates the TKIP MIC countermeasures time in milliseconds for this service profile. This is the length of time that AP radios use countermeasures if two Message Integrity Code (MIC) failures occur within 60 seconds.') ntwsApConfServProfMaxBandwidthKbps = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 28), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfMaxBandwidthKbps.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfMaxBandwidthKbps.setDescription('The bandwidth limit for this service profile, in Kbits/second. A value of zero means unlimited.') ntwsApConfServProfCacMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 29), NtwsServiceProfileCacMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfCacMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfCacMode.setDescription('The Call Admission Control (CAC) mode, for this service profile.') ntwsApConfServProfCacSessCount = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 30), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfCacSessCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfCacSessCount.setDescription('The maximum number of active sessions a radio can have when session-based CAC is enabled, for this service profile.') ntwsApConfServProfUserIdleTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 31), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfUserIdleTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfUserIdleTimeout.setDescription('The number of seconds MSS has a session available for a client not sending data and is not responding to keepalives (idle-client probes). If the timer expires, the client session is changed to the Dissociated state, for this service profile.') ntwsApConfServProfIdleClientProbingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 32), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfIdleClientProbingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfIdleClientProbingEnabled.setDescription('Indicates whether the AC radio sends a unicast null-data frame to each client every 10 seconds, for this service profile.') ntwsApConfServProfShortRetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 33), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfShortRetryCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfShortRetryCount.setDescription('The number of times a radio can send a short unicast frame without receiving an acknowledgment, for this service profile.') ntwsApConfServProfLongRetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 34), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfLongRetryCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfLongRetryCount.setDescription('The number of times a radio can send a long unicast frame without receiving an acknowledgment, for this service profile.') ntwsApConfServProfProxyArpEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 35), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfProxyArpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfProxyArpEnabled.setDescription('Indicates whether proxy ARP is enabled for this service profile.') ntwsApConfServProfDhcpRestrictEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 36), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfDhcpRestrictEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfDhcpRestrictEnabled.setDescription('Indicates whether only DHCP traffic is allowed until a newly associated client has been authenticated and authorized, for this service profile.') ntwsApConfServProfNoBroadcastEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 37), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfNoBroadcastEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfNoBroadcastEnabled.setDescription('Indicates whether broadcast ARP and DHCP packets are converted to unicast for this service profile.') ntwsApConfServProfSygateOnDemandEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 38), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSygateOnDemandEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSygateOnDemandEnabled.setDescription('Indicates whether Sygate On-Demand Manager (SODA Manager) is enabled for this service profile.') ntwsApConfServProfEnforceChecksEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 39), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfEnforceChecksEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfEnforceChecksEnabled.setDescription('Indicates whether Enforcement of the SODA security checks is enabled for this service profile.') ntwsApConfServProfSodaRemediationAcl = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 40), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSodaRemediationAcl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaRemediationAcl.setDescription('Remediation page ACL to apply to the client when the failure page is loaded, for this service profile.') ntwsApConfServProfSodaSuccessPage = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 41), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSodaSuccessPage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaSuccessPage.setDescription('Success page that is displayed on the client when a client successfully runs the checks performed by the SODA agent, for this service profile.') ntwsApConfServProfSodaFailurePage = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 42), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSodaFailurePage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaFailurePage.setDescription('Failure page that is displayed on the client when the SODA agent checks fail, for this service profile.') ntwsApConfServProfSodaLogoutPage = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 43), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSodaLogoutPage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaLogoutPage.setDescription('The page to load when a client closes the SODA virtual desktop and logs out of the network, for this service profile.') ntwsApConfServProfSodaAgentDirectory = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 44), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSodaAgentDirectory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaAgentDirectory.setDescription('Specifies a different directory for the SODA agent files used for this service profile.') ntwsApConfServProfWebPortalSessionTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 45), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWebPortalSessionTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalSessionTimeout.setDescription('Time interval, in seconds, for which a Web Portal WebAAA session remains in the Deassociated state before being terminated automatically, for this service profile.') ntwsApConfServProfWebPortalAcl = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 46), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWebPortalAcl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalAcl.setDescription('Name of ACL used for filtering traffic for Web Portal users during authentication, for this service profile.') ntwsApConfServProfWebPortalLogoutEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 47), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutEnabled.setDescription('Indicates whether the Web Portal logout functionality is enabled for this service profile.') ntwsApConfServProfWebPortalLogoutUrl = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 48), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutUrl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutUrl.setDescription('Indicates the Web Portal Logout URL for this service profile.') ntwsApConfServProfKeepInitialVlanEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 49), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfKeepInitialVlanEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfKeepInitialVlanEnabled.setDescription('Indicates whether, after roaming, the user keeps the VLAN assigned from the first connection, for this service profile.') ntwsApConfServProfMeshModeEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 50), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfMeshModeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfMeshModeEnabled.setDescription('Indicates whether wireless mesh between APs is enabled for this service profile.') ntwsApConfServProfBridgingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 51), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfBridgingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfBridgingEnabled.setDescription('Indicates whether wireless bridging of traffic between APs is enabled for this service profile.') ntwsApConfServProfLoadBalanceExemptEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 52), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfLoadBalanceExemptEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfLoadBalanceExemptEnabled.setDescription('Indicates whether this service profile is exempted from load balancing.') ntwsApConfSnoopFilterTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10), ) if mibBuilder.loadTexts: ntwsApConfSnoopFilterTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterTable.setDescription('A table describing the Snoop Filters currently configured on this AC.') ntwsApConfSnoopFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfSnoopFilterName")) if mibBuilder.loadTexts: ntwsApConfSnoopFilterEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterEntry.setDescription('Configuration for a particular Snoop Filter.') ntwsApConfSnoopFilterName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1, 1), NtwsSnoopFilterName()) if mibBuilder.loadTexts: ntwsApConfSnoopFilterName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterName.setDescription('Name of this snoop filter.') ntwsApConfSnoopFilterEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfSnoopFilterEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterEnabled.setDescription('Indicates whether this snoop filter is enabled.') ntwsApConfigConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2)) ntwsApConfigCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 1)) ntwsApConfigGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2)) ntwsApConfigCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 1, 1)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplateConfigTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplateRadioConfigTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfileTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfServiceProfileTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfSnoopFilterTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServiceProfileTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfSnoopFilterTableGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfigCompliance = ntwsApConfigCompliance.setStatus('current') if mibBuilder.loadTexts: ntwsApConfigCompliance.setDescription('The compliance statement for devices that implement AP Config MIB.') ntwsApConfApConfigTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 1)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApAttachType"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigPhysPortNum"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApSerialNum"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApModelName"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigFingerprint"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigBias"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApTimeout"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApName"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigContact"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigLocation"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigBlinkEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigForceImageDownloadEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigFirmwareUpgradeEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigLocalSwitchingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigPowerMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigLedMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigDescription")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfApConfigTableGroup = ntwsApConfApConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigTableGroup.setDescription('Group of columnar objects implemented to provide AP Configuration info in releases 7.1 and greater.') ntwsApConfRadioConfigTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 2)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigRadioType"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigRadioMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigRadioProfileName"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigChannel"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigTxPower"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigAutoTuneMaxTxPower"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigAntennaType"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigAntennaLocation"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigLoadBalancingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigLoadBalancingGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigLoadRebalancingEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfRadioConfigTableGroup = ntwsApConfRadioConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTableGroup.setDescription('Group of columnar objects implemented to provide Radio Configuration info in releases 7.1 and greater.') ntwsApConfApTemplateConfigTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 3)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfApTemplateEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfBias"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfApTimeout"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfBlinkEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfForceImageDownloadEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfFirmwareUpgradeEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfLocalSwitchingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfPowerMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfLedMode")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfApTemplateConfigTableGroup = ntwsApConfApTemplateConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTableGroup.setDescription('Group of columnar objects implemented to provide AP Configuration Template info in releases 7.1 and greater.') ntwsApConfApTemplateRadioConfigTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 4)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfRadioMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfRadioProfileName"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfAutoTuneMaxTxPower"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfLoadBalancingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfLoadBalancingGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfLoadRebalancingEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfApTemplateRadioConfigTableGroup = ntwsApConfApTemplateRadioConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTableGroup.setDescription('Group of columnar objects implemented to provide Radio Configuration Template info in releases 7.1 and greater.') ntwsApConfRadioProfileTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 5)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfBeaconInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfDtimInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfChannelWidth11na"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfMaxTxLifetime"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfMaxRxLifetime"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRtsThreshold"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfFragThreshold"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfLongXmitPreambleEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCountermeasuresMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRFScanMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRFScanChannelScope"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRFScanCTSEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTune11aChannelRange"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTuneChannelEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTuneChannelHolddownInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTuneChannelChangeInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTunePowerEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTunePowerRampInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTunePowerChangeInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfFairQueuingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBackgroundACMandatory"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBackgroundMaxUtilization"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBackgroundPolicingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBestEffortACMandatory"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBestEffortMaxUtilization"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBestEffortPolicingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVideoACMandatory"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVideoMaxUtilization"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVideoPolicingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVoiceACMandatory"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVoiceMaxUtilization"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVoicePolicingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRfidTagEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfWmmPowerSaveEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRateEnforcementEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfDfsChannelsEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfRadioProfileTableGroup = ntwsApConfRadioProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileTableGroup.setDescription('Group of columnar objects implemented to provide Radio Profile configuration info in releases 7.1 and greater.') ntwsApConfRadioProfServiceProfileTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 6)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfRpServpRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfRadioProfServiceProfileTableGroup = ntwsApConfRadioProfServiceProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTableGroup.setDescription('Group of columnar objects implemented to provide Service Profiles associated to each Radio Profile in releases 7.1 and greater.') ntwsApConfRadioProfSnoopFilterTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 7)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfRpSnoopfRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfRadioProfSnoopFilterTableGroup = ntwsApConfRadioProfSnoopFilterTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTableGroup.setDescription('Group of columnar objects implemented to provide Snoop Filters associated to each Radio Profile in releases 7.1 and greater.') ntwsApConfServiceProfileTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 8)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSsidType"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfBeaconEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11naMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11ngMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11nShortGuardIntervalEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11nFrameAggregation"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11nMsduMaxLength"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11nMpduMaxLength"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfAuthFallthru"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWebAAAForm"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSharedKeyAuthEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeCipherTkipEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeCipherCcmpEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeCipherWep40Enabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeCipherWep104Enabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeAuthDot1xEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeAuthPskEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeCipherTkipEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeCipherCcmpEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeCipherWep40Enabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeCipherWep104Enabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeAuthDot1xEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeAuthPskEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfTkipMicCountermeasuresTime"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfMaxBandwidthKbps"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfCacMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfCacSessCount"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfUserIdleTimeout"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfIdleClientProbingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfShortRetryCount"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfLongRetryCount"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfProxyArpEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfDhcpRestrictEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfNoBroadcastEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSygateOnDemandEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfEnforceChecksEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSodaRemediationAcl"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSodaSuccessPage"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSodaFailurePage"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSodaLogoutPage"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSodaAgentDirectory"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWebPortalSessionTimeout"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWebPortalAcl"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWebPortalLogoutEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWebPortalLogoutUrl"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfKeepInitialVlanEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfMeshModeEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfBridgingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfLoadBalanceExemptEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfServiceProfileTableGroup = ntwsApConfServiceProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileTableGroup.setDescription('Group of columnar objects implemented to provide Service Profile configuration info in releases 7.1 and greater.') ntwsApConfSnoopFilterTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 9)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfSnoopFilterEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfSnoopFilterTableGroup = ntwsApConfSnoopFilterTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterTableGroup.setDescription('Group of columnar objects implemented to provide Snoop Filter configuration info in releases 7.1 and greater.') mibBuilder.exportSymbols("NTWS-AP-CONFIG-MIB", ntwsApConfServProfWebPortalLogoutEnabled=ntwsApConfServProfWebPortalLogoutEnabled, ntwsApConfApConfigApSerialNum=ntwsApConfApConfigApSerialNum, ntwsApConfRadioConfigApNum=ntwsApConfRadioConfigApNum, NtwsRadioProfileRFScanChannelScope=NtwsRadioProfileRFScanChannelScope, ntwsApConfRadioProfRFScanMode=ntwsApConfRadioProfRFScanMode, NtwsRadioProfileRFScanMode=NtwsRadioProfileRFScanMode, ntwsApConfApTemplConfLocalSwitchingEnabled=ntwsApConfApTemplConfLocalSwitchingEnabled, ntwsApConfigCompliances=ntwsApConfigCompliances, ntwsApConfApConfigPhysPortNum=ntwsApConfApConfigPhysPortNum, ntwsApConfRadioConfigRadioMode=ntwsApConfRadioConfigRadioMode, ntwsApConfServProfEnforceChecksEnabled=ntwsApConfServProfEnforceChecksEnabled, ntwsApConfApTemplConfApTemplateName=ntwsApConfApTemplConfApTemplateName, ntwsApConfRadioProfSnoopFilterTableGroup=ntwsApConfRadioProfSnoopFilterTableGroup, ntwsApConfApConfigLedMode=ntwsApConfApConfigLedMode, ntwsApConfRadioConfigLoadBalancingGroup=ntwsApConfRadioConfigLoadBalancingGroup, ntwsApConfApTemRadioConfRadioIndex=ntwsApConfApTemRadioConfRadioIndex, ntwsApConfRadioProfLongXmitPreambleEnabled=ntwsApConfRadioProfLongXmitPreambleEnabled, ntwsApConfServProfWebPortalLogoutUrl=ntwsApConfServProfWebPortalLogoutUrl, ntwsApConfApTemRadioConfLoadBalancingEnabled=ntwsApConfApTemRadioConfLoadBalancingEnabled, ntwsApConfServProf11naMode=ntwsApConfServProf11naMode, ntwsApConfRpServpRowStatus=ntwsApConfRpServpRowStatus, ntwsApConfRadioProfAutoTunePowerEnabled=ntwsApConfRadioProfAutoTunePowerEnabled, ntwsApConfRadioConfigRadioIndex=ntwsApConfRadioConfigRadioIndex, ntwsApConfRadioProfRFScanCTSEnabled=ntwsApConfRadioProfRFScanCTSEnabled, ntwsApConfApTemplateConfigTableGroup=ntwsApConfApTemplateConfigTableGroup, NtwsRadioProfileAutoTuneChannelRange=NtwsRadioProfileAutoTuneChannelRange, NtwsApTemplateName=NtwsApTemplateName, ntwsApConfRadioProfAutoTuneChannelEnabled=ntwsApConfRadioProfAutoTuneChannelEnabled, ntwsApConfigMib=ntwsApConfigMib, ntwsApConfApTemplateConfigEntry=ntwsApConfApTemplateConfigEntry, ntwsApConfRadioConfigTable=ntwsApConfRadioConfigTable, ntwsApConfRadioProfCacBestEffortACMandatory=ntwsApConfRadioProfCacBestEffortACMandatory, ntwsApConfigConformance=ntwsApConfigConformance, ntwsApConfSnoopFilterTableGroup=ntwsApConfSnoopFilterTableGroup, ntwsApConfRadioProfCountermeasuresMode=ntwsApConfRadioProfCountermeasuresMode, ntwsApConfRadioProfAutoTune11aChannelRange=ntwsApConfRadioProfAutoTune11aChannelRange, ntwsApConfServProfWpaIeEnabled=ntwsApConfServProfWpaIeEnabled, ntwsApConfRadioProfServiceProfileTableGroup=ntwsApConfRadioProfServiceProfileTableGroup, ntwsApConfRadioConfigAntennaLocation=ntwsApConfRadioConfigAntennaLocation, ntwsApConfRadioProfCacVoiceMaxUtilization=ntwsApConfRadioProfCacVoiceMaxUtilization, ntwsApConfApTemplConfBlinkEnabled=ntwsApConfApTemplConfBlinkEnabled, ntwsApConfApTemplConfForceImageDownloadEnabled=ntwsApConfApTemplConfForceImageDownloadEnabled, NtwsServiceProfile11nMode=NtwsServiceProfile11nMode, ntwsApConfServProfSodaLogoutPage=ntwsApConfServProfSodaLogoutPage, ntwsApConfRadioProfCacVideoMaxUtilization=ntwsApConfRadioProfCacVideoMaxUtilization, ntwsApConfServProfRsnIeCipherTkipEnabled=ntwsApConfServProfRsnIeCipherTkipEnabled, ntwsApConfServProfMaxBandwidthKbps=ntwsApConfServProfMaxBandwidthKbps, NtwsServiceProfile11nFrameAggregationType=NtwsServiceProfile11nFrameAggregationType, ntwsApConfRadioProfAutoTunePowerRampInterval=ntwsApConfRadioProfAutoTunePowerRampInterval, ntwsApConfServProfWpaIeCipherWep40Enabled=ntwsApConfServProfWpaIeCipherWep40Enabled, ntwsApConfRadioConfigTableGroup=ntwsApConfRadioConfigTableGroup, ntwsApConfRadioProfRFScanChannelScope=ntwsApConfRadioProfRFScanChannelScope, NtwsRadioProfileName=NtwsRadioProfileName, ntwsApConfServProf11nFrameAggregation=ntwsApConfServProf11nFrameAggregation, ntwsApConfServProfBridgingEnabled=ntwsApConfServProfBridgingEnabled, ntwsApConfRadioProfCacBestEffortPolicingEnabled=ntwsApConfRadioProfCacBestEffortPolicingEnabled, ntwsApConfRadioProfAutoTunePowerChangeInterval=ntwsApConfRadioProfAutoTunePowerChangeInterval, ntwsApConfRadioProfBeaconInterval=ntwsApConfRadioProfBeaconInterval, ntwsApConfRadioProfServiceProfileEntry=ntwsApConfRadioProfServiceProfileEntry, ntwsApConfServProfRsnIeCipherCcmpEnabled=ntwsApConfServProfRsnIeCipherCcmpEnabled, ntwsApConfServProfWebAAAForm=ntwsApConfServProfWebAAAForm, ntwsApConfApConfigTable=ntwsApConfApConfigTable, ntwsApConfApConfigApModelName=ntwsApConfApConfigApModelName, ntwsApConfRadioConfigEntry=ntwsApConfRadioConfigEntry, ntwsApConfServProfKeepInitialVlanEnabled=ntwsApConfServProfKeepInitialVlanEnabled, ntwsApConfServProfWpaIeCipherTkipEnabled=ntwsApConfServProfWpaIeCipherTkipEnabled, ntwsApConfApTemplConfApTimeout=ntwsApConfApTemplConfApTimeout, ntwsApConfServProfProxyArpEnabled=ntwsApConfServProfProxyArpEnabled, ntwsApConfServProfUserIdleTimeout=ntwsApConfServProfUserIdleTimeout, ntwsApConfApTemplateRadioConfigTableGroup=ntwsApConfApTemplateRadioConfigTableGroup, ntwsApConfServProf11ngMode=ntwsApConfServProf11ngMode, ntwsApConfServProfSygateOnDemandEnabled=ntwsApConfServProfSygateOnDemandEnabled, ntwsApConfigCompliance=ntwsApConfigCompliance, ntwsApConfRadioProfCacBestEffortMaxUtilization=ntwsApConfRadioProfCacBestEffortMaxUtilization, ntwsApConfRadioProfCacBackgroundPolicingEnabled=ntwsApConfRadioProfCacBackgroundPolicingEnabled, ntwsApConfServProf11nMsduMaxLength=ntwsApConfServProf11nMsduMaxLength, ntwsApConfServProfWebPortalSessionTimeout=ntwsApConfServProfWebPortalSessionTimeout, ntwsApConfServProfWpaIeCipherCcmpEnabled=ntwsApConfServProfWpaIeCipherCcmpEnabled, ntwsApConfApConfigApName=ntwsApConfApConfigApName, ntwsApConfServProfRsnIeCipherWep40Enabled=ntwsApConfServProfRsnIeCipherWep40Enabled, ntwsApConfServProfIdleClientProbingEnabled=ntwsApConfServProfIdleClientProbingEnabled, ntwsApConfApTemplateRadioConfigEntry=ntwsApConfApTemplateRadioConfigEntry, ntwsApConfSnoopFilterEntry=ntwsApConfSnoopFilterEntry, ntwsApConfServProfRsnIeEnabled=ntwsApConfServProfRsnIeEnabled, NtwsServiceProfile11nMpduMaxLength=NtwsServiceProfile11nMpduMaxLength, ntwsApConfRadioProfFairQueuingEnabled=ntwsApConfRadioProfFairQueuingEnabled, ntwsApConfServProfLoadBalanceExemptEnabled=ntwsApConfServProfLoadBalanceExemptEnabled, ntwsApConfServProf11nShortGuardIntervalEnabled=ntwsApConfServProf11nShortGuardIntervalEnabled, ntwsApConfApConfigLocation=ntwsApConfApConfigLocation, ntwsApConfRadioProfChannelWidth11na=ntwsApConfRadioProfChannelWidth11na, ntwsApConfRadioProfCacBackgroundACMandatory=ntwsApConfRadioProfCacBackgroundACMandatory, ntwsApConfRpSnoopfRadioProfileName=ntwsApConfRpSnoopfRadioProfileName, ntwsApConfApConfigForceImageDownloadEnabled=ntwsApConfApConfigForceImageDownloadEnabled, ntwsApConfRadioProfRfidTagEnabled=ntwsApConfRadioProfRfidTagEnabled, ntwsApConfRpServpServiceProfileName=ntwsApConfRpServpServiceProfileName, ntwsApConfServProfSharedKeyAuthEnabled=ntwsApConfServProfSharedKeyAuthEnabled, ntwsApConfRadioProfCacVoiceACMandatory=ntwsApConfRadioProfCacVoiceACMandatory, ntwsApConfApConfigLocalSwitchingEnabled=ntwsApConfApConfigLocalSwitchingEnabled, ntwsApConfApConfigBias=ntwsApConfApConfigBias, ntwsApConfServProfWpaIeAuthPskEnabled=ntwsApConfServProfWpaIeAuthPskEnabled, ntwsApConfRpSnoopfSnoopFilterName=ntwsApConfRpSnoopfSnoopFilterName, ntwsApConfApConfigFirmwareUpgradeEnabled=ntwsApConfApConfigFirmwareUpgradeEnabled, ntwsApConfRadioConfigRadioProfileName=ntwsApConfRadioConfigRadioProfileName, ntwsApConfServProfSodaSuccessPage=ntwsApConfServProfSodaSuccessPage, ntwsApConfServProf11nMpduMaxLength=ntwsApConfServProf11nMpduMaxLength, ntwsApConfServProfCacMode=ntwsApConfServProfCacMode, ntwsApConfApTemplConfLedMode=ntwsApConfApTemplConfLedMode, ntwsApConfRadioProfCacVideoPolicingEnabled=ntwsApConfRadioProfCacVideoPolicingEnabled, ntwsApConfRpServpRadioProfileName=ntwsApConfRpServpRadioProfileName, NtwsServiceProfileName=NtwsServiceProfileName, ntwsApConfRadioProfMaxTxLifetime=ntwsApConfRadioProfMaxTxLifetime, ntwsApConfServiceProfileTable=ntwsApConfServiceProfileTable, ntwsApConfServProfAuthFallthru=ntwsApConfServProfAuthFallthru, ntwsApConfServProfServiceProfileName=ntwsApConfServProfServiceProfileName, ntwsApConfServiceProfileEntry=ntwsApConfServiceProfileEntry, ntwsApConfApTemplConfBias=ntwsApConfApTemplConfBias, ntwsApConfServProfSsidType=ntwsApConfServProfSsidType, ntwsApConfServProfTkipMicCountermeasuresTime=ntwsApConfServProfTkipMicCountermeasuresTime, NtwsServiceProfile11nMsduMaxLength=NtwsServiceProfile11nMsduMaxLength, ntwsApConfApConfigTableGroup=ntwsApConfApConfigTableGroup, ntwsApConfRadioProfDtimInterval=ntwsApConfRadioProfDtimInterval, ntwsApConfApConfigBlinkEnabled=ntwsApConfApConfigBlinkEnabled, ntwsApConfRadioProfileTable=ntwsApConfRadioProfileTable, ntwsApConfServProfRsnIeCipherWep104Enabled=ntwsApConfServProfRsnIeCipherWep104Enabled, ntwsApConfApConfigDescription=ntwsApConfApConfigDescription, ntwsApConfApTemRadioConfLoadBalancingGroup=ntwsApConfApTemRadioConfLoadBalancingGroup, ntwsApConfRadioProfFragThreshold=ntwsApConfRadioProfFragThreshold, ntwsApConfRadioProfServiceProfileTable=ntwsApConfRadioProfServiceProfileTable, ntwsApConfRadioProfDfsChannelsEnabled=ntwsApConfRadioProfDfsChannelsEnabled, NtwsServiceProfileCacMode=NtwsServiceProfileCacMode, ntwsApConfRpSnoopfRowStatus=ntwsApConfRpSnoopfRowStatus, ntwsApConfServProfSodaFailurePage=ntwsApConfServProfSodaFailurePage, ntwsApConfSnoopFilterTable=ntwsApConfSnoopFilterTable, ntwsApConfRadioConfigChannel=ntwsApConfRadioConfigChannel, ntwsApConfApTemRadioConfRadioMode=ntwsApConfApTemRadioConfRadioMode, ntwsApConfigGroups=ntwsApConfigGroups, ntwsApConfApConfigApTimeout=ntwsApConfApConfigApTimeout, ntwsApConfApConfigContact=ntwsApConfApConfigContact, ntwsApConfRadioProfRadioProfileName=ntwsApConfRadioProfRadioProfileName, ntwsApConfServProfRsnIeAuthDot1xEnabled=ntwsApConfServProfRsnIeAuthDot1xEnabled, ntwsApConfApTemRadioConfAutoTuneMaxTxPower=ntwsApConfApTemRadioConfAutoTuneMaxTxPower, ntwsApConfServProfDhcpRestrictEnabled=ntwsApConfServProfDhcpRestrictEnabled, ntwsApConfigMibObjects=ntwsApConfigMibObjects, PYSNMP_MODULE_ID=ntwsApConfigMib, ntwsApConfApTemRadioConfLoadRebalancingEnabled=ntwsApConfApTemRadioConfLoadRebalancingEnabled, ntwsApConfRadioProfMaxRxLifetime=ntwsApConfRadioProfMaxRxLifetime, ntwsApConfSnoopFilterEnabled=ntwsApConfSnoopFilterEnabled, ntwsApConfServiceProfileTableGroup=ntwsApConfServiceProfileTableGroup, ntwsApConfRadioProfCacVideoACMandatory=ntwsApConfRadioProfCacVideoACMandatory, NtwsServiceProfileSsidType=NtwsServiceProfileSsidType, ntwsApConfServProfMeshModeEnabled=ntwsApConfServProfMeshModeEnabled, ntwsApConfApTemplConfFirmwareUpgradeEnabled=ntwsApConfApTemplConfFirmwareUpgradeEnabled, ntwsApConfRadioProfAutoTuneChannelHolddownInterval=ntwsApConfRadioProfAutoTuneChannelHolddownInterval, ntwsApConfRadioProfCacVoicePolicingEnabled=ntwsApConfRadioProfCacVoicePolicingEnabled, ntwsApConfRadioProfileEntry=ntwsApConfRadioProfileEntry, ntwsApConfRadioConfigAntennaType=ntwsApConfRadioConfigAntennaType, ntwsApConfApConfigFingerprint=ntwsApConfApConfigFingerprint, ntwsApConfServProfWpaIeCipherWep104Enabled=ntwsApConfServProfWpaIeCipherWep104Enabled, ntwsApConfServProfCacSessCount=ntwsApConfServProfCacSessCount, ntwsApConfApConfigEntry=ntwsApConfApConfigEntry, ntwsApConfRadioConfigLoadRebalancingEnabled=ntwsApConfRadioConfigLoadRebalancingEnabled, ntwsApConfApTemplConfPowerMode=ntwsApConfApTemplConfPowerMode, NtwsRadioProfileCountermeasuresMode=NtwsRadioProfileCountermeasuresMode, ntwsApConfRadioConfigTxPower=ntwsApConfRadioConfigTxPower, ntwsApConfServProfSodaRemediationAcl=ntwsApConfServProfSodaRemediationAcl, ntwsApConfServProfWpaIeAuthDot1xEnabled=ntwsApConfServProfWpaIeAuthDot1xEnabled, ntwsApConfApConfigApAttachType=ntwsApConfApConfigApAttachType, ntwsApConfApTemplateRadioConfigTable=ntwsApConfApTemplateRadioConfigTable, NtwsSnoopFilterName=NtwsSnoopFilterName, ntwsApConfServProfLongRetryCount=ntwsApConfServProfLongRetryCount, ntwsApConfServProfWebPortalAcl=ntwsApConfServProfWebPortalAcl, ntwsApConfRadioProfSnoopFilterEntry=ntwsApConfRadioProfSnoopFilterEntry, ntwsApConfRadioProfRateEnforcementEnabled=ntwsApConfRadioProfRateEnforcementEnabled, NtwsServiceProfileAuthFallthruType=NtwsServiceProfileAuthFallthruType, ntwsApConfRadioProfCacBackgroundMaxUtilization=ntwsApConfRadioProfCacBackgroundMaxUtilization, ntwsApConfRadioProfAutoTuneChannelChangeInterval=ntwsApConfRadioProfAutoTuneChannelChangeInterval, ntwsApConfRadioConfigLoadBalancingEnabled=ntwsApConfRadioConfigLoadBalancingEnabled, ntwsApConfRadioConfigAutoTuneMaxTxPower=ntwsApConfRadioConfigAutoTuneMaxTxPower, ntwsApConfSnoopFilterName=ntwsApConfSnoopFilterName, ntwsApConfApTemplConfApTemplateEnabled=ntwsApConfApTemplConfApTemplateEnabled, ntwsApConfApTemplateConfigTable=ntwsApConfApTemplateConfigTable, ntwsApConfApTemRadioConfRadioProfileName=ntwsApConfApTemRadioConfRadioProfileName, ntwsApConfRadioConfigRadioType=ntwsApConfRadioConfigRadioType, ntwsApConfRadioProfWmmPowerSaveEnabled=ntwsApConfRadioProfWmmPowerSaveEnabled, ntwsApConfServProfShortRetryCount=ntwsApConfServProfShortRetryCount, ntwsApConfServProfRsnIeAuthPskEnabled=ntwsApConfServProfRsnIeAuthPskEnabled, ntwsApConfServProfSodaAgentDirectory=ntwsApConfServProfSodaAgentDirectory, ntwsApConfRadioProfSnoopFilterTable=ntwsApConfRadioProfSnoopFilterTable, ntwsApConfRadioProfileTableGroup=ntwsApConfRadioProfileTableGroup, ntwsApConfRadioProfRtsThreshold=ntwsApConfRadioProfRtsThreshold, ntwsApConfApConfigApNum=ntwsApConfApConfigApNum, ntwsApConfApTemRadioConfApTemplateName=ntwsApConfApTemRadioConfApTemplateName, ntwsApConfServProfBeaconEnabled=ntwsApConfServProfBeaconEnabled, ntwsApConfApConfigPowerMode=ntwsApConfApConfigPowerMode, ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled=ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled, ntwsApConfServProfNoBroadcastEnabled=ntwsApConfServProfNoBroadcastEnabled)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, single_value_constraint, constraints_union, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint') (ntws_channel_num, ntws_ap_fingerprint, ntws_ap_serial_num, ntws_ap_radio_index, ntws_ap_power_mode, ntws_ap_led_mode, ntws_power_level, ntws_radio_mode, ntws_radio_antenna_location, ntws_radio_type, ntws_radio_channel_width, ntws_ap_bias, ntws_ap_num, ntws_ap_attach_type) = mibBuilder.importSymbols('NTWS-AP-TC', 'NtwsChannelNum', 'NtwsApFingerprint', 'NtwsApSerialNum', 'NtwsApRadioIndex', 'NtwsApPowerMode', 'NtwsApLedMode', 'NtwsPowerLevel', 'NtwsRadioMode', 'NtwsRadioAntennaLocation', 'NtwsRadioType', 'NtwsRadioChannelWidth', 'NtwsApBias', 'NtwsApNum', 'NtwsApAttachType') (ntws_phys_port_number_or_zero,) = mibBuilder.importSymbols('NTWS-BASIC-TC', 'NtwsPhysPortNumberOrZero') (ntws_mibs,) = mibBuilder.importSymbols('NTWS-ROOT-MIB', 'ntwsMibs') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, counter64, object_identity, gauge32, unsigned32, notification_type, counter32, integer32, mib_identifier, time_ticks, bits, module_identity, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'Counter64', 'ObjectIdentity', 'Gauge32', 'Unsigned32', 'NotificationType', 'Counter32', 'Integer32', 'MibIdentifier', 'TimeTicks', 'Bits', 'ModuleIdentity', 'iso') (row_status, truth_value, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TruthValue', 'DisplayString', 'TextualConvention') ntws_ap_config_mib = module_identity((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14)) ntwsApConfigMib.setRevisions(('2009-11-19 01:08',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ntwsApConfigMib.setRevisionsDescriptions(('v1.0.8: Initial version',)) if mibBuilder.loadTexts: ntwsApConfigMib.setLastUpdated('200911190108Z') if mibBuilder.loadTexts: ntwsApConfigMib.setOrganization('Nortel Networks') if mibBuilder.loadTexts: ntwsApConfigMib.setContactInfo('www.nortelnetworks.com') if mibBuilder.loadTexts: ntwsApConfigMib.setDescription("AP Configuration objects for Nortel Networks wireless switches. AP = Access Point; AC = Access Controller (wireless switch), the device that runs a SNMP Agent implementing this MIB. Copyright 2009 Nortel Networks. All rights reserved. This Nortel Networks SNMP Management Information Base Specification (Specification) embodies Nortel Networks' confidential and proprietary intellectual property. This Specification is supplied 'AS IS' and Nortel Networks makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.") class Ntwsaptemplatename(TextualConvention, OctetString): description = 'AP Template Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' display_hint = '255a' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 32) class Ntwsradioprofilename(TextualConvention, OctetString): description = 'Radio Profile Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' display_hint = '255a' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 16) class Ntwsserviceprofilename(TextualConvention, OctetString): description = 'Service Profile Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' display_hint = '255a' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 32) class Ntwssnoopfiltername(TextualConvention, OctetString): description = 'Snoop Filter Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' display_hint = '255a' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 15) class Ntwsserviceprofilessidtype(TextualConvention, Integer32): description = 'Enumeration of Service Types provided on a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('clear', 1), ('crypto', 2)) class Ntwsserviceprofile11Nmode(TextualConvention, Integer32): description = 'Enumeration of 802.11n modes for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('enable', 1), ('disable', 2), ('required', 3)) class Ntwsserviceprofile11Nframeaggregationtype(TextualConvention, Integer32): description = 'Enumeration of 802.11n frame aggregation types for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('msdu', 1), ('mpdu', 2), ('all', 3), ('disable', 4)) class Ntwsserviceprofile11Nmsdumaxlength(TextualConvention, Integer32): description = 'Enumeration of 802.11n A-MSDU maximum lengths for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('msdu-4k', 1), ('msdu-8k', 2)) class Ntwsserviceprofile11Nmpdumaxlength(TextualConvention, Integer32): description = 'Enumeration of 802.11n A-MPDU maximum lengths for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('mpdu-8k', 1), ('mpdu-16k', 2), ('mpdu-32k', 3), ('mpdu-64k', 4)) class Ntwsserviceprofileauthfallthrutype(TextualConvention, Integer32): description = 'Enumeration of Authentication Fallthrough types for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('none', 1), ('web-auth', 2), ('web-aaa-portal', 3), ('last-resort', 4)) class Ntwsserviceprofilecacmode(TextualConvention, Integer32): description = 'Enumeration of Call Admission Control types for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('none', 1), ('session', 2), ('vendor', 3)) class Ntwsradioprofilecountermeasuresmode(TextualConvention, Integer32): description = 'Enumeration of the Countermeasure modes for a radio profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('none', 1), ('all', 2), ('rogue', 3), ('configured', 4)) class Ntwsradioprofilerfscanchannelscope(TextualConvention, Integer32): description = 'Enumeration of RF scanning channel scopes for a radio profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('operating', 1), ('regulatory', 2), ('all', 3)) class Ntwsradioprofileautotunechannelrange(TextualConvention, Integer32): description = 'Enumeration of Auto-Tune channel ranges for a radio profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('all-bands', 1), ('lower-bands', 2)) class Ntwsradioprofilerfscanmode(TextualConvention, Integer32): description = 'Enumeration of RF scanning modes for a radio profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('active', 1), ('passive', 2)) ntws_ap_config_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1)) ntws_ap_conf_ap_config_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2)) if mibBuilder.loadTexts: ntwsApConfApConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigTable.setDescription('A table describing all the APs currently configured on this AC.') ntws_ap_conf_ap_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApNum')) if mibBuilder.loadTexts: ntwsApConfApConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigEntry.setDescription('Configuration for a particular AP that could be attached to the AC.') ntws_ap_conf_ap_config_ap_num = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 1), ntws_ap_num()) if mibBuilder.loadTexts: ntwsApConfApConfigApNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApNum.setDescription('The Number of this AP (administratively assigned).') ntws_ap_conf_ap_config_ap_attach_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 2), ntws_ap_attach_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigApAttachType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApAttachType.setDescription('How this AP is attached to the AC (directly or via L2/L3 network).') ntws_ap_conf_ap_config_phys_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 3), ntws_phys_port_number_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigPhysPortNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigPhysPortNum.setDescription('Identifies the physical port used to attach this AP. Only valid for directly attached APs, otherwise will be zero.') ntws_ap_conf_ap_config_ap_serial_num = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 4), ntws_ap_serial_num()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigApSerialNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApSerialNum.setDescription('The Serial Number used to identify this AP. Only valid for network attached APs, otherwise will be a zero length string.') ntws_ap_conf_ap_config_ap_model_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigApModelName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApModelName.setDescription('The Model name of this AP.') ntws_ap_conf_ap_config_fingerprint = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 6), ntws_ap_fingerprint()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigFingerprint.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigFingerprint.setDescription('The RSA key fingerprint configured on this AP (binary value: it is the MD5 hash of the public key of the RSA key pair). For directly attached APs the fingerprint is a zero length string.') ntws_ap_conf_ap_config_bias = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 7), ntws_ap_bias()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigBias.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigBias.setDescription('Bias (high/low/sticky).') ntws_ap_conf_ap_config_ap_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 8), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigApTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApTimeout.setDescription('The communication timeout for this AP, in seconds.') ntws_ap_conf_ap_config_ap_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigApName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApName.setDescription('The configured Name for this AP.') ntws_ap_conf_ap_config_contact = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigContact.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigContact.setDescription('The Contact information for this AP.') ntws_ap_conf_ap_config_location = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigLocation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLocation.setDescription('The Location information for this AP.') ntws_ap_conf_ap_config_blink_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 12), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigBlinkEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigBlinkEnabled.setDescription('Indicates whether the LED blink mode is enabled on this AP.') ntws_ap_conf_ap_config_force_image_download_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigForceImageDownloadEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigForceImageDownloadEnabled.setDescription('Indicates whether this AP is forced to always download an image from the AC upon boot.') ntws_ap_conf_ap_config_firmware_upgrade_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 14), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigFirmwareUpgradeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigFirmwareUpgradeEnabled.setDescription('Indicates whether automatic boot firmware upgrade is enabled on this AP.') ntws_ap_conf_ap_config_local_switching_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 15), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigLocalSwitchingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLocalSwitchingEnabled.setDescription('Indicates whether local switching is enabled on this AP.') ntws_ap_conf_ap_config_power_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 16), ntws_ap_power_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigPowerMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigPowerMode.setDescription('The mode in which this AP is supplying power to its radios.') ntws_ap_conf_ap_config_led_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 17), ntws_ap_led_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigLedMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLedMode.setDescription('LED Mode (auto/static/off).') ntws_ap_conf_ap_config_description = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 18), display_string().subtype(subtypeSpec=value_size_constraint(0, 256))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigDescription.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigDescription.setDescription('The configured Description for this AP.') ntws_ap_conf_radio_config_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3)) if mibBuilder.loadTexts: ntwsApConfRadioConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTable.setDescription('A table describing the radios on all the APs currently configured on this AC.') ntws_ap_conf_radio_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigApNum'), (0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigRadioIndex')) if mibBuilder.loadTexts: ntwsApConfRadioConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigEntry.setDescription('Configuration for a particular Radio on a particular AP that could be attached to the AC.') ntws_ap_conf_radio_config_ap_num = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 1), ntws_ap_num()) if mibBuilder.loadTexts: ntwsApConfRadioConfigApNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigApNum.setDescription('The Number of the AP (administratively assigned).') ntws_ap_conf_radio_config_radio_index = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 2), ntws_ap_radio_index()) if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioIndex.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioIndex.setDescription('The number of this Radio on the AP.') ntws_ap_conf_radio_config_radio_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 3), ntws_radio_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioType.setDescription('The configured Type of this radio (typeA, typeB, typeG, typeNA, typeNG)') ntws_ap_conf_radio_config_radio_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 4), ntws_radio_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioMode.setDescription('The configured Mode of this radio (enabled/disabled/sentry)') ntws_ap_conf_radio_config_radio_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 5), ntws_radio_profile_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioProfileName.setDescription('Identifies the Radio Profile to be applied to this radio') ntws_ap_conf_radio_config_channel = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 6), ntws_channel_num()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigChannel.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigChannel.setDescription('The configured Channel Number of this radio.') ntws_ap_conf_radio_config_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 7), ntws_power_level()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTxPower.setDescription('The configured Tx Power level of this radio.') ntws_ap_conf_radio_config_auto_tune_max_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 8), ntws_power_level()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigAutoTuneMaxTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAutoTuneMaxTxPower.setDescription('The Maximum Tx Power that Auto Tune is allowed to set for this radio.') ntws_ap_conf_radio_config_antenna_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaType.setDescription('The configured Antenna Type for this radio.') ntws_ap_conf_radio_config_antenna_location = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 10), ntws_radio_antenna_location()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaLocation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaLocation.setDescription('The configured Antenna Location for this radio.') ntws_ap_conf_radio_config_load_balancing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 11), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingEnabled.setDescription('Indicates whether RF Load Balancing is enabled on this radio.') ntws_ap_conf_radio_config_load_balancing_group = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingGroup.setDescription('Indicates the RF Load Balancing group that this radio is assigned to.') ntws_ap_conf_radio_config_load_rebalancing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadRebalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadRebalancingEnabled.setDescription('Indicates whether RF Load Rebalancing is enabled for this radio.') ntws_ap_conf_ap_template_config_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4)) if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTable.setDescription('A table describing all the AP Templates currently configured on this AC.') ntws_ap_conf_ap_template_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfApTemplateName')) if mibBuilder.loadTexts: ntwsApConfApTemplateConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigEntry.setDescription('Template configuration for APs that could be attached to the AC.') ntws_ap_conf_ap_templ_conf_ap_template_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 1), ntws_ap_template_name()) if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateName.setDescription('AP Template Name.') ntws_ap_conf_ap_templ_conf_ap_template_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateEnabled.setDescription('Indicates whether this AP Template is Enabled (can be used for bringing up APs).') ntws_ap_conf_ap_templ_conf_bias = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 3), ntws_ap_bias()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfBias.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfBias.setDescription('Bias (high/low/sticky).') ntws_ap_conf_ap_templ_conf_ap_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTimeout.setDescription('The communication timeout for this AP Template, in seconds.') ntws_ap_conf_ap_templ_conf_blink_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 5), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfBlinkEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfBlinkEnabled.setDescription('Indicates whether the LED blink mode is enabled on this AP Template.') ntws_ap_conf_ap_templ_conf_force_image_download_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfForceImageDownloadEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfForceImageDownloadEnabled.setDescription('Indicates whether this AP is forced to always download an image from the AC upon boot.') ntws_ap_conf_ap_templ_conf_firmware_upgrade_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 7), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfFirmwareUpgradeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfFirmwareUpgradeEnabled.setDescription('Indicates whether automatic boot firmware upgrade is enabled on this AP Template.') ntws_ap_conf_ap_templ_conf_local_switching_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 8), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfLocalSwitchingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfLocalSwitchingEnabled.setDescription('Indicates whether local switching is enabled on this AP Template.') ntws_ap_conf_ap_templ_conf_power_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 9), ntws_ap_power_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfPowerMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfPowerMode.setDescription('The mode in which an AP using this Template will be supplying power to its radios.') ntws_ap_conf_ap_templ_conf_led_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 10), ntws_ap_led_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfLedMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfLedMode.setDescription('The LED Mode (auto/static/off) for an AP using this Template.') ntws_ap_conf_ap_template_radio_config_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5)) if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTable.setDescription('A table describing the radios for all the AP Templates currently configured on this AC.') ntws_ap_conf_ap_template_radio_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfApTemplateName'), (0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfRadioIndex')) if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigEntry.setDescription('Template configuration for a particular Radio index on an AP Template configured on this AC.') ntws_ap_conf_ap_tem_radio_conf_ap_template_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 1), ntws_ap_template_name()) if mibBuilder.loadTexts: ntwsApConfApTemRadioConfApTemplateName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfApTemplateName.setDescription('AP Template Name.') ntws_ap_conf_ap_tem_radio_conf_radio_index = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 2), ntws_ap_radio_index()) if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioIndex.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioIndex.setDescription('The number of this Radio on the AP Template.') ntws_ap_conf_ap_tem_radio_conf_radio_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 3), ntws_radio_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioMode.setDescription('The configured mode of a radio using this Template (enabled/disabled/sentry)') ntws_ap_conf_ap_tem_radio_conf_radio_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 4), ntws_radio_profile_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioProfileName.setDescription('Identifies the Radio Profile to be applied to a radio using this Template') ntws_ap_conf_ap_tem_radio_conf_auto_tune_max_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 5), ntws_power_level()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfAutoTuneMaxTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfAutoTuneMaxTxPower.setDescription('The Maximum Tx Power that Auto Tune will be allowed to set for a radio using this Template.') ntws_ap_conf_ap_tem_radio_conf_load_balancing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingEnabled.setDescription('Indicates whether RF Load Balancing will be enabled on a radio using this Template.') ntws_ap_conf_ap_tem_radio_conf_load_balancing_group = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingGroup.setDescription('Indicates the RF Load Balancing group that a radio using this Template will be assigned to.') ntws_ap_conf_ap_tem_radio_conf_load_rebalancing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 8), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadRebalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadRebalancingEnabled.setDescription('Indicates whether RF Load Rebalancing will be enabled for a radio using this Template.') ntws_ap_conf_radio_profile_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6)) if mibBuilder.loadTexts: ntwsApConfRadioProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileTable.setDescription('A table describing the Radio Profiles currently configured on this AC.') ntws_ap_conf_radio_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRadioProfileName')) if mibBuilder.loadTexts: ntwsApConfRadioProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileEntry.setDescription('Configuration for a particular Radio Profile.') ntws_ap_conf_radio_prof_radio_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 1), ntws_radio_profile_name()) if mibBuilder.loadTexts: ntwsApConfRadioProfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRadioProfileName.setDescription('Name of this radio profile.') ntws_ap_conf_radio_prof_beacon_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfBeaconInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfBeaconInterval.setDescription('Beacon Interval, time in thousandths of a second, for this radio profile.') ntws_ap_conf_radio_prof_dtim_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfDtimInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfDtimInterval.setDescription('The number of times after every beacon that each AP radio in a radio profile sends a delivery traffic indication map (DTIM), for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_channel_width11na = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 4), ntws_radio_channel_width()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfChannelWidth11na.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfChannelWidth11na.setDescription('802.11n Channel Width for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_max_tx_lifetime = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxTxLifetime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxTxLifetime.setDescription('The maximum transmit threshold for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_max_rx_lifetime = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 6), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxRxLifetime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxRxLifetime.setDescription('The maximum receive threshold for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_rts_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 7), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRtsThreshold.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRtsThreshold.setDescription('The RTS threshold for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_frag_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 8), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfFragThreshold.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfFragThreshold.setDescription('The fragmentation threshold for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_long_xmit_preamble_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 9), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfLongXmitPreambleEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfLongXmitPreambleEnabled.setDescription('Indicates whether an 802.11b/g AP radio using this radio profile transmits Long Preamble.') ntws_ap_conf_radio_prof_countermeasures_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 10), ntws_radio_profile_countermeasures_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCountermeasuresMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCountermeasuresMode.setDescription('Countermeasures Mode for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_rf_scan_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 11), ntws_radio_profile_rf_scan_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanMode.setDescription('RF Scanning Mode for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_rf_scan_channel_scope = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 12), ntws_radio_profile_rf_scan_channel_scope()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanChannelScope.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanChannelScope.setDescription('RF scanning Channel Scope for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_rf_scan_cts_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanCTSEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanCTSEnabled.setDescription('Indicates whether the AP radios using this radio profile send CTS To Self packet before going off channel.') ntws_ap_conf_radio_prof_auto_tune11a_channel_range = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 14), ntws_radio_profile_auto_tune_channel_range()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTune11aChannelRange.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTune11aChannelRange.setDescription('The allowable 802.11a Channel Range used by Auto-Tune for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_ignore_clients_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 15), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled.setDescription('Indicates whether the AP radios using this radio profile Ignore Client connections in Auto-Tune channel selections.') ntws_ap_conf_radio_prof_auto_tune_channel_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 16), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelEnabled.setDescription('Indicates whether Channel Auto-Tuning is enabled for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_channel_holddown_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 17), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelHolddownInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelHolddownInterval.setDescription('Minimum Interval (in seconds) between Channel changes due to Auto-Tuning, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_channel_change_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 18), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelChangeInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelChangeInterval.setDescription('The interval (in seconds) at which RF Auto-Tuning decides whether to Change the Channel for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_power_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 19), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerEnabled.setDescription('Indicates whether Power Auto-Tuning is enabled for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_power_ramp_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 20), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerRampInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerRampInterval.setDescription('Minimum Interval (in seconds) between Power changes due to Auto-Tuning, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_power_change_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 21), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerChangeInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerChangeInterval.setDescription('The interval (in seconds) at which RF Auto-Tuning decides whether to Change the Power for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_fair_queuing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 22), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfFairQueuingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfFairQueuingEnabled.setDescription('Indicates whether weighted Fair Queuing is enabled for this radio profile.') ntws_ap_conf_radio_prof_cac_background_ac_mandatory = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 23), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundACMandatory.setDescription('Indicates whether Admission Control for Background traffic is Mandatory for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_background_max_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 24), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundMaxUtilization.setDescription('Maximum admission control limit for Background traffic, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_background_policing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 25), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundPolicingEnabled.setDescription('Indicates that admission control Policing for Background traffic is enabled, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_best_effort_ac_mandatory = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 26), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortACMandatory.setDescription('Indicates that Admission Control for Best Effort traffic is Mandatory for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_best_effort_max_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 27), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortMaxUtilization.setDescription('Maximum admission control limit for Best Effort traffic, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_best_effort_policing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 28), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortPolicingEnabled.setDescription('Indicates that admission control Policing for Best Effort traffic is enabled, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_video_ac_mandatory = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 29), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoACMandatory.setDescription('Indicates that Admission Control for Video traffic is Mandatory for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_video_max_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 30), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoMaxUtilization.setDescription('Maximum admission control limit for Video traffic, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_video_policing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 31), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoPolicingEnabled.setDescription('Indicates that admission control Policing for Video traffic is enabled, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_voice_ac_mandatory = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 32), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceACMandatory.setDescription('Indicates that Admission Control for Voice traffic is Mandatory for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_voice_max_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 33), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceMaxUtilization.setDescription('Maximum admission control limit for Voice traffic, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_voice_policing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 34), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoicePolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoicePolicingEnabled.setDescription('Indicates that admission control Policing for Voice traffic is enabled, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_rfid_tag_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 35), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRfidTagEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRfidTagEnabled.setDescription('Indicates whether an AP radio using this radio profile is enabled to function as location receivers in an AeroScout Visibility System.') ntws_ap_conf_radio_prof_wmm_power_save_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 36), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfWmmPowerSaveEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfWmmPowerSaveEnabled.setDescription('Indicates whether the AP radios using this radio profile enable power save mode on WMM clients.') ntws_ap_conf_radio_prof_rate_enforcement_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 37), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRateEnforcementEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRateEnforcementEnabled.setDescription('Indicates whether data rates are enforced for the AP radios using this radio profile, which means that a connecting client must transmit at one of the mandatory or standard rates in order to associate with the AP.') ntws_ap_conf_radio_prof_dfs_channels_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 38), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfDfsChannelsEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfDfsChannelsEnabled.setDescription('Indicates that the AP radios using this radio profile use DFS channels to meet regulatory requirements.') ntws_ap_conf_radio_prof_service_profile_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7)) if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTable.setDescription('A table describing the currently configured connections between Radio Profiles and Service Profiles.') ntws_ap_conf_radio_prof_service_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRpServpRadioProfileName'), (0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRpServpServiceProfileName')) if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileEntry.setDescription('Connection between a Radio Profile and a Service Profile, currently configured on the AC.') ntws_ap_conf_rp_servp_radio_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 1), ntws_radio_profile_name()) if mibBuilder.loadTexts: ntwsApConfRpServpRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpRadioProfileName.setDescription('Name of this Radio Profile.') ntws_ap_conf_rp_servp_service_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 2), ntws_service_profile_name()) if mibBuilder.loadTexts: ntwsApConfRpServpServiceProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpServiceProfileName.setDescription('Name of a Service Profile connected to this Radio Profile.') ntws_ap_conf_rp_servp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ntwsApConfRpServpRowStatus.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpRowStatus.setDescription("This object is used to create a new row or delete an existing row in this table. To create a row, set this object to 'createAndGo'. To delete a row, set this object to 'destroy'. Only these two values 'createAndGo' and 'destroy' will be accepted.") ntws_ap_conf_radio_prof_snoop_filter_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8)) if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTable.setDescription('A table describing the currently configured connections between Radio Profiles and Snoop Filters.') ntws_ap_conf_radio_prof_snoop_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRpSnoopfRadioProfileName'), (0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRpSnoopfSnoopFilterName')) if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterEntry.setDescription('Connection between a Radio Profile and a Snoop Filter, currently configured on the AC.') ntws_ap_conf_rp_snoopf_radio_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 1), ntws_radio_profile_name()) if mibBuilder.loadTexts: ntwsApConfRpSnoopfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfRadioProfileName.setDescription('Name of this Radio Profile.') ntws_ap_conf_rp_snoopf_snoop_filter_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 2), ntws_snoop_filter_name()) if mibBuilder.loadTexts: ntwsApConfRpSnoopfSnoopFilterName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfSnoopFilterName.setDescription('Name of a Snoop Filter connected to this Radio Profile.') ntws_ap_conf_rp_snoopf_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ntwsApConfRpSnoopfRowStatus.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfRowStatus.setDescription("This object is used to create a new row or delete an existing row in this table. To create a row, set this object to 'createAndGo'. To delete a row, set this object to 'destroy'. Only these two values 'createAndGo' and 'destroy' will be accepted.") ntws_ap_conf_service_profile_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9)) if mibBuilder.loadTexts: ntwsApConfServiceProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileTable.setDescription('A table describing the Service Profiles currently configured on this AC.') ntws_ap_conf_service_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfServiceProfileName')) if mibBuilder.loadTexts: ntwsApConfServiceProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileEntry.setDescription('Configuration for a particular Service Profile.') ntws_ap_conf_serv_prof_service_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 1), ntws_service_profile_name()) if mibBuilder.loadTexts: ntwsApConfServProfServiceProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfServiceProfileName.setDescription('Name of this service profile') ntws_ap_conf_serv_prof_ssid_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 2), ntws_service_profile_ssid_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSsidType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSsidType.setDescription('The type of this service profile (clear/crypto).') ntws_ap_conf_serv_prof_beacon_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 3), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfBeaconEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfBeaconEnabled.setDescription('Indicates whether beacons are enabled for this service profile.') ntws_ap_conf_serv_prof11na_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 4), ntws_service_profile11n_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11naMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11naMode.setDescription('Indicates the 802.11n (na) mode for this service profile.') ntws_ap_conf_serv_prof11ng_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 5), ntws_service_profile11n_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11ngMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11ngMode.setDescription('Indicates the 802.11n (ng) mode for this service profile.') ntws_ap_conf_serv_prof11n_short_guard_interval_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11nShortGuardIntervalEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nShortGuardIntervalEnabled.setDescription('Indicates whether short guard interval is enabled for this service profile.') ntws_ap_conf_serv_prof11n_frame_aggregation = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 7), ntws_service_profile11n_frame_aggregation_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11nFrameAggregation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nFrameAggregation.setDescription('Indicates the Frame Aggregation mode for this service profile.') ntws_ap_conf_serv_prof11n_msdu_max_length = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 8), ntws_service_profile11n_msdu_max_length()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11nMsduMaxLength.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nMsduMaxLength.setDescription('The maximum MSDU length for this service profile.') ntws_ap_conf_serv_prof11n_mpdu_max_length = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 9), ntws_service_profile11n_mpdu_max_length()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11nMpduMaxLength.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nMpduMaxLength.setDescription('The maximum MPDU length for this service profile.') ntws_ap_conf_serv_prof_auth_fallthru = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 10), ntws_service_profile_auth_fallthru_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfAuthFallthru.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfAuthFallthru.setDescription('The authentication type to be attempted for users who do not match a 802.1X or MAC authentication rule, for this service profile.') ntws_ap_conf_serv_prof_web_aaa_form = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWebAAAForm.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebAAAForm.setDescription('The custom login page that loads for WebAAA users, for this service profile.') ntws_ap_conf_serv_prof_shared_key_auth_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 12), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSharedKeyAuthEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSharedKeyAuthEnabled.setDescription('Indicates whether shared-key authentication is enabled for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeEnabled.setDescription('Indicates whether WPA IE beaconing is enabled for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_cipher_tkip_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 14), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherTkipEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherTkipEnabled.setDescription('Indicates whether TKIP cipher is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_cipher_ccmp_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 15), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherCcmpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherCcmpEnabled.setDescription('Indicates whether CCMP cipher is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_cipher_wep40_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 16), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep40Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep40Enabled.setDescription('Indicates whether WEP-40 cipher is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_cipher_wep104_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 17), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep104Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep104Enabled.setDescription('Indicates whether WEP-104 cipher is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_auth_dot1x_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 18), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthDot1xEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthDot1xEnabled.setDescription('Indicates whether 802.1X authentication is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_auth_psk_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 19), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthPskEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthPskEnabled.setDescription('Indicates whether Pre-Shared Key authentication is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 20), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeEnabled.setDescription('Indicates whether RSN IE beaconing is enabled for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_cipher_tkip_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 21), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherTkipEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherTkipEnabled.setDescription('Indicates whether TKIP cipher is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_cipher_ccmp_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 22), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherCcmpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherCcmpEnabled.setDescription('Indicates whether CCMP cipher is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_cipher_wep40_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 23), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep40Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep40Enabled.setDescription('Indicates whether WEP-40 cipher is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_cipher_wep104_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 24), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep104Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep104Enabled.setDescription('Indicates whether WEP-104 cipher is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_auth_dot1x_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 25), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthDot1xEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthDot1xEnabled.setDescription('Indicates whether 802.1X authentication is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_auth_psk_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 26), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthPskEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthPskEnabled.setDescription('Indicates whether Pre-Shared Key authentication is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_tkip_mic_countermeasures_time = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 27), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfTkipMicCountermeasuresTime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfTkipMicCountermeasuresTime.setDescription('Indicates the TKIP MIC countermeasures time in milliseconds for this service profile. This is the length of time that AP radios use countermeasures if two Message Integrity Code (MIC) failures occur within 60 seconds.') ntws_ap_conf_serv_prof_max_bandwidth_kbps = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 28), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfMaxBandwidthKbps.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfMaxBandwidthKbps.setDescription('The bandwidth limit for this service profile, in Kbits/second. A value of zero means unlimited.') ntws_ap_conf_serv_prof_cac_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 29), ntws_service_profile_cac_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfCacMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfCacMode.setDescription('The Call Admission Control (CAC) mode, for this service profile.') ntws_ap_conf_serv_prof_cac_sess_count = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 30), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfCacSessCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfCacSessCount.setDescription('The maximum number of active sessions a radio can have when session-based CAC is enabled, for this service profile.') ntws_ap_conf_serv_prof_user_idle_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 31), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfUserIdleTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfUserIdleTimeout.setDescription('The number of seconds MSS has a session available for a client not sending data and is not responding to keepalives (idle-client probes). If the timer expires, the client session is changed to the Dissociated state, for this service profile.') ntws_ap_conf_serv_prof_idle_client_probing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 32), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfIdleClientProbingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfIdleClientProbingEnabled.setDescription('Indicates whether the AC radio sends a unicast null-data frame to each client every 10 seconds, for this service profile.') ntws_ap_conf_serv_prof_short_retry_count = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 33), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfShortRetryCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfShortRetryCount.setDescription('The number of times a radio can send a short unicast frame without receiving an acknowledgment, for this service profile.') ntws_ap_conf_serv_prof_long_retry_count = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 34), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfLongRetryCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfLongRetryCount.setDescription('The number of times a radio can send a long unicast frame without receiving an acknowledgment, for this service profile.') ntws_ap_conf_serv_prof_proxy_arp_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 35), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfProxyArpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfProxyArpEnabled.setDescription('Indicates whether proxy ARP is enabled for this service profile.') ntws_ap_conf_serv_prof_dhcp_restrict_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 36), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfDhcpRestrictEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfDhcpRestrictEnabled.setDescription('Indicates whether only DHCP traffic is allowed until a newly associated client has been authenticated and authorized, for this service profile.') ntws_ap_conf_serv_prof_no_broadcast_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 37), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfNoBroadcastEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfNoBroadcastEnabled.setDescription('Indicates whether broadcast ARP and DHCP packets are converted to unicast for this service profile.') ntws_ap_conf_serv_prof_sygate_on_demand_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 38), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSygateOnDemandEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSygateOnDemandEnabled.setDescription('Indicates whether Sygate On-Demand Manager (SODA Manager) is enabled for this service profile.') ntws_ap_conf_serv_prof_enforce_checks_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 39), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfEnforceChecksEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfEnforceChecksEnabled.setDescription('Indicates whether Enforcement of the SODA security checks is enabled for this service profile.') ntws_ap_conf_serv_prof_soda_remediation_acl = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 40), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSodaRemediationAcl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaRemediationAcl.setDescription('Remediation page ACL to apply to the client when the failure page is loaded, for this service profile.') ntws_ap_conf_serv_prof_soda_success_page = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 41), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSodaSuccessPage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaSuccessPage.setDescription('Success page that is displayed on the client when a client successfully runs the checks performed by the SODA agent, for this service profile.') ntws_ap_conf_serv_prof_soda_failure_page = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 42), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSodaFailurePage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaFailurePage.setDescription('Failure page that is displayed on the client when the SODA agent checks fail, for this service profile.') ntws_ap_conf_serv_prof_soda_logout_page = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 43), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSodaLogoutPage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaLogoutPage.setDescription('The page to load when a client closes the SODA virtual desktop and logs out of the network, for this service profile.') ntws_ap_conf_serv_prof_soda_agent_directory = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 44), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSodaAgentDirectory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaAgentDirectory.setDescription('Specifies a different directory for the SODA agent files used for this service profile.') ntws_ap_conf_serv_prof_web_portal_session_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 45), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalSessionTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalSessionTimeout.setDescription('Time interval, in seconds, for which a Web Portal WebAAA session remains in the Deassociated state before being terminated automatically, for this service profile.') ntws_ap_conf_serv_prof_web_portal_acl = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 46), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalAcl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalAcl.setDescription('Name of ACL used for filtering traffic for Web Portal users during authentication, for this service profile.') ntws_ap_conf_serv_prof_web_portal_logout_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 47), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutEnabled.setDescription('Indicates whether the Web Portal logout functionality is enabled for this service profile.') ntws_ap_conf_serv_prof_web_portal_logout_url = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 48), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutUrl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutUrl.setDescription('Indicates the Web Portal Logout URL for this service profile.') ntws_ap_conf_serv_prof_keep_initial_vlan_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 49), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfKeepInitialVlanEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfKeepInitialVlanEnabled.setDescription('Indicates whether, after roaming, the user keeps the VLAN assigned from the first connection, for this service profile.') ntws_ap_conf_serv_prof_mesh_mode_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 50), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfMeshModeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfMeshModeEnabled.setDescription('Indicates whether wireless mesh between APs is enabled for this service profile.') ntws_ap_conf_serv_prof_bridging_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 51), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfBridgingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfBridgingEnabled.setDescription('Indicates whether wireless bridging of traffic between APs is enabled for this service profile.') ntws_ap_conf_serv_prof_load_balance_exempt_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 52), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfLoadBalanceExemptEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfLoadBalanceExemptEnabled.setDescription('Indicates whether this service profile is exempted from load balancing.') ntws_ap_conf_snoop_filter_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10)) if mibBuilder.loadTexts: ntwsApConfSnoopFilterTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterTable.setDescription('A table describing the Snoop Filters currently configured on this AC.') ntws_ap_conf_snoop_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfSnoopFilterName')) if mibBuilder.loadTexts: ntwsApConfSnoopFilterEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterEntry.setDescription('Configuration for a particular Snoop Filter.') ntws_ap_conf_snoop_filter_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1, 1), ntws_snoop_filter_name()) if mibBuilder.loadTexts: ntwsApConfSnoopFilterName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterName.setDescription('Name of this snoop filter.') ntws_ap_conf_snoop_filter_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfSnoopFilterEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterEnabled.setDescription('Indicates whether this snoop filter is enabled.') ntws_ap_config_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2)) ntws_ap_config_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 1)) ntws_ap_config_groups = mib_identifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2)) ntws_ap_config_compliance = module_compliance((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 1, 1)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplateConfigTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplateRadioConfigTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfileTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfServiceProfileTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfSnoopFilterTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServiceProfileTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfSnoopFilterTableGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_config_compliance = ntwsApConfigCompliance.setStatus('current') if mibBuilder.loadTexts: ntwsApConfigCompliance.setDescription('The compliance statement for devices that implement AP Config MIB.') ntws_ap_conf_ap_config_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 1)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApAttachType'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigPhysPortNum'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApSerialNum'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApModelName'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigFingerprint'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigBias'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApTimeout'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApName'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigContact'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigLocation'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigBlinkEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigForceImageDownloadEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigFirmwareUpgradeEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigLocalSwitchingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigPowerMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigLedMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigDescription')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_ap_config_table_group = ntwsApConfApConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigTableGroup.setDescription('Group of columnar objects implemented to provide AP Configuration info in releases 7.1 and greater.') ntws_ap_conf_radio_config_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 2)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigRadioType'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigRadioMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigRadioProfileName'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigChannel'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigTxPower'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigAutoTuneMaxTxPower'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigAntennaType'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigAntennaLocation'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigLoadBalancingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigLoadBalancingGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigLoadRebalancingEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_radio_config_table_group = ntwsApConfRadioConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTableGroup.setDescription('Group of columnar objects implemented to provide Radio Configuration info in releases 7.1 and greater.') ntws_ap_conf_ap_template_config_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 3)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfApTemplateEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfBias'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfApTimeout'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfBlinkEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfForceImageDownloadEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfFirmwareUpgradeEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfLocalSwitchingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfPowerMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfLedMode')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_ap_template_config_table_group = ntwsApConfApTemplateConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTableGroup.setDescription('Group of columnar objects implemented to provide AP Configuration Template info in releases 7.1 and greater.') ntws_ap_conf_ap_template_radio_config_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 4)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfRadioMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfRadioProfileName'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfAutoTuneMaxTxPower'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfLoadBalancingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfLoadBalancingGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfLoadRebalancingEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_ap_template_radio_config_table_group = ntwsApConfApTemplateRadioConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTableGroup.setDescription('Group of columnar objects implemented to provide Radio Configuration Template info in releases 7.1 and greater.') ntws_ap_conf_radio_profile_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 5)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfBeaconInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfDtimInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfChannelWidth11na'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfMaxTxLifetime'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfMaxRxLifetime'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRtsThreshold'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfFragThreshold'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfLongXmitPreambleEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCountermeasuresMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRFScanMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRFScanChannelScope'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRFScanCTSEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTune11aChannelRange'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTuneChannelEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTuneChannelHolddownInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTuneChannelChangeInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTunePowerEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTunePowerRampInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTunePowerChangeInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfFairQueuingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBackgroundACMandatory'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBackgroundMaxUtilization'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBackgroundPolicingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBestEffortACMandatory'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBestEffortMaxUtilization'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBestEffortPolicingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVideoACMandatory'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVideoMaxUtilization'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVideoPolicingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVoiceACMandatory'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVoiceMaxUtilization'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVoicePolicingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRfidTagEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfWmmPowerSaveEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRateEnforcementEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfDfsChannelsEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_radio_profile_table_group = ntwsApConfRadioProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileTableGroup.setDescription('Group of columnar objects implemented to provide Radio Profile configuration info in releases 7.1 and greater.') ntws_ap_conf_radio_prof_service_profile_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 6)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfRpServpRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_radio_prof_service_profile_table_group = ntwsApConfRadioProfServiceProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTableGroup.setDescription('Group of columnar objects implemented to provide Service Profiles associated to each Radio Profile in releases 7.1 and greater.') ntws_ap_conf_radio_prof_snoop_filter_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 7)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfRpSnoopfRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_radio_prof_snoop_filter_table_group = ntwsApConfRadioProfSnoopFilterTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTableGroup.setDescription('Group of columnar objects implemented to provide Snoop Filters associated to each Radio Profile in releases 7.1 and greater.') ntws_ap_conf_service_profile_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 8)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSsidType'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfBeaconEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11naMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11ngMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11nShortGuardIntervalEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11nFrameAggregation'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11nMsduMaxLength'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11nMpduMaxLength'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfAuthFallthru'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWebAAAForm'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSharedKeyAuthEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeCipherTkipEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeCipherCcmpEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeCipherWep40Enabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeCipherWep104Enabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeAuthDot1xEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeAuthPskEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeCipherTkipEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeCipherCcmpEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeCipherWep40Enabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeCipherWep104Enabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeAuthDot1xEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeAuthPskEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfTkipMicCountermeasuresTime'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfMaxBandwidthKbps'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfCacMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfCacSessCount'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfUserIdleTimeout'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfIdleClientProbingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfShortRetryCount'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfLongRetryCount'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfProxyArpEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfDhcpRestrictEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfNoBroadcastEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSygateOnDemandEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfEnforceChecksEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSodaRemediationAcl'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSodaSuccessPage'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSodaFailurePage'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSodaLogoutPage'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSodaAgentDirectory'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWebPortalSessionTimeout'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWebPortalAcl'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWebPortalLogoutEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWebPortalLogoutUrl'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfKeepInitialVlanEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfMeshModeEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfBridgingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfLoadBalanceExemptEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_service_profile_table_group = ntwsApConfServiceProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileTableGroup.setDescription('Group of columnar objects implemented to provide Service Profile configuration info in releases 7.1 and greater.') ntws_ap_conf_snoop_filter_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 9)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfSnoopFilterEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_snoop_filter_table_group = ntwsApConfSnoopFilterTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterTableGroup.setDescription('Group of columnar objects implemented to provide Snoop Filter configuration info in releases 7.1 and greater.') mibBuilder.exportSymbols('NTWS-AP-CONFIG-MIB', ntwsApConfServProfWebPortalLogoutEnabled=ntwsApConfServProfWebPortalLogoutEnabled, ntwsApConfApConfigApSerialNum=ntwsApConfApConfigApSerialNum, ntwsApConfRadioConfigApNum=ntwsApConfRadioConfigApNum, NtwsRadioProfileRFScanChannelScope=NtwsRadioProfileRFScanChannelScope, ntwsApConfRadioProfRFScanMode=ntwsApConfRadioProfRFScanMode, NtwsRadioProfileRFScanMode=NtwsRadioProfileRFScanMode, ntwsApConfApTemplConfLocalSwitchingEnabled=ntwsApConfApTemplConfLocalSwitchingEnabled, ntwsApConfigCompliances=ntwsApConfigCompliances, ntwsApConfApConfigPhysPortNum=ntwsApConfApConfigPhysPortNum, ntwsApConfRadioConfigRadioMode=ntwsApConfRadioConfigRadioMode, ntwsApConfServProfEnforceChecksEnabled=ntwsApConfServProfEnforceChecksEnabled, ntwsApConfApTemplConfApTemplateName=ntwsApConfApTemplConfApTemplateName, ntwsApConfRadioProfSnoopFilterTableGroup=ntwsApConfRadioProfSnoopFilterTableGroup, ntwsApConfApConfigLedMode=ntwsApConfApConfigLedMode, ntwsApConfRadioConfigLoadBalancingGroup=ntwsApConfRadioConfigLoadBalancingGroup, ntwsApConfApTemRadioConfRadioIndex=ntwsApConfApTemRadioConfRadioIndex, ntwsApConfRadioProfLongXmitPreambleEnabled=ntwsApConfRadioProfLongXmitPreambleEnabled, ntwsApConfServProfWebPortalLogoutUrl=ntwsApConfServProfWebPortalLogoutUrl, ntwsApConfApTemRadioConfLoadBalancingEnabled=ntwsApConfApTemRadioConfLoadBalancingEnabled, ntwsApConfServProf11naMode=ntwsApConfServProf11naMode, ntwsApConfRpServpRowStatus=ntwsApConfRpServpRowStatus, ntwsApConfRadioProfAutoTunePowerEnabled=ntwsApConfRadioProfAutoTunePowerEnabled, ntwsApConfRadioConfigRadioIndex=ntwsApConfRadioConfigRadioIndex, ntwsApConfRadioProfRFScanCTSEnabled=ntwsApConfRadioProfRFScanCTSEnabled, ntwsApConfApTemplateConfigTableGroup=ntwsApConfApTemplateConfigTableGroup, NtwsRadioProfileAutoTuneChannelRange=NtwsRadioProfileAutoTuneChannelRange, NtwsApTemplateName=NtwsApTemplateName, ntwsApConfRadioProfAutoTuneChannelEnabled=ntwsApConfRadioProfAutoTuneChannelEnabled, ntwsApConfigMib=ntwsApConfigMib, ntwsApConfApTemplateConfigEntry=ntwsApConfApTemplateConfigEntry, ntwsApConfRadioConfigTable=ntwsApConfRadioConfigTable, ntwsApConfRadioProfCacBestEffortACMandatory=ntwsApConfRadioProfCacBestEffortACMandatory, ntwsApConfigConformance=ntwsApConfigConformance, ntwsApConfSnoopFilterTableGroup=ntwsApConfSnoopFilterTableGroup, ntwsApConfRadioProfCountermeasuresMode=ntwsApConfRadioProfCountermeasuresMode, ntwsApConfRadioProfAutoTune11aChannelRange=ntwsApConfRadioProfAutoTune11aChannelRange, ntwsApConfServProfWpaIeEnabled=ntwsApConfServProfWpaIeEnabled, ntwsApConfRadioProfServiceProfileTableGroup=ntwsApConfRadioProfServiceProfileTableGroup, ntwsApConfRadioConfigAntennaLocation=ntwsApConfRadioConfigAntennaLocation, ntwsApConfRadioProfCacVoiceMaxUtilization=ntwsApConfRadioProfCacVoiceMaxUtilization, ntwsApConfApTemplConfBlinkEnabled=ntwsApConfApTemplConfBlinkEnabled, ntwsApConfApTemplConfForceImageDownloadEnabled=ntwsApConfApTemplConfForceImageDownloadEnabled, NtwsServiceProfile11nMode=NtwsServiceProfile11nMode, ntwsApConfServProfSodaLogoutPage=ntwsApConfServProfSodaLogoutPage, ntwsApConfRadioProfCacVideoMaxUtilization=ntwsApConfRadioProfCacVideoMaxUtilization, ntwsApConfServProfRsnIeCipherTkipEnabled=ntwsApConfServProfRsnIeCipherTkipEnabled, ntwsApConfServProfMaxBandwidthKbps=ntwsApConfServProfMaxBandwidthKbps, NtwsServiceProfile11nFrameAggregationType=NtwsServiceProfile11nFrameAggregationType, ntwsApConfRadioProfAutoTunePowerRampInterval=ntwsApConfRadioProfAutoTunePowerRampInterval, ntwsApConfServProfWpaIeCipherWep40Enabled=ntwsApConfServProfWpaIeCipherWep40Enabled, ntwsApConfRadioConfigTableGroup=ntwsApConfRadioConfigTableGroup, ntwsApConfRadioProfRFScanChannelScope=ntwsApConfRadioProfRFScanChannelScope, NtwsRadioProfileName=NtwsRadioProfileName, ntwsApConfServProf11nFrameAggregation=ntwsApConfServProf11nFrameAggregation, ntwsApConfServProfBridgingEnabled=ntwsApConfServProfBridgingEnabled, ntwsApConfRadioProfCacBestEffortPolicingEnabled=ntwsApConfRadioProfCacBestEffortPolicingEnabled, ntwsApConfRadioProfAutoTunePowerChangeInterval=ntwsApConfRadioProfAutoTunePowerChangeInterval, ntwsApConfRadioProfBeaconInterval=ntwsApConfRadioProfBeaconInterval, ntwsApConfRadioProfServiceProfileEntry=ntwsApConfRadioProfServiceProfileEntry, ntwsApConfServProfRsnIeCipherCcmpEnabled=ntwsApConfServProfRsnIeCipherCcmpEnabled, ntwsApConfServProfWebAAAForm=ntwsApConfServProfWebAAAForm, ntwsApConfApConfigTable=ntwsApConfApConfigTable, ntwsApConfApConfigApModelName=ntwsApConfApConfigApModelName, ntwsApConfRadioConfigEntry=ntwsApConfRadioConfigEntry, ntwsApConfServProfKeepInitialVlanEnabled=ntwsApConfServProfKeepInitialVlanEnabled, ntwsApConfServProfWpaIeCipherTkipEnabled=ntwsApConfServProfWpaIeCipherTkipEnabled, ntwsApConfApTemplConfApTimeout=ntwsApConfApTemplConfApTimeout, ntwsApConfServProfProxyArpEnabled=ntwsApConfServProfProxyArpEnabled, ntwsApConfServProfUserIdleTimeout=ntwsApConfServProfUserIdleTimeout, ntwsApConfApTemplateRadioConfigTableGroup=ntwsApConfApTemplateRadioConfigTableGroup, ntwsApConfServProf11ngMode=ntwsApConfServProf11ngMode, ntwsApConfServProfSygateOnDemandEnabled=ntwsApConfServProfSygateOnDemandEnabled, ntwsApConfigCompliance=ntwsApConfigCompliance, ntwsApConfRadioProfCacBestEffortMaxUtilization=ntwsApConfRadioProfCacBestEffortMaxUtilization, ntwsApConfRadioProfCacBackgroundPolicingEnabled=ntwsApConfRadioProfCacBackgroundPolicingEnabled, ntwsApConfServProf11nMsduMaxLength=ntwsApConfServProf11nMsduMaxLength, ntwsApConfServProfWebPortalSessionTimeout=ntwsApConfServProfWebPortalSessionTimeout, ntwsApConfServProfWpaIeCipherCcmpEnabled=ntwsApConfServProfWpaIeCipherCcmpEnabled, ntwsApConfApConfigApName=ntwsApConfApConfigApName, ntwsApConfServProfRsnIeCipherWep40Enabled=ntwsApConfServProfRsnIeCipherWep40Enabled, ntwsApConfServProfIdleClientProbingEnabled=ntwsApConfServProfIdleClientProbingEnabled, ntwsApConfApTemplateRadioConfigEntry=ntwsApConfApTemplateRadioConfigEntry, ntwsApConfSnoopFilterEntry=ntwsApConfSnoopFilterEntry, ntwsApConfServProfRsnIeEnabled=ntwsApConfServProfRsnIeEnabled, NtwsServiceProfile11nMpduMaxLength=NtwsServiceProfile11nMpduMaxLength, ntwsApConfRadioProfFairQueuingEnabled=ntwsApConfRadioProfFairQueuingEnabled, ntwsApConfServProfLoadBalanceExemptEnabled=ntwsApConfServProfLoadBalanceExemptEnabled, ntwsApConfServProf11nShortGuardIntervalEnabled=ntwsApConfServProf11nShortGuardIntervalEnabled, ntwsApConfApConfigLocation=ntwsApConfApConfigLocation, ntwsApConfRadioProfChannelWidth11na=ntwsApConfRadioProfChannelWidth11na, ntwsApConfRadioProfCacBackgroundACMandatory=ntwsApConfRadioProfCacBackgroundACMandatory, ntwsApConfRpSnoopfRadioProfileName=ntwsApConfRpSnoopfRadioProfileName, ntwsApConfApConfigForceImageDownloadEnabled=ntwsApConfApConfigForceImageDownloadEnabled, ntwsApConfRadioProfRfidTagEnabled=ntwsApConfRadioProfRfidTagEnabled, ntwsApConfRpServpServiceProfileName=ntwsApConfRpServpServiceProfileName, ntwsApConfServProfSharedKeyAuthEnabled=ntwsApConfServProfSharedKeyAuthEnabled, ntwsApConfRadioProfCacVoiceACMandatory=ntwsApConfRadioProfCacVoiceACMandatory, ntwsApConfApConfigLocalSwitchingEnabled=ntwsApConfApConfigLocalSwitchingEnabled, ntwsApConfApConfigBias=ntwsApConfApConfigBias, ntwsApConfServProfWpaIeAuthPskEnabled=ntwsApConfServProfWpaIeAuthPskEnabled, ntwsApConfRpSnoopfSnoopFilterName=ntwsApConfRpSnoopfSnoopFilterName, ntwsApConfApConfigFirmwareUpgradeEnabled=ntwsApConfApConfigFirmwareUpgradeEnabled, ntwsApConfRadioConfigRadioProfileName=ntwsApConfRadioConfigRadioProfileName, ntwsApConfServProfSodaSuccessPage=ntwsApConfServProfSodaSuccessPage, ntwsApConfServProf11nMpduMaxLength=ntwsApConfServProf11nMpduMaxLength, ntwsApConfServProfCacMode=ntwsApConfServProfCacMode, ntwsApConfApTemplConfLedMode=ntwsApConfApTemplConfLedMode, ntwsApConfRadioProfCacVideoPolicingEnabled=ntwsApConfRadioProfCacVideoPolicingEnabled, ntwsApConfRpServpRadioProfileName=ntwsApConfRpServpRadioProfileName, NtwsServiceProfileName=NtwsServiceProfileName, ntwsApConfRadioProfMaxTxLifetime=ntwsApConfRadioProfMaxTxLifetime, ntwsApConfServiceProfileTable=ntwsApConfServiceProfileTable, ntwsApConfServProfAuthFallthru=ntwsApConfServProfAuthFallthru, ntwsApConfServProfServiceProfileName=ntwsApConfServProfServiceProfileName, ntwsApConfServiceProfileEntry=ntwsApConfServiceProfileEntry, ntwsApConfApTemplConfBias=ntwsApConfApTemplConfBias, ntwsApConfServProfSsidType=ntwsApConfServProfSsidType, ntwsApConfServProfTkipMicCountermeasuresTime=ntwsApConfServProfTkipMicCountermeasuresTime, NtwsServiceProfile11nMsduMaxLength=NtwsServiceProfile11nMsduMaxLength, ntwsApConfApConfigTableGroup=ntwsApConfApConfigTableGroup, ntwsApConfRadioProfDtimInterval=ntwsApConfRadioProfDtimInterval, ntwsApConfApConfigBlinkEnabled=ntwsApConfApConfigBlinkEnabled, ntwsApConfRadioProfileTable=ntwsApConfRadioProfileTable, ntwsApConfServProfRsnIeCipherWep104Enabled=ntwsApConfServProfRsnIeCipherWep104Enabled, ntwsApConfApConfigDescription=ntwsApConfApConfigDescription, ntwsApConfApTemRadioConfLoadBalancingGroup=ntwsApConfApTemRadioConfLoadBalancingGroup, ntwsApConfRadioProfFragThreshold=ntwsApConfRadioProfFragThreshold, ntwsApConfRadioProfServiceProfileTable=ntwsApConfRadioProfServiceProfileTable, ntwsApConfRadioProfDfsChannelsEnabled=ntwsApConfRadioProfDfsChannelsEnabled, NtwsServiceProfileCacMode=NtwsServiceProfileCacMode, ntwsApConfRpSnoopfRowStatus=ntwsApConfRpSnoopfRowStatus, ntwsApConfServProfSodaFailurePage=ntwsApConfServProfSodaFailurePage, ntwsApConfSnoopFilterTable=ntwsApConfSnoopFilterTable, ntwsApConfRadioConfigChannel=ntwsApConfRadioConfigChannel, ntwsApConfApTemRadioConfRadioMode=ntwsApConfApTemRadioConfRadioMode, ntwsApConfigGroups=ntwsApConfigGroups, ntwsApConfApConfigApTimeout=ntwsApConfApConfigApTimeout, ntwsApConfApConfigContact=ntwsApConfApConfigContact, ntwsApConfRadioProfRadioProfileName=ntwsApConfRadioProfRadioProfileName, ntwsApConfServProfRsnIeAuthDot1xEnabled=ntwsApConfServProfRsnIeAuthDot1xEnabled, ntwsApConfApTemRadioConfAutoTuneMaxTxPower=ntwsApConfApTemRadioConfAutoTuneMaxTxPower, ntwsApConfServProfDhcpRestrictEnabled=ntwsApConfServProfDhcpRestrictEnabled, ntwsApConfigMibObjects=ntwsApConfigMibObjects, PYSNMP_MODULE_ID=ntwsApConfigMib, ntwsApConfApTemRadioConfLoadRebalancingEnabled=ntwsApConfApTemRadioConfLoadRebalancingEnabled, ntwsApConfRadioProfMaxRxLifetime=ntwsApConfRadioProfMaxRxLifetime, ntwsApConfSnoopFilterEnabled=ntwsApConfSnoopFilterEnabled, ntwsApConfServiceProfileTableGroup=ntwsApConfServiceProfileTableGroup, ntwsApConfRadioProfCacVideoACMandatory=ntwsApConfRadioProfCacVideoACMandatory, NtwsServiceProfileSsidType=NtwsServiceProfileSsidType, ntwsApConfServProfMeshModeEnabled=ntwsApConfServProfMeshModeEnabled, ntwsApConfApTemplConfFirmwareUpgradeEnabled=ntwsApConfApTemplConfFirmwareUpgradeEnabled, ntwsApConfRadioProfAutoTuneChannelHolddownInterval=ntwsApConfRadioProfAutoTuneChannelHolddownInterval, ntwsApConfRadioProfCacVoicePolicingEnabled=ntwsApConfRadioProfCacVoicePolicingEnabled, ntwsApConfRadioProfileEntry=ntwsApConfRadioProfileEntry, ntwsApConfRadioConfigAntennaType=ntwsApConfRadioConfigAntennaType, ntwsApConfApConfigFingerprint=ntwsApConfApConfigFingerprint, ntwsApConfServProfWpaIeCipherWep104Enabled=ntwsApConfServProfWpaIeCipherWep104Enabled, ntwsApConfServProfCacSessCount=ntwsApConfServProfCacSessCount, ntwsApConfApConfigEntry=ntwsApConfApConfigEntry, ntwsApConfRadioConfigLoadRebalancingEnabled=ntwsApConfRadioConfigLoadRebalancingEnabled, ntwsApConfApTemplConfPowerMode=ntwsApConfApTemplConfPowerMode, NtwsRadioProfileCountermeasuresMode=NtwsRadioProfileCountermeasuresMode, ntwsApConfRadioConfigTxPower=ntwsApConfRadioConfigTxPower, ntwsApConfServProfSodaRemediationAcl=ntwsApConfServProfSodaRemediationAcl, ntwsApConfServProfWpaIeAuthDot1xEnabled=ntwsApConfServProfWpaIeAuthDot1xEnabled, ntwsApConfApConfigApAttachType=ntwsApConfApConfigApAttachType, ntwsApConfApTemplateRadioConfigTable=ntwsApConfApTemplateRadioConfigTable, NtwsSnoopFilterName=NtwsSnoopFilterName, ntwsApConfServProfLongRetryCount=ntwsApConfServProfLongRetryCount, ntwsApConfServProfWebPortalAcl=ntwsApConfServProfWebPortalAcl, ntwsApConfRadioProfSnoopFilterEntry=ntwsApConfRadioProfSnoopFilterEntry, ntwsApConfRadioProfRateEnforcementEnabled=ntwsApConfRadioProfRateEnforcementEnabled, NtwsServiceProfileAuthFallthruType=NtwsServiceProfileAuthFallthruType, ntwsApConfRadioProfCacBackgroundMaxUtilization=ntwsApConfRadioProfCacBackgroundMaxUtilization, ntwsApConfRadioProfAutoTuneChannelChangeInterval=ntwsApConfRadioProfAutoTuneChannelChangeInterval, ntwsApConfRadioConfigLoadBalancingEnabled=ntwsApConfRadioConfigLoadBalancingEnabled, ntwsApConfRadioConfigAutoTuneMaxTxPower=ntwsApConfRadioConfigAutoTuneMaxTxPower, ntwsApConfSnoopFilterName=ntwsApConfSnoopFilterName, ntwsApConfApTemplConfApTemplateEnabled=ntwsApConfApTemplConfApTemplateEnabled, ntwsApConfApTemplateConfigTable=ntwsApConfApTemplateConfigTable, ntwsApConfApTemRadioConfRadioProfileName=ntwsApConfApTemRadioConfRadioProfileName, ntwsApConfRadioConfigRadioType=ntwsApConfRadioConfigRadioType, ntwsApConfRadioProfWmmPowerSaveEnabled=ntwsApConfRadioProfWmmPowerSaveEnabled, ntwsApConfServProfShortRetryCount=ntwsApConfServProfShortRetryCount, ntwsApConfServProfRsnIeAuthPskEnabled=ntwsApConfServProfRsnIeAuthPskEnabled, ntwsApConfServProfSodaAgentDirectory=ntwsApConfServProfSodaAgentDirectory, ntwsApConfRadioProfSnoopFilterTable=ntwsApConfRadioProfSnoopFilterTable, ntwsApConfRadioProfileTableGroup=ntwsApConfRadioProfileTableGroup, ntwsApConfRadioProfRtsThreshold=ntwsApConfRadioProfRtsThreshold, ntwsApConfApConfigApNum=ntwsApConfApConfigApNum, ntwsApConfApTemRadioConfApTemplateName=ntwsApConfApTemRadioConfApTemplateName, ntwsApConfServProfBeaconEnabled=ntwsApConfServProfBeaconEnabled, ntwsApConfApConfigPowerMode=ntwsApConfApConfigPowerMode, ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled=ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled, ntwsApConfServProfNoBroadcastEnabled=ntwsApConfServProfNoBroadcastEnabled)
class CarTablePage(Page): add_car_form = AddCarForm() car_table = CarTable() def add_car(self, car: Car): self.add_car_form.add_car(car) def remove_car(self, car: Car): self.car_table.remove_car(car) @property def cars(self) -> List[Car]: return self.car_table.cars
class Cartablepage(Page): add_car_form = add_car_form() car_table = car_table() def add_car(self, car: Car): self.add_car_form.add_car(car) def remove_car(self, car: Car): self.car_table.remove_car(car) @property def cars(self) -> List[Car]: return self.car_table.cars
# # PySNMP MIB module UBNT-AirMAX-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/UBNT-AirMAX-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:28: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) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint") ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup") Counter32, Gauge32, ModuleIdentity, Counter64, ObjectIdentity, IpAddress, Bits, NotificationType, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, MibIdentifier, iso, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "Gauge32", "ModuleIdentity", "Counter64", "ObjectIdentity", "IpAddress", "Bits", "NotificationType", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "MibIdentifier", "iso", "Unsigned32") MacAddress, TextualConvention, DisplayString, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "TextualConvention", "DisplayString", "TruthValue") ubntMIB, ubntAirosGroups = mibBuilder.importSymbols("UBNT-MIB", "ubntMIB", "ubntAirosGroups") ubntAirMAX = ModuleIdentity((1, 3, 6, 1, 4, 1, 41112, 1, 4)) ubntAirMAX.setRevisions(('2015-09-17 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ubntAirMAX.setRevisionsDescriptions(('ubntAirMAX revision',)) if mibBuilder.loadTexts: ubntAirMAX.setLastUpdated('201509170000Z') if mibBuilder.loadTexts: ubntAirMAX.setOrganization('Ubiquiti Networks, Inc.') if mibBuilder.loadTexts: ubntAirMAX.setContactInfo('support@ubnt.com') if mibBuilder.loadTexts: ubntAirMAX.setDescription('The AirMAX MIB module for Ubiquiti Networks, Inc. entities') ubntRadioTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1), ) if mibBuilder.loadTexts: ubntRadioTable.setStatus('current') if mibBuilder.loadTexts: ubntRadioTable.setDescription('Radio status & statistics') ubntRadioEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntRadioIndex")) if mibBuilder.loadTexts: ubntRadioEntry.setStatus('current') if mibBuilder.loadTexts: ubntRadioEntry.setDescription('An entry in the ubntRadioTable') ubntRadioIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntRadioIndex.setStatus('current') if mibBuilder.loadTexts: ubntRadioIndex.setDescription('Index for the ubntRadioTable') ubntRadioMode = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("sta", 1), ("ap", 2), ("aprepeater", 3), ("apwds", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioMode.setStatus('current') if mibBuilder.loadTexts: ubntRadioMode.setDescription('Radio mode') ubntRadioCCode = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioCCode.setStatus('current') if mibBuilder.loadTexts: ubntRadioCCode.setDescription('Country code') ubntRadioFreq = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioFreq.setStatus('current') if mibBuilder.loadTexts: ubntRadioFreq.setDescription('Operating frequency') ubntRadioDfsEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioDfsEnabled.setStatus('current') if mibBuilder.loadTexts: ubntRadioDfsEnabled.setDescription('DFS status') ubntRadioTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioTxPower.setStatus('current') if mibBuilder.loadTexts: ubntRadioTxPower.setDescription('Transmit power') ubntRadioDistance = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioDistance.setStatus('current') if mibBuilder.loadTexts: ubntRadioDistance.setDescription('Distance') ubntRadioChainmask = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioChainmask.setStatus('current') if mibBuilder.loadTexts: ubntRadioChainmask.setDescription('Chainmask') ubntRadioAntenna = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioAntenna.setStatus('current') if mibBuilder.loadTexts: ubntRadioAntenna.setDescription('Antenna') ubntRadioRssiTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2), ) if mibBuilder.loadTexts: ubntRadioRssiTable.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiTable.setDescription('Radio RSSI per chain') ubntRadioRssiEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntRadioIndex"), (0, "UBNT-AirMAX-MIB", "ubntRadioRssiIndex")) if mibBuilder.loadTexts: ubntRadioRssiEntry.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiEntry.setDescription('An entry in the ubntRadioRssiTable') ubntRadioRssiIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntRadioRssiIndex.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiIndex.setDescription('Index for the ubntRadioRssiTable') ubntRadioRssi = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioRssi.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssi.setDescription('Data frames rssi per chain') ubntRadioRssiMgmt = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioRssiMgmt.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiMgmt.setDescription('Management frames rssi per chain') ubntRadioRssiExt = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioRssiExt.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiExt.setDescription('Extension channel rssi per chain') ubntAirMaxTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6), ) if mibBuilder.loadTexts: ubntAirMaxTable.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxTable.setDescription('airMAX protocol statistics') ubntAirMaxEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntAirMaxIfIndex")) if mibBuilder.loadTexts: ubntAirMaxEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxEntry.setDescription('An entry in the ubntAirMaxTable') ubntAirMaxIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntAirMaxIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxIfIndex.setDescription('Index for the ubntAirMaxTable') ubntAirMaxEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirMaxEnabled.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxEnabled.setDescription('airMAX status - on/off') ubntAirMaxQuality = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirMaxQuality.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxQuality.setDescription('airMAX quality - percentage') ubntAirMaxCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirMaxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxCapacity.setDescription('airMAX capacity - percentage') ubntAirMaxPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("high", 0), ("medium", 1), ("low", 2), ("none", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirMaxPriority.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxPriority.setDescription('airMAX priority - none/high/low/medium') ubntAirMaxNoAck = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirMaxNoAck.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxNoAck.setDescription('airMAX NoACK mode - on/off') ubntAirSyncTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3), ) if mibBuilder.loadTexts: ubntAirSyncTable.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncTable.setDescription('airSync protocol statistics') ubntAirSyncEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntAirSyncIfIndex")) if mibBuilder.loadTexts: ubntAirSyncEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncEntry.setDescription('An entry in the ubntAirSyncTable') ubntAirSyncIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntAirSyncIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncIfIndex.setDescription('Index for the ubntAirSyncTable') ubntAirSyncMode = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("master", 1), ("slave", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSyncMode.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncMode.setDescription('airSync mode - master/slave') ubntAirSyncCount = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSyncCount.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncCount.setDescription('airSync client count') ubntAirSyncDownUtil = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSyncDownUtil.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncDownUtil.setDescription('airSync down utilization') ubntAirSyncUpUtil = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSyncUpUtil.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncUpUtil.setDescription('airSync up utilization') ubntAirSelTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4), ) if mibBuilder.loadTexts: ubntAirSelTable.setStatus('current') if mibBuilder.loadTexts: ubntAirSelTable.setDescription('airSelect protocol statistics') ubntAirSelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntAirSelIfIndex")) if mibBuilder.loadTexts: ubntAirSelEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirSelEntry.setDescription('An entry in the ubntAirSelTable') ubntAirSelIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntAirSelIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirSelIfIndex.setDescription('Index for the ubntAirSelTable') ubntAirSelEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSelEnabled.setStatus('current') if mibBuilder.loadTexts: ubntAirSelEnabled.setDescription('airSelect status - on/off') ubntAirSelInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSelInterval.setStatus('current') if mibBuilder.loadTexts: ubntAirSelInterval.setDescription('airSelect hop interval (miliseconds)') ubntWlStatTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5), ) if mibBuilder.loadTexts: ubntWlStatTable.setStatus('current') if mibBuilder.loadTexts: ubntWlStatTable.setDescription('Wireless statistics') ubntWlStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntWlStatIndex")) if mibBuilder.loadTexts: ubntWlStatEntry.setStatus('current') if mibBuilder.loadTexts: ubntWlStatEntry.setDescription('An entry in the ubntWlStatTable') ubntWlStatIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntWlStatIndex.setStatus('current') if mibBuilder.loadTexts: ubntWlStatIndex.setDescription('Index for the ubntWlStatTable') ubntWlStatSsid = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatSsid.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSsid.setDescription('SSID') ubntWlStatHideSsid = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatHideSsid.setStatus('current') if mibBuilder.loadTexts: ubntWlStatHideSsid.setDescription('Hide SSID - on/off') ubntWlStatApMac = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 4), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatApMac.setStatus('current') if mibBuilder.loadTexts: ubntWlStatApMac.setDescription('AP MAC address') ubntWlStatSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatSignal.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSignal.setDescription('Signal strength, dBm') ubntWlStatRssi = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatRssi.setStatus('current') if mibBuilder.loadTexts: ubntWlStatRssi.setDescription('RSSI, dBm') ubntWlStatCcq = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatCcq.setStatus('current') if mibBuilder.loadTexts: ubntWlStatCcq.setDescription('CCQ in %') ubntWlStatNoiseFloor = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatNoiseFloor.setStatus('current') if mibBuilder.loadTexts: ubntWlStatNoiseFloor.setDescription('Noise floor') ubntWlStatTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatTxRate.setStatus('current') if mibBuilder.loadTexts: ubntWlStatTxRate.setDescription('TX rate') ubntWlStatRxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatRxRate.setStatus('current') if mibBuilder.loadTexts: ubntWlStatRxRate.setDescription('RX rate') ubntWlStatSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 11), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatSecurity.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSecurity.setDescription('Wireless security mode') ubntWlStatWdsEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatWdsEnabled.setStatus('current') if mibBuilder.loadTexts: ubntWlStatWdsEnabled.setDescription('WDS - on/off') ubntWlStatApRepeater = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatApRepeater.setStatus('current') if mibBuilder.loadTexts: ubntWlStatApRepeater.setDescription('AP repeater - on/off') ubntWlStatChanWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatChanWidth.setStatus('current') if mibBuilder.loadTexts: ubntWlStatChanWidth.setDescription('Channel Width') ubntWlStatStaCount = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatStaCount.setStatus('current') if mibBuilder.loadTexts: ubntWlStatStaCount.setDescription('Station count') ubntStaTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7), ) if mibBuilder.loadTexts: ubntStaTable.setStatus('current') if mibBuilder.loadTexts: ubntStaTable.setDescription('Station list') ubntStaEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntWlStatIndex"), (0, "UBNT-AirMAX-MIB", "ubntStaMac")) if mibBuilder.loadTexts: ubntStaEntry.setStatus('current') if mibBuilder.loadTexts: ubntStaEntry.setDescription('An entry in the ubntStaEntry') ubntStaMac = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 1), MacAddress()) if mibBuilder.loadTexts: ubntStaMac.setStatus('current') if mibBuilder.loadTexts: ubntStaMac.setDescription('Station MAC address') ubntStaName = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaName.setStatus('current') if mibBuilder.loadTexts: ubntStaName.setDescription('Station name') ubntStaSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaSignal.setStatus('current') if mibBuilder.loadTexts: ubntStaSignal.setDescription('Signal strength, dBm') ubntStaNoiseFloor = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaNoiseFloor.setStatus('current') if mibBuilder.loadTexts: ubntStaNoiseFloor.setDescription('Noise floor') ubntStaDistance = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaDistance.setStatus('current') if mibBuilder.loadTexts: ubntStaDistance.setDescription('Distance') ubntStaCcq = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaCcq.setStatus('current') if mibBuilder.loadTexts: ubntStaCcq.setDescription('CCQ in %') ubntStaAmp = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaAmp.setStatus('current') if mibBuilder.loadTexts: ubntStaAmp.setDescription('airMAX priority') ubntStaAmq = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaAmq.setStatus('current') if mibBuilder.loadTexts: ubntStaAmq.setDescription('airMAX quality') ubntStaAmc = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaAmc.setStatus('current') if mibBuilder.loadTexts: ubntStaAmc.setDescription('airMAX capacity') ubntStaLastIp = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 10), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaLastIp.setStatus('current') if mibBuilder.loadTexts: ubntStaLastIp.setDescription('Last known IP address') ubntStaTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaTxRate.setStatus('current') if mibBuilder.loadTexts: ubntStaTxRate.setDescription('TX rate') ubntStaRxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaRxRate.setStatus('current') if mibBuilder.loadTexts: ubntStaRxRate.setDescription('RX rate') ubntStaTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaTxBytes.setStatus('current') if mibBuilder.loadTexts: ubntStaTxBytes.setDescription('TX bytes') ubntStaRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaRxBytes.setStatus('current') if mibBuilder.loadTexts: ubntStaRxBytes.setDescription('TX rate') ubntStaConnTime = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 15), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaConnTime.setStatus('current') if mibBuilder.loadTexts: ubntStaConnTime.setDescription('Connection Time in seconds') ubntStaLocalCINR = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaLocalCINR.setStatus('current') if mibBuilder.loadTexts: ubntStaLocalCINR.setDescription('Local CINR') ubntStaTxCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaTxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntStaTxCapacity.setDescription('Uplink Capacity in Kbps') ubntStaRxCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaRxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntStaRxCapacity.setDescription('Downlink Capacity in Kbps') ubntStaTxAirtime = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 19), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaTxAirtime.setStatus('current') if mibBuilder.loadTexts: ubntStaTxAirtime.setDescription('Uplink Airtime in % multiplied by 10') ubntStaRxAirtime = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 20), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaRxAirtime.setStatus('current') if mibBuilder.loadTexts: ubntStaRxAirtime.setDescription('Downlink Airtime in % multiplied by 10') ubntStaTxLatency = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaTxLatency.setStatus('current') if mibBuilder.loadTexts: ubntStaTxLatency.setDescription('Uplink Latency in milliseconds') ubntAirMAXStatusGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 41112, 1, 2, 2, 1)).setObjects(("UBNT-AirMAX-MIB", "ubntStaName"), ("UBNT-AirMAX-MIB", "ubntStaSignal"), ("UBNT-AirMAX-MIB", "ubntStaNoiseFloor"), ("UBNT-AirMAX-MIB", "ubntStaDistance"), ("UBNT-AirMAX-MIB", "ubntStaCcq"), ("UBNT-AirMAX-MIB", "ubntStaAmp"), ("UBNT-AirMAX-MIB", "ubntStaAmq"), ("UBNT-AirMAX-MIB", "ubntStaAmc"), ("UBNT-AirMAX-MIB", "ubntStaLastIp"), ("UBNT-AirMAX-MIB", "ubntStaTxRate"), ("UBNT-AirMAX-MIB", "ubntStaRxRate"), ("UBNT-AirMAX-MIB", "ubntStaTxBytes"), ("UBNT-AirMAX-MIB", "ubntStaRxBytes"), ("UBNT-AirMAX-MIB", "ubntStaConnTime"), ("UBNT-AirMAX-MIB", "ubntStaLocalCINR"), ("UBNT-AirMAX-MIB", "ubntStaTxCapacity"), ("UBNT-AirMAX-MIB", "ubntStaRxCapacity"), ("UBNT-AirMAX-MIB", "ubntStaTxAirtime"), ("UBNT-AirMAX-MIB", "ubntStaRxAirtime"), ("UBNT-AirMAX-MIB", "ubntStaTxLatency"), ("UBNT-AirMAX-MIB", "ubntRadioMode"), ("UBNT-AirMAX-MIB", "ubntRadioCCode"), ("UBNT-AirMAX-MIB", "ubntRadioFreq"), ("UBNT-AirMAX-MIB", "ubntRadioDfsEnabled"), ("UBNT-AirMAX-MIB", "ubntRadioTxPower"), ("UBNT-AirMAX-MIB", "ubntRadioDistance"), ("UBNT-AirMAX-MIB", "ubntRadioChainmask"), ("UBNT-AirMAX-MIB", "ubntRadioAntenna"), ("UBNT-AirMAX-MIB", "ubntRadioRssi"), ("UBNT-AirMAX-MIB", "ubntRadioRssiMgmt"), ("UBNT-AirMAX-MIB", "ubntRadioRssiExt"), ("UBNT-AirMAX-MIB", "ubntAirMaxEnabled"), ("UBNT-AirMAX-MIB", "ubntAirMaxQuality"), ("UBNT-AirMAX-MIB", "ubntAirMaxCapacity"), ("UBNT-AirMAX-MIB", "ubntAirMaxPriority"), ("UBNT-AirMAX-MIB", "ubntAirMaxNoAck"), ("UBNT-AirMAX-MIB", "ubntAirSyncMode"), ("UBNT-AirMAX-MIB", "ubntAirSyncCount"), ("UBNT-AirMAX-MIB", "ubntAirSyncDownUtil"), ("UBNT-AirMAX-MIB", "ubntAirSyncUpUtil"), ("UBNT-AirMAX-MIB", "ubntAirSelEnabled"), ("UBNT-AirMAX-MIB", "ubntAirSelInterval"), ("UBNT-AirMAX-MIB", "ubntWlStatSsid"), ("UBNT-AirMAX-MIB", "ubntWlStatHideSsid"), ("UBNT-AirMAX-MIB", "ubntWlStatApMac"), ("UBNT-AirMAX-MIB", "ubntWlStatSignal"), ("UBNT-AirMAX-MIB", "ubntWlStatRssi"), ("UBNT-AirMAX-MIB", "ubntWlStatCcq"), ("UBNT-AirMAX-MIB", "ubntWlStatNoiseFloor"), ("UBNT-AirMAX-MIB", "ubntWlStatTxRate"), ("UBNT-AirMAX-MIB", "ubntWlStatRxRate"), ("UBNT-AirMAX-MIB", "ubntWlStatSecurity"), ("UBNT-AirMAX-MIB", "ubntWlStatWdsEnabled"), ("UBNT-AirMAX-MIB", "ubntWlStatApRepeater"), ("UBNT-AirMAX-MIB", "ubntWlStatChanWidth"), ("UBNT-AirMAX-MIB", "ubntWlStatStaCount")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ubntAirMAXStatusGroup = ubntAirMAXStatusGroup.setStatus('current') if mibBuilder.loadTexts: ubntAirMAXStatusGroup.setDescription('Status and statistics for AirMax monitoring') ubntAirMAXStatusCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 41112, 1, 2, 2, 2)).setObjects(("UBNT-AirMAX-MIB", "ubntAirMAXStatusGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ubntAirMAXStatusCompliance = ubntAirMAXStatusCompliance.setStatus('current') if mibBuilder.loadTexts: ubntAirMAXStatusCompliance.setDescription('The compliance statement for Ubiquiti AirMax entities.') mibBuilder.exportSymbols("UBNT-AirMAX-MIB", ubntStaRxBytes=ubntStaRxBytes, ubntWlStatIndex=ubntWlStatIndex, ubntWlStatNoiseFloor=ubntWlStatNoiseFloor, ubntStaName=ubntStaName, ubntStaTxLatency=ubntStaTxLatency, ubntAirMAX=ubntAirMAX, ubntStaAmp=ubntStaAmp, ubntWlStatStaCount=ubntWlStatStaCount, ubntRadioChainmask=ubntRadioChainmask, ubntAirSyncDownUtil=ubntAirSyncDownUtil, ubntRadioTxPower=ubntRadioTxPower, ubntWlStatSecurity=ubntWlStatSecurity, ubntStaDistance=ubntStaDistance, ubntStaNoiseFloor=ubntStaNoiseFloor, ubntWlStatTxRate=ubntWlStatTxRate, ubntStaRxCapacity=ubntStaRxCapacity, ubntWlStatHideSsid=ubntWlStatHideSsid, ubntRadioRssiMgmt=ubntRadioRssiMgmt, ubntAirSyncIfIndex=ubntAirSyncIfIndex, ubntRadioEntry=ubntRadioEntry, ubntStaEntry=ubntStaEntry, ubntAirSyncUpUtil=ubntAirSyncUpUtil, ubntStaRxAirtime=ubntStaRxAirtime, ubntAirSelEntry=ubntAirSelEntry, ubntRadioRssiExt=ubntRadioRssiExt, ubntWlStatRssi=ubntWlStatRssi, ubntRadioTable=ubntRadioTable, ubntRadioAntenna=ubntRadioAntenna, ubntStaTxCapacity=ubntStaTxCapacity, ubntRadioFreq=ubntRadioFreq, ubntWlStatEntry=ubntWlStatEntry, ubntStaTxRate=ubntStaTxRate, ubntAirMaxNoAck=ubntAirMaxNoAck, ubntStaSignal=ubntStaSignal, ubntAirSelInterval=ubntAirSelInterval, ubntWlStatRxRate=ubntWlStatRxRate, ubntRadioRssi=ubntRadioRssi, ubntAirMaxEnabled=ubntAirMaxEnabled, ubntWlStatApRepeater=ubntWlStatApRepeater, ubntWlStatChanWidth=ubntWlStatChanWidth, ubntRadioIndex=ubntRadioIndex, ubntAirSyncCount=ubntAirSyncCount, ubntAirMaxQuality=ubntAirMaxQuality, ubntAirMaxTable=ubntAirMaxTable, ubntStaTxBytes=ubntStaTxBytes, ubntRadioCCode=ubntRadioCCode, ubntAirMaxCapacity=ubntAirMaxCapacity, ubntRadioDistance=ubntRadioDistance, ubntStaConnTime=ubntStaConnTime, ubntAirMaxIfIndex=ubntAirMaxIfIndex, ubntStaAmq=ubntStaAmq, ubntAirSyncMode=ubntAirSyncMode, ubntRadioRssiTable=ubntRadioRssiTable, ubntStaLocalCINR=ubntStaLocalCINR, ubntWlStatWdsEnabled=ubntWlStatWdsEnabled, ubntStaAmc=ubntStaAmc, ubntRadioMode=ubntRadioMode, ubntWlStatTable=ubntWlStatTable, ubntAirSyncEntry=ubntAirSyncEntry, ubntWlStatCcq=ubntWlStatCcq, PYSNMP_MODULE_ID=ubntAirMAX, ubntAirMAXStatusGroup=ubntAirMAXStatusGroup, ubntWlStatSignal=ubntWlStatSignal, ubntAirMaxEntry=ubntAirMaxEntry, ubntStaMac=ubntStaMac, ubntAirSyncTable=ubntAirSyncTable, ubntWlStatSsid=ubntWlStatSsid, ubntWlStatApMac=ubntWlStatApMac, ubntStaRxRate=ubntStaRxRate, ubntRadioRssiEntry=ubntRadioRssiEntry, ubntAirSelIfIndex=ubntAirSelIfIndex, ubntRadioDfsEnabled=ubntRadioDfsEnabled, ubntRadioRssiIndex=ubntRadioRssiIndex, ubntAirSelTable=ubntAirSelTable, ubntStaLastIp=ubntStaLastIp, ubntAirMaxPriority=ubntAirMaxPriority, ubntStaTxAirtime=ubntStaTxAirtime, ubntAirSelEnabled=ubntAirSelEnabled, ubntAirMAXStatusCompliance=ubntAirMAXStatusCompliance, ubntStaCcq=ubntStaCcq, ubntStaTable=ubntStaTable)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_union, constraints_intersection, value_range_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint') (module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup') (counter32, gauge32, module_identity, counter64, object_identity, ip_address, bits, notification_type, integer32, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, mib_identifier, iso, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter32', 'Gauge32', 'ModuleIdentity', 'Counter64', 'ObjectIdentity', 'IpAddress', 'Bits', 'NotificationType', 'Integer32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'MibIdentifier', 'iso', 'Unsigned32') (mac_address, textual_convention, display_string, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'MacAddress', 'TextualConvention', 'DisplayString', 'TruthValue') (ubnt_mib, ubnt_airos_groups) = mibBuilder.importSymbols('UBNT-MIB', 'ubntMIB', 'ubntAirosGroups') ubnt_air_max = module_identity((1, 3, 6, 1, 4, 1, 41112, 1, 4)) ubntAirMAX.setRevisions(('2015-09-17 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ubntAirMAX.setRevisionsDescriptions(('ubntAirMAX revision',)) if mibBuilder.loadTexts: ubntAirMAX.setLastUpdated('201509170000Z') if mibBuilder.loadTexts: ubntAirMAX.setOrganization('Ubiquiti Networks, Inc.') if mibBuilder.loadTexts: ubntAirMAX.setContactInfo('support@ubnt.com') if mibBuilder.loadTexts: ubntAirMAX.setDescription('The AirMAX MIB module for Ubiquiti Networks, Inc. entities') ubnt_radio_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1)) if mibBuilder.loadTexts: ubntRadioTable.setStatus('current') if mibBuilder.loadTexts: ubntRadioTable.setDescription('Radio status & statistics') ubnt_radio_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntRadioIndex')) if mibBuilder.loadTexts: ubntRadioEntry.setStatus('current') if mibBuilder.loadTexts: ubntRadioEntry.setDescription('An entry in the ubntRadioTable') ubnt_radio_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntRadioIndex.setStatus('current') if mibBuilder.loadTexts: ubntRadioIndex.setDescription('Index for the ubntRadioTable') ubnt_radio_mode = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('sta', 1), ('ap', 2), ('aprepeater', 3), ('apwds', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioMode.setStatus('current') if mibBuilder.loadTexts: ubntRadioMode.setDescription('Radio mode') ubnt_radio_c_code = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioCCode.setStatus('current') if mibBuilder.loadTexts: ubntRadioCCode.setDescription('Country code') ubnt_radio_freq = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioFreq.setStatus('current') if mibBuilder.loadTexts: ubntRadioFreq.setDescription('Operating frequency') ubnt_radio_dfs_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 5), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioDfsEnabled.setStatus('current') if mibBuilder.loadTexts: ubntRadioDfsEnabled.setDescription('DFS status') ubnt_radio_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioTxPower.setStatus('current') if mibBuilder.loadTexts: ubntRadioTxPower.setDescription('Transmit power') ubnt_radio_distance = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioDistance.setStatus('current') if mibBuilder.loadTexts: ubntRadioDistance.setDescription('Distance') ubnt_radio_chainmask = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioChainmask.setStatus('current') if mibBuilder.loadTexts: ubntRadioChainmask.setDescription('Chainmask') ubnt_radio_antenna = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 9), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioAntenna.setStatus('current') if mibBuilder.loadTexts: ubntRadioAntenna.setDescription('Antenna') ubnt_radio_rssi_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2)) if mibBuilder.loadTexts: ubntRadioRssiTable.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiTable.setDescription('Radio RSSI per chain') ubnt_radio_rssi_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntRadioIndex'), (0, 'UBNT-AirMAX-MIB', 'ubntRadioRssiIndex')) if mibBuilder.loadTexts: ubntRadioRssiEntry.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiEntry.setDescription('An entry in the ubntRadioRssiTable') ubnt_radio_rssi_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntRadioRssiIndex.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiIndex.setDescription('Index for the ubntRadioRssiTable') ubnt_radio_rssi = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioRssi.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssi.setDescription('Data frames rssi per chain') ubnt_radio_rssi_mgmt = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioRssiMgmt.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiMgmt.setDescription('Management frames rssi per chain') ubnt_radio_rssi_ext = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioRssiExt.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiExt.setDescription('Extension channel rssi per chain') ubnt_air_max_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6)) if mibBuilder.loadTexts: ubntAirMaxTable.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxTable.setDescription('airMAX protocol statistics') ubnt_air_max_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntAirMaxIfIndex')) if mibBuilder.loadTexts: ubntAirMaxEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxEntry.setDescription('An entry in the ubntAirMaxTable') ubnt_air_max_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntAirMaxIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxIfIndex.setDescription('Index for the ubntAirMaxTable') ubnt_air_max_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirMaxEnabled.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxEnabled.setDescription('airMAX status - on/off') ubnt_air_max_quality = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirMaxQuality.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxQuality.setDescription('airMAX quality - percentage') ubnt_air_max_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirMaxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxCapacity.setDescription('airMAX capacity - percentage') ubnt_air_max_priority = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('high', 0), ('medium', 1), ('low', 2), ('none', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirMaxPriority.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxPriority.setDescription('airMAX priority - none/high/low/medium') ubnt_air_max_no_ack = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirMaxNoAck.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxNoAck.setDescription('airMAX NoACK mode - on/off') ubnt_air_sync_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3)) if mibBuilder.loadTexts: ubntAirSyncTable.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncTable.setDescription('airSync protocol statistics') ubnt_air_sync_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntAirSyncIfIndex')) if mibBuilder.loadTexts: ubntAirSyncEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncEntry.setDescription('An entry in the ubntAirSyncTable') ubnt_air_sync_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntAirSyncIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncIfIndex.setDescription('Index for the ubntAirSyncTable') ubnt_air_sync_mode = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disabled', 0), ('master', 1), ('slave', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSyncMode.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncMode.setDescription('airSync mode - master/slave') ubnt_air_sync_count = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSyncCount.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncCount.setDescription('airSync client count') ubnt_air_sync_down_util = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSyncDownUtil.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncDownUtil.setDescription('airSync down utilization') ubnt_air_sync_up_util = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSyncUpUtil.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncUpUtil.setDescription('airSync up utilization') ubnt_air_sel_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4)) if mibBuilder.loadTexts: ubntAirSelTable.setStatus('current') if mibBuilder.loadTexts: ubntAirSelTable.setDescription('airSelect protocol statistics') ubnt_air_sel_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntAirSelIfIndex')) if mibBuilder.loadTexts: ubntAirSelEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirSelEntry.setDescription('An entry in the ubntAirSelTable') ubnt_air_sel_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntAirSelIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirSelIfIndex.setDescription('Index for the ubntAirSelTable') ubnt_air_sel_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSelEnabled.setStatus('current') if mibBuilder.loadTexts: ubntAirSelEnabled.setDescription('airSelect status - on/off') ubnt_air_sel_interval = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSelInterval.setStatus('current') if mibBuilder.loadTexts: ubntAirSelInterval.setDescription('airSelect hop interval (miliseconds)') ubnt_wl_stat_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5)) if mibBuilder.loadTexts: ubntWlStatTable.setStatus('current') if mibBuilder.loadTexts: ubntWlStatTable.setDescription('Wireless statistics') ubnt_wl_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntWlStatIndex')) if mibBuilder.loadTexts: ubntWlStatEntry.setStatus('current') if mibBuilder.loadTexts: ubntWlStatEntry.setDescription('An entry in the ubntWlStatTable') ubnt_wl_stat_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntWlStatIndex.setStatus('current') if mibBuilder.loadTexts: ubntWlStatIndex.setDescription('Index for the ubntWlStatTable') ubnt_wl_stat_ssid = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatSsid.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSsid.setDescription('SSID') ubnt_wl_stat_hide_ssid = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 3), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatHideSsid.setStatus('current') if mibBuilder.loadTexts: ubntWlStatHideSsid.setDescription('Hide SSID - on/off') ubnt_wl_stat_ap_mac = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 4), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatApMac.setStatus('current') if mibBuilder.loadTexts: ubntWlStatApMac.setDescription('AP MAC address') ubnt_wl_stat_signal = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatSignal.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSignal.setDescription('Signal strength, dBm') ubnt_wl_stat_rssi = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatRssi.setStatus('current') if mibBuilder.loadTexts: ubntWlStatRssi.setDescription('RSSI, dBm') ubnt_wl_stat_ccq = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatCcq.setStatus('current') if mibBuilder.loadTexts: ubntWlStatCcq.setDescription('CCQ in %') ubnt_wl_stat_noise_floor = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatNoiseFloor.setStatus('current') if mibBuilder.loadTexts: ubntWlStatNoiseFloor.setDescription('Noise floor') ubnt_wl_stat_tx_rate = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatTxRate.setStatus('current') if mibBuilder.loadTexts: ubntWlStatTxRate.setDescription('TX rate') ubnt_wl_stat_rx_rate = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatRxRate.setStatus('current') if mibBuilder.loadTexts: ubntWlStatRxRate.setDescription('RX rate') ubnt_wl_stat_security = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 11), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatSecurity.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSecurity.setDescription('Wireless security mode') ubnt_wl_stat_wds_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 12), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatWdsEnabled.setStatus('current') if mibBuilder.loadTexts: ubntWlStatWdsEnabled.setDescription('WDS - on/off') ubnt_wl_stat_ap_repeater = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatApRepeater.setStatus('current') if mibBuilder.loadTexts: ubntWlStatApRepeater.setDescription('AP repeater - on/off') ubnt_wl_stat_chan_width = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 14), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatChanWidth.setStatus('current') if mibBuilder.loadTexts: ubntWlStatChanWidth.setDescription('Channel Width') ubnt_wl_stat_sta_count = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 15), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatStaCount.setStatus('current') if mibBuilder.loadTexts: ubntWlStatStaCount.setDescription('Station count') ubnt_sta_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7)) if mibBuilder.loadTexts: ubntStaTable.setStatus('current') if mibBuilder.loadTexts: ubntStaTable.setDescription('Station list') ubnt_sta_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntWlStatIndex'), (0, 'UBNT-AirMAX-MIB', 'ubntStaMac')) if mibBuilder.loadTexts: ubntStaEntry.setStatus('current') if mibBuilder.loadTexts: ubntStaEntry.setDescription('An entry in the ubntStaEntry') ubnt_sta_mac = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 1), mac_address()) if mibBuilder.loadTexts: ubntStaMac.setStatus('current') if mibBuilder.loadTexts: ubntStaMac.setDescription('Station MAC address') ubnt_sta_name = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaName.setStatus('current') if mibBuilder.loadTexts: ubntStaName.setDescription('Station name') ubnt_sta_signal = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaSignal.setStatus('current') if mibBuilder.loadTexts: ubntStaSignal.setDescription('Signal strength, dBm') ubnt_sta_noise_floor = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaNoiseFloor.setStatus('current') if mibBuilder.loadTexts: ubntStaNoiseFloor.setDescription('Noise floor') ubnt_sta_distance = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaDistance.setStatus('current') if mibBuilder.loadTexts: ubntStaDistance.setDescription('Distance') ubnt_sta_ccq = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaCcq.setStatus('current') if mibBuilder.loadTexts: ubntStaCcq.setDescription('CCQ in %') ubnt_sta_amp = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaAmp.setStatus('current') if mibBuilder.loadTexts: ubntStaAmp.setDescription('airMAX priority') ubnt_sta_amq = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaAmq.setStatus('current') if mibBuilder.loadTexts: ubntStaAmq.setDescription('airMAX quality') ubnt_sta_amc = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaAmc.setStatus('current') if mibBuilder.loadTexts: ubntStaAmc.setDescription('airMAX capacity') ubnt_sta_last_ip = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 10), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaLastIp.setStatus('current') if mibBuilder.loadTexts: ubntStaLastIp.setDescription('Last known IP address') ubnt_sta_tx_rate = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaTxRate.setStatus('current') if mibBuilder.loadTexts: ubntStaTxRate.setDescription('TX rate') ubnt_sta_rx_rate = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaRxRate.setStatus('current') if mibBuilder.loadTexts: ubntStaRxRate.setDescription('RX rate') ubnt_sta_tx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 13), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaTxBytes.setStatus('current') if mibBuilder.loadTexts: ubntStaTxBytes.setDescription('TX bytes') ubnt_sta_rx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 14), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaRxBytes.setStatus('current') if mibBuilder.loadTexts: ubntStaRxBytes.setDescription('TX rate') ubnt_sta_conn_time = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 15), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaConnTime.setStatus('current') if mibBuilder.loadTexts: ubntStaConnTime.setDescription('Connection Time in seconds') ubnt_sta_local_cinr = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 16), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaLocalCINR.setStatus('current') if mibBuilder.loadTexts: ubntStaLocalCINR.setDescription('Local CINR') ubnt_sta_tx_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaTxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntStaTxCapacity.setDescription('Uplink Capacity in Kbps') ubnt_sta_rx_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaRxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntStaRxCapacity.setDescription('Downlink Capacity in Kbps') ubnt_sta_tx_airtime = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 19), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaTxAirtime.setStatus('current') if mibBuilder.loadTexts: ubntStaTxAirtime.setDescription('Uplink Airtime in % multiplied by 10') ubnt_sta_rx_airtime = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 20), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaRxAirtime.setStatus('current') if mibBuilder.loadTexts: ubntStaRxAirtime.setDescription('Downlink Airtime in % multiplied by 10') ubnt_sta_tx_latency = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 21), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaTxLatency.setStatus('current') if mibBuilder.loadTexts: ubntStaTxLatency.setDescription('Uplink Latency in milliseconds') ubnt_air_max_status_group = object_group((1, 3, 6, 1, 4, 1, 41112, 1, 2, 2, 1)).setObjects(('UBNT-AirMAX-MIB', 'ubntStaName'), ('UBNT-AirMAX-MIB', 'ubntStaSignal'), ('UBNT-AirMAX-MIB', 'ubntStaNoiseFloor'), ('UBNT-AirMAX-MIB', 'ubntStaDistance'), ('UBNT-AirMAX-MIB', 'ubntStaCcq'), ('UBNT-AirMAX-MIB', 'ubntStaAmp'), ('UBNT-AirMAX-MIB', 'ubntStaAmq'), ('UBNT-AirMAX-MIB', 'ubntStaAmc'), ('UBNT-AirMAX-MIB', 'ubntStaLastIp'), ('UBNT-AirMAX-MIB', 'ubntStaTxRate'), ('UBNT-AirMAX-MIB', 'ubntStaRxRate'), ('UBNT-AirMAX-MIB', 'ubntStaTxBytes'), ('UBNT-AirMAX-MIB', 'ubntStaRxBytes'), ('UBNT-AirMAX-MIB', 'ubntStaConnTime'), ('UBNT-AirMAX-MIB', 'ubntStaLocalCINR'), ('UBNT-AirMAX-MIB', 'ubntStaTxCapacity'), ('UBNT-AirMAX-MIB', 'ubntStaRxCapacity'), ('UBNT-AirMAX-MIB', 'ubntStaTxAirtime'), ('UBNT-AirMAX-MIB', 'ubntStaRxAirtime'), ('UBNT-AirMAX-MIB', 'ubntStaTxLatency'), ('UBNT-AirMAX-MIB', 'ubntRadioMode'), ('UBNT-AirMAX-MIB', 'ubntRadioCCode'), ('UBNT-AirMAX-MIB', 'ubntRadioFreq'), ('UBNT-AirMAX-MIB', 'ubntRadioDfsEnabled'), ('UBNT-AirMAX-MIB', 'ubntRadioTxPower'), ('UBNT-AirMAX-MIB', 'ubntRadioDistance'), ('UBNT-AirMAX-MIB', 'ubntRadioChainmask'), ('UBNT-AirMAX-MIB', 'ubntRadioAntenna'), ('UBNT-AirMAX-MIB', 'ubntRadioRssi'), ('UBNT-AirMAX-MIB', 'ubntRadioRssiMgmt'), ('UBNT-AirMAX-MIB', 'ubntRadioRssiExt'), ('UBNT-AirMAX-MIB', 'ubntAirMaxEnabled'), ('UBNT-AirMAX-MIB', 'ubntAirMaxQuality'), ('UBNT-AirMAX-MIB', 'ubntAirMaxCapacity'), ('UBNT-AirMAX-MIB', 'ubntAirMaxPriority'), ('UBNT-AirMAX-MIB', 'ubntAirMaxNoAck'), ('UBNT-AirMAX-MIB', 'ubntAirSyncMode'), ('UBNT-AirMAX-MIB', 'ubntAirSyncCount'), ('UBNT-AirMAX-MIB', 'ubntAirSyncDownUtil'), ('UBNT-AirMAX-MIB', 'ubntAirSyncUpUtil'), ('UBNT-AirMAX-MIB', 'ubntAirSelEnabled'), ('UBNT-AirMAX-MIB', 'ubntAirSelInterval'), ('UBNT-AirMAX-MIB', 'ubntWlStatSsid'), ('UBNT-AirMAX-MIB', 'ubntWlStatHideSsid'), ('UBNT-AirMAX-MIB', 'ubntWlStatApMac'), ('UBNT-AirMAX-MIB', 'ubntWlStatSignal'), ('UBNT-AirMAX-MIB', 'ubntWlStatRssi'), ('UBNT-AirMAX-MIB', 'ubntWlStatCcq'), ('UBNT-AirMAX-MIB', 'ubntWlStatNoiseFloor'), ('UBNT-AirMAX-MIB', 'ubntWlStatTxRate'), ('UBNT-AirMAX-MIB', 'ubntWlStatRxRate'), ('UBNT-AirMAX-MIB', 'ubntWlStatSecurity'), ('UBNT-AirMAX-MIB', 'ubntWlStatWdsEnabled'), ('UBNT-AirMAX-MIB', 'ubntWlStatApRepeater'), ('UBNT-AirMAX-MIB', 'ubntWlStatChanWidth'), ('UBNT-AirMAX-MIB', 'ubntWlStatStaCount')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ubnt_air_max_status_group = ubntAirMAXStatusGroup.setStatus('current') if mibBuilder.loadTexts: ubntAirMAXStatusGroup.setDescription('Status and statistics for AirMax monitoring') ubnt_air_max_status_compliance = module_compliance((1, 3, 6, 1, 4, 1, 41112, 1, 2, 2, 2)).setObjects(('UBNT-AirMAX-MIB', 'ubntAirMAXStatusGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ubnt_air_max_status_compliance = ubntAirMAXStatusCompliance.setStatus('current') if mibBuilder.loadTexts: ubntAirMAXStatusCompliance.setDescription('The compliance statement for Ubiquiti AirMax entities.') mibBuilder.exportSymbols('UBNT-AirMAX-MIB', ubntStaRxBytes=ubntStaRxBytes, ubntWlStatIndex=ubntWlStatIndex, ubntWlStatNoiseFloor=ubntWlStatNoiseFloor, ubntStaName=ubntStaName, ubntStaTxLatency=ubntStaTxLatency, ubntAirMAX=ubntAirMAX, ubntStaAmp=ubntStaAmp, ubntWlStatStaCount=ubntWlStatStaCount, ubntRadioChainmask=ubntRadioChainmask, ubntAirSyncDownUtil=ubntAirSyncDownUtil, ubntRadioTxPower=ubntRadioTxPower, ubntWlStatSecurity=ubntWlStatSecurity, ubntStaDistance=ubntStaDistance, ubntStaNoiseFloor=ubntStaNoiseFloor, ubntWlStatTxRate=ubntWlStatTxRate, ubntStaRxCapacity=ubntStaRxCapacity, ubntWlStatHideSsid=ubntWlStatHideSsid, ubntRadioRssiMgmt=ubntRadioRssiMgmt, ubntAirSyncIfIndex=ubntAirSyncIfIndex, ubntRadioEntry=ubntRadioEntry, ubntStaEntry=ubntStaEntry, ubntAirSyncUpUtil=ubntAirSyncUpUtil, ubntStaRxAirtime=ubntStaRxAirtime, ubntAirSelEntry=ubntAirSelEntry, ubntRadioRssiExt=ubntRadioRssiExt, ubntWlStatRssi=ubntWlStatRssi, ubntRadioTable=ubntRadioTable, ubntRadioAntenna=ubntRadioAntenna, ubntStaTxCapacity=ubntStaTxCapacity, ubntRadioFreq=ubntRadioFreq, ubntWlStatEntry=ubntWlStatEntry, ubntStaTxRate=ubntStaTxRate, ubntAirMaxNoAck=ubntAirMaxNoAck, ubntStaSignal=ubntStaSignal, ubntAirSelInterval=ubntAirSelInterval, ubntWlStatRxRate=ubntWlStatRxRate, ubntRadioRssi=ubntRadioRssi, ubntAirMaxEnabled=ubntAirMaxEnabled, ubntWlStatApRepeater=ubntWlStatApRepeater, ubntWlStatChanWidth=ubntWlStatChanWidth, ubntRadioIndex=ubntRadioIndex, ubntAirSyncCount=ubntAirSyncCount, ubntAirMaxQuality=ubntAirMaxQuality, ubntAirMaxTable=ubntAirMaxTable, ubntStaTxBytes=ubntStaTxBytes, ubntRadioCCode=ubntRadioCCode, ubntAirMaxCapacity=ubntAirMaxCapacity, ubntRadioDistance=ubntRadioDistance, ubntStaConnTime=ubntStaConnTime, ubntAirMaxIfIndex=ubntAirMaxIfIndex, ubntStaAmq=ubntStaAmq, ubntAirSyncMode=ubntAirSyncMode, ubntRadioRssiTable=ubntRadioRssiTable, ubntStaLocalCINR=ubntStaLocalCINR, ubntWlStatWdsEnabled=ubntWlStatWdsEnabled, ubntStaAmc=ubntStaAmc, ubntRadioMode=ubntRadioMode, ubntWlStatTable=ubntWlStatTable, ubntAirSyncEntry=ubntAirSyncEntry, ubntWlStatCcq=ubntWlStatCcq, PYSNMP_MODULE_ID=ubntAirMAX, ubntAirMAXStatusGroup=ubntAirMAXStatusGroup, ubntWlStatSignal=ubntWlStatSignal, ubntAirMaxEntry=ubntAirMaxEntry, ubntStaMac=ubntStaMac, ubntAirSyncTable=ubntAirSyncTable, ubntWlStatSsid=ubntWlStatSsid, ubntWlStatApMac=ubntWlStatApMac, ubntStaRxRate=ubntStaRxRate, ubntRadioRssiEntry=ubntRadioRssiEntry, ubntAirSelIfIndex=ubntAirSelIfIndex, ubntRadioDfsEnabled=ubntRadioDfsEnabled, ubntRadioRssiIndex=ubntRadioRssiIndex, ubntAirSelTable=ubntAirSelTable, ubntStaLastIp=ubntStaLastIp, ubntAirMaxPriority=ubntAirMaxPriority, ubntStaTxAirtime=ubntStaTxAirtime, ubntAirSelEnabled=ubntAirSelEnabled, ubntAirMAXStatusCompliance=ubntAirMAXStatusCompliance, ubntStaCcq=ubntStaCcq, ubntStaTable=ubntStaTable)
def handle_annotations(annotations): new_global = {} new_local = {} if 'global' in annotations: for key in annotations['global']: key_new = key.replace('__EQUALS__', '=') new_global[key_new] = annotations['global'][key] if 'local' in annotations: for key in annotations['local']: key_new = key.replace('__EQUALS__', '=') new_local[key_new] = annotations['local'][key] return {'global': new_global, 'local': new_local}
def handle_annotations(annotations): new_global = {} new_local = {} if 'global' in annotations: for key in annotations['global']: key_new = key.replace('__EQUALS__', '=') new_global[key_new] = annotations['global'][key] if 'local' in annotations: for key in annotations['local']: key_new = key.replace('__EQUALS__', '=') new_local[key_new] = annotations['local'][key] return {'global': new_global, 'local': new_local}
# Fields NAME = 'name' NUMBER = 'number' SET = 'set' TYPE = 'type' IS_INSTANT = 'is-instant' MEDICINE = 'medicine' PLUS_DIG = 'plus-dig' PLUS_HUNT = 'plus-hunt' PLUS_FIGHT = 'plus-fight' ABILITY = 'ability' TEXT = 'text' # Set values BASE = 'base' HQ_EXP = 'hq' RECON_EXP = 'recon' # Type values JUNKYARD = 'junkyard' CONTESTED_RESOURCE = 'contested-resource' # Ability values RECON = 'recon' class Items: ALL_ITEMS = [ { NAME: 'Junk', SET: BASE, NUMBER: 7, TYPE: JUNKYARD }, { NAME: 'Pills', SET: BASE, NUMBER: 9, TYPE: JUNKYARD, MEDICINE: 1 }, { NAME: 'Medkit', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, MEDICINE: 2 }, { NAME: 'Net', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_HUNT: 2, PLUS_FIGHT: 1 }, { NAME: 'Pickaxe', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_FIGHT: 2 }, { NAME: 'Multitool', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_HUNT: 1, PLUS_FIGHT: 1 }, { NAME: 'Shovel', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_FIGHT: 1 }, { NAME: 'Spear', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, PLUS_HUNT: 1, PLUS_FIGHT: 2 }, { NAME: 'Grenade', SET: BASE, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_FIGHT: 3 }, { NAME: 'Wolf Pack', SET: BASE, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_HUNT: 3, PLUS_FIGHT: 2 }, { NAME: 'Rifle', SET: HQ_EXP, NUMBER: 4, TYPE: JUNKYARD, PLUS_HUNT: 2, PLUS_FIGHT: 2 }, { NAME: 'Toolkit', SET: HQ_EXP, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 2, TEXT: 'Increases a tribe member\'s build by +2 cards.' }, { NAME: 'Map', SET: RECON_EXP, NUMBER: 4, TYPE: JUNKYARD, IS_INSTANT: True, TEXT: 'Return 1 tribe member to your hand after performing a non-skirmish action.' }, { NAME: 'Binoculars', SET: RECON_EXP, NUMBER: 4, TYPE: JUNKYARD, IS_INSTANT: True, ABILITY: RECON, TEXT: 'May peek at the top card from all piles in play, OR, recon +2' }, { NAME: 'Cargo Sled', SET: RECON_EXP, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_DIG: 2, PLUS_HUNT: 2, TEXT: 'When digging in the Junkyard, you may keep 1 additional tool or medicine.' }, { NAME: 'Tear Gas', SET: RECON_EXP, NUMBER: 2, TYPE: CONTESTED_RESOURCE, IS_INSTANT: True, TEXT: 'Select 1 opponent tribe member and reduce its fight (or bonus to fight) to 0.' } ]
name = 'name' number = 'number' set = 'set' type = 'type' is_instant = 'is-instant' medicine = 'medicine' plus_dig = 'plus-dig' plus_hunt = 'plus-hunt' plus_fight = 'plus-fight' ability = 'ability' text = 'text' base = 'base' hq_exp = 'hq' recon_exp = 'recon' junkyard = 'junkyard' contested_resource = 'contested-resource' recon = 'recon' class Items: all_items = [{NAME: 'Junk', SET: BASE, NUMBER: 7, TYPE: JUNKYARD}, {NAME: 'Pills', SET: BASE, NUMBER: 9, TYPE: JUNKYARD, MEDICINE: 1}, {NAME: 'Medkit', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, MEDICINE: 2}, {NAME: 'Net', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_HUNT: 2, PLUS_FIGHT: 1}, {NAME: 'Pickaxe', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_FIGHT: 2}, {NAME: 'Multitool', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_HUNT: 1, PLUS_FIGHT: 1}, {NAME: 'Shovel', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_FIGHT: 1}, {NAME: 'Spear', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, PLUS_HUNT: 1, PLUS_FIGHT: 2}, {NAME: 'Grenade', SET: BASE, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_FIGHT: 3}, {NAME: 'Wolf Pack', SET: BASE, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_HUNT: 3, PLUS_FIGHT: 2}, {NAME: 'Rifle', SET: HQ_EXP, NUMBER: 4, TYPE: JUNKYARD, PLUS_HUNT: 2, PLUS_FIGHT: 2}, {NAME: 'Toolkit', SET: HQ_EXP, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 2, TEXT: "Increases a tribe member's build by +2 cards."}, {NAME: 'Map', SET: RECON_EXP, NUMBER: 4, TYPE: JUNKYARD, IS_INSTANT: True, TEXT: 'Return 1 tribe member to your hand after performing a non-skirmish action.'}, {NAME: 'Binoculars', SET: RECON_EXP, NUMBER: 4, TYPE: JUNKYARD, IS_INSTANT: True, ABILITY: RECON, TEXT: 'May peek at the top card from all piles in play, OR, recon +2'}, {NAME: 'Cargo Sled', SET: RECON_EXP, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_DIG: 2, PLUS_HUNT: 2, TEXT: 'When digging in the Junkyard, you may keep 1 additional tool or medicine.'}, {NAME: 'Tear Gas', SET: RECON_EXP, NUMBER: 2, TYPE: CONTESTED_RESOURCE, IS_INSTANT: True, TEXT: 'Select 1 opponent tribe member and reduce its fight (or bonus to fight) to 0.'}]
class LocationFailureException(Exception): pass class BadLatitudeException(Exception): pass class BadLongitudeException(Exception): pass class BadAltitudeException(Exception): pass class BadNumberException(Exception): pass class GetPassesException(Exception): pass class AstronautFailureException(Exception): pass
class Locationfailureexception(Exception): pass class Badlatitudeexception(Exception): pass class Badlongitudeexception(Exception): pass class Badaltitudeexception(Exception): pass class Badnumberexception(Exception): pass class Getpassesexception(Exception): pass class Astronautfailureexception(Exception): pass
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def constructMaximumBinaryTree(self, nums: List[int]) -> TreeNode: def maxTree(nums): idx=nums.index(max(nums)) node = TreeNode(nums[idx]) if len(nums[idx+1:])>0: node.right = maxTree(nums[idx+1:]) if len(nums[:idx])>0: node.left = maxTree(nums[:idx]) return node return maxTree(nums)
class Solution: def construct_maximum_binary_tree(self, nums: List[int]) -> TreeNode: def max_tree(nums): idx = nums.index(max(nums)) node = tree_node(nums[idx]) if len(nums[idx + 1:]) > 0: node.right = max_tree(nums[idx + 1:]) if len(nums[:idx]) > 0: node.left = max_tree(nums[:idx]) return node return max_tree(nums)
# -*- coding: utf-8 -*- N = int(input()) A = list(map(int, input().split())) pre = [0]*len(A) pre[0] = A[0] aft = [0]*len(A) aft[-1] = A[-1] for pos, it in enumerate(A[1:], 1): pre[pos] = pre[pos-1]+it for pos in range(len(A)-2, -1, -1): aft[pos] = aft[pos+1]+A[pos] ans = 0; print(pre) print(aft) for pos in range(len(A)-1): if(pos == 0): ans = max(ans, 0+(A[pos]^A[pos+1])+aft[pos+2]) elif(pos == len(A)-2): ans = max(ans, pre[pos-1]+(A[pos]^A[pos+1])+0) else: ans = max(ans, pre[pos-1]+(A[pos]^A[pos+1])+aft[pos+2]) print(ans) print(ans)
n = int(input()) a = list(map(int, input().split())) pre = [0] * len(A) pre[0] = A[0] aft = [0] * len(A) aft[-1] = A[-1] for (pos, it) in enumerate(A[1:], 1): pre[pos] = pre[pos - 1] + it for pos in range(len(A) - 2, -1, -1): aft[pos] = aft[pos + 1] + A[pos] ans = 0 print(pre) print(aft) for pos in range(len(A) - 1): if pos == 0: ans = max(ans, 0 + (A[pos] ^ A[pos + 1]) + aft[pos + 2]) elif pos == len(A) - 2: ans = max(ans, pre[pos - 1] + (A[pos] ^ A[pos + 1]) + 0) else: ans = max(ans, pre[pos - 1] + (A[pos] ^ A[pos + 1]) + aft[pos + 2]) print(ans) print(ans)
def group(it, n): it = iter(it) block = [] for elem in it: block.append(elem) if len(block) == n: yield block block = [] if block: yield block
def group(it, n): it = iter(it) block = [] for elem in it: block.append(elem) if len(block) == n: yield block block = [] if block: yield block
class CriteriaBuilder(): '''Defines the CriteriaBuilder class''' __and = None __where = None __or = None __criteria = None __cmd = None __sql = None @property def AND( self ): if self.__and is not None: return self.__and @property def WHERE( self ): if self.__where is not None: return self.__where @property def command( self ): if self.__cmd is not None: return str( self.__sql[ self.__cmd ] ) @command.setter def command( self, cmd ): if cmd is not None and cmd in self.__sql: self.__cmd = str( self.__sql[ cmd ] ) def create( self, pairs ): ''' builds criteria from dictionary of name value pairs''' if isinstance( pairs, dict ): self.__criteria = pairs def __init__( self, cmd = 'SELECT' ): self.__and = ' AND ' self.__where = ' WHERE ' self.__cmd = str( cmd ) self.__sql = [ 'SELECT', 'INSERT', 'UPDATE', 'DELETE', 'CREATE', 'ALTER', 'DROP', 'DETACH' ]
class Criteriabuilder: """Defines the CriteriaBuilder class""" __and = None __where = None __or = None __criteria = None __cmd = None __sql = None @property def and(self): if self.__and is not None: return self.__and @property def where(self): if self.__where is not None: return self.__where @property def command(self): if self.__cmd is not None: return str(self.__sql[self.__cmd]) @command.setter def command(self, cmd): if cmd is not None and cmd in self.__sql: self.__cmd = str(self.__sql[cmd]) def create(self, pairs): """ builds criteria from dictionary of name value pairs""" if isinstance(pairs, dict): self.__criteria = pairs def __init__(self, cmd='SELECT'): self.__and = ' AND ' self.__where = ' WHERE ' self.__cmd = str(cmd) self.__sql = ['SELECT', 'INSERT', 'UPDATE', 'DELETE', 'CREATE', 'ALTER', 'DROP', 'DETACH']
description = 'testing qmesydaq' group = 'optional' excludes = [] sysconfig = dict( datasinks = ['LiveViewSink'], ) tango_base = 'tango://localhost:10000/test/qmesydaq/' devices = dict( # RAWFileSaver = device('nicos.devices.datasinks.RawImageSink', # description = 'Saves image data in RAW format', # filenametemplate = [ # '%(proposal)s_%(pointcounter)06d.raw', # '%(proposal)s_%(scancounter)s_' # '%(pointcounter)s_%(pointnumber)s.raw'], # subdir = 'QMesyDAQ2', # lowlevel = True, # ), LiveViewSink = device('nicos.devices.datasinks.LiveViewSink', description = 'Sends image data to LiveViewWidget', ), qm_ctr0 = device('nicos.devices.entangle.CounterChannel', description = 'QMesyDAQ Counter0', tangodevice = tango_base + 'counter0', type = 'counter', lowlevel = True, ), qm_ctr1 = device('nicos.devices.entangle.CounterChannel', description = 'QMesyDAQ Counter1', tangodevice = tango_base + 'counter1', type = 'counter', lowlevel = True, ), qm_ctr2 = device('nicos.devices.entangle.CounterChannel', description = 'QMesyDAQ Counter2', tangodevice = tango_base + 'counter2', type = 'monitor', lowlevel = True, ), qm_ctr3 = device('nicos.devices.entangle.CounterChannel', description = 'QMesyDAQ Counter3', tangodevice = tango_base + 'counter3', type = 'monitor', lowlevel = True, ), qm_ev = device('nicos.devices.entangle.CounterChannel', description = 'QMesyDAQ Events channel', tangodevice = tango_base + 'events', type = 'counter', lowlevel = True, ), qm_timer = device('nicos.devices.entangle.TimerChannel', description = 'QMesyDAQ Timer', tangodevice = tango_base + 'timer', ), mesytec = device('nicos.devices.generic.Detector', description = 'QMesyDAQ Image type Detector', timers = ['qm_timer'], counters = [ 'qm_ev', # 'qm_ctr0', 'qm_ctr2' ], monitors = [ #'qm_ctr1', 'qm_ctr3' ], others = [], ), ) startupcode = ''' SetDetectors(mesytec) '''
description = 'testing qmesydaq' group = 'optional' excludes = [] sysconfig = dict(datasinks=['LiveViewSink']) tango_base = 'tango://localhost:10000/test/qmesydaq/' devices = dict(LiveViewSink=device('nicos.devices.datasinks.LiveViewSink', description='Sends image data to LiveViewWidget'), qm_ctr0=device('nicos.devices.entangle.CounterChannel', description='QMesyDAQ Counter0', tangodevice=tango_base + 'counter0', type='counter', lowlevel=True), qm_ctr1=device('nicos.devices.entangle.CounterChannel', description='QMesyDAQ Counter1', tangodevice=tango_base + 'counter1', type='counter', lowlevel=True), qm_ctr2=device('nicos.devices.entangle.CounterChannel', description='QMesyDAQ Counter2', tangodevice=tango_base + 'counter2', type='monitor', lowlevel=True), qm_ctr3=device('nicos.devices.entangle.CounterChannel', description='QMesyDAQ Counter3', tangodevice=tango_base + 'counter3', type='monitor', lowlevel=True), qm_ev=device('nicos.devices.entangle.CounterChannel', description='QMesyDAQ Events channel', tangodevice=tango_base + 'events', type='counter', lowlevel=True), qm_timer=device('nicos.devices.entangle.TimerChannel', description='QMesyDAQ Timer', tangodevice=tango_base + 'timer'), mesytec=device('nicos.devices.generic.Detector', description='QMesyDAQ Image type Detector', timers=['qm_timer'], counters=['qm_ev'], monitors=[], others=[])) startupcode = '\nSetDetectors(mesytec)\n'
NUMBER = (1 << 15) OPERATOR = (1 << 16) FUNCTION = (1 << 17) OTHER = (1 << 18) OPERATOR_PRIORITY_1 = (1 << 10) OPERATOR_PRIORITY_2 = (1 << 11) # Multiplication & Division OPERATOR_PRIORITY_3 = (1 << 12) # Implicit Multiplication (0.5/2x, a/b(c)) OPERATOR_PRIORITY_4 = (1 << 13) # Root & Exponent STUndefined = 0 STNumber = NUMBER | 1 STFactor = NUMBER | 2 # 2x, 3y STAddition = OPERATOR | OPERATOR_PRIORITY_1 | 2 STSubtraction = OPERATOR | OPERATOR_PRIORITY_1 | 3 STMultiplication = OPERATOR | OPERATOR_PRIORITY_2 | 4 STDivision = OPERATOR | OPERATOR_PRIORITY_2 | 5 STExponent = OPERATOR | OPERATOR_PRIORITY_4 | 6 STRoot = OPERATOR | OPERATOR_PRIORITY_4 | 7 STOpenParenthesis = OTHER | 1 STCloseParenthesis = OTHER | 2 class Symbol: def __init__(self, data: list, symbol_type: int, index: int, length: int): # All data of the symbol (e.g. : [] : operator, [value] : digit, [value, unknowns] for unknowns factor self.data = data self.type = symbol_type self.index_in_equation = index self.length_in_equation = length
number = 1 << 15 operator = 1 << 16 function = 1 << 17 other = 1 << 18 operator_priority_1 = 1 << 10 operator_priority_2 = 1 << 11 operator_priority_3 = 1 << 12 operator_priority_4 = 1 << 13 st_undefined = 0 st_number = NUMBER | 1 st_factor = NUMBER | 2 st_addition = OPERATOR | OPERATOR_PRIORITY_1 | 2 st_subtraction = OPERATOR | OPERATOR_PRIORITY_1 | 3 st_multiplication = OPERATOR | OPERATOR_PRIORITY_2 | 4 st_division = OPERATOR | OPERATOR_PRIORITY_2 | 5 st_exponent = OPERATOR | OPERATOR_PRIORITY_4 | 6 st_root = OPERATOR | OPERATOR_PRIORITY_4 | 7 st_open_parenthesis = OTHER | 1 st_close_parenthesis = OTHER | 2 class Symbol: def __init__(self, data: list, symbol_type: int, index: int, length: int): self.data = data self.type = symbol_type self.index_in_equation = index self.length_in_equation = length
# test for function notation def helloworld(txt:dict(type=str,help='input text')): print(txt) if __name__ == '__main__' : helloworld('hawken') print(helloworld.__annotations__)
def helloworld(txt: dict(type=str, help='input text')): print(txt) if __name__ == '__main__': helloworld('hawken') print(helloworld.__annotations__)
ADMINS = () MANAGERS = ADMINS DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:", } } REST_FRAMEWORK = { 'DEFAULT_PERMISSION_CLASSES': ( 'rest_framework.permissions.IsAuthenticated', ), 'DEFAULT_RENDERER_CLASSES': ( 'rest_framework.renderers.JSONRenderer', ), } ALLOWED_HOSTS = [] TIME_ZONE = "UTC" MEDIA_ROOT = "" MEDIA_URL = "" STATIC_ROOT = "" STATIC_URL = "/static/" STATICFILES_DIRS = () STATICFILES_FINDERS = ( "django.contrib.staticfiles.finders.FileSystemFinder", "django.contrib.staticfiles.finders.AppDirectoriesFinder", ) SECRET_KEY = "1234567890" TEMPLATES = [ { "BACKEND": "django.template.backends.django.DjangoTemplates", "DIRS": [], "APP_DIRS": True, "OPTIONS": { "debug": True, "context_processors": [ "django.contrib.auth.context_processors.auth", "django.template.context_processors.debug", "django.template.context_processors.i18n", "django.template.context_processors.media", "django.template.context_processors.static", "django.template.context_processors.tz", "django.contrib.messages.context_processors.messages", ], }, }, ] MIDDLEWARE = ( "django.middleware.common.CommonMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", "django.middleware.csrf.CsrfViewMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware", "django.contrib.messages.middleware.MessageMiddleware", ) ROOT_URLCONF = "tests.urls" INSTALLED_APPS = ( "django.contrib.auth", "django.contrib.contenttypes", "django.contrib.sessions", "django.contrib.sites", "django.contrib.staticfiles", "django.contrib.admin", "django.contrib.messages", "rest_framework", "drf_stripe", "tests", ) USE_TZ = True
admins = () managers = ADMINS databases = {'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:'}} rest_framework = {'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',), 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',)} allowed_hosts = [] time_zone = 'UTC' media_root = '' media_url = '' static_root = '' static_url = '/static/' staticfiles_dirs = () staticfiles_finders = ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') secret_key = '1234567890' templates = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, 'OPTIONS': {'debug': True, 'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages']}}] middleware = ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') root_urlconf = 'tests.urls' installed_apps = ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.messages', 'rest_framework', 'drf_stripe', 'tests') use_tz = True
# Motor Controller class initialization constants ZERO_POWER = 309 # Value to set thrusters to 0 power NEG_MAX_POWER = 226 # Value to set thrusters to max negative power POS_MAX_POWER = 391 # Value to set thrusters to max positive power FREQUENCY = 49.5 # Frequency at which the i2c to pwm will be updated POWER_THRESH = 115 # Power threshold for each individual thruster in Watts # Tool Pin Placements MANIPULATOR_PIN = 15 OBS_TOOL_PIN = 14 REVERSE_POLARITY = []
zero_power = 309 neg_max_power = 226 pos_max_power = 391 frequency = 49.5 power_thresh = 115 manipulator_pin = 15 obs_tool_pin = 14 reverse_polarity = []
class Solution: def checkIfExist(self, arr: List[int]) -> bool: for i in range(len(arr)): for j in range(len(arr)): if i != j and arr[i] == 2*arr[j]: return True return False
class Solution: def check_if_exist(self, arr: List[int]) -> bool: for i in range(len(arr)): for j in range(len(arr)): if i != j and arr[i] == 2 * arr[j]: return True return False
def pattern(N): if(N==2): for i in range(N): print(("#"*1+" ")*N) if(N==3): for i in range(N-1): print(("#"*2+" ")*N) if(N==4): for i in range(N-2): print(("#"*3+" ")*N) pattern(2) pattern(3) pattern(4)
def pattern(N): if N == 2: for i in range(N): print(('#' * 1 + ' ') * N) if N == 3: for i in range(N - 1): print(('#' * 2 + ' ') * N) if N == 4: for i in range(N - 2): print(('#' * 3 + ' ') * N) pattern(2) pattern(3) pattern(4)
# import numpy as np # a = np.array([17,22,4,2,14,24,0,5,8,7,27,28,15,25,12,9,20,3,29,16,10,6,1,13,18,23,11,26,21,19]) # np.random.shuffle(a) # print(a.tolist()) # np.random.shuffle(a) # print(a.tolist()) # np.random.shuffle(a) # print(a.tolist()) need_rerun = [ {'bodies': [300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315], 'seed': 4, 'method': 'align'}, {'bodies': [300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315], 'seed': 6, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 0, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 4, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 6, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 0, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 3, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 5, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 6, 'method': 'random'}, {'bodies': [600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615], 'seed': 4, 'method': 'align'}, {'bodies': [600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615], 'seed': 6, 'method': 'align'}] print("\n"*2) for r in need_rerun: cmd = f"sbatch -J exp_010_rerun submit.sh python 1.train.py --seed={r['seed']} --train_bodies={','.join([str(x) for x in r['bodies']])} --test_bodies={','.join([str(x) for x in r['bodies']])}" if r["method"]=='random': cmd += " --random_align_obs" print(cmd) print("\n"*2)
need_rerun = [{'bodies': [300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315], 'seed': 4, 'method': 'align'}, {'bodies': [300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315], 'seed': 6, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 0, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 4, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 6, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 0, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 3, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 5, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 6, 'method': 'random'}, {'bodies': [600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615], 'seed': 4, 'method': 'align'}, {'bodies': [600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615], 'seed': 6, 'method': 'align'}] print('\n' * 2) for r in need_rerun: cmd = f"sbatch -J exp_010_rerun submit.sh python 1.train.py --seed={r['seed']} --train_bodies={','.join([str(x) for x in r['bodies']])} --test_bodies={','.join([str(x) for x in r['bodies']])}" if r['method'] == 'random': cmd += ' --random_align_obs' print(cmd) print('\n' * 2)
class _Food: color = (107, 0, 0) def __init__(self, pos_x, pos_y, live = 100): self.pos_x = pos_x self.pos_y = pos_y self.live = live def get_pos_x(self): return self.pos_x def get_pos_y(self): return self.pos_y def live_decrement(self): self.live -=1
class _Food: color = (107, 0, 0) def __init__(self, pos_x, pos_y, live=100): self.pos_x = pos_x self.pos_y = pos_y self.live = live def get_pos_x(self): return self.pos_x def get_pos_y(self): return self.pos_y def live_decrement(self): self.live -= 1
while True: print('Enter you age: ') age = input() if age.isdecimal(): break print('Please enter a number for age') while True: print('Select a new password (letters and numbers only):') password = input() if password.isalnum(): break print('Passwords can only have letters and numbers')
while True: print('Enter you age: ') age = input() if age.isdecimal(): break print('Please enter a number for age') while True: print('Select a new password (letters and numbers only):') password = input() if password.isalnum(): break print('Passwords can only have letters and numbers')
# -*- coding: utf-8 -*- class ApiException(Exception): errors = [] def __init__(self, errors, code): self.errors = errors self.code = code
class Apiexception(Exception): errors = [] def __init__(self, errors, code): self.errors = errors self.code = code
# # PySNMP MIB module HP-ICF-DHCPv6-SNOOP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HP-ICF-DHCPv6-SNOOP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:21:15 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint") hpSwitch, = mibBuilder.importSymbols("HP-ICF-OID", "hpSwitch") VidList, = mibBuilder.importSymbols("HP-ICF-TC", "VidList") hpicfSaviObjectsPortEntry, hpicfSaviObjectsBindingEntry = mibBuilder.importSymbols("HPICF-SAVI-MIB", "hpicfSaviObjectsPortEntry", "hpicfSaviObjectsBindingEntry") InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress") VlanIndex, = mibBuilder.importSymbols("Q-BRIDGE-MIB", "VlanIndex") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance") NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, IpAddress, TimeTicks, iso, ModuleIdentity, Gauge32, Counter32, MibIdentifier, Bits, Unsigned32, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "IpAddress", "TimeTicks", "iso", "ModuleIdentity", "Gauge32", "Counter32", "MibIdentifier", "Bits", "Unsigned32", "Counter64") RowStatus, TruthValue, TextualConvention, DateAndTime, MacAddress, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue", "TextualConvention", "DateAndTime", "MacAddress", "DisplayString") hpicfDSnoopV6 = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102)) hpicfDSnoopV6.setRevisions(('2017-11-08 00:00', '2015-01-28 00:00', '2013-10-06 00:00', '2013-04-30 00:00',)) if mibBuilder.loadTexts: hpicfDSnoopV6.setLastUpdated('201711080000Z') if mibBuilder.loadTexts: hpicfDSnoopV6.setOrganization('HP Networking') hpicfDSnoopV6Notifications = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0)) hpicfDSnoopV6Objects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1)) hpicfDSnoopV6Config = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1)) hpicfDSnoopV6GlobalCfg = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1)) hpicfDSnoopV6Enable = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6Enable.setStatus('current') hpicfDSnoopV6VlanEnable = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 2), VidList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6VlanEnable.setStatus('current') hpicfDSnoopV6DatabaseFile = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 3), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseFile.setStatus('current') hpicfDSnoopV6DatabaseWriteDelay = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(15, 86400))).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseWriteDelay.setStatus('current') hpicfDSnoopV6DatabaseWriteTimeout = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 86400))).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseWriteTimeout.setStatus('current') hpicfDSnoopV6OutOfResourcesTrapCtrl = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6OutOfResourcesTrapCtrl.setStatus('current') hpicfDSnoopV6ErrantReplyTrapCtrl = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6ErrantReplyTrapCtrl.setStatus('current') hpicfDSnoopV6DatabaseFTPort = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseFTPort.setStatus('current') hpicfDSnoopV6DatabaseSFTPUsername = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 9), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseSFTPUsername.setStatus('current') hpicfDSnoopV6DatabaseSFTPPassword = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 10), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseSFTPPassword.setStatus('current') hpicfDSnoopV6DatabaseValidateSFTPServer = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseValidateSFTPServer.setStatus('current') hpicfDSnoopV6AuthorizedServerTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2), ) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerTable.setStatus('current') hpicfDSnoopV6AuthorizedServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1), ).setIndexNames((0, "HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6AuthorizedServerAddrType"), (0, "HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6AuthorizedServerAddress")) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerEntry.setStatus('current') hpicfDSnoopV6AuthorizedServerAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 1), InetAddressType()) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerAddrType.setStatus('current') hpicfDSnoopV6AuthorizedServerAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(16, 16), ValueSizeConstraint(20, 20), ))) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerAddress.setStatus('current') hpicfDSnoopV6AuthorizedServerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerStatus.setStatus('current') hpicfDSnoopV6GlobalStats = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2)) hpicfDSnoopV6CSForwards = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6CSForwards.setStatus('current') hpicfDSnoopV6CSMACMismatches = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6CSMACMismatches.setStatus('current') hpicfDSnoopV6CSBadReleases = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6CSBadReleases.setStatus('current') hpicfDSnoopV6CSUntrustedDestPorts = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6CSUntrustedDestPorts.setStatus('current') hpicfDSnoopV6SCForwards = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6SCForwards.setStatus('current') hpicfDSnoopV6SCUntrustedPorts = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6SCUntrustedPorts.setStatus('current') hpicfDSnoopV6SCRelayReplyUntrustedPorts = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6SCRelayReplyUntrustedPorts.setStatus('current') hpicfDSnoopV6SCUnauthorizedServers = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6SCUnauthorizedServers.setStatus('current') hpicfDSnoopV6DBFileWriteAttempts = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteAttempts.setStatus('current') hpicfDSnoopV6DBFileWriteFailures = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteFailures.setStatus('current') hpicfDSnoopV6DBFileReadStatus = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notConfigured", 1), ("inProgress", 2), ("succeeded", 3), ("failed", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6DBFileReadStatus.setStatus('current') hpicfDSnoopV6DBFileWriteStatus = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("notConfigured", 1), ("delaying", 2), ("inProgress", 3), ("succeeded", 4), ("failed", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteStatus.setStatus('current') hpicfDSnoopV6DBFileLastWriteTime = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 13), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6DBFileLastWriteTime.setStatus('current') hpicfDSnoopV6MaxbindPktsDropped = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6MaxbindPktsDropped.setStatus('current') hpicfDSnoopV6ClearStatsOptions = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 3)) hpicfDSnoopV6ClearStats = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 3, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6ClearStats.setStatus('current') hpicfDSnoopV6PortMaxBindingTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3), ) if mibBuilder.loadTexts: hpicfDSnoopV6PortMaxBindingTable.setStatus('current') hpicfDSnoopV6PortMaxBindingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1), ) hpicfSaviObjectsPortEntry.registerAugmentions(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6PortMaxBindingEntry")) hpicfDSnoopV6PortMaxBindingEntry.setIndexNames(*hpicfSaviObjectsPortEntry.getIndexNames()) if mibBuilder.loadTexts: hpicfDSnoopV6PortMaxBindingEntry.setStatus('current') hpicfDSnoopV6PortStaticBinding = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 8192))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6PortStaticBinding.setStatus('current') hpicfDSnoopV6PortDynamicBinding = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 8192))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6PortDynamicBinding.setStatus('current') hpicfDSnoopV6StaticBindingTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4), ) if mibBuilder.loadTexts: hpicfDSnoopV6StaticBindingTable.setStatus('current') hpicfDSnoopV6StaticBindingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1), ) hpicfSaviObjectsBindingEntry.registerAugmentions(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6StaticBindingEntry")) hpicfDSnoopV6StaticBindingEntry.setIndexNames(*hpicfSaviObjectsBindingEntry.getIndexNames()) if mibBuilder.loadTexts: hpicfDSnoopV6StaticBindingEntry.setStatus('current') hpicfDSnoopV6BindingVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 1), VlanIndex().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6BindingVlanId.setStatus('current') hpicfDSnoopV6BindingLLAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6BindingLLAddress.setStatus('current') hpicfDSnoopV6BindingSecVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6BindingSecVlan.setStatus('current') hpicfDSnoopV6SourceBindingOutOfResources = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 1)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingPort"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingMacAddress"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingIpAddressType"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingIpAddress"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingVlan")) if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingOutOfResources.setStatus('current') hpicfDsnoopV6SourceBindingOutOfResourcesObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2)) hpicfDsnoopV6SourceBindingPort = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 1), InterfaceIndex()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingPort.setStatus('current') hpicfDsnoopV6SourceBindingMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 2), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingMacAddress.setStatus('current') hpicfDsnoopV6SourceBindingIpAddressType = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 3), InetAddressType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingIpAddressType.setStatus('current') hpicfDsnoopV6SourceBindingIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 4), InetAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingIpAddress.setStatus('current') hpicfDsnoopV6SourceBindingVlan = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 5), VlanIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingVlan.setStatus('current') hpicfDSnoopV6SourceBindingErrantReply = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 3)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingNotifyCount"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcMAC"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcIPType"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcIP")) if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantReply.setStatus('current') hpicfDSnoopV6SourceBindingNotifyObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4)) hpicfDSnoopV6SourceBindingNotifyCount = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 1), Counter32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingNotifyCount.setStatus('current') hpicfDSnoopV6SourceBindingErrantSrcMAC = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 2), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcMAC.setStatus('current') hpicfDSnoopV6SourceBindingErrantSrcIPType = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 3), InetAddressType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcIPType.setStatus('current') hpicfDSnoopV6SourceBindingErrantSrcIP = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 4), InetAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcIP.setStatus('current') hpicfDSnoopV6Conformance = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2)) hpicfDSnoopV6Groups = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1)) hpicfDSnoopV6BaseGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 1)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6Enable"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6VlanEnable"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6CSForwards"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6CSBadReleases"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6CSUntrustedDestPorts"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6CSMACMismatches"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SCForwards"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SCUnauthorizedServers"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SCUntrustedPorts"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SCRelayReplyUntrustedPorts")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6BaseGroup = hpicfDSnoopV6BaseGroup.setStatus('current') hpicfDSnoopV6ServersGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 2)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6AuthorizedServerStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6ServersGroup = hpicfDSnoopV6ServersGroup.setStatus('current') hpicfDSnoopV6DbaseFileGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 3)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseFile"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseWriteDelay"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseWriteTimeout"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteAttempts"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteFailures"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileReadStatus"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteStatus"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileLastWriteTime")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6DbaseFileGroup = hpicfDSnoopV6DbaseFileGroup.setStatus('deprecated') hpicfDSnoopV6MaxBindingsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 4)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6MaxbindPktsDropped"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6PortStaticBinding"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6PortDynamicBinding")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6MaxBindingsGroup = hpicfDSnoopV6MaxBindingsGroup.setStatus('current') hpicfDSnoopV6StaticBindingsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 5)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6BindingVlanId"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6BindingLLAddress"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6BindingSecVlan")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6StaticBindingsGroup = hpicfDSnoopV6StaticBindingsGroup.setStatus('current') hpicfDSnoopV6ClearStatsOptionsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 6)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ClearStats")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6ClearStatsOptionsGroup = hpicfDSnoopV6ClearStatsOptionsGroup.setStatus('current') hpicfDSnoopV6TrapObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 7)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingNotifyCount"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcMAC"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcIPType"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcIP"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingPort"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingMacAddress"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingIpAddressType"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingIpAddress"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingVlan"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6OutOfResourcesTrapCtrl"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ErrantReplyTrapCtrl")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6TrapObjectsGroup = hpicfDSnoopV6TrapObjectsGroup.setStatus('current') hpicfDSnoopV6TrapsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 8)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingOutOfResources"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantReply")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6TrapsGroup = hpicfDSnoopV6TrapsGroup.setStatus('current') hpicfDSnoopV6DbaseFileGroup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 9)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseFile"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseWriteDelay"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseWriteTimeout"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteAttempts"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteFailures"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileReadStatus"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteStatus"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileLastWriteTime"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseFTPort"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseSFTPUsername"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseSFTPPassword"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseValidateSFTPServer")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6DbaseFileGroup1 = hpicfDSnoopV6DbaseFileGroup1.setStatus('current') hpicfDSnoopV6Compliances = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3)) hpicfDSnoopV6Compliance2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3, 1)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6BaseGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ServersGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DbaseFileGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6MaxBindingsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6StaticBindingsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ClearStatsOptionsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6TrapObjectsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6TrapsGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6Compliance2 = hpicfDSnoopV6Compliance2.setStatus('deprecated') hpicfDSnoopV6Compliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3, 2)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6BaseGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ServersGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6MaxBindingsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6StaticBindingsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ClearStatsOptionsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6TrapObjectsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6TrapsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DbaseFileGroup1")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6Compliance = hpicfDSnoopV6Compliance.setStatus('current') mibBuilder.exportSymbols("HP-ICF-DHCPv6-SNOOP-MIB", hpicfDSnoopV6DatabaseWriteDelay=hpicfDSnoopV6DatabaseWriteDelay, hpicfDSnoopV6MaxbindPktsDropped=hpicfDSnoopV6MaxbindPktsDropped, hpicfDSnoopV6ClearStats=hpicfDSnoopV6ClearStats, hpicfDSnoopV6BindingVlanId=hpicfDSnoopV6BindingVlanId, hpicfDSnoopV6Compliance2=hpicfDSnoopV6Compliance2, hpicfDSnoopV6AuthorizedServerAddress=hpicfDSnoopV6AuthorizedServerAddress, hpicfDSnoopV6DBFileReadStatus=hpicfDSnoopV6DBFileReadStatus, hpicfDSnoopV6SourceBindingOutOfResources=hpicfDSnoopV6SourceBindingOutOfResources, hpicfDSnoopV6DatabaseSFTPPassword=hpicfDSnoopV6DatabaseSFTPPassword, hpicfDSnoopV6AuthorizedServerTable=hpicfDSnoopV6AuthorizedServerTable, hpicfDSnoopV6PortMaxBindingEntry=hpicfDSnoopV6PortMaxBindingEntry, hpicfDSnoopV6StaticBindingTable=hpicfDSnoopV6StaticBindingTable, hpicfDSnoopV6BindingSecVlan=hpicfDSnoopV6BindingSecVlan, hpicfDSnoopV6Objects=hpicfDSnoopV6Objects, hpicfDsnoopV6SourceBindingIpAddressType=hpicfDsnoopV6SourceBindingIpAddressType, hpicfDSnoopV6VlanEnable=hpicfDSnoopV6VlanEnable, hpicfDSnoopV6SourceBindingErrantSrcIPType=hpicfDSnoopV6SourceBindingErrantSrcIPType, hpicfDSnoopV6ClearStatsOptionsGroup=hpicfDSnoopV6ClearStatsOptionsGroup, hpicfDSnoopV6CSForwards=hpicfDSnoopV6CSForwards, hpicfDSnoopV6PortDynamicBinding=hpicfDSnoopV6PortDynamicBinding, hpicfDSnoopV6DatabaseWriteTimeout=hpicfDSnoopV6DatabaseWriteTimeout, hpicfDSnoopV6DBFileWriteStatus=hpicfDSnoopV6DBFileWriteStatus, hpicfDSnoopV6SourceBindingNotifyCount=hpicfDSnoopV6SourceBindingNotifyCount, hpicfDSnoopV6SourceBindingErrantSrcIP=hpicfDSnoopV6SourceBindingErrantSrcIP, hpicfDSnoopV6MaxBindingsGroup=hpicfDSnoopV6MaxBindingsGroup, hpicfDSnoopV6AuthorizedServerAddrType=hpicfDSnoopV6AuthorizedServerAddrType, hpicfDSnoopV6DbaseFileGroup=hpicfDSnoopV6DbaseFileGroup, hpicfDSnoopV6ErrantReplyTrapCtrl=hpicfDSnoopV6ErrantReplyTrapCtrl, hpicfDSnoopV6DatabaseSFTPUsername=hpicfDSnoopV6DatabaseSFTPUsername, hpicfDSnoopV6CSUntrustedDestPorts=hpicfDSnoopV6CSUntrustedDestPorts, hpicfDSnoopV6DBFileWriteFailures=hpicfDSnoopV6DBFileWriteFailures, hpicfDSnoopV6StaticBindingEntry=hpicfDSnoopV6StaticBindingEntry, hpicfDSnoopV6Groups=hpicfDSnoopV6Groups, hpicfDsnoopV6SourceBindingOutOfResourcesObjects=hpicfDsnoopV6SourceBindingOutOfResourcesObjects, hpicfDSnoopV6SourceBindingErrantSrcMAC=hpicfDSnoopV6SourceBindingErrantSrcMAC, hpicfDSnoopV6TrapObjectsGroup=hpicfDSnoopV6TrapObjectsGroup, hpicfDSnoopV6SCUntrustedPorts=hpicfDSnoopV6SCUntrustedPorts, hpicfDSnoopV6OutOfResourcesTrapCtrl=hpicfDSnoopV6OutOfResourcesTrapCtrl, hpicfDSnoopV6CSBadReleases=hpicfDSnoopV6CSBadReleases, hpicfDSnoopV6DbaseFileGroup1=hpicfDSnoopV6DbaseFileGroup1, hpicfDSnoopV6ClearStatsOptions=hpicfDSnoopV6ClearStatsOptions, hpicfDSnoopV6DBFileLastWriteTime=hpicfDSnoopV6DBFileLastWriteTime, hpicfDSnoopV6PortStaticBinding=hpicfDSnoopV6PortStaticBinding, hpicfDSnoopV6SCForwards=hpicfDSnoopV6SCForwards, PYSNMP_MODULE_ID=hpicfDSnoopV6, hpicfDSnoopV6PortMaxBindingTable=hpicfDSnoopV6PortMaxBindingTable, hpicfDSnoopV6BindingLLAddress=hpicfDSnoopV6BindingLLAddress, hpicfDsnoopV6SourceBindingMacAddress=hpicfDsnoopV6SourceBindingMacAddress, hpicfDSnoopV6AuthorizedServerEntry=hpicfDSnoopV6AuthorizedServerEntry, hpicfDSnoopV6AuthorizedServerStatus=hpicfDSnoopV6AuthorizedServerStatus, hpicfDSnoopV6SourceBindingNotifyObjects=hpicfDSnoopV6SourceBindingNotifyObjects, hpicfDSnoopV6Conformance=hpicfDSnoopV6Conformance, hpicfDSnoopV6BaseGroup=hpicfDSnoopV6BaseGroup, hpicfDsnoopV6SourceBindingPort=hpicfDsnoopV6SourceBindingPort, hpicfDSnoopV6Compliance=hpicfDSnoopV6Compliance, hpicfDSnoopV6Enable=hpicfDSnoopV6Enable, hpicfDSnoopV6SCUnauthorizedServers=hpicfDSnoopV6SCUnauthorizedServers, hpicfDSnoopV6CSMACMismatches=hpicfDSnoopV6CSMACMismatches, hpicfDsnoopV6SourceBindingIpAddress=hpicfDsnoopV6SourceBindingIpAddress, hpicfDSnoopV6SourceBindingErrantReply=hpicfDSnoopV6SourceBindingErrantReply, hpicfDSnoopV6GlobalStats=hpicfDSnoopV6GlobalStats, hpicfDSnoopV6StaticBindingsGroup=hpicfDSnoopV6StaticBindingsGroup, hpicfDSnoopV6DatabaseFile=hpicfDSnoopV6DatabaseFile, hpicfDSnoopV6Config=hpicfDSnoopV6Config, hpicfDSnoopV6DatabaseValidateSFTPServer=hpicfDSnoopV6DatabaseValidateSFTPServer, hpicfDSnoopV6SCRelayReplyUntrustedPorts=hpicfDSnoopV6SCRelayReplyUntrustedPorts, hpicfDSnoopV6ServersGroup=hpicfDSnoopV6ServersGroup, hpicfDSnoopV6Notifications=hpicfDSnoopV6Notifications, hpicfDSnoopV6TrapsGroup=hpicfDSnoopV6TrapsGroup, hpicfDSnoopV6DBFileWriteAttempts=hpicfDSnoopV6DBFileWriteAttempts, hpicfDSnoopV6Compliances=hpicfDSnoopV6Compliances, hpicfDsnoopV6SourceBindingVlan=hpicfDsnoopV6SourceBindingVlan, hpicfDSnoopV6=hpicfDSnoopV6, hpicfDSnoopV6DatabaseFTPort=hpicfDSnoopV6DatabaseFTPort, hpicfDSnoopV6GlobalCfg=hpicfDSnoopV6GlobalCfg)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_size_constraint, value_range_constraint, constraints_union, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint') (hp_switch,) = mibBuilder.importSymbols('HP-ICF-OID', 'hpSwitch') (vid_list,) = mibBuilder.importSymbols('HP-ICF-TC', 'VidList') (hpicf_savi_objects_port_entry, hpicf_savi_objects_binding_entry) = mibBuilder.importSymbols('HPICF-SAVI-MIB', 'hpicfSaviObjectsPortEntry', 'hpicfSaviObjectsBindingEntry') (interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex') (inet_address_type, inet_address) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddress') (vlan_index,) = mibBuilder.importSymbols('Q-BRIDGE-MIB', 'VlanIndex') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance') (notification_type, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, ip_address, time_ticks, iso, module_identity, gauge32, counter32, mib_identifier, bits, unsigned32, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'IpAddress', 'TimeTicks', 'iso', 'ModuleIdentity', 'Gauge32', 'Counter32', 'MibIdentifier', 'Bits', 'Unsigned32', 'Counter64') (row_status, truth_value, textual_convention, date_and_time, mac_address, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TruthValue', 'TextualConvention', 'DateAndTime', 'MacAddress', 'DisplayString') hpicf_d_snoop_v6 = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102)) hpicfDSnoopV6.setRevisions(('2017-11-08 00:00', '2015-01-28 00:00', '2013-10-06 00:00', '2013-04-30 00:00')) if mibBuilder.loadTexts: hpicfDSnoopV6.setLastUpdated('201711080000Z') if mibBuilder.loadTexts: hpicfDSnoopV6.setOrganization('HP Networking') hpicf_d_snoop_v6_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0)) hpicf_d_snoop_v6_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1)) hpicf_d_snoop_v6_config = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1)) hpicf_d_snoop_v6_global_cfg = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1)) hpicf_d_snoop_v6_enable = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 1), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6Enable.setStatus('current') hpicf_d_snoop_v6_vlan_enable = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 2), vid_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6VlanEnable.setStatus('current') hpicf_d_snoop_v6_database_file = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 3), snmp_admin_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseFile.setStatus('current') hpicf_d_snoop_v6_database_write_delay = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(15, 86400))).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseWriteDelay.setStatus('current') hpicf_d_snoop_v6_database_write_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 86400))).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseWriteTimeout.setStatus('current') hpicf_d_snoop_v6_out_of_resources_trap_ctrl = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6OutOfResourcesTrapCtrl.setStatus('current') hpicf_d_snoop_v6_errant_reply_trap_ctrl = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6ErrantReplyTrapCtrl.setStatus('current') hpicf_d_snoop_v6_database_ft_port = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseFTPort.setStatus('current') hpicf_d_snoop_v6_database_sftp_username = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 9), snmp_admin_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseSFTPUsername.setStatus('current') hpicf_d_snoop_v6_database_sftp_password = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 10), snmp_admin_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseSFTPPassword.setStatus('current') hpicf_d_snoop_v6_database_validate_sftp_server = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseValidateSFTPServer.setStatus('current') hpicf_d_snoop_v6_authorized_server_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2)) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerTable.setStatus('current') hpicf_d_snoop_v6_authorized_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1)).setIndexNames((0, 'HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6AuthorizedServerAddrType'), (0, 'HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6AuthorizedServerAddress')) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerEntry.setStatus('current') hpicf_d_snoop_v6_authorized_server_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 1), inet_address_type()) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerAddrType.setStatus('current') hpicf_d_snoop_v6_authorized_server_address = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 2), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(16, 16), value_size_constraint(20, 20)))) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerAddress.setStatus('current') hpicf_d_snoop_v6_authorized_server_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerStatus.setStatus('current') hpicf_d_snoop_v6_global_stats = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2)) hpicf_d_snoop_v6_cs_forwards = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6CSForwards.setStatus('current') hpicf_d_snoop_v6_csmac_mismatches = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6CSMACMismatches.setStatus('current') hpicf_d_snoop_v6_cs_bad_releases = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6CSBadReleases.setStatus('current') hpicf_d_snoop_v6_cs_untrusted_dest_ports = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6CSUntrustedDestPorts.setStatus('current') hpicf_d_snoop_v6_sc_forwards = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6SCForwards.setStatus('current') hpicf_d_snoop_v6_sc_untrusted_ports = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6SCUntrustedPorts.setStatus('current') hpicf_d_snoop_v6_sc_relay_reply_untrusted_ports = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6SCRelayReplyUntrustedPorts.setStatus('current') hpicf_d_snoop_v6_sc_unauthorized_servers = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6SCUnauthorizedServers.setStatus('current') hpicf_d_snoop_v6_db_file_write_attempts = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteAttempts.setStatus('current') hpicf_d_snoop_v6_db_file_write_failures = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteFailures.setStatus('current') hpicf_d_snoop_v6_db_file_read_status = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notConfigured', 1), ('inProgress', 2), ('succeeded', 3), ('failed', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6DBFileReadStatus.setStatus('current') hpicf_d_snoop_v6_db_file_write_status = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('notConfigured', 1), ('delaying', 2), ('inProgress', 3), ('succeeded', 4), ('failed', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteStatus.setStatus('current') hpicf_d_snoop_v6_db_file_last_write_time = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 13), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6DBFileLastWriteTime.setStatus('current') hpicf_d_snoop_v6_maxbind_pkts_dropped = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6MaxbindPktsDropped.setStatus('current') hpicf_d_snoop_v6_clear_stats_options = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 3)) hpicf_d_snoop_v6_clear_stats = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 3, 1), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6ClearStats.setStatus('current') hpicf_d_snoop_v6_port_max_binding_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3)) if mibBuilder.loadTexts: hpicfDSnoopV6PortMaxBindingTable.setStatus('current') hpicf_d_snoop_v6_port_max_binding_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1)) hpicfSaviObjectsPortEntry.registerAugmentions(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6PortMaxBindingEntry')) hpicfDSnoopV6PortMaxBindingEntry.setIndexNames(*hpicfSaviObjectsPortEntry.getIndexNames()) if mibBuilder.loadTexts: hpicfDSnoopV6PortMaxBindingEntry.setStatus('current') hpicf_d_snoop_v6_port_static_binding = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 8192))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6PortStaticBinding.setStatus('current') hpicf_d_snoop_v6_port_dynamic_binding = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 8192))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6PortDynamicBinding.setStatus('current') hpicf_d_snoop_v6_static_binding_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4)) if mibBuilder.loadTexts: hpicfDSnoopV6StaticBindingTable.setStatus('current') hpicf_d_snoop_v6_static_binding_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1)) hpicfSaviObjectsBindingEntry.registerAugmentions(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6StaticBindingEntry')) hpicfDSnoopV6StaticBindingEntry.setIndexNames(*hpicfSaviObjectsBindingEntry.getIndexNames()) if mibBuilder.loadTexts: hpicfDSnoopV6StaticBindingEntry.setStatus('current') hpicf_d_snoop_v6_binding_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 1), vlan_index().subtype(subtypeSpec=value_range_constraint(1, 4094))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6BindingVlanId.setStatus('current') hpicf_d_snoop_v6_binding_ll_address = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 2), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(16, 16)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6BindingLLAddress.setStatus('current') hpicf_d_snoop_v6_binding_sec_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6BindingSecVlan.setStatus('current') hpicf_d_snoop_v6_source_binding_out_of_resources = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 1)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingPort'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingMacAddress'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingIpAddressType'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingIpAddress'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingVlan')) if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingOutOfResources.setStatus('current') hpicf_dsnoop_v6_source_binding_out_of_resources_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2)) hpicf_dsnoop_v6_source_binding_port = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 1), interface_index()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingPort.setStatus('current') hpicf_dsnoop_v6_source_binding_mac_address = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 2), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingMacAddress.setStatus('current') hpicf_dsnoop_v6_source_binding_ip_address_type = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 3), inet_address_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingIpAddressType.setStatus('current') hpicf_dsnoop_v6_source_binding_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 4), inet_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingIpAddress.setStatus('current') hpicf_dsnoop_v6_source_binding_vlan = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 5), vlan_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingVlan.setStatus('current') hpicf_d_snoop_v6_source_binding_errant_reply = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 3)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingNotifyCount'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcMAC'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcIPType'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcIP')) if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantReply.setStatus('current') hpicf_d_snoop_v6_source_binding_notify_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4)) hpicf_d_snoop_v6_source_binding_notify_count = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 1), counter32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingNotifyCount.setStatus('current') hpicf_d_snoop_v6_source_binding_errant_src_mac = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 2), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcMAC.setStatus('current') hpicf_d_snoop_v6_source_binding_errant_src_ip_type = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 3), inet_address_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcIPType.setStatus('current') hpicf_d_snoop_v6_source_binding_errant_src_ip = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 4), inet_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcIP.setStatus('current') hpicf_d_snoop_v6_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2)) hpicf_d_snoop_v6_groups = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1)) hpicf_d_snoop_v6_base_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 1)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6Enable'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6VlanEnable'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6CSForwards'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6CSBadReleases'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6CSUntrustedDestPorts'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6CSMACMismatches'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SCForwards'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SCUnauthorizedServers'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SCUntrustedPorts'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SCRelayReplyUntrustedPorts')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_base_group = hpicfDSnoopV6BaseGroup.setStatus('current') hpicf_d_snoop_v6_servers_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 2)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6AuthorizedServerStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_servers_group = hpicfDSnoopV6ServersGroup.setStatus('current') hpicf_d_snoop_v6_dbase_file_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 3)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseFile'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseWriteDelay'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseWriteTimeout'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteAttempts'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteFailures'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileReadStatus'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteStatus'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileLastWriteTime')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_dbase_file_group = hpicfDSnoopV6DbaseFileGroup.setStatus('deprecated') hpicf_d_snoop_v6_max_bindings_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 4)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6MaxbindPktsDropped'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6PortStaticBinding'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6PortDynamicBinding')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_max_bindings_group = hpicfDSnoopV6MaxBindingsGroup.setStatus('current') hpicf_d_snoop_v6_static_bindings_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 5)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6BindingVlanId'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6BindingLLAddress'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6BindingSecVlan')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_static_bindings_group = hpicfDSnoopV6StaticBindingsGroup.setStatus('current') hpicf_d_snoop_v6_clear_stats_options_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 6)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ClearStats')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_clear_stats_options_group = hpicfDSnoopV6ClearStatsOptionsGroup.setStatus('current') hpicf_d_snoop_v6_trap_objects_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 7)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingNotifyCount'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcMAC'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcIPType'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcIP'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingPort'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingMacAddress'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingIpAddressType'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingIpAddress'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingVlan'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6OutOfResourcesTrapCtrl'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ErrantReplyTrapCtrl')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_trap_objects_group = hpicfDSnoopV6TrapObjectsGroup.setStatus('current') hpicf_d_snoop_v6_traps_group = notification_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 8)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingOutOfResources'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantReply')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_traps_group = hpicfDSnoopV6TrapsGroup.setStatus('current') hpicf_d_snoop_v6_dbase_file_group1 = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 9)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseFile'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseWriteDelay'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseWriteTimeout'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteAttempts'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteFailures'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileReadStatus'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteStatus'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileLastWriteTime'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseFTPort'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseSFTPUsername'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseSFTPPassword'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseValidateSFTPServer')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_dbase_file_group1 = hpicfDSnoopV6DbaseFileGroup1.setStatus('current') hpicf_d_snoop_v6_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3)) hpicf_d_snoop_v6_compliance2 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3, 1)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6BaseGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ServersGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DbaseFileGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6MaxBindingsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6StaticBindingsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ClearStatsOptionsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6TrapObjectsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6TrapsGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_compliance2 = hpicfDSnoopV6Compliance2.setStatus('deprecated') hpicf_d_snoop_v6_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3, 2)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6BaseGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ServersGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6MaxBindingsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6StaticBindingsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ClearStatsOptionsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6TrapObjectsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6TrapsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DbaseFileGroup1')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_compliance = hpicfDSnoopV6Compliance.setStatus('current') mibBuilder.exportSymbols('HP-ICF-DHCPv6-SNOOP-MIB', hpicfDSnoopV6DatabaseWriteDelay=hpicfDSnoopV6DatabaseWriteDelay, hpicfDSnoopV6MaxbindPktsDropped=hpicfDSnoopV6MaxbindPktsDropped, hpicfDSnoopV6ClearStats=hpicfDSnoopV6ClearStats, hpicfDSnoopV6BindingVlanId=hpicfDSnoopV6BindingVlanId, hpicfDSnoopV6Compliance2=hpicfDSnoopV6Compliance2, hpicfDSnoopV6AuthorizedServerAddress=hpicfDSnoopV6AuthorizedServerAddress, hpicfDSnoopV6DBFileReadStatus=hpicfDSnoopV6DBFileReadStatus, hpicfDSnoopV6SourceBindingOutOfResources=hpicfDSnoopV6SourceBindingOutOfResources, hpicfDSnoopV6DatabaseSFTPPassword=hpicfDSnoopV6DatabaseSFTPPassword, hpicfDSnoopV6AuthorizedServerTable=hpicfDSnoopV6AuthorizedServerTable, hpicfDSnoopV6PortMaxBindingEntry=hpicfDSnoopV6PortMaxBindingEntry, hpicfDSnoopV6StaticBindingTable=hpicfDSnoopV6StaticBindingTable, hpicfDSnoopV6BindingSecVlan=hpicfDSnoopV6BindingSecVlan, hpicfDSnoopV6Objects=hpicfDSnoopV6Objects, hpicfDsnoopV6SourceBindingIpAddressType=hpicfDsnoopV6SourceBindingIpAddressType, hpicfDSnoopV6VlanEnable=hpicfDSnoopV6VlanEnable, hpicfDSnoopV6SourceBindingErrantSrcIPType=hpicfDSnoopV6SourceBindingErrantSrcIPType, hpicfDSnoopV6ClearStatsOptionsGroup=hpicfDSnoopV6ClearStatsOptionsGroup, hpicfDSnoopV6CSForwards=hpicfDSnoopV6CSForwards, hpicfDSnoopV6PortDynamicBinding=hpicfDSnoopV6PortDynamicBinding, hpicfDSnoopV6DatabaseWriteTimeout=hpicfDSnoopV6DatabaseWriteTimeout, hpicfDSnoopV6DBFileWriteStatus=hpicfDSnoopV6DBFileWriteStatus, hpicfDSnoopV6SourceBindingNotifyCount=hpicfDSnoopV6SourceBindingNotifyCount, hpicfDSnoopV6SourceBindingErrantSrcIP=hpicfDSnoopV6SourceBindingErrantSrcIP, hpicfDSnoopV6MaxBindingsGroup=hpicfDSnoopV6MaxBindingsGroup, hpicfDSnoopV6AuthorizedServerAddrType=hpicfDSnoopV6AuthorizedServerAddrType, hpicfDSnoopV6DbaseFileGroup=hpicfDSnoopV6DbaseFileGroup, hpicfDSnoopV6ErrantReplyTrapCtrl=hpicfDSnoopV6ErrantReplyTrapCtrl, hpicfDSnoopV6DatabaseSFTPUsername=hpicfDSnoopV6DatabaseSFTPUsername, hpicfDSnoopV6CSUntrustedDestPorts=hpicfDSnoopV6CSUntrustedDestPorts, hpicfDSnoopV6DBFileWriteFailures=hpicfDSnoopV6DBFileWriteFailures, hpicfDSnoopV6StaticBindingEntry=hpicfDSnoopV6StaticBindingEntry, hpicfDSnoopV6Groups=hpicfDSnoopV6Groups, hpicfDsnoopV6SourceBindingOutOfResourcesObjects=hpicfDsnoopV6SourceBindingOutOfResourcesObjects, hpicfDSnoopV6SourceBindingErrantSrcMAC=hpicfDSnoopV6SourceBindingErrantSrcMAC, hpicfDSnoopV6TrapObjectsGroup=hpicfDSnoopV6TrapObjectsGroup, hpicfDSnoopV6SCUntrustedPorts=hpicfDSnoopV6SCUntrustedPorts, hpicfDSnoopV6OutOfResourcesTrapCtrl=hpicfDSnoopV6OutOfResourcesTrapCtrl, hpicfDSnoopV6CSBadReleases=hpicfDSnoopV6CSBadReleases, hpicfDSnoopV6DbaseFileGroup1=hpicfDSnoopV6DbaseFileGroup1, hpicfDSnoopV6ClearStatsOptions=hpicfDSnoopV6ClearStatsOptions, hpicfDSnoopV6DBFileLastWriteTime=hpicfDSnoopV6DBFileLastWriteTime, hpicfDSnoopV6PortStaticBinding=hpicfDSnoopV6PortStaticBinding, hpicfDSnoopV6SCForwards=hpicfDSnoopV6SCForwards, PYSNMP_MODULE_ID=hpicfDSnoopV6, hpicfDSnoopV6PortMaxBindingTable=hpicfDSnoopV6PortMaxBindingTable, hpicfDSnoopV6BindingLLAddress=hpicfDSnoopV6BindingLLAddress, hpicfDsnoopV6SourceBindingMacAddress=hpicfDsnoopV6SourceBindingMacAddress, hpicfDSnoopV6AuthorizedServerEntry=hpicfDSnoopV6AuthorizedServerEntry, hpicfDSnoopV6AuthorizedServerStatus=hpicfDSnoopV6AuthorizedServerStatus, hpicfDSnoopV6SourceBindingNotifyObjects=hpicfDSnoopV6SourceBindingNotifyObjects, hpicfDSnoopV6Conformance=hpicfDSnoopV6Conformance, hpicfDSnoopV6BaseGroup=hpicfDSnoopV6BaseGroup, hpicfDsnoopV6SourceBindingPort=hpicfDsnoopV6SourceBindingPort, hpicfDSnoopV6Compliance=hpicfDSnoopV6Compliance, hpicfDSnoopV6Enable=hpicfDSnoopV6Enable, hpicfDSnoopV6SCUnauthorizedServers=hpicfDSnoopV6SCUnauthorizedServers, hpicfDSnoopV6CSMACMismatches=hpicfDSnoopV6CSMACMismatches, hpicfDsnoopV6SourceBindingIpAddress=hpicfDsnoopV6SourceBindingIpAddress, hpicfDSnoopV6SourceBindingErrantReply=hpicfDSnoopV6SourceBindingErrantReply, hpicfDSnoopV6GlobalStats=hpicfDSnoopV6GlobalStats, hpicfDSnoopV6StaticBindingsGroup=hpicfDSnoopV6StaticBindingsGroup, hpicfDSnoopV6DatabaseFile=hpicfDSnoopV6DatabaseFile, hpicfDSnoopV6Config=hpicfDSnoopV6Config, hpicfDSnoopV6DatabaseValidateSFTPServer=hpicfDSnoopV6DatabaseValidateSFTPServer, hpicfDSnoopV6SCRelayReplyUntrustedPorts=hpicfDSnoopV6SCRelayReplyUntrustedPorts, hpicfDSnoopV6ServersGroup=hpicfDSnoopV6ServersGroup, hpicfDSnoopV6Notifications=hpicfDSnoopV6Notifications, hpicfDSnoopV6TrapsGroup=hpicfDSnoopV6TrapsGroup, hpicfDSnoopV6DBFileWriteAttempts=hpicfDSnoopV6DBFileWriteAttempts, hpicfDSnoopV6Compliances=hpicfDSnoopV6Compliances, hpicfDsnoopV6SourceBindingVlan=hpicfDsnoopV6SourceBindingVlan, hpicfDSnoopV6=hpicfDSnoopV6, hpicfDSnoopV6DatabaseFTPort=hpicfDSnoopV6DatabaseFTPort, hpicfDSnoopV6GlobalCfg=hpicfDSnoopV6GlobalCfg)
# # PySNMP MIB module ESI-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ESI-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:52: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) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") iso, NotificationType, Counter64, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, Integer32, Counter32, ObjectIdentity, Unsigned32, MibIdentifier, enterprises, Bits, Gauge32, TimeTicks, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "NotificationType", "Counter64", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "Integer32", "Counter32", "ObjectIdentity", "Unsigned32", "MibIdentifier", "enterprises", "Bits", "Gauge32", "TimeTicks", "ModuleIdentity") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") esi = MibIdentifier((1, 3, 6, 1, 4, 1, 683)) general = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 1)) commands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 2)) esiSNMP = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 3)) esiSNMPCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 3, 2)) driver = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 4)) tokenRing = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 5)) printServers = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6)) psGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 1)) psOutput = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 2)) psProtocols = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3)) genProtocols = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 1, 15)) outputCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 2)) outputConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 3)) outputJobLog = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 6)) trCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 5, 2)) trConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 5, 3)) tcpip = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1)) netware = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2)) vines = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3)) lanManager = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 4)) eTalk = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5)) tcpipCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3)) tcpipConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4)) tcpipStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 5)) nwCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3)) nwConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4)) nwStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 5)) bvCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3)) bvConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4)) bvStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5)) eTalkCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 3)) eTalkConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4)) eTalkStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 5)) genGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: genGroupVersion.setStatus('mandatory') genMIBVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: genMIBVersion.setStatus('mandatory') genProductName = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: genProductName.setStatus('mandatory') genProductNumber = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: genProductNumber.setStatus('mandatory') genSerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: genSerialNumber.setStatus('mandatory') genHWAddress = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: genHWAddress.setStatus('mandatory') genCableType = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("tenbase2", 1), ("tenbaseT", 2), ("aui", 3), ("utp", 4), ("stp", 5), ("fiber100fx", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: genCableType.setStatus('mandatory') genDateCode = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: genDateCode.setStatus('mandatory') genVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: genVersion.setStatus('mandatory') genConfigurationDirty = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: genConfigurationDirty.setStatus('mandatory') genCompanyName = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: genCompanyName.setStatus('mandatory') genCompanyLoc = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: genCompanyLoc.setStatus('mandatory') genCompanyPhone = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: genCompanyPhone.setStatus('mandatory') genCompanyTechSupport = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: genCompanyTechSupport.setStatus('mandatory') genNumProtocols = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 15, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: genNumProtocols.setStatus('mandatory') genProtocolTable = MibTable((1, 3, 6, 1, 4, 1, 683, 1, 15, 2), ) if mibBuilder.loadTexts: genProtocolTable.setStatus('mandatory') genProtocolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1), ).setIndexNames((0, "ESI-MIB", "genProtocolIndex")) if mibBuilder.loadTexts: genProtocolEntry.setStatus('mandatory') genProtocolIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: genProtocolIndex.setStatus('mandatory') genProtocolDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: genProtocolDescr.setStatus('mandatory') genProtocolID = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("tcp-ip", 1), ("netware", 2), ("vines", 3), ("lanmanger", 4), ("ethertalk", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: genProtocolID.setStatus('mandatory') genSysUpTimeString = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 35))).setMaxAccess("readonly") if mibBuilder.loadTexts: genSysUpTimeString.setStatus('mandatory') cmdGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cmdGroupVersion.setStatus('mandatory') cmdReset = MibScalar((1, 3, 6, 1, 4, 1, 683, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cmdReset.setStatus('optional') cmdPrintConfig = MibScalar((1, 3, 6, 1, 4, 1, 683, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cmdPrintConfig.setStatus('optional') cmdRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cmdRestoreDefaults.setStatus('optional') snmpGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 3, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpGroupVersion.setStatus('mandatory') snmpRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 3, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpRestoreDefaults.setStatus('optional') snmpGetCommunityName = MibScalar((1, 3, 6, 1, 4, 1, 683, 3, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpGetCommunityName.setStatus('optional') snmpSetCommunityName = MibScalar((1, 3, 6, 1, 4, 1, 683, 3, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpSetCommunityName.setStatus('optional') snmpTrapCommunityName = MibScalar((1, 3, 6, 1, 4, 1, 683, 3, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpTrapCommunityName.setStatus('optional') driverGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverGroupVersion.setStatus('mandatory') driverRXPackets = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverRXPackets.setStatus('mandatory') driverTXPackets = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverTXPackets.setStatus('mandatory') driverRXPacketsUnavailable = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverRXPacketsUnavailable.setStatus('mandatory') driverRXPacketErrors = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverRXPacketErrors.setStatus('mandatory') driverTXPacketErrors = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverTXPacketErrors.setStatus('mandatory') driverTXPacketRetries = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverTXPacketRetries.setStatus('mandatory') driverChecksumErrors = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverChecksumErrors.setStatus('mandatory') trGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trGroupVersion.setStatus('mandatory') trRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trRestoreDefaults.setStatus('optional') trPriority = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trPriority.setStatus('optional') trEarlyTokenRelease = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trEarlyTokenRelease.setStatus('optional') trPacketSize = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("one-k", 1), ("two-k", 2), ("four-k", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trPacketSize.setStatus('optional') trRouting = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("off", 1), ("all-None", 2), ("single-All", 3), ("single-None", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trRouting.setStatus('optional') trLocallyAdminAddr = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: trLocallyAdminAddr.setStatus('optional') psGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: psGroupVersion.setStatus('mandatory') psJetAdminEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: psJetAdminEnabled.setStatus('mandatory') psVerifyConfiguration = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("getvalue", 0), ("serial-configuration", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: psVerifyConfiguration.setStatus('optional') outputGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputGroupVersion.setStatus('mandatory') outputRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputRestoreDefaults.setStatus('mandatory') outputCommandsTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2), ) if mibBuilder.loadTexts: outputCommandsTable.setStatus('mandatory') outputCommandsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2, 1), ).setIndexNames((0, "ESI-MIB", "outputIndex")) if mibBuilder.loadTexts: outputCommandsEntry.setStatus('mandatory') outputCancelCurrentJob = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputCancelCurrentJob.setStatus('optional') outputNumPorts = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputNumPorts.setStatus('mandatory') outputTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2), ) if mibBuilder.loadTexts: outputTable.setStatus('mandatory') outputEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1), ).setIndexNames((0, "ESI-MIB", "outputIndex")) if mibBuilder.loadTexts: outputEntry.setStatus('mandatory') outputIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputIndex.setStatus('mandatory') outputName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputName.setStatus('mandatory') outputStatusString = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputStatusString.setStatus('mandatory') outputStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on-Line", 1), ("off-Line", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputStatus.setStatus('mandatory') outputExtendedStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 15))).clone(namedValues=NamedValues(("none", 1), ("no-Printer-Attached", 2), ("toner-Low", 3), ("paper-Out", 4), ("paper-Jam", 5), ("door-Open", 6), ("printer-Error", 15)))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputExtendedStatus.setStatus('mandatory') outputPrinter = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("hp-III", 1), ("hp-IIISi", 2), ("ibm", 3), ("no-Specific-Printer", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputPrinter.setStatus('optional') outputLanguageSwitching = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("off", 1), ("pcl", 2), ("postScript", 3), ("als", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputLanguageSwitching.setStatus('optional') outputConfigLanguage = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("text", 1), ("pcl", 2), ("postScript", 3), ("off", 4), ("epl-zpl", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigLanguage.setStatus('mandatory') outputPCLString = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(127, 127)).setFixedLength(127)).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputPCLString.setStatus('optional') outputPSString = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(127, 127)).setFixedLength(127)).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputPSString.setStatus('optional') outputCascaded = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputCascaded.setStatus('optional') outputSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(32758, 32759, 32760, 32761, 32762, 32763, 32764, 32765, 32766, 32767))).clone(namedValues=NamedValues(("serial-infrared", 32758), ("serial-bidirectional", 32759), ("serial-unidirectional", 32760), ("serial-input", 32761), ("parallel-compatibility-no-bidi", 32762), ("ieee-1284-std-nibble-mode", 32763), ("z-Link", 32764), ("internal", 32765), ("ieee-1284-ecp-or-fast-nibble-mode", 32766), ("extendedLink", 32767)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputSetting.setStatus('mandatory') outputOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("no-Owner", 1), ("tcpip", 2), ("netware", 3), ("vines", 4), ("lanManager", 5), ("etherTalk", 6), ("config-Page", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputOwner.setStatus('mandatory') outputBIDIStatusEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputBIDIStatusEnabled.setStatus('optional') outputPrinterModel = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 60))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputPrinterModel.setStatus('optional') outputPrinterDisplay = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputPrinterDisplay.setStatus('optional') outputCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4, 8, 16, 32, 64, 128, 256, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824))).clone(namedValues=NamedValues(("serial-Uni-Baud-9600", 1), ("serial-Uni-Baud-19200", 2), ("serial-Uni-Baud-38400", 4), ("serial-Uni-Baud-57600", 8), ("serial-Uni-Baud-115200", 16), ("serial-bidi-Baud-9600", 32), ("serial-bidi-Baud-19200", 64), ("serial-bidi-Baud-38400", 128), ("serial-bidi-Baud-57600", 256), ("zpl-epl-capable", 262144), ("serial-irin", 524288), ("serial-in", 1048576), ("serial-config-settings", 2097152), ("parallel-compatibility-no-bidi", 4194304), ("ieee-1284-std-nibble-mode", 8388608), ("z-link", 16777216), ("bidirectional", 33554432), ("serial-Software-Handshake", 67108864), ("serial-Output", 134217728), ("extendedLink", 268435456), ("internal", 536870912), ("ieee-1284-ecp-or-fast-nibble-mode", 1073741824)))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputCapabilities.setStatus('mandatory') outputHandshake = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("not-Supported", 1), ("hardware-Software", 2), ("hardware", 3), ("software", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputHandshake.setStatus('optional') outputDataBits = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(7, 8, 255))).clone(namedValues=NamedValues(("seven-bits", 7), ("eight-bits", 8), ("not-Supported", 255)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputDataBits.setStatus('optional') outputStopBits = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 255))).clone(namedValues=NamedValues(("one-bit", 1), ("two-bits", 2), ("not-Supported", 255)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputStopBits.setStatus('optional') outputParity = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 255))).clone(namedValues=NamedValues(("none", 1), ("odd", 2), ("even", 3), ("not-Supported", 255)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputParity.setStatus('optional') outputBaudRate = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("unidirectional-9600", 1), ("unidirectional-19200", 2), ("unidirectional-38400", 3), ("unidirectional-57600", 4), ("unidirectional-115200", 5), ("bidirectional-9600", 6), ("bidirectional-19200", 7), ("bidirectional-38400", 8), ("bidirectional-57600", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputBaudRate.setStatus('optional') outputProtocolManager = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("protocol-none", 0), ("protocol-compatibility", 1), ("protocol-1284-4", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputProtocolManager.setStatus('optional') outputDisplayMask = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputDisplayMask.setStatus('mandatory') outputAvailableTrapsMask = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputAvailableTrapsMask.setStatus('mandatory') outputNumLogEntries = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputNumLogEntries.setStatus('mandatory') outputJobLogTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2), ) if mibBuilder.loadTexts: outputJobLogTable.setStatus('mandatory') outputJobLogEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1), ).setIndexNames((0, "ESI-MIB", "outputIndex")) if mibBuilder.loadTexts: outputJobLogEntry.setStatus('mandatory') outputJobLogInformation = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputJobLogInformation.setStatus('mandatory') outputJobLogTime = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputJobLogTime.setStatus('mandatory') outputTotalJobTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3), ) if mibBuilder.loadTexts: outputTotalJobTable.setStatus('mandatory') outputTotalJobEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1), ).setIndexNames((0, "ESI-MIB", "outputTotalJobIndex")) if mibBuilder.loadTexts: outputTotalJobEntry.setStatus('mandatory') outputTotalJobIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputTotalJobIndex.setStatus('mandatory') outputTotalJobsLogged = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputTotalJobsLogged.setStatus('mandatory') tcpipGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipGroupVersion.setStatus('mandatory') tcpipEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipEnabled.setStatus('optional') tcpipRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipRestoreDefaults.setStatus('optional') tcpipFirmwareUpgrade = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipFirmwareUpgrade.setStatus('optional') tcpipIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipIPAddress.setStatus('optional') tcpipDefaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipDefaultGateway.setStatus('optional') tcpipSubnetMask = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSubnetMask.setStatus('optional') tcpipUsingNetProtocols = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipUsingNetProtocols.setStatus('optional') tcpipBootProtocolsEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipBootProtocolsEnabled.setStatus('optional') tcpipIPAddressSource = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("permanent", 1), ("default", 2), ("rarp", 3), ("bootp", 4), ("dhcp", 5), ("glean", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipIPAddressSource.setStatus('optional') tcpipIPAddressServerAddress = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 7), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipIPAddressServerAddress.setStatus('optional') tcpipTimeoutChecking = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipTimeoutChecking.setStatus('optional') tcpipNumTraps = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipNumTraps.setStatus('mandatory') tcpipTrapTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10), ) if mibBuilder.loadTexts: tcpipTrapTable.setStatus('mandatory') tcpipTrapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1), ).setIndexNames((0, "ESI-MIB", "tcpipTrapIndex")) if mibBuilder.loadTexts: tcpipTrapEntry.setStatus('mandatory') tcpipTrapIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipTrapIndex.setStatus('mandatory') tcpipTrapDestination = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipTrapDestination.setStatus('optional') tcpipProtocolTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipProtocolTrapMask.setStatus('optional') tcpipPrinterTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipPrinterTrapMask.setStatus('optional') tcpipOutputTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipOutputTrapMask.setStatus('optional') tcpipBanners = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipBanners.setStatus('optional') tcpipWinsAddress = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 12), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWinsAddress.setStatus('optional') tcpipWinsAddressSource = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("dhcp", 1), ("permanent", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWinsAddressSource.setStatus('optional') tcpipConfigPassword = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(5, 24))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipConfigPassword.setStatus('optional') tcpipTimeoutCheckingValue = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipTimeoutCheckingValue.setStatus('optional') tcpipArpInterval = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipArpInterval.setStatus('optional') tcpipRawPortNumber = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 17), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipRawPortNumber.setStatus('optional') tcpipNumSecurity = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipNumSecurity.setStatus('mandatory') tcpipSecurityTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19), ) if mibBuilder.loadTexts: tcpipSecurityTable.setStatus('mandatory') tcpipSecurityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1), ).setIndexNames((0, "ESI-MIB", "tcpipSecurityIndex")) if mibBuilder.loadTexts: tcpipSecurityEntry.setStatus('mandatory') tcpipSecurityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipSecurityIndex.setStatus('mandatory') tcpipSecureStartIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSecureStartIPAddress.setStatus('optional') tcpipSecureEndIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSecureEndIPAddress.setStatus('optional') tcpipSecurePrinterMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSecurePrinterMask.setStatus('optional') tcpipSecureAdminEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSecureAdminEnabled.setStatus('optional') tcpipLowBandwidth = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipLowBandwidth.setStatus('optional') tcpipNumLogicalPrinters = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipNumLogicalPrinters.setStatus('mandatory') tcpipMLPTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22), ) if mibBuilder.loadTexts: tcpipMLPTable.setStatus('mandatory') tcpipMLPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1), ).setIndexNames((0, "ESI-MIB", "tcpipMLPIndex")) if mibBuilder.loadTexts: tcpipMLPEntry.setStatus('mandatory') tcpipMLPIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipMLPIndex.setStatus('optional') tcpipMLPName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPName.setStatus('optional') tcpipMLPPort = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPPort.setStatus('optional') tcpipMLPTCPPort = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPTCPPort.setStatus('optional') tcpipMLPPreString = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPPreString.setStatus('optional') tcpipMLPPostString = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPPostString.setStatus('optional') tcpipMLPDeleteBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPDeleteBytes.setStatus('optional') tcpipSmtpServerAddr = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 23), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSmtpServerAddr.setStatus('optional') tcpipNumSmtpDestinations = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 24), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipNumSmtpDestinations.setStatus('mandatory') tcpipSmtpTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25), ) if mibBuilder.loadTexts: tcpipSmtpTable.setStatus('mandatory') tcpipSmtpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1), ).setIndexNames((0, "ESI-MIB", "tcpipSmtpIndex")) if mibBuilder.loadTexts: tcpipSmtpEntry.setStatus('mandatory') tcpipSmtpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipSmtpIndex.setStatus('mandatory') tcpipSmtpEmailAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSmtpEmailAddr.setStatus('optional') tcpipSmtpProtocolMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSmtpProtocolMask.setStatus('optional') tcpipSmtpPrinterMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSmtpPrinterMask.setStatus('optional') tcpipSmtpOutputMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSmtpOutputMask.setStatus('optional') tcpipWebAdminName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 26), OctetString().subtype(subtypeSpec=ValueSizeConstraint(25, 25)).setFixedLength(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebAdminName.setStatus('optional') tcpipWebAdminPassword = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 27), OctetString().subtype(subtypeSpec=ValueSizeConstraint(25, 25)).setFixedLength(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebAdminPassword.setStatus('optional') tcpipWebUserName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 28), OctetString().subtype(subtypeSpec=ValueSizeConstraint(25, 25)).setFixedLength(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebUserName.setStatus('optional') tcpipWebUserPassword = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 29), OctetString().subtype(subtypeSpec=ValueSizeConstraint(25, 25)).setFixedLength(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebUserPassword.setStatus('optional') tcpipWebHtttpPort = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 30), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebHtttpPort.setStatus('optional') tcpipWebFaqURL = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 31), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebFaqURL.setStatus('optional') tcpipWebUpdateURL = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 32), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebUpdateURL.setStatus('optional') tcpipWebCustomLinkName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 33), OctetString().subtype(subtypeSpec=ValueSizeConstraint(25, 25)).setFixedLength(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebCustomLinkName.setStatus('optional') tcpipWebCustomLinkURL = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 34), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebCustomLinkURL.setStatus('optional') tcpipPOP3ServerAddress = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 35), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipPOP3ServerAddress.setStatus('optional') tcpipPOP3PollInterval = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 36), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipPOP3PollInterval.setStatus('mandatory') tcpipPOP3UserName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 37), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipPOP3UserName.setStatus('optional') tcpipPOP3Password = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 38), OctetString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipPOP3Password.setStatus('optional') tcpipDomainName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 39), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipDomainName.setStatus('optional') tcpipError = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipError.setStatus('optional') tcpipDisplayMask = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipDisplayMask.setStatus('mandatory') nwGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwGroupVersion.setStatus('mandatory') nwEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwEnabled.setStatus('optional') nwRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwRestoreDefaults.setStatus('optional') nwFirmwareUpgrade = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwFirmwareUpgrade.setStatus('optional') nwFrameFormat = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("unknown", 1), ("ethernet-II", 2), ("ethernet-802-3", 3), ("ethernet-802-2", 4), ("ethernet-Snap", 5), ("token-Ring", 6), ("token-Ring-Snap", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwFrameFormat.setStatus('optional') nwSetFrameFormat = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("auto-Sense", 1), ("forced-Ethernet-II", 2), ("forced-Ethernet-802-3", 3), ("forced-Ethernet-802-2", 4), ("forced-Ethernet-Snap", 5), ("forced-Token-Ring", 6), ("forced-Token-Ring-Snap", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwSetFrameFormat.setStatus('optional') nwMode = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unknown", 1), ("pserver", 2), ("rprinter", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwMode.setStatus('optional') nwPrintServerName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPrintServerName.setStatus('optional') nwPrintServerPassword = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 9))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPrintServerPassword.setStatus('optional') nwQueueScanTime = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwQueueScanTime.setStatus('optional') nwNetworkNumber = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: nwNetworkNumber.setStatus('optional') nwMaxFileServers = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwMaxFileServers.setStatus('optional') nwFileServerTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9), ) if mibBuilder.loadTexts: nwFileServerTable.setStatus('optional') nwFileServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1), ).setIndexNames((0, "ESI-MIB", "nwFileServerIndex")) if mibBuilder.loadTexts: nwFileServerEntry.setStatus('optional') nwFileServerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwFileServerIndex.setStatus('optional') nwFileServerName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwFileServerName.setStatus('optional') nwFileServerConnectionStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 258, 261, 276, 512, 515, 768, 769, 32767))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("startupInProgress", 3), ("serverReattaching", 4), ("serverNeverAttached", 5), ("pse-UNKNOWN-FILE-SERVER", 258), ("pse-NO-RESPONSE", 261), ("pse-CANT-LOGIN", 276), ("pse-NO-SUCH-QUEUE", 512), ("pse-UNABLE-TO-ATTACH-TO-QUEUE", 515), ("bad-CONNECTION", 768), ("bad-SERVICE-CONNECTION", 769), ("other", 32767)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwFileServerConnectionStatus.setStatus('optional') nwPortTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10), ) if mibBuilder.loadTexts: nwPortTable.setStatus('optional') nwPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1), ).setIndexNames((0, "ESI-MIB", "nwPortIndex")) if mibBuilder.loadTexts: nwPortEntry.setStatus('optional') nwPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwPortIndex.setStatus('optional') nwPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwPortStatus.setStatus('optional') nwPortPrinterNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortPrinterNumber.setStatus('optional') nwPortFontDownload = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabled-No-Power-Sense", 2), ("enabled-Power-Sense", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortFontDownload.setStatus('optional') nwPortPCLQueue = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortPCLQueue.setStatus('optional') nwPortPSQueue = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortPSQueue.setStatus('optional') nwPortFormsOn = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortFormsOn.setStatus('optional') nwPortFormNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortFormNumber.setStatus('optional') nwPortNotification = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortNotification.setStatus('optional') nwNumTraps = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwNumTraps.setStatus('mandatory') nwTrapTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12), ) if mibBuilder.loadTexts: nwTrapTable.setStatus('mandatory') nwTrapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1), ).setIndexNames((0, "ESI-MIB", "nwTrapIndex")) if mibBuilder.loadTexts: nwTrapEntry.setStatus('mandatory') nwTrapIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwTrapIndex.setStatus('mandatory') nwTrapDestination = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwTrapDestination.setStatus('optional') nwTrapDestinationNet = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwTrapDestinationNet.setStatus('mandatory') nwProtocolTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwProtocolTrapMask.setStatus('optional') nwPrinterTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPrinterTrapMask.setStatus('optional') nwOutputTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwOutputTrapMask.setStatus('optional') nwNDSPrintServerName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 512))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwNDSPrintServerName.setStatus('optional') nwNDSPreferredDSTree = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwNDSPreferredDSTree.setStatus('optional') nwNDSPreferredDSFileServer = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwNDSPreferredDSFileServer.setStatus('optional') nwNDSPacketCheckSumEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 16), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwNDSPacketCheckSumEnabled.setStatus('optional') nwNDSPacketSignatureLevel = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 17), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwNDSPacketSignatureLevel.setStatus('optional') nwAvailablePrintModes = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAvailablePrintModes.setStatus('optional') nwDirectPrintEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwDirectPrintEnabled.setStatus('optional') nwJAConfig = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwJAConfig.setStatus('optional') nwDisableSAP = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwDisableSAP.setStatus('optional') nwError = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 160))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwError.setStatus('optional') nwDisplayMask = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwDisplayMask.setStatus('mandatory') bvGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvGroupVersion.setStatus('mandatory') bvEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvEnabled.setStatus('optional') bvRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvRestoreDefaults.setStatus('optional') bvFirmwareUpgrade = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvFirmwareUpgrade.setStatus('optional') bvSetSequenceRouting = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("automatic-Routing", 1), ("force-Sequenced-Routing", 2), ("force-Non-Sequenced-Routing", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvSetSequenceRouting.setStatus('optional') bvDisableVPMan = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvDisableVPMan.setStatus('optional') bvLoginName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(5, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvLoginName.setStatus('optional') bvLoginPassword = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvLoginPassword.setStatus('optional') bvNumberPrintServices = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvNumberPrintServices.setStatus('optional') bvPrintServiceTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4), ) if mibBuilder.loadTexts: bvPrintServiceTable.setStatus('optional') bvPrintServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1), ).setIndexNames((0, "ESI-MIB", "bvPrintServiceIndex")) if mibBuilder.loadTexts: bvPrintServiceEntry.setStatus('optional') bvPrintServiceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPrintServiceIndex.setStatus('optional') bvPrintServiceName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvPrintServiceName.setStatus('optional') bvPrintServiceRouting = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvPrintServiceRouting.setStatus('optional') bvPnicDescription = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvPnicDescription.setStatus('optional') bvError = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 48))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvError.setStatus('optional') bvRouting = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 32766, 32767))).clone(namedValues=NamedValues(("sequenced-Routing", 1), ("non-Sequenced-Routing", 2), ("unknown-Routing", 32766), ("protocol-Disabled", 32767)))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvRouting.setStatus('optional') bvNumPrintServices = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvNumPrintServices.setStatus('optional') bvPrintServiceStatusTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4), ) if mibBuilder.loadTexts: bvPrintServiceStatusTable.setStatus('optional') bvPrintServiceStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1), ).setIndexNames((0, "ESI-MIB", "bvPSStatusIndex")) if mibBuilder.loadTexts: bvPrintServiceStatusEntry.setStatus('optional') bvPSStatusIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPSStatusIndex.setStatus('optional') bvPSName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPSName.setStatus('optional') bvPSStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 48))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPSStatus.setStatus('optional') bvPSDestination = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPSDestination.setStatus('optional') bvPrinterStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPrinterStatus.setStatus('optional') bvJobActive = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvJobActive.setStatus('optional') bvJobSource = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvJobSource.setStatus('optional') bvJobTitle = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvJobTitle.setStatus('optional') bvJobSize = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 9))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvJobSize.setStatus('optional') bvJobNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvJobNumber.setStatus('optional') lmGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 4, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmGroupVersion.setStatus('mandatory') lmEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 4, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmEnabled.setStatus('optional') eTalkGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkGroupVersion.setStatus('mandatory') eTalkEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkEnabled.setStatus('optional') eTalkRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkRestoreDefaults.setStatus('optional') eTalkNetwork = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkNetwork.setStatus('optional') eTalkNode = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkNode.setStatus('optional') eTalkNumPorts = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkNumPorts.setStatus('optional') eTalkPortTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4), ) if mibBuilder.loadTexts: eTalkPortTable.setStatus('optional') eTalkPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1), ).setIndexNames((0, "ESI-MIB", "eTalkPortIndex")) if mibBuilder.loadTexts: eTalkPortEntry.setStatus('optional') eTalkPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkPortIndex.setStatus('optional') eTalkPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkPortEnable.setStatus('optional') eTalkName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkName.setStatus('optional') eTalkActiveName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkActiveName.setStatus('optional') eTalkType1 = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkType1.setStatus('optional') eTalkType2 = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkType2.setStatus('optional') eTalkZone = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkZone.setStatus('optional') eTalkActiveZone = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkActiveZone.setStatus('optional') eTalkError = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkError.setStatus('optional') trapPrinterOnline = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,1)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterOffline = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,2)).setObjects(("ESI-MIB", "outputIndex")) trapNoPrinterAttached = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,3)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterTonerLow = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,4)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterPaperOut = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,5)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterPaperJam = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,6)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterDoorOpen = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,7)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterError = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,16)).setObjects(("ESI-MIB", "outputIndex")) mibBuilder.exportSymbols("ESI-MIB", genNumProtocols=genNumProtocols, tcpipSmtpServerAddr=tcpipSmtpServerAddr, outputStopBits=outputStopBits, genSerialNumber=genSerialNumber, tcpipWebUserName=tcpipWebUserName, nwGroupVersion=nwGroupVersion, outputPrinterDisplay=outputPrinterDisplay, cmdRestoreDefaults=cmdRestoreDefaults, tcpipArpInterval=tcpipArpInterval, genSysUpTimeString=genSysUpTimeString, tcpipSecureStartIPAddress=tcpipSecureStartIPAddress, tokenRing=tokenRing, outputConfigure=outputConfigure, outputJobLogInformation=outputJobLogInformation, tcpipConfigPassword=tcpipConfigPassword, tcpipMLPTable=tcpipMLPTable, tcpipSmtpOutputMask=tcpipSmtpOutputMask, driverGroupVersion=driverGroupVersion, tcpipSmtpPrinterMask=tcpipSmtpPrinterMask, trapPrinterTonerLow=trapPrinterTonerLow, lmGroupVersion=lmGroupVersion, tcpipNumSecurity=tcpipNumSecurity, outputTotalJobEntry=outputTotalJobEntry, commands=commands, tcpipSmtpTable=tcpipSmtpTable, snmpGroupVersion=snmpGroupVersion, psOutput=psOutput, tcpipSecureEndIPAddress=tcpipSecureEndIPAddress, tcpipPOP3UserName=tcpipPOP3UserName, genProtocolEntry=genProtocolEntry, tcpipPrinterTrapMask=tcpipPrinterTrapMask, tcpipPOP3Password=tcpipPOP3Password, cmdReset=cmdReset, cmdPrintConfig=cmdPrintConfig, outputPrinter=outputPrinter, trEarlyTokenRelease=trEarlyTokenRelease, nwCommands=nwCommands, tcpipDomainName=tcpipDomainName, nwFirmwareUpgrade=nwFirmwareUpgrade, bvPrintServiceName=bvPrintServiceName, driverTXPacketErrors=driverTXPacketErrors, outputPrinterModel=outputPrinterModel, nwFileServerConnectionStatus=nwFileServerConnectionStatus, nwFileServerIndex=nwFileServerIndex, eTalkPortIndex=eTalkPortIndex, tcpipTrapDestination=tcpipTrapDestination, outputCommandsTable=outputCommandsTable, nwNumTraps=nwNumTraps, genProtocolIndex=genProtocolIndex, nwEnabled=nwEnabled, eTalk=eTalk, nwFileServerTable=nwFileServerTable, bvPrintServiceEntry=bvPrintServiceEntry, nwNDSPacketSignatureLevel=nwNDSPacketSignatureLevel, nwNDSPacketCheckSumEnabled=nwNDSPacketCheckSumEnabled, eTalkEnabled=eTalkEnabled, outputCommands=outputCommands, nwDirectPrintEnabled=nwDirectPrintEnabled, psGroupVersion=psGroupVersion, bvPrintServiceRouting=bvPrintServiceRouting, eTalkActiveName=eTalkActiveName, outputCommandsEntry=outputCommandsEntry, nwTrapEntry=nwTrapEntry, nwNDSPreferredDSFileServer=nwNDSPreferredDSFileServer, tcpipGroupVersion=tcpipGroupVersion, tcpipSecurePrinterMask=tcpipSecurePrinterMask, bvPSName=bvPSName, tcpipWinsAddress=tcpipWinsAddress, eTalkName=eTalkName, tcpipIPAddress=tcpipIPAddress, genCableType=genCableType, nwTrapTable=nwTrapTable, trapPrinterPaperOut=trapPrinterPaperOut, trRestoreDefaults=trRestoreDefaults, tcpipTimeoutCheckingValue=tcpipTimeoutCheckingValue, bvLoginName=bvLoginName, outputGroupVersion=outputGroupVersion, trPriority=trPriority, tcpipMLPName=tcpipMLPName, outputJobLogTable=outputJobLogTable, genCompanyTechSupport=genCompanyTechSupport, tcpipWebHtttpPort=tcpipWebHtttpPort, printServers=printServers, outputDataBits=outputDataBits, nwPrinterTrapMask=nwPrinterTrapMask, genCompanyLoc=genCompanyLoc, eTalkCommands=eTalkCommands, nwAvailablePrintModes=nwAvailablePrintModes, bvFirmwareUpgrade=bvFirmwareUpgrade, bvPrinterStatus=bvPrinterStatus, trapPrinterPaperJam=trapPrinterPaperJam, nwPortPSQueue=nwPortPSQueue, nwNetworkNumber=nwNetworkNumber, nwPortPrinterNumber=nwPortPrinterNumber, outputNumPorts=outputNumPorts, bvPSStatus=bvPSStatus, genCompanyName=genCompanyName, tcpipBanners=tcpipBanners, tcpipSecurityEntry=tcpipSecurityEntry, tcpipMLPTCPPort=tcpipMLPTCPPort, nwProtocolTrapMask=nwProtocolTrapMask, outputTable=outputTable, nwMaxFileServers=nwMaxFileServers, bvPrintServiceIndex=bvPrintServiceIndex, tcpipNumSmtpDestinations=tcpipNumSmtpDestinations, bvJobSource=bvJobSource, tcpip=tcpip, tcpipMLPPreString=tcpipMLPPreString, bvPrintServiceStatusTable=bvPrintServiceStatusTable, eTalkGroupVersion=eTalkGroupVersion, genProductNumber=genProductNumber, outputConfigLanguage=outputConfigLanguage, tcpipWebUpdateURL=tcpipWebUpdateURL, tcpipTrapTable=tcpipTrapTable, driverChecksumErrors=driverChecksumErrors, outputCancelCurrentJob=outputCancelCurrentJob, tcpipSubnetMask=tcpipSubnetMask, outputBIDIStatusEnabled=outputBIDIStatusEnabled, tcpipSmtpProtocolMask=tcpipSmtpProtocolMask, snmpSetCommunityName=snmpSetCommunityName, nwPortFormsOn=nwPortFormsOn, outputTotalJobsLogged=outputTotalJobsLogged, eTalkNumPorts=eTalkNumPorts, nwQueueScanTime=nwQueueScanTime, nwPortFormNumber=nwPortFormNumber, genProductName=genProductName, psJetAdminEnabled=psJetAdminEnabled, tcpipSecureAdminEnabled=tcpipSecureAdminEnabled, nwTrapDestinationNet=nwTrapDestinationNet, tcpipMLPIndex=tcpipMLPIndex, tcpipMLPDeleteBytes=tcpipMLPDeleteBytes, esiSNMPCommands=esiSNMPCommands, driver=driver, bvJobTitle=bvJobTitle, bvSetSequenceRouting=bvSetSequenceRouting, bvStatus=bvStatus, outputDisplayMask=outputDisplayMask, tcpipPOP3PollInterval=tcpipPOP3PollInterval, vines=vines, genGroupVersion=genGroupVersion, outputOwner=outputOwner, nwFileServerName=nwFileServerName, tcpipWinsAddressSource=tcpipWinsAddressSource, bvRestoreDefaults=bvRestoreDefaults, nwPortTable=nwPortTable, trapPrinterOnline=trapPrinterOnline, trGroupVersion=trGroupVersion, tcpipNumLogicalPrinters=tcpipNumLogicalPrinters, tcpipBootProtocolsEnabled=tcpipBootProtocolsEnabled, nwFileServerEntry=nwFileServerEntry, outputAvailableTrapsMask=outputAvailableTrapsMask, trapPrinterDoorOpen=trapPrinterDoorOpen, nwTrapDestination=nwTrapDestination, eTalkError=eTalkError, tcpipSmtpEmailAddr=tcpipSmtpEmailAddr, outputEntry=outputEntry, nwPortStatus=nwPortStatus, outputPSString=outputPSString, snmpRestoreDefaults=snmpRestoreDefaults, outputParity=outputParity, tcpipConfigure=tcpipConfigure, tcpipEnabled=tcpipEnabled, tcpipNumTraps=tcpipNumTraps, outputIndex=outputIndex, nwTrapIndex=nwTrapIndex, bvLoginPassword=bvLoginPassword, eTalkRestoreDefaults=eTalkRestoreDefaults, tcpipTrapIndex=tcpipTrapIndex, nwPortEntry=nwPortEntry, tcpipSmtpIndex=tcpipSmtpIndex, snmpGetCommunityName=snmpGetCommunityName, bvNumPrintServices=bvNumPrintServices, general=general, eTalkType1=eTalkType1, bvPrintServiceStatusEntry=bvPrintServiceStatusEntry, esiSNMP=esiSNMP, tcpipTrapEntry=tcpipTrapEntry, nwPortIndex=nwPortIndex, nwPortNotification=nwPortNotification, genConfigurationDirty=genConfigurationDirty, eTalkPortEnable=eTalkPortEnable, tcpipDefaultGateway=tcpipDefaultGateway, tcpipDisplayMask=tcpipDisplayMask, outputRestoreDefaults=outputRestoreDefaults, bvJobNumber=bvJobNumber, tcpipUsingNetProtocols=tcpipUsingNetProtocols, nwMode=nwMode, bvDisableVPMan=bvDisableVPMan, nwPortFontDownload=nwPortFontDownload, driverTXPackets=driverTXPackets, tcpipMLPEntry=tcpipMLPEntry, tcpipWebFaqURL=tcpipWebFaqURL, tcpipWebAdminPassword=tcpipWebAdminPassword, tcpipSecurityTable=tcpipSecurityTable, eTalkZone=eTalkZone, trLocallyAdminAddr=trLocallyAdminAddr, tcpipCommands=tcpipCommands, tcpipIPAddressSource=tcpipIPAddressSource, nwError=nwError, lmEnabled=lmEnabled, genProtocolTable=genProtocolTable, outputJobLogTime=outputJobLogTime, nwPortPCLQueue=nwPortPCLQueue, outputJobLogEntry=outputJobLogEntry, tcpipTimeoutChecking=tcpipTimeoutChecking, eTalkActiveZone=eTalkActiveZone, eTalkNode=eTalkNode, tcpipSecurityIndex=tcpipSecurityIndex, outputProtocolManager=outputProtocolManager, tcpipProtocolTrapMask=tcpipProtocolTrapMask, tcpipSmtpEntry=tcpipSmtpEntry, outputStatus=outputStatus, driverRXPacketErrors=driverRXPacketErrors, trRouting=trRouting, tcpipStatus=tcpipStatus, cmdGroupVersion=cmdGroupVersion, nwConfigure=nwConfigure, trPacketSize=trPacketSize, tcpipRestoreDefaults=tcpipRestoreDefaults, nwJAConfig=nwJAConfig, eTalkPortTable=eTalkPortTable, nwFrameFormat=nwFrameFormat, psVerifyConfiguration=psVerifyConfiguration, tcpipWebUserPassword=tcpipWebUserPassword, netware=netware, driverTXPacketRetries=driverTXPacketRetries, outputSetting=outputSetting, bvJobActive=bvJobActive, tcpipWebCustomLinkName=tcpipWebCustomLinkName, tcpipMLPPostString=tcpipMLPPostString, lanManager=lanManager, esi=esi, trapPrinterError=trapPrinterError, outputExtendedStatus=outputExtendedStatus, outputBaudRate=outputBaudRate, genCompanyPhone=genCompanyPhone, psGeneral=psGeneral, outputName=outputName, tcpipOutputTrapMask=tcpipOutputTrapMask, trConfigure=trConfigure, bvGroupVersion=bvGroupVersion, tcpipWebAdminName=tcpipWebAdminName, psProtocols=psProtocols, eTalkStatus=eTalkStatus, nwDisplayMask=nwDisplayMask, outputLanguageSwitching=outputLanguageSwitching, nwPrintServerPassword=nwPrintServerPassword, bvEnabled=bvEnabled, bvPSDestination=bvPSDestination, bvError=bvError, eTalkPortEntry=eTalkPortEntry, driverRXPackets=driverRXPackets, trapPrinterOffline=trapPrinterOffline, tcpipIPAddressServerAddress=tcpipIPAddressServerAddress) mibBuilder.exportSymbols("ESI-MIB", nwRestoreDefaults=nwRestoreDefaults, genProtocolID=genProtocolID, outputPCLString=outputPCLString, eTalkType2=eTalkType2, trCommands=trCommands, tcpipError=tcpipError, outputHandshake=outputHandshake, tcpipPOP3ServerAddress=tcpipPOP3ServerAddress, nwSetFrameFormat=nwSetFrameFormat, outputTotalJobIndex=outputTotalJobIndex, bvRouting=bvRouting, genHWAddress=genHWAddress, outputJobLog=outputJobLog, outputStatusString=outputStatusString, outputTotalJobTable=outputTotalJobTable, trapNoPrinterAttached=trapNoPrinterAttached, outputCascaded=outputCascaded, tcpipMLPPort=tcpipMLPPort, bvConfigure=bvConfigure, bvPSStatusIndex=bvPSStatusIndex, tcpipFirmwareUpgrade=tcpipFirmwareUpgrade, nwNDSPrintServerName=nwNDSPrintServerName, tcpipLowBandwidth=tcpipLowBandwidth, bvJobSize=bvJobSize, nwPrintServerName=nwPrintServerName, driverRXPacketsUnavailable=driverRXPacketsUnavailable, nwNDSPreferredDSTree=nwNDSPreferredDSTree, genMIBVersion=genMIBVersion, genProtocols=genProtocols, genDateCode=genDateCode, snmpTrapCommunityName=snmpTrapCommunityName, outputNumLogEntries=outputNumLogEntries, bvPrintServiceTable=bvPrintServiceTable, genProtocolDescr=genProtocolDescr, bvNumberPrintServices=bvNumberPrintServices, nwDisableSAP=nwDisableSAP, tcpipWebCustomLinkURL=tcpipWebCustomLinkURL, eTalkNetwork=eTalkNetwork, genVersion=genVersion, eTalkConfigure=eTalkConfigure, outputCapabilities=outputCapabilities, bvPnicDescription=bvPnicDescription, tcpipRawPortNumber=tcpipRawPortNumber, nwOutputTrapMask=nwOutputTrapMask, nwStatus=nwStatus, bvCommands=bvCommands)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_intersection, single_value_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (iso, notification_type, counter64, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, integer32, counter32, object_identity, unsigned32, mib_identifier, enterprises, bits, gauge32, time_ticks, module_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'NotificationType', 'Counter64', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'Integer32', 'Counter32', 'ObjectIdentity', 'Unsigned32', 'MibIdentifier', 'enterprises', 'Bits', 'Gauge32', 'TimeTicks', 'ModuleIdentity') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') esi = mib_identifier((1, 3, 6, 1, 4, 1, 683)) general = mib_identifier((1, 3, 6, 1, 4, 1, 683, 1)) commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 2)) esi_snmp = mib_identifier((1, 3, 6, 1, 4, 1, 683, 3)) esi_snmp_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 3, 2)) driver = mib_identifier((1, 3, 6, 1, 4, 1, 683, 4)) token_ring = mib_identifier((1, 3, 6, 1, 4, 1, 683, 5)) print_servers = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6)) ps_general = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 1)) ps_output = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 2)) ps_protocols = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3)) gen_protocols = mib_identifier((1, 3, 6, 1, 4, 1, 683, 1, 15)) output_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 2)) output_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 3)) output_job_log = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 6)) tr_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 5, 2)) tr_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 5, 3)) tcpip = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1)) netware = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2)) vines = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3)) lan_manager = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 4)) e_talk = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5)) tcpip_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3)) tcpip_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4)) tcpip_status = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 5)) nw_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3)) nw_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4)) nw_status = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 5)) bv_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3)) bv_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4)) bv_status = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5)) e_talk_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 3)) e_talk_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4)) e_talk_status = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 5)) gen_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: genGroupVersion.setStatus('mandatory') gen_mib_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: genMIBVersion.setStatus('mandatory') gen_product_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readonly') if mibBuilder.loadTexts: genProductName.setStatus('mandatory') gen_product_number = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 5))).setMaxAccess('readonly') if mibBuilder.loadTexts: genProductNumber.setStatus('mandatory') gen_serial_number = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: genSerialNumber.setStatus('mandatory') gen_hw_address = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readonly') if mibBuilder.loadTexts: genHWAddress.setStatus('mandatory') gen_cable_type = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('tenbase2', 1), ('tenbaseT', 2), ('aui', 3), ('utp', 4), ('stp', 5), ('fiber100fx', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: genCableType.setStatus('mandatory') gen_date_code = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 10))).setMaxAccess('readonly') if mibBuilder.loadTexts: genDateCode.setStatus('mandatory') gen_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 10))).setMaxAccess('readonly') if mibBuilder.loadTexts: genVersion.setStatus('mandatory') gen_configuration_dirty = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: genConfigurationDirty.setStatus('mandatory') gen_company_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly') if mibBuilder.loadTexts: genCompanyName.setStatus('mandatory') gen_company_loc = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly') if mibBuilder.loadTexts: genCompanyLoc.setStatus('mandatory') gen_company_phone = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 15))).setMaxAccess('readonly') if mibBuilder.loadTexts: genCompanyPhone.setStatus('mandatory') gen_company_tech_support = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 14), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: genCompanyTechSupport.setStatus('mandatory') gen_num_protocols = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 15, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: genNumProtocols.setStatus('mandatory') gen_protocol_table = mib_table((1, 3, 6, 1, 4, 1, 683, 1, 15, 2)) if mibBuilder.loadTexts: genProtocolTable.setStatus('mandatory') gen_protocol_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1)).setIndexNames((0, 'ESI-MIB', 'genProtocolIndex')) if mibBuilder.loadTexts: genProtocolEntry.setStatus('mandatory') gen_protocol_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: genProtocolIndex.setStatus('mandatory') gen_protocol_descr = mib_table_column((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: genProtocolDescr.setStatus('mandatory') gen_protocol_id = mib_table_column((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('tcp-ip', 1), ('netware', 2), ('vines', 3), ('lanmanger', 4), ('ethertalk', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: genProtocolID.setStatus('mandatory') gen_sys_up_time_string = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 16), display_string().subtype(subtypeSpec=value_size_constraint(0, 35))).setMaxAccess('readonly') if mibBuilder.loadTexts: genSysUpTimeString.setStatus('mandatory') cmd_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cmdGroupVersion.setStatus('mandatory') cmd_reset = mib_scalar((1, 3, 6, 1, 4, 1, 683, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cmdReset.setStatus('optional') cmd_print_config = mib_scalar((1, 3, 6, 1, 4, 1, 683, 2, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cmdPrintConfig.setStatus('optional') cmd_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 2, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cmdRestoreDefaults.setStatus('optional') snmp_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 3, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snmpGroupVersion.setStatus('mandatory') snmp_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 3, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snmpRestoreDefaults.setStatus('optional') snmp_get_community_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 3, 3), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snmpGetCommunityName.setStatus('optional') snmp_set_community_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 3, 4), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snmpSetCommunityName.setStatus('optional') snmp_trap_community_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 3, 5), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snmpTrapCommunityName.setStatus('optional') driver_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverGroupVersion.setStatus('mandatory') driver_rx_packets = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverRXPackets.setStatus('mandatory') driver_tx_packets = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverTXPackets.setStatus('mandatory') driver_rx_packets_unavailable = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverRXPacketsUnavailable.setStatus('mandatory') driver_rx_packet_errors = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverRXPacketErrors.setStatus('mandatory') driver_tx_packet_errors = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverTXPacketErrors.setStatus('mandatory') driver_tx_packet_retries = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverTXPacketRetries.setStatus('mandatory') driver_checksum_errors = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverChecksumErrors.setStatus('mandatory') tr_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trGroupVersion.setStatus('mandatory') tr_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trRestoreDefaults.setStatus('optional') tr_priority = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 6))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trPriority.setStatus('optional') tr_early_token_release = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trEarlyTokenRelease.setStatus('optional') tr_packet_size = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('one-k', 1), ('two-k', 2), ('four-k', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trPacketSize.setStatus('optional') tr_routing = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('off', 1), ('all-None', 2), ('single-All', 3), ('single-None', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trRouting.setStatus('optional') tr_locally_admin_addr = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 5), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readwrite') if mibBuilder.loadTexts: trLocallyAdminAddr.setStatus('optional') ps_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: psGroupVersion.setStatus('mandatory') ps_jet_admin_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: psJetAdminEnabled.setStatus('mandatory') ps_verify_configuration = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('getvalue', 0), ('serial-configuration', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: psVerifyConfiguration.setStatus('optional') output_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputGroupVersion.setStatus('mandatory') output_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputRestoreDefaults.setStatus('mandatory') output_commands_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2)) if mibBuilder.loadTexts: outputCommandsTable.setStatus('mandatory') output_commands_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2, 1)).setIndexNames((0, 'ESI-MIB', 'outputIndex')) if mibBuilder.loadTexts: outputCommandsEntry.setStatus('mandatory') output_cancel_current_job = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputCancelCurrentJob.setStatus('optional') output_num_ports = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputNumPorts.setStatus('mandatory') output_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2)) if mibBuilder.loadTexts: outputTable.setStatus('mandatory') output_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1)).setIndexNames((0, 'ESI-MIB', 'outputIndex')) if mibBuilder.loadTexts: outputEntry.setStatus('mandatory') output_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputIndex.setStatus('mandatory') output_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 15))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputName.setStatus('mandatory') output_status_string = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputStatusString.setStatus('mandatory') output_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on-Line', 1), ('off-Line', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputStatus.setStatus('mandatory') output_extended_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 15))).clone(namedValues=named_values(('none', 1), ('no-Printer-Attached', 2), ('toner-Low', 3), ('paper-Out', 4), ('paper-Jam', 5), ('door-Open', 6), ('printer-Error', 15)))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputExtendedStatus.setStatus('mandatory') output_printer = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('hp-III', 1), ('hp-IIISi', 2), ('ibm', 3), ('no-Specific-Printer', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputPrinter.setStatus('optional') output_language_switching = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('off', 1), ('pcl', 2), ('postScript', 3), ('als', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputLanguageSwitching.setStatus('optional') output_config_language = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('text', 1), ('pcl', 2), ('postScript', 3), ('off', 4), ('epl-zpl', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigLanguage.setStatus('mandatory') output_pcl_string = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(127, 127)).setFixedLength(127)).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputPCLString.setStatus('optional') output_ps_string = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(127, 127)).setFixedLength(127)).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputPSString.setStatus('optional') output_cascaded = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputCascaded.setStatus('optional') output_setting = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(32758, 32759, 32760, 32761, 32762, 32763, 32764, 32765, 32766, 32767))).clone(namedValues=named_values(('serial-infrared', 32758), ('serial-bidirectional', 32759), ('serial-unidirectional', 32760), ('serial-input', 32761), ('parallel-compatibility-no-bidi', 32762), ('ieee-1284-std-nibble-mode', 32763), ('z-Link', 32764), ('internal', 32765), ('ieee-1284-ecp-or-fast-nibble-mode', 32766), ('extendedLink', 32767)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputSetting.setStatus('mandatory') output_owner = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('no-Owner', 1), ('tcpip', 2), ('netware', 3), ('vines', 4), ('lanManager', 5), ('etherTalk', 6), ('config-Page', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputOwner.setStatus('mandatory') output_bidi_status_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputBIDIStatusEnabled.setStatus('optional') output_printer_model = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 15), display_string().subtype(subtypeSpec=value_size_constraint(0, 60))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputPrinterModel.setStatus('optional') output_printer_display = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 16), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputPrinterDisplay.setStatus('optional') output_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4, 8, 16, 32, 64, 128, 256, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824))).clone(namedValues=named_values(('serial-Uni-Baud-9600', 1), ('serial-Uni-Baud-19200', 2), ('serial-Uni-Baud-38400', 4), ('serial-Uni-Baud-57600', 8), ('serial-Uni-Baud-115200', 16), ('serial-bidi-Baud-9600', 32), ('serial-bidi-Baud-19200', 64), ('serial-bidi-Baud-38400', 128), ('serial-bidi-Baud-57600', 256), ('zpl-epl-capable', 262144), ('serial-irin', 524288), ('serial-in', 1048576), ('serial-config-settings', 2097152), ('parallel-compatibility-no-bidi', 4194304), ('ieee-1284-std-nibble-mode', 8388608), ('z-link', 16777216), ('bidirectional', 33554432), ('serial-Software-Handshake', 67108864), ('serial-Output', 134217728), ('extendedLink', 268435456), ('internal', 536870912), ('ieee-1284-ecp-or-fast-nibble-mode', 1073741824)))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputCapabilities.setStatus('mandatory') output_handshake = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('not-Supported', 1), ('hardware-Software', 2), ('hardware', 3), ('software', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputHandshake.setStatus('optional') output_data_bits = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(7, 8, 255))).clone(namedValues=named_values(('seven-bits', 7), ('eight-bits', 8), ('not-Supported', 255)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputDataBits.setStatus('optional') output_stop_bits = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 255))).clone(namedValues=named_values(('one-bit', 1), ('two-bits', 2), ('not-Supported', 255)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputStopBits.setStatus('optional') output_parity = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 255))).clone(namedValues=named_values(('none', 1), ('odd', 2), ('even', 3), ('not-Supported', 255)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputParity.setStatus('optional') output_baud_rate = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('unidirectional-9600', 1), ('unidirectional-19200', 2), ('unidirectional-38400', 3), ('unidirectional-57600', 4), ('unidirectional-115200', 5), ('bidirectional-9600', 6), ('bidirectional-19200', 7), ('bidirectional-38400', 8), ('bidirectional-57600', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputBaudRate.setStatus('optional') output_protocol_manager = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('protocol-none', 0), ('protocol-compatibility', 1), ('protocol-1284-4', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputProtocolManager.setStatus('optional') output_display_mask = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputDisplayMask.setStatus('mandatory') output_available_traps_mask = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputAvailableTrapsMask.setStatus('mandatory') output_num_log_entries = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputNumLogEntries.setStatus('mandatory') output_job_log_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2)) if mibBuilder.loadTexts: outputJobLogTable.setStatus('mandatory') output_job_log_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1)).setIndexNames((0, 'ESI-MIB', 'outputIndex')) if mibBuilder.loadTexts: outputJobLogEntry.setStatus('mandatory') output_job_log_information = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputJobLogInformation.setStatus('mandatory') output_job_log_time = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 50))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputJobLogTime.setStatus('mandatory') output_total_job_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3)) if mibBuilder.loadTexts: outputTotalJobTable.setStatus('mandatory') output_total_job_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1)).setIndexNames((0, 'ESI-MIB', 'outputTotalJobIndex')) if mibBuilder.loadTexts: outputTotalJobEntry.setStatus('mandatory') output_total_job_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputTotalJobIndex.setStatus('mandatory') output_total_jobs_logged = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputTotalJobsLogged.setStatus('mandatory') tcpip_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipGroupVersion.setStatus('mandatory') tcpip_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipEnabled.setStatus('optional') tcpip_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipRestoreDefaults.setStatus('optional') tcpip_firmware_upgrade = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipFirmwareUpgrade.setStatus('optional') tcpip_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 1), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipIPAddress.setStatus('optional') tcpip_default_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipDefaultGateway.setStatus('optional') tcpip_subnet_mask = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSubnetMask.setStatus('optional') tcpip_using_net_protocols = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipUsingNetProtocols.setStatus('optional') tcpip_boot_protocols_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipBootProtocolsEnabled.setStatus('optional') tcpip_ip_address_source = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('permanent', 1), ('default', 2), ('rarp', 3), ('bootp', 4), ('dhcp', 5), ('glean', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipIPAddressSource.setStatus('optional') tcpip_ip_address_server_address = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 7), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipIPAddressServerAddress.setStatus('optional') tcpip_timeout_checking = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipTimeoutChecking.setStatus('optional') tcpip_num_traps = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipNumTraps.setStatus('mandatory') tcpip_trap_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10)) if mibBuilder.loadTexts: tcpipTrapTable.setStatus('mandatory') tcpip_trap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1)).setIndexNames((0, 'ESI-MIB', 'tcpipTrapIndex')) if mibBuilder.loadTexts: tcpipTrapEntry.setStatus('mandatory') tcpip_trap_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipTrapIndex.setStatus('mandatory') tcpip_trap_destination = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipTrapDestination.setStatus('optional') tcpip_protocol_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipProtocolTrapMask.setStatus('optional') tcpip_printer_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipPrinterTrapMask.setStatus('optional') tcpip_output_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipOutputTrapMask.setStatus('optional') tcpip_banners = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipBanners.setStatus('optional') tcpip_wins_address = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 12), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWinsAddress.setStatus('optional') tcpip_wins_address_source = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('dhcp', 1), ('permanent', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWinsAddressSource.setStatus('optional') tcpip_config_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 14), display_string().subtype(subtypeSpec=value_size_constraint(5, 24))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipConfigPassword.setStatus('optional') tcpip_timeout_checking_value = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipTimeoutCheckingValue.setStatus('optional') tcpip_arp_interval = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 30))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipArpInterval.setStatus('optional') tcpip_raw_port_number = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 17), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipRawPortNumber.setStatus('optional') tcpip_num_security = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipNumSecurity.setStatus('mandatory') tcpip_security_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19)) if mibBuilder.loadTexts: tcpipSecurityTable.setStatus('mandatory') tcpip_security_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1)).setIndexNames((0, 'ESI-MIB', 'tcpipSecurityIndex')) if mibBuilder.loadTexts: tcpipSecurityEntry.setStatus('mandatory') tcpip_security_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipSecurityIndex.setStatus('mandatory') tcpip_secure_start_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSecureStartIPAddress.setStatus('optional') tcpip_secure_end_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSecureEndIPAddress.setStatus('optional') tcpip_secure_printer_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSecurePrinterMask.setStatus('optional') tcpip_secure_admin_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSecureAdminEnabled.setStatus('optional') tcpip_low_bandwidth = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipLowBandwidth.setStatus('optional') tcpip_num_logical_printers = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 21), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipNumLogicalPrinters.setStatus('mandatory') tcpip_mlp_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22)) if mibBuilder.loadTexts: tcpipMLPTable.setStatus('mandatory') tcpip_mlp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1)).setIndexNames((0, 'ESI-MIB', 'tcpipMLPIndex')) if mibBuilder.loadTexts: tcpipMLPEntry.setStatus('mandatory') tcpip_mlp_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipMLPIndex.setStatus('optional') tcpip_mlp_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPName.setStatus('optional') tcpip_mlp_port = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPPort.setStatus('optional') tcpip_mlptcp_port = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPTCPPort.setStatus('optional') tcpip_mlp_pre_string = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPPreString.setStatus('optional') tcpip_mlp_post_string = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPPostString.setStatus('optional') tcpip_mlp_delete_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPDeleteBytes.setStatus('optional') tcpip_smtp_server_addr = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 23), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSmtpServerAddr.setStatus('optional') tcpip_num_smtp_destinations = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 24), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipNumSmtpDestinations.setStatus('mandatory') tcpip_smtp_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25)) if mibBuilder.loadTexts: tcpipSmtpTable.setStatus('mandatory') tcpip_smtp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1)).setIndexNames((0, 'ESI-MIB', 'tcpipSmtpIndex')) if mibBuilder.loadTexts: tcpipSmtpEntry.setStatus('mandatory') tcpip_smtp_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipSmtpIndex.setStatus('mandatory') tcpip_smtp_email_addr = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSmtpEmailAddr.setStatus('optional') tcpip_smtp_protocol_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSmtpProtocolMask.setStatus('optional') tcpip_smtp_printer_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSmtpPrinterMask.setStatus('optional') tcpip_smtp_output_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSmtpOutputMask.setStatus('optional') tcpip_web_admin_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 26), octet_string().subtype(subtypeSpec=value_size_constraint(25, 25)).setFixedLength(25)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebAdminName.setStatus('optional') tcpip_web_admin_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 27), octet_string().subtype(subtypeSpec=value_size_constraint(25, 25)).setFixedLength(25)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebAdminPassword.setStatus('optional') tcpip_web_user_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 28), octet_string().subtype(subtypeSpec=value_size_constraint(25, 25)).setFixedLength(25)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebUserName.setStatus('optional') tcpip_web_user_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 29), octet_string().subtype(subtypeSpec=value_size_constraint(25, 25)).setFixedLength(25)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebUserPassword.setStatus('optional') tcpip_web_htttp_port = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 30), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebHtttpPort.setStatus('optional') tcpip_web_faq_url = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 31), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebFaqURL.setStatus('optional') tcpip_web_update_url = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 32), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebUpdateURL.setStatus('optional') tcpip_web_custom_link_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 33), octet_string().subtype(subtypeSpec=value_size_constraint(25, 25)).setFixedLength(25)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebCustomLinkName.setStatus('optional') tcpip_web_custom_link_url = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 34), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebCustomLinkURL.setStatus('optional') tcpip_pop3_server_address = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 35), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipPOP3ServerAddress.setStatus('optional') tcpip_pop3_poll_interval = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 36), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipPOP3PollInterval.setStatus('mandatory') tcpip_pop3_user_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 37), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipPOP3UserName.setStatus('optional') tcpip_pop3_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 38), octet_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipPOP3Password.setStatus('optional') tcpip_domain_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 39), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipDomainName.setStatus('optional') tcpip_error = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 5, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipError.setStatus('optional') tcpip_display_mask = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipDisplayMask.setStatus('mandatory') nw_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwGroupVersion.setStatus('mandatory') nw_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwEnabled.setStatus('optional') nw_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwRestoreDefaults.setStatus('optional') nw_firmware_upgrade = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwFirmwareUpgrade.setStatus('optional') nw_frame_format = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('unknown', 1), ('ethernet-II', 2), ('ethernet-802-3', 3), ('ethernet-802-2', 4), ('ethernet-Snap', 5), ('token-Ring', 6), ('token-Ring-Snap', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwFrameFormat.setStatus('optional') nw_set_frame_format = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('auto-Sense', 1), ('forced-Ethernet-II', 2), ('forced-Ethernet-802-3', 3), ('forced-Ethernet-802-2', 4), ('forced-Ethernet-Snap', 5), ('forced-Token-Ring', 6), ('forced-Token-Ring-Snap', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwSetFrameFormat.setStatus('optional') nw_mode = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unknown', 1), ('pserver', 2), ('rprinter', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwMode.setStatus('optional') nw_print_server_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPrintServerName.setStatus('optional') nw_print_server_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 9))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPrintServerPassword.setStatus('optional') nw_queue_scan_time = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwQueueScanTime.setStatus('optional') nw_network_number = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 7), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly') if mibBuilder.loadTexts: nwNetworkNumber.setStatus('optional') nw_max_file_servers = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwMaxFileServers.setStatus('optional') nw_file_server_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9)) if mibBuilder.loadTexts: nwFileServerTable.setStatus('optional') nw_file_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1)).setIndexNames((0, 'ESI-MIB', 'nwFileServerIndex')) if mibBuilder.loadTexts: nwFileServerEntry.setStatus('optional') nw_file_server_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwFileServerIndex.setStatus('optional') nw_file_server_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwFileServerName.setStatus('optional') nw_file_server_connection_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 258, 261, 276, 512, 515, 768, 769, 32767))).clone(namedValues=named_values(('up', 1), ('down', 2), ('startupInProgress', 3), ('serverReattaching', 4), ('serverNeverAttached', 5), ('pse-UNKNOWN-FILE-SERVER', 258), ('pse-NO-RESPONSE', 261), ('pse-CANT-LOGIN', 276), ('pse-NO-SUCH-QUEUE', 512), ('pse-UNABLE-TO-ATTACH-TO-QUEUE', 515), ('bad-CONNECTION', 768), ('bad-SERVICE-CONNECTION', 769), ('other', 32767)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwFileServerConnectionStatus.setStatus('optional') nw_port_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10)) if mibBuilder.loadTexts: nwPortTable.setStatus('optional') nw_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1)).setIndexNames((0, 'ESI-MIB', 'nwPortIndex')) if mibBuilder.loadTexts: nwPortEntry.setStatus('optional') nw_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwPortIndex.setStatus('optional') nw_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwPortStatus.setStatus('optional') nw_port_printer_number = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortPrinterNumber.setStatus('optional') nw_port_font_download = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disabled', 1), ('enabled-No-Power-Sense', 2), ('enabled-Power-Sense', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortFontDownload.setStatus('optional') nw_port_pcl_queue = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortPCLQueue.setStatus('optional') nw_port_ps_queue = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortPSQueue.setStatus('optional') nw_port_forms_on = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortFormsOn.setStatus('optional') nw_port_form_number = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortFormNumber.setStatus('optional') nw_port_notification = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortNotification.setStatus('optional') nw_num_traps = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwNumTraps.setStatus('mandatory') nw_trap_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12)) if mibBuilder.loadTexts: nwTrapTable.setStatus('mandatory') nw_trap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1)).setIndexNames((0, 'ESI-MIB', 'nwTrapIndex')) if mibBuilder.loadTexts: nwTrapEntry.setStatus('mandatory') nw_trap_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwTrapIndex.setStatus('mandatory') nw_trap_destination = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwTrapDestination.setStatus('optional') nw_trap_destination_net = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwTrapDestinationNet.setStatus('mandatory') nw_protocol_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwProtocolTrapMask.setStatus('optional') nw_printer_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPrinterTrapMask.setStatus('optional') nw_output_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwOutputTrapMask.setStatus('optional') nw_nds_print_server_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 512))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwNDSPrintServerName.setStatus('optional') nw_nds_preferred_ds_tree = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 14), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwNDSPreferredDSTree.setStatus('optional') nw_nds_preferred_ds_file_server = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 15), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwNDSPreferredDSFileServer.setStatus('optional') nw_nds_packet_check_sum_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 16), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwNDSPacketCheckSumEnabled.setStatus('optional') nw_nds_packet_signature_level = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 17), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwNDSPacketSignatureLevel.setStatus('optional') nw_available_print_modes = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAvailablePrintModes.setStatus('optional') nw_direct_print_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwDirectPrintEnabled.setStatus('optional') nw_ja_config = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwJAConfig.setStatus('optional') nw_disable_sap = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwDisableSAP.setStatus('optional') nw_error = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 5, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 160))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwError.setStatus('optional') nw_display_mask = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwDisplayMask.setStatus('mandatory') bv_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvGroupVersion.setStatus('mandatory') bv_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvEnabled.setStatus('optional') bv_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvRestoreDefaults.setStatus('optional') bv_firmware_upgrade = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvFirmwareUpgrade.setStatus('optional') bv_set_sequence_routing = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('automatic-Routing', 1), ('force-Sequenced-Routing', 2), ('force-Non-Sequenced-Routing', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvSetSequenceRouting.setStatus('optional') bv_disable_vp_man = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvDisableVPMan.setStatus('optional') bv_login_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 1), display_string().subtype(subtypeSpec=value_size_constraint(5, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvLoginName.setStatus('optional') bv_login_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 15))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvLoginPassword.setStatus('optional') bv_number_print_services = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvNumberPrintServices.setStatus('optional') bv_print_service_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4)) if mibBuilder.loadTexts: bvPrintServiceTable.setStatus('optional') bv_print_service_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1)).setIndexNames((0, 'ESI-MIB', 'bvPrintServiceIndex')) if mibBuilder.loadTexts: bvPrintServiceEntry.setStatus('optional') bv_print_service_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPrintServiceIndex.setStatus('optional') bv_print_service_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvPrintServiceName.setStatus('optional') bv_print_service_routing = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvPrintServiceRouting.setStatus('optional') bv_pnic_description = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvPnicDescription.setStatus('optional') bv_error = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 48))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvError.setStatus('optional') bv_routing = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 32766, 32767))).clone(namedValues=named_values(('sequenced-Routing', 1), ('non-Sequenced-Routing', 2), ('unknown-Routing', 32766), ('protocol-Disabled', 32767)))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvRouting.setStatus('optional') bv_num_print_services = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvNumPrintServices.setStatus('optional') bv_print_service_status_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4)) if mibBuilder.loadTexts: bvPrintServiceStatusTable.setStatus('optional') bv_print_service_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1)).setIndexNames((0, 'ESI-MIB', 'bvPSStatusIndex')) if mibBuilder.loadTexts: bvPrintServiceStatusEntry.setStatus('optional') bv_ps_status_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPSStatusIndex.setStatus('optional') bv_ps_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPSName.setStatus('optional') bv_ps_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 48))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPSStatus.setStatus('optional') bv_ps_destination = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPSDestination.setStatus('optional') bv_printer_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPrinterStatus.setStatus('optional') bv_job_active = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvJobActive.setStatus('optional') bv_job_source = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvJobSource.setStatus('optional') bv_job_title = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvJobTitle.setStatus('optional') bv_job_size = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 9))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvJobSize.setStatus('optional') bv_job_number = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvJobNumber.setStatus('optional') lm_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 4, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lmGroupVersion.setStatus('mandatory') lm_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 4, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: lmEnabled.setStatus('optional') e_talk_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkGroupVersion.setStatus('mandatory') e_talk_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkEnabled.setStatus('optional') e_talk_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkRestoreDefaults.setStatus('optional') e_talk_network = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 1), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkNetwork.setStatus('optional') e_talk_node = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkNode.setStatus('optional') e_talk_num_ports = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkNumPorts.setStatus('optional') e_talk_port_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4)) if mibBuilder.loadTexts: eTalkPortTable.setStatus('optional') e_talk_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1)).setIndexNames((0, 'ESI-MIB', 'eTalkPortIndex')) if mibBuilder.loadTexts: eTalkPortEntry.setStatus('optional') e_talk_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkPortIndex.setStatus('optional') e_talk_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkPortEnable.setStatus('optional') e_talk_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkName.setStatus('optional') e_talk_active_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkActiveName.setStatus('optional') e_talk_type1 = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkType1.setStatus('optional') e_talk_type2 = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkType2.setStatus('optional') e_talk_zone = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkZone.setStatus('optional') e_talk_active_zone = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkActiveZone.setStatus('optional') e_talk_error = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 5, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkError.setStatus('optional') trap_printer_online = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 1)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_offline = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 2)).setObjects(('ESI-MIB', 'outputIndex')) trap_no_printer_attached = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 3)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_toner_low = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 4)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_paper_out = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 5)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_paper_jam = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 6)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_door_open = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 7)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_error = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 16)).setObjects(('ESI-MIB', 'outputIndex')) mibBuilder.exportSymbols('ESI-MIB', genNumProtocols=genNumProtocols, tcpipSmtpServerAddr=tcpipSmtpServerAddr, outputStopBits=outputStopBits, genSerialNumber=genSerialNumber, tcpipWebUserName=tcpipWebUserName, nwGroupVersion=nwGroupVersion, outputPrinterDisplay=outputPrinterDisplay, cmdRestoreDefaults=cmdRestoreDefaults, tcpipArpInterval=tcpipArpInterval, genSysUpTimeString=genSysUpTimeString, tcpipSecureStartIPAddress=tcpipSecureStartIPAddress, tokenRing=tokenRing, outputConfigure=outputConfigure, outputJobLogInformation=outputJobLogInformation, tcpipConfigPassword=tcpipConfigPassword, tcpipMLPTable=tcpipMLPTable, tcpipSmtpOutputMask=tcpipSmtpOutputMask, driverGroupVersion=driverGroupVersion, tcpipSmtpPrinterMask=tcpipSmtpPrinterMask, trapPrinterTonerLow=trapPrinterTonerLow, lmGroupVersion=lmGroupVersion, tcpipNumSecurity=tcpipNumSecurity, outputTotalJobEntry=outputTotalJobEntry, commands=commands, tcpipSmtpTable=tcpipSmtpTable, snmpGroupVersion=snmpGroupVersion, psOutput=psOutput, tcpipSecureEndIPAddress=tcpipSecureEndIPAddress, tcpipPOP3UserName=tcpipPOP3UserName, genProtocolEntry=genProtocolEntry, tcpipPrinterTrapMask=tcpipPrinterTrapMask, tcpipPOP3Password=tcpipPOP3Password, cmdReset=cmdReset, cmdPrintConfig=cmdPrintConfig, outputPrinter=outputPrinter, trEarlyTokenRelease=trEarlyTokenRelease, nwCommands=nwCommands, tcpipDomainName=tcpipDomainName, nwFirmwareUpgrade=nwFirmwareUpgrade, bvPrintServiceName=bvPrintServiceName, driverTXPacketErrors=driverTXPacketErrors, outputPrinterModel=outputPrinterModel, nwFileServerConnectionStatus=nwFileServerConnectionStatus, nwFileServerIndex=nwFileServerIndex, eTalkPortIndex=eTalkPortIndex, tcpipTrapDestination=tcpipTrapDestination, outputCommandsTable=outputCommandsTable, nwNumTraps=nwNumTraps, genProtocolIndex=genProtocolIndex, nwEnabled=nwEnabled, eTalk=eTalk, nwFileServerTable=nwFileServerTable, bvPrintServiceEntry=bvPrintServiceEntry, nwNDSPacketSignatureLevel=nwNDSPacketSignatureLevel, nwNDSPacketCheckSumEnabled=nwNDSPacketCheckSumEnabled, eTalkEnabled=eTalkEnabled, outputCommands=outputCommands, nwDirectPrintEnabled=nwDirectPrintEnabled, psGroupVersion=psGroupVersion, bvPrintServiceRouting=bvPrintServiceRouting, eTalkActiveName=eTalkActiveName, outputCommandsEntry=outputCommandsEntry, nwTrapEntry=nwTrapEntry, nwNDSPreferredDSFileServer=nwNDSPreferredDSFileServer, tcpipGroupVersion=tcpipGroupVersion, tcpipSecurePrinterMask=tcpipSecurePrinterMask, bvPSName=bvPSName, tcpipWinsAddress=tcpipWinsAddress, eTalkName=eTalkName, tcpipIPAddress=tcpipIPAddress, genCableType=genCableType, nwTrapTable=nwTrapTable, trapPrinterPaperOut=trapPrinterPaperOut, trRestoreDefaults=trRestoreDefaults, tcpipTimeoutCheckingValue=tcpipTimeoutCheckingValue, bvLoginName=bvLoginName, outputGroupVersion=outputGroupVersion, trPriority=trPriority, tcpipMLPName=tcpipMLPName, outputJobLogTable=outputJobLogTable, genCompanyTechSupport=genCompanyTechSupport, tcpipWebHtttpPort=tcpipWebHtttpPort, printServers=printServers, outputDataBits=outputDataBits, nwPrinterTrapMask=nwPrinterTrapMask, genCompanyLoc=genCompanyLoc, eTalkCommands=eTalkCommands, nwAvailablePrintModes=nwAvailablePrintModes, bvFirmwareUpgrade=bvFirmwareUpgrade, bvPrinterStatus=bvPrinterStatus, trapPrinterPaperJam=trapPrinterPaperJam, nwPortPSQueue=nwPortPSQueue, nwNetworkNumber=nwNetworkNumber, nwPortPrinterNumber=nwPortPrinterNumber, outputNumPorts=outputNumPorts, bvPSStatus=bvPSStatus, genCompanyName=genCompanyName, tcpipBanners=tcpipBanners, tcpipSecurityEntry=tcpipSecurityEntry, tcpipMLPTCPPort=tcpipMLPTCPPort, nwProtocolTrapMask=nwProtocolTrapMask, outputTable=outputTable, nwMaxFileServers=nwMaxFileServers, bvPrintServiceIndex=bvPrintServiceIndex, tcpipNumSmtpDestinations=tcpipNumSmtpDestinations, bvJobSource=bvJobSource, tcpip=tcpip, tcpipMLPPreString=tcpipMLPPreString, bvPrintServiceStatusTable=bvPrintServiceStatusTable, eTalkGroupVersion=eTalkGroupVersion, genProductNumber=genProductNumber, outputConfigLanguage=outputConfigLanguage, tcpipWebUpdateURL=tcpipWebUpdateURL, tcpipTrapTable=tcpipTrapTable, driverChecksumErrors=driverChecksumErrors, outputCancelCurrentJob=outputCancelCurrentJob, tcpipSubnetMask=tcpipSubnetMask, outputBIDIStatusEnabled=outputBIDIStatusEnabled, tcpipSmtpProtocolMask=tcpipSmtpProtocolMask, snmpSetCommunityName=snmpSetCommunityName, nwPortFormsOn=nwPortFormsOn, outputTotalJobsLogged=outputTotalJobsLogged, eTalkNumPorts=eTalkNumPorts, nwQueueScanTime=nwQueueScanTime, nwPortFormNumber=nwPortFormNumber, genProductName=genProductName, psJetAdminEnabled=psJetAdminEnabled, tcpipSecureAdminEnabled=tcpipSecureAdminEnabled, nwTrapDestinationNet=nwTrapDestinationNet, tcpipMLPIndex=tcpipMLPIndex, tcpipMLPDeleteBytes=tcpipMLPDeleteBytes, esiSNMPCommands=esiSNMPCommands, driver=driver, bvJobTitle=bvJobTitle, bvSetSequenceRouting=bvSetSequenceRouting, bvStatus=bvStatus, outputDisplayMask=outputDisplayMask, tcpipPOP3PollInterval=tcpipPOP3PollInterval, vines=vines, genGroupVersion=genGroupVersion, outputOwner=outputOwner, nwFileServerName=nwFileServerName, tcpipWinsAddressSource=tcpipWinsAddressSource, bvRestoreDefaults=bvRestoreDefaults, nwPortTable=nwPortTable, trapPrinterOnline=trapPrinterOnline, trGroupVersion=trGroupVersion, tcpipNumLogicalPrinters=tcpipNumLogicalPrinters, tcpipBootProtocolsEnabled=tcpipBootProtocolsEnabled, nwFileServerEntry=nwFileServerEntry, outputAvailableTrapsMask=outputAvailableTrapsMask, trapPrinterDoorOpen=trapPrinterDoorOpen, nwTrapDestination=nwTrapDestination, eTalkError=eTalkError, tcpipSmtpEmailAddr=tcpipSmtpEmailAddr, outputEntry=outputEntry, nwPortStatus=nwPortStatus, outputPSString=outputPSString, snmpRestoreDefaults=snmpRestoreDefaults, outputParity=outputParity, tcpipConfigure=tcpipConfigure, tcpipEnabled=tcpipEnabled, tcpipNumTraps=tcpipNumTraps, outputIndex=outputIndex, nwTrapIndex=nwTrapIndex, bvLoginPassword=bvLoginPassword, eTalkRestoreDefaults=eTalkRestoreDefaults, tcpipTrapIndex=tcpipTrapIndex, nwPortEntry=nwPortEntry, tcpipSmtpIndex=tcpipSmtpIndex, snmpGetCommunityName=snmpGetCommunityName, bvNumPrintServices=bvNumPrintServices, general=general, eTalkType1=eTalkType1, bvPrintServiceStatusEntry=bvPrintServiceStatusEntry, esiSNMP=esiSNMP, tcpipTrapEntry=tcpipTrapEntry, nwPortIndex=nwPortIndex, nwPortNotification=nwPortNotification, genConfigurationDirty=genConfigurationDirty, eTalkPortEnable=eTalkPortEnable, tcpipDefaultGateway=tcpipDefaultGateway, tcpipDisplayMask=tcpipDisplayMask, outputRestoreDefaults=outputRestoreDefaults, bvJobNumber=bvJobNumber, tcpipUsingNetProtocols=tcpipUsingNetProtocols, nwMode=nwMode, bvDisableVPMan=bvDisableVPMan, nwPortFontDownload=nwPortFontDownload, driverTXPackets=driverTXPackets, tcpipMLPEntry=tcpipMLPEntry, tcpipWebFaqURL=tcpipWebFaqURL, tcpipWebAdminPassword=tcpipWebAdminPassword, tcpipSecurityTable=tcpipSecurityTable, eTalkZone=eTalkZone, trLocallyAdminAddr=trLocallyAdminAddr, tcpipCommands=tcpipCommands, tcpipIPAddressSource=tcpipIPAddressSource, nwError=nwError, lmEnabled=lmEnabled, genProtocolTable=genProtocolTable, outputJobLogTime=outputJobLogTime, nwPortPCLQueue=nwPortPCLQueue, outputJobLogEntry=outputJobLogEntry, tcpipTimeoutChecking=tcpipTimeoutChecking, eTalkActiveZone=eTalkActiveZone, eTalkNode=eTalkNode, tcpipSecurityIndex=tcpipSecurityIndex, outputProtocolManager=outputProtocolManager, tcpipProtocolTrapMask=tcpipProtocolTrapMask, tcpipSmtpEntry=tcpipSmtpEntry, outputStatus=outputStatus, driverRXPacketErrors=driverRXPacketErrors, trRouting=trRouting, tcpipStatus=tcpipStatus, cmdGroupVersion=cmdGroupVersion, nwConfigure=nwConfigure, trPacketSize=trPacketSize, tcpipRestoreDefaults=tcpipRestoreDefaults, nwJAConfig=nwJAConfig, eTalkPortTable=eTalkPortTable, nwFrameFormat=nwFrameFormat, psVerifyConfiguration=psVerifyConfiguration, tcpipWebUserPassword=tcpipWebUserPassword, netware=netware, driverTXPacketRetries=driverTXPacketRetries, outputSetting=outputSetting, bvJobActive=bvJobActive, tcpipWebCustomLinkName=tcpipWebCustomLinkName, tcpipMLPPostString=tcpipMLPPostString, lanManager=lanManager, esi=esi, trapPrinterError=trapPrinterError, outputExtendedStatus=outputExtendedStatus, outputBaudRate=outputBaudRate, genCompanyPhone=genCompanyPhone, psGeneral=psGeneral, outputName=outputName, tcpipOutputTrapMask=tcpipOutputTrapMask, trConfigure=trConfigure, bvGroupVersion=bvGroupVersion, tcpipWebAdminName=tcpipWebAdminName, psProtocols=psProtocols, eTalkStatus=eTalkStatus, nwDisplayMask=nwDisplayMask, outputLanguageSwitching=outputLanguageSwitching, nwPrintServerPassword=nwPrintServerPassword, bvEnabled=bvEnabled, bvPSDestination=bvPSDestination, bvError=bvError, eTalkPortEntry=eTalkPortEntry, driverRXPackets=driverRXPackets, trapPrinterOffline=trapPrinterOffline, tcpipIPAddressServerAddress=tcpipIPAddressServerAddress) mibBuilder.exportSymbols('ESI-MIB', nwRestoreDefaults=nwRestoreDefaults, genProtocolID=genProtocolID, outputPCLString=outputPCLString, eTalkType2=eTalkType2, trCommands=trCommands, tcpipError=tcpipError, outputHandshake=outputHandshake, tcpipPOP3ServerAddress=tcpipPOP3ServerAddress, nwSetFrameFormat=nwSetFrameFormat, outputTotalJobIndex=outputTotalJobIndex, bvRouting=bvRouting, genHWAddress=genHWAddress, outputJobLog=outputJobLog, outputStatusString=outputStatusString, outputTotalJobTable=outputTotalJobTable, trapNoPrinterAttached=trapNoPrinterAttached, outputCascaded=outputCascaded, tcpipMLPPort=tcpipMLPPort, bvConfigure=bvConfigure, bvPSStatusIndex=bvPSStatusIndex, tcpipFirmwareUpgrade=tcpipFirmwareUpgrade, nwNDSPrintServerName=nwNDSPrintServerName, tcpipLowBandwidth=tcpipLowBandwidth, bvJobSize=bvJobSize, nwPrintServerName=nwPrintServerName, driverRXPacketsUnavailable=driverRXPacketsUnavailable, nwNDSPreferredDSTree=nwNDSPreferredDSTree, genMIBVersion=genMIBVersion, genProtocols=genProtocols, genDateCode=genDateCode, snmpTrapCommunityName=snmpTrapCommunityName, outputNumLogEntries=outputNumLogEntries, bvPrintServiceTable=bvPrintServiceTable, genProtocolDescr=genProtocolDescr, bvNumberPrintServices=bvNumberPrintServices, nwDisableSAP=nwDisableSAP, tcpipWebCustomLinkURL=tcpipWebCustomLinkURL, eTalkNetwork=eTalkNetwork, genVersion=genVersion, eTalkConfigure=eTalkConfigure, outputCapabilities=outputCapabilities, bvPnicDescription=bvPnicDescription, tcpipRawPortNumber=tcpipRawPortNumber, nwOutputTrapMask=nwOutputTrapMask, nwStatus=nwStatus, bvCommands=bvCommands)
# Copyright 2018 The go-python Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. doc="range" a = range(255) b = [e for e in a] assert len(a) == len(b) a = range(5, 100, 5) b = [e for e in a] assert len(a) == len(b) a = range(100 ,0, 1) b = [e for e in a] assert len(a) == len(b) a = range(100, 0, -1) b = [e for e in a] assert len(a) == 100 assert len(b) == 100 doc="range_get_item" a = range(3) assert a[2] == 2 assert a[1] == 1 assert a[0] == 0 assert a[-1] == 2 assert a[-2] == 1 assert a[-3] == 0 b = range(0, 10, 2) assert b[4] == 8 assert b[3] == 6 assert b[2] == 4 assert b[1] == 2 assert b[0] == 0 assert b[-4] == 2 assert b[-3] == 4 assert b[-2] == 6 assert b[-1] == 8 doc="range_eq" assert range(10) == range(0, 10) assert not range(10) == 3 assert range(20) != range(10) assert range(100, 200, 1) == range(100, 200) assert range(0, 10, 3) == range(0, 12, 3) assert range(2000, 100) == range(3, 1) assert range(0, 10, -3) == range(0, 12, -3) assert not range(0, 20, 2) == range(0, 20, 4) try: range('3', 10) == range(2) except TypeError: pass else: assert False, "TypeError not raised" doc="range_ne" assert range(10, 0, -3) != range(12, 0, -3) assert range(10) != 3 assert not range(100, 200, 1) != range(100, 200) assert range(0, 10) != range(0, 12) assert range(0, 10) != range(0, 10, 2) assert range(0, 20, 2) != range(0, 21, 2) assert range(0, 20, 2) != range(0, 20, 4) assert not range(0, 20, 3) != range(0, 20, 3) try: range('3', 10) != range(2) except TypeError: pass else: assert False, "TypeError not raised" doc="range_str" assert str(range(10)) == 'range(0, 10)' assert str(range(10, 0, 3)) == 'range(10, 0, 3)' assert str(range(0, 3)) == 'range(0, 3)' assert str(range(10, 3, -2)) == 'range(10, 3, -2)' doc="finished"
doc = 'range' a = range(255) b = [e for e in a] assert len(a) == len(b) a = range(5, 100, 5) b = [e for e in a] assert len(a) == len(b) a = range(100, 0, 1) b = [e for e in a] assert len(a) == len(b) a = range(100, 0, -1) b = [e for e in a] assert len(a) == 100 assert len(b) == 100 doc = 'range_get_item' a = range(3) assert a[2] == 2 assert a[1] == 1 assert a[0] == 0 assert a[-1] == 2 assert a[-2] == 1 assert a[-3] == 0 b = range(0, 10, 2) assert b[4] == 8 assert b[3] == 6 assert b[2] == 4 assert b[1] == 2 assert b[0] == 0 assert b[-4] == 2 assert b[-3] == 4 assert b[-2] == 6 assert b[-1] == 8 doc = 'range_eq' assert range(10) == range(0, 10) assert not range(10) == 3 assert range(20) != range(10) assert range(100, 200, 1) == range(100, 200) assert range(0, 10, 3) == range(0, 12, 3) assert range(2000, 100) == range(3, 1) assert range(0, 10, -3) == range(0, 12, -3) assert not range(0, 20, 2) == range(0, 20, 4) try: range('3', 10) == range(2) except TypeError: pass else: assert False, 'TypeError not raised' doc = 'range_ne' assert range(10, 0, -3) != range(12, 0, -3) assert range(10) != 3 assert not range(100, 200, 1) != range(100, 200) assert range(0, 10) != range(0, 12) assert range(0, 10) != range(0, 10, 2) assert range(0, 20, 2) != range(0, 21, 2) assert range(0, 20, 2) != range(0, 20, 4) assert not range(0, 20, 3) != range(0, 20, 3) try: range('3', 10) != range(2) except TypeError: pass else: assert False, 'TypeError not raised' doc = 'range_str' assert str(range(10)) == 'range(0, 10)' assert str(range(10, 0, 3)) == 'range(10, 0, 3)' assert str(range(0, 3)) == 'range(0, 3)' assert str(range(10, 3, -2)) == 'range(10, 3, -2)' doc = 'finished'
def selectionsort(arr): i=0 while(i<len(arr)): #find index of minimum number between index i and index n-1 where n=len(arr) num,ind=arr[i],i for j in range(i+1,len(arr)): if(arr[j]<num): num=arr[j] ind=j #swap number at ind with number at i temp=arr[i] arr[i]=arr[ind] arr[ind]=temp i+=1 return arr def main(): arr = [9,7,4,3,1,5,3,6,7,0] sorted_arr = selectionsort(arr) print(sorted_arr) if __name__ == "__main__": main()
def selectionsort(arr): i = 0 while i < len(arr): (num, ind) = (arr[i], i) for j in range(i + 1, len(arr)): if arr[j] < num: num = arr[j] ind = j temp = arr[i] arr[i] = arr[ind] arr[ind] = temp i += 1 return arr def main(): arr = [9, 7, 4, 3, 1, 5, 3, 6, 7, 0] sorted_arr = selectionsort(arr) print(sorted_arr) if __name__ == '__main__': main()
__title__ = 'road-surface-detection' __version__ = '0.0.0' __author__ = 'Esri Advanced Analytics Team' __license__ = 'Apache 2.0' __copyright__ = 'Copyright 2020 by Esri Advanced Analytics Team' # add specific imports below if you want more control over what is visible ## from . import utils
__title__ = 'road-surface-detection' __version__ = '0.0.0' __author__ = 'Esri Advanced Analytics Team' __license__ = 'Apache 2.0' __copyright__ = 'Copyright 2020 by Esri Advanced Analytics Team'
ImgHeight = 32 data_roots = { 'iam_word': '/mydrive/MyDrive/khoa_luan/khoa_luan/data/' } data_paths = { 'iam_word': {'trnval': 'trnvalset_words%d.hdf5'%ImgHeight, 'test': 'testset_words%d.hdf5'%ImgHeight}, 'iam_word_org': {'trnval': 'trnvalset_words%d_OrgSz.hdf5'%ImgHeight, 'test': 'testset_words%d_OrgSz.hdf5'%ImgHeight} }
img_height = 32 data_roots = {'iam_word': '/mydrive/MyDrive/khoa_luan/khoa_luan/data/'} data_paths = {'iam_word': {'trnval': 'trnvalset_words%d.hdf5' % ImgHeight, 'test': 'testset_words%d.hdf5' % ImgHeight}, 'iam_word_org': {'trnval': 'trnvalset_words%d_OrgSz.hdf5' % ImgHeight, 'test': 'testset_words%d_OrgSz.hdf5' % ImgHeight}}