content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
class Environment(object):
def __init__(self, fl_server):
self.fl_server = fl_server
self.fl_server.boot()
# Run federated learning
self.fl_server.run()
def reset(self):
pass
# Delete global model
os.remove(self.fl_server.paths.model + '/global')
def step(self, action):
pass
def get_reward(self):
pass
def plot_state(self):
pass
def observe(self):
pass | class Environment(object):
def __init__(self, fl_server):
self.fl_server = fl_server
self.fl_server.boot()
self.fl_server.run()
def reset(self):
pass
os.remove(self.fl_server.paths.model + '/global')
def step(self, action):
pass
def get_reward(self):
pass
def plot_state(self):
pass
def observe(self):
pass |
#
# PySNMP MIB module SWL2MGMT-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SWL2MGMT-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:13:33 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ValueRangeConstraint")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
Unsigned32, Counter32, Gauge32, iso, NotificationType, Integer32, Bits, NotificationType, ObjectIdentity, Counter64, TimeTicks, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "Counter32", "Gauge32", "iso", "NotificationType", "Integer32", "Bits", "NotificationType", "ObjectIdentity", "Counter64", "TimeTicks", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "IpAddress")
MacAddress, TextualConvention, TruthValue, RowStatus, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "TextualConvention", "TruthValue", "RowStatus", "DisplayString")
privateMgmt, = mibBuilder.importSymbols("SWPRIMGMT-MIB", "privateMgmt")
swL2MgmtMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2))
if mibBuilder.loadTexts: swL2MgmtMIB.setLastUpdated('0007150000Z')
if mibBuilder.loadTexts: swL2MgmtMIB.setOrganization('enterprise, Inc.')
if mibBuilder.loadTexts: swL2MgmtMIB.setContactInfo(' Customer Service Postal: Tel: E-mail: ')
if mibBuilder.loadTexts: swL2MgmtMIB.setDescription('The Structure of Layer 2 Network Management Information for the proprietary enterprise.')
class PortList(OctetString):
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(0, 127)
class VlanIndex(Unsigned32):
pass
swL2DevMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1))
swL2UnitMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 2))
swL2ModuleMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 3))
swL2PortMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4))
swL2FilterMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6))
swL2VlanMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7))
swL2TrunkMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8))
swL2MirrorMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 9))
swL2IGMPMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10))
swL2TrafficMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12))
swL2QosMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13))
swL2MgmtMIBTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 14))
swL2StormCtrlMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15))
swL2ACLQosMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16))
swL2MgmtPortMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17))
swL2DevInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1))
swDevInfoSystemUpTime = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 1), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swDevInfoSystemUpTime.setStatus('current')
if mibBuilder.loadTexts: swDevInfoSystemUpTime.setDescription('The value of sysUpTime at the time the switch entered its current operational state. If the current state was entered prior to the last re-initialization, then this object contains a zero value. This value is in units of seconds.')
swDevInfoTotalNumOfPort = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swDevInfoTotalNumOfPort.setStatus('current')
if mibBuilder.loadTexts: swDevInfoTotalNumOfPort.setDescription('The number of ports within this switch. This value is the sum of the ports within this switch.')
swDevInfoNumOfPortInUse = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swDevInfoNumOfPortInUse.setStatus('current')
if mibBuilder.loadTexts: swDevInfoNumOfPortInUse.setDescription('The number of ports in this switch connected to the segment or the end stations.')
swDevInfoConsoleInUse = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("in-use", 2), ("not-in-use", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swDevInfoConsoleInUse.setStatus('current')
if mibBuilder.loadTexts: swDevInfoConsoleInUse.setDescription('This usage indication of console system.')
swDevInfoFrontPanelLedStatus = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 324))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swDevInfoFrontPanelLedStatus.setStatus('current')
if mibBuilder.loadTexts: swDevInfoFrontPanelLedStatus.setDescription('This object is a set of system LED indications. The first three octets is defined as system LED. The first LED is primary power LED. The second LED is redundant power LED. The third LED is console LED. The other octets following the second octets are the logical port LED (following dot1dBasePort ordering). Every two bytes are presented to a port. The first byte is presentd to the Link/Activity LED. The second byte is presented to the Speed LED. Link/Activity LED : The most significant bit is used for blink/solid: 8 = The LED blinks. The second significant bit is used for link status: 1 = link fail. 2 = link pass. Speed LED : 01 = 10Mbps. 02 = 100Mbps. 03 = 1000Mbps. The four remaining bits are currently unused and must be 0.')
swL2DevCtrlUpDownloadState = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("other", 1), ("in-process", 2), ("invalid-file", 3), ("violation", 4), ("file-not-found", 5), ("disk-full", 6), ("complete", 7), ("time-out", 8), ("tftp-establish-fail", 9)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2DevCtrlUpDownloadState.setStatus('current')
if mibBuilder.loadTexts: swL2DevCtrlUpDownloadState.setDescription("status of upload/download control. If the value is 'other', means never firmware updated since device started up.")
swDevInfoSaveCfg = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("proceeding", 2), ("ready", 3), ("failed", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swDevInfoSaveCfg.setStatus('current')
if mibBuilder.loadTexts: swDevInfoSaveCfg.setDescription('This object indicates the status of the device configuration. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. proceeding(2) - the device configuration is saving into the NV-RAM. ready(3) V the device configuration has been ready to save into NV-RAM. failed(4) - The processing of saving device configuration is failed.')
swL2DevCtrl = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2))
swL2DevCtrlStpState = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevCtrlStpState.setStatus('current')
if mibBuilder.loadTexts: swL2DevCtrlStpState.setDescription('This object can be enabled or disabled spanning tree algorithm during runtime of the system.')
swL2DevCtrlIGMPSnooping = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevCtrlIGMPSnooping.setStatus('current')
if mibBuilder.loadTexts: swL2DevCtrlIGMPSnooping.setDescription('This object indicates layer 2 Internet Group Management Protocol (IGMP) capture function is enabled or disabled.')
swL2DevCtrlRmonState = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevCtrlRmonState.setStatus('current')
if mibBuilder.loadTexts: swL2DevCtrlRmonState.setDescription('This object can be enabled or disabled RMON.')
swL2DevCtrlUpDownloadImageFileName = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevCtrlUpDownloadImageFileName.setStatus('current')
if mibBuilder.loadTexts: swL2DevCtrlUpDownloadImageFileName.setDescription('The name of the image file to be uploaded/Downloaded from the device to TFTP server when enabling image upload/download function (by writing swL2DevCtrlUpDownloadImage).')
swL2DevCtrlUpDownloadImageSourceAddr = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 5), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevCtrlUpDownloadImageSourceAddr.setStatus('current')
if mibBuilder.loadTexts: swL2DevCtrlUpDownloadImageSourceAddr.setDescription('The ip address where been uploaded/Downloaded image file.')
swL2DevCtrlUpDownloadImage = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("upload", 2), ("download", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevCtrlUpDownloadImage.setStatus('current')
if mibBuilder.loadTexts: swL2DevCtrlUpDownloadImage.setDescription("Image file upload/download control. After setting, it will immediately invoke image upload/download function. While retrieving the value of this object, it always returns 'other' normally.")
swL2DevCtrlSaveCfg = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("active", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevCtrlSaveCfg.setStatus('current')
if mibBuilder.loadTexts: swL2DevCtrlSaveCfg.setDescription('As the object is set to active, the current device configuration is save into to NV-RAM.If set to normal, do nothing.')
swL2DevCtrlCleanAllStatisticCounter = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("active", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevCtrlCleanAllStatisticCounter.setStatus('current')
if mibBuilder.loadTexts: swL2DevCtrlCleanAllStatisticCounter.setDescription('As the object is set to active, all the statistic counters will be cleared. If set to normal, do nothing.')
swL2DevCtrlStpForwardBPDU = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevCtrlStpForwardBPDU.setStatus('current')
if mibBuilder.loadTexts: swL2DevCtrlStpForwardBPDU.setDescription('This object allow the forwarding of STP BPDU packets from other network device or not when STP is disabled on the device.')
swL2DevAlarm = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 3))
swL2DevAlarmNewRoot = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevAlarmNewRoot.setStatus('current')
if mibBuilder.loadTexts: swL2DevAlarmNewRoot.setDescription('When the device has become the new root of the Spanning Tree, this object decide whether to send a new root trap.')
swL2DevAlarmTopologyChange = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevAlarmTopologyChange.setStatus('current')
if mibBuilder.loadTexts: swL2DevAlarmTopologyChange.setDescription("This object determine to send a trap or not when the switch topology was changed. If the object is enabled(3), the topologyChange trap is sent by the device when any of its configured ports transitions from the Learning state to the Forwarding state, or from the Forwarding state to the Blocking state. For the same port tranition, the device doesn't send the trap if this object value is disabled or other.")
swL2DevAlarmLinkChange = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2DevAlarmLinkChange.setStatus('current')
if mibBuilder.loadTexts: swL2DevAlarmLinkChange.setDescription("This object determine to send a trap or not when the link was changed. If the object is enabled(3), the Link Change trap is sent by the device when any of its ports link change. The device doesn't send the trap if this object value is disabled or other.")
swL2UnitCtrl = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 2, 1))
swL2PortInfoTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1), )
if mibBuilder.loadTexts: swL2PortInfoTable.setStatus('current')
if mibBuilder.loadTexts: swL2PortInfoTable.setDescription('A table that contains information about every port.')
swL2PortInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2PortInfoPortIndex"))
if mibBuilder.loadTexts: swL2PortInfoEntry.setStatus('current')
if mibBuilder.loadTexts: swL2PortInfoEntry.setDescription('A list of information for each port of the device.')
swL2PortInfoPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2PortInfoPortIndex.setStatus('current')
if mibBuilder.loadTexts: swL2PortInfoPortIndex.setDescription("This object indicates the module's port number.(1..Max port number in the module)")
swL2PortInfoUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2PortInfoUnitIndex.setStatus('current')
if mibBuilder.loadTexts: swL2PortInfoUnitIndex.setDescription('Indicates ID of the unit in the device')
swL2PortInfoType = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=NamedValues(("other", 1), ("portType-100Base-TX", 2), ("portType-100Base-FX", 3), ("portType-100Base-FL", 4), ("portType-1000Base-T", 5), ("portType-1000Base-SX", 6), ("portType-1000Base-LX", 7), ("portType-1000Base-GBIC-SX", 8), ("portType-1000Base-GBIC-LX", 9), ("portType-1000Base-GBIC-CWDM", 10), ("portType-1000Base-GBIC-XD", 11), ("portType-1000Base-GBIC-ZX", 12), ("portType-1000Base-GBIC-COPPER", 13), ("portType-1000Base-GBIC-OTHER", 14)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2PortInfoType.setStatus('current')
if mibBuilder.loadTexts: swL2PortInfoType.setDescription('This object indicates the connector type of this port.')
swL2PortInfoLinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("link-pass", 2), ("link-fail", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2PortInfoLinkStatus.setStatus('current')
if mibBuilder.loadTexts: swL2PortInfoLinkStatus.setDescription('This object indicates the port link status.')
swL2PortInfoNwayStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("other", 1), ("auto", 2), ("half-10Mbps", 3), ("full-10Mbps", 4), ("half-100Mbps", 5), ("full-100Mbps", 6), ("half-1Gigabps", 7), ("full-1Gigabps", 8)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2PortInfoNwayStatus.setStatus('current')
if mibBuilder.loadTexts: swL2PortInfoNwayStatus.setDescription('This object indicates the port speed and duplex mode.')
swL2PortCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2), )
if mibBuilder.loadTexts: swL2PortCtrlTable.setStatus('current')
if mibBuilder.loadTexts: swL2PortCtrlTable.setDescription('A table that contains control information about every port.')
swL2PortCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2PortCtrlPortIndex"))
if mibBuilder.loadTexts: swL2PortCtrlEntry.setStatus('current')
if mibBuilder.loadTexts: swL2PortCtrlEntry.setDescription('A list of control information for each port of the device.')
swL2PortCtrlPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2PortCtrlPortIndex.setStatus('current')
if mibBuilder.loadTexts: swL2PortCtrlPortIndex.setDescription("This object indicates the module's port number.(1..Max port number in the module)")
swL2PortCtrlUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2PortCtrlUnitIndex.setStatus('current')
if mibBuilder.loadTexts: swL2PortCtrlUnitIndex.setDescription('Indicates ID of the unit in the device')
swL2PortCtrlAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2PortCtrlAdminState.setStatus('current')
if mibBuilder.loadTexts: swL2PortCtrlAdminState.setDescription('This object decide the port enabled or disabled.')
swL2PortCtrlNwayState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("other", 1), ("nway-enabled", 2), ("nway-disabled-10Mbps-Half", 3), ("nway-disabled-10Mbps-Full", 4), ("nway-disabled-100Mbps-Half", 5), ("nway-disabled-100Mbps-Full", 6), ("nway-disabled-1Gigabps-Full", 7)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2PortCtrlNwayState.setStatus('current')
if mibBuilder.loadTexts: swL2PortCtrlNwayState.setDescription('Chose the port speed, duplex mode, and N-Way function mode.')
swL2PortCtrlFlowCtrlState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2PortCtrlFlowCtrlState.setStatus('current')
if mibBuilder.loadTexts: swL2PortCtrlFlowCtrlState.setDescription('The flow control mechanism is different between full duplex mode and half duplex mode. For half duplex mode, the jamming signal is asserted. For full duplex mode, IEEE 802.3x flow control function sends PAUSE frames and receives PAUSE frames.')
swL2PortCtrlAddressLearningState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2PortCtrlAddressLearningState.setStatus('current')
if mibBuilder.loadTexts: swL2PortCtrlAddressLearningState.setDescription('This object decide the address learning state on this port is enabled or disabled.')
swL2PortUtilTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3), )
if mibBuilder.loadTexts: swL2PortUtilTable.setStatus('current')
if mibBuilder.loadTexts: swL2PortUtilTable.setDescription('A table that contains information of utilization about every port.')
swL2PortUtilEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2PortUtilPortIndex"))
if mibBuilder.loadTexts: swL2PortUtilEntry.setStatus('current')
if mibBuilder.loadTexts: swL2PortUtilEntry.setDescription('A list of information of utilization for each port of the device.')
swL2PortUtilPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2PortUtilPortIndex.setStatus('current')
if mibBuilder.loadTexts: swL2PortUtilPortIndex.setDescription("This object indicates the module's port number.(1..Max port number in the module)")
swL2PortUtilTxSec = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3, 1, 2), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2PortUtilTxSec.setStatus('current')
if mibBuilder.loadTexts: swL2PortUtilTxSec.setDescription('Indicates how many packets transmitted per second.')
swL2PortUtilRxSec = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3, 1, 3), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2PortUtilRxSec.setStatus('current')
if mibBuilder.loadTexts: swL2PortUtilRxSec.setDescription('Indicates how many packets received per second.')
swL2PortUtilUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2PortUtilUtilization.setStatus('current')
if mibBuilder.loadTexts: swL2PortUtilUtilization.setDescription('This object indicates the port utilization.')
swL2FilterAddrConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1))
swL2FilterAddrMaxSupportedEntries = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2FilterAddrMaxSupportedEntries.setStatus('current')
if mibBuilder.loadTexts: swL2FilterAddrMaxSupportedEntries.setDescription('Maximum number of entries in the MAC address filtering table (swL2FilterAddrCtrlTable).')
swL2FilterAddrCurrentTotalEntries = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2FilterAddrCurrentTotalEntries.setStatus('current')
if mibBuilder.loadTexts: swL2FilterAddrCurrentTotalEntries.setDescription('Current applied number of entries in the MAC address filtering table.')
swL2FilterAddrCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 3), )
if mibBuilder.loadTexts: swL2FilterAddrCtrlTable.setStatus('current')
if mibBuilder.loadTexts: swL2FilterAddrCtrlTable.setDescription('This table defines information for the device to filter packets with specific MAC address (either as the DA and/or as the SA). The MAC address can be a unicast address or a multicast address. This table has higher priority than both static FDB table and IGMP table. It means that if a MAC address appears on this table also appears on the static FDB table, the device will use the information provide by this table to process the packet.')
swL2FilterAddrCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 3, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2FilterAddrMacIndex"))
if mibBuilder.loadTexts: swL2FilterAddrCtrlEntry.setStatus('current')
if mibBuilder.loadTexts: swL2FilterAddrCtrlEntry.setDescription('A list of information about a specific unicast/multicast MAC address for which the switch has filtering information.')
swL2FilterAddrMacIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 3, 1, 1), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2FilterAddrMacIndex.setStatus('current')
if mibBuilder.loadTexts: swL2FilterAddrMacIndex.setDescription('This object indicates a unicast/multicast MAC address for which the switch has filtering information. But if the swL2FilterAddrState = src-addr then the object can not be a multicast MAC address.')
swL2FilterAddrState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("dst-addr", 2), ("src-addr", 3), ("dst-src-addr", 4), ("invalid", 5)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2FilterAddrState.setStatus('current')
if mibBuilder.loadTexts: swL2FilterAddrState.setDescription("This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. dst-addr(2) - recieved frames's destination address are currently used to be filtered as it meets with the MAC address entry of the table. src-addr(3) - recieved frames's source address are currently used to be filtered as it meets with the MAC address entry of the table. dst-src-addr(4) - recieved frames's destination address or source address are currently used to be filtered as it meets with the MAC address entry of the table. invalid(5) - writing this value to the object, and then the corresponding entry will be removed from the table.")
swL2StaticVlanTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1), )
if mibBuilder.loadTexts: swL2StaticVlanTable.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanTable.setDescription('A table containing static configuration information for each VLAN configured into the device by (local or network) management.')
swL2StaticVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2StaticVlanIndex"))
if mibBuilder.loadTexts: swL2StaticVlanEntry.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanEntry.setDescription('Static information for a VLAN configured into the device by (local or network) management.')
swL2StaticVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2StaticVlanIndex.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanIndex.setDescription('A value that uniquely identifies the Virtual LAN associated with this entry.')
swL2StaticVlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanName.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanName.setDescription('An administratively-assigned name for this VLAN.')
swL2StaticVlanType = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("byport", 1), ("byIpSubnet", 2), ("byProtocolId", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanType.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanType.setDescription('The type of VLAN, distinguished according to the policy used to define its port membership.')
swL2StaticVlanProtocolId = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17))).clone(namedValues=NamedValues(("none", 0), ("ipEther2", 1), ("rarpEther2", 2), ("ipx802dot3", 3), ("ipx802dot2", 4), ("ipxSnap", 5), ("ipxEther2", 6), ("apltkEther2Snap", 7), ("decEther2", 8), ("decOtherEther2", 9), ("sna802dot2", 10), ("snaEther2", 11), ("netBios", 12), ("xnsEther2", 13), ("vinesEther2", 14), ("ipv6Ether2", 15), ("userDefined", 16), ("arpEther2", 17)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanProtocolId.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanProtocolId.setDescription('The protocol identifier of this VLAN. This value is meaningful only if swL2StaticVlanType is equal to byProtocolId(3). For other VLAN types it should have the value none(0).')
swL2StaticVlanIpSubnetAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 5), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanIpSubnetAddr.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanIpSubnetAddr.setDescription('The IP subnet address of this VLAN. This value is meaningful only if rcVlanType is equal to byIpSubnet(2). For other VLAN types it should have the value 0.0.0.0.')
swL2StaticVlanIpSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 6), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanIpSubnetMask.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanIpSubnetMask.setDescription('The IP subnet mask of this VLAN. This value is meaningful only if rcVlanType is equal to byIpSubnet(2). For other VLAN types it should have the value 0.0.0.0.')
swL2StaticVlanUserDefinedPid = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 2))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanUserDefinedPid.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanUserDefinedPid.setDescription('When swL2StaticVlanProtocolId is set to userDefined(16) in a protocol-based VLAN, this field represents the 16-bit user defined protocol identifier. Otherwise, this object should be zero.')
swL2StaticVlanEncap = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("all", 1), ("ethernet2", 2), ("llc", 3), ("snap", 4), ("un-used", 5)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanEncap.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanEncap.setDescription('This value is meaningful only if swL2StaticVlanProtocolId is set to userDefined(16). Otherwise, this object should be un-used(5). If If this set to ethernet2(2), the Detagged Frame uses Type-encapsulated 802.3 format. If this set to llc(3), the Detagged Frame contains both a DSAP and an SSAP address field in the positions. If this set to snap(4), the Detagged Frame is of the format specified by IEEE Std. 802.1H for the encoding of an IEEE 802.3 Type Field in an 802.2/SNAP header.')
swL2StaticVlanUserPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4, 4), ValueRangeConstraint(6, 6), ValueRangeConstraint(7, 7), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanUserPriority.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanUserPriority.setDescription('User priority level. This value is meaningful only if swL2StaticVlanType is set to byIpSubnet(2) or byProtocolId(3).')
swL2StaticVlanEgressPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 10), PortList()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanEgressPorts.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanEgressPorts.setDescription('The set of ports which are permanently assigned to the egress list for this VLAN by management. The default value of this object is a string of zeros of appropriate length.')
swL2StaticVlanUntaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 11), PortList()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanUntaggedPorts.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanUntaggedPorts.setDescription('The set of ports which should transmit egress packets for this VLAN as untagged. The default value of this object for the default VLAN is a string of appropriate length including all ports. There is no specified default for other VLANs.')
swL2StaticVlanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 12), RowStatus()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanStatus.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanStatus.setDescription('This object indicates the status of this entry.')
swL2StaticVlanIpSubnetArpClassId = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StaticVlanIpSubnetArpClassId.setStatus('current')
if mibBuilder.loadTexts: swL2StaticVlanIpSubnetArpClassId.setDescription('This object indicates the ARP classification ID. If the swL2StaticVlanType is not byIpSubnet(2), this value must be 0. If the swL2StaticVlanType is byIpSubnet(2), the range of this object is 1 to 4094. This object is useful when create the first IpSubnet entry, and not allow to modify.')
swL2VlanPortTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 2), )
if mibBuilder.loadTexts: swL2VlanPortTable.setStatus('current')
if mibBuilder.loadTexts: swL2VlanPortTable.setDescription('A table containing per port control and status information for VLAN configuration in the device.')
swL2VlanPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 2, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2VlanPortIndex"))
if mibBuilder.loadTexts: swL2VlanPortEntry.setStatus('current')
if mibBuilder.loadTexts: swL2VlanPortEntry.setDescription('Information controlling VLAN configuration for a port on the device.')
swL2VlanPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2VlanPortIndex.setStatus('current')
if mibBuilder.loadTexts: swL2VlanPortIndex.setDescription('An unique index used to identify a particular port in the system.')
swL2VlanPortPvid = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2VlanPortPvid.setStatus('current')
if mibBuilder.loadTexts: swL2VlanPortPvid.setDescription('The PVID, the VLAN ID assigned to untagged frames or Priority- Tagged frames received on this port.')
swL2VlanPortIngressChecking = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2VlanPortIngressChecking.setStatus('current')
if mibBuilder.loadTexts: swL2VlanPortIngressChecking.setDescription('When this is enabled(3) the device will discard incoming frames for VLANs which do not include this Port in its Member set. When disabled(2), the port will accept all incoming frames.')
swL2TrunkMaxSupportedEntries = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2TrunkMaxSupportedEntries.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkMaxSupportedEntries.setDescription('Maximum number of entries in the trunk configuration table (swL2TrunkCtrlTable).')
swL2TrunkCurrentNumEntries = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2TrunkCurrentNumEntries.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkCurrentNumEntries.setDescription('Current actived number of entries in the trunk configuration table.')
swL2TrunkCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3), )
if mibBuilder.loadTexts: swL2TrunkCtrlTable.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkCtrlTable.setDescription('This table specifys which ports group a set of ports(up to 8) into a single logical link.')
swL2TrunkCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2TrunkIndex"))
if mibBuilder.loadTexts: swL2TrunkCtrlEntry.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkCtrlEntry.setDescription('A list of information specifies which ports group a set of ports(up to 8) into a single logical link.')
swL2TrunkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2TrunkIndex.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkIndex.setDescription('The index of logical port trunk. The trunk group number depend on the existence of unit and module.')
swL2TrunkName = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 12))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2TrunkName.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkName.setDescription('The name of logical port trunk.')
swL2TrunkMasterPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2TrunkMasterPort.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkMasterPort.setDescription('The object indicates the master port number of the port trunk entry. When using Port Trunk, you can not configure the other ports of the group except the master port. Their configuration must be same as the master port (e.g. speed, duplex, enabled/disabled, flow control, and so on).')
swL2TrunkMember = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 4), PortList()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2TrunkMember.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkMember.setDescription('Indicate how many number of ports is included in this Trunk. The trunk port number depend on the existence of module. The maximum number of ports is 4 for one trunks.')
swL2TrunkFloodingPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2TrunkFloodingPort.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkFloodingPort.setDescription('The object indicates the flooding port number of the port trunk entry. The first port of the trunk is implicitly configured to be the flooding port.')
swL2TrunkState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3), ("invalid", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2TrunkState.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - the port trunk disabled. enabled(3) - the port trunk enabled. invalid(4) - writing this value to the object, and then the corresponding entry will be removed from the table.')
swL2TrunkBPDU8600InterState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2TrunkBPDU8600InterState.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkBPDU8600InterState.setDescription("This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - the trunk member doesn't send BPDU. enabled(3) - the trunk member can send BPDU.")
swL2TrunkAlgorithm = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("other", 1), ("mac-source", 2), ("mac-destination", 3), ("mac-source-dest", 4), ("ip-source", 5), ("ip-destination", 6), ("ip-source-dest", 7)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2TrunkAlgorithm.setStatus('current')
if mibBuilder.loadTexts: swL2TrunkAlgorithm.setDescription('This object configures to part of the packet examined by the switch when selecting the egress port for transmitting load-sharing data. This feature is only available using the address-based load-sharing algorithm.')
swL2MirrorLogicTargetPort = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 9, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2MirrorLogicTargetPort.setStatus('current')
if mibBuilder.loadTexts: swL2MirrorLogicTargetPort.setDescription('This object indicates switch which port will sniff another port. A trunk port member cannot be configured as a target Snooping port. The port number is the sequential (logical) number which is also applied to bridge MIB, etc.')
swL2MirrorPortSourceIngress = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 9, 2), PortList()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2MirrorPortSourceIngress.setStatus('current')
if mibBuilder.loadTexts: swL2MirrorPortSourceIngress.setDescription('The represent the ingress into the source port packet to sniffed.')
swL2MirrorPortSourceEgress = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 9, 3), PortList()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2MirrorPortSourceEgress.setStatus('current')
if mibBuilder.loadTexts: swL2MirrorPortSourceEgress.setDescription('The represent the egress from the source port packet to sniffed.')
swL2MirrorPortState = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 9, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2MirrorPortState.setStatus('current')
if mibBuilder.loadTexts: swL2MirrorPortState.setDescription('This object indicates the port mirroring state. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - writing this value to the object, and then the corresponding entry will be removed from the table. enabled(3) - this entry is reside in the table.')
swL2IGMPMaxSupportedVlans = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPMaxSupportedVlans.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPMaxSupportedVlans.setDescription('Maximum number of Vlans in the layer 2 IGMP control table (swL2IGMPCtrlTable).')
swL2IGMPMaxIpGroupNumPerVlan = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPMaxIpGroupNumPerVlan.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPMaxIpGroupNumPerVlan.setDescription('Maximum number of multicast ip group per Vlan in the layer 2 IGMP information table (swL2IGMPQueryInfoTable).')
swL2IGMPCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3), )
if mibBuilder.loadTexts: swL2IGMPCtrlTable.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPCtrlTable.setDescription("The table controls the Vlan's IGMP function. Its scale depends on current VLAN state (swL2VlanInfoStatus). If VLAN is disabled mode, there is only one entry in the table, with index 1. If VLAN is in Port-Base or 802.1q mode, the number of entries can be up to 12, with index range from 1 to 12.")
swL2IGMPCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2IGMPCtrlVid"))
if mibBuilder.loadTexts: swL2IGMPCtrlEntry.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPCtrlEntry.setDescription('The entry in IGMP control table (swL2IGMPCtrlTable). The entry is effective only when IGMP capture switch (swL2DevCtrlIGMPSnooping) is enabled.')
swL2IGMPCtrlVid = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPCtrlVid.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPCtrlVid.setDescription("This object indicates the IGMP control entry's VLAN id. If VLAN is disabled, the Vid is always 0 and cannot be changed by management users. If VLAN is in Port-Base mode, the Vid is arranged from 1 to 12, fixed form. If VLAN is in 802.1q mode, the Vid setting can vary from 1 to 4094 by management user, and the Vid in each entry must be unique in the IGMP Control Table.")
swL2IGMPQueryInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(125)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPQueryInterval.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPQueryInterval.setDescription('The frequency at which IGMP Host-Query packets are transmitted on this switch.')
swL2IGMPMaxResponseTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 25)).clone(10)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPMaxResponseTime.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPMaxResponseTime.setDescription('The maximum query response time on this switch.')
swL2IGMPRobustness = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(2)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPRobustness.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPRobustness.setDescription('The Robustness Variable allows tuning for the expected packet loss on a subnet. If a subnet is expected to be lossy, the Robustness Variable may be increased. IGMP is robust to (Robustness Variable-1) packet losses.')
swL2IGMPLastMemberQueryInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPLastMemberQueryInterval.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPLastMemberQueryInterval.setDescription('The Last Member Query Interval is the Max Response Time inserted into Group-Specific Queries sent in response to Leave Group messages, and is also the amount of time between Group-Specific Query messages.')
swL2IGMPHostTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16711450)).clone(260)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPHostTimeout.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPHostTimeout.setDescription('The timer value for sending IGMP query packet when none was sent by the host in the LAN. The timer works in per-VLAN basis. Our device will be activated to send the query message if the timer is expired. Please reference RFC2236-1997.')
swL2IGMPRouteTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16711450)).clone(260)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPRouteTimeout.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPRouteTimeout.setDescription('The Router Timeout is how long a host must wait after hearing a Query before it may send any IGMPv2 messages.')
swL2IGMPLeaveTimer = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16711450)).clone(1)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPLeaveTimer.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPLeaveTimer.setDescription('When a querier receives a Leave Group message for a group that has group members on the reception interface, it sends Group-Specific Queries every swL2IGMPLeaveTimer to the group being left.')
swL2IGMPQueryState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPQueryState.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPQueryState.setDescription('This object decide the IGMP query enabled or disabled.')
swL2IGMPCurrentState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("querier", 2), ("non-querier", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPCurrentState.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPCurrentState.setDescription('This object indicates the current IGMP query state.')
swL2IGMPCtrlState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPCtrlState.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPCtrlState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - IGMP funtion is disabled for this entry. enabled(3) - IGMP funtion is enabled for this entry.')
swL2IGMPQueryInfoTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 4), )
if mibBuilder.loadTexts: swL2IGMPQueryInfoTable.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPQueryInfoTable.setDescription('The table contains the number current IGMP query packets which is captured by this device, as well as the IGMP query packets sent by the device.')
swL2IGMPQueryInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 4, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2IGMPInfoVid"))
if mibBuilder.loadTexts: swL2IGMPQueryInfoEntry.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPQueryInfoEntry.setDescription('Information about current IGMP query information, provided that swL2DevCtrlIGMPSnooping and swL2IGMPCtrState of associated VLAN entry are all enabled.')
swL2IGMPInfoVid = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPInfoVid.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPInfoVid.setDescription('This object indicates the Vid of associated IGMP info table entry. It follows swL2IGMPCtrlVid in the associated entry of IGMP control table (swL2IGMPCtrlTable).')
swL2IGMPInfoQueryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPInfoQueryCount.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPInfoQueryCount.setDescription('This object indicates the number of query packets received since the IGMP function enabled, in per-VLAN basis.')
swL2IGMPInfoTxQueryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPInfoTxQueryCount.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPInfoTxQueryCount.setDescription('This object indicates the send count of IGMP query messages, in per-VLAN basis. In case of IGMP timer expiration, the switch sends IGMP query packets to related VLAN member ports and increment this object by 1.')
swL2IGMPGroupTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5), )
if mibBuilder.loadTexts: swL2IGMPGroupTable.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPGroupTable.setDescription('The table containing current IGMP information which captured by this device, provided that swL2DevCtrlIGMPSnooping and swL2IGMPCtrlState of associated VLAN entry are all enabled. Note that the priority of IGMP table entries is lower than Filtering Table, i.e. if there is a table hash collision between the entries of IGMP Table and Filtering Table inside the switch H/W address table, then Filtering Table entry overwrite the colliding entry of IGMP Table. See swL2FilterMgmt description also.')
swL2IGMPGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2IGMPVid"), (0, "SWL2MGMT-MIB", "swL2IGMPGroupIpAddr"))
if mibBuilder.loadTexts: swL2IGMPGroupEntry.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPGroupEntry.setDescription('Information about current IGMP information which captured by this device, provided that swL2DevCtrlIGMPSnooping and swL2IGMPCtrlState of associated VLAN entry are all enabled.')
swL2IGMPVid = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPVid.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPVid.setDescription('This object indicates the Vid of individual IGMP table entry. It shows the Vid of IGMP report information captured on network.')
swL2IGMPGroupIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPGroupIpAddr.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPGroupIpAddr.setDescription('This object is identify group ip address which is captured from IGMP packet, in per-Vlan basis.')
swL2IGMPMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1, 3), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPMacAddr.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPMacAddr.setDescription('This object is identify mac address which is corresponding to swL2IGMPGroupIpAddr, in per-Vlan basis.')
swL2IGMPPortMap = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1, 4), PortList()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPPortMap.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPPortMap.setDescription("This object indicates which ports are belong to the same multicast group, in per-Vlan basis. Each multicast group has a octect string to indicate with port map. The most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the switch is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is included in the set of ports; the port is not included if its bit has a value of '0'(Note that the setting of the bit corresponding to the port from which a frame is received is irrelevant). The 4 octets is represent one unit port according its logic port. If the unit less 32 port, the other port don't care just fill zero.")
swL2IGMPIpGroupReportCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPIpGroupReportCount.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPIpGroupReportCount.setDescription('This object indicate how much report packet was receive by our device corresponding with this entry from IGMP function enabled, in per-Vlan basis.')
swL2IGMPForwardTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 6), )
if mibBuilder.loadTexts: swL2IGMPForwardTable.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPForwardTable.setDescription('The table containing current IGMP forwarding information which captured by this device, provided that swL2DevCtrlIGMPSnooping and swL2IGMPCtrlState of associated VLAN entry are all enabled. Note that the priority of IGMP table entries is lower than Filtering Table, i.e. if there is a table hash collision between the entries of IGMP Table and Filtering Table inside the switch H/W address table, then Filtering Table entry overwrite the colliding entry of IGMP Table. See swL2FilterMgmt description also.')
swL2IGMPForwardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 6, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2IGMPForwardVid"), (0, "SWL2MGMT-MIB", "swL2IGMPForwardGroupIpAddr"))
if mibBuilder.loadTexts: swL2IGMPForwardEntry.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPForwardEntry.setDescription('Information about current IGMP forwarding information which captured by this device, provided that swL2DevCtrlIGMPSnooping and swL2IGMPCtrlState of associated VLAN entry are all enabled.')
swL2IGMPForwardVid = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPForwardVid.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPForwardVid.setDescription('This object indicates the Vid of individual IGMP table entry. It shows the Vid of IGMP report forward information captured on network.')
swL2IGMPForwardGroupIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 6, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPForwardGroupIpAddr.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPForwardGroupIpAddr.setDescription('This object is identify group ip address which is captured from IGMP packet, in per-Vlan basis.')
swL2IGMPForwardPortMap = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 6, 1, 3), PortList()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPForwardPortMap.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPForwardPortMap.setDescription("This object indicates which ports are belong to the same multicast group, in per-Vlan basis. Each multicast group has a octect string to indicate with port map. The most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the switch is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is included in the set of ports; the port is not included if its bit has a value of '0'(Note that the setting of the bit corresponding to the port from which a frame is received is irrelevant). The 4 octets is represent one unit port according its logic port. If the unit less 32 port, the other port don't care just fill zero.")
swL2IGMPRPTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 7), )
if mibBuilder.loadTexts: swL2IGMPRPTable.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPRPTable.setDescription('The table allows you to designate a range of ports as being connected to multicast-enabled routers. This will ensure that all packets with such a router as its destination will reach the multicast-enabled router, regardless of protocol, etc.')
swL2IGMPRPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 7, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2IGMPRPVid"))
if mibBuilder.loadTexts: swL2IGMPRPEntry.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPRPEntry.setDescription('A list of swL2IGMPRPTable.')
swL2IGMPRPVid = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPRPVid.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPRPVid.setDescription('The Vid of the VLAN on which the router port resides.')
swL2IGMPRPStaticRouterPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 7, 1, 2), PortList()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPRPStaticRouterPort.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPRPStaticRouterPort.setDescription('Specifies a range of ports which will be configured as router ports.')
swL2IGMPRPDynamicRouterPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 7, 1, 3), PortList()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPRPDynamicRouterPort.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPRPDynamicRouterPort.setDescription('Displays router ports that have been dynamically configued.')
swL2IGMPMulticastRouterOnly = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPMulticastRouterOnly.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPMulticastRouterOnly.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - the switch forwards all mulitcast traffic to any IP router. enabled(3) - the switch will forward all multicast traffic to the multicast router, only.')
swL2IGMPGroupPortTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 9), )
if mibBuilder.loadTexts: swL2IGMPGroupPortTable.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPGroupPortTable.setDescription('This table describe the detail information of the member ports of the swL2IGMPGroupTable.')
swL2IGMPGroupPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 9, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2IGMPVid"), (0, "SWL2MGMT-MIB", "swL2IGMPGroupIpAddr"), (0, "SWL2MGMT-MIB", "swL2IGMPPortMember"))
if mibBuilder.loadTexts: swL2IGMPGroupPortEntry.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPGroupPortEntry.setDescription('Information about member ports of current swL2IGMPGroupTable.')
swL2IGMPPortMember = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPPortMember.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPPortMember.setDescription('This object indicates which ports are belong to the same multicast group, in per-Vlan basis, in swL2IGMPGroupTable.')
swL2IGMPPortAgingTime = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 9, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16711450))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2IGMPPortAgingTime.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPPortAgingTime.setDescription('This object indicate the aging out timer. This value is in units of seconds.')
swL2IGMPMulticastFilter = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2IGMPMulticastFilter.setStatus('current')
if mibBuilder.loadTexts: swL2IGMPMulticastFilter.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - the un-registered multicast traffic will be flooded. enabled(3) - the un-registered multicast traffic will be filtered.')
swL2TrafficCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1), )
if mibBuilder.loadTexts: swL2TrafficCtrlTable.setStatus('current')
if mibBuilder.loadTexts: swL2TrafficCtrlTable.setDescription('This table specifys the storm traffic control configuration.')
swL2TrafficCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2TrafficCtrlGroupIndex"))
if mibBuilder.loadTexts: swL2TrafficCtrlEntry.setStatus('current')
if mibBuilder.loadTexts: swL2TrafficCtrlEntry.setDescription('A list of information specifies the storm traffic control configuration.')
swL2TrafficCtrlGroupIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2TrafficCtrlGroupIndex.setStatus('current')
if mibBuilder.loadTexts: swL2TrafficCtrlGroupIndex.setDescription('The index of logical port trunk. The trunk group number depend on the existence of unit and module.')
swL2TrafficCtrlUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2TrafficCtrlUnitIndex.setStatus('current')
if mibBuilder.loadTexts: swL2TrafficCtrlUnitIndex.setDescription('Indicates ID of the unit in the device')
swL2TrafficCtrlBMStormthreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2TrafficCtrlBMStormthreshold.setStatus('current')
if mibBuilder.loadTexts: swL2TrafficCtrlBMStormthreshold.setDescription('This object to decide how much thousand packets per second broadcast/multicast (depend on swL2TrafficCtrlBcastStormCtrl, swL2TrafficCtrlMcastStormCtrl or swL2TrafficCtrlDlfStormCtrl objects whether is enabled) will active storm control. Whenever a port reaches its configured amount of packets in the one second time interval, the device will start dropping that type of packet, until the time interval has expired. Once the time interval has expired, the device will start forwarding that type of packet.')
swL2TrafficCtrlBcastStormCtrl = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2TrafficCtrlBcastStormCtrl.setStatus('current')
if mibBuilder.loadTexts: swL2TrafficCtrlBcastStormCtrl.setDescription('This object indicates broadcast storm control function is enabled or disabled.')
swL2TrafficCtrlMcastStormCtrl = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2TrafficCtrlMcastStormCtrl.setStatus('current')
if mibBuilder.loadTexts: swL2TrafficCtrlMcastStormCtrl.setDescription('This object indicates multicast storm control function is enabled or disabled.')
swL2TrafficCtrlDlfStormCtrl = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2TrafficCtrlDlfStormCtrl.setStatus('current')
if mibBuilder.loadTexts: swL2TrafficCtrlDlfStormCtrl.setDescription('This object indicates destination lookup fail function is enabled or disabled.')
swL2QosSchedulingTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 1), )
if mibBuilder.loadTexts: swL2QosSchedulingTable.setStatus('current')
if mibBuilder.loadTexts: swL2QosSchedulingTable.setDescription('The switch contains 4 hardware priority queues. Incoming packets must be mapped to one of these four queues. Each hardware queue will transmit all of the packets in its buffer before allowing the next lower priority queue to transmit its packets. When the lowest hardware priority queue has finished transmitting all of its packets, the highest hardware priority queue can again transmit any packets it may have received.')
swL2QosSchedulingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 1, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2QosSchedulingClassId"))
if mibBuilder.loadTexts: swL2QosSchedulingEntry.setStatus('current')
if mibBuilder.loadTexts: swL2QosSchedulingEntry.setDescription('A list of information specifies the Qos output scheduling Table.')
swL2QosSchedulingClassId = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2QosSchedulingClassId.setStatus('current')
if mibBuilder.loadTexts: swL2QosSchedulingClassId.setDescription('This specifies which of the four hardware priority queues. The four hardware priority queues are identified by number, from 0 to 3, with the 0 queue being the lowest priority.')
swL2QosSchedulingMaxPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2QosSchedulingMaxPkts.setStatus('current')
if mibBuilder.loadTexts: swL2QosSchedulingMaxPkts.setDescription('Specifies the maximium number of packets the above specified hardware priority queue will be allowed to transmit before allowing the next lowest priority queue to transmit its packets.')
swL2QosSchedulingMaxLatency = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2QosSchedulingMaxLatency.setStatus('current')
if mibBuilder.loadTexts: swL2QosSchedulingMaxLatency.setDescription('Specifies the maximum amount of time the above specified hardware priority queue will be allowed to transmit packets before allowing the next lowest hardware priority queue to begin transmitting its packets. A value between 0 and 255 can be specified. With this value multiplied by 16 ms to arrive at the total allowed time for the queue to transmit packets.')
swL2QosPriorityTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2), )
if mibBuilder.loadTexts: swL2QosPriorityTable.setStatus('current')
if mibBuilder.loadTexts: swL2QosPriorityTable.setDescription('This table display the current priority settings on the switch.')
swL2QosPriorityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2QosPriorityType"), (0, "SWL2MGMT-MIB", "swL2QosPriorityValue"))
if mibBuilder.loadTexts: swL2QosPriorityEntry.setStatus('current')
if mibBuilder.loadTexts: swL2QosPriorityEntry.setDescription('A list of information display the current priority settings on the switch.')
swL2QosPriorityType = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("other", 1), ("type-dscp", 2), ("type-8021p", 3), ("type-tcp", 4), ("type-udp", 5), ("type-ip", 6), ("type-mac", 7)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2QosPriorityType.setStatus('current')
if mibBuilder.loadTexts: swL2QosPriorityType.setDescription('These parameters define what characteristics an incoming packet must meet. One or more of the above parameters must be defined.')
swL2QosPriorityValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 2), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(1, 1), ValueSizeConstraint(2, 2), ValueSizeConstraint(4, 4), ValueSizeConstraint(6, 6), ))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2QosPriorityValue.setStatus('current')
if mibBuilder.loadTexts: swL2QosPriorityValue.setDescription('This object must match with swL2QosPriorityType. If the type is type-dscp(2), the range of this object is 0~63. If the type is type-8021p(3), the range of this object is 0~7. If the type is type-tcp(4) or type-udp(5), the range of this object is 1~65535.')
swL2QosPriorityPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2QosPriorityPriority.setStatus('current')
if mibBuilder.loadTexts: swL2QosPriorityPriority.setDescription('Allows to specify a priority value to be written to the 802.1p priority field of an incoming packet that meets the criteria.')
swL2QosPriorityPriorityState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2QosPriorityPriorityState.setStatus('current')
if mibBuilder.loadTexts: swL2QosPriorityPriorityState.setDescription('This object indicates 802.1p priority function is enabled or disabled.')
swL2QosPriorityReplaceDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2QosPriorityReplaceDscp.setStatus('current')
if mibBuilder.loadTexts: swL2QosPriorityReplaceDscp.setDescription('Allows to specify a value to be written to the DSCP field of an incoming packet that meets the criteria.')
swL2QosPriorityReplaceDscpState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2QosPriorityReplaceDscpState.setStatus('current')
if mibBuilder.loadTexts: swL2QosPriorityReplaceDscpState.setDescription('This object indicates DSCP function is enabled or disabled.')
swL2QosPriorityReplacePriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2QosPriorityReplacePriority.setStatus('current')
if mibBuilder.loadTexts: swL2QosPriorityReplacePriority.setDescription('This object indicates the 802.1p user priority with the priority specified above will be replaced or not.')
swL2QosPriorityState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("invalid", 2), ("valid", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2QosPriorityState.setStatus('current')
if mibBuilder.loadTexts: swL2QosPriorityState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - writing this value to the object, and then the corresponding entry will be removed from the table. valid(3) - this entry is reside in the table.')
managementPortLinkUp = NotificationType((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2) + (0,1))
if mibBuilder.loadTexts: managementPortLinkUp.setDescription('The trap is sent whenever the management port is link up.')
managementPortLinkDown = NotificationType((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2) + (0,2))
if mibBuilder.loadTexts: managementPortLinkDown.setDescription('The trap is sent whenever the management port is link down.')
swL2StormCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1), )
if mibBuilder.loadTexts: swL2StormCtrlTable.setStatus('current')
if mibBuilder.loadTexts: swL2StormCtrlTable.setDescription('This table specifys the storm traffic control configuration.')
swL2StormCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2StormCtrlPortIndex"))
if mibBuilder.loadTexts: swL2StormCtrlEntry.setStatus('current')
if mibBuilder.loadTexts: swL2StormCtrlEntry.setDescription('A list of information specifies the storm traffic control configuration.')
swL2StormCtrlPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2StormCtrlPortIndex.setStatus('current')
if mibBuilder.loadTexts: swL2StormCtrlPortIndex.setDescription('The index of logical port.')
swL2StormCtrlBcastStormCtrl = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StormCtrlBcastStormCtrl.setStatus('current')
if mibBuilder.loadTexts: swL2StormCtrlBcastStormCtrl.setDescription('This object indicates broadcast storm control function is enabled or disabled.')
swL2StormCtrlMcastStormCtrl = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StormCtrlMcastStormCtrl.setStatus('current')
if mibBuilder.loadTexts: swL2StormCtrlMcastStormCtrl.setDescription('This object indicates multicast storm control function is enabled or disabled.')
swL2StormCtrlBMStormThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StormCtrlBMStormThreshold.setStatus('current')
if mibBuilder.loadTexts: swL2StormCtrlBMStormThreshold.setDescription('This object to decide how much percentage packets per second broadcast/multicast (depend on swL2StormCtrlBcastStormCtrl or swL2StormCtrlMcastStormCtrl objects whether is enabled) will active storm control. Whenever a port reaches its configured percent of packets in the one second time interval, the device will start dropping that type of packet, until the time interval has expired. Once the time interval has expired, the device will start forwarding that type of packet.')
swL2StormCtrlDlfState = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StormCtrlDlfState.setStatus('current')
if mibBuilder.loadTexts: swL2StormCtrlDlfState.setDescription('This object indicates destination lookup fail function is enabled or disabled.')
swL2StormCtrlDlfThreshold = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 148810))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2StormCtrlDlfThreshold.setStatus('current')
if mibBuilder.loadTexts: swL2StormCtrlDlfThreshold.setDescription('This object to decide how much packets per second destination lookup fail (depend on swL2StormCtrlDlfState objects whether is enabled) will active storm control. Whenever the device reaches its configured packets in the one second time interval, the device will start dropping that type of packet, until the time interval has expired. Once the time interval has expired, the device will start forwarding that type of packet. This value must be the multiples of 8192.')
swL2CpuRateLimitTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4), )
if mibBuilder.loadTexts: swL2CpuRateLimitTable.setStatus('current')
if mibBuilder.loadTexts: swL2CpuRateLimitTable.setDescription('This table specifys the CPU rate limit per port. Once too much broadcast/multicast traffic, exceed CP-Limit, comes in from a port, the port state will be disabled.')
swL2CpuRateLimitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2CpuRateLimitPortIndex"))
if mibBuilder.loadTexts: swL2CpuRateLimitEntry.setStatus('current')
if mibBuilder.loadTexts: swL2CpuRateLimitEntry.setDescription('A list of information specifies the CPU rate limit of the port configuration.')
swL2CpuRateLimitPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2CpuRateLimitPortIndex.setStatus('current')
if mibBuilder.loadTexts: swL2CpuRateLimitPortIndex.setDescription('The index of logical port.')
swL2CpuRateLimitState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2CpuRateLimitState.setStatus('current')
if mibBuilder.loadTexts: swL2CpuRateLimitState.setDescription('This object indicates CPU rate limit function is enabled or disabled.')
swL2CpuRateLimitBcastThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1700))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2CpuRateLimitBcastThreshold.setStatus('current')
if mibBuilder.loadTexts: swL2CpuRateLimitBcastThreshold.setDescription('This object to decide how much packets per second broadcast will active traffic control. Whenever a port reaches its configured packets in the one second time interval, the port will be disabled.')
swL2CpuRateLimitMcastThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2CpuRateLimitMcastThreshold.setStatus('current')
if mibBuilder.loadTexts: swL2CpuRateLimitMcastThreshold.setDescription('This object to decide how much packets per second multicast will active traffic control. Whenever a port reaches its configured packets in the one second time interval, the port will be disabled.')
swL2CpuUtilization = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2CpuUtilization.setStatus('current')
if mibBuilder.loadTexts: swL2CpuUtilization.setDescription('The utilization of CPU.')
swL2ACLQosTemplate1Mode = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("security", 2), ("qos", 3), ("l4-switch", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplate1Mode.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplate1Mode.setDescription('This object decide the operate mode of template_1.')
swL2ACLQosTemplate2Mode = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("security", 2), ("qos", 3), ("l4-switch", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplate2Mode.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplate2Mode.setDescription('This object decide the operate mode of template_2.')
swL2ACLQosFlowClassifierTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3), )
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierTable.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierTable.setDescription('This table specifys the template of flow classifier.')
swL2ACLQosFlowClassifierEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2ACLQosFlowClassifierTemplateId"))
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierEntry.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierEntry.setDescription('A list of information specifies the template of flow classifier.')
swL2ACLQosFlowClassifierTemplateId = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierTemplateId.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierTemplateId.setDescription('The index of template ID.')
swL2ACLQosFlowClassifierCurrentMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("security", 2), ("qos", 3), ("l4-switch", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierCurrentMode.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierCurrentMode.setDescription('The current operated mode of this template.')
swL2ACLQosFlowClassifierSecuritySrcMask = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 3), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierSecuritySrcMask.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierSecuritySrcMask.setDescription('This object indicates a source IP subnet rule for the switch. If the swL2ACLQosFlowClassifierCurrentMode is not security(2), then this object must be 0.0.0.0.')
swL2ACLQosFlowClassifierQosFlavor = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("flavor-8021p", 1), ("flavor-dscp", 2), ("flavor-ip", 3), ("flavor-tcp", 4), ("flavor-udp", 5), ("flavor-un-used", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierQosFlavor.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierQosFlavor.setDescription('These parameters define what characteristics an incoming packet must meet. One or more of the above parameters must be defined. If the swL2ACLQosFlowClassifierCurrentMode is not qos(3), then this object must be flavor-un-used(6).')
swL2ACLQosFlowClassifierL4SwitchTCPDstIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPDstIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPDstIp.setDescription('This object indicate the destination ipaddress in the configured L4 TCP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchTCPSrcIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPSrcIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPSrcIp.setDescription('This object indicate the source ipaddress in the configured L4 TCP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchTCPTos = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPTos.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPTos.setDescription('This object indicate the type of service in the configured L4 TCP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchTCPDstPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPDstPort.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPDstPort.setDescription('This object indicate the destination TCP port number in the configured L4 TCP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchTCPSrcPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPSrcPort.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPSrcPort.setDescription('This object indicate the source TCP port number in the configured L4 TCP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchTCPFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPFlags.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchTCPFlags.setDescription('This object indicate the TCP flags in the configured L4 TCP- session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchUDPDstIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchUDPDstIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchUDPDstIp.setDescription('This object indicate the destination ipaddress in the configured L4 UDP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchUDPSrcIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchUDPSrcIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchUDPSrcIp.setDescription('This object indicate the source ipaddress in the configured L4 UDP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchUDPTos = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchUDPTos.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchUDPTos.setDescription('This object indicate the type of service in the configured L4 UDP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchUDPDstPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchUDPDstPort.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchUDPDstPort.setDescription('This object indicate the destination UDP port number in the configured L4 UDP session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchUDPSrcPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchUDPSrcPort.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchUDPSrcPort.setDescription('This object indicate the source UDP port number in the configured L4 UDP session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchOtherDstIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherDstIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherDstIp.setDescription('This object indicate the destination ipaddress in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchOtherSrcIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherSrcIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherSrcIp.setDescription('This object indicate the source ipaddress in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchOtherTos = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherTos.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherTos.setDescription('This object indicate the type of service in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchOtherL4Protocol = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherL4Protocol.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherL4Protocol.setDescription('This object indicate the l4_protocol in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchOtherICMPMessage = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherICMPMessage.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherICMPMessage.setDescription('This object indicate the ICMP message in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierL4SwitchOtherIGMPType = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("true", 1), ("false", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherIGMPType.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierL4SwitchOtherIGMPType.setDescription('This object indicate the IGMP type in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosFlowClassifierActiveRuleNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierActiveRuleNumber.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierActiveRuleNumber.setDescription('This object indicates the number of active rule.')
swL2ACLQosFlowClassifierSecurityDstMask = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 23), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierSecurityDstMask.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierSecurityDstMask.setDescription('This object indicates a destination IP subnet rule for the switch. If the swL2ACLQosFlowClassifierCurrentMode is not security(2), then this object must be 0.0.0.0.')
swL2ACLQosFlowClassifierVlanTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 4), )
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierVlanTable.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierVlanTable.setDescription('This table specifys which vlan has been binded in the template.')
swL2ACLQosFlowClassifierVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 4, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2ACLQosFlowClassifierVlanTemplateId"), (0, "SWL2MGMT-MIB", "swL2ACLQosFlowClassifierVlanVlanName"))
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierVlanEntry.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierVlanEntry.setDescription('A list of information which vlan has been binded in the template.')
swL2ACLQosFlowClassifierVlanTemplateId = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierVlanTemplateId.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierVlanTemplateId.setDescription('The index of template ID.')
swL2ACLQosFlowClassifierVlanVlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierVlanVlanName.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierVlanVlanName.setDescription('The existence of VLAN name.')
swL2ACLQosFlowClassifierVlanState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("attached", 2), ("detached", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierVlanState.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFlowClassifierVlanState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. attached(2) - this entry is reside in the table. detached(3) - writing this value to the object, and then the corresponding entry will be removed from the table.')
swL2ACLQosTemplateRuleTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5), )
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleTable.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleTable.setDescription('This table specifys the template-depend rules.')
swL2ACLQosTemplateRuleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2ACLQosTemplateRuleTemplateId"), (0, "SWL2MGMT-MIB", "swL2ACLQosTemplateRuleIndex"))
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleEntry.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleEntry.setDescription('A list of information specifies the template-depend rules.')
swL2ACLQosTemplateRuleTemplateId = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleTemplateId.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleTemplateId.setDescription('The index of template ID.')
swL2ACLQosTemplateRuleIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleIndex.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleIndex.setDescription('The index of template rule.')
swL2ACLQosTemplateRuleMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("security", 2), ("qos", 3), ("l4-switch", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleMode.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleMode.setDescription('This object indicates the rule type of the entry.')
swL2ACLQosTemplateRuleSecuritySrcIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 4), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleSecuritySrcIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleSecuritySrcIp.setDescription('This object indicates the source IP of flow template. If the swL2ACLQosTemplateRuleMode is not security(2), then this object will be display 0.0.0.0.')
swL2ACLQosTemplateRuleQosFlavor = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("flavor-8021p", 1), ("flavor-dscp", 2), ("flavor-ip", 3), ("flavor-tcp", 4), ("flavor-udp", 5), ("flavor-un-used", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleQosFlavor.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleQosFlavor.setDescription('This object indicates the rule type of the QOS mode. If the swL2ACLQosTemplateRuleMode is not qos(3), then this object must be flavor-un-used(6).')
swL2ACLQosTemplateRuleQosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 6), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(1, 1), ValueSizeConstraint(2, 2), ValueSizeConstraint(4, 4), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleQosValue.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleQosValue.setDescription('This object must match with swL2ACLQosTemplateRuleQosFlavor. If the type is flavor-8021p(1), the range of this object is 0~7. If the type is flavor-dscp(2), the range of this object is 0~63. If the type is flavor-tcp(4) or flavor-udp(5), the range of this object is 1~65535. If the swL2ACLQosTemplateRuleMode is not qos(3), then this object must be NULL.')
swL2ACLQosTemplateRuleQosPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleQosPriority.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleQosPriority.setDescription('This object indicates the priority of ingress packets in QOS mode. If the swL2ACLQosTemplateRuleMode is not qos(3), then this object must be 0.')
swL2ACLQosTemplateRuleQosDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleQosDscp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleQosDscp.setDescription('This object indicates the Dscp of ingress packets in QOS mode. If the swL2ACLQosTemplateRuleMode is not qos(3), then this object must be 0.')
swL2ACLQosTemplateRuleL4SwitchSessionType = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("tcp", 1), ("udp", 2), ("other", 3), ("un-used", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionType.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionType.setDescription('This object indicates the rule type of the TCP-Session in L4-Switch mode. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be un-used(4).')
swL2ACLQosTemplateRuleL4SwitchSessionTCPDstIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 10), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPDstIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPDstIp.setDescription('This object indicates the destination ipaddress in the configured L4 TCP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 11), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcIp.setDescription('This object indicates the source ipaddress in the configured L4 TCP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
swL2ACLQosTemplateRuleL4SwitchSessionTCPTos = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPTos.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPTos.setDescription('This object indicates the type of service in the configured L4 TCP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
swL2ACLQosTemplateRuleL4SwitchSessionTCPDstPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPDstPort.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPDstPort.setDescription('This object indicates the destination TCP port number in the configured L4 TCP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.')
swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcPort.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcPort.setDescription('This object indicates the source TCP port number in the configured L4 TCP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.')
swL2ACLQosTemplateRuleL4SwitchSessionTCPFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("fin", 1), ("syn", 2), ("rst", 3), ("psh", 4), ("ack", 5), ("urg", 6), ("un-used", 7)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPFlags.setStatus('deprecated')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPFlags.setDescription('This object indicates the TCP flags in the configured L4 TCP- session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be un-used(7). This object is deprecated because it just can let user to choose one of these items.')
swL2ACLQosTemplateRuleL4SwitchSessionUDPDstIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 16), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionUDPDstIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionUDPDstIp.setDescription('This object indicates the destination ipaddress in the configured L4 UDP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 17), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcIp.setDescription('This object indicates the soruce ipaddress in the configured L4 UDP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
swL2ACLQosTemplateRuleL4SwitchSessionUDPTos = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 18), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionUDPTos.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionUDPTos.setDescription('This object indicates the type of service in the configured L4 UDP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
swL2ACLQosTemplateRuleL4SwitchSessionUDPDstPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionUDPDstPort.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionUDPDstPort.setDescription('This object indicates the destination UDP port number in the configured L4 UDP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.')
swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcPort.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcPort.setDescription('This object indicates the source UDP port number in the configured L4 UDP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.')
swL2ACLQosTemplateRuleL4SwitchSessionOtherDstIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 21), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherDstIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherDstIp.setDescription('This object indicates the destination ipaddress in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
swL2ACLQosTemplateRuleL4SwitchSessionOtherSrcIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 22), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherSrcIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherSrcIp.setDescription('This object indicates the source ipaddress in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
swL2ACLQosTemplateRuleL4SwitchSessionOtherTos = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 23), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherTos.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherTos.setDescription('This object indicates the type of service in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
swL2ACLQosTemplateRuleL4SwitchSessionOtherL4Protocol = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("icmp", 1), ("igmp", 2), ("un-used", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherL4Protocol.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherL4Protocol.setDescription('This object indicates the l4_protocol in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be un-used(3).')
swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPType = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 25), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPType.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPType.setDescription('This object indicates the type of ICMP message in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPCode = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 26), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 1))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPCode.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPCode.setDescription('This object indicates the code of ICMP message in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
swL2ACLQosTemplateRuleL4SwitchSessionOtherIGMPType = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("query", 1), ("response-version-1", 2), ("response-version-2", 3), ("response-version-all", 4), ("un-used", 5)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherIGMPType.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionOtherIGMPType.setDescription('This object indicates the IGMP type in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be un-used(5). If the object be set to response-version-all(4), it means to create two entries with response-version-1(2) and response-version-2(3).')
swL2ACLQosTemplateRuleL4SwitchActionType = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("drop", 1), ("forward", 2), ("redirect", 3), ("un-used", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionType.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionType.setDescription('This object indicates the action when a packet matches an entry of l4_switch mode. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be un-used(4).')
swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("true", 2), ("false", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState.setDescription('This object decide to sending the packet to one of 8 hardware priority queues or not.')
swL2ACLQosTemplateRuleL4SwitchActionForwardPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionForwardPriority.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionForwardPriority.setDescription('This object indicates the priority related to one of 8 hardware priority queues. If the swL2ACLQosTemplateRuleMode is not l4-switch(4) or the swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState is not true(2), this object must be 0.')
swL2ACLQosTemplateRuleL4SwitchActionForwardDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionForwardDscp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionForwardDscp.setDescription('If the swL2ACLQosTemplateRuleMode is not l4-switch(4) or the swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState is not true(2),, this object must be 0.')
swL2ACLQosTemplateRuleL4SwitchActionRedirectIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 32), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionRedirectIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionRedirectIp.setDescription('This object indicates the redirected IP address that when a packet matches an entry of l4_switch mode. If the swL2ACLQosTemplateRuleL4SwitchActionType is not redirect(3), this object must be 0.0.0.0.')
swL2ACLQosTemplateRuleL4SwitchActionRedirectDropUnreachable = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("true", 2), ("false", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionRedirectDropUnreachable.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchActionRedirectDropUnreachable.setDescription('This object indicates the action of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. false(2) - routing unreachable packet by using L2/IPv4 router forwarding table. true(3) - dropping unreachable packet')
swL2ACLQosTemplateRuleState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("invalid", 2), ("valid", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleState.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - writing this value to the object, and then the corresponding entry will be removed from the table. valid(3) - this entry is reside in the table.')
swL2ACLQosTemplateRuleL4SwitchSessionTCPFlagsAll = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 35), Bits().clone(namedValues=NamedValues(("fin", 0), ("syn", 1), ("rst", 2), ("psh", 3), ("ack", 4), ("urg", 5)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPFlagsAll.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleL4SwitchSessionTCPFlagsAll.setDescription('This object indicates the TCP flags in the configured L4 TCP- session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
swL2ACLQosTemplateRuleSecurityDstIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 36), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleSecurityDstIp.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosTemplateRuleSecurityDstIp.setDescription('This object indicates the destination IP of flow template. If the swL2ACLQosTemplateRuleMode is not security(2), then this object will be display 0.0.0.0.')
swL2ACLQosDestinationIpFilterTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 6), )
if mibBuilder.loadTexts: swL2ACLQosDestinationIpFilterTable.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosDestinationIpFilterTable.setDescription('This table defines information for the device to filter packets with specific Destination IP address. The IP address can be a unicast address or multicast address. This table has higher priority than both static FDB table and IGMP table. It means that if a IP address appears on this table also appears on the static FDB table, the device will use the information provide by this table to process the packet.')
swL2ACLQosDestinationIpFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 6, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2ACLQosDestinationIpFilterIpAddr"))
if mibBuilder.loadTexts: swL2ACLQosDestinationIpFilterEntry.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosDestinationIpFilterEntry.setDescription('A list of information about a specific unicast/multicast IP address for which the switch has filtering information.')
swL2ACLQosDestinationIpFilterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosDestinationIpFilterIndex.setStatus('obsolete')
if mibBuilder.loadTexts: swL2ACLQosDestinationIpFilterIndex.setDescription('The index of this rule.')
swL2ACLQosDestinationIpFilterIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 6, 1, 2), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosDestinationIpFilterIpAddr.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosDestinationIpFilterIpAddr.setDescription('This object indicates a unicast IP address for which the switch has filtering information.')
swL2ACLQosDestinationIpFilterState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("invalid", 2), ("valid", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosDestinationIpFilterState.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosDestinationIpFilterState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - writing this value to the object, and then the corresponding entry will be removed from the table. valid(3) - this entry is reside in the table.')
swL2ACLQosFDBFilterTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7), )
if mibBuilder.loadTexts: swL2ACLQosFDBFilterTable.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFDBFilterTable.setDescription('This table defines information for the device to filter packets with specific MAC address (either as the DA and/or as the SA). The MAC address can be a unicast address or a multicast address. This table has higher priority than both static FDB table and IGMP table. It means that if a MAC address appears on this table also appears on the static FDB table, the device will use the information provide by this table to process the packet.')
swL2ACLQosFDBFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2ACLQosFDBFilterVlanName"), (0, "SWL2MGMT-MIB", "swL2ACLQosFDBFilterMacAddress"))
if mibBuilder.loadTexts: swL2ACLQosFDBFilterEntry.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFDBFilterEntry.setDescription('A list of information about a specific unicast/multicast MAC address for which the switch has filtering information.')
swL2ACLQosFDBFilterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosFDBFilterIndex.setStatus('obsolete')
if mibBuilder.loadTexts: swL2ACLQosFDBFilterIndex.setDescription('The index of this rule.')
swL2ACLQosFDBFilterVlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosFDBFilterVlanName.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFDBFilterVlanName.setDescription('The existence of VALN name.')
swL2ACLQosFDBFilterMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7, 1, 3), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosFDBFilterMacAddress.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFDBFilterMacAddress.setDescription('This object will filter on destination MAC address operates on bridged packets, but not on routed packets. And It will filter on source MAC operates on all packets.')
swL2ACLQosFDBFilterState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("invalid", 2), ("valid", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosFDBFilterState.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosFDBFilterState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - writing this value to the object, and then the corresponding entry will be removed from the table. valid(3) - this entry is reside in the table.')
swL2ACLQosIpFragmentFilterDropPkts = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosIpFragmentFilterDropPkts.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosIpFragmentFilterDropPkts.setDescription('This object decide to drop fragmented IP packets or not.')
swL2ACLQosSchedulingTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 9), )
if mibBuilder.loadTexts: swL2ACLQosSchedulingTable.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosSchedulingTable.setDescription('The switch contains 4 hardware priority queues. Incoming packets must be mapped to one of these four queues. Each hardware queue will transmit all of the packets in its buffer before allowing the next lower priority queue to transmit its packets. When the lowest hardware priority queue has finished transmitting all of its packets, the highest hardware priority queue can again transmit any packets it may have received.')
swL2ACLQosSchedulingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 9, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2ACLQosSchedulingPortIndex"), (0, "SWL2MGMT-MIB", "swL2ACLQosSchedulingClassId"))
if mibBuilder.loadTexts: swL2ACLQosSchedulingEntry.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosSchedulingEntry.setDescription('A list of information specifies the Qos output scheduling Table.')
swL2ACLQosSchedulingPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 9, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosSchedulingPortIndex.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosSchedulingPortIndex.setDescription('The index of logical port.')
swL2ACLQosSchedulingClassId = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 9, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosSchedulingClassId.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosSchedulingClassId.setDescription('This specifies which of the four hardware priority queues. The four hardware priority queues are identified by number, from 0 to 3, with the 0 queue being the lowest priority.')
swL2ACLQosSchedulingWRRValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 9, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosSchedulingWRRValue.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosSchedulingWRRValue.setDescription('Specifies the weighted round robin (WRR) the above specified hardware priority queue will be allowed to transmit before allowing the next lowest priority queue to transmit its packets.')
swL2ACLQosMacPriorityTable = MibTable((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10), )
if mibBuilder.loadTexts: swL2ACLQosMacPriorityTable.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosMacPriorityTable.setDescription('This table indicates the destination mac priority in flow classifier.')
swL2ACLQosMacPriorityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1), ).setIndexNames((0, "SWL2MGMT-MIB", "swL2ACLQosMacPriorityVlanName"), (0, "SWL2MGMT-MIB", "swL2ACLQosMacPriorityDstMacAddress"))
if mibBuilder.loadTexts: swL2ACLQosMacPriorityEntry.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosMacPriorityEntry.setDescription('A list of information specifies the destination mac priority in flow classifier.')
swL2ACLQosMacPriorityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosMacPriorityIndex.setStatus('obsolete')
if mibBuilder.loadTexts: swL2ACLQosMacPriorityIndex.setDescription('The index of this rule.')
swL2ACLQosMacPriorityVlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosMacPriorityVlanName.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosMacPriorityVlanName.setDescription('The existence VLAN name.')
swL2ACLQosMacPriorityDstMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1, 3), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2ACLQosMacPriorityDstMacAddress.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosMacPriorityDstMacAddress.setDescription('This object will filter on destination MAC address operates on bridged packets, but not on routed packets. And It will filter on source MAC operates on all packets.')
swL2ACLQosMacPriorityPriorityValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosMacPriorityPriorityValue.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosMacPriorityPriorityValue.setDescription('This object indicates the priority related to one of 8 hardware priority queues.')
swL2ACLQosMacPriorityState = MibTableColumn((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("invalid", 2), ("valid", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2ACLQosMacPriorityState.setStatus('current')
if mibBuilder.loadTexts: swL2ACLQosMacPriorityState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - writing this value to the object, and then the corresponding entry will be removed from the table. valid(3) - this entry is reside in the table.')
swL2MgmtPortCurrentLinkStatus = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("link-pass", 2), ("link-fail", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2MgmtPortCurrentLinkStatus.setStatus('current')
if mibBuilder.loadTexts: swL2MgmtPortCurrentLinkStatus.setDescription('This object indicates the current management port link status.')
swL2MgmtPortCurrentNwayStatus = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("half-10Mbps", 2), ("full-10Mbps", 3), ("half-100Mbps", 4), ("full-100Mbps", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: swL2MgmtPortCurrentNwayStatus.setStatus('current')
if mibBuilder.loadTexts: swL2MgmtPortCurrentNwayStatus.setDescription('This object indicates the current management port speed and duplex mode.')
swL2MgmtPortAdminState = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2MgmtPortAdminState.setStatus('current')
if mibBuilder.loadTexts: swL2MgmtPortAdminState.setDescription('This object decide the management port enabled or disabled.')
swL2MgmtPortNwayState = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("nway-enabled", 2), ("nway-disabled-10Mbps-Half", 3), ("nway-disabled-10Mbps-Full", 4), ("nway-disabled-100Mbps-Half", 5), ("nway-disabled-100Mbps-Full", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2MgmtPortNwayState.setStatus('current')
if mibBuilder.loadTexts: swL2MgmtPortNwayState.setDescription('Chose the management port speed, duplex mode, and N-Way function mode.')
swL2MgmtPortFlowCtrlState = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2MgmtPortFlowCtrlState.setStatus('current')
if mibBuilder.loadTexts: swL2MgmtPortFlowCtrlState.setDescription('The flow control mechanism is different between full duplex mode and half duplex mode. For half duplex mode, the jamming signal is asserted. For full duplex mode, IEEE 802.3x flow control function sends PAUSE frames and receives PAUSE frames.')
swL2MgmtPortLinkUpDownTrapEnable = MibScalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: swL2MgmtPortLinkUpDownTrapEnable.setStatus('current')
if mibBuilder.loadTexts: swL2MgmtPortLinkUpDownTrapEnable.setDescription('Indicates whether linkUp/linkDown traps should be generated for the management port. By default, this object should have the value enabled(3).')
mibBuilder.exportSymbols("SWL2MGMT-MIB", swL2TrafficCtrlBMStormthreshold=swL2TrafficCtrlBMStormthreshold, swL2ACLQosFlowClassifierL4SwitchUDPDstIp=swL2ACLQosFlowClassifierL4SwitchUDPDstIp, swL2IGMPGroupTable=swL2IGMPGroupTable, swL2ACLQosTemplateRuleQosPriority=swL2ACLQosTemplateRuleQosPriority, swL2IGMPPortMap=swL2IGMPPortMap, swL2ACLQosFlowClassifierActiveRuleNumber=swL2ACLQosFlowClassifierActiveRuleNumber, swL2ACLQosIpFragmentFilterDropPkts=swL2ACLQosIpFragmentFilterDropPkts, swL2IGMPQueryInterval=swL2IGMPQueryInterval, swL2ACLQosFlowClassifierL4SwitchTCPSrcPort=swL2ACLQosFlowClassifierL4SwitchTCPSrcPort, swL2DevCtrlUpDownloadState=swL2DevCtrlUpDownloadState, swL2DevCtrlSaveCfg=swL2DevCtrlSaveCfg, swL2QosPriorityValue=swL2QosPriorityValue, swL2IGMPMgmt=swL2IGMPMgmt, swL2IGMPQueryInfoEntry=swL2IGMPQueryInfoEntry, swL2ACLQosFlowClassifierL4SwitchUDPDstPort=swL2ACLQosFlowClassifierL4SwitchUDPDstPort, swL2ACLQosMacPriorityEntry=swL2ACLQosMacPriorityEntry, swL2IGMPRPStaticRouterPort=swL2IGMPRPStaticRouterPort, swL2DevCtrlUpDownloadImageSourceAddr=swL2DevCtrlUpDownloadImageSourceAddr, swL2StaticVlanUserPriority=swL2StaticVlanUserPriority, swL2IGMPPortMember=swL2IGMPPortMember, swL2DevCtrlRmonState=swL2DevCtrlRmonState, swL2TrunkIndex=swL2TrunkIndex, swL2IGMPMaxResponseTime=swL2IGMPMaxResponseTime, swL2ACLQosFlowClassifierVlanState=swL2ACLQosFlowClassifierVlanState, swL2TrafficCtrlUnitIndex=swL2TrafficCtrlUnitIndex, swL2StormCtrlPortIndex=swL2StormCtrlPortIndex, swL2DevCtrlUpDownloadImageFileName=swL2DevCtrlUpDownloadImageFileName, swL2PortUtilPortIndex=swL2PortUtilPortIndex, swL2IGMPCurrentState=swL2IGMPCurrentState, swL2DevInfo=swL2DevInfo, swL2CpuRateLimitEntry=swL2CpuRateLimitEntry, swL2MgmtPortLinkUpDownTrapEnable=swL2MgmtPortLinkUpDownTrapEnable, swL2PortCtrlPortIndex=swL2PortCtrlPortIndex, swL2StaticVlanUntaggedPorts=swL2StaticVlanUntaggedPorts, swL2DevMgmt=swL2DevMgmt, swL2StaticVlanTable=swL2StaticVlanTable, swL2StaticVlanIndex=swL2StaticVlanIndex, swL2IGMPForwardGroupIpAddr=swL2IGMPForwardGroupIpAddr, swL2VlanPortIndex=swL2VlanPortIndex, swL2ACLQosFlowClassifierL4SwitchOtherICMPMessage=swL2ACLQosFlowClassifierL4SwitchOtherICMPMessage, swL2UnitMgmt=swL2UnitMgmt, swL2ACLQosTemplateRuleL4SwitchActionRedirectDropUnreachable=swL2ACLQosTemplateRuleL4SwitchActionRedirectDropUnreachable, swL2ACLQosTemplateRuleL4SwitchSessionOtherL4Protocol=swL2ACLQosTemplateRuleL4SwitchSessionOtherL4Protocol, swL2DevAlarmLinkChange=swL2DevAlarmLinkChange, swL2ACLQosFlowClassifierL4SwitchUDPTos=swL2ACLQosFlowClassifierL4SwitchUDPTos, swL2ACLQosMacPriorityVlanName=swL2ACLQosMacPriorityVlanName, swL2MgmtPortFlowCtrlState=swL2MgmtPortFlowCtrlState, swL2ACLQosFlowClassifierVlanVlanName=swL2ACLQosFlowClassifierVlanVlanName, swL2ACLQosFDBFilterIndex=swL2ACLQosFDBFilterIndex, swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState=swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState, swL2PortCtrlUnitIndex=swL2PortCtrlUnitIndex, swL2ACLQosDestinationIpFilterEntry=swL2ACLQosDestinationIpFilterEntry, swL2IGMPInfoVid=swL2IGMPInfoVid, swL2ACLQosMacPriorityDstMacAddress=swL2ACLQosMacPriorityDstMacAddress, swL2ACLQosFlowClassifierSecuritySrcMask=swL2ACLQosFlowClassifierSecuritySrcMask, swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcPort=swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcPort, PortList=PortList, swL2IGMPVid=swL2IGMPVid, swL2StaticVlanEntry=swL2StaticVlanEntry, swL2QosPriorityReplaceDscp=swL2QosPriorityReplaceDscp, swL2TrunkAlgorithm=swL2TrunkAlgorithm, swL2IGMPMaxSupportedVlans=swL2IGMPMaxSupportedVlans, swL2DevCtrlUpDownloadImage=swL2DevCtrlUpDownloadImage, swL2PortUtilTxSec=swL2PortUtilTxSec, swL2DevAlarmNewRoot=swL2DevAlarmNewRoot, swL2ACLQosTemplateRuleL4SwitchSessionTCPDstPort=swL2ACLQosTemplateRuleL4SwitchSessionTCPDstPort, swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPCode=swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPCode, swL2PortCtrlEntry=swL2PortCtrlEntry, swL2IGMPForwardEntry=swL2IGMPForwardEntry, swL2StormCtrlDlfThreshold=swL2StormCtrlDlfThreshold, swL2ACLQosDestinationIpFilterIpAddr=swL2ACLQosDestinationIpFilterIpAddr, swL2QosMgmt=swL2QosMgmt, swL2MirrorMgmt=swL2MirrorMgmt, swL2IGMPRobustness=swL2IGMPRobustness, swL2IGMPMacAddr=swL2IGMPMacAddr, swL2TrunkName=swL2TrunkName, swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcPort=swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcPort, swL2TrafficCtrlBcastStormCtrl=swL2TrafficCtrlBcastStormCtrl, swL2FilterAddrMacIndex=swL2FilterAddrMacIndex, swL2StaticVlanIpSubnetArpClassId=swL2StaticVlanIpSubnetArpClassId, swL2ACLQosTemplateRuleL4SwitchSessionUDPTos=swL2ACLQosTemplateRuleL4SwitchSessionUDPTos, swL2ACLQosTemplateRuleL4SwitchActionType=swL2ACLQosTemplateRuleL4SwitchActionType, swL2IGMPGroupPortEntry=swL2IGMPGroupPortEntry, swL2PortCtrlAdminState=swL2PortCtrlAdminState, swL2TrafficCtrlTable=swL2TrafficCtrlTable, swL2MgmtPortCurrentLinkStatus=swL2MgmtPortCurrentLinkStatus, swDevInfoTotalNumOfPort=swDevInfoTotalNumOfPort, swL2ACLQosFDBFilterVlanName=swL2ACLQosFDBFilterVlanName, swL2ACLQosTemplateRuleMode=swL2ACLQosTemplateRuleMode, swL2PortInfoNwayStatus=swL2PortInfoNwayStatus, swL2IGMPGroupEntry=swL2IGMPGroupEntry, swL2StormCtrlTable=swL2StormCtrlTable, swL2IGMPForwardVid=swL2IGMPForwardVid, swL2TrunkMember=swL2TrunkMember, swL2ACLQosFlowClassifierVlanEntry=swL2ACLQosFlowClassifierVlanEntry, swL2QosPriorityPriorityState=swL2QosPriorityPriorityState, swL2CpuUtilization=swL2CpuUtilization, swL2ACLQosTemplateRuleL4SwitchSessionTCPDstIp=swL2ACLQosTemplateRuleL4SwitchSessionTCPDstIp, swL2IGMPRPDynamicRouterPort=swL2IGMPRPDynamicRouterPort, swL2ACLQosTemplateRuleL4SwitchActionForwardPriority=swL2ACLQosTemplateRuleL4SwitchActionForwardPriority, swL2IGMPMulticastFilter=swL2IGMPMulticastFilter, swL2ACLQosTemplateRuleL4SwitchSessionOtherIGMPType=swL2ACLQosTemplateRuleL4SwitchSessionOtherIGMPType, swL2ACLQosFlowClassifierEntry=swL2ACLQosFlowClassifierEntry, swL2ACLQosFlowClassifierQosFlavor=swL2ACLQosFlowClassifierQosFlavor, swL2ACLQosMacPriorityIndex=swL2ACLQosMacPriorityIndex, swL2MirrorPortState=swL2MirrorPortState, swL2StaticVlanType=swL2StaticVlanType, swL2TrafficCtrlEntry=swL2TrafficCtrlEntry, swL2IGMPQueryInfoTable=swL2IGMPQueryInfoTable, swL2TrunkMaxSupportedEntries=swL2TrunkMaxSupportedEntries, swL2DevCtrlStpForwardBPDU=swL2DevCtrlStpForwardBPDU, swL2IGMPInfoTxQueryCount=swL2IGMPInfoTxQueryCount, swL2ACLQosMgmt=swL2ACLQosMgmt, swL2PortInfoPortIndex=swL2PortInfoPortIndex, swL2PortCtrlTable=swL2PortCtrlTable, managementPortLinkDown=managementPortLinkDown, swL2ACLQosTemplateRuleL4SwitchSessionOtherTos=swL2ACLQosTemplateRuleL4SwitchSessionOtherTos, swL2TrunkCtrlTable=swL2TrunkCtrlTable, swL2ACLQosTemplateRuleEntry=swL2ACLQosTemplateRuleEntry, swL2ACLQosTemplateRuleTemplateId=swL2ACLQosTemplateRuleTemplateId, swL2ACLQosFDBFilterTable=swL2ACLQosFDBFilterTable, swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcIp=swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcIp, swL2ACLQosTemplateRuleL4SwitchSessionOtherDstIp=swL2ACLQosTemplateRuleL4SwitchSessionOtherDstIp, swL2MgmtPortAdminState=swL2MgmtPortAdminState, swL2IGMPCtrlEntry=swL2IGMPCtrlEntry, swDevInfoSystemUpTime=swDevInfoSystemUpTime, swL2StaticVlanEncap=swL2StaticVlanEncap, swL2QosSchedulingClassId=swL2QosSchedulingClassId, swL2TrafficCtrlMcastStormCtrl=swL2TrafficCtrlMcastStormCtrl, swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPType=swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPType, swL2ACLQosTemplateRuleState=swL2ACLQosTemplateRuleState, swL2ACLQosDestinationIpFilterIndex=swL2ACLQosDestinationIpFilterIndex, swL2ACLQosTemplateRuleSecuritySrcIp=swL2ACLQosTemplateRuleSecuritySrcIp, swL2TrunkCurrentNumEntries=swL2TrunkCurrentNumEntries, swL2IGMPInfoQueryCount=swL2IGMPInfoQueryCount, swL2IGMPIpGroupReportCount=swL2IGMPIpGroupReportCount, swL2VlanMgmt=swL2VlanMgmt, swL2StaticVlanUserDefinedPid=swL2StaticVlanUserDefinedPid, swL2ACLQosTemplateRuleQosDscp=swL2ACLQosTemplateRuleQosDscp, swL2ACLQosFlowClassifierL4SwitchOtherIGMPType=swL2ACLQosFlowClassifierL4SwitchOtherIGMPType, swL2MirrorLogicTargetPort=swL2MirrorLogicTargetPort, swL2QosPriorityReplaceDscpState=swL2QosPriorityReplaceDscpState, swL2ACLQosFlowClassifierL4SwitchOtherSrcIp=swL2ACLQosFlowClassifierL4SwitchOtherSrcIp, swL2ACLQosTemplateRuleL4SwitchActionRedirectIp=swL2ACLQosTemplateRuleL4SwitchActionRedirectIp, swL2TrunkMasterPort=swL2TrunkMasterPort, swDevInfoNumOfPortInUse=swDevInfoNumOfPortInUse, swL2QosPriorityPriority=swL2QosPriorityPriority, swL2StaticVlanName=swL2StaticVlanName, swL2PortUtilRxSec=swL2PortUtilRxSec, swL2PortMgmt=swL2PortMgmt, swL2DevAlarm=swL2DevAlarm, swL2PortInfoEntry=swL2PortInfoEntry, swL2ACLQosTemplateRuleQosFlavor=swL2ACLQosTemplateRuleQosFlavor, swL2StaticVlanIpSubnetMask=swL2StaticVlanIpSubnetMask, swL2VlanPortEntry=swL2VlanPortEntry, swL2ACLQosFlowClassifierL4SwitchTCPDstPort=swL2ACLQosFlowClassifierL4SwitchTCPDstPort, swL2MgmtMIB=swL2MgmtMIB, swL2StormCtrlEntry=swL2StormCtrlEntry, swL2ACLQosFlowClassifierL4SwitchTCPFlags=swL2ACLQosFlowClassifierL4SwitchTCPFlags, swL2PortInfoTable=swL2PortInfoTable, swL2FilterAddrMaxSupportedEntries=swL2FilterAddrMaxSupportedEntries, swL2ACLQosDestinationIpFilterState=swL2ACLQosDestinationIpFilterState, swL2TrunkMgmt=swL2TrunkMgmt, swL2ACLQosDestinationIpFilterTable=swL2ACLQosDestinationIpFilterTable, swL2ACLQosTemplateRuleL4SwitchSessionTCPFlags=swL2ACLQosTemplateRuleL4SwitchSessionTCPFlags, swL2DevCtrlStpState=swL2DevCtrlStpState, swL2MirrorPortSourceIngress=swL2MirrorPortSourceIngress, swL2DevCtrlCleanAllStatisticCounter=swL2DevCtrlCleanAllStatisticCounter, swL2TrunkState=swL2TrunkState, swDevInfoConsoleInUse=swDevInfoConsoleInUse, swL2PortCtrlFlowCtrlState=swL2PortCtrlFlowCtrlState, swL2MirrorPortSourceEgress=swL2MirrorPortSourceEgress, swL2IGMPRPVid=swL2IGMPRPVid, swL2QosPriorityTable=swL2QosPriorityTable, swL2ACLQosTemplateRuleL4SwitchSessionOtherSrcIp=swL2ACLQosTemplateRuleL4SwitchSessionOtherSrcIp, swL2ACLQosFlowClassifierL4SwitchTCPSrcIp=swL2ACLQosFlowClassifierL4SwitchTCPSrcIp, swL2ACLQosFlowClassifierL4SwitchOtherTos=swL2ACLQosFlowClassifierL4SwitchOtherTos, swL2PortCtrlNwayState=swL2PortCtrlNwayState, swL2StormCtrlBMStormThreshold=swL2StormCtrlBMStormThreshold, swL2QosSchedulingTable=swL2QosSchedulingTable, swL2ACLQosTemplateRuleQosValue=swL2ACLQosTemplateRuleQosValue, swL2PortUtilUtilization=swL2PortUtilUtilization, swL2IGMPCtrlVid=swL2IGMPCtrlVid, swL2PortUtilEntry=swL2PortUtilEntry, swL2IGMPForwardTable=swL2IGMPForwardTable, swL2MgmtMIBTraps=swL2MgmtMIBTraps, swL2TrafficMgmt=swL2TrafficMgmt, swL2ACLQosTemplateRuleL4SwitchSessionTCPFlagsAll=swL2ACLQosTemplateRuleL4SwitchSessionTCPFlagsAll, swL2ACLQosSchedulingWRRValue=swL2ACLQosSchedulingWRRValue, swL2StaticVlanIpSubnetAddr=swL2StaticVlanIpSubnetAddr, swL2IGMPRPTable=swL2IGMPRPTable, swL2IGMPRPEntry=swL2IGMPRPEntry, swL2ModuleMgmt=swL2ModuleMgmt, swL2QosSchedulingMaxPkts=swL2QosSchedulingMaxPkts, swL2FilterAddrState=swL2FilterAddrState, swL2ACLQosMacPriorityPriorityValue=swL2ACLQosMacPriorityPriorityValue, swL2UnitCtrl=swL2UnitCtrl, VlanIndex=VlanIndex, swL2ACLQosFlowClassifierCurrentMode=swL2ACLQosFlowClassifierCurrentMode, swL2ACLQosSchedulingTable=swL2ACLQosSchedulingTable, swL2MgmtPortMgmt=swL2MgmtPortMgmt, swL2MgmtPortNwayState=swL2MgmtPortNwayState, swL2IGMPRouteTimeout=swL2IGMPRouteTimeout, swL2StormCtrlMgmt=swL2StormCtrlMgmt, swL2ACLQosMacPriorityTable=swL2ACLQosMacPriorityTable, swL2PortInfoLinkStatus=swL2PortInfoLinkStatus, swL2QosPriorityState=swL2QosPriorityState, swL2PortInfoType=swL2PortInfoType, swL2ACLQosTemplateRuleL4SwitchActionForwardDscp=swL2ACLQosTemplateRuleL4SwitchActionForwardDscp, swL2ACLQosFlowClassifierL4SwitchUDPSrcPort=swL2ACLQosFlowClassifierL4SwitchUDPSrcPort, swL2ACLQosSchedulingEntry=swL2ACLQosSchedulingEntry, swL2ACLQosFlowClassifierL4SwitchTCPDstIp=swL2ACLQosFlowClassifierL4SwitchTCPDstIp, swL2ACLQosTemplateRuleIndex=swL2ACLQosTemplateRuleIndex, swDevInfoFrontPanelLedStatus=swDevInfoFrontPanelLedStatus, swDevInfoSaveCfg=swDevInfoSaveCfg, swL2DevAlarmTopologyChange=swL2DevAlarmTopologyChange, swL2TrunkFloodingPort=swL2TrunkFloodingPort, swL2IGMPHostTimeout=swL2IGMPHostTimeout, swL2IGMPCtrlState=swL2IGMPCtrlState, swL2IGMPMulticastRouterOnly=swL2IGMPMulticastRouterOnly, swL2ACLQosFlowClassifierL4SwitchOtherDstIp=swL2ACLQosFlowClassifierL4SwitchOtherDstIp, swL2ACLQosFlowClassifierVlanTable=swL2ACLQosFlowClassifierVlanTable, swL2QosSchedulingMaxLatency=swL2QosSchedulingMaxLatency, swL2QosPriorityEntry=swL2QosPriorityEntry, swL2ACLQosTemplateRuleL4SwitchSessionType=swL2ACLQosTemplateRuleL4SwitchSessionType, PYSNMP_MODULE_ID=swL2MgmtMIB, swL2VlanPortTable=swL2VlanPortTable, swL2VlanPortIngressChecking=swL2VlanPortIngressChecking, swL2CpuRateLimitMcastThreshold=swL2CpuRateLimitMcastThreshold, swL2QosPriorityReplacePriority=swL2QosPriorityReplacePriority, swL2StormCtrlMcastStormCtrl=swL2StormCtrlMcastStormCtrl, swL2TrunkCtrlEntry=swL2TrunkCtrlEntry, swL2StaticVlanEgressPorts=swL2StaticVlanEgressPorts, swL2QosPriorityType=swL2QosPriorityType, swL2CpuRateLimitState=swL2CpuRateLimitState, swL2FilterAddrCtrlTable=swL2FilterAddrCtrlTable, swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcIp=swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcIp, swL2CpuRateLimitPortIndex=swL2CpuRateLimitPortIndex, swL2PortInfoUnitIndex=swL2PortInfoUnitIndex, swL2FilterMgmt=swL2FilterMgmt, swL2ACLQosTemplate1Mode=swL2ACLQosTemplate1Mode, swL2IGMPGroupIpAddr=swL2IGMPGroupIpAddr, swL2CpuRateLimitBcastThreshold=swL2CpuRateLimitBcastThreshold, swL2IGMPLeaveTimer=swL2IGMPLeaveTimer, swL2IGMPCtrlTable=swL2IGMPCtrlTable, swL2IGMPQueryState=swL2IGMPQueryState, swL2ACLQosFlowClassifierL4SwitchUDPSrcIp=swL2ACLQosFlowClassifierL4SwitchUDPSrcIp, swL2FilterAddrCtrlEntry=swL2FilterAddrCtrlEntry, swL2QosSchedulingEntry=swL2QosSchedulingEntry, swL2StormCtrlDlfState=swL2StormCtrlDlfState, swL2IGMPMaxIpGroupNumPerVlan=swL2IGMPMaxIpGroupNumPerVlan, swL2CpuRateLimitTable=swL2CpuRateLimitTable, swL2VlanPortPvid=swL2VlanPortPvid, swL2ACLQosTemplateRuleTable=swL2ACLQosTemplateRuleTable)
mibBuilder.exportSymbols("SWL2MGMT-MIB", swL2IGMPPortAgingTime=swL2IGMPPortAgingTime, swL2ACLQosTemplateRuleL4SwitchSessionUDPDstPort=swL2ACLQosTemplateRuleL4SwitchSessionUDPDstPort, swL2ACLQosSchedulingPortIndex=swL2ACLQosSchedulingPortIndex, swL2IGMPForwardPortMap=swL2IGMPForwardPortMap, swL2StaticVlanStatus=swL2StaticVlanStatus, swL2ACLQosTemplateRuleL4SwitchSessionTCPTos=swL2ACLQosTemplateRuleL4SwitchSessionTCPTos, swL2ACLQosFlowClassifierSecurityDstMask=swL2ACLQosFlowClassifierSecurityDstMask, swL2ACLQosFDBFilterEntry=swL2ACLQosFDBFilterEntry, swL2PortUtilTable=swL2PortUtilTable, swL2IGMPLastMemberQueryInterval=swL2IGMPLastMemberQueryInterval, swL2ACLQosSchedulingClassId=swL2ACLQosSchedulingClassId, swL2ACLQosMacPriorityState=swL2ACLQosMacPriorityState, swL2StaticVlanProtocolId=swL2StaticVlanProtocolId, swL2ACLQosFlowClassifierTemplateId=swL2ACLQosFlowClassifierTemplateId, swL2StormCtrlBcastStormCtrl=swL2StormCtrlBcastStormCtrl, swL2TrunkBPDU8600InterState=swL2TrunkBPDU8600InterState, swL2TrafficCtrlGroupIndex=swL2TrafficCtrlGroupIndex, swL2TrafficCtrlDlfStormCtrl=swL2TrafficCtrlDlfStormCtrl, swL2ACLQosFlowClassifierL4SwitchTCPTos=swL2ACLQosFlowClassifierL4SwitchTCPTos, swL2DevCtrlIGMPSnooping=swL2DevCtrlIGMPSnooping, swL2ACLQosTemplate2Mode=swL2ACLQosTemplate2Mode, swL2FilterAddrCurrentTotalEntries=swL2FilterAddrCurrentTotalEntries, swL2ACLQosTemplateRuleSecurityDstIp=swL2ACLQosTemplateRuleSecurityDstIp, swL2FilterAddrConfig=swL2FilterAddrConfig, swL2ACLQosFlowClassifierTable=swL2ACLQosFlowClassifierTable, swL2ACLQosTemplateRuleL4SwitchSessionUDPDstIp=swL2ACLQosTemplateRuleL4SwitchSessionUDPDstIp, swL2DevCtrl=swL2DevCtrl, swL2IGMPGroupPortTable=swL2IGMPGroupPortTable, swL2MgmtPortCurrentNwayStatus=swL2MgmtPortCurrentNwayStatus, swL2ACLQosFlowClassifierL4SwitchOtherL4Protocol=swL2ACLQosFlowClassifierL4SwitchOtherL4Protocol, swL2ACLQosFDBFilterMacAddress=swL2ACLQosFDBFilterMacAddress, swL2PortCtrlAddressLearningState=swL2PortCtrlAddressLearningState, swL2ACLQosFDBFilterState=swL2ACLQosFDBFilterState, swL2ACLQosFlowClassifierVlanTemplateId=swL2ACLQosFlowClassifierVlanTemplateId, managementPortLinkUp=managementPortLinkUp)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_intersection, value_size_constraint, single_value_constraint, constraints_union, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueRangeConstraint')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(unsigned32, counter32, gauge32, iso, notification_type, integer32, bits, notification_type, object_identity, counter64, time_ticks, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'Unsigned32', 'Counter32', 'Gauge32', 'iso', 'NotificationType', 'Integer32', 'Bits', 'NotificationType', 'ObjectIdentity', 'Counter64', 'TimeTicks', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'IpAddress')
(mac_address, textual_convention, truth_value, row_status, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'MacAddress', 'TextualConvention', 'TruthValue', 'RowStatus', 'DisplayString')
(private_mgmt,) = mibBuilder.importSymbols('SWPRIMGMT-MIB', 'privateMgmt')
sw_l2_mgmt_mib = module_identity((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2))
if mibBuilder.loadTexts:
swL2MgmtMIB.setLastUpdated('0007150000Z')
if mibBuilder.loadTexts:
swL2MgmtMIB.setOrganization('enterprise, Inc.')
if mibBuilder.loadTexts:
swL2MgmtMIB.setContactInfo(' Customer Service Postal: Tel: E-mail: ')
if mibBuilder.loadTexts:
swL2MgmtMIB.setDescription('The Structure of Layer 2 Network Management Information for the proprietary enterprise.')
class Portlist(OctetString):
subtype_spec = OctetString.subtypeSpec + value_size_constraint(0, 127)
class Vlanindex(Unsigned32):
pass
sw_l2_dev_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1))
sw_l2_unit_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 2))
sw_l2_module_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 3))
sw_l2_port_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4))
sw_l2_filter_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6))
sw_l2_vlan_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7))
sw_l2_trunk_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8))
sw_l2_mirror_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 9))
sw_l2_igmp_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10))
sw_l2_traffic_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12))
sw_l2_qos_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13))
sw_l2_mgmt_mib_traps = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 14))
sw_l2_storm_ctrl_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15))
sw_l2_acl_qos_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16))
sw_l2_mgmt_port_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17))
sw_l2_dev_info = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1))
sw_dev_info_system_up_time = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 1), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swDevInfoSystemUpTime.setStatus('current')
if mibBuilder.loadTexts:
swDevInfoSystemUpTime.setDescription('The value of sysUpTime at the time the switch entered its current operational state. If the current state was entered prior to the last re-initialization, then this object contains a zero value. This value is in units of seconds.')
sw_dev_info_total_num_of_port = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swDevInfoTotalNumOfPort.setStatus('current')
if mibBuilder.loadTexts:
swDevInfoTotalNumOfPort.setDescription('The number of ports within this switch. This value is the sum of the ports within this switch.')
sw_dev_info_num_of_port_in_use = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swDevInfoNumOfPortInUse.setStatus('current')
if mibBuilder.loadTexts:
swDevInfoNumOfPortInUse.setDescription('The number of ports in this switch connected to the segment or the end stations.')
sw_dev_info_console_in_use = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('in-use', 2), ('not-in-use', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swDevInfoConsoleInUse.setStatus('current')
if mibBuilder.loadTexts:
swDevInfoConsoleInUse.setDescription('This usage indication of console system.')
sw_dev_info_front_panel_led_status = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(0, 324))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swDevInfoFrontPanelLedStatus.setStatus('current')
if mibBuilder.loadTexts:
swDevInfoFrontPanelLedStatus.setDescription('This object is a set of system LED indications. The first three octets is defined as system LED. The first LED is primary power LED. The second LED is redundant power LED. The third LED is console LED. The other octets following the second octets are the logical port LED (following dot1dBasePort ordering). Every two bytes are presented to a port. The first byte is presentd to the Link/Activity LED. The second byte is presented to the Speed LED. Link/Activity LED : The most significant bit is used for blink/solid: 8 = The LED blinks. The second significant bit is used for link status: 1 = link fail. 2 = link pass. Speed LED : 01 = 10Mbps. 02 = 100Mbps. 03 = 1000Mbps. The four remaining bits are currently unused and must be 0.')
sw_l2_dev_ctrl_up_download_state = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('other', 1), ('in-process', 2), ('invalid-file', 3), ('violation', 4), ('file-not-found', 5), ('disk-full', 6), ('complete', 7), ('time-out', 8), ('tftp-establish-fail', 9)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2DevCtrlUpDownloadState.setStatus('current')
if mibBuilder.loadTexts:
swL2DevCtrlUpDownloadState.setDescription("status of upload/download control. If the value is 'other', means never firmware updated since device started up.")
sw_dev_info_save_cfg = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('proceeding', 2), ('ready', 3), ('failed', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swDevInfoSaveCfg.setStatus('current')
if mibBuilder.loadTexts:
swDevInfoSaveCfg.setDescription('This object indicates the status of the device configuration. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. proceeding(2) - the device configuration is saving into the NV-RAM. ready(3) V the device configuration has been ready to save into NV-RAM. failed(4) - The processing of saving device configuration is failed.')
sw_l2_dev_ctrl = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2))
sw_l2_dev_ctrl_stp_state = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevCtrlStpState.setStatus('current')
if mibBuilder.loadTexts:
swL2DevCtrlStpState.setDescription('This object can be enabled or disabled spanning tree algorithm during runtime of the system.')
sw_l2_dev_ctrl_igmp_snooping = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevCtrlIGMPSnooping.setStatus('current')
if mibBuilder.loadTexts:
swL2DevCtrlIGMPSnooping.setDescription('This object indicates layer 2 Internet Group Management Protocol (IGMP) capture function is enabled or disabled.')
sw_l2_dev_ctrl_rmon_state = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevCtrlRmonState.setStatus('current')
if mibBuilder.loadTexts:
swL2DevCtrlRmonState.setDescription('This object can be enabled or disabled RMON.')
sw_l2_dev_ctrl_up_download_image_file_name = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevCtrlUpDownloadImageFileName.setStatus('current')
if mibBuilder.loadTexts:
swL2DevCtrlUpDownloadImageFileName.setDescription('The name of the image file to be uploaded/Downloaded from the device to TFTP server when enabling image upload/download function (by writing swL2DevCtrlUpDownloadImage).')
sw_l2_dev_ctrl_up_download_image_source_addr = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 5), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevCtrlUpDownloadImageSourceAddr.setStatus('current')
if mibBuilder.loadTexts:
swL2DevCtrlUpDownloadImageSourceAddr.setDescription('The ip address where been uploaded/Downloaded image file.')
sw_l2_dev_ctrl_up_download_image = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('upload', 2), ('download', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevCtrlUpDownloadImage.setStatus('current')
if mibBuilder.loadTexts:
swL2DevCtrlUpDownloadImage.setDescription("Image file upload/download control. After setting, it will immediately invoke image upload/download function. While retrieving the value of this object, it always returns 'other' normally.")
sw_l2_dev_ctrl_save_cfg = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('active', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevCtrlSaveCfg.setStatus('current')
if mibBuilder.loadTexts:
swL2DevCtrlSaveCfg.setDescription('As the object is set to active, the current device configuration is save into to NV-RAM.If set to normal, do nothing.')
sw_l2_dev_ctrl_clean_all_statistic_counter = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('active', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevCtrlCleanAllStatisticCounter.setStatus('current')
if mibBuilder.loadTexts:
swL2DevCtrlCleanAllStatisticCounter.setDescription('As the object is set to active, all the statistic counters will be cleared. If set to normal, do nothing.')
sw_l2_dev_ctrl_stp_forward_bpdu = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 2, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevCtrlStpForwardBPDU.setStatus('current')
if mibBuilder.loadTexts:
swL2DevCtrlStpForwardBPDU.setDescription('This object allow the forwarding of STP BPDU packets from other network device or not when STP is disabled on the device.')
sw_l2_dev_alarm = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 3))
sw_l2_dev_alarm_new_root = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevAlarmNewRoot.setStatus('current')
if mibBuilder.loadTexts:
swL2DevAlarmNewRoot.setDescription('When the device has become the new root of the Spanning Tree, this object decide whether to send a new root trap.')
sw_l2_dev_alarm_topology_change = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevAlarmTopologyChange.setStatus('current')
if mibBuilder.loadTexts:
swL2DevAlarmTopologyChange.setDescription("This object determine to send a trap or not when the switch topology was changed. If the object is enabled(3), the topologyChange trap is sent by the device when any of its configured ports transitions from the Learning state to the Forwarding state, or from the Forwarding state to the Blocking state. For the same port tranition, the device doesn't send the trap if this object value is disabled or other.")
sw_l2_dev_alarm_link_change = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 1, 3, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2DevAlarmLinkChange.setStatus('current')
if mibBuilder.loadTexts:
swL2DevAlarmLinkChange.setDescription("This object determine to send a trap or not when the link was changed. If the object is enabled(3), the Link Change trap is sent by the device when any of its ports link change. The device doesn't send the trap if this object value is disabled or other.")
sw_l2_unit_ctrl = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 2, 1))
sw_l2_port_info_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1))
if mibBuilder.loadTexts:
swL2PortInfoTable.setStatus('current')
if mibBuilder.loadTexts:
swL2PortInfoTable.setDescription('A table that contains information about every port.')
sw_l2_port_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2PortInfoPortIndex'))
if mibBuilder.loadTexts:
swL2PortInfoEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2PortInfoEntry.setDescription('A list of information for each port of the device.')
sw_l2_port_info_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2PortInfoPortIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2PortInfoPortIndex.setDescription("This object indicates the module's port number.(1..Max port number in the module)")
sw_l2_port_info_unit_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2PortInfoUnitIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2PortInfoUnitIndex.setDescription('Indicates ID of the unit in the device')
sw_l2_port_info_type = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=named_values(('other', 1), ('portType-100Base-TX', 2), ('portType-100Base-FX', 3), ('portType-100Base-FL', 4), ('portType-1000Base-T', 5), ('portType-1000Base-SX', 6), ('portType-1000Base-LX', 7), ('portType-1000Base-GBIC-SX', 8), ('portType-1000Base-GBIC-LX', 9), ('portType-1000Base-GBIC-CWDM', 10), ('portType-1000Base-GBIC-XD', 11), ('portType-1000Base-GBIC-ZX', 12), ('portType-1000Base-GBIC-COPPER', 13), ('portType-1000Base-GBIC-OTHER', 14)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2PortInfoType.setStatus('current')
if mibBuilder.loadTexts:
swL2PortInfoType.setDescription('This object indicates the connector type of this port.')
sw_l2_port_info_link_status = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('link-pass', 2), ('link-fail', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2PortInfoLinkStatus.setStatus('current')
if mibBuilder.loadTexts:
swL2PortInfoLinkStatus.setDescription('This object indicates the port link status.')
sw_l2_port_info_nway_status = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('other', 1), ('auto', 2), ('half-10Mbps', 3), ('full-10Mbps', 4), ('half-100Mbps', 5), ('full-100Mbps', 6), ('half-1Gigabps', 7), ('full-1Gigabps', 8)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2PortInfoNwayStatus.setStatus('current')
if mibBuilder.loadTexts:
swL2PortInfoNwayStatus.setDescription('This object indicates the port speed and duplex mode.')
sw_l2_port_ctrl_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2))
if mibBuilder.loadTexts:
swL2PortCtrlTable.setStatus('current')
if mibBuilder.loadTexts:
swL2PortCtrlTable.setDescription('A table that contains control information about every port.')
sw_l2_port_ctrl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2PortCtrlPortIndex'))
if mibBuilder.loadTexts:
swL2PortCtrlEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2PortCtrlEntry.setDescription('A list of control information for each port of the device.')
sw_l2_port_ctrl_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2PortCtrlPortIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2PortCtrlPortIndex.setDescription("This object indicates the module's port number.(1..Max port number in the module)")
sw_l2_port_ctrl_unit_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2PortCtrlUnitIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2PortCtrlUnitIndex.setDescription('Indicates ID of the unit in the device')
sw_l2_port_ctrl_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2PortCtrlAdminState.setStatus('current')
if mibBuilder.loadTexts:
swL2PortCtrlAdminState.setDescription('This object decide the port enabled or disabled.')
sw_l2_port_ctrl_nway_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('other', 1), ('nway-enabled', 2), ('nway-disabled-10Mbps-Half', 3), ('nway-disabled-10Mbps-Full', 4), ('nway-disabled-100Mbps-Half', 5), ('nway-disabled-100Mbps-Full', 6), ('nway-disabled-1Gigabps-Full', 7)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2PortCtrlNwayState.setStatus('current')
if mibBuilder.loadTexts:
swL2PortCtrlNwayState.setDescription('Chose the port speed, duplex mode, and N-Way function mode.')
sw_l2_port_ctrl_flow_ctrl_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2PortCtrlFlowCtrlState.setStatus('current')
if mibBuilder.loadTexts:
swL2PortCtrlFlowCtrlState.setDescription('The flow control mechanism is different between full duplex mode and half duplex mode. For half duplex mode, the jamming signal is asserted. For full duplex mode, IEEE 802.3x flow control function sends PAUSE frames and receives PAUSE frames.')
sw_l2_port_ctrl_address_learning_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2PortCtrlAddressLearningState.setStatus('current')
if mibBuilder.loadTexts:
swL2PortCtrlAddressLearningState.setDescription('This object decide the address learning state on this port is enabled or disabled.')
sw_l2_port_util_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3))
if mibBuilder.loadTexts:
swL2PortUtilTable.setStatus('current')
if mibBuilder.loadTexts:
swL2PortUtilTable.setDescription('A table that contains information of utilization about every port.')
sw_l2_port_util_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2PortUtilPortIndex'))
if mibBuilder.loadTexts:
swL2PortUtilEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2PortUtilEntry.setDescription('A list of information of utilization for each port of the device.')
sw_l2_port_util_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2PortUtilPortIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2PortUtilPortIndex.setDescription("This object indicates the module's port number.(1..Max port number in the module)")
sw_l2_port_util_tx_sec = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3, 1, 2), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2PortUtilTxSec.setStatus('current')
if mibBuilder.loadTexts:
swL2PortUtilTxSec.setDescription('Indicates how many packets transmitted per second.')
sw_l2_port_util_rx_sec = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3, 1, 3), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2PortUtilRxSec.setStatus('current')
if mibBuilder.loadTexts:
swL2PortUtilRxSec.setDescription('Indicates how many packets received per second.')
sw_l2_port_util_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 4, 3, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2PortUtilUtilization.setStatus('current')
if mibBuilder.loadTexts:
swL2PortUtilUtilization.setDescription('This object indicates the port utilization.')
sw_l2_filter_addr_config = mib_identifier((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1))
sw_l2_filter_addr_max_supported_entries = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2FilterAddrMaxSupportedEntries.setStatus('current')
if mibBuilder.loadTexts:
swL2FilterAddrMaxSupportedEntries.setDescription('Maximum number of entries in the MAC address filtering table (swL2FilterAddrCtrlTable).')
sw_l2_filter_addr_current_total_entries = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2FilterAddrCurrentTotalEntries.setStatus('current')
if mibBuilder.loadTexts:
swL2FilterAddrCurrentTotalEntries.setDescription('Current applied number of entries in the MAC address filtering table.')
sw_l2_filter_addr_ctrl_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 3))
if mibBuilder.loadTexts:
swL2FilterAddrCtrlTable.setStatus('current')
if mibBuilder.loadTexts:
swL2FilterAddrCtrlTable.setDescription('This table defines information for the device to filter packets with specific MAC address (either as the DA and/or as the SA). The MAC address can be a unicast address or a multicast address. This table has higher priority than both static FDB table and IGMP table. It means that if a MAC address appears on this table also appears on the static FDB table, the device will use the information provide by this table to process the packet.')
sw_l2_filter_addr_ctrl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 3, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2FilterAddrMacIndex'))
if mibBuilder.loadTexts:
swL2FilterAddrCtrlEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2FilterAddrCtrlEntry.setDescription('A list of information about a specific unicast/multicast MAC address for which the switch has filtering information.')
sw_l2_filter_addr_mac_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 3, 1, 1), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2FilterAddrMacIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2FilterAddrMacIndex.setDescription('This object indicates a unicast/multicast MAC address for which the switch has filtering information. But if the swL2FilterAddrState = src-addr then the object can not be a multicast MAC address.')
sw_l2_filter_addr_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 6, 1, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('dst-addr', 2), ('src-addr', 3), ('dst-src-addr', 4), ('invalid', 5)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2FilterAddrState.setStatus('current')
if mibBuilder.loadTexts:
swL2FilterAddrState.setDescription("This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. dst-addr(2) - recieved frames's destination address are currently used to be filtered as it meets with the MAC address entry of the table. src-addr(3) - recieved frames's source address are currently used to be filtered as it meets with the MAC address entry of the table. dst-src-addr(4) - recieved frames's destination address or source address are currently used to be filtered as it meets with the MAC address entry of the table. invalid(5) - writing this value to the object, and then the corresponding entry will be removed from the table.")
sw_l2_static_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1))
if mibBuilder.loadTexts:
swL2StaticVlanTable.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanTable.setDescription('A table containing static configuration information for each VLAN configured into the device by (local or network) management.')
sw_l2_static_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2StaticVlanIndex'))
if mibBuilder.loadTexts:
swL2StaticVlanEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanEntry.setDescription('Static information for a VLAN configured into the device by (local or network) management.')
sw_l2_static_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4094))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2StaticVlanIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanIndex.setDescription('A value that uniquely identifies the Virtual LAN associated with this entry.')
sw_l2_static_vlan_name = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanName.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanName.setDescription('An administratively-assigned name for this VLAN.')
sw_l2_static_vlan_type = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('byport', 1), ('byIpSubnet', 2), ('byProtocolId', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanType.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanType.setDescription('The type of VLAN, distinguished according to the policy used to define its port membership.')
sw_l2_static_vlan_protocol_id = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17))).clone(namedValues=named_values(('none', 0), ('ipEther2', 1), ('rarpEther2', 2), ('ipx802dot3', 3), ('ipx802dot2', 4), ('ipxSnap', 5), ('ipxEther2', 6), ('apltkEther2Snap', 7), ('decEther2', 8), ('decOtherEther2', 9), ('sna802dot2', 10), ('snaEther2', 11), ('netBios', 12), ('xnsEther2', 13), ('vinesEther2', 14), ('ipv6Ether2', 15), ('userDefined', 16), ('arpEther2', 17)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanProtocolId.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanProtocolId.setDescription('The protocol identifier of this VLAN. This value is meaningful only if swL2StaticVlanType is equal to byProtocolId(3). For other VLAN types it should have the value none(0).')
sw_l2_static_vlan_ip_subnet_addr = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 5), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanIpSubnetAddr.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanIpSubnetAddr.setDescription('The IP subnet address of this VLAN. This value is meaningful only if rcVlanType is equal to byIpSubnet(2). For other VLAN types it should have the value 0.0.0.0.')
sw_l2_static_vlan_ip_subnet_mask = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 6), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanIpSubnetMask.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanIpSubnetMask.setDescription('The IP subnet mask of this VLAN. This value is meaningful only if rcVlanType is equal to byIpSubnet(2). For other VLAN types it should have the value 0.0.0.0.')
sw_l2_static_vlan_user_defined_pid = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(0, 2))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanUserDefinedPid.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanUserDefinedPid.setDescription('When swL2StaticVlanProtocolId is set to userDefined(16) in a protocol-based VLAN, this field represents the 16-bit user defined protocol identifier. Otherwise, this object should be zero.')
sw_l2_static_vlan_encap = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('all', 1), ('ethernet2', 2), ('llc', 3), ('snap', 4), ('un-used', 5)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanEncap.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanEncap.setDescription('This value is meaningful only if swL2StaticVlanProtocolId is set to userDefined(16). Otherwise, this object should be un-used(5). If If this set to ethernet2(2), the Detagged Frame uses Type-encapsulated 802.3 format. If this set to llc(3), the Detagged Frame contains both a DSAP and an SSAP address field in the positions. If this set to snap(4), the Detagged Frame is of the format specified by IEEE Std. 802.1H for the encoding of an IEEE 802.3 Type Field in an 802.2/SNAP header.')
sw_l2_static_vlan_user_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4, 4), value_range_constraint(6, 6), value_range_constraint(7, 7)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanUserPriority.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanUserPriority.setDescription('User priority level. This value is meaningful only if swL2StaticVlanType is set to byIpSubnet(2) or byProtocolId(3).')
sw_l2_static_vlan_egress_ports = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 10), port_list()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanEgressPorts.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanEgressPorts.setDescription('The set of ports which are permanently assigned to the egress list for this VLAN by management. The default value of this object is a string of zeros of appropriate length.')
sw_l2_static_vlan_untagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 11), port_list()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanUntaggedPorts.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanUntaggedPorts.setDescription('The set of ports which should transmit egress packets for this VLAN as untagged. The default value of this object for the default VLAN is a string of appropriate length including all ports. There is no specified default for other VLANs.')
sw_l2_static_vlan_status = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 12), row_status()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanStatus.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanStatus.setDescription('This object indicates the status of this entry.')
sw_l2_static_vlan_ip_subnet_arp_class_id = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 1, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StaticVlanIpSubnetArpClassId.setStatus('current')
if mibBuilder.loadTexts:
swL2StaticVlanIpSubnetArpClassId.setDescription('This object indicates the ARP classification ID. If the swL2StaticVlanType is not byIpSubnet(2), this value must be 0. If the swL2StaticVlanType is byIpSubnet(2), the range of this object is 1 to 4094. This object is useful when create the first IpSubnet entry, and not allow to modify.')
sw_l2_vlan_port_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 2))
if mibBuilder.loadTexts:
swL2VlanPortTable.setStatus('current')
if mibBuilder.loadTexts:
swL2VlanPortTable.setDescription('A table containing per port control and status information for VLAN configuration in the device.')
sw_l2_vlan_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 2, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2VlanPortIndex'))
if mibBuilder.loadTexts:
swL2VlanPortEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2VlanPortEntry.setDescription('Information controlling VLAN configuration for a port on the device.')
sw_l2_vlan_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2VlanPortIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2VlanPortIndex.setDescription('An unique index used to identify a particular port in the system.')
sw_l2_vlan_port_pvid = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2VlanPortPvid.setStatus('current')
if mibBuilder.loadTexts:
swL2VlanPortPvid.setDescription('The PVID, the VLAN ID assigned to untagged frames or Priority- Tagged frames received on this port.')
sw_l2_vlan_port_ingress_checking = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 7, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2VlanPortIngressChecking.setStatus('current')
if mibBuilder.loadTexts:
swL2VlanPortIngressChecking.setDescription('When this is enabled(3) the device will discard incoming frames for VLANs which do not include this Port in its Member set. When disabled(2), the port will accept all incoming frames.')
sw_l2_trunk_max_supported_entries = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2TrunkMaxSupportedEntries.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkMaxSupportedEntries.setDescription('Maximum number of entries in the trunk configuration table (swL2TrunkCtrlTable).')
sw_l2_trunk_current_num_entries = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2TrunkCurrentNumEntries.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkCurrentNumEntries.setDescription('Current actived number of entries in the trunk configuration table.')
sw_l2_trunk_ctrl_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3))
if mibBuilder.loadTexts:
swL2TrunkCtrlTable.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkCtrlTable.setDescription('This table specifys which ports group a set of ports(up to 8) into a single logical link.')
sw_l2_trunk_ctrl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2TrunkIndex'))
if mibBuilder.loadTexts:
swL2TrunkCtrlEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkCtrlEntry.setDescription('A list of information specifies which ports group a set of ports(up to 8) into a single logical link.')
sw_l2_trunk_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2TrunkIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkIndex.setDescription('The index of logical port trunk. The trunk group number depend on the existence of unit and module.')
sw_l2_trunk_name = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 12))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2TrunkName.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkName.setDescription('The name of logical port trunk.')
sw_l2_trunk_master_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2TrunkMasterPort.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkMasterPort.setDescription('The object indicates the master port number of the port trunk entry. When using Port Trunk, you can not configure the other ports of the group except the master port. Their configuration must be same as the master port (e.g. speed, duplex, enabled/disabled, flow control, and so on).')
sw_l2_trunk_member = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 4), port_list()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2TrunkMember.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkMember.setDescription('Indicate how many number of ports is included in this Trunk. The trunk port number depend on the existence of module. The maximum number of ports is 4 for one trunks.')
sw_l2_trunk_flooding_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2TrunkFloodingPort.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkFloodingPort.setDescription('The object indicates the flooding port number of the port trunk entry. The first port of the trunk is implicitly configured to be the flooding port.')
sw_l2_trunk_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3), ('invalid', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2TrunkState.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - the port trunk disabled. enabled(3) - the port trunk enabled. invalid(4) - writing this value to the object, and then the corresponding entry will be removed from the table.')
sw_l2_trunk_bpdu8600_inter_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 3, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2TrunkBPDU8600InterState.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkBPDU8600InterState.setDescription("This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - the trunk member doesn't send BPDU. enabled(3) - the trunk member can send BPDU.")
sw_l2_trunk_algorithm = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 8, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('other', 1), ('mac-source', 2), ('mac-destination', 3), ('mac-source-dest', 4), ('ip-source', 5), ('ip-destination', 6), ('ip-source-dest', 7)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2TrunkAlgorithm.setStatus('current')
if mibBuilder.loadTexts:
swL2TrunkAlgorithm.setDescription('This object configures to part of the packet examined by the switch when selecting the egress port for transmitting load-sharing data. This feature is only available using the address-based load-sharing algorithm.')
sw_l2_mirror_logic_target_port = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 9, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2MirrorLogicTargetPort.setStatus('current')
if mibBuilder.loadTexts:
swL2MirrorLogicTargetPort.setDescription('This object indicates switch which port will sniff another port. A trunk port member cannot be configured as a target Snooping port. The port number is the sequential (logical) number which is also applied to bridge MIB, etc.')
sw_l2_mirror_port_source_ingress = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 9, 2), port_list()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2MirrorPortSourceIngress.setStatus('current')
if mibBuilder.loadTexts:
swL2MirrorPortSourceIngress.setDescription('The represent the ingress into the source port packet to sniffed.')
sw_l2_mirror_port_source_egress = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 9, 3), port_list()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2MirrorPortSourceEgress.setStatus('current')
if mibBuilder.loadTexts:
swL2MirrorPortSourceEgress.setDescription('The represent the egress from the source port packet to sniffed.')
sw_l2_mirror_port_state = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 9, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2MirrorPortState.setStatus('current')
if mibBuilder.loadTexts:
swL2MirrorPortState.setDescription('This object indicates the port mirroring state. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - writing this value to the object, and then the corresponding entry will be removed from the table. enabled(3) - this entry is reside in the table.')
sw_l2_igmp_max_supported_vlans = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPMaxSupportedVlans.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPMaxSupportedVlans.setDescription('Maximum number of Vlans in the layer 2 IGMP control table (swL2IGMPCtrlTable).')
sw_l2_igmp_max_ip_group_num_per_vlan = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPMaxIpGroupNumPerVlan.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPMaxIpGroupNumPerVlan.setDescription('Maximum number of multicast ip group per Vlan in the layer 2 IGMP information table (swL2IGMPQueryInfoTable).')
sw_l2_igmp_ctrl_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3))
if mibBuilder.loadTexts:
swL2IGMPCtrlTable.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPCtrlTable.setDescription("The table controls the Vlan's IGMP function. Its scale depends on current VLAN state (swL2VlanInfoStatus). If VLAN is disabled mode, there is only one entry in the table, with index 1. If VLAN is in Port-Base or 802.1q mode, the number of entries can be up to 12, with index range from 1 to 12.")
sw_l2_igmp_ctrl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2IGMPCtrlVid'))
if mibBuilder.loadTexts:
swL2IGMPCtrlEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPCtrlEntry.setDescription('The entry in IGMP control table (swL2IGMPCtrlTable). The entry is effective only when IGMP capture switch (swL2DevCtrlIGMPSnooping) is enabled.')
sw_l2_igmp_ctrl_vid = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPCtrlVid.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPCtrlVid.setDescription("This object indicates the IGMP control entry's VLAN id. If VLAN is disabled, the Vid is always 0 and cannot be changed by management users. If VLAN is in Port-Base mode, the Vid is arranged from 1 to 12, fixed form. If VLAN is in 802.1q mode, the Vid setting can vary from 1 to 4094 by management user, and the Vid in each entry must be unique in the IGMP Control Table.")
sw_l2_igmp_query_interval = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(125)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPQueryInterval.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPQueryInterval.setDescription('The frequency at which IGMP Host-Query packets are transmitted on this switch.')
sw_l2_igmp_max_response_time = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 25)).clone(10)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPMaxResponseTime.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPMaxResponseTime.setDescription('The maximum query response time on this switch.')
sw_l2_igmp_robustness = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 255)).clone(2)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPRobustness.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPRobustness.setDescription('The Robustness Variable allows tuning for the expected packet loss on a subnet. If a subnet is expected to be lossy, the Robustness Variable may be increased. IGMP is robust to (Robustness Variable-1) packet losses.')
sw_l2_igmp_last_member_query_interval = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(1)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPLastMemberQueryInterval.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPLastMemberQueryInterval.setDescription('The Last Member Query Interval is the Max Response Time inserted into Group-Specific Queries sent in response to Leave Group messages, and is also the amount of time between Group-Specific Query messages.')
sw_l2_igmp_host_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 16711450)).clone(260)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPHostTimeout.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPHostTimeout.setDescription('The timer value for sending IGMP query packet when none was sent by the host in the LAN. The timer works in per-VLAN basis. Our device will be activated to send the query message if the timer is expired. Please reference RFC2236-1997.')
sw_l2_igmp_route_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 16711450)).clone(260)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPRouteTimeout.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPRouteTimeout.setDescription('The Router Timeout is how long a host must wait after hearing a Query before it may send any IGMPv2 messages.')
sw_l2_igmp_leave_timer = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 16711450)).clone(1)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPLeaveTimer.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPLeaveTimer.setDescription('When a querier receives a Leave Group message for a group that has group members on the reception interface, it sends Group-Specific Queries every swL2IGMPLeaveTimer to the group being left.')
sw_l2_igmp_query_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPQueryState.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPQueryState.setDescription('This object decide the IGMP query enabled or disabled.')
sw_l2_igmp_current_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('querier', 2), ('non-querier', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPCurrentState.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPCurrentState.setDescription('This object indicates the current IGMP query state.')
sw_l2_igmp_ctrl_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 3, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPCtrlState.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPCtrlState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - IGMP funtion is disabled for this entry. enabled(3) - IGMP funtion is enabled for this entry.')
sw_l2_igmp_query_info_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 4))
if mibBuilder.loadTexts:
swL2IGMPQueryInfoTable.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPQueryInfoTable.setDescription('The table contains the number current IGMP query packets which is captured by this device, as well as the IGMP query packets sent by the device.')
sw_l2_igmp_query_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 4, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2IGMPInfoVid'))
if mibBuilder.loadTexts:
swL2IGMPQueryInfoEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPQueryInfoEntry.setDescription('Information about current IGMP query information, provided that swL2DevCtrlIGMPSnooping and swL2IGMPCtrState of associated VLAN entry are all enabled.')
sw_l2_igmp_info_vid = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPInfoVid.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPInfoVid.setDescription('This object indicates the Vid of associated IGMP info table entry. It follows swL2IGMPCtrlVid in the associated entry of IGMP control table (swL2IGMPCtrlTable).')
sw_l2_igmp_info_query_count = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPInfoQueryCount.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPInfoQueryCount.setDescription('This object indicates the number of query packets received since the IGMP function enabled, in per-VLAN basis.')
sw_l2_igmp_info_tx_query_count = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPInfoTxQueryCount.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPInfoTxQueryCount.setDescription('This object indicates the send count of IGMP query messages, in per-VLAN basis. In case of IGMP timer expiration, the switch sends IGMP query packets to related VLAN member ports and increment this object by 1.')
sw_l2_igmp_group_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5))
if mibBuilder.loadTexts:
swL2IGMPGroupTable.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPGroupTable.setDescription('The table containing current IGMP information which captured by this device, provided that swL2DevCtrlIGMPSnooping and swL2IGMPCtrlState of associated VLAN entry are all enabled. Note that the priority of IGMP table entries is lower than Filtering Table, i.e. if there is a table hash collision between the entries of IGMP Table and Filtering Table inside the switch H/W address table, then Filtering Table entry overwrite the colliding entry of IGMP Table. See swL2FilterMgmt description also.')
sw_l2_igmp_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2IGMPVid'), (0, 'SWL2MGMT-MIB', 'swL2IGMPGroupIpAddr'))
if mibBuilder.loadTexts:
swL2IGMPGroupEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPGroupEntry.setDescription('Information about current IGMP information which captured by this device, provided that swL2DevCtrlIGMPSnooping and swL2IGMPCtrlState of associated VLAN entry are all enabled.')
sw_l2_igmp_vid = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPVid.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPVid.setDescription('This object indicates the Vid of individual IGMP table entry. It shows the Vid of IGMP report information captured on network.')
sw_l2_igmp_group_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1, 2), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPGroupIpAddr.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPGroupIpAddr.setDescription('This object is identify group ip address which is captured from IGMP packet, in per-Vlan basis.')
sw_l2_igmp_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1, 3), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPMacAddr.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPMacAddr.setDescription('This object is identify mac address which is corresponding to swL2IGMPGroupIpAddr, in per-Vlan basis.')
sw_l2_igmp_port_map = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1, 4), port_list()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPPortMap.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPPortMap.setDescription("This object indicates which ports are belong to the same multicast group, in per-Vlan basis. Each multicast group has a octect string to indicate with port map. The most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the switch is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is included in the set of ports; the port is not included if its bit has a value of '0'(Note that the setting of the bit corresponding to the port from which a frame is received is irrelevant). The 4 octets is represent one unit port according its logic port. If the unit less 32 port, the other port don't care just fill zero.")
sw_l2_igmp_ip_group_report_count = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 5, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPIpGroupReportCount.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPIpGroupReportCount.setDescription('This object indicate how much report packet was receive by our device corresponding with this entry from IGMP function enabled, in per-Vlan basis.')
sw_l2_igmp_forward_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 6))
if mibBuilder.loadTexts:
swL2IGMPForwardTable.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPForwardTable.setDescription('The table containing current IGMP forwarding information which captured by this device, provided that swL2DevCtrlIGMPSnooping and swL2IGMPCtrlState of associated VLAN entry are all enabled. Note that the priority of IGMP table entries is lower than Filtering Table, i.e. if there is a table hash collision between the entries of IGMP Table and Filtering Table inside the switch H/W address table, then Filtering Table entry overwrite the colliding entry of IGMP Table. See swL2FilterMgmt description also.')
sw_l2_igmp_forward_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 6, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2IGMPForwardVid'), (0, 'SWL2MGMT-MIB', 'swL2IGMPForwardGroupIpAddr'))
if mibBuilder.loadTexts:
swL2IGMPForwardEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPForwardEntry.setDescription('Information about current IGMP forwarding information which captured by this device, provided that swL2DevCtrlIGMPSnooping and swL2IGMPCtrlState of associated VLAN entry are all enabled.')
sw_l2_igmp_forward_vid = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPForwardVid.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPForwardVid.setDescription('This object indicates the Vid of individual IGMP table entry. It shows the Vid of IGMP report forward information captured on network.')
sw_l2_igmp_forward_group_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 6, 1, 2), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPForwardGroupIpAddr.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPForwardGroupIpAddr.setDescription('This object is identify group ip address which is captured from IGMP packet, in per-Vlan basis.')
sw_l2_igmp_forward_port_map = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 6, 1, 3), port_list()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPForwardPortMap.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPForwardPortMap.setDescription("This object indicates which ports are belong to the same multicast group, in per-Vlan basis. Each multicast group has a octect string to indicate with port map. The most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the switch is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is included in the set of ports; the port is not included if its bit has a value of '0'(Note that the setting of the bit corresponding to the port from which a frame is received is irrelevant). The 4 octets is represent one unit port according its logic port. If the unit less 32 port, the other port don't care just fill zero.")
sw_l2_igmprp_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 7))
if mibBuilder.loadTexts:
swL2IGMPRPTable.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPRPTable.setDescription('The table allows you to designate a range of ports as being connected to multicast-enabled routers. This will ensure that all packets with such a router as its destination will reach the multicast-enabled router, regardless of protocol, etc.')
sw_l2_igmprp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 7, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2IGMPRPVid'))
if mibBuilder.loadTexts:
swL2IGMPRPEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPRPEntry.setDescription('A list of swL2IGMPRPTable.')
sw_l2_igmprp_vid = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 7, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPRPVid.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPRPVid.setDescription('The Vid of the VLAN on which the router port resides.')
sw_l2_igmprp_static_router_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 7, 1, 2), port_list()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPRPStaticRouterPort.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPRPStaticRouterPort.setDescription('Specifies a range of ports which will be configured as router ports.')
sw_l2_igmprp_dynamic_router_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 7, 1, 3), port_list()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPRPDynamicRouterPort.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPRPDynamicRouterPort.setDescription('Displays router ports that have been dynamically configued.')
sw_l2_igmp_multicast_router_only = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPMulticastRouterOnly.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPMulticastRouterOnly.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - the switch forwards all mulitcast traffic to any IP router. enabled(3) - the switch will forward all multicast traffic to the multicast router, only.')
sw_l2_igmp_group_port_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 9))
if mibBuilder.loadTexts:
swL2IGMPGroupPortTable.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPGroupPortTable.setDescription('This table describe the detail information of the member ports of the swL2IGMPGroupTable.')
sw_l2_igmp_group_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 9, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2IGMPVid'), (0, 'SWL2MGMT-MIB', 'swL2IGMPGroupIpAddr'), (0, 'SWL2MGMT-MIB', 'swL2IGMPPortMember'))
if mibBuilder.loadTexts:
swL2IGMPGroupPortEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPGroupPortEntry.setDescription('Information about member ports of current swL2IGMPGroupTable.')
sw_l2_igmp_port_member = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 9, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPPortMember.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPPortMember.setDescription('This object indicates which ports are belong to the same multicast group, in per-Vlan basis, in swL2IGMPGroupTable.')
sw_l2_igmp_port_aging_time = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 9, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 16711450))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2IGMPPortAgingTime.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPPortAgingTime.setDescription('This object indicate the aging out timer. This value is in units of seconds.')
sw_l2_igmp_multicast_filter = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 10, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2IGMPMulticastFilter.setStatus('current')
if mibBuilder.loadTexts:
swL2IGMPMulticastFilter.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. disabled(2) - the un-registered multicast traffic will be flooded. enabled(3) - the un-registered multicast traffic will be filtered.')
sw_l2_traffic_ctrl_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1))
if mibBuilder.loadTexts:
swL2TrafficCtrlTable.setStatus('current')
if mibBuilder.loadTexts:
swL2TrafficCtrlTable.setDescription('This table specifys the storm traffic control configuration.')
sw_l2_traffic_ctrl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2TrafficCtrlGroupIndex'))
if mibBuilder.loadTexts:
swL2TrafficCtrlEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2TrafficCtrlEntry.setDescription('A list of information specifies the storm traffic control configuration.')
sw_l2_traffic_ctrl_group_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2TrafficCtrlGroupIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2TrafficCtrlGroupIndex.setDescription('The index of logical port trunk. The trunk group number depend on the existence of unit and module.')
sw_l2_traffic_ctrl_unit_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2TrafficCtrlUnitIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2TrafficCtrlUnitIndex.setDescription('Indicates ID of the unit in the device')
sw_l2_traffic_ctrl_bm_stormthreshold = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2TrafficCtrlBMStormthreshold.setStatus('current')
if mibBuilder.loadTexts:
swL2TrafficCtrlBMStormthreshold.setDescription('This object to decide how much thousand packets per second broadcast/multicast (depend on swL2TrafficCtrlBcastStormCtrl, swL2TrafficCtrlMcastStormCtrl or swL2TrafficCtrlDlfStormCtrl objects whether is enabled) will active storm control. Whenever a port reaches its configured amount of packets in the one second time interval, the device will start dropping that type of packet, until the time interval has expired. Once the time interval has expired, the device will start forwarding that type of packet.')
sw_l2_traffic_ctrl_bcast_storm_ctrl = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2TrafficCtrlBcastStormCtrl.setStatus('current')
if mibBuilder.loadTexts:
swL2TrafficCtrlBcastStormCtrl.setDescription('This object indicates broadcast storm control function is enabled or disabled.')
sw_l2_traffic_ctrl_mcast_storm_ctrl = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2TrafficCtrlMcastStormCtrl.setStatus('current')
if mibBuilder.loadTexts:
swL2TrafficCtrlMcastStormCtrl.setDescription('This object indicates multicast storm control function is enabled or disabled.')
sw_l2_traffic_ctrl_dlf_storm_ctrl = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 12, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2TrafficCtrlDlfStormCtrl.setStatus('current')
if mibBuilder.loadTexts:
swL2TrafficCtrlDlfStormCtrl.setDescription('This object indicates destination lookup fail function is enabled or disabled.')
sw_l2_qos_scheduling_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 1))
if mibBuilder.loadTexts:
swL2QosSchedulingTable.setStatus('current')
if mibBuilder.loadTexts:
swL2QosSchedulingTable.setDescription('The switch contains 4 hardware priority queues. Incoming packets must be mapped to one of these four queues. Each hardware queue will transmit all of the packets in its buffer before allowing the next lower priority queue to transmit its packets. When the lowest hardware priority queue has finished transmitting all of its packets, the highest hardware priority queue can again transmit any packets it may have received.')
sw_l2_qos_scheduling_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 1, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2QosSchedulingClassId'))
if mibBuilder.loadTexts:
swL2QosSchedulingEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2QosSchedulingEntry.setDescription('A list of information specifies the Qos output scheduling Table.')
sw_l2_qos_scheduling_class_id = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2QosSchedulingClassId.setStatus('current')
if mibBuilder.loadTexts:
swL2QosSchedulingClassId.setDescription('This specifies which of the four hardware priority queues. The four hardware priority queues are identified by number, from 0 to 3, with the 0 queue being the lowest priority.')
sw_l2_qos_scheduling_max_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2QosSchedulingMaxPkts.setStatus('current')
if mibBuilder.loadTexts:
swL2QosSchedulingMaxPkts.setDescription('Specifies the maximium number of packets the above specified hardware priority queue will be allowed to transmit before allowing the next lowest priority queue to transmit its packets.')
sw_l2_qos_scheduling_max_latency = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2QosSchedulingMaxLatency.setStatus('current')
if mibBuilder.loadTexts:
swL2QosSchedulingMaxLatency.setDescription('Specifies the maximum amount of time the above specified hardware priority queue will be allowed to transmit packets before allowing the next lowest hardware priority queue to begin transmitting its packets. A value between 0 and 255 can be specified. With this value multiplied by 16 ms to arrive at the total allowed time for the queue to transmit packets.')
sw_l2_qos_priority_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2))
if mibBuilder.loadTexts:
swL2QosPriorityTable.setStatus('current')
if mibBuilder.loadTexts:
swL2QosPriorityTable.setDescription('This table display the current priority settings on the switch.')
sw_l2_qos_priority_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2QosPriorityType'), (0, 'SWL2MGMT-MIB', 'swL2QosPriorityValue'))
if mibBuilder.loadTexts:
swL2QosPriorityEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2QosPriorityEntry.setDescription('A list of information display the current priority settings on the switch.')
sw_l2_qos_priority_type = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('other', 1), ('type-dscp', 2), ('type-8021p', 3), ('type-tcp', 4), ('type-udp', 5), ('type-ip', 6), ('type-mac', 7)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2QosPriorityType.setStatus('current')
if mibBuilder.loadTexts:
swL2QosPriorityType.setDescription('These parameters define what characteristics an incoming packet must meet. One or more of the above parameters must be defined.')
sw_l2_qos_priority_value = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 2), octet_string().subtype(subtypeSpec=constraints_union(value_size_constraint(1, 1), value_size_constraint(2, 2), value_size_constraint(4, 4), value_size_constraint(6, 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2QosPriorityValue.setStatus('current')
if mibBuilder.loadTexts:
swL2QosPriorityValue.setDescription('This object must match with swL2QosPriorityType. If the type is type-dscp(2), the range of this object is 0~63. If the type is type-8021p(3), the range of this object is 0~7. If the type is type-tcp(4) or type-udp(5), the range of this object is 1~65535.')
sw_l2_qos_priority_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2QosPriorityPriority.setStatus('current')
if mibBuilder.loadTexts:
swL2QosPriorityPriority.setDescription('Allows to specify a priority value to be written to the 802.1p priority field of an incoming packet that meets the criteria.')
sw_l2_qos_priority_priority_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2QosPriorityPriorityState.setStatus('current')
if mibBuilder.loadTexts:
swL2QosPriorityPriorityState.setDescription('This object indicates 802.1p priority function is enabled or disabled.')
sw_l2_qos_priority_replace_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2QosPriorityReplaceDscp.setStatus('current')
if mibBuilder.loadTexts:
swL2QosPriorityReplaceDscp.setDescription('Allows to specify a value to be written to the DSCP field of an incoming packet that meets the criteria.')
sw_l2_qos_priority_replace_dscp_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2QosPriorityReplaceDscpState.setStatus('current')
if mibBuilder.loadTexts:
swL2QosPriorityReplaceDscpState.setDescription('This object indicates DSCP function is enabled or disabled.')
sw_l2_qos_priority_replace_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2QosPriorityReplacePriority.setStatus('current')
if mibBuilder.loadTexts:
swL2QosPriorityReplacePriority.setDescription('This object indicates the 802.1p user priority with the priority specified above will be replaced or not.')
sw_l2_qos_priority_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 13, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('invalid', 2), ('valid', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2QosPriorityState.setStatus('current')
if mibBuilder.loadTexts:
swL2QosPriorityState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - writing this value to the object, and then the corresponding entry will be removed from the table. valid(3) - this entry is reside in the table.')
management_port_link_up = notification_type((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2) + (0, 1))
if mibBuilder.loadTexts:
managementPortLinkUp.setDescription('The trap is sent whenever the management port is link up.')
management_port_link_down = notification_type((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2) + (0, 2))
if mibBuilder.loadTexts:
managementPortLinkDown.setDescription('The trap is sent whenever the management port is link down.')
sw_l2_storm_ctrl_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1))
if mibBuilder.loadTexts:
swL2StormCtrlTable.setStatus('current')
if mibBuilder.loadTexts:
swL2StormCtrlTable.setDescription('This table specifys the storm traffic control configuration.')
sw_l2_storm_ctrl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2StormCtrlPortIndex'))
if mibBuilder.loadTexts:
swL2StormCtrlEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2StormCtrlEntry.setDescription('A list of information specifies the storm traffic control configuration.')
sw_l2_storm_ctrl_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2StormCtrlPortIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2StormCtrlPortIndex.setDescription('The index of logical port.')
sw_l2_storm_ctrl_bcast_storm_ctrl = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StormCtrlBcastStormCtrl.setStatus('current')
if mibBuilder.loadTexts:
swL2StormCtrlBcastStormCtrl.setDescription('This object indicates broadcast storm control function is enabled or disabled.')
sw_l2_storm_ctrl_mcast_storm_ctrl = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StormCtrlMcastStormCtrl.setStatus('current')
if mibBuilder.loadTexts:
swL2StormCtrlMcastStormCtrl.setDescription('This object indicates multicast storm control function is enabled or disabled.')
sw_l2_storm_ctrl_bm_storm_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StormCtrlBMStormThreshold.setStatus('current')
if mibBuilder.loadTexts:
swL2StormCtrlBMStormThreshold.setDescription('This object to decide how much percentage packets per second broadcast/multicast (depend on swL2StormCtrlBcastStormCtrl or swL2StormCtrlMcastStormCtrl objects whether is enabled) will active storm control. Whenever a port reaches its configured percent of packets in the one second time interval, the device will start dropping that type of packet, until the time interval has expired. Once the time interval has expired, the device will start forwarding that type of packet.')
sw_l2_storm_ctrl_dlf_state = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StormCtrlDlfState.setStatus('current')
if mibBuilder.loadTexts:
swL2StormCtrlDlfState.setDescription('This object indicates destination lookup fail function is enabled or disabled.')
sw_l2_storm_ctrl_dlf_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 148810))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2StormCtrlDlfThreshold.setStatus('current')
if mibBuilder.loadTexts:
swL2StormCtrlDlfThreshold.setDescription('This object to decide how much packets per second destination lookup fail (depend on swL2StormCtrlDlfState objects whether is enabled) will active storm control. Whenever the device reaches its configured packets in the one second time interval, the device will start dropping that type of packet, until the time interval has expired. Once the time interval has expired, the device will start forwarding that type of packet. This value must be the multiples of 8192.')
sw_l2_cpu_rate_limit_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4))
if mibBuilder.loadTexts:
swL2CpuRateLimitTable.setStatus('current')
if mibBuilder.loadTexts:
swL2CpuRateLimitTable.setDescription('This table specifys the CPU rate limit per port. Once too much broadcast/multicast traffic, exceed CP-Limit, comes in from a port, the port state will be disabled.')
sw_l2_cpu_rate_limit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2CpuRateLimitPortIndex'))
if mibBuilder.loadTexts:
swL2CpuRateLimitEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2CpuRateLimitEntry.setDescription('A list of information specifies the CPU rate limit of the port configuration.')
sw_l2_cpu_rate_limit_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2CpuRateLimitPortIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2CpuRateLimitPortIndex.setDescription('The index of logical port.')
sw_l2_cpu_rate_limit_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2CpuRateLimitState.setStatus('current')
if mibBuilder.loadTexts:
swL2CpuRateLimitState.setDescription('This object indicates CPU rate limit function is enabled or disabled.')
sw_l2_cpu_rate_limit_bcast_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 1700))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2CpuRateLimitBcastThreshold.setStatus('current')
if mibBuilder.loadTexts:
swL2CpuRateLimitBcastThreshold.setDescription('This object to decide how much packets per second broadcast will active traffic control. Whenever a port reaches its configured packets in the one second time interval, the port will be disabled.')
sw_l2_cpu_rate_limit_mcast_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 2000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2CpuRateLimitMcastThreshold.setStatus('current')
if mibBuilder.loadTexts:
swL2CpuRateLimitMcastThreshold.setDescription('This object to decide how much packets per second multicast will active traffic control. Whenever a port reaches its configured packets in the one second time interval, the port will be disabled.')
sw_l2_cpu_utilization = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 15, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2CpuUtilization.setStatus('current')
if mibBuilder.loadTexts:
swL2CpuUtilization.setDescription('The utilization of CPU.')
sw_l2_acl_qos_template1_mode = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('security', 2), ('qos', 3), ('l4-switch', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplate1Mode.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplate1Mode.setDescription('This object decide the operate mode of template_1.')
sw_l2_acl_qos_template2_mode = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('security', 2), ('qos', 3), ('l4-switch', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplate2Mode.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplate2Mode.setDescription('This object decide the operate mode of template_2.')
sw_l2_acl_qos_flow_classifier_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3))
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierTable.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierTable.setDescription('This table specifys the template of flow classifier.')
sw_l2_acl_qos_flow_classifier_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2ACLQosFlowClassifierTemplateId'))
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierEntry.setDescription('A list of information specifies the template of flow classifier.')
sw_l2_acl_qos_flow_classifier_template_id = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierTemplateId.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierTemplateId.setDescription('The index of template ID.')
sw_l2_acl_qos_flow_classifier_current_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('security', 2), ('qos', 3), ('l4-switch', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierCurrentMode.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierCurrentMode.setDescription('The current operated mode of this template.')
sw_l2_acl_qos_flow_classifier_security_src_mask = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 3), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierSecuritySrcMask.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierSecuritySrcMask.setDescription('This object indicates a source IP subnet rule for the switch. If the swL2ACLQosFlowClassifierCurrentMode is not security(2), then this object must be 0.0.0.0.')
sw_l2_acl_qos_flow_classifier_qos_flavor = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('flavor-8021p', 1), ('flavor-dscp', 2), ('flavor-ip', 3), ('flavor-tcp', 4), ('flavor-udp', 5), ('flavor-un-used', 6)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierQosFlavor.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierQosFlavor.setDescription('These parameters define what characteristics an incoming packet must meet. One or more of the above parameters must be defined. If the swL2ACLQosFlowClassifierCurrentMode is not qos(3), then this object must be flavor-un-used(6).')
sw_l2_acl_qos_flow_classifier_l4_switch_tcp_dst_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPDstIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPDstIp.setDescription('This object indicate the destination ipaddress in the configured L4 TCP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_tcp_src_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPSrcIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPSrcIp.setDescription('This object indicate the source ipaddress in the configured L4 TCP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_tcp_tos = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPTos.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPTos.setDescription('This object indicate the type of service in the configured L4 TCP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_tcp_dst_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPDstPort.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPDstPort.setDescription('This object indicate the destination TCP port number in the configured L4 TCP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_tcp_src_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPSrcPort.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPSrcPort.setDescription('This object indicate the source TCP port number in the configured L4 TCP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_tcp_flags = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPFlags.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchTCPFlags.setDescription('This object indicate the TCP flags in the configured L4 TCP- session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_udp_dst_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchUDPDstIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchUDPDstIp.setDescription('This object indicate the destination ipaddress in the configured L4 UDP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_udp_src_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchUDPSrcIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchUDPSrcIp.setDescription('This object indicate the source ipaddress in the configured L4 UDP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_udp_tos = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchUDPTos.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchUDPTos.setDescription('This object indicate the type of service in the configured L4 UDP-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_udp_dst_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchUDPDstPort.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchUDPDstPort.setDescription('This object indicate the destination UDP port number in the configured L4 UDP session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_udp_src_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchUDPSrcPort.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchUDPSrcPort.setDescription('This object indicate the source UDP port number in the configured L4 UDP session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_other_dst_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherDstIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherDstIp.setDescription('This object indicate the destination ipaddress in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_other_src_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherSrcIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherSrcIp.setDescription('This object indicate the source ipaddress in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_other_tos = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherTos.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherTos.setDescription('This object indicate the type of service in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_other_l4_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherL4Protocol.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherL4Protocol.setDescription('This object indicate the l4_protocol in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_other_icmp_message = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherICMPMessage.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherICMPMessage.setDescription('This object indicate the ICMP message in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_l4_switch_other_igmp_type = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('true', 1), ('false', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherIGMPType.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierL4SwitchOtherIGMPType.setDescription('This object indicate the IGMP type in the configured L4 OTHER-session rule entries must be checked or not. If the swL2ACLQosFlowClassifierCurrentMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_flow_classifier_active_rule_number = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierActiveRuleNumber.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierActiveRuleNumber.setDescription('This object indicates the number of active rule.')
sw_l2_acl_qos_flow_classifier_security_dst_mask = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 3, 1, 23), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierSecurityDstMask.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierSecurityDstMask.setDescription('This object indicates a destination IP subnet rule for the switch. If the swL2ACLQosFlowClassifierCurrentMode is not security(2), then this object must be 0.0.0.0.')
sw_l2_acl_qos_flow_classifier_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 4))
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierVlanTable.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierVlanTable.setDescription('This table specifys which vlan has been binded in the template.')
sw_l2_acl_qos_flow_classifier_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 4, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2ACLQosFlowClassifierVlanTemplateId'), (0, 'SWL2MGMT-MIB', 'swL2ACLQosFlowClassifierVlanVlanName'))
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierVlanEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierVlanEntry.setDescription('A list of information which vlan has been binded in the template.')
sw_l2_acl_qos_flow_classifier_vlan_template_id = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierVlanTemplateId.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierVlanTemplateId.setDescription('The index of template ID.')
sw_l2_acl_qos_flow_classifier_vlan_vlan_name = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierVlanVlanName.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierVlanVlanName.setDescription('The existence of VLAN name.')
sw_l2_acl_qos_flow_classifier_vlan_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 4, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('attached', 2), ('detached', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierVlanState.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFlowClassifierVlanState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. attached(2) - this entry is reside in the table. detached(3) - writing this value to the object, and then the corresponding entry will be removed from the table.')
sw_l2_acl_qos_template_rule_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5))
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleTable.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleTable.setDescription('This table specifys the template-depend rules.')
sw_l2_acl_qos_template_rule_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2ACLQosTemplateRuleTemplateId'), (0, 'SWL2MGMT-MIB', 'swL2ACLQosTemplateRuleIndex'))
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleEntry.setDescription('A list of information specifies the template-depend rules.')
sw_l2_acl_qos_template_rule_template_id = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleTemplateId.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleTemplateId.setDescription('The index of template ID.')
sw_l2_acl_qos_template_rule_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleIndex.setDescription('The index of template rule.')
sw_l2_acl_qos_template_rule_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('security', 2), ('qos', 3), ('l4-switch', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleMode.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleMode.setDescription('This object indicates the rule type of the entry.')
sw_l2_acl_qos_template_rule_security_src_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 4), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleSecuritySrcIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleSecuritySrcIp.setDescription('This object indicates the source IP of flow template. If the swL2ACLQosTemplateRuleMode is not security(2), then this object will be display 0.0.0.0.')
sw_l2_acl_qos_template_rule_qos_flavor = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('flavor-8021p', 1), ('flavor-dscp', 2), ('flavor-ip', 3), ('flavor-tcp', 4), ('flavor-udp', 5), ('flavor-un-used', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleQosFlavor.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleQosFlavor.setDescription('This object indicates the rule type of the QOS mode. If the swL2ACLQosTemplateRuleMode is not qos(3), then this object must be flavor-un-used(6).')
sw_l2_acl_qos_template_rule_qos_value = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 6), octet_string().subtype(subtypeSpec=constraints_union(value_size_constraint(0, 0), value_size_constraint(1, 1), value_size_constraint(2, 2), value_size_constraint(4, 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleQosValue.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleQosValue.setDescription('This object must match with swL2ACLQosTemplateRuleQosFlavor. If the type is flavor-8021p(1), the range of this object is 0~7. If the type is flavor-dscp(2), the range of this object is 0~63. If the type is flavor-tcp(4) or flavor-udp(5), the range of this object is 1~65535. If the swL2ACLQosTemplateRuleMode is not qos(3), then this object must be NULL.')
sw_l2_acl_qos_template_rule_qos_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleQosPriority.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleQosPriority.setDescription('This object indicates the priority of ingress packets in QOS mode. If the swL2ACLQosTemplateRuleMode is not qos(3), then this object must be 0.')
sw_l2_acl_qos_template_rule_qos_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleQosDscp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleQosDscp.setDescription('This object indicates the Dscp of ingress packets in QOS mode. If the swL2ACLQosTemplateRuleMode is not qos(3), then this object must be 0.')
sw_l2_acl_qos_template_rule_l4_switch_session_type = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('tcp', 1), ('udp', 2), ('other', 3), ('un-used', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionType.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionType.setDescription('This object indicates the rule type of the TCP-Session in L4-Switch mode. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be un-used(4).')
sw_l2_acl_qos_template_rule_l4_switch_session_tcp_dst_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 10), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPDstIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPDstIp.setDescription('This object indicates the destination ipaddress in the configured L4 TCP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
sw_l2_acl_qos_template_rule_l4_switch_session_tcp_src_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 11), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcIp.setDescription('This object indicates the source ipaddress in the configured L4 TCP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
sw_l2_acl_qos_template_rule_l4_switch_session_tcp_tos = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(0, 1))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPTos.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPTos.setDescription('This object indicates the type of service in the configured L4 TCP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
sw_l2_acl_qos_template_rule_l4_switch_session_tcp_dst_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPDstPort.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPDstPort.setDescription('This object indicates the destination TCP port number in the configured L4 TCP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.')
sw_l2_acl_qos_template_rule_l4_switch_session_tcp_src_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcPort.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcPort.setDescription('This object indicates the source TCP port number in the configured L4 TCP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.')
sw_l2_acl_qos_template_rule_l4_switch_session_tcp_flags = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('fin', 1), ('syn', 2), ('rst', 3), ('psh', 4), ('ack', 5), ('urg', 6), ('un-used', 7)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPFlags.setStatus('deprecated')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPFlags.setDescription('This object indicates the TCP flags in the configured L4 TCP- session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be un-used(7). This object is deprecated because it just can let user to choose one of these items.')
sw_l2_acl_qos_template_rule_l4_switch_session_udp_dst_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 16), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionUDPDstIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionUDPDstIp.setDescription('This object indicates the destination ipaddress in the configured L4 UDP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
sw_l2_acl_qos_template_rule_l4_switch_session_udp_src_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 17), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcIp.setDescription('This object indicates the soruce ipaddress in the configured L4 UDP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
sw_l2_acl_qos_template_rule_l4_switch_session_udp_tos = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 18), octet_string().subtype(subtypeSpec=value_size_constraint(0, 1))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionUDPTos.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionUDPTos.setDescription('This object indicates the type of service in the configured L4 UDP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
sw_l2_acl_qos_template_rule_l4_switch_session_udp_dst_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionUDPDstPort.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionUDPDstPort.setDescription('This object indicates the destination UDP port number in the configured L4 UDP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.')
sw_l2_acl_qos_template_rule_l4_switch_session_udp_src_port = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcPort.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcPort.setDescription('This object indicates the source UDP port number in the configured L4 UDP-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.')
sw_l2_acl_qos_template_rule_l4_switch_session_other_dst_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 21), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherDstIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherDstIp.setDescription('This object indicates the destination ipaddress in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
sw_l2_acl_qos_template_rule_l4_switch_session_other_src_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 22), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherSrcIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherSrcIp.setDescription('This object indicates the source ipaddress in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be 0.0.0.0.')
sw_l2_acl_qos_template_rule_l4_switch_session_other_tos = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 23), octet_string().subtype(subtypeSpec=value_size_constraint(0, 1))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherTos.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherTos.setDescription('This object indicates the type of service in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
sw_l2_acl_qos_template_rule_l4_switch_session_other_l4_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('icmp', 1), ('igmp', 2), ('un-used', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherL4Protocol.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherL4Protocol.setDescription('This object indicates the l4_protocol in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be un-used(3).')
sw_l2_acl_qos_template_rule_l4_switch_session_other_icmp_type = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 25), octet_string().subtype(subtypeSpec=value_size_constraint(0, 1))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPType.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPType.setDescription('This object indicates the type of ICMP message in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
sw_l2_acl_qos_template_rule_l4_switch_session_other_icmp_code = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 26), octet_string().subtype(subtypeSpec=value_size_constraint(0, 1))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPCode.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPCode.setDescription('This object indicates the code of ICMP message in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
sw_l2_acl_qos_template_rule_l4_switch_session_other_igmp_type = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('query', 1), ('response-version-1', 2), ('response-version-2', 3), ('response-version-all', 4), ('un-used', 5)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherIGMPType.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionOtherIGMPType.setDescription('This object indicates the IGMP type in the configured L4 OTHER-session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be un-used(5). If the object be set to response-version-all(4), it means to create two entries with response-version-1(2) and response-version-2(3).')
sw_l2_acl_qos_template_rule_l4_switch_action_type = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('drop', 1), ('forward', 2), ('redirect', 3), ('un-used', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionType.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionType.setDescription('This object indicates the action when a packet matches an entry of l4_switch mode. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be un-used(4).')
sw_l2_acl_qos_template_rule_l4_switch_action_forward_priority_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('true', 2), ('false', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState.setDescription('This object decide to sending the packet to one of 8 hardware priority queues or not.')
sw_l2_acl_qos_template_rule_l4_switch_action_forward_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 30), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionForwardPriority.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionForwardPriority.setDescription('This object indicates the priority related to one of 8 hardware priority queues. If the swL2ACLQosTemplateRuleMode is not l4-switch(4) or the swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState is not true(2), this object must be 0.')
sw_l2_acl_qos_template_rule_l4_switch_action_forward_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 31), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionForwardDscp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionForwardDscp.setDescription('If the swL2ACLQosTemplateRuleMode is not l4-switch(4) or the swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState is not true(2),, this object must be 0.')
sw_l2_acl_qos_template_rule_l4_switch_action_redirect_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 32), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionRedirectIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionRedirectIp.setDescription('This object indicates the redirected IP address that when a packet matches an entry of l4_switch mode. If the swL2ACLQosTemplateRuleL4SwitchActionType is not redirect(3), this object must be 0.0.0.0.')
sw_l2_acl_qos_template_rule_l4_switch_action_redirect_drop_unreachable = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('true', 2), ('false', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionRedirectDropUnreachable.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchActionRedirectDropUnreachable.setDescription('This object indicates the action of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. false(2) - routing unreachable packet by using L2/IPv4 router forwarding table. true(3) - dropping unreachable packet')
sw_l2_acl_qos_template_rule_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 34), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('invalid', 2), ('valid', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleState.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - writing this value to the object, and then the corresponding entry will be removed from the table. valid(3) - this entry is reside in the table.')
sw_l2_acl_qos_template_rule_l4_switch_session_tcp_flags_all = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 35), bits().clone(namedValues=named_values(('fin', 0), ('syn', 1), ('rst', 2), ('psh', 3), ('ack', 4), ('urg', 5)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPFlagsAll.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleL4SwitchSessionTCPFlagsAll.setDescription('This object indicates the TCP flags in the configured L4 TCP- session rule entries. If the swL2ACLQosTemplateRuleMode is not l4-switch(4), then this object must be zero.')
sw_l2_acl_qos_template_rule_security_dst_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 5, 1, 36), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleSecurityDstIp.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosTemplateRuleSecurityDstIp.setDescription('This object indicates the destination IP of flow template. If the swL2ACLQosTemplateRuleMode is not security(2), then this object will be display 0.0.0.0.')
sw_l2_acl_qos_destination_ip_filter_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 6))
if mibBuilder.loadTexts:
swL2ACLQosDestinationIpFilterTable.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosDestinationIpFilterTable.setDescription('This table defines information for the device to filter packets with specific Destination IP address. The IP address can be a unicast address or multicast address. This table has higher priority than both static FDB table and IGMP table. It means that if a IP address appears on this table also appears on the static FDB table, the device will use the information provide by this table to process the packet.')
sw_l2_acl_qos_destination_ip_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 6, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2ACLQosDestinationIpFilterIpAddr'))
if mibBuilder.loadTexts:
swL2ACLQosDestinationIpFilterEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosDestinationIpFilterEntry.setDescription('A list of information about a specific unicast/multicast IP address for which the switch has filtering information.')
sw_l2_acl_qos_destination_ip_filter_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosDestinationIpFilterIndex.setStatus('obsolete')
if mibBuilder.loadTexts:
swL2ACLQosDestinationIpFilterIndex.setDescription('The index of this rule.')
sw_l2_acl_qos_destination_ip_filter_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 6, 1, 2), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosDestinationIpFilterIpAddr.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosDestinationIpFilterIpAddr.setDescription('This object indicates a unicast IP address for which the switch has filtering information.')
sw_l2_acl_qos_destination_ip_filter_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('invalid', 2), ('valid', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosDestinationIpFilterState.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosDestinationIpFilterState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - writing this value to the object, and then the corresponding entry will be removed from the table. valid(3) - this entry is reside in the table.')
sw_l2_acl_qos_fdb_filter_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7))
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterTable.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterTable.setDescription('This table defines information for the device to filter packets with specific MAC address (either as the DA and/or as the SA). The MAC address can be a unicast address or a multicast address. This table has higher priority than both static FDB table and IGMP table. It means that if a MAC address appears on this table also appears on the static FDB table, the device will use the information provide by this table to process the packet.')
sw_l2_acl_qos_fdb_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2ACLQosFDBFilterVlanName'), (0, 'SWL2MGMT-MIB', 'swL2ACLQosFDBFilterMacAddress'))
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterEntry.setDescription('A list of information about a specific unicast/multicast MAC address for which the switch has filtering information.')
sw_l2_acl_qos_fdb_filter_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterIndex.setStatus('obsolete')
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterIndex.setDescription('The index of this rule.')
sw_l2_acl_qos_fdb_filter_vlan_name = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterVlanName.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterVlanName.setDescription('The existence of VALN name.')
sw_l2_acl_qos_fdb_filter_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7, 1, 3), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterMacAddress.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterMacAddress.setDescription('This object will filter on destination MAC address operates on bridged packets, but not on routed packets. And It will filter on source MAC operates on all packets.')
sw_l2_acl_qos_fdb_filter_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 7, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('invalid', 2), ('valid', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterState.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosFDBFilterState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - writing this value to the object, and then the corresponding entry will be removed from the table. valid(3) - this entry is reside in the table.')
sw_l2_acl_qos_ip_fragment_filter_drop_pkts = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosIpFragmentFilterDropPkts.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosIpFragmentFilterDropPkts.setDescription('This object decide to drop fragmented IP packets or not.')
sw_l2_acl_qos_scheduling_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 9))
if mibBuilder.loadTexts:
swL2ACLQosSchedulingTable.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosSchedulingTable.setDescription('The switch contains 4 hardware priority queues. Incoming packets must be mapped to one of these four queues. Each hardware queue will transmit all of the packets in its buffer before allowing the next lower priority queue to transmit its packets. When the lowest hardware priority queue has finished transmitting all of its packets, the highest hardware priority queue can again transmit any packets it may have received.')
sw_l2_acl_qos_scheduling_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 9, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2ACLQosSchedulingPortIndex'), (0, 'SWL2MGMT-MIB', 'swL2ACLQosSchedulingClassId'))
if mibBuilder.loadTexts:
swL2ACLQosSchedulingEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosSchedulingEntry.setDescription('A list of information specifies the Qos output scheduling Table.')
sw_l2_acl_qos_scheduling_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 9, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosSchedulingPortIndex.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosSchedulingPortIndex.setDescription('The index of logical port.')
sw_l2_acl_qos_scheduling_class_id = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 9, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosSchedulingClassId.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosSchedulingClassId.setDescription('This specifies which of the four hardware priority queues. The four hardware priority queues are identified by number, from 0 to 3, with the 0 queue being the lowest priority.')
sw_l2_acl_qos_scheduling_wrr_value = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 9, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosSchedulingWRRValue.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosSchedulingWRRValue.setDescription('Specifies the weighted round robin (WRR) the above specified hardware priority queue will be allowed to transmit before allowing the next lowest priority queue to transmit its packets.')
sw_l2_acl_qos_mac_priority_table = mib_table((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10))
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityTable.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityTable.setDescription('This table indicates the destination mac priority in flow classifier.')
sw_l2_acl_qos_mac_priority_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1)).setIndexNames((0, 'SWL2MGMT-MIB', 'swL2ACLQosMacPriorityVlanName'), (0, 'SWL2MGMT-MIB', 'swL2ACLQosMacPriorityDstMacAddress'))
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityEntry.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityEntry.setDescription('A list of information specifies the destination mac priority in flow classifier.')
sw_l2_acl_qos_mac_priority_index = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityIndex.setStatus('obsolete')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityIndex.setDescription('The index of this rule.')
sw_l2_acl_qos_mac_priority_vlan_name = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityVlanName.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityVlanName.setDescription('The existence VLAN name.')
sw_l2_acl_qos_mac_priority_dst_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1, 3), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityDstMacAddress.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityDstMacAddress.setDescription('This object will filter on destination MAC address operates on bridged packets, but not on routed packets. And It will filter on source MAC operates on all packets.')
sw_l2_acl_qos_mac_priority_priority_value = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityPriorityValue.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityPriorityValue.setDescription('This object indicates the priority related to one of 8 hardware priority queues.')
sw_l2_acl_qos_mac_priority_state = mib_table_column((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 16, 10, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('invalid', 2), ('valid', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityState.setStatus('current')
if mibBuilder.loadTexts:
swL2ACLQosMacPriorityState.setDescription('This object indicates the status of this entry. other(1) - this entry is currently in use but the conditions under which it will remain so are different from each of the following values. invalid(2) - writing this value to the object, and then the corresponding entry will be removed from the table. valid(3) - this entry is reside in the table.')
sw_l2_mgmt_port_current_link_status = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('link-pass', 2), ('link-fail', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2MgmtPortCurrentLinkStatus.setStatus('current')
if mibBuilder.loadTexts:
swL2MgmtPortCurrentLinkStatus.setDescription('This object indicates the current management port link status.')
sw_l2_mgmt_port_current_nway_status = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('half-10Mbps', 2), ('full-10Mbps', 3), ('half-100Mbps', 4), ('full-100Mbps', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
swL2MgmtPortCurrentNwayStatus.setStatus('current')
if mibBuilder.loadTexts:
swL2MgmtPortCurrentNwayStatus.setDescription('This object indicates the current management port speed and duplex mode.')
sw_l2_mgmt_port_admin_state = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2MgmtPortAdminState.setStatus('current')
if mibBuilder.loadTexts:
swL2MgmtPortAdminState.setDescription('This object decide the management port enabled or disabled.')
sw_l2_mgmt_port_nway_state = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('nway-enabled', 2), ('nway-disabled-10Mbps-Half', 3), ('nway-disabled-10Mbps-Full', 4), ('nway-disabled-100Mbps-Half', 5), ('nway-disabled-100Mbps-Full', 6)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2MgmtPortNwayState.setStatus('current')
if mibBuilder.loadTexts:
swL2MgmtPortNwayState.setDescription('Chose the management port speed, duplex mode, and N-Way function mode.')
sw_l2_mgmt_port_flow_ctrl_state = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2MgmtPortFlowCtrlState.setStatus('current')
if mibBuilder.loadTexts:
swL2MgmtPortFlowCtrlState.setDescription('The flow control mechanism is different between full duplex mode and half duplex mode. For half duplex mode, the jamming signal is asserted. For full duplex mode, IEEE 802.3x flow control function sends PAUSE frames and receives PAUSE frames.')
sw_l2_mgmt_port_link_up_down_trap_enable = mib_scalar((1, 3, 6, 1, 4, 1, 2272, 1, 201, 1, 2, 17, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
swL2MgmtPortLinkUpDownTrapEnable.setStatus('current')
if mibBuilder.loadTexts:
swL2MgmtPortLinkUpDownTrapEnable.setDescription('Indicates whether linkUp/linkDown traps should be generated for the management port. By default, this object should have the value enabled(3).')
mibBuilder.exportSymbols('SWL2MGMT-MIB', swL2TrafficCtrlBMStormthreshold=swL2TrafficCtrlBMStormthreshold, swL2ACLQosFlowClassifierL4SwitchUDPDstIp=swL2ACLQosFlowClassifierL4SwitchUDPDstIp, swL2IGMPGroupTable=swL2IGMPGroupTable, swL2ACLQosTemplateRuleQosPriority=swL2ACLQosTemplateRuleQosPriority, swL2IGMPPortMap=swL2IGMPPortMap, swL2ACLQosFlowClassifierActiveRuleNumber=swL2ACLQosFlowClassifierActiveRuleNumber, swL2ACLQosIpFragmentFilterDropPkts=swL2ACLQosIpFragmentFilterDropPkts, swL2IGMPQueryInterval=swL2IGMPQueryInterval, swL2ACLQosFlowClassifierL4SwitchTCPSrcPort=swL2ACLQosFlowClassifierL4SwitchTCPSrcPort, swL2DevCtrlUpDownloadState=swL2DevCtrlUpDownloadState, swL2DevCtrlSaveCfg=swL2DevCtrlSaveCfg, swL2QosPriorityValue=swL2QosPriorityValue, swL2IGMPMgmt=swL2IGMPMgmt, swL2IGMPQueryInfoEntry=swL2IGMPQueryInfoEntry, swL2ACLQosFlowClassifierL4SwitchUDPDstPort=swL2ACLQosFlowClassifierL4SwitchUDPDstPort, swL2ACLQosMacPriorityEntry=swL2ACLQosMacPriorityEntry, swL2IGMPRPStaticRouterPort=swL2IGMPRPStaticRouterPort, swL2DevCtrlUpDownloadImageSourceAddr=swL2DevCtrlUpDownloadImageSourceAddr, swL2StaticVlanUserPriority=swL2StaticVlanUserPriority, swL2IGMPPortMember=swL2IGMPPortMember, swL2DevCtrlRmonState=swL2DevCtrlRmonState, swL2TrunkIndex=swL2TrunkIndex, swL2IGMPMaxResponseTime=swL2IGMPMaxResponseTime, swL2ACLQosFlowClassifierVlanState=swL2ACLQosFlowClassifierVlanState, swL2TrafficCtrlUnitIndex=swL2TrafficCtrlUnitIndex, swL2StormCtrlPortIndex=swL2StormCtrlPortIndex, swL2DevCtrlUpDownloadImageFileName=swL2DevCtrlUpDownloadImageFileName, swL2PortUtilPortIndex=swL2PortUtilPortIndex, swL2IGMPCurrentState=swL2IGMPCurrentState, swL2DevInfo=swL2DevInfo, swL2CpuRateLimitEntry=swL2CpuRateLimitEntry, swL2MgmtPortLinkUpDownTrapEnable=swL2MgmtPortLinkUpDownTrapEnable, swL2PortCtrlPortIndex=swL2PortCtrlPortIndex, swL2StaticVlanUntaggedPorts=swL2StaticVlanUntaggedPorts, swL2DevMgmt=swL2DevMgmt, swL2StaticVlanTable=swL2StaticVlanTable, swL2StaticVlanIndex=swL2StaticVlanIndex, swL2IGMPForwardGroupIpAddr=swL2IGMPForwardGroupIpAddr, swL2VlanPortIndex=swL2VlanPortIndex, swL2ACLQosFlowClassifierL4SwitchOtherICMPMessage=swL2ACLQosFlowClassifierL4SwitchOtherICMPMessage, swL2UnitMgmt=swL2UnitMgmt, swL2ACLQosTemplateRuleL4SwitchActionRedirectDropUnreachable=swL2ACLQosTemplateRuleL4SwitchActionRedirectDropUnreachable, swL2ACLQosTemplateRuleL4SwitchSessionOtherL4Protocol=swL2ACLQosTemplateRuleL4SwitchSessionOtherL4Protocol, swL2DevAlarmLinkChange=swL2DevAlarmLinkChange, swL2ACLQosFlowClassifierL4SwitchUDPTos=swL2ACLQosFlowClassifierL4SwitchUDPTos, swL2ACLQosMacPriorityVlanName=swL2ACLQosMacPriorityVlanName, swL2MgmtPortFlowCtrlState=swL2MgmtPortFlowCtrlState, swL2ACLQosFlowClassifierVlanVlanName=swL2ACLQosFlowClassifierVlanVlanName, swL2ACLQosFDBFilterIndex=swL2ACLQosFDBFilterIndex, swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState=swL2ACLQosTemplateRuleL4SwitchActionForwardPriorityState, swL2PortCtrlUnitIndex=swL2PortCtrlUnitIndex, swL2ACLQosDestinationIpFilterEntry=swL2ACLQosDestinationIpFilterEntry, swL2IGMPInfoVid=swL2IGMPInfoVid, swL2ACLQosMacPriorityDstMacAddress=swL2ACLQosMacPriorityDstMacAddress, swL2ACLQosFlowClassifierSecuritySrcMask=swL2ACLQosFlowClassifierSecuritySrcMask, swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcPort=swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcPort, PortList=PortList, swL2IGMPVid=swL2IGMPVid, swL2StaticVlanEntry=swL2StaticVlanEntry, swL2QosPriorityReplaceDscp=swL2QosPriorityReplaceDscp, swL2TrunkAlgorithm=swL2TrunkAlgorithm, swL2IGMPMaxSupportedVlans=swL2IGMPMaxSupportedVlans, swL2DevCtrlUpDownloadImage=swL2DevCtrlUpDownloadImage, swL2PortUtilTxSec=swL2PortUtilTxSec, swL2DevAlarmNewRoot=swL2DevAlarmNewRoot, swL2ACLQosTemplateRuleL4SwitchSessionTCPDstPort=swL2ACLQosTemplateRuleL4SwitchSessionTCPDstPort, swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPCode=swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPCode, swL2PortCtrlEntry=swL2PortCtrlEntry, swL2IGMPForwardEntry=swL2IGMPForwardEntry, swL2StormCtrlDlfThreshold=swL2StormCtrlDlfThreshold, swL2ACLQosDestinationIpFilterIpAddr=swL2ACLQosDestinationIpFilterIpAddr, swL2QosMgmt=swL2QosMgmt, swL2MirrorMgmt=swL2MirrorMgmt, swL2IGMPRobustness=swL2IGMPRobustness, swL2IGMPMacAddr=swL2IGMPMacAddr, swL2TrunkName=swL2TrunkName, swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcPort=swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcPort, swL2TrafficCtrlBcastStormCtrl=swL2TrafficCtrlBcastStormCtrl, swL2FilterAddrMacIndex=swL2FilterAddrMacIndex, swL2StaticVlanIpSubnetArpClassId=swL2StaticVlanIpSubnetArpClassId, swL2ACLQosTemplateRuleL4SwitchSessionUDPTos=swL2ACLQosTemplateRuleL4SwitchSessionUDPTos, swL2ACLQosTemplateRuleL4SwitchActionType=swL2ACLQosTemplateRuleL4SwitchActionType, swL2IGMPGroupPortEntry=swL2IGMPGroupPortEntry, swL2PortCtrlAdminState=swL2PortCtrlAdminState, swL2TrafficCtrlTable=swL2TrafficCtrlTable, swL2MgmtPortCurrentLinkStatus=swL2MgmtPortCurrentLinkStatus, swDevInfoTotalNumOfPort=swDevInfoTotalNumOfPort, swL2ACLQosFDBFilterVlanName=swL2ACLQosFDBFilterVlanName, swL2ACLQosTemplateRuleMode=swL2ACLQosTemplateRuleMode, swL2PortInfoNwayStatus=swL2PortInfoNwayStatus, swL2IGMPGroupEntry=swL2IGMPGroupEntry, swL2StormCtrlTable=swL2StormCtrlTable, swL2IGMPForwardVid=swL2IGMPForwardVid, swL2TrunkMember=swL2TrunkMember, swL2ACLQosFlowClassifierVlanEntry=swL2ACLQosFlowClassifierVlanEntry, swL2QosPriorityPriorityState=swL2QosPriorityPriorityState, swL2CpuUtilization=swL2CpuUtilization, swL2ACLQosTemplateRuleL4SwitchSessionTCPDstIp=swL2ACLQosTemplateRuleL4SwitchSessionTCPDstIp, swL2IGMPRPDynamicRouterPort=swL2IGMPRPDynamicRouterPort, swL2ACLQosTemplateRuleL4SwitchActionForwardPriority=swL2ACLQosTemplateRuleL4SwitchActionForwardPriority, swL2IGMPMulticastFilter=swL2IGMPMulticastFilter, swL2ACLQosTemplateRuleL4SwitchSessionOtherIGMPType=swL2ACLQosTemplateRuleL4SwitchSessionOtherIGMPType, swL2ACLQosFlowClassifierEntry=swL2ACLQosFlowClassifierEntry, swL2ACLQosFlowClassifierQosFlavor=swL2ACLQosFlowClassifierQosFlavor, swL2ACLQosMacPriorityIndex=swL2ACLQosMacPriorityIndex, swL2MirrorPortState=swL2MirrorPortState, swL2StaticVlanType=swL2StaticVlanType, swL2TrafficCtrlEntry=swL2TrafficCtrlEntry, swL2IGMPQueryInfoTable=swL2IGMPQueryInfoTable, swL2TrunkMaxSupportedEntries=swL2TrunkMaxSupportedEntries, swL2DevCtrlStpForwardBPDU=swL2DevCtrlStpForwardBPDU, swL2IGMPInfoTxQueryCount=swL2IGMPInfoTxQueryCount, swL2ACLQosMgmt=swL2ACLQosMgmt, swL2PortInfoPortIndex=swL2PortInfoPortIndex, swL2PortCtrlTable=swL2PortCtrlTable, managementPortLinkDown=managementPortLinkDown, swL2ACLQosTemplateRuleL4SwitchSessionOtherTos=swL2ACLQosTemplateRuleL4SwitchSessionOtherTos, swL2TrunkCtrlTable=swL2TrunkCtrlTable, swL2ACLQosTemplateRuleEntry=swL2ACLQosTemplateRuleEntry, swL2ACLQosTemplateRuleTemplateId=swL2ACLQosTemplateRuleTemplateId, swL2ACLQosFDBFilterTable=swL2ACLQosFDBFilterTable, swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcIp=swL2ACLQosTemplateRuleL4SwitchSessionUDPSrcIp, swL2ACLQosTemplateRuleL4SwitchSessionOtherDstIp=swL2ACLQosTemplateRuleL4SwitchSessionOtherDstIp, swL2MgmtPortAdminState=swL2MgmtPortAdminState, swL2IGMPCtrlEntry=swL2IGMPCtrlEntry, swDevInfoSystemUpTime=swDevInfoSystemUpTime, swL2StaticVlanEncap=swL2StaticVlanEncap, swL2QosSchedulingClassId=swL2QosSchedulingClassId, swL2TrafficCtrlMcastStormCtrl=swL2TrafficCtrlMcastStormCtrl, swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPType=swL2ACLQosTemplateRuleL4SwitchSessionOtherICMPType, swL2ACLQosTemplateRuleState=swL2ACLQosTemplateRuleState, swL2ACLQosDestinationIpFilterIndex=swL2ACLQosDestinationIpFilterIndex, swL2ACLQosTemplateRuleSecuritySrcIp=swL2ACLQosTemplateRuleSecuritySrcIp, swL2TrunkCurrentNumEntries=swL2TrunkCurrentNumEntries, swL2IGMPInfoQueryCount=swL2IGMPInfoQueryCount, swL2IGMPIpGroupReportCount=swL2IGMPIpGroupReportCount, swL2VlanMgmt=swL2VlanMgmt, swL2StaticVlanUserDefinedPid=swL2StaticVlanUserDefinedPid, swL2ACLQosTemplateRuleQosDscp=swL2ACLQosTemplateRuleQosDscp, swL2ACLQosFlowClassifierL4SwitchOtherIGMPType=swL2ACLQosFlowClassifierL4SwitchOtherIGMPType, swL2MirrorLogicTargetPort=swL2MirrorLogicTargetPort, swL2QosPriorityReplaceDscpState=swL2QosPriorityReplaceDscpState, swL2ACLQosFlowClassifierL4SwitchOtherSrcIp=swL2ACLQosFlowClassifierL4SwitchOtherSrcIp, swL2ACLQosTemplateRuleL4SwitchActionRedirectIp=swL2ACLQosTemplateRuleL4SwitchActionRedirectIp, swL2TrunkMasterPort=swL2TrunkMasterPort, swDevInfoNumOfPortInUse=swDevInfoNumOfPortInUse, swL2QosPriorityPriority=swL2QosPriorityPriority, swL2StaticVlanName=swL2StaticVlanName, swL2PortUtilRxSec=swL2PortUtilRxSec, swL2PortMgmt=swL2PortMgmt, swL2DevAlarm=swL2DevAlarm, swL2PortInfoEntry=swL2PortInfoEntry, swL2ACLQosTemplateRuleQosFlavor=swL2ACLQosTemplateRuleQosFlavor, swL2StaticVlanIpSubnetMask=swL2StaticVlanIpSubnetMask, swL2VlanPortEntry=swL2VlanPortEntry, swL2ACLQosFlowClassifierL4SwitchTCPDstPort=swL2ACLQosFlowClassifierL4SwitchTCPDstPort, swL2MgmtMIB=swL2MgmtMIB, swL2StormCtrlEntry=swL2StormCtrlEntry, swL2ACLQosFlowClassifierL4SwitchTCPFlags=swL2ACLQosFlowClassifierL4SwitchTCPFlags, swL2PortInfoTable=swL2PortInfoTable, swL2FilterAddrMaxSupportedEntries=swL2FilterAddrMaxSupportedEntries, swL2ACLQosDestinationIpFilterState=swL2ACLQosDestinationIpFilterState, swL2TrunkMgmt=swL2TrunkMgmt, swL2ACLQosDestinationIpFilterTable=swL2ACLQosDestinationIpFilterTable, swL2ACLQosTemplateRuleL4SwitchSessionTCPFlags=swL2ACLQosTemplateRuleL4SwitchSessionTCPFlags, swL2DevCtrlStpState=swL2DevCtrlStpState, swL2MirrorPortSourceIngress=swL2MirrorPortSourceIngress, swL2DevCtrlCleanAllStatisticCounter=swL2DevCtrlCleanAllStatisticCounter, swL2TrunkState=swL2TrunkState, swDevInfoConsoleInUse=swDevInfoConsoleInUse, swL2PortCtrlFlowCtrlState=swL2PortCtrlFlowCtrlState, swL2MirrorPortSourceEgress=swL2MirrorPortSourceEgress, swL2IGMPRPVid=swL2IGMPRPVid, swL2QosPriorityTable=swL2QosPriorityTable, swL2ACLQosTemplateRuleL4SwitchSessionOtherSrcIp=swL2ACLQosTemplateRuleL4SwitchSessionOtherSrcIp, swL2ACLQosFlowClassifierL4SwitchTCPSrcIp=swL2ACLQosFlowClassifierL4SwitchTCPSrcIp, swL2ACLQosFlowClassifierL4SwitchOtherTos=swL2ACLQosFlowClassifierL4SwitchOtherTos, swL2PortCtrlNwayState=swL2PortCtrlNwayState, swL2StormCtrlBMStormThreshold=swL2StormCtrlBMStormThreshold, swL2QosSchedulingTable=swL2QosSchedulingTable, swL2ACLQosTemplateRuleQosValue=swL2ACLQosTemplateRuleQosValue, swL2PortUtilUtilization=swL2PortUtilUtilization, swL2IGMPCtrlVid=swL2IGMPCtrlVid, swL2PortUtilEntry=swL2PortUtilEntry, swL2IGMPForwardTable=swL2IGMPForwardTable, swL2MgmtMIBTraps=swL2MgmtMIBTraps, swL2TrafficMgmt=swL2TrafficMgmt, swL2ACLQosTemplateRuleL4SwitchSessionTCPFlagsAll=swL2ACLQosTemplateRuleL4SwitchSessionTCPFlagsAll, swL2ACLQosSchedulingWRRValue=swL2ACLQosSchedulingWRRValue, swL2StaticVlanIpSubnetAddr=swL2StaticVlanIpSubnetAddr, swL2IGMPRPTable=swL2IGMPRPTable, swL2IGMPRPEntry=swL2IGMPRPEntry, swL2ModuleMgmt=swL2ModuleMgmt, swL2QosSchedulingMaxPkts=swL2QosSchedulingMaxPkts, swL2FilterAddrState=swL2FilterAddrState, swL2ACLQosMacPriorityPriorityValue=swL2ACLQosMacPriorityPriorityValue, swL2UnitCtrl=swL2UnitCtrl, VlanIndex=VlanIndex, swL2ACLQosFlowClassifierCurrentMode=swL2ACLQosFlowClassifierCurrentMode, swL2ACLQosSchedulingTable=swL2ACLQosSchedulingTable, swL2MgmtPortMgmt=swL2MgmtPortMgmt, swL2MgmtPortNwayState=swL2MgmtPortNwayState, swL2IGMPRouteTimeout=swL2IGMPRouteTimeout, swL2StormCtrlMgmt=swL2StormCtrlMgmt, swL2ACLQosMacPriorityTable=swL2ACLQosMacPriorityTable, swL2PortInfoLinkStatus=swL2PortInfoLinkStatus, swL2QosPriorityState=swL2QosPriorityState, swL2PortInfoType=swL2PortInfoType, swL2ACLQosTemplateRuleL4SwitchActionForwardDscp=swL2ACLQosTemplateRuleL4SwitchActionForwardDscp, swL2ACLQosFlowClassifierL4SwitchUDPSrcPort=swL2ACLQosFlowClassifierL4SwitchUDPSrcPort, swL2ACLQosSchedulingEntry=swL2ACLQosSchedulingEntry, swL2ACLQosFlowClassifierL4SwitchTCPDstIp=swL2ACLQosFlowClassifierL4SwitchTCPDstIp, swL2ACLQosTemplateRuleIndex=swL2ACLQosTemplateRuleIndex, swDevInfoFrontPanelLedStatus=swDevInfoFrontPanelLedStatus, swDevInfoSaveCfg=swDevInfoSaveCfg, swL2DevAlarmTopologyChange=swL2DevAlarmTopologyChange, swL2TrunkFloodingPort=swL2TrunkFloodingPort, swL2IGMPHostTimeout=swL2IGMPHostTimeout, swL2IGMPCtrlState=swL2IGMPCtrlState, swL2IGMPMulticastRouterOnly=swL2IGMPMulticastRouterOnly, swL2ACLQosFlowClassifierL4SwitchOtherDstIp=swL2ACLQosFlowClassifierL4SwitchOtherDstIp, swL2ACLQosFlowClassifierVlanTable=swL2ACLQosFlowClassifierVlanTable, swL2QosSchedulingMaxLatency=swL2QosSchedulingMaxLatency, swL2QosPriorityEntry=swL2QosPriorityEntry, swL2ACLQosTemplateRuleL4SwitchSessionType=swL2ACLQosTemplateRuleL4SwitchSessionType, PYSNMP_MODULE_ID=swL2MgmtMIB, swL2VlanPortTable=swL2VlanPortTable, swL2VlanPortIngressChecking=swL2VlanPortIngressChecking, swL2CpuRateLimitMcastThreshold=swL2CpuRateLimitMcastThreshold, swL2QosPriorityReplacePriority=swL2QosPriorityReplacePriority, swL2StormCtrlMcastStormCtrl=swL2StormCtrlMcastStormCtrl, swL2TrunkCtrlEntry=swL2TrunkCtrlEntry, swL2StaticVlanEgressPorts=swL2StaticVlanEgressPorts, swL2QosPriorityType=swL2QosPriorityType, swL2CpuRateLimitState=swL2CpuRateLimitState, swL2FilterAddrCtrlTable=swL2FilterAddrCtrlTable, swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcIp=swL2ACLQosTemplateRuleL4SwitchSessionTCPSrcIp, swL2CpuRateLimitPortIndex=swL2CpuRateLimitPortIndex, swL2PortInfoUnitIndex=swL2PortInfoUnitIndex, swL2FilterMgmt=swL2FilterMgmt, swL2ACLQosTemplate1Mode=swL2ACLQosTemplate1Mode, swL2IGMPGroupIpAddr=swL2IGMPGroupIpAddr, swL2CpuRateLimitBcastThreshold=swL2CpuRateLimitBcastThreshold, swL2IGMPLeaveTimer=swL2IGMPLeaveTimer, swL2IGMPCtrlTable=swL2IGMPCtrlTable, swL2IGMPQueryState=swL2IGMPQueryState, swL2ACLQosFlowClassifierL4SwitchUDPSrcIp=swL2ACLQosFlowClassifierL4SwitchUDPSrcIp, swL2FilterAddrCtrlEntry=swL2FilterAddrCtrlEntry, swL2QosSchedulingEntry=swL2QosSchedulingEntry, swL2StormCtrlDlfState=swL2StormCtrlDlfState, swL2IGMPMaxIpGroupNumPerVlan=swL2IGMPMaxIpGroupNumPerVlan, swL2CpuRateLimitTable=swL2CpuRateLimitTable, swL2VlanPortPvid=swL2VlanPortPvid, swL2ACLQosTemplateRuleTable=swL2ACLQosTemplateRuleTable)
mibBuilder.exportSymbols('SWL2MGMT-MIB', swL2IGMPPortAgingTime=swL2IGMPPortAgingTime, swL2ACLQosTemplateRuleL4SwitchSessionUDPDstPort=swL2ACLQosTemplateRuleL4SwitchSessionUDPDstPort, swL2ACLQosSchedulingPortIndex=swL2ACLQosSchedulingPortIndex, swL2IGMPForwardPortMap=swL2IGMPForwardPortMap, swL2StaticVlanStatus=swL2StaticVlanStatus, swL2ACLQosTemplateRuleL4SwitchSessionTCPTos=swL2ACLQosTemplateRuleL4SwitchSessionTCPTos, swL2ACLQosFlowClassifierSecurityDstMask=swL2ACLQosFlowClassifierSecurityDstMask, swL2ACLQosFDBFilterEntry=swL2ACLQosFDBFilterEntry, swL2PortUtilTable=swL2PortUtilTable, swL2IGMPLastMemberQueryInterval=swL2IGMPLastMemberQueryInterval, swL2ACLQosSchedulingClassId=swL2ACLQosSchedulingClassId, swL2ACLQosMacPriorityState=swL2ACLQosMacPriorityState, swL2StaticVlanProtocolId=swL2StaticVlanProtocolId, swL2ACLQosFlowClassifierTemplateId=swL2ACLQosFlowClassifierTemplateId, swL2StormCtrlBcastStormCtrl=swL2StormCtrlBcastStormCtrl, swL2TrunkBPDU8600InterState=swL2TrunkBPDU8600InterState, swL2TrafficCtrlGroupIndex=swL2TrafficCtrlGroupIndex, swL2TrafficCtrlDlfStormCtrl=swL2TrafficCtrlDlfStormCtrl, swL2ACLQosFlowClassifierL4SwitchTCPTos=swL2ACLQosFlowClassifierL4SwitchTCPTos, swL2DevCtrlIGMPSnooping=swL2DevCtrlIGMPSnooping, swL2ACLQosTemplate2Mode=swL2ACLQosTemplate2Mode, swL2FilterAddrCurrentTotalEntries=swL2FilterAddrCurrentTotalEntries, swL2ACLQosTemplateRuleSecurityDstIp=swL2ACLQosTemplateRuleSecurityDstIp, swL2FilterAddrConfig=swL2FilterAddrConfig, swL2ACLQosFlowClassifierTable=swL2ACLQosFlowClassifierTable, swL2ACLQosTemplateRuleL4SwitchSessionUDPDstIp=swL2ACLQosTemplateRuleL4SwitchSessionUDPDstIp, swL2DevCtrl=swL2DevCtrl, swL2IGMPGroupPortTable=swL2IGMPGroupPortTable, swL2MgmtPortCurrentNwayStatus=swL2MgmtPortCurrentNwayStatus, swL2ACLQosFlowClassifierL4SwitchOtherL4Protocol=swL2ACLQosFlowClassifierL4SwitchOtherL4Protocol, swL2ACLQosFDBFilterMacAddress=swL2ACLQosFDBFilterMacAddress, swL2PortCtrlAddressLearningState=swL2PortCtrlAddressLearningState, swL2ACLQosFDBFilterState=swL2ACLQosFDBFilterState, swL2ACLQosFlowClassifierVlanTemplateId=swL2ACLQosFlowClassifierVlanTemplateId, managementPortLinkUp=managementPortLinkUp) |
#@title Train TUNIT Epoch
def train_TUNIT(data_loader, networks, opts, epoch, args, additional):
# avg meter
d_losses = AverageMeter()
d_advs = AverageMeter()
d_gps = AverageMeter()
g_losses = AverageMeter()
g_advs = AverageMeter()
g_imgrecs = AverageMeter()
g_styconts = AverageMeter()
c_losses = AverageMeter()
moco_losses = AverageMeter()
iic_losses = AverageMeter()
# set nets
D = networks['D']
G = networks['G']
C = networks['C']
G_EMA = networks['G_EMA']
C_EMA = networks['C_EMA']
# set opts
d_opt = opts['D']
g_opt = opts['G']
c_opt = opts['C']
# switch to train mode
D.train()
G.train()
C.train()
C_EMA.train()
G_EMA.train()
logger = additional['logger']
queue = additional['queue']
step = 0
# summary writer
train_it = iter(data_loader)
#t_train = tqdm.trange(0, args["iters"], initial=0, total=args["iters"])
with tqdm_notebook(total=args["iters"]*args["batch_size"],
unit='Images',
unit_scale=True,
unit_divisor=1,
desc="Samples") as pbar:
for i in range(0, args["iters"]):
try:
imgs = next(train_it)
except:
train_it = iter(data_loader)
imgs = next(train_it)
mapped_batch = map_batch(imgs)
x_org = mapped_batch[0]["result"]
x_tf = mapped_batch[1]["result"]
x_ref_idx = torch.randperm(x_org.size(0))
x_org = x_org.cuda(args["gpu"])
x_tf = x_tf.cuda(args["gpu"])
x_ref_idx = x_ref_idx.cuda(args["gpu"])
x_ref = x_org.clone()
x_ref = x_ref[x_ref_idx]
#################
# BEGIN Train C #
#################
training_mode = 'ONLYCLS'
q_cont = C.moco(x_org)
k_cont = C_EMA.moco(x_tf)
k_cont = k_cont.detach()
q_disc = C.iic(x_org)
k_disc = C.iic(x_tf)
q_disc = F.softmax(q_disc, 1)
k_disc = F.softmax(k_disc, 1)
iic_loss = calc_iic_loss(q_disc, k_disc)
moco_loss = calc_contrastive_loss(q_cont, k_cont, queue)
c_loss = moco_loss + 5.0 * iic_loss
if epoch >= args["separated"]:
c_loss = 0.1 * c_loss
c_opt.zero_grad()
c_loss.backward()
c_opt.step()
###############
# END Train C #
###############
####################
# BEGIN Train GANs #
####################
if epoch >= args["separated"]:
training_mode = 'C2GANs'
with torch.no_grad():
q_disc = C.iic(x_org)
y_org = torch.argmax(q_disc, 1)
y_ref = y_org.clone()
y_ref = y_ref[x_ref_idx]
s_ref = C.moco(x_ref)
c_src = G.cnt_encoder(x_org)
x_fake = G.decode(c_src, s_ref)
x_ref.requires_grad_()
d_real_logit, _ = D(x_ref, y_ref)
d_fake_logit, _ = D(x_fake.detach(), y_ref)
d_adv_real = calc_adv_loss(d_real_logit, 'd_real')
d_adv_fake = calc_adv_loss(d_fake_logit, 'd_fake')
d_adv = d_adv_real + d_adv_fake
d_gp = args["w_gp"] * compute_grad_gp(d_real_logit, x_ref, is_patch=False)
d_loss = d_adv + d_gp
d_opt.zero_grad()
d_adv_real.backward(retain_graph=True)
d_gp.backward()
d_adv_fake.backward()
d_opt.step()
# Train G
s_src = C.moco(x_org)
s_ref = C.moco(x_ref)
c_src = G.cnt_encoder(x_org)
x_fake = G.decode(c_src, s_ref)
x_rec = G.decode(c_src, s_src)
g_fake_logit, _ = D(x_fake, y_ref)
g_rec_logit, _ = D(x_rec, y_org)
g_adv_fake = calc_adv_loss(g_fake_logit, 'g')
g_adv_rec = calc_adv_loss(g_rec_logit, 'g')
g_adv = g_adv_fake + g_adv_rec
g_imgrec = calc_recon_loss(x_rec, x_org)
s_fake = C.moco(x_fake)
s_ref_ema = C_EMA.moco(x_ref)
g_sty_contrastive = calc_contrastive_loss(s_fake, s_ref_ema, queue)
g_loss = args["w_adv"] * g_adv + args["w_rec"] * g_imgrec + args["w_vec"] * g_sty_contrastive
g_opt.zero_grad()
c_opt.zero_grad()
g_loss.backward()
c_opt.step()
g_opt.step()
##################
# END Train GANs #
##################
queue = queue_data(queue, k_cont)
queue = dequeue_data(queue)
if epoch >= args["ema_start"]:
training_mode = training_mode + "_EMA"
update_average(G_EMA, G)
update_average(C_EMA, C)
torch.cuda.synchronize()
with torch.no_grad():
step += 1
increment_amount = x_org.shape[0]
pbar.update(increment_amount)
if epoch >= args["separated"]:
d_losses.update(d_loss.item(), x_org.size(0))
d_advs.update(d_adv.item(), x_org.size(0))
d_gps.update(d_gp.item(), x_org.size(0))
g_losses.update(g_loss.item(), x_org.size(0))
g_advs.update(g_adv.item(), x_org.size(0))
g_imgrecs.update(g_imgrec.item(), x_org.size(0))
g_styconts.update(g_sty_contrastive.item(), x_org.size(0))
c_losses.update(c_loss.item(), x_org.size(0))
moco_losses.update(moco_loss.item(), x_org.size(0))
iic_losses.update(iic_loss.item(), x_org.size(0))
pbar.set_postfix(d_loss=d_losses.avg, d_adv=d_advs.avg, d_gp=d_gps.avg,
g_loss=g_losses.avg, g_adv=g_advs.avg, g_imgrec=g_imgrecs.avg, g_stycont=g_styconts.avg,
c_loss=c_losses.avg, c_iid=iic_losses.avg, c_moco=moco_losses.avg,
step=step, refresh=False)
if (i + 1) % args["log_step"] == 0 and (args["gpu"] == 0 or args["gpu"] == '0'):
summary_step = epoch * args["iters"] + i
logger.add_scalar('D/LOSS', d_losses.avg, summary_step)
logger.add_scalar('D/ADV', d_advs.avg, summary_step)
logger.add_scalar('D/GP', d_gps.avg, summary_step)
logger.add_scalar('G/LOSS', g_losses.avg, summary_step)
logger.add_scalar('G/ADV', g_advs.avg, summary_step)
logger.add_scalar('G/IMGREC', g_imgrecs.avg, summary_step)
logger.add_scalar('G/STYCONT', g_styconts.avg, summary_step)
logger.add_scalar('C/LOSS', c_losses.avg, summary_step)
logger.add_scalar('C/IID', iic_losses.avg, summary_step)
logger.add_scalar('C/MOCO', moco_losses.avg, summary_step)
print('Epoch: [{}/{}] [{}/{}] MODE[{}] Avg Loss: D[{d_losses.avg:.2f}] '
'G[{g_losses.avg:.2f}] C[{c_losses.avg:.2f}]'
.format(epoch + 1, args["epochs"], i+1, args["iters"], training_mode,
d_losses=d_losses, g_losses=g_losses, c_losses=c_losses))
copy_norm_params(G_EMA, G)
copy_norm_params(C_EMA, C)
| def train_tunit(data_loader, networks, opts, epoch, args, additional):
d_losses = average_meter()
d_advs = average_meter()
d_gps = average_meter()
g_losses = average_meter()
g_advs = average_meter()
g_imgrecs = average_meter()
g_styconts = average_meter()
c_losses = average_meter()
moco_losses = average_meter()
iic_losses = average_meter()
d = networks['D']
g = networks['G']
c = networks['C']
g_ema = networks['G_EMA']
c_ema = networks['C_EMA']
d_opt = opts['D']
g_opt = opts['G']
c_opt = opts['C']
D.train()
G.train()
C.train()
C_EMA.train()
G_EMA.train()
logger = additional['logger']
queue = additional['queue']
step = 0
train_it = iter(data_loader)
with tqdm_notebook(total=args['iters'] * args['batch_size'], unit='Images', unit_scale=True, unit_divisor=1, desc='Samples') as pbar:
for i in range(0, args['iters']):
try:
imgs = next(train_it)
except:
train_it = iter(data_loader)
imgs = next(train_it)
mapped_batch = map_batch(imgs)
x_org = mapped_batch[0]['result']
x_tf = mapped_batch[1]['result']
x_ref_idx = torch.randperm(x_org.size(0))
x_org = x_org.cuda(args['gpu'])
x_tf = x_tf.cuda(args['gpu'])
x_ref_idx = x_ref_idx.cuda(args['gpu'])
x_ref = x_org.clone()
x_ref = x_ref[x_ref_idx]
training_mode = 'ONLYCLS'
q_cont = C.moco(x_org)
k_cont = C_EMA.moco(x_tf)
k_cont = k_cont.detach()
q_disc = C.iic(x_org)
k_disc = C.iic(x_tf)
q_disc = F.softmax(q_disc, 1)
k_disc = F.softmax(k_disc, 1)
iic_loss = calc_iic_loss(q_disc, k_disc)
moco_loss = calc_contrastive_loss(q_cont, k_cont, queue)
c_loss = moco_loss + 5.0 * iic_loss
if epoch >= args['separated']:
c_loss = 0.1 * c_loss
c_opt.zero_grad()
c_loss.backward()
c_opt.step()
if epoch >= args['separated']:
training_mode = 'C2GANs'
with torch.no_grad():
q_disc = C.iic(x_org)
y_org = torch.argmax(q_disc, 1)
y_ref = y_org.clone()
y_ref = y_ref[x_ref_idx]
s_ref = C.moco(x_ref)
c_src = G.cnt_encoder(x_org)
x_fake = G.decode(c_src, s_ref)
x_ref.requires_grad_()
(d_real_logit, _) = d(x_ref, y_ref)
(d_fake_logit, _) = d(x_fake.detach(), y_ref)
d_adv_real = calc_adv_loss(d_real_logit, 'd_real')
d_adv_fake = calc_adv_loss(d_fake_logit, 'd_fake')
d_adv = d_adv_real + d_adv_fake
d_gp = args['w_gp'] * compute_grad_gp(d_real_logit, x_ref, is_patch=False)
d_loss = d_adv + d_gp
d_opt.zero_grad()
d_adv_real.backward(retain_graph=True)
d_gp.backward()
d_adv_fake.backward()
d_opt.step()
s_src = C.moco(x_org)
s_ref = C.moco(x_ref)
c_src = G.cnt_encoder(x_org)
x_fake = G.decode(c_src, s_ref)
x_rec = G.decode(c_src, s_src)
(g_fake_logit, _) = d(x_fake, y_ref)
(g_rec_logit, _) = d(x_rec, y_org)
g_adv_fake = calc_adv_loss(g_fake_logit, 'g')
g_adv_rec = calc_adv_loss(g_rec_logit, 'g')
g_adv = g_adv_fake + g_adv_rec
g_imgrec = calc_recon_loss(x_rec, x_org)
s_fake = C.moco(x_fake)
s_ref_ema = C_EMA.moco(x_ref)
g_sty_contrastive = calc_contrastive_loss(s_fake, s_ref_ema, queue)
g_loss = args['w_adv'] * g_adv + args['w_rec'] * g_imgrec + args['w_vec'] * g_sty_contrastive
g_opt.zero_grad()
c_opt.zero_grad()
g_loss.backward()
c_opt.step()
g_opt.step()
queue = queue_data(queue, k_cont)
queue = dequeue_data(queue)
if epoch >= args['ema_start']:
training_mode = training_mode + '_EMA'
update_average(G_EMA, G)
update_average(C_EMA, C)
torch.cuda.synchronize()
with torch.no_grad():
step += 1
increment_amount = x_org.shape[0]
pbar.update(increment_amount)
if epoch >= args['separated']:
d_losses.update(d_loss.item(), x_org.size(0))
d_advs.update(d_adv.item(), x_org.size(0))
d_gps.update(d_gp.item(), x_org.size(0))
g_losses.update(g_loss.item(), x_org.size(0))
g_advs.update(g_adv.item(), x_org.size(0))
g_imgrecs.update(g_imgrec.item(), x_org.size(0))
g_styconts.update(g_sty_contrastive.item(), x_org.size(0))
c_losses.update(c_loss.item(), x_org.size(0))
moco_losses.update(moco_loss.item(), x_org.size(0))
iic_losses.update(iic_loss.item(), x_org.size(0))
pbar.set_postfix(d_loss=d_losses.avg, d_adv=d_advs.avg, d_gp=d_gps.avg, g_loss=g_losses.avg, g_adv=g_advs.avg, g_imgrec=g_imgrecs.avg, g_stycont=g_styconts.avg, c_loss=c_losses.avg, c_iid=iic_losses.avg, c_moco=moco_losses.avg, step=step, refresh=False)
if (i + 1) % args['log_step'] == 0 and (args['gpu'] == 0 or args['gpu'] == '0'):
summary_step = epoch * args['iters'] + i
logger.add_scalar('D/LOSS', d_losses.avg, summary_step)
logger.add_scalar('D/ADV', d_advs.avg, summary_step)
logger.add_scalar('D/GP', d_gps.avg, summary_step)
logger.add_scalar('G/LOSS', g_losses.avg, summary_step)
logger.add_scalar('G/ADV', g_advs.avg, summary_step)
logger.add_scalar('G/IMGREC', g_imgrecs.avg, summary_step)
logger.add_scalar('G/STYCONT', g_styconts.avg, summary_step)
logger.add_scalar('C/LOSS', c_losses.avg, summary_step)
logger.add_scalar('C/IID', iic_losses.avg, summary_step)
logger.add_scalar('C/MOCO', moco_losses.avg, summary_step)
print('Epoch: [{}/{}] [{}/{}] MODE[{}] Avg Loss: D[{d_losses.avg:.2f}] G[{g_losses.avg:.2f}] C[{c_losses.avg:.2f}]'.format(epoch + 1, args['epochs'], i + 1, args['iters'], training_mode, d_losses=d_losses, g_losses=g_losses, c_losses=c_losses))
copy_norm_params(G_EMA, G)
copy_norm_params(C_EMA, C) |
class BaseSave:
def file(self, path, *args, **kwargs):
raise NotImplementedError("Not implemented yet")
def csv(self, path, *args, **kwargs):
raise NotImplementedError("Not implemented yet")
def xml(self, path, *args, **kwargs):
raise NotImplementedError("Not implemented yet")
def json(self, path, *args, **kwargs):
raise NotImplementedError("Not implemented yet")
def excel(self, path, *args, **kwargs):
raise NotImplementedError("Not implemented yet")
def avro(self, path, *args, **kwargs):
raise NotImplementedError("Not implemented yet")
def parquet(self, path, *args, **kwargs):
raise NotImplementedError("Not implemented yet")
def orc(self, path, *args, **kwargs):
raise NotImplementedError("Not implemented yet")
def hdf5(self, path, *args, **kwargs):
raise NotImplementedError("Not implemented yet")
| class Basesave:
def file(self, path, *args, **kwargs):
raise not_implemented_error('Not implemented yet')
def csv(self, path, *args, **kwargs):
raise not_implemented_error('Not implemented yet')
def xml(self, path, *args, **kwargs):
raise not_implemented_error('Not implemented yet')
def json(self, path, *args, **kwargs):
raise not_implemented_error('Not implemented yet')
def excel(self, path, *args, **kwargs):
raise not_implemented_error('Not implemented yet')
def avro(self, path, *args, **kwargs):
raise not_implemented_error('Not implemented yet')
def parquet(self, path, *args, **kwargs):
raise not_implemented_error('Not implemented yet')
def orc(self, path, *args, **kwargs):
raise not_implemented_error('Not implemented yet')
def hdf5(self, path, *args, **kwargs):
raise not_implemented_error('Not implemented yet') |
#! /usr/bin/env python3
# -*- encoding: utf-8 -*-
# import os
# import sys
press_id_file = "/boot/PRESS_ID"
def get_press_id():
# Get the press_id from /boot/PRESS_ID file
try:
with open(press_id_file) as f:
PRESS_ID = f.read()
if PRESS_ID is not None:
return PRESS_ID
else:
raise ValueError("PRESS_ID is None!")
except IOError:
print(press_id_file + " Not Found!")
except BaseException as e:
print(e)
if __name__ == '__main__':
PRESS_ID = get_press_id()
print("Press ID: " + str(PRESS_ID))
| press_id_file = '/boot/PRESS_ID'
def get_press_id():
try:
with open(press_id_file) as f:
press_id = f.read()
if PRESS_ID is not None:
return PRESS_ID
else:
raise value_error('PRESS_ID is None!')
except IOError:
print(press_id_file + ' Not Found!')
except BaseException as e:
print(e)
if __name__ == '__main__':
press_id = get_press_id()
print('Press ID: ' + str(PRESS_ID)) |
class MemoryStorage:
def __init__(self) -> None:
self.data: dict[str, str] = {}
def set(self, key: str, value: str) -> None:
self.data[key] = value
def get(self, key: str) -> str:
return self.data.get(key, "")
def close(self) -> bool:
# NOTE: ideally, I would want this to have () -> None signature, but for some
# reason mypy complains about this:
#
# tests/test_memory_store.py:19: error: "close" of "MemoryStorage" does not
# return a value
#
# check here for more: https://github.com/python/mypy/issues/6549
return True
| class Memorystorage:
def __init__(self) -> None:
self.data: dict[str, str] = {}
def set(self, key: str, value: str) -> None:
self.data[key] = value
def get(self, key: str) -> str:
return self.data.get(key, '')
def close(self) -> bool:
return True |
'''
Run this file as is from cp,,and line as :
python file1.py
'''
print("File1 __name__ = %s" % __name__)
print("Full path/location for File1 __file__ = %s" % __file__)
if __name__ == "__main__":
print("File1 is being run directly")
else:
print("File1 is being imported")
# Output:
# File1 __name__ = __main__
# File1 is being run directly
| """
Run this file as is from cp,,and line as :
python file1.py
"""
print('File1 __name__ = %s' % __name__)
print('Full path/location for File1 __file__ = %s' % __file__)
if __name__ == '__main__':
print('File1 is being run directly')
else:
print('File1 is being imported') |
# Code generated by font_to_py.py.
# Font: Robotol.ttf
# Cmd: ./font_to_py.py -x Robotol.ttf 30 myfont.py
version = '0.33'
def height():
return 31
def baseline():
return 24
def max_width():
return 26
def hmap():
return True
def reverse():
return False
def monospaced():
return False
def min_ch():
return 32
def max_ch():
return 126
_font =\
b'\x0d\x00\x00\x00\x00\x00\x00\x00\x03\xe0\x0f\xf0\x1c\x38\x18\x18'\
b'\x10\x18\x20\x18\x00\x18\x00\x30\x00\x60\x00\xe0\x01\x80\x03\x00'\
b'\x02\x00\x06\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00'\
b'\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x06\x00\x00\x00\x00\x0c\x0c\x0c\x0c\x08\x18\x18\x18\x18\x10'\
b'\x10\x30\x30\x30\x30\x00\x00\x00\x00\x60\x60\x00\x00\x00\x00\x00'\
b'\x00\x00\x09\x00\x00\x00\x00\x00\x09\x80\x09\x00\x09\x00\x19\x00'\
b'\x1b\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x61\x80'\
b'\x00\x43\x00\x00\xc3\x00\x00\x82\x00\x00\x86\x00\x1f\xff\xc0\x1f'\
b'\xff\x80\x01\x0c\x00\x03\x08\x00\x02\x08\x00\x02\x18\x00\x06\x10'\
b'\x00\x04\x30\x00\x7f\xfe\x00\x7f\xfe\x00\x08\x20\x00\x08\x60\x00'\
b'\x18\x40\x00\x10\x40\x00\x10\xc0\x00\x30\x80\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x10\x00\x00\x20\x00\x20\x00\x20\x01\xf0\x03\xfc\x06\x0c\x0c'\
b'\x06\x08\x06\x08\x06\x08\x00\x0c\x00\x0e\x00\x07\x80\x01\xe0\x00'\
b'\x70\x00\x18\x00\x08\x00\x0c\x60\x0c\x60\x0c\x30\x18\x38\x78\x1f'\
b'\xf0\x0f\xc0\x03\x00\x02\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x80\x00\x0f'\
b'\xc0\x00\x1c\x60\x80\x18\x61\x80\x10\x61\x00\x10\x62\x00\x10\x66'\
b'\x00\x18\xcc\x00\x0f\xd8\x00\x07\x10\x00\x00\x30\x00\x00\x67\x80'\
b'\x00\xcf\xc0\x00\x8c\x60\x01\x18\x60\x03\x10\x60\x06\x10\x60\x04'\
b'\x10\x60\x08\x18\xc0\x00\x0f\xc0\x00\x07\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xe0\x00\x03\xf8'\
b'\x00\x06\x18\x00\x06\x08\x00\x0c\x08\x00\x0c\x18\x00\x0c\x30\x00'\
b'\x06\x60\x00\x07\xc0\x00\x03\x00\x00\x0f\x00\x00\x19\x80\x00\x30'\
b'\xc3\x00\x60\x42\x00\x60\x66\x00\x60\x36\x00\x60\x1c\x00\x60\x18'\
b'\x00\x70\x7c\x00\x3f\xe4\x00\x0f\x86\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05'\
b'\x00\x00\x00\x08\x08\x18\x18\x10\x10\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x0b\x00\x00\x00\x00\x20\x00\xc0\x01\x80\x03\x00\x02\x00\x06\x00'\
b'\x04\x00\x0c\x00\x08\x00\x18\x00\x18\x00\x10\x00\x30\x00\x30\x00'\
b'\x30\x00\x30\x00\x20\x00\x20\x00\x20\x00\x20\x00\x20\x00\x20\x00'\
b'\x20\x00\x30\x00\x30\x00\x10\x00\x18\x00\x08\x00\x0c\x00\x04\x00'\
b'\x0b\x00\x00\x00\x04\x00\x0c\x00\x02\x00\x03\x00\x01\x00\x01\x00'\
b'\x01\x80\x01\x80\x01\x80\x00\x80\x00\x80\x01\x80\x01\x80\x01\x80'\
b'\x01\x80\x01\x80\x01\x80\x01\x00\x03\x00\x03\x00\x03\x00\x06\x00'\
b'\x06\x00\x04\x00\x0c\x00\x18\x00\x10\x00\x30\x00\x60\x00\x80\x00'\
b'\x0d\x00\x00\x00\x00\x00\x00\x00\x01\x80\x01\x80\x01\x00\x01\x08'\
b'\x39\x38\x1f\xe0\x03\x00\x07\x80\x0d\x80\x18\xc0\x30\xc0\x00\x80'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\xc0\x00\xc0\x00\xc0\x00\xc0\x00\x80\x00\x80\x01\x80\x7f\xfe'\
b'\x7f\xfe\x01\x80\x01\x00\x01\x00\x03\x00\x03\x00\x03\x00\x03\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x30\x30\x20\x60\x60\xc0\x80\x00'\
b'\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x7f\x7e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x60\x60\x00\x00\x00\x00'\
b'\x00\x00\x00\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x18\x00'\
b'\x30\x00\x30\x00\x60\x00\x60\x00\xc0\x00\x80\x01\x80\x01\x00\x03'\
b'\x00\x02\x00\x06\x00\x04\x00\x0c\x00\x08\x00\x18\x00\x30\x00\x30'\
b'\x00\x60\x00\x60\x00\xc0\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x01\xf0\x03\xf8\x06'\
b'\x0c\x0c\x04\x08\x06\x18\x06\x18\x06\x10\x06\x30\x06\x30\x06\x30'\
b'\x04\x30\x04\x20\x0c\x20\x0c\x20\x0c\x20\x08\x30\x18\x30\x30\x38'\
b'\x70\x1f\xe0\x0f\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x30\x00\xe0\x07'\
b'\xe0\x0e\x60\x08\x60\x00\x60\x00\x60\x00\x40\x00\x40\x00\xc0\x00'\
b'\xc0\x00\xc0\x00\xc0\x00\x80\x00\x80\x01\x80\x01\x80\x01\x80\x01'\
b'\x80\x01\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x01\xf0\x07\xf8\x0e'\
b'\x1c\x1c\x0c\x18\x06\x10\x06\x00\x04\x00\x0c\x00\x0c\x00\x18\x00'\
b'\x30\x00\x60\x00\xc0\x01\x80\x03\x00\x06\x00\x0c\x00\x18\x00\x30'\
b'\x00\x7f\xf8\x7f\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x01\xf0\x07\xfc\x0e'\
b'\x0c\x0c\x06\x18\x06\x18\x06\x00\x06\x00\x0c\x00\x18\x03\xf0\x03'\
b'\xf0\x00\x38\x00\x18\x00\x0c\x00\x0c\x60\x0c\x60\x18\x30\x18\x38'\
b'\x70\x1f\xe0\x0f\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x1c\x00'\
b'\x3c\x00\x6c\x00\x48\x00\xd8\x01\x98\x03\x18\x06\x18\x04\x10\x0c'\
b'\x10\x18\x30\x30\x30\x60\x30\x7f\xfe\xff\xfe\x00\x20\x00\x60\x00'\
b'\x60\x00\x60\x00\x60\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x03\xff\x03\xff\x06'\
b'\x00\x06\x00\x04\x00\x04\x00\x0c\x00\x0f\xe0\x0f\xf8\x0c\x18\x10'\
b'\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x30\x0c\x30\x0c\x30\x18\x18'\
b'\x38\x0f\xf0\x07\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x3c\x00\xfc\x03'\
b'\xc0\x07\x00\x06\x00\x0c\x00\x18\x00\x19\xe0\x17\xf8\x3c\x18\x38'\
b'\x0c\x30\x0c\x30\x0c\x20\x0c\x20\x0c\x30\x0c\x30\x08\x30\x18\x18'\
b'\x70\x0f\xe0\x07\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x1f\xff\x1f\xff\x00'\
b'\x02\x00\x06\x00\x04\x00\x0c\x00\x18\x00\x10\x00\x30\x00\x60\x00'\
b'\x60\x00\xc0\x00\x80\x01\x80\x03\x00\x03\x00\x06\x00\x04\x00\x0c'\
b'\x00\x18\x00\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x01\xf0\x07\xfc\x0e'\
b'\x0e\x0c\x06\x08\x06\x18\x06\x18\x06\x08\x0c\x0e\x1c\x07\xf0\x07'\
b'\xf0\x1c\x38\x30\x08\x20\x0c\x60\x0c\x60\x0c\x60\x0c\x60\x18\x38'\
b'\x78\x1f\xf0\x0f\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x01\xf0\x07\xf8\x0e'\
b'\x1c\x0c\x0c\x18\x06\x18\x06\x10\x06\x30\x06\x30\x06\x30\x04\x10'\
b'\x0c\x18\x14\x1c\x3c\x0f\xec\x07\x98\x00\x18\x00\x30\x00\x60\x01'\
b'\xc0\x1f\x80\x1e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x18'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x60\x60\x00\x00\x00'\
b'\x00\x00\x00\x00\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c'\
b'\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x30\x30\x20\x60'\
b'\x60\xc0\x80\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x18\x00\xf0\x03\xc0\x0f'\
b'\x00\x38\x00\x60\x00\x38\x00\x1e\x00\x07\x80\x01\xe0\x00\x70\x00'\
b'\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1f\xfc\x1f'\
b'\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x3f\xf8\x3f\xf8\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x10\x00\x1c\x00\x0f\x00\x03\x80\x00'\
b'\xe0\x00\x38\x00\x0c\x00\x78\x01\xe0\x07\x00\x3c\x00\x70\x00\x40'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x0d\x00\x00\x00\x00\x00\x00\x00\x03\xe0\x0f'\
b'\xf0\x1c\x38\x18\x18\x10\x18\x20\x18\x00\x18\x00\x30\x00\x60\x00'\
b'\xe0\x01\x80\x03\x00\x02\x00\x06\x00\x06\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x0c\x00\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x1a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xe0\x00\x00\x7f\xf8\x00\x00'\
b'\xf0\x1c\x00\x01\xc0\x06\x00\x03\x00\x02\x00\x06\x00\x03\x00\x0c'\
b'\x0f\x81\x00\x18\x1f\xc1\x00\x18\x30\xc1\x00\x30\x60\xc1\x00\x30'\
b'\x40\x81\x00\x20\xc0\x81\x00\x20\x80\x81\x00\x61\x81\x83\x00\x61'\
b'\x81\x02\x00\x61\x81\x02\x00\x61\x83\x06\x00\x61\x85\x0c\x00\x60'\
b'\xfd\xf8\x00\x60\x70\xf0\x00\x30\x00\x00\x00\x30\x00\x00\x00\x18'\
b'\x00\x00\x00\x0e\x06\x00\x00\x07\xfe\x00\x00\x01\xf8\x00\x00\x00'\
b'\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18'\
b'\x00\x00\x38\x00\x00\x38\x00\x00\x6c\x00\x00\x6c\x00\x00\xcc\x00'\
b'\x00\xcc\x00\x01\x84\x00\x01\x84\x00\x03\x06\x00\x03\x06\x00\x06'\
b'\x06\x00\x06\x06\x00\x0c\x02\x00\x1f\xff\x00\x1f\xff\x00\x38\x03'\
b'\x00\x30\x03\x00\x60\x01\x00\x60\x01\x80\xc0\x01\x80\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xf8\x00'\
b'\x0f\xfe\x00\x0c\x06\x00\x0c\x03\x00\x08\x03\x00\x18\x03\x00\x18'\
b'\x03\x00\x18\x06\x00\x18\x0c\x00\x1f\xf8\x00\x1f\xf8\x00\x30\x0c'\
b'\x00\x30\x06\x00\x30\x06\x00\x30\x06\x00\x20\x06\x00\x20\x06\x00'\
b'\x60\x0c\x00\x60\x3c\x00\x7f\xf8\x00\x7f\xe0\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfc\x00\x03'\
b'\xfe\x00\x07\x07\x00\x0e\x01\x80\x0c\x01\x80\x18\x00\x80\x18\x00'\
b'\x80\x30\x00\x00\x30\x00\x00\x30\x00\x00\x30\x00\x00\x20\x00\x00'\
b'\x20\x00\x00\x20\x00\x00\x20\x03\x00\x30\x03\x00\x30\x06\x00\x38'\
b'\x0e\x00\x1c\x1c\x00\x0f\xf8\x00\x07\xe0\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xf8\x00\x07\xfe'\
b'\x00\x0c\x07\x00\x0c\x03\x00\x0c\x01\x80\x0c\x01\x80\x0c\x00\x80'\
b'\x08\x00\x80\x18\x00\x80\x18\x00\x80\x18\x01\x80\x18\x01\x80\x10'\
b'\x01\x80\x10\x01\x80\x30\x03\x00\x30\x03\x00\x30\x06\x00\x30\x0c'\
b'\x00\x20\x38\x00\x7f\xf0\x00\x7f\xc0\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xff\x80\x0f\xff\x80'\
b'\x0c\x00\x00\x0c\x00\x00\x0c\x00\x00\x08\x00\x00\x18\x00\x00\x18'\
b'\x00\x00\x18\x00\x00\x1f\xfc\x00\x1f\xfc\x00\x10\x00\x00\x30\x00'\
b'\x00\x30\x00\x00\x30\x00\x00\x30\x00\x00\x20\x00\x00\x20\x00\x00'\
b'\x60\x00\x00\x7f\xfc\x00\x7f\xfc\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xff\x80\x0f\xff\x80\x0c'\
b'\x00\x00\x0c\x00\x00\x0c\x00\x00\x08\x00\x00\x18\x00\x00\x18\x00'\
b'\x00\x18\x00\x00\x1f\xfc\x00\x1f\xfc\x00\x10\x00\x00\x30\x00\x00'\
b'\x30\x00\x00\x30\x00\x00\x30\x00\x00\x30\x00\x00\x20\x00\x00\x60'\
b'\x00\x00\x60\x00\x00\x60\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfc\x00\x01\xff\x00\x07\x83'\
b'\x80\x06\x01\x80\x0c\x00\xc0\x18\x00\xc0\x18\x00\xc0\x10\x00\x00'\
b'\x30\x00\x00\x30\x00\x00\x30\x00\x00\x30\x3f\x80\x30\x3f\x80\x30'\
b'\x01\x80\x30\x01\x00\x30\x03\x00\x30\x03\x00\x18\x03\x00\x1c\x0f'\
b'\x00\x0f\xfe\x00\x03\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x04\x00\x20\x0c\x00\x60\x0c\x00\x60'\
b'\x0c\x00\x60\x0c\x00\x60\x08\x00\x60\x18\x00\x40\x18\x00\xc0\x18'\
b'\x00\xc0\x1f\xff\xc0\x1f\xff\xc0\x10\x00\xc0\x30\x00\x80\x30\x01'\
b'\x80\x30\x01\x80\x30\x01\x80\x30\x01\x80\x20\x01\x80\x60\x01\x00'\
b'\x60\x03\x00\x60\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00'\
b'\x06\x04\x04\x0c\x0c\x0c\x0c\x08\x08\x18\x18\x18\x18\x10\x30\x30'\
b'\x30\x30\x30\x20\x60\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x02\x00\x06\x00\x06\x00\x06\x00\x06\x00\x06'\
b'\x00\x04\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x18'\
b'\x40\x18\x40\x18\x60\x30\x60\x30\x70\xe0\x3f\xc0\x0f\x80\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x04\x00\xe0\x0c\x01\x80\x0c\x03\x00'\
b'\x0c\x06\x00\x0c\x0c\x00\x08\x18\x00\x08\x30\x00\x18\xe0\x00\x19'\
b'\xc0\x00\x1b\x80\x00\x1f\x80\x00\x1c\xc0\x00\x18\x60\x00\x30\x60'\
b'\x00\x30\x30\x00\x30\x30\x00\x30\x18\x00\x20\x0c\x00\x60\x0c\x00'\
b'\x60\x06\x00\x60\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x00'\
b'\x00\x00\x00\x04\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x18'\
b'\x00\x18\x00\x18\x00\x18\x00\x18\x00\x10\x00\x30\x00\x30\x00\x30'\
b'\x00\x30\x00\x20\x00\x20\x00\x60\x00\x7f\xf8\x7f\xf8\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x06\x00\x07\x0e\x00\x07\x0e\x00\x0f\x0f'\
b'\x00\x0a\x0b\x00\x1a\x0b\x00\x36\x19\x00\x36\x19\x80\x66\x19\x80'\
b'\x66\x19\x80\xc4\x18\x80\x8c\x10\x81\x8c\x30\xc3\x0c\x30\xc3\x0c'\
b'\x30\x46\x08\x30\x46\x08\x30\x6c\x18\x20\x68\x18\x60\x78\x18\x60'\
b'\x30\x18\x60\x30\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x0c\x00\x20\x0e\x00\x60\x0e\x00\x60\x0f\x00'\
b'\x60\x0f\x00\x60\x09\x80\x60\x19\x80\x40\x18\xc0\xc0\x18\xc0\xc0'\
b'\x18\x60\xc0\x18\x60\xc0\x10\x30\xc0\x30\x30\x80\x30\x19\x80\x30'\
b'\x19\x80\x30\x09\x80\x20\x0d\x80\x20\x05\x80\x60\x07\x00\x60\x03'\
b'\x00\x60\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\xfc\x00\x03\xfe\x00\x07\x87\x00\x0e\x01\x80'\
b'\x0c\x01\x80\x18\x00\xc0\x18\x00\xc0\x10\x00\xc0\x30\x00\xc0\x30'\
b'\x00\xc0\x30\x00\xc0\x30\x00\x80\x20\x01\x80\x20\x01\x80\x20\x01'\
b'\x80\x30\x03\x00\x30\x03\x00\x38\x06\x00\x1c\x1c\x00\x0f\xf8\x00'\
b'\x03\xe0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x0f\xfc\x00\x0f\xfe\x00\x0c\x07\x00\x0c\x03\x80\x08'\
b'\x01\x80\x18\x01\x80\x18\x01\x80\x18\x01\x80\x18\x03\x00\x18\x03'\
b'\x00\x10\x0e\x00\x3f\xfc\x00\x3f\xf0\x00\x30\x00\x00\x30\x00\x00'\
b'\x30\x00\x00\x20\x00\x00\x60\x00\x00\x60\x00\x00\x60\x00\x00\x60'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\xfc\x00\x03\xfe\x00\x07\x87\x00\x0e\x01\x80\x0c\x01'\
b'\x80\x18\x00\xc0\x18\x00\xc0\x30\x00\xc0\x30\x00\xc0\x30\x00\xc0'\
b'\x30\x00\xc0\x20\x00\x80\x20\x01\x80\x20\x01\x80\x20\x01\x80\x30'\
b'\x03\x00\x30\x07\x00\x38\x06\x00\x1c\x1c\x00\x0f\xf8\x00\x07\xf0'\
b'\x00\x00\x18\x00\x00\x0c\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x0f\xfc\x00\x0f\xfe\x00\x0c\x07\x00\x0c\x03\x80\x0c\x01\x80'\
b'\x08\x01\x80\x18\x01\x80\x18\x01\x80\x18\x03\x00\x18\x03\x00\x18'\
b'\x0e\x00\x1f\xfc\x00\x3f\xf0\x00\x30\x30\x00\x30\x18\x00\x30\x18'\
b'\x00\x30\x08\x00\x20\x0c\x00\x60\x0c\x00\x60\x06\x00\x60\x06\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\xf8\x00\x07\xfe\x00\x0f\x07\x00\x0c\x03\x00\x18\x01\x80\x18'\
b'\x01\x80\x18\x00\x00\x1c\x00\x00\x0f\x00\x00\x07\xc0\x00\x01\xf0'\
b'\x00\x00\x3c\x00\x00\x0e\x00\x00\x06\x00\x00\x06\x00\x60\x06\x00'\
b'\x60\x06\x00\x60\x0c\x00\x38\x1c\x00\x1f\xf8\x00\x07\xe0\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1f'\
b'\xff\xc0\x1f\xff\xc0\x00\x60\x00\x00\x60\x00\x00\x60\x00\x00\x60'\
b'\x00\x00\x40\x00\x00\xc0\x00\x00\xc0\x00\x00\xc0\x00\x00\xc0\x00'\
b'\x00\x80\x00\x00\x80\x00\x01\x80\x00\x01\x80\x00\x01\x80\x00\x01'\
b'\x80\x00\x01\x00\x00\x03\x00\x00\x03\x00\x00\x03\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00'\
b'\x60\x0c\x00\x40\x0c\x00\x40\x0c\x00\xc0\x0c\x00\xc0\x08\x00\xc0'\
b'\x18\x00\xc0\x18\x00\x80\x18\x01\x80\x18\x01\x80\x10\x01\x80\x10'\
b'\x01\x80\x30\x01\x80\x30\x01\x00\x30\x03\x00\x30\x03\x00\x30\x07'\
b'\x00\x18\x06\x00\x1c\x1c\x00\x0f\xf8\x00\x03\xe0\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x30\x00\x60'\
b'\x10\x00\xc0\x18\x00\xc0\x18\x01\x80\x18\x01\x80\x18\x03\x00\x08'\
b'\x03\x00\x0c\x06\x00\x0c\x06\x00\x0c\x0c\x00\x0c\x0c\x00\x04\x18'\
b'\x00\x04\x18\x00\x06\x30\x00\x06\x30\x00\x06\x60\x00\x02\x60\x00'\
b'\x02\xc0\x00\x03\xc0\x00\x03\x80\x00\x03\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x1a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18'\
b'\x02\x00\xc0\x18\x07\x00\xc0\x18\x07\x00\x80\x18\x0f\x01\x80\x18'\
b'\x0b\x01\x80\x18\x19\x03\x00\x18\x19\x03\x00\x18\x11\x02\x00\x18'\
b'\x31\x06\x00\x08\x21\x86\x00\x08\x61\x84\x00\x08\x41\x8c\x00\x0c'\
b'\xc1\x88\x00\x0c\xc0\x98\x00\x0d\x80\x98\x00\x0d\x80\x90\x00\x0d'\
b'\x00\xb0\x00\x0f\x00\xa0\x00\x0e\x00\xe0\x00\x0e\x00\xe0\x00\x06'\
b'\x00\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x60\x06\x00\xc0'\
b'\x06\x01\x80\x03\x03\x00\x03\x03\x00\x01\x06\x00\x01\x8c\x00\x00'\
b'\x98\x00\x00\xf8\x00\x00\x70\x00\x00\x60\x00\x00\xe0\x00\x01\xb0'\
b'\x00\x03\x10\x00\x03\x18\x00\x06\x08\x00\x0c\x0c\x00\x18\x0c\x00'\
b'\x30\x06\x00\x30\x06\x00\xe0\x03\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x38\x00\xe0\x18\x01\xc0\x18'\
b'\x01\x80\x0c\x03\x00\x0c\x06\x00\x04\x06\x00\x06\x0c\x00\x06\x18'\
b'\x00\x02\x18\x00\x03\x30\x00\x03\x60\x00\x01\xc0\x00\x01\xc0\x00'\
b'\x01\x80\x00\x01\x80\x00\x01\x80\x00\x01\x80\x00\x01\x00\x00\x03'\
b'\x00\x00\x03\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xff\x80\x1f\xff\x80\x00\x03'\
b'\x00\x00\x03\x00\x00\x06\x00\x00\x0c\x00\x00\x18\x00\x00\x30\x00'\
b'\x00\x60\x00\x00\xc0\x00\x01\xc0\x00\x01\x80\x00\x03\x00\x00\x06'\
b'\x00\x00\x0c\x00\x00\x18\x00\x00\x30\x00\x00\x60\x00\x00\xe0\x00'\
b'\x00\xff\xfc\x00\xff\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x09\x00\x0f\x80'\
b'\x0f\x80\x0c\x00\x0c\x00\x0c\x00\x08\x00\x08\x00\x18\x00\x18\x00'\
b'\x18\x00\x18\x00\x18\x00\x10\x00\x30\x00\x30\x00\x30\x00\x30\x00'\
b'\x30\x00\x20\x00\x20\x00\x60\x00\x60\x00\x60\x00\x60\x00\x40\x00'\
b'\x40\x00\xf8\x00\xf8\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00'\
b'\x00\x00\x00\x00\x10\x00\x18\x00\x18\x00\x18\x00\x08\x00\x08\x00'\
b'\x0c\x00\x0c\x00\x0c\x00\x04\x00\x04\x00\x06\x00\x06\x00\x06\x00'\
b'\x02\x00\x02\x00\x03\x00\x03\x00\x03\x00\x01\x00\x01\x00\x01\x80'\
b'\x01\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x09\x00\x0f\x80'\
b'\x0f\x80\x01\x80\x01\x00\x01\x00\x03\x00\x03\x00\x03\x00\x03\x00'\
b'\x02\x00\x02\x00\x06\x00\x06\x00\x06\x00\x06\x00\x06\x00\x04\x00'\
b'\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x18\x00\x18\x00'\
b'\x18\x00\xf8\x00\xf8\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00'\
b'\x00\x00\x00\x00\x01\x80\x03\x80\x02\x80\x06\x80\x04\xc0\x0c\xc0'\
b'\x18\x40\x18\x40\x30\x60\x60\x60\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xf8'\
b'\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00'\
b'\x0c\x0c\x06\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03'\
b'\xe0\x0f\xf0\x1c\x38\x18\x18\x30\x18\x00\x18\x00\x18\x07\xf8\x3f'\
b'\xf8\x78\x10\x60\x10\x40\x30\x40\x30\x60\xf0\x7f\xb0\x1e\x30\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00'\
b'\x00\x00\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x08\x00\x19'\
b'\xf0\x1b\xf8\x1e\x18\x18\x0c\x18\x0c\x10\x0c\x30\x04\x30\x0c\x30'\
b'\x0c\x30\x0c\x20\x0c\x20\x18\x70\x18\x78\x70\x7f\xe0\x47\xc0\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03'\
b'\xe0\x0f\xf0\x1c\x18\x18\x0c\x30\x0c\x30\x04\x20\x00\x60\x00\x60'\
b'\x00\x60\x00\x60\x00\x20\x18\x30\x18\x38\x70\x1f\xe0\x0f\x80\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00'\
b'\x00\x00\x00\x00\x03\x00\x03\x00\x02\x00\x02\x00\x06\x00\x06\x03'\
b'\xe6\x0f\xf6\x1c\x1c\x18\x0c\x30\x0c\x30\x0c\x20\x0c\x60\x0c\x60'\
b'\x08\x60\x18\x60\x18\x60\x18\x30\x38\x38\x78\x1f\xd0\x0f\x90\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03'\
b'\xe0\x07\xf0\x0c\x38\x18\x18\x30\x0c\x30\x0c\x20\x0c\x7f\xfc\x7f'\
b'\xfc\x60\x00\x60\x00\x60\x00\x30\x20\x38\x30\x1f\xe0\x07\xc0\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00'\
b'\x00\x00\x00\x01\xe0\x03\xe0\x07\x00\x06\x00\x0c\x00\x0c\x00\x3f'\
b'\x80\x3f\x80\x4c\x00\x08\x00\x18\x00\x18\x00\x18\x00\x18\x00\x18'\
b'\x00\x10\x00\x30\x00\x30\x00\x30\x00\x30\x00\x20\x00\x60\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03'\
b'\xe6\x0f\xf6\x1c\x1c\x18\x0c\x30\x0c\x30\x0c\x30\x0c\x20\x0c\x60'\
b'\x08\x60\x18\x60\x18\x60\x18\x30\x38\x38\x78\x1f\xd0\x0f\xb0\x00'\
b'\x30\x00\x30\x40\x60\xe0\xe0\x7f\xc0\x1f\x00\x00\x00\x10\x00\x00'\
b'\x00\x00\x00\x04\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x08\x00\x09'\
b'\xf0\x1b\xf8\x1e\x18\x1c\x0c\x18\x0c\x10\x0c\x30\x0c\x30\x08\x30'\
b'\x08\x30\x18\x30\x18\x20\x18\x60\x18\x60\x18\x60\x10\x60\x30\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00'\
b'\x00\x00\x0c\x0c\x00\x00\x00\x18\x18\x18\x18\x10\x10\x30\x30\x30'\
b'\x30\x20\x20\x60\x60\x60\x60\x00\x00\x00\x00\x00\x00\x00\x0b\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\xc0\x00\xc0\x00\x00\x00\x00\x00\x00'\
b'\x00\x80\x01\x80\x01\x80\x01\x80\x01\x80\x01\x00\x01\x00\x03\x00'\
b'\x03\x00\x03\x00\x03\x00\x02\x00\x02\x00\x06\x00\x06\x00\x06\x00'\
b'\x06\x00\x04\x00\x0c\x00\x1c\x00\xf8\x00\xf0\x00\x00\x00\x0e\x00'\
b'\x00\x00\x00\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x18\x00'\
b'\x18\x0c\x18\x38\x18\x70\x10\xe0\x11\x80\x33\x00\x36\x00\x3e\x00'\
b'\x3b\x00\x31\x00\x21\x80\x60\xc0\x60\xc0\x60\x60\x60\x60\x40\x30'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00'\
b'\x00\x00\x04\x0c\x0c\x0c\x0c\x08\x18\x18\x18\x18\x18\x10\x30\x30'\
b'\x30\x30\x20\x20\x60\x60\x60\x60\x00\x00\x00\x00\x00\x00\x00\x19'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x19\xf0\x78\x00\x1b\xf9\xfc\x00\x16\x1b\x0e\x00\x18\x0e\x06'\
b'\x00\x30\x0c\x06\x00\x30\x0c\x06\x00\x30\x08\x06\x00\x30\x08\x06'\
b'\x00\x30\x18\x06\x00\x20\x18\x04\x00\x60\x18\x04\x00\x60\x18\x0c'\
b'\x00\x60\x10\x0c\x00\x60\x10\x0c\x00\x40\x30\x0c\x00\x40\x30\x0c'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x19'\
b'\xf0\x1b\xf8\x1e\x18\x1c\x0c\x18\x0c\x10\x0c\x30\x0c\x30\x08\x30'\
b'\x08\x30\x18\x30\x18\x20\x18\x60\x18\x60\x18\x60\x10\x60\x30\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03'\
b'\xe0\x0f\xf8\x1c\x18\x18\x0c\x30\x0c\x20\x04\x60\x04\x60\x04\x60'\
b'\x04\x60\x0c\x60\x0c\x60\x18\x30\x18\x38\x70\x1f\xe0\x0f\x80\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x19'\
b'\xf0\x1b\xf8\x1e\x18\x18\x0c\x18\x0c\x30\x0c\x30\x0c\x30\x0c\x30'\
b'\x0c\x30\x0c\x20\x0c\x60\x18\x70\x38\x78\x70\x7f\xe0\x67\xc0\x40'\
b'\x00\xc0\x00\xc0\x00\xc0\x00\xc0\x00\xc0\x00\x00\x00\x10\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03'\
b'\xe6\x0f\xf6\x1c\x1c\x18\x0c\x30\x0c\x30\x0c\x20\x0c\x60\x0c\x60'\
b'\x08\x60\x18\x60\x18\x60\x18\x30\x38\x38\x78\x1f\xd0\x0f\x90\x00'\
b'\x30\x00\x30\x00\x30\x00\x30\x00\x20\x00\x60\x00\x00\x0a\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x19'\
b'\xc0\x1b\xc0\x1e\x00\x1c\x00\x18\x00\x10\x00\x30\x00\x30\x00\x30'\
b'\x00\x30\x00\x20\x00\x20\x00\x60\x00\x60\x00\x60\x00\x60\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07'\
b'\xc0\x0f\xf0\x18\x30\x30\x18\x30\x18\x38\x00\x1e\x00\x0f\xc0\x01'\
b'\xe0\x00\x70\x00\x30\x40\x30\x60\x30\x70\xe0\x3f\xc0\x1f\x80\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x09\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x04\x00\x04\x00\x0c\x00\x0c\x00\x7f'\
b'\x80\x7f\x80\x08\x00\x08\x00\x18\x00\x18\x00\x18\x00\x18\x00\x10'\
b'\x00\x10\x00\x30\x00\x30\x00\x30\x00\x30\x00\x3e\x00\x1e\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08'\
b'\x06\x18\x06\x18\x06\x18\x04\x18\x0c\x10\x0c\x10\x0c\x30\x0c\x30'\
b'\x0c\x30\x08\x30\x18\x30\x18\x30\x38\x38\x78\x1f\xd8\x0f\x90\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x30'\
b'\x0c\x30\x0c\x30\x18\x30\x18\x10\x30\x10\x30\x18\x60\x18\x60\x18'\
b'\xc0\x08\xc0\x09\x80\x0d\x80\x0f\x00\x0f\x00\x06\x00\x06\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x15\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x30\x18\x18\x30\x38\x18\x30\x38\x10'\
b'\x30\x78\x30\x10\x48\x30\x10\xc8\x60\x10\xc8\x60\x10\x88\x40\x11'\
b'\x88\xc0\x19\x0c\x80\x1b\x0d\x80\x1a\x0d\x00\x1e\x07\x00\x1c\x07'\
b'\x00\x0c\x06\x00\x08\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x0e'\
b'\x0c\x0c\x0c\x18\x04\x30\x06\x60\x02\x60\x03\xc0\x01\x80\x03\x80'\
b'\x06\x80\x06\xc0\x0c\x40\x18\x60\x30\x20\x70\x30\xe0\x18\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x06'\
b'\x18\x06\x18\x0c\x08\x0c\x08\x18\x0c\x18\x0c\x30\x0c\x30\x04\x60'\
b'\x04\x60\x06\xc0\x06\xc0\x07\x80\x03\x00\x03\x00\x02\x00\x06\x00'\
b'\x04\x00\x0c\x00\x18\x00\xf8\x00\xe0\x00\x00\x00\x0e\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1f\xfc'\
b'\x3f\xf8\x00\x18\x00\x30\x00\x60\x00\xc0\x01\x80\x03\x00\x06\x00'\
b'\x0c\x00\x18\x00\x30\x00\x60\x00\x60\x00\xff\xf0\xff\xf0\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00'\
b'\x00\x60\x00\xc0\x01\x80\x03\x00\x02\x00\x06\x00\x06\x00\x06\x00'\
b'\x06\x00\x04\x00\x0c\x00\x0c\x00\x0c\x00\x18\x00\x70\x00\x70\x00'\
b'\x30\x00\x18\x00\x18\x00\x18\x00\x18\x00\x18\x00\x10\x00\x10\x00'\
b'\x10\x00\x18\x00\x18\x00\x0c\x00\x06\x00\x00\x00\x06\x00\x00\x00'\
b'\x00\x0c\x0c\x08\x08\x08\x18\x18\x18\x10\x10\x10\x10\x30\x30\x30'\
b'\x20\x20\x20\x60\x60\x60\x40\x40\x40\xc0\x00\x00\x00\x0b\x00\x00'\
b'\x00\x08\x00\x06\x00\x02\x00\x03\x00\x03\x00\x03\x00\x03\x00\x03'\
b'\x00\x03\x00\x03\x00\x03\x00\x03\x00\x03\x00\x03\x80\x01\xc0\x01'\
b'\xc0\x03\x00\x06\x00\x04\x00\x04\x00\x0c\x00\x0c\x00\x0c\x00\x0c'\
b'\x00\x08\x00\x18\x00\x30\x00\x60\x00\x80\x00\x00\x00\x13\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x0f\x00\x80\x1f\xc0\x80\x30\xe1\x80\x20'\
b'\x7f\x00\x60\x1e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
_index =\
b'\x00\x00\x40\x00\x61\x00\x82\x00\xc2\x00\x21\x01\x61\x01\xc0\x01'\
b'\x1f\x02\x40\x02\x80\x02\xc0\x02\x00\x03\x40\x03\x61\x03\x82\x03'\
b'\xa3\x03\xe3\x03\x23\x04\x63\x04\xa3\x04\xe3\x04\x23\x05\x63\x05'\
b'\xa3\x05\xe3\x05\x23\x06\x63\x06\x84\x06\xa5\x06\xe5\x06\x25\x07'\
b'\x65\x07\xa5\x07\x23\x08\x82\x08\xe1\x08\x40\x09\x9f\x09\xfe\x09'\
b'\x5d\x0a\xbc\x0a\x1b\x0b\x3c\x0b\x7c\x0b\xdb\x0b\x1b\x0c\x7a\x0c'\
b'\xd9\x0c\x38\x0d\x97\x0d\xf6\x0d\x55\x0e\xb4\x0e\x13\x0f\x72\x0f'\
b'\xd1\x0f\x4f\x10\xae\x10\x0d\x11\x6c\x11\xac\x11\xec\x11\x2c\x12'\
b'\x6c\x12\xac\x12\xcd\x12\x0d\x13\x4d\x13\x8d\x13\xcd\x13\x0d\x14'\
b'\x4d\x14\x8d\x14\xcd\x14\xee\x14\x2e\x15\x6e\x15\x8f\x15\x0d\x16'\
b'\x4d\x16\x8d\x16\xcd\x16\x0d\x17\x4d\x17\x8d\x17\xcd\x17\x0d\x18'\
b'\x4d\x18\xac\x18\xec\x18\x2c\x19\x6c\x19\xac\x19\xcd\x19\x0d\x1a'\
b'\x6c\x1a'
_mvfont = memoryview(_font)
_mvi = memoryview(_index)
ifb = lambda l : l[0] | (l[1] << 8)
def get_ch(ch):
oc = ord(ch)
ioff = 2 * (oc - 32 + 1) if oc >= 32 and oc <= 126 else 0
doff = ifb(_mvi[ioff : ])
width = ifb(_mvfont[doff : ])
next_offs = doff + 2 + ((width - 1)//8 + 1) * 31
return _mvfont[doff + 2:next_offs], 31, width
| version = '0.33'
def height():
return 31
def baseline():
return 24
def max_width():
return 26
def hmap():
return True
def reverse():
return False
def monospaced():
return False
def min_ch():
return 32
def max_ch():
return 126
_font = b'\r\x00\x00\x00\x00\x00\x00\x00\x03\xe0\x0f\xf0\x1c8\x18\x18\x10\x18 \x18\x00\x18\x000\x00`\x00\xe0\x01\x80\x03\x00\x02\x00\x06\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x00\x0c\x0c\x0c\x0c\x08\x18\x18\x18\x18\x10\x100000\x00\x00\x00\x00``\x00\x00\x00\x00\x00\x00\x00\t\x00\x00\x00\x00\x00\t\x80\t\x00\t\x00\x19\x00\x1b\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00a\x80\x00C\x00\x00\xc3\x00\x00\x82\x00\x00\x86\x00\x1f\xff\xc0\x1f\xff\x80\x01\x0c\x00\x03\x08\x00\x02\x08\x00\x02\x18\x00\x06\x10\x00\x040\x00\x7f\xfe\x00\x7f\xfe\x00\x08 \x00\x08`\x00\x18@\x00\x10@\x00\x10\xc0\x000\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00 \x00 \x00 \x01\xf0\x03\xfc\x06\x0c\x0c\x06\x08\x06\x08\x06\x08\x00\x0c\x00\x0e\x00\x07\x80\x01\xe0\x00p\x00\x18\x00\x08\x00\x0c`\x0c`\x0c0\x188x\x1f\xf0\x0f\xc0\x03\x00\x02\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x80\x00\x0f\xc0\x00\x1c`\x80\x18a\x80\x10a\x00\x10b\x00\x10f\x00\x18\xcc\x00\x0f\xd8\x00\x07\x10\x00\x000\x00\x00g\x80\x00\xcf\xc0\x00\x8c`\x01\x18`\x03\x10`\x06\x10`\x04\x10`\x08\x18\xc0\x00\x0f\xc0\x00\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\xe0\x00\x03\xf8\x00\x06\x18\x00\x06\x08\x00\x0c\x08\x00\x0c\x18\x00\x0c0\x00\x06`\x00\x07\xc0\x00\x03\x00\x00\x0f\x00\x00\x19\x80\x000\xc3\x00`B\x00`f\x00`6\x00`\x1c\x00`\x18\x00p|\x00?\xe4\x00\x0f\x86\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00\x08\x08\x18\x18\x10\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x00 \x00\xc0\x01\x80\x03\x00\x02\x00\x06\x00\x04\x00\x0c\x00\x08\x00\x18\x00\x18\x00\x10\x000\x000\x000\x000\x00 \x00 \x00 \x00 \x00 \x00 \x00 \x000\x000\x00\x10\x00\x18\x00\x08\x00\x0c\x00\x04\x00\x0b\x00\x00\x00\x04\x00\x0c\x00\x02\x00\x03\x00\x01\x00\x01\x00\x01\x80\x01\x80\x01\x80\x00\x80\x00\x80\x01\x80\x01\x80\x01\x80\x01\x80\x01\x80\x01\x80\x01\x00\x03\x00\x03\x00\x03\x00\x06\x00\x06\x00\x04\x00\x0c\x00\x18\x00\x10\x000\x00`\x00\x80\x00\r\x00\x00\x00\x00\x00\x00\x00\x01\x80\x01\x80\x01\x00\x01\x0898\x1f\xe0\x03\x00\x07\x80\r\x80\x18\xc00\xc0\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc0\x00\xc0\x00\xc0\x00\xc0\x00\x80\x00\x80\x01\x80\x7f\xfe\x7f\xfe\x01\x80\x01\x00\x01\x00\x03\x00\x03\x00\x03\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0000 ``\xc0\x80\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x7f~\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00``\x00\x00\x00\x00\x00\x00\x00\r\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x18\x000\x000\x00`\x00`\x00\xc0\x00\x80\x01\x80\x01\x00\x03\x00\x02\x00\x06\x00\x04\x00\x0c\x00\x08\x00\x18\x000\x000\x00`\x00`\x00\xc0\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x01\xf0\x03\xf8\x06\x0c\x0c\x04\x08\x06\x18\x06\x18\x06\x10\x060\x060\x060\x040\x04 \x0c \x0c \x0c \x080\x18008p\x1f\xe0\x0f\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x000\x00\xe0\x07\xe0\x0e`\x08`\x00`\x00`\x00@\x00@\x00\xc0\x00\xc0\x00\xc0\x00\xc0\x00\x80\x00\x80\x01\x80\x01\x80\x01\x80\x01\x80\x01\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x01\xf0\x07\xf8\x0e\x1c\x1c\x0c\x18\x06\x10\x06\x00\x04\x00\x0c\x00\x0c\x00\x18\x000\x00`\x00\xc0\x01\x80\x03\x00\x06\x00\x0c\x00\x18\x000\x00\x7f\xf8\x7f\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x01\xf0\x07\xfc\x0e\x0c\x0c\x06\x18\x06\x18\x06\x00\x06\x00\x0c\x00\x18\x03\xf0\x03\xf0\x008\x00\x18\x00\x0c\x00\x0c`\x0c`\x180\x188p\x1f\xe0\x0f\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x1c\x00<\x00l\x00H\x00\xd8\x01\x98\x03\x18\x06\x18\x04\x10\x0c\x10\x18000`0\x7f\xfe\xff\xfe\x00 \x00`\x00`\x00`\x00`\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x03\xff\x03\xff\x06\x00\x06\x00\x04\x00\x04\x00\x0c\x00\x0f\xe0\x0f\xf8\x0c\x18\x10\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x0c0\x0c0\x0c0\x18\x188\x0f\xf0\x07\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00<\x00\xfc\x03\xc0\x07\x00\x06\x00\x0c\x00\x18\x00\x19\xe0\x17\xf8<\x188\x0c0\x0c0\x0c \x0c \x0c0\x0c0\x080\x18\x18p\x0f\xe0\x07\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x1f\xff\x1f\xff\x00\x02\x00\x06\x00\x04\x00\x0c\x00\x18\x00\x10\x000\x00`\x00`\x00\xc0\x00\x80\x01\x80\x03\x00\x03\x00\x06\x00\x04\x00\x0c\x00\x18\x00\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x01\xf0\x07\xfc\x0e\x0e\x0c\x06\x08\x06\x18\x06\x18\x06\x08\x0c\x0e\x1c\x07\xf0\x07\xf0\x1c80\x08 \x0c`\x0c`\x0c`\x0c`\x188x\x1f\xf0\x0f\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x01\xf0\x07\xf8\x0e\x1c\x0c\x0c\x18\x06\x18\x06\x10\x060\x060\x060\x04\x10\x0c\x18\x14\x1c<\x0f\xec\x07\x98\x00\x18\x000\x00`\x01\xc0\x1f\x80\x1e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00``\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0000 ``\xc0\x80\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x18\x00\xf0\x03\xc0\x0f\x008\x00`\x008\x00\x1e\x00\x07\x80\x01\xe0\x00p\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1f\xfc\x1f\xfc\x00\x00\x00\x00\x00\x00\x00\x00?\xf8?\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x1c\x00\x0f\x00\x03\x80\x00\xe0\x008\x00\x0c\x00x\x01\xe0\x07\x00<\x00p\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\r\x00\x00\x00\x00\x00\x00\x00\x03\xe0\x0f\xf0\x1c8\x18\x18\x10\x18 \x18\x00\x18\x000\x00`\x00\xe0\x01\x80\x03\x00\x02\x00\x06\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xe0\x00\x00\x7f\xf8\x00\x00\xf0\x1c\x00\x01\xc0\x06\x00\x03\x00\x02\x00\x06\x00\x03\x00\x0c\x0f\x81\x00\x18\x1f\xc1\x00\x180\xc1\x000`\xc1\x000@\x81\x00 \xc0\x81\x00 \x80\x81\x00a\x81\x83\x00a\x81\x02\x00a\x81\x02\x00a\x83\x06\x00a\x85\x0c\x00`\xfd\xf8\x00`p\xf0\x000\x00\x00\x000\x00\x00\x00\x18\x00\x00\x00\x0e\x06\x00\x00\x07\xfe\x00\x00\x01\xf8\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x00\x008\x00\x008\x00\x00l\x00\x00l\x00\x00\xcc\x00\x00\xcc\x00\x01\x84\x00\x01\x84\x00\x03\x06\x00\x03\x06\x00\x06\x06\x00\x06\x06\x00\x0c\x02\x00\x1f\xff\x00\x1f\xff\x008\x03\x000\x03\x00`\x01\x00`\x01\x80\xc0\x01\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xf8\x00\x0f\xfe\x00\x0c\x06\x00\x0c\x03\x00\x08\x03\x00\x18\x03\x00\x18\x03\x00\x18\x06\x00\x18\x0c\x00\x1f\xf8\x00\x1f\xf8\x000\x0c\x000\x06\x000\x06\x000\x06\x00 \x06\x00 \x06\x00`\x0c\x00`<\x00\x7f\xf8\x00\x7f\xe0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfc\x00\x03\xfe\x00\x07\x07\x00\x0e\x01\x80\x0c\x01\x80\x18\x00\x80\x18\x00\x800\x00\x000\x00\x000\x00\x000\x00\x00 \x00\x00 \x00\x00 \x00\x00 \x03\x000\x03\x000\x06\x008\x0e\x00\x1c\x1c\x00\x0f\xf8\x00\x07\xe0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xf8\x00\x07\xfe\x00\x0c\x07\x00\x0c\x03\x00\x0c\x01\x80\x0c\x01\x80\x0c\x00\x80\x08\x00\x80\x18\x00\x80\x18\x00\x80\x18\x01\x80\x18\x01\x80\x10\x01\x80\x10\x01\x800\x03\x000\x03\x000\x06\x000\x0c\x00 8\x00\x7f\xf0\x00\x7f\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xff\x80\x0f\xff\x80\x0c\x00\x00\x0c\x00\x00\x0c\x00\x00\x08\x00\x00\x18\x00\x00\x18\x00\x00\x18\x00\x00\x1f\xfc\x00\x1f\xfc\x00\x10\x00\x000\x00\x000\x00\x000\x00\x000\x00\x00 \x00\x00 \x00\x00`\x00\x00\x7f\xfc\x00\x7f\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xff\x80\x0f\xff\x80\x0c\x00\x00\x0c\x00\x00\x0c\x00\x00\x08\x00\x00\x18\x00\x00\x18\x00\x00\x18\x00\x00\x1f\xfc\x00\x1f\xfc\x00\x10\x00\x000\x00\x000\x00\x000\x00\x000\x00\x000\x00\x00 \x00\x00`\x00\x00`\x00\x00`\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfc\x00\x01\xff\x00\x07\x83\x80\x06\x01\x80\x0c\x00\xc0\x18\x00\xc0\x18\x00\xc0\x10\x00\x000\x00\x000\x00\x000\x00\x000?\x800?\x800\x01\x800\x01\x000\x03\x000\x03\x00\x18\x03\x00\x1c\x0f\x00\x0f\xfe\x00\x03\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00 \x0c\x00`\x0c\x00`\x0c\x00`\x0c\x00`\x08\x00`\x18\x00@\x18\x00\xc0\x18\x00\xc0\x1f\xff\xc0\x1f\xff\xc0\x10\x00\xc00\x00\x800\x01\x800\x01\x800\x01\x800\x01\x80 \x01\x80`\x01\x00`\x03\x00`\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x06\x04\x04\x0c\x0c\x0c\x0c\x08\x08\x18\x18\x18\x18\x1000000 `\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x06\x00\x06\x00\x06\x00\x06\x00\x06\x00\x04\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x18@\x18@\x18`0`0p\xe0?\xc0\x0f\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\xe0\x0c\x01\x80\x0c\x03\x00\x0c\x06\x00\x0c\x0c\x00\x08\x18\x00\x080\x00\x18\xe0\x00\x19\xc0\x00\x1b\x80\x00\x1f\x80\x00\x1c\xc0\x00\x18`\x000`\x0000\x0000\x000\x18\x00 \x0c\x00`\x0c\x00`\x06\x00`\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00\x04\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x18\x00\x18\x00\x18\x00\x18\x00\x18\x00\x10\x000\x000\x000\x000\x00 \x00 \x00`\x00\x7f\xf8\x7f\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x07\x0e\x00\x07\x0e\x00\x0f\x0f\x00\n\x0b\x00\x1a\x0b\x006\x19\x006\x19\x80f\x19\x80f\x19\x80\xc4\x18\x80\x8c\x10\x81\x8c0\xc3\x0c0\xc3\x0c0F\x080F\x080l\x18 h\x18`x\x18`0\x18`0\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00 \x0e\x00`\x0e\x00`\x0f\x00`\x0f\x00`\t\x80`\x19\x80@\x18\xc0\xc0\x18\xc0\xc0\x18`\xc0\x18`\xc0\x100\xc000\x800\x19\x800\x19\x800\t\x80 \r\x80 \x05\x80`\x07\x00`\x03\x00`\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfc\x00\x03\xfe\x00\x07\x87\x00\x0e\x01\x80\x0c\x01\x80\x18\x00\xc0\x18\x00\xc0\x10\x00\xc00\x00\xc00\x00\xc00\x00\xc00\x00\x80 \x01\x80 \x01\x80 \x01\x800\x03\x000\x03\x008\x06\x00\x1c\x1c\x00\x0f\xf8\x00\x03\xe0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xfc\x00\x0f\xfe\x00\x0c\x07\x00\x0c\x03\x80\x08\x01\x80\x18\x01\x80\x18\x01\x80\x18\x01\x80\x18\x03\x00\x18\x03\x00\x10\x0e\x00?\xfc\x00?\xf0\x000\x00\x000\x00\x000\x00\x00 \x00\x00`\x00\x00`\x00\x00`\x00\x00`\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfc\x00\x03\xfe\x00\x07\x87\x00\x0e\x01\x80\x0c\x01\x80\x18\x00\xc0\x18\x00\xc00\x00\xc00\x00\xc00\x00\xc00\x00\xc0 \x00\x80 \x01\x80 \x01\x80 \x01\x800\x03\x000\x07\x008\x06\x00\x1c\x1c\x00\x0f\xf8\x00\x07\xf0\x00\x00\x18\x00\x00\x0c\x00\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xfc\x00\x0f\xfe\x00\x0c\x07\x00\x0c\x03\x80\x0c\x01\x80\x08\x01\x80\x18\x01\x80\x18\x01\x80\x18\x03\x00\x18\x03\x00\x18\x0e\x00\x1f\xfc\x00?\xf0\x0000\x000\x18\x000\x18\x000\x08\x00 \x0c\x00`\x0c\x00`\x06\x00`\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf8\x00\x07\xfe\x00\x0f\x07\x00\x0c\x03\x00\x18\x01\x80\x18\x01\x80\x18\x00\x00\x1c\x00\x00\x0f\x00\x00\x07\xc0\x00\x01\xf0\x00\x00<\x00\x00\x0e\x00\x00\x06\x00\x00\x06\x00`\x06\x00`\x06\x00`\x0c\x008\x1c\x00\x1f\xf8\x00\x07\xe0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1f\xff\xc0\x1f\xff\xc0\x00`\x00\x00`\x00\x00`\x00\x00`\x00\x00@\x00\x00\xc0\x00\x00\xc0\x00\x00\xc0\x00\x00\xc0\x00\x00\x80\x00\x00\x80\x00\x01\x80\x00\x01\x80\x00\x01\x80\x00\x01\x80\x00\x01\x00\x00\x03\x00\x00\x03\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00`\x0c\x00@\x0c\x00@\x0c\x00\xc0\x0c\x00\xc0\x08\x00\xc0\x18\x00\xc0\x18\x00\x80\x18\x01\x80\x18\x01\x80\x10\x01\x80\x10\x01\x800\x01\x800\x01\x000\x03\x000\x03\x000\x07\x00\x18\x06\x00\x1c\x1c\x00\x0f\xf8\x00\x03\xe0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x000\x00`\x10\x00\xc0\x18\x00\xc0\x18\x01\x80\x18\x01\x80\x18\x03\x00\x08\x03\x00\x0c\x06\x00\x0c\x06\x00\x0c\x0c\x00\x0c\x0c\x00\x04\x18\x00\x04\x18\x00\x060\x00\x060\x00\x06`\x00\x02`\x00\x02\xc0\x00\x03\xc0\x00\x03\x80\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x02\x00\xc0\x18\x07\x00\xc0\x18\x07\x00\x80\x18\x0f\x01\x80\x18\x0b\x01\x80\x18\x19\x03\x00\x18\x19\x03\x00\x18\x11\x02\x00\x181\x06\x00\x08!\x86\x00\x08a\x84\x00\x08A\x8c\x00\x0c\xc1\x88\x00\x0c\xc0\x98\x00\r\x80\x98\x00\r\x80\x90\x00\r\x00\xb0\x00\x0f\x00\xa0\x00\x0e\x00\xe0\x00\x0e\x00\xe0\x00\x06\x00\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00`\x06\x00\xc0\x06\x01\x80\x03\x03\x00\x03\x03\x00\x01\x06\x00\x01\x8c\x00\x00\x98\x00\x00\xf8\x00\x00p\x00\x00`\x00\x00\xe0\x00\x01\xb0\x00\x03\x10\x00\x03\x18\x00\x06\x08\x00\x0c\x0c\x00\x18\x0c\x000\x06\x000\x06\x00\xe0\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x008\x00\xe0\x18\x01\xc0\x18\x01\x80\x0c\x03\x00\x0c\x06\x00\x04\x06\x00\x06\x0c\x00\x06\x18\x00\x02\x18\x00\x030\x00\x03`\x00\x01\xc0\x00\x01\xc0\x00\x01\x80\x00\x01\x80\x00\x01\x80\x00\x01\x80\x00\x01\x00\x00\x03\x00\x00\x03\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\xff\x80\x1f\xff\x80\x00\x03\x00\x00\x03\x00\x00\x06\x00\x00\x0c\x00\x00\x18\x00\x000\x00\x00`\x00\x00\xc0\x00\x01\xc0\x00\x01\x80\x00\x03\x00\x00\x06\x00\x00\x0c\x00\x00\x18\x00\x000\x00\x00`\x00\x00\xe0\x00\x00\xff\xfc\x00\xff\xfc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\t\x00\x0f\x80\x0f\x80\x0c\x00\x0c\x00\x0c\x00\x08\x00\x08\x00\x18\x00\x18\x00\x18\x00\x18\x00\x18\x00\x10\x000\x000\x000\x000\x000\x00 \x00 \x00`\x00`\x00`\x00`\x00@\x00@\x00\xf8\x00\xf8\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x00\x00\x00\x00\x10\x00\x18\x00\x18\x00\x18\x00\x08\x00\x08\x00\x0c\x00\x0c\x00\x0c\x00\x04\x00\x04\x00\x06\x00\x06\x00\x06\x00\x02\x00\x02\x00\x03\x00\x03\x00\x03\x00\x01\x00\x01\x00\x01\x80\x01\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\t\x00\x0f\x80\x0f\x80\x01\x80\x01\x00\x01\x00\x03\x00\x03\x00\x03\x00\x03\x00\x02\x00\x02\x00\x06\x00\x06\x00\x06\x00\x06\x00\x06\x00\x04\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x18\x00\x18\x00\x18\x00\xf8\x00\xf8\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x00\x00\x00\x00\x01\x80\x03\x80\x02\x80\x06\x80\x04\xc0\x0c\xc0\x18@\x18@0```\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xf8\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x0c\x0c\x06\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\xe0\x0f\xf0\x1c8\x18\x180\x18\x00\x18\x00\x18\x07\xf8?\xf8x\x10`\x10@0@0`\xf0\x7f\xb0\x1e0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x08\x00\x19\xf0\x1b\xf8\x1e\x18\x18\x0c\x18\x0c\x10\x0c0\x040\x0c0\x0c0\x0c \x0c \x18p\x18xp\x7f\xe0G\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\xe0\x0f\xf0\x1c\x18\x18\x0c0\x0c0\x04 \x00`\x00`\x00`\x00`\x00 \x180\x188p\x1f\xe0\x0f\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x03\x00\x03\x00\x02\x00\x02\x00\x06\x00\x06\x03\xe6\x0f\xf6\x1c\x1c\x18\x0c0\x0c0\x0c \x0c`\x0c`\x08`\x18`\x18`\x18088x\x1f\xd0\x0f\x90\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\xe0\x07\xf0\x0c8\x18\x180\x0c0\x0c \x0c\x7f\xfc\x7f\xfc`\x00`\x00`\x000 80\x1f\xe0\x07\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x00\x00\x01\xe0\x03\xe0\x07\x00\x06\x00\x0c\x00\x0c\x00?\x80?\x80L\x00\x08\x00\x18\x00\x18\x00\x18\x00\x18\x00\x18\x00\x10\x000\x000\x000\x000\x00 \x00`\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\xe6\x0f\xf6\x1c\x1c\x18\x0c0\x0c0\x0c0\x0c \x0c`\x08`\x18`\x18`\x18088x\x1f\xd0\x0f\xb0\x000\x000@`\xe0\xe0\x7f\xc0\x1f\x00\x00\x00\x10\x00\x00\x00\x00\x00\x04\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x08\x00\t\xf0\x1b\xf8\x1e\x18\x1c\x0c\x18\x0c\x10\x0c0\x0c0\x080\x080\x180\x18 \x18`\x18`\x18`\x10`0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x00\x0c\x0c\x00\x00\x00\x18\x18\x18\x18\x10\x100000 ````\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x00\x00\x00\x00\x00\xc0\x00\xc0\x00\x00\x00\x00\x00\x00\x00\x80\x01\x80\x01\x80\x01\x80\x01\x80\x01\x00\x01\x00\x03\x00\x03\x00\x03\x00\x03\x00\x02\x00\x02\x00\x06\x00\x06\x00\x06\x00\x06\x00\x04\x00\x0c\x00\x1c\x00\xf8\x00\xf0\x00\x00\x00\x0e\x00\x00\x00\x00\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x18\x00\x18\x0c\x188\x18p\x10\xe0\x11\x803\x006\x00>\x00;\x001\x00!\x80`\xc0`\xc0````@0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x04\x0c\x0c\x0c\x0c\x08\x18\x18\x18\x18\x18\x100000 ````\x00\x00\x00\x00\x00\x00\x00\x19\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x19\xf0x\x00\x1b\xf9\xfc\x00\x16\x1b\x0e\x00\x18\x0e\x06\x000\x0c\x06\x000\x0c\x06\x000\x08\x06\x000\x08\x06\x000\x18\x06\x00 \x18\x04\x00`\x18\x04\x00`\x18\x0c\x00`\x10\x0c\x00`\x10\x0c\x00@0\x0c\x00@0\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x19\xf0\x1b\xf8\x1e\x18\x1c\x0c\x18\x0c\x10\x0c0\x0c0\x080\x080\x180\x18 \x18`\x18`\x18`\x10`0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\xe0\x0f\xf8\x1c\x18\x18\x0c0\x0c \x04`\x04`\x04`\x04`\x0c`\x0c`\x180\x188p\x1f\xe0\x0f\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x19\xf0\x1b\xf8\x1e\x18\x18\x0c\x18\x0c0\x0c0\x0c0\x0c0\x0c0\x0c \x0c`\x18p8xp\x7f\xe0g\xc0@\x00\xc0\x00\xc0\x00\xc0\x00\xc0\x00\xc0\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\xe6\x0f\xf6\x1c\x1c\x18\x0c0\x0c0\x0c \x0c`\x0c`\x08`\x18`\x18`\x18088x\x1f\xd0\x0f\x90\x000\x000\x000\x000\x00 \x00`\x00\x00\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x19\xc0\x1b\xc0\x1e\x00\x1c\x00\x18\x00\x10\x000\x000\x000\x000\x00 \x00 \x00`\x00`\x00`\x00`\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xc0\x0f\xf0\x1800\x180\x188\x00\x1e\x00\x0f\xc0\x01\xe0\x00p\x000@0`0p\xe0?\xc0\x1f\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x04\x00\x0c\x00\x0c\x00\x7f\x80\x7f\x80\x08\x00\x08\x00\x18\x00\x18\x00\x18\x00\x18\x00\x10\x00\x10\x000\x000\x000\x000\x00>\x00\x1e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x06\x18\x06\x18\x06\x18\x04\x18\x0c\x10\x0c\x10\x0c0\x0c0\x0c0\x080\x180\x18088x\x1f\xd8\x0f\x90\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x000\x0c0\x0c0\x180\x18\x100\x100\x18`\x18`\x18\xc0\x08\xc0\t\x80\r\x80\x0f\x00\x0f\x00\x06\x00\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x15\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x000\x18\x1808\x1808\x100x0\x10H0\x10\xc8`\x10\xc8`\x10\x88@\x11\x88\xc0\x19\x0c\x80\x1b\r\x80\x1a\r\x00\x1e\x07\x00\x1c\x07\x00\x0c\x06\x00\x08\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x0e\x0c\x0c\x0c\x18\x040\x06`\x02`\x03\xc0\x01\x80\x03\x80\x06\x80\x06\xc0\x0c@\x18`0 p0\xe0\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x06\x18\x06\x18\x0c\x08\x0c\x08\x18\x0c\x18\x0c0\x0c0\x04`\x04`\x06\xc0\x06\xc0\x07\x80\x03\x00\x03\x00\x02\x00\x06\x00\x04\x00\x0c\x00\x18\x00\xf8\x00\xe0\x00\x00\x00\x0e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1f\xfc?\xf8\x00\x18\x000\x00`\x00\xc0\x01\x80\x03\x00\x06\x00\x0c\x00\x18\x000\x00`\x00`\x00\xff\xf0\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x00`\x00\xc0\x01\x80\x03\x00\x02\x00\x06\x00\x06\x00\x06\x00\x06\x00\x04\x00\x0c\x00\x0c\x00\x0c\x00\x18\x00p\x00p\x000\x00\x18\x00\x18\x00\x18\x00\x18\x00\x18\x00\x10\x00\x10\x00\x10\x00\x18\x00\x18\x00\x0c\x00\x06\x00\x00\x00\x06\x00\x00\x00\x00\x0c\x0c\x08\x08\x08\x18\x18\x18\x10\x10\x10\x10000 ```@@@\xc0\x00\x00\x00\x0b\x00\x00\x00\x08\x00\x06\x00\x02\x00\x03\x00\x03\x00\x03\x00\x03\x00\x03\x00\x03\x00\x03\x00\x03\x00\x03\x00\x03\x00\x03\x80\x01\xc0\x01\xc0\x03\x00\x06\x00\x04\x00\x04\x00\x0c\x00\x0c\x00\x0c\x00\x0c\x00\x08\x00\x18\x000\x00`\x00\x80\x00\x00\x00\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x80\x1f\xc0\x800\xe1\x80 \x7f\x00`\x1e\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
_index = b'\x00\x00@\x00a\x00\x82\x00\xc2\x00!\x01a\x01\xc0\x01\x1f\x02@\x02\x80\x02\xc0\x02\x00\x03@\x03a\x03\x82\x03\xa3\x03\xe3\x03#\x04c\x04\xa3\x04\xe3\x04#\x05c\x05\xa3\x05\xe3\x05#\x06c\x06\x84\x06\xa5\x06\xe5\x06%\x07e\x07\xa5\x07#\x08\x82\x08\xe1\x08@\t\x9f\t\xfe\t]\n\xbc\n\x1b\x0b<\x0b|\x0b\xdb\x0b\x1b\x0cz\x0c\xd9\x0c8\r\x97\r\xf6\rU\x0e\xb4\x0e\x13\x0fr\x0f\xd1\x0fO\x10\xae\x10\r\x11l\x11\xac\x11\xec\x11,\x12l\x12\xac\x12\xcd\x12\r\x13M\x13\x8d\x13\xcd\x13\r\x14M\x14\x8d\x14\xcd\x14\xee\x14.\x15n\x15\x8f\x15\r\x16M\x16\x8d\x16\xcd\x16\r\x17M\x17\x8d\x17\xcd\x17\r\x18M\x18\xac\x18\xec\x18,\x19l\x19\xac\x19\xcd\x19\r\x1al\x1a'
_mvfont = memoryview(_font)
_mvi = memoryview(_index)
ifb = lambda l: l[0] | l[1] << 8
def get_ch(ch):
oc = ord(ch)
ioff = 2 * (oc - 32 + 1) if oc >= 32 and oc <= 126 else 0
doff = ifb(_mvi[ioff:])
width = ifb(_mvfont[doff:])
next_offs = doff + 2 + ((width - 1) // 8 + 1) * 31
return (_mvfont[doff + 2:next_offs], 31, width) |
# Declaracion de operaciones
def swap(a, b):
''' Recibe dos elementos y los intercambia '''
aux = a
a = b
b = aux
return (a, b)
def main():
''' Cuerpo principal '''
# Entrada
a = input('Ingrese el valor de a: ')
b = input('Ingrese el valor de b: ')
# Proceso
print('Antes: a = {}, b = {}'.format(a, b))
a, b = swap(a, b)
# Salida
print('Antes: a = {}, b = {}'.format(a, b))
if __name__ == '__main__':
main() | def swap(a, b):
""" Recibe dos elementos y los intercambia """
aux = a
a = b
b = aux
return (a, b)
def main():
""" Cuerpo principal """
a = input('Ingrese el valor de a: ')
b = input('Ingrese el valor de b: ')
print('Antes: a = {}, b = {}'.format(a, b))
(a, b) = swap(a, b)
print('Antes: a = {}, b = {}'.format(a, b))
if __name__ == '__main__':
main() |
# El * se usa para indicarle una cantidad indefinida
def devuelveSubElementos(*elementos):
for iterador in elementos:
# Devuelve un subelemento del elemento elemento dado
yield from iterador
nombres = devuelveSubElementos("John", "Doe")
# Imprime los sub elementos del primer elemento
print(next(nombres))
| def devuelve_sub_elementos(*elementos):
for iterador in elementos:
yield from iterador
nombres = devuelve_sub_elementos('John', 'Doe')
print(next(nombres)) |
sample_rate = 16000
content_factor = 5 * 1e-9
loudness_factor = 0
style_factor = 1
variation_factor = 0
zero_factor = 0
fft_size = 1024
| sample_rate = 16000
content_factor = 5 * 1e-09
loudness_factor = 0
style_factor = 1
variation_factor = 0
zero_factor = 0
fft_size = 1024 |
# The if and else blocks allow us to branch execution depending on
# whether a condition is true or false. But what if there are more conditions
# to take into account? This is where the elif statement, which is short for
# else if, comes into play. But before we jump into how to use it, let's take a
# look at why we need it in the first place. Let's go back to our trusty
# username validation example. Now, what if your company also had a rule
# that usernames longer than 15 characters aren't allowed? How could we
# let the user know if their chosen username was too long? We could do it
# like this. In this case, we're adding an extra if block inside the else block.
# This work, but the way the code is nested makes it kind of hard to read. To
# avoid unnecessary nesting and make the code clearer. Python gives us the
# elif keyword, which lets us handle more than two comparison cases. Take a
# look. The elif statement looks very similar to the if statement. It's followed
# by a condition and a colon, and a block of code indented to the right that
# forms the body. The condition must be true for the body of the elif block to
# be executed. The main difference between elif and if statements is we can
# only write an elif block as a companion to an if block. That's because the
# condition of the elif statement will only be checked if the condition of the if
# statement wasn't true. So in this example, the program first checks
# whether the username is less than three characters long, and prints a
# message if that's the case. If the username has at least three characters,
# the program then checks if it's longer than 15 characters. If it is, we get a
# message to tell us that. Finally, if none of the above conditions were met,
# the program prints a message indicating that the username is valid.
# There's no limit to how many conditions we can add, and it's easy to
# include new ones. For example, say the company decided that the
# username shouldn't include numbers. We could easily add an extra elif
# condition to check for this. Cool, right?
# You now know how to compare things and use those comparisons for your
# if, elif, else statements. And you are using all of them inside functions.
# Using branching to determine your program's flow opens up a whole new
# realm of possibilities in your scripts. You can use comparisons to pick
# between executing different pieces of code, which makes your script pretty
# flexible. Branching also helps you do all kind of practical things like only
# backing up files with a certain extension, or only allowing login access to a
# server during certain times of the day. Any time your program needs to
# make a decision, you can specify its behavior with a branching statement.
# Are you starting to notice tasks in your day-to-day that could be made
# more efficient with scripting? There's so many possibilities, and we're only
# just getting started will all the cool stuff programming can help you do.
# Wow, we've covered a lot in these last few videos. Remembering all these
# concepts can take some time, and the best way to learn them is to use
# them. So we've put together a cheat sheet for you in the next reading.
# You'll find all the these operators and branching blocks listed there in one
# handy resource. It's super useful when you need a quick refresher. So no
# skipping the reading.
# The number_group function should return "Positive" if the number received is positive,
# "Negative" if it's a negative, and "Zero" if it's 0. Can you fill in the gaps to make
# that happen?
def number_group(number):
if number > 0:
return "Positive"
elif number < 0:
return "Negative"
else:
return "Zero"
| def number_group(number):
if number > 0:
return 'Positive'
elif number < 0:
return 'Negative'
else:
return 'Zero' |
N,x=map(int,input().split())
A=list(map(int,input().split()))+[0]
ans=0
for i in range(N):
eated=max(0,A[i]+A[i-1]-x)
ans+=eated
A[i]-=eated
print(ans) | (n, x) = map(int, input().split())
a = list(map(int, input().split())) + [0]
ans = 0
for i in range(N):
eated = max(0, A[i] + A[i - 1] - x)
ans += eated
A[i] -= eated
print(ans) |
# 5. Pounds to Dollars
# Write a program that converts British pounds to US dollars formatted to the 3th decimal point.
# 1 British Pound = 1.31 Dollars
pound = int(input())
dollars = pound * 1.31
print(f'{dollars:.3f}')
| pound = int(input())
dollars = pound * 1.31
print(f'{dollars:.3f}') |
class I2C():
def __init__(self, interfaceNo):
self.interfaceNo = interfaceNo
self._read_result = {}
self._read_arguments = {}
self._write_arguments = {}
def set_readfrom_mem_result(self, register, result_bytes):
self._read_result[register] = result_bytes
def readfrom_mem(self, address, register, bytes):
self._read_arguments[register] = [address, register, bytes]
return self._read_result[register]
def get_readfrom_mem_arguments(self, register):
return self._read_arguments[register]
def writeto_mem(self, address, register, register_bytes):
self._write_arguments[register] = [address, register_bytes]
def get_writeto_mem_arguments(self, register):
return self._write_arguments[register]
| class I2C:
def __init__(self, interfaceNo):
self.interfaceNo = interfaceNo
self._read_result = {}
self._read_arguments = {}
self._write_arguments = {}
def set_readfrom_mem_result(self, register, result_bytes):
self._read_result[register] = result_bytes
def readfrom_mem(self, address, register, bytes):
self._read_arguments[register] = [address, register, bytes]
return self._read_result[register]
def get_readfrom_mem_arguments(self, register):
return self._read_arguments[register]
def writeto_mem(self, address, register, register_bytes):
self._write_arguments[register] = [address, register_bytes]
def get_writeto_mem_arguments(self, register):
return self._write_arguments[register] |
# List variables are iterable and hold elements in series
shopping_list = ["Tomatoes", "Bananas", "Crackers",
"Sugar", "Icecream", "Bread", "Bananas", "Chocolate"]
print(f"Here's the shopping list:\n{shopping_list}.\n")
# You can count the number of items in a list
num_items = len(shopping_list)
print(f"There are {num_items} things on it.")
# You can also count the number of times a given string appears
# This is case-sensitive, so "bananas" with a lowercase "b" won't work
bananas_count = shopping_list.count('Bananas')
print(f"\"Bananas\" is there {bananas_count} times, for some reason.\n")
# Use sort() to re-order the list. Note that you don't need a new variable
# to store the result in; the sort() method modifies the existing variable.
# Good explanation here: http://opensask.ca/Python/Lists/ListMethods.html#id1
shopping_list.sort()
print("Now the list is in alphabetical order:")
print(shopping_list)
# There's also an append() method:
shopping_list.append("Milk")
print("\nAfter adding milk, the list looks like this:")
print(shopping_list)
| shopping_list = ['Tomatoes', 'Bananas', 'Crackers', 'Sugar', 'Icecream', 'Bread', 'Bananas', 'Chocolate']
print(f"Here's the shopping list:\n{shopping_list}.\n")
num_items = len(shopping_list)
print(f'There are {num_items} things on it.')
bananas_count = shopping_list.count('Bananas')
print(f'"Bananas" is there {bananas_count} times, for some reason.\n')
shopping_list.sort()
print('Now the list is in alphabetical order:')
print(shopping_list)
shopping_list.append('Milk')
print('\nAfter adding milk, the list looks like this:')
print(shopping_list) |
class HaydiException(BaseException):
pass
class TimeoutException(HaydiException):
pass
| class Haydiexception(BaseException):
pass
class Timeoutexception(HaydiException):
pass |
#map(funcao, *sequencia de args) --> Object map
def qua(x): return x**2
mapa = map(qua, [1, 2, 3, 4, 5])
listmap = list(map(qua, [1, 2, 3, 4, 5]))
ran = tuple(map(qua, range(10)))
lamb = list(map(lambda x: x**3, range(10)))
print(f'''
map(...) = {mapa}\n
list(map(...)) = {listmap}\n
tuple(map(..., range(10))) = {ran}\n
map(funcao lambda, ...) = {lamb}\n
''')
| def qua(x):
return x ** 2
mapa = map(qua, [1, 2, 3, 4, 5])
listmap = list(map(qua, [1, 2, 3, 4, 5]))
ran = tuple(map(qua, range(10)))
lamb = list(map(lambda x: x ** 3, range(10)))
print(f'\nmap(...) = {mapa}\n\nlist(map(...)) = {listmap}\n\ntuple(map(..., range(10))) = {ran}\n\nmap(funcao lambda, ...) = {lamb}\n\n ') |
# Your Romeo API key, required for accessing the FACT API
# override this in your local config
ROMEO_API_KEY = ""
# Base URL for requests against the FACT API
FACT_BASE_URL = "http://www.sherpa.ac.uk/fact/api-beta"
CLIENTJS_FACT_PROXY_ENDPOINT = "/fact"
| romeo_api_key = ''
fact_base_url = 'http://www.sherpa.ac.uk/fact/api-beta'
clientjs_fact_proxy_endpoint = '/fact' |
class AssignmentCode:
def __init__(self,var,left,op=None,right=None):
self.var = var
self.left = left
self.op = op
self.right = right
def __str__(self):
if(self.op==None):
return f'{self.var} = {self.left}'
return f'{self.var} = {self.left}{self.op}{self.right}'
class ChangeCode:
def __init__(self,var,op,right):
self.var = var
self.op = op
self.right = right
def __str__(self):
return f'{self.var} {self.op}= {self.right}'
class JumbCode:
def __init__(self,dist):
self.dist = dist
def __str__(self):
return f"GOTO({self.dist})"
class LabelCode:
def __init__(self,label):
self.label = label
def __str__(self):
return f'{self.label} : '
class DeclareCode:
def __init__(self,name,bytes):
self.name=name
self.bytes = bytes
def __str__(self):
return f'Declare {self.name} {self.bytes} bytes'
class CompareCode:
def __init__(self,left,operation,right,jump):
self.left = left
self.operation = operation
self.right = right
self.jump = jump
def __str__(self):
return f"if {self.left}{self.operation}{self.right} GOTO({self.jump})"
class PrintCode:
def __init__(self,type,value):
self.type=type
self.value=value
def __str__(self):
return f'print_{self.type} {self.value}'
class InterCodeArray:
def __init__(self):
self.code=[]
def append(self,n):
self.code.append(n)
def push(self):
pass
def print_extra(self):
for i in self.code:
print(i)
def combine_next(self,i):
if(i+1<len(self.code)):
s = self.code.pop(i+1)
self.code[i].str_rep += s.str_rep
self.code[i].type = s.type
| class Assignmentcode:
def __init__(self, var, left, op=None, right=None):
self.var = var
self.left = left
self.op = op
self.right = right
def __str__(self):
if self.op == None:
return f'{self.var} = {self.left}'
return f'{self.var} = {self.left}{self.op}{self.right}'
class Changecode:
def __init__(self, var, op, right):
self.var = var
self.op = op
self.right = right
def __str__(self):
return f'{self.var} {self.op}= {self.right}'
class Jumbcode:
def __init__(self, dist):
self.dist = dist
def __str__(self):
return f'GOTO({self.dist})'
class Labelcode:
def __init__(self, label):
self.label = label
def __str__(self):
return f'{self.label} : '
class Declarecode:
def __init__(self, name, bytes):
self.name = name
self.bytes = bytes
def __str__(self):
return f'Declare {self.name} {self.bytes} bytes'
class Comparecode:
def __init__(self, left, operation, right, jump):
self.left = left
self.operation = operation
self.right = right
self.jump = jump
def __str__(self):
return f'if {self.left}{self.operation}{self.right} GOTO({self.jump})'
class Printcode:
def __init__(self, type, value):
self.type = type
self.value = value
def __str__(self):
return f'print_{self.type} {self.value}'
class Intercodearray:
def __init__(self):
self.code = []
def append(self, n):
self.code.append(n)
def push(self):
pass
def print_extra(self):
for i in self.code:
print(i)
def combine_next(self, i):
if i + 1 < len(self.code):
s = self.code.pop(i + 1)
self.code[i].str_rep += s.str_rep
self.code[i].type = s.type |
# -*- coding: utf-8 -*-
class Animal:
pass
class Dog(Animal):
def __init__(self,name):
self.name=name
class Cat(Animal):
def __init__(self,name):
self.name=name
class Person:
def __init__(self,name):
self.name=name
self.pet=None
class Employee(Person):
def __init__(self,name,salary):
super(Employee, self).__init__(name)
self.salary=salary
if __name__=="__main__":
dog_rover=Dog("Rover")
cat_satan=Cat("Satan")
mary=Person("Mary")
mary.pet=cat_satan
frank=Employee("Frank",200000) | class Animal:
pass
class Dog(Animal):
def __init__(self, name):
self.name = name
class Cat(Animal):
def __init__(self, name):
self.name = name
class Person:
def __init__(self, name):
self.name = name
self.pet = None
class Employee(Person):
def __init__(self, name, salary):
super(Employee, self).__init__(name)
self.salary = salary
if __name__ == '__main__':
dog_rover = dog('Rover')
cat_satan = cat('Satan')
mary = person('Mary')
mary.pet = cat_satan
frank = employee('Frank', 200000) |
SEARCH_PARAMS = {
"Sect1": "PTO2",
"Sect2": "HITOFF",
"u": "/netahtml/PTO/search-adv.htm",
"r": "0",
"p": "1",
"f": "S",
"l": "50",
"Query": "",
"d": "PTXT",
}
SEARCH_FIELDS = {
"patent_number": "PN",
"issue_date": "ISD",
"title": "TTL",
"abstract": "ABST",
"claims": "ACLM",
"specification": "SPEC",
"current_us_classification": "CCL",
"current_cpc_classification": "CPC",
"current_cpc_classification_class": "CPCL",
"international_classification": "ICL",
"application_serial_number": "APN",
"application_date": "APD",
"application_type": "APT",
"government_interest": "GOVT",
"patent_family_id": "FMID",
"parent_case_information": "PARN",
"related_us_app._data": "RLAP",
"related_application_filing_date": "RLFD",
"foreign_priority": "PRIR",
"priority_filing_date": "PRAD",
"pct_information": "PCT",
"pct_filing_date": "PTAD",
"pct_national_stage_filing_date": "PT3D",
"prior_published_document_date": "PPPD",
"reissue_data": "REIS",
"reissued_patent_application_filing_date": "RPAF",
"130_b_affirmation_flag": "AFFF",
"130_b_affirmation_statement": "AFFT",
"inventor_name": "IN",
"inventor_city": "IC",
"inventor_state": "IS",
"inventor_country": "ICN",
"applicant_name": "AANM",
"applicant_city": "AACI",
"applicant_state": "AAST",
"applicant_country": "AACO",
"applicant_type": "AAAT",
"attorney_or_agent": "LREP",
"assignee_name": "AN",
"assignee_city": "AC",
"assignee_state": "AS",
"assignee_country": "ACN",
"primary_examiner": "EXP",
"assistant_examiner": "EXA",
"referenced_by": "REF",
"foreign_references": "FREF",
"other_references": "OREF",
"certificate_of_correction": "COFC",
"reexamination_certificate": "REEX",
"ptab_trial_certificate": "PTAB",
"supplemental_exam_certificate": "SEC",
"international_registration_number": "ILRN",
"international_registration_date": "ILRD",
"international_registration_publication_date": "ILPD",
"hague_international_filing_date": "ILFD",
}
SEARCH_PARAMS = {
"Sect1": "PTO2",
"Sect2": "HITOFF",
"u": "/netahtml/PTO/search-adv.htm",
"r": "0",
"p": "1",
"f": "S",
"l": "50",
"Query": "",
"d": "PTXT",
}
SEARCH_URL = "https://patft.uspto.gov/netacgi/nph-Parser"
PUBLICATION_URL = (
"https://patft.uspto.gov/netacgi/nph-Parser?"
"Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&"
"u=%2Fnetahtml%2FPTO%2Fsrchnum.htm&r=1&f=G&l=50&s1={publication_number}.PN.&"
"OS=PN/{publication_number}&RS=PN/{publication_number}"
)
| search_params = {'Sect1': 'PTO2', 'Sect2': 'HITOFF', 'u': '/netahtml/PTO/search-adv.htm', 'r': '0', 'p': '1', 'f': 'S', 'l': '50', 'Query': '', 'd': 'PTXT'}
search_fields = {'patent_number': 'PN', 'issue_date': 'ISD', 'title': 'TTL', 'abstract': 'ABST', 'claims': 'ACLM', 'specification': 'SPEC', 'current_us_classification': 'CCL', 'current_cpc_classification': 'CPC', 'current_cpc_classification_class': 'CPCL', 'international_classification': 'ICL', 'application_serial_number': 'APN', 'application_date': 'APD', 'application_type': 'APT', 'government_interest': 'GOVT', 'patent_family_id': 'FMID', 'parent_case_information': 'PARN', 'related_us_app._data': 'RLAP', 'related_application_filing_date': 'RLFD', 'foreign_priority': 'PRIR', 'priority_filing_date': 'PRAD', 'pct_information': 'PCT', 'pct_filing_date': 'PTAD', 'pct_national_stage_filing_date': 'PT3D', 'prior_published_document_date': 'PPPD', 'reissue_data': 'REIS', 'reissued_patent_application_filing_date': 'RPAF', '130_b_affirmation_flag': 'AFFF', '130_b_affirmation_statement': 'AFFT', 'inventor_name': 'IN', 'inventor_city': 'IC', 'inventor_state': 'IS', 'inventor_country': 'ICN', 'applicant_name': 'AANM', 'applicant_city': 'AACI', 'applicant_state': 'AAST', 'applicant_country': 'AACO', 'applicant_type': 'AAAT', 'attorney_or_agent': 'LREP', 'assignee_name': 'AN', 'assignee_city': 'AC', 'assignee_state': 'AS', 'assignee_country': 'ACN', 'primary_examiner': 'EXP', 'assistant_examiner': 'EXA', 'referenced_by': 'REF', 'foreign_references': 'FREF', 'other_references': 'OREF', 'certificate_of_correction': 'COFC', 'reexamination_certificate': 'REEX', 'ptab_trial_certificate': 'PTAB', 'supplemental_exam_certificate': 'SEC', 'international_registration_number': 'ILRN', 'international_registration_date': 'ILRD', 'international_registration_publication_date': 'ILPD', 'hague_international_filing_date': 'ILFD'}
search_params = {'Sect1': 'PTO2', 'Sect2': 'HITOFF', 'u': '/netahtml/PTO/search-adv.htm', 'r': '0', 'p': '1', 'f': 'S', 'l': '50', 'Query': '', 'd': 'PTXT'}
search_url = 'https://patft.uspto.gov/netacgi/nph-Parser'
publication_url = 'https://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=%2Fnetahtml%2FPTO%2Fsrchnum.htm&r=1&f=G&l=50&s1={publication_number}.PN.&OS=PN/{publication_number}&RS=PN/{publication_number}' |
class Params:
DATA_PATH = '../data/mimic-iii-clinical-database-1.4/NOTEEVENTS.csv'
# Table attributes
HADM_ID_STR = 'HADM_ID'
CATEGORY_STR = 'CATEGORY'
DESCRIPTION_STR = 'DESCRIPTION'
TEXT_STR = 'TEXT'
STORETIME_STR = 'STORETIME'
# Category attribute - table values
DISCHARGE_SUMMARY_CATEGORY_VALUE_STR = 'Discharge summary'
ECHO_CATEGORY_VALUE_STR = 'Echo'
ECG_CATEGORY_VALUE_STR = 'ECG'
NURSING_CATEGORY_VALUE_STR = 'Nursing'
PHYSICIAN_CATEGORY_VALUE_STR = 'Physician '
REHAB_SERVICES_CATEGORY_VALUE_STR = 'Rehab Services'
CASE_MANAGEMENT_CATEGORY_VALUE_STR = 'Case Management '
RESPIRATORY_CATEGORY_VALUE_STR = 'Respiratory '
NUTRITION_CATEGORY_VALUE_STR = 'Nutrition'
GENERAL_CATEGORY_VALUE_STR = 'General'
SOCIAL_WORK_CATEGORY_VALUE_STR = 'Social Work'
PHARMACY_CATEGORY_VALUE_STR = 'Pharmacy'
CONSULT_CATEGORY_VALUE_STR = 'Consult'
RADIOLOGY_CATEGORY_VALUE_STR = 'Radiology'
NURSING_OTHER_CATEGORY_VALUE_STR = 'Nursing/other'
OTHER_VALUES_CATEGORY_STR_LIST = ['Echo', 'ECG', 'Nursing', 'Physician ', 'Rehab Services',
'Case Management ', 'Respiratory ', 'Nutrition', 'General', 'Social Work',
'Pharmacy', 'Consult', 'Radiology', 'Nursing/other']
| class Params:
data_path = '../data/mimic-iii-clinical-database-1.4/NOTEEVENTS.csv'
hadm_id_str = 'HADM_ID'
category_str = 'CATEGORY'
description_str = 'DESCRIPTION'
text_str = 'TEXT'
storetime_str = 'STORETIME'
discharge_summary_category_value_str = 'Discharge summary'
echo_category_value_str = 'Echo'
ecg_category_value_str = 'ECG'
nursing_category_value_str = 'Nursing'
physician_category_value_str = 'Physician '
rehab_services_category_value_str = 'Rehab Services'
case_management_category_value_str = 'Case Management '
respiratory_category_value_str = 'Respiratory '
nutrition_category_value_str = 'Nutrition'
general_category_value_str = 'General'
social_work_category_value_str = 'Social Work'
pharmacy_category_value_str = 'Pharmacy'
consult_category_value_str = 'Consult'
radiology_category_value_str = 'Radiology'
nursing_other_category_value_str = 'Nursing/other'
other_values_category_str_list = ['Echo', 'ECG', 'Nursing', 'Physician ', 'Rehab Services', 'Case Management ', 'Respiratory ', 'Nutrition', 'General', 'Social Work', 'Pharmacy', 'Consult', 'Radiology', 'Nursing/other'] |
class MockError(object):
def __init__(self, status, reason):
self.status = status
self.reason = reason
self.extra = {'retry_after': 9, 'retry_limit': 10}
def resolve_submitted(error_message, name):
return MockError('submitted', 'a reason')
def resolve_unavailable(error_message, name):
return MockError('unavailable', 'a reason')
def resolve_retry(error_message, name):
return MockError('retry', 'a reason')
| class Mockerror(object):
def __init__(self, status, reason):
self.status = status
self.reason = reason
self.extra = {'retry_after': 9, 'retry_limit': 10}
def resolve_submitted(error_message, name):
return mock_error('submitted', 'a reason')
def resolve_unavailable(error_message, name):
return mock_error('unavailable', 'a reason')
def resolve_retry(error_message, name):
return mock_error('retry', 'a reason') |
with open("data.txt", 'w') as f:
f.write("2 10 1 2 10\n")
f.writelines(["1 2 1\n" for i in range(5)] + ["2 1 1\n" for i in range(5)])
# f.write("1 2 2\n")
| with open('data.txt', 'w') as f:
f.write('2 10 1 2 10\n')
f.writelines(['1 2 1\n' for i in range(5)] + ['2 1 1\n' for i in range(5)]) |
def str_to_bool(x):
x = str(x)
return x.lower() in ('true', 't', 'yes', 'y', '1')
| def str_to_bool(x):
x = str(x)
return x.lower() in ('true', 't', 'yes', 'y', '1') |
DEFAULT_ENDPOINTS_PATH = "endpoints.yml"
DEFAULT_CREDENTIALS_PATH = "credentials.yml"
DEFAULT_CONFIG_PATH = "config.yml"
DEFAULT_DOMAIN_PATH = "domain.yml"
DEFAULT_ACTIONS_PATH = "actions"
DEFAULT_MODELS_PATH = "models"
DEFAULT_DATA_PATH = "data"
DEFAULT_RESULTS_PATH = "results"
| default_endpoints_path = 'endpoints.yml'
default_credentials_path = 'credentials.yml'
default_config_path = 'config.yml'
default_domain_path = 'domain.yml'
default_actions_path = 'actions'
default_models_path = 'models'
default_data_path = 'data'
default_results_path = 'results' |
#grid setup
path = 'out'
Nx = 20
Ny = 20
NxCell = 2
NyCell = 2
xmin = ymin = 0.0
xmax = ymax = 1.0
| path = 'out'
nx = 20
ny = 20
nx_cell = 2
ny_cell = 2
xmin = ymin = 0.0
xmax = ymax = 1.0 |
a=str(input("Enter the string:"))
b=a.split()
b.sort()
print("The sorted words are:")
for i in b:
print(i)
| a = str(input('Enter the string:'))
b = a.split()
b.sort()
print('The sorted words are:')
for i in b:
print(i) |
# pull an actual user out of the db to associate with these ideas
ideas =[
{
'users_id': 1,
'title':'My color pallete for my home',
"description":'Here is the color pallete for my apartment',
'image_url':'https://i.pinimg.com/564x/8c/f0/60/8cf06020e82ca94ddd8f65b990e84621.jpg',
'label':'public',
'vote': 1
},
{
'users_id': 2,
'title':'My next house',
"description":'this is the plan for the next house i am going to build',
'image_url':'https://i.pinimg.com/564x/d2/f6/06/d2f606c5bd27ef8ee95c1252da7cd6f4.jpg',
'label':'public',
'vote': 1
},
{
'users_id': 3,
'title':'My new project',
"description":'I want to write a book',
'image_url':'https://i.pinimg.com/564x/c9/99/3c/c9993c6c4093d50745f8cbc5335196ac.jpg',
'label':'public',
'vote':1
},
{
'users_id': 1,
'title':'My new project',
"description":'Oxygen',
'image_url':'https://i.pinimg.com/564x/41/c8/d7/41c8d7be885cd2821a0c43a2dfe07fa4.jpg',
'label':'public',
'vote': 1
},
{
'users_id': 1,
'title':'My new Robot',
"description":'My sketch for my new robot',
'image_url':'https://i.pinimg.com/564x/4a/4f/13/4a4f1309e25ec0608d6bbab6866c9f6b.jpg',
'label':'public',
'vote': 1
},
{
'users_id': 1,
'title':'My new sketch for my new Robots',
"description":'My sketch for my new robot',
'image_url':'https://i.pinimg.com/564x/48/6f/1c/486f1cd842253e8e085adf5410683e8f.jpg',
'label':'public',
'vote': 1
},
{
'users_id': 1,
'title':'My new jacket design',
"description":'My sketch for my new jacket',
'image_url':'https://i.pinimg.com/564x/13/fc/8e/13fc8ee5b5a697ac547faa29f36fa0b1.jpg',
'label':'public',
'vote':1
},
{
'users_id': 2,
'title':'Shelter on Mars',
"description":'this is the design of a shelter on Marse',
'image_url':'https://i.pinimg.com/564x/a0/45/cf/a045cf3d2a55055469c2dc2781ffd8f9.jpg',
'label':'public',
'vote':1
},
{
'users_id': 3,
'title':'Shelter on Mars',
"description":'this is the design of a shelter on Marse',
'image_url':'https://i.pinimg.com/564x/a0/45/cf/a045cf3d2a55055469c2dc2781ffd8f9.jpg',
'label':'public',
'vote':1
}
]
| ideas = [{'users_id': 1, 'title': 'My color pallete for my home', 'description': 'Here is the color pallete for my apartment', 'image_url': 'https://i.pinimg.com/564x/8c/f0/60/8cf06020e82ca94ddd8f65b990e84621.jpg', 'label': 'public', 'vote': 1}, {'users_id': 2, 'title': 'My next house', 'description': 'this is the plan for the next house i am going to build', 'image_url': 'https://i.pinimg.com/564x/d2/f6/06/d2f606c5bd27ef8ee95c1252da7cd6f4.jpg', 'label': 'public', 'vote': 1}, {'users_id': 3, 'title': 'My new project', 'description': 'I want to write a book', 'image_url': 'https://i.pinimg.com/564x/c9/99/3c/c9993c6c4093d50745f8cbc5335196ac.jpg', 'label': 'public', 'vote': 1}, {'users_id': 1, 'title': 'My new project', 'description': 'Oxygen', 'image_url': 'https://i.pinimg.com/564x/41/c8/d7/41c8d7be885cd2821a0c43a2dfe07fa4.jpg', 'label': 'public', 'vote': 1}, {'users_id': 1, 'title': 'My new Robot', 'description': 'My sketch for my new robot', 'image_url': 'https://i.pinimg.com/564x/4a/4f/13/4a4f1309e25ec0608d6bbab6866c9f6b.jpg', 'label': 'public', 'vote': 1}, {'users_id': 1, 'title': 'My new sketch for my new Robots', 'description': 'My sketch for my new robot', 'image_url': 'https://i.pinimg.com/564x/48/6f/1c/486f1cd842253e8e085adf5410683e8f.jpg', 'label': 'public', 'vote': 1}, {'users_id': 1, 'title': 'My new jacket design', 'description': 'My sketch for my new jacket', 'image_url': 'https://i.pinimg.com/564x/13/fc/8e/13fc8ee5b5a697ac547faa29f36fa0b1.jpg', 'label': 'public', 'vote': 1}, {'users_id': 2, 'title': 'Shelter on Mars', 'description': 'this is the design of a shelter on Marse', 'image_url': 'https://i.pinimg.com/564x/a0/45/cf/a045cf3d2a55055469c2dc2781ffd8f9.jpg', 'label': 'public', 'vote': 1}, {'users_id': 3, 'title': 'Shelter on Mars', 'description': 'this is the design of a shelter on Marse', 'image_url': 'https://i.pinimg.com/564x/a0/45/cf/a045cf3d2a55055469c2dc2781ffd8f9.jpg', 'label': 'public', 'vote': 1}] |
word = input()
word_list = list(word)
reduce = []
pattern = int(input())
for index, letter in enumerate(word):
counter = 0
oindex=index
for i in range(pattern):
if index > (len(word)-1):
counter = 1
break
if letter == word[index]:
counter == 0
else:
counter = 1
index+=1
if not(index > len(word)-1):
if letter == word[index]:
counter == 1
print('break{}'.format(oindex))
if counter == 0:
print('check{}'.format(oindex))
for j in range(pattern):
reduce.append(oindex)
oindex+=1
for i in reduce[::-1]:
word_list.pop(i)
print(''.join(word_list))
| word = input()
word_list = list(word)
reduce = []
pattern = int(input())
for (index, letter) in enumerate(word):
counter = 0
oindex = index
for i in range(pattern):
if index > len(word) - 1:
counter = 1
break
if letter == word[index]:
counter == 0
else:
counter = 1
index += 1
if not index > len(word) - 1:
if letter == word[index]:
counter == 1
print('break{}'.format(oindex))
if counter == 0:
print('check{}'.format(oindex))
for j in range(pattern):
reduce.append(oindex)
oindex += 1
for i in reduce[::-1]:
word_list.pop(i)
print(''.join(word_list)) |
with open('somefile.txt', 'a') as the_file:
with open("wider_face_train_bbx_gt.txt") as fp:
currentFileName = ""
nextFileName = 0
nextBoundry = 1
boundryStart = 0
isValidBoundry = False
wroteFileName = False
for i, line in enumerate(fp):
noBoundries = 0
if i == nextFileName:
# Get file name
currentFileName = line
wroteFileName = False
if i == nextBoundry:
# Process boundries
noBoundries = int(line)
if noBoundries == 0:
noBoundries = 1
isValidBoundry = False
elif noBoundries == 1:
isValidBoundry = True
else:
isValidBoundry = False
nextBoundry = i+2+noBoundries
nextFileName = i+1+noBoundries
# if isValidBoundry:
# the_file.write(currentFileName + "\n")
# the_file.write(str(noBoundries) + "\n")
if i+1< nextBoundry:
# Write boundries
if isValidBoundry:
if wroteFileName == False:
the_file.write(currentFileName)
wroteFileName = True
the_file.write(line)
| with open('somefile.txt', 'a') as the_file:
with open('wider_face_train_bbx_gt.txt') as fp:
current_file_name = ''
next_file_name = 0
next_boundry = 1
boundry_start = 0
is_valid_boundry = False
wrote_file_name = False
for (i, line) in enumerate(fp):
no_boundries = 0
if i == nextFileName:
current_file_name = line
wrote_file_name = False
if i == nextBoundry:
no_boundries = int(line)
if noBoundries == 0:
no_boundries = 1
is_valid_boundry = False
elif noBoundries == 1:
is_valid_boundry = True
else:
is_valid_boundry = False
next_boundry = i + 2 + noBoundries
next_file_name = i + 1 + noBoundries
if i + 1 < nextBoundry:
if isValidBoundry:
if wroteFileName == False:
the_file.write(currentFileName)
wrote_file_name = True
the_file.write(line) |
class Cat:
def __init__(self, new_name, new_age):
self.name = new_name
self.age = new_age
def __str__(self):
return "name: %s, age: %d." % (self.name, self.age)
def eat(self):
print("%s eat fish." % self.name)
def drink(self):
print("%s is drinking Cola..." % self.name)
def introduce(self):
print("name: %s, age: %d.." % (self.name, self.age))
tom = Cat("Tom", 30)
print(tom)
| class Cat:
def __init__(self, new_name, new_age):
self.name = new_name
self.age = new_age
def __str__(self):
return 'name: %s, age: %d.' % (self.name, self.age)
def eat(self):
print('%s eat fish.' % self.name)
def drink(self):
print('%s is drinking Cola...' % self.name)
def introduce(self):
print('name: %s, age: %d..' % (self.name, self.age))
tom = cat('Tom', 30)
print(tom) |
def abc(base,powe):
result = 1
for index in range(powe):
result = result * base
return result
def add(a,b):
sumb = a + b
return sumb
print(abc( int(input("Enter the base num : ")),int(input("Enter the power num : "))))
print(add( int(input("Enter num1 : ")),int(input("Enter num2 : ")))) | def abc(base, powe):
result = 1
for index in range(powe):
result = result * base
return result
def add(a, b):
sumb = a + b
return sumb
print(abc(int(input('Enter the base num : ')), int(input('Enter the power num : '))))
print(add(int(input('Enter num1 : ')), int(input('Enter num2 : ')))) |
description = 'Stanford SR-850 lock-in amplifier, for susceptibility measurements'
group = 'optional'
includes = ['base']
tango_base = 'tango://miractrl.mira.frm2:10000/mira/'
devices = dict(
M = device('nicos_mlz.mira.devices.sr850.Amplifier',
description = 'SR850 lock-in amplifier',
tangodevice = tango_base + 'sr850/io',
),
M2 = device('nicos_mlz.mira.devices.sr850.Amplifier',
description = 'SR850 lock-in amplifier',
tangodevice = tango_base + 'sr850/io2',
),
)
startupcode = '''
SetDetectors(M, M2)
'''
| description = 'Stanford SR-850 lock-in amplifier, for susceptibility measurements'
group = 'optional'
includes = ['base']
tango_base = 'tango://miractrl.mira.frm2:10000/mira/'
devices = dict(M=device('nicos_mlz.mira.devices.sr850.Amplifier', description='SR850 lock-in amplifier', tangodevice=tango_base + 'sr850/io'), M2=device('nicos_mlz.mira.devices.sr850.Amplifier', description='SR850 lock-in amplifier', tangodevice=tango_base + 'sr850/io2'))
startupcode = '\nSetDetectors(M, M2)\n' |
def getsidelen(num: int):
i = 3
while True:
if i*i > num:
return i
i += 2
# inp = 44
inp = 361527
steps = 0
field = getsidelen(inp)
print(field) # we need 603x603 fields = 363609
steps += field // 2 # steps to the center of 1 of the axis
diff = 0
mid1 = (field * field) - field // 2
diff = abs(inp - mid1)
for i in range(3): # which center is the nearest one?
mid1 -= (field - 1)
if abs(inp - mid1) < diff:
diff = abs(inp - mid1)
steps += diff # steps to center 2nd axis
print(steps)
| def getsidelen(num: int):
i = 3
while True:
if i * i > num:
return i
i += 2
inp = 361527
steps = 0
field = getsidelen(inp)
print(field)
steps += field // 2
diff = 0
mid1 = field * field - field // 2
diff = abs(inp - mid1)
for i in range(3):
mid1 -= field - 1
if abs(inp - mid1) < diff:
diff = abs(inp - mid1)
steps += diff
print(steps) |
class Solution:
def twoSum(self, nums: List[int], target: int) -> List[int]:
hashTable = dict()
for i in range(len(nums)):
delta = target - nums[i]
if delta in hashTable:
return (i, hashTable[delta])
else:
hashTable[nums[i]] = i
return None
| class Solution:
def two_sum(self, nums: List[int], target: int) -> List[int]:
hash_table = dict()
for i in range(len(nums)):
delta = target - nums[i]
if delta in hashTable:
return (i, hashTable[delta])
else:
hashTable[nums[i]] = i
return None |
class Solution:
# @param {integer[]} nums
# @return {integer[][]}
def permuteUnique(self, nums):
if len(nums) == 1:
return [nums]
nums.sort()
res = []
i = 0
while i < len(nums):
sym = nums[i]
tmp = nums[:i] + nums[i + 1:]
sub = self.permuteUnique(tmp)
res.extend([[nums[i]] + s for s in sub])
while i < len(nums):
if nums[i] != sym:
break
i += 1
return res
| class Solution:
def permute_unique(self, nums):
if len(nums) == 1:
return [nums]
nums.sort()
res = []
i = 0
while i < len(nums):
sym = nums[i]
tmp = nums[:i] + nums[i + 1:]
sub = self.permuteUnique(tmp)
res.extend([[nums[i]] + s for s in sub])
while i < len(nums):
if nums[i] != sym:
break
i += 1
return res |
def sumOfDigit(n):
if (n==0):
return 0
return(n%10+sumOfDigit(int(n/10)))
num=int(input("Enter number: "))
result=sumOfDigit(num)
print("Output:",result) | def sum_of_digit(n):
if n == 0:
return 0
return n % 10 + sum_of_digit(int(n / 10))
num = int(input('Enter number: '))
result = sum_of_digit(num)
print('Output:', result) |
valores = [334, 567, 435, 678]
print( max(valores) )#exibe valor mais alto
print( min(valores) )#exibe valor mais baixo
pares = list(range(0,100, 2))#listando pares
impar = list(range(1,101, 2))#listyando impares
print(pares)
print(impar)
for valor in pares:#iterando valores range
print(valor) | valores = [334, 567, 435, 678]
print(max(valores))
print(min(valores))
pares = list(range(0, 100, 2))
impar = list(range(1, 101, 2))
print(pares)
print(impar)
for valor in pares:
print(valor) |
#
# PySNMP MIB module REDLINE-AN80I-IF-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/REDLINE-AN80I-IF-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 20:46:51 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint")
redlineTransmission, = mibBuilder.importSymbols("REDLINE-MIB", "redlineTransmission")
NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup")
MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, Unsigned32, MibIdentifier, ObjectIdentity, Counter32, Bits, iso, IpAddress, ModuleIdentity, NotificationType, Counter64, TimeTicks, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "Unsigned32", "MibIdentifier", "ObjectIdentity", "Counter32", "Bits", "iso", "IpAddress", "ModuleIdentity", "NotificationType", "Counter64", "TimeTicks", "Gauge32")
DisplayString, RowStatus, TextualConvention, MacAddress = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TextualConvention", "MacAddress")
redlineAn80iIfMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2))
redlineAn80iIfMib.setRevisions(('2005-11-28 15:43',))
if mibBuilder.loadTexts: redlineAn80iIfMib.setLastUpdated('200511281543Z')
if mibBuilder.loadTexts: redlineAn80iIfMib.setOrganization('Redline Communications Inc.')
redlineAn80iIfPtpObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1))
redlineAn80iIfPtpLinkConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1))
an80iIfEncryptionControl = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("off", 1), ("redline", 2), ("aes128", 3), ("aes192", 4), ("aes256", 5)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: an80iIfEncryptionControl.setStatus('current')
an80iIfModReduction = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: an80iIfModReduction.setStatus('current')
an80iIfAdaptiveMod = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: an80iIfAdaptiveMod.setStatus('current')
an80iIfUncodedBurstRate = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setUnits('').setMaxAccess("readwrite")
if mibBuilder.loadTexts: an80iIfUncodedBurstRate.setStatus('current')
an80iIfEncryptionKey = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 5), OctetString()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: an80iIfEncryptionKey.setStatus('current')
an80iIfPacketRetransControl = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: an80iIfPacketRetransControl.setStatus('current')
an80iIfLinkLenMode = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("auto", 1), ("manual", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: an80iIfLinkLenMode.setStatus('current')
an80iIfLinkLength = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 8), Integer32()).setUnits('Km').setMaxAccess("readwrite")
if mibBuilder.loadTexts: an80iIfLinkLength.setStatus('current')
an80iIfCalcLinkDst = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 9), Integer32()).setUnits('Km').setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfCalcLinkDst.setStatus('current')
an80iIfLinkName = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: an80iIfLinkName.setStatus('current')
redlineAn80iIfPtpLinkStats = MibIdentifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2))
an80iIfCurrUncodedBurstRate = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 1), Unsigned32()).setUnits('').setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfCurrUncodedBurstRate.setStatus('current')
an80iIfPtpLinkStatus = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPtpLinkStatus.setStatus('current')
an80iIfRxPackets = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 3), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfRxPackets.setStatus('current')
an80iIfRxPacketsReTx = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfRxPacketsReTx.setStatus('current')
an80iIfRxPacketsDisc = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfRxPacketsDisc.setStatus('current')
an80iIfTxPackets = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfTxPackets.setStatus('current')
an80iIfTxPacketsReTx = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfTxPacketsReTx.setStatus('current')
an80iIfTxPacketsDisc = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 8), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfTxPacketsDisc.setStatus('current')
an80iIfRssiMin = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfRssiMin.setStatus('current')
an80iIfRssiMean = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfRssiMean.setStatus('current')
an80iIfRssiMax = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfRssiMax.setStatus('current')
an80iIfAvrSinAdr = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfAvrSinAdr.setStatus('current')
redlineAn80iIfPmpObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2))
redlineAn80iIfPmpSsObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 1))
an80iIfLastMissedMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 1, 1), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfLastMissedMacAddress.setStatus('current')
an80iIfLastRegistMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 1, 2), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfLastRegistMacAddress.setStatus('current')
an80iIfDenyMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 1, 3), MacAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: an80iIfDenyMacAddress.setStatus('current')
an80iIfLastRegistLinkId = MibScalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1023))).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfLastRegistLinkId.setStatus('current')
an80iIfPmpLinkConfigTable = MibTable((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2), )
if mibBuilder.loadTexts: an80iIfPmpLinkConfigTable.setStatus('current')
an80iIfPmpLinkConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1), ).setIndexNames((0, "REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkId"))
if mibBuilder.loadTexts: an80iIfPmpLinkConfigEntry.setStatus('current')
an80iIfPmpLinkId = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 1023)))
if mibBuilder.loadTexts: an80iIfPmpLinkId.setStatus('current')
an80iIfPmpLinkName = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpLinkName.setStatus('current')
an80iIfPmpLinkPeerMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 3), MacAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpLinkPeerMacAddress.setStatus('current')
an80iIfPmpLinkULBurstRate = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 4), Unsigned32()).setUnits('').setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpLinkULBurstRate.setStatus('current')
an80iIfPmpLinkDLBurstRate = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 5), Unsigned32()).setUnits('').setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpLinkDLBurstRate.setStatus('current')
an80iIfPmpLinkConfigStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 6), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpLinkConfigStatus.setStatus('current')
an80iIfPmpLinkStatsTable = MibTable((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3), )
if mibBuilder.loadTexts: an80iIfPmpLinkStatsTable.setStatus('current')
an80iIfPmpLinkStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1), ).setIndexNames((0, "REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkId"))
if mibBuilder.loadTexts: an80iIfPmpLinkStatsEntry.setStatus('current')
an80iIfPmpLinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkStatus.setStatus('current')
an80iIfPmpLinkStatusCode = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkStatusCode.setStatus('current')
an80iIfRegPmpLinkConns = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfRegPmpLinkConns.setStatus('current')
an80iIfPmpLinkUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 4), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkUpTime.setStatus('current')
an80iIfPmpLinkLostCount = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkLostCount.setStatus('current')
an80iIfPmpLinkCurrDLUncBurstRate = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 6), Unsigned32()).setUnits('').setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkCurrDLUncBurstRate.setStatus('current')
an80iIfPmpLinkDLRssi = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkDLRssi.setStatus('current')
an80iIfPmpLinkDLSinAdr = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkDLSinAdr.setStatus('current')
an80iIfPmpLinkDLLostFrm = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 9), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkDLLostFrm.setStatus('current')
an80iIfPmpLinkDLBlksTot = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 10), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkDLBlksTot.setStatus('current')
an80iIfPmpLinkDLBlksRetr = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkDLBlksRetr.setStatus('current')
an80iIfPmpLinkDLBlksDisc = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 12), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkDLBlksDisc.setStatus('current')
an80iIfPmpLinkCurrULUncBurstRate = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 13), Unsigned32()).setUnits('Mb/s').setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkCurrULUncBurstRate.setStatus('current')
an80iIfPmpLinkULRssi = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkULRssi.setStatus('current')
an80iIfPmpLinkULSinAdr = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkULSinAdr.setStatus('current')
an80iIfPmpLinkULLostFrm = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 16), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkULLostFrm.setStatus('current')
an80iIfPmpLinkULBlksTot = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 17), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkULBlksTot.setStatus('current')
an80iIfPmpLinkULBlksRetr = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 18), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkULBlksRetr.setStatus('current')
an80iIfPmpLinkULBlksDisc = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 19), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkULBlksDisc.setStatus('current')
an80iIfPmpLinkStatsStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 20), RowStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpLinkStatsStatus.setStatus('current')
an80iIfPmpGroupConfigTable = MibTable((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4), )
if mibBuilder.loadTexts: an80iIfPmpGroupConfigTable.setStatus('current')
an80iIfPmpGroupConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1), ).setIndexNames((0, "REDLINE-AN80I-IF-MIB", "an80iIfPmpGroupId"))
if mibBuilder.loadTexts: an80iIfPmpGroupConfigEntry.setStatus('current')
an80iIfPmpGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 1023)))
if mibBuilder.loadTexts: an80iIfPmpGroupId.setStatus('current')
an80iIfPmpGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpGroupName.setStatus('current')
an80iIfPmpGroupTaggingControl = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("passThrough", 1), ("tagged", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpGroupTaggingControl.setStatus('current')
an80iIfPmpGroupVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpGroupVlanId.setStatus('current')
an80iIfPmpGroupDefPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpGroupDefPriority.setStatus('current')
an80iIfPmpGroupSCEtherControl = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpGroupSCEtherControl.setStatus('current')
an80iIfPmpGroupQosLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 53))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpGroupQosLevel.setStatus('current')
an80iIfPmpGroupConfigStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 8), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpGroupConfigStatus.setStatus('current')
an80iIfPmpGroupRate = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8))).setUnits('').setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpGroupRate.setStatus('current')
an80iIfPmpGroupSStoSSMulticast = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setUnits('').setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpGroupSStoSSMulticast.setStatus('current')
an80iIfPmpGroupStatsTable = MibTable((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 5), )
if mibBuilder.loadTexts: an80iIfPmpGroupStatsTable.setStatus('current')
an80iIfPmpGroupStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 5, 1), ).setIndexNames((0, "REDLINE-AN80I-IF-MIB", "an80iIfPmpGroupId"))
if mibBuilder.loadTexts: an80iIfPmpGroupStatsEntry.setStatus('current')
an80iIfPmpGroupPacketsTx = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 5, 1, 1), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpGroupPacketsTx.setStatus('current')
an80iIfPmpGroupPacketDisc = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 5, 1, 2), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpGroupPacketDisc.setStatus('current')
an80iIfPmpGroupStatsStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 5, 1, 3), RowStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpGroupStatsStatus.setStatus('current')
an80iIfPmpConnConfigTable = MibTable((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6), )
if mibBuilder.loadTexts: an80iIfPmpConnConfigTable.setStatus('current')
an80iIfPmpConnConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1), ).setIndexNames((0, "REDLINE-AN80I-IF-MIB", "an80iIfPmpConnId"))
if mibBuilder.loadTexts: an80iIfPmpConnConfigEntry.setStatus('current')
an80iIfPmpConnId = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 1023)))
if mibBuilder.loadTexts: an80iIfPmpConnId.setStatus('current')
an80iIfPmpConnName = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpConnName.setStatus('current')
an80iIfPmpConnTaggingControl = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("passThrough", 1), ("tagged", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpConnTaggingControl.setStatus('current')
an80iIfPmpConnVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpConnVlanId.setStatus('current')
an80iIfPmpConnDefPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpConnDefPriority.setStatus('current')
an80iIfPmpConnDefParentLink = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 1023))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpConnDefParentLink.setStatus('current')
an80iIfPmpConnDefParenGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(4, 1023))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpConnDefParenGroup.setStatus('current')
an80iIfPmpConnDLQos = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 53))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpConnDLQos.setStatus('current')
an80iIfPmpConnULQos = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 53))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpConnULQos.setStatus('current')
an80iIfPmpConnConfigStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 10), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: an80iIfPmpConnConfigStatus.setStatus('current')
an80iIfPmpConnStatsTable = MibTable((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7), )
if mibBuilder.loadTexts: an80iIfPmpConnStatsTable.setStatus('current')
an80iIfPmpConnStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1), ).setIndexNames((0, "REDLINE-AN80I-IF-MIB", "an80iIfPmpConnId"))
if mibBuilder.loadTexts: an80iIfPmpConnStatsEntry.setStatus('current')
an80iIfPmpConnDLPacketsTx = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 1), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpConnDLPacketsTx.setStatus('current')
an80iIfPmpConnDLPacketsRx = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 2), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpConnDLPacketsRx.setStatus('current')
an80iIfPmpConnDLPacketsDisc = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 3), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpConnDLPacketsDisc.setStatus('current')
an80iIfPmpConnULPacketsTx = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpConnULPacketsTx.setStatus('current')
an80iIfPmpConnULPacketsRx = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpConnULPacketsRx.setStatus('current')
an80iIfPmpConnULPacketsDisc = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpConnULPacketsDisc.setStatus('current')
an80iIfPmpConnStatsStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 7), RowStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: an80iIfPmpConnStatsStatus.setStatus('current')
redlineAn80iIfTrapDefinitions = MibIdentifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 0))
an80iIfRegistrationFailedTrap = NotificationType((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 0, 1)).setObjects(("REDLINE-AN80I-IF-MIB", "an80iIfLastMissedMacAddress"))
if mibBuilder.loadTexts: an80iIfRegistrationFailedTrap.setStatus('current')
an80iIfRegistrationOKTrap = NotificationType((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 0, 2)).setObjects(("REDLINE-AN80I-IF-MIB", "an80iIfLastRegistMacAddress"))
if mibBuilder.loadTexts: an80iIfRegistrationOKTrap.setStatus('current')
redlineAn80iIfConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4))
redlineAn80iIfGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 1))
redlineAn80iIfCompls = MibIdentifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 2))
redlineAn80iIfPtpGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 1, 1)).setObjects(("REDLINE-AN80I-IF-MIB", "an80iIfEncryptionControl"), ("REDLINE-AN80I-IF-MIB", "an80iIfModReduction"), ("REDLINE-AN80I-IF-MIB", "an80iIfAdaptiveMod"), ("REDLINE-AN80I-IF-MIB", "an80iIfUncodedBurstRate"), ("REDLINE-AN80I-IF-MIB", "an80iIfEncryptionKey"), ("REDLINE-AN80I-IF-MIB", "an80iIfPacketRetransControl"), ("REDLINE-AN80I-IF-MIB", "an80iIfLinkLenMode"), ("REDLINE-AN80I-IF-MIB", "an80iIfLinkLength"), ("REDLINE-AN80I-IF-MIB", "an80iIfCurrUncodedBurstRate"), ("REDLINE-AN80I-IF-MIB", "an80iIfPtpLinkStatus"), ("REDLINE-AN80I-IF-MIB", "an80iIfRxPackets"), ("REDLINE-AN80I-IF-MIB", "an80iIfRxPacketsReTx"), ("REDLINE-AN80I-IF-MIB", "an80iIfRxPacketsDisc"), ("REDLINE-AN80I-IF-MIB", "an80iIfTxPackets"), ("REDLINE-AN80I-IF-MIB", "an80iIfTxPacketsReTx"), ("REDLINE-AN80I-IF-MIB", "an80iIfTxPacketsDisc"), ("REDLINE-AN80I-IF-MIB", "an80iIfRssiMin"), ("REDLINE-AN80I-IF-MIB", "an80iIfRssiMean"), ("REDLINE-AN80I-IF-MIB", "an80iIfRssiMax"), ("REDLINE-AN80I-IF-MIB", "an80iIfAvrSinAdr"), ("REDLINE-AN80I-IF-MIB", "an80iIfCalcLinkDst"), ("REDLINE-AN80I-IF-MIB", "an80iIfLinkName"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
redlineAn80iIfPtpGroup = redlineAn80iIfPtpGroup.setStatus('current')
redlineAn80iIfPmpGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 1, 2)).setObjects(("REDLINE-AN80I-IF-MIB", "an80iIfLastMissedMacAddress"), ("REDLINE-AN80I-IF-MIB", "an80iIfLastRegistMacAddress"), ("REDLINE-AN80I-IF-MIB", "an80iIfDenyMacAddress"), ("REDLINE-AN80I-IF-MIB", "an80iIfLastRegistLinkId"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkName"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkPeerMacAddress"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkULBurstRate"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkDLBurstRate"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkStatus"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkStatusCode"), ("REDLINE-AN80I-IF-MIB", "an80iIfRegPmpLinkConns"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkLostCount"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkUpTime"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkLostCount"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkCurrDLUncBurstRate"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkLostCount"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkDLSinAdr"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkDLLostFrm"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkDLBlksTot"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkDLBlksRetr"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkDLBlksDisc"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkCurrULUncBurstRate"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkULRssi"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkULSinAdr"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkULLostFrm"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkULBlksTot"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkULBlksRetr"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpLinkULBlksDisc"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpGroupName"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpGroupTaggingControl"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpGroupVlanId"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpGroupDefPriority"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpGroupSCEtherControl"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpGroupQosLevel"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpGroupPacketsTx"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpGroupPacketDisc"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnName"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnTaggingControl"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnVlanId"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnDefPriority"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnDefParentLink"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnDefParenGroup"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnDLQos"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnULQos"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnDLPacketsTx"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnDLPacketsRx"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnDLPacketsDisc"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnULPacketsTx"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnULPacketsRx"), ("REDLINE-AN80I-IF-MIB", "an80iIfPmpConnULPacketsDisc"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
redlineAn80iIfPmpGroup = redlineAn80iIfPmpGroup.setStatus('current')
redlineAn80iIfNotificationGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 1, 3)).setObjects(("REDLINE-AN80I-IF-MIB", "an80iIfRegistrationFailedTrap"), ("REDLINE-AN80I-IF-MIB", "an80iIfRegistrationOKTrap"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
redlineAn80iIfNotificationGroup = redlineAn80iIfNotificationGroup.setStatus('current')
redlineAn80iIfCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 2, 1)).setObjects(("REDLINE-AN80I-IF-MIB", "redlineAn80iIfPtpGroup"), ("REDLINE-AN80I-IF-MIB", "redlineAn80iIfPmpGroup"), ("REDLINE-AN80I-IF-MIB", "redlineAn80iIfNotificationGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
redlineAn80iIfCompliance = redlineAn80iIfCompliance.setStatus('current')
mibBuilder.exportSymbols("REDLINE-AN80I-IF-MIB", redlineAn80iIfTrapDefinitions=redlineAn80iIfTrapDefinitions, an80iIfPmpConnVlanId=an80iIfPmpConnVlanId, an80iIfPtpLinkStatus=an80iIfPtpLinkStatus, an80iIfPmpConnTaggingControl=an80iIfPmpConnTaggingControl, an80iIfPmpLinkULBlksRetr=an80iIfPmpLinkULBlksRetr, an80iIfPmpGroupConfigTable=an80iIfPmpGroupConfigTable, an80iIfCalcLinkDst=an80iIfCalcLinkDst, an80iIfPmpGroupStatsTable=an80iIfPmpGroupStatsTable, an80iIfPmpLinkULBlksTot=an80iIfPmpLinkULBlksTot, an80iIfPmpGroupSCEtherControl=an80iIfPmpGroupSCEtherControl, an80iIfPmpLinkULLostFrm=an80iIfPmpLinkULLostFrm, an80iIfPmpConnConfigEntry=an80iIfPmpConnConfigEntry, an80iIfPmpConnULQos=an80iIfPmpConnULQos, PYSNMP_MODULE_ID=redlineAn80iIfMib, an80iIfEncryptionKey=an80iIfEncryptionKey, an80iIfPmpGroupName=an80iIfPmpGroupName, an80iIfPmpConnDLPacketsRx=an80iIfPmpConnDLPacketsRx, an80iIfPmpLinkConfigTable=an80iIfPmpLinkConfigTable, an80iIfPmpLinkCurrULUncBurstRate=an80iIfPmpLinkCurrULUncBurstRate, an80iIfTxPackets=an80iIfTxPackets, an80iIfCurrUncodedBurstRate=an80iIfCurrUncodedBurstRate, an80iIfRssiMin=an80iIfRssiMin, an80iIfAvrSinAdr=an80iIfAvrSinAdr, an80iIfPmpGroupTaggingControl=an80iIfPmpGroupTaggingControl, an80iIfPmpConnStatsTable=an80iIfPmpConnStatsTable, an80iIfPmpConnStatsStatus=an80iIfPmpConnStatsStatus, an80iIfPmpLinkULBurstRate=an80iIfPmpLinkULBurstRate, an80iIfPmpGroupQosLevel=an80iIfPmpGroupQosLevel, redlineAn80iIfPmpSsObjects=redlineAn80iIfPmpSsObjects, an80iIfPmpConnId=an80iIfPmpConnId, an80iIfLastRegistLinkId=an80iIfLastRegistLinkId, an80iIfPacketRetransControl=an80iIfPacketRetransControl, an80iIfPmpConnULPacketsTx=an80iIfPmpConnULPacketsTx, an80iIfAdaptiveMod=an80iIfAdaptiveMod, an80iIfLastMissedMacAddress=an80iIfLastMissedMacAddress, an80iIfRegistrationFailedTrap=an80iIfRegistrationFailedTrap, an80iIfPmpGroupId=an80iIfPmpGroupId, an80iIfPmpLinkId=an80iIfPmpLinkId, an80iIfPmpGroupVlanId=an80iIfPmpGroupVlanId, redlineAn80iIfCompls=redlineAn80iIfCompls, an80iIfPmpLinkStatsTable=an80iIfPmpLinkStatsTable, an80iIfPmpLinkStatusCode=an80iIfPmpLinkStatusCode, an80iIfPmpConnConfigStatus=an80iIfPmpConnConfigStatus, an80iIfPmpConnDLPacketsDisc=an80iIfPmpConnDLPacketsDisc, an80iIfRegPmpLinkConns=an80iIfRegPmpLinkConns, an80iIfPmpConnDLQos=an80iIfPmpConnDLQos, an80iIfTxPacketsDisc=an80iIfTxPacketsDisc, an80iIfDenyMacAddress=an80iIfDenyMacAddress, an80iIfPmpGroupRate=an80iIfPmpGroupRate, an80iIfPmpLinkCurrDLUncBurstRate=an80iIfPmpLinkCurrDLUncBurstRate, redlineAn80iIfNotificationGroup=redlineAn80iIfNotificationGroup, an80iIfPmpGroupStatsEntry=an80iIfPmpGroupStatsEntry, an80iIfTxPacketsReTx=an80iIfTxPacketsReTx, an80iIfPmpLinkName=an80iIfPmpLinkName, an80iIfPmpLinkDLBlksTot=an80iIfPmpLinkDLBlksTot, redlineAn80iIfMib=redlineAn80iIfMib, an80iIfPmpConnName=an80iIfPmpConnName, redlineAn80iIfPtpGroup=redlineAn80iIfPtpGroup, an80iIfEncryptionControl=an80iIfEncryptionControl, an80iIfPmpGroupConfigEntry=an80iIfPmpGroupConfigEntry, an80iIfPmpConnDefParenGroup=an80iIfPmpConnDefParenGroup, an80iIfPmpLinkStatus=an80iIfPmpLinkStatus, an80iIfPmpLinkStatsEntry=an80iIfPmpLinkStatsEntry, an80iIfPmpLinkDLSinAdr=an80iIfPmpLinkDLSinAdr, an80iIfPmpGroupPacketsTx=an80iIfPmpGroupPacketsTx, an80iIfPmpLinkDLBlksDisc=an80iIfPmpLinkDLBlksDisc, an80iIfPmpLinkLostCount=an80iIfPmpLinkLostCount, redlineAn80iIfConformance=redlineAn80iIfConformance, an80iIfPmpLinkStatsStatus=an80iIfPmpLinkStatsStatus, an80iIfPmpLinkPeerMacAddress=an80iIfPmpLinkPeerMacAddress, an80iIfLinkName=an80iIfLinkName, an80iIfPmpConnConfigTable=an80iIfPmpConnConfigTable, an80iIfPmpGroupDefPriority=an80iIfPmpGroupDefPriority, an80iIfPmpLinkULSinAdr=an80iIfPmpLinkULSinAdr, an80iIfPmpGroupPacketDisc=an80iIfPmpGroupPacketDisc, an80iIfPmpConnULPacketsDisc=an80iIfPmpConnULPacketsDisc, an80iIfPmpLinkULBlksDisc=an80iIfPmpLinkULBlksDisc, redlineAn80iIfPtpLinkStats=redlineAn80iIfPtpLinkStats, an80iIfLastRegistMacAddress=an80iIfLastRegistMacAddress, redlineAn80iIfPtpLinkConfig=redlineAn80iIfPtpLinkConfig, an80iIfPmpConnDefParentLink=an80iIfPmpConnDefParentLink, an80iIfPmpGroupStatsStatus=an80iIfPmpGroupStatsStatus, an80iIfPmpLinkDLLostFrm=an80iIfPmpLinkDLLostFrm, an80iIfUncodedBurstRate=an80iIfUncodedBurstRate, an80iIfPmpLinkUpTime=an80iIfPmpLinkUpTime, an80iIfLinkLength=an80iIfLinkLength, an80iIfPmpConnULPacketsRx=an80iIfPmpConnULPacketsRx, an80iIfRxPackets=an80iIfRxPackets, an80iIfPmpGroupSStoSSMulticast=an80iIfPmpGroupSStoSSMulticast, an80iIfRxPacketsDisc=an80iIfRxPacketsDisc, an80iIfPmpLinkConfigStatus=an80iIfPmpLinkConfigStatus, an80iIfPmpLinkConfigEntry=an80iIfPmpLinkConfigEntry, redlineAn80iIfCompliance=redlineAn80iIfCompliance, an80iIfPmpLinkDLBlksRetr=an80iIfPmpLinkDLBlksRetr, an80iIfPmpConnDefPriority=an80iIfPmpConnDefPriority, an80iIfPmpConnStatsEntry=an80iIfPmpConnStatsEntry, redlineAn80iIfPmpGroup=redlineAn80iIfPmpGroup, an80iIfModReduction=an80iIfModReduction, an80iIfPmpGroupConfigStatus=an80iIfPmpGroupConfigStatus, an80iIfRegistrationOKTrap=an80iIfRegistrationOKTrap, an80iIfRxPacketsReTx=an80iIfRxPacketsReTx, redlineAn80iIfPmpObjects=redlineAn80iIfPmpObjects, an80iIfPmpLinkULRssi=an80iIfPmpLinkULRssi, an80iIfPmpLinkDLBurstRate=an80iIfPmpLinkDLBurstRate, an80iIfPmpLinkDLRssi=an80iIfPmpLinkDLRssi, an80iIfPmpConnDLPacketsTx=an80iIfPmpConnDLPacketsTx, redlineAn80iIfGroups=redlineAn80iIfGroups, redlineAn80iIfPtpObjects=redlineAn80iIfPtpObjects, an80iIfLinkLenMode=an80iIfLinkLenMode, an80iIfRssiMax=an80iIfRssiMax, an80iIfRssiMean=an80iIfRssiMean)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, constraints_intersection, value_range_constraint, constraints_union, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint')
(redline_transmission,) = mibBuilder.importSymbols('REDLINE-MIB', 'redlineTransmission')
(notification_group, module_compliance, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'ObjectGroup')
(mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, unsigned32, mib_identifier, object_identity, counter32, bits, iso, ip_address, module_identity, notification_type, counter64, time_ticks, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'Unsigned32', 'MibIdentifier', 'ObjectIdentity', 'Counter32', 'Bits', 'iso', 'IpAddress', 'ModuleIdentity', 'NotificationType', 'Counter64', 'TimeTicks', 'Gauge32')
(display_string, row_status, textual_convention, mac_address) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'RowStatus', 'TextualConvention', 'MacAddress')
redline_an80i_if_mib = module_identity((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2))
redlineAn80iIfMib.setRevisions(('2005-11-28 15:43',))
if mibBuilder.loadTexts:
redlineAn80iIfMib.setLastUpdated('200511281543Z')
if mibBuilder.loadTexts:
redlineAn80iIfMib.setOrganization('Redline Communications Inc.')
redline_an80i_if_ptp_objects = mib_identifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1))
redline_an80i_if_ptp_link_config = mib_identifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1))
an80i_if_encryption_control = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('off', 1), ('redline', 2), ('aes128', 3), ('aes192', 4), ('aes256', 5)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
an80iIfEncryptionControl.setStatus('current')
an80i_if_mod_reduction = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
an80iIfModReduction.setStatus('current')
an80i_if_adaptive_mod = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
an80iIfAdaptiveMod.setStatus('current')
an80i_if_uncoded_burst_rate = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setUnits('').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
an80iIfUncodedBurstRate.setStatus('current')
an80i_if_encryption_key = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 5), octet_string()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
an80iIfEncryptionKey.setStatus('current')
an80i_if_packet_retrans_control = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
an80iIfPacketRetransControl.setStatus('current')
an80i_if_link_len_mode = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('auto', 1), ('manual', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
an80iIfLinkLenMode.setStatus('current')
an80i_if_link_length = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 8), integer32()).setUnits('Km').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
an80iIfLinkLength.setStatus('current')
an80i_if_calc_link_dst = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 9), integer32()).setUnits('Km').setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfCalcLinkDst.setStatus('current')
an80i_if_link_name = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 1, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
an80iIfLinkName.setStatus('current')
redline_an80i_if_ptp_link_stats = mib_identifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2))
an80i_if_curr_uncoded_burst_rate = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 1), unsigned32()).setUnits('').setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfCurrUncodedBurstRate.setStatus('current')
an80i_if_ptp_link_status = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPtpLinkStatus.setStatus('current')
an80i_if_rx_packets = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 3), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfRxPackets.setStatus('current')
an80i_if_rx_packets_re_tx = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 4), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfRxPacketsReTx.setStatus('current')
an80i_if_rx_packets_disc = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 5), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfRxPacketsDisc.setStatus('current')
an80i_if_tx_packets = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 6), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfTxPackets.setStatus('current')
an80i_if_tx_packets_re_tx = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 7), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfTxPacketsReTx.setStatus('current')
an80i_if_tx_packets_disc = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 8), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfTxPacketsDisc.setStatus('current')
an80i_if_rssi_min = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfRssiMin.setStatus('current')
an80i_if_rssi_mean = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfRssiMean.setStatus('current')
an80i_if_rssi_max = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfRssiMax.setStatus('current')
an80i_if_avr_sin_adr = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 1, 2, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfAvrSinAdr.setStatus('current')
redline_an80i_if_pmp_objects = mib_identifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2))
redline_an80i_if_pmp_ss_objects = mib_identifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 1))
an80i_if_last_missed_mac_address = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 1, 1), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfLastMissedMacAddress.setStatus('current')
an80i_if_last_regist_mac_address = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 1, 2), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfLastRegistMacAddress.setStatus('current')
an80i_if_deny_mac_address = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 1, 3), mac_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
an80iIfDenyMacAddress.setStatus('current')
an80i_if_last_regist_link_id = mib_scalar((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 1023))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfLastRegistLinkId.setStatus('current')
an80i_if_pmp_link_config_table = mib_table((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2))
if mibBuilder.loadTexts:
an80iIfPmpLinkConfigTable.setStatus('current')
an80i_if_pmp_link_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1)).setIndexNames((0, 'REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkId'))
if mibBuilder.loadTexts:
an80iIfPmpLinkConfigEntry.setStatus('current')
an80i_if_pmp_link_id = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(4, 1023)))
if mibBuilder.loadTexts:
an80iIfPmpLinkId.setStatus('current')
an80i_if_pmp_link_name = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 15))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpLinkName.setStatus('current')
an80i_if_pmp_link_peer_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 3), mac_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpLinkPeerMacAddress.setStatus('current')
an80i_if_pmp_link_ul_burst_rate = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 4), unsigned32()).setUnits('').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpLinkULBurstRate.setStatus('current')
an80i_if_pmp_link_dl_burst_rate = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 5), unsigned32()).setUnits('').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpLinkDLBurstRate.setStatus('current')
an80i_if_pmp_link_config_status = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 2, 1, 6), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpLinkConfigStatus.setStatus('current')
an80i_if_pmp_link_stats_table = mib_table((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3))
if mibBuilder.loadTexts:
an80iIfPmpLinkStatsTable.setStatus('current')
an80i_if_pmp_link_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1)).setIndexNames((0, 'REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkId'))
if mibBuilder.loadTexts:
an80iIfPmpLinkStatsEntry.setStatus('current')
an80i_if_pmp_link_status = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkStatus.setStatus('current')
an80i_if_pmp_link_status_code = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkStatusCode.setStatus('current')
an80i_if_reg_pmp_link_conns = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfRegPmpLinkConns.setStatus('current')
an80i_if_pmp_link_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 4), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkUpTime.setStatus('current')
an80i_if_pmp_link_lost_count = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkLostCount.setStatus('current')
an80i_if_pmp_link_curr_dl_unc_burst_rate = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 6), unsigned32()).setUnits('').setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkCurrDLUncBurstRate.setStatus('current')
an80i_if_pmp_link_dl_rssi = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkDLRssi.setStatus('current')
an80i_if_pmp_link_dl_sin_adr = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkDLSinAdr.setStatus('current')
an80i_if_pmp_link_dl_lost_frm = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 9), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkDLLostFrm.setStatus('current')
an80i_if_pmp_link_dl_blks_tot = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 10), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkDLBlksTot.setStatus('current')
an80i_if_pmp_link_dl_blks_retr = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 11), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkDLBlksRetr.setStatus('current')
an80i_if_pmp_link_dl_blks_disc = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 12), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkDLBlksDisc.setStatus('current')
an80i_if_pmp_link_curr_ul_unc_burst_rate = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 13), unsigned32()).setUnits('Mb/s').setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkCurrULUncBurstRate.setStatus('current')
an80i_if_pmp_link_ul_rssi = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkULRssi.setStatus('current')
an80i_if_pmp_link_ul_sin_adr = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkULSinAdr.setStatus('current')
an80i_if_pmp_link_ul_lost_frm = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 16), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkULLostFrm.setStatus('current')
an80i_if_pmp_link_ul_blks_tot = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 17), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkULBlksTot.setStatus('current')
an80i_if_pmp_link_ul_blks_retr = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 18), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkULBlksRetr.setStatus('current')
an80i_if_pmp_link_ul_blks_disc = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 19), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkULBlksDisc.setStatus('current')
an80i_if_pmp_link_stats_status = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 3, 1, 20), row_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpLinkStatsStatus.setStatus('current')
an80i_if_pmp_group_config_table = mib_table((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4))
if mibBuilder.loadTexts:
an80iIfPmpGroupConfigTable.setStatus('current')
an80i_if_pmp_group_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1)).setIndexNames((0, 'REDLINE-AN80I-IF-MIB', 'an80iIfPmpGroupId'))
if mibBuilder.loadTexts:
an80iIfPmpGroupConfigEntry.setStatus('current')
an80i_if_pmp_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(4, 1023)))
if mibBuilder.loadTexts:
an80iIfPmpGroupId.setStatus('current')
an80i_if_pmp_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 15))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpGroupName.setStatus('current')
an80i_if_pmp_group_tagging_control = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('passThrough', 1), ('tagged', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpGroupTaggingControl.setStatus('current')
an80i_if_pmp_group_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpGroupVlanId.setStatus('current')
an80i_if_pmp_group_def_priority = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpGroupDefPriority.setStatus('current')
an80i_if_pmp_group_sc_ether_control = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpGroupSCEtherControl.setStatus('current')
an80i_if_pmp_group_qos_level = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 53))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpGroupQosLevel.setStatus('current')
an80i_if_pmp_group_config_status = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 8), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpGroupConfigStatus.setStatus('current')
an80i_if_pmp_group_rate = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 8))).setUnits('').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpGroupRate.setStatus('current')
an80i_if_pmp_group_s_sto_ss_multicast = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 4, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setUnits('').setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpGroupSStoSSMulticast.setStatus('current')
an80i_if_pmp_group_stats_table = mib_table((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 5))
if mibBuilder.loadTexts:
an80iIfPmpGroupStatsTable.setStatus('current')
an80i_if_pmp_group_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 5, 1)).setIndexNames((0, 'REDLINE-AN80I-IF-MIB', 'an80iIfPmpGroupId'))
if mibBuilder.loadTexts:
an80iIfPmpGroupStatsEntry.setStatus('current')
an80i_if_pmp_group_packets_tx = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 5, 1, 1), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpGroupPacketsTx.setStatus('current')
an80i_if_pmp_group_packet_disc = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 5, 1, 2), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpGroupPacketDisc.setStatus('current')
an80i_if_pmp_group_stats_status = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 5, 1, 3), row_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpGroupStatsStatus.setStatus('current')
an80i_if_pmp_conn_config_table = mib_table((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6))
if mibBuilder.loadTexts:
an80iIfPmpConnConfigTable.setStatus('current')
an80i_if_pmp_conn_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1)).setIndexNames((0, 'REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnId'))
if mibBuilder.loadTexts:
an80iIfPmpConnConfigEntry.setStatus('current')
an80i_if_pmp_conn_id = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(4, 1023)))
if mibBuilder.loadTexts:
an80iIfPmpConnId.setStatus('current')
an80i_if_pmp_conn_name = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 15))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpConnName.setStatus('current')
an80i_if_pmp_conn_tagging_control = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('passThrough', 1), ('tagged', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpConnTaggingControl.setStatus('current')
an80i_if_pmp_conn_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpConnVlanId.setStatus('current')
an80i_if_pmp_conn_def_priority = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpConnDefPriority.setStatus('current')
an80i_if_pmp_conn_def_parent_link = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(4, 1023))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpConnDefParentLink.setStatus('current')
an80i_if_pmp_conn_def_paren_group = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(4, 1023))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpConnDefParenGroup.setStatus('current')
an80i_if_pmp_conn_dl_qos = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 53))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpConnDLQos.setStatus('current')
an80i_if_pmp_conn_ul_qos = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 53))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpConnULQos.setStatus('current')
an80i_if_pmp_conn_config_status = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 6, 1, 10), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
an80iIfPmpConnConfigStatus.setStatus('current')
an80i_if_pmp_conn_stats_table = mib_table((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7))
if mibBuilder.loadTexts:
an80iIfPmpConnStatsTable.setStatus('current')
an80i_if_pmp_conn_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1)).setIndexNames((0, 'REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnId'))
if mibBuilder.loadTexts:
an80iIfPmpConnStatsEntry.setStatus('current')
an80i_if_pmp_conn_dl_packets_tx = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 1), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpConnDLPacketsTx.setStatus('current')
an80i_if_pmp_conn_dl_packets_rx = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 2), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpConnDLPacketsRx.setStatus('current')
an80i_if_pmp_conn_dl_packets_disc = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 3), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpConnDLPacketsDisc.setStatus('current')
an80i_if_pmp_conn_ul_packets_tx = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 4), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpConnULPacketsTx.setStatus('current')
an80i_if_pmp_conn_ul_packets_rx = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 5), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpConnULPacketsRx.setStatus('current')
an80i_if_pmp_conn_ul_packets_disc = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 6), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpConnULPacketsDisc.setStatus('current')
an80i_if_pmp_conn_stats_status = mib_table_column((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 2, 7, 1, 7), row_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
an80iIfPmpConnStatsStatus.setStatus('current')
redline_an80i_if_trap_definitions = mib_identifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 0))
an80i_if_registration_failed_trap = notification_type((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 0, 1)).setObjects(('REDLINE-AN80I-IF-MIB', 'an80iIfLastMissedMacAddress'))
if mibBuilder.loadTexts:
an80iIfRegistrationFailedTrap.setStatus('current')
an80i_if_registration_ok_trap = notification_type((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 0, 2)).setObjects(('REDLINE-AN80I-IF-MIB', 'an80iIfLastRegistMacAddress'))
if mibBuilder.loadTexts:
an80iIfRegistrationOKTrap.setStatus('current')
redline_an80i_if_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4))
redline_an80i_if_groups = mib_identifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 1))
redline_an80i_if_compls = mib_identifier((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 2))
redline_an80i_if_ptp_group = object_group((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 1, 1)).setObjects(('REDLINE-AN80I-IF-MIB', 'an80iIfEncryptionControl'), ('REDLINE-AN80I-IF-MIB', 'an80iIfModReduction'), ('REDLINE-AN80I-IF-MIB', 'an80iIfAdaptiveMod'), ('REDLINE-AN80I-IF-MIB', 'an80iIfUncodedBurstRate'), ('REDLINE-AN80I-IF-MIB', 'an80iIfEncryptionKey'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPacketRetransControl'), ('REDLINE-AN80I-IF-MIB', 'an80iIfLinkLenMode'), ('REDLINE-AN80I-IF-MIB', 'an80iIfLinkLength'), ('REDLINE-AN80I-IF-MIB', 'an80iIfCurrUncodedBurstRate'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPtpLinkStatus'), ('REDLINE-AN80I-IF-MIB', 'an80iIfRxPackets'), ('REDLINE-AN80I-IF-MIB', 'an80iIfRxPacketsReTx'), ('REDLINE-AN80I-IF-MIB', 'an80iIfRxPacketsDisc'), ('REDLINE-AN80I-IF-MIB', 'an80iIfTxPackets'), ('REDLINE-AN80I-IF-MIB', 'an80iIfTxPacketsReTx'), ('REDLINE-AN80I-IF-MIB', 'an80iIfTxPacketsDisc'), ('REDLINE-AN80I-IF-MIB', 'an80iIfRssiMin'), ('REDLINE-AN80I-IF-MIB', 'an80iIfRssiMean'), ('REDLINE-AN80I-IF-MIB', 'an80iIfRssiMax'), ('REDLINE-AN80I-IF-MIB', 'an80iIfAvrSinAdr'), ('REDLINE-AN80I-IF-MIB', 'an80iIfCalcLinkDst'), ('REDLINE-AN80I-IF-MIB', 'an80iIfLinkName'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
redline_an80i_if_ptp_group = redlineAn80iIfPtpGroup.setStatus('current')
redline_an80i_if_pmp_group = object_group((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 1, 2)).setObjects(('REDLINE-AN80I-IF-MIB', 'an80iIfLastMissedMacAddress'), ('REDLINE-AN80I-IF-MIB', 'an80iIfLastRegistMacAddress'), ('REDLINE-AN80I-IF-MIB', 'an80iIfDenyMacAddress'), ('REDLINE-AN80I-IF-MIB', 'an80iIfLastRegistLinkId'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkName'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkPeerMacAddress'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkULBurstRate'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkDLBurstRate'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkStatus'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkStatusCode'), ('REDLINE-AN80I-IF-MIB', 'an80iIfRegPmpLinkConns'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkLostCount'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkUpTime'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkLostCount'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkCurrDLUncBurstRate'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkLostCount'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkDLSinAdr'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkDLLostFrm'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkDLBlksTot'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkDLBlksRetr'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkDLBlksDisc'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkCurrULUncBurstRate'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkULRssi'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkULSinAdr'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkULLostFrm'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkULBlksTot'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkULBlksRetr'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpLinkULBlksDisc'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpGroupName'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpGroupTaggingControl'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpGroupVlanId'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpGroupDefPriority'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpGroupSCEtherControl'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpGroupQosLevel'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpGroupPacketsTx'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpGroupPacketDisc'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnName'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnTaggingControl'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnVlanId'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnDefPriority'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnDefParentLink'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnDefParenGroup'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnDLQos'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnULQos'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnDLPacketsTx'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnDLPacketsRx'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnDLPacketsDisc'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnULPacketsTx'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnULPacketsRx'), ('REDLINE-AN80I-IF-MIB', 'an80iIfPmpConnULPacketsDisc'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
redline_an80i_if_pmp_group = redlineAn80iIfPmpGroup.setStatus('current')
redline_an80i_if_notification_group = notification_group((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 1, 3)).setObjects(('REDLINE-AN80I-IF-MIB', 'an80iIfRegistrationFailedTrap'), ('REDLINE-AN80I-IF-MIB', 'an80iIfRegistrationOKTrap'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
redline_an80i_if_notification_group = redlineAn80iIfNotificationGroup.setStatus('current')
redline_an80i_if_compliance = module_compliance((1, 3, 6, 1, 4, 1, 10728, 2, 10, 2, 4, 2, 1)).setObjects(('REDLINE-AN80I-IF-MIB', 'redlineAn80iIfPtpGroup'), ('REDLINE-AN80I-IF-MIB', 'redlineAn80iIfPmpGroup'), ('REDLINE-AN80I-IF-MIB', 'redlineAn80iIfNotificationGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
redline_an80i_if_compliance = redlineAn80iIfCompliance.setStatus('current')
mibBuilder.exportSymbols('REDLINE-AN80I-IF-MIB', redlineAn80iIfTrapDefinitions=redlineAn80iIfTrapDefinitions, an80iIfPmpConnVlanId=an80iIfPmpConnVlanId, an80iIfPtpLinkStatus=an80iIfPtpLinkStatus, an80iIfPmpConnTaggingControl=an80iIfPmpConnTaggingControl, an80iIfPmpLinkULBlksRetr=an80iIfPmpLinkULBlksRetr, an80iIfPmpGroupConfigTable=an80iIfPmpGroupConfigTable, an80iIfCalcLinkDst=an80iIfCalcLinkDst, an80iIfPmpGroupStatsTable=an80iIfPmpGroupStatsTable, an80iIfPmpLinkULBlksTot=an80iIfPmpLinkULBlksTot, an80iIfPmpGroupSCEtherControl=an80iIfPmpGroupSCEtherControl, an80iIfPmpLinkULLostFrm=an80iIfPmpLinkULLostFrm, an80iIfPmpConnConfigEntry=an80iIfPmpConnConfigEntry, an80iIfPmpConnULQos=an80iIfPmpConnULQos, PYSNMP_MODULE_ID=redlineAn80iIfMib, an80iIfEncryptionKey=an80iIfEncryptionKey, an80iIfPmpGroupName=an80iIfPmpGroupName, an80iIfPmpConnDLPacketsRx=an80iIfPmpConnDLPacketsRx, an80iIfPmpLinkConfigTable=an80iIfPmpLinkConfigTable, an80iIfPmpLinkCurrULUncBurstRate=an80iIfPmpLinkCurrULUncBurstRate, an80iIfTxPackets=an80iIfTxPackets, an80iIfCurrUncodedBurstRate=an80iIfCurrUncodedBurstRate, an80iIfRssiMin=an80iIfRssiMin, an80iIfAvrSinAdr=an80iIfAvrSinAdr, an80iIfPmpGroupTaggingControl=an80iIfPmpGroupTaggingControl, an80iIfPmpConnStatsTable=an80iIfPmpConnStatsTable, an80iIfPmpConnStatsStatus=an80iIfPmpConnStatsStatus, an80iIfPmpLinkULBurstRate=an80iIfPmpLinkULBurstRate, an80iIfPmpGroupQosLevel=an80iIfPmpGroupQosLevel, redlineAn80iIfPmpSsObjects=redlineAn80iIfPmpSsObjects, an80iIfPmpConnId=an80iIfPmpConnId, an80iIfLastRegistLinkId=an80iIfLastRegistLinkId, an80iIfPacketRetransControl=an80iIfPacketRetransControl, an80iIfPmpConnULPacketsTx=an80iIfPmpConnULPacketsTx, an80iIfAdaptiveMod=an80iIfAdaptiveMod, an80iIfLastMissedMacAddress=an80iIfLastMissedMacAddress, an80iIfRegistrationFailedTrap=an80iIfRegistrationFailedTrap, an80iIfPmpGroupId=an80iIfPmpGroupId, an80iIfPmpLinkId=an80iIfPmpLinkId, an80iIfPmpGroupVlanId=an80iIfPmpGroupVlanId, redlineAn80iIfCompls=redlineAn80iIfCompls, an80iIfPmpLinkStatsTable=an80iIfPmpLinkStatsTable, an80iIfPmpLinkStatusCode=an80iIfPmpLinkStatusCode, an80iIfPmpConnConfigStatus=an80iIfPmpConnConfigStatus, an80iIfPmpConnDLPacketsDisc=an80iIfPmpConnDLPacketsDisc, an80iIfRegPmpLinkConns=an80iIfRegPmpLinkConns, an80iIfPmpConnDLQos=an80iIfPmpConnDLQos, an80iIfTxPacketsDisc=an80iIfTxPacketsDisc, an80iIfDenyMacAddress=an80iIfDenyMacAddress, an80iIfPmpGroupRate=an80iIfPmpGroupRate, an80iIfPmpLinkCurrDLUncBurstRate=an80iIfPmpLinkCurrDLUncBurstRate, redlineAn80iIfNotificationGroup=redlineAn80iIfNotificationGroup, an80iIfPmpGroupStatsEntry=an80iIfPmpGroupStatsEntry, an80iIfTxPacketsReTx=an80iIfTxPacketsReTx, an80iIfPmpLinkName=an80iIfPmpLinkName, an80iIfPmpLinkDLBlksTot=an80iIfPmpLinkDLBlksTot, redlineAn80iIfMib=redlineAn80iIfMib, an80iIfPmpConnName=an80iIfPmpConnName, redlineAn80iIfPtpGroup=redlineAn80iIfPtpGroup, an80iIfEncryptionControl=an80iIfEncryptionControl, an80iIfPmpGroupConfigEntry=an80iIfPmpGroupConfigEntry, an80iIfPmpConnDefParenGroup=an80iIfPmpConnDefParenGroup, an80iIfPmpLinkStatus=an80iIfPmpLinkStatus, an80iIfPmpLinkStatsEntry=an80iIfPmpLinkStatsEntry, an80iIfPmpLinkDLSinAdr=an80iIfPmpLinkDLSinAdr, an80iIfPmpGroupPacketsTx=an80iIfPmpGroupPacketsTx, an80iIfPmpLinkDLBlksDisc=an80iIfPmpLinkDLBlksDisc, an80iIfPmpLinkLostCount=an80iIfPmpLinkLostCount, redlineAn80iIfConformance=redlineAn80iIfConformance, an80iIfPmpLinkStatsStatus=an80iIfPmpLinkStatsStatus, an80iIfPmpLinkPeerMacAddress=an80iIfPmpLinkPeerMacAddress, an80iIfLinkName=an80iIfLinkName, an80iIfPmpConnConfigTable=an80iIfPmpConnConfigTable, an80iIfPmpGroupDefPriority=an80iIfPmpGroupDefPriority, an80iIfPmpLinkULSinAdr=an80iIfPmpLinkULSinAdr, an80iIfPmpGroupPacketDisc=an80iIfPmpGroupPacketDisc, an80iIfPmpConnULPacketsDisc=an80iIfPmpConnULPacketsDisc, an80iIfPmpLinkULBlksDisc=an80iIfPmpLinkULBlksDisc, redlineAn80iIfPtpLinkStats=redlineAn80iIfPtpLinkStats, an80iIfLastRegistMacAddress=an80iIfLastRegistMacAddress, redlineAn80iIfPtpLinkConfig=redlineAn80iIfPtpLinkConfig, an80iIfPmpConnDefParentLink=an80iIfPmpConnDefParentLink, an80iIfPmpGroupStatsStatus=an80iIfPmpGroupStatsStatus, an80iIfPmpLinkDLLostFrm=an80iIfPmpLinkDLLostFrm, an80iIfUncodedBurstRate=an80iIfUncodedBurstRate, an80iIfPmpLinkUpTime=an80iIfPmpLinkUpTime, an80iIfLinkLength=an80iIfLinkLength, an80iIfPmpConnULPacketsRx=an80iIfPmpConnULPacketsRx, an80iIfRxPackets=an80iIfRxPackets, an80iIfPmpGroupSStoSSMulticast=an80iIfPmpGroupSStoSSMulticast, an80iIfRxPacketsDisc=an80iIfRxPacketsDisc, an80iIfPmpLinkConfigStatus=an80iIfPmpLinkConfigStatus, an80iIfPmpLinkConfigEntry=an80iIfPmpLinkConfigEntry, redlineAn80iIfCompliance=redlineAn80iIfCompliance, an80iIfPmpLinkDLBlksRetr=an80iIfPmpLinkDLBlksRetr, an80iIfPmpConnDefPriority=an80iIfPmpConnDefPriority, an80iIfPmpConnStatsEntry=an80iIfPmpConnStatsEntry, redlineAn80iIfPmpGroup=redlineAn80iIfPmpGroup, an80iIfModReduction=an80iIfModReduction, an80iIfPmpGroupConfigStatus=an80iIfPmpGroupConfigStatus, an80iIfRegistrationOKTrap=an80iIfRegistrationOKTrap, an80iIfRxPacketsReTx=an80iIfRxPacketsReTx, redlineAn80iIfPmpObjects=redlineAn80iIfPmpObjects, an80iIfPmpLinkULRssi=an80iIfPmpLinkULRssi, an80iIfPmpLinkDLBurstRate=an80iIfPmpLinkDLBurstRate, an80iIfPmpLinkDLRssi=an80iIfPmpLinkDLRssi, an80iIfPmpConnDLPacketsTx=an80iIfPmpConnDLPacketsTx, redlineAn80iIfGroups=redlineAn80iIfGroups, redlineAn80iIfPtpObjects=redlineAn80iIfPtpObjects, an80iIfLinkLenMode=an80iIfLinkLenMode, an80iIfRssiMax=an80iIfRssiMax, an80iIfRssiMean=an80iIfRssiMean) |
class Solution:
def permuteUnique(self, nums):
dic = set()
for p in itertools.permutations(nums):
if p not in dic:
dic.add(p)
return list(dic) | class Solution:
def permute_unique(self, nums):
dic = set()
for p in itertools.permutations(nums):
if p not in dic:
dic.add(p)
return list(dic) |
def plot_series(time, series, format="-", start=0, end=None):
plt.plot(time[start:end], series[start:end], format)
plt.xlabel("Time")
plt.ylabel("Value")
plt.grid(True) | def plot_series(time, series, format='-', start=0, end=None):
plt.plot(time[start:end], series[start:end], format)
plt.xlabel('Time')
plt.ylabel('Value')
plt.grid(True) |
# the drivers that can be used to create thumbnails
drivers = ["gee", "planet"]
# the file types that can be digested by the app
types = ["points", "shapes"]
# define the extrems size of the thumbnails
min_image = 500
max_image = 10000
# define the extreme size of the square
min_square = 10
max_square = 500
# the color and size wich will be used for the display of the polygon
polygon_colors = {
"Red, Green, Blue": "blue",
"Nir, Red, Green": "yellow",
"Nir, Swir1, Red": "yellow",
"Swir2, Nir, Red": "yellow",
"Swir2, Swir1, Red": "yellow",
"Swir2, Nir, Green": "yellow",
"rgb": "blue",
"cir": "yellow",
}
polygon_width = 2
# the basemap used in the file tile
basemap = "Google Satellite"
| drivers = ['gee', 'planet']
types = ['points', 'shapes']
min_image = 500
max_image = 10000
min_square = 10
max_square = 500
polygon_colors = {'Red, Green, Blue': 'blue', 'Nir, Red, Green': 'yellow', 'Nir, Swir1, Red': 'yellow', 'Swir2, Nir, Red': 'yellow', 'Swir2, Swir1, Red': 'yellow', 'Swir2, Nir, Green': 'yellow', 'rgb': 'blue', 'cir': 'yellow'}
polygon_width = 2
basemap = 'Google Satellite' |
kbm_text_map = {
'ConceptMouseRecenter':'Mouse Recenter',
'ConceptContextualInteraction':'Contextual Interaction',
'ConceptPitch_P':'Pitch Up',
'ConceptPitch_N':'Pitch Down',
'ConceptYaw_P':'Yaw Right',
'ConceptYaw_N':'Yaw Left',
'ConceptRoll_P':'Roll Right',
'ConceptRoll_N':'Roll Left',
'ConceptThrottle_P':'Throttle Increase',
'ConceptThrottle_N':'Throttle Decrease',
'ConceptAfterburner':'Boost',
'ConceptDrift':'Drift (While Boosting)',
'ConceptFire':'Fire',
'ConceptFireAuxiliaryWeaponOneMain':'Fire Left Auxiliary',
'ConceptFireAuxiliaryWeaponOneDoubleTap':'Dumb-Fire Left Auxiliary',
'ConceptFireAuxiliaryWeaponTwoMain':'Fire Right Auxiliary',
'ConceptFireAuxiliaryWeaponTwoDoubleTap':'Dumb-Fire Right Auxiliary',
'ConceptFireCountermeasure':'Deploy Countermeasures',
'ConceptScoreboard':'Show Loadout',
'ConceptIncreaseEnginePower':'Increase Engine Power',
'ConceptMaximizeEnginePower':'Maximize Engine Power',
'ConceptIncreaseWeaponPower':'Increase Weapon Power',
'ConceptMaximizeWeaponPower':'Maximize Weapon Power',
'ConceptIncreaseShieldPower':'Increase Shield Power',
'ConceptMaximizeShieldPower':'Maximize Shield Power',
'ConceptResetSystemsPower':'Balance Power',
'ConceptShieldFront':'Focus Shields (Front)',
'ConceptShieldBack':'Focus Shields (Rear)',
'ConceptShieldBalance':'Focus Shields (Balanced)',
'ConceptEmergencyPowerTransferEngine':'Convert Power (Engines)',
'ConceptEmergencyPowerTransferWeapon':'Convert Power (Weapons)',
'ConceptEmergencyPowerTransferBalance':'Convert Power (Balanced)',
'ConceptPowerTransfer':'Focus Shields / Convert Power',
'ConceptPowerTransferMenuSelect':'Shield / Power Menu Select',
'ConceptPowerTransferMenuX_P':'Shield / Power Menu Right',
'ConceptPowerTransferMenuX_N':'Shield / Power Menu Left',
'ConceptPowerTransferMenuY_P':'Shield / Power Menu Up',
'ConceptPowerTransferMenuY_N':'Shield / Power Menu Down',
'ConceptTargetSelect':'Select Target Ahead',
'ConceptTargetCycleNext':'Cycle Targets',
'ConceptTargetHighestThreat':'Target My Attacker',
'ConceptTargetingMenu':'Targeting Wheel',
'ConceptTargetingMenuSelectTargetingMethod':'Targeting Wheel (Toggle Mode) - Select',
'ConceptTargetingMenuX_P':'Targeting Wheel X- Right',
'ConceptTargetingMenuX_N':'Targeting Wheel X - Left',
'ConceptTargetingMenuY_P':'Targeting Wheel Y - Up',
'ConceptTargetingMenuY_N':'Targeting Wheel Y - Down',
'ConceptTargetingMenuCycleAllEnemies':'Targeting Wheel Shortcut - All Enemies',
'ConceptTargetingMenuCycleEnemySquadron':'Targeting Wheel Shortcut - Enemy Squadron',
'ConceptTargetingMenuCycleEnemyAI':'Targeting Wheel Shortcut - Enemy AI',
'ConceptTargetingMenuCycleFlagshipSystems':'Targeting Wheel Shortcut - Flagship Systems',
'ConceptTargetingMenuCycleAllAllies':'Targeting Wheel Shortcut - All Allies',
'ConceptTargetingMenuCycleMySquadron':'Targeting Wheel Shortcut - My Squadron',
'ConceptTargetingMenuCycleTargetAttackers':'Targeting Wheel Shortcut - Target\'s Attackers',
'ConceptTargetingMenuCycleLastAttackers':'Targeting Wheel Shortcut - Last Attackers',
'ConceptTargetingMenuCycleObjectives':'Targeting Wheel Shortcut - Objectives',
'ConceptTargetingMenuCycleMissiles':'Targeting Wheel Shortcut - Missiles',
'ConceptTargetPing':'Ping Target',
'ConceptPingSelf':'Acknowledge Ping',
'ConceptCommMenu':'Comms Wheel',
'ConceptCommMenuSelect':'Comms Wheel (Toggle Mode) - Select',
'ConceptCommMenuX_P':'Comms Wheel - Navigate Right',
'ConceptCommMenuX_N':'Comms Wheel - Navigate Left',
'ConceptCommMenuY_P':'Comms Wheel - Navigate Up',
'ConceptCommMenuY_N':'Comms Wheel - Navigate Down',
'ConceptFreeLookTrigger':'Recalibrate VR',
'ConceptFreeLook':'Free Look',
'ConceptFreeLookCameraUp':'Free Look - Camera Pitch Up',
'ConceptFreeLookCameraDown':'Free Look - Camera Pitch Down',
'ConceptFreeLookCameraLeft':'Free Look - Camera Yaw Left',
'ConceptFreeLookCameraRight':'Free Look - Camera Yaw Right',
'ConceptCameraPitch_P':'Quick Look - Camera Pitch Up',
'ConceptCameraPitch_N':'Quick Look - Camera Pitch Down',
'ConceptCameraYaw_P':'Quick Look - Camera Yaw Left',
'ConceptCameraYaw_N':'Quick Look - Camera Yaw Right',
'ConceptCommMenuHelpMe':'Comms Wheel Shortcut - Help Me',
'ConceptCommMenuCheer':'Comms Wheel Shortcut - Cheer',
'ConceptCommMenuBrag':'Comms Wheel Shortcut - Brag',
'ConceptCommMenuBoo':'Comms Wheel Shortcut - Boo',
'ConceptCommMenuRegroup':'Comms Wheel Shortcut - Regroup',
'ConceptCommMenuBattleCry':'Comms Wheel Shortcut - Battle Cry',
'ConceptCommMenuThank':'Comms Wheel Shortcut - Thank',
'ConceptCommMenuPraise':'Comms Wheel Shortcut - Praise'
}
joystick_text_map = {
'ConceptMouseRecenter':'Mouse Recenter',
'ConceptContextualInteraction':'Contextual Interaction',
'ConceptPitch_P':'Pitch Up',
'ConceptPitch_N':'Pitch Down',
'ConceptYaw_P':'Yaw Right',
'ConceptYaw_N':'Yaw Left',
'ConceptRoll_P':'Roll Right',
'ConceptRoll_N':'Roll Left',
'ConceptThrottle_P':'Throttle Increase',
'ConceptThrottle_N':'Throttle Decrease',
'ConceptAfterburner':'Combo - Boost / Drift',
'ConceptDrift':'Drift',
'ConceptFire':'Fire',
'ConceptFireAuxiliaryWeaponOneMain':'Combo - Left Aux / Dumb-Fire',
'ConceptFireAuxiliaryWeaponOneDoubleTap':'Dumb-Fire Left Auxiliary',
'ConceptFireAuxiliaryWeaponTwoMain':'Combo - Right Aux / Dumb-Fire',
'ConceptFireAuxiliaryWeaponTwoDoubleTap':'Dumb-Fire Right Auxiliary',
'ConceptFireCountermeasure':'Deploy Countermeasures',
'ConceptScoreboard':'Show Loadout',
'ConceptControlEnginePower':'Combo - Power to Engines / Max',
'ConceptIncreaseEnginePower':'Increase Engine Power',
'ConceptMaximizeEnginePower':'Maximize Engine Power',
'ConceptControlWeaponPower':'Combo - Power to Weapons / Max',
'ConceptIncreaseWeaponPower':'Increase Weapon Power',
'ConceptMaximizeWeaponPower':'Maximize Weapon Power',
'ConceptControlShieldPower':'Combo - Power to Shields / Max',
'ConceptIncreaseShieldPower':'Increase Shield Power',
'ConceptMaximizeShieldPower':'Maximize Shield Power',
'ConceptControlBalancePower':'Balance Power',
'ConceptShieldFront':'Focus Shields (Front)',
'ConceptShieldBack':'Focus Shields (Rear)',
'ConceptShieldBalance':'Focus Shields (Balanced)',
'ConceptEmergencyPowerTransferEngine':'Convert Power (Engines)',
'ConceptEmergencyPowerTransferWeapon':'Convert Power (Weapons)',
'ConceptEmergencyPowerTransferBalance':'Convert Power (Balanced)',
'ConceptPowerTransfer':'Focus Shields / Convert Power',
'ConceptPowerTransferMenuSelect':'Shield / Power Menu Select',
'ConceptPowerTransferMenuX_P':'Shield / Power Menu Right',
'ConceptPowerTransferMenuX_N':'Shield / Power Menu Left',
'ConceptPowerTransferMenuY_P':'Shield / Power Menu Up',
'ConceptPowerTransferMenuY_N':'Shield / Power Menu Down',
'ConceptTargeting':'Combo - Select Target Ahead / Targeting Wheel',
'ConceptTargetSelect':'Select Target Ahead',
'ConceptTargetCycle':'Combo - Cycle Targets / Target My Attacker',
'ConceptTargetCycleNext':'Cycle Targets',
'ConceptTargetHighestThreat':'Target My Attacker',
'ConceptTargetingMenu':'Targeting Wheel',
'ConceptTargetingMenuSelectTargetingMethod':'Targeting Wheel (Toggle Mode) - Select',
'ConceptTargetingMenuX_P':'Targeting Wheel X - Right',
'ConceptTargetingMenuX_N':'Targeting Wheel X - Left',
'ConceptTargetingMenuY_P':'Targeting Wheel Y - Up',
'ConceptTargetingMenuY_N':'Targeting Wheel Y - Down',
'ConceptTargetingMenuCycleAllEnemies':'Targeting Wheel Shortcut - All Enemies',
'ConceptTargetingMenuCycleEnemySquadron':'Targeting Wheel Shortcut - Enemy Squadron',
'ConceptTargetingMenuCycleEnemyAI':'Targeting Wheel Shortcut - Enemy AI',
'ConceptTargetingMenuCycleFlagshipSystems':'Targeting Wheel Shortcut - Flagship Systems',
'ConceptTargetingMenuCycleAllAllies':'Targeting Wheel Shortcut - All Allies',
'ConceptTargetingMenuCycleMySquadron':'Targeting Wheel Shortcut - My Squadron',
'ConceptTargetingMenuCycleTargetAttackers':'Targeting Wheel Shortcut - Target\'s Attackers',
'ConceptTargetingMenuCycleLastAttackers':'Targeting Wheel Shortcut - Last Attackers',
'ConceptTargetingMenuCycleObjectives':'Targeting Wheel Shortcut - Objectives',
'ConceptTargetingMenuCycleMissiles':'Targeting Wheel Shortcut - Missiles',
'ConceptCommunication':'Combo - Ping / Ack / Comms Wheel',
'ConceptTargetPing':'Ping Target',
'ConceptPingSelf':'Acknowledge Ping',
'ConceptCommMenu':'Comms Wheel',
'ConceptCommMenuSelect':'Comms Wheel (Toggle Mode) - Select',
'ConceptCommMenuX_P':'Comms Wheel - Navigate Right',
'ConceptCommMenuX_N':'Comms Wheel - Navigate Left',
'ConceptCommMenuY_P':'Comms Wheel - Navigate Up',
'ConceptCommMenuY_N':'Comms Wheel - Navigate Down',
'ConceptFreeLookTrigger':'Recalibrate VR',
'ConceptFreeLook':'Free Look',
'ConceptFreeLookCameraUp':'Free Look - Camera Pitch Up',
'ConceptFreeLookCameraDown':'Free Look - Camera Pitch Down',
'ConceptFreeLookCameraLeft':'Free Look - Camera Yaw Left',
'ConceptFreeLookCameraRight':'Free Look - Camera Yaw Right',
'ConceptCameraPitch_P':'Quick Look - Camera Pitch Up',
'ConceptCameraPitch_N':'Quick Look - Camera Pitch Down',
'ConceptCameraYaw_P':'Quick Look - Camera Yaw Left',
'ConceptCameraYaw_N':'Quick Look - Camera Yaw Right',
'ConceptCommMenuHelpMe':'Comms Wheel Shortcut - Help Me',
'ConceptCommMenuCheer':'Comms Wheel Shortcut - Cheer',
'ConceptCommMenuBrag':'Comms Wheel Shortcut - Brag',
'ConceptCommMenuBoo':'Comms Wheel Shortcut - Boo',
'ConceptCommMenuRegroup':'Comms Wheel Shortcut - Regroup',
'ConceptCommMenuBattleCry':'Comms Wheel Shortcut - Battle Cry',
'ConceptCommMenuThank':'Comms Wheel Shortcut - Thank',
'ConceptCommMenuPraise':'Comms Wheel Shortcut - Praise'
} | kbm_text_map = {'ConceptMouseRecenter': 'Mouse Recenter', 'ConceptContextualInteraction': 'Contextual Interaction', 'ConceptPitch_P': 'Pitch Up', 'ConceptPitch_N': 'Pitch Down', 'ConceptYaw_P': 'Yaw Right', 'ConceptYaw_N': 'Yaw Left', 'ConceptRoll_P': 'Roll Right', 'ConceptRoll_N': 'Roll Left', 'ConceptThrottle_P': 'Throttle Increase', 'ConceptThrottle_N': 'Throttle Decrease', 'ConceptAfterburner': 'Boost', 'ConceptDrift': 'Drift (While Boosting)', 'ConceptFire': 'Fire', 'ConceptFireAuxiliaryWeaponOneMain': 'Fire Left Auxiliary', 'ConceptFireAuxiliaryWeaponOneDoubleTap': 'Dumb-Fire Left Auxiliary', 'ConceptFireAuxiliaryWeaponTwoMain': 'Fire Right Auxiliary', 'ConceptFireAuxiliaryWeaponTwoDoubleTap': 'Dumb-Fire Right Auxiliary', 'ConceptFireCountermeasure': 'Deploy Countermeasures', 'ConceptScoreboard': 'Show Loadout', 'ConceptIncreaseEnginePower': 'Increase Engine Power', 'ConceptMaximizeEnginePower': 'Maximize Engine Power', 'ConceptIncreaseWeaponPower': 'Increase Weapon Power', 'ConceptMaximizeWeaponPower': 'Maximize Weapon Power', 'ConceptIncreaseShieldPower': 'Increase Shield Power', 'ConceptMaximizeShieldPower': 'Maximize Shield Power', 'ConceptResetSystemsPower': 'Balance Power', 'ConceptShieldFront': 'Focus Shields (Front)', 'ConceptShieldBack': 'Focus Shields (Rear)', 'ConceptShieldBalance': 'Focus Shields (Balanced)', 'ConceptEmergencyPowerTransferEngine': 'Convert Power (Engines)', 'ConceptEmergencyPowerTransferWeapon': 'Convert Power (Weapons)', 'ConceptEmergencyPowerTransferBalance': 'Convert Power (Balanced)', 'ConceptPowerTransfer': 'Focus Shields / Convert Power', 'ConceptPowerTransferMenuSelect': 'Shield / Power Menu Select', 'ConceptPowerTransferMenuX_P': 'Shield / Power Menu Right', 'ConceptPowerTransferMenuX_N': 'Shield / Power Menu Left', 'ConceptPowerTransferMenuY_P': 'Shield / Power Menu Up', 'ConceptPowerTransferMenuY_N': 'Shield / Power Menu Down', 'ConceptTargetSelect': 'Select Target Ahead', 'ConceptTargetCycleNext': 'Cycle Targets', 'ConceptTargetHighestThreat': 'Target My Attacker', 'ConceptTargetingMenu': 'Targeting Wheel', 'ConceptTargetingMenuSelectTargetingMethod': 'Targeting Wheel (Toggle Mode) - Select', 'ConceptTargetingMenuX_P': 'Targeting Wheel X- Right', 'ConceptTargetingMenuX_N': 'Targeting Wheel X - Left', 'ConceptTargetingMenuY_P': 'Targeting Wheel Y - Up', 'ConceptTargetingMenuY_N': 'Targeting Wheel Y - Down', 'ConceptTargetingMenuCycleAllEnemies': 'Targeting Wheel Shortcut - All Enemies', 'ConceptTargetingMenuCycleEnemySquadron': 'Targeting Wheel Shortcut - Enemy Squadron', 'ConceptTargetingMenuCycleEnemyAI': 'Targeting Wheel Shortcut - Enemy AI', 'ConceptTargetingMenuCycleFlagshipSystems': 'Targeting Wheel Shortcut - Flagship Systems', 'ConceptTargetingMenuCycleAllAllies': 'Targeting Wheel Shortcut - All Allies', 'ConceptTargetingMenuCycleMySquadron': 'Targeting Wheel Shortcut - My Squadron', 'ConceptTargetingMenuCycleTargetAttackers': "Targeting Wheel Shortcut - Target's Attackers", 'ConceptTargetingMenuCycleLastAttackers': 'Targeting Wheel Shortcut - Last Attackers', 'ConceptTargetingMenuCycleObjectives': 'Targeting Wheel Shortcut - Objectives', 'ConceptTargetingMenuCycleMissiles': 'Targeting Wheel Shortcut - Missiles', 'ConceptTargetPing': 'Ping Target', 'ConceptPingSelf': 'Acknowledge Ping', 'ConceptCommMenu': 'Comms Wheel', 'ConceptCommMenuSelect': 'Comms Wheel (Toggle Mode) - Select', 'ConceptCommMenuX_P': 'Comms Wheel - Navigate Right', 'ConceptCommMenuX_N': 'Comms Wheel - Navigate Left', 'ConceptCommMenuY_P': 'Comms Wheel - Navigate Up', 'ConceptCommMenuY_N': 'Comms Wheel - Navigate Down', 'ConceptFreeLookTrigger': 'Recalibrate VR', 'ConceptFreeLook': 'Free Look', 'ConceptFreeLookCameraUp': 'Free Look - Camera Pitch Up', 'ConceptFreeLookCameraDown': 'Free Look - Camera Pitch Down', 'ConceptFreeLookCameraLeft': 'Free Look - Camera Yaw Left', 'ConceptFreeLookCameraRight': 'Free Look - Camera Yaw Right', 'ConceptCameraPitch_P': 'Quick Look - Camera Pitch Up', 'ConceptCameraPitch_N': 'Quick Look - Camera Pitch Down', 'ConceptCameraYaw_P': 'Quick Look - Camera Yaw Left', 'ConceptCameraYaw_N': 'Quick Look - Camera Yaw Right', 'ConceptCommMenuHelpMe': 'Comms Wheel Shortcut - Help Me', 'ConceptCommMenuCheer': 'Comms Wheel Shortcut - Cheer', 'ConceptCommMenuBrag': 'Comms Wheel Shortcut - Brag', 'ConceptCommMenuBoo': 'Comms Wheel Shortcut - Boo', 'ConceptCommMenuRegroup': 'Comms Wheel Shortcut - Regroup', 'ConceptCommMenuBattleCry': 'Comms Wheel Shortcut - Battle Cry', 'ConceptCommMenuThank': 'Comms Wheel Shortcut - Thank', 'ConceptCommMenuPraise': 'Comms Wheel Shortcut - Praise'}
joystick_text_map = {'ConceptMouseRecenter': 'Mouse Recenter', 'ConceptContextualInteraction': 'Contextual Interaction', 'ConceptPitch_P': 'Pitch Up', 'ConceptPitch_N': 'Pitch Down', 'ConceptYaw_P': 'Yaw Right', 'ConceptYaw_N': 'Yaw Left', 'ConceptRoll_P': 'Roll Right', 'ConceptRoll_N': 'Roll Left', 'ConceptThrottle_P': 'Throttle Increase', 'ConceptThrottle_N': 'Throttle Decrease', 'ConceptAfterburner': 'Combo - Boost / Drift', 'ConceptDrift': 'Drift', 'ConceptFire': 'Fire', 'ConceptFireAuxiliaryWeaponOneMain': 'Combo - Left Aux / Dumb-Fire', 'ConceptFireAuxiliaryWeaponOneDoubleTap': 'Dumb-Fire Left Auxiliary', 'ConceptFireAuxiliaryWeaponTwoMain': 'Combo - Right Aux / Dumb-Fire', 'ConceptFireAuxiliaryWeaponTwoDoubleTap': 'Dumb-Fire Right Auxiliary', 'ConceptFireCountermeasure': 'Deploy Countermeasures', 'ConceptScoreboard': 'Show Loadout', 'ConceptControlEnginePower': 'Combo - Power to Engines / Max', 'ConceptIncreaseEnginePower': 'Increase Engine Power', 'ConceptMaximizeEnginePower': 'Maximize Engine Power', 'ConceptControlWeaponPower': 'Combo - Power to Weapons / Max', 'ConceptIncreaseWeaponPower': 'Increase Weapon Power', 'ConceptMaximizeWeaponPower': 'Maximize Weapon Power', 'ConceptControlShieldPower': 'Combo - Power to Shields / Max', 'ConceptIncreaseShieldPower': 'Increase Shield Power', 'ConceptMaximizeShieldPower': 'Maximize Shield Power', 'ConceptControlBalancePower': 'Balance Power', 'ConceptShieldFront': 'Focus Shields (Front)', 'ConceptShieldBack': 'Focus Shields (Rear)', 'ConceptShieldBalance': 'Focus Shields (Balanced)', 'ConceptEmergencyPowerTransferEngine': 'Convert Power (Engines)', 'ConceptEmergencyPowerTransferWeapon': 'Convert Power (Weapons)', 'ConceptEmergencyPowerTransferBalance': 'Convert Power (Balanced)', 'ConceptPowerTransfer': 'Focus Shields / Convert Power', 'ConceptPowerTransferMenuSelect': 'Shield / Power Menu Select', 'ConceptPowerTransferMenuX_P': 'Shield / Power Menu Right', 'ConceptPowerTransferMenuX_N': 'Shield / Power Menu Left', 'ConceptPowerTransferMenuY_P': 'Shield / Power Menu Up', 'ConceptPowerTransferMenuY_N': 'Shield / Power Menu Down', 'ConceptTargeting': 'Combo - Select Target Ahead / Targeting Wheel', 'ConceptTargetSelect': 'Select Target Ahead', 'ConceptTargetCycle': 'Combo - Cycle Targets / Target My Attacker', 'ConceptTargetCycleNext': 'Cycle Targets', 'ConceptTargetHighestThreat': 'Target My Attacker', 'ConceptTargetingMenu': 'Targeting Wheel', 'ConceptTargetingMenuSelectTargetingMethod': 'Targeting Wheel (Toggle Mode) - Select', 'ConceptTargetingMenuX_P': 'Targeting Wheel X - Right', 'ConceptTargetingMenuX_N': 'Targeting Wheel X - Left', 'ConceptTargetingMenuY_P': 'Targeting Wheel Y - Up', 'ConceptTargetingMenuY_N': 'Targeting Wheel Y - Down', 'ConceptTargetingMenuCycleAllEnemies': 'Targeting Wheel Shortcut - All Enemies', 'ConceptTargetingMenuCycleEnemySquadron': 'Targeting Wheel Shortcut - Enemy Squadron', 'ConceptTargetingMenuCycleEnemyAI': 'Targeting Wheel Shortcut - Enemy AI', 'ConceptTargetingMenuCycleFlagshipSystems': 'Targeting Wheel Shortcut - Flagship Systems', 'ConceptTargetingMenuCycleAllAllies': 'Targeting Wheel Shortcut - All Allies', 'ConceptTargetingMenuCycleMySquadron': 'Targeting Wheel Shortcut - My Squadron', 'ConceptTargetingMenuCycleTargetAttackers': "Targeting Wheel Shortcut - Target's Attackers", 'ConceptTargetingMenuCycleLastAttackers': 'Targeting Wheel Shortcut - Last Attackers', 'ConceptTargetingMenuCycleObjectives': 'Targeting Wheel Shortcut - Objectives', 'ConceptTargetingMenuCycleMissiles': 'Targeting Wheel Shortcut - Missiles', 'ConceptCommunication': 'Combo - Ping / Ack / Comms Wheel', 'ConceptTargetPing': 'Ping Target', 'ConceptPingSelf': 'Acknowledge Ping', 'ConceptCommMenu': 'Comms Wheel', 'ConceptCommMenuSelect': 'Comms Wheel (Toggle Mode) - Select', 'ConceptCommMenuX_P': 'Comms Wheel - Navigate Right', 'ConceptCommMenuX_N': 'Comms Wheel - Navigate Left', 'ConceptCommMenuY_P': 'Comms Wheel - Navigate Up', 'ConceptCommMenuY_N': 'Comms Wheel - Navigate Down', 'ConceptFreeLookTrigger': 'Recalibrate VR', 'ConceptFreeLook': 'Free Look', 'ConceptFreeLookCameraUp': 'Free Look - Camera Pitch Up', 'ConceptFreeLookCameraDown': 'Free Look - Camera Pitch Down', 'ConceptFreeLookCameraLeft': 'Free Look - Camera Yaw Left', 'ConceptFreeLookCameraRight': 'Free Look - Camera Yaw Right', 'ConceptCameraPitch_P': 'Quick Look - Camera Pitch Up', 'ConceptCameraPitch_N': 'Quick Look - Camera Pitch Down', 'ConceptCameraYaw_P': 'Quick Look - Camera Yaw Left', 'ConceptCameraYaw_N': 'Quick Look - Camera Yaw Right', 'ConceptCommMenuHelpMe': 'Comms Wheel Shortcut - Help Me', 'ConceptCommMenuCheer': 'Comms Wheel Shortcut - Cheer', 'ConceptCommMenuBrag': 'Comms Wheel Shortcut - Brag', 'ConceptCommMenuBoo': 'Comms Wheel Shortcut - Boo', 'ConceptCommMenuRegroup': 'Comms Wheel Shortcut - Regroup', 'ConceptCommMenuBattleCry': 'Comms Wheel Shortcut - Battle Cry', 'ConceptCommMenuThank': 'Comms Wheel Shortcut - Thank', 'ConceptCommMenuPraise': 'Comms Wheel Shortcut - Praise'} |
# *************************** LISTS FUNCTIONS *******************************
evenNum = [16, 4, 6, 8, 10, 12, 2 , 13]
animalsPet = ["Cow","Rat","Cat","Goat","Goat"]
animalsWild = ["Lion", "Tiger" , "Elephant"]
print(evenNum)
print(animalsPet)
print(animalsWild)
#Extend Function = it is use to extend or merge two lists we will use.
animalsPet.extend(animalsWild)
print(animalsPet)
#Append Function = it is use to add a data in a list it will add data in last
animalsPet.append("Rabbit")
print(animalsPet)
#Insert Function = it is use to insert data in any position by passing parameter of Index position where you want to add data in list
animalsWild.insert(2, "Jackal")
print(animalsWild)
#Remove Function = It is use to remove any element from data set list
evenNum.remove(13)
print(evenNum)
#Clear function = It is use to clear all the elements from data set list
evenNum.clear()
print(evenNum)
#Pop function = It is use to remove last element from the data set list
animalsPet.pop()
print(animalsPet)
#index function inside print command tells about at which index searched data is stored
print(animalsPet.index("Goat"))
#count function used to count the number of repeating elements inside the list
print(animalsPet.count("Goat"))
#sort function is used to sort data in assending order/alphabetical order
animalsPet.sort()
print(animalsPet)
evenNum = [16, 4, 6, 8, 10, 12, 2 , 13]
evenNum.sort()
print(evenNum)
#Reverse Function it is use to reverse the data element listing
evenNum.reverse()
print(evenNum)
#Copy function it is used to create a clone/copy of the data from list
animals = animalsWild.copy()
print(animals)
| even_num = [16, 4, 6, 8, 10, 12, 2, 13]
animals_pet = ['Cow', 'Rat', 'Cat', 'Goat', 'Goat']
animals_wild = ['Lion', 'Tiger', 'Elephant']
print(evenNum)
print(animalsPet)
print(animalsWild)
animalsPet.extend(animalsWild)
print(animalsPet)
animalsPet.append('Rabbit')
print(animalsPet)
animalsWild.insert(2, 'Jackal')
print(animalsWild)
evenNum.remove(13)
print(evenNum)
evenNum.clear()
print(evenNum)
animalsPet.pop()
print(animalsPet)
print(animalsPet.index('Goat'))
print(animalsPet.count('Goat'))
animalsPet.sort()
print(animalsPet)
even_num = [16, 4, 6, 8, 10, 12, 2, 13]
evenNum.sort()
print(evenNum)
evenNum.reverse()
print(evenNum)
animals = animalsWild.copy()
print(animals) |
class Solution:
def isPowerOfThree(self, n: int) -> bool:
if n<=0:
return False
while(n>1):
if n%3==0:
n/=3
else:
return False
return True
| class Solution:
def is_power_of_three(self, n: int) -> bool:
if n <= 0:
return False
while n > 1:
if n % 3 == 0:
n /= 3
else:
return False
return True |
limit = 10000
sum_divisors = 0
val = [0, 0]
for number in range(2, limit):
sum_divisor = 0
for number2 in range(1, int(number / 2) + 1):
if (number % number2 == 0):
sum_divisor += number2
val.append(sum_divisor)
sum_amicable_numbers = 0
for number in range(2, limit):
if (val[number] < limit and number != val[number] and val[val[number]] == number):
sum_amicable_numbers += number
print(sum_amicable_numbers)
| limit = 10000
sum_divisors = 0
val = [0, 0]
for number in range(2, limit):
sum_divisor = 0
for number2 in range(1, int(number / 2) + 1):
if number % number2 == 0:
sum_divisor += number2
val.append(sum_divisor)
sum_amicable_numbers = 0
for number in range(2, limit):
if val[number] < limit and number != val[number] and (val[val[number]] == number):
sum_amicable_numbers += number
print(sum_amicable_numbers) |
peso_maior = 0
peso_menor = 0
for c in range(1, 6):
peso = float(input("Informe o peso da {0} pessoa: ".format(c)))
if(c == 1):
peso_maior = peso
peso_menor = peso
else:
if(peso > peso_maior):
peso_maior = peso
if(peso < peso_menor):
peso_menor = peso
print("O peso MAIOR e {0}Kg!".format(peso_maior))
print("O peso MENOR e {0}Kg!".format(peso_menor))
| peso_maior = 0
peso_menor = 0
for c in range(1, 6):
peso = float(input('Informe o peso da {0} pessoa: '.format(c)))
if c == 1:
peso_maior = peso
peso_menor = peso
else:
if peso > peso_maior:
peso_maior = peso
if peso < peso_menor:
peso_menor = peso
print('O peso MAIOR e {0}Kg!'.format(peso_maior))
print('O peso MENOR e {0}Kg!'.format(peso_menor)) |
'''
this is used to add a comment line
or a set of lines that the computer ignores
'''
# this is used to add a single comment line
print("this is used to" + " concatenate 2 strings")
'''
a string and a number cannot be concatenated this way
instead we can use a comma to separate the two different data types'''
print(9, ' aousnik')
#BREAK AND CONTINUE::
magicNumber = 26
for x in range(101):
if x is magicNumber:
print(x," is a magic number")
#once 26 is found it prints the number and breaks the loop
break
else:
print(x)
#prints the number anyways
'''numbers till 100 divisibe by 4'''
print('\n')
for i in range(1, 101):
x = i%4
if x is 0:
print(i) | """
this is used to add a comment line
or a set of lines that the computer ignores
"""
print('this is used to' + ' concatenate 2 strings')
'\na string and a number cannot be concatenated this way\ninstead we can use a comma to separate the two different data types'
print(9, ' aousnik')
magic_number = 26
for x in range(101):
if x is magicNumber:
print(x, ' is a magic number')
break
else:
print(x)
'numbers till 100 divisibe by 4'
print('\n')
for i in range(1, 101):
x = i % 4
if x is 0:
print(i) |
'''
Created on 11 juni 2017
@author: Wilma
'''
| """
Created on 11 juni 2017
@author: Wilma
""" |
num=grt=1
def collatz(no):
if no==1:
return 1
else:
if no%2==0:
return 1+collatz(int(no/2))
else:
return 1+collatz((3*no)+1)
for i in range(2, 1000000, 1):
a=collatz(i)
if (a>grt):
num=i
grt=a
if (i%1000==0):
print(i)
print(num) | num = grt = 1
def collatz(no):
if no == 1:
return 1
elif no % 2 == 0:
return 1 + collatz(int(no / 2))
else:
return 1 + collatz(3 * no + 1)
for i in range(2, 1000000, 1):
a = collatz(i)
if a > grt:
num = i
grt = a
if i % 1000 == 0:
print(i)
print(num) |
# Utilities related to colors.
# A standard color-blind palette, with equalized luminance, adding another a blue.
colors = [
((165, 54, 0, 255), ["orange", "brown"]),
((179, 45, 181, 255), ["pink"]),
((0, 114, 178, 255), ["blue", "lightBlue", "blue1"]),
((144, 136, 39, 255), ["yellow"]),
((52, 142, 83, 255), ["green"]),
((5, 60, 255, 255), ["darkBlue", "blue2"])
]
colors = [((c[0][0]/255.0, c[0][1]/255.0, c[0][2]/255.0, c[0][3]/255.0), c[1]) for c in colors]
def getColor(colorId, colors):
if isinstance(colorId, int):
# The colorId is an index into the array of colors.
if colorId < 0 or colorId >= len(colors):
print("Error: color index {} must be between 0 and {}".format(colorId, len(colors) - 1))
return None
return colors[colorId][0]
elif isinstance(colorId, str):
if colorId.startswith("#"):
# The colorId is a CSS color, a string of the format "#RRGGBB" where
# RR, GG and BB are hex numbers for the red, green and blue channels.
# In general, it is recommended to stick with the colors in the palette,
# but in some cases, other colors are useful (e.g., match how NeuTu uses
# gray for post-synaptic bodies).
return tuple([int(colorId[i:i+2], 16) / 255 for i in (1, 3, 5)])
else:
# The colorId is a color name, so check for a match with the names in
# the palette. Do a little processing so there is a successful match for
# "light-blue", "lightblue", "LightBlue", etc.
id = colorId.replace("-","").lower()
for color in colors:
if id in [c.lower() for c in color[1]]:
return color[0]
print("Error: unknown color name '{}'".format(colorId))
return None
else:
print("Error: invalid color identifier '{}'".format(colorId))
return None
| colors = [((165, 54, 0, 255), ['orange', 'brown']), ((179, 45, 181, 255), ['pink']), ((0, 114, 178, 255), ['blue', 'lightBlue', 'blue1']), ((144, 136, 39, 255), ['yellow']), ((52, 142, 83, 255), ['green']), ((5, 60, 255, 255), ['darkBlue', 'blue2'])]
colors = [((c[0][0] / 255.0, c[0][1] / 255.0, c[0][2] / 255.0, c[0][3] / 255.0), c[1]) for c in colors]
def get_color(colorId, colors):
if isinstance(colorId, int):
if colorId < 0 or colorId >= len(colors):
print('Error: color index {} must be between 0 and {}'.format(colorId, len(colors) - 1))
return None
return colors[colorId][0]
elif isinstance(colorId, str):
if colorId.startswith('#'):
return tuple([int(colorId[i:i + 2], 16) / 255 for i in (1, 3, 5)])
else:
id = colorId.replace('-', '').lower()
for color in colors:
if id in [c.lower() for c in color[1]]:
return color[0]
print("Error: unknown color name '{}'".format(colorId))
return None
else:
print("Error: invalid color identifier '{}'".format(colorId))
return None |
class Foo:
def say(self):
return 'bar'
| class Foo:
def say(self):
return 'bar' |
#works reguardless the size of the strings
def compare(_firstString, _secondString):
_list = list(set(_firstString.lower()) - set(_secondString.lower()))
print("The Non-Common Charecters are: ")
for i in _list:
print(i)
# works only for equal length strings
def COMPARE(_firstString, _secondString):
print("The Non-Common Charecters are: ")
if (len(_firstString) == len(_secondString)):
for i in len(_firstString):
if (_firstString[i] != _secondString[0]):
print(_firstString[i])
if __name__ == "__main__":
print("Enter Two Strings: ")
first = input()
second = input()
compare(first, second)
| def compare(_firstString, _secondString):
_list = list(set(_firstString.lower()) - set(_secondString.lower()))
print('The Non-Common Charecters are: ')
for i in _list:
print(i)
def compare(_firstString, _secondString):
print('The Non-Common Charecters are: ')
if len(_firstString) == len(_secondString):
for i in len(_firstString):
if _firstString[i] != _secondString[0]:
print(_firstString[i])
if __name__ == '__main__':
print('Enter Two Strings: ')
first = input()
second = input()
compare(first, second) |
class Student(object):
def __init__(self, name, score):
self.__name = name
self._score = score
def print_score(self):
print('%s: %s' % (self.__name, self.__score))
bart = Student("Zero", 32)
print(bart)
| class Student(object):
def __init__(self, name, score):
self.__name = name
self._score = score
def print_score(self):
print('%s: %s' % (self.__name, self.__score))
bart = student('Zero', 32)
print(bart) |
def rearrange_sorted_list_in_max_into_set(lst):
result = []
for i in range(len(lst)//2):
result.append((lst[i], lst[-i - 1]))
if len(lst) % 2 == 1:
result.append(lst[len(lst)//2])
return result
| def rearrange_sorted_list_in_max_into_set(lst):
result = []
for i in range(len(lst) // 2):
result.append((lst[i], lst[-i - 1]))
if len(lst) % 2 == 1:
result.append(lst[len(lst) // 2])
return result |
# Students dictionary
students = {"Ahmed" : 87, "Waleed" : 69, "Hesham" : 92}
# Khaled grades
kh_grades = {"Math": 86, "English": 74}
#1 Add Khaled and his grades to students
students[________] = _________
# Print out students
print(students)
#2 Print out Khaled grade in English
print(_____________________________)
| students = {'Ahmed': 87, 'Waleed': 69, 'Hesham': 92}
kh_grades = {'Math': 86, 'English': 74}
students[________] = _________
print(students)
print(_____________________________) |
load("@com_github_pybind_bazel//:build_defs.bzl", "pybind_extension")
def pybind_py_library(name,
cc_so_name = None,
copts = [],
features = [],
tags = [],
cc_srcs = [],
cc_deps = [],
py_library_rule = native.py_library,
py_srcs = [],
py_deps = [],
py_imports = [],
cc_linkopts = [],
visibility = None,
testonly = None,
**kwargs):
if not cc_so_name:
if name.endswith("_py"):
cc_so_name = name[:-3]
else:
cc_so_name = name
pybind_extension(
name = cc_so_name,
copts = copts,
features = features,
tags = tags,
deps = cc_deps,
srcs = cc_srcs,
cc_linkopts = cc_linkopts,
visibility = visibility,
testonly = testonly,
**kwargs,
)
py_library_rule(
name = name,
data = [cc_so_name + '.so'],
srcs = py_srcs,
deps = py_deps,
imports = py_imports,
testonly = testonly,
visibility = visibility,
)
| load('@com_github_pybind_bazel//:build_defs.bzl', 'pybind_extension')
def pybind_py_library(name, cc_so_name=None, copts=[], features=[], tags=[], cc_srcs=[], cc_deps=[], py_library_rule=native.py_library, py_srcs=[], py_deps=[], py_imports=[], cc_linkopts=[], visibility=None, testonly=None, **kwargs):
if not cc_so_name:
if name.endswith('_py'):
cc_so_name = name[:-3]
else:
cc_so_name = name
pybind_extension(name=cc_so_name, copts=copts, features=features, tags=tags, deps=cc_deps, srcs=cc_srcs, cc_linkopts=cc_linkopts, visibility=visibility, testonly=testonly, **kwargs)
py_library_rule(name=name, data=[cc_so_name + '.so'], srcs=py_srcs, deps=py_deps, imports=py_imports, testonly=testonly, visibility=visibility) |
n = 10000
df = pd.DataFrame({'x': np.random.randn(n),
'y': np.random.randn(n)})
ax = df.plot.hexbin(x='x', y='y', gridsize=20)
| n = 10000
df = pd.DataFrame({'x': np.random.randn(n), 'y': np.random.randn(n)})
ax = df.plot.hexbin(x='x', y='y', gridsize=20) |
#
# Py Word Permutations
#
# Author: Afaan Bilal
# URL: https://afaan.ml
#
# Display all possible permutaions for a set of characters.
#
# (c) 2016 Afaan Bilal
# Released under the MIT License
#
def base_convert(number, fromBase, toBase):
''' Convert numbers to and from decimal '''
i = 0
result = 0
number = int(number)
while number > 0:
result += (number % toBase) * (fromBase ** i)
i += 1
number //= toBase
return str(result)
def binSearch(arr, s, ubound):
''' Binary Search '''
b = 0
t = ubound
mid = (t + b) // 2
if len(arr) <= mid:
return False
while b <= t:
mid = (t + b) // 2
if len(arr) <= mid:
return False
if arr[mid] < s:
b = mid + 1
elif arr[mid] > s:
t = mid - 1
else:
return True
else:
return False
print("Py Word Permutations")
chars = input("Enter characters: ")
lcount = len(chars)
keys = ''.zfill(lcount)
chars = sorted(chars)
# find number of unique characters
uchars = []
for c in chars[:]:
if c in uchars:
continue
uchars.append(c)
ucount = len(uchars)
# calculate total number of permutations
wcount = lcount ** lcount
# calculate number of unique permutaions
real_wcount = ucount ** lcount
print("Total Characters : {}".format(lcount))
print("Total Permutations: {}".format(wcount))
print("Unique Permutations: {}".format(real_wcount))
# permute the characters
words = []
for i in range(wcount):
cur_word = []
for j in range(lcount):
key = int(keys[j])
cur_word.append(str(chars[int(key)]))
c_word = ''.join(cur_word)
# calculate the next key string
keys = base_convert(keys, lcount, 10)
keys_i = int(keys)
keys_i += 1
keys = str(keys_i)
keys = base_convert(keys, 10, lcount)
# pad the key string to have indexes for all places
keys = keys.zfill(lcount)
# add only unique permutations
if not binSearch(words, c_word, len(words)):
words.append(c_word)
print("WORDS:")
for w in words:
print(w, end=' ')
| def base_convert(number, fromBase, toBase):
""" Convert numbers to and from decimal """
i = 0
result = 0
number = int(number)
while number > 0:
result += number % toBase * fromBase ** i
i += 1
number //= toBase
return str(result)
def bin_search(arr, s, ubound):
""" Binary Search """
b = 0
t = ubound
mid = (t + b) // 2
if len(arr) <= mid:
return False
while b <= t:
mid = (t + b) // 2
if len(arr) <= mid:
return False
if arr[mid] < s:
b = mid + 1
elif arr[mid] > s:
t = mid - 1
else:
return True
else:
return False
print('Py Word Permutations')
chars = input('Enter characters: ')
lcount = len(chars)
keys = ''.zfill(lcount)
chars = sorted(chars)
uchars = []
for c in chars[:]:
if c in uchars:
continue
uchars.append(c)
ucount = len(uchars)
wcount = lcount ** lcount
real_wcount = ucount ** lcount
print('Total Characters : {}'.format(lcount))
print('Total Permutations: {}'.format(wcount))
print('Unique Permutations: {}'.format(real_wcount))
words = []
for i in range(wcount):
cur_word = []
for j in range(lcount):
key = int(keys[j])
cur_word.append(str(chars[int(key)]))
c_word = ''.join(cur_word)
keys = base_convert(keys, lcount, 10)
keys_i = int(keys)
keys_i += 1
keys = str(keys_i)
keys = base_convert(keys, 10, lcount)
keys = keys.zfill(lcount)
if not bin_search(words, c_word, len(words)):
words.append(c_word)
print('WORDS:')
for w in words:
print(w, end=' ') |
temperature = 35
if temperature == 30:
print("It's a hot day.")
else:
print("It's not a hot day.")
# Exercise
name = input("Enter name: ")
if len(name) < 3:
print("Name must be at least 3 characters.")
elif len(name) > 20:
print("Name must be a maximum of 20 characters.")
else:
print("Name looks good!")
| temperature = 35
if temperature == 30:
print("It's a hot day.")
else:
print("It's not a hot day.")
name = input('Enter name: ')
if len(name) < 3:
print('Name must be at least 3 characters.')
elif len(name) > 20:
print('Name must be a maximum of 20 characters.')
else:
print('Name looks good!') |
#!/usr/bin/python3
# @JUDGE_ID: mobluse 11044 Python 3 "Closed-form expression"
t = int(input())
for i in range(t):
n, m = [int(x) for x in input().split()]
print((n//3)*(m//3))
| t = int(input())
for i in range(t):
(n, m) = [int(x) for x in input().split()]
print(n // 3 * (m // 3)) |
print("This file tests Elif.")
a=99
if a<=0:
print("Plese enter a correct number")
if a<=60:
print('E')
elif a<=70:
print("D")
elif a<=80:
print("C")
elif a<=90:
print("B")
elif a<=95:
print("A")
elif a<=99:
print("A+")
else:
print("A++") | print('This file tests Elif.')
a = 99
if a <= 0:
print('Plese enter a correct number')
if a <= 60:
print('E')
elif a <= 70:
print('D')
elif a <= 80:
print('C')
elif a <= 90:
print('B')
elif a <= 95:
print('A')
elif a <= 99:
print('A+')
else:
print('A++') |
#!/usr/bin/env python3
# The MIT License
# Copyright (c) 2016 Estonian Information System Authority (RIA), Population Register Centre (VRK)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
# This module contains test cases that are part of the integration test of the
# operational monitoring system. For running the test cases, import them in the
# main wrapper.
# List the test cases that must be available to the wrapper.
# It must be possible to run the test cases in an arbitrary order.
__all__ = [
"test_simple_store_and_query",
"test_soap_fault",
"test_get_metadata",
"test_metaservices",
"test_attachments",
"test_health_data",
"test_limited_operational_data_response",
"test_service_cluster",
"test_outputspec",
"test_time_interval",
"test_client_filter",
"test_zero_buffer_size",
]
| __all__ = ['test_simple_store_and_query', 'test_soap_fault', 'test_get_metadata', 'test_metaservices', 'test_attachments', 'test_health_data', 'test_limited_operational_data_response', 'test_service_cluster', 'test_outputspec', 'test_time_interval', 'test_client_filter', 'test_zero_buffer_size'] |
#!/usr/bin/env python
def fac(n):
'''compute the factorial of given number'''
assert type(n) == int, 'argument must be integer'
assert n >= 0, 'argument must be positive'
if n > 1:
return n*fac(n - 1)
else:
return 1
if __name__ == '__main__':
for i in range(5):
print('{0}! = {1}'.format(i, fac(i)))
for i in [-2, 0.3, 3.0]:
try:
print('{0}! = {1}'.format(i, fac(i)))
except AssertionError as error:
print('{0}! failed: "{1}"'.format(i, error))
| def fac(n):
"""compute the factorial of given number"""
assert type(n) == int, 'argument must be integer'
assert n >= 0, 'argument must be positive'
if n > 1:
return n * fac(n - 1)
else:
return 1
if __name__ == '__main__':
for i in range(5):
print('{0}! = {1}'.format(i, fac(i)))
for i in [-2, 0.3, 3.0]:
try:
print('{0}! = {1}'.format(i, fac(i)))
except AssertionError as error:
print('{0}! failed: "{1}"'.format(i, error)) |
# Demonstrate how to use set comprehensions
def main():
# define a list of temperature data points
ctemps = [5, 10, 12, 14, 10, 23, 41, 30, 12, 24, 12, 18, 29]
# TODO: build a set of unique Fahrenheit temperatures
# TODO: build a set from an input source
if __name__ == "__main__":
main()
| def main():
ctemps = [5, 10, 12, 14, 10, 23, 41, 30, 12, 24, 12, 18, 29]
if __name__ == '__main__':
main() |
been_called = False
def example2():
global been_called
been_called = True
# example2()
# print(been_called)
def sort_words_by_length():
fin = open('words.txt')
lt = []
for line in fin:
line = line.strip()
lt.append((len(line), line))
lt.sort(reverse=True)
res = []
for _, word in lt:
res.append(word)
return res
x = sort_words_by_length()
print(x[0])
| been_called = False
def example2():
global been_called
been_called = True
def sort_words_by_length():
fin = open('words.txt')
lt = []
for line in fin:
line = line.strip()
lt.append((len(line), line))
lt.sort(reverse=True)
res = []
for (_, word) in lt:
res.append(word)
return res
x = sort_words_by_length()
print(x[0]) |
# Using the seive of Eratosthenes https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
def sum_primes(n):
sum = 0
sieve = [True] * n
for i in range(2, n):
if sieve[i]:
sum += i
for j in range(i**2, n, i):
sieve[j] = False
return sum
if __name__ == "__main__":
print(sum_primes(2000000)) | def sum_primes(n):
sum = 0
sieve = [True] * n
for i in range(2, n):
if sieve[i]:
sum += i
for j in range(i ** 2, n, i):
sieve[j] = False
return sum
if __name__ == '__main__':
print(sum_primes(2000000)) |
ans=0
x1,y1,r1=map(int,input().split())
x2,y2,r2=map(int,input().split())
x3,y3,r3=map(int,input().split())
for i in range(23001):
for j in range(23001):
if (x1-i/230+0.0022)**2+(y1-j/230+0.0022)**2<=r1*r1: ans+=1
elif (x2-i/230+0.0022)**2+(y2-j/230+0.0022)**2<=r2*r2: ans+=1
elif (x3-i/230+0.0022)**2+(y3-j/230+0.0022)**2<=r3*r3: ans+=1
print(ans/52900) | ans = 0
(x1, y1, r1) = map(int, input().split())
(x2, y2, r2) = map(int, input().split())
(x3, y3, r3) = map(int, input().split())
for i in range(23001):
for j in range(23001):
if (x1 - i / 230 + 0.0022) ** 2 + (y1 - j / 230 + 0.0022) ** 2 <= r1 * r1:
ans += 1
elif (x2 - i / 230 + 0.0022) ** 2 + (y2 - j / 230 + 0.0022) ** 2 <= r2 * r2:
ans += 1
elif (x3 - i / 230 + 0.0022) ** 2 + (y3 - j / 230 + 0.0022) ** 2 <= r3 * r3:
ans += 1
print(ans / 52900) |
num = int(input("enter any Number"))
rev = 0
while num > 0:
Rem = num % 10
num = num // 10
rev = rev * 10 + Rem
print("The Reverse of the number", rev)
##################
# could also simply do this another way
num = input()
print(int(num[::-1]))
| num = int(input('enter any Number'))
rev = 0
while num > 0:
rem = num % 10
num = num // 10
rev = rev * 10 + Rem
print('The Reverse of the number', rev)
num = input()
print(int(num[::-1])) |
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2021 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
count = 425
exceptions = {
406: {
"_": "NotAcceptable",
"AUTH_KEY_DUPLICATED": "AuthKeyDuplicated",
"FILEREF_UPGRADE_NEEDED": "FilerefUpgradeNeeded",
"FRESH_CHANGE_ADMINS_FORBIDDEN": "FreshChangeAdminsForbidden",
"FRESH_CHANGE_PHONE_FORBIDDEN": "FreshChangePhoneForbidden",
"FRESH_RESET_AUTHORISATION_FORBIDDEN": "FreshResetAuthorisationForbidden",
"PHONE_NUMBER_INVALID": "PhoneNumberInvalid",
"PHONE_PASSWORD_FLOOD": "PhonePasswordFlood",
"STICKERSET_INVALID": "StickersetInvalid",
"STICKERSET_OWNER_ANONYMOUS": "StickersetOwnerAnonymous",
"USERPIC_UPLOAD_REQUIRED": "UserpicUploadRequired",
"USER_RESTRICTED": "UserRestricted",
},
500: {
"_": "InternalServerError",
"API_CALL_ERROR": "ApiCallError",
"AUTH_RESTART": "AuthRestart",
"CALL_OCCUPY_FAILED": "CallOccupyFailed",
"CHAT_ID_GENERATE_FAILED": "ChatIdGenerateFailed",
"CHAT_OCCUPY_LOC_FAILED": "ChatOccupyLocFailed",
"CHAT_OCCUPY_USERNAME_FAILED": "ChatOccupyUsernameFailed",
"CHP_CALL_FAIL": "ChpCallFail",
"ENCRYPTION_OCCUPY_ADMIN_FAILED": "EncryptionOccupyAdminFailed",
"ENCRYPTION_OCCUPY_FAILED": "EncryptionOccupyFailed",
"FOLDER_DEAC_AUTOFIX_ALL": "FolderDeacAutofixAll",
"GROUPED_ID_OCCUPY_FAILED": "GroupedIdOccupyFailed",
"HISTORY_GET_FAILED": "HistoryGetFailed",
"IMAGE_ENGINE_DOWN": "ImageEngineDown",
"INTERDC_X_CALL_ERROR": "InterdcCallError",
"INTERDC_X_CALL_RICH_ERROR": "InterdcCallRichError",
"MEMBER_FETCH_FAILED": "MemberFetchFailed",
"MEMBER_NO_LOCATION": "MemberNoLocation",
"MEMBER_OCCUPY_PRIMARY_LOC_FAILED": "MemberOccupyPrimaryLocFailed",
"MEMBER_OCCUPY_USERNAME_FAILED": "MemberOccupyUsernameFailed",
"MSGID_DECREASE_RETRY": "MsgidDecreaseRetry",
"MSG_RANGE_UNSYNC": "MsgRangeUnsync",
"MT_SEND_QUEUE_TOO_LONG": "MtSendQueueTooLong",
"NEED_CHAT_INVALID": "NeedChatInvalid",
"NEED_MEMBER_INVALID": "NeedMemberInvalid",
"PARTICIPANT_CALL_FAILED": "ParticipantCallFailed",
"PERSISTENT_TIMESTAMP_OUTDATED": "PersistentTimestampOutdated",
"POSTPONED_TIMEOUT": "PostponedTimeout",
"PTS_CHANGE_EMPTY": "PtsChangeEmpty",
"RANDOM_ID_DUPLICATE": "RandomIdDuplicate",
"REG_ID_GENERATE_FAILED": "RegIdGenerateFailed",
"RPC_CALL_FAIL": "RpcCallFail",
"RPC_CONNECT_FAILED": "RpcConnectFailed",
"RPC_MCGET_FAIL": "RpcMcgetFail",
"SIGN_IN_FAILED": "SignInFailed",
"STORAGE_CHECK_FAILED": "StorageCheckFailed",
"STORE_INVALID_SCALAR_TYPE": "StoreInvalidScalarType",
"UNKNOWN_METHOD": "UnknownMethod",
"UPLOAD_NO_VOLUME": "UploadNoVolume",
"VOLUME_LOC_NOT_FOUND": "VolumeLocNotFound",
"WORKER_BUSY_TOO_LONG_RETRY": "WorkerBusyTooLongRetry",
"WP_ID_GENERATE_FAILED": "WpIdGenerateFailed",
},
400: {
"_": "BadRequest",
"ABOUT_TOO_LONG": "AboutTooLong",
"ACCESS_TOKEN_EXPIRED": "AccessTokenExpired",
"ACCESS_TOKEN_INVALID": "AccessTokenInvalid",
"ADMINS_TOO_MUCH": "AdminsTooMuch",
"ADMIN_RANK_EMOJI_NOT_ALLOWED": "AdminRankEmojiNotAllowed",
"ADMIN_RANK_INVALID": "AdminRankInvalid",
"ALBUM_PHOTOS_TOO_MANY": "AlbumPhotosTooMany",
"API_ID_INVALID": "ApiIdInvalid",
"API_ID_PUBLISHED_FLOOD": "ApiIdPublishedFlood",
"ARTICLE_TITLE_EMPTY": "ArticleTitleEmpty",
"AUDIO_TITLE_EMPTY": "AudioTitleEmpty",
"AUTH_BYTES_INVALID": "AuthBytesInvalid",
"AUTH_TOKEN_ALREADY_ACCEPTED": "AuthTokenAlreadyAccepted",
"AUTH_TOKEN_EXPIRED": "AuthTokenExpired",
"AUTH_TOKEN_INVALID": "AuthTokenInvalid",
"AUTOARCHIVE_NOT_AVAILABLE": "AutoarchiveNotAvailable",
"BANK_CARD_NUMBER_INVALID": "BankCardNumberInvalid",
"BANNED_RIGHTS_INVALID": "BannedRightsInvalid",
"BOTS_TOO_MUCH": "BotsTooMuch",
"BOT_CHANNELS_NA": "BotChannelsNa",
"BOT_COMMAND_DESCRIPTION_INVALID": "BotCommandDescriptionInvalid",
"BOT_DOMAIN_INVALID": "BotDomainInvalid",
"BOT_GAMES_DISABLED": "BotGamesDisabled",
"BOT_GROUPS_BLOCKED": "BotGroupsBlocked",
"BOT_INLINE_DISABLED": "BotInlineDisabled",
"BOT_INVALID": "BotInvalid",
"BOT_METHOD_INVALID": "BotMethodInvalid",
"BOT_MISSING": "BotMissing",
"BOT_PAYMENTS_DISABLED": "BotPaymentsDisabled",
"BOT_POLLS_DISABLED": "BotPollsDisabled",
"BOT_RESPONSE_TIMEOUT": "BotResponseTimeout",
"BOT_SCORE_NOT_MODIFIED": "BotScoreNotModified",
"BROADCAST_ID_INVALID": "BroadcastIdInvalid",
"BROADCAST_PUBLIC_VOTERS_FORBIDDEN": "BroadcastPublicVotersForbidden",
"BROADCAST_REQUIRED": "BroadcastRequired",
"BUTTON_DATA_INVALID": "ButtonDataInvalid",
"BUTTON_TYPE_INVALID": "ButtonTypeInvalid",
"BUTTON_URL_INVALID": "ButtonUrlInvalid",
"CALL_ALREADY_ACCEPTED": "CallAlreadyAccepted",
"CALL_ALREADY_DECLINED": "CallAlreadyDeclined",
"CALL_PEER_INVALID": "CallPeerInvalid",
"CALL_PROTOCOL_FLAGS_INVALID": "CallProtocolFlagsInvalid",
"CDN_METHOD_INVALID": "CdnMethodInvalid",
"CHANNELS_ADMIN_PUBLIC_TOO_MUCH": "ChannelsAdminPublicTooMuch",
"CHANNELS_TOO_MUCH": "ChannelsTooMuch",
"CHANNEL_BANNED": "ChannelBanned",
"CHANNEL_INVALID": "ChannelInvalid",
"CHANNEL_PRIVATE": "ChannelPrivate",
"CHANNEL_TOO_LARGE": "ChannelTooLarge",
"CHAT_ABOUT_NOT_MODIFIED": "ChatAboutNotModified",
"CHAT_ABOUT_TOO_LONG": "ChatAboutTooLong",
"CHAT_ADMIN_REQUIRED": "ChatAdminRequired",
"CHAT_ID_EMPTY": "ChatIdEmpty",
"CHAT_ID_INVALID": "ChatIdInvalid",
"CHAT_INVALID": "ChatInvalid",
"CHAT_LINK_EXISTS": "ChatLinkExists",
"CHAT_NOT_MODIFIED": "ChatNotModified",
"CHAT_RESTRICTED": "ChatRestricted",
"CHAT_SEND_INLINE_FORBIDDEN": "ChatSendInlineForbidden",
"CHAT_TITLE_EMPTY": "ChatTitleEmpty",
"CODE_EMPTY": "CodeEmpty",
"CODE_HASH_INVALID": "CodeHashInvalid",
"CODE_INVALID": "CodeInvalid",
"CONNECTION_API_ID_INVALID": "ConnectionApiIdInvalid",
"CONNECTION_APP_VERSION_EMPTY": "ConnectionAppVersionEmpty",
"CONNECTION_DEVICE_MODEL_EMPTY": "ConnectionDeviceModelEmpty",
"CONNECTION_LANG_PACK_INVALID": "ConnectionLangPackInvalid",
"CONNECTION_LAYER_INVALID": "ConnectionLayerInvalid",
"CONNECTION_NOT_INITED": "ConnectionNotInited",
"CONNECTION_SYSTEM_EMPTY": "ConnectionSystemEmpty",
"CONNECTION_SYSTEM_LANG_CODE_EMPTY": "ConnectionSystemLangCodeEmpty",
"CONTACT_ADD_MISSING": "ContactAddMissing",
"CONTACT_ID_INVALID": "ContactIdInvalid",
"CONTACT_NAME_EMPTY": "ContactNameEmpty",
"CONTACT_REQ_MISSING": "ContactReqMissing",
"DATA_INVALID": "DataInvalid",
"DATA_JSON_INVALID": "DataJsonInvalid",
"DATA_TOO_LONG": "DataTooLong",
"DATE_EMPTY": "DateEmpty",
"DC_ID_INVALID": "DcIdInvalid",
"DH_G_A_INVALID": "DhGAInvalid",
"DOCUMENT_INVALID": "DocumentInvalid",
"EMAIL_HASH_EXPIRED": "EmailHashExpired",
"EMAIL_INVALID": "EmailInvalid",
"EMAIL_UNCONFIRMED": "EmailUnconfirmed",
"EMAIL_UNCONFIRMED_X": "EmailUnconfirmed",
"EMAIL_VERIFY_EXPIRED": "EmailVerifyExpired",
"EMOTICON_EMPTY": "EmoticonEmpty",
"EMOTICON_INVALID": "EmoticonInvalid",
"EMOTICON_STICKERPACK_MISSING": "EmoticonStickerpackMissing",
"ENCRYPTED_MESSAGE_INVALID": "EncryptedMessageInvalid",
"ENCRYPTION_ALREADY_ACCEPTED": "EncryptionAlreadyAccepted",
"ENCRYPTION_ALREADY_DECLINED": "EncryptionAlreadyDeclined",
"ENCRYPTION_DECLINED": "EncryptionDeclined",
"ENCRYPTION_ID_INVALID": "EncryptionIdInvalid",
"ENTITIES_TOO_LONG": "EntitiesTooLong",
"ENTITY_MENTION_USER_INVALID": "EntityMentionUserInvalid",
"ERROR_TEXT_EMPTY": "ErrorTextEmpty",
"EXPORT_CARD_INVALID": "ExportCardInvalid",
"EXTERNAL_URL_INVALID": "ExternalUrlInvalid",
"FIELD_NAME_EMPTY": "FieldNameEmpty",
"FIELD_NAME_INVALID": "FieldNameInvalid",
"FILE_ID_INVALID": "FileIdInvalid",
"FILE_MIGRATE_X": "FileMigrate",
"FILE_PARTS_INVALID": "FilePartsInvalid",
"FILE_PART_EMPTY": "FilePartEmpty",
"FILE_PART_INVALID": "FilePartInvalid",
"FILE_PART_LENGTH_INVALID": "FilePartLengthInvalid",
"FILE_PART_SIZE_CHANGED": "FilePartSizeChanged",
"FILE_PART_SIZE_INVALID": "FilePartSizeInvalid",
"FILE_PART_TOO_BIG": "FilePartTooBig",
"FILE_PART_X_MISSING": "FilePartMissing",
"FILE_REFERENCE_EMPTY": "FileReferenceEmpty",
"FILE_REFERENCE_EXPIRED": "FileReferenceExpired",
"FILE_REFERENCE_INVALID": "FileReferenceInvalid",
"FILTER_ID_INVALID": "FilterIdInvalid",
"FIRSTNAME_INVALID": "FirstnameInvalid",
"FOLDER_ID_EMPTY": "FolderIdEmpty",
"FOLDER_ID_INVALID": "FolderIdInvalid",
"FRESH_CHANGE_ADMINS_FORBIDDEN": "FreshChangeAdminsForbidden",
"FROM_MESSAGE_BOT_DISABLED": "FromMessageBotDisabled",
"GAME_BOT_INVALID": "GameBotInvalid",
"GEO_POINT_INVALID": "GeoPointInvalid",
"GIF_CONTENT_TYPE_INVALID": "GifContentTypeInvalid",
"GIF_ID_INVALID": "GifIdInvalid",
"GRAPH_INVALID_RELOAD": "GraphInvalidReload",
"GRAPH_OUTDATED_RELOAD": "GraphOutdatedReload",
"GROUPED_MEDIA_INVALID": "GroupedMediaInvalid",
"HASH_INVALID": "HashInvalid",
"IMAGE_PROCESS_FAILED": "ImageProcessFailed",
"INLINE_RESULT_EXPIRED": "InlineResultExpired",
"INPUT_CONSTRUCTOR_INVALID": "InputConstructorInvalid",
"INPUT_FETCH_ERROR": "InputFetchError",
"INPUT_FETCH_FAIL": "InputFetchFail",
"INPUT_FILTER_INVALID": "InputFilterInvalid",
"INPUT_LAYER_INVALID": "InputLayerInvalid",
"INPUT_METHOD_INVALID": "InputMethodInvalid",
"INPUT_REQUEST_TOO_LONG": "InputRequestTooLong",
"INPUT_USER_DEACTIVATED": "InputUserDeactivated",
"INVITE_HASH_EMPTY": "InviteHashEmpty",
"INVITE_HASH_EXPIRED": "InviteHashExpired",
"INVITE_HASH_INVALID": "InviteHashInvalid",
"LANG_PACK_INVALID": "LangPackInvalid",
"LASTNAME_INVALID": "LastnameInvalid",
"LIMIT_INVALID": "LimitInvalid",
"LINK_NOT_MODIFIED": "LinkNotModified",
"LOCATION_INVALID": "LocationInvalid",
"MAX_ID_INVALID": "MaxIdInvalid",
"MAX_QTS_INVALID": "MaxQtsInvalid",
"MD5_CHECKSUM_INVALID": "Md5ChecksumInvalid",
"MEDIA_CAPTION_TOO_LONG": "MediaCaptionTooLong",
"MEDIA_EMPTY": "MediaEmpty",
"MEDIA_INVALID": "MediaInvalid",
"MEDIA_NEW_INVALID": "MediaNewInvalid",
"MEDIA_PREV_INVALID": "MediaPrevInvalid",
"MEGAGROUP_ID_INVALID": "MegagroupIdInvalid",
"MEGAGROUP_PREHISTORY_HIDDEN": "MegagroupPrehistoryHidden",
"MEGAGROUP_REQUIRED": "MegagroupRequired",
"MESSAGE_EDIT_TIME_EXPIRED": "MessageEditTimeExpired",
"MESSAGE_EMPTY": "MessageEmpty",
"MESSAGE_IDS_EMPTY": "MessageIdsEmpty",
"MESSAGE_ID_INVALID": "MessageIdInvalid",
"MESSAGE_NOT_MODIFIED": "MessageNotModified",
"MESSAGE_POLL_CLOSED": "MessagePollClosed",
"MESSAGE_TOO_LONG": "MessageTooLong",
"METHOD_INVALID": "MethodInvalid",
"MSG_ID_INVALID": "MsgIdInvalid",
"MSG_WAIT_FAILED": "MsgWaitFailed",
"MULTI_MEDIA_TOO_LONG": "MultiMediaTooLong",
"NEW_SALT_INVALID": "NewSaltInvalid",
"NEW_SETTINGS_INVALID": "NewSettingsInvalid",
"OFFSET_INVALID": "OffsetInvalid",
"OFFSET_PEER_ID_INVALID": "OffsetPeerIdInvalid",
"OPTIONS_TOO_MUCH": "OptionsTooMuch",
"OPTION_INVALID": "OptionInvalid",
"PACK_SHORT_NAME_INVALID": "PackShortNameInvalid",
"PACK_SHORT_NAME_OCCUPIED": "PackShortNameOccupied",
"PACK_TITLE_INVALID": "PackTitleInvalid",
"PARTICIPANTS_TOO_FEW": "ParticipantsTooFew",
"PARTICIPANT_VERSION_OUTDATED": "ParticipantVersionOutdated",
"PASSWORD_EMPTY": "PasswordEmpty",
"PASSWORD_HASH_INVALID": "PasswordHashInvalid",
"PASSWORD_MISSING": "PasswordMissing",
"PASSWORD_RECOVERY_NA": "PasswordRecoveryNa",
"PASSWORD_REQUIRED": "PasswordRequired",
"PASSWORD_TOO_FRESH_X": "PasswordTooFresh",
"PAYMENT_PROVIDER_INVALID": "PaymentProviderInvalid",
"PEER_FLOOD": "PeerFlood",
"PEER_ID_INVALID": "PeerIdInvalid",
"PEER_ID_NOT_SUPPORTED": "PeerIdNotSupported",
"PERSISTENT_TIMESTAMP_EMPTY": "PersistentTimestampEmpty",
"PERSISTENT_TIMESTAMP_INVALID": "PersistentTimestampInvalid",
"PHONE_CODE_EMPTY": "PhoneCodeEmpty",
"PHONE_CODE_EXPIRED": "PhoneCodeExpired",
"PHONE_CODE_HASH_EMPTY": "PhoneCodeHashEmpty",
"PHONE_CODE_INVALID": "PhoneCodeInvalid",
"PHONE_NUMBER_APP_SIGNUP_FORBIDDEN": "PhoneNumberAppSignupForbidden",
"PHONE_NUMBER_BANNED": "PhoneNumberBanned",
"PHONE_NUMBER_FLOOD": "PhoneNumberFlood",
"PHONE_NUMBER_INVALID": "PhoneNumberInvalid",
"PHONE_NUMBER_OCCUPIED": "PhoneNumberOccupied",
"PHONE_NUMBER_UNOCCUPIED": "PhoneNumberUnoccupied",
"PHONE_PASSWORD_PROTECTED": "PhonePasswordProtected",
"PHOTO_CONTENT_TYPE_INVALID": "PhotoContentTypeInvalid",
"PHOTO_CONTENT_URL_EMPTY": "PhotoContentUrlEmpty",
"PHOTO_CROP_FILE_MISSING": "PhotoCropFileMissing",
"PHOTO_CROP_SIZE_SMALL": "PhotoCropSizeSmall",
"PHOTO_EXT_INVALID": "PhotoExtInvalid",
"PHOTO_FILE_MISSING": "PhotoFileMissing",
"PHOTO_ID_INVALID": "PhotoIdInvalid",
"PHOTO_INVALID": "PhotoInvalid",
"PHOTO_INVALID_DIMENSIONS": "PhotoInvalidDimensions",
"PHOTO_SAVE_FILE_INVALID": "PhotoSaveFileInvalid",
"PHOTO_THUMB_URL_EMPTY": "PhotoThumbUrlEmpty",
"PHOTO_THUMB_URL_INVALID": "PhotoThumbUrlInvalid",
"PINNED_DIALOGS_TOO_MUCH": "PinnedDialogsTooMuch",
"PIN_RESTRICTED": "PinRestricted",
"POLL_ANSWERS_INVALID": "PollAnswersInvalid",
"POLL_OPTION_DUPLICATE": "PollOptionDuplicate",
"POLL_OPTION_INVALID": "PollOptionInvalid",
"POLL_QUESTION_INVALID": "PollQuestionInvalid",
"POLL_UNSUPPORTED": "PollUnsupported",
"POLL_VOTE_REQUIRED": "PollVoteRequired",
"PRIVACY_KEY_INVALID": "PrivacyKeyInvalid",
"PRIVACY_TOO_LONG": "PrivacyTooLong",
"PRIVACY_VALUE_INVALID": "PrivacyValueInvalid",
"QUERY_ID_EMPTY": "QueryIdEmpty",
"QUERY_ID_INVALID": "QueryIdInvalid",
"QUERY_TOO_SHORT": "QueryTooShort",
"QUIZ_CORRECT_ANSWERS_EMPTY": "QuizCorrectAnswersEmpty",
"QUIZ_CORRECT_ANSWERS_TOO_MUCH": "QuizCorrectAnswersTooMuch",
"QUIZ_CORRECT_ANSWER_INVALID": "QuizCorrectAnswerInvalid",
"QUIZ_MULTIPLE_INVALID": "QuizMultipleInvalid",
"RANDOM_ID_EMPTY": "RandomIdEmpty",
"RANDOM_ID_INVALID": "RandomIdInvalid",
"RANDOM_LENGTH_INVALID": "RandomLengthInvalid",
"RANGES_INVALID": "RangesInvalid",
"REACTION_EMPTY": "ReactionEmpty",
"REACTION_INVALID": "ReactionInvalid",
"REPLY_MARKUP_BUY_EMPTY": "ReplyMarkupBuyEmpty",
"REPLY_MARKUP_GAME_EMPTY": "ReplyMarkupGameEmpty",
"REPLY_MARKUP_INVALID": "ReplyMarkupInvalid",
"REPLY_MARKUP_TOO_LONG": "ReplyMarkupTooLong",
"RESULTS_TOO_MUCH": "ResultsTooMuch",
"RESULT_ID_DUPLICATE": "ResultIdDuplicate",
"RESULT_ID_EMPTY": "ResultIdEmpty",
"RESULT_ID_INVALID": "ResultIdInvalid",
"RESULT_TYPE_INVALID": "ResultTypeInvalid",
"REVOTE_NOT_ALLOWED": "RevoteNotAllowed",
"RSA_DECRYPT_FAILED": "RsaDecryptFailed",
"SCHEDULE_BOT_NOT_ALLOWED": "ScheduleBotNotAllowed",
"SCHEDULE_DATE_INVALID": "ScheduleDateInvalid",
"SCHEDULE_DATE_TOO_LATE": "ScheduleDateTooLate",
"SCHEDULE_STATUS_PRIVATE": "ScheduleStatusPrivate",
"SCHEDULE_TOO_MUCH": "ScheduleTooMuch",
"SEARCH_QUERY_EMPTY": "SearchQueryEmpty",
"SECONDS_INVALID": "SecondsInvalid",
"SEND_MESSAGE_MEDIA_INVALID": "SendMessageMediaInvalid",
"SEND_MESSAGE_TYPE_INVALID": "SendMessageTypeInvalid",
"SESSION_TOO_FRESH_X": "SessionTooFresh",
"SETTINGS_INVALID": "SettingsInvalid",
"SHA256_HASH_INVALID": "Sha256HashInvalid",
"SHORTNAME_OCCUPY_FAILED": "ShortnameOccupyFailed",
"SLOWMODE_MULTI_MSGS_DISABLED": "SlowmodeMultiMsgsDisabled",
"SMS_CODE_CREATE_FAILED": "SmsCodeCreateFailed",
"SRP_ID_INVALID": "SrpIdInvalid",
"SRP_PASSWORD_CHANGED": "SrpPasswordChanged",
"START_PARAM_EMPTY": "StartParamEmpty",
"START_PARAM_INVALID": "StartParamInvalid",
"START_PARAM_TOO_LONG": "StartParamTooLong",
"STICKERSET_INVALID": "StickersetInvalid",
"STICKERS_EMPTY": "StickersEmpty",
"STICKER_DOCUMENT_INVALID": "StickerDocumentInvalid",
"STICKER_EMOJI_INVALID": "StickerEmojiInvalid",
"STICKER_FILE_INVALID": "StickerFileInvalid",
"STICKER_ID_INVALID": "StickerIdInvalid",
"STICKER_INVALID": "StickerInvalid",
"STICKER_PNG_DIMENSIONS": "StickerPngDimensions",
"STICKER_PNG_NOPNG": "StickerPngNopng",
"TAKEOUT_INVALID": "TakeoutInvalid",
"TAKEOUT_REQUIRED": "TakeoutRequired",
"TEMP_AUTH_KEY_EMPTY": "TempAuthKeyEmpty",
"THEME_FILE_INVALID": "ThemeFileInvalid",
"THEME_FORMAT_INVALID": "ThemeFormatInvalid",
"THEME_INVALID": "ThemeInvalid",
"THEME_MIME_INVALID": "ThemeMimeInvalid",
"TMP_PASSWORD_DISABLED": "TmpPasswordDisabled",
"TOKEN_INVALID": "TokenInvalid",
"TTL_DAYS_INVALID": "TtlDaysInvalid",
"TTL_MEDIA_INVALID": "TtlMediaInvalid",
"TYPES_EMPTY": "TypesEmpty",
"TYPE_CONSTRUCTOR_INVALID": "TypeConstructorInvalid",
"UNTIL_DATE_INVALID": "UntilDateInvalid",
"URL_INVALID": "UrlInvalid",
"USERNAME_INVALID": "UsernameInvalid",
"USERNAME_NOT_MODIFIED": "UsernameNotModified",
"USERNAME_NOT_OCCUPIED": "UsernameNotOccupied",
"USERNAME_OCCUPIED": "UsernameOccupied",
"USERS_TOO_FEW": "UsersTooFew",
"USERS_TOO_MUCH": "UsersTooMuch",
"USER_ADMIN_INVALID": "UserAdminInvalid",
"USER_ALREADY_PARTICIPANT": "UserAlreadyParticipant",
"USER_BANNED_IN_CHANNEL": "UserBannedInChannel",
"USER_BLOCKED": "UserBlocked",
"USER_BOT": "UserBot",
"USER_BOT_INVALID": "UserBotInvalid",
"USER_BOT_REQUIRED": "UserBotRequired",
"USER_CHANNELS_TOO_MUCH": "UserChannelsTooMuch",
"USER_CREATOR": "UserCreator",
"USER_ID_INVALID": "UserIdInvalid",
"USER_INVALID": "UserInvalid",
"USER_IS_BLOCKED": "UserIsBlocked",
"USER_IS_BOT": "UserIsBot",
"USER_KICKED": "UserKicked",
"USER_NOT_MUTUAL_CONTACT": "UserNotMutualContact",
"USER_NOT_PARTICIPANT": "UserNotParticipant",
"VIDEO_CONTENT_TYPE_INVALID": "VideoContentTypeInvalid",
"VIDEO_FILE_INVALID": "VideoFileInvalid",
"VOLUME_LOC_NOT_FOUND": "VolumeLocNotFound",
"WALLPAPER_FILE_INVALID": "WallpaperFileInvalid",
"WALLPAPER_INVALID": "WallpaperInvalid",
"WC_CONVERT_URL_INVALID": "WcConvertUrlInvalid",
"WEBDOCUMENT_INVALID": "WebdocumentInvalid",
"WEBDOCUMENT_MIME_INVALID": "WebdocumentMimeInvalid",
"WEBDOCUMENT_SIZE_TOO_BIG": "WebdocumentSizeTooBig",
"WEBDOCUMENT_URL_EMPTY": "WebdocumentUrlEmpty",
"WEBDOCUMENT_URL_INVALID": "WebdocumentUrlInvalid",
"WEBPAGE_CURL_FAILED": "WebpageCurlFailed",
"WEBPAGE_MEDIA_EMPTY": "WebpageMediaEmpty",
"YOU_BLOCKED_USER": "YouBlockedUser",
},
403: {
"_": "Forbidden",
"BROADCAST_FORBIDDEN": "BroadcastForbidden",
"CHANNEL_PUBLIC_GROUP_NA": "ChannelPublicGroupNa",
"CHAT_ADMIN_INVITE_REQUIRED": "ChatAdminInviteRequired",
"CHAT_ADMIN_REQUIRED": "ChatAdminRequired",
"CHAT_FORBIDDEN": "ChatForbidden",
"CHAT_SEND_GIFS_FORBIDDEN": "ChatSendGifsForbidden",
"CHAT_SEND_INLINE_FORBIDDEN": "ChatSendInlineForbidden",
"CHAT_SEND_MEDIA_FORBIDDEN": "ChatSendMediaForbidden",
"CHAT_SEND_POLL_FORBIDDEN": "ChatSendPollForbidden",
"CHAT_SEND_STICKERS_FORBIDDEN": "ChatSendStickersForbidden",
"CHAT_WRITE_FORBIDDEN": "ChatWriteForbidden",
"INLINE_BOT_REQUIRED": "InlineBotRequired",
"MESSAGE_AUTHOR_REQUIRED": "MessageAuthorRequired",
"MESSAGE_DELETE_FORBIDDEN": "MessageDeleteForbidden",
"POLL_VOTE_REQUIRED": "PollVoteRequired",
"RIGHT_FORBIDDEN": "RightForbidden",
"SENSITIVE_CHANGE_FORBIDDEN": "SensitiveChangeForbidden",
"TAKEOUT_REQUIRED": "TakeoutRequired",
"USER_BOT_INVALID": "UserBotInvalid",
"USER_CHANNELS_TOO_MUCH": "UserChannelsTooMuch",
"USER_INVALID": "UserInvalid",
"USER_IS_BLOCKED": "UserIsBlocked",
"USER_NOT_MUTUAL_CONTACT": "UserNotMutualContact",
"USER_PRIVACY_RESTRICTED": "UserPrivacyRestricted",
"USER_RESTRICTED": "UserRestricted",
},
401: {
"_": "Unauthorized",
"ACTIVE_USER_REQUIRED": "ActiveUserRequired",
"AUTH_KEY_INVALID": "AuthKeyInvalid",
"AUTH_KEY_PERM_EMPTY": "AuthKeyPermEmpty",
"AUTH_KEY_UNREGISTERED": "AuthKeyUnregistered",
"SESSION_EXPIRED": "SessionExpired",
"SESSION_PASSWORD_NEEDED": "SessionPasswordNeeded",
"SESSION_REVOKED": "SessionRevoked",
"USER_DEACTIVATED": "UserDeactivated",
"USER_DEACTIVATED_BAN": "UserDeactivatedBan",
},
420: {
"_": "Flood",
"FLOOD_TEST_PHONE_WAIT_X": "FloodTestPhoneWait",
"FLOOD_WAIT_X": "FloodWait",
"SLOWMODE_WAIT_X": "SlowmodeWait",
"TAKEOUT_INIT_DELAY_X": "TakeoutInitDelay",
},
303: {
"_": "SeeOther",
"FILE_MIGRATE_X": "FileMigrate",
"NETWORK_MIGRATE_X": "NetworkMigrate",
"PHONE_MIGRATE_X": "PhoneMigrate",
"STATS_MIGRATE_X": "StatsMigrate",
"USER_MIGRATE_X": "UserMigrate",
},
}
| count = 425
exceptions = {406: {'_': 'NotAcceptable', 'AUTH_KEY_DUPLICATED': 'AuthKeyDuplicated', 'FILEREF_UPGRADE_NEEDED': 'FilerefUpgradeNeeded', 'FRESH_CHANGE_ADMINS_FORBIDDEN': 'FreshChangeAdminsForbidden', 'FRESH_CHANGE_PHONE_FORBIDDEN': 'FreshChangePhoneForbidden', 'FRESH_RESET_AUTHORISATION_FORBIDDEN': 'FreshResetAuthorisationForbidden', 'PHONE_NUMBER_INVALID': 'PhoneNumberInvalid', 'PHONE_PASSWORD_FLOOD': 'PhonePasswordFlood', 'STICKERSET_INVALID': 'StickersetInvalid', 'STICKERSET_OWNER_ANONYMOUS': 'StickersetOwnerAnonymous', 'USERPIC_UPLOAD_REQUIRED': 'UserpicUploadRequired', 'USER_RESTRICTED': 'UserRestricted'}, 500: {'_': 'InternalServerError', 'API_CALL_ERROR': 'ApiCallError', 'AUTH_RESTART': 'AuthRestart', 'CALL_OCCUPY_FAILED': 'CallOccupyFailed', 'CHAT_ID_GENERATE_FAILED': 'ChatIdGenerateFailed', 'CHAT_OCCUPY_LOC_FAILED': 'ChatOccupyLocFailed', 'CHAT_OCCUPY_USERNAME_FAILED': 'ChatOccupyUsernameFailed', 'CHP_CALL_FAIL': 'ChpCallFail', 'ENCRYPTION_OCCUPY_ADMIN_FAILED': 'EncryptionOccupyAdminFailed', 'ENCRYPTION_OCCUPY_FAILED': 'EncryptionOccupyFailed', 'FOLDER_DEAC_AUTOFIX_ALL': 'FolderDeacAutofixAll', 'GROUPED_ID_OCCUPY_FAILED': 'GroupedIdOccupyFailed', 'HISTORY_GET_FAILED': 'HistoryGetFailed', 'IMAGE_ENGINE_DOWN': 'ImageEngineDown', 'INTERDC_X_CALL_ERROR': 'InterdcCallError', 'INTERDC_X_CALL_RICH_ERROR': 'InterdcCallRichError', 'MEMBER_FETCH_FAILED': 'MemberFetchFailed', 'MEMBER_NO_LOCATION': 'MemberNoLocation', 'MEMBER_OCCUPY_PRIMARY_LOC_FAILED': 'MemberOccupyPrimaryLocFailed', 'MEMBER_OCCUPY_USERNAME_FAILED': 'MemberOccupyUsernameFailed', 'MSGID_DECREASE_RETRY': 'MsgidDecreaseRetry', 'MSG_RANGE_UNSYNC': 'MsgRangeUnsync', 'MT_SEND_QUEUE_TOO_LONG': 'MtSendQueueTooLong', 'NEED_CHAT_INVALID': 'NeedChatInvalid', 'NEED_MEMBER_INVALID': 'NeedMemberInvalid', 'PARTICIPANT_CALL_FAILED': 'ParticipantCallFailed', 'PERSISTENT_TIMESTAMP_OUTDATED': 'PersistentTimestampOutdated', 'POSTPONED_TIMEOUT': 'PostponedTimeout', 'PTS_CHANGE_EMPTY': 'PtsChangeEmpty', 'RANDOM_ID_DUPLICATE': 'RandomIdDuplicate', 'REG_ID_GENERATE_FAILED': 'RegIdGenerateFailed', 'RPC_CALL_FAIL': 'RpcCallFail', 'RPC_CONNECT_FAILED': 'RpcConnectFailed', 'RPC_MCGET_FAIL': 'RpcMcgetFail', 'SIGN_IN_FAILED': 'SignInFailed', 'STORAGE_CHECK_FAILED': 'StorageCheckFailed', 'STORE_INVALID_SCALAR_TYPE': 'StoreInvalidScalarType', 'UNKNOWN_METHOD': 'UnknownMethod', 'UPLOAD_NO_VOLUME': 'UploadNoVolume', 'VOLUME_LOC_NOT_FOUND': 'VolumeLocNotFound', 'WORKER_BUSY_TOO_LONG_RETRY': 'WorkerBusyTooLongRetry', 'WP_ID_GENERATE_FAILED': 'WpIdGenerateFailed'}, 400: {'_': 'BadRequest', 'ABOUT_TOO_LONG': 'AboutTooLong', 'ACCESS_TOKEN_EXPIRED': 'AccessTokenExpired', 'ACCESS_TOKEN_INVALID': 'AccessTokenInvalid', 'ADMINS_TOO_MUCH': 'AdminsTooMuch', 'ADMIN_RANK_EMOJI_NOT_ALLOWED': 'AdminRankEmojiNotAllowed', 'ADMIN_RANK_INVALID': 'AdminRankInvalid', 'ALBUM_PHOTOS_TOO_MANY': 'AlbumPhotosTooMany', 'API_ID_INVALID': 'ApiIdInvalid', 'API_ID_PUBLISHED_FLOOD': 'ApiIdPublishedFlood', 'ARTICLE_TITLE_EMPTY': 'ArticleTitleEmpty', 'AUDIO_TITLE_EMPTY': 'AudioTitleEmpty', 'AUTH_BYTES_INVALID': 'AuthBytesInvalid', 'AUTH_TOKEN_ALREADY_ACCEPTED': 'AuthTokenAlreadyAccepted', 'AUTH_TOKEN_EXPIRED': 'AuthTokenExpired', 'AUTH_TOKEN_INVALID': 'AuthTokenInvalid', 'AUTOARCHIVE_NOT_AVAILABLE': 'AutoarchiveNotAvailable', 'BANK_CARD_NUMBER_INVALID': 'BankCardNumberInvalid', 'BANNED_RIGHTS_INVALID': 'BannedRightsInvalid', 'BOTS_TOO_MUCH': 'BotsTooMuch', 'BOT_CHANNELS_NA': 'BotChannelsNa', 'BOT_COMMAND_DESCRIPTION_INVALID': 'BotCommandDescriptionInvalid', 'BOT_DOMAIN_INVALID': 'BotDomainInvalid', 'BOT_GAMES_DISABLED': 'BotGamesDisabled', 'BOT_GROUPS_BLOCKED': 'BotGroupsBlocked', 'BOT_INLINE_DISABLED': 'BotInlineDisabled', 'BOT_INVALID': 'BotInvalid', 'BOT_METHOD_INVALID': 'BotMethodInvalid', 'BOT_MISSING': 'BotMissing', 'BOT_PAYMENTS_DISABLED': 'BotPaymentsDisabled', 'BOT_POLLS_DISABLED': 'BotPollsDisabled', 'BOT_RESPONSE_TIMEOUT': 'BotResponseTimeout', 'BOT_SCORE_NOT_MODIFIED': 'BotScoreNotModified', 'BROADCAST_ID_INVALID': 'BroadcastIdInvalid', 'BROADCAST_PUBLIC_VOTERS_FORBIDDEN': 'BroadcastPublicVotersForbidden', 'BROADCAST_REQUIRED': 'BroadcastRequired', 'BUTTON_DATA_INVALID': 'ButtonDataInvalid', 'BUTTON_TYPE_INVALID': 'ButtonTypeInvalid', 'BUTTON_URL_INVALID': 'ButtonUrlInvalid', 'CALL_ALREADY_ACCEPTED': 'CallAlreadyAccepted', 'CALL_ALREADY_DECLINED': 'CallAlreadyDeclined', 'CALL_PEER_INVALID': 'CallPeerInvalid', 'CALL_PROTOCOL_FLAGS_INVALID': 'CallProtocolFlagsInvalid', 'CDN_METHOD_INVALID': 'CdnMethodInvalid', 'CHANNELS_ADMIN_PUBLIC_TOO_MUCH': 'ChannelsAdminPublicTooMuch', 'CHANNELS_TOO_MUCH': 'ChannelsTooMuch', 'CHANNEL_BANNED': 'ChannelBanned', 'CHANNEL_INVALID': 'ChannelInvalid', 'CHANNEL_PRIVATE': 'ChannelPrivate', 'CHANNEL_TOO_LARGE': 'ChannelTooLarge', 'CHAT_ABOUT_NOT_MODIFIED': 'ChatAboutNotModified', 'CHAT_ABOUT_TOO_LONG': 'ChatAboutTooLong', 'CHAT_ADMIN_REQUIRED': 'ChatAdminRequired', 'CHAT_ID_EMPTY': 'ChatIdEmpty', 'CHAT_ID_INVALID': 'ChatIdInvalid', 'CHAT_INVALID': 'ChatInvalid', 'CHAT_LINK_EXISTS': 'ChatLinkExists', 'CHAT_NOT_MODIFIED': 'ChatNotModified', 'CHAT_RESTRICTED': 'ChatRestricted', 'CHAT_SEND_INLINE_FORBIDDEN': 'ChatSendInlineForbidden', 'CHAT_TITLE_EMPTY': 'ChatTitleEmpty', 'CODE_EMPTY': 'CodeEmpty', 'CODE_HASH_INVALID': 'CodeHashInvalid', 'CODE_INVALID': 'CodeInvalid', 'CONNECTION_API_ID_INVALID': 'ConnectionApiIdInvalid', 'CONNECTION_APP_VERSION_EMPTY': 'ConnectionAppVersionEmpty', 'CONNECTION_DEVICE_MODEL_EMPTY': 'ConnectionDeviceModelEmpty', 'CONNECTION_LANG_PACK_INVALID': 'ConnectionLangPackInvalid', 'CONNECTION_LAYER_INVALID': 'ConnectionLayerInvalid', 'CONNECTION_NOT_INITED': 'ConnectionNotInited', 'CONNECTION_SYSTEM_EMPTY': 'ConnectionSystemEmpty', 'CONNECTION_SYSTEM_LANG_CODE_EMPTY': 'ConnectionSystemLangCodeEmpty', 'CONTACT_ADD_MISSING': 'ContactAddMissing', 'CONTACT_ID_INVALID': 'ContactIdInvalid', 'CONTACT_NAME_EMPTY': 'ContactNameEmpty', 'CONTACT_REQ_MISSING': 'ContactReqMissing', 'DATA_INVALID': 'DataInvalid', 'DATA_JSON_INVALID': 'DataJsonInvalid', 'DATA_TOO_LONG': 'DataTooLong', 'DATE_EMPTY': 'DateEmpty', 'DC_ID_INVALID': 'DcIdInvalid', 'DH_G_A_INVALID': 'DhGAInvalid', 'DOCUMENT_INVALID': 'DocumentInvalid', 'EMAIL_HASH_EXPIRED': 'EmailHashExpired', 'EMAIL_INVALID': 'EmailInvalid', 'EMAIL_UNCONFIRMED': 'EmailUnconfirmed', 'EMAIL_UNCONFIRMED_X': 'EmailUnconfirmed', 'EMAIL_VERIFY_EXPIRED': 'EmailVerifyExpired', 'EMOTICON_EMPTY': 'EmoticonEmpty', 'EMOTICON_INVALID': 'EmoticonInvalid', 'EMOTICON_STICKERPACK_MISSING': 'EmoticonStickerpackMissing', 'ENCRYPTED_MESSAGE_INVALID': 'EncryptedMessageInvalid', 'ENCRYPTION_ALREADY_ACCEPTED': 'EncryptionAlreadyAccepted', 'ENCRYPTION_ALREADY_DECLINED': 'EncryptionAlreadyDeclined', 'ENCRYPTION_DECLINED': 'EncryptionDeclined', 'ENCRYPTION_ID_INVALID': 'EncryptionIdInvalid', 'ENTITIES_TOO_LONG': 'EntitiesTooLong', 'ENTITY_MENTION_USER_INVALID': 'EntityMentionUserInvalid', 'ERROR_TEXT_EMPTY': 'ErrorTextEmpty', 'EXPORT_CARD_INVALID': 'ExportCardInvalid', 'EXTERNAL_URL_INVALID': 'ExternalUrlInvalid', 'FIELD_NAME_EMPTY': 'FieldNameEmpty', 'FIELD_NAME_INVALID': 'FieldNameInvalid', 'FILE_ID_INVALID': 'FileIdInvalid', 'FILE_MIGRATE_X': 'FileMigrate', 'FILE_PARTS_INVALID': 'FilePartsInvalid', 'FILE_PART_EMPTY': 'FilePartEmpty', 'FILE_PART_INVALID': 'FilePartInvalid', 'FILE_PART_LENGTH_INVALID': 'FilePartLengthInvalid', 'FILE_PART_SIZE_CHANGED': 'FilePartSizeChanged', 'FILE_PART_SIZE_INVALID': 'FilePartSizeInvalid', 'FILE_PART_TOO_BIG': 'FilePartTooBig', 'FILE_PART_X_MISSING': 'FilePartMissing', 'FILE_REFERENCE_EMPTY': 'FileReferenceEmpty', 'FILE_REFERENCE_EXPIRED': 'FileReferenceExpired', 'FILE_REFERENCE_INVALID': 'FileReferenceInvalid', 'FILTER_ID_INVALID': 'FilterIdInvalid', 'FIRSTNAME_INVALID': 'FirstnameInvalid', 'FOLDER_ID_EMPTY': 'FolderIdEmpty', 'FOLDER_ID_INVALID': 'FolderIdInvalid', 'FRESH_CHANGE_ADMINS_FORBIDDEN': 'FreshChangeAdminsForbidden', 'FROM_MESSAGE_BOT_DISABLED': 'FromMessageBotDisabled', 'GAME_BOT_INVALID': 'GameBotInvalid', 'GEO_POINT_INVALID': 'GeoPointInvalid', 'GIF_CONTENT_TYPE_INVALID': 'GifContentTypeInvalid', 'GIF_ID_INVALID': 'GifIdInvalid', 'GRAPH_INVALID_RELOAD': 'GraphInvalidReload', 'GRAPH_OUTDATED_RELOAD': 'GraphOutdatedReload', 'GROUPED_MEDIA_INVALID': 'GroupedMediaInvalid', 'HASH_INVALID': 'HashInvalid', 'IMAGE_PROCESS_FAILED': 'ImageProcessFailed', 'INLINE_RESULT_EXPIRED': 'InlineResultExpired', 'INPUT_CONSTRUCTOR_INVALID': 'InputConstructorInvalid', 'INPUT_FETCH_ERROR': 'InputFetchError', 'INPUT_FETCH_FAIL': 'InputFetchFail', 'INPUT_FILTER_INVALID': 'InputFilterInvalid', 'INPUT_LAYER_INVALID': 'InputLayerInvalid', 'INPUT_METHOD_INVALID': 'InputMethodInvalid', 'INPUT_REQUEST_TOO_LONG': 'InputRequestTooLong', 'INPUT_USER_DEACTIVATED': 'InputUserDeactivated', 'INVITE_HASH_EMPTY': 'InviteHashEmpty', 'INVITE_HASH_EXPIRED': 'InviteHashExpired', 'INVITE_HASH_INVALID': 'InviteHashInvalid', 'LANG_PACK_INVALID': 'LangPackInvalid', 'LASTNAME_INVALID': 'LastnameInvalid', 'LIMIT_INVALID': 'LimitInvalid', 'LINK_NOT_MODIFIED': 'LinkNotModified', 'LOCATION_INVALID': 'LocationInvalid', 'MAX_ID_INVALID': 'MaxIdInvalid', 'MAX_QTS_INVALID': 'MaxQtsInvalid', 'MD5_CHECKSUM_INVALID': 'Md5ChecksumInvalid', 'MEDIA_CAPTION_TOO_LONG': 'MediaCaptionTooLong', 'MEDIA_EMPTY': 'MediaEmpty', 'MEDIA_INVALID': 'MediaInvalid', 'MEDIA_NEW_INVALID': 'MediaNewInvalid', 'MEDIA_PREV_INVALID': 'MediaPrevInvalid', 'MEGAGROUP_ID_INVALID': 'MegagroupIdInvalid', 'MEGAGROUP_PREHISTORY_HIDDEN': 'MegagroupPrehistoryHidden', 'MEGAGROUP_REQUIRED': 'MegagroupRequired', 'MESSAGE_EDIT_TIME_EXPIRED': 'MessageEditTimeExpired', 'MESSAGE_EMPTY': 'MessageEmpty', 'MESSAGE_IDS_EMPTY': 'MessageIdsEmpty', 'MESSAGE_ID_INVALID': 'MessageIdInvalid', 'MESSAGE_NOT_MODIFIED': 'MessageNotModified', 'MESSAGE_POLL_CLOSED': 'MessagePollClosed', 'MESSAGE_TOO_LONG': 'MessageTooLong', 'METHOD_INVALID': 'MethodInvalid', 'MSG_ID_INVALID': 'MsgIdInvalid', 'MSG_WAIT_FAILED': 'MsgWaitFailed', 'MULTI_MEDIA_TOO_LONG': 'MultiMediaTooLong', 'NEW_SALT_INVALID': 'NewSaltInvalid', 'NEW_SETTINGS_INVALID': 'NewSettingsInvalid', 'OFFSET_INVALID': 'OffsetInvalid', 'OFFSET_PEER_ID_INVALID': 'OffsetPeerIdInvalid', 'OPTIONS_TOO_MUCH': 'OptionsTooMuch', 'OPTION_INVALID': 'OptionInvalid', 'PACK_SHORT_NAME_INVALID': 'PackShortNameInvalid', 'PACK_SHORT_NAME_OCCUPIED': 'PackShortNameOccupied', 'PACK_TITLE_INVALID': 'PackTitleInvalid', 'PARTICIPANTS_TOO_FEW': 'ParticipantsTooFew', 'PARTICIPANT_VERSION_OUTDATED': 'ParticipantVersionOutdated', 'PASSWORD_EMPTY': 'PasswordEmpty', 'PASSWORD_HASH_INVALID': 'PasswordHashInvalid', 'PASSWORD_MISSING': 'PasswordMissing', 'PASSWORD_RECOVERY_NA': 'PasswordRecoveryNa', 'PASSWORD_REQUIRED': 'PasswordRequired', 'PASSWORD_TOO_FRESH_X': 'PasswordTooFresh', 'PAYMENT_PROVIDER_INVALID': 'PaymentProviderInvalid', 'PEER_FLOOD': 'PeerFlood', 'PEER_ID_INVALID': 'PeerIdInvalid', 'PEER_ID_NOT_SUPPORTED': 'PeerIdNotSupported', 'PERSISTENT_TIMESTAMP_EMPTY': 'PersistentTimestampEmpty', 'PERSISTENT_TIMESTAMP_INVALID': 'PersistentTimestampInvalid', 'PHONE_CODE_EMPTY': 'PhoneCodeEmpty', 'PHONE_CODE_EXPIRED': 'PhoneCodeExpired', 'PHONE_CODE_HASH_EMPTY': 'PhoneCodeHashEmpty', 'PHONE_CODE_INVALID': 'PhoneCodeInvalid', 'PHONE_NUMBER_APP_SIGNUP_FORBIDDEN': 'PhoneNumberAppSignupForbidden', 'PHONE_NUMBER_BANNED': 'PhoneNumberBanned', 'PHONE_NUMBER_FLOOD': 'PhoneNumberFlood', 'PHONE_NUMBER_INVALID': 'PhoneNumberInvalid', 'PHONE_NUMBER_OCCUPIED': 'PhoneNumberOccupied', 'PHONE_NUMBER_UNOCCUPIED': 'PhoneNumberUnoccupied', 'PHONE_PASSWORD_PROTECTED': 'PhonePasswordProtected', 'PHOTO_CONTENT_TYPE_INVALID': 'PhotoContentTypeInvalid', 'PHOTO_CONTENT_URL_EMPTY': 'PhotoContentUrlEmpty', 'PHOTO_CROP_FILE_MISSING': 'PhotoCropFileMissing', 'PHOTO_CROP_SIZE_SMALL': 'PhotoCropSizeSmall', 'PHOTO_EXT_INVALID': 'PhotoExtInvalid', 'PHOTO_FILE_MISSING': 'PhotoFileMissing', 'PHOTO_ID_INVALID': 'PhotoIdInvalid', 'PHOTO_INVALID': 'PhotoInvalid', 'PHOTO_INVALID_DIMENSIONS': 'PhotoInvalidDimensions', 'PHOTO_SAVE_FILE_INVALID': 'PhotoSaveFileInvalid', 'PHOTO_THUMB_URL_EMPTY': 'PhotoThumbUrlEmpty', 'PHOTO_THUMB_URL_INVALID': 'PhotoThumbUrlInvalid', 'PINNED_DIALOGS_TOO_MUCH': 'PinnedDialogsTooMuch', 'PIN_RESTRICTED': 'PinRestricted', 'POLL_ANSWERS_INVALID': 'PollAnswersInvalid', 'POLL_OPTION_DUPLICATE': 'PollOptionDuplicate', 'POLL_OPTION_INVALID': 'PollOptionInvalid', 'POLL_QUESTION_INVALID': 'PollQuestionInvalid', 'POLL_UNSUPPORTED': 'PollUnsupported', 'POLL_VOTE_REQUIRED': 'PollVoteRequired', 'PRIVACY_KEY_INVALID': 'PrivacyKeyInvalid', 'PRIVACY_TOO_LONG': 'PrivacyTooLong', 'PRIVACY_VALUE_INVALID': 'PrivacyValueInvalid', 'QUERY_ID_EMPTY': 'QueryIdEmpty', 'QUERY_ID_INVALID': 'QueryIdInvalid', 'QUERY_TOO_SHORT': 'QueryTooShort', 'QUIZ_CORRECT_ANSWERS_EMPTY': 'QuizCorrectAnswersEmpty', 'QUIZ_CORRECT_ANSWERS_TOO_MUCH': 'QuizCorrectAnswersTooMuch', 'QUIZ_CORRECT_ANSWER_INVALID': 'QuizCorrectAnswerInvalid', 'QUIZ_MULTIPLE_INVALID': 'QuizMultipleInvalid', 'RANDOM_ID_EMPTY': 'RandomIdEmpty', 'RANDOM_ID_INVALID': 'RandomIdInvalid', 'RANDOM_LENGTH_INVALID': 'RandomLengthInvalid', 'RANGES_INVALID': 'RangesInvalid', 'REACTION_EMPTY': 'ReactionEmpty', 'REACTION_INVALID': 'ReactionInvalid', 'REPLY_MARKUP_BUY_EMPTY': 'ReplyMarkupBuyEmpty', 'REPLY_MARKUP_GAME_EMPTY': 'ReplyMarkupGameEmpty', 'REPLY_MARKUP_INVALID': 'ReplyMarkupInvalid', 'REPLY_MARKUP_TOO_LONG': 'ReplyMarkupTooLong', 'RESULTS_TOO_MUCH': 'ResultsTooMuch', 'RESULT_ID_DUPLICATE': 'ResultIdDuplicate', 'RESULT_ID_EMPTY': 'ResultIdEmpty', 'RESULT_ID_INVALID': 'ResultIdInvalid', 'RESULT_TYPE_INVALID': 'ResultTypeInvalid', 'REVOTE_NOT_ALLOWED': 'RevoteNotAllowed', 'RSA_DECRYPT_FAILED': 'RsaDecryptFailed', 'SCHEDULE_BOT_NOT_ALLOWED': 'ScheduleBotNotAllowed', 'SCHEDULE_DATE_INVALID': 'ScheduleDateInvalid', 'SCHEDULE_DATE_TOO_LATE': 'ScheduleDateTooLate', 'SCHEDULE_STATUS_PRIVATE': 'ScheduleStatusPrivate', 'SCHEDULE_TOO_MUCH': 'ScheduleTooMuch', 'SEARCH_QUERY_EMPTY': 'SearchQueryEmpty', 'SECONDS_INVALID': 'SecondsInvalid', 'SEND_MESSAGE_MEDIA_INVALID': 'SendMessageMediaInvalid', 'SEND_MESSAGE_TYPE_INVALID': 'SendMessageTypeInvalid', 'SESSION_TOO_FRESH_X': 'SessionTooFresh', 'SETTINGS_INVALID': 'SettingsInvalid', 'SHA256_HASH_INVALID': 'Sha256HashInvalid', 'SHORTNAME_OCCUPY_FAILED': 'ShortnameOccupyFailed', 'SLOWMODE_MULTI_MSGS_DISABLED': 'SlowmodeMultiMsgsDisabled', 'SMS_CODE_CREATE_FAILED': 'SmsCodeCreateFailed', 'SRP_ID_INVALID': 'SrpIdInvalid', 'SRP_PASSWORD_CHANGED': 'SrpPasswordChanged', 'START_PARAM_EMPTY': 'StartParamEmpty', 'START_PARAM_INVALID': 'StartParamInvalid', 'START_PARAM_TOO_LONG': 'StartParamTooLong', 'STICKERSET_INVALID': 'StickersetInvalid', 'STICKERS_EMPTY': 'StickersEmpty', 'STICKER_DOCUMENT_INVALID': 'StickerDocumentInvalid', 'STICKER_EMOJI_INVALID': 'StickerEmojiInvalid', 'STICKER_FILE_INVALID': 'StickerFileInvalid', 'STICKER_ID_INVALID': 'StickerIdInvalid', 'STICKER_INVALID': 'StickerInvalid', 'STICKER_PNG_DIMENSIONS': 'StickerPngDimensions', 'STICKER_PNG_NOPNG': 'StickerPngNopng', 'TAKEOUT_INVALID': 'TakeoutInvalid', 'TAKEOUT_REQUIRED': 'TakeoutRequired', 'TEMP_AUTH_KEY_EMPTY': 'TempAuthKeyEmpty', 'THEME_FILE_INVALID': 'ThemeFileInvalid', 'THEME_FORMAT_INVALID': 'ThemeFormatInvalid', 'THEME_INVALID': 'ThemeInvalid', 'THEME_MIME_INVALID': 'ThemeMimeInvalid', 'TMP_PASSWORD_DISABLED': 'TmpPasswordDisabled', 'TOKEN_INVALID': 'TokenInvalid', 'TTL_DAYS_INVALID': 'TtlDaysInvalid', 'TTL_MEDIA_INVALID': 'TtlMediaInvalid', 'TYPES_EMPTY': 'TypesEmpty', 'TYPE_CONSTRUCTOR_INVALID': 'TypeConstructorInvalid', 'UNTIL_DATE_INVALID': 'UntilDateInvalid', 'URL_INVALID': 'UrlInvalid', 'USERNAME_INVALID': 'UsernameInvalid', 'USERNAME_NOT_MODIFIED': 'UsernameNotModified', 'USERNAME_NOT_OCCUPIED': 'UsernameNotOccupied', 'USERNAME_OCCUPIED': 'UsernameOccupied', 'USERS_TOO_FEW': 'UsersTooFew', 'USERS_TOO_MUCH': 'UsersTooMuch', 'USER_ADMIN_INVALID': 'UserAdminInvalid', 'USER_ALREADY_PARTICIPANT': 'UserAlreadyParticipant', 'USER_BANNED_IN_CHANNEL': 'UserBannedInChannel', 'USER_BLOCKED': 'UserBlocked', 'USER_BOT': 'UserBot', 'USER_BOT_INVALID': 'UserBotInvalid', 'USER_BOT_REQUIRED': 'UserBotRequired', 'USER_CHANNELS_TOO_MUCH': 'UserChannelsTooMuch', 'USER_CREATOR': 'UserCreator', 'USER_ID_INVALID': 'UserIdInvalid', 'USER_INVALID': 'UserInvalid', 'USER_IS_BLOCKED': 'UserIsBlocked', 'USER_IS_BOT': 'UserIsBot', 'USER_KICKED': 'UserKicked', 'USER_NOT_MUTUAL_CONTACT': 'UserNotMutualContact', 'USER_NOT_PARTICIPANT': 'UserNotParticipant', 'VIDEO_CONTENT_TYPE_INVALID': 'VideoContentTypeInvalid', 'VIDEO_FILE_INVALID': 'VideoFileInvalid', 'VOLUME_LOC_NOT_FOUND': 'VolumeLocNotFound', 'WALLPAPER_FILE_INVALID': 'WallpaperFileInvalid', 'WALLPAPER_INVALID': 'WallpaperInvalid', 'WC_CONVERT_URL_INVALID': 'WcConvertUrlInvalid', 'WEBDOCUMENT_INVALID': 'WebdocumentInvalid', 'WEBDOCUMENT_MIME_INVALID': 'WebdocumentMimeInvalid', 'WEBDOCUMENT_SIZE_TOO_BIG': 'WebdocumentSizeTooBig', 'WEBDOCUMENT_URL_EMPTY': 'WebdocumentUrlEmpty', 'WEBDOCUMENT_URL_INVALID': 'WebdocumentUrlInvalid', 'WEBPAGE_CURL_FAILED': 'WebpageCurlFailed', 'WEBPAGE_MEDIA_EMPTY': 'WebpageMediaEmpty', 'YOU_BLOCKED_USER': 'YouBlockedUser'}, 403: {'_': 'Forbidden', 'BROADCAST_FORBIDDEN': 'BroadcastForbidden', 'CHANNEL_PUBLIC_GROUP_NA': 'ChannelPublicGroupNa', 'CHAT_ADMIN_INVITE_REQUIRED': 'ChatAdminInviteRequired', 'CHAT_ADMIN_REQUIRED': 'ChatAdminRequired', 'CHAT_FORBIDDEN': 'ChatForbidden', 'CHAT_SEND_GIFS_FORBIDDEN': 'ChatSendGifsForbidden', 'CHAT_SEND_INLINE_FORBIDDEN': 'ChatSendInlineForbidden', 'CHAT_SEND_MEDIA_FORBIDDEN': 'ChatSendMediaForbidden', 'CHAT_SEND_POLL_FORBIDDEN': 'ChatSendPollForbidden', 'CHAT_SEND_STICKERS_FORBIDDEN': 'ChatSendStickersForbidden', 'CHAT_WRITE_FORBIDDEN': 'ChatWriteForbidden', 'INLINE_BOT_REQUIRED': 'InlineBotRequired', 'MESSAGE_AUTHOR_REQUIRED': 'MessageAuthorRequired', 'MESSAGE_DELETE_FORBIDDEN': 'MessageDeleteForbidden', 'POLL_VOTE_REQUIRED': 'PollVoteRequired', 'RIGHT_FORBIDDEN': 'RightForbidden', 'SENSITIVE_CHANGE_FORBIDDEN': 'SensitiveChangeForbidden', 'TAKEOUT_REQUIRED': 'TakeoutRequired', 'USER_BOT_INVALID': 'UserBotInvalid', 'USER_CHANNELS_TOO_MUCH': 'UserChannelsTooMuch', 'USER_INVALID': 'UserInvalid', 'USER_IS_BLOCKED': 'UserIsBlocked', 'USER_NOT_MUTUAL_CONTACT': 'UserNotMutualContact', 'USER_PRIVACY_RESTRICTED': 'UserPrivacyRestricted', 'USER_RESTRICTED': 'UserRestricted'}, 401: {'_': 'Unauthorized', 'ACTIVE_USER_REQUIRED': 'ActiveUserRequired', 'AUTH_KEY_INVALID': 'AuthKeyInvalid', 'AUTH_KEY_PERM_EMPTY': 'AuthKeyPermEmpty', 'AUTH_KEY_UNREGISTERED': 'AuthKeyUnregistered', 'SESSION_EXPIRED': 'SessionExpired', 'SESSION_PASSWORD_NEEDED': 'SessionPasswordNeeded', 'SESSION_REVOKED': 'SessionRevoked', 'USER_DEACTIVATED': 'UserDeactivated', 'USER_DEACTIVATED_BAN': 'UserDeactivatedBan'}, 420: {'_': 'Flood', 'FLOOD_TEST_PHONE_WAIT_X': 'FloodTestPhoneWait', 'FLOOD_WAIT_X': 'FloodWait', 'SLOWMODE_WAIT_X': 'SlowmodeWait', 'TAKEOUT_INIT_DELAY_X': 'TakeoutInitDelay'}, 303: {'_': 'SeeOther', 'FILE_MIGRATE_X': 'FileMigrate', 'NETWORK_MIGRATE_X': 'NetworkMigrate', 'PHONE_MIGRATE_X': 'PhoneMigrate', 'STATS_MIGRATE_X': 'StatsMigrate', 'USER_MIGRATE_X': 'UserMigrate'}} |
class Node:
def __init__(self,name):
self.name = name
self.left = None
self.right = None
self.visit = False
def insert(self, name):
if name < self.name:
if self.left is None:
self.left = Node(name)
else:
self.left.insert(name)
elif name > self.name:
if self.right is None:
self.right = Node(name)
else:
self.right.insert(name)
def visit(node):
node.visit = True
def in_order_traversal(node):
if node != None:
in_order_traversal(node.left)
visit(node)
in_order_traversal(node.right)
def pre_order_traversal(node):
if node != None:
visit(node)
pre_order_traversal(node.left)
pre_order_traversal(node.right)
def post_order_traversal(node):
if node != None:
pre_order_traversal(node.left)
pre_order_traversal(node.right)
visit(node) | class Node:
def __init__(self, name):
self.name = name
self.left = None
self.right = None
self.visit = False
def insert(self, name):
if name < self.name:
if self.left is None:
self.left = node(name)
else:
self.left.insert(name)
elif name > self.name:
if self.right is None:
self.right = node(name)
else:
self.right.insert(name)
def visit(node):
node.visit = True
def in_order_traversal(node):
if node != None:
in_order_traversal(node.left)
visit(node)
in_order_traversal(node.right)
def pre_order_traversal(node):
if node != None:
visit(node)
pre_order_traversal(node.left)
pre_order_traversal(node.right)
def post_order_traversal(node):
if node != None:
pre_order_traversal(node.left)
pre_order_traversal(node.right)
visit(node) |
# fixed constants
WEIERSTRASS = 0
EDWARDS = 1
MONTGOMERY = 2
D_TYPE = 0
M_TYPE = 1
NEGATIVEX = 0
POSITIVEX = 1
BN = 0
BLS = 1
ECDH_INVALID_PUBLIC_KEY = -2
ECDH_ERROR = -3
| weierstrass = 0
edwards = 1
montgomery = 2
d_type = 0
m_type = 1
negativex = 0
positivex = 1
bn = 0
bls = 1
ecdh_invalid_public_key = -2
ecdh_error = -3 |
def actuator_add(type='', name="", object=""):
'''Add an actuator to the active object
:param type: Type, Type of actuator to add
:type type: enum in [], (optional)
:param name: Name, Name of the Actuator to add
:type name: string, (optional, never None)
:param object: Object, Name of the Object to add the Actuator to
:type object: string, (optional, never None)
'''
pass
def actuator_move(actuator="", object="", direction='UP'):
'''Move Actuator
:param actuator: Actuator, Name of the actuator to edit
:type actuator: string, (optional, never None)
:param object: Object, Name of the object the actuator belongs to
:type object: string, (optional, never None)
:param direction: Direction, Move Up or Down
:type direction: enum in ['UP', 'DOWN'], (optional)
'''
pass
def actuator_remove(actuator="", object=""):
'''Remove an actuator from the active object
:param actuator: Actuator, Name of the actuator to edit
:type actuator: string, (optional, never None)
:param object: Object, Name of the object the actuator belongs to
:type object: string, (optional, never None)
'''
pass
def controller_add(type='LOGIC_AND', name="", object=""):
'''Add a controller to the active object
:param type: Type, Type of controller to addLOGIC_AND And, Logic And.LOGIC_OR Or, Logic Or.LOGIC_NAND Nand, Logic Nand.LOGIC_NOR Nor, Logic Nor.LOGIC_XOR Xor, Logic Xor.LOGIC_XNOR Xnor, Logic Xnor.EXPRESSION Expression.PYTHON Python.
:type type: enum in ['LOGIC_AND', 'LOGIC_OR', 'LOGIC_NAND', 'LOGIC_NOR', 'LOGIC_XOR', 'LOGIC_XNOR', 'EXPRESSION', 'PYTHON'], (optional)
:param name: Name, Name of the Controller to add
:type name: string, (optional, never None)
:param object: Object, Name of the Object to add the Controller to
:type object: string, (optional, never None)
'''
pass
def controller_move(controller="", object="", direction='UP'):
'''Move Controller
:param controller: Controller, Name of the controller to edit
:type controller: string, (optional, never None)
:param object: Object, Name of the object the controller belongs to
:type object: string, (optional, never None)
:param direction: Direction, Move Up or Down
:type direction: enum in ['UP', 'DOWN'], (optional)
'''
pass
def controller_remove(controller="", object=""):
'''Remove a controller from the active object
:param controller: Controller, Name of the controller to edit
:type controller: string, (optional, never None)
:param object: Object, Name of the object the controller belongs to
:type object: string, (optional, never None)
'''
pass
def links_cut(path=None, cursor=9):
'''Remove logic brick connections
:param path: path
:type path: bpy_prop_collection of OperatorMousePath, (optional)
:param cursor: Cursor
:type cursor: int in [0, inf], (optional)
'''
pass
def properties():
'''Toggle the properties region visibility
'''
pass
def sensor_add(type='', name="", object=""):
'''Add a sensor to the active object
:param type: Type, Type of sensor to add
:type type: enum in [], (optional)
:param name: Name, Name of the Sensor to add
:type name: string, (optional, never None)
:param object: Object, Name of the Object to add the Sensor to
:type object: string, (optional, never None)
'''
pass
def sensor_move(sensor="", object="", direction='UP'):
'''Move Sensor
:param sensor: Sensor, Name of the sensor to edit
:type sensor: string, (optional, never None)
:param object: Object, Name of the object the sensor belongs to
:type object: string, (optional, never None)
:param direction: Direction, Move Up or Down
:type direction: enum in ['UP', 'DOWN'], (optional)
'''
pass
def sensor_remove(sensor="", object=""):
'''Remove a sensor from the active object
:param sensor: Sensor, Name of the sensor to edit
:type sensor: string, (optional, never None)
:param object: Object, Name of the object the sensor belongs to
:type object: string, (optional, never None)
'''
pass
def view_all():
'''Resize view so you can see all logic bricks
'''
pass
| def actuator_add(type='', name='', object=''):
"""Add an actuator to the active object
:param type: Type, Type of actuator to add
:type type: enum in [], (optional)
:param name: Name, Name of the Actuator to add
:type name: string, (optional, never None)
:param object: Object, Name of the Object to add the Actuator to
:type object: string, (optional, never None)
"""
pass
def actuator_move(actuator='', object='', direction='UP'):
"""Move Actuator
:param actuator: Actuator, Name of the actuator to edit
:type actuator: string, (optional, never None)
:param object: Object, Name of the object the actuator belongs to
:type object: string, (optional, never None)
:param direction: Direction, Move Up or Down
:type direction: enum in ['UP', 'DOWN'], (optional)
"""
pass
def actuator_remove(actuator='', object=''):
"""Remove an actuator from the active object
:param actuator: Actuator, Name of the actuator to edit
:type actuator: string, (optional, never None)
:param object: Object, Name of the object the actuator belongs to
:type object: string, (optional, never None)
"""
pass
def controller_add(type='LOGIC_AND', name='', object=''):
"""Add a controller to the active object
:param type: Type, Type of controller to addLOGIC_AND And, Logic And.LOGIC_OR Or, Logic Or.LOGIC_NAND Nand, Logic Nand.LOGIC_NOR Nor, Logic Nor.LOGIC_XOR Xor, Logic Xor.LOGIC_XNOR Xnor, Logic Xnor.EXPRESSION Expression.PYTHON Python.
:type type: enum in ['LOGIC_AND', 'LOGIC_OR', 'LOGIC_NAND', 'LOGIC_NOR', 'LOGIC_XOR', 'LOGIC_XNOR', 'EXPRESSION', 'PYTHON'], (optional)
:param name: Name, Name of the Controller to add
:type name: string, (optional, never None)
:param object: Object, Name of the Object to add the Controller to
:type object: string, (optional, never None)
"""
pass
def controller_move(controller='', object='', direction='UP'):
"""Move Controller
:param controller: Controller, Name of the controller to edit
:type controller: string, (optional, never None)
:param object: Object, Name of the object the controller belongs to
:type object: string, (optional, never None)
:param direction: Direction, Move Up or Down
:type direction: enum in ['UP', 'DOWN'], (optional)
"""
pass
def controller_remove(controller='', object=''):
"""Remove a controller from the active object
:param controller: Controller, Name of the controller to edit
:type controller: string, (optional, never None)
:param object: Object, Name of the object the controller belongs to
:type object: string, (optional, never None)
"""
pass
def links_cut(path=None, cursor=9):
"""Remove logic brick connections
:param path: path
:type path: bpy_prop_collection of OperatorMousePath, (optional)
:param cursor: Cursor
:type cursor: int in [0, inf], (optional)
"""
pass
def properties():
"""Toggle the properties region visibility
"""
pass
def sensor_add(type='', name='', object=''):
"""Add a sensor to the active object
:param type: Type, Type of sensor to add
:type type: enum in [], (optional)
:param name: Name, Name of the Sensor to add
:type name: string, (optional, never None)
:param object: Object, Name of the Object to add the Sensor to
:type object: string, (optional, never None)
"""
pass
def sensor_move(sensor='', object='', direction='UP'):
"""Move Sensor
:param sensor: Sensor, Name of the sensor to edit
:type sensor: string, (optional, never None)
:param object: Object, Name of the object the sensor belongs to
:type object: string, (optional, never None)
:param direction: Direction, Move Up or Down
:type direction: enum in ['UP', 'DOWN'], (optional)
"""
pass
def sensor_remove(sensor='', object=''):
"""Remove a sensor from the active object
:param sensor: Sensor, Name of the sensor to edit
:type sensor: string, (optional, never None)
:param object: Object, Name of the object the sensor belongs to
:type object: string, (optional, never None)
"""
pass
def view_all():
"""Resize view so you can see all logic bricks
"""
pass |
def xoppy_calc_black_body(TITLE="Thermal source: Planck distribution",TEMPERATURE=1200000.0,E_MIN=10.0,E_MAX=1000.0,NPOINTS=500):
print("Inside xoppy_calc_black_body. ")
return(None)
def xoppy_calc_mlayer(MODE=0,SCAN=0,F12_FLAG=0,SUBSTRATE="Si",ODD_MATERIAL="Si",EVEN_MATERIAL="W",ENERGY=8050.0,THETA=0.0,SCAN_STEP=0.009999999776483,NPOINTS=600,ODD_THICKNESS=25.0,EVEN_THICKNESS=25.0,NLAYERS=50,FILE="layers.dat"):
print("Inside xoppy_calc_mlayer. ")
return(None)
def xoppy_calc_nsources(TEMPERATURE=300.0,ZONE=0,MAXFLUX_F=200000000000000.0,MAXFLUX_EPI=20000000000000.0,MAXFLUX_TH=200000000000000.0,NPOINTS=500):
print("Inside xoppy_calc_nsources. ")
return(None)
def xoppy_calc_ws(TITLE="Wiggler A at APS",ENERGY=7.0,CUR=100.0,PERIOD=8.5,N=28.0,KX=0.0,KY=8.739999771118164,EMIN=1000.0,EMAX=100000.0,NEE=2000,D=30.0,XPC=0.0,YPC=0.0,XPS=2.0,YPS=2.0,NXP=10,NYP=10):
print("Inside xoppy_calc_ws. ")
return(None)
def xoppy_calc_xtubes(ITUBE=0,VOLTAGE=30.0):
print("Inside xoppy_calc_xtubes. ")
return(None)
def xoppy_calc_xtube_w(VOLTAGE=100.0,RIPPLE=0.0,AL_FILTER=0.0):
print("Inside xoppy_calc_xtube_w. ")
return(None)
def xoppy_calc_xinpro(CRYSTAL_MATERIAL=0,MODE=0,ENERGY=8000.0,MILLER_INDEX_H=1,MILLER_INDEX_K=1,MILLER_INDEX_L=1,ASYMMETRY_ANGLE=0.0,THICKNESS=500.0,TEMPERATURE=300.0,NPOINTS=100,SCALE=0,XFROM=-50.0,XTO=50.0):
print("Inside xoppy_calc_xinpro. ")
return(None)
def xoppy_calc_xcrystal(FILEF0=0,FILEF1F2=0,FILECROSSSEC=0,CRYSTAL_MATERIAL=0,MILLER_INDEX_H=1,MILLER_INDEX_K=1,MILLER_INDEX_L=1,I_ABSORP=2,TEMPER="1.0",MOSAIC=0,GEOMETRY=0,SCAN=2,UNIT=1,SCANFROM=-100.0,SCANTO=100.0,SCANPOINTS=200,ENERGY=8000.0,ASYMMETRY_ANGLE=0.0,THICKNESS=0.7,MOSAIC_FWHM=0.1,RSAG=125.0,RMER=1290.0,ANISOTROPY=0,POISSON=0.22,CUT="2 -1 -1 ; 1 1 1 ; 0 0 0",FILECOMPLIANCE="mycompliance.dat"):
print("Inside xoppy_calc_xcrystal. ")
return(None)
def xoppy_calc_xwiggler(FIELD=0,NPERIODS=12,ULAMBDA=0.125,K=14.0,ENERGY=6.04,PHOT_ENERGY_MIN=100.0,PHOT_ENERGY_MAX=100100.0,NPOINTS=100,LOGPLOT=1,NTRAJPOINTS=101,CURRENT=200.0,FILE="?"):
print("Inside xoppy_calc_xwiggler. ")
return(None)
def xoppy_calc_xxcom(NAME="Pyrex Glass",SUBSTANCE=3,DESCRIPTION="SiO2:B2O3:Na2O:Al2O3:K2O",FRACTION="0.807:0.129:0.038:0.022:0.004",GRID=1,GRIDINPUT=0,GRIDDATA="0.0804:0.2790:0.6616:1.3685:2.7541",ELEMENTOUTPUT=0):
print("Inside xoppy_calc_xxcom. ")
return(None)
def xoppy_calc_xpower(F1F2=0,MU=0,SOURCE=1,DUMMY1="",DUMMY2="",DUMMY3="",ENER_MIN=1000.0,ENER_MAX=50000.0,ENER_N=100,SOURCE_FILE="?",NELEMENTS=1,EL1_FOR="Be",EL1_FLAG=0,EL1_THI=0.5,EL1_ANG=3.0,EL1_ROU=0.0,EL1_DEN="?",EL2_FOR="Rh",EL2_FLAG=1,EL2_THI=0.5,EL2_ANG=3.0,EL2_ROU=0.0,EL2_DEN="?",EL3_FOR="Al",EL3_FLAG=0,EL3_THI=0.5,EL3_ANG=3.0,EL3_ROU=0.0,EL3_DEN="?",EL4_FOR="B",EL4_FLAG=0,EL4_THI=0.5,EL4_ANG=3.0,EL4_ROU=0.0,EL4_DEN="?",EL5_FOR="Pt",EL5_FLAG=1,EL5_THI=0.5,EL5_ANG=3.0,EL5_ROU=0.0,EL5_DEN="?"):
print("Inside xoppy_calc_xpower. ")
return(None)
def xoppy_calc_xbfield(PERIOD=4.0,NPER=42,NPTS=40,IMAGNET=0,ITYPE=0,K=1.379999995231628,GAP=2.0,GAPTAP=10.0,FILE="undul.bf"):
print("Inside xoppy_calc_xbfield. ")
return(None)
def xoppy_calc_xfilter(EMPTY1=" ",EMPTY2=" ",NELEMENTS=1,SOURCE=0,ENER_MIN=1000.0,ENER_MAX=50000.0,ENER_N=100,SOURCE_FILE="SRCOMPW",EL1_SYM="Be",EL1_THI=500.0,EL2_SYM="Al",EL2_THI=50.0,EL3_SYM="Pt",EL3_THI=10.0,EL4_SYM="Au",EL4_THI=10.0,EL5_SYM="Cu",EL5_THI=10.0):
print("Inside xoppy_calc_xfilter. ")
return(None)
def xoppy_calc_xtc(TITLE="APS Undulator A, Beam Parameters for regular lattice nux36nuy39.twi, 1.5% cpl.",ENERGY=7.0,CUR=100.0,SIGE=0.000959999975748,TEXT_MACHINE="",SIGX=0.273999989032745,SIGY=0.010999999940395,SIGX1=0.011300000362098,SIGY1=0.00359999993816,TEXT_BEAM="",PERIOD=3.299999952316284,NP=70,TEXT_UNDULATOR="",EMIN=2950.0,EMAX=13500.0,N=40,TEXT_ENERGY="",IHMIN=1,IHMAX=15,IHSTEP=2,TEXT_HARM="",IHEL=0,METHOD=1,IK=1,NEKS=100,TEXT_PARM="",RUN_MODE_NAME="foreground"):
print("Inside xoppy_calc_xtc. ")
return(None)
def xoppy_calc_xus(TITLE="APS Undulator A, Beam Parameters for regular lattice nux36nuy39.twi, 1.5% cpl.",ENERGY=7.0,CUR=100.0,SIGE=0.000959999975748,TEXT_MACHINE="",SIGX=0.273999989032745,SIGY=0.010999999940395,SIGX1=0.011300000362098,SIGY1=0.00359999993816,TEXT_BEAM="",PERIOD=3.299999952316284,NP=70,KX=0.0,KY=2.75,TEXT_UNDULATOR="",EMIN=1000.0,EMAX=50000.0,N=5000,TEXT_ENERGY="",D=30.0,XPC=0.0,YPC=0.0,XPS=2.5,YPS=1.0,NXP=25,NYP=10,TEXT_PINHOLE="",MODE=2,METHOD=4,IHARM=0,TEXT_MODE="",NPHI=0,NALPHA=0,CALPHA2=0.0,NOMEGA=64,COMEGA=8.0,NSIGMA=0,TEXT_CALC="",RUN_MODE_NAME="foreground"):
print("Inside xoppy_calc_xus. ")
return(None)
def xoppy_calc_xurgent(TITLE="ESRF HIGH BETA UNDULATOR",ENERGY=6.039999961853027,CUR=0.100000001490116,SIGX=0.400000005960464,SIGY=0.079999998211861,SIGX1=0.016000000759959,SIGY1=0.00899999961257,ITYPE=1,PERIOD=0.046000000089407,N=32,KX=0.0,KY=1.700000047683716,PHASE=0.0,EMIN=10000.0,EMAX=50000.0,NENERGY=100,D=27.0,XPC=0.0,YPC=0.0,XPS=3.0,YPS=3.0,NXP=25,NYP=25,MODE=4,ICALC=2,IHARM=-1,NPHI=0,NSIG=0,NALPHA=0,DALPHA=0.0,NOMEGA=0,DOMEGA=0.0):
print("Inside xoppy_calc_xurgent. ")
return(None)
def xoppy_calc_xyaup(TITLE="YAUP EXAMPLE (ESRF BL-8)",PERIOD=4.0,NPER=42,NPTS=40,EMIN=3000.0,EMAX=30000.0,NENERGY=100,ENERGY=6.039999961853027,CUR=0.100000001490116,SIGX=0.425999999046326,SIGY=0.08500000089407,SIGX1=0.017000000923872,SIGY1=0.008500000461936,D=30.0,XPC=0.0,YPC=0.0,XPS=2.0,YPS=2.0,NXP=0,NYP=0,MODE=4,NSIG=2,TRAJECTORY="new+keep",XSYM="yes",HANNING=0,BFILE="undul.bf",TFILE="undul.traj"):
print("Inside xoppy_calc_xyaup. ")
return(None)
def xoppy_calc_xf0(DATASETS=0,MAT_FLAG=0,MAT_LIST=0,DESCRIPTOR="Si",GRID=0,GRIDSTART=0.0,GRIDEND=4.0,GRIDN=100):
print("Inside xoppy_calc_xf0. ")
return(None)
def xoppy_calc_xcrosssec(DATASETS=1,MAT_FLAG=0,MAT_LIST=0,DESCRIPTOR="Si",DENSITY=1.0,CALCULATE="all",GRID=0,GRIDSTART=100.0,GRIDEND=10000.0,GRIDN=200,UNIT=0):
print("Inside xoppy_calc_xcrosssec. ")
return(None)
def xoppy_calc_xf1f2(DATASETS=1,MAT_FLAG=0,MAT_LIST=0,DESCRIPTOR="Si",DENSITY=1.0,CALCULATE=1,GRID=0,GRIDSTART=5000.0,GRIDEND=25000.0,GRIDN=100,THETAGRID=0,ROUGH=0.0,THETA1=2.0,THETA2=5.0,THETAN=50):
print("Inside xoppy_calc_xf1f2. ")
return(None)
def xoppy_calc_xfh(FILEF0=0,FILEF1F2=0,FILECROSSSEC=0,ILATTICE=0,HMILLER=1,KMILLER=1,LMILLER=1,I_ABSORP=2,TEMPER="1.0",ENERGY=8000.0,ENERGY_END=18000.0,NPOINTS=20):
print("Inside xoppy_calc_xfh. ")
return(None)
def xoppy_calc_mare(CRYSTAL=2,H=2,K=2,L=2,HMAX=3,KMAX=3,LMAX=3,FHEDGE=1e-08,DISPLAY=0,LAMBDA=1.54,DELTALAMBDA=0.009999999776483,PHI=-20.0,DELTAPHI=0.1):
print("Inside xoppy_calc_mare. ")
return(None)
def xoppy_calc_bm(TYPE_CALC=0,MACHINE_NAME="ESRF bending magnet",RB_CHOICE=0,MACHINE_R_M=25.0,BFIELD_T=0.8,BEAM_ENERGY_GEV=6.0,CURRENT_A=0.1,HOR_DIV_MRAD=1.0,VER_DIV=0,PHOT_ENERGY_MIN=100.0,PHOT_ENERGY_MAX=100000.0,NPOINTS=500,LOG_CHOICE=1,PSI_MRAD_PLOT=1.0,PSI_MIN=-1.0,PSI_MAX=1.0,PSI_NPOINTS=500):
print("Inside xoppy_calc_bm. ")
return(None)
| def xoppy_calc_black_body(TITLE='Thermal source: Planck distribution', TEMPERATURE=1200000.0, E_MIN=10.0, E_MAX=1000.0, NPOINTS=500):
print('Inside xoppy_calc_black_body. ')
return None
def xoppy_calc_mlayer(MODE=0, SCAN=0, F12_FLAG=0, SUBSTRATE='Si', ODD_MATERIAL='Si', EVEN_MATERIAL='W', ENERGY=8050.0, THETA=0.0, SCAN_STEP=0.009999999776483, NPOINTS=600, ODD_THICKNESS=25.0, EVEN_THICKNESS=25.0, NLAYERS=50, FILE='layers.dat'):
print('Inside xoppy_calc_mlayer. ')
return None
def xoppy_calc_nsources(TEMPERATURE=300.0, ZONE=0, MAXFLUX_F=200000000000000.0, MAXFLUX_EPI=20000000000000.0, MAXFLUX_TH=200000000000000.0, NPOINTS=500):
print('Inside xoppy_calc_nsources. ')
return None
def xoppy_calc_ws(TITLE='Wiggler A at APS', ENERGY=7.0, CUR=100.0, PERIOD=8.5, N=28.0, KX=0.0, KY=8.739999771118164, EMIN=1000.0, EMAX=100000.0, NEE=2000, D=30.0, XPC=0.0, YPC=0.0, XPS=2.0, YPS=2.0, NXP=10, NYP=10):
print('Inside xoppy_calc_ws. ')
return None
def xoppy_calc_xtubes(ITUBE=0, VOLTAGE=30.0):
print('Inside xoppy_calc_xtubes. ')
return None
def xoppy_calc_xtube_w(VOLTAGE=100.0, RIPPLE=0.0, AL_FILTER=0.0):
print('Inside xoppy_calc_xtube_w. ')
return None
def xoppy_calc_xinpro(CRYSTAL_MATERIAL=0, MODE=0, ENERGY=8000.0, MILLER_INDEX_H=1, MILLER_INDEX_K=1, MILLER_INDEX_L=1, ASYMMETRY_ANGLE=0.0, THICKNESS=500.0, TEMPERATURE=300.0, NPOINTS=100, SCALE=0, XFROM=-50.0, XTO=50.0):
print('Inside xoppy_calc_xinpro. ')
return None
def xoppy_calc_xcrystal(FILEF0=0, FILEF1F2=0, FILECROSSSEC=0, CRYSTAL_MATERIAL=0, MILLER_INDEX_H=1, MILLER_INDEX_K=1, MILLER_INDEX_L=1, I_ABSORP=2, TEMPER='1.0', MOSAIC=0, GEOMETRY=0, SCAN=2, UNIT=1, SCANFROM=-100.0, SCANTO=100.0, SCANPOINTS=200, ENERGY=8000.0, ASYMMETRY_ANGLE=0.0, THICKNESS=0.7, MOSAIC_FWHM=0.1, RSAG=125.0, RMER=1290.0, ANISOTROPY=0, POISSON=0.22, CUT='2 -1 -1 ; 1 1 1 ; 0 0 0', FILECOMPLIANCE='mycompliance.dat'):
print('Inside xoppy_calc_xcrystal. ')
return None
def xoppy_calc_xwiggler(FIELD=0, NPERIODS=12, ULAMBDA=0.125, K=14.0, ENERGY=6.04, PHOT_ENERGY_MIN=100.0, PHOT_ENERGY_MAX=100100.0, NPOINTS=100, LOGPLOT=1, NTRAJPOINTS=101, CURRENT=200.0, FILE='?'):
print('Inside xoppy_calc_xwiggler. ')
return None
def xoppy_calc_xxcom(NAME='Pyrex Glass', SUBSTANCE=3, DESCRIPTION='SiO2:B2O3:Na2O:Al2O3:K2O', FRACTION='0.807:0.129:0.038:0.022:0.004', GRID=1, GRIDINPUT=0, GRIDDATA='0.0804:0.2790:0.6616:1.3685:2.7541', ELEMENTOUTPUT=0):
print('Inside xoppy_calc_xxcom. ')
return None
def xoppy_calc_xpower(F1F2=0, MU=0, SOURCE=1, DUMMY1='', DUMMY2='', DUMMY3='', ENER_MIN=1000.0, ENER_MAX=50000.0, ENER_N=100, SOURCE_FILE='?', NELEMENTS=1, EL1_FOR='Be', EL1_FLAG=0, EL1_THI=0.5, EL1_ANG=3.0, EL1_ROU=0.0, EL1_DEN='?', EL2_FOR='Rh', EL2_FLAG=1, EL2_THI=0.5, EL2_ANG=3.0, EL2_ROU=0.0, EL2_DEN='?', EL3_FOR='Al', EL3_FLAG=0, EL3_THI=0.5, EL3_ANG=3.0, EL3_ROU=0.0, EL3_DEN='?', EL4_FOR='B', EL4_FLAG=0, EL4_THI=0.5, EL4_ANG=3.0, EL4_ROU=0.0, EL4_DEN='?', EL5_FOR='Pt', EL5_FLAG=1, EL5_THI=0.5, EL5_ANG=3.0, EL5_ROU=0.0, EL5_DEN='?'):
print('Inside xoppy_calc_xpower. ')
return None
def xoppy_calc_xbfield(PERIOD=4.0, NPER=42, NPTS=40, IMAGNET=0, ITYPE=0, K=1.379999995231628, GAP=2.0, GAPTAP=10.0, FILE='undul.bf'):
print('Inside xoppy_calc_xbfield. ')
return None
def xoppy_calc_xfilter(EMPTY1=' ', EMPTY2=' ', NELEMENTS=1, SOURCE=0, ENER_MIN=1000.0, ENER_MAX=50000.0, ENER_N=100, SOURCE_FILE='SRCOMPW', EL1_SYM='Be', EL1_THI=500.0, EL2_SYM='Al', EL2_THI=50.0, EL3_SYM='Pt', EL3_THI=10.0, EL4_SYM='Au', EL4_THI=10.0, EL5_SYM='Cu', EL5_THI=10.0):
print('Inside xoppy_calc_xfilter. ')
return None
def xoppy_calc_xtc(TITLE='APS Undulator A, Beam Parameters for regular lattice nux36nuy39.twi, 1.5% cpl.', ENERGY=7.0, CUR=100.0, SIGE=0.000959999975748, TEXT_MACHINE='', SIGX=0.273999989032745, SIGY=0.010999999940395, SIGX1=0.011300000362098, SIGY1=0.00359999993816, TEXT_BEAM='', PERIOD=3.299999952316284, NP=70, TEXT_UNDULATOR='', EMIN=2950.0, EMAX=13500.0, N=40, TEXT_ENERGY='', IHMIN=1, IHMAX=15, IHSTEP=2, TEXT_HARM='', IHEL=0, METHOD=1, IK=1, NEKS=100, TEXT_PARM='', RUN_MODE_NAME='foreground'):
print('Inside xoppy_calc_xtc. ')
return None
def xoppy_calc_xus(TITLE='APS Undulator A, Beam Parameters for regular lattice nux36nuy39.twi, 1.5% cpl.', ENERGY=7.0, CUR=100.0, SIGE=0.000959999975748, TEXT_MACHINE='', SIGX=0.273999989032745, SIGY=0.010999999940395, SIGX1=0.011300000362098, SIGY1=0.00359999993816, TEXT_BEAM='', PERIOD=3.299999952316284, NP=70, KX=0.0, KY=2.75, TEXT_UNDULATOR='', EMIN=1000.0, EMAX=50000.0, N=5000, TEXT_ENERGY='', D=30.0, XPC=0.0, YPC=0.0, XPS=2.5, YPS=1.0, NXP=25, NYP=10, TEXT_PINHOLE='', MODE=2, METHOD=4, IHARM=0, TEXT_MODE='', NPHI=0, NALPHA=0, CALPHA2=0.0, NOMEGA=64, COMEGA=8.0, NSIGMA=0, TEXT_CALC='', RUN_MODE_NAME='foreground'):
print('Inside xoppy_calc_xus. ')
return None
def xoppy_calc_xurgent(TITLE='ESRF HIGH BETA UNDULATOR', ENERGY=6.039999961853027, CUR=0.100000001490116, SIGX=0.400000005960464, SIGY=0.079999998211861, SIGX1=0.016000000759959, SIGY1=0.00899999961257, ITYPE=1, PERIOD=0.046000000089407, N=32, KX=0.0, KY=1.700000047683716, PHASE=0.0, EMIN=10000.0, EMAX=50000.0, NENERGY=100, D=27.0, XPC=0.0, YPC=0.0, XPS=3.0, YPS=3.0, NXP=25, NYP=25, MODE=4, ICALC=2, IHARM=-1, NPHI=0, NSIG=0, NALPHA=0, DALPHA=0.0, NOMEGA=0, DOMEGA=0.0):
print('Inside xoppy_calc_xurgent. ')
return None
def xoppy_calc_xyaup(TITLE='YAUP EXAMPLE (ESRF BL-8)', PERIOD=4.0, NPER=42, NPTS=40, EMIN=3000.0, EMAX=30000.0, NENERGY=100, ENERGY=6.039999961853027, CUR=0.100000001490116, SIGX=0.425999999046326, SIGY=0.08500000089407, SIGX1=0.017000000923872, SIGY1=0.008500000461936, D=30.0, XPC=0.0, YPC=0.0, XPS=2.0, YPS=2.0, NXP=0, NYP=0, MODE=4, NSIG=2, TRAJECTORY='new+keep', XSYM='yes', HANNING=0, BFILE='undul.bf', TFILE='undul.traj'):
print('Inside xoppy_calc_xyaup. ')
return None
def xoppy_calc_xf0(DATASETS=0, MAT_FLAG=0, MAT_LIST=0, DESCRIPTOR='Si', GRID=0, GRIDSTART=0.0, GRIDEND=4.0, GRIDN=100):
print('Inside xoppy_calc_xf0. ')
return None
def xoppy_calc_xcrosssec(DATASETS=1, MAT_FLAG=0, MAT_LIST=0, DESCRIPTOR='Si', DENSITY=1.0, CALCULATE='all', GRID=0, GRIDSTART=100.0, GRIDEND=10000.0, GRIDN=200, UNIT=0):
print('Inside xoppy_calc_xcrosssec. ')
return None
def xoppy_calc_xf1f2(DATASETS=1, MAT_FLAG=0, MAT_LIST=0, DESCRIPTOR='Si', DENSITY=1.0, CALCULATE=1, GRID=0, GRIDSTART=5000.0, GRIDEND=25000.0, GRIDN=100, THETAGRID=0, ROUGH=0.0, THETA1=2.0, THETA2=5.0, THETAN=50):
print('Inside xoppy_calc_xf1f2. ')
return None
def xoppy_calc_xfh(FILEF0=0, FILEF1F2=0, FILECROSSSEC=0, ILATTICE=0, HMILLER=1, KMILLER=1, LMILLER=1, I_ABSORP=2, TEMPER='1.0', ENERGY=8000.0, ENERGY_END=18000.0, NPOINTS=20):
print('Inside xoppy_calc_xfh. ')
return None
def xoppy_calc_mare(CRYSTAL=2, H=2, K=2, L=2, HMAX=3, KMAX=3, LMAX=3, FHEDGE=1e-08, DISPLAY=0, LAMBDA=1.54, DELTALAMBDA=0.009999999776483, PHI=-20.0, DELTAPHI=0.1):
print('Inside xoppy_calc_mare. ')
return None
def xoppy_calc_bm(TYPE_CALC=0, MACHINE_NAME='ESRF bending magnet', RB_CHOICE=0, MACHINE_R_M=25.0, BFIELD_T=0.8, BEAM_ENERGY_GEV=6.0, CURRENT_A=0.1, HOR_DIV_MRAD=1.0, VER_DIV=0, PHOT_ENERGY_MIN=100.0, PHOT_ENERGY_MAX=100000.0, NPOINTS=500, LOG_CHOICE=1, PSI_MRAD_PLOT=1.0, PSI_MIN=-1.0, PSI_MAX=1.0, PSI_NPOINTS=500):
print('Inside xoppy_calc_bm. ')
return None |
SS
array = [1,1,2,2]
array1 = set(array)
print(array1)
for a in array1:
print(a)
| SS
array = [1, 1, 2, 2]
array1 = set(array)
print(array1)
for a in array1:
print(a) |
# Humanoid A (2111003) | Magatia (261000000)
snowfieldRose = 3335
snowRoseGrows = 926120300
if sm.hasQuest(snowfieldRose):
response = sm.sendAskYesNo("Are you ready to grow the Snow Rose?")
if response:
sm.warpInstanceIn(snowRoseGrows, False)
else:
sm.sendSayOkay("Remember to bring #bMay Mist#k with you so the Snow Rose can bloom.")
else:
sm.sendSayOkay("I want to become human. I want to be a human with a warm heart so I can hold her hand. But now...") | snowfield_rose = 3335
snow_rose_grows = 926120300
if sm.hasQuest(snowfieldRose):
response = sm.sendAskYesNo('Are you ready to grow the Snow Rose?')
if response:
sm.warpInstanceIn(snowRoseGrows, False)
else:
sm.sendSayOkay('Remember to bring #bMay Mist#k with you so the Snow Rose can bloom.')
else:
sm.sendSayOkay('I want to become human. I want to be a human with a warm heart so I can hold her hand. But now...') |
class Algo(object):
def generate(self, interface):
# TODO: Write algorithm here
pass
| class Algo(object):
def generate(self, interface):
pass |
width = 17
height = 12.0
print(width//2) # should return the quotient
print(width/2.0) # should return the quotient in float
print(height/3.0) # should return the quotient in float
ans = 1 + 2 * 5 # should return 11
print(ans)
| width = 17
height = 12.0
print(width // 2)
print(width / 2.0)
print(height / 3.0)
ans = 1 + 2 * 5
print(ans) |
d = {"a": 1, "b": 2, "c": 3}
newDict={}
for (key,value) in d.items():
if(value<=1):
newDict[key]=value
# for key,values in d.items():
# if values>1:
# d.pop[key]
print(newDict)
| d = {'a': 1, 'b': 2, 'c': 3}
new_dict = {}
for (key, value) in d.items():
if value <= 1:
newDict[key] = value
print(newDict) |
#!/usr/bin/env python3
# imports go here
#
# Free Coding session for 2015-04-02
# Written by Matt Warren
#
class MyClass(object):
def __init__(self):
self.meta = self.Meta()
class Meta:
CONSTANT = 'HELLO'
def do_something(self):
print(self.meta.CONSTANT)
class MySubclass(MyClass):
class Meta:
CONSTANT = 'MATT IS COOL'
if __name__ == '__main__':
mc = MyClass()
mc.do_something()
msc = MySubclass()
msc.do_something()
| class Myclass(object):
def __init__(self):
self.meta = self.Meta()
class Meta:
constant = 'HELLO'
def do_something(self):
print(self.meta.CONSTANT)
class Mysubclass(MyClass):
class Meta:
constant = 'MATT IS COOL'
if __name__ == '__main__':
mc = my_class()
mc.do_something()
msc = my_subclass()
msc.do_something() |
# coding=utf-8
class Context(object):
is_finished = False
text = None
state = None
current_index = 0
is_pair_sign_opened = False
has_split_sign = False
pair_sign = None
back_pair_sign = None
token_num = 0
char_num = 0
def __init__(self,
text,
state,
split_signs,
pair_signs,
soften_split_signs,
token_limits=None):
self.text = text
self.state = state
self.current_sentence_builder = []
self.sentences = []
self.split_signs = split_signs
self.pair_signs = pair_signs
self.soften_split_signs = soften_split_signs
self.token_limits = token_limits
@property
def current_char(self):
return self.text[self.current_index]
def finish(self):
self.is_finished = True
def execute(self):
while not self.is_finished:
self.state.execute(self)
def clear_local_state(self):
self.current_sentence_builder = []
self.token_num = 0
self.char_num = 0
def is_too_long(self):
return (self.token_limits <= self.token_num
) if self.token_limits else False
| class Context(object):
is_finished = False
text = None
state = None
current_index = 0
is_pair_sign_opened = False
has_split_sign = False
pair_sign = None
back_pair_sign = None
token_num = 0
char_num = 0
def __init__(self, text, state, split_signs, pair_signs, soften_split_signs, token_limits=None):
self.text = text
self.state = state
self.current_sentence_builder = []
self.sentences = []
self.split_signs = split_signs
self.pair_signs = pair_signs
self.soften_split_signs = soften_split_signs
self.token_limits = token_limits
@property
def current_char(self):
return self.text[self.current_index]
def finish(self):
self.is_finished = True
def execute(self):
while not self.is_finished:
self.state.execute(self)
def clear_local_state(self):
self.current_sentence_builder = []
self.token_num = 0
self.char_num = 0
def is_too_long(self):
return self.token_limits <= self.token_num if self.token_limits else False |
class Solution:
def sortArrayByParity(self, A: List[int]) -> List[int]:
j=0
for i in range(len(A)):
if (A[i]%2)==0:
temp = A[i]
A[i]=A[j]
A[j]=temp
j+=1
return A
| class Solution:
def sort_array_by_parity(self, A: List[int]) -> List[int]:
j = 0
for i in range(len(A)):
if A[i] % 2 == 0:
temp = A[i]
A[i] = A[j]
A[j] = temp
j += 1
return A |
def solve(prices, fee):
t_i_k_0 = 0
t_i_k_1 = -float('inf')
for price in prices:
t_i_k_0 = max(t_i_k_0, t_i_k_1 + price - fee)
t_i_k_1 = max(t_i_k_1, t_i_k_0 - price)
return t_i_k_0
A = [1, 3, 2, 8, 4, 9]
B = 2
print(solve(A, B))
| def solve(prices, fee):
t_i_k_0 = 0
t_i_k_1 = -float('inf')
for price in prices:
t_i_k_0 = max(t_i_k_0, t_i_k_1 + price - fee)
t_i_k_1 = max(t_i_k_1, t_i_k_0 - price)
return t_i_k_0
a = [1, 3, 2, 8, 4, 9]
b = 2
print(solve(A, B)) |
class ObjectFactory:
'''Generic object factory. Maintains a dictionary of provider objects,
which can be created and returned on demand.
'''
def __init__(self):
self._providers = {}
def register_provider(self, key, provider):
'''Register a new provider for future use. The `key` value is case-
insensitive. `provider` is a callable object which returns an
instance of the class associated with `key`.
'''
self._providers[key.lower()] = provider
def create(self, key, **kwargs):
'''Call a provider builder, and return the instance created. The
provider builder is determined based on the `key` provided, and
it will be called with `**kwargs` passed in to it.
'''
provider = self._providers.get(key.lower())
if not provider:
raise ValueError(key)
return provider(**kwargs)
| class Objectfactory:
"""Generic object factory. Maintains a dictionary of provider objects,
which can be created and returned on demand.
"""
def __init__(self):
self._providers = {}
def register_provider(self, key, provider):
"""Register a new provider for future use. The `key` value is case-
insensitive. `provider` is a callable object which returns an
instance of the class associated with `key`.
"""
self._providers[key.lower()] = provider
def create(self, key, **kwargs):
"""Call a provider builder, and return the instance created. The
provider builder is determined based on the `key` provided, and
it will be called with `**kwargs` passed in to it.
"""
provider = self._providers.get(key.lower())
if not provider:
raise value_error(key)
return provider(**kwargs) |
def test_grade_above_1_is_passing(passing_grade):
assert passing_grade.is_passing() is True
def test_grade_below_2_is_failing(failing_grade):
assert failing_grade.is_passing() is False
| def test_grade_above_1_is_passing(passing_grade):
assert passing_grade.is_passing() is True
def test_grade_below_2_is_failing(failing_grade):
assert failing_grade.is_passing() is False |
# .split() breaks a string at specified character into a list of strings
my_string = "Boulder,CO,80304,106392"
my_split_string = my_string.split(",")
print(my_split_string)
# .strip() will remove leading or trailing whitespace
white_str = " Boulder,CO,80304,106392\n"
strip_split_str = white_str.split(",").strip()
print(strip_split_str)
| my_string = 'Boulder,CO,80304,106392'
my_split_string = my_string.split(',')
print(my_split_string)
white_str = ' Boulder,CO,80304,106392\n'
strip_split_str = white_str.split(',').strip()
print(strip_split_str) |
# SPDX-License-Identifier: MIT
# Map the entire MMIO range as traceable
map_sw(0x2_00000000,
0x2_00000000 | hv.SPTE_TRACE_READ | hv.SPTE_TRACE_WRITE,
0x5_00000000)
# Skip some noisy devices
try:
trace_device("/arm-io/usb-drd0", False)
except KeyError:
pass
try:
trace_device("/arm-io/usb-drd1", False)
except KeyError:
pass
trace_device("/arm-io/uart2", False)
trace_device("/arm-io/error-handler", False)
trace_device("/arm-io/aic", False)
trace_device("/arm-io/spi1", False)
trace_device("/arm-io/pmgr", False)
# Re-map the vuart, which the first map_sw undid...
map_vuart()
| map_sw(8589934592, 8589934592 | hv.SPTE_TRACE_READ | hv.SPTE_TRACE_WRITE, 21474836480)
try:
trace_device('/arm-io/usb-drd0', False)
except KeyError:
pass
try:
trace_device('/arm-io/usb-drd1', False)
except KeyError:
pass
trace_device('/arm-io/uart2', False)
trace_device('/arm-io/error-handler', False)
trace_device('/arm-io/aic', False)
trace_device('/arm-io/spi1', False)
trace_device('/arm-io/pmgr', False)
map_vuart() |
class AdjNode:
def __init__(self, value):
self.value = value
self.next = None
class AdjListGraph:
def __init__(self, num_vertices):
self.storage = [None] * num_vertices
self.num_vertices = num_vertices
def add_edge(self, v, w):
new_adj_node = AdjNode(w)
new_adj_node.next = self.storage[v]
self.storage[v] = new_adj_node
new_adj_node = AdjNode(v)
new_adj_node.next = self.storage[w]
self.storage[w] = new_adj_node
def adjacent(self, v):
adjacent_vertices = []
node = self.storage[v]
while (node is not None):
adjacent_vertices.append(node.value)
node = node.next
return adjacent_vertices
def num_of_vertices(self):
return self.num_vertices
def num_of_edges(self):
num_edges = 0
for v in range(self.num_vertices):
for _ in self.adjacent(v):
num_edges += 1
return num_edges / 2
def degree(self, v):
count = 0
for _ in self.adjacent(v):
count += 1
return count
def max_degree(self):
max = 0
for v in range(self.num_vertices):
d = self.degree(v)
if d > max:
max = d
return max
def average_degree(self):
return 2 * self.num_of_edges() / self.num_of_vertices()
def num_of_self_loops(self):
count = 0
for v in range(self.num_vertices):
for w in self.adjacent(v):
if v == w:
count += 1
return count
class AdjMatrixGraph:
def __init__(self, num_vertices):
self.storage = []
for i in range(num_vertices):
self.storage.append([0 for j in range(num_vertices)])
self.num_vertices = num_vertices
def add_edge(self, v, w):
self.storage[v][w] = 1
self.storage[w][v] = 1
def adjacent(self, v):
adjacent_vertices = []
for index in range(self.num_vertices):
if self.storage[v][index] == 1:
adjacent_vertices.append(index)
return adjacent_vertices
def num_of_vertices(self):
return self.num_vertices
def num_of_edges(self):
num_edges = 0
for v in range(self.num_vertices):
for w in range(self.num_vertices):
if self.storage[v][w]:
num_edges += 1
return num_edges / 2
def degree(self, v):
count = 0
for index in range(self.num_vertices):
if self.storage[v][index] == 1:
count += 1
return count
def max_degree(self):
max = 0
for v in range(self.num_vertices):
d = self.degree(v)
if d > max:
max = d
return max
def average_degree(self):
return 2 * self.num_of_edges() / self.num_of_vertices()
def num_of_self_loops(self):
count = 0
for v in range(self.num_vertices):
if self.storage[v][v] == 1:
count += 1
return count
def create_graph_one(graph):
graph.add_edge(0, 1)
graph.add_edge(0, 2)
graph.add_edge(0, 5)
graph.add_edge(0, 6)
graph.add_edge(3, 4)
graph.add_edge(3, 5)
graph.add_edge(4, 5)
graph.add_edge(4, 6)
graph.add_edge(7, 8)
graph.add_edge(9, 10)
graph.add_edge(9, 11)
graph.add_edge(9, 12)
graph.add_edge(11, 12)
return graph
def create_graph_two(graph):
for v, w in [(0, 1), (0, 2), (0, 5), (1, 2),
(2, 3), (2, 4), (3, 4), (3, 5)]:
graph.add_edge(v, w)
return graph
if __name__ == '__main__':
print('*** Adjacency List Graph One ***')
adj_list_graph_one = AdjListGraph(13)
adj_list_graph_one = create_graph_one(adj_list_graph_one)
for v in [3, 9, 1]:
print(adj_list_graph_one.adjacent(v))
print(adj_list_graph_one.degree(v))
print(adj_list_graph_one.num_of_vertices())
print(adj_list_graph_one.num_of_edges())
print(adj_list_graph_one.average_degree())
print(adj_list_graph_one.max_degree())
print('\n*** Adjacency Matrix Graph One ***')
adj_mat_graph_one = AdjMatrixGraph(13)
adj_mat_graph_one = create_graph_one(adj_mat_graph_one)
for v in [3, 9, 1]:
print(adj_mat_graph_one.adjacent(v))
print(adj_mat_graph_one.degree(v))
print(adj_mat_graph_one.num_of_vertices())
print(adj_mat_graph_one.num_of_edges())
print(adj_mat_graph_one.average_degree())
print(adj_mat_graph_one.max_degree())
print('*** Adjacency List Graph Two ***')
adj_list_graph_two = AdjListGraph(6)
adj_list_graph_two = create_graph_two(adj_list_graph_two)
for v in [3, 5, 1]:
print(adj_list_graph_two.adjacent(v))
print(adj_list_graph_two.degree(v))
print(adj_list_graph_two.num_of_vertices())
print(adj_list_graph_two.num_of_edges())
print(adj_list_graph_two.average_degree())
print(adj_list_graph_two.max_degree())
print('\n*** Adjacency Matrix Graph Two ***')
adj_mat_graph_two = AdjMatrixGraph(6)
adj_mat_graph_two = create_graph_two(adj_mat_graph_two)
for v in [3, 5, 1]:
print(adj_mat_graph_two.adjacent(v))
print(adj_mat_graph_two.degree(v))
print(adj_mat_graph_two.num_of_vertices())
print(adj_mat_graph_two.num_of_edges())
print(adj_mat_graph_two.average_degree())
print(adj_mat_graph_two.max_degree())
| class Adjnode:
def __init__(self, value):
self.value = value
self.next = None
class Adjlistgraph:
def __init__(self, num_vertices):
self.storage = [None] * num_vertices
self.num_vertices = num_vertices
def add_edge(self, v, w):
new_adj_node = adj_node(w)
new_adj_node.next = self.storage[v]
self.storage[v] = new_adj_node
new_adj_node = adj_node(v)
new_adj_node.next = self.storage[w]
self.storage[w] = new_adj_node
def adjacent(self, v):
adjacent_vertices = []
node = self.storage[v]
while node is not None:
adjacent_vertices.append(node.value)
node = node.next
return adjacent_vertices
def num_of_vertices(self):
return self.num_vertices
def num_of_edges(self):
num_edges = 0
for v in range(self.num_vertices):
for _ in self.adjacent(v):
num_edges += 1
return num_edges / 2
def degree(self, v):
count = 0
for _ in self.adjacent(v):
count += 1
return count
def max_degree(self):
max = 0
for v in range(self.num_vertices):
d = self.degree(v)
if d > max:
max = d
return max
def average_degree(self):
return 2 * self.num_of_edges() / self.num_of_vertices()
def num_of_self_loops(self):
count = 0
for v in range(self.num_vertices):
for w in self.adjacent(v):
if v == w:
count += 1
return count
class Adjmatrixgraph:
def __init__(self, num_vertices):
self.storage = []
for i in range(num_vertices):
self.storage.append([0 for j in range(num_vertices)])
self.num_vertices = num_vertices
def add_edge(self, v, w):
self.storage[v][w] = 1
self.storage[w][v] = 1
def adjacent(self, v):
adjacent_vertices = []
for index in range(self.num_vertices):
if self.storage[v][index] == 1:
adjacent_vertices.append(index)
return adjacent_vertices
def num_of_vertices(self):
return self.num_vertices
def num_of_edges(self):
num_edges = 0
for v in range(self.num_vertices):
for w in range(self.num_vertices):
if self.storage[v][w]:
num_edges += 1
return num_edges / 2
def degree(self, v):
count = 0
for index in range(self.num_vertices):
if self.storage[v][index] == 1:
count += 1
return count
def max_degree(self):
max = 0
for v in range(self.num_vertices):
d = self.degree(v)
if d > max:
max = d
return max
def average_degree(self):
return 2 * self.num_of_edges() / self.num_of_vertices()
def num_of_self_loops(self):
count = 0
for v in range(self.num_vertices):
if self.storage[v][v] == 1:
count += 1
return count
def create_graph_one(graph):
graph.add_edge(0, 1)
graph.add_edge(0, 2)
graph.add_edge(0, 5)
graph.add_edge(0, 6)
graph.add_edge(3, 4)
graph.add_edge(3, 5)
graph.add_edge(4, 5)
graph.add_edge(4, 6)
graph.add_edge(7, 8)
graph.add_edge(9, 10)
graph.add_edge(9, 11)
graph.add_edge(9, 12)
graph.add_edge(11, 12)
return graph
def create_graph_two(graph):
for (v, w) in [(0, 1), (0, 2), (0, 5), (1, 2), (2, 3), (2, 4), (3, 4), (3, 5)]:
graph.add_edge(v, w)
return graph
if __name__ == '__main__':
print('*** Adjacency List Graph One ***')
adj_list_graph_one = adj_list_graph(13)
adj_list_graph_one = create_graph_one(adj_list_graph_one)
for v in [3, 9, 1]:
print(adj_list_graph_one.adjacent(v))
print(adj_list_graph_one.degree(v))
print(adj_list_graph_one.num_of_vertices())
print(adj_list_graph_one.num_of_edges())
print(adj_list_graph_one.average_degree())
print(adj_list_graph_one.max_degree())
print('\n*** Adjacency Matrix Graph One ***')
adj_mat_graph_one = adj_matrix_graph(13)
adj_mat_graph_one = create_graph_one(adj_mat_graph_one)
for v in [3, 9, 1]:
print(adj_mat_graph_one.adjacent(v))
print(adj_mat_graph_one.degree(v))
print(adj_mat_graph_one.num_of_vertices())
print(adj_mat_graph_one.num_of_edges())
print(adj_mat_graph_one.average_degree())
print(adj_mat_graph_one.max_degree())
print('*** Adjacency List Graph Two ***')
adj_list_graph_two = adj_list_graph(6)
adj_list_graph_two = create_graph_two(adj_list_graph_two)
for v in [3, 5, 1]:
print(adj_list_graph_two.adjacent(v))
print(adj_list_graph_two.degree(v))
print(adj_list_graph_two.num_of_vertices())
print(adj_list_graph_two.num_of_edges())
print(adj_list_graph_two.average_degree())
print(adj_list_graph_two.max_degree())
print('\n*** Adjacency Matrix Graph Two ***')
adj_mat_graph_two = adj_matrix_graph(6)
adj_mat_graph_two = create_graph_two(adj_mat_graph_two)
for v in [3, 5, 1]:
print(adj_mat_graph_two.adjacent(v))
print(adj_mat_graph_two.degree(v))
print(adj_mat_graph_two.num_of_vertices())
print(adj_mat_graph_two.num_of_edges())
print(adj_mat_graph_two.average_degree())
print(adj_mat_graph_two.max_degree()) |
# -*- coding: utf-8 -*-
db.define_table('MESSAGE_BOARD',
Field('sender', 'text'),
Field('receiver', 'text'),
Field('message_content', 'text'),
# Field('sent_time', 'datetime', requires=IS_DATE(format='%d-%m-%Y %H:%M:%S')),
Field('sent_time', 'datetime'),
Field('has_read', 'boolean', default=False),
Field('comments', 'text'),
redefine=True)
| db.define_table('MESSAGE_BOARD', field('sender', 'text'), field('receiver', 'text'), field('message_content', 'text'), field('sent_time', 'datetime'), field('has_read', 'boolean', default=False), field('comments', 'text'), redefine=True) |
BASE_AUTH = "bemullen_crussack_dharmesh_vinwah"
CONTRIBUTOR = "bemullen_crussack_dharmesh_vinwah"
BASE_NAME = "bemullen_crussack_dharmesh_vinwah"
def setBaseName(baseAuth):
global BASE_AUTH
global BASE_NAME
global CONTRIBUTOR
BASE_AUTH = baseAuth
CONTRIBUTOR = baseAuth
BASE_NAME = baseAuth | base_auth = 'bemullen_crussack_dharmesh_vinwah'
contributor = 'bemullen_crussack_dharmesh_vinwah'
base_name = 'bemullen_crussack_dharmesh_vinwah'
def set_base_name(baseAuth):
global BASE_AUTH
global BASE_NAME
global CONTRIBUTOR
base_auth = baseAuth
contributor = baseAuth
base_name = baseAuth |
def grade(key, submission):
if submission == "it_is_only_uphill_from_here_%s" % str(key):
return True, "Good luck!"
else:
return False, "Ask Julius again..."
| def grade(key, submission):
if submission == 'it_is_only_uphill_from_here_%s' % str(key):
return (True, 'Good luck!')
else:
return (False, 'Ask Julius again...') |
class Solution:
def solve(self, source, target):
locs = defaultdict(list)
for i,char in enumerate(source):
locs[char].append(i)
ans = 0
cur = len(source)
for char in target:
if char not in locs:
return -1
nxt = bisect_left(locs[char],cur+1)
if nxt == len(locs[char]):
nxt = 0
ans += 1
cur = locs[char][nxt]
return ans
| class Solution:
def solve(self, source, target):
locs = defaultdict(list)
for (i, char) in enumerate(source):
locs[char].append(i)
ans = 0
cur = len(source)
for char in target:
if char not in locs:
return -1
nxt = bisect_left(locs[char], cur + 1)
if nxt == len(locs[char]):
nxt = 0
ans += 1
cur = locs[char][nxt]
return ans |
def encripter(key,entrada):
alfabeto = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
mapa = [["X0","X1","X2","X3","X4"],["X0","X1","X2","X3","X4"],["X0","X1","X2","X3","X4"],["X0","X1","X2","X3","X4"],["X0","X1","X2","X3","X4"]]
x = 0 # index para la matriz
y = 0 # index para la matriz
contador = 0; # contador control para la incersion de la llave en el mapa
entrada = entrada.replace(" ","") # establece la palabra entreda pro el usuario y le quita los espacios
key = key.replace(" ","") # establece la llave y le quita los espacios
entradaArr = listToUpper(list(entrada)) # convierte la entrada en un arreglo y todos los elementos a mayusculas
keyArr = listToUpper(list(key)) # convierte la llave en un arreglo y todos los elementos a mayusculas
keyMax = len(keyArr) # guarda la longitud de la llave
letRest = []
cntLetRest = 0
for letra in alfabeto:
if letra in keyArr:
# print("letra en alfabeto")
"letra en alfabeto"
else:
# print("letra no en el alfabeto: " + letra)
letRest.append(letra)
cntLetRest+=1
# print("letras restantes")
# print (letRest)
cntInsertLetrasRest = 0;
# iteramos el mapa para poder insertar la llave en el
for subLis in mapa:
for letra in subLis:
# print (mapa[x][y])
if(contador < keyMax):
mapa[x][y] = keyArr[contador] # inserta la llave en el mapa caracter por caracter
# print (keyArr[contador])
else:
mapa[x][y] = letRest[cntInsertLetrasRest]
cntInsertLetrasRest+=1
contador += 1
y+=1
pass
y=0
x+=1
pass
x = 0
y = 0
palabraEncriptada = ""
# obtenemos la cadena encriptada
for i in range(0,(len(entradaArr))):
for subLis in mapa:
if entradaArr[i] in subLis:
palabraEncriptada += str(subLis.index(entradaArr[i])+1)
# palabraEncriptada += "."
palabraEncriptada += str(mapa.index(subLis)+1)
palabraEncriptada += " "
# indexLetraBusc +=1
pass
pass
print ("#############################################################")
print ("############ >>>MAPA<<< #####################################")
print ("#############################################################")
print("")
print (" 1 2 3 4 5")
print (" 1 " + str(mapa[0]))
print (" 2 " + str(mapa[1]))
print (" 3 " + str(mapa[2]))
print (" 4 " + str(mapa[3]))
print (" 5 " + str(mapa[4]))
print("")
print(">> CLAVE: " + key.upper())
print(">> PALABRA ORIGINAL: " + entrada.upper())
# print("palabra encriptada: " + palabraEncriptada )
return palabraEncriptada
def listToUpper(lista):
listTam = len(lista)
cnt = 0
for item in lista:
lista[cnt] = lista[cnt].upper()
cnt+=1
# print ("lista en mayusculas: ")
# print (lista)
return lista
print ("ENCRIPTADOR")
print (">> Ingrese la palabara clave: ")
key = input()
print (">> Ingrese la palabra que desea encriptar: ")
entrada = input()
print(">> PALABRA ENCRIPTADA: " + encripter(key,entrada))
| def encripter(key, entrada):
alfabeto = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
mapa = [['X0', 'X1', 'X2', 'X3', 'X4'], ['X0', 'X1', 'X2', 'X3', 'X4'], ['X0', 'X1', 'X2', 'X3', 'X4'], ['X0', 'X1', 'X2', 'X3', 'X4'], ['X0', 'X1', 'X2', 'X3', 'X4']]
x = 0
y = 0
contador = 0
entrada = entrada.replace(' ', '')
key = key.replace(' ', '')
entrada_arr = list_to_upper(list(entrada))
key_arr = list_to_upper(list(key))
key_max = len(keyArr)
let_rest = []
cnt_let_rest = 0
for letra in alfabeto:
if letra in keyArr:
'letra en alfabeto'
else:
letRest.append(letra)
cnt_let_rest += 1
cnt_insert_letras_rest = 0
for sub_lis in mapa:
for letra in subLis:
if contador < keyMax:
mapa[x][y] = keyArr[contador]
else:
mapa[x][y] = letRest[cntInsertLetrasRest]
cnt_insert_letras_rest += 1
contador += 1
y += 1
pass
y = 0
x += 1
pass
x = 0
y = 0
palabra_encriptada = ''
for i in range(0, len(entradaArr)):
for sub_lis in mapa:
if entradaArr[i] in subLis:
palabra_encriptada += str(subLis.index(entradaArr[i]) + 1)
palabra_encriptada += str(mapa.index(subLis) + 1)
palabra_encriptada += ' '
pass
pass
print('#############################################################')
print('############ >>>MAPA<<< #####################################')
print('#############################################################')
print('')
print(' 1 2 3 4 5')
print(' 1 ' + str(mapa[0]))
print(' 2 ' + str(mapa[1]))
print(' 3 ' + str(mapa[2]))
print(' 4 ' + str(mapa[3]))
print(' 5 ' + str(mapa[4]))
print('')
print('>> CLAVE: ' + key.upper())
print('>> PALABRA ORIGINAL: ' + entrada.upper())
return palabraEncriptada
def list_to_upper(lista):
list_tam = len(lista)
cnt = 0
for item in lista:
lista[cnt] = lista[cnt].upper()
cnt += 1
return lista
print('ENCRIPTADOR')
print('>> Ingrese la palabara clave: ')
key = input()
print('>> Ingrese la palabra que desea encriptar: ')
entrada = input()
print('>> PALABRA ENCRIPTADA: ' + encripter(key, entrada)) |
# class TreeNode():
# def __init__(self, val=None, left_ptr=None, right_ptr=None):
# self.val = val
# self.left_ptr = left_ptr
# self.right_ptr = right_ptr
# complete the function below
traversal = []
PRE = 1
PROCESS = 2
POST = 3 # not used
def postorderTraversal(root):
def postorderHelper(root):
stack = [(root, PRE)]
while stack:
node, state = stack.pop()
if not node:
continue
if state == PRE:
stack.append((node, PROCESS))
stack.append((node.right_ptr, PRE))
stack.append((node.left_ptr, PRE))
elif state == PROCESS:
traversal.append(node.val)
postorderHelper(root)
return traversal
| traversal = []
pre = 1
process = 2
post = 3
def postorder_traversal(root):
def postorder_helper(root):
stack = [(root, PRE)]
while stack:
(node, state) = stack.pop()
if not node:
continue
if state == PRE:
stack.append((node, PROCESS))
stack.append((node.right_ptr, PRE))
stack.append((node.left_ptr, PRE))
elif state == PROCESS:
traversal.append(node.val)
postorder_helper(root)
return traversal |
expected_output = {
"FiveGigabitEthernet1/0/48": {
"service_policy": {
"output": {
"policy_name": {
"PWRED-CHILD": {
"class_map": {
"CWRED": {
"afd_wred_stats": {
"total_drops_bytes": 0,
"total_drops_packets": 0,
"virtual_class": {
0: {
"afd_weight": 12,
"dscp": 1,
"max": 20,
"min": 10,
"random_drop_bytes": 0,
"random_drop_packets": 0,
"transmit_bytes": 65284071936,
"transmit_packets": 68692637637
},
1: {
"afd_weight": 21,
"dscp": 10,
"max": 30,
"min": 20,
"random_drop_bytes": 0,
"random_drop_packets": 0,
"transmit_bytes": 65807437056,
"transmit_packets": 68696726426
},
2: {
"afd_weight": 29,
"dscp": 46,
"max": 40,
"min": 30,
"random_drop_bytes": 0,
"random_drop_packets": 0,
"transmit_bytes": 66346804063,
"transmit_packets": 68700945419
}
}
},
"bandwidth_kbps": 200000,
"bandwidth_percent": 20,
"match": [
"dscp ef (46)",
"dscp af11 (10)",
"dscp 1"
],
"match_evaluation": "match-any",
"packets": 0,
"queueing": True
},
"class-default": {
"match": [
"any"
],
"match_evaluation": "match-any",
"packets": 0
}
}
}
}
}
}
}
}
| expected_output = {'FiveGigabitEthernet1/0/48': {'service_policy': {'output': {'policy_name': {'PWRED-CHILD': {'class_map': {'CWRED': {'afd_wred_stats': {'total_drops_bytes': 0, 'total_drops_packets': 0, 'virtual_class': {0: {'afd_weight': 12, 'dscp': 1, 'max': 20, 'min': 10, 'random_drop_bytes': 0, 'random_drop_packets': 0, 'transmit_bytes': 65284071936, 'transmit_packets': 68692637637}, 1: {'afd_weight': 21, 'dscp': 10, 'max': 30, 'min': 20, 'random_drop_bytes': 0, 'random_drop_packets': 0, 'transmit_bytes': 65807437056, 'transmit_packets': 68696726426}, 2: {'afd_weight': 29, 'dscp': 46, 'max': 40, 'min': 30, 'random_drop_bytes': 0, 'random_drop_packets': 0, 'transmit_bytes': 66346804063, 'transmit_packets': 68700945419}}}, 'bandwidth_kbps': 200000, 'bandwidth_percent': 20, 'match': ['dscp ef (46)', 'dscp af11 (10)', 'dscp 1'], 'match_evaluation': 'match-any', 'packets': 0, 'queueing': True}, 'class-default': {'match': ['any'], 'match_evaluation': 'match-any', 'packets': 0}}}}}}}} |
#
# @lc app=leetcode id=4 lang=python3
#
# [4] Median of Two Sorted Arrays
#
# @lc code=start
class Solution:
def findMedianSortedArrays(self, nums1: List[int], nums2: List[int]) -> float:
for element in nums2:
nums1.append(element)
nums1.sort()
lenth = len(nums1)
if lenth % 2 == 0:
n1 = lenth // 2
n2 = n1 - 1
return (nums1[n1] + nums1[n2])/2
else:
return nums1[lenth//2]
# @lc code=end
| class Solution:
def find_median_sorted_arrays(self, nums1: List[int], nums2: List[int]) -> float:
for element in nums2:
nums1.append(element)
nums1.sort()
lenth = len(nums1)
if lenth % 2 == 0:
n1 = lenth // 2
n2 = n1 - 1
return (nums1[n1] + nums1[n2]) / 2
else:
return nums1[lenth // 2] |
r,g,b = map(int,input().split())
l=[]
for i in range(min(r+1,g+1,b+1,3)):
l.append(i+(r-i)//3+(g-i)//3+(b-i)//3)
print(max(l)) | (r, g, b) = map(int, input().split())
l = []
for i in range(min(r + 1, g + 1, b + 1, 3)):
l.append(i + (r - i) // 3 + (g - i) // 3 + (b - i) // 3)
print(max(l)) |
#!/usr/bin/env python
NAME = 'Comodo WAF'
def is_waf(self):
return self.matchheader(('server', "Protected by COMODO WAF"))
| name = 'Comodo WAF'
def is_waf(self):
return self.matchheader(('server', 'Protected by COMODO WAF')) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.