content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
# fo =open("/disk/lulu/TCGA11.txt","w") with open(r"/disk/lulu/TCGA1.txt","r") as TCGA: temp=[] cancerlist=[] cancer =[] for line in TCGA: list = line.strip().split("\t") temp = list[0] cancerlist.append(temp) cancer = sorted(set(cancerlist)) print (cancer) TCGAlist=[] for item in cancer: # print (item) dict = {item: []} with open(r"/disk/lulu/TCGA1.txt", "r") as TCGA1: for line in TCGA1: list = line.strip().split("\t") if item==list[0]: dict[item].append(list[2]) TCGAlist.append(dict) print (TCGAlist) # print (dict) # temp.append(line1) # mytemp = sorted(set(temp)) # for item in mytemp: # fo.write(item+"\t"+str(round(temp.count(item)/38,2))+"\n") # # print(item+"\t"+str(round(temp.count(item)/38,2))+"\n")
with open('/disk/lulu/TCGA1.txt', 'r') as tcga: temp = [] cancerlist = [] cancer = [] for line in TCGA: list = line.strip().split('\t') temp = list[0] cancerlist.append(temp) cancer = sorted(set(cancerlist)) print(cancer) tcg_alist = [] for item in cancer: dict = {item: []} with open('/disk/lulu/TCGA1.txt', 'r') as tcga1: for line in TCGA1: list = line.strip().split('\t') if item == list[0]: dict[item].append(list[2]) TCGAlist.append(dict) print(TCGAlist)
# https://www.hackerrank.com/challenges/strange-code/problem?utm_campaign=challenge-recommendation&utm_medium=email&utm_source=24-hour-campaign starting = 3 index = 1 # time and value seperated by 2 min time,value = [],[] for i in range(1,40+1): time.append(index) # time value.append(starting) # value index = starting+index starting *= 2 cycle = list(zip(time,value)) # time t = 213921847123 # value to find in time f = 0 for i in range(len(time)): if ((t<time[i]) is True) and ((t>time[i]) is False): f = (i-1,time[i-1]) break a = abs(f[1]-t) print(value[f[0]]-a)
starting = 3 index = 1 (time, value) = ([], []) for i in range(1, 40 + 1): time.append(index) value.append(starting) index = starting + index starting *= 2 cycle = list(zip(time, value)) t = 213921847123 f = 0 for i in range(len(time)): if (t < time[i]) is True and (t > time[i]) is False: f = (i - 1, time[i - 1]) break a = abs(f[1] - t) print(value[f[0]] - a)
# # PySNMP MIB module HPN-ICF-EPON-DEVICE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HPN-ICF-EPON-DEVICE-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:38: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) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueRangeConstraint, ValueSizeConstraint, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "SingleValueConstraint") hpnicfEpon, = mibBuilder.importSymbols("HPN-ICF-OID-MIB", "hpnicfEpon") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup") MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, Integer32, TimeTicks, NotificationType, Gauge32, mib_2, ObjectIdentity, Counter64, IpAddress, zeroDotZero, iso, MibIdentifier, Counter32, ModuleIdentity, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "Integer32", "TimeTicks", "NotificationType", "Gauge32", "mib-2", "ObjectIdentity", "Counter64", "IpAddress", "zeroDotZero", "iso", "MibIdentifier", "Counter32", "ModuleIdentity", "Unsigned32") MacAddress, DateAndTime, RowStatus, TextualConvention, TruthValue, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "DateAndTime", "RowStatus", "TextualConvention", "TruthValue", "DisplayString") hpnicfEponDeviceMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4)) hpnicfEponDeviceMIB.setRevisions(('2004-09-21 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hpnicfEponDeviceMIB.setRevisionsDescriptions(('Initial version, published as RFC XXXX.',)) if mibBuilder.loadTexts: hpnicfEponDeviceMIB.setLastUpdated('200409210000Z') if mibBuilder.loadTexts: hpnicfEponDeviceMIB.setOrganization('') if mibBuilder.loadTexts: hpnicfEponDeviceMIB.setContactInfo('') if mibBuilder.loadTexts: hpnicfEponDeviceMIB.setDescription("The objects in this MIB module are used to manage Ethernet Passive Optical Network (EPON) devices which are based on the Ethernet in the First Mile (EFM) PON as defined in IEEE Draft P802.3ah/D3.0 clause 60,64,65. This MIB is excerpted from the draft files directly,only changed the object name,added the hpnicf as prefix. The following reference is used throughout this MIB module: [802.3ah] refers to: IEEE Draft P802.3ah/D3.3: 'Draft amendment to - Information technology - Telecommunications and information exchange between systems - Local and metropolitan area networks - Specific requirements - Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications - Media Access Control Parameters, Physical Layers and Management Parameters for subscriber access networks', 22 April 2004. Of particular interest are Clause 64(MPCP) 65(P2mP RS) and 60 (PON PMDs). Clause 30, 'Management', and Clause 45,'Management Data Input/Output (MDIO) Interface'. Copyright (C) The Internet Society (2004). This version of this MIB module is part of XXXX see the RFC itself for full legal notices.") hpnicfEponDeviceObjectMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1)) hpnicfEponDeviceObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1)) hpnicfEponDeviceConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2)) hpnicfEponDeviceControlObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1)) hpnicfEponDeviceStatObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2)) hpnicfEponDeviceEventObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3)) hpnicfEponDeviceControlTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1), ) if mibBuilder.loadTexts: hpnicfEponDeviceControlTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceControlTable.setDescription('Table for EPON device MIB modules.') hpnicfEponDeviceControlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hpnicfEponDeviceControlEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceControlEntry.setDescription('An entry in the EPON device Control table.') hpnicfEponDeviceObjectReset = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("running", 1), ("reset", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceObjectReset.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectReset.setDescription('This variable is used to reset the EPON device. The interface may be unavailable while the reset occurs and data may be lost. During reading operation it returns the state of the EPON device. running(1) indicates and operates normal operation, reset(2) indicates and operates reset mode. Writing can be done all the time.') hpnicfEponDeviceObjectModes = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("olt", 1), ("onu", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceObjectModes.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectModes.setDescription('This variable defines the mode of the EPON device. When an olt(1) it is an Optical Line Terminal device (server) and when an onu(2) and Optical Network Unit device (client)') hpnicfEponDeviceObjectFecEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("noFecEnabled", 1), ("fecTxEnabled", 2), ("fecRxEnabled", 3), ("fecTxRxEnabled", 4))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceObjectFecEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectFecEnabled.setDescription('This variable defines and provides information whether the EPON device uses FEC as defined in the [802.3ah] clause 65.2 for EPON. When noFECEnabled(1) the device does not support FEC mode When fecTxEnabled(2) the device supports the FEC transmission mode. When fecRxEnabled(3) the device supports the FEC Receive mode. When fecTxRxEnabled(4) the device supports the FEC transmission and receive mode. Writing can be done all the time. This attribute is relevant for an OLT and an ONU.') hpnicfEponDeviceObjectOamMode = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noOam", 1), ("oamServer", 2), ("oamclient", 3))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceObjectOamMode.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectOamMode.setDescription('This variable defines and provides information on the Operation Administration and Maintenance (OAM) mode of an EPON device as defined by the [802.3ah] clause 57. When noOam(1) the device does not supports the OAM mode. When oamServer(2) the device supports the OAM mode as a server unit. When oamClient(3) the device supports the OAM mode as a client unit. Writing can be done during initialization, hpnicfEponDeviceObjectDeviceReadyMode is in notReady(1) or inProcess(2). This attribute is relevant for an OLT and an ONU.') hpnicfEponDeviceObjectDeviceReadyMode = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notReady", 1), ("inProcess", 2), ("ready", 3))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceObjectDeviceReadyMode.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectDeviceReadyMode.setDescription('This variable defines the mode of an EPON device and provides information on the mode in initialization - ready for registration as defined by the [802.3ah] clause 64. When notReady(1) the device is not ready for operation. When inProcess(2) the device is in initialization process. When ready(3) the device is ready for registration. Writing can be done all the time. This attribute is relevant for an OLT and an ONU.') hpnicfEponDeviceObjectPowerDown = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 7), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceObjectPowerDown.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectPowerDown.setDescription('Setting this variable to True(1) will cause Device to be entered into Power down mode where no registration is allowed and only receiving data from the link. Writing can be done all the time. This attribute is relevant for an OLT and an ONU.') hpnicfEponDeviceObjectNumberOfLLIDs = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceObjectNumberOfLLIDs.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectNumberOfLLIDs.setDescription('A read only variable which defines the number of registered LLIDs (as defined by the [802.3ah] clause 65) in a EPON network for an OLT and an ONU. Initialization value is 0. This attribute is relevant for an OLT and an ONU.') hpnicfEponDeviceObjectReportThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 9), Integer32()).setUnits('TQ (16nsec)').setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceObjectReportThreshold.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectReportThreshold.setDescription('A set of 8 integers, for each LLID, that defines the threshold reporting for each Queue in the REPORT message, as defined in [802.3ah] 64. First Queue set reporting will provide information on the queue occupancy of frames below this Threshold. The value returned shall be in Time quanta (TQ) which is 16nsec or 2 octets increments. Writing can be done all the time. This attribute is relevant for an OLT and an ONU.') hpnicfEponDeviceRemoteMACAddressLLIDControl = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("resetLog", 2), ("useDefaultReporting", 3))).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDControl.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDControl.setDescription('Indicates and controls the resetting of the LLID MAC address log. Setting this object to none(1) has no action resetLog(2) empties the LLID MAC address log. All data is deleted. Setting it to useDefaultReporting(3) returns all entries priorities to their factory-default reporting. Reading this object always returns useDefaultReporting(3).') hpnicfEponDeviceRemoteMACAddressLLIDTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2), ) if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDTable.setDescription('A table of read-only value that identifies the source_address and LLIDs parameter of the remote devices in the network. This MacAddress value, as defined in [802.3ah], 30.3.5.1.5, is updated on reception of a valid frame with a unicast destination Field or (1) a destination Field equal to the reserved multicast address for MAC Control specified in [802.3ah] Annex 31A, (2) lengthOrType field value equal to the reserved Type for MAC Control as specified in [802.3ah] Annex 31A. (3)an MPCP subtype value equal to the subtype reserved for MPCP as specified in [802.3ah] Annex 31A, and an LLID as allocated by the OLT. The table is defined as Remote MAC address - LLID (RMadL) The table is relevant only for an OLT device, and is equivalent from a bridge emulation to the bridge port-MAC address table where the LLIDs are equivalent to virtual bridge ports.') hpnicfEponDeviceRemoteMACAddressLLIDEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDEntry.setDescription('A group of entries. Applications create and delete entries using hpnicfEponDeviceRMadlEntryStatus. When adding objects to an LLID they are added in the persistent order of their index in this table.') hpnicfEponDeviceRemoteMACAddressLLIDName = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDName.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDName.setDescription('A locally-unique, administratively assigned name for a group of entries.') hpnicfEponDeviceRMadlLLID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfEponDeviceRMadlLLID.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlLLID.setDescription('An arbitrary integer for the purpose of identifying the LLID. Writing can be done all the time.') hpnicfEponDeviceRMadlLogID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 3), ObjectIdentifier().clone((0, 0))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfEponDeviceRMadlLogID.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlLogID.setDescription('The object identifier of a MIB module object to add to an entry, indicating the entry ID in the table. Writing can be done all the time.') hpnicfEponDeviceRMadlRemoteAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 4), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfEponDeviceRMadlRemoteAddress.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlRemoteAddress.setDescription('The remote MAC address of the LLID. Writing can be done all the time.') hpnicfEponDeviceRMadlType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notRegister", 1), ("registered", 2))).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfEponDeviceRMadlType.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlType.setDescription('A list of types for entries - LLIDs. Indicates and defines the state of registration. notRegister(1) marks a non registered LID, registered(2) marks a registered LLID. Writing can be done all the time.') hpnicfEponDeviceRMadlAction = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("register", 2), ("deregister", 3), ("reregister", 4))).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfEponDeviceRMadlAction.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlAction.setDescription('A list of actions for an entry - LLID. Indicates and defines the state of registration for the remote device. none(1) marks no action, register(2) marks to register an LLID, deregister(3) marks to deregister an LLID, reregister(4) marks reregistered LLID. Writing can be done all the time.') hpnicfEponDeviceRMadlEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfEponDeviceRMadlEntryStatus.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlEntryStatus.setDescription('The control that allows creation and deletion of entries. Once made active an entry MAY not be modified except to delete it.') hpnicfEponDeviceStatTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1), ) if mibBuilder.loadTexts: hpnicfEponDeviceStatTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTable.setDescription('This table defines the list of statistics counters of EPON devices. The attributes are relevant for an OLT and an ONU.') hpnicfEponDeviceStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hpnicfEponDeviceStatEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatEntry.setDescription('Table entries for Table of statistics counters of EPON devices.') hpnicfEponDeviceStatTxFramesQueue0 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 1), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue0.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue0.setDescription('A count of the number of times a -Queue-0- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-0-. The -Queue-0- marking matched the REPORT MPCP message Queue-0 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatTxFramesQueue1 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 2), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue1.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue1.setDescription('A count of the number of times a -Queue-1- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-1-. The -Queue-1- marking matched the REPORT MPCP message Queue-1 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatTxFramesQueue2 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 3), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue2.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue2.setDescription('A count of the number of times a -Queue-2- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-2-. The -Queue-2- marking matched the REPORT MPCP message Queue-2 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatTxFramesQueue3 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 4), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue3.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue3.setDescription('A count of the number of times a -Queue-3- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-3-. The -Queue-3- marking matched the REPORT MPCP message Queue-3 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatTxFramesQueue4 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 5), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue4.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue4.setDescription('A count of the number of times a -Queue-4- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-4-. The -Queue-4- marking matched the REPORT MPCP message Queue-4 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatTxFramesQueue5 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 6), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue5.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue5.setDescription('A count of the number of times a -Queue-5- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-5-. The -Queue-5- marking matched the REPORT MPCP message Queue-5 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatTxFramesQueue6 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 7), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue6.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue6.setDescription('A count of the number of times a -Queue-6- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-6-. The -Queue-6- marking matched the REPORT MPCP message Queue-6 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatTxFramesQueue7 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 8), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue7.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue7.setDescription('A count of the number of times a -Queue-7- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-7-. The -Queue-7- marking matched the REPORT MPCP message Queue-7 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatRxFramesQueue0 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 9), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue0.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue0.setDescription('A count of the number of times a -Queue-0- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-0-. The -Queue-0- marking matched the REPORT MPCP message Queue-0 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicfEponDeviceStatRxFramesQueue1 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 10), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue1.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue1.setDescription('A count of the number of times a -Queue-1- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-1-. The -Queue-1- marking matched the REPORT MPCP message Queue-1 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicfEponDeviceStatRxFramesQueue2 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 11), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue2.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue2.setDescription('A count of the number of times a -Queue-2- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-2-. The -Queue-2- marking matched the REPORT MPCP message Queue-2 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicfEponDeviceStatRxFramesQueue3 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 12), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue3.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue3.setDescription('A count of the number of times a -Queue-3- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-3-. The -Queue-3- marking matched the REPORT MPCP message Queue-3 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicfEponDeviceStatRxFramesQueue4 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 13), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue4.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue4.setDescription('A count of the number of times a -Queue-4- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-4-. The -Queue-4- marking matched the REPORT MPCP message Queue-4 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicfEponDeviceStatRxFramesQueue5 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 14), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue5.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue5.setDescription('A count of the number of times a -Queue-5- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-5-. The -Queue-5- marking matched the REPORT MPCP message Queue-5 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicfEponDeviceStatRxFramesQueue6 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 15), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue6.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue6.setDescription('A count of the number of times a -Queue-6- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-6-. The -Queue-6- marking matched the REPORT MPCP message Queue-6 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicfEponDeviceStatRxFramesQueue7 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 16), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue7.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue7.setDescription('A count of the number of times a -Queue-7- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-7-. The -Queue-7- marking matched the REPORT MPCP message Queue-7 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicfEponDeviceStatDroppedFramesQueue0 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 17), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue0.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue0.setDescription('A count of the number of times a -Queue-0- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-0-. The -Queue-0- marking matched the REPORT MPCP message Queue-0 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatDroppedFramesQueue1 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 18), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue1.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue1.setDescription('A count of the number of times a -Queue-1- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-1-. The -Queue-1- marking matched the REPORT MPCP message Queue-1 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatDroppedFramesQueue2 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 19), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue2.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue2.setDescription('A count of the number of times a -Queue-2- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-2-. The -Queue-2- marking matched the REPORT MPCP message Queue-2 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatDroppedFramesQueue3 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 20), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue3.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue3.setDescription('A count of the number of times a -Queue-3- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-3-. The -Queue-3- marking matched the REPORT MPCP message Queue-3 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatDroppedFramesQueue4 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 21), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue4.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue4.setDescription('A count of the number of times a -Queue-4- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-4-. The -Queue-4- marking matched the REPORT MPCP message Queue-4 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatDroppedFramesQueue5 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 22), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue5.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue5.setDescription('A count of the number of times a -Queue-5- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-5-. The -Queue-5- marking matched the REPORT MPCP message Queue-5 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatDroppedFramesQueue6 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 23), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue6.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue6.setDescription('A count of the number of times a -Queue-6- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-6-. The -Queue-6- marking matched the REPORT MPCP message Queue-6 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceStatDroppedFramesQueue7 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 24), Counter32()).setUnits('frames').setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue7.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue7.setDescription('A count of the number of times a -Queue-7- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-7-. The -Queue-7- marking matched the REPORT MPCP message Queue-7 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicfEponDeviceEventObjectTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1), ) if mibBuilder.loadTexts: hpnicfEponDeviceEventObjectTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventObjectTable.setDescription('This table defines the Event Objects for EPON devices. The attributes are relevant for an OLT and an ONU.') hpnicfEponDeviceEventObjectEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: hpnicfEponDeviceEventObjectEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventObjectEntry.setDescription('Table entries for Table of Event objects for EPON devices.') hpnicfEponDeviceSampleMinimum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(1)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceSampleMinimum.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceSampleMinimum.setDescription("The minimum Frequency of events this system will accept. A system may use the larger values of this minimum to lessen the impact of constant sampling. For larger sampling intervals the system samples less often and suffers less overhead. Unless explicitly resource limited, a system's value for this object SHOULD be 1, allowing as small as a 1 second interval for ongoing trigger sampling. Writing of the value can be done all the time.") hpnicfEponDeviceDyingGaspAlarmState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceDyingGaspAlarmState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceDyingGaspAlarmState.setDescription('A read-only variable, which defines the state of the Dying Gasp indication of the OAM alarm indications as described in the [802.3ah] clause 57. When true the device has a dying gasp alarm asserted. When false the dying gasp alarm is reset ') hpnicfEponDeviceDyingGaspAlarmEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceDyingGaspAlarmEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceDyingGaspAlarmEnabled.setDescription('A control to allow DyingGaspAlarm event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicfEponDeviceCriticalEventState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 4), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceCriticalEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceCriticalEventState.setDescription('A read-only variable, which defines the state of the Critical Event indication of the OAM alarm indications as described in the [802.3ah] clause 57. When true the device has a Critical Event asserted. When false the Critical Event is reset.') hpnicfEponDeviceCriticalEventEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 5), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceCriticalEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceCriticalEventEnabled.setDescription('A control to allow CriticalEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicfEponDeviceLocalLinkFaultAlarmState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceLocalLinkFaultAlarmState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceLocalLinkFaultAlarmState.setDescription('A read-only variable, which defines the state of the Local Link Fault indication of the OAM alarm indications as described in the [802.3ah] clause 57. When true the device has a Local Link Fault alarm asserted. When false the Local Link Fault alarm is reset.') hpnicfEponDeviceLocalLinkFaultAlarmEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 7), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceLocalLinkFaultAlarmEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceLocalLinkFaultAlarmEnabled.setDescription('A control to allow LocalLinkFaultAlarm event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicfEponDeviceTemperatureEventIndicationState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceTemperatureEventIndicationState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceTemperatureEventIndicationState.setDescription('A read-only variable, which defines the state of the Temperature Event indication of an EPON device. When condition of box temperature is above the threshold defined the alarm is asserted. When the condition is below that threshold the alarm is de-asserted. When true the device has a Temperature Event Indication asserted. When false the Temperature Event Indication is reset.') hpnicfEponDeviceTemperatureEventIndicationEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 9), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceTemperatureEventIndicationEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceTemperatureEventIndicationEnabled.setDescription('A control to allow TemperatureEventIndication event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicfEponDevicePowerVoltageEventIndicationState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 10), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDevicePowerVoltageEventIndicationState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDevicePowerVoltageEventIndicationState.setDescription('A read-only variable, which defines the state of the Power/Voltage Event Indication of an EPON device. When condition of box Power/voltage is above the threshold defined the alarm is asserted. When the condition is below that threshold the alarm is de-asserted. When true the device has a Power/Voltage Event Indication asserted. When false the Power/Voltage Event Indication is reset. ') hpnicfEponDevicePowerVoltageEventIndicationEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 11), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDevicePowerVoltageEventIndicationEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDevicePowerVoltageEventIndicationEnabled.setDescription('A control to allow PowerVoltageEventIndication event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicfEponDeviceGlobalEventState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceGlobalEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGlobalEventState.setDescription('A read-only variable, which defines the state of the Global Event indication of an EPON device. When the indication of the event input occurs the event is asserted. When the input is removed that event is de-asserted. When true the device has a Global Event asserted. When false the Global Event Indication is reset.') hpnicfEponDeviceGlobalEventEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 13), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceGlobalEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGlobalEventEnabled.setDescription('A control to allow GlobalEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicfEponDeviceErroredSymbolPeriodEventState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceErroredSymbolPeriodEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredSymbolPeriodEventState.setDescription('A read-only variable, which defines the state of the Errored Symbol Period Event indication of the OAM alarm TLV indications as described in the [802.3ah] clause 57.5.3. When true the device has an Errored Symbol Period Event asserted. When false the Errored Symbol Period Event is reset.') hpnicfEponDeviceErroredSymbolPeriodEventEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 15), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceErroredSymbolPeriodEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredSymbolPeriodEventEnabled.setDescription('A control to allow ErroredSymbolPeriodEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicfEponDeviceErroredFrameEventState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 16), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameEventState.setDescription('A read-only variable, which defines the state of the Errored Frame Event indication of the OAM alarm TLV indications as described in the [802.3ah] clause 57.5.3. When true the device has an Errored Frame Event asserted. When false the Errored Frame Event is reset.') hpnicfEponDeviceErroredFrameEventEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 17), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameEventEnabled.setDescription('A control to allow ErroredFrameEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicfEponDeviceErroredFramePeriodEventState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 18), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceErroredFramePeriodEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFramePeriodEventState.setDescription('A read-only variable, which defines the state of the Errored Frame Period Event indication of the OAM alarm TLV indications as described in the [802.3ah] clause 57.5.3. When true the device has an Errored Frame Period Event asserted. When false the Errored Frame Period Event is reset.') hpnicfEponDeviceErroredFramePeriodEventEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 19), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceErroredFramePeriodEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFramePeriodEventEnabled.setDescription('A control to allow ErroredFramePeriodEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicfEponDeviceErroredFrameSecondsSummaryEventState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 20), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameSecondsSummaryEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameSecondsSummaryEventState.setDescription('A read-only variable, which defines the state of the Errored Frame Seconds Summary Event indication of the OAM alarm TLV indications as described in the [802.3ah] clause 57.5.3. When true the device has an Errored Frame Seconds Summary Event asserted. When false the Errored Frame Seconds Summary Event is reset.') hpnicfEponDeviceErroredFrameSecondsSummaryEventEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 21), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameSecondsSummaryEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameSecondsSummaryEventEnabled.setDescription('A control to allow ErroredFrameSecondsSummaryEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicfEponDeviceOrganizationSpecificEventState = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 22), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceOrganizationSpecificEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceOrganizationSpecificEventState.setDescription('A read-only variable, which defines the state of the Organization Specific Event indication of the OAM alarm TLV indications as described in the [802.3ah] clause 57.5.3. When true the device has an Organization Specific Event asserted. When false the Organization Specific Event is reset.') hpnicfEponDeviceOrganizationSpecificEventEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 23), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceOrganizationSpecificEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceOrganizationSpecificEventEnabled.setDescription('A control to allow OrganizationSpecificEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicfEponDeviceEventControl = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("resetLog", 2), ("useDefaultReporting", 3))).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpnicfEponDeviceEventControl.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventControl.setDescription('Indicates and controls the resetting of the Event log. Setting this object to none(1) has no action resetLog(2) empties the event log. All data is deleted. Setting it to useDefaultReporting(3) returns all event priorities to their factory-default reporting. Reading this object always returns useDefaultReporting(3).') hpnicfEponDeviceEventsLogTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2), ) if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogTable.setDescription('A table of objects provides a log of notification based on the event as pointed to by entries in those tables. The intent is a MAC level event log (set of events to when they happened). This attribute is relevant for an OLT and an ONU.') hpnicfEponDeviceEventsLogEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1), ).setIndexNames((0, "HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceEventsLogName"), (0, "HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceEventsLogIndex")) if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogEntry.setDescription('A group of Events. Applications create and delete entries using hpnicfEponDeviceEventsEntryStatus. When adding objects to a notification they are added in the lexical order of their index in this table.') hpnicfEponDeviceEventsLogName = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))) if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogName.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogName.setDescription('A locally-unique, administratively assigned name for a group of Events.') hpnicfEponDeviceEventsLogIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))) if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogIndex.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogIndex.setDescription('An arbitrary integer for the purpose of identifying individual Events within a hpnicfEponDeviceEventsLogName group. Events within a group are placed in the notification in the numerical order of this index.') hpnicfEponDeviceEventsLogID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 3), ObjectIdentifier().clone((0, 0))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogID.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogID.setDescription('The object identifier of a MIB module object to add to a Notification that results from the event. Writing can be done all the time.') hpnicfEponDeviceEventsLogFirstTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogFirstTime.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogFirstTime.setDescription('The time that an entry was created.') hpnicfEponDeviceEventsLogLastTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 5), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogLastTime.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogLastTime.setDescription('If multiple events are reported via the same entry, the time that the last event for this entry occurred, otherwise this should have the same value as hpnicfEponDeviceEventsLogFirstTime.') hpnicfEponDeviceEventsLogCounts = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogCounts.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogCounts.setDescription('The number of consecutive event instances reported by this entry. This starts at 1 with the creation of this row and increments by 1 for each subsequent duplicate event.') hpnicfEponDeviceEventsLogType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("hpnicfEponDeviceDyingGaspAlarmState", 1), ("hpnicfEponDeviceCriticalEventState", 2), ("hpnicfEponDeviceLocalLinkFaultAlarmState", 3), ("hpnicfEponDeviceTemperatureEventIndicationState", 4), ("hpnicfEponDevicePowerVoltageEventIndicationState", 5), ("hpnicfEponDeviceGlobalEventState", 6), ("hpnicfEponDeviceErroredSymbolPeriodEventState", 7), ("hpnicfEponDeviceErroredFrameEventState", 8), ("hpnicfEponDeviceErroredFramePeriodEventState", 9), ("hpnicfEponDeviceErroredFrameSecondsSummaryEventState", 10), ("hpnicfEponDeviceOrganizationSpecificEventState", 11)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogType.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogType.setDescription('A list of types for Events. Events are ordered according to their significance where 1 is the highest severity. hpnicfEponDeviceDyingGaspAlarmState(1) indicates a Dying Gasp Alarm State, hpnicfEponDeviceCriticalEventState(2) indicates a Critical Event State, hpnicfEponDeviceLocalLinkFaultAlarmState(3) indicates a Local Link Fault Alarm State, hpnicfEponDeviceTemperatureEventIndicationState(4) indicates a Temperature Event Indication State, hpnicfEponDevicePowerVoltageEventIndicationState(5) indicates a Power Voltage Event Indication State, hpnicfEponDeviceGlobalEventState(6) indicates a Global Event State, hpnicfEponDeviceErroredSymbolPeriodEventState(7) indicates an Errored Symbol Period Event State, hpnicfEponDeviceErroredFrameEventState(8) indicates an Errored Frame Event State, hpnicfEponDeviceErroredFramePeriodEventState(9) indicates an Errored Frame Period Event State, hpnicfEponDeviceErroredFrameSecondsSummaryEventState(10) indicates an Errored Frame Seconds Summary Event State, hpnicfEponDeviceOrganizationSpecificEventState(11) indicates an Organization Specific Event State. ') hpnicfEponDeviceEventsLogEntryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogEntryStatus.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogEntryStatus.setDescription('The control that allows creation and deletion of entries. Once made active an entry MAY not be modified except to delete it.') hpnicfEponDeviceGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1)) hpnicfEponDeviceGroupControl = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1, 1)).setObjects(("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceObjectReset"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceObjectModes"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceObjectFecEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceObjectOamMode"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceObjectDeviceReadyMode"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceObjectPowerDown"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceObjectNumberOfLLIDs"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceObjectReportThreshold"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceRemoteMACAddressLLIDControl")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicfEponDeviceGroupControl = hpnicfEponDeviceGroupControl.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGroupControl.setDescription('A collection of objects of hpnicfEponDevice control definition.') hpnicfEponDeviceGroupRMadLTable = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1, 2)).setObjects(("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceRMadlLLID"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceRMadlLogID"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceRMadlRemoteAddress"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceRMadlType"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceRMadlAction"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceRMadlEntryStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicfEponDeviceGroupRMadLTable = hpnicfEponDeviceGroupRMadLTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGroupRMadLTable.setDescription('A collection of objects of hpnicfEponDevice remote Mac address to LLID table.') hpnicfEponDeviceGroupStat = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1, 3)).setObjects(("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatTxFramesQueue0"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatTxFramesQueue1"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatTxFramesQueue2"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatTxFramesQueue3"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatTxFramesQueue4"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatTxFramesQueue5"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatTxFramesQueue6"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatTxFramesQueue7"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatRxFramesQueue0"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatRxFramesQueue1"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatRxFramesQueue2"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatRxFramesQueue3"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatRxFramesQueue4"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatRxFramesQueue5"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatRxFramesQueue6"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatRxFramesQueue7"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatDroppedFramesQueue0"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatDroppedFramesQueue1"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatDroppedFramesQueue2"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatDroppedFramesQueue3"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatDroppedFramesQueue4"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatDroppedFramesQueue5"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatDroppedFramesQueue6"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceStatDroppedFramesQueue7")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicfEponDeviceGroupStat = hpnicfEponDeviceGroupStat.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGroupStat.setDescription('A collection of objects of EPON device Statistics') hpnicfEponDeviceGroupEvent = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1, 4)).setObjects(("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceSampleMinimum"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceDyingGaspAlarmState"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceDyingGaspAlarmEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceCriticalEventState"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceCriticalEventEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceLocalLinkFaultAlarmState"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceLocalLinkFaultAlarmEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceTemperatureEventIndicationState"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceTemperatureEventIndicationEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDevicePowerVoltageEventIndicationState"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDevicePowerVoltageEventIndicationEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceGlobalEventState"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceGlobalEventEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceErroredSymbolPeriodEventState"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceErroredSymbolPeriodEventEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceErroredFrameEventState"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceErroredFrameEventEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceErroredFramePeriodEventState"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceErroredFramePeriodEventEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceErroredFrameSecondsSummaryEventState"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceErroredFrameSecondsSummaryEventEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceOrganizationSpecificEventState"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceOrganizationSpecificEventEnabled"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceEventControl")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicfEponDeviceGroupEvent = hpnicfEponDeviceGroupEvent.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGroupEvent.setDescription('A collection of objects for EPON device Events') hpnicfEponDeviceGroupEventLog = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1, 5)).setObjects(("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceEventsLogID"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceEventsLogFirstTime"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceEventsLogLastTime"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceEventsLogCounts"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceEventsLogType"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceEventsLogEntryStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicfEponDeviceGroupEventLog = hpnicfEponDeviceGroupEventLog.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGroupEventLog.setDescription('A collection of objects for EPON device Events log') hpnicfEponDeviceCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 2)) hpnicfEponDeviceCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 2, 1)).setObjects(("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceGroupControl"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceGroupRMadLTable"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceGroupStat"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceGroupEvent"), ("HPN-ICF-EPON-DEVICE-MIB", "hpnicfEponDeviceGroupEventLog")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicfEponDeviceCompliance = hpnicfEponDeviceCompliance.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceCompliance.setDescription('The compliance statement for EPON Devices.') mibBuilder.exportSymbols("HPN-ICF-EPON-DEVICE-MIB", hpnicfEponDeviceGroupEventLog=hpnicfEponDeviceGroupEventLog, hpnicfEponDeviceStatEntry=hpnicfEponDeviceStatEntry, hpnicfEponDeviceEventsLogEntryStatus=hpnicfEponDeviceEventsLogEntryStatus, hpnicfEponDeviceCompliance=hpnicfEponDeviceCompliance, hpnicfEponDeviceGroupControl=hpnicfEponDeviceGroupControl, hpnicfEponDeviceStatTxFramesQueue4=hpnicfEponDeviceStatTxFramesQueue4, hpnicfEponDeviceStatObjects=hpnicfEponDeviceStatObjects, hpnicfEponDeviceLocalLinkFaultAlarmState=hpnicfEponDeviceLocalLinkFaultAlarmState, hpnicfEponDeviceConformance=hpnicfEponDeviceConformance, hpnicfEponDeviceEventsLogFirstTime=hpnicfEponDeviceEventsLogFirstTime, hpnicfEponDeviceStatTable=hpnicfEponDeviceStatTable, hpnicfEponDeviceErroredFramePeriodEventEnabled=hpnicfEponDeviceErroredFramePeriodEventEnabled, hpnicfEponDeviceErroredFrameEventState=hpnicfEponDeviceErroredFrameEventState, hpnicfEponDeviceErroredSymbolPeriodEventEnabled=hpnicfEponDeviceErroredSymbolPeriodEventEnabled, hpnicfEponDeviceEventControl=hpnicfEponDeviceEventControl, hpnicfEponDeviceEventsLogName=hpnicfEponDeviceEventsLogName, hpnicfEponDeviceErroredFrameSecondsSummaryEventState=hpnicfEponDeviceErroredFrameSecondsSummaryEventState, hpnicfEponDeviceEventsLogLastTime=hpnicfEponDeviceEventsLogLastTime, hpnicfEponDeviceStatTxFramesQueue6=hpnicfEponDeviceStatTxFramesQueue6, hpnicfEponDeviceStatTxFramesQueue1=hpnicfEponDeviceStatTxFramesQueue1, hpnicfEponDeviceOrganizationSpecificEventEnabled=hpnicfEponDeviceOrganizationSpecificEventEnabled, hpnicfEponDeviceMIB=hpnicfEponDeviceMIB, hpnicfEponDeviceObjectReset=hpnicfEponDeviceObjectReset, hpnicfEponDeviceObjectModes=hpnicfEponDeviceObjectModes, hpnicfEponDeviceStatDroppedFramesQueue6=hpnicfEponDeviceStatDroppedFramesQueue6, hpnicfEponDeviceStatDroppedFramesQueue7=hpnicfEponDeviceStatDroppedFramesQueue7, hpnicfEponDeviceEventsLogCounts=hpnicfEponDeviceEventsLogCounts, hpnicfEponDeviceEventsLogTable=hpnicfEponDeviceEventsLogTable, hpnicfEponDeviceGroupStat=hpnicfEponDeviceGroupStat, hpnicfEponDeviceStatDroppedFramesQueue1=hpnicfEponDeviceStatDroppedFramesQueue1, hpnicfEponDeviceStatRxFramesQueue0=hpnicfEponDeviceStatRxFramesQueue0, hpnicfEponDeviceEventObjects=hpnicfEponDeviceEventObjects, hpnicfEponDeviceEventsLogType=hpnicfEponDeviceEventsLogType, hpnicfEponDeviceSampleMinimum=hpnicfEponDeviceSampleMinimum, hpnicfEponDeviceStatRxFramesQueue4=hpnicfEponDeviceStatRxFramesQueue4, hpnicfEponDeviceErroredFrameSecondsSummaryEventEnabled=hpnicfEponDeviceErroredFrameSecondsSummaryEventEnabled, hpnicfEponDeviceCriticalEventEnabled=hpnicfEponDeviceCriticalEventEnabled, hpnicfEponDeviceGroupRMadLTable=hpnicfEponDeviceGroupRMadLTable, hpnicfEponDeviceControlObjects=hpnicfEponDeviceControlObjects, hpnicfEponDeviceRMadlType=hpnicfEponDeviceRMadlType, hpnicfEponDeviceRemoteMACAddressLLIDEntry=hpnicfEponDeviceRemoteMACAddressLLIDEntry, hpnicfEponDeviceRMadlLLID=hpnicfEponDeviceRMadlLLID, hpnicfEponDeviceStatTxFramesQueue0=hpnicfEponDeviceStatTxFramesQueue0, hpnicfEponDeviceErroredFrameEventEnabled=hpnicfEponDeviceErroredFrameEventEnabled, hpnicfEponDeviceObjectPowerDown=hpnicfEponDeviceObjectPowerDown, hpnicfEponDeviceStatTxFramesQueue7=hpnicfEponDeviceStatTxFramesQueue7, hpnicfEponDeviceStatDroppedFramesQueue3=hpnicfEponDeviceStatDroppedFramesQueue3, hpnicfEponDeviceObjectReportThreshold=hpnicfEponDeviceObjectReportThreshold, hpnicfEponDeviceRemoteMACAddressLLIDTable=hpnicfEponDeviceRemoteMACAddressLLIDTable, hpnicfEponDeviceStatTxFramesQueue5=hpnicfEponDeviceStatTxFramesQueue5, hpnicfEponDeviceTemperatureEventIndicationState=hpnicfEponDeviceTemperatureEventIndicationState, hpnicfEponDeviceOrganizationSpecificEventState=hpnicfEponDeviceOrganizationSpecificEventState, hpnicfEponDeviceLocalLinkFaultAlarmEnabled=hpnicfEponDeviceLocalLinkFaultAlarmEnabled, hpnicfEponDeviceControlTable=hpnicfEponDeviceControlTable, hpnicfEponDeviceStatRxFramesQueue2=hpnicfEponDeviceStatRxFramesQueue2, hpnicfEponDeviceDyingGaspAlarmState=hpnicfEponDeviceDyingGaspAlarmState, hpnicfEponDeviceCriticalEventState=hpnicfEponDeviceCriticalEventState, hpnicfEponDeviceObjectOamMode=hpnicfEponDeviceObjectOamMode, PYSNMP_MODULE_ID=hpnicfEponDeviceMIB, hpnicfEponDeviceErroredFramePeriodEventState=hpnicfEponDeviceErroredFramePeriodEventState, hpnicfEponDeviceObjectMIB=hpnicfEponDeviceObjectMIB, hpnicfEponDevicePowerVoltageEventIndicationEnabled=hpnicfEponDevicePowerVoltageEventIndicationEnabled, hpnicfEponDeviceErroredSymbolPeriodEventState=hpnicfEponDeviceErroredSymbolPeriodEventState, hpnicfEponDeviceEventObjectEntry=hpnicfEponDeviceEventObjectEntry, hpnicfEponDeviceDyingGaspAlarmEnabled=hpnicfEponDeviceDyingGaspAlarmEnabled, hpnicfEponDevicePowerVoltageEventIndicationState=hpnicfEponDevicePowerVoltageEventIndicationState, hpnicfEponDeviceObjectFecEnabled=hpnicfEponDeviceObjectFecEnabled, hpnicfEponDeviceRemoteMACAddressLLIDName=hpnicfEponDeviceRemoteMACAddressLLIDName, hpnicfEponDeviceEventsLogEntry=hpnicfEponDeviceEventsLogEntry, hpnicfEponDeviceEventsLogID=hpnicfEponDeviceEventsLogID, hpnicfEponDeviceGroupEvent=hpnicfEponDeviceGroupEvent, hpnicfEponDeviceObjectNumberOfLLIDs=hpnicfEponDeviceObjectNumberOfLLIDs, hpnicfEponDeviceTemperatureEventIndicationEnabled=hpnicfEponDeviceTemperatureEventIndicationEnabled, hpnicfEponDeviceStatDroppedFramesQueue5=hpnicfEponDeviceStatDroppedFramesQueue5, hpnicfEponDeviceGlobalEventState=hpnicfEponDeviceGlobalEventState, hpnicfEponDeviceEventObjectTable=hpnicfEponDeviceEventObjectTable, hpnicfEponDeviceStatDroppedFramesQueue4=hpnicfEponDeviceStatDroppedFramesQueue4, hpnicfEponDeviceStatTxFramesQueue3=hpnicfEponDeviceStatTxFramesQueue3, hpnicfEponDeviceStatTxFramesQueue2=hpnicfEponDeviceStatTxFramesQueue2, hpnicfEponDeviceGroups=hpnicfEponDeviceGroups, hpnicfEponDeviceStatRxFramesQueue6=hpnicfEponDeviceStatRxFramesQueue6, hpnicfEponDeviceObjectDeviceReadyMode=hpnicfEponDeviceObjectDeviceReadyMode, hpnicfEponDeviceRMadlRemoteAddress=hpnicfEponDeviceRMadlRemoteAddress, hpnicfEponDeviceGlobalEventEnabled=hpnicfEponDeviceGlobalEventEnabled, hpnicfEponDeviceRMadlLogID=hpnicfEponDeviceRMadlLogID, hpnicfEponDeviceStatRxFramesQueue3=hpnicfEponDeviceStatRxFramesQueue3, hpnicfEponDeviceRMadlEntryStatus=hpnicfEponDeviceRMadlEntryStatus, hpnicfEponDeviceEventsLogIndex=hpnicfEponDeviceEventsLogIndex, hpnicfEponDeviceObjects=hpnicfEponDeviceObjects, hpnicfEponDeviceCompliances=hpnicfEponDeviceCompliances, hpnicfEponDeviceStatRxFramesQueue7=hpnicfEponDeviceStatRxFramesQueue7, hpnicfEponDeviceStatDroppedFramesQueue0=hpnicfEponDeviceStatDroppedFramesQueue0, hpnicfEponDeviceRemoteMACAddressLLIDControl=hpnicfEponDeviceRemoteMACAddressLLIDControl, hpnicfEponDeviceStatRxFramesQueue1=hpnicfEponDeviceStatRxFramesQueue1, hpnicfEponDeviceControlEntry=hpnicfEponDeviceControlEntry, hpnicfEponDeviceStatDroppedFramesQueue2=hpnicfEponDeviceStatDroppedFramesQueue2, hpnicfEponDeviceRMadlAction=hpnicfEponDeviceRMadlAction, hpnicfEponDeviceStatRxFramesQueue5=hpnicfEponDeviceStatRxFramesQueue5)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_range_constraint, value_size_constraint, constraints_intersection, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint') (hpnicf_epon,) = mibBuilder.importSymbols('HPN-ICF-OID-MIB', 'hpnicfEpon') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup') (mib_scalar, mib_table, mib_table_row, mib_table_column, bits, integer32, time_ticks, notification_type, gauge32, mib_2, object_identity, counter64, ip_address, zero_dot_zero, iso, mib_identifier, counter32, module_identity, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'Integer32', 'TimeTicks', 'NotificationType', 'Gauge32', 'mib-2', 'ObjectIdentity', 'Counter64', 'IpAddress', 'zeroDotZero', 'iso', 'MibIdentifier', 'Counter32', 'ModuleIdentity', 'Unsigned32') (mac_address, date_and_time, row_status, textual_convention, truth_value, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'MacAddress', 'DateAndTime', 'RowStatus', 'TextualConvention', 'TruthValue', 'DisplayString') hpnicf_epon_device_mib = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4)) hpnicfEponDeviceMIB.setRevisions(('2004-09-21 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hpnicfEponDeviceMIB.setRevisionsDescriptions(('Initial version, published as RFC XXXX.',)) if mibBuilder.loadTexts: hpnicfEponDeviceMIB.setLastUpdated('200409210000Z') if mibBuilder.loadTexts: hpnicfEponDeviceMIB.setOrganization('') if mibBuilder.loadTexts: hpnicfEponDeviceMIB.setContactInfo('') if mibBuilder.loadTexts: hpnicfEponDeviceMIB.setDescription("The objects in this MIB module are used to manage Ethernet Passive Optical Network (EPON) devices which are based on the Ethernet in the First Mile (EFM) PON as defined in IEEE Draft P802.3ah/D3.0 clause 60,64,65. This MIB is excerpted from the draft files directly,only changed the object name,added the hpnicf as prefix. The following reference is used throughout this MIB module: [802.3ah] refers to: IEEE Draft P802.3ah/D3.3: 'Draft amendment to - Information technology - Telecommunications and information exchange between systems - Local and metropolitan area networks - Specific requirements - Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications - Media Access Control Parameters, Physical Layers and Management Parameters for subscriber access networks', 22 April 2004. Of particular interest are Clause 64(MPCP) 65(P2mP RS) and 60 (PON PMDs). Clause 30, 'Management', and Clause 45,'Management Data Input/Output (MDIO) Interface'. Copyright (C) The Internet Society (2004). This version of this MIB module is part of XXXX see the RFC itself for full legal notices.") hpnicf_epon_device_object_mib = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1)) hpnicf_epon_device_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1)) hpnicf_epon_device_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2)) hpnicf_epon_device_control_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1)) hpnicf_epon_device_stat_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2)) hpnicf_epon_device_event_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3)) hpnicf_epon_device_control_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1)) if mibBuilder.loadTexts: hpnicfEponDeviceControlTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceControlTable.setDescription('Table for EPON device MIB modules.') hpnicf_epon_device_control_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hpnicfEponDeviceControlEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceControlEntry.setDescription('An entry in the EPON device Control table.') hpnicf_epon_device_object_reset = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('running', 1), ('reset', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceObjectReset.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectReset.setDescription('This variable is used to reset the EPON device. The interface may be unavailable while the reset occurs and data may be lost. During reading operation it returns the state of the EPON device. running(1) indicates and operates normal operation, reset(2) indicates and operates reset mode. Writing can be done all the time.') hpnicf_epon_device_object_modes = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('olt', 1), ('onu', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceObjectModes.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectModes.setDescription('This variable defines the mode of the EPON device. When an olt(1) it is an Optical Line Terminal device (server) and when an onu(2) and Optical Network Unit device (client)') hpnicf_epon_device_object_fec_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('noFecEnabled', 1), ('fecTxEnabled', 2), ('fecRxEnabled', 3), ('fecTxRxEnabled', 4))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceObjectFecEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectFecEnabled.setDescription('This variable defines and provides information whether the EPON device uses FEC as defined in the [802.3ah] clause 65.2 for EPON. When noFECEnabled(1) the device does not support FEC mode When fecTxEnabled(2) the device supports the FEC transmission mode. When fecRxEnabled(3) the device supports the FEC Receive mode. When fecTxRxEnabled(4) the device supports the FEC transmission and receive mode. Writing can be done all the time. This attribute is relevant for an OLT and an ONU.') hpnicf_epon_device_object_oam_mode = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('noOam', 1), ('oamServer', 2), ('oamclient', 3))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceObjectOamMode.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectOamMode.setDescription('This variable defines and provides information on the Operation Administration and Maintenance (OAM) mode of an EPON device as defined by the [802.3ah] clause 57. When noOam(1) the device does not supports the OAM mode. When oamServer(2) the device supports the OAM mode as a server unit. When oamClient(3) the device supports the OAM mode as a client unit. Writing can be done during initialization, hpnicfEponDeviceObjectDeviceReadyMode is in notReady(1) or inProcess(2). This attribute is relevant for an OLT and an ONU.') hpnicf_epon_device_object_device_ready_mode = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notReady', 1), ('inProcess', 2), ('ready', 3))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceObjectDeviceReadyMode.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectDeviceReadyMode.setDescription('This variable defines the mode of an EPON device and provides information on the mode in initialization - ready for registration as defined by the [802.3ah] clause 64. When notReady(1) the device is not ready for operation. When inProcess(2) the device is in initialization process. When ready(3) the device is ready for registration. Writing can be done all the time. This attribute is relevant for an OLT and an ONU.') hpnicf_epon_device_object_power_down = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 7), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceObjectPowerDown.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectPowerDown.setDescription('Setting this variable to True(1) will cause Device to be entered into Power down mode where no registration is allowed and only receiving data from the link. Writing can be done all the time. This attribute is relevant for an OLT and an ONU.') hpnicf_epon_device_object_number_of_lli_ds = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceObjectNumberOfLLIDs.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectNumberOfLLIDs.setDescription('A read only variable which defines the number of registered LLIDs (as defined by the [802.3ah] clause 65) in a EPON network for an OLT and an ONU. Initialization value is 0. This attribute is relevant for an OLT and an ONU.') hpnicf_epon_device_object_report_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 9), integer32()).setUnits('TQ (16nsec)').setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceObjectReportThreshold.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceObjectReportThreshold.setDescription('A set of 8 integers, for each LLID, that defines the threshold reporting for each Queue in the REPORT message, as defined in [802.3ah] 64. First Queue set reporting will provide information on the queue occupancy of frames below this Threshold. The value returned shall be in Time quanta (TQ) which is 16nsec or 2 octets increments. Writing can be done all the time. This attribute is relevant for an OLT and an ONU.') hpnicf_epon_device_remote_mac_address_llid_control = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('none', 1), ('resetLog', 2), ('useDefaultReporting', 3))).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDControl.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDControl.setDescription('Indicates and controls the resetting of the LLID MAC address log. Setting this object to none(1) has no action resetLog(2) empties the LLID MAC address log. All data is deleted. Setting it to useDefaultReporting(3) returns all entries priorities to their factory-default reporting. Reading this object always returns useDefaultReporting(3).') hpnicf_epon_device_remote_mac_address_llid_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2)) if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDTable.setDescription('A table of read-only value that identifies the source_address and LLIDs parameter of the remote devices in the network. This MacAddress value, as defined in [802.3ah], 30.3.5.1.5, is updated on reception of a valid frame with a unicast destination Field or (1) a destination Field equal to the reserved multicast address for MAC Control specified in [802.3ah] Annex 31A, (2) lengthOrType field value equal to the reserved Type for MAC Control as specified in [802.3ah] Annex 31A. (3)an MPCP subtype value equal to the subtype reserved for MPCP as specified in [802.3ah] Annex 31A, and an LLID as allocated by the OLT. The table is defined as Remote MAC address - LLID (RMadL) The table is relevant only for an OLT device, and is equivalent from a bridge emulation to the bridge port-MAC address table where the LLIDs are equivalent to virtual bridge ports.') hpnicf_epon_device_remote_mac_address_llid_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDEntry.setDescription('A group of entries. Applications create and delete entries using hpnicfEponDeviceRMadlEntryStatus. When adding objects to an LLID they are added in the persistent order of their index in this table.') hpnicf_epon_device_remote_mac_address_llid_name = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDName.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRemoteMACAddressLLIDName.setDescription('A locally-unique, administratively assigned name for a group of entries.') hpnicf_epon_device_r_madl_llid = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 4294967295)).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlLLID.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlLLID.setDescription('An arbitrary integer for the purpose of identifying the LLID. Writing can be done all the time.') hpnicf_epon_device_r_madl_log_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 3), object_identifier().clone((0, 0))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlLogID.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlLogID.setDescription('The object identifier of a MIB module object to add to an entry, indicating the entry ID in the table. Writing can be done all the time.') hpnicf_epon_device_r_madl_remote_address = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 4), mac_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlRemoteAddress.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlRemoteAddress.setDescription('The remote MAC address of the LLID. Writing can be done all the time.') hpnicf_epon_device_r_madl_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notRegister', 1), ('registered', 2))).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlType.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlType.setDescription('A list of types for entries - LLIDs. Indicates and defines the state of registration. notRegister(1) marks a non registered LID, registered(2) marks a registered LLID. Writing can be done all the time.') hpnicf_epon_device_r_madl_action = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('none', 1), ('register', 2), ('deregister', 3), ('reregister', 4))).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlAction.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlAction.setDescription('A list of actions for an entry - LLID. Indicates and defines the state of registration for the remote device. none(1) marks no action, register(2) marks to register an LLID, deregister(3) marks to deregister an LLID, reregister(4) marks reregistered LLID. Writing can be done all the time.') hpnicf_epon_device_r_madl_entry_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 1, 2, 1, 7), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlEntryStatus.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceRMadlEntryStatus.setDescription('The control that allows creation and deletion of entries. Once made active an entry MAY not be modified except to delete it.') hpnicf_epon_device_stat_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1)) if mibBuilder.loadTexts: hpnicfEponDeviceStatTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTable.setDescription('This table defines the list of statistics counters of EPON devices. The attributes are relevant for an OLT and an ONU.') hpnicf_epon_device_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hpnicfEponDeviceStatEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatEntry.setDescription('Table entries for Table of statistics counters of EPON devices.') hpnicf_epon_device_stat_tx_frames_queue0 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 1), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue0.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue0.setDescription('A count of the number of times a -Queue-0- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-0-. The -Queue-0- marking matched the REPORT MPCP message Queue-0 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_tx_frames_queue1 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 2), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue1.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue1.setDescription('A count of the number of times a -Queue-1- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-1-. The -Queue-1- marking matched the REPORT MPCP message Queue-1 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_tx_frames_queue2 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 3), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue2.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue2.setDescription('A count of the number of times a -Queue-2- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-2-. The -Queue-2- marking matched the REPORT MPCP message Queue-2 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_tx_frames_queue3 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 4), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue3.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue3.setDescription('A count of the number of times a -Queue-3- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-3-. The -Queue-3- marking matched the REPORT MPCP message Queue-3 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_tx_frames_queue4 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 5), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue4.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue4.setDescription('A count of the number of times a -Queue-4- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-4-. The -Queue-4- marking matched the REPORT MPCP message Queue-4 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_tx_frames_queue5 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 6), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue5.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue5.setDescription('A count of the number of times a -Queue-5- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-5-. The -Queue-5- marking matched the REPORT MPCP message Queue-5 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_tx_frames_queue6 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 7), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue6.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue6.setDescription('A count of the number of times a -Queue-6- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-6-. The -Queue-6- marking matched the REPORT MPCP message Queue-6 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_tx_frames_queue7 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 8), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue7.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatTxFramesQueue7.setDescription('A count of the number of times a -Queue-7- frames transmission occurs. Increment the counter by one for each frame transmitted which is an output of -Queue-7-. The -Queue-7- marking matched the REPORT MPCP message Queue-7 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_rx_frames_queue0 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 9), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue0.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue0.setDescription('A count of the number of times a -Queue-0- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-0-. The -Queue-0- marking matched the REPORT MPCP message Queue-0 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicf_epon_device_stat_rx_frames_queue1 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 10), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue1.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue1.setDescription('A count of the number of times a -Queue-1- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-1-. The -Queue-1- marking matched the REPORT MPCP message Queue-1 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicf_epon_device_stat_rx_frames_queue2 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 11), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue2.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue2.setDescription('A count of the number of times a -Queue-2- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-2-. The -Queue-2- marking matched the REPORT MPCP message Queue-2 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicf_epon_device_stat_rx_frames_queue3 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 12), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue3.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue3.setDescription('A count of the number of times a -Queue-3- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-3-. The -Queue-3- marking matched the REPORT MPCP message Queue-3 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicf_epon_device_stat_rx_frames_queue4 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 13), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue4.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue4.setDescription('A count of the number of times a -Queue-4- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-4-. The -Queue-4- marking matched the REPORT MPCP message Queue-4 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicf_epon_device_stat_rx_frames_queue5 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 14), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue5.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue5.setDescription('A count of the number of times a -Queue-5- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-5-. The -Queue-5- marking matched the REPORT MPCP message Queue-5 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicf_epon_device_stat_rx_frames_queue6 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 15), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue6.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue6.setDescription('A count of the number of times a -Queue-6- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-6-. The -Queue-6- marking matched the REPORT MPCP message Queue-6 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicf_epon_device_stat_rx_frames_queue7 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 16), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue7.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatRxFramesQueue7.setDescription('A count of the number of times a -Queue-7- frames reception occurs. A single counter at the ONU and a set of counters, one for each LLID, at the OLT. Increment the counter by one for each frame received for each LLID, which is an output of -Queue-7-. The -Queue-7- marking matched the REPORT MPCP message Queue-7 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU and an OLT.') hpnicf_epon_device_stat_dropped_frames_queue0 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 17), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue0.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue0.setDescription('A count of the number of times a -Queue-0- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-0-. The -Queue-0- marking matched the REPORT MPCP message Queue-0 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_dropped_frames_queue1 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 18), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue1.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue1.setDescription('A count of the number of times a -Queue-1- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-1-. The -Queue-1- marking matched the REPORT MPCP message Queue-1 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_dropped_frames_queue2 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 19), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue2.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue2.setDescription('A count of the number of times a -Queue-2- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-2-. The -Queue-2- marking matched the REPORT MPCP message Queue-2 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_dropped_frames_queue3 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 20), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue3.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue3.setDescription('A count of the number of times a -Queue-3- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-3-. The -Queue-3- marking matched the REPORT MPCP message Queue-3 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_dropped_frames_queue4 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 21), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue4.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue4.setDescription('A count of the number of times a -Queue-4- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-4-. The -Queue-4- marking matched the REPORT MPCP message Queue-4 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_dropped_frames_queue5 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 22), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue5.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue5.setDescription('A count of the number of times a -Queue-5- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-5-. The -Queue-5- marking matched the REPORT MPCP message Queue-5 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_dropped_frames_queue6 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 23), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue6.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue6.setDescription('A count of the number of times a -Queue-6- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-6-. The -Queue-6- marking matched the REPORT MPCP message Queue-6 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_stat_dropped_frames_queue7 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 2, 1, 1, 24), counter32()).setUnits('frames').setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue7.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceStatDroppedFramesQueue7.setDescription('A count of the number of times a -Queue-7- frames drops occurs. Increment the counter by one for each frame dropped from -Queue-7-. The -Queue-7- marking matched the REPORT MPCP message Queue-7 field, as defined in [802.3ah] clause 64. This counter is mandatory for an ONU.') hpnicf_epon_device_event_object_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1)) if mibBuilder.loadTexts: hpnicfEponDeviceEventObjectTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventObjectTable.setDescription('This table defines the Event Objects for EPON devices. The attributes are relevant for an OLT and an ONU.') hpnicf_epon_device_event_object_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: hpnicfEponDeviceEventObjectEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventObjectEntry.setDescription('Table entries for Table of Event objects for EPON devices.') hpnicf_epon_device_sample_minimum = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)).clone(1)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceSampleMinimum.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceSampleMinimum.setDescription("The minimum Frequency of events this system will accept. A system may use the larger values of this minimum to lessen the impact of constant sampling. For larger sampling intervals the system samples less often and suffers less overhead. Unless explicitly resource limited, a system's value for this object SHOULD be 1, allowing as small as a 1 second interval for ongoing trigger sampling. Writing of the value can be done all the time.") hpnicf_epon_device_dying_gasp_alarm_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceDyingGaspAlarmState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceDyingGaspAlarmState.setDescription('A read-only variable, which defines the state of the Dying Gasp indication of the OAM alarm indications as described in the [802.3ah] clause 57. When true the device has a dying gasp alarm asserted. When false the dying gasp alarm is reset ') hpnicf_epon_device_dying_gasp_alarm_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 3), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceDyingGaspAlarmEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceDyingGaspAlarmEnabled.setDescription('A control to allow DyingGaspAlarm event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicf_epon_device_critical_event_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 4), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceCriticalEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceCriticalEventState.setDescription('A read-only variable, which defines the state of the Critical Event indication of the OAM alarm indications as described in the [802.3ah] clause 57. When true the device has a Critical Event asserted. When false the Critical Event is reset.') hpnicf_epon_device_critical_event_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 5), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceCriticalEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceCriticalEventEnabled.setDescription('A control to allow CriticalEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicf_epon_device_local_link_fault_alarm_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceLocalLinkFaultAlarmState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceLocalLinkFaultAlarmState.setDescription('A read-only variable, which defines the state of the Local Link Fault indication of the OAM alarm indications as described in the [802.3ah] clause 57. When true the device has a Local Link Fault alarm asserted. When false the Local Link Fault alarm is reset.') hpnicf_epon_device_local_link_fault_alarm_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 7), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceLocalLinkFaultAlarmEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceLocalLinkFaultAlarmEnabled.setDescription('A control to allow LocalLinkFaultAlarm event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicf_epon_device_temperature_event_indication_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 8), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceTemperatureEventIndicationState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceTemperatureEventIndicationState.setDescription('A read-only variable, which defines the state of the Temperature Event indication of an EPON device. When condition of box temperature is above the threshold defined the alarm is asserted. When the condition is below that threshold the alarm is de-asserted. When true the device has a Temperature Event Indication asserted. When false the Temperature Event Indication is reset.') hpnicf_epon_device_temperature_event_indication_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 9), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceTemperatureEventIndicationEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceTemperatureEventIndicationEnabled.setDescription('A control to allow TemperatureEventIndication event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicf_epon_device_power_voltage_event_indication_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 10), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDevicePowerVoltageEventIndicationState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDevicePowerVoltageEventIndicationState.setDescription('A read-only variable, which defines the state of the Power/Voltage Event Indication of an EPON device. When condition of box Power/voltage is above the threshold defined the alarm is asserted. When the condition is below that threshold the alarm is de-asserted. When true the device has a Power/Voltage Event Indication asserted. When false the Power/Voltage Event Indication is reset. ') hpnicf_epon_device_power_voltage_event_indication_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 11), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDevicePowerVoltageEventIndicationEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDevicePowerVoltageEventIndicationEnabled.setDescription('A control to allow PowerVoltageEventIndication event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicf_epon_device_global_event_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 12), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceGlobalEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGlobalEventState.setDescription('A read-only variable, which defines the state of the Global Event indication of an EPON device. When the indication of the event input occurs the event is asserted. When the input is removed that event is de-asserted. When true the device has a Global Event asserted. When false the Global Event Indication is reset.') hpnicf_epon_device_global_event_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 13), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceGlobalEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGlobalEventEnabled.setDescription('A control to allow GlobalEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicf_epon_device_errored_symbol_period_event_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 14), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceErroredSymbolPeriodEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredSymbolPeriodEventState.setDescription('A read-only variable, which defines the state of the Errored Symbol Period Event indication of the OAM alarm TLV indications as described in the [802.3ah] clause 57.5.3. When true the device has an Errored Symbol Period Event asserted. When false the Errored Symbol Period Event is reset.') hpnicf_epon_device_errored_symbol_period_event_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 15), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceErroredSymbolPeriodEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredSymbolPeriodEventEnabled.setDescription('A control to allow ErroredSymbolPeriodEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicf_epon_device_errored_frame_event_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 16), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameEventState.setDescription('A read-only variable, which defines the state of the Errored Frame Event indication of the OAM alarm TLV indications as described in the [802.3ah] clause 57.5.3. When true the device has an Errored Frame Event asserted. When false the Errored Frame Event is reset.') hpnicf_epon_device_errored_frame_event_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 17), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameEventEnabled.setDescription('A control to allow ErroredFrameEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicf_epon_device_errored_frame_period_event_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 18), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFramePeriodEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFramePeriodEventState.setDescription('A read-only variable, which defines the state of the Errored Frame Period Event indication of the OAM alarm TLV indications as described in the [802.3ah] clause 57.5.3. When true the device has an Errored Frame Period Event asserted. When false the Errored Frame Period Event is reset.') hpnicf_epon_device_errored_frame_period_event_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 19), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFramePeriodEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFramePeriodEventEnabled.setDescription('A control to allow ErroredFramePeriodEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicf_epon_device_errored_frame_seconds_summary_event_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 20), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameSecondsSummaryEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameSecondsSummaryEventState.setDescription('A read-only variable, which defines the state of the Errored Frame Seconds Summary Event indication of the OAM alarm TLV indications as described in the [802.3ah] clause 57.5.3. When true the device has an Errored Frame Seconds Summary Event asserted. When false the Errored Frame Seconds Summary Event is reset.') hpnicf_epon_device_errored_frame_seconds_summary_event_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 21), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameSecondsSummaryEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceErroredFrameSecondsSummaryEventEnabled.setDescription('A control to allow ErroredFrameSecondsSummaryEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicf_epon_device_organization_specific_event_state = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 22), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceOrganizationSpecificEventState.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceOrganizationSpecificEventState.setDescription('A read-only variable, which defines the state of the Organization Specific Event indication of the OAM alarm TLV indications as described in the [802.3ah] clause 57.5.3. When true the device has an Organization Specific Event asserted. When false the Organization Specific Event is reset.') hpnicf_epon_device_organization_specific_event_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 23), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceOrganizationSpecificEventEnabled.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceOrganizationSpecificEventEnabled.setDescription('A control to allow OrganizationSpecificEvent event to be used. When the value is true the event is sampled. When the value is false the event is not sampled. Writing can be done all the time.') hpnicf_epon_device_event_control = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 1, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('none', 1), ('resetLog', 2), ('useDefaultReporting', 3))).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpnicfEponDeviceEventControl.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventControl.setDescription('Indicates and controls the resetting of the Event log. Setting this object to none(1) has no action resetLog(2) empties the event log. All data is deleted. Setting it to useDefaultReporting(3) returns all event priorities to their factory-default reporting. Reading this object always returns useDefaultReporting(3).') hpnicf_epon_device_events_log_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2)) if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogTable.setDescription('A table of objects provides a log of notification based on the event as pointed to by entries in those tables. The intent is a MAC level event log (set of events to when they happened). This attribute is relevant for an OLT and an ONU.') hpnicf_epon_device_events_log_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1)).setIndexNames((0, 'HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceEventsLogName'), (0, 'HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceEventsLogIndex')) if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogEntry.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogEntry.setDescription('A group of Events. Applications create and delete entries using hpnicfEponDeviceEventsEntryStatus. When adding objects to a notification they are added in the lexical order of their index in this table.') hpnicf_epon_device_events_log_name = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 32))) if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogName.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogName.setDescription('A locally-unique, administratively assigned name for a group of Events.') hpnicf_epon_device_events_log_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 4294967295))) if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogIndex.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogIndex.setDescription('An arbitrary integer for the purpose of identifying individual Events within a hpnicfEponDeviceEventsLogName group. Events within a group are placed in the notification in the numerical order of this index.') hpnicf_epon_device_events_log_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 3), object_identifier().clone((0, 0))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogID.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogID.setDescription('The object identifier of a MIB module object to add to a Notification that results from the event. Writing can be done all the time.') hpnicf_epon_device_events_log_first_time = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 4), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogFirstTime.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogFirstTime.setDescription('The time that an entry was created.') hpnicf_epon_device_events_log_last_time = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 5), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogLastTime.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogLastTime.setDescription('If multiple events are reported via the same entry, the time that the last event for this entry occurred, otherwise this should have the same value as hpnicfEponDeviceEventsLogFirstTime.') hpnicf_epon_device_events_log_counts = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogCounts.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogCounts.setDescription('The number of consecutive event instances reported by this entry. This starts at 1 with the creation of this row and increments by 1 for each subsequent duplicate event.') hpnicf_epon_device_events_log_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('hpnicfEponDeviceDyingGaspAlarmState', 1), ('hpnicfEponDeviceCriticalEventState', 2), ('hpnicfEponDeviceLocalLinkFaultAlarmState', 3), ('hpnicfEponDeviceTemperatureEventIndicationState', 4), ('hpnicfEponDevicePowerVoltageEventIndicationState', 5), ('hpnicfEponDeviceGlobalEventState', 6), ('hpnicfEponDeviceErroredSymbolPeriodEventState', 7), ('hpnicfEponDeviceErroredFrameEventState', 8), ('hpnicfEponDeviceErroredFramePeriodEventState', 9), ('hpnicfEponDeviceErroredFrameSecondsSummaryEventState', 10), ('hpnicfEponDeviceOrganizationSpecificEventState', 11)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogType.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogType.setDescription('A list of types for Events. Events are ordered according to their significance where 1 is the highest severity. hpnicfEponDeviceDyingGaspAlarmState(1) indicates a Dying Gasp Alarm State, hpnicfEponDeviceCriticalEventState(2) indicates a Critical Event State, hpnicfEponDeviceLocalLinkFaultAlarmState(3) indicates a Local Link Fault Alarm State, hpnicfEponDeviceTemperatureEventIndicationState(4) indicates a Temperature Event Indication State, hpnicfEponDevicePowerVoltageEventIndicationState(5) indicates a Power Voltage Event Indication State, hpnicfEponDeviceGlobalEventState(6) indicates a Global Event State, hpnicfEponDeviceErroredSymbolPeriodEventState(7) indicates an Errored Symbol Period Event State, hpnicfEponDeviceErroredFrameEventState(8) indicates an Errored Frame Event State, hpnicfEponDeviceErroredFramePeriodEventState(9) indicates an Errored Frame Period Event State, hpnicfEponDeviceErroredFrameSecondsSummaryEventState(10) indicates an Errored Frame Seconds Summary Event State, hpnicfEponDeviceOrganizationSpecificEventState(11) indicates an Organization Specific Event State. ') hpnicf_epon_device_events_log_entry_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 1, 3, 2, 1, 8), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogEntryStatus.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceEventsLogEntryStatus.setDescription('The control that allows creation and deletion of entries. Once made active an entry MAY not be modified except to delete it.') hpnicf_epon_device_groups = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1)) hpnicf_epon_device_group_control = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1, 1)).setObjects(('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceObjectReset'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceObjectModes'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceObjectFecEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceObjectOamMode'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceObjectDeviceReadyMode'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceObjectPowerDown'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceObjectNumberOfLLIDs'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceObjectReportThreshold'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceRemoteMACAddressLLIDControl')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicf_epon_device_group_control = hpnicfEponDeviceGroupControl.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGroupControl.setDescription('A collection of objects of hpnicfEponDevice control definition.') hpnicf_epon_device_group_r_mad_l_table = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1, 2)).setObjects(('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceRMadlLLID'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceRMadlLogID'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceRMadlRemoteAddress'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceRMadlType'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceRMadlAction'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceRMadlEntryStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicf_epon_device_group_r_mad_l_table = hpnicfEponDeviceGroupRMadLTable.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGroupRMadLTable.setDescription('A collection of objects of hpnicfEponDevice remote Mac address to LLID table.') hpnicf_epon_device_group_stat = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1, 3)).setObjects(('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatTxFramesQueue0'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatTxFramesQueue1'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatTxFramesQueue2'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatTxFramesQueue3'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatTxFramesQueue4'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatTxFramesQueue5'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatTxFramesQueue6'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatTxFramesQueue7'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatRxFramesQueue0'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatRxFramesQueue1'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatRxFramesQueue2'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatRxFramesQueue3'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatRxFramesQueue4'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatRxFramesQueue5'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatRxFramesQueue6'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatRxFramesQueue7'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatDroppedFramesQueue0'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatDroppedFramesQueue1'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatDroppedFramesQueue2'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatDroppedFramesQueue3'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatDroppedFramesQueue4'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatDroppedFramesQueue5'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatDroppedFramesQueue6'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceStatDroppedFramesQueue7')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicf_epon_device_group_stat = hpnicfEponDeviceGroupStat.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGroupStat.setDescription('A collection of objects of EPON device Statistics') hpnicf_epon_device_group_event = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1, 4)).setObjects(('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceSampleMinimum'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceDyingGaspAlarmState'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceDyingGaspAlarmEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceCriticalEventState'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceCriticalEventEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceLocalLinkFaultAlarmState'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceLocalLinkFaultAlarmEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceTemperatureEventIndicationState'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceTemperatureEventIndicationEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDevicePowerVoltageEventIndicationState'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDevicePowerVoltageEventIndicationEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceGlobalEventState'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceGlobalEventEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceErroredSymbolPeriodEventState'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceErroredSymbolPeriodEventEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceErroredFrameEventState'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceErroredFrameEventEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceErroredFramePeriodEventState'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceErroredFramePeriodEventEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceErroredFrameSecondsSummaryEventState'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceErroredFrameSecondsSummaryEventEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceOrganizationSpecificEventState'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceOrganizationSpecificEventEnabled'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceEventControl')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicf_epon_device_group_event = hpnicfEponDeviceGroupEvent.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGroupEvent.setDescription('A collection of objects for EPON device Events') hpnicf_epon_device_group_event_log = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 1, 5)).setObjects(('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceEventsLogID'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceEventsLogFirstTime'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceEventsLogLastTime'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceEventsLogCounts'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceEventsLogType'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceEventsLogEntryStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicf_epon_device_group_event_log = hpnicfEponDeviceGroupEventLog.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceGroupEventLog.setDescription('A collection of objects for EPON device Events log') hpnicf_epon_device_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 2)) hpnicf_epon_device_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 42, 4, 1, 2, 2, 1)).setObjects(('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceGroupControl'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceGroupRMadLTable'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceGroupStat'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceGroupEvent'), ('HPN-ICF-EPON-DEVICE-MIB', 'hpnicfEponDeviceGroupEventLog')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpnicf_epon_device_compliance = hpnicfEponDeviceCompliance.setStatus('current') if mibBuilder.loadTexts: hpnicfEponDeviceCompliance.setDescription('The compliance statement for EPON Devices.') mibBuilder.exportSymbols('HPN-ICF-EPON-DEVICE-MIB', hpnicfEponDeviceGroupEventLog=hpnicfEponDeviceGroupEventLog, hpnicfEponDeviceStatEntry=hpnicfEponDeviceStatEntry, hpnicfEponDeviceEventsLogEntryStatus=hpnicfEponDeviceEventsLogEntryStatus, hpnicfEponDeviceCompliance=hpnicfEponDeviceCompliance, hpnicfEponDeviceGroupControl=hpnicfEponDeviceGroupControl, hpnicfEponDeviceStatTxFramesQueue4=hpnicfEponDeviceStatTxFramesQueue4, hpnicfEponDeviceStatObjects=hpnicfEponDeviceStatObjects, hpnicfEponDeviceLocalLinkFaultAlarmState=hpnicfEponDeviceLocalLinkFaultAlarmState, hpnicfEponDeviceConformance=hpnicfEponDeviceConformance, hpnicfEponDeviceEventsLogFirstTime=hpnicfEponDeviceEventsLogFirstTime, hpnicfEponDeviceStatTable=hpnicfEponDeviceStatTable, hpnicfEponDeviceErroredFramePeriodEventEnabled=hpnicfEponDeviceErroredFramePeriodEventEnabled, hpnicfEponDeviceErroredFrameEventState=hpnicfEponDeviceErroredFrameEventState, hpnicfEponDeviceErroredSymbolPeriodEventEnabled=hpnicfEponDeviceErroredSymbolPeriodEventEnabled, hpnicfEponDeviceEventControl=hpnicfEponDeviceEventControl, hpnicfEponDeviceEventsLogName=hpnicfEponDeviceEventsLogName, hpnicfEponDeviceErroredFrameSecondsSummaryEventState=hpnicfEponDeviceErroredFrameSecondsSummaryEventState, hpnicfEponDeviceEventsLogLastTime=hpnicfEponDeviceEventsLogLastTime, hpnicfEponDeviceStatTxFramesQueue6=hpnicfEponDeviceStatTxFramesQueue6, hpnicfEponDeviceStatTxFramesQueue1=hpnicfEponDeviceStatTxFramesQueue1, hpnicfEponDeviceOrganizationSpecificEventEnabled=hpnicfEponDeviceOrganizationSpecificEventEnabled, hpnicfEponDeviceMIB=hpnicfEponDeviceMIB, hpnicfEponDeviceObjectReset=hpnicfEponDeviceObjectReset, hpnicfEponDeviceObjectModes=hpnicfEponDeviceObjectModes, hpnicfEponDeviceStatDroppedFramesQueue6=hpnicfEponDeviceStatDroppedFramesQueue6, hpnicfEponDeviceStatDroppedFramesQueue7=hpnicfEponDeviceStatDroppedFramesQueue7, hpnicfEponDeviceEventsLogCounts=hpnicfEponDeviceEventsLogCounts, hpnicfEponDeviceEventsLogTable=hpnicfEponDeviceEventsLogTable, hpnicfEponDeviceGroupStat=hpnicfEponDeviceGroupStat, hpnicfEponDeviceStatDroppedFramesQueue1=hpnicfEponDeviceStatDroppedFramesQueue1, hpnicfEponDeviceStatRxFramesQueue0=hpnicfEponDeviceStatRxFramesQueue0, hpnicfEponDeviceEventObjects=hpnicfEponDeviceEventObjects, hpnicfEponDeviceEventsLogType=hpnicfEponDeviceEventsLogType, hpnicfEponDeviceSampleMinimum=hpnicfEponDeviceSampleMinimum, hpnicfEponDeviceStatRxFramesQueue4=hpnicfEponDeviceStatRxFramesQueue4, hpnicfEponDeviceErroredFrameSecondsSummaryEventEnabled=hpnicfEponDeviceErroredFrameSecondsSummaryEventEnabled, hpnicfEponDeviceCriticalEventEnabled=hpnicfEponDeviceCriticalEventEnabled, hpnicfEponDeviceGroupRMadLTable=hpnicfEponDeviceGroupRMadLTable, hpnicfEponDeviceControlObjects=hpnicfEponDeviceControlObjects, hpnicfEponDeviceRMadlType=hpnicfEponDeviceRMadlType, hpnicfEponDeviceRemoteMACAddressLLIDEntry=hpnicfEponDeviceRemoteMACAddressLLIDEntry, hpnicfEponDeviceRMadlLLID=hpnicfEponDeviceRMadlLLID, hpnicfEponDeviceStatTxFramesQueue0=hpnicfEponDeviceStatTxFramesQueue0, hpnicfEponDeviceErroredFrameEventEnabled=hpnicfEponDeviceErroredFrameEventEnabled, hpnicfEponDeviceObjectPowerDown=hpnicfEponDeviceObjectPowerDown, hpnicfEponDeviceStatTxFramesQueue7=hpnicfEponDeviceStatTxFramesQueue7, hpnicfEponDeviceStatDroppedFramesQueue3=hpnicfEponDeviceStatDroppedFramesQueue3, hpnicfEponDeviceObjectReportThreshold=hpnicfEponDeviceObjectReportThreshold, hpnicfEponDeviceRemoteMACAddressLLIDTable=hpnicfEponDeviceRemoteMACAddressLLIDTable, hpnicfEponDeviceStatTxFramesQueue5=hpnicfEponDeviceStatTxFramesQueue5, hpnicfEponDeviceTemperatureEventIndicationState=hpnicfEponDeviceTemperatureEventIndicationState, hpnicfEponDeviceOrganizationSpecificEventState=hpnicfEponDeviceOrganizationSpecificEventState, hpnicfEponDeviceLocalLinkFaultAlarmEnabled=hpnicfEponDeviceLocalLinkFaultAlarmEnabled, hpnicfEponDeviceControlTable=hpnicfEponDeviceControlTable, hpnicfEponDeviceStatRxFramesQueue2=hpnicfEponDeviceStatRxFramesQueue2, hpnicfEponDeviceDyingGaspAlarmState=hpnicfEponDeviceDyingGaspAlarmState, hpnicfEponDeviceCriticalEventState=hpnicfEponDeviceCriticalEventState, hpnicfEponDeviceObjectOamMode=hpnicfEponDeviceObjectOamMode, PYSNMP_MODULE_ID=hpnicfEponDeviceMIB, hpnicfEponDeviceErroredFramePeriodEventState=hpnicfEponDeviceErroredFramePeriodEventState, hpnicfEponDeviceObjectMIB=hpnicfEponDeviceObjectMIB, hpnicfEponDevicePowerVoltageEventIndicationEnabled=hpnicfEponDevicePowerVoltageEventIndicationEnabled, hpnicfEponDeviceErroredSymbolPeriodEventState=hpnicfEponDeviceErroredSymbolPeriodEventState, hpnicfEponDeviceEventObjectEntry=hpnicfEponDeviceEventObjectEntry, hpnicfEponDeviceDyingGaspAlarmEnabled=hpnicfEponDeviceDyingGaspAlarmEnabled, hpnicfEponDevicePowerVoltageEventIndicationState=hpnicfEponDevicePowerVoltageEventIndicationState, hpnicfEponDeviceObjectFecEnabled=hpnicfEponDeviceObjectFecEnabled, hpnicfEponDeviceRemoteMACAddressLLIDName=hpnicfEponDeviceRemoteMACAddressLLIDName, hpnicfEponDeviceEventsLogEntry=hpnicfEponDeviceEventsLogEntry, hpnicfEponDeviceEventsLogID=hpnicfEponDeviceEventsLogID, hpnicfEponDeviceGroupEvent=hpnicfEponDeviceGroupEvent, hpnicfEponDeviceObjectNumberOfLLIDs=hpnicfEponDeviceObjectNumberOfLLIDs, hpnicfEponDeviceTemperatureEventIndicationEnabled=hpnicfEponDeviceTemperatureEventIndicationEnabled, hpnicfEponDeviceStatDroppedFramesQueue5=hpnicfEponDeviceStatDroppedFramesQueue5, hpnicfEponDeviceGlobalEventState=hpnicfEponDeviceGlobalEventState, hpnicfEponDeviceEventObjectTable=hpnicfEponDeviceEventObjectTable, hpnicfEponDeviceStatDroppedFramesQueue4=hpnicfEponDeviceStatDroppedFramesQueue4, hpnicfEponDeviceStatTxFramesQueue3=hpnicfEponDeviceStatTxFramesQueue3, hpnicfEponDeviceStatTxFramesQueue2=hpnicfEponDeviceStatTxFramesQueue2, hpnicfEponDeviceGroups=hpnicfEponDeviceGroups, hpnicfEponDeviceStatRxFramesQueue6=hpnicfEponDeviceStatRxFramesQueue6, hpnicfEponDeviceObjectDeviceReadyMode=hpnicfEponDeviceObjectDeviceReadyMode, hpnicfEponDeviceRMadlRemoteAddress=hpnicfEponDeviceRMadlRemoteAddress, hpnicfEponDeviceGlobalEventEnabled=hpnicfEponDeviceGlobalEventEnabled, hpnicfEponDeviceRMadlLogID=hpnicfEponDeviceRMadlLogID, hpnicfEponDeviceStatRxFramesQueue3=hpnicfEponDeviceStatRxFramesQueue3, hpnicfEponDeviceRMadlEntryStatus=hpnicfEponDeviceRMadlEntryStatus, hpnicfEponDeviceEventsLogIndex=hpnicfEponDeviceEventsLogIndex, hpnicfEponDeviceObjects=hpnicfEponDeviceObjects, hpnicfEponDeviceCompliances=hpnicfEponDeviceCompliances, hpnicfEponDeviceStatRxFramesQueue7=hpnicfEponDeviceStatRxFramesQueue7, hpnicfEponDeviceStatDroppedFramesQueue0=hpnicfEponDeviceStatDroppedFramesQueue0, hpnicfEponDeviceRemoteMACAddressLLIDControl=hpnicfEponDeviceRemoteMACAddressLLIDControl, hpnicfEponDeviceStatRxFramesQueue1=hpnicfEponDeviceStatRxFramesQueue1, hpnicfEponDeviceControlEntry=hpnicfEponDeviceControlEntry, hpnicfEponDeviceStatDroppedFramesQueue2=hpnicfEponDeviceStatDroppedFramesQueue2, hpnicfEponDeviceRMadlAction=hpnicfEponDeviceRMadlAction, hpnicfEponDeviceStatRxFramesQueue5=hpnicfEponDeviceStatRxFramesQueue5)
# comprehensive solution class Solution: def numJewelsInStones(self, J: str, S: str) -> int: # https://leetcode.com/problems/jewels-and-stones/discuss/527360/Several-Python-solution.-w-Explanation jewel = set(J) return sum( 1 for item in S if item in jewel ) def numJewelsInStones(self, J: str, S: str) -> int: # https://leetcode.com/problems/jewels-and-stones/discuss/527360/Several-Python-solution.-w-Explanation return sum( S.count(jewel) for jewel in J ) def numJewelsInStones(self, J: str, S: str) -> int: # https://leetcode.com/problems/jewels-and-stones/discuss/?currentPage=1&orderBy=most_votes&query= return sum(s in J for s in S) def numJewelsInStones(self, J: str, S: str) -> int: # https://leetcode.com/problems/jewels-and-stones/discuss/?currentPage=1&orderBy=most_votes&query= return sum(map(J.count, S))
class Solution: def num_jewels_in_stones(self, J: str, S: str) -> int: jewel = set(J) return sum((1 for item in S if item in jewel)) def num_jewels_in_stones(self, J: str, S: str) -> int: return sum((S.count(jewel) for jewel in J)) def num_jewels_in_stones(self, J: str, S: str) -> int: return sum((s in J for s in S)) def num_jewels_in_stones(self, J: str, S: str) -> int: return sum(map(J.count, S))
TIEMPO_POR_INSTRUCCION = 15 TIEMPO_AVISO_NO_MOVIMIENTO = 10 constante_cambio_area = 1000 # constante de cambio de area, entre mayor sea el numero, mayor es el area a detectar para cambio, es decir el equivalente a la velocidad de movimiento valor_cambio = 200 # Constante incremental para cambio de estado [Lavandose_manos, Persona_ausente_o_sin_movimiento] STATUS_MOVIMIENTO = ("MOVE", "NO_MOVE") TIEMPO_VOLVER_LAVAR_MANOS = 60 # segundos (recomendado 5 minutos)
tiempo_por_instruccion = 15 tiempo_aviso_no_movimiento = 10 constante_cambio_area = 1000 valor_cambio = 200 status_movimiento = ('MOVE', 'NO_MOVE') tiempo_volver_lavar_manos = 60
# -*- coding=utf-8 -*- # library: jionlp # author: dongrixinyu # license: Apache License 2.0 # Email: [email protected] # github: https://github.com/dongrixinyu/JioNLP # description: Preprocessing tool for Chinese NLP def bracket(regular_expression): return ''.join([r'(', regular_expression, r')']) def bracket_absence(regular_expression): return ''.join([r'(', regular_expression, r')?']) def absence(regular_expression): return ''.join([regular_expression, r'?']) def start_end(regular_expression): return ''.join([r'^', regular_expression, r'$'])
def bracket(regular_expression): return ''.join(['(', regular_expression, ')']) def bracket_absence(regular_expression): return ''.join(['(', regular_expression, ')?']) def absence(regular_expression): return ''.join([regular_expression, '?']) def start_end(regular_expression): return ''.join(['^', regular_expression, '$'])
t = int(input()) s = "abcdefghijklmnopqrstuvwxyz" for _ in range(t): total = 0 l = list(map(int, input().split())) string = input() lst = list(set(s) - set(string)) for i in lst: total += l[ord(i) - ord('a')] print(total)
t = int(input()) s = 'abcdefghijklmnopqrstuvwxyz' for _ in range(t): total = 0 l = list(map(int, input().split())) string = input() lst = list(set(s) - set(string)) for i in lst: total += l[ord(i) - ord('a')] print(total)
# Fury Incarnate medal = 1142554 if sm.canHold(medal): sm.chatScript("You obtained the <Fury Incarnate> medal.") sm.startQuest(parentID) sm.completeQuest(parentID)
medal = 1142554 if sm.canHold(medal): sm.chatScript('You obtained the <Fury Incarnate> medal.') sm.startQuest(parentID) sm.completeQuest(parentID)
# # PySNMP MIB module WHISP-SM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/WHISP-SM-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:36:30 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ConstraintsUnion, ValueRangeConstraint, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "ValueRangeConstraint", "SingleValueConstraint", "ValueSizeConstraint") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") Bits, TimeTicks, Gauge32, IpAddress, ObjectIdentity, MibIdentifier, Unsigned32, ModuleIdentity, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, Integer32, Counter64, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "TimeTicks", "Gauge32", "IpAddress", "ObjectIdentity", "MibIdentifier", "Unsigned32", "ModuleIdentity", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "Integer32", "Counter64", "Counter32") TextualConvention, MacAddress, PhysAddress, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "MacAddress", "PhysAddress", "DisplayString") dhcpRfPublicIp, whispBoxEsn = mibBuilder.importSymbols("WHISP-BOX-MIBV2-MIB", "dhcpRfPublicIp", "whispBoxEsn") whispSm, whispBox, whispModules, whispAps = mibBuilder.importSymbols("WHISP-GLOBAL-REG-MIB", "whispSm", "whispBox", "whispModules", "whispAps") WhispMACAddress, WhispLUID = mibBuilder.importSymbols("WHISP-TCV2-MIB", "WhispMACAddress", "WhispLUID") whispSmMibModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 161, 19, 1, 1, 13)) if mibBuilder.loadTexts: whispSmMibModule.setLastUpdated('200304150000Z') if mibBuilder.loadTexts: whispSmMibModule.setOrganization('Cambium Networks') if mibBuilder.loadTexts: whispSmMibModule.setContactInfo('Canopy Technical Support email: [email protected]') if mibBuilder.loadTexts: whispSmMibModule.setDescription('This module contains MIB definitions for Subscriber Modem.') whispSmConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1)) whispSmSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7)) whispSmStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2)) whispSmGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 3)) whispSmEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4)) whispSmDfsEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 1)) whispSmSpAnEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 2)) whispSmDHCPClientEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 3)) whispSmControls = MibIdentifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 8)) rfScanList = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 1), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rfScanList.setStatus('current') if mibBuilder.loadTexts: rfScanList.setDescription('RF scan list. The frequencies are: 2.4 radios:24150,24175,24200,24225,24250,24275,24300,24325,24350,24375, 24400,24425,24450,24475,24500,24525,24550,24575. 3.5 radios:340000-360000 added and removed dynamically. 4.9 radios:494500-498500 added and removed dynamically. 5.1 radios:5175,5180,5185,5190,5195,5200,5205,5210,5215,5220,5225,5230,5240, 5245,5250,5255,5260,5265,5270,5275,5280,5285,5290,5295,5300,5305, 5310,5315,5320,5325. 5.2 radios:5275,5280,5285,5290,5295,5300,5305,5310,5315,5320,5325. 5.4 FSK radios:5495,5500,5505,5510,5515,5520,5525, 5530,5535,5540,5545,5550,5555,5560,5565,5570,5575,5580,5585,5590,5595, 5600,5605,5610,5615,5620,5625,5630,5635,5640,5645,5650,5655,5660,5665, 5670,5675,5680,5685,5690,5695,5700,5705. 5.4 OFDM radios 5 mhz channels: 547250,547500,547750,548000,548500,548750,549000,549250,549500,549750,550000,550250,550500,550750,551000,551250,551500,551750,552000,552250,552500,552750, 553000,553250,553500,553750,554000,554250,554500,554750,555000,555250,555500,555750,556000,556250,556500,556750,557000,557250,557500,557750,558000,558250,558500,558750,559000,559250,559500,559750, 560000,560250,560500,560750,561000,561250,561500,561750,562000,562250,562500,562750,563000,563250,563500,563750,564000,564250,564500,564750,565000,565250,565500,565750,566000,566250,566500,566750, 567000,567250,567500,567750,568000,568250,568500,568750,569000,569250,569500,569750,570000,570250,570500,570750,571000,571250,571500,571750. 5.4 OFDM radios 10 mhz channels: 547500,548500,549000,549500,550000,550500,551000,551500,552000,552500, 553000,553500,554000,554500,555000,555500,556000,556500,557000,557500,558000,558500,559000,559500, 560000,560500,561000,561500,562000,562500,563000,563500,564000,564500,565000,565500,566000,566500, 567000,567500,568000,568500,569000,569500,570000,570500,571000,571500. 5.4 OFDM radios 20 mhz channels: 547500,548500,549000,549500,550000,550500,551000,551500,552000,552500, 553000,553500,554000,554500,555000,555500,556000,556500,557000,557500,558000,558500,559000,559500, 560000,560500,561000,561500,562000,562500,563000,563500,564000,564500,565000,565500,566000,566500, 567000,567500,568000,568500,569000,569500,570000,570500,571000,571500. 5.7 FSK radios with ISM enabled :5735,5740,5745,5750,5755,5760,5765,5770,5775, 5780,5785,5790,5795,5800,5805,5810,5815,5820,5825,5830,5835,5840. 5.7 OFDM radios 5 mhz channels :572750,573000,573250,573500,573750,574000,574250,574500,574750,575000,575250,575500,575750,576000,576250,576500,576750,577000,577250,577500,577750, 578000,578250,578500,578750,579000,579250,579500,579750,580000,580250,580500,580750,581000,581250,581500,581750,582000,582250,582500,582750,583000,583250,583500,583750,584000, 584250,584500,584750,585000,585250,585500,585750,586000,586250,586500,586750,587000,587250. 5.7 OFDM radios 10 mhz channels:573000,573500,574000,574500,575000,575500,576000,576500,577000,577500, 578000,578500,579000,579500,580000,580500,581000,581500,582000,582500,583000,583500,584000,584500,585000,585500,586000,586500,587000. 5.7 OFDM radios 20 mhz channels :573500,574000,574500,575000,575500,576000,576500,577000,577500, 578000,578500,579000,579500,580000,580500,581000,581500,582000,582500,583000,583500,584000,584500,585000,585500,586000,586500. 5.8 radios:5860,5865,5870,5875,5880,5885,5890,5895,5900,5905,5910. 5805,5810,5815,5820,5825,5830,5835,5840,5845,5850,5855,5860,5865,5870,5875,5880, 5885,5890,5895,5900,5905,5910,5915,5920,5925,5930,5935,5940,5945,5950. 5.9 radios:5735,5740,5745,5750,5755,5760,5765,5770,5775,5780,5785,5790,5795,5800, 5805,5810,5815,5820,5825,5830,5835,5840,5845,5850,5855,5860,5865,5870,5875,5880, 5885,5890,5895,5900,5905,5910,5915,5920,5925,5930,5935,5940,5945,5950. 6.050 radios:5850,5855,5860,5865,5870,5875,5880,5885,5890,5895,5900,5905,5910,5915,5920, 5925,5930,5935,5940,5945,5950,5955,5960,5965,5970,5975,5980,5985,5990,5995,6000, 6005,6010,6015,6020,6025,6030,6035,6040,6045,6050. 900 radios:9060,9070,9080,9090,9100,9110,9120,9130,9140,9150,9160,9170,9180,9190,9200,9220,9230,9240. 0: none. all: All frequencies in the band(s) supported by the radio will be selected. all54: All frequencies in the 5.4 band will be selected (only available on dual band radios). all57: All frequencies in the 5.7 band will be selected (only available on dual band radios). When doing a set, separate values with comma with no white space between values.') powerUpMode = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("operational", 0), ("aim", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: powerUpMode.setStatus('current') if mibBuilder.loadTexts: powerUpMode.setDescription('SM Power Up Mode With No 802.3 Link. 1 -- Power up in Aim mode 2 -- Power up in Operational mode.') lanIpSm = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lanIpSm.setStatus('current') if mibBuilder.loadTexts: lanIpSm.setDescription('LAN IP.') lanMaskSm = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lanMaskSm.setStatus('current') if mibBuilder.loadTexts: lanMaskSm.setDescription('LAN subnet mask.') defaultGwSm = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 5), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: defaultGwSm.setStatus('current') if mibBuilder.loadTexts: defaultGwSm.setDescription('Default gateway.') networkAccess = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("localIP", 0), ("publicIP", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: networkAccess.setStatus('current') if mibBuilder.loadTexts: networkAccess.setDescription('Network accessibility. Public or local IP. For multipoint only.') authKeySm = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: authKeySm.setStatus('current') if mibBuilder.loadTexts: authKeySm.setDescription('Authentication key. It should be equal or less than 32 characters long.') enable8023link = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: enable8023link.setStatus('current') if mibBuilder.loadTexts: enable8023link.setDescription('To enable or disable 802.3 link. For SMs only.') authKeyOption = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("useDefault", 0), ("useKeySet", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: authKeyOption.setStatus('current') if mibBuilder.loadTexts: authKeyOption.setDescription('This option is for SMs only. Backhaul timing slave always uses the set key. 0 - Use default key. 1 - Use set key.') timingPulseGated = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: timingPulseGated.setStatus('current') if mibBuilder.loadTexts: timingPulseGated.setDescription('0 - Disable (Always propagate the frame timing pulse). 1 - Enable (If SM out of sync then dont propagate the frame timing pulse).') naptPrivateIP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 11), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: naptPrivateIP.setStatus('current') if mibBuilder.loadTexts: naptPrivateIP.setDescription('NAPT private IP address. Only the first three bytes can be changed when NAPT is enabled.') naptPrivateSubnetMask = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 12), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: naptPrivateSubnetMask.setStatus('current') if mibBuilder.loadTexts: naptPrivateSubnetMask.setDescription('NAPT private subnet mask. Only the last byte can be changed when NAPT is enabled. The address will always be: 255.255.255.x.') naptPublicIP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 13), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: naptPublicIP.setStatus('current') if mibBuilder.loadTexts: naptPublicIP.setDescription('IP Address of NAPT Public Interface. The variable is available only when NAPT is enabled.') naptPublicSubnetMask = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 14), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: naptPublicSubnetMask.setStatus('current') if mibBuilder.loadTexts: naptPublicSubnetMask.setDescription('Subnet mask for NAPT Public Interface. The variable is available only when NAPT is enabled.') naptPublicGatewayIP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 15), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: naptPublicGatewayIP.setStatus('current') if mibBuilder.loadTexts: naptPublicGatewayIP.setDescription('IP Address of NAPT Public Interface Gateway. The variable is available only when NAPT is enabled.') naptRFPublicIP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 16), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: naptRFPublicIP.setStatus('current') if mibBuilder.loadTexts: naptRFPublicIP.setDescription('IP Address of RF Public Interface. The variable is available only when NAPT is enabled.') naptRFPublicSubnetMask = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 17), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: naptRFPublicSubnetMask.setStatus('current') if mibBuilder.loadTexts: naptRFPublicSubnetMask.setDescription('Subnet mask of RF Public Interface. The variable is available only when NAPT is enabled.') naptRFPublicGateway = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 18), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: naptRFPublicGateway.setStatus('current') if mibBuilder.loadTexts: naptRFPublicGateway.setDescription('IP Address of RF Public Interface Gateway. The variable is available only when NAPT is enabled.') naptEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: naptEnable.setStatus('current') if mibBuilder.loadTexts: naptEnable.setDescription('To enable or disable NAPT. For multipoint only. 1=Enable NAPT, 0=Disable NAPT.') arpCacheTimeout = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 20), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: arpCacheTimeout.setStatus('current') if mibBuilder.loadTexts: arpCacheTimeout.setDescription('ARP cache time out in unit of minutes. For multipoint only. Range from 1-30.') tcpGarbageCollectTmout = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 21), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpGarbageCollectTmout.setStatus('current') if mibBuilder.loadTexts: tcpGarbageCollectTmout.setDescription('Units of minutes for TCP garbage collection. For multipoint only. Range 4-1440.') udpGarbageCollectTmout = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 22), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: udpGarbageCollectTmout.setStatus('current') if mibBuilder.loadTexts: udpGarbageCollectTmout.setDescription('Units of minutes for UDP garbage collection. For multipoint only. Range 1-1440.') dhcpClientEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpClientEnable.setStatus('obsolete') if mibBuilder.loadTexts: dhcpClientEnable.setDescription("To enable or disable DHCP client. For multipoint SM's with NAPT enabled.") dhcpServerEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerEnable.setStatus('current') if mibBuilder.loadTexts: dhcpServerEnable.setDescription("To enable or disable DHCP server. For multipoint SM's with NAPT enabled.") dhcpServerLeaseTime = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 25), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpServerLeaseTime.setStatus('current') if mibBuilder.loadTexts: dhcpServerLeaseTime.setDescription("Units of days for DHCP server lease time. For multipoint SM's with NAPT enabled. Range from 1-30.") dhcpIPStart = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 26), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpIPStart.setStatus('current') if mibBuilder.loadTexts: dhcpIPStart.setDescription('The last byte will be set for the starting IP that our DHCP server gives away. The first 3 bytes of the starting IP are the same as those of NAPT private IP') dnsAutomatic = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("manually", 0), ("automatically", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dnsAutomatic.setStatus('current') if mibBuilder.loadTexts: dnsAutomatic.setDescription('To have DHCP Server obtain DNS information automatically or manually.') prefferedDNSIP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 28), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: prefferedDNSIP.setStatus('current') if mibBuilder.loadTexts: prefferedDNSIP.setDescription('The preferred DNS IP when we are configured for static DNS (Not used when configured for automatic DNS).') alternateDNSIP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 29), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: alternateDNSIP.setStatus('current') if mibBuilder.loadTexts: alternateDNSIP.setDescription('The alternate DNS IP when we are configured for static DNS (Not used when configured for automatic DNS).') dmzIP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 30), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dmzIP.setStatus('current') if mibBuilder.loadTexts: dmzIP.setDescription('Only the last byte of DMZ Host IP will be set. The first 3 bytes of DMZ IP are the same as those of NAPT private IP.') dmzEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dmzEnable.setStatus('current') if mibBuilder.loadTexts: dmzEnable.setDescription('To enable or disable DMZ host functionality.') dhcpNumIPsToLease = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 32), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dhcpNumIPsToLease.setStatus('current') if mibBuilder.loadTexts: dhcpNumIPsToLease.setDescription('Number of IP addresses that our DHCP server can give away.') pppoeFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeFilter.setStatus('obsolete') if mibBuilder.loadTexts: pppoeFilter.setDescription('To set PPPoE packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') smbFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: smbFilter.setStatus('obsolete') if mibBuilder.loadTexts: smbFilter.setDescription('To set SMB packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') snmpFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpFilter.setStatus('obsolete') if mibBuilder.loadTexts: snmpFilter.setDescription('To set SNMP packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') userP1Filter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: userP1Filter.setStatus('obsolete') if mibBuilder.loadTexts: userP1Filter.setDescription('To set user defined port 1 packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') userP2Filter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 37), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: userP2Filter.setStatus('obsolete') if mibBuilder.loadTexts: userP2Filter.setDescription('To set user defined port 2 packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') userP3Filter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: userP3Filter.setStatus('obsolete') if mibBuilder.loadTexts: userP3Filter.setDescription('To set user defined port 3 packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') allOtherIpFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: allOtherIpFilter.setStatus('obsolete') if mibBuilder.loadTexts: allOtherIpFilter.setDescription('To set all other IPv4 packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') upLinkBCastFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: upLinkBCastFilter.setStatus('obsolete') if mibBuilder.loadTexts: upLinkBCastFilter.setDescription('This variable is currently obsolete.') arpFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 41), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: arpFilter.setStatus('obsolete') if mibBuilder.loadTexts: arpFilter.setDescription('To set ARP packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') allOthersFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: allOthersFilter.setStatus('obsolete') if mibBuilder.loadTexts: allOthersFilter.setDescription('To set all other packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') userDefinedPort1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 43), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: userDefinedPort1.setStatus('obsolete') if mibBuilder.loadTexts: userDefinedPort1.setDescription('An integer value of number one user defined port. Range:0-65535 Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port1TCPFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 44), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: port1TCPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port1TCPFilter.setDescription('To set user defined port 1 TCP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port1UDPFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: port1UDPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port1UDPFilter.setDescription('To set user defined port 1 UDP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') userDefinedPort2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 46), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: userDefinedPort2.setStatus('obsolete') if mibBuilder.loadTexts: userDefinedPort2.setDescription('An integer value of number two user defined port. Range:0-65535 Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port2TCPFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 47), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: port2TCPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port2TCPFilter.setDescription('To set user defined port 2 TCP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port2UDPFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: port2UDPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port2UDPFilter.setDescription('To set user defined port 2 UDP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') userDefinedPort3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 49), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: userDefinedPort3.setStatus('obsolete') if mibBuilder.loadTexts: userDefinedPort3.setDescription('An integer value of number three user defined port. Range:0-65535 Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port3TCPFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: port3TCPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port3TCPFilter.setDescription('To set user defined port 3 TCP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port3UDPFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: port3UDPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port3UDPFilter.setDescription('To set user defined port 3 UDP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') bootpcFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bootpcFilter.setStatus('obsolete') if mibBuilder.loadTexts: bootpcFilter.setDescription('To set bootp client sourced packets filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') bootpsFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bootpsFilter.setStatus('obsolete') if mibBuilder.loadTexts: bootpsFilter.setDescription('To set bootp server sourced packets filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') ip4MultFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 54), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ip4MultFilter.setStatus('obsolete') if mibBuilder.loadTexts: ip4MultFilter.setDescription('To set IPv4 MultiCast packets filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') ingressVID = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 55), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ingressVID.setStatus('current') if mibBuilder.loadTexts: ingressVID.setDescription('Untagged ingress VID.') lowPriorityUplinkCIR = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 56), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lowPriorityUplinkCIR.setStatus('current') if mibBuilder.loadTexts: lowPriorityUplinkCIR.setDescription('Low priority uplink CIR.') lowPriorityDownlinkCIR = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 57), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: lowPriorityDownlinkCIR.setStatus('current') if mibBuilder.loadTexts: lowPriorityDownlinkCIR.setDescription('Low priority downlink CIR.') hiPriorityChannel = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hiPriorityChannel.setStatus('current') if mibBuilder.loadTexts: hiPriorityChannel.setDescription('To enable or disable high priority channel.') hiPriorityUplinkCIR = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 59), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hiPriorityUplinkCIR.setStatus('current') if mibBuilder.loadTexts: hiPriorityUplinkCIR.setDescription('High priority uplink CIR.') hiPriorityDownlinkCIR = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 60), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hiPriorityDownlinkCIR.setStatus('current') if mibBuilder.loadTexts: hiPriorityDownlinkCIR.setDescription('High priority downlink CIR.') smRateAdapt = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 61), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("onex", 0), ("onextwox", 1), ("onextwoxthreex", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: smRateAdapt.setStatus('obsolete') if mibBuilder.loadTexts: smRateAdapt.setDescription('Rate adaptation parameter. 0: no rate adaptation. 1: 1x and 2x adaptation. 2: 1x,2x and 3x adaptation.') upLnkDataRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 62), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: upLnkDataRate.setStatus('current') if mibBuilder.loadTexts: upLnkDataRate.setDescription('Sustained uplink bandwidth cap.') upLnkLimit = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 63), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: upLnkLimit.setStatus('current') if mibBuilder.loadTexts: upLnkLimit.setDescription('Burst uplink bandwidth cap.') dwnLnkDataRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 64), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dwnLnkDataRate.setStatus('current') if mibBuilder.loadTexts: dwnLnkDataRate.setDescription('Sustained downlink bandwidth cap.') dwnLnkLimit = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 65), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: dwnLnkLimit.setStatus('current') if mibBuilder.loadTexts: dwnLnkLimit.setDescription('Burst downlink bandwidth cap.') dfsConfig = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 66), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dfsConfig.setStatus('obsolete') if mibBuilder.loadTexts: dfsConfig.setDescription('To configure proper regions for Dynamic Frequency Shifting. For 5.2/5.4/5.7 GHz radios.') ethAccessFilterEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 67), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ethAccessFilterEnable.setStatus('obsolete') if mibBuilder.loadTexts: ethAccessFilterEnable.setDescription('To enable or disable Ethernet Port access filtering to SM Management Functions. (0) - Ethernet access to SM Management allowed. (1) - Ethernet access to SM Management blocked.') ipAccessFilterEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 68), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ipAccessFilterEnable.setStatus('current') if mibBuilder.loadTexts: ipAccessFilterEnable.setDescription('To enable or disable IP access filtering to Management functions. (0) - IP access will be allowed from all addresses. (1) - IP access will be controlled using allowedIPAccess1-3 entries.') allowedIPAccess1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 69), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: allowedIPAccess1.setStatus('current') if mibBuilder.loadTexts: allowedIPAccess1.setDescription('Allow access to SM Management from this IP. 0 is default setting to allow from all IPs.') allowedIPAccess2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 70), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: allowedIPAccess2.setStatus('current') if mibBuilder.loadTexts: allowedIPAccess2.setDescription('Allow access to SM Management from this IP. 0 is default setting to allow from all IPs.') allowedIPAccess3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 71), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: allowedIPAccess3.setStatus('current') if mibBuilder.loadTexts: allowedIPAccess3.setDescription('Allow access to SM Management from this IP. 0 is default setting to allow from all IPs.') rfDhcpState = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 72), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rfDhcpState.setStatus('current') if mibBuilder.loadTexts: rfDhcpState.setDescription('To enable or disable RF Interface DHCP feature.') bCastMIR = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 73), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0))).clone(namedValues=NamedValues(("disabled", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bCastMIR.setStatus('current') if mibBuilder.loadTexts: bCastMIR.setDescription('To enable and set Broadcast/ Multicast MIR feature. Use value of 0 to disable. Units are in kbps') bhsReReg = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 74), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bhsReReg.setStatus('obsolete') if mibBuilder.loadTexts: bhsReReg.setDescription('Allows BHS re-registration every 24 hours. Enable allows re-registration and Disable does not. 24 Hour Encryption Refresh.') smLEDModeFlag = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 75), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("legacy", 0), ("revised", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: smLEDModeFlag.setStatus('current') if mibBuilder.loadTexts: smLEDModeFlag.setDescription('To set LED Panel Operation to Revised Mode(1) or to Legacy Mode(0)') ethAccessEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 76), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ethAccessEnable.setStatus('current') if mibBuilder.loadTexts: ethAccessEnable.setDescription('To enable or disable Ethernet Port access to SM Management Functions. (1) - Ethernet access to SM Management allowed. (0) - Ethernet access to SM Management blocked.') pppoeEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 77), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeEnable.setStatus('current') if mibBuilder.loadTexts: pppoeEnable.setDescription('Enable or disable PPPoE on the SM. NAT MUST be enabled prior and Translation Bridging MUST be DISABLED on the AP.') pppoeAuthenticationType = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 78), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("chap-pap", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeAuthenticationType.setStatus('current') if mibBuilder.loadTexts: pppoeAuthenticationType.setDescription('Set the PPPoE Authentication Type to either None or CHAP/pap') pppoeAccessConcentrator = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 79), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeAccessConcentrator.setStatus('current') if mibBuilder.loadTexts: pppoeAccessConcentrator.setDescription('Set the PPPoE Access Concentrator Name. Less than or equal to 32 characters') pppoeServiceName = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 80), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeServiceName.setStatus('current') if mibBuilder.loadTexts: pppoeServiceName.setDescription('Set the PPPoE Service Name. Less than or equal to 32 characters') pppoeUserName = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 81), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeUserName.setStatus('current') if mibBuilder.loadTexts: pppoeUserName.setDescription('Set the PPPoE Username. Less than or equal to 32 characters') pppoePassword = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 82), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoePassword.setStatus('current') if mibBuilder.loadTexts: pppoePassword.setDescription('Set the PPPoE Password. Less than or equal to 32 characters') pppoeTCPMSSClampEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 83), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeTCPMSSClampEnable.setStatus('current') if mibBuilder.loadTexts: pppoeTCPMSSClampEnable.setDescription('Enable or disable TCP MSS Clamping. Enabling this will cause the SM to edit the TCP MSS in TCP SYN and SYN-ACK packets. This will allow for a workaround for MTU issues so that the TCP session will only go up to the clamped MSS. If you are using PMTUD reliably, this should not be needed.') pppoeMTUOverrideEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 84), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeMTUOverrideEnable.setStatus('current') if mibBuilder.loadTexts: pppoeMTUOverrideEnable.setDescription("Enable the overriding of the PPP link's MTU. Normally, the PPP link will set the MTU to the MRU of the PPPoE Server, but this may be overridden. If the MRU of the PPPoE server is smaller than the desired MTU, the smaller MTU will be used.") pppoeMTUOverrideValue = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 85), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1492))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeMTUOverrideValue.setStatus('current') if mibBuilder.loadTexts: pppoeMTUOverrideValue.setDescription("Enable the overriding of the PPP link's MTU. Normally, the PPP link will set the MTU to the MRU of the PPPoE Server, but this may be overridden. If the MRU of the PPPoE server is smaller than the desired MTU, the smaller MTU will be used. Max MTU of a PPPoE link is 1492.") pppoeTimerType = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 86), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("keepAlive", 1), ("idleTimeout", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeTimerType.setStatus('current') if mibBuilder.loadTexts: pppoeTimerType.setDescription('Set the PPPoE Timer type. Can be a Keep Alive timer where the link will be checked periodically and automatically redialed if the link is down. Also could be an Idle Timeout where the link will be automatically dropped after an idle period and redialed if user data is present. Keep Alive timers are in seconds while Idle Timeout timers are in minutes.') pppoeTimeoutPeriod = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 87), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeTimeoutPeriod.setStatus('current') if mibBuilder.loadTexts: pppoeTimeoutPeriod.setDescription('The Timeout Period. The use of this depends on the Timer Type. If the Timer Type is KeepAlive, then the timeout period is in seconds. If the Timer Type is Idle Timeout, then the timeout period is in minutes. Minimum values are 20 seconds for KeepAlive timer, and 5 minutes for Idle Timeout.') timedSpectrumAnalysisDuration = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 88), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 1000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: timedSpectrumAnalysisDuration.setStatus('deprecated') if mibBuilder.loadTexts: timedSpectrumAnalysisDuration.setDescription('As of release 13.0.2 this value is depricated. Please use the OID in whispBoxConfig. Value in seconds for a timed spectrum analysis. Range is 10-1000 seconds.') spectrumAnalysisOnBoot = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 89), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: spectrumAnalysisOnBoot.setStatus('current') if mibBuilder.loadTexts: spectrumAnalysisOnBoot.setDescription('To enable or disable Spectrum Analysis on boot up for one scan through the band. (0) - Disabled (1) - Enabled') spectrumAnalysisAction = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 90), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("stopSpectrumAnalysis", 0), ("startTimedSpectrumAnalysis", 1), ("startContinuousSpectrumAnalysis", 2), ("idleNoSpectrumAnalysis", 3), ("idleCompleteSpectrumAnalysis", 4), ("inProgressTimedSpectrumAnalysis", 5), ("inProgressContinuousSpectrumAnalysis", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: spectrumAnalysisAction.setStatus('deprecated') if mibBuilder.loadTexts: spectrumAnalysisAction.setDescription('As of release 13.0.2, this OID has been deprecated. Please use the OID in whispBoxConfig. Start or stop timed or continuous Spectrum Analysis and also give status. (0) - Stop Spectrum Analysis (1) - Start Timed Spectrum Analysis (2) - Start Continuous Spectrum Analysis (3) - Idle, no Spectrum Analysis results. (4) - Idle, Spectrum Analysis results available. (5) - Timed or Remote Spectrum Analysis in progress. (6) - Continuous Spectrum Analysis in progress. Note: Continuous mode has a max of 24 hours.') pppoeConnectOD = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 91), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("connectOnDemand", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeConnectOD.setStatus('current') if mibBuilder.loadTexts: pppoeConnectOD.setDescription('Force a manual PPPoE connection attempt.') pppoeDisconnectOD = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 92), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("disconnectOnDemand", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pppoeDisconnectOD.setStatus('current') if mibBuilder.loadTexts: pppoeDisconnectOD.setDescription('Force a manual PPPoE disconnection.') smAntennaType = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 93), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("integrated", 0), ("external", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: smAntennaType.setStatus('obsolete') if mibBuilder.loadTexts: smAntennaType.setDescription('Deprecated. See whispBoxStatus.antType for antenna type information.') natConnectionType = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 94), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("staticIP", 0), ("dhcp", 1), ("pppoe", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: natConnectionType.setStatus('current') if mibBuilder.loadTexts: natConnectionType.setDescription('To configure the SM NAT connection type. Options are Static IP, DHCP, or PPPoE.') wanPingReplyEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 95), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wanPingReplyEnable.setStatus('current') if mibBuilder.loadTexts: wanPingReplyEnable.setDescription('Allow Ping replies from SM WAN interface. Applies to both NAT and PPPoE WAN interfaces.') packetFilterDirection = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 96), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("upstream", 1), ("downstream", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: packetFilterDirection.setStatus('obsolete') if mibBuilder.loadTexts: packetFilterDirection.setDescription('To packet filter direction when NAT is disabled. Upstream is default. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') colorCode2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 97), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCode2.setStatus('current') if mibBuilder.loadTexts: colorCode2.setDescription('Second Color code.') colorCodepriority2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 98), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 0))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("tertiary", 3), ("disable", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCodepriority2.setStatus('current') if mibBuilder.loadTexts: colorCodepriority2.setDescription('Priority setting for second color code.') colorCode3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 99), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCode3.setStatus('current') if mibBuilder.loadTexts: colorCode3.setDescription('Third Color code.') colorCodepriority3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 100), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 0))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("tertiary", 3), ("disable", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCodepriority3.setStatus('current') if mibBuilder.loadTexts: colorCodepriority3.setDescription('Priority setting for the third color code.') colorCode4 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 101), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCode4.setStatus('current') if mibBuilder.loadTexts: colorCode4.setDescription('Fourth Color code.') colorCodepriority4 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 102), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 0))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("tertiary", 3), ("disable", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCodepriority4.setStatus('current') if mibBuilder.loadTexts: colorCodepriority4.setDescription('Priority setting for the fourth color code.') colorCode5 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 103), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCode5.setStatus('current') if mibBuilder.loadTexts: colorCode5.setDescription('Fifth Color code.') colorCodepriority5 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 104), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 0))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("tertiary", 3), ("disable", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCodepriority5.setStatus('current') if mibBuilder.loadTexts: colorCodepriority5.setDescription('Priority setting for the fifth color code.') colorCode6 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 105), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCode6.setStatus('current') if mibBuilder.loadTexts: colorCode6.setDescription('Sixth Color code.') colorCodepriority6 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 106), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 0))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("tertiary", 3), ("disable", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCodepriority6.setStatus('current') if mibBuilder.loadTexts: colorCodepriority6.setDescription('Priority setting for the sixth color code.') colorCode7 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 107), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCode7.setStatus('current') if mibBuilder.loadTexts: colorCode7.setDescription('Seventh Color code.') colorCodepriority7 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 108), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 0))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("tertiary", 3), ("disable", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCodepriority7.setStatus('current') if mibBuilder.loadTexts: colorCodepriority7.setDescription('Priority setting for the seventh color code.') colorCode8 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 109), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCode8.setStatus('current') if mibBuilder.loadTexts: colorCode8.setDescription('Eighth Color code.') colorCodepriority8 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 110), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 0))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("tertiary", 3), ("disable", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCodepriority8.setStatus('current') if mibBuilder.loadTexts: colorCodepriority8.setDescription('Priority setting for the eighth color code.') colorCode9 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 111), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCode9.setStatus('current') if mibBuilder.loadTexts: colorCode9.setDescription('Ninth Color code.') colorCodepriority9 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 112), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 0))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("tertiary", 3), ("disable", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCodepriority9.setStatus('current') if mibBuilder.loadTexts: colorCodepriority9.setDescription('Priority setting for the ninth color code.') colorCode10 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 113), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 254))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCode10.setStatus('current') if mibBuilder.loadTexts: colorCode10.setDescription('Tenth Color code.') colorCodepriority10 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 114), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 0))).clone(namedValues=NamedValues(("primary", 1), ("secondary", 2), ("tertiary", 3), ("disable", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: colorCodepriority10.setStatus('current') if mibBuilder.loadTexts: colorCodepriority10.setDescription('Priority setting for the tenth color code.') natDNSProxyEnable = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 115), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: natDNSProxyEnable.setStatus('current') if mibBuilder.loadTexts: natDNSProxyEnable.setDescription('If enabled, the SM will advertise itself as the DNS server when it sends out DHCP client leases and forward DNS queries automatically. If disabled, the SM will forward on upstream DNS server information when it sends out DHCP client leases.') allIpv4Filter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 116), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("filterOff", 0), ("filterOn", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: allIpv4Filter.setStatus('obsolete') if mibBuilder.loadTexts: allIpv4Filter.setDescription('To set all IPv4 packet filter when NAT is disabled. Enabling this will automatically enable all of the known IP filters (SMB, SNMP, Bootp, IPv4 Mcast, User Defined Ports, and All Other IPv4). Obsolete - Use corresponding OID in whipsBoxConfig MIB.') spectrumAnalysisDisplay = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 117), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("averaging", 0), ("instantaneous", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: spectrumAnalysisDisplay.setStatus('current') if mibBuilder.loadTexts: spectrumAnalysisDisplay.setDescription('The display for Spectrum Analyzer: (0) - Averaging over entire period (1) - Instantaneous showing the last reading') syslogSMXmitSetting = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 118), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("obtain-from-AP", 0), ("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: syslogSMXmitSetting.setStatus('deprecated') if mibBuilder.loadTexts: syslogSMXmitSetting.setDescription('Obtains Syslog transmit configuration from AP/BHM if set to 0, overrides if 1 or 2. Transmits syslog data to Syslog server if enabled(1), stops if disabled (2).') syslogServerApPreferred = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 119), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("use-local", 0), ("use-AP-preferred", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: syslogServerApPreferred.setStatus('current') if mibBuilder.loadTexts: syslogServerApPreferred.setDescription('Uses Syslog server configuration from AP/BHM if enabled and available, otherwise uses local configuration.') syslogMinLevelApPreferred = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 120), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("use-local", 0), ("use-AP-preferred", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: syslogMinLevelApPreferred.setStatus('current') if mibBuilder.loadTexts: syslogMinLevelApPreferred.setDescription('Uses Syslog minimum transmit level configuration from AP/BHM if available, otherwise uses local configuration.') syslogSMXmitControl = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 121), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("obtain-from-AP-default-disabled", 0), ("obtain-from-AP-default-enabled", 1), ("disable", 2), ("enable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: syslogSMXmitControl.setStatus('current') if mibBuilder.loadTexts: syslogSMXmitControl.setDescription('Obtains Syslog transmit configuration from AP/BHM if available, or specifies the local transmit state.') eapPeerAAAServerCommonName = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 126), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: eapPeerAAAServerCommonName.setStatus('current') if mibBuilder.loadTexts: eapPeerAAAServerCommonName.setDescription('THIS OID IS CURRENTLY UNUSED: EAP Peer Server Common Name') rfScanListBandFilter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 127), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(8, 9))).clone(namedValues=NamedValues(("band5400", 8), ("band5700", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rfScanListBandFilter.setStatus('obsolete') if mibBuilder.loadTexts: rfScanListBandFilter.setDescription('This element is obsolete.') upLnkMaxBurstDataRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 128), Integer32()).setUnits('Kilobits/sec').setMaxAccess("readwrite") if mibBuilder.loadTexts: upLnkMaxBurstDataRate.setStatus('current') if mibBuilder.loadTexts: upLnkMaxBurstDataRate.setDescription('Maximum burst uplink rate.') dwnLnkMaxBurstDataRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 129), Integer32()).setUnits('Kilobits/sec').setMaxAccess("readwrite") if mibBuilder.loadTexts: dwnLnkMaxBurstDataRate.setStatus('current') if mibBuilder.loadTexts: dwnLnkMaxBurstDataRate.setDescription('Maximum burst downlink rate.') cyclicPrefixScan = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 130), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: cyclicPrefixScan.setStatus('current') if mibBuilder.loadTexts: cyclicPrefixScan.setDescription('Cyclic Prefix value for frequency scanning used by MIMO SMs only. When setting use a comma delimited list of cyclic prefixes with no spaces. For example: 1/8,1/16') bandwidthScan = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 131), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: bandwidthScan.setStatus('current') if mibBuilder.loadTexts: bandwidthScan.setDescription('Bandwidth values for frequency scanning used by MIMO SMs only. When setting use a comma delimited list of bandwidths. For example: 10, 20') apSelection = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 132), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 0))).clone(namedValues=NamedValues(("powerLevel", 1), ("optimizeForThroughput", 0)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: apSelection.setStatus('current') if mibBuilder.loadTexts: apSelection.setDescription("This OID affects what AP to attempt to register to when Canopy SMs scan see more than one AP that are valid in it's configuration. (0) - Default, Canopy radios after scanning select the best AP that will optimize for estimated throughput. (1) - Select the AP with the best receive power level. Note this is only if multiple APs fit the current scan configuration, and will be overriden by color codes, RADIUS, etc.") radioBandscanConfig = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 133), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("instant", 0), ("delayed", 1), ("apply", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: radioBandscanConfig.setStatus('current') if mibBuilder.loadTexts: radioBandscanConfig.setDescription('Used to determine when frequency, cyclic prefix and bandwidth settings take effect for band scanning MIMO SMs. 0 - Instant 1 - Delayed 2 - Apply changes') forcepoweradjust = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 134), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: forcepoweradjust.setStatus('current') if mibBuilder.loadTexts: forcepoweradjust.setDescription('This will force a multipoint SM to initiate an asynchronous power adjust sequence.') clearBerrResults = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 135), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clearBerrResults.setStatus('current') if mibBuilder.loadTexts: clearBerrResults.setDescription('This will clear the BERR results.') berrautoupdateflag = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 136), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: berrautoupdateflag.setStatus('current') if mibBuilder.loadTexts: berrautoupdateflag.setDescription('This indicates if the once a second BERR updating of counters is enabled. 1 = enabled 0 = disabled') testSMBER = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 137), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: testSMBER.setStatus('current') if mibBuilder.loadTexts: testSMBER.setDescription('0 - Disable (Return the SM to a normal operation state). 1 - Enable (Set SM into a BERR test state).') allowedIPAccessNMLength1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 138), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: allowedIPAccessNMLength1.setStatus('current') if mibBuilder.loadTexts: allowedIPAccessNMLength1.setDescription('Length of the network mask to apply to the AllowedIPAddress when assessing if access is allowed') allowedIPAccessNMLength2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 139), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: allowedIPAccessNMLength2.setStatus('current') if mibBuilder.loadTexts: allowedIPAccessNMLength2.setDescription('Length of the network mask to apply to the AllowedIPAddress when assessing if access is allowed') allowedIPAccessNMLength3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 140), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: allowedIPAccessNMLength3.setStatus('current') if mibBuilder.loadTexts: allowedIPAccessNMLength3.setDescription('Length of the network mask to apply to the AllowedIPAddress when assessing if access is allowed') naptRemoteManage = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 141), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("enable-standalone", 1), ("enable-wan", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: naptRemoteManage.setStatus('current') if mibBuilder.loadTexts: naptRemoteManage.setDescription('To enable or disable Remote Management. For multipoint only. 0=Disable Remote Management, 1=Enable - Standalone Config, 2=Enable - Use WAN Interface.') spectrumAnalysisScanBandwidth = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 142), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("bandwidth5MHz", 0), ("bandwidth10MHz", 1), ("bandwidth20MHz", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: spectrumAnalysisScanBandwidth.setStatus('current') if mibBuilder.loadTexts: spectrumAnalysisScanBandwidth.setDescription('Scanning Bandwidth used for the Spectrum Analyzer. Only available on PMP 450.') berDeModSelect = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 143), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("qpsk", 0), ("qam-16", 1), ("qam-64", 2), ("qam-256", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: berDeModSelect.setStatus('current') if mibBuilder.loadTexts: berDeModSelect.setDescription('The BER demodulation level the SM is set. 0 for QPSK, 1 for 16-QAM, 2 for 64-QAM, and 3 for 256-QAM.') multicastVCRcvRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 144), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: multicastVCRcvRate.setStatus('current') if mibBuilder.loadTexts: multicastVCRcvRate.setDescription('Multicast VC Receive Rate') pmp430ApRegistrationOptions = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 145), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("pmp430", 1), ("pmp450", 2), ("both", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: pmp430ApRegistrationOptions.setStatus('current') if mibBuilder.loadTexts: pmp430ApRegistrationOptions.setDescription('Selects AP types (430 and/or 450) that are available for the PMP430 SM. When both AP types are selected, if the SM does not register to an AP, it will reboot to scan the other AP type.') switchRadioModeAndReboot = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 146), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("finishedReboot", 0), ("switchRadioModeAndReboot", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: switchRadioModeAndReboot.setStatus('current') if mibBuilder.loadTexts: switchRadioModeAndReboot.setDescription('Setting this to 1 will force switch the SM to the other radio mode and immediately reboot the unit. When the unit finishes rebooting, it will be in finishedReboot state. Only will be allowed to be set if both registration options are configured. PMP 430 SM only. Introduced in release 12.2.') numAuthCerts = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: numAuthCerts.setStatus('current') if mibBuilder.loadTexts: numAuthCerts.setDescription('can have a max value of 2') authenticationEnforce = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("aaa", 1), ("presharedkey", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: authenticationEnforce.setStatus('current') if mibBuilder.loadTexts: authenticationEnforce.setDescription('enforce SM to register with specifed Auth Enabled AP') phase1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("eapttls", 0), ("eapMSChapV2", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phase1.setStatus('current') if mibBuilder.loadTexts: phase1.setDescription('Select the outer method for EAP Authentication') phase2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("pap", 0), ("chap", 1), ("mschapv2", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: phase2.setStatus('current') if mibBuilder.loadTexts: phase2.setDescription('Select the outer method for EAP Authentication') authOuterId = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 253))).setMaxAccess("readwrite") if mibBuilder.loadTexts: authOuterId.setStatus('current') if mibBuilder.loadTexts: authOuterId.setDescription('EAP Peer Username') authPassword = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: authPassword.setStatus('current') if mibBuilder.loadTexts: authPassword.setDescription('EAP Peer password') authUsername = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 8), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: authUsername.setStatus('current') if mibBuilder.loadTexts: authUsername.setDescription('EAP Peer Identity') useRealm = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: useRealm.setStatus('current') if mibBuilder.loadTexts: useRealm.setDescription('Enable or disable the use of realm option.') realm = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 10), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: realm.setStatus('current') if mibBuilder.loadTexts: realm.setDescription('EAP Peer Realm') certTable = MibTable((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1), ) if mibBuilder.loadTexts: certTable.setStatus('current') if mibBuilder.loadTexts: certTable.setDescription('The table of CA Certificates on SM.') certEntry = MibTableRow((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1, 1), ).setIndexNames((0, "WHISP-SM-MIB", "certIndex")) if mibBuilder.loadTexts: certEntry.setStatus('current') if mibBuilder.loadTexts: certEntry.setDescription('Entry of Certifcates.') certIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: certIndex.setStatus('current') if mibBuilder.loadTexts: certIndex.setDescription('User information table index.') cert = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cert.setStatus('current') if mibBuilder.loadTexts: cert.setDescription('0: Inactive 1: Active') action = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("noop", 0), ("delete", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: action.setStatus('current') if mibBuilder.loadTexts: action.setDescription('0: No Operation 1: Delete Certificate') certificateDN = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: certificateDN.setStatus('current') if mibBuilder.loadTexts: certificateDN.setDescription('Distinguished Name of Certificate 2') sessionStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: sessionStatus.setStatus('current') if mibBuilder.loadTexts: sessionStatus.setDescription('SM registered or not.') rssi = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rssi.setStatus('current') if mibBuilder.loadTexts: rssi.setDescription('Radio signal strength index. FSK only.') jitter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: jitter.setStatus('current') if mibBuilder.loadTexts: jitter.setDescription('A measure of multipath interference. Applicable to FSK radios only.') airDelay = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: airDelay.setStatus('current') if mibBuilder.loadTexts: airDelay.setDescription('Round trip delay in bits.') radioSlicingSm = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radioSlicingSm.setStatus('obsolete') if mibBuilder.loadTexts: radioSlicingSm.setDescription('This variable is deprecated.') radioTxGainSm = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radioTxGainSm.setStatus('current') if mibBuilder.loadTexts: radioTxGainSm.setDescription('Radio transmission gain setting. Applicable to FSK radios only.') calibrationStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: calibrationStatus.setStatus('deprecated') if mibBuilder.loadTexts: calibrationStatus.setDescription('Varible deprecated. Please use calibrationStatusBox.') radioDbm = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 8), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radioDbm.setStatus('current') if mibBuilder.loadTexts: radioDbm.setDescription('Rx Power level. For MIMO this is the combined power of the horizontal and vertical paths.') registeredToAp = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: registeredToAp.setStatus('current') if mibBuilder.loadTexts: registeredToAp.setDescription('AP MAC address that the SM registered to.') dhcpCip = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 10), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpCip.setStatus('current') if mibBuilder.loadTexts: dhcpCip.setDescription('Assigned IP address to DHCP client.') dhcpSip = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 11), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpSip.setStatus('current') if mibBuilder.loadTexts: dhcpSip.setDescription('Public DHCP server IP.') dhcpClientLease = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 12), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpClientLease.setStatus('current') if mibBuilder.loadTexts: dhcpClientLease.setDescription('DHCP client lease time.') dhcpCSMask = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 13), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpCSMask.setStatus('current') if mibBuilder.loadTexts: dhcpCSMask.setDescription('Public DHCP server subnet mask.') dhcpDfltRterIP = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 14), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpDfltRterIP.setStatus('current') if mibBuilder.loadTexts: dhcpDfltRterIP.setDescription('Public default router IP address.') dhcpcdns1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 15), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpcdns1.setStatus('current') if mibBuilder.loadTexts: dhcpcdns1.setDescription('Primary public domain name server.') dhcpcdns2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 16), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpcdns2.setStatus('current') if mibBuilder.loadTexts: dhcpcdns2.setDescription('Secondary public domain name server.') dhcpcdns3 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 17), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpcdns3.setStatus('current') if mibBuilder.loadTexts: dhcpcdns3.setDescription('Third public domain name server.') dhcpDomName = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 18), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpDomName.setStatus('current') if mibBuilder.loadTexts: dhcpDomName.setDescription('Public domain name server.') adaptRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 20), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: adaptRate.setStatus('current') if mibBuilder.loadTexts: adaptRate.setDescription('VC adapt rate.') radioDbmInt = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radioDbmInt.setStatus('current') if mibBuilder.loadTexts: radioDbmInt.setDescription('Radio power level(integer). For MIMO radios this is the combined power of the horiztontal and vertical paths.') dfsStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 22), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: dfsStatus.setStatus('current') if mibBuilder.loadTexts: dfsStatus.setDescription('Dynamic frequency shifting status. For DFS Radio only.') radioTxPwr = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 23), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radioTxPwr.setStatus('current') if mibBuilder.loadTexts: radioTxPwr.setDescription('Tx Power level. Valid for FSK and OFDM SMs.') activeRegion = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 24), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: activeRegion.setStatus('current') if mibBuilder.loadTexts: activeRegion.setDescription('The active region of the radio.') snmpBerLevel = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 4, 6, 8))).clone(namedValues=NamedValues(("twoLevelOrMimoQPSK", 2), ("fourLevelOrMimo16QAM", 4), ("mimo64QAM", 6), ("mimo256QAM", 8)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpBerLevel.setStatus('current') if mibBuilder.loadTexts: snmpBerLevel.setDescription('BER level. For PMP450 systems: 2=MIMO QPSK, 4=MIMO 16-QAM, 6=MIMO64-QAM, 8=256-QAM For non PMP450: 2=2 level BER, 4=4 level BER.') nbBitsRcvd = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 26), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: nbBitsRcvd.setStatus('current') if mibBuilder.loadTexts: nbBitsRcvd.setDescription('Number of BER bits received (non MIMO platforms only).') nbPriBitsErr = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nbPriBitsErr.setStatus('current') if mibBuilder.loadTexts: nbPriBitsErr.setDescription('Number of Primary bit errors (non MIMO platforms only).') nbSndBitsErr = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nbSndBitsErr.setStatus('current') if mibBuilder.loadTexts: nbSndBitsErr.setDescription('Number of secondary bit errors (non MIMO platforms only).') primaryBER = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 29), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: primaryBER.setStatus('obsolete') if mibBuilder.loadTexts: primaryBER.setDescription('Obsoleted, invalid type to represent this data. Measured Primary Bit Error Rate.') secondaryBER = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 30), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: secondaryBER.setStatus('obsolete') if mibBuilder.loadTexts: secondaryBER.setDescription('Obsoleted, invalid type to represent this data. Measured Secondary Bit Error Rate.') totalBER = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 31), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalBER.setStatus('obsolete') if mibBuilder.loadTexts: totalBER.setDescription('Obsoleted, invalid type to represent this data. Measured Total Bit Error Rate.') minRSSI = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 32), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: minRSSI.setStatus('current') if mibBuilder.loadTexts: minRSSI.setDescription('Measured Min. RSSI. Applicable to FSK radios only.') maxRSSI = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 33), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: maxRSSI.setStatus('current') if mibBuilder.loadTexts: maxRSSI.setDescription('Measured Max. RSSI. Applicable to FSK radios only.') minJitter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 34), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: minJitter.setStatus('current') if mibBuilder.loadTexts: minJitter.setDescription('Measured Min. Jitter. Applicable to FSK radios only.') maxJitter = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 35), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: maxJitter.setStatus('current') if mibBuilder.loadTexts: maxJitter.setDescription('Measured Max. Jitter. Applicable to FSK radios only.') smSessionTimer = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 36), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: smSessionTimer.setStatus('current') if mibBuilder.loadTexts: smSessionTimer.setDescription('SM current session timer.') pppoeSessionStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 37), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeSessionStatus.setStatus('current') if mibBuilder.loadTexts: pppoeSessionStatus.setDescription('Current PPPoE Session Status') pppoeSessionID = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 38), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeSessionID.setStatus('current') if mibBuilder.loadTexts: pppoeSessionID.setDescription('Current PPPoE Session ID') pppoeIPCPAddress = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 39), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeIPCPAddress.setStatus('current') if mibBuilder.loadTexts: pppoeIPCPAddress.setDescription('Current PPPoE IPCP IP Address') pppoeMTUOverrideEn = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeMTUOverrideEn.setStatus('current') if mibBuilder.loadTexts: pppoeMTUOverrideEn.setDescription('Current PPPoE MTU Override Setting') pppoeMTUValue = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 41), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeMTUValue.setStatus('current') if mibBuilder.loadTexts: pppoeMTUValue.setDescription('Current PPPoE MTU Value') pppoeTimerTypeValue = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("keepAlive", 1), ("idleTimeout", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeTimerTypeValue.setStatus('current') if mibBuilder.loadTexts: pppoeTimerTypeValue.setDescription('Current PPPoE Timer Type. 0 is disabled, 1 is Keep Alive timer, and 2 is Idle Timeout timer.') pppoeTimeoutValue = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 43), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeTimeoutValue.setStatus('current') if mibBuilder.loadTexts: pppoeTimeoutValue.setDescription('Current PPPoE Timeout Period. The use of this depends on the Timer Type. If the Timer Type is KeepAlive, then the timeout period is in seconds. If the Timer Type is Idle Timeout, then the timeout period is in minutes.') pppoeDNSServer1 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 44), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeDNSServer1.setStatus('current') if mibBuilder.loadTexts: pppoeDNSServer1.setDescription('PPPoE DNS Server 1') pppoeDNSServer2 = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 45), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeDNSServer2.setStatus('current') if mibBuilder.loadTexts: pppoeDNSServer2.setDescription('PPPoE DNS Server 2') pppoeControlBytesSent = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 46), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeControlBytesSent.setStatus('current') if mibBuilder.loadTexts: pppoeControlBytesSent.setDescription('PPPoE Control Bytes Sent') pppoeControlBytesReceived = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 47), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeControlBytesReceived.setStatus('current') if mibBuilder.loadTexts: pppoeControlBytesReceived.setDescription('PPPoE Control Bytes Received') pppoeDataBytesSent = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 48), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeDataBytesSent.setStatus('current') if mibBuilder.loadTexts: pppoeDataBytesSent.setDescription('PPPoE Data Bytes Sent') pppoeDataBytesReceived = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 49), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeDataBytesReceived.setStatus('current') if mibBuilder.loadTexts: pppoeDataBytesReceived.setDescription('PPPoE Data Bytes Received') pppoeEnabledStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeEnabledStatus.setStatus('current') if mibBuilder.loadTexts: pppoeEnabledStatus.setDescription('PPPoE Enabled') pppoeTCPMSSClampEnableStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeTCPMSSClampEnableStatus.setStatus('current') if mibBuilder.loadTexts: pppoeTCPMSSClampEnableStatus.setDescription('PPPoE TCP MSS Clamping Enable') pppoeACNameStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 52), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeACNameStatus.setStatus('current') if mibBuilder.loadTexts: pppoeACNameStatus.setDescription('Current PPPoE Access Concentrator In Use') pppoeSvcNameStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 53), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeSvcNameStatus.setStatus('current') if mibBuilder.loadTexts: pppoeSvcNameStatus.setDescription('Current PPPoE Service Name In Use') pppoeSessUptime = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 54), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeSessUptime.setStatus('current') if mibBuilder.loadTexts: pppoeSessUptime.setDescription('Uptime of current PPPoE Session in ticks') primaryBERDisplay = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 55), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: primaryBERDisplay.setStatus('current') if mibBuilder.loadTexts: primaryBERDisplay.setDescription('Measured Primary Bit Error Rate. Non MIMO platforms only.') secondaryBERDisplay = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 56), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: secondaryBERDisplay.setStatus('current') if mibBuilder.loadTexts: secondaryBERDisplay.setDescription('Measured Secondary Bit Error Rate. FSK platforms only.') totalBERDisplay = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 57), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: totalBERDisplay.setStatus('current') if mibBuilder.loadTexts: totalBERDisplay.setDescription('Measured Total Bit Error Rate. For MIMO this is combined both paths.') minRadioDbm = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 58), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: minRadioDbm.setStatus('current') if mibBuilder.loadTexts: minRadioDbm.setDescription('Maximum receive power of beacon in dBm. For MIMO radios, this is only available in the vertical path.') maxRadioDbm = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 59), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: maxRadioDbm.setStatus('current') if mibBuilder.loadTexts: maxRadioDbm.setDescription('Maximum receive power of beacon in dBm. For MIMO radios, this is only available in the vertical path.') pppoeSessIdleTime = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 60), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pppoeSessIdleTime.setStatus('current') if mibBuilder.loadTexts: pppoeSessIdleTime.setDescription('Idle Time of current PPPoE Session in ticks') radioDbmAvg = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 61), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: radioDbmAvg.setStatus('current') if mibBuilder.loadTexts: radioDbmAvg.setDescription("Average Receive Power of the AP's beacon in dBm. OFDM Radios only. For MIMO this is only the verical path, as the beacon is not transmitted on horizontal.") zoltarFPGAFreqOffset = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 62), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zoltarFPGAFreqOffset.setStatus('current') if mibBuilder.loadTexts: zoltarFPGAFreqOffset.setDescription('FPGA peek of 70001088') zoltarSWFreqOffset = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 63), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: zoltarSWFreqOffset.setStatus('current') if mibBuilder.loadTexts: zoltarSWFreqOffset.setDescription('FPGA peek of 7000108C') airDelayns = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 64), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: airDelayns.setStatus('current') if mibBuilder.loadTexts: airDelayns.setDescription('Round trip delay in nanoseconds.') currentColorCode = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 65), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: currentColorCode.setStatus('current') if mibBuilder.loadTexts: currentColorCode.setDescription('The current Color Code of the Registered AP/BHM. A value of -1 is return when the device is not registered.') currentColorCodePri = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 66), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("none", 0), ("primary", 1), ("secondary", 2), ("tertiary", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: currentColorCodePri.setStatus('current') if mibBuilder.loadTexts: currentColorCodePri.setDescription('The current priority of the Registered color code') currentChanFreq = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 67), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: currentChanFreq.setStatus('current') if mibBuilder.loadTexts: currentChanFreq.setDescription('The Current Channel Frequency of the AP/BHM when in session.') linkQualityBeacon = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 68), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: linkQualityBeacon.setStatus('current') if mibBuilder.loadTexts: linkQualityBeacon.setDescription('Engineering only. Link Quality for incoming beacons. For Gen II OFDM radios and forward. For PMP450 and forward this is vertical path.') dhcpServerPktXmt = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 72), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpServerPktXmt.setStatus('current') if mibBuilder.loadTexts: dhcpServerPktXmt.setDescription('Number of packets transmitted by SM DHCP Server') dhcpServerPktRcv = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 73), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpServerPktRcv.setStatus('current') if mibBuilder.loadTexts: dhcpServerPktRcv.setDescription('Number of packets received by SM DHCP Server') dhcpServerPktToss = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 74), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dhcpServerPktToss.setStatus('current') if mibBuilder.loadTexts: dhcpServerPktToss.setDescription('Number of packets tossed by SM DHCP Server') receiveFragmentsModulationPercentage = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 86), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: receiveFragmentsModulationPercentage.setStatus('current') if mibBuilder.loadTexts: receiveFragmentsModulationPercentage.setDescription('Engineering use only. The percentage of recent fragments received at which modulation. For Gen II OFDM only and forward.') fragmentsReceived1XVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 87), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fragmentsReceived1XVertical.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived1XVertical.setDescription('Engineering use only. Number of fragments received in 1x modulation. For GenII OFDM only and forward. For MIMO this is the vertical path.') fragmentsReceived2XVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 88), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fragmentsReceived2XVertical.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived2XVertical.setDescription('Engineering use only. Number of fragments received in 2x modulation. For GenII OFDM only and forward. For MIMO this is the vertical path.') fragmentsReceived3XVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 89), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fragmentsReceived3XVertical.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived3XVertical.setDescription('Engineering use only. Number of fragments received in 3x modulation. For GenII OFDM only and forward. For MIMO this is the vertical path.') fragmentsReceived4XVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 90), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fragmentsReceived4XVertical.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived4XVertical.setDescription('Engineering use only. Number of fragments received in 4x modulation. For GenII OFDM only and forward. For MIMO this is the vertical path.') linkQualityData1XVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 91), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: linkQualityData1XVertical.setStatus('current') if mibBuilder.loadTexts: linkQualityData1XVertical.setDescription('Engineering use only. Link Quality for the data VC for QPSK modulation (1X). For Gen II OFDM radios and forward only. For MIMO this is the vertical path.') linkQualityData2XVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 92), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: linkQualityData2XVertical.setStatus('current') if mibBuilder.loadTexts: linkQualityData2XVertical.setDescription('Engineering use only. Link Quality for the data VC for 16-QAM modulation (2X). For Gen II OFDM radios and forward only. For MIMO this is the vertical path.') linkQualityData3XVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 93), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: linkQualityData3XVertical.setStatus('current') if mibBuilder.loadTexts: linkQualityData3XVertical.setDescription('Engineering use only. Link Quality for the data VC for 64-QAM modulation (3X). For Gen II OFDM radios and forward only. For MIMO this is the vertical path.') linkQualityData4XVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 94), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: linkQualityData4XVertical.setStatus('current') if mibBuilder.loadTexts: linkQualityData4XVertical.setDescription('Engineering use only. Link Quality for the data VC for 256-QAM modulation (4X). For Gen II OFDM radios and forward only. For MIMO this is the vertical path.') signalToNoiseRatioSMVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 95), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: signalToNoiseRatioSMVertical.setStatus('current') if mibBuilder.loadTexts: signalToNoiseRatioSMVertical.setDescription('An estimated signal to noise ratio based on the last received data. For GenII OFDM only and forward. For MIMO this is the vertical antenna. Will return zero if Signal to Noise Ratio Calculation is disabled.') rfStatTxSuppressionCount = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 96), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rfStatTxSuppressionCount.setStatus('current') if mibBuilder.loadTexts: rfStatTxSuppressionCount.setDescription('RF Scheduler Stats DFS TX Suppression Count') bridgecbUplinkCreditRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 97), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bridgecbUplinkCreditRate.setStatus('current') if mibBuilder.loadTexts: bridgecbUplinkCreditRate.setDescription('Sustained uplink data rate.') bridgecbUplinkCreditLimit = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 98), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bridgecbUplinkCreditLimit.setStatus('current') if mibBuilder.loadTexts: bridgecbUplinkCreditLimit.setDescription('Uplink Burst Allocation.') bridgecbDownlinkCreditRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 99), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bridgecbDownlinkCreditRate.setStatus('current') if mibBuilder.loadTexts: bridgecbDownlinkCreditRate.setDescription('Sustained uplink data rate.') bridgecbDownlinkCreditLimit = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 100), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bridgecbDownlinkCreditLimit.setStatus('current') if mibBuilder.loadTexts: bridgecbDownlinkCreditLimit.setDescription('Uplink Burst Allocation.') mimoQpskBerDisplay = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 101), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mimoQpskBerDisplay.setStatus('current') if mibBuilder.loadTexts: mimoQpskBerDisplay.setDescription('QPSK BER statistics. MIMO platforms only.') mimo16QamBerDisplay = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 102), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mimo16QamBerDisplay.setStatus('current') if mibBuilder.loadTexts: mimo16QamBerDisplay.setDescription('16-QAM BER statistics MIMO platforms only. Engineering use only.') mimo64QamBerDisplay = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 103), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mimo64QamBerDisplay.setStatus('current') if mibBuilder.loadTexts: mimo64QamBerDisplay.setDescription('64-QAM BER statistics MIMO platforms only. Engineering use only.') mimo256QamBerDisplay = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 104), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mimo256QamBerDisplay.setStatus('current') if mibBuilder.loadTexts: mimo256QamBerDisplay.setDescription('256-QAM BER statistics MIMO platforms only. Engineering use only.') mimoBerRcvModulationType = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 105), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mimoBerRcvModulationType.setStatus('current') if mibBuilder.loadTexts: mimoBerRcvModulationType.setDescription('Receive modulation type. MIMO platforms only.') signalToNoiseRatioSMHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 106), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: signalToNoiseRatioSMHorizontal.setStatus('current') if mibBuilder.loadTexts: signalToNoiseRatioSMHorizontal.setDescription('An estimated signal to noise ratio based on the last received data for horizontal antenna. MIMO radios only. Will return zero if Signal to Noise Ratio Calculation is disabled.') maxRadioDbmDeprecated = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 107), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: maxRadioDbmDeprecated.setStatus('deprecated') if mibBuilder.loadTexts: maxRadioDbmDeprecated.setDescription('This OID was inadvertently moved in 12.0.2. Please use maxRadioDbm. This OID is deprecated and kept for backwards compatibility.') signalStrengthRatio = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 108), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: signalStrengthRatio.setStatus('current') if mibBuilder.loadTexts: signalStrengthRatio.setDescription('Signal Strength Ratio in dB is the power received by the vertical antenna input (dB) - power received by the horizontal antenna input (dB). MIMO radios only.') fragmentsReceived1XHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 109), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fragmentsReceived1XHorizontal.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived1XHorizontal.setDescription('Engineering use only. Number of fragments received in 1x modulation. For MIMO radios only. For MIMO this is the horizontal path.') fragmentsReceived2XHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 110), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fragmentsReceived2XHorizontal.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived2XHorizontal.setDescription('Engineering use only. Number of fragments received in 2x modulation. For MIMO radios only. For MIMO this is the horizontal path.') fragmentsReceived3XHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 111), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fragmentsReceived3XHorizontal.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived3XHorizontal.setDescription('Engineering use only. Number of fragments received in 3x modulation. For MIMO radios only. For MIMO this is the horizontal path.') fragmentsReceived4XHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 112), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: fragmentsReceived4XHorizontal.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived4XHorizontal.setDescription('Engineering use only. Number of fragments received in 4x modulation. For MIMO radios only. For MIMO this is the horizontal path.') linkQualityData1XHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 113), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: linkQualityData1XHorizontal.setStatus('current') if mibBuilder.loadTexts: linkQualityData1XHorizontal.setDescription('Engineering use only. Link Quality for the data VC for QPSK modulation (1X). For MIMO radios only. For MIMO this is the horizontal path.') linkQualityData2XHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 114), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: linkQualityData2XHorizontal.setStatus('current') if mibBuilder.loadTexts: linkQualityData2XHorizontal.setDescription('Engineering use only. Link Quality for the data VC for 16-QAM modulation (2X). For MIMO radios only. For MIMO this is the horizontal path.') linkQualityData3XHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 115), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: linkQualityData3XHorizontal.setStatus('current') if mibBuilder.loadTexts: linkQualityData3XHorizontal.setDescription('Engineering use only. Link Quality for the data VC for 64-QAM modulation (3X). For MIMO radios only. For MIMO this is the horizontal path.') linkQualityData4XHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 116), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: linkQualityData4XHorizontal.setStatus('current') if mibBuilder.loadTexts: linkQualityData4XHorizontal.setDescription('Engineering use only. Link Quality for the data VC for 256-QAM modulation (4X). For MIMO radios only. For MIMO this is the horizontal path.') radioDbmHorizontal = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 117), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radioDbmHorizontal.setStatus('current') if mibBuilder.loadTexts: radioDbmHorizontal.setDescription('Receive power level of the horizontal antenna in dBm. MIMO radios only.') radioDbmVertical = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 118), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: radioDbmVertical.setStatus('current') if mibBuilder.loadTexts: radioDbmVertical.setDescription('Receive power level of the vertical antenna in dBm. MIMO radios only.') bridgecbDownlinkMaxBurstBitRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 119), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bridgecbDownlinkMaxBurstBitRate.setStatus('current') if mibBuilder.loadTexts: bridgecbDownlinkMaxBurstBitRate.setDescription('Maximum burst downlink rate.') bridgecbUplinkMaxBurstBitRate = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 120), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bridgecbUplinkMaxBurstBitRate.setStatus('current') if mibBuilder.loadTexts: bridgecbUplinkMaxBurstBitRate.setDescription('Maximum burst uplink Rate.') currentCyclicPrefix = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 121), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("one-quarter", 0), ("one-eighth", 1), ("one-sixteenth", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: currentCyclicPrefix.setStatus('current') if mibBuilder.loadTexts: currentCyclicPrefix.setDescription('The Current Cyclic Prefix of the AP/BHM when in session.') currentBandwidth = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 122), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 5))).clone(namedValues=NamedValues(("bandwidth5mhz", 1), ("bandwidth10mhz", 3), ("bandwidth20mhz", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: currentBandwidth.setStatus('current') if mibBuilder.loadTexts: currentBandwidth.setDescription('The Current Bandwidth of the AP/BHM when in session.') berPwrRxFPGAPathA = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 123), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: berPwrRxFPGAPathA.setStatus('current') if mibBuilder.loadTexts: berPwrRxFPGAPathA.setDescription('BER power level on FPGA Rx Path A of SM.') berPwrRxFPGAPathB = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 124), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: berPwrRxFPGAPathB.setStatus('current') if mibBuilder.loadTexts: berPwrRxFPGAPathB.setDescription('BER power level on FPGA Rx Path B of SM.') rawBERPwrRxPathA = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 125), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rawBERPwrRxPathA.setStatus('current') if mibBuilder.loadTexts: rawBERPwrRxPathA.setDescription('Raw unadjusted BER power level on FPGA Rx Path A of SM.') rawBERPwrRxPathB = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 126), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rawBERPwrRxPathB.setStatus('current') if mibBuilder.loadTexts: rawBERPwrRxPathB.setDescription('Raw unadjusted BER power level on FPGA Rx Path B of SM.') radioModeStatus = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 127), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("undefined", 0), ("pmp430", 1), ("pmp450Interoperability", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: radioModeStatus.setStatus('current') if mibBuilder.loadTexts: radioModeStatus.setDescription('The current radio mode that SM is operating in. PMP 430 SMs only. Introduced in release 12.2.') adaptRateLowPri = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 128), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 6, 8))).clone(namedValues=NamedValues(("noSession", 0), ("rate1X", 1), ("rate2X", 2), ("rete3X", 3), ("rate4X", 4), ("rate6X", 6), ("rate8X", 8)))).setMaxAccess("readonly") if mibBuilder.loadTexts: adaptRateLowPri.setStatus('current') if mibBuilder.loadTexts: adaptRateLowPri.setDescription('The current transmitting rate of the low priority VC. 0 : SM is not in session 1 : 1X QPSK SISO 2 : 2X 16-QAM SISO or QPSK MIMO 3 : 3X 64-QAM SISO 4 : 4X 256-QAM SISO or 16-QAM MIMO 6 : 6X 64-QAM MIMO 8 : 8X 256-QAM MIMO') adaptRateHighPri = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 129), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(-1, 0, 1, 2, 3, 4, 6, 8))).clone(namedValues=NamedValues(("noHighPriorityChannel", -1), ("noSession", 0), ("rate1X", 1), ("rate2X", 2), ("rete3X", 3), ("rate4X", 4), ("rate6X", 6), ("rate8X", 8)))).setMaxAccess("readonly") if mibBuilder.loadTexts: adaptRateHighPri.setStatus('current') if mibBuilder.loadTexts: adaptRateHighPri.setDescription('The current transmitting rate of the high priority VC. -1 : High Priority Channel not configured 0 : SM is not in session 1 : 1X QPSK SISO 2 : 2X 16-QAM SISO or QPSK MIMO 3 : 3X 64-QAM SISO 4 : 4X 256-QAM SISO or 16-QAM MIMO 6 : 6X 64-QAM MIMO 8 : 8X 256-QAM MIMO') bitErrorsQSPKpathA = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 130), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: bitErrorsQSPKpathA.setStatus('current') if mibBuilder.loadTexts: bitErrorsQSPKpathA.setDescription('Number of bit errors received from BER packet at QPSK path A. Valid MIMO platforms only.') bitErrorsQSPKpathB = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 131), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: bitErrorsQSPKpathB.setStatus('current') if mibBuilder.loadTexts: bitErrorsQSPKpathB.setDescription('Number of bit errors received from BER packet at QPSK path B. Valid MIMO platforms only.') bitErrors16QAMpathA = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 132), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: bitErrors16QAMpathA.setStatus('current') if mibBuilder.loadTexts: bitErrors16QAMpathA.setDescription('Number of bit errors received from BER packet at 16-QAM path A. Valid MIMO platforms only. Engineering use only.') bitErrors16QAMpathB = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 133), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: bitErrors16QAMpathB.setStatus('current') if mibBuilder.loadTexts: bitErrors16QAMpathB.setDescription('Number of bit errors received from BER packet at 16-QAM path B. Valid MIMO platforms only. Engineering use only.') bitErrors64QAMpathA = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 134), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: bitErrors64QAMpathA.setStatus('current') if mibBuilder.loadTexts: bitErrors64QAMpathA.setDescription('Number of bit errors received from BER packet at 64-QAM path A. Valid MIMO platforms only. Engineering use only.') bitErrors64QAMpathB = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 135), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: bitErrors64QAMpathB.setStatus('current') if mibBuilder.loadTexts: bitErrors64QAMpathB.setDescription('Number of bit errors received from BER packet at 64-QAM path B. Valid MIMO platforms only. Engineering use only.') bitErrors256QAMpathA = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 136), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: bitErrors256QAMpathA.setStatus('current') if mibBuilder.loadTexts: bitErrors256QAMpathA.setDescription('Number of bit errors received from BER packet at 256-QAM path A. Valid MIMO platforms only. Engineering use only.') bitErrors256QAMpathB = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 137), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: bitErrors256QAMpathB.setStatus('current') if mibBuilder.loadTexts: bitErrors256QAMpathB.setDescription('Number of bit errors received from BER packet at 256-QAM path B. Valid MIMO platforms only. Engineering use only.') bitsReceivedPerPathModulation = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 138), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: bitsReceivedPerPathModulation.setStatus('current') if mibBuilder.loadTexts: bitsReceivedPerPathModulation.setDescription('Number of bit received from BER. To calculate Bit Error Rate, take bit errors at a modulation and path and divide by this OID. To get combined BER add errors and divide by this multiplied by each path and modulation. i.e. MIMO QPSK combined BER = ((errors on path A) + (errors on path B))/(bits recieved per path modulation * 2) Valid MIMO platforms only.') dhcpServerTable = MibTable((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 19), ) if mibBuilder.loadTexts: dhcpServerTable.setStatus('current') if mibBuilder.loadTexts: dhcpServerTable.setDescription('The table of DHCP server hosts.') dhcpServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 19, 1), ).setIndexNames((0, "WHISP-SM-MIB", "hostIp")) if mibBuilder.loadTexts: dhcpServerEntry.setStatus('current') if mibBuilder.loadTexts: dhcpServerEntry.setDescription('Entry of DHCP server hosts.') hostIp = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 19, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostIp.setStatus('current') if mibBuilder.loadTexts: hostIp.setDescription('DHCP server IP address.') hostMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 19, 1, 2), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostMacAddress.setStatus('current') if mibBuilder.loadTexts: hostMacAddress.setDescription('Private host MAC address.') hostLease = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 19, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: hostLease.setStatus('current') if mibBuilder.loadTexts: hostLease.setDescription('Lease time assigned by DHCP server host.') whispSmConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 3, 1)).setObjects(("WHISP-SM-MIB", "rfScanList"), ("WHISP-SM-MIB", "rfScanListBandFilter"), ("WHISP-SM-MIB", "powerUpMode"), ("WHISP-SM-MIB", "lanIpSm"), ("WHISP-SM-MIB", "lanMaskSm"), ("WHISP-SM-MIB", "defaultGwSm"), ("WHISP-SM-MIB", "networkAccess"), ("WHISP-SM-MIB", "authKeySm"), ("WHISP-SM-MIB", "enable8023link"), ("WHISP-SM-MIB", "authKeyOption"), ("WHISP-SM-MIB", "timingPulseGated"), ("WHISP-SM-MIB", "naptPrivateIP"), ("WHISP-SM-MIB", "naptPrivateSubnetMask"), ("WHISP-SM-MIB", "naptPublicIP"), ("WHISP-SM-MIB", "naptPublicSubnetMask"), ("WHISP-SM-MIB", "naptPublicGatewayIP"), ("WHISP-SM-MIB", "naptRFPublicIP"), ("WHISP-SM-MIB", "naptRFPublicSubnetMask"), ("WHISP-SM-MIB", "naptRFPublicGateway"), ("WHISP-SM-MIB", "naptEnable"), ("WHISP-SM-MIB", "arpCacheTimeout"), ("WHISP-SM-MIB", "tcpGarbageCollectTmout"), ("WHISP-SM-MIB", "udpGarbageCollectTmout"), ("WHISP-SM-MIB", "dhcpClientEnable"), ("WHISP-SM-MIB", "dhcpServerEnable"), ("WHISP-SM-MIB", "dhcpServerLeaseTime"), ("WHISP-SM-MIB", "dhcpIPStart"), ("WHISP-SM-MIB", "dnsAutomatic"), ("WHISP-SM-MIB", "prefferedDNSIP"), ("WHISP-SM-MIB", "alternateDNSIP"), ("WHISP-SM-MIB", "natDNSProxyEnable"), ("WHISP-SM-MIB", "spectrumAnalysisDisplay"), ("WHISP-SM-MIB", "dmzIP"), ("WHISP-SM-MIB", "dmzEnable"), ("WHISP-SM-MIB", "dhcpNumIPsToLease"), ("WHISP-SM-MIB", "pppoeFilter"), ("WHISP-SM-MIB", "smbFilter"), ("WHISP-SM-MIB", "snmpFilter"), ("WHISP-SM-MIB", "userP1Filter"), ("WHISP-SM-MIB", "userP2Filter"), ("WHISP-SM-MIB", "userP3Filter"), ("WHISP-SM-MIB", "allOtherIpFilter"), ("WHISP-SM-MIB", "allIpv4Filter"), ("WHISP-SM-MIB", "upLinkBCastFilter"), ("WHISP-SM-MIB", "arpFilter"), ("WHISP-SM-MIB", "allOthersFilter"), ("WHISP-SM-MIB", "userDefinedPort1"), ("WHISP-SM-MIB", "port1TCPFilter"), ("WHISP-SM-MIB", "port1UDPFilter"), ("WHISP-SM-MIB", "userDefinedPort2"), ("WHISP-SM-MIB", "port2TCPFilter"), ("WHISP-SM-MIB", "port2UDPFilter"), ("WHISP-SM-MIB", "userDefinedPort3"), ("WHISP-SM-MIB", "port3TCPFilter"), ("WHISP-SM-MIB", "port3UDPFilter"), ("WHISP-SM-MIB", "bootpcFilter"), ("WHISP-SM-MIB", "bootpsFilter"), ("WHISP-SM-MIB", "ip4MultFilter"), ("WHISP-SM-MIB", "ingressVID"), ("WHISP-SM-MIB", "lowPriorityUplinkCIR"), ("WHISP-SM-MIB", "lowPriorityDownlinkCIR"), ("WHISP-SM-MIB", "hiPriorityChannel"), ("WHISP-SM-MIB", "hiPriorityUplinkCIR"), ("WHISP-SM-MIB", "hiPriorityDownlinkCIR"), ("WHISP-SM-MIB", "smRateAdapt"), ("WHISP-SM-MIB", "upLnkMaxBurstDataRate"), ("WHISP-SM-MIB", "upLnkDataRate"), ("WHISP-SM-MIB", "upLnkLimit"), ("WHISP-SM-MIB", "dwnLnkMaxBurstDataRate"), ("WHISP-SM-MIB", "cyclicPrefixScan"), ("WHISP-SM-MIB", "bandwidthScan"), ("WHISP-SM-MIB", "apSelection"), ("WHISP-SM-MIB", "radioBandscanConfig"), ("WHISP-SM-MIB", "forcepoweradjust"), ("WHISP-SM-MIB", "clearBerrResults"), ("WHISP-SM-MIB", "berrautoupdateflag"), ("WHISP-SM-MIB", "testSMBER"), ("WHISP-SM-MIB", "dwnLnkDataRate"), ("WHISP-SM-MIB", "dwnLnkLimit"), ("WHISP-SM-MIB", "dfsConfig"), ("WHISP-SM-MIB", "ethAccessFilterEnable"), ("WHISP-SM-MIB", "ipAccessFilterEnable"), ("WHISP-SM-MIB", "allowedIPAccess1"), ("WHISP-SM-MIB", "allowedIPAccess2"), ("WHISP-SM-MIB", "allowedIPAccess3"), ("WHISP-SM-MIB", "allowedIPAccessNMLength1"), ("WHISP-SM-MIB", "allowedIPAccessNMLength2"), ("WHISP-SM-MIB", "allowedIPAccessNMLength3"), ("WHISP-SM-MIB", "rfDhcpState"), ("WHISP-SM-MIB", "bCastMIR"), ("WHISP-SM-MIB", "bhsReReg"), ("WHISP-SM-MIB", "smLEDModeFlag"), ("WHISP-SM-MIB", "ethAccessEnable"), ("WHISP-SM-MIB", "pppoeEnable"), ("WHISP-SM-MIB", "pppoeAuthenticationType"), ("WHISP-SM-MIB", "pppoeAccessConcentrator"), ("WHISP-SM-MIB", "pppoeServiceName"), ("WHISP-SM-MIB", "pppoeUserName"), ("WHISP-SM-MIB", "pppoePassword"), ("WHISP-SM-MIB", "pppoeTCPMSSClampEnable"), ("WHISP-SM-MIB", "pppoeMTUOverrideEnable"), ("WHISP-SM-MIB", "pppoeMTUOverrideValue"), ("WHISP-SM-MIB", "pppoeTimerType"), ("WHISP-SM-MIB", "pppoeTimeoutPeriod"), ("WHISP-SM-MIB", "timedSpectrumAnalysisDuration"), ("WHISP-SM-MIB", "spectrumAnalysisScanBandwidth"), ("WHISP-SM-MIB", "spectrumAnalysisOnBoot"), ("WHISP-SM-MIB", "spectrumAnalysisAction"), ("WHISP-SM-MIB", "pppoeConnectOD"), ("WHISP-SM-MIB", "pppoeDisconnectOD"), ("WHISP-SM-MIB", "smAntennaType"), ("WHISP-SM-MIB", "natConnectionType"), ("WHISP-SM-MIB", "wanPingReplyEnable"), ("WHISP-SM-MIB", "packetFilterDirection"), ("WHISP-SM-MIB", "colorCode2"), ("WHISP-SM-MIB", "colorCodepriority2"), ("WHISP-SM-MIB", "colorCode3"), ("WHISP-SM-MIB", "colorCodepriority3"), ("WHISP-SM-MIB", "colorCode4"), ("WHISP-SM-MIB", "colorCodepriority4"), ("WHISP-SM-MIB", "colorCode5"), ("WHISP-SM-MIB", "colorCodepriority5"), ("WHISP-SM-MIB", "colorCode6"), ("WHISP-SM-MIB", "colorCodepriority6"), ("WHISP-SM-MIB", "colorCode7"), ("WHISP-SM-MIB", "colorCodepriority7"), ("WHISP-SM-MIB", "colorCode8"), ("WHISP-SM-MIB", "colorCodepriority8"), ("WHISP-SM-MIB", "colorCode9"), ("WHISP-SM-MIB", "colorCodepriority9"), ("WHISP-SM-MIB", "colorCode10"), ("WHISP-SM-MIB", "colorCodepriority10"), ("WHISP-SM-MIB", "berDeModSelect"), ("WHISP-SM-MIB", "multicastVCRcvRate"), ("WHISP-SM-MIB", "syslogServerApPreferred"), ("WHISP-SM-MIB", "syslogMinLevelApPreferred"), ("WHISP-SM-MIB", "syslogSMXmitSetting"), ("WHISP-SM-MIB", "syslogSMXmitControl"), ("WHISP-SM-MIB", "naptRemoteManage"), ("WHISP-SM-MIB", "eapPeerAAAServerCommonName"), ("WHISP-SM-MIB", "pmp430ApRegistrationOptions"), ("WHISP-SM-MIB", "switchRadioModeAndReboot")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): whispSmConfigGroup = whispSmConfigGroup.setStatus('current') if mibBuilder.loadTexts: whispSmConfigGroup.setDescription('Canopy Subscriber Module configuration group.') whispSmStatusGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 3, 2)).setObjects(("WHISP-SM-MIB", "sessionStatus"), ("WHISP-SM-MIB", "rssi"), ("WHISP-SM-MIB", "jitter"), ("WHISP-SM-MIB", "airDelay"), ("WHISP-SM-MIB", "radioSlicingSm"), ("WHISP-SM-MIB", "radioTxGainSm"), ("WHISP-SM-MIB", "calibrationStatus"), ("WHISP-SM-MIB", "radioDbm"), ("WHISP-SM-MIB", "registeredToAp"), ("WHISP-SM-MIB", "dhcpCip"), ("WHISP-SM-MIB", "dhcpSip"), ("WHISP-SM-MIB", "dhcpClientLease"), ("WHISP-SM-MIB", "dhcpCSMask"), ("WHISP-SM-MIB", "dhcpDfltRterIP"), ("WHISP-SM-MIB", "dhcpcdns1"), ("WHISP-SM-MIB", "dhcpcdns2"), ("WHISP-SM-MIB", "dhcpcdns3"), ("WHISP-SM-MIB", "dhcpDomName"), ("WHISP-SM-MIB", "adaptRate"), ("WHISP-SM-MIB", "adaptRateLowPri"), ("WHISP-SM-MIB", "adaptRateHighPri"), ("WHISP-SM-MIB", "bitErrorsQSPKpathA"), ("WHISP-SM-MIB", "bitErrorsQSPKpathB"), ("WHISP-SM-MIB", "bitErrors16QAMpathA"), ("WHISP-SM-MIB", "bitErrors16QAMpathB"), ("WHISP-SM-MIB", "bitErrors64QAMpathA"), ("WHISP-SM-MIB", "bitErrors64QAMpathB"), ("WHISP-SM-MIB", "bitErrors256QAMpathA"), ("WHISP-SM-MIB", "bitErrors256QAMpathB"), ("WHISP-SM-MIB", "bitsReceivedPerPathModulation"), ("WHISP-SM-MIB", "radioDbmInt"), ("WHISP-SM-MIB", "dfsStatus"), ("WHISP-SM-MIB", "radioTxPwr"), ("WHISP-SM-MIB", "activeRegion"), ("WHISP-SM-MIB", "snmpBerLevel"), ("WHISP-SM-MIB", "nbBitsRcvd"), ("WHISP-SM-MIB", "nbPriBitsErr"), ("WHISP-SM-MIB", "nbSndBitsErr"), ("WHISP-SM-MIB", "primaryBER"), ("WHISP-SM-MIB", "secondaryBER"), ("WHISP-SM-MIB", "totalBER"), ("WHISP-SM-MIB", "minRSSI"), ("WHISP-SM-MIB", "maxRSSI"), ("WHISP-SM-MIB", "minJitter"), ("WHISP-SM-MIB", "maxJitter"), ("WHISP-SM-MIB", "smSessionTimer"), ("WHISP-SM-MIB", "pppoeSessionStatus"), ("WHISP-SM-MIB", "pppoeSessionID"), ("WHISP-SM-MIB", "pppoeIPCPAddress"), ("WHISP-SM-MIB", "pppoeMTUOverrideEn"), ("WHISP-SM-MIB", "pppoeMTUValue"), ("WHISP-SM-MIB", "pppoeTimerTypeValue"), ("WHISP-SM-MIB", "pppoeTimeoutValue"), ("WHISP-SM-MIB", "pppoeDNSServer1"), ("WHISP-SM-MIB", "pppoeDNSServer2"), ("WHISP-SM-MIB", "pppoeControlBytesSent"), ("WHISP-SM-MIB", "pppoeControlBytesReceived"), ("WHISP-SM-MIB", "pppoeDataBytesSent"), ("WHISP-SM-MIB", "pppoeDataBytesReceived"), ("WHISP-SM-MIB", "pppoeEnabledStatus"), ("WHISP-SM-MIB", "pppoeTCPMSSClampEnableStatus"), ("WHISP-SM-MIB", "pppoeACNameStatus"), ("WHISP-SM-MIB", "pppoeSvcNameStatus"), ("WHISP-SM-MIB", "pppoeSessUptime"), ("WHISP-SM-MIB", "primaryBERDisplay"), ("WHISP-SM-MIB", "secondaryBERDisplay"), ("WHISP-SM-MIB", "totalBERDisplay"), ("WHISP-SM-MIB", "mimoQpskBerDisplay"), ("WHISP-SM-MIB", "mimo16QamBerDisplay"), ("WHISP-SM-MIB", "mimo64QamBerDisplay"), ("WHISP-SM-MIB", "mimo256QamBerDisplay"), ("WHISP-SM-MIB", "mimoBerRcvModulationType"), ("WHISP-SM-MIB", "minRadioDbm"), ("WHISP-SM-MIB", "maxRadioDbm"), ("WHISP-SM-MIB", "maxRadioDbmDeprecated"), ("WHISP-SM-MIB", "pppoeSessIdleTime"), ("WHISP-SM-MIB", "radioDbmAvg"), ("WHISP-SM-MIB", "zoltarFPGAFreqOffset"), ("WHISP-SM-MIB", "zoltarSWFreqOffset"), ("WHISP-SM-MIB", "airDelayns"), ("WHISP-SM-MIB", "currentColorCode"), ("WHISP-SM-MIB", "currentColorCodePri"), ("WHISP-SM-MIB", "currentChanFreq"), ("WHISP-SM-MIB", "linkQualityBeacon"), ("WHISP-SM-MIB", "currentCyclicPrefix"), ("WHISP-SM-MIB", "currentBandwidth"), ("WHISP-SM-MIB", "berPwrRxFPGAPathA"), ("WHISP-SM-MIB", "berPwrRxFPGAPathB"), ("WHISP-SM-MIB", "rawBERPwrRxPathA"), ("WHISP-SM-MIB", "rawBERPwrRxPathB"), ("WHISP-SM-MIB", "linkQualityData1XVertical"), ("WHISP-SM-MIB", "linkQualityData2XVertical"), ("WHISP-SM-MIB", "linkQualityData3XVertical"), ("WHISP-SM-MIB", "linkQualityData4XVertical"), ("WHISP-SM-MIB", "linkQualityData1XHorizontal"), ("WHISP-SM-MIB", "linkQualityData2XHorizontal"), ("WHISP-SM-MIB", "linkQualityData3XHorizontal"), ("WHISP-SM-MIB", "linkQualityData4XHorizontal"), ("WHISP-SM-MIB", "signalToNoiseRatioSMVertical"), ("WHISP-SM-MIB", "signalToNoiseRatioSMHorizontal"), ("WHISP-SM-MIB", "signalStrengthRatio"), ("WHISP-SM-MIB", "radioDbmHorizontal"), ("WHISP-SM-MIB", "radioDbmVertical"), ("WHISP-SM-MIB", "rfStatTxSuppressionCount"), ("WHISP-SM-MIB", "receiveFragmentsModulationPercentage"), ("WHISP-SM-MIB", "fragmentsReceived1XVertical"), ("WHISP-SM-MIB", "fragmentsReceived2XVertical"), ("WHISP-SM-MIB", "fragmentsReceived3XVertical"), ("WHISP-SM-MIB", "fragmentsReceived4XVertical"), ("WHISP-SM-MIB", "fragmentsReceived1XHorizontal"), ("WHISP-SM-MIB", "fragmentsReceived2XHorizontal"), ("WHISP-SM-MIB", "fragmentsReceived3XHorizontal"), ("WHISP-SM-MIB", "fragmentsReceived4XHorizontal"), ("WHISP-SM-MIB", "bridgecbUplinkCreditRate"), ("WHISP-SM-MIB", "bridgecbUplinkCreditLimit"), ("WHISP-SM-MIB", "bridgecbDownlinkCreditRate"), ("WHISP-SM-MIB", "bridgecbDownlinkCreditLimit"), ("WHISP-SM-MIB", "bridgecbDownlinkMaxBurstBitRate"), ("WHISP-SM-MIB", "bridgecbUplinkMaxBurstBitRate"), ("WHISP-SM-MIB", "radioModeStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): whispSmStatusGroup = whispSmStatusGroup.setStatus('current') if mibBuilder.loadTexts: whispSmStatusGroup.setDescription('Canopy Subscriber Module status group.') whispSmNotifGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 3, 3)).setObjects(("WHISP-SM-MIB", "enterSpectrumAnalysis"), ("WHISP-SM-MIB", "availableSpectrumAnalysis"), ("WHISP-SM-MIB", "whispRadarDetected"), ("WHISP-SM-MIB", "whispRadarEnd"), ("WHISP-SM-MIB", "smNatWanDHCPClientEvent"), ("WHISP-SM-MIB", "smNatRFPubDHCPClientEvent")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): whispSmNotifGroup = whispSmNotifGroup.setStatus('current') if mibBuilder.loadTexts: whispSmNotifGroup.setDescription('WHiSP SMs notification group.') whispMappingTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 3, 4)).setObjects(("WHISP-SM-MIB", "tableIndex"), ("WHISP-SM-MIB", "protocol"), ("WHISP-SM-MIB", "port"), ("WHISP-SM-MIB", "localIp")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): whispMappingTableGroup = whispMappingTableGroup.setStatus('current') if mibBuilder.loadTexts: whispMappingTableGroup.setDescription('Canopy SM NAT port mapping Table group.') whispRadarDetected = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 1, 1)).setObjects(("WHISP-SM-MIB", "dfsStatus"), ("WHISP-BOX-MIBV2-MIB", "whispBoxEsn")) if mibBuilder.loadTexts: whispRadarDetected.setStatus('current') if mibBuilder.loadTexts: whispRadarDetected.setDescription('Radar detected transmit stopped.') whispRadarEnd = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 1, 2)).setObjects(("WHISP-SM-MIB", "dfsStatus"), ("WHISP-BOX-MIBV2-MIB", "whispBoxEsn")) if mibBuilder.loadTexts: whispRadarEnd.setStatus('current') if mibBuilder.loadTexts: whispRadarEnd.setDescription('Radar ended back to normal transmit.') enterSpectrumAnalysis = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 2, 1)).setObjects(("WHISP-BOX-MIBV2-MIB", "whispBoxEsn")) if mibBuilder.loadTexts: enterSpectrumAnalysis.setStatus('current') if mibBuilder.loadTexts: enterSpectrumAnalysis.setDescription('Entering spectrum analysis. physAddress - MAC address of the SM') availableSpectrumAnalysis = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 2, 2)).setObjects(("WHISP-BOX-MIBV2-MIB", "whispBoxEsn")) if mibBuilder.loadTexts: availableSpectrumAnalysis.setStatus('current') if mibBuilder.loadTexts: availableSpectrumAnalysis.setDescription('Spectrum analysis is complete, SM is re-registered with AP and results are available. physAddress - MAC address of the SM') smNatWanDHCPClientEvent = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 3, 1)).setObjects(("WHISP-SM-MIB", "dhcpCip"), ("WHISP-BOX-MIBV2-MIB", "whispBoxEsn")) if mibBuilder.loadTexts: smNatWanDHCPClientEvent.setStatus('current') if mibBuilder.loadTexts: smNatWanDHCPClientEvent.setDescription('NAT WAN DHCP Client has received a new address via DHCP.') smNatRFPubDHCPClientEvent = NotificationType((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 3, 2)).setObjects(("WHISP-BOX-MIBV2-MIB", "dhcpRfPublicIp"), ("WHISP-BOX-MIBV2-MIB", "whispBoxEsn")) if mibBuilder.loadTexts: smNatRFPubDHCPClientEvent.setStatus('current') if mibBuilder.loadTexts: smNatRFPubDHCPClientEvent.setDescription('NAT RF Public DHCP Client has received a new address via DHCP.') clearLinkStats = MibScalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 8, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: clearLinkStats.setStatus('current') if mibBuilder.loadTexts: clearLinkStats.setDescription('Setting this to a nonzero value will clear the link stats.') whispMappingTable = MibTable((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5), ) if mibBuilder.loadTexts: whispMappingTable.setStatus('current') if mibBuilder.loadTexts: whispMappingTable.setDescription('NAT port mapping information table.') whispMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5, 1), ).setIndexNames((0, "WHISP-SM-MIB", "tableIndex")) if mibBuilder.loadTexts: whispMappingEntry.setStatus('current') if mibBuilder.loadTexts: whispMappingEntry.setDescription('Mapping table entry.') tableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: tableIndex.setStatus('current') if mibBuilder.loadTexts: tableIndex.setDescription('User information table index.') protocol = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: protocol.setStatus('current') if mibBuilder.loadTexts: protocol.setDescription('Protocol type: 0:both UDP and TCP, 1:UDP, 2:TCP.') port = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: port.setStatus('current') if mibBuilder.loadTexts: port.setDescription('Application port number. e.g. 23=telnet, 21=ftp etc. Should be a positive integer.') localIp = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: localIp.setStatus('current') if mibBuilder.loadTexts: localIp.setDescription('IP of local host to which the incoming packet mapped to an application should be forwarded.') whispSmTranslationTable = MibTable((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6), ) if mibBuilder.loadTexts: whispSmTranslationTable.setStatus('current') if mibBuilder.loadTexts: whispSmTranslationTable.setDescription('Translation Table.') whispSmTranslationTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6, 1), ).setIndexNames((0, "WHISP-SM-MIB", "whispTranslationTableIndex")) if mibBuilder.loadTexts: whispSmTranslationTableEntry.setStatus('current') if mibBuilder.loadTexts: whispSmTranslationTableEntry.setDescription('Translation Table Entry.') whispTranslationTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: whispTranslationTableIndex.setStatus('current') if mibBuilder.loadTexts: whispTranslationTableIndex.setDescription('Index into translation table.') whispTranslationTableMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: whispTranslationTableMacAddr.setStatus('current') if mibBuilder.loadTexts: whispTranslationTableMacAddr.setDescription('MAC Address of the registered enity.') whispTranslationTableIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: whispTranslationTableIpAddr.setStatus('current') if mibBuilder.loadTexts: whispTranslationTableIpAddr.setDescription('Ip Address of the registered entity.') whispTranslationTableAge = MibTableColumn((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: whispTranslationTableAge.setStatus('current') if mibBuilder.loadTexts: whispTranslationTableAge.setDescription('Age of the registered entity.') mibBuilder.exportSymbols("WHISP-SM-MIB", packetFilterDirection=packetFilterDirection, dhcpServerPktRcv=dhcpServerPktRcv, rssi=rssi, bridgecbDownlinkMaxBurstBitRate=bridgecbDownlinkMaxBurstBitRate, pppoeMTUOverrideValue=pppoeMTUOverrideValue, maxRSSI=maxRSSI, ethAccessEnable=ethAccessEnable, naptPrivateIP=naptPrivateIP, port1TCPFilter=port1TCPFilter, linkQualityData3XHorizontal=linkQualityData3XHorizontal, colorCode5=colorCode5, dhcpServerEntry=dhcpServerEntry, pppoeIPCPAddress=pppoeIPCPAddress, syslogSMXmitSetting=syslogSMXmitSetting, minJitter=minJitter, phase1=phase1, pppoeTimeoutPeriod=pppoeTimeoutPeriod, lanMaskSm=lanMaskSm, dhcpServerPktToss=dhcpServerPktToss, bitErrors16QAMpathA=bitErrors16QAMpathA, ip4MultFilter=ip4MultFilter, upLnkLimit=upLnkLimit, upLinkBCastFilter=upLinkBCastFilter, snmpFilter=snmpFilter, allowedIPAccessNMLength1=allowedIPAccessNMLength1, jitter=jitter, airDelay=airDelay, colorCodepriority4=colorCodepriority4, arpFilter=arpFilter, fragmentsReceived3XHorizontal=fragmentsReceived3XHorizontal, currentColorCodePri=currentColorCodePri, whispMappingTableGroup=whispMappingTableGroup, smLEDModeFlag=smLEDModeFlag, clearLinkStats=clearLinkStats, multicastVCRcvRate=multicastVCRcvRate, receiveFragmentsModulationPercentage=receiveFragmentsModulationPercentage, signalToNoiseRatioSMVertical=signalToNoiseRatioSMVertical, allIpv4Filter=allIpv4Filter, dhcpSip=dhcpSip, ipAccessFilterEnable=ipAccessFilterEnable, whispTranslationTableIndex=whispTranslationTableIndex, nbBitsRcvd=nbBitsRcvd, linkQualityData1XVertical=linkQualityData1XVertical, radioDbmHorizontal=radioDbmHorizontal, hiPriorityChannel=hiPriorityChannel, pppoeControlBytesSent=pppoeControlBytesSent, fragmentsReceived2XHorizontal=fragmentsReceived2XHorizontal, bridgecbDownlinkCreditLimit=bridgecbDownlinkCreditLimit, wanPingReplyEnable=wanPingReplyEnable, colorCode10=colorCode10, hostIp=hostIp, rfDhcpState=rfDhcpState, radioTxPwr=radioTxPwr, totalBERDisplay=totalBERDisplay, zoltarSWFreqOffset=zoltarSWFreqOffset, prefferedDNSIP=prefferedDNSIP, bitErrors16QAMpathB=bitErrors16QAMpathB, colorCodepriority7=colorCodepriority7, whispRadarDetected=whispRadarDetected, port2TCPFilter=port2TCPFilter, dhcpDomName=dhcpDomName, udpGarbageCollectTmout=udpGarbageCollectTmout, whispMappingEntry=whispMappingEntry, spectrumAnalysisDisplay=spectrumAnalysisDisplay, rfScanListBandFilter=rfScanListBandFilter, whispMappingTable=whispMappingTable, pppoeTCPMSSClampEnableStatus=pppoeTCPMSSClampEnableStatus, action=action, whispSmTranslationTable=whispSmTranslationTable, spectrumAnalysisOnBoot=spectrumAnalysisOnBoot, powerUpMode=powerUpMode, linkQualityData1XHorizontal=linkQualityData1XHorizontal, colorCodepriority8=colorCodepriority8, enable8023link=enable8023link, colorCode3=colorCode3, lowPriorityDownlinkCIR=lowPriorityDownlinkCIR, pppoeDataBytesSent=pppoeDataBytesSent, protocol=protocol, PYSNMP_MODULE_ID=whispSmMibModule, mimo256QamBerDisplay=mimo256QamBerDisplay, ethAccessFilterEnable=ethAccessFilterEnable, activeRegion=activeRegion, radioDbmAvg=radioDbmAvg, secondaryBERDisplay=secondaryBERDisplay, natConnectionType=natConnectionType, pppoeMTUOverrideEnable=pppoeMTUOverrideEnable, dwnLnkLimit=dwnLnkLimit, bitErrorsQSPKpathA=bitErrorsQSPKpathA, naptPublicSubnetMask=naptPublicSubnetMask, whispSmSecurity=whispSmSecurity, colorCodepriority3=colorCodepriority3, port=port, colorCodepriority6=colorCodepriority6, rfStatTxSuppressionCount=rfStatTxSuppressionCount, primaryBER=primaryBER, certTable=certTable, whispSmDfsEvent=whispSmDfsEvent, userDefinedPort1=userDefinedPort1, pppoeDisconnectOD=pppoeDisconnectOD, pppoeTimerType=pppoeTimerType, bridgecbUplinkCreditLimit=bridgecbUplinkCreditLimit, userP2Filter=userP2Filter, pppoeEnabledStatus=pppoeEnabledStatus, bCastMIR=bCastMIR, pppoeTimerTypeValue=pppoeTimerTypeValue, port3UDPFilter=port3UDPFilter, allowedIPAccessNMLength3=allowedIPAccessNMLength3, naptPublicGatewayIP=naptPublicGatewayIP, naptEnable=naptEnable, dhcpIPStart=dhcpIPStart, allowedIPAccess2=allowedIPAccess2, adaptRateHighPri=adaptRateHighPri, userDefinedPort3=userDefinedPort3, pppoeACNameStatus=pppoeACNameStatus, calibrationStatus=calibrationStatus, radioDbm=radioDbm, pppoeDNSServer2=pppoeDNSServer2, rfScanList=rfScanList, allOthersFilter=allOthersFilter, dhcpServerLeaseTime=dhcpServerLeaseTime, pppoeSessUptime=pppoeSessUptime, fragmentsReceived1XVertical=fragmentsReceived1XVertical, bridgecbUplinkMaxBurstBitRate=bridgecbUplinkMaxBurstBitRate, colorCodepriority2=colorCodepriority2, authKeyOption=authKeyOption, timedSpectrumAnalysisDuration=timedSpectrumAnalysisDuration, pppoeDNSServer1=pppoeDNSServer1, whispSmConfig=whispSmConfig, currentColorCode=currentColorCode, bitErrors64QAMpathA=bitErrors64QAMpathA, sessionStatus=sessionStatus, whispSmStatus=whispSmStatus, whispSmMibModule=whispSmMibModule, authUsername=authUsername, colorCode7=colorCode7, linkQualityData4XVertical=linkQualityData4XVertical, dhcpcdns1=dhcpcdns1, currentChanFreq=currentChanFreq, cert=cert, enterSpectrumAnalysis=enterSpectrumAnalysis, phase2=phase2, nbPriBitsErr=nbPriBitsErr, bootpcFilter=bootpcFilter, linkQualityData2XVertical=linkQualityData2XVertical, fragmentsReceived4XVertical=fragmentsReceived4XVertical, smRateAdapt=smRateAdapt, userP1Filter=userP1Filter, allowedIPAccess1=allowedIPAccess1, rawBERPwrRxPathB=rawBERPwrRxPathB, pppoeAuthenticationType=pppoeAuthenticationType, airDelayns=airDelayns, allOtherIpFilter=allOtherIpFilter, bitErrors256QAMpathA=bitErrors256QAMpathA, pppoeControlBytesReceived=pppoeControlBytesReceived, linkQualityData2XHorizontal=linkQualityData2XHorizontal, nbSndBitsErr=nbSndBitsErr, pppoeMTUOverrideEn=pppoeMTUOverrideEn, pmp430ApRegistrationOptions=pmp430ApRegistrationOptions, alternateDNSIP=alternateDNSIP, port2UDPFilter=port2UDPFilter, upLnkDataRate=upLnkDataRate, smAntennaType=smAntennaType, timingPulseGated=timingPulseGated, userDefinedPort2=userDefinedPort2, colorCode4=colorCode4, naptRFPublicSubnetMask=naptRFPublicSubnetMask, smbFilter=smbFilter, colorCode6=colorCode6, clearBerrResults=clearBerrResults, pppoeEnable=pppoeEnable, natDNSProxyEnable=natDNSProxyEnable, berrautoupdateflag=berrautoupdateflag, useRealm=useRealm, hostLease=hostLease, linkQualityData4XHorizontal=linkQualityData4XHorizontal, bitErrorsQSPKpathB=bitErrorsQSPKpathB, bitsReceivedPerPathModulation=bitsReceivedPerPathModulation, dhcpcdns2=dhcpcdns2, bandwidthScan=bandwidthScan, allowedIPAccess3=allowedIPAccess3, port1UDPFilter=port1UDPFilter, pppoeTCPMSSClampEnable=pppoeTCPMSSClampEnable, berPwrRxFPGAPathA=berPwrRxFPGAPathA, whispSmEvent=whispSmEvent, arpCacheTimeout=arpCacheTimeout, switchRadioModeAndReboot=switchRadioModeAndReboot, whispSmDHCPClientEvent=whispSmDHCPClientEvent, networkAccess=networkAccess, userP3Filter=userP3Filter, dmzEnable=dmzEnable, pppoeTimeoutValue=pppoeTimeoutValue, pppoeMTUValue=pppoeMTUValue, dfsConfig=dfsConfig, smNatWanDHCPClientEvent=smNatWanDHCPClientEvent, radioTxGainSm=radioTxGainSm, snmpBerLevel=snmpBerLevel, fragmentsReceived2XVertical=fragmentsReceived2XVertical, linkQualityBeacon=linkQualityBeacon, dhcpCSMask=dhcpCSMask, spectrumAnalysisScanBandwidth=spectrumAnalysisScanBandwidth, radioModeStatus=radioModeStatus, defaultGwSm=defaultGwSm, berDeModSelect=berDeModSelect, availableSpectrumAnalysis=availableSpectrumAnalysis, whispSmNotifGroup=whispSmNotifGroup, pppoeServiceName=pppoeServiceName, maxRadioDbmDeprecated=maxRadioDbmDeprecated, apSelection=apSelection, radioDbmVertical=radioDbmVertical, totalBER=totalBER, dhcpServerTable=dhcpServerTable, dhcpClientLease=dhcpClientLease, whispSmControls=whispSmControls, bhsReReg=bhsReReg, colorCode2=colorCode2, whispSmConfigGroup=whispSmConfigGroup, dhcpDfltRterIP=dhcpDfltRterIP, pppoeSessIdleTime=pppoeSessIdleTime, radioSlicingSm=radioSlicingSm, syslogSMXmitControl=syslogSMXmitControl, secondaryBER=secondaryBER, maxRadioDbm=maxRadioDbm, smSessionTimer=smSessionTimer, cyclicPrefixScan=cyclicPrefixScan, adaptRate=adaptRate, whispRadarEnd=whispRadarEnd, pppoeSvcNameStatus=pppoeSvcNameStatus, pppoeSessionStatus=pppoeSessionStatus, dnsAutomatic=dnsAutomatic, allowedIPAccessNMLength2=allowedIPAccessNMLength2, lowPriorityUplinkCIR=lowPriorityUplinkCIR, hostMacAddress=hostMacAddress, currentBandwidth=currentBandwidth, numAuthCerts=numAuthCerts, berPwrRxFPGAPathB=berPwrRxFPGAPathB, hiPriorityUplinkCIR=hiPriorityUplinkCIR, colorCodepriority5=colorCodepriority5, dmzIP=dmzIP, pppoeConnectOD=pppoeConnectOD, lanIpSm=lanIpSm, rawBERPwrRxPathA=rawBERPwrRxPathA, colorCode9=colorCode9, naptPrivateSubnetMask=naptPrivateSubnetMask, certEntry=certEntry, naptPublicIP=naptPublicIP, realm=realm, dhcpcdns3=dhcpcdns3, localIp=localIp, fragmentsReceived3XVertical=fragmentsReceived3XVertical, signalStrengthRatio=signalStrengthRatio, eapPeerAAAServerCommonName=eapPeerAAAServerCommonName, pppoeDataBytesReceived=pppoeDataBytesReceived, whispSmStatusGroup=whispSmStatusGroup, mimo64QamBerDisplay=mimo64QamBerDisplay) mibBuilder.exportSymbols("WHISP-SM-MIB", upLnkMaxBurstDataRate=upLnkMaxBurstDataRate, minRSSI=minRSSI, radioBandscanConfig=radioBandscanConfig, spectrumAnalysisAction=spectrumAnalysisAction, fragmentsReceived1XHorizontal=fragmentsReceived1XHorizontal, pppoeUserName=pppoeUserName, pppoePassword=pppoePassword, currentCyclicPrefix=currentCyclicPrefix, dhcpClientEnable=dhcpClientEnable, mimo16QamBerDisplay=mimo16QamBerDisplay, maxJitter=maxJitter, dwnLnkMaxBurstDataRate=dwnLnkMaxBurstDataRate, testSMBER=testSMBER, tcpGarbageCollectTmout=tcpGarbageCollectTmout, syslogServerApPreferred=syslogServerApPreferred, colorCodepriority10=colorCodepriority10, whispTranslationTableMacAddr=whispTranslationTableMacAddr, authOuterId=authOuterId, hiPriorityDownlinkCIR=hiPriorityDownlinkCIR, minRadioDbm=minRadioDbm, naptRFPublicIP=naptRFPublicIP, adaptRateLowPri=adaptRateLowPri, dwnLnkDataRate=dwnLnkDataRate, bridgecbUplinkCreditRate=bridgecbUplinkCreditRate, zoltarFPGAFreqOffset=zoltarFPGAFreqOffset, dhcpCip=dhcpCip, pppoeFilter=pppoeFilter, smNatRFPubDHCPClientEvent=smNatRFPubDHCPClientEvent, mimoQpskBerDisplay=mimoQpskBerDisplay, bootpsFilter=bootpsFilter, colorCodepriority9=colorCodepriority9, bitErrors256QAMpathB=bitErrors256QAMpathB, dhcpNumIPsToLease=dhcpNumIPsToLease, pppoeAccessConcentrator=pppoeAccessConcentrator, dfsStatus=dfsStatus, certificateDN=certificateDN, whispSmTranslationTableEntry=whispSmTranslationTableEntry, naptRemoteManage=naptRemoteManage, authenticationEnforce=authenticationEnforce, mimoBerRcvModulationType=mimoBerRcvModulationType, whispTranslationTableAge=whispTranslationTableAge, fragmentsReceived4XHorizontal=fragmentsReceived4XHorizontal, bridgecbDownlinkCreditRate=bridgecbDownlinkCreditRate, dhcpServerPktXmt=dhcpServerPktXmt, colorCode8=colorCode8, radioDbmInt=radioDbmInt, tableIndex=tableIndex, ingressVID=ingressVID, syslogMinLevelApPreferred=syslogMinLevelApPreferred, primaryBERDisplay=primaryBERDisplay, whispTranslationTableIpAddr=whispTranslationTableIpAddr, linkQualityData3XVertical=linkQualityData3XVertical, certIndex=certIndex, authKeySm=authKeySm, dhcpServerEnable=dhcpServerEnable, bitErrors64QAMpathB=bitErrors64QAMpathB, whispSmSpAnEvent=whispSmSpAnEvent, port3TCPFilter=port3TCPFilter, signalToNoiseRatioSMHorizontal=signalToNoiseRatioSMHorizontal, naptRFPublicGateway=naptRFPublicGateway, pppoeSessionID=pppoeSessionID, forcepoweradjust=forcepoweradjust, registeredToAp=registeredToAp, whispSmGroups=whispSmGroups, authPassword=authPassword)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, constraints_union, value_range_constraint, single_value_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueRangeConstraint', 'SingleValueConstraint', 'ValueSizeConstraint') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (bits, time_ticks, gauge32, ip_address, object_identity, mib_identifier, unsigned32, module_identity, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, notification_type, integer32, counter64, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'TimeTicks', 'Gauge32', 'IpAddress', 'ObjectIdentity', 'MibIdentifier', 'Unsigned32', 'ModuleIdentity', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'NotificationType', 'Integer32', 'Counter64', 'Counter32') (textual_convention, mac_address, phys_address, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'MacAddress', 'PhysAddress', 'DisplayString') (dhcp_rf_public_ip, whisp_box_esn) = mibBuilder.importSymbols('WHISP-BOX-MIBV2-MIB', 'dhcpRfPublicIp', 'whispBoxEsn') (whisp_sm, whisp_box, whisp_modules, whisp_aps) = mibBuilder.importSymbols('WHISP-GLOBAL-REG-MIB', 'whispSm', 'whispBox', 'whispModules', 'whispAps') (whisp_mac_address, whisp_luid) = mibBuilder.importSymbols('WHISP-TCV2-MIB', 'WhispMACAddress', 'WhispLUID') whisp_sm_mib_module = module_identity((1, 3, 6, 1, 4, 1, 161, 19, 1, 1, 13)) if mibBuilder.loadTexts: whispSmMibModule.setLastUpdated('200304150000Z') if mibBuilder.loadTexts: whispSmMibModule.setOrganization('Cambium Networks') if mibBuilder.loadTexts: whispSmMibModule.setContactInfo('Canopy Technical Support email: [email protected]') if mibBuilder.loadTexts: whispSmMibModule.setDescription('This module contains MIB definitions for Subscriber Modem.') whisp_sm_config = mib_identifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1)) whisp_sm_security = mib_identifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7)) whisp_sm_status = mib_identifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2)) whisp_sm_groups = mib_identifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 3)) whisp_sm_event = mib_identifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4)) whisp_sm_dfs_event = mib_identifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 1)) whisp_sm_sp_an_event = mib_identifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 2)) whisp_sm_dhcp_client_event = mib_identifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 3)) whisp_sm_controls = mib_identifier((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 8)) rf_scan_list = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 1), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rfScanList.setStatus('current') if mibBuilder.loadTexts: rfScanList.setDescription('RF scan list. The frequencies are: 2.4 radios:24150,24175,24200,24225,24250,24275,24300,24325,24350,24375, 24400,24425,24450,24475,24500,24525,24550,24575. 3.5 radios:340000-360000 added and removed dynamically. 4.9 radios:494500-498500 added and removed dynamically. 5.1 radios:5175,5180,5185,5190,5195,5200,5205,5210,5215,5220,5225,5230,5240, 5245,5250,5255,5260,5265,5270,5275,5280,5285,5290,5295,5300,5305, 5310,5315,5320,5325. 5.2 radios:5275,5280,5285,5290,5295,5300,5305,5310,5315,5320,5325. 5.4 FSK radios:5495,5500,5505,5510,5515,5520,5525, 5530,5535,5540,5545,5550,5555,5560,5565,5570,5575,5580,5585,5590,5595, 5600,5605,5610,5615,5620,5625,5630,5635,5640,5645,5650,5655,5660,5665, 5670,5675,5680,5685,5690,5695,5700,5705. 5.4 OFDM radios 5 mhz channels: 547250,547500,547750,548000,548500,548750,549000,549250,549500,549750,550000,550250,550500,550750,551000,551250,551500,551750,552000,552250,552500,552750, 553000,553250,553500,553750,554000,554250,554500,554750,555000,555250,555500,555750,556000,556250,556500,556750,557000,557250,557500,557750,558000,558250,558500,558750,559000,559250,559500,559750, 560000,560250,560500,560750,561000,561250,561500,561750,562000,562250,562500,562750,563000,563250,563500,563750,564000,564250,564500,564750,565000,565250,565500,565750,566000,566250,566500,566750, 567000,567250,567500,567750,568000,568250,568500,568750,569000,569250,569500,569750,570000,570250,570500,570750,571000,571250,571500,571750. 5.4 OFDM radios 10 mhz channels: 547500,548500,549000,549500,550000,550500,551000,551500,552000,552500, 553000,553500,554000,554500,555000,555500,556000,556500,557000,557500,558000,558500,559000,559500, 560000,560500,561000,561500,562000,562500,563000,563500,564000,564500,565000,565500,566000,566500, 567000,567500,568000,568500,569000,569500,570000,570500,571000,571500. 5.4 OFDM radios 20 mhz channels: 547500,548500,549000,549500,550000,550500,551000,551500,552000,552500, 553000,553500,554000,554500,555000,555500,556000,556500,557000,557500,558000,558500,559000,559500, 560000,560500,561000,561500,562000,562500,563000,563500,564000,564500,565000,565500,566000,566500, 567000,567500,568000,568500,569000,569500,570000,570500,571000,571500. 5.7 FSK radios with ISM enabled :5735,5740,5745,5750,5755,5760,5765,5770,5775, 5780,5785,5790,5795,5800,5805,5810,5815,5820,5825,5830,5835,5840. 5.7 OFDM radios 5 mhz channels :572750,573000,573250,573500,573750,574000,574250,574500,574750,575000,575250,575500,575750,576000,576250,576500,576750,577000,577250,577500,577750, 578000,578250,578500,578750,579000,579250,579500,579750,580000,580250,580500,580750,581000,581250,581500,581750,582000,582250,582500,582750,583000,583250,583500,583750,584000, 584250,584500,584750,585000,585250,585500,585750,586000,586250,586500,586750,587000,587250. 5.7 OFDM radios 10 mhz channels:573000,573500,574000,574500,575000,575500,576000,576500,577000,577500, 578000,578500,579000,579500,580000,580500,581000,581500,582000,582500,583000,583500,584000,584500,585000,585500,586000,586500,587000. 5.7 OFDM radios 20 mhz channels :573500,574000,574500,575000,575500,576000,576500,577000,577500, 578000,578500,579000,579500,580000,580500,581000,581500,582000,582500,583000,583500,584000,584500,585000,585500,586000,586500. 5.8 radios:5860,5865,5870,5875,5880,5885,5890,5895,5900,5905,5910. 5805,5810,5815,5820,5825,5830,5835,5840,5845,5850,5855,5860,5865,5870,5875,5880, 5885,5890,5895,5900,5905,5910,5915,5920,5925,5930,5935,5940,5945,5950. 5.9 radios:5735,5740,5745,5750,5755,5760,5765,5770,5775,5780,5785,5790,5795,5800, 5805,5810,5815,5820,5825,5830,5835,5840,5845,5850,5855,5860,5865,5870,5875,5880, 5885,5890,5895,5900,5905,5910,5915,5920,5925,5930,5935,5940,5945,5950. 6.050 radios:5850,5855,5860,5865,5870,5875,5880,5885,5890,5895,5900,5905,5910,5915,5920, 5925,5930,5935,5940,5945,5950,5955,5960,5965,5970,5975,5980,5985,5990,5995,6000, 6005,6010,6015,6020,6025,6030,6035,6040,6045,6050. 900 radios:9060,9070,9080,9090,9100,9110,9120,9130,9140,9150,9160,9170,9180,9190,9200,9220,9230,9240. 0: none. all: All frequencies in the band(s) supported by the radio will be selected. all54: All frequencies in the 5.4 band will be selected (only available on dual band radios). all57: All frequencies in the 5.7 band will be selected (only available on dual band radios). When doing a set, separate values with comma with no white space between values.') power_up_mode = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('operational', 0), ('aim', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: powerUpMode.setStatus('current') if mibBuilder.loadTexts: powerUpMode.setDescription('SM Power Up Mode With No 802.3 Link. 1 -- Power up in Aim mode 2 -- Power up in Operational mode.') lan_ip_sm = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: lanIpSm.setStatus('current') if mibBuilder.loadTexts: lanIpSm.setDescription('LAN IP.') lan_mask_sm = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 4), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: lanMaskSm.setStatus('current') if mibBuilder.loadTexts: lanMaskSm.setDescription('LAN subnet mask.') default_gw_sm = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 5), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: defaultGwSm.setStatus('current') if mibBuilder.loadTexts: defaultGwSm.setDescription('Default gateway.') network_access = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('localIP', 0), ('publicIP', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: networkAccess.setStatus('current') if mibBuilder.loadTexts: networkAccess.setDescription('Network accessibility. Public or local IP. For multipoint only.') auth_key_sm = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: authKeySm.setStatus('current') if mibBuilder.loadTexts: authKeySm.setDescription('Authentication key. It should be equal or less than 32 characters long.') enable8023link = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: enable8023link.setStatus('current') if mibBuilder.loadTexts: enable8023link.setDescription('To enable or disable 802.3 link. For SMs only.') auth_key_option = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('useDefault', 0), ('useKeySet', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: authKeyOption.setStatus('current') if mibBuilder.loadTexts: authKeyOption.setDescription('This option is for SMs only. Backhaul timing slave always uses the set key. 0 - Use default key. 1 - Use set key.') timing_pulse_gated = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: timingPulseGated.setStatus('current') if mibBuilder.loadTexts: timingPulseGated.setDescription('0 - Disable (Always propagate the frame timing pulse). 1 - Enable (If SM out of sync then dont propagate the frame timing pulse).') napt_private_ip = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 11), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: naptPrivateIP.setStatus('current') if mibBuilder.loadTexts: naptPrivateIP.setDescription('NAPT private IP address. Only the first three bytes can be changed when NAPT is enabled.') napt_private_subnet_mask = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 12), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: naptPrivateSubnetMask.setStatus('current') if mibBuilder.loadTexts: naptPrivateSubnetMask.setDescription('NAPT private subnet mask. Only the last byte can be changed when NAPT is enabled. The address will always be: 255.255.255.x.') napt_public_ip = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 13), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: naptPublicIP.setStatus('current') if mibBuilder.loadTexts: naptPublicIP.setDescription('IP Address of NAPT Public Interface. The variable is available only when NAPT is enabled.') napt_public_subnet_mask = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 14), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: naptPublicSubnetMask.setStatus('current') if mibBuilder.loadTexts: naptPublicSubnetMask.setDescription('Subnet mask for NAPT Public Interface. The variable is available only when NAPT is enabled.') napt_public_gateway_ip = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 15), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: naptPublicGatewayIP.setStatus('current') if mibBuilder.loadTexts: naptPublicGatewayIP.setDescription('IP Address of NAPT Public Interface Gateway. The variable is available only when NAPT is enabled.') napt_rf_public_ip = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 16), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: naptRFPublicIP.setStatus('current') if mibBuilder.loadTexts: naptRFPublicIP.setDescription('IP Address of RF Public Interface. The variable is available only when NAPT is enabled.') napt_rf_public_subnet_mask = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 17), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: naptRFPublicSubnetMask.setStatus('current') if mibBuilder.loadTexts: naptRFPublicSubnetMask.setDescription('Subnet mask of RF Public Interface. The variable is available only when NAPT is enabled.') napt_rf_public_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 18), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: naptRFPublicGateway.setStatus('current') if mibBuilder.loadTexts: naptRFPublicGateway.setDescription('IP Address of RF Public Interface Gateway. The variable is available only when NAPT is enabled.') napt_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: naptEnable.setStatus('current') if mibBuilder.loadTexts: naptEnable.setDescription('To enable or disable NAPT. For multipoint only. 1=Enable NAPT, 0=Disable NAPT.') arp_cache_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 20), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: arpCacheTimeout.setStatus('current') if mibBuilder.loadTexts: arpCacheTimeout.setDescription('ARP cache time out in unit of minutes. For multipoint only. Range from 1-30.') tcp_garbage_collect_tmout = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 21), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpGarbageCollectTmout.setStatus('current') if mibBuilder.loadTexts: tcpGarbageCollectTmout.setDescription('Units of minutes for TCP garbage collection. For multipoint only. Range 4-1440.') udp_garbage_collect_tmout = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 22), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: udpGarbageCollectTmout.setStatus('current') if mibBuilder.loadTexts: udpGarbageCollectTmout.setDescription('Units of minutes for UDP garbage collection. For multipoint only. Range 1-1440.') dhcp_client_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dhcpClientEnable.setStatus('obsolete') if mibBuilder.loadTexts: dhcpClientEnable.setDescription("To enable or disable DHCP client. For multipoint SM's with NAPT enabled.") dhcp_server_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dhcpServerEnable.setStatus('current') if mibBuilder.loadTexts: dhcpServerEnable.setDescription("To enable or disable DHCP server. For multipoint SM's with NAPT enabled.") dhcp_server_lease_time = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 25), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: dhcpServerLeaseTime.setStatus('current') if mibBuilder.loadTexts: dhcpServerLeaseTime.setDescription("Units of days for DHCP server lease time. For multipoint SM's with NAPT enabled. Range from 1-30.") dhcp_ip_start = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 26), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: dhcpIPStart.setStatus('current') if mibBuilder.loadTexts: dhcpIPStart.setDescription('The last byte will be set for the starting IP that our DHCP server gives away. The first 3 bytes of the starting IP are the same as those of NAPT private IP') dns_automatic = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('manually', 0), ('automatically', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dnsAutomatic.setStatus('current') if mibBuilder.loadTexts: dnsAutomatic.setDescription('To have DHCP Server obtain DNS information automatically or manually.') preffered_dnsip = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 28), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: prefferedDNSIP.setStatus('current') if mibBuilder.loadTexts: prefferedDNSIP.setDescription('The preferred DNS IP when we are configured for static DNS (Not used when configured for automatic DNS).') alternate_dnsip = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 29), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: alternateDNSIP.setStatus('current') if mibBuilder.loadTexts: alternateDNSIP.setDescription('The alternate DNS IP when we are configured for static DNS (Not used when configured for automatic DNS).') dmz_ip = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 30), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: dmzIP.setStatus('current') if mibBuilder.loadTexts: dmzIP.setDescription('Only the last byte of DMZ Host IP will be set. The first 3 bytes of DMZ IP are the same as those of NAPT private IP.') dmz_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dmzEnable.setStatus('current') if mibBuilder.loadTexts: dmzEnable.setDescription('To enable or disable DMZ host functionality.') dhcp_num_i_ps_to_lease = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 32), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: dhcpNumIPsToLease.setStatus('current') if mibBuilder.loadTexts: dhcpNumIPsToLease.setDescription('Number of IP addresses that our DHCP server can give away.') pppoe_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeFilter.setStatus('obsolete') if mibBuilder.loadTexts: pppoeFilter.setDescription('To set PPPoE packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') smb_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 34), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: smbFilter.setStatus('obsolete') if mibBuilder.loadTexts: smbFilter.setDescription('To set SMB packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') snmp_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 35), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snmpFilter.setStatus('obsolete') if mibBuilder.loadTexts: snmpFilter.setDescription('To set SNMP packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') user_p1_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 36), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: userP1Filter.setStatus('obsolete') if mibBuilder.loadTexts: userP1Filter.setDescription('To set user defined port 1 packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') user_p2_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 37), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: userP2Filter.setStatus('obsolete') if mibBuilder.loadTexts: userP2Filter.setDescription('To set user defined port 2 packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') user_p3_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 38), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: userP3Filter.setStatus('obsolete') if mibBuilder.loadTexts: userP3Filter.setDescription('To set user defined port 3 packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') all_other_ip_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 39), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: allOtherIpFilter.setStatus('obsolete') if mibBuilder.loadTexts: allOtherIpFilter.setDescription('To set all other IPv4 packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') up_link_b_cast_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 40), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: upLinkBCastFilter.setStatus('obsolete') if mibBuilder.loadTexts: upLinkBCastFilter.setDescription('This variable is currently obsolete.') arp_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 41), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: arpFilter.setStatus('obsolete') if mibBuilder.loadTexts: arpFilter.setDescription('To set ARP packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') all_others_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 42), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: allOthersFilter.setStatus('obsolete') if mibBuilder.loadTexts: allOthersFilter.setDescription('To set all other packet filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') user_defined_port1 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 43), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: userDefinedPort1.setStatus('obsolete') if mibBuilder.loadTexts: userDefinedPort1.setDescription('An integer value of number one user defined port. Range:0-65535 Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port1_tcp_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 44), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: port1TCPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port1TCPFilter.setDescription('To set user defined port 1 TCP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port1_udp_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 45), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: port1UDPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port1UDPFilter.setDescription('To set user defined port 1 UDP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') user_defined_port2 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 46), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: userDefinedPort2.setStatus('obsolete') if mibBuilder.loadTexts: userDefinedPort2.setDescription('An integer value of number two user defined port. Range:0-65535 Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port2_tcp_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 47), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: port2TCPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port2TCPFilter.setDescription('To set user defined port 2 TCP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port2_udp_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 48), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: port2UDPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port2UDPFilter.setDescription('To set user defined port 2 UDP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') user_defined_port3 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 49), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: userDefinedPort3.setStatus('obsolete') if mibBuilder.loadTexts: userDefinedPort3.setDescription('An integer value of number three user defined port. Range:0-65535 Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port3_tcp_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 50), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: port3TCPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port3TCPFilter.setDescription('To set user defined port 3 TCP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') port3_udp_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 51), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: port3UDPFilter.setStatus('obsolete') if mibBuilder.loadTexts: port3UDPFilter.setDescription('To set user defined port 3 UDP traffic filter. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') bootpc_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 52), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bootpcFilter.setStatus('obsolete') if mibBuilder.loadTexts: bootpcFilter.setDescription('To set bootp client sourced packets filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') bootps_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 53), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bootpsFilter.setStatus('obsolete') if mibBuilder.loadTexts: bootpsFilter.setDescription('To set bootp server sourced packets filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') ip4_mult_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 54), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ip4MultFilter.setStatus('obsolete') if mibBuilder.loadTexts: ip4MultFilter.setDescription('To set IPv4 MultiCast packets filter when NAT is disabled. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') ingress_vid = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 55), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ingressVID.setStatus('current') if mibBuilder.loadTexts: ingressVID.setDescription('Untagged ingress VID.') low_priority_uplink_cir = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 56), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: lowPriorityUplinkCIR.setStatus('current') if mibBuilder.loadTexts: lowPriorityUplinkCIR.setDescription('Low priority uplink CIR.') low_priority_downlink_cir = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 57), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: lowPriorityDownlinkCIR.setStatus('current') if mibBuilder.loadTexts: lowPriorityDownlinkCIR.setDescription('Low priority downlink CIR.') hi_priority_channel = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 58), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hiPriorityChannel.setStatus('current') if mibBuilder.loadTexts: hiPriorityChannel.setDescription('To enable or disable high priority channel.') hi_priority_uplink_cir = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 59), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hiPriorityUplinkCIR.setStatus('current') if mibBuilder.loadTexts: hiPriorityUplinkCIR.setDescription('High priority uplink CIR.') hi_priority_downlink_cir = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 60), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hiPriorityDownlinkCIR.setStatus('current') if mibBuilder.loadTexts: hiPriorityDownlinkCIR.setDescription('High priority downlink CIR.') sm_rate_adapt = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 61), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('onex', 0), ('onextwox', 1), ('onextwoxthreex', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: smRateAdapt.setStatus('obsolete') if mibBuilder.loadTexts: smRateAdapt.setDescription('Rate adaptation parameter. 0: no rate adaptation. 1: 1x and 2x adaptation. 2: 1x,2x and 3x adaptation.') up_lnk_data_rate = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 62), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: upLnkDataRate.setStatus('current') if mibBuilder.loadTexts: upLnkDataRate.setDescription('Sustained uplink bandwidth cap.') up_lnk_limit = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 63), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: upLnkLimit.setStatus('current') if mibBuilder.loadTexts: upLnkLimit.setDescription('Burst uplink bandwidth cap.') dwn_lnk_data_rate = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 64), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: dwnLnkDataRate.setStatus('current') if mibBuilder.loadTexts: dwnLnkDataRate.setDescription('Sustained downlink bandwidth cap.') dwn_lnk_limit = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 65), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: dwnLnkLimit.setStatus('current') if mibBuilder.loadTexts: dwnLnkLimit.setDescription('Burst downlink bandwidth cap.') dfs_config = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 66), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dfsConfig.setStatus('obsolete') if mibBuilder.loadTexts: dfsConfig.setDescription('To configure proper regions for Dynamic Frequency Shifting. For 5.2/5.4/5.7 GHz radios.') eth_access_filter_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 67), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ethAccessFilterEnable.setStatus('obsolete') if mibBuilder.loadTexts: ethAccessFilterEnable.setDescription('To enable or disable Ethernet Port access filtering to SM Management Functions. (0) - Ethernet access to SM Management allowed. (1) - Ethernet access to SM Management blocked.') ip_access_filter_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 68), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ipAccessFilterEnable.setStatus('current') if mibBuilder.loadTexts: ipAccessFilterEnable.setDescription('To enable or disable IP access filtering to Management functions. (0) - IP access will be allowed from all addresses. (1) - IP access will be controlled using allowedIPAccess1-3 entries.') allowed_ip_access1 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 69), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: allowedIPAccess1.setStatus('current') if mibBuilder.loadTexts: allowedIPAccess1.setDescription('Allow access to SM Management from this IP. 0 is default setting to allow from all IPs.') allowed_ip_access2 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 70), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: allowedIPAccess2.setStatus('current') if mibBuilder.loadTexts: allowedIPAccess2.setDescription('Allow access to SM Management from this IP. 0 is default setting to allow from all IPs.') allowed_ip_access3 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 71), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: allowedIPAccess3.setStatus('current') if mibBuilder.loadTexts: allowedIPAccess3.setDescription('Allow access to SM Management from this IP. 0 is default setting to allow from all IPs.') rf_dhcp_state = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 72), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rfDhcpState.setStatus('current') if mibBuilder.loadTexts: rfDhcpState.setDescription('To enable or disable RF Interface DHCP feature.') b_cast_mir = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 73), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0))).clone(namedValues=named_values(('disabled', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bCastMIR.setStatus('current') if mibBuilder.loadTexts: bCastMIR.setDescription('To enable and set Broadcast/ Multicast MIR feature. Use value of 0 to disable. Units are in kbps') bhs_re_reg = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 74), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bhsReReg.setStatus('obsolete') if mibBuilder.loadTexts: bhsReReg.setDescription('Allows BHS re-registration every 24 hours. Enable allows re-registration and Disable does not. 24 Hour Encryption Refresh.') sm_led_mode_flag = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 75), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('legacy', 0), ('revised', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: smLEDModeFlag.setStatus('current') if mibBuilder.loadTexts: smLEDModeFlag.setDescription('To set LED Panel Operation to Revised Mode(1) or to Legacy Mode(0)') eth_access_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 76), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ethAccessEnable.setStatus('current') if mibBuilder.loadTexts: ethAccessEnable.setDescription('To enable or disable Ethernet Port access to SM Management Functions. (1) - Ethernet access to SM Management allowed. (0) - Ethernet access to SM Management blocked.') pppoe_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 77), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeEnable.setStatus('current') if mibBuilder.loadTexts: pppoeEnable.setDescription('Enable or disable PPPoE on the SM. NAT MUST be enabled prior and Translation Bridging MUST be DISABLED on the AP.') pppoe_authentication_type = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 78), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('none', 0), ('chap-pap', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeAuthenticationType.setStatus('current') if mibBuilder.loadTexts: pppoeAuthenticationType.setDescription('Set the PPPoE Authentication Type to either None or CHAP/pap') pppoe_access_concentrator = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 79), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeAccessConcentrator.setStatus('current') if mibBuilder.loadTexts: pppoeAccessConcentrator.setDescription('Set the PPPoE Access Concentrator Name. Less than or equal to 32 characters') pppoe_service_name = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 80), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeServiceName.setStatus('current') if mibBuilder.loadTexts: pppoeServiceName.setDescription('Set the PPPoE Service Name. Less than or equal to 32 characters') pppoe_user_name = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 81), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeUserName.setStatus('current') if mibBuilder.loadTexts: pppoeUserName.setDescription('Set the PPPoE Username. Less than or equal to 32 characters') pppoe_password = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 82), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoePassword.setStatus('current') if mibBuilder.loadTexts: pppoePassword.setDescription('Set the PPPoE Password. Less than or equal to 32 characters') pppoe_tcpmss_clamp_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 83), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeTCPMSSClampEnable.setStatus('current') if mibBuilder.loadTexts: pppoeTCPMSSClampEnable.setDescription('Enable or disable TCP MSS Clamping. Enabling this will cause the SM to edit the TCP MSS in TCP SYN and SYN-ACK packets. This will allow for a workaround for MTU issues so that the TCP session will only go up to the clamped MSS. If you are using PMTUD reliably, this should not be needed.') pppoe_mtu_override_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 84), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeMTUOverrideEnable.setStatus('current') if mibBuilder.loadTexts: pppoeMTUOverrideEnable.setDescription("Enable the overriding of the PPP link's MTU. Normally, the PPP link will set the MTU to the MRU of the PPPoE Server, but this may be overridden. If the MRU of the PPPoE server is smaller than the desired MTU, the smaller MTU will be used.") pppoe_mtu_override_value = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 85), integer32().subtype(subtypeSpec=value_range_constraint(0, 1492))).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeMTUOverrideValue.setStatus('current') if mibBuilder.loadTexts: pppoeMTUOverrideValue.setDescription("Enable the overriding of the PPP link's MTU. Normally, the PPP link will set the MTU to the MRU of the PPPoE Server, but this may be overridden. If the MRU of the PPPoE server is smaller than the desired MTU, the smaller MTU will be used. Max MTU of a PPPoE link is 1492.") pppoe_timer_type = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 86), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('keepAlive', 1), ('idleTimeout', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeTimerType.setStatus('current') if mibBuilder.loadTexts: pppoeTimerType.setDescription('Set the PPPoE Timer type. Can be a Keep Alive timer where the link will be checked periodically and automatically redialed if the link is down. Also could be an Idle Timeout where the link will be automatically dropped after an idle period and redialed if user data is present. Keep Alive timers are in seconds while Idle Timeout timers are in minutes.') pppoe_timeout_period = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 87), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeTimeoutPeriod.setStatus('current') if mibBuilder.loadTexts: pppoeTimeoutPeriod.setDescription('The Timeout Period. The use of this depends on the Timer Type. If the Timer Type is KeepAlive, then the timeout period is in seconds. If the Timer Type is Idle Timeout, then the timeout period is in minutes. Minimum values are 20 seconds for KeepAlive timer, and 5 minutes for Idle Timeout.') timed_spectrum_analysis_duration = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 88), integer32().subtype(subtypeSpec=value_range_constraint(10, 1000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: timedSpectrumAnalysisDuration.setStatus('deprecated') if mibBuilder.loadTexts: timedSpectrumAnalysisDuration.setDescription('As of release 13.0.2 this value is depricated. Please use the OID in whispBoxConfig. Value in seconds for a timed spectrum analysis. Range is 10-1000 seconds.') spectrum_analysis_on_boot = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 89), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: spectrumAnalysisOnBoot.setStatus('current') if mibBuilder.loadTexts: spectrumAnalysisOnBoot.setDescription('To enable or disable Spectrum Analysis on boot up for one scan through the band. (0) - Disabled (1) - Enabled') spectrum_analysis_action = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 90), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('stopSpectrumAnalysis', 0), ('startTimedSpectrumAnalysis', 1), ('startContinuousSpectrumAnalysis', 2), ('idleNoSpectrumAnalysis', 3), ('idleCompleteSpectrumAnalysis', 4), ('inProgressTimedSpectrumAnalysis', 5), ('inProgressContinuousSpectrumAnalysis', 6)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: spectrumAnalysisAction.setStatus('deprecated') if mibBuilder.loadTexts: spectrumAnalysisAction.setDescription('As of release 13.0.2, this OID has been deprecated. Please use the OID in whispBoxConfig. Start or stop timed or continuous Spectrum Analysis and also give status. (0) - Stop Spectrum Analysis (1) - Start Timed Spectrum Analysis (2) - Start Continuous Spectrum Analysis (3) - Idle, no Spectrum Analysis results. (4) - Idle, Spectrum Analysis results available. (5) - Timed or Remote Spectrum Analysis in progress. (6) - Continuous Spectrum Analysis in progress. Note: Continuous mode has a max of 24 hours.') pppoe_connect_od = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 91), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('connectOnDemand', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeConnectOD.setStatus('current') if mibBuilder.loadTexts: pppoeConnectOD.setDescription('Force a manual PPPoE connection attempt.') pppoe_disconnect_od = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 92), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('disconnectOnDemand', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: pppoeDisconnectOD.setStatus('current') if mibBuilder.loadTexts: pppoeDisconnectOD.setDescription('Force a manual PPPoE disconnection.') sm_antenna_type = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 93), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('integrated', 0), ('external', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: smAntennaType.setStatus('obsolete') if mibBuilder.loadTexts: smAntennaType.setDescription('Deprecated. See whispBoxStatus.antType for antenna type information.') nat_connection_type = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 94), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('staticIP', 0), ('dhcp', 1), ('pppoe', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: natConnectionType.setStatus('current') if mibBuilder.loadTexts: natConnectionType.setDescription('To configure the SM NAT connection type. Options are Static IP, DHCP, or PPPoE.') wan_ping_reply_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 95), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wanPingReplyEnable.setStatus('current') if mibBuilder.loadTexts: wanPingReplyEnable.setDescription('Allow Ping replies from SM WAN interface. Applies to both NAT and PPPoE WAN interfaces.') packet_filter_direction = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 96), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('upstream', 1), ('downstream', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: packetFilterDirection.setStatus('obsolete') if mibBuilder.loadTexts: packetFilterDirection.setDescription('To packet filter direction when NAT is disabled. Upstream is default. Obsolete - Use corresponding OID in whipsBoxConfig MIB.') color_code2 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 97), integer32().subtype(subtypeSpec=value_range_constraint(0, 254))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCode2.setStatus('current') if mibBuilder.loadTexts: colorCode2.setDescription('Second Color code.') color_codepriority2 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 98), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 0))).clone(namedValues=named_values(('primary', 1), ('secondary', 2), ('tertiary', 3), ('disable', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCodepriority2.setStatus('current') if mibBuilder.loadTexts: colorCodepriority2.setDescription('Priority setting for second color code.') color_code3 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 99), integer32().subtype(subtypeSpec=value_range_constraint(0, 254))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCode3.setStatus('current') if mibBuilder.loadTexts: colorCode3.setDescription('Third Color code.') color_codepriority3 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 100), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 0))).clone(namedValues=named_values(('primary', 1), ('secondary', 2), ('tertiary', 3), ('disable', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCodepriority3.setStatus('current') if mibBuilder.loadTexts: colorCodepriority3.setDescription('Priority setting for the third color code.') color_code4 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 101), integer32().subtype(subtypeSpec=value_range_constraint(0, 254))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCode4.setStatus('current') if mibBuilder.loadTexts: colorCode4.setDescription('Fourth Color code.') color_codepriority4 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 102), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 0))).clone(namedValues=named_values(('primary', 1), ('secondary', 2), ('tertiary', 3), ('disable', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCodepriority4.setStatus('current') if mibBuilder.loadTexts: colorCodepriority4.setDescription('Priority setting for the fourth color code.') color_code5 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 103), integer32().subtype(subtypeSpec=value_range_constraint(0, 254))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCode5.setStatus('current') if mibBuilder.loadTexts: colorCode5.setDescription('Fifth Color code.') color_codepriority5 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 104), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 0))).clone(namedValues=named_values(('primary', 1), ('secondary', 2), ('tertiary', 3), ('disable', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCodepriority5.setStatus('current') if mibBuilder.loadTexts: colorCodepriority5.setDescription('Priority setting for the fifth color code.') color_code6 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 105), integer32().subtype(subtypeSpec=value_range_constraint(0, 254))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCode6.setStatus('current') if mibBuilder.loadTexts: colorCode6.setDescription('Sixth Color code.') color_codepriority6 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 106), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 0))).clone(namedValues=named_values(('primary', 1), ('secondary', 2), ('tertiary', 3), ('disable', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCodepriority6.setStatus('current') if mibBuilder.loadTexts: colorCodepriority6.setDescription('Priority setting for the sixth color code.') color_code7 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 107), integer32().subtype(subtypeSpec=value_range_constraint(0, 254))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCode7.setStatus('current') if mibBuilder.loadTexts: colorCode7.setDescription('Seventh Color code.') color_codepriority7 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 108), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 0))).clone(namedValues=named_values(('primary', 1), ('secondary', 2), ('tertiary', 3), ('disable', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCodepriority7.setStatus('current') if mibBuilder.loadTexts: colorCodepriority7.setDescription('Priority setting for the seventh color code.') color_code8 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 109), integer32().subtype(subtypeSpec=value_range_constraint(0, 254))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCode8.setStatus('current') if mibBuilder.loadTexts: colorCode8.setDescription('Eighth Color code.') color_codepriority8 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 110), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 0))).clone(namedValues=named_values(('primary', 1), ('secondary', 2), ('tertiary', 3), ('disable', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCodepriority8.setStatus('current') if mibBuilder.loadTexts: colorCodepriority8.setDescription('Priority setting for the eighth color code.') color_code9 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 111), integer32().subtype(subtypeSpec=value_range_constraint(0, 254))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCode9.setStatus('current') if mibBuilder.loadTexts: colorCode9.setDescription('Ninth Color code.') color_codepriority9 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 112), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 0))).clone(namedValues=named_values(('primary', 1), ('secondary', 2), ('tertiary', 3), ('disable', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCodepriority9.setStatus('current') if mibBuilder.loadTexts: colorCodepriority9.setDescription('Priority setting for the ninth color code.') color_code10 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 113), integer32().subtype(subtypeSpec=value_range_constraint(0, 254))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCode10.setStatus('current') if mibBuilder.loadTexts: colorCode10.setDescription('Tenth Color code.') color_codepriority10 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 114), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 0))).clone(namedValues=named_values(('primary', 1), ('secondary', 2), ('tertiary', 3), ('disable', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: colorCodepriority10.setStatus('current') if mibBuilder.loadTexts: colorCodepriority10.setDescription('Priority setting for the tenth color code.') nat_dns_proxy_enable = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 115), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: natDNSProxyEnable.setStatus('current') if mibBuilder.loadTexts: natDNSProxyEnable.setDescription('If enabled, the SM will advertise itself as the DNS server when it sends out DHCP client leases and forward DNS queries automatically. If disabled, the SM will forward on upstream DNS server information when it sends out DHCP client leases.') all_ipv4_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 116), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('filterOff', 0), ('filterOn', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: allIpv4Filter.setStatus('obsolete') if mibBuilder.loadTexts: allIpv4Filter.setDescription('To set all IPv4 packet filter when NAT is disabled. Enabling this will automatically enable all of the known IP filters (SMB, SNMP, Bootp, IPv4 Mcast, User Defined Ports, and All Other IPv4). Obsolete - Use corresponding OID in whipsBoxConfig MIB.') spectrum_analysis_display = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 117), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('averaging', 0), ('instantaneous', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: spectrumAnalysisDisplay.setStatus('current') if mibBuilder.loadTexts: spectrumAnalysisDisplay.setDescription('The display for Spectrum Analyzer: (0) - Averaging over entire period (1) - Instantaneous showing the last reading') syslog_sm_xmit_setting = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 118), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('obtain-from-AP', 0), ('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: syslogSMXmitSetting.setStatus('deprecated') if mibBuilder.loadTexts: syslogSMXmitSetting.setDescription('Obtains Syslog transmit configuration from AP/BHM if set to 0, overrides if 1 or 2. Transmits syslog data to Syslog server if enabled(1), stops if disabled (2).') syslog_server_ap_preferred = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 119), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('use-local', 0), ('use-AP-preferred', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: syslogServerApPreferred.setStatus('current') if mibBuilder.loadTexts: syslogServerApPreferred.setDescription('Uses Syslog server configuration from AP/BHM if enabled and available, otherwise uses local configuration.') syslog_min_level_ap_preferred = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 120), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('use-local', 0), ('use-AP-preferred', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: syslogMinLevelApPreferred.setStatus('current') if mibBuilder.loadTexts: syslogMinLevelApPreferred.setDescription('Uses Syslog minimum transmit level configuration from AP/BHM if available, otherwise uses local configuration.') syslog_sm_xmit_control = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 121), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('obtain-from-AP-default-disabled', 0), ('obtain-from-AP-default-enabled', 1), ('disable', 2), ('enable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: syslogSMXmitControl.setStatus('current') if mibBuilder.loadTexts: syslogSMXmitControl.setDescription('Obtains Syslog transmit configuration from AP/BHM if available, or specifies the local transmit state.') eap_peer_aaa_server_common_name = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 126), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: eapPeerAAAServerCommonName.setStatus('current') if mibBuilder.loadTexts: eapPeerAAAServerCommonName.setDescription('THIS OID IS CURRENTLY UNUSED: EAP Peer Server Common Name') rf_scan_list_band_filter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 127), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(8, 9))).clone(namedValues=named_values(('band5400', 8), ('band5700', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rfScanListBandFilter.setStatus('obsolete') if mibBuilder.loadTexts: rfScanListBandFilter.setDescription('This element is obsolete.') up_lnk_max_burst_data_rate = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 128), integer32()).setUnits('Kilobits/sec').setMaxAccess('readwrite') if mibBuilder.loadTexts: upLnkMaxBurstDataRate.setStatus('current') if mibBuilder.loadTexts: upLnkMaxBurstDataRate.setDescription('Maximum burst uplink rate.') dwn_lnk_max_burst_data_rate = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 129), integer32()).setUnits('Kilobits/sec').setMaxAccess('readwrite') if mibBuilder.loadTexts: dwnLnkMaxBurstDataRate.setStatus('current') if mibBuilder.loadTexts: dwnLnkMaxBurstDataRate.setDescription('Maximum burst downlink rate.') cyclic_prefix_scan = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 130), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: cyclicPrefixScan.setStatus('current') if mibBuilder.loadTexts: cyclicPrefixScan.setDescription('Cyclic Prefix value for frequency scanning used by MIMO SMs only. When setting use a comma delimited list of cyclic prefixes with no spaces. For example: 1/8,1/16') bandwidth_scan = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 131), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: bandwidthScan.setStatus('current') if mibBuilder.loadTexts: bandwidthScan.setDescription('Bandwidth values for frequency scanning used by MIMO SMs only. When setting use a comma delimited list of bandwidths. For example: 10, 20') ap_selection = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 132), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 0))).clone(namedValues=named_values(('powerLevel', 1), ('optimizeForThroughput', 0)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: apSelection.setStatus('current') if mibBuilder.loadTexts: apSelection.setDescription("This OID affects what AP to attempt to register to when Canopy SMs scan see more than one AP that are valid in it's configuration. (0) - Default, Canopy radios after scanning select the best AP that will optimize for estimated throughput. (1) - Select the AP with the best receive power level. Note this is only if multiple APs fit the current scan configuration, and will be overriden by color codes, RADIUS, etc.") radio_bandscan_config = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 133), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('instant', 0), ('delayed', 1), ('apply', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: radioBandscanConfig.setStatus('current') if mibBuilder.loadTexts: radioBandscanConfig.setDescription('Used to determine when frequency, cyclic prefix and bandwidth settings take effect for band scanning MIMO SMs. 0 - Instant 1 - Delayed 2 - Apply changes') forcepoweradjust = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 134), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: forcepoweradjust.setStatus('current') if mibBuilder.loadTexts: forcepoweradjust.setDescription('This will force a multipoint SM to initiate an asynchronous power adjust sequence.') clear_berr_results = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 135), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: clearBerrResults.setStatus('current') if mibBuilder.loadTexts: clearBerrResults.setDescription('This will clear the BERR results.') berrautoupdateflag = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 136), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: berrautoupdateflag.setStatus('current') if mibBuilder.loadTexts: berrautoupdateflag.setDescription('This indicates if the once a second BERR updating of counters is enabled. 1 = enabled 0 = disabled') test_smber = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 137), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: testSMBER.setStatus('current') if mibBuilder.loadTexts: testSMBER.setDescription('0 - Disable (Return the SM to a normal operation state). 1 - Enable (Set SM into a BERR test state).') allowed_ip_access_nm_length1 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 138), integer32().subtype(subtypeSpec=value_range_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: allowedIPAccessNMLength1.setStatus('current') if mibBuilder.loadTexts: allowedIPAccessNMLength1.setDescription('Length of the network mask to apply to the AllowedIPAddress when assessing if access is allowed') allowed_ip_access_nm_length2 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 139), integer32().subtype(subtypeSpec=value_range_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: allowedIPAccessNMLength2.setStatus('current') if mibBuilder.loadTexts: allowedIPAccessNMLength2.setDescription('Length of the network mask to apply to the AllowedIPAddress when assessing if access is allowed') allowed_ip_access_nm_length3 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 140), integer32().subtype(subtypeSpec=value_range_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: allowedIPAccessNMLength3.setStatus('current') if mibBuilder.loadTexts: allowedIPAccessNMLength3.setDescription('Length of the network mask to apply to the AllowedIPAddress when assessing if access is allowed') napt_remote_manage = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 141), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disable', 0), ('enable-standalone', 1), ('enable-wan', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: naptRemoteManage.setStatus('current') if mibBuilder.loadTexts: naptRemoteManage.setDescription('To enable or disable Remote Management. For multipoint only. 0=Disable Remote Management, 1=Enable - Standalone Config, 2=Enable - Use WAN Interface.') spectrum_analysis_scan_bandwidth = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 142), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('bandwidth5MHz', 0), ('bandwidth10MHz', 1), ('bandwidth20MHz', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: spectrumAnalysisScanBandwidth.setStatus('current') if mibBuilder.loadTexts: spectrumAnalysisScanBandwidth.setDescription('Scanning Bandwidth used for the Spectrum Analyzer. Only available on PMP 450.') ber_de_mod_select = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 143), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('qpsk', 0), ('qam-16', 1), ('qam-64', 2), ('qam-256', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: berDeModSelect.setStatus('current') if mibBuilder.loadTexts: berDeModSelect.setDescription('The BER demodulation level the SM is set. 0 for QPSK, 1 for 16-QAM, 2 for 64-QAM, and 3 for 256-QAM.') multicast_vc_rcv_rate = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 144), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: multicastVCRcvRate.setStatus('current') if mibBuilder.loadTexts: multicastVCRcvRate.setDescription('Multicast VC Receive Rate') pmp430_ap_registration_options = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 145), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('pmp430', 1), ('pmp450', 2), ('both', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: pmp430ApRegistrationOptions.setStatus('current') if mibBuilder.loadTexts: pmp430ApRegistrationOptions.setDescription('Selects AP types (430 and/or 450) that are available for the PMP430 SM. When both AP types are selected, if the SM does not register to an AP, it will reboot to scan the other AP type.') switch_radio_mode_and_reboot = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 1, 146), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('finishedReboot', 0), ('switchRadioModeAndReboot', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: switchRadioModeAndReboot.setStatus('current') if mibBuilder.loadTexts: switchRadioModeAndReboot.setDescription('Setting this to 1 will force switch the SM to the other radio mode and immediately reboot the unit. When the unit finishes rebooting, it will be in finishedReboot state. Only will be allowed to be set if both registration options are configured. PMP 430 SM only. Introduced in release 12.2.') num_auth_certs = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: numAuthCerts.setStatus('current') if mibBuilder.loadTexts: numAuthCerts.setDescription('can have a max value of 2') authentication_enforce = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disable', 0), ('aaa', 1), ('presharedkey', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: authenticationEnforce.setStatus('current') if mibBuilder.loadTexts: authenticationEnforce.setDescription('enforce SM to register with specifed Auth Enabled AP') phase1 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('eapttls', 0), ('eapMSChapV2', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: phase1.setStatus('current') if mibBuilder.loadTexts: phase1.setDescription('Select the outer method for EAP Authentication') phase2 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('pap', 0), ('chap', 1), ('mschapv2', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: phase2.setStatus('current') if mibBuilder.loadTexts: phase2.setDescription('Select the outer method for EAP Authentication') auth_outer_id = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 6), octet_string().subtype(subtypeSpec=value_size_constraint(0, 253))).setMaxAccess('readwrite') if mibBuilder.loadTexts: authOuterId.setStatus('current') if mibBuilder.loadTexts: authOuterId.setDescription('EAP Peer Username') auth_password = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: authPassword.setStatus('current') if mibBuilder.loadTexts: authPassword.setDescription('EAP Peer password') auth_username = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 8), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: authUsername.setStatus('current') if mibBuilder.loadTexts: authUsername.setDescription('EAP Peer Identity') use_realm = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: useRealm.setStatus('current') if mibBuilder.loadTexts: useRealm.setDescription('Enable or disable the use of realm option.') realm = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 10), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: realm.setStatus('current') if mibBuilder.loadTexts: realm.setDescription('EAP Peer Realm') cert_table = mib_table((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1)) if mibBuilder.loadTexts: certTable.setStatus('current') if mibBuilder.loadTexts: certTable.setDescription('The table of CA Certificates on SM.') cert_entry = mib_table_row((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1, 1)).setIndexNames((0, 'WHISP-SM-MIB', 'certIndex')) if mibBuilder.loadTexts: certEntry.setStatus('current') if mibBuilder.loadTexts: certEntry.setDescription('Entry of Certifcates.') cert_index = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2))).setMaxAccess('readonly') if mibBuilder.loadTexts: certIndex.setStatus('current') if mibBuilder.loadTexts: certIndex.setDescription('User information table index.') cert = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('inactive', 0), ('active', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: cert.setStatus('current') if mibBuilder.loadTexts: cert.setDescription('0: Inactive 1: Active') action = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('noop', 0), ('delete', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: action.setStatus('current') if mibBuilder.loadTexts: action.setDescription('0: No Operation 1: Delete Certificate') certificate_dn = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 7, 1, 1, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: certificateDN.setStatus('current') if mibBuilder.loadTexts: certificateDN.setDescription('Distinguished Name of Certificate 2') session_status = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: sessionStatus.setStatus('current') if mibBuilder.loadTexts: sessionStatus.setDescription('SM registered or not.') rssi = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rssi.setStatus('current') if mibBuilder.loadTexts: rssi.setDescription('Radio signal strength index. FSK only.') jitter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 3), gauge32().subtype(subtypeSpec=value_range_constraint(0, 15))).setMaxAccess('readonly') if mibBuilder.loadTexts: jitter.setStatus('current') if mibBuilder.loadTexts: jitter.setDescription('A measure of multipath interference. Applicable to FSK radios only.') air_delay = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: airDelay.setStatus('current') if mibBuilder.loadTexts: airDelay.setDescription('Round trip delay in bits.') radio_slicing_sm = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: radioSlicingSm.setStatus('obsolete') if mibBuilder.loadTexts: radioSlicingSm.setDescription('This variable is deprecated.') radio_tx_gain_sm = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: radioTxGainSm.setStatus('current') if mibBuilder.loadTexts: radioTxGainSm.setDescription('Radio transmission gain setting. Applicable to FSK radios only.') calibration_status = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: calibrationStatus.setStatus('deprecated') if mibBuilder.loadTexts: calibrationStatus.setDescription('Varible deprecated. Please use calibrationStatusBox.') radio_dbm = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 8), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: radioDbm.setStatus('current') if mibBuilder.loadTexts: radioDbm.setDescription('Rx Power level. For MIMO this is the combined power of the horizontal and vertical paths.') registered_to_ap = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 9), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: registeredToAp.setStatus('current') if mibBuilder.loadTexts: registeredToAp.setDescription('AP MAC address that the SM registered to.') dhcp_cip = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 10), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpCip.setStatus('current') if mibBuilder.loadTexts: dhcpCip.setDescription('Assigned IP address to DHCP client.') dhcp_sip = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 11), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpSip.setStatus('current') if mibBuilder.loadTexts: dhcpSip.setDescription('Public DHCP server IP.') dhcp_client_lease = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 12), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpClientLease.setStatus('current') if mibBuilder.loadTexts: dhcpClientLease.setDescription('DHCP client lease time.') dhcp_cs_mask = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 13), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpCSMask.setStatus('current') if mibBuilder.loadTexts: dhcpCSMask.setDescription('Public DHCP server subnet mask.') dhcp_dflt_rter_ip = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 14), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpDfltRterIP.setStatus('current') if mibBuilder.loadTexts: dhcpDfltRterIP.setDescription('Public default router IP address.') dhcpcdns1 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 15), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpcdns1.setStatus('current') if mibBuilder.loadTexts: dhcpcdns1.setDescription('Primary public domain name server.') dhcpcdns2 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 16), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpcdns2.setStatus('current') if mibBuilder.loadTexts: dhcpcdns2.setDescription('Secondary public domain name server.') dhcpcdns3 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 17), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpcdns3.setStatus('current') if mibBuilder.loadTexts: dhcpcdns3.setDescription('Third public domain name server.') dhcp_dom_name = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 18), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpDomName.setStatus('current') if mibBuilder.loadTexts: dhcpDomName.setDescription('Public domain name server.') adapt_rate = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 20), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: adaptRate.setStatus('current') if mibBuilder.loadTexts: adaptRate.setDescription('VC adapt rate.') radio_dbm_int = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 21), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: radioDbmInt.setStatus('current') if mibBuilder.loadTexts: radioDbmInt.setDescription('Radio power level(integer). For MIMO radios this is the combined power of the horiztontal and vertical paths.') dfs_status = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 22), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: dfsStatus.setStatus('current') if mibBuilder.loadTexts: dfsStatus.setDescription('Dynamic frequency shifting status. For DFS Radio only.') radio_tx_pwr = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 23), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: radioTxPwr.setStatus('current') if mibBuilder.loadTexts: radioTxPwr.setDescription('Tx Power level. Valid for FSK and OFDM SMs.') active_region = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 24), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: activeRegion.setStatus('current') if mibBuilder.loadTexts: activeRegion.setDescription('The active region of the radio.') snmp_ber_level = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(2, 4, 6, 8))).clone(namedValues=named_values(('twoLevelOrMimoQPSK', 2), ('fourLevelOrMimo16QAM', 4), ('mimo64QAM', 6), ('mimo256QAM', 8)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snmpBerLevel.setStatus('current') if mibBuilder.loadTexts: snmpBerLevel.setDescription('BER level. For PMP450 systems: 2=MIMO QPSK, 4=MIMO 16-QAM, 6=MIMO64-QAM, 8=256-QAM For non PMP450: 2=2 level BER, 4=4 level BER.') nb_bits_rcvd = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 26), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: nbBitsRcvd.setStatus('current') if mibBuilder.loadTexts: nbBitsRcvd.setDescription('Number of BER bits received (non MIMO platforms only).') nb_pri_bits_err = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 27), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nbPriBitsErr.setStatus('current') if mibBuilder.loadTexts: nbPriBitsErr.setDescription('Number of Primary bit errors (non MIMO platforms only).') nb_snd_bits_err = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 28), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nbSndBitsErr.setStatus('current') if mibBuilder.loadTexts: nbSndBitsErr.setDescription('Number of secondary bit errors (non MIMO platforms only).') primary_ber = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 29), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: primaryBER.setStatus('obsolete') if mibBuilder.loadTexts: primaryBER.setDescription('Obsoleted, invalid type to represent this data. Measured Primary Bit Error Rate.') secondary_ber = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 30), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: secondaryBER.setStatus('obsolete') if mibBuilder.loadTexts: secondaryBER.setDescription('Obsoleted, invalid type to represent this data. Measured Secondary Bit Error Rate.') total_ber = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 31), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalBER.setStatus('obsolete') if mibBuilder.loadTexts: totalBER.setDescription('Obsoleted, invalid type to represent this data. Measured Total Bit Error Rate.') min_rssi = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 32), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: minRSSI.setStatus('current') if mibBuilder.loadTexts: minRSSI.setDescription('Measured Min. RSSI. Applicable to FSK radios only.') max_rssi = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 33), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: maxRSSI.setStatus('current') if mibBuilder.loadTexts: maxRSSI.setDescription('Measured Max. RSSI. Applicable to FSK radios only.') min_jitter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 34), gauge32().subtype(subtypeSpec=value_range_constraint(0, 15))).setMaxAccess('readonly') if mibBuilder.loadTexts: minJitter.setStatus('current') if mibBuilder.loadTexts: minJitter.setDescription('Measured Min. Jitter. Applicable to FSK radios only.') max_jitter = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 35), gauge32().subtype(subtypeSpec=value_range_constraint(0, 15))).setMaxAccess('readonly') if mibBuilder.loadTexts: maxJitter.setStatus('current') if mibBuilder.loadTexts: maxJitter.setDescription('Measured Max. Jitter. Applicable to FSK radios only.') sm_session_timer = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 36), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: smSessionTimer.setStatus('current') if mibBuilder.loadTexts: smSessionTimer.setDescription('SM current session timer.') pppoe_session_status = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 37), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeSessionStatus.setStatus('current') if mibBuilder.loadTexts: pppoeSessionStatus.setDescription('Current PPPoE Session Status') pppoe_session_id = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 38), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeSessionID.setStatus('current') if mibBuilder.loadTexts: pppoeSessionID.setDescription('Current PPPoE Session ID') pppoe_ipcp_address = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 39), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeIPCPAddress.setStatus('current') if mibBuilder.loadTexts: pppoeIPCPAddress.setDescription('Current PPPoE IPCP IP Address') pppoe_mtu_override_en = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 40), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeMTUOverrideEn.setStatus('current') if mibBuilder.loadTexts: pppoeMTUOverrideEn.setDescription('Current PPPoE MTU Override Setting') pppoe_mtu_value = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 41), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeMTUValue.setStatus('current') if mibBuilder.loadTexts: pppoeMTUValue.setDescription('Current PPPoE MTU Value') pppoe_timer_type_value = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 42), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disabled', 0), ('keepAlive', 1), ('idleTimeout', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeTimerTypeValue.setStatus('current') if mibBuilder.loadTexts: pppoeTimerTypeValue.setDescription('Current PPPoE Timer Type. 0 is disabled, 1 is Keep Alive timer, and 2 is Idle Timeout timer.') pppoe_timeout_value = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 43), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeTimeoutValue.setStatus('current') if mibBuilder.loadTexts: pppoeTimeoutValue.setDescription('Current PPPoE Timeout Period. The use of this depends on the Timer Type. If the Timer Type is KeepAlive, then the timeout period is in seconds. If the Timer Type is Idle Timeout, then the timeout period is in minutes.') pppoe_dns_server1 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 44), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeDNSServer1.setStatus('current') if mibBuilder.loadTexts: pppoeDNSServer1.setDescription('PPPoE DNS Server 1') pppoe_dns_server2 = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 45), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeDNSServer2.setStatus('current') if mibBuilder.loadTexts: pppoeDNSServer2.setDescription('PPPoE DNS Server 2') pppoe_control_bytes_sent = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 46), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeControlBytesSent.setStatus('current') if mibBuilder.loadTexts: pppoeControlBytesSent.setDescription('PPPoE Control Bytes Sent') pppoe_control_bytes_received = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 47), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeControlBytesReceived.setStatus('current') if mibBuilder.loadTexts: pppoeControlBytesReceived.setDescription('PPPoE Control Bytes Received') pppoe_data_bytes_sent = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 48), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeDataBytesSent.setStatus('current') if mibBuilder.loadTexts: pppoeDataBytesSent.setDescription('PPPoE Data Bytes Sent') pppoe_data_bytes_received = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 49), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeDataBytesReceived.setStatus('current') if mibBuilder.loadTexts: pppoeDataBytesReceived.setDescription('PPPoE Data Bytes Received') pppoe_enabled_status = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 50), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeEnabledStatus.setStatus('current') if mibBuilder.loadTexts: pppoeEnabledStatus.setDescription('PPPoE Enabled') pppoe_tcpmss_clamp_enable_status = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 51), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeTCPMSSClampEnableStatus.setStatus('current') if mibBuilder.loadTexts: pppoeTCPMSSClampEnableStatus.setDescription('PPPoE TCP MSS Clamping Enable') pppoe_ac_name_status = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 52), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeACNameStatus.setStatus('current') if mibBuilder.loadTexts: pppoeACNameStatus.setDescription('Current PPPoE Access Concentrator In Use') pppoe_svc_name_status = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 53), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeSvcNameStatus.setStatus('current') if mibBuilder.loadTexts: pppoeSvcNameStatus.setDescription('Current PPPoE Service Name In Use') pppoe_sess_uptime = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 54), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeSessUptime.setStatus('current') if mibBuilder.loadTexts: pppoeSessUptime.setDescription('Uptime of current PPPoE Session in ticks') primary_ber_display = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 55), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: primaryBERDisplay.setStatus('current') if mibBuilder.loadTexts: primaryBERDisplay.setDescription('Measured Primary Bit Error Rate. Non MIMO platforms only.') secondary_ber_display = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 56), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: secondaryBERDisplay.setStatus('current') if mibBuilder.loadTexts: secondaryBERDisplay.setDescription('Measured Secondary Bit Error Rate. FSK platforms only.') total_ber_display = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 57), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: totalBERDisplay.setStatus('current') if mibBuilder.loadTexts: totalBERDisplay.setDescription('Measured Total Bit Error Rate. For MIMO this is combined both paths.') min_radio_dbm = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 58), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: minRadioDbm.setStatus('current') if mibBuilder.loadTexts: minRadioDbm.setDescription('Maximum receive power of beacon in dBm. For MIMO radios, this is only available in the vertical path.') max_radio_dbm = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 59), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: maxRadioDbm.setStatus('current') if mibBuilder.loadTexts: maxRadioDbm.setDescription('Maximum receive power of beacon in dBm. For MIMO radios, this is only available in the vertical path.') pppoe_sess_idle_time = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 60), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: pppoeSessIdleTime.setStatus('current') if mibBuilder.loadTexts: pppoeSessIdleTime.setDescription('Idle Time of current PPPoE Session in ticks') radio_dbm_avg = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 61), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: radioDbmAvg.setStatus('current') if mibBuilder.loadTexts: radioDbmAvg.setDescription("Average Receive Power of the AP's beacon in dBm. OFDM Radios only. For MIMO this is only the verical path, as the beacon is not transmitted on horizontal.") zoltar_fpga_freq_offset = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 62), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: zoltarFPGAFreqOffset.setStatus('current') if mibBuilder.loadTexts: zoltarFPGAFreqOffset.setDescription('FPGA peek of 70001088') zoltar_sw_freq_offset = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 63), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: zoltarSWFreqOffset.setStatus('current') if mibBuilder.loadTexts: zoltarSWFreqOffset.setDescription('FPGA peek of 7000108C') air_delayns = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 64), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: airDelayns.setStatus('current') if mibBuilder.loadTexts: airDelayns.setDescription('Round trip delay in nanoseconds.') current_color_code = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 65), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: currentColorCode.setStatus('current') if mibBuilder.loadTexts: currentColorCode.setDescription('The current Color Code of the Registered AP/BHM. A value of -1 is return when the device is not registered.') current_color_code_pri = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 66), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('none', 0), ('primary', 1), ('secondary', 2), ('tertiary', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: currentColorCodePri.setStatus('current') if mibBuilder.loadTexts: currentColorCodePri.setDescription('The current priority of the Registered color code') current_chan_freq = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 67), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: currentChanFreq.setStatus('current') if mibBuilder.loadTexts: currentChanFreq.setDescription('The Current Channel Frequency of the AP/BHM when in session.') link_quality_beacon = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 68), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: linkQualityBeacon.setStatus('current') if mibBuilder.loadTexts: linkQualityBeacon.setDescription('Engineering only. Link Quality for incoming beacons. For Gen II OFDM radios and forward. For PMP450 and forward this is vertical path.') dhcp_server_pkt_xmt = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 72), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpServerPktXmt.setStatus('current') if mibBuilder.loadTexts: dhcpServerPktXmt.setDescription('Number of packets transmitted by SM DHCP Server') dhcp_server_pkt_rcv = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 73), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpServerPktRcv.setStatus('current') if mibBuilder.loadTexts: dhcpServerPktRcv.setDescription('Number of packets received by SM DHCP Server') dhcp_server_pkt_toss = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 74), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dhcpServerPktToss.setStatus('current') if mibBuilder.loadTexts: dhcpServerPktToss.setDescription('Number of packets tossed by SM DHCP Server') receive_fragments_modulation_percentage = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 86), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: receiveFragmentsModulationPercentage.setStatus('current') if mibBuilder.loadTexts: receiveFragmentsModulationPercentage.setDescription('Engineering use only. The percentage of recent fragments received at which modulation. For Gen II OFDM only and forward.') fragments_received1_x_vertical = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 87), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: fragmentsReceived1XVertical.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived1XVertical.setDescription('Engineering use only. Number of fragments received in 1x modulation. For GenII OFDM only and forward. For MIMO this is the vertical path.') fragments_received2_x_vertical = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 88), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: fragmentsReceived2XVertical.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived2XVertical.setDescription('Engineering use only. Number of fragments received in 2x modulation. For GenII OFDM only and forward. For MIMO this is the vertical path.') fragments_received3_x_vertical = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 89), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: fragmentsReceived3XVertical.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived3XVertical.setDescription('Engineering use only. Number of fragments received in 3x modulation. For GenII OFDM only and forward. For MIMO this is the vertical path.') fragments_received4_x_vertical = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 90), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: fragmentsReceived4XVertical.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived4XVertical.setDescription('Engineering use only. Number of fragments received in 4x modulation. For GenII OFDM only and forward. For MIMO this is the vertical path.') link_quality_data1_x_vertical = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 91), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: linkQualityData1XVertical.setStatus('current') if mibBuilder.loadTexts: linkQualityData1XVertical.setDescription('Engineering use only. Link Quality for the data VC for QPSK modulation (1X). For Gen II OFDM radios and forward only. For MIMO this is the vertical path.') link_quality_data2_x_vertical = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 92), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: linkQualityData2XVertical.setStatus('current') if mibBuilder.loadTexts: linkQualityData2XVertical.setDescription('Engineering use only. Link Quality for the data VC for 16-QAM modulation (2X). For Gen II OFDM radios and forward only. For MIMO this is the vertical path.') link_quality_data3_x_vertical = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 93), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: linkQualityData3XVertical.setStatus('current') if mibBuilder.loadTexts: linkQualityData3XVertical.setDescription('Engineering use only. Link Quality for the data VC for 64-QAM modulation (3X). For Gen II OFDM radios and forward only. For MIMO this is the vertical path.') link_quality_data4_x_vertical = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 94), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: linkQualityData4XVertical.setStatus('current') if mibBuilder.loadTexts: linkQualityData4XVertical.setDescription('Engineering use only. Link Quality for the data VC for 256-QAM modulation (4X). For Gen II OFDM radios and forward only. For MIMO this is the vertical path.') signal_to_noise_ratio_sm_vertical = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 95), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: signalToNoiseRatioSMVertical.setStatus('current') if mibBuilder.loadTexts: signalToNoiseRatioSMVertical.setDescription('An estimated signal to noise ratio based on the last received data. For GenII OFDM only and forward. For MIMO this is the vertical antenna. Will return zero if Signal to Noise Ratio Calculation is disabled.') rf_stat_tx_suppression_count = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 96), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rfStatTxSuppressionCount.setStatus('current') if mibBuilder.loadTexts: rfStatTxSuppressionCount.setDescription('RF Scheduler Stats DFS TX Suppression Count') bridgecb_uplink_credit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 97), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bridgecbUplinkCreditRate.setStatus('current') if mibBuilder.loadTexts: bridgecbUplinkCreditRate.setDescription('Sustained uplink data rate.') bridgecb_uplink_credit_limit = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 98), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bridgecbUplinkCreditLimit.setStatus('current') if mibBuilder.loadTexts: bridgecbUplinkCreditLimit.setDescription('Uplink Burst Allocation.') bridgecb_downlink_credit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 99), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bridgecbDownlinkCreditRate.setStatus('current') if mibBuilder.loadTexts: bridgecbDownlinkCreditRate.setDescription('Sustained uplink data rate.') bridgecb_downlink_credit_limit = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 100), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bridgecbDownlinkCreditLimit.setStatus('current') if mibBuilder.loadTexts: bridgecbDownlinkCreditLimit.setDescription('Uplink Burst Allocation.') mimo_qpsk_ber_display = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 101), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mimoQpskBerDisplay.setStatus('current') if mibBuilder.loadTexts: mimoQpskBerDisplay.setDescription('QPSK BER statistics. MIMO platforms only.') mimo16_qam_ber_display = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 102), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mimo16QamBerDisplay.setStatus('current') if mibBuilder.loadTexts: mimo16QamBerDisplay.setDescription('16-QAM BER statistics MIMO platforms only. Engineering use only.') mimo64_qam_ber_display = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 103), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mimo64QamBerDisplay.setStatus('current') if mibBuilder.loadTexts: mimo64QamBerDisplay.setDescription('64-QAM BER statistics MIMO platforms only. Engineering use only.') mimo256_qam_ber_display = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 104), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mimo256QamBerDisplay.setStatus('current') if mibBuilder.loadTexts: mimo256QamBerDisplay.setDescription('256-QAM BER statistics MIMO platforms only. Engineering use only.') mimo_ber_rcv_modulation_type = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 105), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mimoBerRcvModulationType.setStatus('current') if mibBuilder.loadTexts: mimoBerRcvModulationType.setDescription('Receive modulation type. MIMO platforms only.') signal_to_noise_ratio_sm_horizontal = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 106), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: signalToNoiseRatioSMHorizontal.setStatus('current') if mibBuilder.loadTexts: signalToNoiseRatioSMHorizontal.setDescription('An estimated signal to noise ratio based on the last received data for horizontal antenna. MIMO radios only. Will return zero if Signal to Noise Ratio Calculation is disabled.') max_radio_dbm_deprecated = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 107), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: maxRadioDbmDeprecated.setStatus('deprecated') if mibBuilder.loadTexts: maxRadioDbmDeprecated.setDescription('This OID was inadvertently moved in 12.0.2. Please use maxRadioDbm. This OID is deprecated and kept for backwards compatibility.') signal_strength_ratio = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 108), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: signalStrengthRatio.setStatus('current') if mibBuilder.loadTexts: signalStrengthRatio.setDescription('Signal Strength Ratio in dB is the power received by the vertical antenna input (dB) - power received by the horizontal antenna input (dB). MIMO radios only.') fragments_received1_x_horizontal = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 109), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: fragmentsReceived1XHorizontal.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived1XHorizontal.setDescription('Engineering use only. Number of fragments received in 1x modulation. For MIMO radios only. For MIMO this is the horizontal path.') fragments_received2_x_horizontal = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 110), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: fragmentsReceived2XHorizontal.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived2XHorizontal.setDescription('Engineering use only. Number of fragments received in 2x modulation. For MIMO radios only. For MIMO this is the horizontal path.') fragments_received3_x_horizontal = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 111), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: fragmentsReceived3XHorizontal.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived3XHorizontal.setDescription('Engineering use only. Number of fragments received in 3x modulation. For MIMO radios only. For MIMO this is the horizontal path.') fragments_received4_x_horizontal = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 112), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: fragmentsReceived4XHorizontal.setStatus('current') if mibBuilder.loadTexts: fragmentsReceived4XHorizontal.setDescription('Engineering use only. Number of fragments received in 4x modulation. For MIMO radios only. For MIMO this is the horizontal path.') link_quality_data1_x_horizontal = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 113), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: linkQualityData1XHorizontal.setStatus('current') if mibBuilder.loadTexts: linkQualityData1XHorizontal.setDescription('Engineering use only. Link Quality for the data VC for QPSK modulation (1X). For MIMO radios only. For MIMO this is the horizontal path.') link_quality_data2_x_horizontal = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 114), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: linkQualityData2XHorizontal.setStatus('current') if mibBuilder.loadTexts: linkQualityData2XHorizontal.setDescription('Engineering use only. Link Quality for the data VC for 16-QAM modulation (2X). For MIMO radios only. For MIMO this is the horizontal path.') link_quality_data3_x_horizontal = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 115), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: linkQualityData3XHorizontal.setStatus('current') if mibBuilder.loadTexts: linkQualityData3XHorizontal.setDescription('Engineering use only. Link Quality for the data VC for 64-QAM modulation (3X). For MIMO radios only. For MIMO this is the horizontal path.') link_quality_data4_x_horizontal = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 116), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: linkQualityData4XHorizontal.setStatus('current') if mibBuilder.loadTexts: linkQualityData4XHorizontal.setDescription('Engineering use only. Link Quality for the data VC for 256-QAM modulation (4X). For MIMO radios only. For MIMO this is the horizontal path.') radio_dbm_horizontal = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 117), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: radioDbmHorizontal.setStatus('current') if mibBuilder.loadTexts: radioDbmHorizontal.setDescription('Receive power level of the horizontal antenna in dBm. MIMO radios only.') radio_dbm_vertical = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 118), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: radioDbmVertical.setStatus('current') if mibBuilder.loadTexts: radioDbmVertical.setDescription('Receive power level of the vertical antenna in dBm. MIMO radios only.') bridgecb_downlink_max_burst_bit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 119), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bridgecbDownlinkMaxBurstBitRate.setStatus('current') if mibBuilder.loadTexts: bridgecbDownlinkMaxBurstBitRate.setDescription('Maximum burst downlink rate.') bridgecb_uplink_max_burst_bit_rate = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 120), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bridgecbUplinkMaxBurstBitRate.setStatus('current') if mibBuilder.loadTexts: bridgecbUplinkMaxBurstBitRate.setDescription('Maximum burst uplink Rate.') current_cyclic_prefix = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 121), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('one-quarter', 0), ('one-eighth', 1), ('one-sixteenth', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: currentCyclicPrefix.setStatus('current') if mibBuilder.loadTexts: currentCyclicPrefix.setDescription('The Current Cyclic Prefix of the AP/BHM when in session.') current_bandwidth = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 122), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 5))).clone(namedValues=named_values(('bandwidth5mhz', 1), ('bandwidth10mhz', 3), ('bandwidth20mhz', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: currentBandwidth.setStatus('current') if mibBuilder.loadTexts: currentBandwidth.setDescription('The Current Bandwidth of the AP/BHM when in session.') ber_pwr_rx_fpga_path_a = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 123), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: berPwrRxFPGAPathA.setStatus('current') if mibBuilder.loadTexts: berPwrRxFPGAPathA.setDescription('BER power level on FPGA Rx Path A of SM.') ber_pwr_rx_fpga_path_b = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 124), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: berPwrRxFPGAPathB.setStatus('current') if mibBuilder.loadTexts: berPwrRxFPGAPathB.setDescription('BER power level on FPGA Rx Path B of SM.') raw_ber_pwr_rx_path_a = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 125), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rawBERPwrRxPathA.setStatus('current') if mibBuilder.loadTexts: rawBERPwrRxPathA.setDescription('Raw unadjusted BER power level on FPGA Rx Path A of SM.') raw_ber_pwr_rx_path_b = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 126), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rawBERPwrRxPathB.setStatus('current') if mibBuilder.loadTexts: rawBERPwrRxPathB.setDescription('Raw unadjusted BER power level on FPGA Rx Path B of SM.') radio_mode_status = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 127), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('undefined', 0), ('pmp430', 1), ('pmp450Interoperability', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: radioModeStatus.setStatus('current') if mibBuilder.loadTexts: radioModeStatus.setDescription('The current radio mode that SM is operating in. PMP 430 SMs only. Introduced in release 12.2.') adapt_rate_low_pri = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 128), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 6, 8))).clone(namedValues=named_values(('noSession', 0), ('rate1X', 1), ('rate2X', 2), ('rete3X', 3), ('rate4X', 4), ('rate6X', 6), ('rate8X', 8)))).setMaxAccess('readonly') if mibBuilder.loadTexts: adaptRateLowPri.setStatus('current') if mibBuilder.loadTexts: adaptRateLowPri.setDescription('The current transmitting rate of the low priority VC. 0 : SM is not in session 1 : 1X QPSK SISO 2 : 2X 16-QAM SISO or QPSK MIMO 3 : 3X 64-QAM SISO 4 : 4X 256-QAM SISO or 16-QAM MIMO 6 : 6X 64-QAM MIMO 8 : 8X 256-QAM MIMO') adapt_rate_high_pri = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 129), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(-1, 0, 1, 2, 3, 4, 6, 8))).clone(namedValues=named_values(('noHighPriorityChannel', -1), ('noSession', 0), ('rate1X', 1), ('rate2X', 2), ('rete3X', 3), ('rate4X', 4), ('rate6X', 6), ('rate8X', 8)))).setMaxAccess('readonly') if mibBuilder.loadTexts: adaptRateHighPri.setStatus('current') if mibBuilder.loadTexts: adaptRateHighPri.setDescription('The current transmitting rate of the high priority VC. -1 : High Priority Channel not configured 0 : SM is not in session 1 : 1X QPSK SISO 2 : 2X 16-QAM SISO or QPSK MIMO 3 : 3X 64-QAM SISO 4 : 4X 256-QAM SISO or 16-QAM MIMO 6 : 6X 64-QAM MIMO 8 : 8X 256-QAM MIMO') bit_errors_qsp_kpath_a = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 130), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: bitErrorsQSPKpathA.setStatus('current') if mibBuilder.loadTexts: bitErrorsQSPKpathA.setDescription('Number of bit errors received from BER packet at QPSK path A. Valid MIMO platforms only.') bit_errors_qsp_kpath_b = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 131), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: bitErrorsQSPKpathB.setStatus('current') if mibBuilder.loadTexts: bitErrorsQSPKpathB.setDescription('Number of bit errors received from BER packet at QPSK path B. Valid MIMO platforms only.') bit_errors16_qa_mpath_a = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 132), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: bitErrors16QAMpathA.setStatus('current') if mibBuilder.loadTexts: bitErrors16QAMpathA.setDescription('Number of bit errors received from BER packet at 16-QAM path A. Valid MIMO platforms only. Engineering use only.') bit_errors16_qa_mpath_b = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 133), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: bitErrors16QAMpathB.setStatus('current') if mibBuilder.loadTexts: bitErrors16QAMpathB.setDescription('Number of bit errors received from BER packet at 16-QAM path B. Valid MIMO platforms only. Engineering use only.') bit_errors64_qa_mpath_a = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 134), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: bitErrors64QAMpathA.setStatus('current') if mibBuilder.loadTexts: bitErrors64QAMpathA.setDescription('Number of bit errors received from BER packet at 64-QAM path A. Valid MIMO platforms only. Engineering use only.') bit_errors64_qa_mpath_b = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 135), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: bitErrors64QAMpathB.setStatus('current') if mibBuilder.loadTexts: bitErrors64QAMpathB.setDescription('Number of bit errors received from BER packet at 64-QAM path B. Valid MIMO platforms only. Engineering use only.') bit_errors256_qa_mpath_a = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 136), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: bitErrors256QAMpathA.setStatus('current') if mibBuilder.loadTexts: bitErrors256QAMpathA.setDescription('Number of bit errors received from BER packet at 256-QAM path A. Valid MIMO platforms only. Engineering use only.') bit_errors256_qa_mpath_b = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 137), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: bitErrors256QAMpathB.setStatus('current') if mibBuilder.loadTexts: bitErrors256QAMpathB.setDescription('Number of bit errors received from BER packet at 256-QAM path B. Valid MIMO platforms only. Engineering use only.') bits_received_per_path_modulation = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 138), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: bitsReceivedPerPathModulation.setStatus('current') if mibBuilder.loadTexts: bitsReceivedPerPathModulation.setDescription('Number of bit received from BER. To calculate Bit Error Rate, take bit errors at a modulation and path and divide by this OID. To get combined BER add errors and divide by this multiplied by each path and modulation. i.e. MIMO QPSK combined BER = ((errors on path A) + (errors on path B))/(bits recieved per path modulation * 2) Valid MIMO platforms only.') dhcp_server_table = mib_table((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 19)) if mibBuilder.loadTexts: dhcpServerTable.setStatus('current') if mibBuilder.loadTexts: dhcpServerTable.setDescription('The table of DHCP server hosts.') dhcp_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 19, 1)).setIndexNames((0, 'WHISP-SM-MIB', 'hostIp')) if mibBuilder.loadTexts: dhcpServerEntry.setStatus('current') if mibBuilder.loadTexts: dhcpServerEntry.setDescription('Entry of DHCP server hosts.') host_ip = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 19, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hostIp.setStatus('current') if mibBuilder.loadTexts: hostIp.setDescription('DHCP server IP address.') host_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 19, 1, 2), phys_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: hostMacAddress.setStatus('current') if mibBuilder.loadTexts: hostMacAddress.setDescription('Private host MAC address.') host_lease = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 2, 19, 1, 3), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: hostLease.setStatus('current') if mibBuilder.loadTexts: hostLease.setDescription('Lease time assigned by DHCP server host.') whisp_sm_config_group = object_group((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 3, 1)).setObjects(('WHISP-SM-MIB', 'rfScanList'), ('WHISP-SM-MIB', 'rfScanListBandFilter'), ('WHISP-SM-MIB', 'powerUpMode'), ('WHISP-SM-MIB', 'lanIpSm'), ('WHISP-SM-MIB', 'lanMaskSm'), ('WHISP-SM-MIB', 'defaultGwSm'), ('WHISP-SM-MIB', 'networkAccess'), ('WHISP-SM-MIB', 'authKeySm'), ('WHISP-SM-MIB', 'enable8023link'), ('WHISP-SM-MIB', 'authKeyOption'), ('WHISP-SM-MIB', 'timingPulseGated'), ('WHISP-SM-MIB', 'naptPrivateIP'), ('WHISP-SM-MIB', 'naptPrivateSubnetMask'), ('WHISP-SM-MIB', 'naptPublicIP'), ('WHISP-SM-MIB', 'naptPublicSubnetMask'), ('WHISP-SM-MIB', 'naptPublicGatewayIP'), ('WHISP-SM-MIB', 'naptRFPublicIP'), ('WHISP-SM-MIB', 'naptRFPublicSubnetMask'), ('WHISP-SM-MIB', 'naptRFPublicGateway'), ('WHISP-SM-MIB', 'naptEnable'), ('WHISP-SM-MIB', 'arpCacheTimeout'), ('WHISP-SM-MIB', 'tcpGarbageCollectTmout'), ('WHISP-SM-MIB', 'udpGarbageCollectTmout'), ('WHISP-SM-MIB', 'dhcpClientEnable'), ('WHISP-SM-MIB', 'dhcpServerEnable'), ('WHISP-SM-MIB', 'dhcpServerLeaseTime'), ('WHISP-SM-MIB', 'dhcpIPStart'), ('WHISP-SM-MIB', 'dnsAutomatic'), ('WHISP-SM-MIB', 'prefferedDNSIP'), ('WHISP-SM-MIB', 'alternateDNSIP'), ('WHISP-SM-MIB', 'natDNSProxyEnable'), ('WHISP-SM-MIB', 'spectrumAnalysisDisplay'), ('WHISP-SM-MIB', 'dmzIP'), ('WHISP-SM-MIB', 'dmzEnable'), ('WHISP-SM-MIB', 'dhcpNumIPsToLease'), ('WHISP-SM-MIB', 'pppoeFilter'), ('WHISP-SM-MIB', 'smbFilter'), ('WHISP-SM-MIB', 'snmpFilter'), ('WHISP-SM-MIB', 'userP1Filter'), ('WHISP-SM-MIB', 'userP2Filter'), ('WHISP-SM-MIB', 'userP3Filter'), ('WHISP-SM-MIB', 'allOtherIpFilter'), ('WHISP-SM-MIB', 'allIpv4Filter'), ('WHISP-SM-MIB', 'upLinkBCastFilter'), ('WHISP-SM-MIB', 'arpFilter'), ('WHISP-SM-MIB', 'allOthersFilter'), ('WHISP-SM-MIB', 'userDefinedPort1'), ('WHISP-SM-MIB', 'port1TCPFilter'), ('WHISP-SM-MIB', 'port1UDPFilter'), ('WHISP-SM-MIB', 'userDefinedPort2'), ('WHISP-SM-MIB', 'port2TCPFilter'), ('WHISP-SM-MIB', 'port2UDPFilter'), ('WHISP-SM-MIB', 'userDefinedPort3'), ('WHISP-SM-MIB', 'port3TCPFilter'), ('WHISP-SM-MIB', 'port3UDPFilter'), ('WHISP-SM-MIB', 'bootpcFilter'), ('WHISP-SM-MIB', 'bootpsFilter'), ('WHISP-SM-MIB', 'ip4MultFilter'), ('WHISP-SM-MIB', 'ingressVID'), ('WHISP-SM-MIB', 'lowPriorityUplinkCIR'), ('WHISP-SM-MIB', 'lowPriorityDownlinkCIR'), ('WHISP-SM-MIB', 'hiPriorityChannel'), ('WHISP-SM-MIB', 'hiPriorityUplinkCIR'), ('WHISP-SM-MIB', 'hiPriorityDownlinkCIR'), ('WHISP-SM-MIB', 'smRateAdapt'), ('WHISP-SM-MIB', 'upLnkMaxBurstDataRate'), ('WHISP-SM-MIB', 'upLnkDataRate'), ('WHISP-SM-MIB', 'upLnkLimit'), ('WHISP-SM-MIB', 'dwnLnkMaxBurstDataRate'), ('WHISP-SM-MIB', 'cyclicPrefixScan'), ('WHISP-SM-MIB', 'bandwidthScan'), ('WHISP-SM-MIB', 'apSelection'), ('WHISP-SM-MIB', 'radioBandscanConfig'), ('WHISP-SM-MIB', 'forcepoweradjust'), ('WHISP-SM-MIB', 'clearBerrResults'), ('WHISP-SM-MIB', 'berrautoupdateflag'), ('WHISP-SM-MIB', 'testSMBER'), ('WHISP-SM-MIB', 'dwnLnkDataRate'), ('WHISP-SM-MIB', 'dwnLnkLimit'), ('WHISP-SM-MIB', 'dfsConfig'), ('WHISP-SM-MIB', 'ethAccessFilterEnable'), ('WHISP-SM-MIB', 'ipAccessFilterEnable'), ('WHISP-SM-MIB', 'allowedIPAccess1'), ('WHISP-SM-MIB', 'allowedIPAccess2'), ('WHISP-SM-MIB', 'allowedIPAccess3'), ('WHISP-SM-MIB', 'allowedIPAccessNMLength1'), ('WHISP-SM-MIB', 'allowedIPAccessNMLength2'), ('WHISP-SM-MIB', 'allowedIPAccessNMLength3'), ('WHISP-SM-MIB', 'rfDhcpState'), ('WHISP-SM-MIB', 'bCastMIR'), ('WHISP-SM-MIB', 'bhsReReg'), ('WHISP-SM-MIB', 'smLEDModeFlag'), ('WHISP-SM-MIB', 'ethAccessEnable'), ('WHISP-SM-MIB', 'pppoeEnable'), ('WHISP-SM-MIB', 'pppoeAuthenticationType'), ('WHISP-SM-MIB', 'pppoeAccessConcentrator'), ('WHISP-SM-MIB', 'pppoeServiceName'), ('WHISP-SM-MIB', 'pppoeUserName'), ('WHISP-SM-MIB', 'pppoePassword'), ('WHISP-SM-MIB', 'pppoeTCPMSSClampEnable'), ('WHISP-SM-MIB', 'pppoeMTUOverrideEnable'), ('WHISP-SM-MIB', 'pppoeMTUOverrideValue'), ('WHISP-SM-MIB', 'pppoeTimerType'), ('WHISP-SM-MIB', 'pppoeTimeoutPeriod'), ('WHISP-SM-MIB', 'timedSpectrumAnalysisDuration'), ('WHISP-SM-MIB', 'spectrumAnalysisScanBandwidth'), ('WHISP-SM-MIB', 'spectrumAnalysisOnBoot'), ('WHISP-SM-MIB', 'spectrumAnalysisAction'), ('WHISP-SM-MIB', 'pppoeConnectOD'), ('WHISP-SM-MIB', 'pppoeDisconnectOD'), ('WHISP-SM-MIB', 'smAntennaType'), ('WHISP-SM-MIB', 'natConnectionType'), ('WHISP-SM-MIB', 'wanPingReplyEnable'), ('WHISP-SM-MIB', 'packetFilterDirection'), ('WHISP-SM-MIB', 'colorCode2'), ('WHISP-SM-MIB', 'colorCodepriority2'), ('WHISP-SM-MIB', 'colorCode3'), ('WHISP-SM-MIB', 'colorCodepriority3'), ('WHISP-SM-MIB', 'colorCode4'), ('WHISP-SM-MIB', 'colorCodepriority4'), ('WHISP-SM-MIB', 'colorCode5'), ('WHISP-SM-MIB', 'colorCodepriority5'), ('WHISP-SM-MIB', 'colorCode6'), ('WHISP-SM-MIB', 'colorCodepriority6'), ('WHISP-SM-MIB', 'colorCode7'), ('WHISP-SM-MIB', 'colorCodepriority7'), ('WHISP-SM-MIB', 'colorCode8'), ('WHISP-SM-MIB', 'colorCodepriority8'), ('WHISP-SM-MIB', 'colorCode9'), ('WHISP-SM-MIB', 'colorCodepriority9'), ('WHISP-SM-MIB', 'colorCode10'), ('WHISP-SM-MIB', 'colorCodepriority10'), ('WHISP-SM-MIB', 'berDeModSelect'), ('WHISP-SM-MIB', 'multicastVCRcvRate'), ('WHISP-SM-MIB', 'syslogServerApPreferred'), ('WHISP-SM-MIB', 'syslogMinLevelApPreferred'), ('WHISP-SM-MIB', 'syslogSMXmitSetting'), ('WHISP-SM-MIB', 'syslogSMXmitControl'), ('WHISP-SM-MIB', 'naptRemoteManage'), ('WHISP-SM-MIB', 'eapPeerAAAServerCommonName'), ('WHISP-SM-MIB', 'pmp430ApRegistrationOptions'), ('WHISP-SM-MIB', 'switchRadioModeAndReboot')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): whisp_sm_config_group = whispSmConfigGroup.setStatus('current') if mibBuilder.loadTexts: whispSmConfigGroup.setDescription('Canopy Subscriber Module configuration group.') whisp_sm_status_group = object_group((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 3, 2)).setObjects(('WHISP-SM-MIB', 'sessionStatus'), ('WHISP-SM-MIB', 'rssi'), ('WHISP-SM-MIB', 'jitter'), ('WHISP-SM-MIB', 'airDelay'), ('WHISP-SM-MIB', 'radioSlicingSm'), ('WHISP-SM-MIB', 'radioTxGainSm'), ('WHISP-SM-MIB', 'calibrationStatus'), ('WHISP-SM-MIB', 'radioDbm'), ('WHISP-SM-MIB', 'registeredToAp'), ('WHISP-SM-MIB', 'dhcpCip'), ('WHISP-SM-MIB', 'dhcpSip'), ('WHISP-SM-MIB', 'dhcpClientLease'), ('WHISP-SM-MIB', 'dhcpCSMask'), ('WHISP-SM-MIB', 'dhcpDfltRterIP'), ('WHISP-SM-MIB', 'dhcpcdns1'), ('WHISP-SM-MIB', 'dhcpcdns2'), ('WHISP-SM-MIB', 'dhcpcdns3'), ('WHISP-SM-MIB', 'dhcpDomName'), ('WHISP-SM-MIB', 'adaptRate'), ('WHISP-SM-MIB', 'adaptRateLowPri'), ('WHISP-SM-MIB', 'adaptRateHighPri'), ('WHISP-SM-MIB', 'bitErrorsQSPKpathA'), ('WHISP-SM-MIB', 'bitErrorsQSPKpathB'), ('WHISP-SM-MIB', 'bitErrors16QAMpathA'), ('WHISP-SM-MIB', 'bitErrors16QAMpathB'), ('WHISP-SM-MIB', 'bitErrors64QAMpathA'), ('WHISP-SM-MIB', 'bitErrors64QAMpathB'), ('WHISP-SM-MIB', 'bitErrors256QAMpathA'), ('WHISP-SM-MIB', 'bitErrors256QAMpathB'), ('WHISP-SM-MIB', 'bitsReceivedPerPathModulation'), ('WHISP-SM-MIB', 'radioDbmInt'), ('WHISP-SM-MIB', 'dfsStatus'), ('WHISP-SM-MIB', 'radioTxPwr'), ('WHISP-SM-MIB', 'activeRegion'), ('WHISP-SM-MIB', 'snmpBerLevel'), ('WHISP-SM-MIB', 'nbBitsRcvd'), ('WHISP-SM-MIB', 'nbPriBitsErr'), ('WHISP-SM-MIB', 'nbSndBitsErr'), ('WHISP-SM-MIB', 'primaryBER'), ('WHISP-SM-MIB', 'secondaryBER'), ('WHISP-SM-MIB', 'totalBER'), ('WHISP-SM-MIB', 'minRSSI'), ('WHISP-SM-MIB', 'maxRSSI'), ('WHISP-SM-MIB', 'minJitter'), ('WHISP-SM-MIB', 'maxJitter'), ('WHISP-SM-MIB', 'smSessionTimer'), ('WHISP-SM-MIB', 'pppoeSessionStatus'), ('WHISP-SM-MIB', 'pppoeSessionID'), ('WHISP-SM-MIB', 'pppoeIPCPAddress'), ('WHISP-SM-MIB', 'pppoeMTUOverrideEn'), ('WHISP-SM-MIB', 'pppoeMTUValue'), ('WHISP-SM-MIB', 'pppoeTimerTypeValue'), ('WHISP-SM-MIB', 'pppoeTimeoutValue'), ('WHISP-SM-MIB', 'pppoeDNSServer1'), ('WHISP-SM-MIB', 'pppoeDNSServer2'), ('WHISP-SM-MIB', 'pppoeControlBytesSent'), ('WHISP-SM-MIB', 'pppoeControlBytesReceived'), ('WHISP-SM-MIB', 'pppoeDataBytesSent'), ('WHISP-SM-MIB', 'pppoeDataBytesReceived'), ('WHISP-SM-MIB', 'pppoeEnabledStatus'), ('WHISP-SM-MIB', 'pppoeTCPMSSClampEnableStatus'), ('WHISP-SM-MIB', 'pppoeACNameStatus'), ('WHISP-SM-MIB', 'pppoeSvcNameStatus'), ('WHISP-SM-MIB', 'pppoeSessUptime'), ('WHISP-SM-MIB', 'primaryBERDisplay'), ('WHISP-SM-MIB', 'secondaryBERDisplay'), ('WHISP-SM-MIB', 'totalBERDisplay'), ('WHISP-SM-MIB', 'mimoQpskBerDisplay'), ('WHISP-SM-MIB', 'mimo16QamBerDisplay'), ('WHISP-SM-MIB', 'mimo64QamBerDisplay'), ('WHISP-SM-MIB', 'mimo256QamBerDisplay'), ('WHISP-SM-MIB', 'mimoBerRcvModulationType'), ('WHISP-SM-MIB', 'minRadioDbm'), ('WHISP-SM-MIB', 'maxRadioDbm'), ('WHISP-SM-MIB', 'maxRadioDbmDeprecated'), ('WHISP-SM-MIB', 'pppoeSessIdleTime'), ('WHISP-SM-MIB', 'radioDbmAvg'), ('WHISP-SM-MIB', 'zoltarFPGAFreqOffset'), ('WHISP-SM-MIB', 'zoltarSWFreqOffset'), ('WHISP-SM-MIB', 'airDelayns'), ('WHISP-SM-MIB', 'currentColorCode'), ('WHISP-SM-MIB', 'currentColorCodePri'), ('WHISP-SM-MIB', 'currentChanFreq'), ('WHISP-SM-MIB', 'linkQualityBeacon'), ('WHISP-SM-MIB', 'currentCyclicPrefix'), ('WHISP-SM-MIB', 'currentBandwidth'), ('WHISP-SM-MIB', 'berPwrRxFPGAPathA'), ('WHISP-SM-MIB', 'berPwrRxFPGAPathB'), ('WHISP-SM-MIB', 'rawBERPwrRxPathA'), ('WHISP-SM-MIB', 'rawBERPwrRxPathB'), ('WHISP-SM-MIB', 'linkQualityData1XVertical'), ('WHISP-SM-MIB', 'linkQualityData2XVertical'), ('WHISP-SM-MIB', 'linkQualityData3XVertical'), ('WHISP-SM-MIB', 'linkQualityData4XVertical'), ('WHISP-SM-MIB', 'linkQualityData1XHorizontal'), ('WHISP-SM-MIB', 'linkQualityData2XHorizontal'), ('WHISP-SM-MIB', 'linkQualityData3XHorizontal'), ('WHISP-SM-MIB', 'linkQualityData4XHorizontal'), ('WHISP-SM-MIB', 'signalToNoiseRatioSMVertical'), ('WHISP-SM-MIB', 'signalToNoiseRatioSMHorizontal'), ('WHISP-SM-MIB', 'signalStrengthRatio'), ('WHISP-SM-MIB', 'radioDbmHorizontal'), ('WHISP-SM-MIB', 'radioDbmVertical'), ('WHISP-SM-MIB', 'rfStatTxSuppressionCount'), ('WHISP-SM-MIB', 'receiveFragmentsModulationPercentage'), ('WHISP-SM-MIB', 'fragmentsReceived1XVertical'), ('WHISP-SM-MIB', 'fragmentsReceived2XVertical'), ('WHISP-SM-MIB', 'fragmentsReceived3XVertical'), ('WHISP-SM-MIB', 'fragmentsReceived4XVertical'), ('WHISP-SM-MIB', 'fragmentsReceived1XHorizontal'), ('WHISP-SM-MIB', 'fragmentsReceived2XHorizontal'), ('WHISP-SM-MIB', 'fragmentsReceived3XHorizontal'), ('WHISP-SM-MIB', 'fragmentsReceived4XHorizontal'), ('WHISP-SM-MIB', 'bridgecbUplinkCreditRate'), ('WHISP-SM-MIB', 'bridgecbUplinkCreditLimit'), ('WHISP-SM-MIB', 'bridgecbDownlinkCreditRate'), ('WHISP-SM-MIB', 'bridgecbDownlinkCreditLimit'), ('WHISP-SM-MIB', 'bridgecbDownlinkMaxBurstBitRate'), ('WHISP-SM-MIB', 'bridgecbUplinkMaxBurstBitRate'), ('WHISP-SM-MIB', 'radioModeStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): whisp_sm_status_group = whispSmStatusGroup.setStatus('current') if mibBuilder.loadTexts: whispSmStatusGroup.setDescription('Canopy Subscriber Module status group.') whisp_sm_notif_group = notification_group((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 3, 3)).setObjects(('WHISP-SM-MIB', 'enterSpectrumAnalysis'), ('WHISP-SM-MIB', 'availableSpectrumAnalysis'), ('WHISP-SM-MIB', 'whispRadarDetected'), ('WHISP-SM-MIB', 'whispRadarEnd'), ('WHISP-SM-MIB', 'smNatWanDHCPClientEvent'), ('WHISP-SM-MIB', 'smNatRFPubDHCPClientEvent')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): whisp_sm_notif_group = whispSmNotifGroup.setStatus('current') if mibBuilder.loadTexts: whispSmNotifGroup.setDescription('WHiSP SMs notification group.') whisp_mapping_table_group = object_group((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 3, 4)).setObjects(('WHISP-SM-MIB', 'tableIndex'), ('WHISP-SM-MIB', 'protocol'), ('WHISP-SM-MIB', 'port'), ('WHISP-SM-MIB', 'localIp')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): whisp_mapping_table_group = whispMappingTableGroup.setStatus('current') if mibBuilder.loadTexts: whispMappingTableGroup.setDescription('Canopy SM NAT port mapping Table group.') whisp_radar_detected = notification_type((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 1, 1)).setObjects(('WHISP-SM-MIB', 'dfsStatus'), ('WHISP-BOX-MIBV2-MIB', 'whispBoxEsn')) if mibBuilder.loadTexts: whispRadarDetected.setStatus('current') if mibBuilder.loadTexts: whispRadarDetected.setDescription('Radar detected transmit stopped.') whisp_radar_end = notification_type((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 1, 2)).setObjects(('WHISP-SM-MIB', 'dfsStatus'), ('WHISP-BOX-MIBV2-MIB', 'whispBoxEsn')) if mibBuilder.loadTexts: whispRadarEnd.setStatus('current') if mibBuilder.loadTexts: whispRadarEnd.setDescription('Radar ended back to normal transmit.') enter_spectrum_analysis = notification_type((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 2, 1)).setObjects(('WHISP-BOX-MIBV2-MIB', 'whispBoxEsn')) if mibBuilder.loadTexts: enterSpectrumAnalysis.setStatus('current') if mibBuilder.loadTexts: enterSpectrumAnalysis.setDescription('Entering spectrum analysis. physAddress - MAC address of the SM') available_spectrum_analysis = notification_type((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 2, 2)).setObjects(('WHISP-BOX-MIBV2-MIB', 'whispBoxEsn')) if mibBuilder.loadTexts: availableSpectrumAnalysis.setStatus('current') if mibBuilder.loadTexts: availableSpectrumAnalysis.setDescription('Spectrum analysis is complete, SM is re-registered with AP and results are available. physAddress - MAC address of the SM') sm_nat_wan_dhcp_client_event = notification_type((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 3, 1)).setObjects(('WHISP-SM-MIB', 'dhcpCip'), ('WHISP-BOX-MIBV2-MIB', 'whispBoxEsn')) if mibBuilder.loadTexts: smNatWanDHCPClientEvent.setStatus('current') if mibBuilder.loadTexts: smNatWanDHCPClientEvent.setDescription('NAT WAN DHCP Client has received a new address via DHCP.') sm_nat_rf_pub_dhcp_client_event = notification_type((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 4, 3, 2)).setObjects(('WHISP-BOX-MIBV2-MIB', 'dhcpRfPublicIp'), ('WHISP-BOX-MIBV2-MIB', 'whispBoxEsn')) if mibBuilder.loadTexts: smNatRFPubDHCPClientEvent.setStatus('current') if mibBuilder.loadTexts: smNatRFPubDHCPClientEvent.setDescription('NAT RF Public DHCP Client has received a new address via DHCP.') clear_link_stats = mib_scalar((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 8, 1), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: clearLinkStats.setStatus('current') if mibBuilder.loadTexts: clearLinkStats.setDescription('Setting this to a nonzero value will clear the link stats.') whisp_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5)) if mibBuilder.loadTexts: whispMappingTable.setStatus('current') if mibBuilder.loadTexts: whispMappingTable.setDescription('NAT port mapping information table.') whisp_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5, 1)).setIndexNames((0, 'WHISP-SM-MIB', 'tableIndex')) if mibBuilder.loadTexts: whispMappingEntry.setStatus('current') if mibBuilder.loadTexts: whispMappingEntry.setDescription('Mapping table entry.') table_index = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: tableIndex.setStatus('current') if mibBuilder.loadTexts: tableIndex.setDescription('User information table index.') protocol = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5, 1, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: protocol.setStatus('current') if mibBuilder.loadTexts: protocol.setDescription('Protocol type: 0:both UDP and TCP, 1:UDP, 2:TCP.') port = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: port.setStatus('current') if mibBuilder.loadTexts: port.setDescription('Application port number. e.g. 23=telnet, 21=ftp etc. Should be a positive integer.') local_ip = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 5, 1, 4), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: localIp.setStatus('current') if mibBuilder.loadTexts: localIp.setDescription('IP of local host to which the incoming packet mapped to an application should be forwarded.') whisp_sm_translation_table = mib_table((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6)) if mibBuilder.loadTexts: whispSmTranslationTable.setStatus('current') if mibBuilder.loadTexts: whispSmTranslationTable.setDescription('Translation Table.') whisp_sm_translation_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6, 1)).setIndexNames((0, 'WHISP-SM-MIB', 'whispTranslationTableIndex')) if mibBuilder.loadTexts: whispSmTranslationTableEntry.setStatus('current') if mibBuilder.loadTexts: whispSmTranslationTableEntry.setDescription('Translation Table Entry.') whisp_translation_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 127))).setMaxAccess('readonly') if mibBuilder.loadTexts: whispTranslationTableIndex.setStatus('current') if mibBuilder.loadTexts: whispTranslationTableIndex.setDescription('Index into translation table.') whisp_translation_table_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: whispTranslationTableMacAddr.setStatus('current') if mibBuilder.loadTexts: whispTranslationTableMacAddr.setDescription('MAC Address of the registered enity.') whisp_translation_table_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6, 1, 3), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: whispTranslationTableIpAddr.setStatus('current') if mibBuilder.loadTexts: whispTranslationTableIpAddr.setDescription('Ip Address of the registered entity.') whisp_translation_table_age = mib_table_column((1, 3, 6, 1, 4, 1, 161, 19, 3, 2, 6, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: whispTranslationTableAge.setStatus('current') if mibBuilder.loadTexts: whispTranslationTableAge.setDescription('Age of the registered entity.') mibBuilder.exportSymbols('WHISP-SM-MIB', packetFilterDirection=packetFilterDirection, dhcpServerPktRcv=dhcpServerPktRcv, rssi=rssi, bridgecbDownlinkMaxBurstBitRate=bridgecbDownlinkMaxBurstBitRate, pppoeMTUOverrideValue=pppoeMTUOverrideValue, maxRSSI=maxRSSI, ethAccessEnable=ethAccessEnable, naptPrivateIP=naptPrivateIP, port1TCPFilter=port1TCPFilter, linkQualityData3XHorizontal=linkQualityData3XHorizontal, colorCode5=colorCode5, dhcpServerEntry=dhcpServerEntry, pppoeIPCPAddress=pppoeIPCPAddress, syslogSMXmitSetting=syslogSMXmitSetting, minJitter=minJitter, phase1=phase1, pppoeTimeoutPeriod=pppoeTimeoutPeriod, lanMaskSm=lanMaskSm, dhcpServerPktToss=dhcpServerPktToss, bitErrors16QAMpathA=bitErrors16QAMpathA, ip4MultFilter=ip4MultFilter, upLnkLimit=upLnkLimit, upLinkBCastFilter=upLinkBCastFilter, snmpFilter=snmpFilter, allowedIPAccessNMLength1=allowedIPAccessNMLength1, jitter=jitter, airDelay=airDelay, colorCodepriority4=colorCodepriority4, arpFilter=arpFilter, fragmentsReceived3XHorizontal=fragmentsReceived3XHorizontal, currentColorCodePri=currentColorCodePri, whispMappingTableGroup=whispMappingTableGroup, smLEDModeFlag=smLEDModeFlag, clearLinkStats=clearLinkStats, multicastVCRcvRate=multicastVCRcvRate, receiveFragmentsModulationPercentage=receiveFragmentsModulationPercentage, signalToNoiseRatioSMVertical=signalToNoiseRatioSMVertical, allIpv4Filter=allIpv4Filter, dhcpSip=dhcpSip, ipAccessFilterEnable=ipAccessFilterEnable, whispTranslationTableIndex=whispTranslationTableIndex, nbBitsRcvd=nbBitsRcvd, linkQualityData1XVertical=linkQualityData1XVertical, radioDbmHorizontal=radioDbmHorizontal, hiPriorityChannel=hiPriorityChannel, pppoeControlBytesSent=pppoeControlBytesSent, fragmentsReceived2XHorizontal=fragmentsReceived2XHorizontal, bridgecbDownlinkCreditLimit=bridgecbDownlinkCreditLimit, wanPingReplyEnable=wanPingReplyEnable, colorCode10=colorCode10, hostIp=hostIp, rfDhcpState=rfDhcpState, radioTxPwr=radioTxPwr, totalBERDisplay=totalBERDisplay, zoltarSWFreqOffset=zoltarSWFreqOffset, prefferedDNSIP=prefferedDNSIP, bitErrors16QAMpathB=bitErrors16QAMpathB, colorCodepriority7=colorCodepriority7, whispRadarDetected=whispRadarDetected, port2TCPFilter=port2TCPFilter, dhcpDomName=dhcpDomName, udpGarbageCollectTmout=udpGarbageCollectTmout, whispMappingEntry=whispMappingEntry, spectrumAnalysisDisplay=spectrumAnalysisDisplay, rfScanListBandFilter=rfScanListBandFilter, whispMappingTable=whispMappingTable, pppoeTCPMSSClampEnableStatus=pppoeTCPMSSClampEnableStatus, action=action, whispSmTranslationTable=whispSmTranslationTable, spectrumAnalysisOnBoot=spectrumAnalysisOnBoot, powerUpMode=powerUpMode, linkQualityData1XHorizontal=linkQualityData1XHorizontal, colorCodepriority8=colorCodepriority8, enable8023link=enable8023link, colorCode3=colorCode3, lowPriorityDownlinkCIR=lowPriorityDownlinkCIR, pppoeDataBytesSent=pppoeDataBytesSent, protocol=protocol, PYSNMP_MODULE_ID=whispSmMibModule, mimo256QamBerDisplay=mimo256QamBerDisplay, ethAccessFilterEnable=ethAccessFilterEnable, activeRegion=activeRegion, radioDbmAvg=radioDbmAvg, secondaryBERDisplay=secondaryBERDisplay, natConnectionType=natConnectionType, pppoeMTUOverrideEnable=pppoeMTUOverrideEnable, dwnLnkLimit=dwnLnkLimit, bitErrorsQSPKpathA=bitErrorsQSPKpathA, naptPublicSubnetMask=naptPublicSubnetMask, whispSmSecurity=whispSmSecurity, colorCodepriority3=colorCodepriority3, port=port, colorCodepriority6=colorCodepriority6, rfStatTxSuppressionCount=rfStatTxSuppressionCount, primaryBER=primaryBER, certTable=certTable, whispSmDfsEvent=whispSmDfsEvent, userDefinedPort1=userDefinedPort1, pppoeDisconnectOD=pppoeDisconnectOD, pppoeTimerType=pppoeTimerType, bridgecbUplinkCreditLimit=bridgecbUplinkCreditLimit, userP2Filter=userP2Filter, pppoeEnabledStatus=pppoeEnabledStatus, bCastMIR=bCastMIR, pppoeTimerTypeValue=pppoeTimerTypeValue, port3UDPFilter=port3UDPFilter, allowedIPAccessNMLength3=allowedIPAccessNMLength3, naptPublicGatewayIP=naptPublicGatewayIP, naptEnable=naptEnable, dhcpIPStart=dhcpIPStart, allowedIPAccess2=allowedIPAccess2, adaptRateHighPri=adaptRateHighPri, userDefinedPort3=userDefinedPort3, pppoeACNameStatus=pppoeACNameStatus, calibrationStatus=calibrationStatus, radioDbm=radioDbm, pppoeDNSServer2=pppoeDNSServer2, rfScanList=rfScanList, allOthersFilter=allOthersFilter, dhcpServerLeaseTime=dhcpServerLeaseTime, pppoeSessUptime=pppoeSessUptime, fragmentsReceived1XVertical=fragmentsReceived1XVertical, bridgecbUplinkMaxBurstBitRate=bridgecbUplinkMaxBurstBitRate, colorCodepriority2=colorCodepriority2, authKeyOption=authKeyOption, timedSpectrumAnalysisDuration=timedSpectrumAnalysisDuration, pppoeDNSServer1=pppoeDNSServer1, whispSmConfig=whispSmConfig, currentColorCode=currentColorCode, bitErrors64QAMpathA=bitErrors64QAMpathA, sessionStatus=sessionStatus, whispSmStatus=whispSmStatus, whispSmMibModule=whispSmMibModule, authUsername=authUsername, colorCode7=colorCode7, linkQualityData4XVertical=linkQualityData4XVertical, dhcpcdns1=dhcpcdns1, currentChanFreq=currentChanFreq, cert=cert, enterSpectrumAnalysis=enterSpectrumAnalysis, phase2=phase2, nbPriBitsErr=nbPriBitsErr, bootpcFilter=bootpcFilter, linkQualityData2XVertical=linkQualityData2XVertical, fragmentsReceived4XVertical=fragmentsReceived4XVertical, smRateAdapt=smRateAdapt, userP1Filter=userP1Filter, allowedIPAccess1=allowedIPAccess1, rawBERPwrRxPathB=rawBERPwrRxPathB, pppoeAuthenticationType=pppoeAuthenticationType, airDelayns=airDelayns, allOtherIpFilter=allOtherIpFilter, bitErrors256QAMpathA=bitErrors256QAMpathA, pppoeControlBytesReceived=pppoeControlBytesReceived, linkQualityData2XHorizontal=linkQualityData2XHorizontal, nbSndBitsErr=nbSndBitsErr, pppoeMTUOverrideEn=pppoeMTUOverrideEn, pmp430ApRegistrationOptions=pmp430ApRegistrationOptions, alternateDNSIP=alternateDNSIP, port2UDPFilter=port2UDPFilter, upLnkDataRate=upLnkDataRate, smAntennaType=smAntennaType, timingPulseGated=timingPulseGated, userDefinedPort2=userDefinedPort2, colorCode4=colorCode4, naptRFPublicSubnetMask=naptRFPublicSubnetMask, smbFilter=smbFilter, colorCode6=colorCode6, clearBerrResults=clearBerrResults, pppoeEnable=pppoeEnable, natDNSProxyEnable=natDNSProxyEnable, berrautoupdateflag=berrautoupdateflag, useRealm=useRealm, hostLease=hostLease, linkQualityData4XHorizontal=linkQualityData4XHorizontal, bitErrorsQSPKpathB=bitErrorsQSPKpathB, bitsReceivedPerPathModulation=bitsReceivedPerPathModulation, dhcpcdns2=dhcpcdns2, bandwidthScan=bandwidthScan, allowedIPAccess3=allowedIPAccess3, port1UDPFilter=port1UDPFilter, pppoeTCPMSSClampEnable=pppoeTCPMSSClampEnable, berPwrRxFPGAPathA=berPwrRxFPGAPathA, whispSmEvent=whispSmEvent, arpCacheTimeout=arpCacheTimeout, switchRadioModeAndReboot=switchRadioModeAndReboot, whispSmDHCPClientEvent=whispSmDHCPClientEvent, networkAccess=networkAccess, userP3Filter=userP3Filter, dmzEnable=dmzEnable, pppoeTimeoutValue=pppoeTimeoutValue, pppoeMTUValue=pppoeMTUValue, dfsConfig=dfsConfig, smNatWanDHCPClientEvent=smNatWanDHCPClientEvent, radioTxGainSm=radioTxGainSm, snmpBerLevel=snmpBerLevel, fragmentsReceived2XVertical=fragmentsReceived2XVertical, linkQualityBeacon=linkQualityBeacon, dhcpCSMask=dhcpCSMask, spectrumAnalysisScanBandwidth=spectrumAnalysisScanBandwidth, radioModeStatus=radioModeStatus, defaultGwSm=defaultGwSm, berDeModSelect=berDeModSelect, availableSpectrumAnalysis=availableSpectrumAnalysis, whispSmNotifGroup=whispSmNotifGroup, pppoeServiceName=pppoeServiceName, maxRadioDbmDeprecated=maxRadioDbmDeprecated, apSelection=apSelection, radioDbmVertical=radioDbmVertical, totalBER=totalBER, dhcpServerTable=dhcpServerTable, dhcpClientLease=dhcpClientLease, whispSmControls=whispSmControls, bhsReReg=bhsReReg, colorCode2=colorCode2, whispSmConfigGroup=whispSmConfigGroup, dhcpDfltRterIP=dhcpDfltRterIP, pppoeSessIdleTime=pppoeSessIdleTime, radioSlicingSm=radioSlicingSm, syslogSMXmitControl=syslogSMXmitControl, secondaryBER=secondaryBER, maxRadioDbm=maxRadioDbm, smSessionTimer=smSessionTimer, cyclicPrefixScan=cyclicPrefixScan, adaptRate=adaptRate, whispRadarEnd=whispRadarEnd, pppoeSvcNameStatus=pppoeSvcNameStatus, pppoeSessionStatus=pppoeSessionStatus, dnsAutomatic=dnsAutomatic, allowedIPAccessNMLength2=allowedIPAccessNMLength2, lowPriorityUplinkCIR=lowPriorityUplinkCIR, hostMacAddress=hostMacAddress, currentBandwidth=currentBandwidth, numAuthCerts=numAuthCerts, berPwrRxFPGAPathB=berPwrRxFPGAPathB, hiPriorityUplinkCIR=hiPriorityUplinkCIR, colorCodepriority5=colorCodepriority5, dmzIP=dmzIP, pppoeConnectOD=pppoeConnectOD, lanIpSm=lanIpSm, rawBERPwrRxPathA=rawBERPwrRxPathA, colorCode9=colorCode9, naptPrivateSubnetMask=naptPrivateSubnetMask, certEntry=certEntry, naptPublicIP=naptPublicIP, realm=realm, dhcpcdns3=dhcpcdns3, localIp=localIp, fragmentsReceived3XVertical=fragmentsReceived3XVertical, signalStrengthRatio=signalStrengthRatio, eapPeerAAAServerCommonName=eapPeerAAAServerCommonName, pppoeDataBytesReceived=pppoeDataBytesReceived, whispSmStatusGroup=whispSmStatusGroup, mimo64QamBerDisplay=mimo64QamBerDisplay) mibBuilder.exportSymbols('WHISP-SM-MIB', upLnkMaxBurstDataRate=upLnkMaxBurstDataRate, minRSSI=minRSSI, radioBandscanConfig=radioBandscanConfig, spectrumAnalysisAction=spectrumAnalysisAction, fragmentsReceived1XHorizontal=fragmentsReceived1XHorizontal, pppoeUserName=pppoeUserName, pppoePassword=pppoePassword, currentCyclicPrefix=currentCyclicPrefix, dhcpClientEnable=dhcpClientEnable, mimo16QamBerDisplay=mimo16QamBerDisplay, maxJitter=maxJitter, dwnLnkMaxBurstDataRate=dwnLnkMaxBurstDataRate, testSMBER=testSMBER, tcpGarbageCollectTmout=tcpGarbageCollectTmout, syslogServerApPreferred=syslogServerApPreferred, colorCodepriority10=colorCodepriority10, whispTranslationTableMacAddr=whispTranslationTableMacAddr, authOuterId=authOuterId, hiPriorityDownlinkCIR=hiPriorityDownlinkCIR, minRadioDbm=minRadioDbm, naptRFPublicIP=naptRFPublicIP, adaptRateLowPri=adaptRateLowPri, dwnLnkDataRate=dwnLnkDataRate, bridgecbUplinkCreditRate=bridgecbUplinkCreditRate, zoltarFPGAFreqOffset=zoltarFPGAFreqOffset, dhcpCip=dhcpCip, pppoeFilter=pppoeFilter, smNatRFPubDHCPClientEvent=smNatRFPubDHCPClientEvent, mimoQpskBerDisplay=mimoQpskBerDisplay, bootpsFilter=bootpsFilter, colorCodepriority9=colorCodepriority9, bitErrors256QAMpathB=bitErrors256QAMpathB, dhcpNumIPsToLease=dhcpNumIPsToLease, pppoeAccessConcentrator=pppoeAccessConcentrator, dfsStatus=dfsStatus, certificateDN=certificateDN, whispSmTranslationTableEntry=whispSmTranslationTableEntry, naptRemoteManage=naptRemoteManage, authenticationEnforce=authenticationEnforce, mimoBerRcvModulationType=mimoBerRcvModulationType, whispTranslationTableAge=whispTranslationTableAge, fragmentsReceived4XHorizontal=fragmentsReceived4XHorizontal, bridgecbDownlinkCreditRate=bridgecbDownlinkCreditRate, dhcpServerPktXmt=dhcpServerPktXmt, colorCode8=colorCode8, radioDbmInt=radioDbmInt, tableIndex=tableIndex, ingressVID=ingressVID, syslogMinLevelApPreferred=syslogMinLevelApPreferred, primaryBERDisplay=primaryBERDisplay, whispTranslationTableIpAddr=whispTranslationTableIpAddr, linkQualityData3XVertical=linkQualityData3XVertical, certIndex=certIndex, authKeySm=authKeySm, dhcpServerEnable=dhcpServerEnable, bitErrors64QAMpathB=bitErrors64QAMpathB, whispSmSpAnEvent=whispSmSpAnEvent, port3TCPFilter=port3TCPFilter, signalToNoiseRatioSMHorizontal=signalToNoiseRatioSMHorizontal, naptRFPublicGateway=naptRFPublicGateway, pppoeSessionID=pppoeSessionID, forcepoweradjust=forcepoweradjust, registeredToAp=registeredToAp, whispSmGroups=whispSmGroups, authPassword=authPassword)
# # PySNMP MIB module NETSCREEN-SERVICE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NETSCREEN-SERVICE-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:20:18 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint") netscreenService, = mibBuilder.importSymbols("NETSCREEN-SMI", "netscreenService") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Bits, ModuleIdentity, ObjectIdentity, MibIdentifier, Integer32, Counter32, IpAddress, NotificationType, Unsigned32, Counter64, Gauge32, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Bits", "ModuleIdentity", "ObjectIdentity", "MibIdentifier", "Integer32", "Counter32", "IpAddress", "NotificationType", "Unsigned32", "Counter64", "Gauge32", "TimeTicks") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") netscreenServiceMibModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 3224, 13, 0)) netscreenServiceMibModule.setRevisions(('2004-05-03 00:00', '2004-03-03 00:00', '2003-11-10 00:00', '2001-09-28 00:00', '2001-05-14 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: netscreenServiceMibModule.setRevisionsDescriptions(('Modified copyright and contact information', 'Converted to SMIv2 by Longview Software', 'Correct spelling mistake', 'No Comment', 'Creation Date',)) if mibBuilder.loadTexts: netscreenServiceMibModule.setLastUpdated('200405032022Z') if mibBuilder.loadTexts: netscreenServiceMibModule.setOrganization('Juniper Networks, Inc.') if mibBuilder.loadTexts: netscreenServiceMibModule.setContactInfo('Customer Support 1194 North Mathilda Avenue Sunnyvale, California 94089-1206 USA Tel: 1-800-638-8296 E-mail: [email protected] HTTP://www.juniper.net') if mibBuilder.loadTexts: netscreenServiceMibModule.setDescription('This module defines the object that are used to monitor service configuration in NetScreen device.') nsServiceTable = MibTable((1, 3, 6, 1, 4, 1, 3224, 13, 1), ) if mibBuilder.loadTexts: nsServiceTable.setStatus('current') if mibBuilder.loadTexts: nsServiceTable.setDescription('Services are types of IP traffic for which protocol standards exist. This table collects all the service configurations existing in NetScreen device.') nsServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1), ).setIndexNames((0, "NETSCREEN-SERVICE-MIB", "nsServiceIndex")) if mibBuilder.loadTexts: nsServiceEntry.setStatus('current') if mibBuilder.loadTexts: nsServiceEntry.setDescription('Each enry in the nsServiceTable holds a set of configuration parameters associated with an instance of service.') nsServiceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceIndex.setStatus('current') if mibBuilder.loadTexts: nsServiceIndex.setDescription('A unique value for each address. Its value ranges between 0 and 65535 and may not be contiguous.') nsServiceName = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceName.setStatus('current') if mibBuilder.loadTexts: nsServiceName.setDescription('Service name.') nsServiceCategory = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("remote", 1), ("email", 2), ("infoseek", 3), ("security", 4), ("other", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceCategory.setStatus('current') if mibBuilder.loadTexts: nsServiceCategory.setDescription('Category this service belongs to.') nsServiceTransProto = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 6, 17, 8, 9, 17, 46, 47, 89))).clone(namedValues=NamedValues(("other", 0), ("icmp", 1), ("tcp", 6), ("udp", 17), ("egp", 8), ("igp", 9), ("udp", 17), ("rsvp", 46), ("gre", 47), ("ospf", 89)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceTransProto.setStatus('current') if mibBuilder.loadTexts: nsServiceTransProto.setDescription('Service trans protocol. 6 means tcp 17 means udp') nsServiceSrcPortLow = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceSrcPortLow.setStatus('current') if mibBuilder.loadTexts: nsServiceSrcPortLow.setDescription('The low source port number associated with service.') nsServiceSrcPortHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceSrcPortHigh.setStatus('current') if mibBuilder.loadTexts: nsServiceSrcPortHigh.setDescription('The high source port number associated with service.') nsServiceDstPortLow = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceDstPortLow.setStatus('current') if mibBuilder.loadTexts: nsServiceDstPortLow.setDescription('The low destination port number associated with service.') nsServiceDstPortHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceDstPortHigh.setStatus('current') if mibBuilder.loadTexts: nsServiceDstPortHigh.setDescription('The high source port number associated with service.') nsServiceFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("pre-define", 0), ("usr-define", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceFlag.setStatus('current') if mibBuilder.loadTexts: nsServiceFlag.setDescription('Service flag used to indicate if the service is a pre-defined one or a custom one.') nsServiceVsys = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceVsys.setStatus('current') if mibBuilder.loadTexts: nsServiceVsys.setDescription('Virtual system this configuration belongs to.') nsServiceGroupTable = MibTable((1, 3, 6, 1, 4, 1, 3224, 13, 2), ) if mibBuilder.loadTexts: nsServiceGroupTable.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupTable.setDescription('Services can be organized into service group for convenience. This table collects all service group entries in NetScreen device.') nsServiceGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1), ).setIndexNames((0, "NETSCREEN-SERVICE-MIB", "nsServiceGroupIndex")) if mibBuilder.loadTexts: nsServiceGroupEntry.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupEntry.setDescription('Each entry in the nsServiceGroupTable holds a set of information about service group.') nsServiceGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceGroupIndex.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupIndex.setDescription('A unique value for each group. Its value ranges between 0 and 65535 and may not be contiguous.') nsServiceGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceGroupName.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupName.setDescription('Service group name.') nsServiceGroupMember = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceGroupMember.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupMember.setDescription('Service member number in service group.') nsServiceGroupComment = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceGroupComment.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupComment.setDescription('Comments for service group.') nsServiceGroupVsys = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceGroupVsys.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupVsys.setDescription('Virtual system this group belongs to.') nsServiceGrpMemberTable = MibTable((1, 3, 6, 1, 4, 1, 3224, 13, 3), ) if mibBuilder.loadTexts: nsServiceGrpMemberTable.setStatus('current') if mibBuilder.loadTexts: nsServiceGrpMemberTable.setDescription('Service group membership info table will show detail information of a service group.') nsServiceGrpMemberEntry = MibTableRow((1, 3, 6, 1, 4, 1, 3224, 13, 3, 1), ).setIndexNames((0, "NETSCREEN-SERVICE-MIB", "nsServiceGrpMemberIndex")) if mibBuilder.loadTexts: nsServiceGrpMemberEntry.setStatus('current') if mibBuilder.loadTexts: nsServiceGrpMemberEntry.setDescription("An entry containing attributes service group's member info") nsServiceGrpMemberIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceGrpMemberIndex.setStatus('current') if mibBuilder.loadTexts: nsServiceGrpMemberIndex.setDescription('A unique value for each group. Its value ranges between 0 and 65535 and may not be contiguous.') nsServiceGrpName = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 3, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceGrpName.setStatus('current') if mibBuilder.loadTexts: nsServiceGrpName.setDescription('Specific service group name') nsServiceGroupMemberName = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 3, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceGroupMemberName.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupMemberName.setDescription('Specific service name in the service group.') nsServiceGroupMemberVsys = MibTableColumn((1, 3, 6, 1, 4, 1, 3224, 13, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nsServiceGroupMemberVsys.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupMemberVsys.setDescription('Virtual system this configuration belongs to') mibBuilder.exportSymbols("NETSCREEN-SERVICE-MIB", nsServiceGroupMember=nsServiceGroupMember, nsServiceGroupName=nsServiceGroupName, nsServiceGroupComment=nsServiceGroupComment, nsServiceSrcPortLow=nsServiceSrcPortLow, nsServiceSrcPortHigh=nsServiceSrcPortHigh, nsServiceGroupVsys=nsServiceGroupVsys, nsServiceDstPortHigh=nsServiceDstPortHigh, nsServiceIndex=nsServiceIndex, nsServiceGroupMemberVsys=nsServiceGroupMemberVsys, nsServiceFlag=nsServiceFlag, nsServiceVsys=nsServiceVsys, nsServiceGrpMemberIndex=nsServiceGrpMemberIndex, nsServiceGrpMemberEntry=nsServiceGrpMemberEntry, nsServiceGrpMemberTable=nsServiceGrpMemberTable, nsServiceGroupEntry=nsServiceGroupEntry, nsServiceGroupTable=nsServiceGroupTable, nsServiceDstPortLow=nsServiceDstPortLow, nsServiceTable=nsServiceTable, nsServiceEntry=nsServiceEntry, nsServiceTransProto=nsServiceTransProto, PYSNMP_MODULE_ID=netscreenServiceMibModule, nsServiceCategory=nsServiceCategory, nsServiceGroupIndex=nsServiceGroupIndex, nsServiceGroupMemberName=nsServiceGroupMemberName, netscreenServiceMibModule=netscreenServiceMibModule, nsServiceGrpName=nsServiceGrpName, nsServiceName=nsServiceName)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_intersection, value_size_constraint, constraints_union, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ConstraintsUnion', 'ValueRangeConstraint') (netscreen_service,) = mibBuilder.importSymbols('NETSCREEN-SMI', 'netscreenService') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (mib_scalar, mib_table, mib_table_row, mib_table_column, iso, bits, module_identity, object_identity, mib_identifier, integer32, counter32, ip_address, notification_type, unsigned32, counter64, gauge32, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Bits', 'ModuleIdentity', 'ObjectIdentity', 'MibIdentifier', 'Integer32', 'Counter32', 'IpAddress', 'NotificationType', 'Unsigned32', 'Counter64', 'Gauge32', 'TimeTicks') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') netscreen_service_mib_module = module_identity((1, 3, 6, 1, 4, 1, 3224, 13, 0)) netscreenServiceMibModule.setRevisions(('2004-05-03 00:00', '2004-03-03 00:00', '2003-11-10 00:00', '2001-09-28 00:00', '2001-05-14 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: netscreenServiceMibModule.setRevisionsDescriptions(('Modified copyright and contact information', 'Converted to SMIv2 by Longview Software', 'Correct spelling mistake', 'No Comment', 'Creation Date')) if mibBuilder.loadTexts: netscreenServiceMibModule.setLastUpdated('200405032022Z') if mibBuilder.loadTexts: netscreenServiceMibModule.setOrganization('Juniper Networks, Inc.') if mibBuilder.loadTexts: netscreenServiceMibModule.setContactInfo('Customer Support 1194 North Mathilda Avenue Sunnyvale, California 94089-1206 USA Tel: 1-800-638-8296 E-mail: [email protected] HTTP://www.juniper.net') if mibBuilder.loadTexts: netscreenServiceMibModule.setDescription('This module defines the object that are used to monitor service configuration in NetScreen device.') ns_service_table = mib_table((1, 3, 6, 1, 4, 1, 3224, 13, 1)) if mibBuilder.loadTexts: nsServiceTable.setStatus('current') if mibBuilder.loadTexts: nsServiceTable.setDescription('Services are types of IP traffic for which protocol standards exist. This table collects all the service configurations existing in NetScreen device.') ns_service_entry = mib_table_row((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1)).setIndexNames((0, 'NETSCREEN-SERVICE-MIB', 'nsServiceIndex')) if mibBuilder.loadTexts: nsServiceEntry.setStatus('current') if mibBuilder.loadTexts: nsServiceEntry.setDescription('Each enry in the nsServiceTable holds a set of configuration parameters associated with an instance of service.') ns_service_index = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceIndex.setStatus('current') if mibBuilder.loadTexts: nsServiceIndex.setDescription('A unique value for each address. Its value ranges between 0 and 65535 and may not be contiguous.') ns_service_name = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceName.setStatus('current') if mibBuilder.loadTexts: nsServiceName.setDescription('Service name.') ns_service_category = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('remote', 1), ('email', 2), ('infoseek', 3), ('security', 4), ('other', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceCategory.setStatus('current') if mibBuilder.loadTexts: nsServiceCategory.setDescription('Category this service belongs to.') ns_service_trans_proto = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 6, 17, 8, 9, 17, 46, 47, 89))).clone(namedValues=named_values(('other', 0), ('icmp', 1), ('tcp', 6), ('udp', 17), ('egp', 8), ('igp', 9), ('udp', 17), ('rsvp', 46), ('gre', 47), ('ospf', 89)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceTransProto.setStatus('current') if mibBuilder.loadTexts: nsServiceTransProto.setDescription('Service trans protocol. 6 means tcp 17 means udp') ns_service_src_port_low = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceSrcPortLow.setStatus('current') if mibBuilder.loadTexts: nsServiceSrcPortLow.setDescription('The low source port number associated with service.') ns_service_src_port_high = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceSrcPortHigh.setStatus('current') if mibBuilder.loadTexts: nsServiceSrcPortHigh.setDescription('The high source port number associated with service.') ns_service_dst_port_low = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceDstPortLow.setStatus('current') if mibBuilder.loadTexts: nsServiceDstPortLow.setDescription('The low destination port number associated with service.') ns_service_dst_port_high = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceDstPortHigh.setStatus('current') if mibBuilder.loadTexts: nsServiceDstPortHigh.setDescription('The high source port number associated with service.') ns_service_flag = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('pre-define', 0), ('usr-define', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceFlag.setStatus('current') if mibBuilder.loadTexts: nsServiceFlag.setDescription('Service flag used to indicate if the service is a pre-defined one or a custom one.') ns_service_vsys = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 1, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceVsys.setStatus('current') if mibBuilder.loadTexts: nsServiceVsys.setDescription('Virtual system this configuration belongs to.') ns_service_group_table = mib_table((1, 3, 6, 1, 4, 1, 3224, 13, 2)) if mibBuilder.loadTexts: nsServiceGroupTable.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupTable.setDescription('Services can be organized into service group for convenience. This table collects all service group entries in NetScreen device.') ns_service_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1)).setIndexNames((0, 'NETSCREEN-SERVICE-MIB', 'nsServiceGroupIndex')) if mibBuilder.loadTexts: nsServiceGroupEntry.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupEntry.setDescription('Each entry in the nsServiceGroupTable holds a set of information about service group.') ns_service_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceGroupIndex.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupIndex.setDescription('A unique value for each group. Its value ranges between 0 and 65535 and may not be contiguous.') ns_service_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceGroupName.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupName.setDescription('Service group name.') ns_service_group_member = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceGroupMember.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupMember.setDescription('Service member number in service group.') ns_service_group_comment = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceGroupComment.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupComment.setDescription('Comments for service group.') ns_service_group_vsys = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 2, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceGroupVsys.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupVsys.setDescription('Virtual system this group belongs to.') ns_service_grp_member_table = mib_table((1, 3, 6, 1, 4, 1, 3224, 13, 3)) if mibBuilder.loadTexts: nsServiceGrpMemberTable.setStatus('current') if mibBuilder.loadTexts: nsServiceGrpMemberTable.setDescription('Service group membership info table will show detail information of a service group.') ns_service_grp_member_entry = mib_table_row((1, 3, 6, 1, 4, 1, 3224, 13, 3, 1)).setIndexNames((0, 'NETSCREEN-SERVICE-MIB', 'nsServiceGrpMemberIndex')) if mibBuilder.loadTexts: nsServiceGrpMemberEntry.setStatus('current') if mibBuilder.loadTexts: nsServiceGrpMemberEntry.setDescription("An entry containing attributes service group's member info") ns_service_grp_member_index = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceGrpMemberIndex.setStatus('current') if mibBuilder.loadTexts: nsServiceGrpMemberIndex.setDescription('A unique value for each group. Its value ranges between 0 and 65535 and may not be contiguous.') ns_service_grp_name = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 3, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceGrpName.setStatus('current') if mibBuilder.loadTexts: nsServiceGrpName.setDescription('Specific service group name') ns_service_group_member_name = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 3, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceGroupMemberName.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupMemberName.setDescription('Specific service name in the service group.') ns_service_group_member_vsys = mib_table_column((1, 3, 6, 1, 4, 1, 3224, 13, 3, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nsServiceGroupMemberVsys.setStatus('current') if mibBuilder.loadTexts: nsServiceGroupMemberVsys.setDescription('Virtual system this configuration belongs to') mibBuilder.exportSymbols('NETSCREEN-SERVICE-MIB', nsServiceGroupMember=nsServiceGroupMember, nsServiceGroupName=nsServiceGroupName, nsServiceGroupComment=nsServiceGroupComment, nsServiceSrcPortLow=nsServiceSrcPortLow, nsServiceSrcPortHigh=nsServiceSrcPortHigh, nsServiceGroupVsys=nsServiceGroupVsys, nsServiceDstPortHigh=nsServiceDstPortHigh, nsServiceIndex=nsServiceIndex, nsServiceGroupMemberVsys=nsServiceGroupMemberVsys, nsServiceFlag=nsServiceFlag, nsServiceVsys=nsServiceVsys, nsServiceGrpMemberIndex=nsServiceGrpMemberIndex, nsServiceGrpMemberEntry=nsServiceGrpMemberEntry, nsServiceGrpMemberTable=nsServiceGrpMemberTable, nsServiceGroupEntry=nsServiceGroupEntry, nsServiceGroupTable=nsServiceGroupTable, nsServiceDstPortLow=nsServiceDstPortLow, nsServiceTable=nsServiceTable, nsServiceEntry=nsServiceEntry, nsServiceTransProto=nsServiceTransProto, PYSNMP_MODULE_ID=netscreenServiceMibModule, nsServiceCategory=nsServiceCategory, nsServiceGroupIndex=nsServiceGroupIndex, nsServiceGroupMemberName=nsServiceGroupMemberName, netscreenServiceMibModule=netscreenServiceMibModule, nsServiceGrpName=nsServiceGrpName, nsServiceName=nsServiceName)
# # PySNMP MIB module DT1-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DT1-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:39:59 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") ValueSizeConstraint, ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Bits, NotificationType, IpAddress, Counter32, iso, experimental, enterprises, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ObjectIdentity, Unsigned32, ModuleIdentity, MibIdentifier, Gauge32, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "NotificationType", "IpAddress", "Counter32", "iso", "experimental", "enterprises", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "ObjectIdentity", "Unsigned32", "ModuleIdentity", "MibIdentifier", "Gauge32", "Integer32") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") usr = MibIdentifier((1, 3, 6, 1, 4, 1, 429)) nas = MibIdentifier((1, 3, 6, 1, 4, 1, 429, 1)) dt1 = MibIdentifier((1, 3, 6, 1, 4, 1, 429, 1, 3)) dt1Id = MibIdentifier((1, 3, 6, 1, 4, 1, 429, 1, 3, 1)) dt1IdTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1), ) if mibBuilder.loadTexts: dt1IdTable.setStatus('mandatory') dt1IdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1, 1), ).setIndexNames((0, "DT1-MIB", "dt1IdIndex")) if mibBuilder.loadTexts: dt1IdEntry.setStatus('mandatory') dt1IdIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1IdIndex.setStatus('mandatory') dt1IdHardwareSerNum = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1IdHardwareSerNum.setStatus('mandatory') dt1IdHardwareRev = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1IdHardwareRev.setStatus('mandatory') dt1IdSoftwareRev = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1IdSoftwareRev.setStatus('mandatory') dt1Cfg = MibIdentifier((1, 3, 6, 1, 4, 1, 429, 1, 3, 2)) dt1CfgTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1), ) if mibBuilder.loadTexts: dt1CfgTable.setStatus('mandatory') dt1CfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1), ).setIndexNames((0, "DT1-MIB", "dt1CfgIndex")) if mibBuilder.loadTexts: dt1CfgEntry.setStatus('mandatory') dt1CfgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1CfgIndex.setStatus('mandatory') dt1CfgSpanATmgSrcPrio = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("notAllowed", 1), ("high", 2), ("mediumHigh", 3), ("medium", 4), ("low", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CfgSpanATmgSrcPrio.setStatus('mandatory') dt1CfgSpanBTmgSrcPrio = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("notAllowed", 1), ("high", 2), ("mediumHigh", 3), ("medium", 4), ("low", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CfgSpanBTmgSrcPrio.setStatus('mandatory') dt1CfgInternTmgSrcPrio = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("notAllowed", 1), ("high", 2), ("mediumHigh", 3), ("medium", 4), ("low", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CfgInternTmgSrcPrio.setStatus('mandatory') dt1CfgTdmBusTmgSrcPrio = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("notAllowed", 1), ("high", 2), ("mediumHigh", 3), ("medium", 4), ("low", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1CfgTdmBusTmgSrcPrio.setStatus('deprecated') dt1CfgIdleDiscPatt = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CfgIdleDiscPatt.setStatus('mandatory') dt1CfgNumT1TypeNacs = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notSupported", 1), ("single", 2), ("multiple", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CfgNumT1TypeNacs.setStatus('mandatory') dt1CfgCallEventFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("notSupported", 1), ("filterOutNone", 2), ("filterOutBoth", 3), ("filterOutSuccess", 4), ("filterOutFailure", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CfgCallEventFilter.setStatus('mandatory') dt1CfgSetDs0OutofService = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CfgSetDs0OutofService.setStatus('mandatory') dt1CfgWirelessMode = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("wireless", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CfgWirelessMode.setStatus('mandatory') dt1Stat = MibIdentifier((1, 3, 6, 1, 4, 1, 429, 1, 3, 3)) dt1StatTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1), ) if mibBuilder.loadTexts: dt1StatTable.setStatus('mandatory') dt1StatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1), ).setIndexNames((0, "DT1-MIB", "dt1StatIndex")) if mibBuilder.loadTexts: dt1StatEntry.setStatus('mandatory') dt1StatIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1StatIndex.setStatus('mandatory') dt1StatCurrentTmgSrc = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("spanLineA", 1), ("spanLineB", 2), ("internalClock", 3), ("tdmBusClock", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1StatCurrentTmgSrc.setStatus('mandatory') dt1StatSelfTest = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1StatSelfTest.setStatus('mandatory') dt1StatUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1StatUpTime.setStatus('mandatory') dt1StatCallEventCode = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32))).clone(namedValues=NamedValues(("notSupported", 1), ("setup", 2), ("usrSetup", 3), ("telcoDisconnect", 4), ("usrDisconnect", 5), ("noFreeModem", 6), ("modemsNotAllowed", 7), ("modemsRejectCall", 8), ("modemSetupTimeout", 9), ("noFreeIGW", 10), ("igwRejectCall", 11), ("igwSetupTimeout", 12), ("noFreeTdmts", 13), ("bcReject", 14), ("ieReject", 15), ("chidReject", 16), ("progReject", 17), ("callingPartyReject", 18), ("calledPartyReject", 19), ("blocked", 20), ("analogBlocked", 21), ("digitalBlocked", 22), ("outOfService", 23), ("busy", 24), ("congestion", 25), ("protocolError", 26), ("noFreeBchannel", 27), ("inOutCallCollision", 28), ("inCallArrival", 29), ("outCallArrival", 30), ("inCallConnect", 31), ("outCallConnect", 32)))).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1StatCallEventCode.setStatus('mandatory') dt1StatCallEventQ931Value = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1StatCallEventQ931Value.setStatus('mandatory') dt1Cmd = MibIdentifier((1, 3, 6, 1, 4, 1, 429, 1, 3, 4)) dt1CmdTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1), ) if mibBuilder.loadTexts: dt1CmdTable.setStatus('mandatory') dt1CmdEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1), ).setIndexNames((0, "DT1-MIB", "dt1CmdIndex")) if mibBuilder.loadTexts: dt1CmdEntry.setStatus('mandatory') dt1CmdIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1CmdIndex.setStatus('mandatory') dt1CmdMgtStationId = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CmdMgtStationId.setStatus('mandatory') dt1CmdReqId = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1CmdReqId.setStatus('mandatory') dt1CmdFunction = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("noCommand", 1), ("saveToNVRAM", 2), ("restoreFromNVRAM", 3), ("restoreFromDefault", 4), ("nonDisruptSelfTest", 5), ("disruptSelfTest", 6), ("softwareReset", 7), ("resetToHiPrioTimingSrc", 8), ("forceTdmBusMastership", 9), ("enterSpanToSpanLoopback", 10), ("exitSpanToSpanLoopback", 11), ("restoreDefaultUIPassword", 12)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CmdFunction.setStatus('mandatory') dt1CmdForce = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("force", 1), ("noForce", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CmdForce.setStatus('mandatory') dt1CmdParam = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1CmdParam.setStatus('mandatory') dt1CmdResult = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("none", 1), ("success", 2), ("inProgress", 3), ("notSupported", 4), ("unAbleToRun", 5), ("aborted", 6), ("failed", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1CmdResult.setStatus('mandatory') dt1CmdCode = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 6, 8, 12, 20, 22, 25, 58, 73))).clone(namedValues=NamedValues(("noError", 1), ("unable", 2), ("unrecognizedCommand", 6), ("slotEmpty", 8), ("noResponse", 12), ("unsupportedCommand", 20), ("deviceDisabled", 22), ("testFailed", 25), ("userInterfaceActive", 58), ("pendingSoftwareDownload", 73)))).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1CmdCode.setStatus('mandatory') dt1TrapEnaTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 3, 5), ) if mibBuilder.loadTexts: dt1TrapEnaTable.setStatus('mandatory') dt1TrapEnaEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1), ).setIndexNames((0, "DT1-MIB", "dt1TrapEnaIndex")) if mibBuilder.loadTexts: dt1TrapEnaEntry.setStatus('mandatory') dt1TrapEnaIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: dt1TrapEnaIndex.setStatus('mandatory') dt1TrapEnaTxTmgSrcSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enableTrap", 1), ("disableAll", 2), ("enableLog", 3), ("enableAll", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1TrapEnaTxTmgSrcSwitch.setStatus('mandatory') dt1TrapEnaCallEvent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enableTrap", 1), ("disableAll", 2), ("enableLog", 3), ("enableAll", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1TrapEnaCallEvent.setStatus('mandatory') dt1TrapEnaCallArriveEvent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enableTrap", 1), ("disableAll", 2), ("enableLog", 3), ("enableAll", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1TrapEnaCallArriveEvent.setStatus('mandatory') dt1TrapEnaCallConnEvent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enableTrap", 1), ("disableAll", 2), ("enableLog", 3), ("enableAll", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1TrapEnaCallConnEvent.setStatus('mandatory') dt1TrapEnaCallTermEvent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enableTrap", 1), ("disableAll", 2), ("enableLog", 3), ("enableAll", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1TrapEnaCallTermEvent.setStatus('mandatory') dt1TrapEnaCallFailEvent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("enableTrap", 1), ("disableAll", 2), ("enableLog", 3), ("enableAll", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: dt1TrapEnaCallFailEvent.setStatus('mandatory') mibBuilder.exportSymbols("DT1-MIB", dt1IdIndex=dt1IdIndex, dt1TrapEnaCallEvent=dt1TrapEnaCallEvent, dt1StatCallEventQ931Value=dt1StatCallEventQ931Value, dt1StatTable=dt1StatTable, dt1TrapEnaTxTmgSrcSwitch=dt1TrapEnaTxTmgSrcSwitch, dt1StatUpTime=dt1StatUpTime, usr=usr, dt1CmdParam=dt1CmdParam, nas=nas, dt1CmdTable=dt1CmdTable, dt1TrapEnaTable=dt1TrapEnaTable, dt1CfgSpanATmgSrcPrio=dt1CfgSpanATmgSrcPrio, dt1StatSelfTest=dt1StatSelfTest, dt1TrapEnaCallArriveEvent=dt1TrapEnaCallArriveEvent, dt1StatIndex=dt1StatIndex, dt1CmdEntry=dt1CmdEntry, dt1StatCallEventCode=dt1StatCallEventCode, dt1TrapEnaCallTermEvent=dt1TrapEnaCallTermEvent, dt1IdSoftwareRev=dt1IdSoftwareRev, dt1CfgTdmBusTmgSrcPrio=dt1CfgTdmBusTmgSrcPrio, dt1CmdReqId=dt1CmdReqId, dt1CmdCode=dt1CmdCode, dt1CfgSpanBTmgSrcPrio=dt1CfgSpanBTmgSrcPrio, dt1TrapEnaIndex=dt1TrapEnaIndex, dt1IdEntry=dt1IdEntry, dt1CfgCallEventFilter=dt1CfgCallEventFilter, dt1StatEntry=dt1StatEntry, dt1=dt1, dt1CfgWirelessMode=dt1CfgWirelessMode, dt1Cmd=dt1Cmd, dt1CfgIndex=dt1CfgIndex, dt1CfgEntry=dt1CfgEntry, dt1TrapEnaCallFailEvent=dt1TrapEnaCallFailEvent, dt1IdHardwareSerNum=dt1IdHardwareSerNum, dt1CfgIdleDiscPatt=dt1CfgIdleDiscPatt, dt1IdTable=dt1IdTable, dt1Id=dt1Id, dt1TrapEnaEntry=dt1TrapEnaEntry, dt1CmdForce=dt1CmdForce, dt1CfgSetDs0OutofService=dt1CfgSetDs0OutofService, dt1StatCurrentTmgSrc=dt1StatCurrentTmgSrc, dt1CmdIndex=dt1CmdIndex, dt1Cfg=dt1Cfg, dt1CmdMgtStationId=dt1CmdMgtStationId, dt1CfgTable=dt1CfgTable, dt1Stat=dt1Stat, dt1CfgInternTmgSrcPrio=dt1CfgInternTmgSrcPrio, dt1IdHardwareRev=dt1IdHardwareRev, dt1TrapEnaCallConnEvent=dt1TrapEnaCallConnEvent, dt1CfgNumT1TypeNacs=dt1CfgNumT1TypeNacs, dt1CmdResult=dt1CmdResult, dt1CmdFunction=dt1CmdFunction)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, constraints_intersection, constraints_union, single_value_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueRangeConstraint') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (bits, notification_type, ip_address, counter32, iso, experimental, enterprises, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, object_identity, unsigned32, module_identity, mib_identifier, gauge32, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'NotificationType', 'IpAddress', 'Counter32', 'iso', 'experimental', 'enterprises', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'ObjectIdentity', 'Unsigned32', 'ModuleIdentity', 'MibIdentifier', 'Gauge32', 'Integer32') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') usr = mib_identifier((1, 3, 6, 1, 4, 1, 429)) nas = mib_identifier((1, 3, 6, 1, 4, 1, 429, 1)) dt1 = mib_identifier((1, 3, 6, 1, 4, 1, 429, 1, 3)) dt1_id = mib_identifier((1, 3, 6, 1, 4, 1, 429, 1, 3, 1)) dt1_id_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1)) if mibBuilder.loadTexts: dt1IdTable.setStatus('mandatory') dt1_id_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1, 1)).setIndexNames((0, 'DT1-MIB', 'dt1IdIndex')) if mibBuilder.loadTexts: dt1IdEntry.setStatus('mandatory') dt1_id_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1IdIndex.setStatus('mandatory') dt1_id_hardware_ser_num = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1IdHardwareSerNum.setStatus('mandatory') dt1_id_hardware_rev = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1IdHardwareRev.setStatus('mandatory') dt1_id_software_rev = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 1, 1, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1IdSoftwareRev.setStatus('mandatory') dt1_cfg = mib_identifier((1, 3, 6, 1, 4, 1, 429, 1, 3, 2)) dt1_cfg_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1)) if mibBuilder.loadTexts: dt1CfgTable.setStatus('mandatory') dt1_cfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1)).setIndexNames((0, 'DT1-MIB', 'dt1CfgIndex')) if mibBuilder.loadTexts: dt1CfgEntry.setStatus('mandatory') dt1_cfg_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1CfgIndex.setStatus('mandatory') dt1_cfg_span_a_tmg_src_prio = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('notAllowed', 1), ('high', 2), ('mediumHigh', 3), ('medium', 4), ('low', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CfgSpanATmgSrcPrio.setStatus('mandatory') dt1_cfg_span_b_tmg_src_prio = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('notAllowed', 1), ('high', 2), ('mediumHigh', 3), ('medium', 4), ('low', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CfgSpanBTmgSrcPrio.setStatus('mandatory') dt1_cfg_intern_tmg_src_prio = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('notAllowed', 1), ('high', 2), ('mediumHigh', 3), ('medium', 4), ('low', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CfgInternTmgSrcPrio.setStatus('mandatory') dt1_cfg_tdm_bus_tmg_src_prio = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('notAllowed', 1), ('high', 2), ('mediumHigh', 3), ('medium', 4), ('low', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1CfgTdmBusTmgSrcPrio.setStatus('deprecated') dt1_cfg_idle_disc_patt = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CfgIdleDiscPatt.setStatus('mandatory') dt1_cfg_num_t1_type_nacs = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notSupported', 1), ('single', 2), ('multiple', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CfgNumT1TypeNacs.setStatus('mandatory') dt1_cfg_call_event_filter = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('notSupported', 1), ('filterOutNone', 2), ('filterOutBoth', 3), ('filterOutSuccess', 4), ('filterOutFailure', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CfgCallEventFilter.setStatus('mandatory') dt1_cfg_set_ds0_outof_service = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CfgSetDs0OutofService.setStatus('mandatory') dt1_cfg_wireless_mode = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 2, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('wireless', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CfgWirelessMode.setStatus('mandatory') dt1_stat = mib_identifier((1, 3, 6, 1, 4, 1, 429, 1, 3, 3)) dt1_stat_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1)) if mibBuilder.loadTexts: dt1StatTable.setStatus('mandatory') dt1_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1)).setIndexNames((0, 'DT1-MIB', 'dt1StatIndex')) if mibBuilder.loadTexts: dt1StatEntry.setStatus('mandatory') dt1_stat_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1StatIndex.setStatus('mandatory') dt1_stat_current_tmg_src = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('spanLineA', 1), ('spanLineB', 2), ('internalClock', 3), ('tdmBusClock', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1StatCurrentTmgSrc.setStatus('mandatory') dt1_stat_self_test = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1StatSelfTest.setStatus('mandatory') dt1_stat_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1StatUpTime.setStatus('mandatory') dt1_stat_call_event_code = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32))).clone(namedValues=named_values(('notSupported', 1), ('setup', 2), ('usrSetup', 3), ('telcoDisconnect', 4), ('usrDisconnect', 5), ('noFreeModem', 6), ('modemsNotAllowed', 7), ('modemsRejectCall', 8), ('modemSetupTimeout', 9), ('noFreeIGW', 10), ('igwRejectCall', 11), ('igwSetupTimeout', 12), ('noFreeTdmts', 13), ('bcReject', 14), ('ieReject', 15), ('chidReject', 16), ('progReject', 17), ('callingPartyReject', 18), ('calledPartyReject', 19), ('blocked', 20), ('analogBlocked', 21), ('digitalBlocked', 22), ('outOfService', 23), ('busy', 24), ('congestion', 25), ('protocolError', 26), ('noFreeBchannel', 27), ('inOutCallCollision', 28), ('inCallArrival', 29), ('outCallArrival', 30), ('inCallConnect', 31), ('outCallConnect', 32)))).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1StatCallEventCode.setStatus('mandatory') dt1_stat_call_event_q931_value = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 3, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1StatCallEventQ931Value.setStatus('mandatory') dt1_cmd = mib_identifier((1, 3, 6, 1, 4, 1, 429, 1, 3, 4)) dt1_cmd_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1)) if mibBuilder.loadTexts: dt1CmdTable.setStatus('mandatory') dt1_cmd_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1)).setIndexNames((0, 'DT1-MIB', 'dt1CmdIndex')) if mibBuilder.loadTexts: dt1CmdEntry.setStatus('mandatory') dt1_cmd_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1CmdIndex.setStatus('mandatory') dt1_cmd_mgt_station_id = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CmdMgtStationId.setStatus('mandatory') dt1_cmd_req_id = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1CmdReqId.setStatus('mandatory') dt1_cmd_function = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('noCommand', 1), ('saveToNVRAM', 2), ('restoreFromNVRAM', 3), ('restoreFromDefault', 4), ('nonDisruptSelfTest', 5), ('disruptSelfTest', 6), ('softwareReset', 7), ('resetToHiPrioTimingSrc', 8), ('forceTdmBusMastership', 9), ('enterSpanToSpanLoopback', 10), ('exitSpanToSpanLoopback', 11), ('restoreDefaultUIPassword', 12)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CmdFunction.setStatus('mandatory') dt1_cmd_force = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('force', 1), ('noForce', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CmdForce.setStatus('mandatory') dt1_cmd_param = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1CmdParam.setStatus('mandatory') dt1_cmd_result = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('none', 1), ('success', 2), ('inProgress', 3), ('notSupported', 4), ('unAbleToRun', 5), ('aborted', 6), ('failed', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1CmdResult.setStatus('mandatory') dt1_cmd_code = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 4, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 6, 8, 12, 20, 22, 25, 58, 73))).clone(namedValues=named_values(('noError', 1), ('unable', 2), ('unrecognizedCommand', 6), ('slotEmpty', 8), ('noResponse', 12), ('unsupportedCommand', 20), ('deviceDisabled', 22), ('testFailed', 25), ('userInterfaceActive', 58), ('pendingSoftwareDownload', 73)))).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1CmdCode.setStatus('mandatory') dt1_trap_ena_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 3, 5)) if mibBuilder.loadTexts: dt1TrapEnaTable.setStatus('mandatory') dt1_trap_ena_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1)).setIndexNames((0, 'DT1-MIB', 'dt1TrapEnaIndex')) if mibBuilder.loadTexts: dt1TrapEnaEntry.setStatus('mandatory') dt1_trap_ena_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: dt1TrapEnaIndex.setStatus('mandatory') dt1_trap_ena_tx_tmg_src_switch = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enableTrap', 1), ('disableAll', 2), ('enableLog', 3), ('enableAll', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1TrapEnaTxTmgSrcSwitch.setStatus('mandatory') dt1_trap_ena_call_event = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enableTrap', 1), ('disableAll', 2), ('enableLog', 3), ('enableAll', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1TrapEnaCallEvent.setStatus('mandatory') dt1_trap_ena_call_arrive_event = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enableTrap', 1), ('disableAll', 2), ('enableLog', 3), ('enableAll', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1TrapEnaCallArriveEvent.setStatus('mandatory') dt1_trap_ena_call_conn_event = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enableTrap', 1), ('disableAll', 2), ('enableLog', 3), ('enableAll', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1TrapEnaCallConnEvent.setStatus('mandatory') dt1_trap_ena_call_term_event = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enableTrap', 1), ('disableAll', 2), ('enableLog', 3), ('enableAll', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1TrapEnaCallTermEvent.setStatus('mandatory') dt1_trap_ena_call_fail_event = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 3, 5, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('enableTrap', 1), ('disableAll', 2), ('enableLog', 3), ('enableAll', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: dt1TrapEnaCallFailEvent.setStatus('mandatory') mibBuilder.exportSymbols('DT1-MIB', dt1IdIndex=dt1IdIndex, dt1TrapEnaCallEvent=dt1TrapEnaCallEvent, dt1StatCallEventQ931Value=dt1StatCallEventQ931Value, dt1StatTable=dt1StatTable, dt1TrapEnaTxTmgSrcSwitch=dt1TrapEnaTxTmgSrcSwitch, dt1StatUpTime=dt1StatUpTime, usr=usr, dt1CmdParam=dt1CmdParam, nas=nas, dt1CmdTable=dt1CmdTable, dt1TrapEnaTable=dt1TrapEnaTable, dt1CfgSpanATmgSrcPrio=dt1CfgSpanATmgSrcPrio, dt1StatSelfTest=dt1StatSelfTest, dt1TrapEnaCallArriveEvent=dt1TrapEnaCallArriveEvent, dt1StatIndex=dt1StatIndex, dt1CmdEntry=dt1CmdEntry, dt1StatCallEventCode=dt1StatCallEventCode, dt1TrapEnaCallTermEvent=dt1TrapEnaCallTermEvent, dt1IdSoftwareRev=dt1IdSoftwareRev, dt1CfgTdmBusTmgSrcPrio=dt1CfgTdmBusTmgSrcPrio, dt1CmdReqId=dt1CmdReqId, dt1CmdCode=dt1CmdCode, dt1CfgSpanBTmgSrcPrio=dt1CfgSpanBTmgSrcPrio, dt1TrapEnaIndex=dt1TrapEnaIndex, dt1IdEntry=dt1IdEntry, dt1CfgCallEventFilter=dt1CfgCallEventFilter, dt1StatEntry=dt1StatEntry, dt1=dt1, dt1CfgWirelessMode=dt1CfgWirelessMode, dt1Cmd=dt1Cmd, dt1CfgIndex=dt1CfgIndex, dt1CfgEntry=dt1CfgEntry, dt1TrapEnaCallFailEvent=dt1TrapEnaCallFailEvent, dt1IdHardwareSerNum=dt1IdHardwareSerNum, dt1CfgIdleDiscPatt=dt1CfgIdleDiscPatt, dt1IdTable=dt1IdTable, dt1Id=dt1Id, dt1TrapEnaEntry=dt1TrapEnaEntry, dt1CmdForce=dt1CmdForce, dt1CfgSetDs0OutofService=dt1CfgSetDs0OutofService, dt1StatCurrentTmgSrc=dt1StatCurrentTmgSrc, dt1CmdIndex=dt1CmdIndex, dt1Cfg=dt1Cfg, dt1CmdMgtStationId=dt1CmdMgtStationId, dt1CfgTable=dt1CfgTable, dt1Stat=dt1Stat, dt1CfgInternTmgSrcPrio=dt1CfgInternTmgSrcPrio, dt1IdHardwareRev=dt1IdHardwareRev, dt1TrapEnaCallConnEvent=dt1TrapEnaCallConnEvent, dt1CfgNumT1TypeNacs=dt1CfgNumT1TypeNacs, dt1CmdResult=dt1CmdResult, dt1CmdFunction=dt1CmdFunction)
print(''' _____ .-" .-. "-. _/ '=(0.0)=' \_ /` .='|m|'=. `\ \________________ / .--.__///`'-,__~\\\\~` / /6|__\// a (__)-\\\\ \ \/--`(( ._\ ,))) / \\ ))\ -==- (O)( / )\((((\ . /))))) / _.' / __(`~~~~`)__ //"\\,-'-"` `~~~~\\~~`"-. // /`" ` `\ //''') print("Welcome to Tresure Island.") print("Your mission is to find the treasure.") choice1 = input('You\'re at a crossroad, where do you want to go? Type "Left" or "Right". ').lower() if choice1 == "left": choice2 = input('You\'ve come to a lake. There is an island in the middle of the lake. Type "wait" to wait for a boat. Type "swim" to swim across. ').lower() if choice2 == "wait": choice3 = input('You arrive at the island unharmed. There is a house with 3 doors. One red, one yellow, and on blue. Which color do you choose? ').lower() if choice3 == "red": print("It's a room full of fire. Game Over") elif choice3 == "yellow": print("You found the treasure! You Win!") elif choice3 == "blue": print("You enter a room of beasts. Game Over") else: print("You chose a door that doesn't exist. Game Over") else: print("You got attacked by a shark, Game Over") else: print("You fell into a hole. Game Over")
print(' _____\n .-" .-. "-.\n _/ \'=(0.0)=\' \\_\n /` .=\'|m|\'=. ` \\________________ /\n .--.__///`\'-,__~\\\\~`\n / /6|__\\// a (__)-\\\\\n \\ \\/--`(( ._\\ ,)))\n / \\ ))\\ -==- (O)(\n / )\\((((\\ . /)))))\n / _.\' / __(`~~~~`)__\n //"\\,-\'-"` `~~~~\\~~`"-.\n // /`" ` `//') print('Welcome to Tresure Island.') print('Your mission is to find the treasure.') choice1 = input('You\'re at a crossroad, where do you want to go? Type "Left" or "Right". ').lower() if choice1 == 'left': choice2 = input('You\'ve come to a lake. There is an island in the middle of the lake. Type "wait" to wait for a boat. Type "swim" to swim across. ').lower() if choice2 == 'wait': choice3 = input('You arrive at the island unharmed. There is a house with 3 doors. One red, one yellow, and on blue. Which color do you choose? ').lower() if choice3 == 'red': print("It's a room full of fire. Game Over") elif choice3 == 'yellow': print('You found the treasure! You Win!') elif choice3 == 'blue': print('You enter a room of beasts. Game Over') else: print("You chose a door that doesn't exist. Game Over") else: print('You got attacked by a shark, Game Over') else: print('You fell into a hole. Game Over')
''' Created on Dec 20, 2016 @author: bardya ''' # HOG_herit = [0,1,2] # # hogset = set() # # for i in HOG_herit: # fh = open("/share/project/bardya/Enterobacteriaceae/OMA_prot/HOGLevel_Gains/{}".format(i), 'r') # hogset |= set([line.strip() for line in fh if line.strip()]) # fh.close() # # fh2 = open("/share/project/bardya/Enterobacteriaceae/OMA_prot/HOGLevel_Losses/{}".format(i), 'r') # hogset -= set([line.strip() for line in fh2 if line.strip()]) # fh2.close() # # LCA_set = [] # for i in hogset: # i_sample = i.replace('.fa', '_sample.fa') # with open('/share/project/bardya/Enterobacteriaceae/OMA_prot/HOGFasta_random_representative/{}'.format(i_sample), 'r') as fh3: # for line in fh3: # if line.startswith('>'): # protein_id = line.split(' ', 1)[0][1:] # LCA_set.append(protein_id) # # with open('/share/project/bardya/Enterobacteriaceae/OMA_prot/HOG_LCA/{}_LCA_set.txt'.format(HOG_herit[-1]), 'w') as LCA_seth: # for protein_id in LCA_set: # LCA_seth.write(protein_id + '\n') HOG_herit = [0] hogset = set() fh = open("/share/project/bardya/Enterobacteriaceae/OMA_prot/HOGLevel_Gains/{}".format(HOG_herit[0]), 'r') hogset |= set([line.strip() for line in fh if line.strip()]) fh.close() LCA_set = [] for i in hogset: i_sample = i.replace('.fa', '_sample.fa') with open('/share/project/bardya/Enterobacteriaceae/OMA_prot/HOGFasta_random_representative/{}'.format(i_sample), 'r') as fh3: for line in fh3: if line.startswith('>'): protein_id = line.split(' ', 1)[0][1:] LCA_set.append(protein_id) with open('/share/project/bardya/Enterobacteriaceae/OMA_prot/{}_Gains.txt'.format(HOG_herit[0]), 'w') as LCA_seth: for protein_id in LCA_set: LCA_seth.write(protein_id + '\n') # HOG_herit = [20] # # # hogset = set() # fh = open("/share/project/bardya/Enterobacteriaceae/OMA_prot/HOGLevel_Losses/{}".format(HOG_herit[0]), 'r') # hogset |= set([line.strip() for line in fh if line.strip()]) # fh.close() # # LCA_set = [] # # for i in hogset: # i_sample = i.replace('.fa', '_sample.fa') # with open('/share/project/bardya/Enterobacteriaceae/OMA_prot/HOGFasta_random_representative/{}'.format(i_sample), 'r') as fh3: # for line in fh3: # if line.startswith('>'): # protein_id = line.split(' ', 1)[0][1:] # LCA_set.append(protein_id) # # with open('/share/project/bardya/Enterobacteriaceae/OMA_prot/{}_Losses.txt'.format(HOG_herit[0]), 'w') as LCA_seth: # for protein_id in LCA_set: # LCA_seth.write(protein_id + '\n')
""" Created on Dec 20, 2016 @author: bardya """ hog_herit = [0] hogset = set() fh = open('/share/project/bardya/Enterobacteriaceae/OMA_prot/HOGLevel_Gains/{}'.format(HOG_herit[0]), 'r') hogset |= set([line.strip() for line in fh if line.strip()]) fh.close() lca_set = [] for i in hogset: i_sample = i.replace('.fa', '_sample.fa') with open('/share/project/bardya/Enterobacteriaceae/OMA_prot/HOGFasta_random_representative/{}'.format(i_sample), 'r') as fh3: for line in fh3: if line.startswith('>'): protein_id = line.split(' ', 1)[0][1:] LCA_set.append(protein_id) with open('/share/project/bardya/Enterobacteriaceae/OMA_prot/{}_Gains.txt'.format(HOG_herit[0]), 'w') as lca_seth: for protein_id in LCA_set: LCA_seth.write(protein_id + '\n')
class FModifierEnvelopeControlPoint: frame = None max = None min = None
class Fmodifierenvelopecontrolpoint: frame = None max = None min = None
self.description = "Try to upgrade two packages which would break deps" lp1 = pmpkg("pkg1") lp1.depends = ["pkg2=1.0"] self.addpkg2db("local", lp1) lp2 = pmpkg("pkg2", "1.0-1") self.addpkg2db("local", lp2) p1 = pmpkg("pkg1", "1.1-1") p1.depends = ["pkg2=1.0-1"] self.addpkg(p1) p2 = pmpkg("pkg2", "1.1-1") self.addpkg(p2) self.args = "-U %s" % " ".join([p.filename() for p in (p1, p2)]) self.addrule("PACMAN_RETCODE=1") self.addrule("PKG_VERSION=pkg1|1.0-1") self.addrule("PKG_VERSION=pkg2|1.0-1")
self.description = 'Try to upgrade two packages which would break deps' lp1 = pmpkg('pkg1') lp1.depends = ['pkg2=1.0'] self.addpkg2db('local', lp1) lp2 = pmpkg('pkg2', '1.0-1') self.addpkg2db('local', lp2) p1 = pmpkg('pkg1', '1.1-1') p1.depends = ['pkg2=1.0-1'] self.addpkg(p1) p2 = pmpkg('pkg2', '1.1-1') self.addpkg(p2) self.args = '-U %s' % ' '.join([p.filename() for p in (p1, p2)]) self.addrule('PACMAN_RETCODE=1') self.addrule('PKG_VERSION=pkg1|1.0-1') self.addrule('PKG_VERSION=pkg2|1.0-1')
class Node: def __init__(self, data): self.data = data self.next = None class Solution: def insert(self, head, data): p = Node(data) if head == None: head = p elif head.next == None: head.next = p else: start = head while (start.next != None): start = start.next start.next = p return head def display(self, head): current = head while current: print(current.data, end=' ') current = current.next def removeDuplicates(self, head): node = head while node.next: if node.data == node.next.data: node.next = node.next.next else: node = node.next return head mylist = Solution() T = [1, 2, 2, 3, 3, 4] head = None for i in T: data = i head = mylist.insert(head, data) head = mylist.removeDuplicates(head) mylist.display(head)
class Node: def __init__(self, data): self.data = data self.next = None class Solution: def insert(self, head, data): p = node(data) if head == None: head = p elif head.next == None: head.next = p else: start = head while start.next != None: start = start.next start.next = p return head def display(self, head): current = head while current: print(current.data, end=' ') current = current.next def remove_duplicates(self, head): node = head while node.next: if node.data == node.next.data: node.next = node.next.next else: node = node.next return head mylist = solution() t = [1, 2, 2, 3, 3, 4] head = None for i in T: data = i head = mylist.insert(head, data) head = mylist.removeDuplicates(head) mylist.display(head)
__version__ = "1.1.0" ''' 1.1.0 - Base demo module with version info '''
__version__ = '1.1.0' '\n1.1.0\n - Base demo module with version info \n'
# # PySNMP MIB module CISCOSB-EVENTS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCOSB-EVENTS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:06:29 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueRangeConstraint, ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection") switch001, = mibBuilder.importSymbols("CISCOSB-MIB", "switch001") RlSmartPortsMacroNameOrZero, = mibBuilder.importSymbols("CISCOSB-SMARTPORTS-MIB", "RlSmartPortsMacroNameOrZero") InterfaceIndex, InterfaceIndexOrZero = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex", "InterfaceIndexOrZero") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Counter32, NotificationType, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, Counter64, TimeTicks, Unsigned32, Gauge32, MibIdentifier, Integer32, Bits, ObjectIdentity, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "NotificationType", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "Counter64", "TimeTicks", "Unsigned32", "Gauge32", "MibIdentifier", "Integer32", "Bits", "ObjectIdentity", "IpAddress") RowStatus, TruthValue, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue", "DisplayString", "TextualConvention") rlEventsMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150)) rlEventsMib.setRevisions(('2010-09-11 00:00',)) if mibBuilder.loadTexts: rlEventsMib.setLastUpdated('201009110000Z') if mibBuilder.loadTexts: rlEventsMib.setOrganization('Cisco Small Business') class SmartPortType(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)) namedValues = NamedValues(("unknown", 1), ("default", 2), ("printer", 3), ("desktop", 4), ("guest", 5), ("server", 6), ("host", 7), ("ip-camera", 8), ("ip-phone", 9), ("ip-phone-desktop", 10), ("switch", 11), ("router", 12), ("ap", 13)) class SmartPortMacroParameterName(DisplayString): status = 'current' subtypeSpec = DisplayString.subtypeSpec + ValueSizeConstraint(1, 32) class SmartPortMacroParameterValue(DisplayString): status = 'current' subtypeSpec = DisplayString.subtypeSpec + ValueSizeConstraint(1, 80) class SmartPortMacroType(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("built-in", 1), ("user-defined", 2)) class SmartPortMacroParameterOrder(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("single", 1), ("first", 2), ("middle", 3), ("last", 4)) rlPortEvents = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1)) rlAutoSmartPortAdminStatus = MibScalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("controlled", 3))).clone('controlled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortAdminStatus.setStatus('current') rlAutoSmartPortOperStatus = MibScalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: rlAutoSmartPortOperStatus.setStatus('current') rlAutoSmartPortLastVoiceVlanStatus = MibScalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: rlAutoSmartPortLastVoiceVlanStatus.setStatus('current') rlAutoSmartPortLastVoiceVlanId = MibScalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlAutoSmartPortLastVoiceVlanId.setStatus('current') rlAutoSmartPortLearningProtocols = MibScalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 5), Bits().clone(namedValues=NamedValues(("cdp", 0), ("lldp", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortLearningProtocols.setStatus('current') rlAutoSmartPortTypesTable = MibTable((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6), ) if mibBuilder.loadTexts: rlAutoSmartPortTypesTable.setStatus('current') rlAutoSmartPortTypesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1), ).setIndexNames((0, "CISCOSB-EVENTS-MIB", "rlAutoSmartPortTypesType")) if mibBuilder.loadTexts: rlAutoSmartPortTypesEntry.setStatus('current') rlAutoSmartPortTypesType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 1), SmartPortType()) if mibBuilder.loadTexts: rlAutoSmartPortTypesType.setStatus('current') rlAutoSmartPortTypeStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("default", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortTypeStatus.setStatus('current') rlAutoSmartPortMacro = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 3), RlSmartPortsMacroNameOrZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortMacro.setStatus('current') rlAutoSmartPortTypesRevertToDefaultMacro = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 4), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortTypesRevertToDefaultMacro.setStatus('current') rlAutoSmartPortTypesRevertToDefaultParams = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 5), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortTypesRevertToDefaultParams.setStatus('current') rlAutoSmartPortTypesBuiltinMacro = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 6), SmartPortMacroType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlAutoSmartPortTypesBuiltinMacro.setStatus('current') rlAutoSmartPortMacrosParamTable = MibTable((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7), ) if mibBuilder.loadTexts: rlAutoSmartPortMacrosParamTable.setStatus('current') rlAutoSmartPortMacrosParamEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7, 1), ).setIndexNames((0, "CISCOSB-EVENTS-MIB", "rlAutoSmartPortTypesType"), (0, "CISCOSB-EVENTS-MIB", "rlAutoSmartPortMacroType"), (1, "CISCOSB-EVENTS-MIB", "rlAutoSmartPortMacrosParamName")) if mibBuilder.loadTexts: rlAutoSmartPortMacrosParamEntry.setStatus('current') rlAutoSmartPortMacroType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7, 1, 1), SmartPortMacroType()) if mibBuilder.loadTexts: rlAutoSmartPortMacroType.setStatus('current') rlAutoSmartPortMacrosParamName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7, 1, 2), SmartPortMacroParameterName()) if mibBuilder.loadTexts: rlAutoSmartPortMacrosParamName.setStatus('current') rlAutoSmartPortMacrosParamOrder = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7, 1, 3), SmartPortMacroParameterOrder()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortMacrosParamOrder.setStatus('current') rlAutoSmartPortMacrosParamValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7, 1, 4), SmartPortMacroParameterValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortMacrosParamValue.setStatus('current') rlAutoSmartPortPortsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8), ) if mibBuilder.loadTexts: rlAutoSmartPortPortsTable.setStatus('current') rlAutoSmartPortPortsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1), ).setIndexNames((0, "CISCOSB-EVENTS-MIB", "rlAutoSmartPortPort")) if mibBuilder.loadTexts: rlAutoSmartPortPortsEntry.setStatus('current') rlAutoSmartPortPort = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: rlAutoSmartPortPort.setStatus('current') rlAutoSmartPortPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortPortStatus.setStatus('current') rlAutoSmartPortPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 3), SmartPortType().clone('default')).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortPortType.setStatus('current') rlAutoSmartPortPersistency = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("persistent", 1), ("not-persistent", 2))).clone('not-persistent')).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortPersistency.setStatus('current') rlAutoSmartPortLearntPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 5), SmartPortType().clone('default')).setMaxAccess("readonly") if mibBuilder.loadTexts: rlAutoSmartPortLearntPortType.setStatus('current') rlAutoSmartPortPortAcquiringType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("default", 1), ("configuration", 2), ("persistency", 3), ("learning", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortPortAcquiringType.setStatus('current') rlAutoSmartPortLastActivatedMacro = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 7), RlSmartPortsMacroNameOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlAutoSmartPortLastActivatedMacro.setStatus('current') rlAutoSmartPortFailedCommandNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlAutoSmartPortFailedCommandNumber.setStatus('current') rlAutoSmartPortSetLearntPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 9), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortSetLearntPortType.setStatus('current') rlAutoSmartPortParamsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9), ) if mibBuilder.loadTexts: rlAutoSmartPortParamsTable.setStatus('current') rlAutoSmartPortParamsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9, 1), ).setIndexNames((0, "CISCOSB-EVENTS-MIB", "rlAutoSmartPortIfIndex"), (1, "CISCOSB-EVENTS-MIB", "rlAutoSmartPortParamName")) if mibBuilder.loadTexts: rlAutoSmartPortParamsEntry.setStatus('current') rlAutoSmartPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: rlAutoSmartPortIfIndex.setStatus('current') rlAutoSmartPortParamName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9, 1, 2), SmartPortMacroParameterName()) if mibBuilder.loadTexts: rlAutoSmartPortParamName.setStatus('current') rlAutoSmartPortParamOrder = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9, 1, 3), SmartPortMacroParameterOrder()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rlAutoSmartPortParamOrder.setStatus('current') rlAutoSmartPortParamValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9, 1, 4), SmartPortMacroParameterValue()) if mibBuilder.loadTexts: rlAutoSmartPortParamValue.setStatus('current') rlAutoSmartTrunkRefreshTable = MibTable((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 10), ) if mibBuilder.loadTexts: rlAutoSmartTrunkRefreshTable.setStatus('current') rlAutoSmartTrunkRefreshEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 10, 1), ).setIndexNames((0, "CISCOSB-EVENTS-MIB", "rlAutoSmartTrunkRefreshSmartPortType"), (0, "CISCOSB-EVENTS-MIB", "rlAutoSmartTrunkRefreshIfIndex")) if mibBuilder.loadTexts: rlAutoSmartTrunkRefreshEntry.setStatus('current') rlAutoSmartTrunkRefreshSmartPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 11, 12, 13))).clone(namedValues=NamedValues(("default", 1), ("switch", 11), ("router", 12), ("ap", 13)))) if mibBuilder.loadTexts: rlAutoSmartTrunkRefreshSmartPortType.setStatus('current') rlAutoSmartTrunkRefreshIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 10, 1, 2), InterfaceIndexOrZero()) if mibBuilder.loadTexts: rlAutoSmartTrunkRefreshIfIndex.setStatus('current') rlAutoSmartTrunkRefreshRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 10, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: rlAutoSmartTrunkRefreshRowStatus.setStatus('current') rlAutoSmartBusy = MibScalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: rlAutoSmartBusy.setStatus('current') mibBuilder.exportSymbols("CISCOSB-EVENTS-MIB", rlAutoSmartPortPort=rlAutoSmartPortPort, rlAutoSmartPortLastVoiceVlanStatus=rlAutoSmartPortLastVoiceVlanStatus, rlAutoSmartPortTypesRevertToDefaultMacro=rlAutoSmartPortTypesRevertToDefaultMacro, rlAutoSmartPortTypesBuiltinMacro=rlAutoSmartPortTypesBuiltinMacro, rlAutoSmartPortMacrosParamTable=rlAutoSmartPortMacrosParamTable, rlAutoSmartPortFailedCommandNumber=rlAutoSmartPortFailedCommandNumber, rlAutoSmartTrunkRefreshIfIndex=rlAutoSmartTrunkRefreshIfIndex, rlPortEvents=rlPortEvents, rlAutoSmartPortLearningProtocols=rlAutoSmartPortLearningProtocols, rlAutoSmartPortParamName=rlAutoSmartPortParamName, SmartPortMacroType=SmartPortMacroType, rlAutoSmartBusy=rlAutoSmartBusy, rlAutoSmartPortMacrosParamName=rlAutoSmartPortMacrosParamName, rlAutoSmartPortOperStatus=rlAutoSmartPortOperStatus, rlAutoSmartPortTypesTable=rlAutoSmartPortTypesTable, rlAutoSmartPortPortsEntry=rlAutoSmartPortPortsEntry, rlAutoSmartPortTypesEntry=rlAutoSmartPortTypesEntry, rlAutoSmartPortTypeStatus=rlAutoSmartPortTypeStatus, rlAutoSmartPortPortAcquiringType=rlAutoSmartPortPortAcquiringType, SmartPortMacroParameterValue=SmartPortMacroParameterValue, rlAutoSmartPortPortStatus=rlAutoSmartPortPortStatus, SmartPortType=SmartPortType, rlAutoSmartPortTypesRevertToDefaultParams=rlAutoSmartPortTypesRevertToDefaultParams, rlAutoSmartPortLastActivatedMacro=rlAutoSmartPortLastActivatedMacro, rlAutoSmartPortMacrosParamOrder=rlAutoSmartPortMacrosParamOrder, rlAutoSmartTrunkRefreshSmartPortType=rlAutoSmartTrunkRefreshSmartPortType, rlAutoSmartPortLearntPortType=rlAutoSmartPortLearntPortType, rlAutoSmartTrunkRefreshRowStatus=rlAutoSmartTrunkRefreshRowStatus, rlAutoSmartPortAdminStatus=rlAutoSmartPortAdminStatus, rlAutoSmartPortParamsEntry=rlAutoSmartPortParamsEntry, rlAutoSmartPortMacroType=rlAutoSmartPortMacroType, rlAutoSmartPortParamsTable=rlAutoSmartPortParamsTable, rlAutoSmartPortPortType=rlAutoSmartPortPortType, rlAutoSmartPortTypesType=rlAutoSmartPortTypesType, rlAutoSmartPortMacro=rlAutoSmartPortMacro, rlAutoSmartPortPersistency=rlAutoSmartPortPersistency, PYSNMP_MODULE_ID=rlEventsMib, rlAutoSmartTrunkRefreshTable=rlAutoSmartTrunkRefreshTable, rlAutoSmartPortLastVoiceVlanId=rlAutoSmartPortLastVoiceVlanId, rlAutoSmartPortPortsTable=rlAutoSmartPortPortsTable, rlAutoSmartPortParamOrder=rlAutoSmartPortParamOrder, rlEventsMib=rlEventsMib, rlAutoSmartPortIfIndex=rlAutoSmartPortIfIndex, SmartPortMacroParameterName=SmartPortMacroParameterName, rlAutoSmartPortParamValue=rlAutoSmartPortParamValue, rlAutoSmartTrunkRefreshEntry=rlAutoSmartTrunkRefreshEntry, SmartPortMacroParameterOrder=SmartPortMacroParameterOrder, rlAutoSmartPortMacrosParamEntry=rlAutoSmartPortMacrosParamEntry, rlAutoSmartPortMacrosParamValue=rlAutoSmartPortMacrosParamValue, rlAutoSmartPortSetLearntPortType=rlAutoSmartPortSetLearntPortType)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_range_constraint, value_size_constraint, single_value_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueRangeConstraint', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection') (switch001,) = mibBuilder.importSymbols('CISCOSB-MIB', 'switch001') (rl_smart_ports_macro_name_or_zero,) = mibBuilder.importSymbols('CISCOSB-SMARTPORTS-MIB', 'RlSmartPortsMacroNameOrZero') (interface_index, interface_index_or_zero) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex', 'InterfaceIndexOrZero') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (counter32, notification_type, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, counter64, time_ticks, unsigned32, gauge32, mib_identifier, integer32, bits, object_identity, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter32', 'NotificationType', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'Counter64', 'TimeTicks', 'Unsigned32', 'Gauge32', 'MibIdentifier', 'Integer32', 'Bits', 'ObjectIdentity', 'IpAddress') (row_status, truth_value, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TruthValue', 'DisplayString', 'TextualConvention') rl_events_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150)) rlEventsMib.setRevisions(('2010-09-11 00:00',)) if mibBuilder.loadTexts: rlEventsMib.setLastUpdated('201009110000Z') if mibBuilder.loadTexts: rlEventsMib.setOrganization('Cisco Small Business') class Smartporttype(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)) named_values = named_values(('unknown', 1), ('default', 2), ('printer', 3), ('desktop', 4), ('guest', 5), ('server', 6), ('host', 7), ('ip-camera', 8), ('ip-phone', 9), ('ip-phone-desktop', 10), ('switch', 11), ('router', 12), ('ap', 13)) class Smartportmacroparametername(DisplayString): status = 'current' subtype_spec = DisplayString.subtypeSpec + value_size_constraint(1, 32) class Smartportmacroparametervalue(DisplayString): status = 'current' subtype_spec = DisplayString.subtypeSpec + value_size_constraint(1, 80) class Smartportmacrotype(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('built-in', 1), ('user-defined', 2)) class Smartportmacroparameterorder(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('single', 1), ('first', 2), ('middle', 3), ('last', 4)) rl_port_events = mib_identifier((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1)) rl_auto_smart_port_admin_status = mib_scalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2), ('controlled', 3))).clone('controlled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortAdminStatus.setStatus('current') rl_auto_smart_port_oper_status = mib_scalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: rlAutoSmartPortOperStatus.setStatus('current') rl_auto_smart_port_last_voice_vlan_status = mib_scalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: rlAutoSmartPortLastVoiceVlanStatus.setStatus('current') rl_auto_smart_port_last_voice_vlan_id = mib_scalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlAutoSmartPortLastVoiceVlanId.setStatus('current') rl_auto_smart_port_learning_protocols = mib_scalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 5), bits().clone(namedValues=named_values(('cdp', 0), ('lldp', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortLearningProtocols.setStatus('current') rl_auto_smart_port_types_table = mib_table((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6)) if mibBuilder.loadTexts: rlAutoSmartPortTypesTable.setStatus('current') rl_auto_smart_port_types_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1)).setIndexNames((0, 'CISCOSB-EVENTS-MIB', 'rlAutoSmartPortTypesType')) if mibBuilder.loadTexts: rlAutoSmartPortTypesEntry.setStatus('current') rl_auto_smart_port_types_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 1), smart_port_type()) if mibBuilder.loadTexts: rlAutoSmartPortTypesType.setStatus('current') rl_auto_smart_port_type_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2), ('default', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortTypeStatus.setStatus('current') rl_auto_smart_port_macro = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 3), rl_smart_ports_macro_name_or_zero()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortMacro.setStatus('current') rl_auto_smart_port_types_revert_to_default_macro = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 4), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortTypesRevertToDefaultMacro.setStatus('current') rl_auto_smart_port_types_revert_to_default_params = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 5), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortTypesRevertToDefaultParams.setStatus('current') rl_auto_smart_port_types_builtin_macro = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 6, 1, 6), smart_port_macro_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlAutoSmartPortTypesBuiltinMacro.setStatus('current') rl_auto_smart_port_macros_param_table = mib_table((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7)) if mibBuilder.loadTexts: rlAutoSmartPortMacrosParamTable.setStatus('current') rl_auto_smart_port_macros_param_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7, 1)).setIndexNames((0, 'CISCOSB-EVENTS-MIB', 'rlAutoSmartPortTypesType'), (0, 'CISCOSB-EVENTS-MIB', 'rlAutoSmartPortMacroType'), (1, 'CISCOSB-EVENTS-MIB', 'rlAutoSmartPortMacrosParamName')) if mibBuilder.loadTexts: rlAutoSmartPortMacrosParamEntry.setStatus('current') rl_auto_smart_port_macro_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7, 1, 1), smart_port_macro_type()) if mibBuilder.loadTexts: rlAutoSmartPortMacroType.setStatus('current') rl_auto_smart_port_macros_param_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7, 1, 2), smart_port_macro_parameter_name()) if mibBuilder.loadTexts: rlAutoSmartPortMacrosParamName.setStatus('current') rl_auto_smart_port_macros_param_order = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7, 1, 3), smart_port_macro_parameter_order()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortMacrosParamOrder.setStatus('current') rl_auto_smart_port_macros_param_value = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 7, 1, 4), smart_port_macro_parameter_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortMacrosParamValue.setStatus('current') rl_auto_smart_port_ports_table = mib_table((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8)) if mibBuilder.loadTexts: rlAutoSmartPortPortsTable.setStatus('current') rl_auto_smart_port_ports_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1)).setIndexNames((0, 'CISCOSB-EVENTS-MIB', 'rlAutoSmartPortPort')) if mibBuilder.loadTexts: rlAutoSmartPortPortsEntry.setStatus('current') rl_auto_smart_port_port = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 1), interface_index()) if mibBuilder.loadTexts: rlAutoSmartPortPort.setStatus('current') rl_auto_smart_port_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 2), 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: rlAutoSmartPortPortStatus.setStatus('current') rl_auto_smart_port_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 3), smart_port_type().clone('default')).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortPortType.setStatus('current') rl_auto_smart_port_persistency = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('persistent', 1), ('not-persistent', 2))).clone('not-persistent')).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortPersistency.setStatus('current') rl_auto_smart_port_learnt_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 5), smart_port_type().clone('default')).setMaxAccess('readonly') if mibBuilder.loadTexts: rlAutoSmartPortLearntPortType.setStatus('current') rl_auto_smart_port_port_acquiring_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('default', 1), ('configuration', 2), ('persistency', 3), ('learning', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortPortAcquiringType.setStatus('current') rl_auto_smart_port_last_activated_macro = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 7), rl_smart_ports_macro_name_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlAutoSmartPortLastActivatedMacro.setStatus('current') rl_auto_smart_port_failed_command_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlAutoSmartPortFailedCommandNumber.setStatus('current') rl_auto_smart_port_set_learnt_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 8, 1, 9), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortSetLearntPortType.setStatus('current') rl_auto_smart_port_params_table = mib_table((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9)) if mibBuilder.loadTexts: rlAutoSmartPortParamsTable.setStatus('current') rl_auto_smart_port_params_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9, 1)).setIndexNames((0, 'CISCOSB-EVENTS-MIB', 'rlAutoSmartPortIfIndex'), (1, 'CISCOSB-EVENTS-MIB', 'rlAutoSmartPortParamName')) if mibBuilder.loadTexts: rlAutoSmartPortParamsEntry.setStatus('current') rl_auto_smart_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9, 1, 1), interface_index()) if mibBuilder.loadTexts: rlAutoSmartPortIfIndex.setStatus('current') rl_auto_smart_port_param_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9, 1, 2), smart_port_macro_parameter_name()) if mibBuilder.loadTexts: rlAutoSmartPortParamName.setStatus('current') rl_auto_smart_port_param_order = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9, 1, 3), smart_port_macro_parameter_order()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rlAutoSmartPortParamOrder.setStatus('current') rl_auto_smart_port_param_value = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 9, 1, 4), smart_port_macro_parameter_value()) if mibBuilder.loadTexts: rlAutoSmartPortParamValue.setStatus('current') rl_auto_smart_trunk_refresh_table = mib_table((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 10)) if mibBuilder.loadTexts: rlAutoSmartTrunkRefreshTable.setStatus('current') rl_auto_smart_trunk_refresh_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 10, 1)).setIndexNames((0, 'CISCOSB-EVENTS-MIB', 'rlAutoSmartTrunkRefreshSmartPortType'), (0, 'CISCOSB-EVENTS-MIB', 'rlAutoSmartTrunkRefreshIfIndex')) if mibBuilder.loadTexts: rlAutoSmartTrunkRefreshEntry.setStatus('current') rl_auto_smart_trunk_refresh_smart_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 11, 12, 13))).clone(namedValues=named_values(('default', 1), ('switch', 11), ('router', 12), ('ap', 13)))) if mibBuilder.loadTexts: rlAutoSmartTrunkRefreshSmartPortType.setStatus('current') rl_auto_smart_trunk_refresh_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 10, 1, 2), interface_index_or_zero()) if mibBuilder.loadTexts: rlAutoSmartTrunkRefreshIfIndex.setStatus('current') rl_auto_smart_trunk_refresh_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 10, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: rlAutoSmartTrunkRefreshRowStatus.setStatus('current') rl_auto_smart_busy = mib_scalar((1, 3, 6, 1, 4, 1, 9, 6, 1, 101, 150, 1, 11), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: rlAutoSmartBusy.setStatus('current') mibBuilder.exportSymbols('CISCOSB-EVENTS-MIB', rlAutoSmartPortPort=rlAutoSmartPortPort, rlAutoSmartPortLastVoiceVlanStatus=rlAutoSmartPortLastVoiceVlanStatus, rlAutoSmartPortTypesRevertToDefaultMacro=rlAutoSmartPortTypesRevertToDefaultMacro, rlAutoSmartPortTypesBuiltinMacro=rlAutoSmartPortTypesBuiltinMacro, rlAutoSmartPortMacrosParamTable=rlAutoSmartPortMacrosParamTable, rlAutoSmartPortFailedCommandNumber=rlAutoSmartPortFailedCommandNumber, rlAutoSmartTrunkRefreshIfIndex=rlAutoSmartTrunkRefreshIfIndex, rlPortEvents=rlPortEvents, rlAutoSmartPortLearningProtocols=rlAutoSmartPortLearningProtocols, rlAutoSmartPortParamName=rlAutoSmartPortParamName, SmartPortMacroType=SmartPortMacroType, rlAutoSmartBusy=rlAutoSmartBusy, rlAutoSmartPortMacrosParamName=rlAutoSmartPortMacrosParamName, rlAutoSmartPortOperStatus=rlAutoSmartPortOperStatus, rlAutoSmartPortTypesTable=rlAutoSmartPortTypesTable, rlAutoSmartPortPortsEntry=rlAutoSmartPortPortsEntry, rlAutoSmartPortTypesEntry=rlAutoSmartPortTypesEntry, rlAutoSmartPortTypeStatus=rlAutoSmartPortTypeStatus, rlAutoSmartPortPortAcquiringType=rlAutoSmartPortPortAcquiringType, SmartPortMacroParameterValue=SmartPortMacroParameterValue, rlAutoSmartPortPortStatus=rlAutoSmartPortPortStatus, SmartPortType=SmartPortType, rlAutoSmartPortTypesRevertToDefaultParams=rlAutoSmartPortTypesRevertToDefaultParams, rlAutoSmartPortLastActivatedMacro=rlAutoSmartPortLastActivatedMacro, rlAutoSmartPortMacrosParamOrder=rlAutoSmartPortMacrosParamOrder, rlAutoSmartTrunkRefreshSmartPortType=rlAutoSmartTrunkRefreshSmartPortType, rlAutoSmartPortLearntPortType=rlAutoSmartPortLearntPortType, rlAutoSmartTrunkRefreshRowStatus=rlAutoSmartTrunkRefreshRowStatus, rlAutoSmartPortAdminStatus=rlAutoSmartPortAdminStatus, rlAutoSmartPortParamsEntry=rlAutoSmartPortParamsEntry, rlAutoSmartPortMacroType=rlAutoSmartPortMacroType, rlAutoSmartPortParamsTable=rlAutoSmartPortParamsTable, rlAutoSmartPortPortType=rlAutoSmartPortPortType, rlAutoSmartPortTypesType=rlAutoSmartPortTypesType, rlAutoSmartPortMacro=rlAutoSmartPortMacro, rlAutoSmartPortPersistency=rlAutoSmartPortPersistency, PYSNMP_MODULE_ID=rlEventsMib, rlAutoSmartTrunkRefreshTable=rlAutoSmartTrunkRefreshTable, rlAutoSmartPortLastVoiceVlanId=rlAutoSmartPortLastVoiceVlanId, rlAutoSmartPortPortsTable=rlAutoSmartPortPortsTable, rlAutoSmartPortParamOrder=rlAutoSmartPortParamOrder, rlEventsMib=rlEventsMib, rlAutoSmartPortIfIndex=rlAutoSmartPortIfIndex, SmartPortMacroParameterName=SmartPortMacroParameterName, rlAutoSmartPortParamValue=rlAutoSmartPortParamValue, rlAutoSmartTrunkRefreshEntry=rlAutoSmartTrunkRefreshEntry, SmartPortMacroParameterOrder=SmartPortMacroParameterOrder, rlAutoSmartPortMacrosParamEntry=rlAutoSmartPortMacrosParamEntry, rlAutoSmartPortMacrosParamValue=rlAutoSmartPortMacrosParamValue, rlAutoSmartPortSetLearntPortType=rlAutoSmartPortSetLearntPortType)
# https://leetcode.com/problems/lru-cache/ class Node: def __init__(self, key, value, nxt=None, prev=None): self.key = key self.value = value self.next = nxt self.prev = prev class LRUCache: def __init__(self, capacity: int): self.capacity = capacity self.map = dict() # Setup doubly linked list self.linked_list_head = Node(None, None) self.linked_list_tail = Node(None, None, None, self.linked_list_head) self.linked_list_head.next = self.linked_list_tail def get(self, key: int) -> int: if key not in self.map: return -1 curNode = self.map[key] # Remove from list curNode.prev.next = curNode.next curNode.next.prev = curNode.prev # Add to front curNode.next = self.linked_list_head.next curNode.next.prev = curNode self.linked_list_head.next = curNode curNode.prev = self.linked_list_head return curNode.value def put(self, key: int, value: int) -> None: if key in self.map: self.map[key].value = value self.get(key) return if len(self.map) >= self.capacity: nodeToEvict = self.linked_list_tail.prev # Remove the node from list self.linked_list_tail.prev = nodeToEvict.prev nodeToEvict.prev.next = self.linked_list_tail # Remove from map del self.map[nodeToEvict.key] # Add to front curNode = Node(key, value, self.linked_list_head.next, self.linked_list_head) self.linked_list_head.next = curNode curNode.next.prev = curNode # Add to map self.map[key] = curNode # Your LRUCache object will be instantiated and called as such: # obj = LRUCache(capacity) # param_1 = obj.get(key) # obj.put(key,value)
class Node: def __init__(self, key, value, nxt=None, prev=None): self.key = key self.value = value self.next = nxt self.prev = prev class Lrucache: def __init__(self, capacity: int): self.capacity = capacity self.map = dict() self.linked_list_head = node(None, None) self.linked_list_tail = node(None, None, None, self.linked_list_head) self.linked_list_head.next = self.linked_list_tail def get(self, key: int) -> int: if key not in self.map: return -1 cur_node = self.map[key] curNode.prev.next = curNode.next curNode.next.prev = curNode.prev curNode.next = self.linked_list_head.next curNode.next.prev = curNode self.linked_list_head.next = curNode curNode.prev = self.linked_list_head return curNode.value def put(self, key: int, value: int) -> None: if key in self.map: self.map[key].value = value self.get(key) return if len(self.map) >= self.capacity: node_to_evict = self.linked_list_tail.prev self.linked_list_tail.prev = nodeToEvict.prev nodeToEvict.prev.next = self.linked_list_tail del self.map[nodeToEvict.key] cur_node = node(key, value, self.linked_list_head.next, self.linked_list_head) self.linked_list_head.next = curNode curNode.next.prev = curNode self.map[key] = curNode
#memocate.py: The Trivial Memory Allocator in Python #Disclaimer: Use this at your own discretion. I am not responsible for anything that happens. #Author: TD #initialization a = "a" mode = input("(0) Intensive or (1) Safe: ") #Storing string to memory until overflow. #Concatenating Runtime: O(n) if(mode): print("Safe Mode O(n)") while(1): a = a + "a" #Concatenating Runtime O(n^2) else: print("Intensive Mode O(n^2)") while(1): a = a + a
a = 'a' mode = input('(0) Intensive or (1) Safe: ') if mode: print('Safe Mode O(n)') while 1: a = a + 'a' else: print('Intensive Mode O(n^2)') while 1: a = a + a
# # @lc app=leetcode id=1275 lang=python3 # # [1275] Find Winner on a Tic Tac Toe Game # # @lc code=start class Solution: def tictactoe(self, moves: list[list[int]]) -> str: rows, cols, hill, dale, mark = [0, 0, 0], [0, 0, 0], 0, 0, 1 for i, j in moves: rows[i] += mark cols[j] += mark hill += mark * (i == 2 - j) dale += mark * (i == j) if abs(rows[i]) == 3: return "A" if rows[i] == 3 else "B" elif abs(cols[j]) == 3: return "A" if cols[j] == 3 else "B" elif abs(hill) == 3: return "A" if hill == 3 else "B" elif abs(dale) == 3: return "A" if dale == 3 else "B" mark = -mark return "Pending" if len(moves) < 9 else "Draw" # @lc code=end
class Solution: def tictactoe(self, moves: list[list[int]]) -> str: (rows, cols, hill, dale, mark) = ([0, 0, 0], [0, 0, 0], 0, 0, 1) for (i, j) in moves: rows[i] += mark cols[j] += mark hill += mark * (i == 2 - j) dale += mark * (i == j) if abs(rows[i]) == 3: return 'A' if rows[i] == 3 else 'B' elif abs(cols[j]) == 3: return 'A' if cols[j] == 3 else 'B' elif abs(hill) == 3: return 'A' if hill == 3 else 'B' elif abs(dale) == 3: return 'A' if dale == 3 else 'B' mark = -mark return 'Pending' if len(moves) < 9 else 'Draw'
''' File: imports.py Project: src File Created: Sunday, 28th February 2021 3:10:35 am Author: Sparsh Dutta ([email protected]) ----- Last Modified: Sunday, 28th February 2021 3:10:35 am Modified By: Sparsh Dutta ([email protected]>) ----- Copyright 2021 Sparsh Dutta '''
""" File: imports.py Project: src File Created: Sunday, 28th February 2021 3:10:35 am Author: Sparsh Dutta ([email protected]) ----- Last Modified: Sunday, 28th February 2021 3:10:35 am Modified By: Sparsh Dutta ([email protected]>) ----- Copyright 2021 Sparsh Dutta """
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def geometric_mid(*args): if args: ans = 1 for item in args: ans *= item return pow(ans, 1/len(args)) else: return None if __name__ == "__main__": print(geometric_mid()) print(geometric_mid(5, 4, 2, 8, 9)) print(geometric_mid(3, 7, 4, 9, 4, 5))
def geometric_mid(*args): if args: ans = 1 for item in args: ans *= item return pow(ans, 1 / len(args)) else: return None if __name__ == '__main__': print(geometric_mid()) print(geometric_mid(5, 4, 2, 8, 9)) print(geometric_mid(3, 7, 4, 9, 4, 5))
# Compute mean of combined data set: combined_mean combined_mean = np.mean(np.concatenate((bd_1975, bd_2012))) # Shift the samples bd_1975_shifted = bd_1975 - np.mean(bd_1975) + combined_mean bd_2012_shifted = bd_2012 - np.mean(bd_2012) + combined_mean # Get bootstrap replicates of shifted data sets bs_replicates_1975 = draw_bs_reps(bd_1975_shifted, np.mean, 10000) bs_replicates_2012 = draw_bs_reps(bd_2012_shifted, np.mean, 10000) # Compute replicates of difference of means: bs_diff_replicates bs_diff_replicates = bs_replicates_2012 - bs_replicates_1975 # Compute the p-value: p p = np.sum(bs_diff_replicates >= mean_diff) / len(bs_diff_replicates) # Print p-value print('p =', p)
combined_mean = np.mean(np.concatenate((bd_1975, bd_2012))) bd_1975_shifted = bd_1975 - np.mean(bd_1975) + combined_mean bd_2012_shifted = bd_2012 - np.mean(bd_2012) + combined_mean bs_replicates_1975 = draw_bs_reps(bd_1975_shifted, np.mean, 10000) bs_replicates_2012 = draw_bs_reps(bd_2012_shifted, np.mean, 10000) bs_diff_replicates = bs_replicates_2012 - bs_replicates_1975 p = np.sum(bs_diff_replicates >= mean_diff) / len(bs_diff_replicates) print('p =', p)
__author__ = "Max Dippel, Michael Burkart and Matthias Urban" __version__ = "0.0.1" __license__ = "BSD" CSConfig = dict() # SchedulerStepLR step_lr = dict() step_lr['step_size'] = (1, 10) step_lr['gamma'] = (0.001, 0.9) CSConfig['step_lr'] = step_lr # SchedulerExponentialLR exponential_lr = dict() exponential_lr['gamma'] = (0.8, 0.9999) CSConfig['exponential_lr'] = exponential_lr # SchedulerReduceLROnPlateau reduce_on_plateau = dict() reduce_on_plateau['factor'] = (0.05, 0.5) reduce_on_plateau['patience'] = (3, 10) CSConfig['reduce_on_plateau'] = reduce_on_plateau # SchedulerCyclicLR cyclic_lr = dict() cyclic_lr['max_factor'] = (1.0, 2) cyclic_lr['min_factor'] = (0.001, 1.0) cyclic_lr['cycle_length'] = (3, 10) CSConfig['cyclic_lr'] = cyclic_lr # SchedulerCosineAnnealingWithRestartsLR cosine_annealing_lr = dict() cosine_annealing_lr['T_max'] = (1, 20) cosine_annealing_lr['T_mult'] = (1.0, 2.0) CSConfig['cosine_annealing_lr'] = cosine_annealing_lr
__author__ = 'Max Dippel, Michael Burkart and Matthias Urban' __version__ = '0.0.1' __license__ = 'BSD' cs_config = dict() step_lr = dict() step_lr['step_size'] = (1, 10) step_lr['gamma'] = (0.001, 0.9) CSConfig['step_lr'] = step_lr exponential_lr = dict() exponential_lr['gamma'] = (0.8, 0.9999) CSConfig['exponential_lr'] = exponential_lr reduce_on_plateau = dict() reduce_on_plateau['factor'] = (0.05, 0.5) reduce_on_plateau['patience'] = (3, 10) CSConfig['reduce_on_plateau'] = reduce_on_plateau cyclic_lr = dict() cyclic_lr['max_factor'] = (1.0, 2) cyclic_lr['min_factor'] = (0.001, 1.0) cyclic_lr['cycle_length'] = (3, 10) CSConfig['cyclic_lr'] = cyclic_lr cosine_annealing_lr = dict() cosine_annealing_lr['T_max'] = (1, 20) cosine_annealing_lr['T_mult'] = (1.0, 2.0) CSConfig['cosine_annealing_lr'] = cosine_annealing_lr
# [8 kyu] Double Char # # Author: Hsins # Date: 2019/11/28 def two_sort(array): word = sorted(array)[0] return "".join(c + '***' for c in word)[0:-3]
def two_sort(array): word = sorted(array)[0] return ''.join((c + '***' for c in word))[0:-3]
def func(x,y): if(y == 0): return 0 else: print(x,y) return x + func(x,y-1) func(10,10)
def func(x, y): if y == 0: return 0 else: print(x, y) return x + func(x, y - 1) func(10, 10)
class Params: # the most important parameter random_seed = 224422 # system params verbose = True device = None # to be set on runtime num_workers = 2 # dataset params datasets_dir = 'datasets' dataset = 'churches' train_suffix = 'train' valid_suffix = 'val' flip = True normalize = True # images params image_size = (512, 1024) input_left = True in_channels = 3 out_channels = 3 # experimenter params runs_dir = 'runs' save_checkpoints = True load_checkpoint = None checkpoints_subdir = 'checkpoints' checkpoints_template = 'pix2pix{}.pt' checkpoints_freq = 10 examples_subdir = 'examples' metadata_file = 'metadata.json' metrics_file = 'metrics.json' examples_ids = [6, 9, 11, 16, 45] # generator params generator_channels = 64 generator_layers = 4 generator_kernel = 5 generator_dropout = 0.5 generator_norm = 'instance' # discriminator params adversarial = True discriminator_channels = 64 discriminator_layers = 3 discriminator_norm = 'instance' # train params batch_size = 4 num_epochs = 50 lr = 3e-4 loss = 'L2' loss_lambda = 100.0 def set_params(): return Params()
class Params: random_seed = 224422 verbose = True device = None num_workers = 2 datasets_dir = 'datasets' dataset = 'churches' train_suffix = 'train' valid_suffix = 'val' flip = True normalize = True image_size = (512, 1024) input_left = True in_channels = 3 out_channels = 3 runs_dir = 'runs' save_checkpoints = True load_checkpoint = None checkpoints_subdir = 'checkpoints' checkpoints_template = 'pix2pix{}.pt' checkpoints_freq = 10 examples_subdir = 'examples' metadata_file = 'metadata.json' metrics_file = 'metrics.json' examples_ids = [6, 9, 11, 16, 45] generator_channels = 64 generator_layers = 4 generator_kernel = 5 generator_dropout = 0.5 generator_norm = 'instance' adversarial = True discriminator_channels = 64 discriminator_layers = 3 discriminator_norm = 'instance' batch_size = 4 num_epochs = 50 lr = 0.0003 loss = 'L2' loss_lambda = 100.0 def set_params(): return params()
# # Example file for working with functions # # define a basic function def func1(): print ("I am a function") # function that takes arguments def func2(arg1, arg2): print (arg1, " ", arg2) # function that returns a value def cube(x): return x*x*x # function with default value for an argument def power(num, x=1): result = 1; for i in range(x): result = result * num return result #function with variable number of arguments def multi_add(*args): result = 0; for x in args: result = result + x return result #func1() #print (func1()) #print (func1) #func2(10,20) #print (func2(10,20)) #print (func2) #print (cube(3)) #print (power(2)) #print (power(2,3)) print (power(x=10, num=10)) #print (multi_add(4,5,10,4))
def func1(): print('I am a function') def func2(arg1, arg2): print(arg1, ' ', arg2) def cube(x): return x * x * x def power(num, x=1): result = 1 for i in range(x): result = result * num return result def multi_add(*args): result = 0 for x in args: result = result + x return result print(power(x=10, num=10))
name = input("Enter lenght of name: ") if len(name) < 3: print("name must be at least 3 characters") elif len(name) > 50: print("name can be a maximum of 50 characters") else: print("name looks good!")
name = input('Enter lenght of name: ') if len(name) < 3: print('name must be at least 3 characters') elif len(name) > 50: print('name can be a maximum of 50 characters') else: print('name looks good!')
# File: Lists_inside_Dictionary_in_Python.py # Description: Calculating the scores of sports team by using Lists inside Dictionary # Environment: PyCharm and Anaconda environment # # MIT License # Copyright (c) 2018 Valentyn N Sichkar # github.com/sichkar-valentyn # Reference to: # [1] Valentyn N Sichkar. Lists inside Dictionary in Python // GitHub platform [Electronic resource]. URL: https://github.com/sichkar-valentyn/Lists_inside_Dictionary_in_Python (date of access: XX.XX.XXXX) # Implementing the task # Lists inside dictionary # Calculating the scores of sports team n = int(input()) # number of games string = '' d = {} # Format of input is following: # Team;score;Team;score for i in range(n): string = input().split(';') # If there is no yet teams in the dictionary if string[0] not in d: d[string[0]] = [1, 0, 0, 0, 0] else: d[string[0]][0] += 1 if string[2] not in d: d[string[2]] = [1, 0, 0, 0, 0] else: d[string[2]][0] += 1 # Calculating data if int(string[1]) > int(string[3]): # Who wins d[string[0]][1] += 1 d[string[0]][4] += 3 d[string[2]][3] += 1 elif int(string[1]) == int(string[3]): # If draw d[string[0]][2] += 1 d[string[2]][2] += 1 d[string[0]][4] += 1 d[string[2]][4] += 1 elif int(string[1]) < int(string[3]): # Who loses d[string[2]][1] += 1 d[string[2]][4] += 3 d[string[0]][3] += 1 # Showing the table with results # Format of output is following: # Team: number_of_games number_of_wins number_of_draw_games number_of_lost_games score_of_win_games for x, y in d.items(): print(x, end=':') for z in y: print(z, end=' ') print()
n = int(input()) string = '' d = {} for i in range(n): string = input().split(';') if string[0] not in d: d[string[0]] = [1, 0, 0, 0, 0] else: d[string[0]][0] += 1 if string[2] not in d: d[string[2]] = [1, 0, 0, 0, 0] else: d[string[2]][0] += 1 if int(string[1]) > int(string[3]): d[string[0]][1] += 1 d[string[0]][4] += 3 d[string[2]][3] += 1 elif int(string[1]) == int(string[3]): d[string[0]][2] += 1 d[string[2]][2] += 1 d[string[0]][4] += 1 d[string[2]][4] += 1 elif int(string[1]) < int(string[3]): d[string[2]][1] += 1 d[string[2]][4] += 3 d[string[0]][3] += 1 for (x, y) in d.items(): print(x, end=':') for z in y: print(z, end=' ') print()
my_list = [1, 2, 3, 4, 5, 6, 7, 8] def filter_iter(list, pred): filtered = [] for i in list: if pred(i): filtered.append(i) return filtered def filter_beautiful(list, pred): return [x for x in list if pred(x)] def even(x): return x % 2 == 0 print(filter_iter(my_list, even)) print(filter_beautiful(my_list, even))
my_list = [1, 2, 3, 4, 5, 6, 7, 8] def filter_iter(list, pred): filtered = [] for i in list: if pred(i): filtered.append(i) return filtered def filter_beautiful(list, pred): return [x for x in list if pred(x)] def even(x): return x % 2 == 0 print(filter_iter(my_list, even)) print(filter_beautiful(my_list, even))
title=xpath("div[@class=BlogTitle]") urls="http://my\\.oschina\\.net/flashsword/blog/\\d+" result={"title":title,"urls":urls}
title = xpath('div[@class=BlogTitle]') urls = 'http://my\\.oschina\\.net/flashsword/blog/\\d+' result = {'title': title, 'urls': urls}
print("nihao,shijie") print("lalalalal") print("ninniiiinnij")
print('nihao,shijie') print('lalalalal') print('ninniiiinnij')
for _ in range(int(input())): n=int(input()) nums=list(map(int, input().split())) ini=10**5 for i in range(n): if ini>nums[i]: ini=nums[i] res=i print(res+1)
for _ in range(int(input())): n = int(input()) nums = list(map(int, input().split())) ini = 10 ** 5 for i in range(n): if ini > nums[i]: ini = nums[i] res = i print(res + 1)
# # Copyright (C) 2018 SecurityCentral Contributors see LICENSE for license # ''' This base platform module exports platform dependant constants. ''' class SecurityCentralPlatformBaseConstants(object): pass
""" This base platform module exports platform dependant constants. """ class Securitycentralplatformbaseconstants(object): pass
expected_output = { 'Et0/2:12': { 'type': 'BD_PORT', 'is_path_list': False, 'port': 'Et0/2:12' }, '[IR]20012:2.2.2.2': { 'type':'VXLAN_REP', 'is_path_list': True, 'path_list': { 'id': 1191, 'path_count': 1, 'type': 'VXLAN_REP', 'description': '[IR]20012:2.2.2.2' } }, '[IR]20012:3.3.3.2': { 'type':'VXLAN_REP', 'is_path_list': True, 'path_list': { 'id': 1184, 'path_count': 1, 'type': 'VXLAN_REP', 'description': '[IR]20012:3.3.3.2' } } }
expected_output = {'Et0/2:12': {'type': 'BD_PORT', 'is_path_list': False, 'port': 'Et0/2:12'}, '[IR]20012:2.2.2.2': {'type': 'VXLAN_REP', 'is_path_list': True, 'path_list': {'id': 1191, 'path_count': 1, 'type': 'VXLAN_REP', 'description': '[IR]20012:2.2.2.2'}}, '[IR]20012:3.3.3.2': {'type': 'VXLAN_REP', 'is_path_list': True, 'path_list': {'id': 1184, 'path_count': 1, 'type': 'VXLAN_REP', 'description': '[IR]20012:3.3.3.2'}}}
#!/usr/bin/env python # -*- coding: utf-8; -*- # Copyright (c) 2020, 2022 Oracle and/or its affiliates. # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/ class Timeseries: def __init__(self, col_name, df, date_range=None, min=None, max=None): self.col_name = col_name self.df = df self.date_range = date_range self.min = min self.max = max def plot(self, **kwargs): # this could be improved :) pass
class Timeseries: def __init__(self, col_name, df, date_range=None, min=None, max=None): self.col_name = col_name self.df = df self.date_range = date_range self.min = min self.max = max def plot(self, **kwargs): pass
nums = input('Please enter 5 numbers, separated by commas:\n') nums1 = nums.split(',') #print('You entered ' + nums1[0] + ', ' + nums1[1] + ', ' + nums1[2] + ', ' + nums1[3] + ', ' + nums1[4] + ', ' ) print('You entered ' + nums1[0] + ', ' + nums1[1] + ', ' + nums1[2] + ', ' + nums1[3] + ', ' + nums1[4] +'.') nums1[0] = int(nums1[0]) nums1[1] = int(nums1[1]) nums1[2] = int(nums1[2]) nums1[3] = int(nums1[3]) nums1[4] = int(nums1[4]) total = (nums1[0] + nums1[1] + nums1[2] + nums1[3] + nums1[4]) total = str(total) print('The sum is: ' + total)
nums = input('Please enter 5 numbers, separated by commas:\n') nums1 = nums.split(',') print('You entered ' + nums1[0] + ', ' + nums1[1] + ', ' + nums1[2] + ', ' + nums1[3] + ', ' + nums1[4] + '.') nums1[0] = int(nums1[0]) nums1[1] = int(nums1[1]) nums1[2] = int(nums1[2]) nums1[3] = int(nums1[3]) nums1[4] = int(nums1[4]) total = nums1[0] + nums1[1] + nums1[2] + nums1[3] + nums1[4] total = str(total) print('The sum is: ' + total)
# Licensed to the StackStorm, Inc ('StackStorm') under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. class VmwareTagActions(object): # vSphere Automation API (6.5) # API Reference: https://code.vmware.com/web/dp/explorer-apis?id=191 def __init__(self, session, url_base): self.session = session self.url_base = url_base ############################################################################ # Request Actions def make_url(self, endpoint): return self.url_base + endpoint def get(self, endpoint): url = self.make_url(endpoint) response = self.session.get(url) response.raise_for_status() return response.json() def post(self, endpoint, payload=None): url = self.make_url(endpoint) response = self.session.post(url, json=payload) response.raise_for_status() if response.text: return response.json() return None def delete(self, endpoint, payload=None): url = self.make_url(endpoint) response = self.session.delete(url, json=payload) response.raise_for_status() if response.text: return response.json() return None ############################################################################ # Category Functions def category_list(self): response = self.get("/rest/com/vmware/cis/tagging/category") return response['value'] def category_get(self, category_id): response = self.get("/rest/com/vmware/cis/tagging/category/id:{}".format(category_id)) return response['value'] def category_delete(self, category_id): response = self.delete("/rest/com/vmware/cis/tagging/category/id:{}".format(category_id)) return response def category_find_by_name(self, name): category_id_list = self.category_list() for category_id in category_id_list: category = self.category_get(category_id) if category["name"] == name: return category return None def category_create_spec(self): return {"name": "", "description": "", "cardinality": "SINGLE", # "SINGLE", "MULTIPLE" "associable_types": ["VirtualMachine"]} # One or more VMWARE_OBJECT_TYPES def category_create(self, name, description=None, cardinality=None, associable_types=None): create_spec = self.category_create_spec() create_spec['name'] = name if description: create_spec['description'] = description if cardinality: create_spec['cardinality'] = cardinality if associable_types is not None: create_spec['associable_types'] = associable_types response = self.post("/rest/com/vmware/cis/tagging/category", payload={'create_spec': create_spec}) return response['value'] def category_get_or_create(self, name, description=None, cardinality=None, associable_types=None): category = self.category_find_by_name(name) if not category: # on success this returns the new category's id category_id = self.category_create(name, description, cardinality, associable_types) category = self.category_get(category_id) return category ############################################################################ # Tag Functions def tag_list(self, category_id=None): # Return all tags from the given category, or all tags from all categories if category_id: response = self.post("/rest/com/vmware/cis/tagging/tag/id:{}?~action=" "list-tags-for-category".format(category_id)) else: response = self.get("/rest/com/vmware/cis/tagging/tag") return response["value"] def tag_get(self, tag_id): response = self.get("/rest/com/vmware/cis/tagging/tag/id:{}".format(tag_id)) return response['value'] def tag_delete(self, tag_id): response = self.delete("/rest/com/vmware/cis/tagging/tag/id:{}".format(tag_id)) return response # If a category ID is not given then this will return the first tag it finds with the given name def tag_find_by_name(self, name, category_id=None): tag_id_list = self.tag_list(category_id) for tag_id in tag_id_list: tag = self.tag_get(tag_id) if tag['name'] == name: return tag return None def tag_create_spec(self): return {"name": "", "description": "", "category_id": ""} def tag_create(self, name, category_id, description=None): create_spec = self.tag_create_spec() create_spec["name"] = name create_spec["category_id"] = category_id if description: create_spec["description"] = description response = self.post("/rest/com/vmware/cis/tagging/tag", payload={"create_spec": create_spec}) return response["value"] # This does not create a new category, it will fail if the given category ID doesn't exist def tag_get_or_create(self, name, category_id, description=None): tag = self.tag_find_by_name(name, category_id) if not tag: # on success this returns the new tag's id created_tag_id = self.tag_create(name, category_id, description) tag = self.tag_get(created_tag_id) return tag ############################################################################ # Tag Association Functions def tag_association_endpoint(self, action, tag_id=None): if tag_id: return "/rest/com/vmware/cis/tagging/tag-association/id:{}?~action={}".format(tag_id, action) else: return "/rest/com/vmware/cis/tagging/tag-association?~action={}".format(action) def tag_association_attach(self, tag_id, obj_type, obj_id): return self.post(self.tag_association_endpoint("attach", tag_id), payload={"object_id": {"id": obj_id, "type": obj_type}}) def tag_association_attach_multiple(self, tag_ids, obj_type, obj_id): return self.post(self.tag_association_endpoint("attach-multiple-tags-to-object"), payload={"tag_ids": tag_ids, "object_id": {"id": obj_id, "type": obj_type}}) def tag_association_detach(self, tag_id, obj_type, obj_id): return self.post(self.tag_association_endpoint("detach", tag_id), payload={"object_id": {"id": obj_id, "type": obj_type}}) def tag_association_list_attached_tags(self, obj_type, obj_id): response = self.post(self.tag_association_endpoint("list-attached-tags"), payload={"object_id": {"id": obj_id, "type": obj_type}}) return response['value'] def tag_association_list_attached_objects(self, tag_id): response = self.post(self.tag_association_endpoint("list-attached-objects", tag_id)) return response['value'] def tag_association_detach_category(self, category_id, obj_type, obj_id): # get all tags for this object tag_id_list = self.tag_association_list_attached_tags(obj_type, obj_id) # if the tag's category matches category_id then detach the tag results = [] for tag_id in tag_id_list: tag = self.tag_get(tag_id) if tag['category_id'] == category_id: self.tag_association_detach(tag_id, obj_type, obj_id) results.append(tag) return results def tag_association_replace(self, tag_id, obj_type, obj_id): # remove all tags tag = self.tag_get(tag_id) self.tag_association_detach_category(tag['category_id'], obj_type, obj_id) # attach the provided tag in this category to the object return self.tag_association_attach(tag_id, obj_type, obj_id)
class Vmwaretagactions(object): def __init__(self, session, url_base): self.session = session self.url_base = url_base def make_url(self, endpoint): return self.url_base + endpoint def get(self, endpoint): url = self.make_url(endpoint) response = self.session.get(url) response.raise_for_status() return response.json() def post(self, endpoint, payload=None): url = self.make_url(endpoint) response = self.session.post(url, json=payload) response.raise_for_status() if response.text: return response.json() return None def delete(self, endpoint, payload=None): url = self.make_url(endpoint) response = self.session.delete(url, json=payload) response.raise_for_status() if response.text: return response.json() return None def category_list(self): response = self.get('/rest/com/vmware/cis/tagging/category') return response['value'] def category_get(self, category_id): response = self.get('/rest/com/vmware/cis/tagging/category/id:{}'.format(category_id)) return response['value'] def category_delete(self, category_id): response = self.delete('/rest/com/vmware/cis/tagging/category/id:{}'.format(category_id)) return response def category_find_by_name(self, name): category_id_list = self.category_list() for category_id in category_id_list: category = self.category_get(category_id) if category['name'] == name: return category return None def category_create_spec(self): return {'name': '', 'description': '', 'cardinality': 'SINGLE', 'associable_types': ['VirtualMachine']} def category_create(self, name, description=None, cardinality=None, associable_types=None): create_spec = self.category_create_spec() create_spec['name'] = name if description: create_spec['description'] = description if cardinality: create_spec['cardinality'] = cardinality if associable_types is not None: create_spec['associable_types'] = associable_types response = self.post('/rest/com/vmware/cis/tagging/category', payload={'create_spec': create_spec}) return response['value'] def category_get_or_create(self, name, description=None, cardinality=None, associable_types=None): category = self.category_find_by_name(name) if not category: category_id = self.category_create(name, description, cardinality, associable_types) category = self.category_get(category_id) return category def tag_list(self, category_id=None): if category_id: response = self.post('/rest/com/vmware/cis/tagging/tag/id:{}?~action=list-tags-for-category'.format(category_id)) else: response = self.get('/rest/com/vmware/cis/tagging/tag') return response['value'] def tag_get(self, tag_id): response = self.get('/rest/com/vmware/cis/tagging/tag/id:{}'.format(tag_id)) return response['value'] def tag_delete(self, tag_id): response = self.delete('/rest/com/vmware/cis/tagging/tag/id:{}'.format(tag_id)) return response def tag_find_by_name(self, name, category_id=None): tag_id_list = self.tag_list(category_id) for tag_id in tag_id_list: tag = self.tag_get(tag_id) if tag['name'] == name: return tag return None def tag_create_spec(self): return {'name': '', 'description': '', 'category_id': ''} def tag_create(self, name, category_id, description=None): create_spec = self.tag_create_spec() create_spec['name'] = name create_spec['category_id'] = category_id if description: create_spec['description'] = description response = self.post('/rest/com/vmware/cis/tagging/tag', payload={'create_spec': create_spec}) return response['value'] def tag_get_or_create(self, name, category_id, description=None): tag = self.tag_find_by_name(name, category_id) if not tag: created_tag_id = self.tag_create(name, category_id, description) tag = self.tag_get(created_tag_id) return tag def tag_association_endpoint(self, action, tag_id=None): if tag_id: return '/rest/com/vmware/cis/tagging/tag-association/id:{}?~action={}'.format(tag_id, action) else: return '/rest/com/vmware/cis/tagging/tag-association?~action={}'.format(action) def tag_association_attach(self, tag_id, obj_type, obj_id): return self.post(self.tag_association_endpoint('attach', tag_id), payload={'object_id': {'id': obj_id, 'type': obj_type}}) def tag_association_attach_multiple(self, tag_ids, obj_type, obj_id): return self.post(self.tag_association_endpoint('attach-multiple-tags-to-object'), payload={'tag_ids': tag_ids, 'object_id': {'id': obj_id, 'type': obj_type}}) def tag_association_detach(self, tag_id, obj_type, obj_id): return self.post(self.tag_association_endpoint('detach', tag_id), payload={'object_id': {'id': obj_id, 'type': obj_type}}) def tag_association_list_attached_tags(self, obj_type, obj_id): response = self.post(self.tag_association_endpoint('list-attached-tags'), payload={'object_id': {'id': obj_id, 'type': obj_type}}) return response['value'] def tag_association_list_attached_objects(self, tag_id): response = self.post(self.tag_association_endpoint('list-attached-objects', tag_id)) return response['value'] def tag_association_detach_category(self, category_id, obj_type, obj_id): tag_id_list = self.tag_association_list_attached_tags(obj_type, obj_id) results = [] for tag_id in tag_id_list: tag = self.tag_get(tag_id) if tag['category_id'] == category_id: self.tag_association_detach(tag_id, obj_type, obj_id) results.append(tag) return results def tag_association_replace(self, tag_id, obj_type, obj_id): tag = self.tag_get(tag_id) self.tag_association_detach_category(tag['category_id'], obj_type, obj_id) return self.tag_association_attach(tag_id, obj_type, obj_id)
class Solution: def countBits(self, n: int) -> list[int]: res = [] for i in range(n + 1): res.append(bin(i).count("1")) return res class Solution: def countBits(self, n: int) -> list[int]: res = [0] * (n + 1) for x in range(1, n + 1): res[x] = res[x & (x - 1)] + 1 return res
class Solution: def count_bits(self, n: int) -> list[int]: res = [] for i in range(n + 1): res.append(bin(i).count('1')) return res class Solution: def count_bits(self, n: int) -> list[int]: res = [0] * (n + 1) for x in range(1, n + 1): res[x] = res[x & x - 1] + 1 return res
R1_info = { 'device_type': 'cisco_ios', 'ip': '192.168.1.1', 'username': 'user', 'password': 'pass', } R2_info = { 'device_type': 'cisco_ios', 'ip': '192.168.1.2', 'username': 'user', 'password': 'pass', } R3_info = { 'device_type': 'cisco_ios', 'ip': '192.168.1.3', 'username': 'user', 'password': 'pass', } R4_info = { 'device_type': 'cisco_ios', 'ip': '192.168.1.4', 'username': 'user', 'password': 'pass', } R5_info = { 'device_type': 'cisco_ios', 'ip': '192.168.1.5', 'username': 'user', 'password': 'pass', } R1_connections = { '2': 's2/0', '3': 's2/1', '4': 's2/2', } R2_connections = { '1': 's2/0', '3': 'e0/0', '5': 's3/0', } R3_connections = { '1': 's2/1', '2': 'e0/0', '4': 'e0/1', '5': 's3/1', } R4_connections = { '1': 's2/2', '3': 'e0/1', '5': 's3/2', } R5_connections = { '2': 's3/0', '3': 's3/1', '4': 's3/2', } R1 = (R1_info, R1_connections) R2 = (R2_info, R2_connections) R3 = (R3_info, R3_connections) R4 = (R4_info, R4_connections) R5 = (R5_info, R5_connections)
r1_info = {'device_type': 'cisco_ios', 'ip': '192.168.1.1', 'username': 'user', 'password': 'pass'} r2_info = {'device_type': 'cisco_ios', 'ip': '192.168.1.2', 'username': 'user', 'password': 'pass'} r3_info = {'device_type': 'cisco_ios', 'ip': '192.168.1.3', 'username': 'user', 'password': 'pass'} r4_info = {'device_type': 'cisco_ios', 'ip': '192.168.1.4', 'username': 'user', 'password': 'pass'} r5_info = {'device_type': 'cisco_ios', 'ip': '192.168.1.5', 'username': 'user', 'password': 'pass'} r1_connections = {'2': 's2/0', '3': 's2/1', '4': 's2/2'} r2_connections = {'1': 's2/0', '3': 'e0/0', '5': 's3/0'} r3_connections = {'1': 's2/1', '2': 'e0/0', '4': 'e0/1', '5': 's3/1'} r4_connections = {'1': 's2/2', '3': 'e0/1', '5': 's3/2'} r5_connections = {'2': 's3/0', '3': 's3/1', '4': 's3/2'} r1 = (R1_info, R1_connections) r2 = (R2_info, R2_connections) r3 = (R3_info, R3_connections) r4 = (R4_info, R4_connections) r5 = (R5_info, R5_connections)
''' Created on 10/02/2012 @author: Alumno ''' def suma(x, y): return x+y def multiplica(x, y): return x*y def cuadrado(x): return x*x
""" Created on 10/02/2012 @author: Alumno """ def suma(x, y): return x + y def multiplica(x, y): return x * y def cuadrado(x): return x * x
#!/usr/bin/env python3 #https://codeforces.com/problemset/problem/1029/B n = int(input()) al = list(map(int,input().split())) cnt = 1 mxc = 0 for i in range(n-1): if al[i+1]-al[i] <= al[i]: cnt += 1 else: if cnt>mxc: mxc = cnt cnt = 1 print(max(mxc,cnt))
n = int(input()) al = list(map(int, input().split())) cnt = 1 mxc = 0 for i in range(n - 1): if al[i + 1] - al[i] <= al[i]: cnt += 1 else: if cnt > mxc: mxc = cnt cnt = 1 print(max(mxc, cnt))
def solve_knapsack(profits, weights, capacity): if profits is None \ or weights is None \ or len(profits) == 0 \ or len(profits) != len(weights): return 0 return unbounded_knapsack(profits, weights, capacity, 0) # We are trying to find the maximum profit def unbounded_knapsack(profits, weights, capacity, curr_index): n = len(profits) # or len(weights) if capacity <= 0 or curr_index >= n: # base checks return 0 # recursive call after choosing the items at the curr_index, # Note that we recursive call on all items as we did not increment curr_index profit_by_inclusion = 0 if weights[curr_index] <= capacity: profit_by_inclusion = profits[curr_index] + \ unbounded_knapsack(profits, weights, capacity - weights[curr_index], curr_index) # recursive call after excluding the element at the currentIndex profit_by_exclusion = unbounded_knapsack(profits, weights, capacity, curr_index + 1) return max(profit_by_inclusion, profit_by_exclusion) def main(): print(solve_knapsack([15, 50, 60, 90], [1, 3, 4, 5], 8)) print(solve_knapsack([15, 50, 60, 90], [1, 3, 4, 5], 6)) main()
def solve_knapsack(profits, weights, capacity): if profits is None or weights is None or len(profits) == 0 or (len(profits) != len(weights)): return 0 return unbounded_knapsack(profits, weights, capacity, 0) def unbounded_knapsack(profits, weights, capacity, curr_index): n = len(profits) if capacity <= 0 or curr_index >= n: return 0 profit_by_inclusion = 0 if weights[curr_index] <= capacity: profit_by_inclusion = profits[curr_index] + unbounded_knapsack(profits, weights, capacity - weights[curr_index], curr_index) profit_by_exclusion = unbounded_knapsack(profits, weights, capacity, curr_index + 1) return max(profit_by_inclusion, profit_by_exclusion) def main(): print(solve_knapsack([15, 50, 60, 90], [1, 3, 4, 5], 8)) print(solve_knapsack([15, 50, 60, 90], [1, 3, 4, 5], 6)) main()
class Solution: def uniquePaths(self, m: int, n: int) -> int: paths = [[1] * n for _ in range(m)] for row in range(1, m): for col in range(1, n): paths[row][col] = paths[row-1][col] + paths[row][col-1] return paths[m-1][n-1]
class Solution: def unique_paths(self, m: int, n: int) -> int: paths = [[1] * n for _ in range(m)] for row in range(1, m): for col in range(1, n): paths[row][col] = paths[row - 1][col] + paths[row][col - 1] return paths[m - 1][n - 1]
# The search the 2D array for the target element where array is sorted from # left to right and top to bottom def search_2D_array(arr,x): row = 0 col = len(arr[0]) - 1 while row < len(arr) and col >= 0: if arr[col][row] == x: return True elif arr[row][col] < x: row += 1 else: col -= 1 return False if __name__ == "__main__": arr = [[10, 20, 30, 40], [15, 25, 35, 45], [27, 29, 37, 48], [32, 33, 39, 50] ] if search_2D_array(arr,37): print("Present in array") else: print("Not present.")
def search_2_d_array(arr, x): row = 0 col = len(arr[0]) - 1 while row < len(arr) and col >= 0: if arr[col][row] == x: return True elif arr[row][col] < x: row += 1 else: col -= 1 return False if __name__ == '__main__': arr = [[10, 20, 30, 40], [15, 25, 35, 45], [27, 29, 37, 48], [32, 33, 39, 50]] if search_2_d_array(arr, 37): print('Present in array') else: print('Not present.')
n, k = map(int, input().split()) a = list(map(int, input().split())) fre = [0] * (10 ** 5 + 5) unique = 0 j = 0 for i in range(n): if fre[a[i]] == 0: unique += 1 fre[a[i]] += 1 while unique == k: fre[a[j]] -= 1 if fre[a[j]] == 0: print(j + 1, i + 1) exit() j += 1 print('-1 -1')
(n, k) = map(int, input().split()) a = list(map(int, input().split())) fre = [0] * (10 ** 5 + 5) unique = 0 j = 0 for i in range(n): if fre[a[i]] == 0: unique += 1 fre[a[i]] += 1 while unique == k: fre[a[j]] -= 1 if fre[a[j]] == 0: print(j + 1, i + 1) exit() j += 1 print('-1 -1')
n = int(input()) spaces = 2*(n-1) for i in range(1, n+1): print(" "*spaces, end="") if i == 1: print("1") else: for j in range(i, 2*i): print(str(j) + " ", end="") for j in range(2*i-2, i-1, -1 ): print(str(j) + " ", end="") print() spaces -= 2
n = int(input()) spaces = 2 * (n - 1) for i in range(1, n + 1): print(' ' * spaces, end='') if i == 1: print('1') else: for j in range(i, 2 * i): print(str(j) + ' ', end='') for j in range(2 * i - 2, i - 1, -1): print(str(j) + ' ', end='') print() spaces -= 2
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2016-12-22 10:42:23 # @Author : Jan Yang # @Software : Sublime Text class Email: def __init__(self): pass
class Email: def __init__(self): pass
# Perulangan pada string print('=====Perulangan Pada String=====') teks = 'helloworld' print('teks =',teks) hitung = 0 for i in range(len(teks)): if 'l' == teks[i]: hitung = hitung + 1 print('jumlah l pada teks',teks,'adalah',hitung)
print('=====Perulangan Pada String=====') teks = 'helloworld' print('teks =', teks) hitung = 0 for i in range(len(teks)): if 'l' == teks[i]: hitung = hitung + 1 print('jumlah l pada teks', teks, 'adalah', hitung)
h, m = 100, 200 h_deg, m_deg = h//2, m//3 # In Python3, // rounds down to the nearest whole number angle = abs(h_deg - m_deg) if angle > 180: angle = 360 - angle print(int(angle))
(h, m) = (100, 200) (h_deg, m_deg) = (h // 2, m // 3) angle = abs(h_deg - m_deg) if angle > 180: angle = 360 - angle print(int(angle))
# Gregary C. Zweigle # 2020 MAX_PIANO_NOTE = 88 # TODO - Should this move elsewhere? class FileName: def __init__(self): self.note_number = 0 self.file_name_l = 'EMPTY_L' self.file_name_r = 'EMPTY_R' def initialize_file_name(self, record_start_note): self.note_number = int(float(record_start_note)) self.file_name_l = 'noteL' + str(self.note_number) + '.dat' self.file_name_r = 'noteR' + str(self.note_number) + '.dat' def advance_file_name(self): self.note_number = self.note_number + 1 self.file_name_l = 'noteL' + str(self.note_number) + '.dat' self.file_name_r = 'noteR' + str(self.note_number) + '.dat' def get_file_name(self): return (self.file_name_l, self.file_name_r) def check_if_finished_all_notes(self): if self.note_number > MAX_PIANO_NOTE: return True else: return False # TODO - Originally it seemed like a good idea to track # notes in this class, but its too unrelated, need to move out. def get_note_number(self): return self.note_number
max_piano_note = 88 class Filename: def __init__(self): self.note_number = 0 self.file_name_l = 'EMPTY_L' self.file_name_r = 'EMPTY_R' def initialize_file_name(self, record_start_note): self.note_number = int(float(record_start_note)) self.file_name_l = 'noteL' + str(self.note_number) + '.dat' self.file_name_r = 'noteR' + str(self.note_number) + '.dat' def advance_file_name(self): self.note_number = self.note_number + 1 self.file_name_l = 'noteL' + str(self.note_number) + '.dat' self.file_name_r = 'noteR' + str(self.note_number) + '.dat' def get_file_name(self): return (self.file_name_l, self.file_name_r) def check_if_finished_all_notes(self): if self.note_number > MAX_PIANO_NOTE: return True else: return False def get_note_number(self): return self.note_number
n = int(input()) s = list(map(int, input().split())) c = [0] * 10010 res, count = 0, 0 for i in s: c[i] += 1 if c[i] > count: res = i count = c[i] elif c[i] == count: res = min(res, i) print(res)
n = int(input()) s = list(map(int, input().split())) c = [0] * 10010 (res, count) = (0, 0) for i in s: c[i] += 1 if c[i] > count: res = i count = c[i] elif c[i] == count: res = min(res, i) print(res)
class ApiError(Exception): pass class AuthorizationFailed(Exception): pass
class Apierror(Exception): pass class Authorizationfailed(Exception): pass
s = 'one two one two one' print(s.replace('one', 'two').replace('two', 'one')) # one one one one one print(s.replace('one', 'X').replace('two', 'one').replace('X', 'two')) # two one two one two def swap_str(s_org, s1, s2, temp='*q@w-e~r^'): return s_org.replace(s1, temp).replace(s2, s1).replace(temp, s2) print(swap_str(s, 'one', 'two')) # two one two one two print(s.replace('o', 't').replace('t', 'o')) # one owo one owo one print(s.translate(str.maketrans({'o': 't', 't': 'o'}))) # tne owt tne owt tne print(s.translate(str.maketrans('ot', 'to'))) # tne owt tne owt tne
s = 'one two one two one' print(s.replace('one', 'two').replace('two', 'one')) print(s.replace('one', 'X').replace('two', 'one').replace('X', 'two')) def swap_str(s_org, s1, s2, temp='*q@w-e~r^'): return s_org.replace(s1, temp).replace(s2, s1).replace(temp, s2) print(swap_str(s, 'one', 'two')) print(s.replace('o', 't').replace('t', 'o')) print(s.translate(str.maketrans({'o': 't', 't': 'o'}))) print(s.translate(str.maketrans('ot', 'to')))
# TODO: create functions for data sending async def send_data(event, buttons): pass
async def send_data(event, buttons): pass
n = int(input()) s = set(map(int, input().split())) for i in range(int(input())): c = input().split() if c[0] == "update": s.update(set(map(int, input().split()))) elif c[0] == "intersection_update": s.intersection_update(set(map(int, input().split()))) elif c[0] == "difference_update": s.difference_update(set(map(int, input().split()))) else: s.symmetric_difference_update(set(map(int, input().split()))) print(sum(s))
n = int(input()) s = set(map(int, input().split())) for i in range(int(input())): c = input().split() if c[0] == 'update': s.update(set(map(int, input().split()))) elif c[0] == 'intersection_update': s.intersection_update(set(map(int, input().split()))) elif c[0] == 'difference_update': s.difference_update(set(map(int, input().split()))) else: s.symmetric_difference_update(set(map(int, input().split()))) print(sum(s))
class Node: def __init__(self, val): self.val = val self.left = None self.right = None def right_view_util(root, max_level, level): if not root: return if max_level[0] < level: print(root.val) max_level[0] = level right_view_util(root.right, max_level, level+1) right_view_util(root.left, max_level, level+1) def right_view(root): max_level = [0] right_view_util(root, max_level, 1) root = Node(1) root.left = Node(2) root.right = Node(3) root.left.left = Node(4) root.left.right = Node(5) root.right.left = Node(6) root.right.right = Node(7) root.right.left.right = Node(8) right_view(root)
class Node: def __init__(self, val): self.val = val self.left = None self.right = None def right_view_util(root, max_level, level): if not root: return if max_level[0] < level: print(root.val) max_level[0] = level right_view_util(root.right, max_level, level + 1) right_view_util(root.left, max_level, level + 1) def right_view(root): max_level = [0] right_view_util(root, max_level, 1) root = node(1) root.left = node(2) root.right = node(3) root.left.left = node(4) root.left.right = node(5) root.right.left = node(6) root.right.right = node(7) root.right.left.right = node(8) right_view(root)
#!/usr/bin/env python # -*- coding: utf-8 -*- # # # https://oj.leetcode.com/problems/symmetric-tree # Given a binary tree, check whether it is a mirror of itself # (ie, symmetric around its center). # For example, this binary tree is symmetric: # 1 # / \ # 2 2 # / \ / \ # 3 4 4 3 # # But the following is not: # 1 # / \ # 2 2 # \ \ # 3 3 # Definition for a binary tree node # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): # @param root, a tree node # @return a boolean def isSymmetric(self, root): def isSym(L, R): if not L and not R: return True if L and R and L.val == R.val: return isSym(L.left, R.right) and isSym(L.right, R.left) return False return isSym(root, root) class TreeNode: def __init__(self, x, left=None, right=None): self.val = x self.left = left self.right = right tree = \ TreeNode(1, TreeNode(2, TreeNode(3), TreeNode(4) \ ), TreeNode(2, TreeNode(4), TreeNode(3) ) ) s = Solution() r = s.isSymmetric(tree) print(r)
class Solution(object): def is_symmetric(self, root): def is_sym(L, R): if not L and (not R): return True if L and R and (L.val == R.val): return is_sym(L.left, R.right) and is_sym(L.right, R.left) return False return is_sym(root, root) class Treenode: def __init__(self, x, left=None, right=None): self.val = x self.left = left self.right = right tree = tree_node(1, tree_node(2, tree_node(3), tree_node(4)), tree_node(2, tree_node(4), tree_node(3))) s = solution() r = s.isSymmetric(tree) print(r)
# These regexes must not include line anchors ('^', '$'). Those will be added by the # ValidateRegex library function and anybody else who needs them. NAME_VALIDATION = r"(?P<name>[@\-\w\.]+)" # This regex needs to exactly match the above, EXCEPT that the name should be "name2". So if the # above regex changes, change this one. This is kind of gross. :\ NAME2_VALIDATION = r"(?P<name2>[@\-\w\.]+)" # Regexes for validating permission/argument names PERMISSION_VALIDATION = r"(?P<name>(?:[a-z0-9]+[_\-\.])*[a-z0-9]+)" PERMISSION_WILDCARD_VALIDATION = r"(?P<name>(?:[a-z0-9]+[_\-\.])*[a-z0-9]+(?:\.\*)?)" ARGUMENT_VALIDATION = r"(?P<argument>|\*|[\w=+/.:-]+\*?)" # Global permission names to prevent stringly typed things PERMISSION_GRANT = "grouper.permission.grant" PERMISSION_CREATE = "grouper.permission.create" PERMISSION_AUDITOR = "grouper.permission.auditor" AUDIT_MANAGER = "grouper.audit.manage" AUDIT_VIEWER = "grouper.audit.view" # Permissions that are always created and are reserved. SYSTEM_PERMISSIONS = [ (PERMISSION_CREATE, "Ability to create permissions within Grouper."), (PERMISSION_GRANT, "Ability to grant a permission to a group."), (PERMISSION_AUDITOR, "Ability to own or manage groups with audited permissions."), (AUDIT_MANAGER, "Ability to start global audits and view audit status."), (AUDIT_VIEWER, "Ability to view audit results and status."), ] # Used to construct name tuples in notification engine. ILLEGAL_NAME_CHARACTER = '|' # A list of regular expressions that are reserved anywhere names are created. I.e., if a regex # in this list is matched, a permission cannot be created in the UI. Same with group names. # These are case insensitive. RESERVED_NAMES = [ r"^grouper", r"^admin", r"^test", r"^[^.]*$", r"^[0-9]+$", # Reserved in order to select user or group by id. r".*\|.*", ] # Maximum length a name can be. This applies to user names and permission arguments. MAX_NAME_LENGTH = 128
name_validation = '(?P<name>[@\\-\\w\\.]+)' name2_validation = '(?P<name2>[@\\-\\w\\.]+)' permission_validation = '(?P<name>(?:[a-z0-9]+[_\\-\\.])*[a-z0-9]+)' permission_wildcard_validation = '(?P<name>(?:[a-z0-9]+[_\\-\\.])*[a-z0-9]+(?:\\.\\*)?)' argument_validation = '(?P<argument>|\\*|[\\w=+/.:-]+\\*?)' permission_grant = 'grouper.permission.grant' permission_create = 'grouper.permission.create' permission_auditor = 'grouper.permission.auditor' audit_manager = 'grouper.audit.manage' audit_viewer = 'grouper.audit.view' system_permissions = [(PERMISSION_CREATE, 'Ability to create permissions within Grouper.'), (PERMISSION_GRANT, 'Ability to grant a permission to a group.'), (PERMISSION_AUDITOR, 'Ability to own or manage groups with audited permissions.'), (AUDIT_MANAGER, 'Ability to start global audits and view audit status.'), (AUDIT_VIEWER, 'Ability to view audit results and status.')] illegal_name_character = '|' reserved_names = ['^grouper', '^admin', '^test', '^[^.]*$', '^[0-9]+$', '.*\\|.*'] max_name_length = 128
def check(n): sqlist = str(n**2)# list(map(int,str(n**2))) l = len(sqlist) if l%2 == 0: #if even rsq = int(sqlist[l//2:]) lsq = int(sqlist[:l//2]) else: rsq = int(sqlist[(l-1)//2:]) if l!= 1: lsq = int(sqlist[:(l-1)//2]) else: lsq = 0 #only lsq can have an empty list if rsq + lsq == n: return True p = int(input()) q = int(input()) ans = [] for i in range(p, q+1): if check(i) == True: ans.append(i) if len(ans)!= 0: for i in ans: print(i, end =' ') else: print('INVALID RANGE') #for i in [1,9,45,55,99]: #print(check(i))
def check(n): sqlist = str(n ** 2) l = len(sqlist) if l % 2 == 0: rsq = int(sqlist[l // 2:]) lsq = int(sqlist[:l // 2]) else: rsq = int(sqlist[(l - 1) // 2:]) if l != 1: lsq = int(sqlist[:(l - 1) // 2]) else: lsq = 0 if rsq + lsq == n: return True p = int(input()) q = int(input()) ans = [] for i in range(p, q + 1): if check(i) == True: ans.append(i) if len(ans) != 0: for i in ans: print(i, end=' ') else: print('INVALID RANGE')
#!/usr/bin/env python # -*- coding: utf-8 -*- # AUTHOR = 'Ben Poile' SITENAME = 'blog' SITEURL = 'https://poiley.github.io' # GITHUB_URL = 'https://github.com/poiley/poiley.github.io' PATH = 'content' OUTPUT_PATH = 'output' STATIC_PATHS = ['articles', 'downloads'] ARTICLE_PATHS = ['articles',] ARTICLE_URL = 'articles/{date:%Y}/{date:%m}/{slug}.html' ARTICLE_SAVE_AS = 'articles/{date:%Y}/{date:%m}/{slug}.html' TIMEZONE = 'America/Los_Angeles' DEFAULT_LANG = 'en' # Feed generation is usually not desired when developing FEED_ALL_ATOM = None CATEGORY_FEED_ATOM = None TRANSLATION_FEED_ATOM = None AUTHOR_FEED_ATOM = None AUTHOR_FEED_RSS = None # Blog Roll LINKS = (('Home', 'https://poile.dev/'), ('All Posts', 'https://www.python.org/'), ('Resume', 'https://docs.google.com/document/d/1T2MaWT8CHgR9t5hDoQqLDpXZYJ5eKKwgfJBa2nVceo0/edit?usp=sharing')) # Social widget SOCIAL = (('Github', 'https://github.com/poiley'), ('Spotify', 'https://open.spotify.com/user/qqxne71rxqru593o2cg1y8avg?si=fb593f2b738f4402'), ('Twitter', 'https://twitter.com/_poile_')) DEFAULT_PAGINATION = 3 # Uncomment following line if you want document-relative URLs when developing #RELATIVE_URLS = True THEME = 'theme' #DIRECT_TEMPLATES = (('index', 'blog', 'tags', 'categories', 'archives')) #PAGINATED_DIRECT_TEMPLATES = (('blog', )) #TEMPLATE_PAGES = {'home.html': 'index.html',}
author = 'Ben Poile' sitename = 'blog' siteurl = 'https://poiley.github.io' path = 'content' output_path = 'output' static_paths = ['articles', 'downloads'] article_paths = ['articles'] article_url = 'articles/{date:%Y}/{date:%m}/{slug}.html' article_save_as = 'articles/{date:%Y}/{date:%m}/{slug}.html' timezone = 'America/Los_Angeles' default_lang = 'en' feed_all_atom = None category_feed_atom = None translation_feed_atom = None author_feed_atom = None author_feed_rss = None links = (('Home', 'https://poile.dev/'), ('All Posts', 'https://www.python.org/'), ('Resume', 'https://docs.google.com/document/d/1T2MaWT8CHgR9t5hDoQqLDpXZYJ5eKKwgfJBa2nVceo0/edit?usp=sharing')) social = (('Github', 'https://github.com/poiley'), ('Spotify', 'https://open.spotify.com/user/qqxne71rxqru593o2cg1y8avg?si=fb593f2b738f4402'), ('Twitter', 'https://twitter.com/_poile_')) default_pagination = 3 theme = 'theme'
class SomethingAbstract: property_a: str property_b: str property_c: Optional[str] property_d: Optional[str] def __init__( self, property_a: str, property_b: str, property_c: Optional[str] = None, property_d: Optional[str] = None, ) -> None: self.property_a = property_a self.property_b = property_b self.property_c = property_c self.property_d = property_d class Something(SomethingAbstract): property_e: str property_f: str property_g: Optional[str] property_h: Optional[str] # NOTE (mristin, 2022-03-25): # The order of the inherited and defined properties do not match the order of # the constructor arguments. def __init__( self, property_e: str, property_f: str, property_a: str, property_b: str, property_g: Optional[str] = None, property_h: Optional[str] = None, property_c: Optional[str] = None, property_d: Optional[str] = None, ) -> None: SomethingAbstract.__init__( self, property_a=property_a, property_b=property_b, property_c=property_c, property_d=property_d, ) self.property_e = property_e self.property_f = property_f self.property_g = property_g self.property_h = property_h __book_url__ = "dummy" __book_version__ = "dummy"
class Somethingabstract: property_a: str property_b: str property_c: Optional[str] property_d: Optional[str] def __init__(self, property_a: str, property_b: str, property_c: Optional[str]=None, property_d: Optional[str]=None) -> None: self.property_a = property_a self.property_b = property_b self.property_c = property_c self.property_d = property_d class Something(SomethingAbstract): property_e: str property_f: str property_g: Optional[str] property_h: Optional[str] def __init__(self, property_e: str, property_f: str, property_a: str, property_b: str, property_g: Optional[str]=None, property_h: Optional[str]=None, property_c: Optional[str]=None, property_d: Optional[str]=None) -> None: SomethingAbstract.__init__(self, property_a=property_a, property_b=property_b, property_c=property_c, property_d=property_d) self.property_e = property_e self.property_f = property_f self.property_g = property_g self.property_h = property_h __book_url__ = 'dummy' __book_version__ = 'dummy'
text = open("subInfo.txt").read() def findCount(sub): count = 0 terms = open(sub).readlines() terms = [t.strip().lower() for t in terms] for t in terms: if t in text: count += 1 return count subArr = [] subArr.append((findCount("biology_terms.txt"), "biology_terms.txt")) subArr.append((findCount("chemistry_terms.txt"), "chemistry_terms.txt")) subArr.append((findCount("History_terms.txt"), "History_terms.txt")) subArr.append((findCount("physics_terms.txt"), "physics_terms.txt")) subArr.append((findCount("math_terms.txt"), "math_terms.txt")) subArr = sorted(subArr)[::-1] print(subArr) print(subArr[0][1])
text = open('subInfo.txt').read() def find_count(sub): count = 0 terms = open(sub).readlines() terms = [t.strip().lower() for t in terms] for t in terms: if t in text: count += 1 return count sub_arr = [] subArr.append((find_count('biology_terms.txt'), 'biology_terms.txt')) subArr.append((find_count('chemistry_terms.txt'), 'chemistry_terms.txt')) subArr.append((find_count('History_terms.txt'), 'History_terms.txt')) subArr.append((find_count('physics_terms.txt'), 'physics_terms.txt')) subArr.append((find_count('math_terms.txt'), 'math_terms.txt')) sub_arr = sorted(subArr)[::-1] print(subArr) print(subArr[0][1])
class eAxes: xAxis, yAxis, zAxis = range(3) class eTurn: learner, simulator = range(2) class eEPA: evaluation, potency, activity = range(3) evaluationSelf, potencySelf, activitySelf,\ evaluationAction, potencyAction, activityAction,\ evaluationOther, potencyOther, activityOther = range(9) fundamental, tau = range(2) class eIdentityParse: identity, maleEvaluation, malePotency, maleActivity,\ femaleEvaluation, femalePotency, femaleActivity, institution = range(8) class eAgentListBoxParam: identity, maleSentiment, femaleSentiment, institution = range(4) class eInstitutions: gender, institution, undefined = range(3) class eInteractants: agent, client = range(2) class eGender: male, female = range(2) class eGenderKey: anyGender, male, female = range(3) class eGui: simulator, interactive = range(2) class eRect: fromLeft, fromBottom, fractionOfX, fractionOfY = range(4)
class Eaxes: (x_axis, y_axis, z_axis) = range(3) class Eturn: (learner, simulator) = range(2) class Eepa: (evaluation, potency, activity) = range(3) (evaluation_self, potency_self, activity_self, evaluation_action, potency_action, activity_action, evaluation_other, potency_other, activity_other) = range(9) (fundamental, tau) = range(2) class Eidentityparse: (identity, male_evaluation, male_potency, male_activity, female_evaluation, female_potency, female_activity, institution) = range(8) class Eagentlistboxparam: (identity, male_sentiment, female_sentiment, institution) = range(4) class Einstitutions: (gender, institution, undefined) = range(3) class Einteractants: (agent, client) = range(2) class Egender: (male, female) = range(2) class Egenderkey: (any_gender, male, female) = range(3) class Egui: (simulator, interactive) = range(2) class Erect: (from_left, from_bottom, fraction_of_x, fraction_of_y) = range(4)
cars=["Maruthi","Honda","TataIndica"] x = cars[0] print("x=\n",x) cars[0]="Ford" print("cars=\n",cars) L = len(cars) print("Length of cars=",L) #Print each item in the car array for y in cars: print(y) cars.append("BMW") print("cars=\n",cars) #Delete the second element of the cars array cars.pop(1) print("cars=\n",cars) #Delete the element that has the value "Honda" cars.remove('TataIndica') print("cars=\n",cars) #Result ##x= Maruthi ##cars= ['Ford', 'Honda', 'TataIndica'] ##Length of cars= 3 ##Ford ##Honda ##TataIndica ##cars= ['Ford', 'Honda', 'TataIndica', 'BMW'] ##cars= ['Ford', 'TataIndica', 'BMW'] ##cars= ['Ford', 'BMW']
cars = ['Maruthi', 'Honda', 'TataIndica'] x = cars[0] print('x=\n', x) cars[0] = 'Ford' print('cars=\n', cars) l = len(cars) print('Length of cars=', L) for y in cars: print(y) cars.append('BMW') print('cars=\n', cars) cars.pop(1) print('cars=\n', cars) cars.remove('TataIndica') print('cars=\n', cars)
guests = ["Mark", "Kevin", "Mellisa"] msg = "I'd like to invite you to have a dinner with us on 5/18. Thanks, Andrew" print(f"Hi {guests[0]}, {msg}") print(f"Hi {guests[1]}, {msg}") print(f"Hi {guests[2]}, {msg}") print(f"\nSorry, {guests[1]} can't make it.\n") guests[1] = "Ace" print(f"Hi {guests[0]}, {msg}") print(f"Hi {guests[1]}, {msg}") print(f"Hi {guests[2]}, {msg}")
guests = ['Mark', 'Kevin', 'Mellisa'] msg = "I'd like to invite you to have a dinner with us on 5/18. Thanks, Andrew" print(f'Hi {guests[0]}, {msg}') print(f'Hi {guests[1]}, {msg}') print(f'Hi {guests[2]}, {msg}') print(f"\nSorry, {guests[1]} can't make it.\n") guests[1] = 'Ace' print(f'Hi {guests[0]}, {msg}') print(f'Hi {guests[1]}, {msg}') print(f'Hi {guests[2]}, {msg}')
# Problem Set 1a # Name: Eloi Gil # Time Spent: 1 # balance = float(input('balance: ')) annualInterestRate = float(input('annual interest rate: ')) minMonthlyPaymentRate = float(input('minimum monthly payment rate: ')) month = 0.0 while month < 12.0: month += 1.0 print('Month ' + str(month)) minMonthlyPayment = round(balance * minMonthlyPaymentRate, 2) print('minimum monthly payment: ' + str(minMonthlyPayment)) interestPaid = round(annualInterestRate / 12.0 * balance, 2) principlePaid = round(minMonthlyPayment - interestPaid, 2) print('principle paid: ' + str(principlePaid)) balance -= round(principlePaid, 2) print('remaining balance: ' + str(round(balance, 2)))
balance = float(input('balance: ')) annual_interest_rate = float(input('annual interest rate: ')) min_monthly_payment_rate = float(input('minimum monthly payment rate: ')) month = 0.0 while month < 12.0: month += 1.0 print('Month ' + str(month)) min_monthly_payment = round(balance * minMonthlyPaymentRate, 2) print('minimum monthly payment: ' + str(minMonthlyPayment)) interest_paid = round(annualInterestRate / 12.0 * balance, 2) principle_paid = round(minMonthlyPayment - interestPaid, 2) print('principle paid: ' + str(principlePaid)) balance -= round(principlePaid, 2) print('remaining balance: ' + str(round(balance, 2)))
s=0 for c in range(0,4): n= int(input('Digite um valor: ')) s += n print('Somatorio deu: {}' .format(s))
s = 0 for c in range(0, 4): n = int(input('Digite um valor: ')) s += n print('Somatorio deu: {}'.format(s))
__title__ = 'DRF Exception Handler' __version__ = '1.0.1' __author__ = 'Thomas' __license__ = 'MIT' __copyright__ = 'Copyright 2021 Thomas' # Version synonym VERSION = __version__
__title__ = 'DRF Exception Handler' __version__ = '1.0.1' __author__ = 'Thomas' __license__ = 'MIT' __copyright__ = 'Copyright 2021 Thomas' version = __version__
{ "targets": [ { "target_name": "boost-property_tree", "type": "none", "include_dirs": [ "1.57.0/property_tree-boost-1.57.0/include" ], "all_dependent_settings": { "include_dirs": [ "1.57.0/property_tree-boost-1.57.0/include" ] }, "dependencies": [ "../boost-config/boost-config.gyp:*", "../boost-serialization/boost-serialization.gyp:*", "../boost-assert/boost-assert.gyp:*", "../boost-optional/boost-optional.gyp:*", "../boost-throw_exception/boost-throw_exception.gyp:*", "../boost-core/boost-core.gyp:*", "../boost-spirit/boost-spirit.gyp:*", "../boost-static_assert/boost-static_assert.gyp:*", "../boost-multi_index/boost-multi_index.gyp:*", "../boost-mpl/boost-mpl.gyp:*", "../boost-any/boost-any.gyp:*", "../boost-iterator/boost-iterator.gyp:*" ] } , # note the json parser is the only part of boost-property_tree # using boost-spirit { "target_name": "boost-property_tree_test_json_parser", "type": "executable", "test": {}, "sources": [ "1.57.0/property_tree-boost-1.57.0/test/test_json_parser.cpp" ], "dependencies": [ "boost-property_tree"], # this disables building the example on iOS "conditions": [ ["OS=='iOS'", { "type": "none" } ], ["OS=='mac'", { "type": "none" } ] ] } ] }
{'targets': [{'target_name': 'boost-property_tree', 'type': 'none', 'include_dirs': ['1.57.0/property_tree-boost-1.57.0/include'], 'all_dependent_settings': {'include_dirs': ['1.57.0/property_tree-boost-1.57.0/include']}, 'dependencies': ['../boost-config/boost-config.gyp:*', '../boost-serialization/boost-serialization.gyp:*', '../boost-assert/boost-assert.gyp:*', '../boost-optional/boost-optional.gyp:*', '../boost-throw_exception/boost-throw_exception.gyp:*', '../boost-core/boost-core.gyp:*', '../boost-spirit/boost-spirit.gyp:*', '../boost-static_assert/boost-static_assert.gyp:*', '../boost-multi_index/boost-multi_index.gyp:*', '../boost-mpl/boost-mpl.gyp:*', '../boost-any/boost-any.gyp:*', '../boost-iterator/boost-iterator.gyp:*']}, {'target_name': 'boost-property_tree_test_json_parser', 'type': 'executable', 'test': {}, 'sources': ['1.57.0/property_tree-boost-1.57.0/test/test_json_parser.cpp'], 'dependencies': ['boost-property_tree'], 'conditions': [["OS=='iOS'", {'type': 'none'}], ["OS=='mac'", {'type': 'none'}]]}]}
def between_markers(text,mark1,mark2): ''' You are given a string and two markers (the initial one and final). You have to find a substring enclosed between these two markers. But there are a few important conditions. This is a simplified version of the Between Markers mission. The initial and final markers are always different. The initial and final markers are always 1 char size. The initial and final markers always exist in a string and go one after another. Input: Three arguments. All of them are strings. The second and third arguments are the initial and final markers. Output: A string. Precondition: There can't be more than one final and one initial markers. ''' if mark1 and mark2 in text: i1 = text.index(mark1) i2 = text.index(mark2) if i1<i2: return text[text.index(mark1)+1:text.index(mark2)] if __name__ == '__main__': print('Example:') print(between_markers('What is >apple<', '>', '<')) print(between_markers('What is [apple]', '[', ']')) print(between_markers('What is ><', '>', '<')) print(between_markers('>apple<', '>', '<')) print(between_markers('an -apologize> to read', '-', '>'))
def between_markers(text, mark1, mark2): """ You are given a string and two markers (the initial one and final). You have to find a substring enclosed between these two markers. But there are a few important conditions. This is a simplified version of the Between Markers mission. The initial and final markers are always different. The initial and final markers are always 1 char size. The initial and final markers always exist in a string and go one after another. Input: Three arguments. All of them are strings. The second and third arguments are the initial and final markers. Output: A string. Precondition: There can't be more than one final and one initial markers. """ if mark1 and mark2 in text: i1 = text.index(mark1) i2 = text.index(mark2) if i1 < i2: return text[text.index(mark1) + 1:text.index(mark2)] if __name__ == '__main__': print('Example:') print(between_markers('What is >apple<', '>', '<')) print(between_markers('What is [apple]', '[', ']')) print(between_markers('What is ><', '>', '<')) print(between_markers('>apple<', '>', '<')) print(between_markers('an -apologize> to read', '-', '>'))
# Copyright (C) 2017 Tiancheng Zhao, Carnegie Mellon University class KgCVAEConfig(object): description= None use_hcf = True # use dialog act in training (if turn off kgCVAE -> CVAE) update_limit = 3000 # the number of mini-batch before evaluating the model # how to encode utterance. # bow: add word embedding together # rnn: RNN utterance encoder # bi_rnn: bi_directional RNN utterance encoder sent_type = "bi_rnn" # latent variable (gaussian variable) latent_size = 200 # the dimension of latent variable full_kl_step = 10000 # how many batch before KL cost weight reaches 1.0 dec_keep_prob = 1.0 # do we use word drop decoder [Bowman el al 2015] # Network general cell_type = "gru" # gru or lstm embed_size = 200 # word embedding size topic_embed_size = 30 # topic embedding size da_embed_size = 30 # dialog act embedding size cxt_cell_size = 600 # context encoder hidden size sent_cell_size = 300 # utterance encoder hidden size dec_cell_size = 400 # response decoder hidden size backward_size = 10 # how many utterance kept in the context window step_size = 1 # internal usage max_utt_len = 40 # max number of words in an utterance num_layer = 1 # number of context RNN layers # Optimization parameters op = "adam" grad_clip = 5.0 # gradient abs max cut init_w = 0.08 # uniform random from [-init_w, init_w] batch_size = 30 # mini-batch size init_lr = 0.001 # initial learning rate lr_hold = 1 # only used by SGD lr_decay = 0.6 # only used by SGD keep_prob = 1.0 # drop out rate improve_threshold = 0.996 # for early stopping patient_increase = 2.0 # for early stopping early_stop = True max_epoch = 60 # max number of epoch of training grad_noise = 0.0 # inject gradient noise?
class Kgcvaeconfig(object): description = None use_hcf = True update_limit = 3000 sent_type = 'bi_rnn' latent_size = 200 full_kl_step = 10000 dec_keep_prob = 1.0 cell_type = 'gru' embed_size = 200 topic_embed_size = 30 da_embed_size = 30 cxt_cell_size = 600 sent_cell_size = 300 dec_cell_size = 400 backward_size = 10 step_size = 1 max_utt_len = 40 num_layer = 1 op = 'adam' grad_clip = 5.0 init_w = 0.08 batch_size = 30 init_lr = 0.001 lr_hold = 1 lr_decay = 0.6 keep_prob = 1.0 improve_threshold = 0.996 patient_increase = 2.0 early_stop = True max_epoch = 60 grad_noise = 0.0
# Cast to int x = int(100) # x will be 100 y = int(5.75) # y will be 5 z = int("32") # z will be 32 print(x) print(y) print(z) print(type(x)) print(type(y)) print(type(z)) # cast to float a = float(100) # x will be 100.0 b = float(5.75) # y will be 5.75 c = float("32") # z will be 32.0 d = float("32.5") # z will be 32.5 print(a) print(b) print(c) print(d) print(type(a)) print(type(b)) print(type(c)) print(type(d)) # cast to str s1 = str("s1") # will be "s1" s2 = str(100) # will be "100" s3 = str(5.75) # will be "5.75" print(s1) print(s2) print(s3) print(type(s1)) print(type(s2)) print(type(s3)) # concatenate number (int/float) with str, bust be explicit casting result = "The result is: " + str(b) print(result)
x = int(100) y = int(5.75) z = int('32') print(x) print(y) print(z) print(type(x)) print(type(y)) print(type(z)) a = float(100) b = float(5.75) c = float('32') d = float('32.5') print(a) print(b) print(c) print(d) print(type(a)) print(type(b)) print(type(c)) print(type(d)) s1 = str('s1') s2 = str(100) s3 = str(5.75) print(s1) print(s2) print(s3) print(type(s1)) print(type(s2)) print(type(s3)) result = 'The result is: ' + str(b) print(result)
class MetadataHolder(): def set_metadata(self, key, value): self.client.api.call_function('set_metadata', { 'entity_type': self._data['type'], 'entity_id': self.id, 'key': key, 'value': value }) def set_metadata_dict(self, metadata_dict): self.client.api.call_function('set_metadata_dict', { 'entity_type': self._data['type'], 'entity_id': self.id, 'metadata': metadata_dict, }) def get_metadata(self): return self.client.api.call_function('get_metadata', { 'entity_type': self._data['type'], 'entity_id': self.id, })
class Metadataholder: def set_metadata(self, key, value): self.client.api.call_function('set_metadata', {'entity_type': self._data['type'], 'entity_id': self.id, 'key': key, 'value': value}) def set_metadata_dict(self, metadata_dict): self.client.api.call_function('set_metadata_dict', {'entity_type': self._data['type'], 'entity_id': self.id, 'metadata': metadata_dict}) def get_metadata(self): return self.client.api.call_function('get_metadata', {'entity_type': self._data['type'], 'entity_id': self.id})
''' Given an array of unique integers preorder, return true if it is the correct preorder traversal sequence of a binary search tree. Example 1: Input: preorder = [5,2,1,3,6] Output: true Example 2: Input: preorder = [5,2,6,1,3] Output: false ''' # Convert to Inorder and check if sorted or not # TC O(N) and Space O(N) class Solution(object): def to_inorder(self, preorder): # O(N) TC and O(N) Space stack = deque() inorder = [] for pre in preorder: while stack and pre > stack[-1]: inorder.append(stack.pop()) stack.append(pre) while stack: inorder.append(stack.pop()) return inorder def verifyPreorder(self, preorder): inorder = self.to_inorder(preorder) for elem in range(1, len(inorder)): if inorder[elem - 1] > inorder[elem]: return False return True
""" Given an array of unique integers preorder, return true if it is the correct preorder traversal sequence of a binary search tree. Example 1: Input: preorder = [5,2,1,3,6] Output: true Example 2: Input: preorder = [5,2,6,1,3] Output: false """ class Solution(object): def to_inorder(self, preorder): stack = deque() inorder = [] for pre in preorder: while stack and pre > stack[-1]: inorder.append(stack.pop()) stack.append(pre) while stack: inorder.append(stack.pop()) return inorder def verify_preorder(self, preorder): inorder = self.to_inorder(preorder) for elem in range(1, len(inorder)): if inorder[elem - 1] > inorder[elem]: return False return True
''' You have n binary tree nodes numbered from 0 to n - 1 where node i has two children leftChild[i] and rightChild[i], return true if and only if all the given nodes form exactly one valid binary tree. If node i has no left child then leftChild[i] will equal -1, similarly for the right child. Note that the nodes have no values and that we only use the node numbers in this problem. ''' # Since every node can only have one parent, # in case we're inside a cycle the last node we visit # will have 2 parents # In the case we have an edge going in both directions # we can just check if the number of parents of the current node and their # childs is just equal to one # In the case when we have 2 or more connected components, when we see # A node that has no parent and it's different from 0 then we have found # a connected component def find_root(n, lC, rC): # The root can be any of the n nodes aux_arr = [0]*n # See test case 36 # So first we have to find it # We are just looking the node that No # of parents == 0 for i in range(n): l, r = lC[i], rC[i] if l != -1: aux_arr[l] += 1 if r != -1: aux_arr[r] += 1 root = -1 for i in range(n): if aux_arr[i] == 0: root = i break return root def validateBinaryTreeNodes(n, leftChild, rightChild): root = find_root(n, leftChild, rightChild) if root == -1: return False visited = [0]*n queue = [root] visited[root] = 1 while queue: curr = queue.pop(0) l, r = leftChild[curr], rightChild[curr] if l != -1: if visited[l] == 1: return False visited[l] = 1 queue.append(l) if r != -1: if visited[r] == 1: return False visited[r] = 1 queue.append(r) for node in visited: if node == 0: return False return True
""" You have n binary tree nodes numbered from 0 to n - 1 where node i has two children leftChild[i] and rightChild[i], return true if and only if all the given nodes form exactly one valid binary tree. If node i has no left child then leftChild[i] will equal -1, similarly for the right child. Note that the nodes have no values and that we only use the node numbers in this problem. """ def find_root(n, lC, rC): aux_arr = [0] * n for i in range(n): (l, r) = (lC[i], rC[i]) if l != -1: aux_arr[l] += 1 if r != -1: aux_arr[r] += 1 root = -1 for i in range(n): if aux_arr[i] == 0: root = i break return root def validate_binary_tree_nodes(n, leftChild, rightChild): root = find_root(n, leftChild, rightChild) if root == -1: return False visited = [0] * n queue = [root] visited[root] = 1 while queue: curr = queue.pop(0) (l, r) = (leftChild[curr], rightChild[curr]) if l != -1: if visited[l] == 1: return False visited[l] = 1 queue.append(l) if r != -1: if visited[r] == 1: return False visited[r] = 1 queue.append(r) for node in visited: if node == 0: return False return True
# Nesse exemplo retorna uma lista ordenada lista = [1,5,3,2,7,50,9] def bubbleSort(list): for i in range(len(list)): for j in range(0, len(list) - 1 - i): if (list[j] > list[j+1]): temp = list[j] list[j] = list[j+1] list[j+1] = temp return list if __name__ == "__main__": bubbleSort(lista)
lista = [1, 5, 3, 2, 7, 50, 9] def bubble_sort(list): for i in range(len(list)): for j in range(0, len(list) - 1 - i): if list[j] > list[j + 1]: temp = list[j] list[j] = list[j + 1] list[j + 1] = temp return list if __name__ == '__main__': bubble_sort(lista)
# General settings HOST = "irc.twitch.tv" PORT = 6667 COOLDOWN = 10 #Global cooldown for commands (in seconds) # Bot account settings PASS = "oauth:abcabcabcabcabcabcacb1231231231" IDENT = "bot_username" # Channel owner settings CHANNEL = "channel_owner_username" #The username of your Twitch account (lowercase) CHANNELPASS = "oauth:abcabcbaacbacbabcbac123456789" #The oauth token for the channel owner's Twitch account (the whole thing, including "oauth:") GAMES = [['Sample Game', 'sg', 'Sample Platform', 'sp64'], ['Sample Game 2', 'sg2', 'Sample Platform', 'sp64']] CATEGORIES = [['Sample Category 1', 'sample_1'], ['Sample Category 2', 'sample_2']] SRC_USERNAME = CHANNEL
host = 'irc.twitch.tv' port = 6667 cooldown = 10 pass = 'oauth:abcabcabcabcabcabcacb1231231231' ident = 'bot_username' channel = 'channel_owner_username' channelpass = 'oauth:abcabcbaacbacbabcbac123456789' games = [['Sample Game', 'sg', 'Sample Platform', 'sp64'], ['Sample Game 2', 'sg2', 'Sample Platform', 'sp64']] categories = [['Sample Category 1', 'sample_1'], ['Sample Category 2', 'sample_2']] src_username = CHANNEL
__author__ = 'shukkkur' ''' https://codeforces.com/problemset/problem/1399/A A. Remove Smallest Couldn't Solve it myself, answer borrowed. ''' for _ in range(int(input())): n = int(input()) a = set(map(int, input().split())) print('YES' if max(a)-min(a) < len(a) else 'NO')
__author__ = 'shukkkur' "\nhttps://codeforces.com/problemset/problem/1399/A\nA. Remove Smallest\nCouldn't Solve it myself, answer borrowed.\n" for _ in range(int(input())): n = int(input()) a = set(map(int, input().split())) print('YES' if max(a) - min(a) < len(a) else 'NO')
N, *a = map(int, open(0).read().split()) i, j = 0, 0 c = 0 result = 0 while j < N: if c <= N: c += a[j] j += 1 else: c -= a[i] i += 1 if c == N: result += 1 while i < N: c -= a[i] i += 1 if c == N: result += 1 print(result)
(n, *a) = map(int, open(0).read().split()) (i, j) = (0, 0) c = 0 result = 0 while j < N: if c <= N: c += a[j] j += 1 else: c -= a[i] i += 1 if c == N: result += 1 while i < N: c -= a[i] i += 1 if c == N: result += 1 print(result)
# test using cpu only cpu = False # type of network to be trained, can be bnn, full-bnn, qnn, full-qnn, tnn, full-tnn network_type = 'full-qnn' # bits can be None, 2, 4, 8 , whatever bits=None wbits = 4 abits = 4 # finetune an be false or true finetune = False architecture = 'RESNET' # architecture = 'VGG' dataset='CIFAR-10' # dataset='MNIST' if dataset == 'CIFAR-10': dim=32 channels=3 else: dim=28 channels=1 classes=10 data_augmentation=True #regularization kernel_regularizer=0. kernel_initializer='glorot_uniform' activity_regularizer=0. # width and depth nla=1 nfa=64 nlb=1 nfb=128 nlc=1 nfc=256 nres=3 pfilt=1 cuda="0" #learning rate decay, factor => LR *= factor decay_at_epoch = [0, 8, 12 ] factor_at_epoch = [1, .1, .1] kernel_lr_multiplier = 10 # debug and logging progress_logging = 2 # can be 0 = no std logging, 1 = progress bar logging, 2 = one log line per epoch epochs = 200 batch_size = 128 lr = 0.1 decay = 0.000025 date="00/00/0000" # important paths out_wght_path = './weights/{}_{}_{}b_{}b_{}_{}_{}_{}_{}_{}.hdf5'.format(dataset,network_type,abits,wbits,nla,nfa,nlb,nfb,nlc,nfc) tensorboard_name = '{}_{}_{}b_{}b_{}_{}_{}_{}_{}_{}.hdf5'.format(dataset,network_type,abits,wbits,nla,nfa,nlb,nfb,nlc,nfc)
cpu = False network_type = 'full-qnn' bits = None wbits = 4 abits = 4 finetune = False architecture = 'RESNET' dataset = 'CIFAR-10' if dataset == 'CIFAR-10': dim = 32 channels = 3 else: dim = 28 channels = 1 classes = 10 data_augmentation = True kernel_regularizer = 0.0 kernel_initializer = 'glorot_uniform' activity_regularizer = 0.0 nla = 1 nfa = 64 nlb = 1 nfb = 128 nlc = 1 nfc = 256 nres = 3 pfilt = 1 cuda = '0' decay_at_epoch = [0, 8, 12] factor_at_epoch = [1, 0.1, 0.1] kernel_lr_multiplier = 10 progress_logging = 2 epochs = 200 batch_size = 128 lr = 0.1 decay = 2.5e-05 date = '00/00/0000' out_wght_path = './weights/{}_{}_{}b_{}b_{}_{}_{}_{}_{}_{}.hdf5'.format(dataset, network_type, abits, wbits, nla, nfa, nlb, nfb, nlc, nfc) tensorboard_name = '{}_{}_{}b_{}b_{}_{}_{}_{}_{}_{}.hdf5'.format(dataset, network_type, abits, wbits, nla, nfa, nlb, nfb, nlc, nfc)
# JIG code from Stand-up Maths video "Why don't Jigsaw Puzzles have the correct number of pieces?" def low_factors(n): # all the factors which are the lower half of each factor pair lf = [] for i in range(1, int(n**0.5)+1): if n % i == 0: lf.append(i) return lf def jig(w,h,n,b=0): # percentage we'll check in either direction threshold = 0.1 # the extra badness per piece penalty = 1.005 ratio = max(w,h)/min(w,h) # switched to be greater than 1 print("") print(f"{w} by {h} is picture ratio {round(ratio,4)}") print("") max_cap = int((1+threshold)*n) min_cap = int((1-threshold)*n) up_range = [i for i in range(n,max_cap+1)] down_range = [i for i in range(min_cap,n)] # do not want n included again down_range.reverse() # start at 100 which is silly high and then move down. up_best = 100 up_best_deets = [] down_best = 100 down_best_deets = [] # I am using the run marker so I know if looking above or below n run = 0 for dis_range in [up_range,down_range]: best_n = 0 best_n_ratio = 0 best_n_sides = [] if run == 0: print(f"Looking for >= {n} solutions:") print("") else: print("") print("Just out of interest, here are smaller options:") print("") for i in dis_range: this_best = 0 for j in low_factors(i): j2 = int(i/j) # must be a whole number anyway this_ratio = j2/j if this_best == 0: this_best = this_ratio best_sides = [j,j2] else: if abs(this_ratio/ratio - 1) < abs(this_best/ratio - 1): this_best = this_ratio best_sides = [j,j2] yes = 0 if best_n == 0: yes = 1 else: if abs(this_best/ratio - 1) < abs(best_n_ratio/ratio - 1): yes = 1 if yes == 1: best_n = i best_n_ratio = this_best best_n_sides = best_sides piece_ratio = max(ratio,this_best)/min(ratio,this_best) badness_score = (penalty**(abs(i-n)))*piece_ratio if run == 0: if badness_score < up_best: up_best = badness_score up_best_deets = [best_n,best_n_sides,best_n_ratio] else: if badness_score < down_best: down_best = badness_score down_best_deets = [best_n,best_n_sides,best_n_ratio] print(f"{best_n} pieces in {best_n_sides} (grid ratio {round(best_n_ratio,4)}) needs piece ratio {round(piece_ratio,4)}") if b==1: print(f"[badness = {round(badness_score,5)}]") print(f"for {n} the best is {best_n} pieces with size {best_n_sides}") run += 1 print("") print(f"If I had to guess: I think it's {up_best_deets[0]} pieces.") if down_best < up_best: print("") print(f"BUT, fun fact, {down_best_deets[0]} would be even better.") print("") return 'DONE' # I duplicated jig_v0 to make is easier to show in the video def jig_v0(w,h,n,b=0): # percentage we'll check in either direction threshold = 0.1 penalty = 1.005 ratio = max(w,h)/min(w,h) # switched to be greater than 1 print("") print(f"{w} by {h} is picture ratio {round(ratio,4)}") print("") max_cap = int((1+threshold)*n) min_cap = int((1-threshold)*n) up_range = [i for i in range(n,max_cap+1)] down_range = [i for i in range(min_cap,n)] # do not want n included again down_range.reverse() # start at 100 which is silly high and then move down. up_best = 100 up_best_deets = [] down_best = 100 down_best_deets = [] run = 0 for dis_range in [up_range,down_range]: best_n = 0 best_n_ratio = 0 best_n_sides = [] if run == 0: print(f"Looking for >= {n} solutions:") print("") else: print("") print("Just out of interest, here are smaller options:") print("") for i in dis_range: this_best = 0 for j in low_factors(i): j2 = int(i/j) # must be a whole number anyway this_ratio = j2/j if this_best == 0: this_best = this_ratio best_sides = [j,j2] else: if abs(this_ratio/ratio - 1) < abs(this_best/ratio - 1): this_best = this_ratio best_sides = [j,j2] yes = 0 if best_n == 0: yes = 1 else: if abs(this_best/ratio - 1) < abs(best_n_ratio/ratio - 1): yes = 1 if yes == 1: best_n = i best_n_ratio = this_best best_n_sides = best_sides piece_ratio = max(ratio,this_best)/min(ratio,this_best) badness_score = (penalty**(abs(i-n)))*piece_ratio if run == 0: if badness_score < up_best: up_best = badness_score up_best_deets = [best_n,best_n_sides,best_n_ratio] else: if badness_score < down_best: down_best = badness_score down_best_deets = [best_n,best_n_sides,best_n_ratio] print(f"{best_n} pieces in {best_n_sides} (grid ratio {round(best_n_ratio,4)}) needs piece ratio {round(piece_ratio,4)}") if b==1: print(f"[badness = {round(badness_score,5)}]") run += 1 print("") return 'DONE'
def low_factors(n): lf = [] for i in range(1, int(n ** 0.5) + 1): if n % i == 0: lf.append(i) return lf def jig(w, h, n, b=0): threshold = 0.1 penalty = 1.005 ratio = max(w, h) / min(w, h) print('') print(f'{w} by {h} is picture ratio {round(ratio, 4)}') print('') max_cap = int((1 + threshold) * n) min_cap = int((1 - threshold) * n) up_range = [i for i in range(n, max_cap + 1)] down_range = [i for i in range(min_cap, n)] down_range.reverse() up_best = 100 up_best_deets = [] down_best = 100 down_best_deets = [] run = 0 for dis_range in [up_range, down_range]: best_n = 0 best_n_ratio = 0 best_n_sides = [] if run == 0: print(f'Looking for >= {n} solutions:') print('') else: print('') print('Just out of interest, here are smaller options:') print('') for i in dis_range: this_best = 0 for j in low_factors(i): j2 = int(i / j) this_ratio = j2 / j if this_best == 0: this_best = this_ratio best_sides = [j, j2] elif abs(this_ratio / ratio - 1) < abs(this_best / ratio - 1): this_best = this_ratio best_sides = [j, j2] yes = 0 if best_n == 0: yes = 1 elif abs(this_best / ratio - 1) < abs(best_n_ratio / ratio - 1): yes = 1 if yes == 1: best_n = i best_n_ratio = this_best best_n_sides = best_sides piece_ratio = max(ratio, this_best) / min(ratio, this_best) badness_score = penalty ** abs(i - n) * piece_ratio if run == 0: if badness_score < up_best: up_best = badness_score up_best_deets = [best_n, best_n_sides, best_n_ratio] elif badness_score < down_best: down_best = badness_score down_best_deets = [best_n, best_n_sides, best_n_ratio] print(f'{best_n} pieces in {best_n_sides} (grid ratio {round(best_n_ratio, 4)}) needs piece ratio {round(piece_ratio, 4)}') if b == 1: print(f'[badness = {round(badness_score, 5)}]') print(f'for {n} the best is {best_n} pieces with size {best_n_sides}') run += 1 print('') print(f"If I had to guess: I think it's {up_best_deets[0]} pieces.") if down_best < up_best: print('') print(f'BUT, fun fact, {down_best_deets[0]} would be even better.') print('') return 'DONE' def jig_v0(w, h, n, b=0): threshold = 0.1 penalty = 1.005 ratio = max(w, h) / min(w, h) print('') print(f'{w} by {h} is picture ratio {round(ratio, 4)}') print('') max_cap = int((1 + threshold) * n) min_cap = int((1 - threshold) * n) up_range = [i for i in range(n, max_cap + 1)] down_range = [i for i in range(min_cap, n)] down_range.reverse() up_best = 100 up_best_deets = [] down_best = 100 down_best_deets = [] run = 0 for dis_range in [up_range, down_range]: best_n = 0 best_n_ratio = 0 best_n_sides = [] if run == 0: print(f'Looking for >= {n} solutions:') print('') else: print('') print('Just out of interest, here are smaller options:') print('') for i in dis_range: this_best = 0 for j in low_factors(i): j2 = int(i / j) this_ratio = j2 / j if this_best == 0: this_best = this_ratio best_sides = [j, j2] elif abs(this_ratio / ratio - 1) < abs(this_best / ratio - 1): this_best = this_ratio best_sides = [j, j2] yes = 0 if best_n == 0: yes = 1 elif abs(this_best / ratio - 1) < abs(best_n_ratio / ratio - 1): yes = 1 if yes == 1: best_n = i best_n_ratio = this_best best_n_sides = best_sides piece_ratio = max(ratio, this_best) / min(ratio, this_best) badness_score = penalty ** abs(i - n) * piece_ratio if run == 0: if badness_score < up_best: up_best = badness_score up_best_deets = [best_n, best_n_sides, best_n_ratio] elif badness_score < down_best: down_best = badness_score down_best_deets = [best_n, best_n_sides, best_n_ratio] print(f'{best_n} pieces in {best_n_sides} (grid ratio {round(best_n_ratio, 4)}) needs piece ratio {round(piece_ratio, 4)}') if b == 1: print(f'[badness = {round(badness_score, 5)}]') run += 1 print('') return 'DONE'
class Grandpa: basketball = 1 class Dad(Grandpa): dance = 1 def d(this): return f"Yes I Dance {this.dance} no of times" class Grandson(Dad): dance = 6 def d(this): return f"Yes I Dance AWESOMELY {this.dance} no of times" jo = Grandpa() bo = Dad() po = Grandson() # Everything DAD[OR GANDPA] HAS GOES TO SON TOO -- print(po.basketball) print(po.d())
class Grandpa: basketball = 1 class Dad(Grandpa): dance = 1 def d(this): return f'Yes I Dance {this.dance} no of times' class Grandson(Dad): dance = 6 def d(this): return f'Yes I Dance AWESOMELY {this.dance} no of times' jo = grandpa() bo = dad() po = grandson() print(po.basketball) print(po.d())
def findDecision(obj): #obj[0]: Passanger, obj[1]: Time, obj[2]: Coupon, obj[3]: Coupon_validity, obj[4]: Gender, obj[5]: Age, obj[6]: Children, obj[7]: Education, obj[8]: Occupation, obj[9]: Income, obj[10]: Bar, obj[11]: Coffeehouse, obj[12]: Restaurant20to50, obj[13]: Direction_same, obj[14]: Distance # {"feature": "Direction_same", "instances": 34, "metric_value": 0.9774, "depth": 1} if obj[13]<=0: # {"feature": "Passanger", "instances": 28, "metric_value": 1.0, "depth": 2} if obj[0]<=2: # {"feature": "Coupon", "instances": 18, "metric_value": 0.8524, "depth": 3} if obj[2]<=3: # {"feature": "Bar", "instances": 11, "metric_value": 0.994, "depth": 4} if obj[10]<=1.0: # {"feature": "Education", "instances": 7, "metric_value": 0.8631, "depth": 5} if obj[7]<=1: return 'True' elif obj[7]>1: # {"feature": "Gender", "instances": 3, "metric_value": 0.9183, "depth": 6} if obj[4]<=0: return 'False' elif obj[4]>0: return 'True' else: return 'True' else: return 'False' elif obj[10]>1.0: return 'False' else: return 'False' elif obj[2]>3: return 'False' else: return 'False' elif obj[0]>2: # {"feature": "Occupation", "instances": 10, "metric_value": 0.469, "depth": 3} if obj[8]<=9: return 'True' elif obj[8]>9: # {"feature": "Time", "instances": 2, "metric_value": 1.0, "depth": 4} if obj[1]<=0: return 'True' elif obj[1]>0: return 'False' else: return 'False' else: return 'True' else: return 'True' elif obj[13]>0: return 'True' else: return 'True'
def find_decision(obj): if obj[13] <= 0: if obj[0] <= 2: if obj[2] <= 3: if obj[10] <= 1.0: if obj[7] <= 1: return 'True' elif obj[7] > 1: if obj[4] <= 0: return 'False' elif obj[4] > 0: return 'True' else: return 'True' else: return 'False' elif obj[10] > 1.0: return 'False' else: return 'False' elif obj[2] > 3: return 'False' else: return 'False' elif obj[0] > 2: if obj[8] <= 9: return 'True' elif obj[8] > 9: if obj[1] <= 0: return 'True' elif obj[1] > 0: return 'False' else: return 'False' else: return 'True' else: return 'True' elif obj[13] > 0: return 'True' else: return 'True'
DOMAIN = "meross" CONF_KEY = "key" CONF_VALIDATE = "validate" CONF_UUID = "uuid" DEVICE_OFF = 0 DEVICE_ON = 1 LISTEN_TOPIC = '/appliance/{}/publish' PUBLISH_TOPIC = '/appliance/{}/subscribe' APP_METHOD_PUSH = "PUSH" APP_METHOD_GET = "GET" APP_METHOD_SET = "SET" APP_SYS_CLOCK = "Appliance.System.Clock" APP_SYS_ALL = "Appliance.System.All" APP_CONTROL_TOGGLE = "Appliance.Control.Toggle" APP_CONTROL_ELEC = "Appliance.Control.Electricity" ATTR_VERSION = "version" ATTR_MAC = "mac_addr" ATTR_IP = "ip_addr" ATTR_CURRENT_A = "current_a"
domain = 'meross' conf_key = 'key' conf_validate = 'validate' conf_uuid = 'uuid' device_off = 0 device_on = 1 listen_topic = '/appliance/{}/publish' publish_topic = '/appliance/{}/subscribe' app_method_push = 'PUSH' app_method_get = 'GET' app_method_set = 'SET' app_sys_clock = 'Appliance.System.Clock' app_sys_all = 'Appliance.System.All' app_control_toggle = 'Appliance.Control.Toggle' app_control_elec = 'Appliance.Control.Electricity' attr_version = 'version' attr_mac = 'mac_addr' attr_ip = 'ip_addr' attr_current_a = 'current_a'
#!/usr/bin/env python3 def main(): print( getProd2() ) print( getProd3() ) def getProd2(): with open( "expenses.txt" ) as f: expenses = [ int( i.rstrip("\n") ) for i in f.readlines() ] n = len( expenses ) for i in range( n ): for j in range( i + 1, n ): if expenses[ i ] + expenses[ j ] == 2020: return( expenses[ i ] * expenses[ j ] ) def getProd3(): with open( "expenses.txt" ) as f: expenses = [ int( i.rstrip("\n") ) for i in f.readlines() ] n = len( expenses ) for i in range( n ): for j in range( i + 1, n ): for k in range( j + 1, n ): if expenses[ i ] + expenses[ j ] + expenses[ k ] == 2020: return( expenses[ i ] * expenses[ j ] * expenses[ k ] ) if __name__ == "__main__": main()
def main(): print(get_prod2()) print(get_prod3()) def get_prod2(): with open('expenses.txt') as f: expenses = [int(i.rstrip('\n')) for i in f.readlines()] n = len(expenses) for i in range(n): for j in range(i + 1, n): if expenses[i] + expenses[j] == 2020: return expenses[i] * expenses[j] def get_prod3(): with open('expenses.txt') as f: expenses = [int(i.rstrip('\n')) for i in f.readlines()] n = len(expenses) for i in range(n): for j in range(i + 1, n): for k in range(j + 1, n): if expenses[i] + expenses[j] + expenses[k] == 2020: return expenses[i] * expenses[j] * expenses[k] if __name__ == '__main__': main()
class LinkedListIterator: def __init__(self, beginning): self._current_cell = beginning self._first = True def __iter__(self): return self def __next__(self): try: getattr(self._current_cell, "value") except AttributeError: raise StopIteration() else: if self._first: self._first = False return self._current_cell self._current_cell = self._current_cell.next if self._current_cell is None: raise StopIteration() else: return self._current_cell.value
class Linkedlistiterator: def __init__(self, beginning): self._current_cell = beginning self._first = True def __iter__(self): return self def __next__(self): try: getattr(self._current_cell, 'value') except AttributeError: raise stop_iteration() else: if self._first: self._first = False return self._current_cell self._current_cell = self._current_cell.next if self._current_cell is None: raise stop_iteration() else: return self._current_cell.value
'''https://practice.geeksforgeeks.org/problems/subarray-with-0-sum-1587115621/1 Subarray with 0 sum Easy Accuracy: 49.91% Submissions: 74975 Points: 2 Given an array of positive and negative numbers. Find if there is a subarray (of size at-least one) with 0 sum. Example 1: Input: 5 4 2 -3 1 6 Output: Yes Explanation: 2, -3, 1 is the subarray with sum 0. Example 2: Input: 5 4 2 0 1 6 Output: Yes Explanation: 0 is one of the element in the array so there exist a subarray with sum 0. Your Task: You only need to complete the function subArrayExists() that takes array and n as parameters and returns true or false depending upon whether there is a subarray present with 0-sum or not. Printing will be taken care by the drivers code. Expected Time Complexity: O(n). Expected Auxiliary Space: O(n). Constraints: 1 <= n <= 104 -105 <= a[i] <= 105''' # User function Template for python3 class Solution: # Function to check whether there is a subarray present with 0-sum or not. def subArrayExists(self, arr, n): # Your code here # Return true or false s = set() sum = 0 for i in range(n): sum += arr[i] if sum == 0 or sum in s: return True s.add(sum) return False # { # Driver Code Starts # Initial Template for Python 3 def main(): T = int(input()) while(T > 0): n = int(input()) arr = [int(x) for x in input().strip().split()] if(Solution().subArrayExists(arr, n)): print("Yes") else: print("No") T -= 1 if __name__ == "__main__": main() # } Driver Code Ends
"""https://practice.geeksforgeeks.org/problems/subarray-with-0-sum-1587115621/1 Subarray with 0 sum Easy Accuracy: 49.91% Submissions: 74975 Points: 2 Given an array of positive and negative numbers. Find if there is a subarray (of size at-least one) with 0 sum. Example 1: Input: 5 4 2 -3 1 6 Output: Yes Explanation: 2, -3, 1 is the subarray with sum 0. Example 2: Input: 5 4 2 0 1 6 Output: Yes Explanation: 0 is one of the element in the array so there exist a subarray with sum 0. Your Task: You only need to complete the function subArrayExists() that takes array and n as parameters and returns true or false depending upon whether there is a subarray present with 0-sum or not. Printing will be taken care by the drivers code. Expected Time Complexity: O(n). Expected Auxiliary Space: O(n). Constraints: 1 <= n <= 104 -105 <= a[i] <= 105""" class Solution: def sub_array_exists(self, arr, n): s = set() sum = 0 for i in range(n): sum += arr[i] if sum == 0 or sum in s: return True s.add(sum) return False def main(): t = int(input()) while T > 0: n = int(input()) arr = [int(x) for x in input().strip().split()] if solution().subArrayExists(arr, n): print('Yes') else: print('No') t -= 1 if __name__ == '__main__': main()
all__ = ['jazPush', 'jazRvalue', 'jazLvalue', 'jazPop', 'jazAssign', 'jazCopy'] class jazPush: def __init__(self): self.command = "push" def call(self, interpreter, arg): interpreter.GetScope().stack.append(int(arg)) return None class jazRvalue: def __init__(self): self.command = "rvalue" def call(self, interpreter, arg): value = interpreter.GetScope().GetVar(arg) interpreter.GetScope().stack.append(value) return None class jazLvalue: def __init__(self): self.command = "lvalue" def call(self, interpreter, arg): address = interpreter.GetScope().GetAddress(arg) interpreter.GetScope().stack.append(address) return None class jazPop: def __init__(self): self.command = "pop" def call(self, interpreter, arg): interpreter.GetScope().stack.pop() return None class jazAssign: def __init__(self): self.command = ":=" def call(self, interpreter, arg): value = interpreter.GetScope().stack.pop() addr = interpreter.GetScope().stack.pop() interpreter.GetScope().SetVar(addr, value) return None class jazCopy: def __init__(self): self.command = "copy" def call(self, interpreter, arg): topStack = interpreter.GetScope().stack[-1] interpreter.GetScope().stack.append(topStack) return None # A dictionary of the classes in this file # used to autoload the functions Functions = {'jazPush': jazPush, 'jazRvalue': jazRvalue, 'jazLvalue': jazRvalue, 'jazPop':jazPop, 'jazAssign':jazAssign, 'jazCopy':jazCopy}
all__ = ['jazPush', 'jazRvalue', 'jazLvalue', 'jazPop', 'jazAssign', 'jazCopy'] class Jazpush: def __init__(self): self.command = 'push' def call(self, interpreter, arg): interpreter.GetScope().stack.append(int(arg)) return None class Jazrvalue: def __init__(self): self.command = 'rvalue' def call(self, interpreter, arg): value = interpreter.GetScope().GetVar(arg) interpreter.GetScope().stack.append(value) return None class Jazlvalue: def __init__(self): self.command = 'lvalue' def call(self, interpreter, arg): address = interpreter.GetScope().GetAddress(arg) interpreter.GetScope().stack.append(address) return None class Jazpop: def __init__(self): self.command = 'pop' def call(self, interpreter, arg): interpreter.GetScope().stack.pop() return None class Jazassign: def __init__(self): self.command = ':=' def call(self, interpreter, arg): value = interpreter.GetScope().stack.pop() addr = interpreter.GetScope().stack.pop() interpreter.GetScope().SetVar(addr, value) return None class Jazcopy: def __init__(self): self.command = 'copy' def call(self, interpreter, arg): top_stack = interpreter.GetScope().stack[-1] interpreter.GetScope().stack.append(topStack) return None functions = {'jazPush': jazPush, 'jazRvalue': jazRvalue, 'jazLvalue': jazRvalue, 'jazPop': jazPop, 'jazAssign': jazAssign, 'jazCopy': jazCopy}
a = int(input()) length = 0 sum_of_sequence = 0 while a != 0: sum_of_sequence += a length += 1 a = int(input()) print(sum_of_sequence / length)
a = int(input()) length = 0 sum_of_sequence = 0 while a != 0: sum_of_sequence += a length += 1 a = int(input()) print(sum_of_sequence / length)
def swap(i): i = i.swapcase() return i if __name__ == "__main__": s = input() res = swap(s) print(res)
def swap(i): i = i.swapcase() return i if __name__ == '__main__': s = input() res = swap(s) print(res)
class Cell(object): def __init__(self, x, y): self.x = x self.y = y def __lt__(self, other): if (self.x < other.x): return True elif (self.x > other.x): return False elif (self.x == other.x): return (self.y < other.y)
class Cell(object): def __init__(self, x, y): self.x = x self.y = y def __lt__(self, other): if self.x < other.x: return True elif self.x > other.x: return False elif self.x == other.x: return self.y < other.y
# # CAMP # # Copyright (C) 2017 -- 2019 SINTEF Digital # All rights reserved. # # This software may be modified and distributed under the terms # of the MIT license. See the LICENSE file for details. # class About: PROGRAM = "CAMP" VERSION = "0.7.0" COMMIT_HASH = None LICENSE = "MIT" COPYRIGHT = "Copyright (C) 2017 -- 2019 SINTEF Digital" DESCRIPTION = "Amplify your configuration tests!" @staticmethod def full_version(): if About.COMMIT_HASH: return "%s-git.%s" % (About.VERSION, About.COMMIT_HASH[:7]) return About.VERSION
class About: program = 'CAMP' version = '0.7.0' commit_hash = None license = 'MIT' copyright = 'Copyright (C) 2017 -- 2019 SINTEF Digital' description = 'Amplify your configuration tests!' @staticmethod def full_version(): if About.COMMIT_HASH: return '%s-git.%s' % (About.VERSION, About.COMMIT_HASH[:7]) return About.VERSION
# SIMPLE FORMULA # __________________________________________________________________________________________ # VARIABLE # - Localize language: ID textOpen=( 'Solve it! #1', 'Diketahui W=((X+YxZ)/(XxY))^Z' ) textInX='Nilai X:' textInY='Nilai Y:' textInZ='Nilai Z:' textOut='Nilai W adalah' # __________________________________________________________________________________________ # PROGRAM print(f'\n{textOpen[0]}\n\n{textOpen[1]}\n') x=int(input(f'{textInX} ')) y=int(input(f'{textInY} ')) z=int(input(f'{textInZ} ')) w=((x+y*z)/(x*y))**z print(f'{textOut} {w}')
text_open = ('Solve it! #1', 'Diketahui W=((X+YxZ)/(XxY))^Z') text_in_x = 'Nilai X:' text_in_y = 'Nilai Y:' text_in_z = 'Nilai Z:' text_out = 'Nilai W adalah' print(f'\n{textOpen[0]}\n\n{textOpen[1]}\n') x = int(input(f'{textInX} ')) y = int(input(f'{textInY} ')) z = int(input(f'{textInZ} ')) w = ((x + y * z) / (x * y)) ** z print(f'{textOut} {w}')
# I have used sieve of erato algorithm to solve this problem def seive(Max): primes = [] isprime = [False] * (Max) maxN = Max if maxN < 2: return 0 if maxN >= 2: isprime[0] = isprime[1] = True for i in range(2, maxN): if (isprime[i] is False): for j in range(i * i, maxN, i): isprime[j] = True for i in range(Max): if isprime[i] is False: primes.append(i) return len(primes) class Solution: def countPrimes(self, n: int) -> int: return seive(n)
def seive(Max): primes = [] isprime = [False] * Max max_n = Max if maxN < 2: return 0 if maxN >= 2: isprime[0] = isprime[1] = True for i in range(2, maxN): if isprime[i] is False: for j in range(i * i, maxN, i): isprime[j] = True for i in range(Max): if isprime[i] is False: primes.append(i) return len(primes) class Solution: def count_primes(self, n: int) -> int: return seive(n)
class Solution(): def isUnique(self, string: str): '''Checks whether a given string has unique characters only Inputs ------ string: str string to be checked for unique chars Assumptions ------------ Whitespace ' ' is a character String is in ASCII-128 Returns ------- bool whether string has unique chars only ''' if len(string) > 128: return False seen_chars = set() for char in string: if char in seen_chars: return False seen_chars.add(char) return True print(Solution().isUnique('the quick brown')) # False print(Solution().isUnique('the quickbrown')) # True
class Solution: def is_unique(self, string: str): """Checks whether a given string has unique characters only Inputs ------ string: str string to be checked for unique chars Assumptions ------------ Whitespace ' ' is a character String is in ASCII-128 Returns ------- bool whether string has unique chars only """ if len(string) > 128: return False seen_chars = set() for char in string: if char in seen_chars: return False seen_chars.add(char) return True print(solution().isUnique('the quick brown')) print(solution().isUnique('the quickbrown'))
class Page(): def __init__(self, parent, render): self.__parent = parent self.__render = render def render(self): return self.__render(self) def parent(self): return self.__parent
class Page: def __init__(self, parent, render): self.__parent = parent self.__render = render def render(self): return self.__render(self) def parent(self): return self.__parent
# from astra import models # # class UserObject(models.Model): # def # # # class MetaDemo(type): pass class Demo(metaclass=MetaDemo): pass d = Demo() print(d.__class__.__metaclass__)
class Metademo(type): pass class Demo(metaclass=MetaDemo): pass d = demo() print(d.__class__.__metaclass__)