content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
#coding=utf-8
'''
Created on 2014-1-5
@author: zhangtiande
'''
| """
Created on 2014-1-5
@author: zhangtiande
""" |
for _ in range(int(input())):
n = int(input())
temp = list(map(int, input().split()))
c = 0
for i in range(n-1):
temp2 = list(map(int, input().split()))
if c==0:
for j in range(n-1):
if temp[j]==1 and (temp[j+1]==1 or temp2[j]==1):
c=1
temp = temp2
if c:
print('UNSAFE')
else:
print('SAFE')
| for _ in range(int(input())):
n = int(input())
temp = list(map(int, input().split()))
c = 0
for i in range(n - 1):
temp2 = list(map(int, input().split()))
if c == 0:
for j in range(n - 1):
if temp[j] == 1 and (temp[j + 1] == 1 or temp2[j] == 1):
c = 1
temp = temp2
if c:
print('UNSAFE')
else:
print('SAFE') |
class OperatingSystemNotSupported(Exception):
def __init__(self, operating_system: str) -> None:
self._operating_system = operating_system
message = f"operating system not supported - {operating_system}"
super().__init__(message)
@property
def operating_system(self) -> str:
return self._operating_system
@operating_system.setter
def operating_system(self, new_operating_system: str) -> None:
self._operating_system = new_operating_system
| class Operatingsystemnotsupported(Exception):
def __init__(self, operating_system: str) -> None:
self._operating_system = operating_system
message = f'operating system not supported - {operating_system}'
super().__init__(message)
@property
def operating_system(self) -> str:
return self._operating_system
@operating_system.setter
def operating_system(self, new_operating_system: str) -> None:
self._operating_system = new_operating_system |
money = int(input())
cake = money * 0.2
drinks = cake - 0.45 * cake
animator = 1/3 * money
price = money + cake + drinks + animator
print (price) | money = int(input())
cake = money * 0.2
drinks = cake - 0.45 * cake
animator = 1 / 3 * money
price = money + cake + drinks + animator
print(price) |
class Solution:
def closeStrings(self, word1: str, word2: str) -> bool:
if len(word1)!=len(word2):
return False
show1=[0]*26
show2=[0]*26
for i in range(len(word1)):
show1[ord(word1[i])-ord('a')]+=1
show2[ord(word2[i])-ord('a')]+=1
show1Char={}
show2Char={}
for i in range(len(show1)):
if (show1[i]==0 and show2[i]!=0) or (show1[i]!=0 and show2[i]==0):
return False
if show1[i] not in show1Char:
show1Char[show1[i]]=0
show1Char[show1[i]]+=1
if show2[i] not in show2Char:
show2Char[show2[i]]=0
show2Char[show2[i]]+=1
for k,v in show1Char.items():
if k not in show2Char:
return False
if show2Char[k]!=v:
return False
return True | class Solution:
def close_strings(self, word1: str, word2: str) -> bool:
if len(word1) != len(word2):
return False
show1 = [0] * 26
show2 = [0] * 26
for i in range(len(word1)):
show1[ord(word1[i]) - ord('a')] += 1
show2[ord(word2[i]) - ord('a')] += 1
show1_char = {}
show2_char = {}
for i in range(len(show1)):
if show1[i] == 0 and show2[i] != 0 or (show1[i] != 0 and show2[i] == 0):
return False
if show1[i] not in show1Char:
show1Char[show1[i]] = 0
show1Char[show1[i]] += 1
if show2[i] not in show2Char:
show2Char[show2[i]] = 0
show2Char[show2[i]] += 1
for (k, v) in show1Char.items():
if k not in show2Char:
return False
if show2Char[k] != v:
return False
return True |
# file grafo.py
class Grafo:
def __init__(self, es_dirigido = False, vertices_init = []):
self.vertices = {}
for v in vertices_init:
self.vertices[v] = {}
self.es_dirigido = es_dirigido
def __contains__(self, v):
return v in self.vertices
def __len__(self):
return len(self.vertices)
def __iter__(self):
return iter(self.vertices)
def agregar_vertice(self, v):
if v in self:
raise ValueError("Ya hay un vertice " + str(v) + " en el grafo")
self.vertices[v] = {}
def _validar_vertice(self, v):
if v not in self:
raise ValueError("No hay un vertice " + str(v) + " en el grafo")
def _validar_vertices(self, v, w):
self._validar_vertice(v)
self._validar_vertice(w)
def borrar_vertice(self, v):
self._validar_vertice(v)
for w in self:
if v in self.vertices[w]:
del self.vertices[w][v]
del self.vertices[v]
def agregar_arista(self, v, w, peso = 1):
self._validar_vertices(v, w)
if self.estan_unidos(v, w):
raise ValueError("El vertice " + str(v) + " ya tiene como adyacente al vertice " + str(w))
self.vertices[v][w] = peso
if not self.es_dirigido:
self.vertices[w][v] = peso
def borrar_arista(self, v, w):
self._validar_vertices(v, w)
if not self.estan_unidos(v, w):
raise ValueError("El vertice " + str(v) + " no tiene como adyacente al vertice " + str(w))
del self.vertices[v][w]
if not self.es_dirigido:
del self.vertices[w][v]
def estan_unidos(self, v, w):
return w in self.vertices[v]
def peso_arista(self, v, w):
if not self.estan_unidos(v, w):
raise ValueError("El vertice " + str(v) + " no tiene como adyacente al vertice " + str(w))
return self.vertices[v][w]
def obtener_vertices(self):
return list(self.vertices.keys())
def vertice_aleatorio(self):
return self.obtener_vertices()[0]
def adyacentes(self, v):
self._validar_vertice(v)
return list(self.vertices[v].keys())
def __str__(self):
cad = ""
for v in self:
cad += v
for w in self.adyacentes(v):
cad += " -> " + w
cad += "\n"
return cad | class Grafo:
def __init__(self, es_dirigido=False, vertices_init=[]):
self.vertices = {}
for v in vertices_init:
self.vertices[v] = {}
self.es_dirigido = es_dirigido
def __contains__(self, v):
return v in self.vertices
def __len__(self):
return len(self.vertices)
def __iter__(self):
return iter(self.vertices)
def agregar_vertice(self, v):
if v in self:
raise value_error('Ya hay un vertice ' + str(v) + ' en el grafo')
self.vertices[v] = {}
def _validar_vertice(self, v):
if v not in self:
raise value_error('No hay un vertice ' + str(v) + ' en el grafo')
def _validar_vertices(self, v, w):
self._validar_vertice(v)
self._validar_vertice(w)
def borrar_vertice(self, v):
self._validar_vertice(v)
for w in self:
if v in self.vertices[w]:
del self.vertices[w][v]
del self.vertices[v]
def agregar_arista(self, v, w, peso=1):
self._validar_vertices(v, w)
if self.estan_unidos(v, w):
raise value_error('El vertice ' + str(v) + ' ya tiene como adyacente al vertice ' + str(w))
self.vertices[v][w] = peso
if not self.es_dirigido:
self.vertices[w][v] = peso
def borrar_arista(self, v, w):
self._validar_vertices(v, w)
if not self.estan_unidos(v, w):
raise value_error('El vertice ' + str(v) + ' no tiene como adyacente al vertice ' + str(w))
del self.vertices[v][w]
if not self.es_dirigido:
del self.vertices[w][v]
def estan_unidos(self, v, w):
return w in self.vertices[v]
def peso_arista(self, v, w):
if not self.estan_unidos(v, w):
raise value_error('El vertice ' + str(v) + ' no tiene como adyacente al vertice ' + str(w))
return self.vertices[v][w]
def obtener_vertices(self):
return list(self.vertices.keys())
def vertice_aleatorio(self):
return self.obtener_vertices()[0]
def adyacentes(self, v):
self._validar_vertice(v)
return list(self.vertices[v].keys())
def __str__(self):
cad = ''
for v in self:
cad += v
for w in self.adyacentes(v):
cad += ' -> ' + w
cad += '\n'
return cad |
#
# PySNMP MIB module NBS-SIGCOND-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NBS-SIGCOND-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:17:38 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsIntersection")
nbs, = mibBuilder.importSymbols("NBS-CMMC-MIB", "nbs")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Bits, Integer32, MibIdentifier, Gauge32, NotificationType, Unsigned32, iso, Counter64, Counter32, ModuleIdentity, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Bits", "Integer32", "MibIdentifier", "Gauge32", "NotificationType", "Unsigned32", "iso", "Counter64", "Counter32", "ModuleIdentity", "ObjectIdentity")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
nbsSigCondMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 629, 227))
if mibBuilder.loadTexts: nbsSigCondMib.setLastUpdated('201111300000Z')
if mibBuilder.loadTexts: nbsSigCondMib.setOrganization('NBS')
if mibBuilder.loadTexts: nbsSigCondMib.setContactInfo('For technical support, please contact your service channel')
if mibBuilder.loadTexts: nbsSigCondMib.setDescription('Signal Conditioning mib')
class InterfaceIndex(Integer32):
pass
nbsSigCondVoaPortGrp = ObjectIdentity((1, 3, 6, 1, 4, 1, 629, 227, 1))
if mibBuilder.loadTexts: nbsSigCondVoaPortGrp.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaPortGrp.setDescription('Variable Optical Attenuation at the port level.')
nbsSigCondVoaFlowGrp = ObjectIdentity((1, 3, 6, 1, 4, 1, 629, 227, 2))
if mibBuilder.loadTexts: nbsSigCondVoaFlowGrp.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaFlowGrp.setDescription('Variable Optical Attenuation at the port.frequency.direction level.')
nbsSigCondRamanGrp = ObjectIdentity((1, 3, 6, 1, 4, 1, 629, 227, 3))
if mibBuilder.loadTexts: nbsSigCondRamanGrp.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondRamanGrp.setDescription('Raman amplifier information for the port.')
nbsSigCondPortGrp = ObjectIdentity((1, 3, 6, 1, 4, 1, 629, 227, 100))
if mibBuilder.loadTexts: nbsSigCondPortGrp.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondPortGrp.setDescription('Power readings from the port.')
nbsSigCondTraps = ObjectIdentity((1, 3, 6, 1, 4, 1, 629, 227, 200))
if mibBuilder.loadTexts: nbsSigCondTraps.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondTraps.setDescription('SNMP Traps or Notifications')
nbsSigCondTrap0 = ObjectIdentity((1, 3, 6, 1, 4, 1, 629, 227, 200, 0))
if mibBuilder.loadTexts: nbsSigCondTrap0.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondTrap0.setDescription('SNMP Traps or Notifications')
nbsSigCondVoaPortTableSize = MibScalar((1, 3, 6, 1, 4, 1, 629, 227, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nbsSigCondVoaPortTableSize.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaPortTableSize.setDescription('The number of ports supporting variable optical attenuation at the port level.')
nbsSigCondVoaPortTable = MibTable((1, 3, 6, 1, 4, 1, 629, 227, 1, 2), )
if mibBuilder.loadTexts: nbsSigCondVoaPortTable.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaPortTable.setDescription('List of ports supporting variable optical attenuation at the port level.')
nbsSigCondVoaPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1), ).setIndexNames((0, "NBS-SIGCOND-MIB", "nbsSigCondVoaPortIfIndex"))
if mibBuilder.loadTexts: nbsSigCondVoaPortEntry.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaPortEntry.setDescription('')
nbsSigCondVoaPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: nbsSigCondVoaPortIfIndex.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaPortIfIndex.setDescription('The Mib2 ifIndex of the attenuable port.')
nbsSigCondVoaPortRxAttenuAdmin = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-100000, 100000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: nbsSigCondVoaPortRxAttenuAdmin.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaPortRxAttenuAdmin.setDescription('Persistent and immediately updated. User-requested attenuation to be applied to received signal, expressed in millidecibels (mdB). Not supported value: -200000')
nbsSigCondVoaPortRxAttenuOper = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nbsSigCondVoaPortRxAttenuOper.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaPortRxAttenuOper.setDescription('Attenuation actually being applied to received signal, in millidecibels (mdB). Not supported value: -200000')
nbsSigCondVoaPortTxAttenuAdmin = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-100000, 100000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: nbsSigCondVoaPortTxAttenuAdmin.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaPortTxAttenuAdmin.setDescription('Persistent and immediately updated. User-requested attenuation to be applied before transmitting signal, expressed in millidecibels (mdB). Not supported value: -200000')
nbsSigCondVoaPortTxAttenuOper = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nbsSigCondVoaPortTxAttenuOper.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaPortTxAttenuOper.setDescription('Attenuation actually being applied before transmitting signal, in millidecibels (mdB). Not supported value: -200000')
nbsSigCondVoaFlowTableSize = MibScalar((1, 3, 6, 1, 4, 1, 629, 227, 2, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nbsSigCondVoaFlowTableSize.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaFlowTableSize.setDescription('The number of attenuable flows in this system.')
nbsSigCondVoaFlowTable = MibTable((1, 3, 6, 1, 4, 1, 629, 227, 2, 2), )
if mibBuilder.loadTexts: nbsSigCondVoaFlowTable.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaFlowTable.setDescription('Table of attenuable flows.')
nbsSigCondVoaFlowEntry = MibTableRow((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1), ).setIndexNames((0, "NBS-SIGCOND-MIB", "nbsSigCondVoaFlowIfIndex"), (0, "NBS-SIGCOND-MIB", "nbsSigCondVoaFlowWavelength"), (0, "NBS-SIGCOND-MIB", "nbsSigCondVoaFlowDirection"))
if mibBuilder.loadTexts: nbsSigCondVoaFlowEntry.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaFlowEntry.setDescription('Reports status of monitored frequencies.')
nbsSigCondVoaFlowIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: nbsSigCondVoaFlowIfIndex.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaFlowIfIndex.setDescription('The Mib2 ifIndex of the optical spectrum analyzer port')
nbsSigCondVoaFlowWavelength = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1, 2), Integer32())
if mibBuilder.loadTexts: nbsSigCondVoaFlowWavelength.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaFlowWavelength.setDescription('The nominal wavelength, in picometers, of this channel.')
nbsSigCondVoaFlowDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("rx", 1), ("tx", 2))))
if mibBuilder.loadTexts: nbsSigCondVoaFlowDirection.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaFlowDirection.setDescription('Third index of table. The value rx(1) indicates the received signal, and tx(2) indicates the transmitted signal.')
nbsSigCondVoaFlowAttenuAdmin = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: nbsSigCondVoaFlowAttenuAdmin.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaFlowAttenuAdmin.setDescription('Persistent and immediately updated. User-requested attenuation to be applied to signal, expressed in millidecibels (mdB).')
nbsSigCondVoaFlowAttenuOper = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nbsSigCondVoaFlowAttenuOper.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondVoaFlowAttenuOper.setDescription('Attenuation actually being applied to signal, in millidecibels (mdB).')
nbsSigCondRamanTableSize = MibScalar((1, 3, 6, 1, 4, 1, 629, 227, 3, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nbsSigCondRamanTableSize.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondRamanTableSize.setDescription('The number of raman ports in this system.')
nbsSigCondRamanTable = MibTable((1, 3, 6, 1, 4, 1, 629, 227, 3, 2), )
if mibBuilder.loadTexts: nbsSigCondRamanTable.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondRamanTable.setDescription('Table of Raman readings.')
nbsSigCondRamanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 629, 227, 3, 2, 1), ).setIndexNames((0, "NBS-SIGCOND-MIB", "nbsSigCondRamanIfIndex"))
if mibBuilder.loadTexts: nbsSigCondRamanEntry.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondRamanEntry.setDescription('Raman readings on an individual port.')
nbsSigCondRamanIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 3, 2, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: nbsSigCondRamanIfIndex.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondRamanIfIndex.setDescription('The Mib2 ifIndex of the Raman port')
nbsSigCondRamanPumpPwrAdmin = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 3, 2, 1, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: nbsSigCondRamanPumpPwrAdmin.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondRamanPumpPwrAdmin.setDescription('Persistent and immediately updated. User-requested pump power, in microwatts (uW). User interfaces should show this in millWatts (mW). Not supported value: -1')
nbsSigCondRamanPumpPwrOper = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 3, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nbsSigCondRamanPumpPwrOper.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondRamanPumpPwrOper.setDescription('Agent reported pump power, in microwatts (uW). User interfaces should show this in millWatts (mW). Not supported value: -1')
nbsSigCondPortTableSize = MibScalar((1, 3, 6, 1, 4, 1, 629, 227, 100, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nbsSigCondPortTableSize.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondPortTableSize.setDescription('The number of entries in nbsSigCondPortTable.')
nbsSigCondPortTable = MibTable((1, 3, 6, 1, 4, 1, 629, 227, 100, 2), )
if mibBuilder.loadTexts: nbsSigCondPortTable.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondPortTable.setDescription('Table of VOA and VGA ports.')
nbsSigCondPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 629, 227, 100, 2, 1), ).setIndexNames((0, "NBS-SIGCOND-MIB", "nbsSigCondPortIfIndex"))
if mibBuilder.loadTexts: nbsSigCondPortEntry.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondPortEntry.setDescription('')
nbsSigCondPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 100, 2, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: nbsSigCondPortIfIndex.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondPortIfIndex.setDescription('The Mib2 ifIndex of the Port port')
nbsSigCondPortRxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 100, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nbsSigCondPortRxPower.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondPortRxPower.setDescription('Measured receiver power, in millidecibels (mdBm). User interfaces should show this in decibels (dBm). Not supported value: -100000')
nbsSigCondPortTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 100, 2, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nbsSigCondPortTxPower.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondPortTxPower.setDescription('Measured transmitter power, in millidecibels (mdBm). User interfaces should show this in decibels (dBm). Not supported value: -100000')
nbsSigCondPortReflection = MibTableColumn((1, 3, 6, 1, 4, 1, 629, 227, 100, 2, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: nbsSigCondPortReflection.setStatus('current')
if mibBuilder.loadTexts: nbsSigCondPortReflection.setDescription('Measured back reflection power, in millidecibels (mdBm). User interfaces should show this in decibels (dBm). Not supported value: -100000')
mibBuilder.exportSymbols("NBS-SIGCOND-MIB", nbsSigCondVoaPortRxAttenuAdmin=nbsSigCondVoaPortRxAttenuAdmin, nbsSigCondVoaPortGrp=nbsSigCondVoaPortGrp, nbsSigCondTraps=nbsSigCondTraps, nbsSigCondVoaPortTable=nbsSigCondVoaPortTable, nbsSigCondPortIfIndex=nbsSigCondPortIfIndex, nbsSigCondRamanPumpPwrAdmin=nbsSigCondRamanPumpPwrAdmin, nbsSigCondPortTableSize=nbsSigCondPortTableSize, nbsSigCondRamanGrp=nbsSigCondRamanGrp, nbsSigCondVoaPortEntry=nbsSigCondVoaPortEntry, nbsSigCondVoaFlowTable=nbsSigCondVoaFlowTable, nbsSigCondVoaFlowEntry=nbsSigCondVoaFlowEntry, nbsSigCondVoaFlowWavelength=nbsSigCondVoaFlowWavelength, nbsSigCondVoaFlowTableSize=nbsSigCondVoaFlowTableSize, nbsSigCondVoaPortRxAttenuOper=nbsSigCondVoaPortRxAttenuOper, nbsSigCondVoaFlowDirection=nbsSigCondVoaFlowDirection, nbsSigCondRamanTableSize=nbsSigCondRamanTableSize, nbsSigCondPortTxPower=nbsSigCondPortTxPower, nbsSigCondPortRxPower=nbsSigCondPortRxPower, nbsSigCondVoaPortTxAttenuOper=nbsSigCondVoaPortTxAttenuOper, nbsSigCondTrap0=nbsSigCondTrap0, InterfaceIndex=InterfaceIndex, nbsSigCondVoaFlowGrp=nbsSigCondVoaFlowGrp, nbsSigCondVoaFlowIfIndex=nbsSigCondVoaFlowIfIndex, PYSNMP_MODULE_ID=nbsSigCondMib, nbsSigCondVoaFlowAttenuOper=nbsSigCondVoaFlowAttenuOper, nbsSigCondVoaPortIfIndex=nbsSigCondVoaPortIfIndex, nbsSigCondPortReflection=nbsSigCondPortReflection, nbsSigCondRamanPumpPwrOper=nbsSigCondRamanPumpPwrOper, nbsSigCondVoaPortTableSize=nbsSigCondVoaPortTableSize, nbsSigCondPortTable=nbsSigCondPortTable, nbsSigCondRamanEntry=nbsSigCondRamanEntry, nbsSigCondMib=nbsSigCondMib, nbsSigCondVoaFlowAttenuAdmin=nbsSigCondVoaFlowAttenuAdmin, nbsSigCondPortGrp=nbsSigCondPortGrp, nbsSigCondPortEntry=nbsSigCondPortEntry, nbsSigCondRamanTable=nbsSigCondRamanTable, nbsSigCondVoaPortTxAttenuAdmin=nbsSigCondVoaPortTxAttenuAdmin, nbsSigCondRamanIfIndex=nbsSigCondRamanIfIndex)
| (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, value_size_constraint, single_value_constraint, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueSizeConstraint', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection')
(nbs,) = mibBuilder.importSymbols('NBS-CMMC-MIB', 'nbs')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, bits, integer32, mib_identifier, gauge32, notification_type, unsigned32, iso, counter64, counter32, module_identity, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'Bits', 'Integer32', 'MibIdentifier', 'Gauge32', 'NotificationType', 'Unsigned32', 'iso', 'Counter64', 'Counter32', 'ModuleIdentity', 'ObjectIdentity')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
nbs_sig_cond_mib = module_identity((1, 3, 6, 1, 4, 1, 629, 227))
if mibBuilder.loadTexts:
nbsSigCondMib.setLastUpdated('201111300000Z')
if mibBuilder.loadTexts:
nbsSigCondMib.setOrganization('NBS')
if mibBuilder.loadTexts:
nbsSigCondMib.setContactInfo('For technical support, please contact your service channel')
if mibBuilder.loadTexts:
nbsSigCondMib.setDescription('Signal Conditioning mib')
class Interfaceindex(Integer32):
pass
nbs_sig_cond_voa_port_grp = object_identity((1, 3, 6, 1, 4, 1, 629, 227, 1))
if mibBuilder.loadTexts:
nbsSigCondVoaPortGrp.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaPortGrp.setDescription('Variable Optical Attenuation at the port level.')
nbs_sig_cond_voa_flow_grp = object_identity((1, 3, 6, 1, 4, 1, 629, 227, 2))
if mibBuilder.loadTexts:
nbsSigCondVoaFlowGrp.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowGrp.setDescription('Variable Optical Attenuation at the port.frequency.direction level.')
nbs_sig_cond_raman_grp = object_identity((1, 3, 6, 1, 4, 1, 629, 227, 3))
if mibBuilder.loadTexts:
nbsSigCondRamanGrp.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondRamanGrp.setDescription('Raman amplifier information for the port.')
nbs_sig_cond_port_grp = object_identity((1, 3, 6, 1, 4, 1, 629, 227, 100))
if mibBuilder.loadTexts:
nbsSigCondPortGrp.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondPortGrp.setDescription('Power readings from the port.')
nbs_sig_cond_traps = object_identity((1, 3, 6, 1, 4, 1, 629, 227, 200))
if mibBuilder.loadTexts:
nbsSigCondTraps.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondTraps.setDescription('SNMP Traps or Notifications')
nbs_sig_cond_trap0 = object_identity((1, 3, 6, 1, 4, 1, 629, 227, 200, 0))
if mibBuilder.loadTexts:
nbsSigCondTrap0.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondTrap0.setDescription('SNMP Traps or Notifications')
nbs_sig_cond_voa_port_table_size = mib_scalar((1, 3, 6, 1, 4, 1, 629, 227, 1, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nbsSigCondVoaPortTableSize.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaPortTableSize.setDescription('The number of ports supporting variable optical attenuation at the port level.')
nbs_sig_cond_voa_port_table = mib_table((1, 3, 6, 1, 4, 1, 629, 227, 1, 2))
if mibBuilder.loadTexts:
nbsSigCondVoaPortTable.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaPortTable.setDescription('List of ports supporting variable optical attenuation at the port level.')
nbs_sig_cond_voa_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1)).setIndexNames((0, 'NBS-SIGCOND-MIB', 'nbsSigCondVoaPortIfIndex'))
if mibBuilder.loadTexts:
nbsSigCondVoaPortEntry.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaPortEntry.setDescription('')
nbs_sig_cond_voa_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1, 1), interface_index())
if mibBuilder.loadTexts:
nbsSigCondVoaPortIfIndex.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaPortIfIndex.setDescription('The Mib2 ifIndex of the attenuable port.')
nbs_sig_cond_voa_port_rx_attenu_admin = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(-100000, 100000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
nbsSigCondVoaPortRxAttenuAdmin.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaPortRxAttenuAdmin.setDescription('Persistent and immediately updated. User-requested attenuation to be applied to received signal, expressed in millidecibels (mdB). Not supported value: -200000')
nbs_sig_cond_voa_port_rx_attenu_oper = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nbsSigCondVoaPortRxAttenuOper.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaPortRxAttenuOper.setDescription('Attenuation actually being applied to received signal, in millidecibels (mdB). Not supported value: -200000')
nbs_sig_cond_voa_port_tx_attenu_admin = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(-100000, 100000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
nbsSigCondVoaPortTxAttenuAdmin.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaPortTxAttenuAdmin.setDescription('Persistent and immediately updated. User-requested attenuation to be applied before transmitting signal, expressed in millidecibels (mdB). Not supported value: -200000')
nbs_sig_cond_voa_port_tx_attenu_oper = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 1, 2, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nbsSigCondVoaPortTxAttenuOper.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaPortTxAttenuOper.setDescription('Attenuation actually being applied before transmitting signal, in millidecibels (mdB). Not supported value: -200000')
nbs_sig_cond_voa_flow_table_size = mib_scalar((1, 3, 6, 1, 4, 1, 629, 227, 2, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowTableSize.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowTableSize.setDescription('The number of attenuable flows in this system.')
nbs_sig_cond_voa_flow_table = mib_table((1, 3, 6, 1, 4, 1, 629, 227, 2, 2))
if mibBuilder.loadTexts:
nbsSigCondVoaFlowTable.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowTable.setDescription('Table of attenuable flows.')
nbs_sig_cond_voa_flow_entry = mib_table_row((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1)).setIndexNames((0, 'NBS-SIGCOND-MIB', 'nbsSigCondVoaFlowIfIndex'), (0, 'NBS-SIGCOND-MIB', 'nbsSigCondVoaFlowWavelength'), (0, 'NBS-SIGCOND-MIB', 'nbsSigCondVoaFlowDirection'))
if mibBuilder.loadTexts:
nbsSigCondVoaFlowEntry.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowEntry.setDescription('Reports status of monitored frequencies.')
nbs_sig_cond_voa_flow_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1, 1), interface_index())
if mibBuilder.loadTexts:
nbsSigCondVoaFlowIfIndex.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowIfIndex.setDescription('The Mib2 ifIndex of the optical spectrum analyzer port')
nbs_sig_cond_voa_flow_wavelength = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1, 2), integer32())
if mibBuilder.loadTexts:
nbsSigCondVoaFlowWavelength.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowWavelength.setDescription('The nominal wavelength, in picometers, of this channel.')
nbs_sig_cond_voa_flow_direction = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('rx', 1), ('tx', 2))))
if mibBuilder.loadTexts:
nbsSigCondVoaFlowDirection.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowDirection.setDescription('Third index of table. The value rx(1) indicates the received signal, and tx(2) indicates the transmitted signal.')
nbs_sig_cond_voa_flow_attenu_admin = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowAttenuAdmin.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowAttenuAdmin.setDescription('Persistent and immediately updated. User-requested attenuation to be applied to signal, expressed in millidecibels (mdB).')
nbs_sig_cond_voa_flow_attenu_oper = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 2, 2, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowAttenuOper.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondVoaFlowAttenuOper.setDescription('Attenuation actually being applied to signal, in millidecibels (mdB).')
nbs_sig_cond_raman_table_size = mib_scalar((1, 3, 6, 1, 4, 1, 629, 227, 3, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nbsSigCondRamanTableSize.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondRamanTableSize.setDescription('The number of raman ports in this system.')
nbs_sig_cond_raman_table = mib_table((1, 3, 6, 1, 4, 1, 629, 227, 3, 2))
if mibBuilder.loadTexts:
nbsSigCondRamanTable.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondRamanTable.setDescription('Table of Raman readings.')
nbs_sig_cond_raman_entry = mib_table_row((1, 3, 6, 1, 4, 1, 629, 227, 3, 2, 1)).setIndexNames((0, 'NBS-SIGCOND-MIB', 'nbsSigCondRamanIfIndex'))
if mibBuilder.loadTexts:
nbsSigCondRamanEntry.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondRamanEntry.setDescription('Raman readings on an individual port.')
nbs_sig_cond_raman_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 3, 2, 1, 1), interface_index())
if mibBuilder.loadTexts:
nbsSigCondRamanIfIndex.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondRamanIfIndex.setDescription('The Mib2 ifIndex of the Raman port')
nbs_sig_cond_raman_pump_pwr_admin = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 3, 2, 1, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
nbsSigCondRamanPumpPwrAdmin.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondRamanPumpPwrAdmin.setDescription('Persistent and immediately updated. User-requested pump power, in microwatts (uW). User interfaces should show this in millWatts (mW). Not supported value: -1')
nbs_sig_cond_raman_pump_pwr_oper = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 3, 2, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nbsSigCondRamanPumpPwrOper.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondRamanPumpPwrOper.setDescription('Agent reported pump power, in microwatts (uW). User interfaces should show this in millWatts (mW). Not supported value: -1')
nbs_sig_cond_port_table_size = mib_scalar((1, 3, 6, 1, 4, 1, 629, 227, 100, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nbsSigCondPortTableSize.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondPortTableSize.setDescription('The number of entries in nbsSigCondPortTable.')
nbs_sig_cond_port_table = mib_table((1, 3, 6, 1, 4, 1, 629, 227, 100, 2))
if mibBuilder.loadTexts:
nbsSigCondPortTable.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondPortTable.setDescription('Table of VOA and VGA ports.')
nbs_sig_cond_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 629, 227, 100, 2, 1)).setIndexNames((0, 'NBS-SIGCOND-MIB', 'nbsSigCondPortIfIndex'))
if mibBuilder.loadTexts:
nbsSigCondPortEntry.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondPortEntry.setDescription('')
nbs_sig_cond_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 100, 2, 1, 1), interface_index())
if mibBuilder.loadTexts:
nbsSigCondPortIfIndex.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondPortIfIndex.setDescription('The Mib2 ifIndex of the Port port')
nbs_sig_cond_port_rx_power = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 100, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nbsSigCondPortRxPower.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondPortRxPower.setDescription('Measured receiver power, in millidecibels (mdBm). User interfaces should show this in decibels (dBm). Not supported value: -100000')
nbs_sig_cond_port_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 100, 2, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nbsSigCondPortTxPower.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondPortTxPower.setDescription('Measured transmitter power, in millidecibels (mdBm). User interfaces should show this in decibels (dBm). Not supported value: -100000')
nbs_sig_cond_port_reflection = mib_table_column((1, 3, 6, 1, 4, 1, 629, 227, 100, 2, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
nbsSigCondPortReflection.setStatus('current')
if mibBuilder.loadTexts:
nbsSigCondPortReflection.setDescription('Measured back reflection power, in millidecibels (mdBm). User interfaces should show this in decibels (dBm). Not supported value: -100000')
mibBuilder.exportSymbols('NBS-SIGCOND-MIB', nbsSigCondVoaPortRxAttenuAdmin=nbsSigCondVoaPortRxAttenuAdmin, nbsSigCondVoaPortGrp=nbsSigCondVoaPortGrp, nbsSigCondTraps=nbsSigCondTraps, nbsSigCondVoaPortTable=nbsSigCondVoaPortTable, nbsSigCondPortIfIndex=nbsSigCondPortIfIndex, nbsSigCondRamanPumpPwrAdmin=nbsSigCondRamanPumpPwrAdmin, nbsSigCondPortTableSize=nbsSigCondPortTableSize, nbsSigCondRamanGrp=nbsSigCondRamanGrp, nbsSigCondVoaPortEntry=nbsSigCondVoaPortEntry, nbsSigCondVoaFlowTable=nbsSigCondVoaFlowTable, nbsSigCondVoaFlowEntry=nbsSigCondVoaFlowEntry, nbsSigCondVoaFlowWavelength=nbsSigCondVoaFlowWavelength, nbsSigCondVoaFlowTableSize=nbsSigCondVoaFlowTableSize, nbsSigCondVoaPortRxAttenuOper=nbsSigCondVoaPortRxAttenuOper, nbsSigCondVoaFlowDirection=nbsSigCondVoaFlowDirection, nbsSigCondRamanTableSize=nbsSigCondRamanTableSize, nbsSigCondPortTxPower=nbsSigCondPortTxPower, nbsSigCondPortRxPower=nbsSigCondPortRxPower, nbsSigCondVoaPortTxAttenuOper=nbsSigCondVoaPortTxAttenuOper, nbsSigCondTrap0=nbsSigCondTrap0, InterfaceIndex=InterfaceIndex, nbsSigCondVoaFlowGrp=nbsSigCondVoaFlowGrp, nbsSigCondVoaFlowIfIndex=nbsSigCondVoaFlowIfIndex, PYSNMP_MODULE_ID=nbsSigCondMib, nbsSigCondVoaFlowAttenuOper=nbsSigCondVoaFlowAttenuOper, nbsSigCondVoaPortIfIndex=nbsSigCondVoaPortIfIndex, nbsSigCondPortReflection=nbsSigCondPortReflection, nbsSigCondRamanPumpPwrOper=nbsSigCondRamanPumpPwrOper, nbsSigCondVoaPortTableSize=nbsSigCondVoaPortTableSize, nbsSigCondPortTable=nbsSigCondPortTable, nbsSigCondRamanEntry=nbsSigCondRamanEntry, nbsSigCondMib=nbsSigCondMib, nbsSigCondVoaFlowAttenuAdmin=nbsSigCondVoaFlowAttenuAdmin, nbsSigCondPortGrp=nbsSigCondPortGrp, nbsSigCondPortEntry=nbsSigCondPortEntry, nbsSigCondRamanTable=nbsSigCondRamanTable, nbsSigCondVoaPortTxAttenuAdmin=nbsSigCondVoaPortTxAttenuAdmin, nbsSigCondRamanIfIndex=nbsSigCondRamanIfIndex) |
def dayOfProgrammer(year):
s=0
if 1700 <= year <= 1917:
if year % 4==0:
for i in range(1, 9):
if i % 2 == 0:
s += 30
else:
s += 31
print(256 - s, ".09", ".", year, sep='')
else:
for i in range(1, 9):
if i % 2 == 0:
s += 30
else:
s += 31
s -= 1
print(256 - s, ".09", ".", year, sep='')
elif year == 1918:
print('26.09.1918')
else:
if year % 4 == 0 and year % 100 != 0 or year % 400 ==0:
for i in range(1,9):
if i % 2==0:
s+=30
else:
s+=31
print(256-s,".09",".",year,sep='')
else:
for i in range(1, 9):
if i % 2 == 0:
s += 30
else:
s += 31
s-=1
print(256-s,".09",".",year,sep='')
if __name__ == '__main__':
year = int(input().strip())
dayOfProgrammer(year) | def day_of_programmer(year):
s = 0
if 1700 <= year <= 1917:
if year % 4 == 0:
for i in range(1, 9):
if i % 2 == 0:
s += 30
else:
s += 31
print(256 - s, '.09', '.', year, sep='')
else:
for i in range(1, 9):
if i % 2 == 0:
s += 30
else:
s += 31
s -= 1
print(256 - s, '.09', '.', year, sep='')
elif year == 1918:
print('26.09.1918')
elif year % 4 == 0 and year % 100 != 0 or year % 400 == 0:
for i in range(1, 9):
if i % 2 == 0:
s += 30
else:
s += 31
print(256 - s, '.09', '.', year, sep='')
else:
for i in range(1, 9):
if i % 2 == 0:
s += 30
else:
s += 31
s -= 1
print(256 - s, '.09', '.', year, sep='')
if __name__ == '__main__':
year = int(input().strip())
day_of_programmer(year) |
class Solution:
def generateMatrix(self, n: int) -> List[List[int]]:
res = [[0] * n for _ in range(n)]
xi,yi,dx,dy = 0,0,1,0
for i in range(1,n*n+1):
res[yi][xi]=i
if not 0 <= yi+dy < n or not 0 <= xi+dx < n or res[yi+dy][xi+dx]:
dy,dx = dx,-dy
yi,xi = yi+dy,xi+dx
return res | class Solution:
def generate_matrix(self, n: int) -> List[List[int]]:
res = [[0] * n for _ in range(n)]
(xi, yi, dx, dy) = (0, 0, 1, 0)
for i in range(1, n * n + 1):
res[yi][xi] = i
if not 0 <= yi + dy < n or not 0 <= xi + dx < n or res[yi + dy][xi + dx]:
(dy, dx) = (dx, -dy)
(yi, xi) = (yi + dy, xi + dx)
return res |
# Merge Two Sorted Lists
#
# Merge two sorted linked lists and return it as a new sorted list. The new list should be made by splicing
# together the nodes of the first two lists.
#
# Example:
#
# Input: 1->2->4, 1->3->4
# Output: 1->1->2->3->4->4
# Definition for singly-linked list.
class ListNode:
def __init__(self, val=0, next=None):
self.val = val
self.next = next
class Solution:
def mergeTwoLists(self, l1, l2):
if None in (l1, l2):
return l1 or l2
elif l1.val < l2.val:
l1.next = self.mergeTwoLists(l1.next, l2)
return l1
else:
l2.next = self.mergeTwoLists(l1, l2.next)
return l2
| class Listnode:
def __init__(self, val=0, next=None):
self.val = val
self.next = next
class Solution:
def merge_two_lists(self, l1, l2):
if None in (l1, l2):
return l1 or l2
elif l1.val < l2.val:
l1.next = self.mergeTwoLists(l1.next, l2)
return l1
else:
l2.next = self.mergeTwoLists(l1, l2.next)
return l2 |
#bitwise or operator
a=24
b=10
print(bin(a))
print(bin(b))
print(a|b)
| a = 24
b = 10
print(bin(a))
print(bin(b))
print(a | b) |
#CNN Config File
batchsize = 3
numberOfGenres = 4
learningRate = 0.001
numberOfSteps = 10000
dropoutProbability = 0.5
| batchsize = 3
number_of_genres = 4
learning_rate = 0.001
number_of_steps = 10000
dropout_probability = 0.5 |
'''
09 - Subsetting lists of lists
You saw before that a Python list can contain practically anything; even other lists! To subset
lists of lists, you can use the same technique as before: square brackets. Try out the commands
in the following code sample in the IPython Shell:
x = [["a", "b", "c"],
["d", "e", "f"],
["g", "h", "i"]]
x[2][0]
x[2][:2]
x[2] results in a list, that you can subset again by adding additional square brackets.
What will house[-1][1] return? house, the list of lists that you created before, is already
defined for you in the workspace. You can experiment with it in the IPython Shell.
Possible Answers
A float: the kitchen area
A string: "kitchen"
A float: the bathroom area
A string: "bathroom"
'''
house = [['hallway', 11.25],
['kitchen', 18.0],
['living room', 20.0],
['bedroom', 10.75],
['bathroom', 9.5]]
# A float: the bathroom area
| """
09 - Subsetting lists of lists
You saw before that a Python list can contain practically anything; even other lists! To subset
lists of lists, you can use the same technique as before: square brackets. Try out the commands
in the following code sample in the IPython Shell:
x = [["a", "b", "c"],
["d", "e", "f"],
["g", "h", "i"]]
x[2][0]
x[2][:2]
x[2] results in a list, that you can subset again by adding additional square brackets.
What will house[-1][1] return? house, the list of lists that you created before, is already
defined for you in the workspace. You can experiment with it in the IPython Shell.
Possible Answers
A float: the kitchen area
A string: "kitchen"
A float: the bathroom area
A string: "bathroom"
"""
house = [['hallway', 11.25], ['kitchen', 18.0], ['living room', 20.0], ['bedroom', 10.75], ['bathroom', 9.5]] |
class DjangoeventsError(Exception):
pass
class AlreadyExists(DjangoeventsError):
pass
| class Djangoeventserror(Exception):
pass
class Alreadyexists(DjangoeventsError):
pass |
# Remove a exclamation mark from the end of string. For a beginner kata, you can assume
# that the input data is always a string, no need to verify it.
# Examples
# remove("Hi!") === "Hi"
# remove("Hi!!!") === "Hi!!"
# remove("!Hi") === "!Hi"
# remove("!Hi!") === "!Hi"
# remove("Hi! Hi!") === "Hi! Hi"
# remove("Hi") === "Hi"
def remove(s):
return s[:-1] if s.endswith('!') else s
def test_remove():
assert remove("Hi!") == "Hi"
assert remove("Hi!!!") == "Hi!!"
assert remove("!Hi") == "!Hi"
assert remove("!Hi!") == "!Hi"
assert remove("Hi! Hi!") == "Hi! Hi"
assert remove("Hi") == "Hi"
| def remove(s):
return s[:-1] if s.endswith('!') else s
def test_remove():
assert remove('Hi!') == 'Hi'
assert remove('Hi!!!') == 'Hi!!'
assert remove('!Hi') == '!Hi'
assert remove('!Hi!') == '!Hi'
assert remove('Hi! Hi!') == 'Hi! Hi'
assert remove('Hi') == 'Hi' |
class Solution:
def maxPower(self, s: str) -> int:
best_answer = 1
current_answer = 1
last_char = None
for char in s:
if last_char == char:
current_answer += 1
else:
if current_answer > best_answer:
best_answer = current_answer
current_answer = 1
last_char = char
if current_answer > best_answer:
best_answer = current_answer
return best_answer
| class Solution:
def max_power(self, s: str) -> int:
best_answer = 1
current_answer = 1
last_char = None
for char in s:
if last_char == char:
current_answer += 1
else:
if current_answer > best_answer:
best_answer = current_answer
current_answer = 1
last_char = char
if current_answer > best_answer:
best_answer = current_answer
return best_answer |
class Reporter():
def __init__(self, checker):
pass
def doReport(self):
pass
def appendMsg(self):
pass
def export(self):
pass
| class Reporter:
def __init__(self, checker):
pass
def do_report(self):
pass
def append_msg(self):
pass
def export(self):
pass |
def evenNumbersGenerator(x):
while True:
x += 1
yield x
# yield 1
# yield 2
# yield 3
# yield 4
# yield 5
# yield 6
# yield 7
gen=evenNumbersGenerator(5)
print( next(gen) )
print( next(gen) )
print( next(gen) )
print( next(gen) )
| def even_numbers_generator(x):
while True:
x += 1
yield x
gen = even_numbers_generator(5)
print(next(gen))
print(next(gen))
print(next(gen))
print(next(gen)) |
class Optimizer:
def __init__(self, parameters):
pass
def step(self, **kwargs):
raise NotImplementedError
| class Optimizer:
def __init__(self, parameters):
pass
def step(self, **kwargs):
raise NotImplementedError |
# Copyright 2018 Kai Groner
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
class NS:
'''Nesting namespace.
>>> ns = NS({ 'foo.bar': 1, 'duck.duck.goose': 101 })
>>> ns.foo
<NS: 'foo'>
>>> ns.foo.bar
1
>>> ns.duck.duck
<NS: 'duck.duck'>
>>> ns.duck.duck.goose
101
>>> ns['foo.quux'] = 2
>>> ns.foo.quux
2
'''
def __init__(self, seq=None, *, missing=None):
self._data = {}
self._lazy = set()
self._missing = missing
self._prefixes = set()
if seq is not None:
if hasattr(seq, 'items'):
seq = seq.items()
for k,v in seq:
self[k] = v
def __repr__(self):
return '<NS>'
def _declare_lazy(self, k):
'''Declare names that can be populated lazily.
This is necessary to find namespace prefixes, and it also informs
shell completions.
'''
if k in self._prefixes:
raise KeyError(f'{k!r} conflicts with an existing prefix')
for prefix in _prefixes_of(k):
if prefix in self._data:
raise KeyError(f'{k!r} conflicts with {prefix!r}')
self._prefixes.add(prefix)
self._lazy.add(k)
def __setitem__(self, k, v):
if k in self._prefixes:
raise KeyError(f'{k!r} conflicts with an existing prefix')
for prefix in _prefixes_of(k):
if prefix in self._data:
raise KeyError(f'{k!r} conflicts with {prefix!r}')
self._prefixes.add(prefix)
self._data[k] = v
def __getitem__(self, k):
if k in self._data:
return self._data[k]
if k not in self._prefixes and self._missing is not None:
try:
v = self._missing(k)
except LookupError:
raise KeyError(k)
else:
self[k] = v
return v
def __delitem__(self, k):
del self._data[k]
def __iter__(self):
yield from self._lazy|set(self._data)
def __contains__(self, k):
return k in self._data or k in self._lazy
def __getattr__(self, k):
if k in self:
return self[k]
if k in self._prefixes:
return SubNS(self, k)
raise AttributeError(k)
def __dir__(self):
#yield from super().__dir__()
yield from _of_prefix(self._prefixes, '')
yield from _of_prefix(self, '')
class SubNS:
def __init__(self, ns, prefix):
self._ns = ns
self._prefix = prefix
def __repr__(self):
return f'<NS: {self._prefix!r}>'
def __getattr__(self, k):
fqk = f'{self._prefix}.{k}'
if fqk in self._ns:
return self._ns[fqk]
if fqk in self._ns._prefixes:
return SubNS(self._ns, fqk)
raise AttributeError(k)
def __dir__(self):
#yield from super().__dir__()
yield from _of_prefix(self._ns._prefixes, self._prefix)
yield from _of_prefix(self._ns, self._prefix)
def _prefixes_of(k):
'''Generate namespace prefixes of `k`.
>>> list(_prefixes_of('foo.bar.quux'))
['foo', 'foo.bar']
'''
i = -1
while True:
try:
i = k.index('.', i+1)
except ValueError:
return
yield k[:i]
def _of_prefix(seq, prefix):
'''Generate suffixes of `seq` elements that are of a prefix (not nested).
>>> list(_of_prefix(['foo.bar', 'foo.bar.quux', 'few.bar'], 'foo'))
['bar']
'''
if prefix and not prefix.endswith('.'):
prefix += '.'
start = len(prefix)
for k in seq:
if k.startswith(prefix) and k.find('.', start) == -1:
yield k[start:]
| class Ns:
"""Nesting namespace.
>>> ns = NS({ 'foo.bar': 1, 'duck.duck.goose': 101 })
>>> ns.foo
<NS: 'foo'>
>>> ns.foo.bar
1
>>> ns.duck.duck
<NS: 'duck.duck'>
>>> ns.duck.duck.goose
101
>>> ns['foo.quux'] = 2
>>> ns.foo.quux
2
"""
def __init__(self, seq=None, *, missing=None):
self._data = {}
self._lazy = set()
self._missing = missing
self._prefixes = set()
if seq is not None:
if hasattr(seq, 'items'):
seq = seq.items()
for (k, v) in seq:
self[k] = v
def __repr__(self):
return '<NS>'
def _declare_lazy(self, k):
"""Declare names that can be populated lazily.
This is necessary to find namespace prefixes, and it also informs
shell completions.
"""
if k in self._prefixes:
raise key_error(f'{k!r} conflicts with an existing prefix')
for prefix in _prefixes_of(k):
if prefix in self._data:
raise key_error(f'{k!r} conflicts with {prefix!r}')
self._prefixes.add(prefix)
self._lazy.add(k)
def __setitem__(self, k, v):
if k in self._prefixes:
raise key_error(f'{k!r} conflicts with an existing prefix')
for prefix in _prefixes_of(k):
if prefix in self._data:
raise key_error(f'{k!r} conflicts with {prefix!r}')
self._prefixes.add(prefix)
self._data[k] = v
def __getitem__(self, k):
if k in self._data:
return self._data[k]
if k not in self._prefixes and self._missing is not None:
try:
v = self._missing(k)
except LookupError:
raise key_error(k)
else:
self[k] = v
return v
def __delitem__(self, k):
del self._data[k]
def __iter__(self):
yield from (self._lazy | set(self._data))
def __contains__(self, k):
return k in self._data or k in self._lazy
def __getattr__(self, k):
if k in self:
return self[k]
if k in self._prefixes:
return sub_ns(self, k)
raise attribute_error(k)
def __dir__(self):
yield from _of_prefix(self._prefixes, '')
yield from _of_prefix(self, '')
class Subns:
def __init__(self, ns, prefix):
self._ns = ns
self._prefix = prefix
def __repr__(self):
return f'<NS: {self._prefix!r}>'
def __getattr__(self, k):
fqk = f'{self._prefix}.{k}'
if fqk in self._ns:
return self._ns[fqk]
if fqk in self._ns._prefixes:
return sub_ns(self._ns, fqk)
raise attribute_error(k)
def __dir__(self):
yield from _of_prefix(self._ns._prefixes, self._prefix)
yield from _of_prefix(self._ns, self._prefix)
def _prefixes_of(k):
"""Generate namespace prefixes of `k`.
>>> list(_prefixes_of('foo.bar.quux'))
['foo', 'foo.bar']
"""
i = -1
while True:
try:
i = k.index('.', i + 1)
except ValueError:
return
yield k[:i]
def _of_prefix(seq, prefix):
"""Generate suffixes of `seq` elements that are of a prefix (not nested).
>>> list(_of_prefix(['foo.bar', 'foo.bar.quux', 'few.bar'], 'foo'))
['bar']
"""
if prefix and (not prefix.endswith('.')):
prefix += '.'
start = len(prefix)
for k in seq:
if k.startswith(prefix) and k.find('.', start) == -1:
yield k[start:] |
spike = {
'kind': 'bulldog',
'owner': 'tom',
}
garfield = {
'kind': 'cat',
'owner': 'mark',
}
tom = {
'kind': 'cat',
'owner': 'will',
}
pets = [spike, garfield, tom]
for pet in pets:
print(pet)
| spike = {'kind': 'bulldog', 'owner': 'tom'}
garfield = {'kind': 'cat', 'owner': 'mark'}
tom = {'kind': 'cat', 'owner': 'will'}
pets = [spike, garfield, tom]
for pet in pets:
print(pet) |
#
# PySNMP MIB module CISCO-FABRIC-MCAST-APPL-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-FABRIC-MCAST-APPL-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 17:40:35 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion")
CfmPoolIndex, = mibBuilder.importSymbols("CISCO-FABRIC-MCAST-MIB", "CfmPoolIndex")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
entLogicalIndex, = mibBuilder.importSymbols("ENTITY-MIB", "entLogicalIndex")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup")
iso, Unsigned32, Counter32, Integer32, Counter64, NotificationType, MibIdentifier, Gauge32, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, ModuleIdentity, IpAddress, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "Unsigned32", "Counter32", "Integer32", "Counter64", "NotificationType", "MibIdentifier", "Gauge32", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "ModuleIdentity", "IpAddress", "Bits")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
ciscoFabricMcastApplMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 256))
ciscoFabricMcastApplMIB.setRevisions(('2002-12-18 00:00',))
if mibBuilder.loadTexts: ciscoFabricMcastApplMIB.setLastUpdated('200212180000Z')
if mibBuilder.loadTexts: ciscoFabricMcastApplMIB.setOrganization('Cisco Systems, Inc.')
ciscoFabricMcastApplMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 1))
cfmaAppl = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1))
cfmaApplTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1), )
if mibBuilder.loadTexts: cfmaApplTable.setStatus('current')
cfmaApplEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1), ).setIndexNames((0, "ENTITY-MIB", "entLogicalIndex"), (0, "CISCO-FABRIC-MCAST-APPL-MIB", "cfmaApplId"))
if mibBuilder.loadTexts: cfmaApplEntry.setStatus('current')
cfmaApplId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1, 1), Unsigned32())
if mibBuilder.loadTexts: cfmaApplId.setStatus('current')
cfmaApplName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 128))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cfmaApplName.setStatus('current')
cfmaApplInuseFgids = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1, 3), Gauge32()).setUnits('fgid').setMaxAccess("readonly")
if mibBuilder.loadTexts: cfmaApplInuseFgids.setStatus('current')
cfmaApplHighWaterInuseFGIDs = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1, 4), Gauge32()).setUnits('fgid').setMaxAccess("readonly")
if mibBuilder.loadTexts: cfmaApplHighWaterInuseFGIDs.setStatus('current')
cfmaApplPoolId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1, 5), CfmPoolIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cfmaApplPoolId.setStatus('current')
cfmaMIBNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 2))
cfmaMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 2, 0))
cfmaMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 3))
cfmaMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 3, 1))
cfmaMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 3, 2))
cfmaMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 256, 3, 1, 1)).setObjects(("CISCO-FABRIC-MCAST-APPL-MIB", "cfmaApplGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cfmaMIBCompliance = cfmaMIBCompliance.setStatus('current')
cfmaApplGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 256, 3, 2, 1)).setObjects(("CISCO-FABRIC-MCAST-APPL-MIB", "cfmaApplName"), ("CISCO-FABRIC-MCAST-APPL-MIB", "cfmaApplInuseFgids"), ("CISCO-FABRIC-MCAST-APPL-MIB", "cfmaApplHighWaterInuseFGIDs"), ("CISCO-FABRIC-MCAST-APPL-MIB", "cfmaApplPoolId"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cfmaApplGroup = cfmaApplGroup.setStatus('current')
mibBuilder.exportSymbols("CISCO-FABRIC-MCAST-APPL-MIB", PYSNMP_MODULE_ID=ciscoFabricMcastApplMIB, cfmaApplInuseFgids=cfmaApplInuseFgids, cfmaMIBNotifications=cfmaMIBNotifications, ciscoFabricMcastApplMIBObjects=ciscoFabricMcastApplMIBObjects, cfmaApplId=cfmaApplId, cfmaApplName=cfmaApplName, cfmaMIBConformance=cfmaMIBConformance, cfmaApplGroup=cfmaApplGroup, cfmaApplTable=cfmaApplTable, cfmaAppl=cfmaAppl, cfmaApplPoolId=cfmaApplPoolId, cfmaMIBCompliance=cfmaMIBCompliance, cfmaMIBNotificationPrefix=cfmaMIBNotificationPrefix, cfmaMIBCompliances=cfmaMIBCompliances, cfmaApplEntry=cfmaApplEntry, cfmaMIBGroups=cfmaMIBGroups, cfmaApplHighWaterInuseFGIDs=cfmaApplHighWaterInuseFGIDs, ciscoFabricMcastApplMIB=ciscoFabricMcastApplMIB)
| (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_intersection, single_value_constraint, value_size_constraint, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion')
(cfm_pool_index,) = mibBuilder.importSymbols('CISCO-FABRIC-MCAST-MIB', 'CfmPoolIndex')
(cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt')
(ent_logical_index,) = mibBuilder.importSymbols('ENTITY-MIB', 'entLogicalIndex')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup')
(iso, unsigned32, counter32, integer32, counter64, notification_type, mib_identifier, gauge32, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, module_identity, ip_address, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'Unsigned32', 'Counter32', 'Integer32', 'Counter64', 'NotificationType', 'MibIdentifier', 'Gauge32', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'ModuleIdentity', 'IpAddress', 'Bits')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
cisco_fabric_mcast_appl_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 256))
ciscoFabricMcastApplMIB.setRevisions(('2002-12-18 00:00',))
if mibBuilder.loadTexts:
ciscoFabricMcastApplMIB.setLastUpdated('200212180000Z')
if mibBuilder.loadTexts:
ciscoFabricMcastApplMIB.setOrganization('Cisco Systems, Inc.')
cisco_fabric_mcast_appl_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 1))
cfma_appl = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1))
cfma_appl_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1))
if mibBuilder.loadTexts:
cfmaApplTable.setStatus('current')
cfma_appl_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1)).setIndexNames((0, 'ENTITY-MIB', 'entLogicalIndex'), (0, 'CISCO-FABRIC-MCAST-APPL-MIB', 'cfmaApplId'))
if mibBuilder.loadTexts:
cfmaApplEntry.setStatus('current')
cfma_appl_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1, 1), unsigned32())
if mibBuilder.loadTexts:
cfmaApplId.setStatus('current')
cfma_appl_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 128))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cfmaApplName.setStatus('current')
cfma_appl_inuse_fgids = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1, 3), gauge32()).setUnits('fgid').setMaxAccess('readonly')
if mibBuilder.loadTexts:
cfmaApplInuseFgids.setStatus('current')
cfma_appl_high_water_inuse_fgi_ds = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1, 4), gauge32()).setUnits('fgid').setMaxAccess('readonly')
if mibBuilder.loadTexts:
cfmaApplHighWaterInuseFGIDs.setStatus('current')
cfma_appl_pool_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 256, 1, 1, 1, 1, 5), cfm_pool_index()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cfmaApplPoolId.setStatus('current')
cfma_mib_notification_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 2))
cfma_mib_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 2, 0))
cfma_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 3))
cfma_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 3, 1))
cfma_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 256, 3, 2))
cfma_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 256, 3, 1, 1)).setObjects(('CISCO-FABRIC-MCAST-APPL-MIB', 'cfmaApplGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cfma_mib_compliance = cfmaMIBCompliance.setStatus('current')
cfma_appl_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 256, 3, 2, 1)).setObjects(('CISCO-FABRIC-MCAST-APPL-MIB', 'cfmaApplName'), ('CISCO-FABRIC-MCAST-APPL-MIB', 'cfmaApplInuseFgids'), ('CISCO-FABRIC-MCAST-APPL-MIB', 'cfmaApplHighWaterInuseFGIDs'), ('CISCO-FABRIC-MCAST-APPL-MIB', 'cfmaApplPoolId'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cfma_appl_group = cfmaApplGroup.setStatus('current')
mibBuilder.exportSymbols('CISCO-FABRIC-MCAST-APPL-MIB', PYSNMP_MODULE_ID=ciscoFabricMcastApplMIB, cfmaApplInuseFgids=cfmaApplInuseFgids, cfmaMIBNotifications=cfmaMIBNotifications, ciscoFabricMcastApplMIBObjects=ciscoFabricMcastApplMIBObjects, cfmaApplId=cfmaApplId, cfmaApplName=cfmaApplName, cfmaMIBConformance=cfmaMIBConformance, cfmaApplGroup=cfmaApplGroup, cfmaApplTable=cfmaApplTable, cfmaAppl=cfmaAppl, cfmaApplPoolId=cfmaApplPoolId, cfmaMIBCompliance=cfmaMIBCompliance, cfmaMIBNotificationPrefix=cfmaMIBNotificationPrefix, cfmaMIBCompliances=cfmaMIBCompliances, cfmaApplEntry=cfmaApplEntry, cfmaMIBGroups=cfmaMIBGroups, cfmaApplHighWaterInuseFGIDs=cfmaApplHighWaterInuseFGIDs, ciscoFabricMcastApplMIB=ciscoFabricMcastApplMIB) |
class Stack():
def __init__(self):
self.arr = []
self.length = 0
def __str__(self):
return str(self.__dict__)
def push(self, data):
self.arr.append(data)
self.length += 1
def peek(self):
return self.arr[self.length - 1]
def pop(self):
popped_item = self.arr[self.length - 1]
del self.arr[self.length - 1]
self.length -= 1
return popped_item
mystack = Stack()
mystack.push('google')
mystack.push('microsoft')
mystack.push('facebook')
mystack.push('apple')
print(mystack)
x = mystack.peek()
print(x)
mystack.pop()
print(mystack) | class Stack:
def __init__(self):
self.arr = []
self.length = 0
def __str__(self):
return str(self.__dict__)
def push(self, data):
self.arr.append(data)
self.length += 1
def peek(self):
return self.arr[self.length - 1]
def pop(self):
popped_item = self.arr[self.length - 1]
del self.arr[self.length - 1]
self.length -= 1
return popped_item
mystack = stack()
mystack.push('google')
mystack.push('microsoft')
mystack.push('facebook')
mystack.push('apple')
print(mystack)
x = mystack.peek()
print(x)
mystack.pop()
print(mystack) |
class TrafficLightClassifier(object):
def __init__(self):
PATH_TO_MODEL = 'frozen_inference_graph.pb'
self.detection_graph = tf.Graph()
with self.detection_graph.as_default():
od_graph_def = tf.GraphDef()
# Works up to here.
with tf.gfile.GFile(PATH_TO_MODEL, 'rb') as fid:
serialized_graph = fid.read()
od_graph_def.ParseFromString(serialized_graph)
tf.import_graph_def(od_graph_def, name='')
self.image_tensor = self.detection_graph.get_tensor_by_name('image_tensor:0')
self.d_boxes = self.detection_graph.get_tensor_by_name('detection_boxes:0')
self.d_scores = self.detection_graph.get_tensor_by_name('detection_scores:0')
self.d_classes = self.detection_graph.get_tensor_by_name('detection_classes:0')
self.num_d = self.detection_graph.get_tensor_by_name('num_detections:0')
self.sess = tf.Session(graph=self.detection_graph)
def get_classification(self, img):
# Bounding Box Detection.
with self.detection_graph.as_default():
# Expand dimension since the model expects image to have shape [1, None, None, 3].
img_expanded = np.expand_dims(img, axis=0)
(boxes, scores, classes, num) = self.sess.run(
[self.d_boxes, self.d_scores, self.d_classes, self.num_d],
feed_dict={self.image_tensor: img_expanded})
return boxes, scores, classes, num
| class Trafficlightclassifier(object):
def __init__(self):
path_to_model = 'frozen_inference_graph.pb'
self.detection_graph = tf.Graph()
with self.detection_graph.as_default():
od_graph_def = tf.GraphDef()
with tf.gfile.GFile(PATH_TO_MODEL, 'rb') as fid:
serialized_graph = fid.read()
od_graph_def.ParseFromString(serialized_graph)
tf.import_graph_def(od_graph_def, name='')
self.image_tensor = self.detection_graph.get_tensor_by_name('image_tensor:0')
self.d_boxes = self.detection_graph.get_tensor_by_name('detection_boxes:0')
self.d_scores = self.detection_graph.get_tensor_by_name('detection_scores:0')
self.d_classes = self.detection_graph.get_tensor_by_name('detection_classes:0')
self.num_d = self.detection_graph.get_tensor_by_name('num_detections:0')
self.sess = tf.Session(graph=self.detection_graph)
def get_classification(self, img):
with self.detection_graph.as_default():
img_expanded = np.expand_dims(img, axis=0)
(boxes, scores, classes, num) = self.sess.run([self.d_boxes, self.d_scores, self.d_classes, self.num_d], feed_dict={self.image_tensor: img_expanded})
return (boxes, scores, classes, num) |
a = 1
b = 2
d = 4
c = 3
e = 6
e = 5
f = 7
g = 8
| a = 1
b = 2
d = 4
c = 3
e = 6
e = 5
f = 7
g = 8 |
t = int(input().strip())
for a0 in range(t):
b,w = input().strip().split(' ')
b,w = [int(b),int(w)]
x,y,z = input().strip().split(' ')
x,y,z = [int(x),int(y),int(z)]
cost = b*x + w*y
x_cost = b*(y+z) + w*y
y_cost = b*x + w*(x+z)
new_cost = min(cost, x_cost, y_cost)
print (new_cost)
| t = int(input().strip())
for a0 in range(t):
(b, w) = input().strip().split(' ')
(b, w) = [int(b), int(w)]
(x, y, z) = input().strip().split(' ')
(x, y, z) = [int(x), int(y), int(z)]
cost = b * x + w * y
x_cost = b * (y + z) + w * y
y_cost = b * x + w * (x + z)
new_cost = min(cost, x_cost, y_cost)
print(new_cost) |
sum1 = 0
sum2 = 0
for i in range (1, 101, 1):
sum1 = sum1 + (i**2)
sum2 = sum2 + i
sum2 = sum2**2
answer = sum2-sum1
print(answer)
| sum1 = 0
sum2 = 0
for i in range(1, 101, 1):
sum1 = sum1 + i ** 2
sum2 = sum2 + i
sum2 = sum2 ** 2
answer = sum2 - sum1
print(answer) |
# day 10 challenge 1
# read input
ratings = []
with open('input.txt', 'r') as file:
for line in file:
ratings.append(int(line))
ratings.sort()
ratings.append(ratings[-1] + 3)
ratings.insert(0, 0)
one_ct = 0
thr_ct = 0
for ind, jlt in enumerate(ratings):
if ind < (len(ratings) - 1):
if (ratings[ind + 1] - jlt) == 1:
one_ct += 1
if (ratings[ind + 1] - jlt) == 3:
thr_ct += 1
print(one_ct * thr_ct) | ratings = []
with open('input.txt', 'r') as file:
for line in file:
ratings.append(int(line))
ratings.sort()
ratings.append(ratings[-1] + 3)
ratings.insert(0, 0)
one_ct = 0
thr_ct = 0
for (ind, jlt) in enumerate(ratings):
if ind < len(ratings) - 1:
if ratings[ind + 1] - jlt == 1:
one_ct += 1
if ratings[ind + 1] - jlt == 3:
thr_ct += 1
print(one_ct * thr_ct) |
#!/usr/bin/env python3
n = int(input())
i = 0
while i < n:
if i == 0:
print(n * "*")
elif 0 < i < n - 1:
print("*" + ((n - 2) * " ") + "*")
elif i == n - 1:
print(n * "*")
i = i + 1
| n = int(input())
i = 0
while i < n:
if i == 0:
print(n * '*')
elif 0 < i < n - 1:
print('*' + (n - 2) * ' ' + '*')
elif i == n - 1:
print(n * '*')
i = i + 1 |
#
# PySNMP MIB module WWP-LEOS-FLOW-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/WWP-LEOS-FLOW-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:37:57 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")
SingleValueConstraint, ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
NotificationType, TimeTicks, MibIdentifier, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, Gauge32, Counter32, IpAddress, Counter64, Bits, Unsigned32, ModuleIdentity, iso = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "TimeTicks", "MibIdentifier", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "Gauge32", "Counter32", "IpAddress", "Counter64", "Bits", "Unsigned32", "ModuleIdentity", "iso")
TruthValue, RowStatus, MacAddress, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "RowStatus", "MacAddress", "TextualConvention", "DisplayString")
wwpModulesLeos, = mibBuilder.importSymbols("WWP-SMI", "wwpModulesLeos")
wwpLeosFlowMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6))
wwpLeosFlowMIB.setRevisions(('2012-03-29 00:00', '2011-02-02 00:00', '2008-06-16 17:00', '2001-04-03 17:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: wwpLeosFlowMIB.setRevisionsDescriptions(('Added new objects to support Ipv6 rate limits wwpLeosFlowCpuRateLimitIpV6Mgmt, wwpLeosFlowCpuRateLimitStatsIpV6MgmtPassed, wwpLeosFlowCpuRateLimitStatsIpV6MgmtDropped, wwpLeosFlowCpuRateLimitInet6, wwpLeosFlowCpuRateLimitStatsInet6Passed, wwpLeosFlowCpuRateLimitStatsInet6Dropped .', 'Added RAPS Frame Type into CpuRateLimit related MIB objects', 'Added the Port Service Level table and the ability to set secondary queue sizes for service levels.', 'Initial creation.',))
if mibBuilder.loadTexts: wwpLeosFlowMIB.setLastUpdated('201203290000Z')
if mibBuilder.loadTexts: wwpLeosFlowMIB.setOrganization('Ciena, Inc')
if mibBuilder.loadTexts: wwpLeosFlowMIB.setContactInfo('Mib Meister 115 North Sullivan Road Spokane Valley, WA 99037 USA Phone: +1 509 242 9000 Email: support@ciena.com')
if mibBuilder.loadTexts: wwpLeosFlowMIB.setDescription('MIB module for the WWP FLOW specific information. This MIB module is common between 4.x and 6.x platforms.')
class PriorityMapping(TextualConvention, OctetString):
description = 'Represents the priority mapping. Octets in this object represents the remarked priority values for priority 0-7 respectively.'
status = 'current'
displayHint = '1x:'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(8, 8)
fixedLength = 8
wwpLeosFlowMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1))
wwpLeosFlow = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1))
wwpLeosFlowNotifAttrs = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2))
wwpLeosFlowNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2))
wwpLeosFlowNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0))
wwpLeosFlowMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 3))
wwpLeosFlowMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 3, 1))
wwpLeosFlowMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 3, 2))
wwpLeosFlowAgeTime = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 1000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowAgeTime.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowAgeTime.setDescription('Specifies the age time after which mac entries will be flushed out.')
wwpLeosFlowAgeTimeState = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowAgeTimeState.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowAgeTimeState.setDescription('Specifies if age time is enabled or disabled.')
wwpLeosFlowServiceLevelTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3), )
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelTable.setDescription('A table of flow service level entries. Following criteria must be met while creating entry in the table. - All indexes must be specified - wwpLeosFlowServiceLevelCirBW and wwpLeosFlowServiceLevelPirBW must be set. - wwpLeosFlowServiceLevelStatus must be set to create and go.')
wwpLeosFlowServiceLevelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceLevelPort"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceLevelId"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceLevelDirection"))
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelEntry.setDescription('The flow service level entry in the Table.')
wwpLeosFlowServiceLevelDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ingress", 1), ("egress", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelDirection.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelDirection.setDescription('Service level Id direction used as index in the service level entry.')
wwpLeosFlowServiceLevelPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelPort.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelPort.setDescription('Port id used as index in the service level entry. If it is intended to not specify the port id in the index, this value should be set to 0.')
wwpLeosFlowServiceLevelId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelId.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelId.setDescription('Service level Id used as index in the service level entry.')
wwpLeosFlowServiceLevelName = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 4), DisplayString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelName.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelName.setDescription('The flow service level name associated with this service level.')
wwpLeosFlowServiceLevelPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelPriority.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelPriority.setDescription('The internal traffic-queue priority. This may also be used as a weighting factor.')
wwpLeosFlowServiceLevelQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 6), 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(("size0KB", 0), ("small", 1), ("medium", 2), ("large", 3), ("jumbo", 4), ("x5", 5), ("x6", 6), ("x7", 7), ("x8", 8), ("size16KB", 9), ("size32KB", 10), ("size64KB", 11), ("size128KB", 12), ("size256KB", 13), ("size512KB", 14), ("size1MB", 15), ("size2MB", 16), ("size4MB", 17)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelQueueSize.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelQueueSize.setDescription('The size of the traffic queue provisioned for this service level entry. This may also be referred to as Latency Tolerance.')
wwpLeosFlowServiceLevelDropEligibility = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelDropEligibility.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelDropEligibility.setDescription('This item is used to indicate whether or not frames should be dropped or queued when frame buffer resources become scarce.')
wwpLeosFlowServiceLevelShareEligibility = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelShareEligibility.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelShareEligibility.setDescription('This item is used to indicate whether or not a service level may be shared among entries in the flow service-mapping table.')
wwpLeosFlowServiceLevelCirBW = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelCirBW.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelCirBW.setDescription('The committed information rate (bandwidth) in Kbps associated with this service level entry.')
wwpLeosFlowServiceLevelPirBW = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelPirBW.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelPirBW.setDescription('The peak information rate (maximum bandwidth) in Kbps associated with this service level entry.')
wwpLeosFlowServiceStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 11), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceStatus.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'. In particular, a newly created row cannot be made active until one of the following instances have been set: - wwpLeosFlowServiceLevelCirBW - wwpLeosFlowServiceLevelPirBW.")
wwpLeosFlowServiceRedCurveId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(5, 64))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveId.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveId.setDescription('This object is used to specifies the red curve index to be used for the given service level. If this OID is not specified, the system will use the default value of this object which is dependent on the queue size wwpLeosFlowServiceLevelQueueSize')
wwpLeosFlowServiceLevelQueueSizeYellow = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("size16KB", 1), ("size32KB", 2), ("size64KB", 3), ("size128KB", 4)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelQueueSizeYellow.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelQueueSizeYellow.setDescription('The size of the yellow traffic queue provisioned for this service level entry. Also known as the discard preferred queue size. ')
wwpLeosFlowServiceLevelQueueSizeRed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("size16KB", 1), ("size32KB", 2), ("size64KB", 3), ("size128KB", 4)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelQueueSizeRed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelQueueSizeRed.setDescription('The size of the red traffic queue provisioned for this service level entry. Also known as the discard wanted queue size')
wwpLeosFlowServiceLevelFlowGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelFlowGroup.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelFlowGroup.setDescription('Service level Id direction used as index in the service level entry.')
wwpLeosFlowServiceMappingTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4), )
if mibBuilder.loadTexts: wwpLeosFlowServiceMappingTable.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMappingTable.setDescription(" A service mapping entry in the service-mapping table. To create entry in this table following criteria must be met and SNMP multiple set operation must be used to create entries. - wwpLeosFlowServiceMapDstSlidId must be set to valid SLID and this slid must exist on the device. Use wwpLeosFlowServiceLevelTable to create slid. - All indexes must be specified with exception to following objects. - wwpLeosFlowServiceMappingVid must be set to 0 if don't care else set it to some valid value. VID must exist on the device. - wwpLeosFlowServiceMappingSrcPort must be set to 0 if don't care else set it to some valid value. - wwpLeosFlowServiceMappingSrcTag must be set to 0 if don't care else set it to some valid value. - wwpLeosFlowServiceMappingDstPort must be set to 0 if don't care else set it to some valid value. - wwpLeosFlowServiceMappingDstTag must be set to 0 if don't care else set it to some valid value. - wwpLeosFlowServiceMappingProtocolType must be set to 1 if don't care else set it to some valid value. - wwpLeosFlowServiceMappingProtocolPortNum must be set to 0 if don't care else set it to some valid value. - wwpLeosFlowServiceMapSrcPri must be set to 255 if don't care else set it to some valid value.")
wwpLeosFlowServiceMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapVid"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapSrcPort"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapSrcTag"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapDstPort"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapDstTag"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapSrcPri"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapProtocolType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapProtocolPortNum"))
if mibBuilder.loadTexts: wwpLeosFlowServiceMappingEntry.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMappingEntry.setDescription('A service mapping entry in the wwpLeosFlowServiceMappingTable.')
wwpLeosFlowServiceMapVid = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 24576))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapVid.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapVid.setDescription('The VLAN id associated with this service mapping entry. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwpLeosFlowServiceMapSrcPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapSrcPort.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapSrcPort.setDescription('The source port id for the instance. This represents the ingress location of a flow. This port id should refer to the dot1dBasePort in the Dot1dBasePortEntry. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwpLeosFlowServiceMapSrcTag = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapSrcTag.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapSrcTag.setDescription('The source VLAN tag associated with this service mapping entry. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwpLeosFlowServiceMapDstPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapDstPort.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapDstPort.setDescription('The destination port id for the instance. This represents the egress location for a flow. This port id should refer to the dot1dBasePort in the Dot1dBasePortEntry. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwpLeosFlowServiceMapDstTag = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapDstTag.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapDstTag.setDescription('The destination VLAN tag associated with this service mapping entry. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwpLeosFlowServiceMapSrcPri = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapSrcPri.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapSrcPri.setDescription('The incoming packet vlan tag priority on the wwpLeosFlowServiceMapSrcPort. The 802.1p packet priority valid values are only from 0 to 7. If this object is set to 255 (or signed 8-bit integer -1), then this object should be ignored while creating the service-mapping entry.')
wwpLeosFlowServiceMapProtocolType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("tcp", 2), ("udp", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapProtocolType.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapProtocolType.setDescription('The Layer 4 protocol type used as index in the table. This will correspond to the TCP or UDP protocol. If this object is set to 1, then this object should be ignored while creating the service-mapping entry.')
wwpLeosFlowServiceMapProtocolPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapProtocolPortNum.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapProtocolPortNum.setDescription('The Layer 4 protocol port number used as index in the table. This will correspond to a TCP or UDP port number. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwpLeosFlowServiceMapDstSlidId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapDstSlidId.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapDstSlidId.setDescription('The service level id to apply to the flow at egress. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwpLeosFlowServiceMapSrcSlidId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapSrcSlidId.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapSrcSlidId.setDescription('The service level id to apply to the flow at ingress. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwpLeosFlowServiceMapPriRemarkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 11), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapPriRemarkStatus.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapPriRemarkStatus.setDescription("Setting this object to 'true' will enable remarking of the VLAN tag priority for frames that match the classification defined by this service-mapping entry.")
wwpLeosFlowServiceMapRemarkPri = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapRemarkPri.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapRemarkPri.setDescription('The remark priority value. For frames that match the classification defined by this service-mapping entry, the VLAN tag priority will be remarked with this value.')
wwpLeosFlowServiceMapStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 13), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceMapStatus.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceMapStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'.")
wwpLeosFlowServiceACTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5), )
if mibBuilder.loadTexts: wwpLeosFlowServiceACTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceACTable.setDescription('A Table of FLOW Service Access Control Entries.')
wwpLeosFlowServiceACEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceACPortId"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceACVid"))
if mibBuilder.loadTexts: wwpLeosFlowServiceACEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceACEntry.setDescription('A service Access entry in the wwpLeosFlowServiceACTable.')
wwpLeosFlowServiceACPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceACPortId.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceACPortId.setDescription('Port id for the instance. This port id should refer to the dot1dBasePort in the Dot1dBasePortEntry. Used as index in service access table.')
wwpLeosFlowServiceACVid = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 24576))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceACVid.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceACVid.setDescription('The VLAN id associated with this access control entry. Used as index in service access table. If the platform supports only port-based service access control, this value should be set to 0.')
wwpLeosFlowServiceACMaxDynamicMacCount = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceACMaxDynamicMacCount.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceACMaxDynamicMacCount.setDescription('The maximum number of dynamic MAC Addresses that will be learned and authorized by this access control entry. This value should default to 24.')
wwpLeosFlowServiceACDynamicNonFilteredMacCount = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceACDynamicNonFilteredMacCount.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceACDynamicNonFilteredMacCount.setDescription('The current number of non-filtered or authorized dynamic MAC addresses recorded in this access control entry.')
wwpLeosFlowServiceACDynamicFilteredMacCount = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceACDynamicFilteredMacCount.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceACDynamicFilteredMacCount.setDescription('The current number of filtered or non-authorized dynamic MAC addresses recorded in this access control entry.')
wwpLeosFlowServiceACStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 7), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceACStatus.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceACStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'.")
wwpLeosFlowServiceACForwardLearning = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone('off')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowServiceACForwardLearning.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceACForwardLearning.setDescription('To specify whether or not unlearned frames are forwarded or dropped.')
wwpLeosFlowStaticMacTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6), )
if mibBuilder.loadTexts: wwpLeosFlowStaticMacTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowStaticMacTable.setDescription('The (conceptual) table to add the static mac addresses.')
wwpLeosFlowStaticMacEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMVid"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMMacAddr"))
if mibBuilder.loadTexts: wwpLeosFlowStaticMacEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowStaticMacEntry.setDescription('An entry (conceptual row) in the wwpLeosFlowStaticMacTable.')
wwpLeosFlowSMVid = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 24576))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMVid.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMVid.setDescription('The service network id associated with this entry. Used as index in static MAC table.')
wwpLeosFlowSMMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1, 2), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMMacAddr.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMMacAddr.setDescription('A unicast MAC address to be statically configured. Used as index in static MAC table.')
wwpLeosFlowSMPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowSMPortId.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMPortId.setDescription('Port id for the static MAC instance. This port id should refer to the dot1dBasePort in the Dot1dBasePortEntry.')
wwpLeosFlowSMTag = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowSMTag.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMTag.setDescription('The VLAN tag for this static MAC instance.')
wwpLeosFlowSMStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowSMStatus.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'. In particular, a newly created row cannot be made active until the corresponding instances of wwpLeosFlowSMPortId and wwpLeosFlowSMTag have been set. The following objects may not be modified while the value of this object is active(1): - wwpLeosFlowSMPortId - wwpLeosFlowSMTag ")
wwpLeosFlowLearnTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7), )
if mibBuilder.loadTexts: wwpLeosFlowLearnTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnTable.setDescription('A Table of flow learn entries.')
wwpLeosFlowLearnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowLearnVid"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowLearnAddr"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowLearnSrcPort"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowLearnSrcTag"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowLearnSrcPri"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowLearnAddrType"))
if mibBuilder.loadTexts: wwpLeosFlowLearnEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnEntry.setDescription('A flow learn entry in the wwpLeosFlowLearnTable.')
wwpLeosFlowLearnVid = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 24576))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowLearnVid.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnVid.setDescription('The VLAN id associated with this flow-learn entry.')
wwpLeosFlowLearnAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 2), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowLearnAddr.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnAddr.setDescription('The address associated with this flow learn entry. Address can be layer 2 mac address or layer 3 ip address. If address is layer 3 ip address then first two bytes will be 0.')
wwpLeosFlowLearnSrcPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowLearnSrcPort.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnSrcPort.setDescription('Source port Id for the instance. This port Id should refer to the dot1dBasePort in the Dot1dBasePortEntry.')
wwpLeosFlowLearnSrcTag = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowLearnSrcTag.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnSrcTag.setDescription('The source VLAN tag associated with this flow-learn entry.')
wwpLeosFlowLearnSrcPri = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowLearnSrcPri.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnSrcPri.setDescription('The source Layer 2 priority associated with this flow-learn entry.')
wwpLeosFlowLearnAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("layer2", 1), ("layer3", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowLearnAddrType.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnAddrType.setDescription('The address type associated with this flow-learn entry. Address can be layer 2 type or layer 3 type.')
wwpLeosFlowLearnDstPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowLearnDstPort.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnDstPort.setDescription('Destination port id associated with this flow-learn entry. This port id should refer to the dot1dBasePort in the Dot1dBasePortEntry.')
wwpLeosFlowLearnDstTag = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowLearnDstTag.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnDstTag.setDescription('The destination VLAN tag associated with this flow-learn entry.')
wwpLeosFlowLearnType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("dynamic", 1), ("static", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowLearnType.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnType.setDescription('The flow-learn entry type. This indicates whether or not the device was learned dynamically or entered as a static MAC.')
wwpLeosFlowLearnIsFiltered = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 10), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowLearnIsFiltered.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowLearnIsFiltered.setDescription("This value indicates whether or not the flow-learn entry is filtered. A value of 'true' indicates the flow-learn entry is filtered.")
wwpLeosFlowServiceStatsTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8), )
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsTable.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsTable.setDescription('A Table of flow service statistics entries.')
wwpLeosFlowServiceStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapVid"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapSrcPort"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapSrcTag"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapDstPort"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapDstTag"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapSrcPri"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapProtocolType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceMapProtocolPortNum"))
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsEntry.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsEntry.setDescription('A flow service statistics entry in the wwpLeosFlowServiceStatsTable.')
wwpLeosFlowServiceStatsRxHi = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsRxHi.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsRxHi.setDescription('The number of bytes received for this flow service entry. This counter represents the upper 32 bits of the counter value.')
wwpLeosFlowServiceStatsRxLo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsRxLo.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsRxLo.setDescription('The number of bytes received for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwpLeosFlowServiceStatsTxHi = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsTxHi.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsTxHi.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the upper 32 bits of the counter value.')
wwpLeosFlowServiceStatsTxLo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsTxLo.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsTxLo.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwpLeosFlowServiceStatsType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("forward", 1), ("drop", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsType.setStatus('deprecated')
if mibBuilder.loadTexts: wwpLeosFlowServiceStatsType.setDescription('Specifies the type of statistics for given entry.')
wwpLeosFlowMacFindTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9), )
if mibBuilder.loadTexts: wwpLeosFlowMacFindTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacFindTable.setDescription('A flow MAC-find table. MAC address must be specified to walk through the MIB.')
wwpLeosFlowMacFindEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowMacFindVlanId"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowMacFindMacAddr"))
if mibBuilder.loadTexts: wwpLeosFlowMacFindEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacFindEntry.setDescription('A flow service MAC statistics table.')
wwpLeosFlowMacFindMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9, 1, 1), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowMacFindMacAddr.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacFindMacAddr.setDescription('This variable defines the mac address used as index in the MAC-find table.')
wwpLeosFlowMacFindVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 24576))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowMacFindVlanId.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacFindVlanId.setDescription('The VLAN ID on which this MAC address is learned.')
wwpLeosFlowMacFindPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowMacFindPort.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacFindPort.setDescription('This specifies the port id on which this MAC address is learned.')
wwpLeosFlowMacFindVlanTag = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 24576))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowMacFindVlanTag.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacFindVlanTag.setDescription('This specifies the VLAN tag on which this MAC address is learned.')
wwpLeosFlowPriRemapTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 10), )
if mibBuilder.loadTexts: wwpLeosFlowPriRemapTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowPriRemapTable.setDescription('The (conceptual) table to add the static mac addresses.')
wwpLeosFlowPriRemapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 10, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowUserPri"))
if mibBuilder.loadTexts: wwpLeosFlowPriRemapEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowPriRemapEntry.setDescription('An entry (conceptual row) in the wwpLeosFlowStaticMacTable.')
wwpLeosFlowUserPri = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 10, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowUserPri.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowUserPri.setDescription('Specifies the user priority. Also used as index in the table.')
wwpLeosFlowRemappedPri = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 10, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowRemappedPri.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowRemappedPri.setDescription("Specifies the remapped priority for given 'wwpLeosFlowUserPri'.")
wwpLeosFlowSMappingTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13), )
if mibBuilder.loadTexts: wwpLeosFlowSMappingTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingTable.setDescription("A service mapping entry in the service-mapping table. To create entry in this table following criteria must be met. - The indexes to the service mapping entry consist of type-value pairs. - There are four(4) sections to the entry. -- NETWORK (type / value) -- SOURCE (type / value) -- DESTINATION (type / value) -- CLASS OF SERVICE (type / value) - All indexes must be specified with the appropriate enumerated - type. If the TYPE is set to 'none', the corresponding VALUE - MUST be set to zero(0). - - The service-mapping entry is very generic. As such, acceptable - combinations of types and values will be scrutinized by the - running platform.")
wwpLeosFlowSMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingNetType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingNetValue"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingSrcType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingSrcValue"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingDstType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingDstValue"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingCosType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingCosValue"))
if mibBuilder.loadTexts: wwpLeosFlowSMappingEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingEntry.setDescription('A service mapping entry in the wwpLeosFlowSMappingTable.')
wwpLeosFlowSMappingNetType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("vlan", 2), ("vsi", 3), ("vsiMpls", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingNetType.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingNetType.setDescription("This object specifies the NETWORK object TYPE for the entry. - - If set to 'none', the corresponding value in - wwpLeosFlowSMappingNetValue MUST be zero(0). - - If set to vlan, a valid vlan-id must be specified. - If set to vsi, a valid ethernet virtual-switch-instance id must be specified. - If set to vsi_mpls, a valid mpls virtual-switch-instance id must be specified - - This used as index in the table.")
wwpLeosFlowSMappingNetValue = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingNetValue.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingNetValue.setDescription('This object specifies the NETWORK object ID for the entry. - - This item must be set according to the value set - in wwpLeosFlowSMappingNetType. If wwpLeosFlowSMappingNetType - equals: - none(1): MUST be set to zero(0). - vlan(2): MUST be set to valid existing vlan id. - vsi(3): MUST be set to valid existing ethernet virtual switch id. - vsiMpls(4): MUST be set to valid existing mpls virtual switch id. - - This used as index in the table.')
wwpLeosFlowSMappingSrcType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("port", 2), ("mplsVc", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingSrcType.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingSrcType.setDescription("This object specifies the SOURCE object TYPE for the entry. - - If set to 'none', the corresponding value in - wwpLeosFlowSMappingSrcValue MUST be zero(0). - - If set to port, a valid port group id must be specified. - If set to mplsVc, a valid mpls-virtual-circuit id must be specified. - - This used as index in the table.")
wwpLeosFlowSMappingSrcValue = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingSrcValue.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingSrcValue.setDescription('This object specifies the SOURCE object ID for the entry. - - This item must be set according to the value set - in wwpLeosFlowSMappingSrcType. If wwpLeosFlowSMappingSrcType - equals: - none(1): MUST be set to zero(0). - port(2): MUST be set to valid existing port group id. - mplsVc(3): MUST be set to valid existing mpls-virtual-circuit id. - - This used as index in the table.')
wwpLeosFlowSMappingDstType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("port", 2), ("mplsVc", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingDstType.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingDstType.setDescription("This object specifies the DESTINATION object TYPE for the entry. - - If set to 'none', the corresponding value in - wwpLeosFlowSMappingDstValue MUST be zero(0). - - If set to port, a valid port group id must be specified. - If set to mplsVc, a valid mpls-virtual-circuit id must be specified. - - This used as index in the table.")
wwpLeosFlowSMappingDstValue = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 6), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingDstValue.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingDstValue.setDescription('This object specifies the DESTINATION object ID for the entry. - - This item must be set according to the value set - in wwpLeosFlowSMappingDstType. If wwpLeosFlowSMappingDstType - equals: - none(1): MUST be set to zero(0). - port(2): MUST be set to valid existing port group id. - mplsVc(3): MUST be set to valid existing mpls-virtual-circuit id. - - This used as index in the table.')
wwpLeosFlowSMappingCosType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=NamedValues(("none", 1), ("phb", 2), ("dscp", 3), ("ipPrec", 4), ("dot1dPri", 5), ("mplsExp", 6), ("tcpSrcPort", 7), ("tcpDstPort", 8), ("udpSrcPort", 9), ("udpDstPort", 10), ("pcp", 11), ("cvlan", 12)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingCosType.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingCosType.setDescription("This object specifies the CLASS OF SERVICE object TYPE for the entry. - - If set to 'none', the corresponding value in - wwpLeosFlowSMappingCosValue MUST be zero(0). - - If set to tcpSrcPort, tcpDstPort, udpSrcPort, or udpDstPort, - a valid, NON-ZERO tcp or udp port must be specified. - - If set to phb, a valid per-hop-behavior enumeration must be specified. - If set to dscp, a valid differentiated services code point must be specified. - If set to ipPrec, a valid ip-precedence must be specified. - If set to dot1dPri, a valid 802.1d/p priority must be specified. - If set to cvlan, a support Customer VLAN must be specified - - This used as index in the table.")
wwpLeosFlowSMappingCosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 8), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingCosValue.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingCosValue.setDescription('This object specifies the CLASS OF SERVICE object ID for the entry. - - This item must be set according to the value set - in wwpLeosFlowSMappingCosType. If wwpLeosFlowSMappingCosType - equals: - none(1): MUST be set to zero(0). - - phb(2): (1..13) - cs0(1),cs1(2),cs2(3),cs3(4),cs4(5),cs5(6),cs6(7),cs7(8), - af1(9),af2(10),af3(11),af4(12),ef(13) - - dscp(3): (0..63) - ipPrec(4): (0..7) - dot1dPri(5): (0..7) - mplsExp(6): (0..7) - - tcpSrcPort(7): (1..65535). - tcpDstPort(8): (1..65535). - udpSrcPort(9): (1..65535). - udpDstPort(10): (1..65535). - - cvlan(12): (1..4094) - - Depending on the platform, the COS type/value may be recognized for certain - frame tag-structures. For example, some platforms can recognize ipPrec, dscp - dot1dPri only for double-tagged frames. Some require untagged or single-tagged - frames to recognize TCP/UDP ports. Operator should consult the software - configuration guide for the specified product. - - This used as index in the table.')
wwpLeosFlowSMappingDstSlid = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 9), Unsigned32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowSMappingDstSlid.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingDstSlid.setDescription('The service level id to apply to the flow at the destination point. Depending on the platform this object may or may not be set to 0 while creating the service-mapping entry. The corresponding destination-port and slid must exist in the service-level table.')
wwpLeosFlowSMappingSrcSlid = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 10), Unsigned32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowSMappingSrcSlid.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingSrcSlid.setDescription('The service level ID to apply to the flow at the source-port. Depending on the platform this object may or may not be set to 0 while creating the service-mapping entry. The corresponding source-port and SLID must exist in the service-level table')
wwpLeosFlowSMappingStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 11), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatus.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'.")
wwpLeosFlowSMappingRedCurveOffset = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowSMappingRedCurveOffset.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingRedCurveOffset.setDescription('This object specifies the red curve offset to be used for given service mapping. If this object is not set then the device will choose default red curve offset which is 0.')
wwpLeosFlowSMappingCpuPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 13), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowSMappingCpuPort.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingCpuPort.setDescription('This object specifies if the CPU port is to be used as the src port.')
wwpLeosFlowSMappingStatsTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14), )
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsTable.setDescription('A Table of flow service statistics entries.')
wwpLeosFlowSMappingStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingNetType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingNetValue"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingSrcType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingSrcValue"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingDstType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingDstValue"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingCosType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingCosValue"))
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsEntry.setDescription('A flow service statistics entry in the wwpLeosFlowSMappingStatsTable.')
wwpLeosFlowSMappingStatsRxHi = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsRxHi.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsRxHi.setDescription('The number of bytes received for this flow service entry. This counter represents the upper 32 bits of the counter value')
wwpLeosFlowSMappingStatsRxLo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsRxLo.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsRxLo.setDescription('The number of bytes received for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwpLeosFlowSMappingStatsTxHi = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsTxHi.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsTxHi.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the upper 32 bits of the counter value.')
wwpLeosFlowSMappingStatsTxLo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsTxLo.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsTxLo.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwpLeosFlowSMappingStatsType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("forward", 1), ("drop", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsType.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSMappingStatsType.setDescription('Specifies the type of statistics for given entry.')
wwpLeosFlowCosSync1dToExpTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 15), )
if mibBuilder.loadTexts: wwpLeosFlowCosSync1dToExpTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSync1dToExpTable.setDescription('A table of flow cos sync 1d to exp entries. Entries cannot be created or destroyed.')
wwpLeosFlowCosSync1dToExpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 15, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowCosSync1dToExpMapFrom"))
if mibBuilder.loadTexts: wwpLeosFlowCosSync1dToExpEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSync1dToExpEntry.setDescription('A flow cos sync 1d to 1d entry in the wwpLeosFlowCosSync1dToExpTable.')
wwpLeosFlowCosSync1dToExpMapFrom = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 15, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCosSync1dToExpMapFrom.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSync1dToExpMapFrom.setDescription('This object is used as index in the table and represents cos 1d priority. Any frame coming in with this priority will be synchronized with priority specified by wwpLeosFlowCosSync1dToExpMapTo.')
wwpLeosFlowCosSync1dToExpMapTo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 15, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCosSync1dToExpMapTo.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSync1dToExpMapTo.setDescription('This object specifies the remapped exp value of the frame which ingresses with dot1d priority of wwpLeosFlowCosSync1dToExpMapFrom.')
wwpLeosFlowCosSyncExpTo1dTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 16), )
if mibBuilder.loadTexts: wwpLeosFlowCosSyncExpTo1dTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncExpTo1dTable.setDescription('A table of flow cos sync 1d to exp entries.')
wwpLeosFlowCosSyncExpTo1dEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 16, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowCosSyncExpTo1dMapFrom"))
if mibBuilder.loadTexts: wwpLeosFlowCosSyncExpTo1dEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncExpTo1dEntry.setDescription('A flow cos sync 1d to 1d entry in the wwpLeosFlowCosSyncExpTo1dTable.')
wwpLeosFlowCosSyncExpTo1dMapFrom = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 16, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCosSyncExpTo1dMapFrom.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncExpTo1dMapFrom.setDescription('This object is used as index in the table and represents cos 1d priority. Any frame coming in with this priority will be synchronized with priority specified by wwpLeosFlowCosSyncExpTo1dMapTo.')
wwpLeosFlowCosSyncExpTo1dMapTo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 16, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCosSyncExpTo1dMapTo.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncExpTo1dMapTo.setDescription('This object specifies the remapped exp value of the frame which ingresses with dot1d priority of wwpLeosFlowCosSyncExpTo1dMapFrom.')
wwpLeosFlowCosSyncIpPrecTo1dTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 17), )
if mibBuilder.loadTexts: wwpLeosFlowCosSyncIpPrecTo1dTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncIpPrecTo1dTable.setDescription('A table of flow cos sync IP precedence to 1d entries.')
wwpLeosFlowCosSyncIpPrecTo1dEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 17, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowCosSyncIpPrecTo1dMapFrom"))
if mibBuilder.loadTexts: wwpLeosFlowCosSyncIpPrecTo1dEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncIpPrecTo1dEntry.setDescription('A flow cos sync Ip Precedence to 1d entry in the wwpLeosFlowCosSyncIpPrecTo1dTable.')
wwpLeosFlowCosSyncIpPrecTo1dMapFrom = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 17, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCosSyncIpPrecTo1dMapFrom.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncIpPrecTo1dMapFrom.setDescription('This object is used as index in the table and represents ip precedence value. Any frame coming in with wwpLeosFlowCosSyncIpPrecTo1dMapFrom IP precedence will be synchronized with dot1d specified by wwpLeosFlowCosSyncIpPrecTo1dMapTo.')
wwpLeosFlowCosSyncIpPrecTo1dMapTo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 17, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCosSyncIpPrecTo1dMapTo.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncIpPrecTo1dMapTo.setDescription('This object specifies the ip precedence value to synchronize with when the frame ingresses with ip precedence value of wwpLeosFlowCosSyncIpPrecTo1dMapFrom.')
wwpLeosFlowCosSyncStdPhbTo1dTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 18), )
if mibBuilder.loadTexts: wwpLeosFlowCosSyncStdPhbTo1dTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncStdPhbTo1dTable.setDescription('A table of flow cos sync standard per hop behavior to 1d or Exp entries.')
wwpLeosFlowCosSyncStdPhbTo1dEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 18, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowCosSyncStdPhbTo1dMapFrom"))
if mibBuilder.loadTexts: wwpLeosFlowCosSyncStdPhbTo1dEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncStdPhbTo1dEntry.setDescription('A flow cos sync standard per hop behavior to 1d entry in the wwpLeosFlowCosSyncStdPhbTo1dTable.')
wwpLeosFlowCosSyncStdPhbTo1dMapFrom = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 18, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=NamedValues(("cs0", 1), ("cs1", 2), ("cs2", 3), ("cs3", 4), ("cs4", 5), ("cs5", 6), ("cs6", 7), ("cs7", 8), ("af1", 9), ("af2", 10), ("af3", 11), ("af4", 12), ("ef", 13)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCosSyncStdPhbTo1dMapFrom.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncStdPhbTo1dMapFrom.setDescription('This object is used as index in the table and represents AFx or EF value. Any frame coming in with wwpLeosFlowCosSyncStdPhbTo1dMapFrom AFx or EF value will be synchronized with dot1d priority specified by wwpLeosFlowCosSyncStdPhbTo1dMapTo. If wwpLeosFlowCosSyncStdPhbTo1dValue is not specified then no synchronization will happen.')
wwpLeosFlowCosSyncStdPhbTo1dMapTo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 18, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCosSyncStdPhbTo1dMapTo.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosSyncStdPhbTo1dMapTo.setDescription('This object specifies the AFx or EF dscp value to synchronize with when the frame ingresses with AFx or EF dscp value of wwpLeosFlowCosSyncDscpTo1dMapTo.')
wwpLeosFlowL2SacTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19), )
if mibBuilder.loadTexts: wwpLeosFlowL2SacTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacTable.setDescription('A table of flow l2 sac table.')
wwpLeosFlowL2SacEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowL2SacPortId"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowL2SacNetType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSacNetValue"))
if mibBuilder.loadTexts: wwpLeosFlowL2SacEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacEntry.setDescription('Represents each entry in the l2 Sac Table')
wwpLeosFlowL2SacPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowL2SacPortId.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacPortId.setDescription("This mib object is index in the table. If port is not involved in L2 SAC then set this value to 0. 0 represents don't care.")
wwpLeosFlowL2SacNetType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("vlan", 2), ("vsiEth", 3), ("vsiMpls", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowL2SacNetType.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacNetType.setDescription('This mib object is used as index in the table. This object specifies how wwpLeosFlowSacValue should be interpreted. If this object is set to none then the wwpLeosFlowSacValue must be set to 0.')
wwpLeosFlowSacNetValue = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowSacNetValue.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowSacNetValue.setDescription('This mib object is used as index in the table. This object is only meaningful if wwpLeosFlowL2SacNetType is not set to none.')
wwpLeosFlowL2SacLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowL2SacLimit.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacLimit.setDescription('This mib object specifies the l2 SAC limit. Device will not learn any mac greater than the limit specified by this object.')
wwpLeosFlowL2SacCurMac = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowL2SacCurMac.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacCurMac.setDescription('This mib object specifies the current mac count for the given l2 SAC entry.')
wwpLeosFlowL2SacCurFilteredMac = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowL2SacCurFilteredMac.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacCurFilteredMac.setDescription('This mib object specifies the current number of filtered macs for the given l2 SAC entry.')
wwpLeosFlowL2SacOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowL2SacOperState.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacOperState.setDescription('This mib object specifies the current operation state for the given l2 SAC entry.')
wwpLeosFlowL2SacRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 8), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowL2SacRowStatus.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacRowStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'.")
wwpLeosFlowL2SacTrapState = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowL2SacTrapState.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacTrapState.setDescription('Specifies if device should send L2 sac traps.')
wwpLeosFlowStrictQueuingState = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowStrictQueuingState.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowStrictQueuingState.setDescription('Specifies if device should adjust queues to support strict queuing.')
wwpLeosFlowBwCalcMode = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("transport", 1), ("payload", 2))).clone('transport')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowBwCalcMode.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowBwCalcMode.setDescription('Specifies if the device should operate in transport or payload mode. In transport mode the frame length of an Ethernet frame used in measuring CIR will be from IFG through FCS. In payload mode the frame length of an Ethernet frame used in measuring CIR will be from the MAC DA through FCS.')
wwpLeosFlowGlobal = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 23))
wwpLeosFlowServiceLevelFlowGroupState = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 23, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelFlowGroupState.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelFlowGroupState.setDescription('This object specifies the current state of service level flow groups.')
wwpLeosFlowServiceMappingCosRedMappingState = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 23, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disabled", 1), ("enabled", 2))).clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceMappingCosRedMappingState.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceMappingCosRedMappingState.setDescription('This object specifies the current state of service mapping dot1d to Red offset mapping table(wwpLeosFlowCos1dToRedCurveOffsetTable). If this object is set to disable then wwpLeosFlowCos1dToRedCurveOffsetTable will not be used for dot1d to red offset mapping else it will be used.')
wwpLeosFlowServiceAllRedCurveUnset = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 23, 3), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceAllRedCurveUnset.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceAllRedCurveUnset.setDescription('Setting this object to true will reset all the red curves in wwpLeosFlowServiceRedCurveTable table to factory default settings.')
wwpLeosFlowServiceRedCurveTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24), )
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveTable.setDescription('A table to configure flow service red curve table.')
wwpLeosFlowServiceRedCurveEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceRedCurveIndex"))
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveEntry.setDescription('Represents each entry in the flow service RED curve table.')
wwpLeosFlowServiceRedCurveIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(5, 64))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveIndex.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveIndex.setDescription('This object is used as index in the red curve table.')
wwpLeosFlowServiceRedCurveName = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveName.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveName.setDescription('This object specifies the name of the red curve.')
wwpLeosFlowServiceRedCurveState = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveState.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveState.setDescription('This object specifies the current state of the red curve. This object can be set to enable or disable.')
wwpLeosFlowServiceRedCurveMinThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setUnits('kbps').setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveMinThreshold.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveMinThreshold.setDescription('This represents the minimum threshold in KBytes. When the queue length associated with this service reaches this number, RED begins to drop packets matching this Service-Mappings traffic classification. The valid range is between 0 and 65535 Kbytes. The actual number varies depending on the platform.')
wwpLeosFlowServiceRedCurveMaxThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setUnits('kbps').setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveMaxThreshold.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveMaxThreshold.setDescription('This represents the maximum threshold in KBytes. When the queue length associated with this service reaches this number, RED drops packets matching this Service-Mappings traffic classification at the rate specified in wwpLeosFlowServiceRedCurveDropProbability.')
wwpLeosFlowServiceRedCurveDropProbability = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveDropProbability.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveDropProbability.setDescription('This object specifies the drop probability of a packet (matching this Service-Mapping classification) of being dropped when the queue length associated with this Service-Level reaches the value configured in wwpLeosFlowServiceMaxThreshold. The value represents a percentage (0-100).')
wwpLeosFlowServiceRedCurveUnset = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 7), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveUnset.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceRedCurveUnset.setDescription('Setting this object to true will reset the red curve settings to factory defaults.')
wwpLeosFlowCos1dToRedCurveOffsetTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 25), )
if mibBuilder.loadTexts: wwpLeosFlowCos1dToRedCurveOffsetTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCos1dToRedCurveOffsetTable.setDescription('A table of flow cos 1d to red curve offset entries.')
wwpLeosFlowCos1dToRedCurveOffsetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 25, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowCos1dToRedCurveOffset1dValue"))
if mibBuilder.loadTexts: wwpLeosFlowCos1dToRedCurveOffsetEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCos1dToRedCurveOffsetEntry.setDescription('A table entry of flow cos 1d to red curve offset.')
wwpLeosFlowCos1dToRedCurveOffset1dValue = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 25, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCos1dToRedCurveOffset1dValue.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCos1dToRedCurveOffset1dValue.setDescription('This object is used as index in the table and represents cos 1d priority. Any frame coming in with this priority will be mapped to red cos offset value specified by wwpLeosFlowCos1dToRedCurveOffsetValue.')
wwpLeosFlowCos1dToRedCurveOffsetValue = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 25, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCos1dToRedCurveOffsetValue.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCos1dToRedCurveOffsetValue.setDescription('This object specifies the red curve offset value to be used when frame which ingresses with dot1d priority specified by wwpLeosFlowCos1dToRedCurveOffset1dValue.')
wwpLeosFlowCosMapPCPTo1dTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 26), )
if mibBuilder.loadTexts: wwpLeosFlowCosMapPCPTo1dTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosMapPCPTo1dTable.setDescription('A table of flow cos mapping of PCP to .1d Pri.')
wwpLeosFlowCosMapPCPTo1dEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 26, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowCosMapPCPTo1dMapFrom"))
if mibBuilder.loadTexts: wwpLeosFlowCosMapPCPTo1dEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosMapPCPTo1dEntry.setDescription('A flow cos sync standard per hop behavior to 1d entry in the wwpLeosFlowCosSyncStdPhbTo1dTable.')
wwpLeosFlowCosMapPCPTo1dMapFrom = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 26, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCosMapPCPTo1dMapFrom.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosMapPCPTo1dMapFrom.setDescription('This object is used as index in the table and represents PCP priority. Any frame coming in with wwpLeosFlowCosMapPCPTo1dMapFrom priority will be mapped to .1d priority specified by wwpLeosFlowCosMapPCPTo1dMapTo. ')
wwpLeosFlowCosMapPCPTo1dMapTo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 26, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCosMapPCPTo1dMapTo.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosMapPCPTo1dMapTo.setDescription('This object specifies the .1d priority to map with when the frame ingresses with PCP priority specified by wwpLeosFlowCosMapPCPTo1dMapFrom.')
wwpLeosFlowCosMap1dToPCPTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 27), )
if mibBuilder.loadTexts: wwpLeosFlowCosMap1dToPCPTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosMap1dToPCPTable.setDescription('A table of flow cos mapping of PCP to .1d Pri.')
wwpLeosFlowCosMap1dToPCPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 27, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowCosMap1dToPCPMapFrom"))
if mibBuilder.loadTexts: wwpLeosFlowCosMap1dToPCPEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosMap1dToPCPEntry.setDescription('A flow cos sync standard per hop behavior to 1d entry in the wwpLeosFlowCosSyncStdPhbTo1dTable.')
wwpLeosFlowCosMap1dToPCPMapFrom = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 27, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCosMap1dToPCPMapFrom.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosMap1dToPCPMapFrom.setDescription('This object is used as index in the table and represents PCP priority. Any frame coming in with wwpLeosFlowCosMap1dToPCPMapFrom priority will be mapped to .1d priority specified by wwpLeosFlowCosMap1dToPCPMapTo. ')
wwpLeosFlowCosMap1dToPCPMapTo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 27, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCosMap1dToPCPMapTo.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCosMap1dToPCPMapTo.setDescription('This object specifies the .1d priority to map with when the frame ingresses with PCP priority specified by wwpLeosFlowCosMap1dToPCPMapFrom.')
wwpLeosFlowMacMotionEventsEnable = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowMacMotionEventsEnable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacMotionEventsEnable.setDescription('Specifies whether MAC Motion traps and syslog messages will be generated when a MAC shifts from one port/vlan to another port/vlan.')
wwpLeosFlowMacMotionEventsInterval = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(15, 300))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowMacMotionEventsInterval.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacMotionEventsInterval.setDescription('The minimum time in seconds that must elapse between each MAC Motion trap and syslog message that is generated.')
wwpLeosFlowCpuRateLimitsEnable = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitsEnable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitsEnable.setDescription('Enable is used to activate the port-associated rate-limits.')
wwpLeosFlowCpuRateLimitTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31), )
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitTable.setDescription('A table of flow rate limit entries. ')
wwpLeosFlowCpuRateLimitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowCpuRateLimitPort"))
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitEntry.setDescription('The flow service level entry in the Table.')
wwpLeosFlowCpuRateLimitPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64)))
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitPort.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitPort.setDescription('Port id used as index in the rate limit entry.')
wwpLeosFlowCpuRateLimitEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitEnable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitEnable.setDescription('Enable is used to activate the port-associated rate-limits.')
wwpLeosFlowCpuRateLimitBootp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitBootp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitBootp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitCfm = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitCfm.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitCfm.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitCft = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitCft.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitCft.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitDot1x = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitDot1x.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitDot1x.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitOam = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitOam.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitOam.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitEprArp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitEprArp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitEprArp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitIgmp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitIgmp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitIgmp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitInet = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitInet.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitInet.setDescription('Port packet-per-second rate limit for packet type .')
wwpLeosFlowCpuRateLimitLacp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitLacp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitLacp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitLldp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitLldp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitLldp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitMpls = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitMpls.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitMpls.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitMstp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitMstp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitMstp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitPeArp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitPeArp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitPeArp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitPvst = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitPvst.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitPvst.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitRstp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitRstp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitRstp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitLpbk = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitLpbk.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitLpbk.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitRmtLpbk = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitRmtLpbk.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitRmtLpbk.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitCxeRx = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitCxeRx.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitCxeRx.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitCxeTx = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitCxeTx.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitCxeTx.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitTwamp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitTwamp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitTwamp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitDflt = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitDflt.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitDflt.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitTwampRsp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitTwampRsp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitTwampRsp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitMultiCast = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitMultiCast.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitMultiCast.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitBroadCast = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitBroadCast.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitBroadCast.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitArp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitArp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitArp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitIcmp = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitIcmp.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitIcmp.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitTcpSyn = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitTcpSyn.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitTcpSyn.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitRaps = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2500))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitRaps.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitRaps.setDescription('Port packet-per-second rate limit for packet type. Not supported on 4.x')
wwpLeosFlowCpuRateLimitIpMgmt = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitIpMgmt.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitIpMgmt.setDescription('Port packet-per-second rate limit for packet type. Not supported on 4.x')
wwpLeosFlowCpuRateLimitIpControl = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitIpControl.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitIpControl.setDescription('Port packet-per-second rate limit for packet type. Not supported on 4.x')
wwpLeosFlowCpuRateLimitIpV6Mgmt = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 33), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitIpV6Mgmt.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitIpV6Mgmt.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitInet6 = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitInet6.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitInet6.setDescription('Port packet-per-second rate limit for packet type.')
wwpLeosFlowCpuRateLimitStatsTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32), )
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTable.setDescription('A table of flow rate limit statistics entries. ')
wwpLeosFlowCpuRateLimitStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowCpuRateLimitStatsPort"))
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsEntry.setDescription('The rate limit statistics entry in the Table.')
wwpLeosFlowCpuRateLimitStatsPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64)))
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsPort.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsPort.setDescription('Port id used as index in the rate limit entry.')
wwpLeosFlowCpuRateLimitStatsBootpPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 2), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsBootpPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsBootpPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsCfmPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 3), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCfmPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCfmPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsCftPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 4), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCftPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCftPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsDot1xPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 5), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsDot1xPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsDot1xPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsOamPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 6), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsOamPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsOamPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsEprArpPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 7), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsEprArpPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsEprArpPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsIgmpPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 8), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIgmpPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIgmpPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsInetPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 9), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsInetPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsInetPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsLacpPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 10), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLacpPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLacpPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsLldpPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 11), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLldpPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLldpPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsMplsPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 12), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMplsPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMplsPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsMstpPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 13), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMstpPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMstpPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsPeArpPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 14), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsPeArpPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsPeArpPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsPvstPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 15), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsPvstPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsPvstPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsRstpPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 16), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRstpPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRstpPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsLpbkPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 17), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLpbkPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLpbkPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsRmtLpbkPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 18), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRmtLpbkPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRmtLpbkPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsCxeRxPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 19), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCxeRxPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCxeRxPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsCxeTxPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 20), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCxeTxPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCxeTxPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsTwampPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 21), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTwampPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTwampPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsDfltPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 22), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsDfltPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsDfltPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsBootpDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 23), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsBootpDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsBootpDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsCfmDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 24), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCfmDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCfmDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsCftDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 25), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCftDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCftDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsDot1xDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 26), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsDot1xDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsDot1xDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsOamDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 27), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsOamDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsOamDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsEprArpDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 28), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsEprArpDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsEprArpDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsIgmpDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 29), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIgmpDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIgmpDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsInetDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 30), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsInetDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsInetDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsLacpDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 31), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLacpDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLacpDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsLldpDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 32), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLldpDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLldpDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsMplsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 33), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMplsDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMplsDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsMstpDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 34), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMstpDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMstpDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsPeArpDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 35), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsPeArpDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsPeArpDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsPvstDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 36), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsPvstDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsPvstDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsRstpDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 37), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRstpDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRstpDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsLpbkDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 38), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLpbkDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsLpbkDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsRmtLpbkDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 39), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRmtLpbkDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRmtLpbkDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsCxeRxDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 40), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCxeRxDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCxeRxDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsCxeTxDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 41), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCxeTxDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsCxeTxDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsTwampDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 42), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTwampDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTwampDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsDfltDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 43), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsDfltDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsDfltDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsTwampRspPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 44), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTwampRspPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTwampRspPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsTwampRspDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 45), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTwampRspDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTwampRspDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsMultiCastPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 46), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMultiCastPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMultiCastPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsMultiCastDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 47), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMultiCastDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsMultiCastDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsBroadCastPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 48), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsBroadCastPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsBroadCastPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsBroadCastDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 49), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsBroadCastDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsBroadCastDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsArpPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 50), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsArpPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsArpPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsArpDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 51), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsArpDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsArpDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsIcmpPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 52), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIcmpPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIcmpPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsIcmpDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 53), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIcmpDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIcmpDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsTcpSynPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 54), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTcpSynPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTcpSynPassed.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsTcpSynDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 55), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTcpSynDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsTcpSynDropped.setDescription('Port packet type counts.')
wwpLeosFlowCpuRateLimitStatsRapsPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 56), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRapsPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRapsPassed.setDescription('Port packet type counts.Not supported on 4.x')
wwpLeosFlowCpuRateLimitStatsRapsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 57), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRapsDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsRapsDropped.setDescription('Port packet type counts.Not supported on 4.x')
wwpLeosFlowCpuRateLimitStatsIpMgmtPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 58), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpMgmtPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpMgmtPassed.setDescription('Port packet type counts.Not supported on 4.x')
wwpLeosFlowCpuRateLimitStatsIpMgmtDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 59), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpMgmtDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpMgmtDropped.setDescription('Port packet type counts.Not supported on 4.x')
wwpLeosFlowCpuRateLimitStatsIpControlPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 60), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpControlPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpControlPassed.setDescription('Port packet type counts. Not supported on 4.x')
wwpLeosFlowCpuRateLimitStatsIpControlDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 61), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpControlDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpControlDropped.setDescription('Port packet type counts. Not supported on 4.x')
wwpLeosFlowCpuRateLimitStatsIpV6MgmtPassed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 62), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpV6MgmtPassed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpV6MgmtPassed.setDescription('Port packet type counts. Not supported on 4.x')
wwpLeosFlowCpuRateLimitStatsIpV6MgmtDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 63), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpV6MgmtDropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsIpV6MgmtDropped.setDescription('Port packet type counts. Not supported on 4.x')
wwpLeosFlowCpuRateLimitStatsInet6Passed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 64), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsInet6Passed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsInet6Passed.setDescription('Port packet type counts for Ipv6. Not supported on 6.x')
wwpLeosFlowCpuRateLimitStatsInet6Dropped = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 65), Gauge32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsInet6Dropped.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsInet6Dropped.setDescription('Port packet type counts for Ipv6. Not supported on 6.x')
wwpLeosFlowCpuRateLimitStatsClearTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 33), )
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsClearTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsClearTable.setDescription('A table of flow rate limit entries. ')
wwpLeosFlowCpuRateLimitStatsClearEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 33, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowCpuRateLimitStatsClearPort"))
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsClearEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsClearEntry.setDescription('The flow service level entry in the Table.')
wwpLeosFlowCpuRateLimitStatsClearPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 33, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64)))
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsClearPort.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsClearPort.setDescription('Port id used as index in the rate limit statistics clear entry.')
wwpLeosFlowCpuRateLimitStatsClear = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 33, 1, 2), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsClear.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowCpuRateLimitStatsClear.setDescription('Flag indicating whether to clear port packet statistics.')
wwpLeosFlowServiceLevelPortOverProvisionedTrap = NotificationType((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0, 1)).setObjects(("WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceLevelPort"))
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelPortOverProvisionedTrap.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelPortOverProvisionedTrap.setDescription('A wwpLeosFlowServiceLevelPortOverProvisionedTrap notification is sent when the provisioned bandwidth exceeds the total bandwidth available for a port. This situation may also occur when changes in a link aggregation group (such as deleting a port from the group) decrease the total bandwidth or at the bootTime when the link aggregation groups are formed.')
wwpLeosFlowServiceLevelPortUnderProvisionedTrap = NotificationType((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0, 2)).setObjects(("WWP-LEOS-FLOW-MIB", "wwpLeosFlowServiceLevelPort"))
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelPortUnderProvisionedTrap.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceLevelPortUnderProvisionedTrap.setDescription('A wwpLeosFlowServiceLevelPortUnderProvisionedTrap notification is sent when the previously over-provisioned situation is resolved for a port.')
wwpLeosFlowL2SacHighThreshold = NotificationType((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0, 3)).setObjects(("WWP-LEOS-FLOW-MIB", "wwpLeosFlowL2SacPortId"), ("WWP-LEOS-FLOW-MIB", "wwpLeosFlowL2SacNetType"), ("WWP-LEOS-FLOW-MIB", "wwpLeosFlowSacNetValue"))
if mibBuilder.loadTexts: wwpLeosFlowL2SacHighThreshold.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacHighThreshold.setDescription('A wwpLeosFlowL2SacHighThreshold notification is sent whenever Macs learned exceeds SAC threshold limit.')
wwpLeosFlowL2SacNormalThreshold = NotificationType((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0, 4)).setObjects(("WWP-LEOS-FLOW-MIB", "wwpLeosFlowL2SacPortId"), ("WWP-LEOS-FLOW-MIB", "wwpLeosFlowL2SacNetType"), ("WWP-LEOS-FLOW-MIB", "wwpLeosFlowSacNetValue"))
if mibBuilder.loadTexts: wwpLeosFlowL2SacNormalThreshold.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowL2SacNormalThreshold.setDescription('A wwpLeosFlowL2SacNormalThreshold notification is sent whenever Macs learned gets back to normal after exceeding the SAC threshold limit.')
wwpLeosFlowMacMotionNotification = NotificationType((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0, 5)).setObjects(("WWP-LEOS-FLOW-MIB", "wwpLeosFlowMacMotionAttrOldPort"), ("WWP-LEOS-FLOW-MIB", "wwpLeosFlowMacMotionAttrOldVlan"), ("WWP-LEOS-FLOW-MIB", "wwpLeosFlowMacMotionAttrNewPort"), ("WWP-LEOS-FLOW-MIB", "wwpLeosFlowMacMotionAttrNewVlan"), ("WWP-LEOS-FLOW-MIB", "wwpLeosFlowMacMotionAttrMacAddr"))
if mibBuilder.loadTexts: wwpLeosFlowMacMotionNotification.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacMotionNotification.setDescription('A wwpLeosFlowMacMotionNotification is sent whenever a learned MAC moves from one port/vlan to a new port/vlan, at a rate defined by wwpLeosFlowMacMotionEventsInterval. The five objects returned by this trap are the MAC address that moved, the original port/vlan the MAC was learned on, and the new port/vlan the MAC has moved to.')
wwpLeosFlowMacMotionAttrOldPort = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65536))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: wwpLeosFlowMacMotionAttrOldPort.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacMotionAttrOldPort.setDescription('The port number associated with the MAC that moved.')
wwpLeosFlowMacMotionAttrOldVlan = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: wwpLeosFlowMacMotionAttrOldVlan.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacMotionAttrOldVlan.setDescription('The vlan number associated with the MAC that moved.')
wwpLeosFlowMacMotionAttrNewPort = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65536))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: wwpLeosFlowMacMotionAttrNewPort.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacMotionAttrNewPort.setDescription('The port number associated with the MAC that moved.')
wwpLeosFlowMacMotionAttrNewVlan = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: wwpLeosFlowMacMotionAttrNewVlan.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacMotionAttrNewVlan.setDescription('The vlan number associated with the MAC that moved.')
wwpLeosFlowMacMotionAttrMacAddr = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2, 5), MacAddress()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: wwpLeosFlowMacMotionAttrMacAddr.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowMacMotionAttrMacAddr.setDescription('The MAC address that moved.')
wwpLeosFlowServiceTotalStatsTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34), )
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsTable.setDescription('A table of flow service statistics entries.')
wwpLeosFlowServiceTotalStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingNetType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingNetValue"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingSrcType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingSrcValue"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingDstType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingDstValue"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingCosType"), (0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowSMappingCosValue"))
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsEntry.setDescription('A flow service statistics entry in the wwpLeosFlowServiceTotalStatsTable.')
wwpLeosFlowServiceTotalStatsRxHi = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsRxHi.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsRxHi.setDescription('The number of bytes received for this flow service entry. This counter represents the upper 32 bits of the counter value')
wwpLeosFlowServiceTotalStatsRxLo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsRxLo.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsRxLo.setDescription('The number of bytes received for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwpLeosFlowServiceTotalStatsTxHi = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsTxHi.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsTxHi.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the upper 32 bits of the counter value.')
wwpLeosFlowServiceTotalStatsTxLo = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsTxLo.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsTxLo.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwpLeosFlowServiceTotalStatsType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("forward", 1), ("drop", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsType.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowServiceTotalStatsType.setDescription('Specifies the type of statistics for given entry.')
wwpLeosFlowPortServiceLevelTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40), )
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelTable.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelTable.setDescription('A Table of flow Port Service Level entries.')
wwpLeosFlowPortServiceLevelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1), ).setIndexNames((0, "WWP-LEOS-FLOW-MIB", "wwpLeosFlowPortServiceLevelPort"))
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelEntry.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelEntry.setDescription('A flow service statistics entry in the wwpLeosFlowPortServiceLevelTable.')
wwpLeosFlowPortServiceLevelPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelPort.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelPort.setDescription('Port id used as index in the port service level entry. ')
wwpLeosFlowPortServiceLevelMaxBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 8000000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelMaxBandwidth.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelMaxBandwidth.setDescription('Sets the max egress bandwidth on a port. ')
wwpLeosFlowPortServiceLevelQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("size0KB", 0), ("size16KB", 1), ("size32KB", 2), ("size64KB", 3), ("size128KB", 4), ("size256KB", 5), ("size512KB", 6), ("size1MB", 7), ("size2MB", 8), ("size4MB", 9)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelQueueSize.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelQueueSize.setDescription('The size of the traffic queue provisioned for this port service level entry. This may also be referred to as Latency Tolerance.')
wwpLeosFlowPortServiceLevelQueueSizeYellow = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("size16KB", 1), ("size32KB", 2), ("size64KB", 3), ("size128KB", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelQueueSizeYellow.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelQueueSizeYellow.setDescription('The size of the yellow traffic queue provisioned for this service level entry. Also known as the discard preferred queue size. ')
wwpLeosFlowPortServiceLevelQueueSizeRed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("size16KB", 1), ("size32KB", 2), ("size64KB", 3), ("size128KB", 4)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelQueueSizeRed.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelQueueSizeRed.setDescription('The size of the red traffic queue provisioned for this service level entry. Also known as the discard wanted queue size')
wwpLeosFlowPortServiceLevelFlowGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelFlowGroup.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelFlowGroup.setDescription('Service level Id direction used as index in the service level entry.')
wwpLeosFlowPortServiceLevelRedCurve = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 64))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelRedCurve.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowPortServiceLevelRedCurve.setDescription('This object is used to specifies the red curve index to be used for the given port service level. If this OID is not specified, the system will use the default value of this object which is the default port red-curve (zero). Valid values for this OID are 0, 5-64')
wwpLeosFlowBurstConfigBacklogLimit = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 41), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 131072))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigBacklogLimit.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigBacklogLimit.setDescription('Sets the queue backlog-limit')
wwpLeosFlowBurstConfigMulticastLimit = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 42), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 131072))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigMulticastLimit.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigMulticastLimit.setDescription('Sets the multicast backlog-limit')
wwpLeosFlowBurstConfigVlanPriFltrOnThld = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 43), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigVlanPriFltrOnThld.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigVlanPriFltrOnThld.setDescription('The threshold of buffer use at which Vlan Priority Filtering is activated if enabled')
wwpLeosFlowBurstConfigVlanPriFltrOffThld = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 44), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigVlanPriFltrOffThld.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigVlanPriFltrOffThld.setDescription('The threshold of buffer use at which Vlan Priority Filtering is deactivated if enabled')
wwpLeosFlowBurstConfigVlanPriFltrPriMatch = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 45), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigVlanPriFltrPriMatch.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigVlanPriFltrPriMatch.setDescription('when the Vlan Priority filter is activated all priorities less than this are dropped')
wwpLeosFlowBurstConfigVlanPriFltrState = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 46), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigVlanPriFltrState.setStatus('current')
if mibBuilder.loadTexts: wwpLeosFlowBurstConfigVlanPriFltrState.setDescription('Globaly enables or disabled the Flow Vlan Priority Filter')
mibBuilder.exportSymbols("WWP-LEOS-FLOW-MIB", wwpLeosFlowMacFindMacAddr=wwpLeosFlowMacFindMacAddr, wwpLeosFlowCpuRateLimitStatsTable=wwpLeosFlowCpuRateLimitStatsTable, wwpLeosFlowSMappingEntry=wwpLeosFlowSMappingEntry, wwpLeosFlowCpuRateLimitStatsDfltDropped=wwpLeosFlowCpuRateLimitStatsDfltDropped, wwpLeosFlowCosMap1dToPCPEntry=wwpLeosFlowCosMap1dToPCPEntry, wwpLeosFlowCpuRateLimitStatsPvstDropped=wwpLeosFlowCpuRateLimitStatsPvstDropped, wwpLeosFlowCosSyncIpPrecTo1dMapTo=wwpLeosFlowCosSyncIpPrecTo1dMapTo, wwpLeosFlowServiceMapProtocolPortNum=wwpLeosFlowServiceMapProtocolPortNum, wwpLeosFlowLearnAddr=wwpLeosFlowLearnAddr, wwpLeosFlowServiceACEntry=wwpLeosFlowServiceACEntry, wwpLeosFlowPortServiceLevelMaxBandwidth=wwpLeosFlowPortServiceLevelMaxBandwidth, wwpLeosFlowServiceACDynamicFilteredMacCount=wwpLeosFlowServiceACDynamicFilteredMacCount, wwpLeosFlowCpuRateLimitStatsClear=wwpLeosFlowCpuRateLimitStatsClear, wwpLeosFlowSMappingStatsRxLo=wwpLeosFlowSMappingStatsRxLo, wwpLeosFlowSMappingCpuPort=wwpLeosFlowSMappingCpuPort, wwpLeosFlowCpuRateLimitStatsBroadCastPassed=wwpLeosFlowCpuRateLimitStatsBroadCastPassed, wwpLeosFlowNotifAttrs=wwpLeosFlowNotifAttrs, wwpLeosFlowServiceMapSrcPri=wwpLeosFlowServiceMapSrcPri, wwpLeosFlowServiceTotalStatsEntry=wwpLeosFlowServiceTotalStatsEntry, wwpLeosFlowServiceTotalStatsTxLo=wwpLeosFlowServiceTotalStatsTxLo, wwpLeosFlowCosSync1dToExpEntry=wwpLeosFlowCosSync1dToExpEntry, wwpLeosFlowServiceStatus=wwpLeosFlowServiceStatus, wwpLeosFlowCpuRateLimitStatsMplsDropped=wwpLeosFlowCpuRateLimitStatsMplsDropped, wwpLeosFlowCpuRateLimitStatsRapsPassed=wwpLeosFlowCpuRateLimitStatsRapsPassed, wwpLeosFlowCpuRateLimitStatsIcmpPassed=wwpLeosFlowCpuRateLimitStatsIcmpPassed, wwpLeosFlowCpuRateLimitStatsLacpPassed=wwpLeosFlowCpuRateLimitStatsLacpPassed, wwpLeosFlowServiceLevelPirBW=wwpLeosFlowServiceLevelPirBW, wwpLeosFlowCosSyncIpPrecTo1dTable=wwpLeosFlowCosSyncIpPrecTo1dTable, wwpLeosFlowServiceACVid=wwpLeosFlowServiceACVid, wwpLeosFlowCpuRateLimitStatsPeArpDropped=wwpLeosFlowCpuRateLimitStatsPeArpDropped, wwpLeosFlowPortServiceLevelTable=wwpLeosFlowPortServiceLevelTable, wwpLeosFlowServiceMapRemarkPri=wwpLeosFlowServiceMapRemarkPri, wwpLeosFlowSMappingDstValue=wwpLeosFlowSMappingDstValue, wwpLeosFlowCpuRateLimitPeArp=wwpLeosFlowCpuRateLimitPeArp, wwpLeosFlowServiceStatsTable=wwpLeosFlowServiceStatsTable, wwpLeosFlowBurstConfigVlanPriFltrState=wwpLeosFlowBurstConfigVlanPriFltrState, wwpLeosFlowCpuRateLimitBootp=wwpLeosFlowCpuRateLimitBootp, wwpLeosFlowL2SacCurFilteredMac=wwpLeosFlowL2SacCurFilteredMac, wwpLeosFlowMIBCompliances=wwpLeosFlowMIBCompliances, wwpLeosFlowCosMapPCPTo1dTable=wwpLeosFlowCosMapPCPTo1dTable, wwpLeosFlowCpuRateLimitBroadCast=wwpLeosFlowCpuRateLimitBroadCast, wwpLeosFlowMacMotionEventsEnable=wwpLeosFlowMacMotionEventsEnable, wwpLeosFlowCpuRateLimitStatsClearPort=wwpLeosFlowCpuRateLimitStatsClearPort, wwpLeosFlowLearnType=wwpLeosFlowLearnType, wwpLeosFlowCosMapPCPTo1dMapFrom=wwpLeosFlowCosMapPCPTo1dMapFrom, wwpLeosFlowMacMotionAttrNewVlan=wwpLeosFlowMacMotionAttrNewVlan, wwpLeosFlowLearnSrcPri=wwpLeosFlowLearnSrcPri, wwpLeosFlowBurstConfigMulticastLimit=wwpLeosFlowBurstConfigMulticastLimit, wwpLeosFlowLearnVid=wwpLeosFlowLearnVid, wwpLeosFlowServiceLevelCirBW=wwpLeosFlowServiceLevelCirBW, wwpLeosFlowCpuRateLimitStatsDot1xPassed=wwpLeosFlowCpuRateLimitStatsDot1xPassed, wwpLeosFlowLearnDstTag=wwpLeosFlowLearnDstTag, wwpLeosFlowCpuRateLimitStatsRstpDropped=wwpLeosFlowCpuRateLimitStatsRstpDropped, wwpLeosFlowSMappingSrcType=wwpLeosFlowSMappingSrcType, wwpLeosFlowCpuRateLimitEntry=wwpLeosFlowCpuRateLimitEntry, wwpLeosFlowServiceLevelShareEligibility=wwpLeosFlowServiceLevelShareEligibility, wwpLeosFlowCpuRateLimitStatsLldpDropped=wwpLeosFlowCpuRateLimitStatsLldpDropped, wwpLeosFlowL2SacNetType=wwpLeosFlowL2SacNetType, wwpLeosFlowL2SacEntry=wwpLeosFlowL2SacEntry, wwpLeosFlowLearnTable=wwpLeosFlowLearnTable, wwpLeosFlowSacNetValue=wwpLeosFlowSacNetValue, wwpLeosFlowMacMotionAttrOldVlan=wwpLeosFlowMacMotionAttrOldVlan, wwpLeosFlowServiceRedCurveEntry=wwpLeosFlowServiceRedCurveEntry, PYSNMP_MODULE_ID=wwpLeosFlowMIB, wwpLeosFlowCpuRateLimitPvst=wwpLeosFlowCpuRateLimitPvst, wwpLeosFlowServiceLevelPortOverProvisionedTrap=wwpLeosFlowServiceLevelPortOverProvisionedTrap, wwpLeosFlowMacMotionAttrOldPort=wwpLeosFlowMacMotionAttrOldPort, wwpLeosFlowServiceLevelQueueSizeYellow=wwpLeosFlowServiceLevelQueueSizeYellow, wwpLeosFlowMacFindPort=wwpLeosFlowMacFindPort, wwpLeosFlowServiceACPortId=wwpLeosFlowServiceACPortId, wwpLeosFlowBurstConfigVlanPriFltrPriMatch=wwpLeosFlowBurstConfigVlanPriFltrPriMatch, wwpLeosFlowServiceRedCurveTable=wwpLeosFlowServiceRedCurveTable, wwpLeosFlowCos1dToRedCurveOffset1dValue=wwpLeosFlowCos1dToRedCurveOffset1dValue, wwpLeosFlowCpuRateLimitStatsLldpPassed=wwpLeosFlowCpuRateLimitStatsLldpPassed, wwpLeosFlowServiceLevelQueueSize=wwpLeosFlowServiceLevelQueueSize, wwpLeosFlowCpuRateLimitStatsEprArpPassed=wwpLeosFlowCpuRateLimitStatsEprArpPassed, wwpLeosFlowLearnAddrType=wwpLeosFlowLearnAddrType, wwpLeosFlowServiceLevelPort=wwpLeosFlowServiceLevelPort, wwpLeosFlowLearnIsFiltered=wwpLeosFlowLearnIsFiltered, wwpLeosFlowServiceTotalStatsType=wwpLeosFlowServiceTotalStatsType, wwpLeosFlowPortServiceLevelFlowGroup=wwpLeosFlowPortServiceLevelFlowGroup, wwpLeosFlow=wwpLeosFlow, wwpLeosFlowCosMap1dToPCPMapTo=wwpLeosFlowCosMap1dToPCPMapTo, wwpLeosFlowServiceMappingCosRedMappingState=wwpLeosFlowServiceMappingCosRedMappingState, wwpLeosFlowCosSyncIpPrecTo1dMapFrom=wwpLeosFlowCosSyncIpPrecTo1dMapFrom, wwpLeosFlowCpuRateLimitCxeTx=wwpLeosFlowCpuRateLimitCxeTx, wwpLeosFlowCpuRateLimitStatsMplsPassed=wwpLeosFlowCpuRateLimitStatsMplsPassed, wwpLeosFlowSMappingDstType=wwpLeosFlowSMappingDstType, wwpLeosFlowSMappingSrcValue=wwpLeosFlowSMappingSrcValue, wwpLeosFlowCpuRateLimitOam=wwpLeosFlowCpuRateLimitOam, wwpLeosFlowGlobal=wwpLeosFlowGlobal, wwpLeosFlowCpuRateLimitStatsDot1xDropped=wwpLeosFlowCpuRateLimitStatsDot1xDropped, wwpLeosFlowCpuRateLimitInet=wwpLeosFlowCpuRateLimitInet, wwpLeosFlowSMStatus=wwpLeosFlowSMStatus, wwpLeosFlowServiceRedCurveDropProbability=wwpLeosFlowServiceRedCurveDropProbability, wwpLeosFlowLearnSrcPort=wwpLeosFlowLearnSrcPort, wwpLeosFlowPortServiceLevelQueueSize=wwpLeosFlowPortServiceLevelQueueSize, wwpLeosFlowCpuRateLimitStatsTcpSynDropped=wwpLeosFlowCpuRateLimitStatsTcpSynDropped, wwpLeosFlowCpuRateLimitCft=wwpLeosFlowCpuRateLimitCft, wwpLeosFlowServiceTotalStatsTable=wwpLeosFlowServiceTotalStatsTable, wwpLeosFlowLearnSrcTag=wwpLeosFlowLearnSrcTag, wwpLeosFlowCos1dToRedCurveOffsetTable=wwpLeosFlowCos1dToRedCurveOffsetTable, wwpLeosFlowPortServiceLevelQueueSizeYellow=wwpLeosFlowPortServiceLevelQueueSizeYellow, wwpLeosFlowCpuRateLimitStatsIpControlPassed=wwpLeosFlowCpuRateLimitStatsIpControlPassed, wwpLeosFlowL2SacCurMac=wwpLeosFlowL2SacCurMac, wwpLeosFlowCpuRateLimitArp=wwpLeosFlowCpuRateLimitArp, wwpLeosFlowCpuRateLimitStatsTwampDropped=wwpLeosFlowCpuRateLimitStatsTwampDropped, wwpLeosFlowServiceLevelPortUnderProvisionedTrap=wwpLeosFlowServiceLevelPortUnderProvisionedTrap, wwpLeosFlowMIBConformance=wwpLeosFlowMIBConformance, wwpLeosFlowServiceACForwardLearning=wwpLeosFlowServiceACForwardLearning, wwpLeosFlowServiceRedCurveIndex=wwpLeosFlowServiceRedCurveIndex, wwpLeosFlowSMappingStatsRxHi=wwpLeosFlowSMappingStatsRxHi, wwpLeosFlowCpuRateLimitStatsArpDropped=wwpLeosFlowCpuRateLimitStatsArpDropped, wwpLeosFlowPortServiceLevelEntry=wwpLeosFlowPortServiceLevelEntry, PriorityMapping=PriorityMapping, wwpLeosFlowServiceLevelId=wwpLeosFlowServiceLevelId, wwpLeosFlowL2SacHighThreshold=wwpLeosFlowL2SacHighThreshold, wwpLeosFlowServiceMapSrcSlidId=wwpLeosFlowServiceMapSrcSlidId, wwpLeosFlowCpuRateLimitStatsCxeTxPassed=wwpLeosFlowCpuRateLimitStatsCxeTxPassed, wwpLeosFlowServiceACStatus=wwpLeosFlowServiceACStatus, wwpLeosFlowNotifications=wwpLeosFlowNotifications, wwpLeosFlowL2SacRowStatus=wwpLeosFlowL2SacRowStatus, wwpLeosFlowCpuRateLimitStatsIpControlDropped=wwpLeosFlowCpuRateLimitStatsIpControlDropped, wwpLeosFlowBwCalcMode=wwpLeosFlowBwCalcMode, wwpLeosFlowCpuRateLimitStatsEprArpDropped=wwpLeosFlowCpuRateLimitStatsEprArpDropped, wwpLeosFlowCpuRateLimitStatsLpbkDropped=wwpLeosFlowCpuRateLimitStatsLpbkDropped, wwpLeosFlowServiceLevelDropEligibility=wwpLeosFlowServiceLevelDropEligibility, wwpLeosFlowSMappingStatus=wwpLeosFlowSMappingStatus, wwpLeosFlowCpuRateLimitStatsInet6Passed=wwpLeosFlowCpuRateLimitStatsInet6Passed, wwpLeosFlowCpuRateLimitStatsCftDropped=wwpLeosFlowCpuRateLimitStatsCftDropped, wwpLeosFlowStaticMacTable=wwpLeosFlowStaticMacTable, wwpLeosFlowCpuRateLimitCxeRx=wwpLeosFlowCpuRateLimitCxeRx, wwpLeosFlowCpuRateLimitEnable=wwpLeosFlowCpuRateLimitEnable, wwpLeosFlowSMappingSrcSlid=wwpLeosFlowSMappingSrcSlid, wwpLeosFlowSMPortId=wwpLeosFlowSMPortId, wwpLeosFlowCpuRateLimitStatsBootpPassed=wwpLeosFlowCpuRateLimitStatsBootpPassed, wwpLeosFlowCosSyncExpTo1dMapTo=wwpLeosFlowCosSyncExpTo1dMapTo, wwpLeosFlowSMMacAddr=wwpLeosFlowSMMacAddr, wwpLeosFlowCpuRateLimitRmtLpbk=wwpLeosFlowCpuRateLimitRmtLpbk, wwpLeosFlowCpuRateLimitStatsLacpDropped=wwpLeosFlowCpuRateLimitStatsLacpDropped, wwpLeosFlowCosSyncExpTo1dEntry=wwpLeosFlowCosSyncExpTo1dEntry, wwpLeosFlowServiceStatsEntry=wwpLeosFlowServiceStatsEntry, wwpLeosFlowPortServiceLevelPort=wwpLeosFlowPortServiceLevelPort, wwpLeosFlowCpuRateLimitRaps=wwpLeosFlowCpuRateLimitRaps, wwpLeosFlowMIBObjects=wwpLeosFlowMIBObjects, wwpLeosFlowCosSyncStdPhbTo1dTable=wwpLeosFlowCosSyncStdPhbTo1dTable, wwpLeosFlowServiceTotalStatsRxLo=wwpLeosFlowServiceTotalStatsRxLo, wwpLeosFlowNotificationPrefix=wwpLeosFlowNotificationPrefix, wwpLeosFlowMacFindTable=wwpLeosFlowMacFindTable, wwpLeosFlowL2SacNormalThreshold=wwpLeosFlowL2SacNormalThreshold, wwpLeosFlowSMappingNetType=wwpLeosFlowSMappingNetType, wwpLeosFlowL2SacTable=wwpLeosFlowL2SacTable, wwpLeosFlowCpuRateLimitStatsCxeTxDropped=wwpLeosFlowCpuRateLimitStatsCxeTxDropped, wwpLeosFlowServiceTotalStatsTxHi=wwpLeosFlowServiceTotalStatsTxHi, wwpLeosFlowServiceRedCurveMinThreshold=wwpLeosFlowServiceRedCurveMinThreshold, wwpLeosFlowCpuRateLimitIgmp=wwpLeosFlowCpuRateLimitIgmp, wwpLeosFlowServiceMapVid=wwpLeosFlowServiceMapVid, wwpLeosFlowCosSync1dToExpMapFrom=wwpLeosFlowCosSync1dToExpMapFrom, wwpLeosFlowBurstConfigVlanPriFltrOnThld=wwpLeosFlowBurstConfigVlanPriFltrOnThld, wwpLeosFlowCosSyncIpPrecTo1dEntry=wwpLeosFlowCosSyncIpPrecTo1dEntry, wwpLeosFlowCpuRateLimitStatsBootpDropped=wwpLeosFlowCpuRateLimitStatsBootpDropped, wwpLeosFlowCpuRateLimitStatsIgmpPassed=wwpLeosFlowCpuRateLimitStatsIgmpPassed, wwpLeosFlowCpuRateLimitStatsMultiCastPassed=wwpLeosFlowCpuRateLimitStatsMultiCastPassed, wwpLeosFlowServiceMappingTable=wwpLeosFlowServiceMappingTable, wwpLeosFlowSMappingStatsEntry=wwpLeosFlowSMappingStatsEntry, wwpLeosFlowPortServiceLevelRedCurve=wwpLeosFlowPortServiceLevelRedCurve, wwpLeosFlowCpuRateLimitLldp=wwpLeosFlowCpuRateLimitLldp, wwpLeosFlowMacMotionAttrNewPort=wwpLeosFlowMacMotionAttrNewPort, wwpLeosFlowServiceACMaxDynamicMacCount=wwpLeosFlowServiceACMaxDynamicMacCount, wwpLeosFlowCpuRateLimitTwamp=wwpLeosFlowCpuRateLimitTwamp, wwpLeosFlowServiceMapDstSlidId=wwpLeosFlowServiceMapDstSlidId, wwpLeosFlowServiceLevelPriority=wwpLeosFlowServiceLevelPriority, wwpLeosFlowCpuRateLimitsEnable=wwpLeosFlowCpuRateLimitsEnable, wwpLeosFlowServiceMapDstPort=wwpLeosFlowServiceMapDstPort, wwpLeosFlowCpuRateLimitStatsRapsDropped=wwpLeosFlowCpuRateLimitStatsRapsDropped, wwpLeosFlowCpuRateLimitStatsPort=wwpLeosFlowCpuRateLimitStatsPort, wwpLeosFlowCpuRateLimitStatsPvstPassed=wwpLeosFlowCpuRateLimitStatsPvstPassed, wwpLeosFlowCpuRateLimitCfm=wwpLeosFlowCpuRateLimitCfm, wwpLeosFlowServiceLevelFlowGroupState=wwpLeosFlowServiceLevelFlowGroupState, wwpLeosFlowCpuRateLimitStatsDfltPassed=wwpLeosFlowCpuRateLimitStatsDfltPassed, wwpLeosFlowSMappingTable=wwpLeosFlowSMappingTable, wwpLeosFlowCpuRateLimitStatsInet6Dropped=wwpLeosFlowCpuRateLimitStatsInet6Dropped, wwpLeosFlowCpuRateLimitStatsMultiCastDropped=wwpLeosFlowCpuRateLimitStatsMultiCastDropped, wwpLeosFlowCpuRateLimitStatsCfmDropped=wwpLeosFlowCpuRateLimitStatsCfmDropped, wwpLeosFlowStrictQueuingState=wwpLeosFlowStrictQueuingState, wwpLeosFlowCpuRateLimitStatsTwampPassed=wwpLeosFlowCpuRateLimitStatsTwampPassed, wwpLeosFlowServiceLevelTable=wwpLeosFlowServiceLevelTable, wwpLeosFlowCpuRateLimitDot1x=wwpLeosFlowCpuRateLimitDot1x, wwpLeosFlowServiceRedCurveMaxThreshold=wwpLeosFlowServiceRedCurveMaxThreshold, wwpLeosFlowServiceStatsTxLo=wwpLeosFlowServiceStatsTxLo, wwpLeosFlowCpuRateLimitStatsCxeRxPassed=wwpLeosFlowCpuRateLimitStatsCxeRxPassed, wwpLeosFlowCpuRateLimitStatsIpV6MgmtDropped=wwpLeosFlowCpuRateLimitStatsIpV6MgmtDropped, wwpLeosFlowPriRemapTable=wwpLeosFlowPriRemapTable, wwpLeosFlowCpuRateLimitStatsRmtLpbkPassed=wwpLeosFlowCpuRateLimitStatsRmtLpbkPassed, wwpLeosFlowSMappingDstSlid=wwpLeosFlowSMappingDstSlid, wwpLeosFlowCos1dToRedCurveOffsetValue=wwpLeosFlowCos1dToRedCurveOffsetValue, wwpLeosFlowServiceLevelName=wwpLeosFlowServiceLevelName, wwpLeosFlowSMappingCosType=wwpLeosFlowSMappingCosType, wwpLeosFlowCosSyncStdPhbTo1dMapTo=wwpLeosFlowCosSyncStdPhbTo1dMapTo, wwpLeosFlowServiceMapStatus=wwpLeosFlowServiceMapStatus, wwpLeosFlowServiceLevelQueueSizeRed=wwpLeosFlowServiceLevelQueueSizeRed, wwpLeosFlowCpuRateLimitStatsIgmpDropped=wwpLeosFlowCpuRateLimitStatsIgmpDropped, wwpLeosFlowCpuRateLimitLpbk=wwpLeosFlowCpuRateLimitLpbk, wwpLeosFlowCosSyncExpTo1dTable=wwpLeosFlowCosSyncExpTo1dTable, wwpLeosFlowServiceAllRedCurveUnset=wwpLeosFlowServiceAllRedCurveUnset, wwpLeosFlowMacMotionNotification=wwpLeosFlowMacMotionNotification, wwpLeosFlowServiceRedCurveState=wwpLeosFlowServiceRedCurveState, wwpLeosFlowServiceStatsRxHi=wwpLeosFlowServiceStatsRxHi, wwpLeosFlowCosSyncStdPhbTo1dEntry=wwpLeosFlowCosSyncStdPhbTo1dEntry, wwpLeosFlowCpuRateLimitStatsRmtLpbkDropped=wwpLeosFlowCpuRateLimitStatsRmtLpbkDropped, wwpLeosFlowCpuRateLimitStatsIpMgmtPassed=wwpLeosFlowCpuRateLimitStatsIpMgmtPassed, wwpLeosFlowPriRemapEntry=wwpLeosFlowPriRemapEntry, wwpLeosFlowCpuRateLimitRstp=wwpLeosFlowCpuRateLimitRstp, wwpLeosFlowCpuRateLimitStatsIcmpDropped=wwpLeosFlowCpuRateLimitStatsIcmpDropped, wwpLeosFlowCpuRateLimitPort=wwpLeosFlowCpuRateLimitPort, wwpLeosFlowSMappingStatsTxHi=wwpLeosFlowSMappingStatsTxHi, wwpLeosFlowMIBGroups=wwpLeosFlowMIBGroups, wwpLeosFlowUserPri=wwpLeosFlowUserPri, wwpLeosFlowServiceMapSrcPort=wwpLeosFlowServiceMapSrcPort, wwpLeosFlowStaticMacEntry=wwpLeosFlowStaticMacEntry, wwpLeosFlowServiceStatsRxLo=wwpLeosFlowServiceStatsRxLo, wwpLeosFlowMIB=wwpLeosFlowMIB, wwpLeosFlowCpuRateLimitMpls=wwpLeosFlowCpuRateLimitMpls, wwpLeosFlowCpuRateLimitStatsClearEntry=wwpLeosFlowCpuRateLimitStatsClearEntry, wwpLeosFlowCpuRateLimitStatsTwampRspDropped=wwpLeosFlowCpuRateLimitStatsTwampRspDropped, wwpLeosFlowL2SacPortId=wwpLeosFlowL2SacPortId, wwpLeosFlowCpuRateLimitStatsIpMgmtDropped=wwpLeosFlowCpuRateLimitStatsIpMgmtDropped, wwpLeosFlowSMTag=wwpLeosFlowSMTag, wwpLeosFlowMacMotionAttrMacAddr=wwpLeosFlowMacMotionAttrMacAddr, wwpLeosFlowServiceLevelDirection=wwpLeosFlowServiceLevelDirection, wwpLeosFlowLearnEntry=wwpLeosFlowLearnEntry, wwpLeosFlowBurstConfigBacklogLimit=wwpLeosFlowBurstConfigBacklogLimit, wwpLeosFlowCpuRateLimitMultiCast=wwpLeosFlowCpuRateLimitMultiCast, wwpLeosFlowCosMap1dToPCPTable=wwpLeosFlowCosMap1dToPCPTable, wwpLeosFlowCosMapPCPTo1dEntry=wwpLeosFlowCosMapPCPTo1dEntry, wwpLeosFlowCpuRateLimitStatsEntry=wwpLeosFlowCpuRateLimitStatsEntry, wwpLeosFlowCosSync1dToExpTable=wwpLeosFlowCosSync1dToExpTable, wwpLeosFlowMacFindVlanId=wwpLeosFlowMacFindVlanId, wwpLeosFlowMacMotionEventsInterval=wwpLeosFlowMacMotionEventsInterval, wwpLeosFlowCpuRateLimitStatsLpbkPassed=wwpLeosFlowCpuRateLimitStatsLpbkPassed, wwpLeosFlowCpuRateLimitStatsRstpPassed=wwpLeosFlowCpuRateLimitStatsRstpPassed, wwpLeosFlowSMappingNetValue=wwpLeosFlowSMappingNetValue, wwpLeosFlowAgeTime=wwpLeosFlowAgeTime, wwpLeosFlowSMappingStatsTxLo=wwpLeosFlowSMappingStatsTxLo, wwpLeosFlowCpuRateLimitStatsMstpDropped=wwpLeosFlowCpuRateLimitStatsMstpDropped, wwpLeosFlowSMappingCosValue=wwpLeosFlowSMappingCosValue, wwpLeosFlowCpuRateLimitIpControl=wwpLeosFlowCpuRateLimitIpControl, wwpLeosFlowSMVid=wwpLeosFlowSMVid, wwpLeosFlowMacFindVlanTag=wwpLeosFlowMacFindVlanTag, wwpLeosFlowServiceStatsTxHi=wwpLeosFlowServiceStatsTxHi, wwpLeosFlowServiceLevelEntry=wwpLeosFlowServiceLevelEntry, wwpLeosFlowCosSyncStdPhbTo1dMapFrom=wwpLeosFlowCosSyncStdPhbTo1dMapFrom, wwpLeosFlowCpuRateLimitStatsInetDropped=wwpLeosFlowCpuRateLimitStatsInetDropped, wwpLeosFlowCosSyncExpTo1dMapFrom=wwpLeosFlowCosSyncExpTo1dMapFrom)
mibBuilder.exportSymbols("WWP-LEOS-FLOW-MIB", wwpLeosFlowCpuRateLimitDflt=wwpLeosFlowCpuRateLimitDflt, wwpLeosFlowCpuRateLimitInet6=wwpLeosFlowCpuRateLimitInet6, wwpLeosFlowSMappingStatsTable=wwpLeosFlowSMappingStatsTable, wwpLeosFlowCpuRateLimitLacp=wwpLeosFlowCpuRateLimitLacp, wwpLeosFlowCpuRateLimitTwampRsp=wwpLeosFlowCpuRateLimitTwampRsp, wwpLeosFlowCpuRateLimitStatsTwampRspPassed=wwpLeosFlowCpuRateLimitStatsTwampRspPassed, wwpLeosFlowServiceStatsType=wwpLeosFlowServiceStatsType, wwpLeosFlowSMappingStatsType=wwpLeosFlowSMappingStatsType, wwpLeosFlowCpuRateLimitStatsOamPassed=wwpLeosFlowCpuRateLimitStatsOamPassed, wwpLeosFlowCos1dToRedCurveOffsetEntry=wwpLeosFlowCos1dToRedCurveOffsetEntry, wwpLeosFlowL2SacTrapState=wwpLeosFlowL2SacTrapState, wwpLeosFlowCpuRateLimitIpMgmt=wwpLeosFlowCpuRateLimitIpMgmt, wwpLeosFlowCosMapPCPTo1dMapTo=wwpLeosFlowCosMapPCPTo1dMapTo, wwpLeosFlowCpuRateLimitTable=wwpLeosFlowCpuRateLimitTable, wwpLeosFlowCpuRateLimitIpV6Mgmt=wwpLeosFlowCpuRateLimitIpV6Mgmt, wwpLeosFlowServiceMappingEntry=wwpLeosFlowServiceMappingEntry, wwpLeosFlowL2SacLimit=wwpLeosFlowL2SacLimit, wwpLeosFlowServiceLevelFlowGroup=wwpLeosFlowServiceLevelFlowGroup, wwpLeosFlowMacFindEntry=wwpLeosFlowMacFindEntry, wwpLeosFlowCpuRateLimitStatsInetPassed=wwpLeosFlowCpuRateLimitStatsInetPassed, wwpLeosFlowServiceMapSrcTag=wwpLeosFlowServiceMapSrcTag, wwpLeosFlowCosSync1dToExpMapTo=wwpLeosFlowCosSync1dToExpMapTo, wwpLeosFlowLearnDstPort=wwpLeosFlowLearnDstPort, wwpLeosFlowCpuRateLimitStatsPeArpPassed=wwpLeosFlowCpuRateLimitStatsPeArpPassed, wwpLeosFlowCpuRateLimitStatsBroadCastDropped=wwpLeosFlowCpuRateLimitStatsBroadCastDropped, wwpLeosFlowSMappingRedCurveOffset=wwpLeosFlowSMappingRedCurveOffset, wwpLeosFlowAgeTimeState=wwpLeosFlowAgeTimeState, wwpLeosFlowCpuRateLimitStatsClearTable=wwpLeosFlowCpuRateLimitStatsClearTable, wwpLeosFlowServiceACTable=wwpLeosFlowServiceACTable, wwpLeosFlowCpuRateLimitTcpSyn=wwpLeosFlowCpuRateLimitTcpSyn, wwpLeosFlowPortServiceLevelQueueSizeRed=wwpLeosFlowPortServiceLevelQueueSizeRed, wwpLeosFlowCpuRateLimitEprArp=wwpLeosFlowCpuRateLimitEprArp, wwpLeosFlowCpuRateLimitStatsArpPassed=wwpLeosFlowCpuRateLimitStatsArpPassed, wwpLeosFlowServiceMapProtocolType=wwpLeosFlowServiceMapProtocolType, wwpLeosFlowRemappedPri=wwpLeosFlowRemappedPri, wwpLeosFlowBurstConfigVlanPriFltrOffThld=wwpLeosFlowBurstConfigVlanPriFltrOffThld, wwpLeosFlowServiceMapPriRemarkStatus=wwpLeosFlowServiceMapPriRemarkStatus, wwpLeosFlowServiceRedCurveId=wwpLeosFlowServiceRedCurveId, wwpLeosFlowServiceRedCurveUnset=wwpLeosFlowServiceRedCurveUnset, wwpLeosFlowCpuRateLimitIcmp=wwpLeosFlowCpuRateLimitIcmp, wwpLeosFlowCpuRateLimitStatsCxeRxDropped=wwpLeosFlowCpuRateLimitStatsCxeRxDropped, wwpLeosFlowCpuRateLimitStatsIpV6MgmtPassed=wwpLeosFlowCpuRateLimitStatsIpV6MgmtPassed, wwpLeosFlowCosMap1dToPCPMapFrom=wwpLeosFlowCosMap1dToPCPMapFrom, wwpLeosFlowServiceACDynamicNonFilteredMacCount=wwpLeosFlowServiceACDynamicNonFilteredMacCount, wwpLeosFlowServiceTotalStatsRxHi=wwpLeosFlowServiceTotalStatsRxHi, wwpLeosFlowCpuRateLimitMstp=wwpLeosFlowCpuRateLimitMstp, wwpLeosFlowL2SacOperState=wwpLeosFlowL2SacOperState, wwpLeosFlowServiceRedCurveName=wwpLeosFlowServiceRedCurveName, wwpLeosFlowServiceMapDstTag=wwpLeosFlowServiceMapDstTag, wwpLeosFlowCpuRateLimitStatsCfmPassed=wwpLeosFlowCpuRateLimitStatsCfmPassed, wwpLeosFlowCpuRateLimitStatsOamDropped=wwpLeosFlowCpuRateLimitStatsOamDropped, wwpLeosFlowCpuRateLimitStatsMstpPassed=wwpLeosFlowCpuRateLimitStatsMstpPassed, wwpLeosFlowCpuRateLimitStatsTcpSynPassed=wwpLeosFlowCpuRateLimitStatsTcpSynPassed, wwpLeosFlowCpuRateLimitStatsCftPassed=wwpLeosFlowCpuRateLimitStatsCftPassed)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_size_constraint, constraints_intersection, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(notification_type, time_ticks, mib_identifier, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, gauge32, counter32, ip_address, counter64, bits, unsigned32, module_identity, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'TimeTicks', 'MibIdentifier', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'Gauge32', 'Counter32', 'IpAddress', 'Counter64', 'Bits', 'Unsigned32', 'ModuleIdentity', 'iso')
(truth_value, row_status, mac_address, textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'RowStatus', 'MacAddress', 'TextualConvention', 'DisplayString')
(wwp_modules_leos,) = mibBuilder.importSymbols('WWP-SMI', 'wwpModulesLeos')
wwp_leos_flow_mib = module_identity((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6))
wwpLeosFlowMIB.setRevisions(('2012-03-29 00:00', '2011-02-02 00:00', '2008-06-16 17:00', '2001-04-03 17:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
wwpLeosFlowMIB.setRevisionsDescriptions(('Added new objects to support Ipv6 rate limits wwpLeosFlowCpuRateLimitIpV6Mgmt, wwpLeosFlowCpuRateLimitStatsIpV6MgmtPassed, wwpLeosFlowCpuRateLimitStatsIpV6MgmtDropped, wwpLeosFlowCpuRateLimitInet6, wwpLeosFlowCpuRateLimitStatsInet6Passed, wwpLeosFlowCpuRateLimitStatsInet6Dropped .', 'Added RAPS Frame Type into CpuRateLimit related MIB objects', 'Added the Port Service Level table and the ability to set secondary queue sizes for service levels.', 'Initial creation.'))
if mibBuilder.loadTexts:
wwpLeosFlowMIB.setLastUpdated('201203290000Z')
if mibBuilder.loadTexts:
wwpLeosFlowMIB.setOrganization('Ciena, Inc')
if mibBuilder.loadTexts:
wwpLeosFlowMIB.setContactInfo('Mib Meister 115 North Sullivan Road Spokane Valley, WA 99037 USA Phone: +1 509 242 9000 Email: support@ciena.com')
if mibBuilder.loadTexts:
wwpLeosFlowMIB.setDescription('MIB module for the WWP FLOW specific information. This MIB module is common between 4.x and 6.x platforms.')
class Prioritymapping(TextualConvention, OctetString):
description = 'Represents the priority mapping. Octets in this object represents the remarked priority values for priority 0-7 respectively.'
status = 'current'
display_hint = '1x:'
subtype_spec = OctetString.subtypeSpec + value_size_constraint(8, 8)
fixed_length = 8
wwp_leos_flow_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1))
wwp_leos_flow = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1))
wwp_leos_flow_notif_attrs = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2))
wwp_leos_flow_notification_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2))
wwp_leos_flow_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0))
wwp_leos_flow_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 3))
wwp_leos_flow_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 3, 1))
wwp_leos_flow_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 3, 2))
wwp_leos_flow_age_time = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(10, 1000000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowAgeTime.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowAgeTime.setDescription('Specifies the age time after which mac entries will be flushed out.')
wwp_leos_flow_age_time_state = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowAgeTimeState.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowAgeTimeState.setDescription('Specifies if age time is enabled or disabled.')
wwp_leos_flow_service_level_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3))
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelTable.setDescription('A table of flow service level entries. Following criteria must be met while creating entry in the table. - All indexes must be specified - wwpLeosFlowServiceLevelCirBW and wwpLeosFlowServiceLevelPirBW must be set. - wwpLeosFlowServiceLevelStatus must be set to create and go.')
wwp_leos_flow_service_level_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceLevelPort'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceLevelId'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceLevelDirection'))
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelEntry.setDescription('The flow service level entry in the Table.')
wwp_leos_flow_service_level_direction = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ingress', 1), ('egress', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelDirection.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelDirection.setDescription('Service level Id direction used as index in the service level entry.')
wwp_leos_flow_service_level_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelPort.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelPort.setDescription('Port id used as index in the service level entry. If it is intended to not specify the port id in the index, this value should be set to 0.')
wwp_leos_flow_service_level_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelId.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelId.setDescription('Service level Id used as index in the service level entry.')
wwp_leos_flow_service_level_name = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 4), display_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelName.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelName.setDescription('The flow service level name associated with this service level.')
wwp_leos_flow_service_level_priority = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelPriority.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelPriority.setDescription('The internal traffic-queue priority. This may also be used as a weighting factor.')
wwp_leos_flow_service_level_queue_size = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 6), 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(('size0KB', 0), ('small', 1), ('medium', 2), ('large', 3), ('jumbo', 4), ('x5', 5), ('x6', 6), ('x7', 7), ('x8', 8), ('size16KB', 9), ('size32KB', 10), ('size64KB', 11), ('size128KB', 12), ('size256KB', 13), ('size512KB', 14), ('size1MB', 15), ('size2MB', 16), ('size4MB', 17)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelQueueSize.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelQueueSize.setDescription('The size of the traffic queue provisioned for this service level entry. This may also be referred to as Latency Tolerance.')
wwp_leos_flow_service_level_drop_eligibility = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelDropEligibility.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelDropEligibility.setDescription('This item is used to indicate whether or not frames should be dropped or queued when frame buffer resources become scarce.')
wwp_leos_flow_service_level_share_eligibility = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelShareEligibility.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelShareEligibility.setDescription('This item is used to indicate whether or not a service level may be shared among entries in the flow service-mapping table.')
wwp_leos_flow_service_level_cir_bw = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelCirBW.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelCirBW.setDescription('The committed information rate (bandwidth) in Kbps associated with this service level entry.')
wwp_leos_flow_service_level_pir_bw = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelPirBW.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelPirBW.setDescription('The peak information rate (maximum bandwidth) in Kbps associated with this service level entry.')
wwp_leos_flow_service_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 11), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatus.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'. In particular, a newly created row cannot be made active until one of the following instances have been set: - wwpLeosFlowServiceLevelCirBW - wwpLeosFlowServiceLevelPirBW.")
wwp_leos_flow_service_red_curve_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 12), unsigned32().subtype(subtypeSpec=value_range_constraint(5, 64))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveId.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveId.setDescription('This object is used to specifies the red curve index to be used for the given service level. If this OID is not specified, the system will use the default value of this object which is dependent on the queue size wwpLeosFlowServiceLevelQueueSize')
wwp_leos_flow_service_level_queue_size_yellow = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('size16KB', 1), ('size32KB', 2), ('size64KB', 3), ('size128KB', 4)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelQueueSizeYellow.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelQueueSizeYellow.setDescription('The size of the yellow traffic queue provisioned for this service level entry. Also known as the discard preferred queue size. ')
wwp_leos_flow_service_level_queue_size_red = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('size16KB', 1), ('size32KB', 2), ('size64KB', 3), ('size128KB', 4)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelQueueSizeRed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelQueueSizeRed.setDescription('The size of the red traffic queue provisioned for this service level entry. Also known as the discard wanted queue size')
wwp_leos_flow_service_level_flow_group = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 3, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelFlowGroup.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelFlowGroup.setDescription('Service level Id direction used as index in the service level entry.')
wwp_leos_flow_service_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4))
if mibBuilder.loadTexts:
wwpLeosFlowServiceMappingTable.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMappingTable.setDescription(" A service mapping entry in the service-mapping table. To create entry in this table following criteria must be met and SNMP multiple set operation must be used to create entries. - wwpLeosFlowServiceMapDstSlidId must be set to valid SLID and this slid must exist on the device. Use wwpLeosFlowServiceLevelTable to create slid. - All indexes must be specified with exception to following objects. - wwpLeosFlowServiceMappingVid must be set to 0 if don't care else set it to some valid value. VID must exist on the device. - wwpLeosFlowServiceMappingSrcPort must be set to 0 if don't care else set it to some valid value. - wwpLeosFlowServiceMappingSrcTag must be set to 0 if don't care else set it to some valid value. - wwpLeosFlowServiceMappingDstPort must be set to 0 if don't care else set it to some valid value. - wwpLeosFlowServiceMappingDstTag must be set to 0 if don't care else set it to some valid value. - wwpLeosFlowServiceMappingProtocolType must be set to 1 if don't care else set it to some valid value. - wwpLeosFlowServiceMappingProtocolPortNum must be set to 0 if don't care else set it to some valid value. - wwpLeosFlowServiceMapSrcPri must be set to 255 if don't care else set it to some valid value.")
wwp_leos_flow_service_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapVid'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapSrcPort'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapSrcTag'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapDstPort'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapDstTag'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapSrcPri'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapProtocolType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapProtocolPortNum'))
if mibBuilder.loadTexts:
wwpLeosFlowServiceMappingEntry.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMappingEntry.setDescription('A service mapping entry in the wwpLeosFlowServiceMappingTable.')
wwp_leos_flow_service_map_vid = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 24576))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapVid.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapVid.setDescription('The VLAN id associated with this service mapping entry. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwp_leos_flow_service_map_src_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapSrcPort.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapSrcPort.setDescription('The source port id for the instance. This represents the ingress location of a flow. This port id should refer to the dot1dBasePort in the Dot1dBasePortEntry. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwp_leos_flow_service_map_src_tag = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapSrcTag.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapSrcTag.setDescription('The source VLAN tag associated with this service mapping entry. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwp_leos_flow_service_map_dst_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapDstPort.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapDstPort.setDescription('The destination port id for the instance. This represents the egress location for a flow. This port id should refer to the dot1dBasePort in the Dot1dBasePortEntry. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwp_leos_flow_service_map_dst_tag = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapDstTag.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapDstTag.setDescription('The destination VLAN tag associated with this service mapping entry. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwp_leos_flow_service_map_src_pri = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapSrcPri.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapSrcPri.setDescription('The incoming packet vlan tag priority on the wwpLeosFlowServiceMapSrcPort. The 802.1p packet priority valid values are only from 0 to 7. If this object is set to 255 (or signed 8-bit integer -1), then this object should be ignored while creating the service-mapping entry.')
wwp_leos_flow_service_map_protocol_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('none', 1), ('tcp', 2), ('udp', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapProtocolType.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapProtocolType.setDescription('The Layer 4 protocol type used as index in the table. This will correspond to the TCP or UDP protocol. If this object is set to 1, then this object should be ignored while creating the service-mapping entry.')
wwp_leos_flow_service_map_protocol_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapProtocolPortNum.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapProtocolPortNum.setDescription('The Layer 4 protocol port number used as index in the table. This will correspond to a TCP or UDP port number. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwp_leos_flow_service_map_dst_slid_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapDstSlidId.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapDstSlidId.setDescription('The service level id to apply to the flow at egress. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwp_leos_flow_service_map_src_slid_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapSrcSlidId.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapSrcSlidId.setDescription('The service level id to apply to the flow at ingress. If this object is set to 0, then this object should be ignored while creating the service-mapping entry.')
wwp_leos_flow_service_map_pri_remark_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 11), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapPriRemarkStatus.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapPriRemarkStatus.setDescription("Setting this object to 'true' will enable remarking of the VLAN tag priority for frames that match the classification defined by this service-mapping entry.")
wwp_leos_flow_service_map_remark_pri = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapRemarkPri.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapRemarkPri.setDescription('The remark priority value. For frames that match the classification defined by this service-mapping entry, the VLAN tag priority will be remarked with this value.')
wwp_leos_flow_service_map_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 4, 1, 13), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapStatus.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMapStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'.")
wwp_leos_flow_service_ac_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5))
if mibBuilder.loadTexts:
wwpLeosFlowServiceACTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACTable.setDescription('A Table of FLOW Service Access Control Entries.')
wwp_leos_flow_service_ac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceACPortId'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceACVid'))
if mibBuilder.loadTexts:
wwpLeosFlowServiceACEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACEntry.setDescription('A service Access entry in the wwpLeosFlowServiceACTable.')
wwp_leos_flow_service_ac_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACPortId.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACPortId.setDescription('Port id for the instance. This port id should refer to the dot1dBasePort in the Dot1dBasePortEntry. Used as index in service access table.')
wwp_leos_flow_service_ac_vid = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 24576))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACVid.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACVid.setDescription('The VLAN id associated with this access control entry. Used as index in service access table. If the platform supports only port-based service access control, this value should be set to 0.')
wwp_leos_flow_service_ac_max_dynamic_mac_count = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACMaxDynamicMacCount.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACMaxDynamicMacCount.setDescription('The maximum number of dynamic MAC Addresses that will be learned and authorized by this access control entry. This value should default to 24.')
wwp_leos_flow_service_ac_dynamic_non_filtered_mac_count = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACDynamicNonFilteredMacCount.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACDynamicNonFilteredMacCount.setDescription('The current number of non-filtered or authorized dynamic MAC addresses recorded in this access control entry.')
wwp_leos_flow_service_ac_dynamic_filtered_mac_count = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACDynamicFilteredMacCount.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACDynamicFilteredMacCount.setDescription('The current number of filtered or non-authorized dynamic MAC addresses recorded in this access control entry.')
wwp_leos_flow_service_ac_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 7), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACStatus.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'.")
wwp_leos_flow_service_ac_forward_learning = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 5, 1, 50), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone('off')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACForwardLearning.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceACForwardLearning.setDescription('To specify whether or not unlearned frames are forwarded or dropped.')
wwp_leos_flow_static_mac_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6))
if mibBuilder.loadTexts:
wwpLeosFlowStaticMacTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowStaticMacTable.setDescription('The (conceptual) table to add the static mac addresses.')
wwp_leos_flow_static_mac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMVid'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMMacAddr'))
if mibBuilder.loadTexts:
wwpLeosFlowStaticMacEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowStaticMacEntry.setDescription('An entry (conceptual row) in the wwpLeosFlowStaticMacTable.')
wwp_leos_flow_sm_vid = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 24576))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMVid.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMVid.setDescription('The service network id associated with this entry. Used as index in static MAC table.')
wwp_leos_flow_sm_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1, 2), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMMacAddr.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMMacAddr.setDescription('A unicast MAC address to be statically configured. Used as index in static MAC table.')
wwp_leos_flow_sm_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowSMPortId.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMPortId.setDescription('Port id for the static MAC instance. This port id should refer to the dot1dBasePort in the Dot1dBasePortEntry.')
wwp_leos_flow_sm_tag = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowSMTag.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMTag.setDescription('The VLAN tag for this static MAC instance.')
wwp_leos_flow_sm_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 6, 1, 5), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowSMStatus.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'. In particular, a newly created row cannot be made active until the corresponding instances of wwpLeosFlowSMPortId and wwpLeosFlowSMTag have been set. The following objects may not be modified while the value of this object is active(1): - wwpLeosFlowSMPortId - wwpLeosFlowSMTag ")
wwp_leos_flow_learn_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7))
if mibBuilder.loadTexts:
wwpLeosFlowLearnTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnTable.setDescription('A Table of flow learn entries.')
wwp_leos_flow_learn_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowLearnVid'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowLearnAddr'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowLearnSrcPort'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowLearnSrcTag'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowLearnSrcPri'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowLearnAddrType'))
if mibBuilder.loadTexts:
wwpLeosFlowLearnEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnEntry.setDescription('A flow learn entry in the wwpLeosFlowLearnTable.')
wwp_leos_flow_learn_vid = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 24576))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowLearnVid.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnVid.setDescription('The VLAN id associated with this flow-learn entry.')
wwp_leos_flow_learn_addr = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 2), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowLearnAddr.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnAddr.setDescription('The address associated with this flow learn entry. Address can be layer 2 mac address or layer 3 ip address. If address is layer 3 ip address then first two bytes will be 0.')
wwp_leos_flow_learn_src_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowLearnSrcPort.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnSrcPort.setDescription('Source port Id for the instance. This port Id should refer to the dot1dBasePort in the Dot1dBasePortEntry.')
wwp_leos_flow_learn_src_tag = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowLearnSrcTag.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnSrcTag.setDescription('The source VLAN tag associated with this flow-learn entry.')
wwp_leos_flow_learn_src_pri = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowLearnSrcPri.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnSrcPri.setDescription('The source Layer 2 priority associated with this flow-learn entry.')
wwp_leos_flow_learn_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('layer2', 1), ('layer3', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowLearnAddrType.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnAddrType.setDescription('The address type associated with this flow-learn entry. Address can be layer 2 type or layer 3 type.')
wwp_leos_flow_learn_dst_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowLearnDstPort.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnDstPort.setDescription('Destination port id associated with this flow-learn entry. This port id should refer to the dot1dBasePort in the Dot1dBasePortEntry.')
wwp_leos_flow_learn_dst_tag = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowLearnDstTag.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnDstTag.setDescription('The destination VLAN tag associated with this flow-learn entry.')
wwp_leos_flow_learn_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('dynamic', 1), ('static', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowLearnType.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnType.setDescription('The flow-learn entry type. This indicates whether or not the device was learned dynamically or entered as a static MAC.')
wwp_leos_flow_learn_is_filtered = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 7, 1, 10), truth_value()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowLearnIsFiltered.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowLearnIsFiltered.setDescription("This value indicates whether or not the flow-learn entry is filtered. A value of 'true' indicates the flow-learn entry is filtered.")
wwp_leos_flow_service_stats_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8))
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsTable.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsTable.setDescription('A Table of flow service statistics entries.')
wwp_leos_flow_service_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapVid'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapSrcPort'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapSrcTag'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapDstPort'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapDstTag'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapSrcPri'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapProtocolType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceMapProtocolPortNum'))
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsEntry.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsEntry.setDescription('A flow service statistics entry in the wwpLeosFlowServiceStatsTable.')
wwp_leos_flow_service_stats_rx_hi = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsRxHi.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsRxHi.setDescription('The number of bytes received for this flow service entry. This counter represents the upper 32 bits of the counter value.')
wwp_leos_flow_service_stats_rx_lo = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsRxLo.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsRxLo.setDescription('The number of bytes received for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwp_leos_flow_service_stats_tx_hi = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsTxHi.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsTxHi.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the upper 32 bits of the counter value.')
wwp_leos_flow_service_stats_tx_lo = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsTxLo.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsTxLo.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwp_leos_flow_service_stats_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 8, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('forward', 1), ('drop', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsType.setStatus('deprecated')
if mibBuilder.loadTexts:
wwpLeosFlowServiceStatsType.setDescription('Specifies the type of statistics for given entry.')
wwp_leos_flow_mac_find_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9))
if mibBuilder.loadTexts:
wwpLeosFlowMacFindTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacFindTable.setDescription('A flow MAC-find table. MAC address must be specified to walk through the MIB.')
wwp_leos_flow_mac_find_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowMacFindVlanId'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowMacFindMacAddr'))
if mibBuilder.loadTexts:
wwpLeosFlowMacFindEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacFindEntry.setDescription('A flow service MAC statistics table.')
wwp_leos_flow_mac_find_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9, 1, 1), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowMacFindMacAddr.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacFindMacAddr.setDescription('This variable defines the mac address used as index in the MAC-find table.')
wwp_leos_flow_mac_find_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 24576))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowMacFindVlanId.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacFindVlanId.setDescription('The VLAN ID on which this MAC address is learned.')
wwp_leos_flow_mac_find_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowMacFindPort.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacFindPort.setDescription('This specifies the port id on which this MAC address is learned.')
wwp_leos_flow_mac_find_vlan_tag = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 9, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 24576))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowMacFindVlanTag.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacFindVlanTag.setDescription('This specifies the VLAN tag on which this MAC address is learned.')
wwp_leos_flow_pri_remap_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 10))
if mibBuilder.loadTexts:
wwpLeosFlowPriRemapTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowPriRemapTable.setDescription('The (conceptual) table to add the static mac addresses.')
wwp_leos_flow_pri_remap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 10, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowUserPri'))
if mibBuilder.loadTexts:
wwpLeosFlowPriRemapEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowPriRemapEntry.setDescription('An entry (conceptual row) in the wwpLeosFlowStaticMacTable.')
wwp_leos_flow_user_pri = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 10, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowUserPri.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowUserPri.setDescription('Specifies the user priority. Also used as index in the table.')
wwp_leos_flow_remapped_pri = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 10, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowRemappedPri.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowRemappedPri.setDescription("Specifies the remapped priority for given 'wwpLeosFlowUserPri'.")
wwp_leos_flow_s_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13))
if mibBuilder.loadTexts:
wwpLeosFlowSMappingTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingTable.setDescription("A service mapping entry in the service-mapping table. To create entry in this table following criteria must be met. - The indexes to the service mapping entry consist of type-value pairs. - There are four(4) sections to the entry. -- NETWORK (type / value) -- SOURCE (type / value) -- DESTINATION (type / value) -- CLASS OF SERVICE (type / value) - All indexes must be specified with the appropriate enumerated - type. If the TYPE is set to 'none', the corresponding VALUE - MUST be set to zero(0). - - The service-mapping entry is very generic. As such, acceptable - combinations of types and values will be scrutinized by the - running platform.")
wwp_leos_flow_s_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingNetType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingNetValue'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingSrcType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingSrcValue'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingDstType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingDstValue'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingCosType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingCosValue'))
if mibBuilder.loadTexts:
wwpLeosFlowSMappingEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingEntry.setDescription('A service mapping entry in the wwpLeosFlowSMappingTable.')
wwp_leos_flow_s_mapping_net_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('none', 1), ('vlan', 2), ('vsi', 3), ('vsiMpls', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingNetType.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingNetType.setDescription("This object specifies the NETWORK object TYPE for the entry. - - If set to 'none', the corresponding value in - wwpLeosFlowSMappingNetValue MUST be zero(0). - - If set to vlan, a valid vlan-id must be specified. - If set to vsi, a valid ethernet virtual-switch-instance id must be specified. - If set to vsi_mpls, a valid mpls virtual-switch-instance id must be specified - - This used as index in the table.")
wwp_leos_flow_s_mapping_net_value = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 2), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingNetValue.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingNetValue.setDescription('This object specifies the NETWORK object ID for the entry. - - This item must be set according to the value set - in wwpLeosFlowSMappingNetType. If wwpLeosFlowSMappingNetType - equals: - none(1): MUST be set to zero(0). - vlan(2): MUST be set to valid existing vlan id. - vsi(3): MUST be set to valid existing ethernet virtual switch id. - vsiMpls(4): MUST be set to valid existing mpls virtual switch id. - - This used as index in the table.')
wwp_leos_flow_s_mapping_src_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('none', 1), ('port', 2), ('mplsVc', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingSrcType.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingSrcType.setDescription("This object specifies the SOURCE object TYPE for the entry. - - If set to 'none', the corresponding value in - wwpLeosFlowSMappingSrcValue MUST be zero(0). - - If set to port, a valid port group id must be specified. - If set to mplsVc, a valid mpls-virtual-circuit id must be specified. - - This used as index in the table.")
wwp_leos_flow_s_mapping_src_value = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 4), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingSrcValue.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingSrcValue.setDescription('This object specifies the SOURCE object ID for the entry. - - This item must be set according to the value set - in wwpLeosFlowSMappingSrcType. If wwpLeosFlowSMappingSrcType - equals: - none(1): MUST be set to zero(0). - port(2): MUST be set to valid existing port group id. - mplsVc(3): MUST be set to valid existing mpls-virtual-circuit id. - - This used as index in the table.')
wwp_leos_flow_s_mapping_dst_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('none', 1), ('port', 2), ('mplsVc', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingDstType.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingDstType.setDescription("This object specifies the DESTINATION object TYPE for the entry. - - If set to 'none', the corresponding value in - wwpLeosFlowSMappingDstValue MUST be zero(0). - - If set to port, a valid port group id must be specified. - If set to mplsVc, a valid mpls-virtual-circuit id must be specified. - - This used as index in the table.")
wwp_leos_flow_s_mapping_dst_value = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 6), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingDstValue.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingDstValue.setDescription('This object specifies the DESTINATION object ID for the entry. - - This item must be set according to the value set - in wwpLeosFlowSMappingDstType. If wwpLeosFlowSMappingDstType - equals: - none(1): MUST be set to zero(0). - port(2): MUST be set to valid existing port group id. - mplsVc(3): MUST be set to valid existing mpls-virtual-circuit id. - - This used as index in the table.')
wwp_leos_flow_s_mapping_cos_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12))).clone(namedValues=named_values(('none', 1), ('phb', 2), ('dscp', 3), ('ipPrec', 4), ('dot1dPri', 5), ('mplsExp', 6), ('tcpSrcPort', 7), ('tcpDstPort', 8), ('udpSrcPort', 9), ('udpDstPort', 10), ('pcp', 11), ('cvlan', 12)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingCosType.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingCosType.setDescription("This object specifies the CLASS OF SERVICE object TYPE for the entry. - - If set to 'none', the corresponding value in - wwpLeosFlowSMappingCosValue MUST be zero(0). - - If set to tcpSrcPort, tcpDstPort, udpSrcPort, or udpDstPort, - a valid, NON-ZERO tcp or udp port must be specified. - - If set to phb, a valid per-hop-behavior enumeration must be specified. - If set to dscp, a valid differentiated services code point must be specified. - If set to ipPrec, a valid ip-precedence must be specified. - If set to dot1dPri, a valid 802.1d/p priority must be specified. - If set to cvlan, a support Customer VLAN must be specified - - This used as index in the table.")
wwp_leos_flow_s_mapping_cos_value = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 8), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingCosValue.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingCosValue.setDescription('This object specifies the CLASS OF SERVICE object ID for the entry. - - This item must be set according to the value set - in wwpLeosFlowSMappingCosType. If wwpLeosFlowSMappingCosType - equals: - none(1): MUST be set to zero(0). - - phb(2): (1..13) - cs0(1),cs1(2),cs2(3),cs3(4),cs4(5),cs5(6),cs6(7),cs7(8), - af1(9),af2(10),af3(11),af4(12),ef(13) - - dscp(3): (0..63) - ipPrec(4): (0..7) - dot1dPri(5): (0..7) - mplsExp(6): (0..7) - - tcpSrcPort(7): (1..65535). - tcpDstPort(8): (1..65535). - udpSrcPort(9): (1..65535). - udpDstPort(10): (1..65535). - - cvlan(12): (1..4094) - - Depending on the platform, the COS type/value may be recognized for certain - frame tag-structures. For example, some platforms can recognize ipPrec, dscp - dot1dPri only for double-tagged frames. Some require untagged or single-tagged - frames to recognize TCP/UDP ports. Operator should consult the software - configuration guide for the specified product. - - This used as index in the table.')
wwp_leos_flow_s_mapping_dst_slid = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 9), unsigned32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingDstSlid.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingDstSlid.setDescription('The service level id to apply to the flow at the destination point. Depending on the platform this object may or may not be set to 0 while creating the service-mapping entry. The corresponding destination-port and slid must exist in the service-level table.')
wwp_leos_flow_s_mapping_src_slid = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 10), unsigned32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingSrcSlid.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingSrcSlid.setDescription('The service level ID to apply to the flow at the source-port. Depending on the platform this object may or may not be set to 0 while creating the service-mapping entry. The corresponding source-port and SLID must exist in the service-level table')
wwp_leos_flow_s_mapping_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 11), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatus.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'.")
wwp_leos_flow_s_mapping_red_curve_offset = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingRedCurveOffset.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingRedCurveOffset.setDescription('This object specifies the red curve offset to be used for given service mapping. If this object is not set then the device will choose default red curve offset which is 0.')
wwp_leos_flow_s_mapping_cpu_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 13, 1, 13), truth_value().clone('false')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingCpuPort.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingCpuPort.setDescription('This object specifies if the CPU port is to be used as the src port.')
wwp_leos_flow_s_mapping_stats_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14))
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsTable.setDescription('A Table of flow service statistics entries.')
wwp_leos_flow_s_mapping_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingNetType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingNetValue'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingSrcType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingSrcValue'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingDstType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingDstValue'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingCosType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingCosValue'))
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsEntry.setDescription('A flow service statistics entry in the wwpLeosFlowSMappingStatsTable.')
wwp_leos_flow_s_mapping_stats_rx_hi = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsRxHi.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsRxHi.setDescription('The number of bytes received for this flow service entry. This counter represents the upper 32 bits of the counter value')
wwp_leos_flow_s_mapping_stats_rx_lo = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsRxLo.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsRxLo.setDescription('The number of bytes received for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwp_leos_flow_s_mapping_stats_tx_hi = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsTxHi.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsTxHi.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the upper 32 bits of the counter value.')
wwp_leos_flow_s_mapping_stats_tx_lo = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsTxLo.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsTxLo.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwp_leos_flow_s_mapping_stats_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 14, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('forward', 1), ('drop', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsType.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSMappingStatsType.setDescription('Specifies the type of statistics for given entry.')
wwp_leos_flow_cos_sync1d_to_exp_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 15))
if mibBuilder.loadTexts:
wwpLeosFlowCosSync1dToExpTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSync1dToExpTable.setDescription('A table of flow cos sync 1d to exp entries. Entries cannot be created or destroyed.')
wwp_leos_flow_cos_sync1d_to_exp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 15, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowCosSync1dToExpMapFrom'))
if mibBuilder.loadTexts:
wwpLeosFlowCosSync1dToExpEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSync1dToExpEntry.setDescription('A flow cos sync 1d to 1d entry in the wwpLeosFlowCosSync1dToExpTable.')
wwp_leos_flow_cos_sync1d_to_exp_map_from = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 15, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCosSync1dToExpMapFrom.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSync1dToExpMapFrom.setDescription('This object is used as index in the table and represents cos 1d priority. Any frame coming in with this priority will be synchronized with priority specified by wwpLeosFlowCosSync1dToExpMapTo.')
wwp_leos_flow_cos_sync1d_to_exp_map_to = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 15, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCosSync1dToExpMapTo.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSync1dToExpMapTo.setDescription('This object specifies the remapped exp value of the frame which ingresses with dot1d priority of wwpLeosFlowCosSync1dToExpMapFrom.')
wwp_leos_flow_cos_sync_exp_to1d_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 16))
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncExpTo1dTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncExpTo1dTable.setDescription('A table of flow cos sync 1d to exp entries.')
wwp_leos_flow_cos_sync_exp_to1d_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 16, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowCosSyncExpTo1dMapFrom'))
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncExpTo1dEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncExpTo1dEntry.setDescription('A flow cos sync 1d to 1d entry in the wwpLeosFlowCosSyncExpTo1dTable.')
wwp_leos_flow_cos_sync_exp_to1d_map_from = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 16, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncExpTo1dMapFrom.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncExpTo1dMapFrom.setDescription('This object is used as index in the table and represents cos 1d priority. Any frame coming in with this priority will be synchronized with priority specified by wwpLeosFlowCosSyncExpTo1dMapTo.')
wwp_leos_flow_cos_sync_exp_to1d_map_to = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 16, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncExpTo1dMapTo.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncExpTo1dMapTo.setDescription('This object specifies the remapped exp value of the frame which ingresses with dot1d priority of wwpLeosFlowCosSyncExpTo1dMapFrom.')
wwp_leos_flow_cos_sync_ip_prec_to1d_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 17))
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncIpPrecTo1dTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncIpPrecTo1dTable.setDescription('A table of flow cos sync IP precedence to 1d entries.')
wwp_leos_flow_cos_sync_ip_prec_to1d_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 17, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowCosSyncIpPrecTo1dMapFrom'))
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncIpPrecTo1dEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncIpPrecTo1dEntry.setDescription('A flow cos sync Ip Precedence to 1d entry in the wwpLeosFlowCosSyncIpPrecTo1dTable.')
wwp_leos_flow_cos_sync_ip_prec_to1d_map_from = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 17, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncIpPrecTo1dMapFrom.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncIpPrecTo1dMapFrom.setDescription('This object is used as index in the table and represents ip precedence value. Any frame coming in with wwpLeosFlowCosSyncIpPrecTo1dMapFrom IP precedence will be synchronized with dot1d specified by wwpLeosFlowCosSyncIpPrecTo1dMapTo.')
wwp_leos_flow_cos_sync_ip_prec_to1d_map_to = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 17, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncIpPrecTo1dMapTo.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncIpPrecTo1dMapTo.setDescription('This object specifies the ip precedence value to synchronize with when the frame ingresses with ip precedence value of wwpLeosFlowCosSyncIpPrecTo1dMapFrom.')
wwp_leos_flow_cos_sync_std_phb_to1d_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 18))
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncStdPhbTo1dTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncStdPhbTo1dTable.setDescription('A table of flow cos sync standard per hop behavior to 1d or Exp entries.')
wwp_leos_flow_cos_sync_std_phb_to1d_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 18, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowCosSyncStdPhbTo1dMapFrom'))
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncStdPhbTo1dEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncStdPhbTo1dEntry.setDescription('A flow cos sync standard per hop behavior to 1d entry in the wwpLeosFlowCosSyncStdPhbTo1dTable.')
wwp_leos_flow_cos_sync_std_phb_to1d_map_from = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 18, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=named_values(('cs0', 1), ('cs1', 2), ('cs2', 3), ('cs3', 4), ('cs4', 5), ('cs5', 6), ('cs6', 7), ('cs7', 8), ('af1', 9), ('af2', 10), ('af3', 11), ('af4', 12), ('ef', 13)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncStdPhbTo1dMapFrom.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncStdPhbTo1dMapFrom.setDescription('This object is used as index in the table and represents AFx or EF value. Any frame coming in with wwpLeosFlowCosSyncStdPhbTo1dMapFrom AFx or EF value will be synchronized with dot1d priority specified by wwpLeosFlowCosSyncStdPhbTo1dMapTo. If wwpLeosFlowCosSyncStdPhbTo1dValue is not specified then no synchronization will happen.')
wwp_leos_flow_cos_sync_std_phb_to1d_map_to = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 18, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncStdPhbTo1dMapTo.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosSyncStdPhbTo1dMapTo.setDescription('This object specifies the AFx or EF dscp value to synchronize with when the frame ingresses with AFx or EF dscp value of wwpLeosFlowCosSyncDscpTo1dMapTo.')
wwp_leos_flow_l2_sac_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19))
if mibBuilder.loadTexts:
wwpLeosFlowL2SacTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacTable.setDescription('A table of flow l2 sac table.')
wwp_leos_flow_l2_sac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowL2SacPortId'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowL2SacNetType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSacNetValue'))
if mibBuilder.loadTexts:
wwpLeosFlowL2SacEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacEntry.setDescription('Represents each entry in the l2 Sac Table')
wwp_leos_flow_l2_sac_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacPortId.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacPortId.setDescription("This mib object is index in the table. If port is not involved in L2 SAC then set this value to 0. 0 represents don't care.")
wwp_leos_flow_l2_sac_net_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('none', 1), ('vlan', 2), ('vsiEth', 3), ('vsiMpls', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacNetType.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacNetType.setDescription('This mib object is used as index in the table. This object specifies how wwpLeosFlowSacValue should be interpreted. If this object is set to none then the wwpLeosFlowSacValue must be set to 0.')
wwp_leos_flow_sac_net_value = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowSacNetValue.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowSacNetValue.setDescription('This mib object is used as index in the table. This object is only meaningful if wwpLeosFlowL2SacNetType is not set to none.')
wwp_leos_flow_l2_sac_limit = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacLimit.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacLimit.setDescription('This mib object specifies the l2 SAC limit. Device will not learn any mac greater than the limit specified by this object.')
wwp_leos_flow_l2_sac_cur_mac = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacCurMac.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacCurMac.setDescription('This mib object specifies the current mac count for the given l2 SAC entry.')
wwp_leos_flow_l2_sac_cur_filtered_mac = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacCurFilteredMac.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacCurFilteredMac.setDescription('This mib object specifies the current number of filtered macs for the given l2 SAC entry.')
wwp_leos_flow_l2_sac_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacOperState.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacOperState.setDescription('This mib object specifies the current operation state for the given l2 SAC entry.')
wwp_leos_flow_l2_sac_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 19, 1, 8), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacRowStatus.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacRowStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'.")
wwp_leos_flow_l2_sac_trap_state = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacTrapState.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacTrapState.setDescription('Specifies if device should send L2 sac traps.')
wwp_leos_flow_strict_queuing_state = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowStrictQueuingState.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowStrictQueuingState.setDescription('Specifies if device should adjust queues to support strict queuing.')
wwp_leos_flow_bw_calc_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('transport', 1), ('payload', 2))).clone('transport')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowBwCalcMode.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowBwCalcMode.setDescription('Specifies if the device should operate in transport or payload mode. In transport mode the frame length of an Ethernet frame used in measuring CIR will be from IFG through FCS. In payload mode the frame length of an Ethernet frame used in measuring CIR will be from the MAC DA through FCS.')
wwp_leos_flow_global = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 23))
wwp_leos_flow_service_level_flow_group_state = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 23, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disabled', 1), ('enabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelFlowGroupState.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelFlowGroupState.setDescription('This object specifies the current state of service level flow groups.')
wwp_leos_flow_service_mapping_cos_red_mapping_state = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 23, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disabled', 1), ('enabled', 2))).clone('disabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMappingCosRedMappingState.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceMappingCosRedMappingState.setDescription('This object specifies the current state of service mapping dot1d to Red offset mapping table(wwpLeosFlowCos1dToRedCurveOffsetTable). If this object is set to disable then wwpLeosFlowCos1dToRedCurveOffsetTable will not be used for dot1d to red offset mapping else it will be used.')
wwp_leos_flow_service_all_red_curve_unset = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 23, 3), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceAllRedCurveUnset.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceAllRedCurveUnset.setDescription('Setting this object to true will reset all the red curves in wwpLeosFlowServiceRedCurveTable table to factory default settings.')
wwp_leos_flow_service_red_curve_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24))
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveTable.setDescription('A table to configure flow service red curve table.')
wwp_leos_flow_service_red_curve_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceRedCurveIndex'))
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveEntry.setDescription('Represents each entry in the flow service RED curve table.')
wwp_leos_flow_service_red_curve_index = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(5, 64))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveIndex.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveIndex.setDescription('This object is used as index in the red curve table.')
wwp_leos_flow_service_red_curve_name = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveName.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveName.setDescription('This object specifies the name of the red curve.')
wwp_leos_flow_service_red_curve_state = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 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:
wwpLeosFlowServiceRedCurveState.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveState.setDescription('This object specifies the current state of the red curve. This object can be set to enable or disable.')
wwp_leos_flow_service_red_curve_min_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setUnits('kbps').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveMinThreshold.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveMinThreshold.setDescription('This represents the minimum threshold in KBytes. When the queue length associated with this service reaches this number, RED begins to drop packets matching this Service-Mappings traffic classification. The valid range is between 0 and 65535 Kbytes. The actual number varies depending on the platform.')
wwp_leos_flow_service_red_curve_max_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setUnits('kbps').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveMaxThreshold.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveMaxThreshold.setDescription('This represents the maximum threshold in KBytes. When the queue length associated with this service reaches this number, RED drops packets matching this Service-Mappings traffic classification at the rate specified in wwpLeosFlowServiceRedCurveDropProbability.')
wwp_leos_flow_service_red_curve_drop_probability = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveDropProbability.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveDropProbability.setDescription('This object specifies the drop probability of a packet (matching this Service-Mapping classification) of being dropped when the queue length associated with this Service-Level reaches the value configured in wwpLeosFlowServiceMaxThreshold. The value represents a percentage (0-100).')
wwp_leos_flow_service_red_curve_unset = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 24, 1, 7), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveUnset.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceRedCurveUnset.setDescription('Setting this object to true will reset the red curve settings to factory defaults.')
wwp_leos_flow_cos1d_to_red_curve_offset_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 25))
if mibBuilder.loadTexts:
wwpLeosFlowCos1dToRedCurveOffsetTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCos1dToRedCurveOffsetTable.setDescription('A table of flow cos 1d to red curve offset entries.')
wwp_leos_flow_cos1d_to_red_curve_offset_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 25, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowCos1dToRedCurveOffset1dValue'))
if mibBuilder.loadTexts:
wwpLeosFlowCos1dToRedCurveOffsetEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCos1dToRedCurveOffsetEntry.setDescription('A table entry of flow cos 1d to red curve offset.')
wwp_leos_flow_cos1d_to_red_curve_offset1d_value = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 25, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCos1dToRedCurveOffset1dValue.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCos1dToRedCurveOffset1dValue.setDescription('This object is used as index in the table and represents cos 1d priority. Any frame coming in with this priority will be mapped to red cos offset value specified by wwpLeosFlowCos1dToRedCurveOffsetValue.')
wwp_leos_flow_cos1d_to_red_curve_offset_value = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 25, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCos1dToRedCurveOffsetValue.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCos1dToRedCurveOffsetValue.setDescription('This object specifies the red curve offset value to be used when frame which ingresses with dot1d priority specified by wwpLeosFlowCos1dToRedCurveOffset1dValue.')
wwp_leos_flow_cos_map_pcp_to1d_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 26))
if mibBuilder.loadTexts:
wwpLeosFlowCosMapPCPTo1dTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosMapPCPTo1dTable.setDescription('A table of flow cos mapping of PCP to .1d Pri.')
wwp_leos_flow_cos_map_pcp_to1d_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 26, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowCosMapPCPTo1dMapFrom'))
if mibBuilder.loadTexts:
wwpLeosFlowCosMapPCPTo1dEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosMapPCPTo1dEntry.setDescription('A flow cos sync standard per hop behavior to 1d entry in the wwpLeosFlowCosSyncStdPhbTo1dTable.')
wwp_leos_flow_cos_map_pcp_to1d_map_from = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 26, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCosMapPCPTo1dMapFrom.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosMapPCPTo1dMapFrom.setDescription('This object is used as index in the table and represents PCP priority. Any frame coming in with wwpLeosFlowCosMapPCPTo1dMapFrom priority will be mapped to .1d priority specified by wwpLeosFlowCosMapPCPTo1dMapTo. ')
wwp_leos_flow_cos_map_pcp_to1d_map_to = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 26, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCosMapPCPTo1dMapTo.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosMapPCPTo1dMapTo.setDescription('This object specifies the .1d priority to map with when the frame ingresses with PCP priority specified by wwpLeosFlowCosMapPCPTo1dMapFrom.')
wwp_leos_flow_cos_map1d_to_pcp_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 27))
if mibBuilder.loadTexts:
wwpLeosFlowCosMap1dToPCPTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosMap1dToPCPTable.setDescription('A table of flow cos mapping of PCP to .1d Pri.')
wwp_leos_flow_cos_map1d_to_pcp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 27, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowCosMap1dToPCPMapFrom'))
if mibBuilder.loadTexts:
wwpLeosFlowCosMap1dToPCPEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosMap1dToPCPEntry.setDescription('A flow cos sync standard per hop behavior to 1d entry in the wwpLeosFlowCosSyncStdPhbTo1dTable.')
wwp_leos_flow_cos_map1d_to_pcp_map_from = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 27, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCosMap1dToPCPMapFrom.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosMap1dToPCPMapFrom.setDescription('This object is used as index in the table and represents PCP priority. Any frame coming in with wwpLeosFlowCosMap1dToPCPMapFrom priority will be mapped to .1d priority specified by wwpLeosFlowCosMap1dToPCPMapTo. ')
wwp_leos_flow_cos_map1d_to_pcp_map_to = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 27, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCosMap1dToPCPMapTo.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCosMap1dToPCPMapTo.setDescription('This object specifies the .1d priority to map with when the frame ingresses with PCP priority specified by wwpLeosFlowCosMap1dToPCPMapFrom.')
wwp_leos_flow_mac_motion_events_enable = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionEventsEnable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionEventsEnable.setDescription('Specifies whether MAC Motion traps and syslog messages will be generated when a MAC shifts from one port/vlan to another port/vlan.')
wwp_leos_flow_mac_motion_events_interval = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 29), integer32().subtype(subtypeSpec=value_range_constraint(15, 300))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionEventsInterval.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionEventsInterval.setDescription('The minimum time in seconds that must elapse between each MAC Motion trap and syslog message that is generated.')
wwp_leos_flow_cpu_rate_limits_enable = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 30), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitsEnable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitsEnable.setDescription('Enable is used to activate the port-associated rate-limits.')
wwp_leos_flow_cpu_rate_limit_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31))
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitTable.setDescription('A table of flow rate limit entries. ')
wwp_leos_flow_cpu_rate_limit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowCpuRateLimitPort'))
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitEntry.setDescription('The flow service level entry in the Table.')
wwp_leos_flow_cpu_rate_limit_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64)))
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitPort.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitPort.setDescription('Port id used as index in the rate limit entry.')
wwp_leos_flow_cpu_rate_limit_enable = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitEnable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitEnable.setDescription('Enable is used to activate the port-associated rate-limits.')
wwp_leos_flow_cpu_rate_limit_bootp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitBootp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitBootp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_cfm = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitCfm.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitCfm.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_cft = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitCft.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitCft.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_dot1x = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitDot1x.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitDot1x.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_oam = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitOam.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitOam.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_epr_arp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitEprArp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitEprArp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_igmp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitIgmp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitIgmp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_inet = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitInet.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitInet.setDescription('Port packet-per-second rate limit for packet type .')
wwp_leos_flow_cpu_rate_limit_lacp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitLacp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitLacp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_lldp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitLldp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitLldp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_mpls = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitMpls.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitMpls.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_mstp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(0, 500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitMstp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitMstp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_pe_arp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitPeArp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitPeArp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_pvst = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitPvst.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitPvst.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_rstp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitRstp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitRstp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_lpbk = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 18), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitLpbk.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitLpbk.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_rmt_lpbk = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitRmtLpbk.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitRmtLpbk.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_cxe_rx = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitCxeRx.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitCxeRx.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_cxe_tx = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitCxeTx.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitCxeTx.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_twamp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitTwamp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitTwamp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_dflt = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitDflt.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitDflt.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_twamp_rsp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 24), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitTwampRsp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitTwampRsp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_multi_cast = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 25), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitMultiCast.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitMultiCast.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_broad_cast = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 26), integer32().subtype(subtypeSpec=value_range_constraint(0, 500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitBroadCast.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitBroadCast.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_arp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 27), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitArp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitArp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_icmp = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 28), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitIcmp.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitIcmp.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_tcp_syn = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 29), integer32().subtype(subtypeSpec=value_range_constraint(0, 1000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitTcpSyn.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitTcpSyn.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_raps = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 30), integer32().subtype(subtypeSpec=value_range_constraint(0, 2500))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitRaps.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitRaps.setDescription('Port packet-per-second rate limit for packet type. Not supported on 4.x')
wwp_leos_flow_cpu_rate_limit_ip_mgmt = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 31), integer32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitIpMgmt.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitIpMgmt.setDescription('Port packet-per-second rate limit for packet type. Not supported on 4.x')
wwp_leos_flow_cpu_rate_limit_ip_control = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 32), integer32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitIpControl.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitIpControl.setDescription('Port packet-per-second rate limit for packet type. Not supported on 4.x')
wwp_leos_flow_cpu_rate_limit_ip_v6_mgmt = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 33), integer32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitIpV6Mgmt.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitIpV6Mgmt.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_inet6 = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 31, 1, 34), integer32().subtype(subtypeSpec=value_range_constraint(0, 5000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitInet6.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitInet6.setDescription('Port packet-per-second rate limit for packet type.')
wwp_leos_flow_cpu_rate_limit_stats_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32))
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTable.setDescription('A table of flow rate limit statistics entries. ')
wwp_leos_flow_cpu_rate_limit_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowCpuRateLimitStatsPort'))
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsEntry.setDescription('The rate limit statistics entry in the Table.')
wwp_leos_flow_cpu_rate_limit_stats_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64)))
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsPort.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsPort.setDescription('Port id used as index in the rate limit entry.')
wwp_leos_flow_cpu_rate_limit_stats_bootp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 2), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsBootpPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsBootpPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_cfm_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 3), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCfmPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCfmPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_cft_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 4), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCftPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCftPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_dot1x_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 5), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsDot1xPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsDot1xPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_oam_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 6), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsOamPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsOamPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_epr_arp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 7), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsEprArpPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsEprArpPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_igmp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 8), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIgmpPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIgmpPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_inet_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 9), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsInetPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsInetPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_lacp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 10), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLacpPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLacpPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_lldp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 11), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLldpPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLldpPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_mpls_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 12), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMplsPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMplsPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_mstp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 13), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMstpPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMstpPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_pe_arp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 14), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsPeArpPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsPeArpPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_pvst_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 15), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsPvstPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsPvstPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_rstp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 16), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRstpPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRstpPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_lpbk_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 17), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLpbkPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLpbkPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_rmt_lpbk_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 18), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRmtLpbkPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRmtLpbkPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_cxe_rx_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 19), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCxeRxPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCxeRxPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_cxe_tx_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 20), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCxeTxPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCxeTxPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_twamp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 21), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTwampPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTwampPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_dflt_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 22), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsDfltPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsDfltPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_bootp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 23), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsBootpDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsBootpDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_cfm_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 24), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCfmDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCfmDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_cft_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 25), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCftDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCftDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_dot1x_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 26), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsDot1xDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsDot1xDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_oam_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 27), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsOamDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsOamDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_epr_arp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 28), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsEprArpDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsEprArpDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_igmp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 29), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIgmpDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIgmpDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_inet_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 30), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsInetDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsInetDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_lacp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 31), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLacpDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLacpDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_lldp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 32), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLldpDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLldpDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_mpls_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 33), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMplsDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMplsDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_mstp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 34), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMstpDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMstpDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_pe_arp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 35), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsPeArpDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsPeArpDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_pvst_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 36), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsPvstDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsPvstDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_rstp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 37), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRstpDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRstpDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_lpbk_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 38), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLpbkDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsLpbkDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_rmt_lpbk_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 39), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRmtLpbkDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRmtLpbkDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_cxe_rx_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 40), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCxeRxDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCxeRxDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_cxe_tx_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 41), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCxeTxDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsCxeTxDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_twamp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 42), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTwampDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTwampDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_dflt_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 43), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsDfltDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsDfltDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_twamp_rsp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 44), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTwampRspPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTwampRspPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_twamp_rsp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 45), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTwampRspDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTwampRspDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_multi_cast_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 46), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMultiCastPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMultiCastPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_multi_cast_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 47), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMultiCastDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsMultiCastDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_broad_cast_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 48), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsBroadCastPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsBroadCastPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_broad_cast_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 49), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsBroadCastDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsBroadCastDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_arp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 50), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsArpPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsArpPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_arp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 51), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsArpDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsArpDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_icmp_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 52), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIcmpPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIcmpPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_icmp_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 53), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIcmpDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIcmpDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_tcp_syn_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 54), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTcpSynPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTcpSynPassed.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_tcp_syn_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 55), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTcpSynDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsTcpSynDropped.setDescription('Port packet type counts.')
wwp_leos_flow_cpu_rate_limit_stats_raps_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 56), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRapsPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRapsPassed.setDescription('Port packet type counts.Not supported on 4.x')
wwp_leos_flow_cpu_rate_limit_stats_raps_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 57), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRapsDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsRapsDropped.setDescription('Port packet type counts.Not supported on 4.x')
wwp_leos_flow_cpu_rate_limit_stats_ip_mgmt_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 58), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpMgmtPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpMgmtPassed.setDescription('Port packet type counts.Not supported on 4.x')
wwp_leos_flow_cpu_rate_limit_stats_ip_mgmt_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 59), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpMgmtDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpMgmtDropped.setDescription('Port packet type counts.Not supported on 4.x')
wwp_leos_flow_cpu_rate_limit_stats_ip_control_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 60), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpControlPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpControlPassed.setDescription('Port packet type counts. Not supported on 4.x')
wwp_leos_flow_cpu_rate_limit_stats_ip_control_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 61), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpControlDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpControlDropped.setDescription('Port packet type counts. Not supported on 4.x')
wwp_leos_flow_cpu_rate_limit_stats_ip_v6_mgmt_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 62), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpV6MgmtPassed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpV6MgmtPassed.setDescription('Port packet type counts. Not supported on 4.x')
wwp_leos_flow_cpu_rate_limit_stats_ip_v6_mgmt_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 63), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpV6MgmtDropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsIpV6MgmtDropped.setDescription('Port packet type counts. Not supported on 4.x')
wwp_leos_flow_cpu_rate_limit_stats_inet6_passed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 64), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsInet6Passed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsInet6Passed.setDescription('Port packet type counts for Ipv6. Not supported on 6.x')
wwp_leos_flow_cpu_rate_limit_stats_inet6_dropped = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 32, 1, 65), gauge32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsInet6Dropped.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsInet6Dropped.setDescription('Port packet type counts for Ipv6. Not supported on 6.x')
wwp_leos_flow_cpu_rate_limit_stats_clear_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 33))
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsClearTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsClearTable.setDescription('A table of flow rate limit entries. ')
wwp_leos_flow_cpu_rate_limit_stats_clear_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 33, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowCpuRateLimitStatsClearPort'))
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsClearEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsClearEntry.setDescription('The flow service level entry in the Table.')
wwp_leos_flow_cpu_rate_limit_stats_clear_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 33, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64)))
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsClearPort.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsClearPort.setDescription('Port id used as index in the rate limit statistics clear entry.')
wwp_leos_flow_cpu_rate_limit_stats_clear = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 33, 1, 2), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsClear.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowCpuRateLimitStatsClear.setDescription('Flag indicating whether to clear port packet statistics.')
wwp_leos_flow_service_level_port_over_provisioned_trap = notification_type((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0, 1)).setObjects(('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceLevelPort'))
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelPortOverProvisionedTrap.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelPortOverProvisionedTrap.setDescription('A wwpLeosFlowServiceLevelPortOverProvisionedTrap notification is sent when the provisioned bandwidth exceeds the total bandwidth available for a port. This situation may also occur when changes in a link aggregation group (such as deleting a port from the group) decrease the total bandwidth or at the bootTime when the link aggregation groups are formed.')
wwp_leos_flow_service_level_port_under_provisioned_trap = notification_type((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0, 2)).setObjects(('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowServiceLevelPort'))
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelPortUnderProvisionedTrap.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceLevelPortUnderProvisionedTrap.setDescription('A wwpLeosFlowServiceLevelPortUnderProvisionedTrap notification is sent when the previously over-provisioned situation is resolved for a port.')
wwp_leos_flow_l2_sac_high_threshold = notification_type((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0, 3)).setObjects(('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowL2SacPortId'), ('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowL2SacNetType'), ('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSacNetValue'))
if mibBuilder.loadTexts:
wwpLeosFlowL2SacHighThreshold.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacHighThreshold.setDescription('A wwpLeosFlowL2SacHighThreshold notification is sent whenever Macs learned exceeds SAC threshold limit.')
wwp_leos_flow_l2_sac_normal_threshold = notification_type((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0, 4)).setObjects(('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowL2SacPortId'), ('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowL2SacNetType'), ('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSacNetValue'))
if mibBuilder.loadTexts:
wwpLeosFlowL2SacNormalThreshold.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowL2SacNormalThreshold.setDescription('A wwpLeosFlowL2SacNormalThreshold notification is sent whenever Macs learned gets back to normal after exceeding the SAC threshold limit.')
wwp_leos_flow_mac_motion_notification = notification_type((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 2, 0, 5)).setObjects(('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowMacMotionAttrOldPort'), ('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowMacMotionAttrOldVlan'), ('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowMacMotionAttrNewPort'), ('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowMacMotionAttrNewVlan'), ('WWP-LEOS-FLOW-MIB', 'wwpLeosFlowMacMotionAttrMacAddr'))
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionNotification.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionNotification.setDescription('A wwpLeosFlowMacMotionNotification is sent whenever a learned MAC moves from one port/vlan to a new port/vlan, at a rate defined by wwpLeosFlowMacMotionEventsInterval. The five objects returned by this trap are the MAC address that moved, the original port/vlan the MAC was learned on, and the new port/vlan the MAC has moved to.')
wwp_leos_flow_mac_motion_attr_old_port = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65536))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionAttrOldPort.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionAttrOldPort.setDescription('The port number associated with the MAC that moved.')
wwp_leos_flow_mac_motion_attr_old_vlan = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 4094))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionAttrOldVlan.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionAttrOldVlan.setDescription('The vlan number associated with the MAC that moved.')
wwp_leos_flow_mac_motion_attr_new_port = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 65536))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionAttrNewPort.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionAttrNewPort.setDescription('The port number associated with the MAC that moved.')
wwp_leos_flow_mac_motion_attr_new_vlan = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 4094))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionAttrNewVlan.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionAttrNewVlan.setDescription('The vlan number associated with the MAC that moved.')
wwp_leos_flow_mac_motion_attr_mac_addr = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 2, 5), mac_address()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionAttrMacAddr.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowMacMotionAttrMacAddr.setDescription('The MAC address that moved.')
wwp_leos_flow_service_total_stats_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34))
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsTable.setDescription('A table of flow service statistics entries.')
wwp_leos_flow_service_total_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingNetType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingNetValue'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingSrcType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingSrcValue'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingDstType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingDstValue'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingCosType'), (0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowSMappingCosValue'))
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsEntry.setDescription('A flow service statistics entry in the wwpLeosFlowServiceTotalStatsTable.')
wwp_leos_flow_service_total_stats_rx_hi = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsRxHi.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsRxHi.setDescription('The number of bytes received for this flow service entry. This counter represents the upper 32 bits of the counter value')
wwp_leos_flow_service_total_stats_rx_lo = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsRxLo.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsRxLo.setDescription('The number of bytes received for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwp_leos_flow_service_total_stats_tx_hi = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsTxHi.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsTxHi.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the upper 32 bits of the counter value.')
wwp_leos_flow_service_total_stats_tx_lo = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsTxLo.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsTxLo.setDescription('The number of bytes transmitted for this flow service entry. This counter represents the lower 32 bits of the counter value.')
wwp_leos_flow_service_total_stats_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 34, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('forward', 1), ('drop', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsType.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowServiceTotalStatsType.setDescription('Specifies the type of statistics for given entry.')
wwp_leos_flow_port_service_level_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40))
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelTable.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelTable.setDescription('A Table of flow Port Service Level entries.')
wwp_leos_flow_port_service_level_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1)).setIndexNames((0, 'WWP-LEOS-FLOW-MIB', 'wwpLeosFlowPortServiceLevelPort'))
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelEntry.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelEntry.setDescription('A flow service statistics entry in the wwpLeosFlowPortServiceLevelTable.')
wwp_leos_flow_port_service_level_port = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelPort.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelPort.setDescription('Port id used as index in the port service level entry. ')
wwp_leos_flow_port_service_level_max_bandwidth = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 8000000))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelMaxBandwidth.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelMaxBandwidth.setDescription('Sets the max egress bandwidth on a port. ')
wwp_leos_flow_port_service_level_queue_size = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('size0KB', 0), ('size16KB', 1), ('size32KB', 2), ('size64KB', 3), ('size128KB', 4), ('size256KB', 5), ('size512KB', 6), ('size1MB', 7), ('size2MB', 8), ('size4MB', 9)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelQueueSize.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelQueueSize.setDescription('The size of the traffic queue provisioned for this port service level entry. This may also be referred to as Latency Tolerance.')
wwp_leos_flow_port_service_level_queue_size_yellow = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('size16KB', 1), ('size32KB', 2), ('size64KB', 3), ('size128KB', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelQueueSizeYellow.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelQueueSizeYellow.setDescription('The size of the yellow traffic queue provisioned for this service level entry. Also known as the discard preferred queue size. ')
wwp_leos_flow_port_service_level_queue_size_red = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('size16KB', 1), ('size32KB', 2), ('size64KB', 3), ('size128KB', 4)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelQueueSizeRed.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelQueueSizeRed.setDescription('The size of the red traffic queue provisioned for this service level entry. Also known as the discard wanted queue size')
wwp_leos_flow_port_service_level_flow_group = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelFlowGroup.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelFlowGroup.setDescription('Service level Id direction used as index in the service level entry.')
wwp_leos_flow_port_service_level_red_curve = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 40, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 64))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelRedCurve.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowPortServiceLevelRedCurve.setDescription('This object is used to specifies the red curve index to be used for the given port service level. If this OID is not specified, the system will use the default value of this object which is the default port red-curve (zero). Valid values for this OID are 0, 5-64')
wwp_leos_flow_burst_config_backlog_limit = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 41), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 131072))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigBacklogLimit.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigBacklogLimit.setDescription('Sets the queue backlog-limit')
wwp_leos_flow_burst_config_multicast_limit = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 42), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 131072))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigMulticastLimit.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigMulticastLimit.setDescription('Sets the multicast backlog-limit')
wwp_leos_flow_burst_config_vlan_pri_fltr_on_thld = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 43), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigVlanPriFltrOnThld.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigVlanPriFltrOnThld.setDescription('The threshold of buffer use at which Vlan Priority Filtering is activated if enabled')
wwp_leos_flow_burst_config_vlan_pri_fltr_off_thld = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 44), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigVlanPriFltrOffThld.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigVlanPriFltrOffThld.setDescription('The threshold of buffer use at which Vlan Priority Filtering is deactivated if enabled')
wwp_leos_flow_burst_config_vlan_pri_fltr_pri_match = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 45), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigVlanPriFltrPriMatch.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigVlanPriFltrPriMatch.setDescription('when the Vlan Priority filter is activated all priorities less than this are dropped')
wwp_leos_flow_burst_config_vlan_pri_fltr_state = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 60, 6, 1, 1, 46), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigVlanPriFltrState.setStatus('current')
if mibBuilder.loadTexts:
wwpLeosFlowBurstConfigVlanPriFltrState.setDescription('Globaly enables or disabled the Flow Vlan Priority Filter')
mibBuilder.exportSymbols('WWP-LEOS-FLOW-MIB', wwpLeosFlowMacFindMacAddr=wwpLeosFlowMacFindMacAddr, wwpLeosFlowCpuRateLimitStatsTable=wwpLeosFlowCpuRateLimitStatsTable, wwpLeosFlowSMappingEntry=wwpLeosFlowSMappingEntry, wwpLeosFlowCpuRateLimitStatsDfltDropped=wwpLeosFlowCpuRateLimitStatsDfltDropped, wwpLeosFlowCosMap1dToPCPEntry=wwpLeosFlowCosMap1dToPCPEntry, wwpLeosFlowCpuRateLimitStatsPvstDropped=wwpLeosFlowCpuRateLimitStatsPvstDropped, wwpLeosFlowCosSyncIpPrecTo1dMapTo=wwpLeosFlowCosSyncIpPrecTo1dMapTo, wwpLeosFlowServiceMapProtocolPortNum=wwpLeosFlowServiceMapProtocolPortNum, wwpLeosFlowLearnAddr=wwpLeosFlowLearnAddr, wwpLeosFlowServiceACEntry=wwpLeosFlowServiceACEntry, wwpLeosFlowPortServiceLevelMaxBandwidth=wwpLeosFlowPortServiceLevelMaxBandwidth, wwpLeosFlowServiceACDynamicFilteredMacCount=wwpLeosFlowServiceACDynamicFilteredMacCount, wwpLeosFlowCpuRateLimitStatsClear=wwpLeosFlowCpuRateLimitStatsClear, wwpLeosFlowSMappingStatsRxLo=wwpLeosFlowSMappingStatsRxLo, wwpLeosFlowSMappingCpuPort=wwpLeosFlowSMappingCpuPort, wwpLeosFlowCpuRateLimitStatsBroadCastPassed=wwpLeosFlowCpuRateLimitStatsBroadCastPassed, wwpLeosFlowNotifAttrs=wwpLeosFlowNotifAttrs, wwpLeosFlowServiceMapSrcPri=wwpLeosFlowServiceMapSrcPri, wwpLeosFlowServiceTotalStatsEntry=wwpLeosFlowServiceTotalStatsEntry, wwpLeosFlowServiceTotalStatsTxLo=wwpLeosFlowServiceTotalStatsTxLo, wwpLeosFlowCosSync1dToExpEntry=wwpLeosFlowCosSync1dToExpEntry, wwpLeosFlowServiceStatus=wwpLeosFlowServiceStatus, wwpLeosFlowCpuRateLimitStatsMplsDropped=wwpLeosFlowCpuRateLimitStatsMplsDropped, wwpLeosFlowCpuRateLimitStatsRapsPassed=wwpLeosFlowCpuRateLimitStatsRapsPassed, wwpLeosFlowCpuRateLimitStatsIcmpPassed=wwpLeosFlowCpuRateLimitStatsIcmpPassed, wwpLeosFlowCpuRateLimitStatsLacpPassed=wwpLeosFlowCpuRateLimitStatsLacpPassed, wwpLeosFlowServiceLevelPirBW=wwpLeosFlowServiceLevelPirBW, wwpLeosFlowCosSyncIpPrecTo1dTable=wwpLeosFlowCosSyncIpPrecTo1dTable, wwpLeosFlowServiceACVid=wwpLeosFlowServiceACVid, wwpLeosFlowCpuRateLimitStatsPeArpDropped=wwpLeosFlowCpuRateLimitStatsPeArpDropped, wwpLeosFlowPortServiceLevelTable=wwpLeosFlowPortServiceLevelTable, wwpLeosFlowServiceMapRemarkPri=wwpLeosFlowServiceMapRemarkPri, wwpLeosFlowSMappingDstValue=wwpLeosFlowSMappingDstValue, wwpLeosFlowCpuRateLimitPeArp=wwpLeosFlowCpuRateLimitPeArp, wwpLeosFlowServiceStatsTable=wwpLeosFlowServiceStatsTable, wwpLeosFlowBurstConfigVlanPriFltrState=wwpLeosFlowBurstConfigVlanPriFltrState, wwpLeosFlowCpuRateLimitBootp=wwpLeosFlowCpuRateLimitBootp, wwpLeosFlowL2SacCurFilteredMac=wwpLeosFlowL2SacCurFilteredMac, wwpLeosFlowMIBCompliances=wwpLeosFlowMIBCompliances, wwpLeosFlowCosMapPCPTo1dTable=wwpLeosFlowCosMapPCPTo1dTable, wwpLeosFlowCpuRateLimitBroadCast=wwpLeosFlowCpuRateLimitBroadCast, wwpLeosFlowMacMotionEventsEnable=wwpLeosFlowMacMotionEventsEnable, wwpLeosFlowCpuRateLimitStatsClearPort=wwpLeosFlowCpuRateLimitStatsClearPort, wwpLeosFlowLearnType=wwpLeosFlowLearnType, wwpLeosFlowCosMapPCPTo1dMapFrom=wwpLeosFlowCosMapPCPTo1dMapFrom, wwpLeosFlowMacMotionAttrNewVlan=wwpLeosFlowMacMotionAttrNewVlan, wwpLeosFlowLearnSrcPri=wwpLeosFlowLearnSrcPri, wwpLeosFlowBurstConfigMulticastLimit=wwpLeosFlowBurstConfigMulticastLimit, wwpLeosFlowLearnVid=wwpLeosFlowLearnVid, wwpLeosFlowServiceLevelCirBW=wwpLeosFlowServiceLevelCirBW, wwpLeosFlowCpuRateLimitStatsDot1xPassed=wwpLeosFlowCpuRateLimitStatsDot1xPassed, wwpLeosFlowLearnDstTag=wwpLeosFlowLearnDstTag, wwpLeosFlowCpuRateLimitStatsRstpDropped=wwpLeosFlowCpuRateLimitStatsRstpDropped, wwpLeosFlowSMappingSrcType=wwpLeosFlowSMappingSrcType, wwpLeosFlowCpuRateLimitEntry=wwpLeosFlowCpuRateLimitEntry, wwpLeosFlowServiceLevelShareEligibility=wwpLeosFlowServiceLevelShareEligibility, wwpLeosFlowCpuRateLimitStatsLldpDropped=wwpLeosFlowCpuRateLimitStatsLldpDropped, wwpLeosFlowL2SacNetType=wwpLeosFlowL2SacNetType, wwpLeosFlowL2SacEntry=wwpLeosFlowL2SacEntry, wwpLeosFlowLearnTable=wwpLeosFlowLearnTable, wwpLeosFlowSacNetValue=wwpLeosFlowSacNetValue, wwpLeosFlowMacMotionAttrOldVlan=wwpLeosFlowMacMotionAttrOldVlan, wwpLeosFlowServiceRedCurveEntry=wwpLeosFlowServiceRedCurveEntry, PYSNMP_MODULE_ID=wwpLeosFlowMIB, wwpLeosFlowCpuRateLimitPvst=wwpLeosFlowCpuRateLimitPvst, wwpLeosFlowServiceLevelPortOverProvisionedTrap=wwpLeosFlowServiceLevelPortOverProvisionedTrap, wwpLeosFlowMacMotionAttrOldPort=wwpLeosFlowMacMotionAttrOldPort, wwpLeosFlowServiceLevelQueueSizeYellow=wwpLeosFlowServiceLevelQueueSizeYellow, wwpLeosFlowMacFindPort=wwpLeosFlowMacFindPort, wwpLeosFlowServiceACPortId=wwpLeosFlowServiceACPortId, wwpLeosFlowBurstConfigVlanPriFltrPriMatch=wwpLeosFlowBurstConfigVlanPriFltrPriMatch, wwpLeosFlowServiceRedCurveTable=wwpLeosFlowServiceRedCurveTable, wwpLeosFlowCos1dToRedCurveOffset1dValue=wwpLeosFlowCos1dToRedCurveOffset1dValue, wwpLeosFlowCpuRateLimitStatsLldpPassed=wwpLeosFlowCpuRateLimitStatsLldpPassed, wwpLeosFlowServiceLevelQueueSize=wwpLeosFlowServiceLevelQueueSize, wwpLeosFlowCpuRateLimitStatsEprArpPassed=wwpLeosFlowCpuRateLimitStatsEprArpPassed, wwpLeosFlowLearnAddrType=wwpLeosFlowLearnAddrType, wwpLeosFlowServiceLevelPort=wwpLeosFlowServiceLevelPort, wwpLeosFlowLearnIsFiltered=wwpLeosFlowLearnIsFiltered, wwpLeosFlowServiceTotalStatsType=wwpLeosFlowServiceTotalStatsType, wwpLeosFlowPortServiceLevelFlowGroup=wwpLeosFlowPortServiceLevelFlowGroup, wwpLeosFlow=wwpLeosFlow, wwpLeosFlowCosMap1dToPCPMapTo=wwpLeosFlowCosMap1dToPCPMapTo, wwpLeosFlowServiceMappingCosRedMappingState=wwpLeosFlowServiceMappingCosRedMappingState, wwpLeosFlowCosSyncIpPrecTo1dMapFrom=wwpLeosFlowCosSyncIpPrecTo1dMapFrom, wwpLeosFlowCpuRateLimitCxeTx=wwpLeosFlowCpuRateLimitCxeTx, wwpLeosFlowCpuRateLimitStatsMplsPassed=wwpLeosFlowCpuRateLimitStatsMplsPassed, wwpLeosFlowSMappingDstType=wwpLeosFlowSMappingDstType, wwpLeosFlowSMappingSrcValue=wwpLeosFlowSMappingSrcValue, wwpLeosFlowCpuRateLimitOam=wwpLeosFlowCpuRateLimitOam, wwpLeosFlowGlobal=wwpLeosFlowGlobal, wwpLeosFlowCpuRateLimitStatsDot1xDropped=wwpLeosFlowCpuRateLimitStatsDot1xDropped, wwpLeosFlowCpuRateLimitInet=wwpLeosFlowCpuRateLimitInet, wwpLeosFlowSMStatus=wwpLeosFlowSMStatus, wwpLeosFlowServiceRedCurveDropProbability=wwpLeosFlowServiceRedCurveDropProbability, wwpLeosFlowLearnSrcPort=wwpLeosFlowLearnSrcPort, wwpLeosFlowPortServiceLevelQueueSize=wwpLeosFlowPortServiceLevelQueueSize, wwpLeosFlowCpuRateLimitStatsTcpSynDropped=wwpLeosFlowCpuRateLimitStatsTcpSynDropped, wwpLeosFlowCpuRateLimitCft=wwpLeosFlowCpuRateLimitCft, wwpLeosFlowServiceTotalStatsTable=wwpLeosFlowServiceTotalStatsTable, wwpLeosFlowLearnSrcTag=wwpLeosFlowLearnSrcTag, wwpLeosFlowCos1dToRedCurveOffsetTable=wwpLeosFlowCos1dToRedCurveOffsetTable, wwpLeosFlowPortServiceLevelQueueSizeYellow=wwpLeosFlowPortServiceLevelQueueSizeYellow, wwpLeosFlowCpuRateLimitStatsIpControlPassed=wwpLeosFlowCpuRateLimitStatsIpControlPassed, wwpLeosFlowL2SacCurMac=wwpLeosFlowL2SacCurMac, wwpLeosFlowCpuRateLimitArp=wwpLeosFlowCpuRateLimitArp, wwpLeosFlowCpuRateLimitStatsTwampDropped=wwpLeosFlowCpuRateLimitStatsTwampDropped, wwpLeosFlowServiceLevelPortUnderProvisionedTrap=wwpLeosFlowServiceLevelPortUnderProvisionedTrap, wwpLeosFlowMIBConformance=wwpLeosFlowMIBConformance, wwpLeosFlowServiceACForwardLearning=wwpLeosFlowServiceACForwardLearning, wwpLeosFlowServiceRedCurveIndex=wwpLeosFlowServiceRedCurveIndex, wwpLeosFlowSMappingStatsRxHi=wwpLeosFlowSMappingStatsRxHi, wwpLeosFlowCpuRateLimitStatsArpDropped=wwpLeosFlowCpuRateLimitStatsArpDropped, wwpLeosFlowPortServiceLevelEntry=wwpLeosFlowPortServiceLevelEntry, PriorityMapping=PriorityMapping, wwpLeosFlowServiceLevelId=wwpLeosFlowServiceLevelId, wwpLeosFlowL2SacHighThreshold=wwpLeosFlowL2SacHighThreshold, wwpLeosFlowServiceMapSrcSlidId=wwpLeosFlowServiceMapSrcSlidId, wwpLeosFlowCpuRateLimitStatsCxeTxPassed=wwpLeosFlowCpuRateLimitStatsCxeTxPassed, wwpLeosFlowServiceACStatus=wwpLeosFlowServiceACStatus, wwpLeosFlowNotifications=wwpLeosFlowNotifications, wwpLeosFlowL2SacRowStatus=wwpLeosFlowL2SacRowStatus, wwpLeosFlowCpuRateLimitStatsIpControlDropped=wwpLeosFlowCpuRateLimitStatsIpControlDropped, wwpLeosFlowBwCalcMode=wwpLeosFlowBwCalcMode, wwpLeosFlowCpuRateLimitStatsEprArpDropped=wwpLeosFlowCpuRateLimitStatsEprArpDropped, wwpLeosFlowCpuRateLimitStatsLpbkDropped=wwpLeosFlowCpuRateLimitStatsLpbkDropped, wwpLeosFlowServiceLevelDropEligibility=wwpLeosFlowServiceLevelDropEligibility, wwpLeosFlowSMappingStatus=wwpLeosFlowSMappingStatus, wwpLeosFlowCpuRateLimitStatsInet6Passed=wwpLeosFlowCpuRateLimitStatsInet6Passed, wwpLeosFlowCpuRateLimitStatsCftDropped=wwpLeosFlowCpuRateLimitStatsCftDropped, wwpLeosFlowStaticMacTable=wwpLeosFlowStaticMacTable, wwpLeosFlowCpuRateLimitCxeRx=wwpLeosFlowCpuRateLimitCxeRx, wwpLeosFlowCpuRateLimitEnable=wwpLeosFlowCpuRateLimitEnable, wwpLeosFlowSMappingSrcSlid=wwpLeosFlowSMappingSrcSlid, wwpLeosFlowSMPortId=wwpLeosFlowSMPortId, wwpLeosFlowCpuRateLimitStatsBootpPassed=wwpLeosFlowCpuRateLimitStatsBootpPassed, wwpLeosFlowCosSyncExpTo1dMapTo=wwpLeosFlowCosSyncExpTo1dMapTo, wwpLeosFlowSMMacAddr=wwpLeosFlowSMMacAddr, wwpLeosFlowCpuRateLimitRmtLpbk=wwpLeosFlowCpuRateLimitRmtLpbk, wwpLeosFlowCpuRateLimitStatsLacpDropped=wwpLeosFlowCpuRateLimitStatsLacpDropped, wwpLeosFlowCosSyncExpTo1dEntry=wwpLeosFlowCosSyncExpTo1dEntry, wwpLeosFlowServiceStatsEntry=wwpLeosFlowServiceStatsEntry, wwpLeosFlowPortServiceLevelPort=wwpLeosFlowPortServiceLevelPort, wwpLeosFlowCpuRateLimitRaps=wwpLeosFlowCpuRateLimitRaps, wwpLeosFlowMIBObjects=wwpLeosFlowMIBObjects, wwpLeosFlowCosSyncStdPhbTo1dTable=wwpLeosFlowCosSyncStdPhbTo1dTable, wwpLeosFlowServiceTotalStatsRxLo=wwpLeosFlowServiceTotalStatsRxLo, wwpLeosFlowNotificationPrefix=wwpLeosFlowNotificationPrefix, wwpLeosFlowMacFindTable=wwpLeosFlowMacFindTable, wwpLeosFlowL2SacNormalThreshold=wwpLeosFlowL2SacNormalThreshold, wwpLeosFlowSMappingNetType=wwpLeosFlowSMappingNetType, wwpLeosFlowL2SacTable=wwpLeosFlowL2SacTable, wwpLeosFlowCpuRateLimitStatsCxeTxDropped=wwpLeosFlowCpuRateLimitStatsCxeTxDropped, wwpLeosFlowServiceTotalStatsTxHi=wwpLeosFlowServiceTotalStatsTxHi, wwpLeosFlowServiceRedCurveMinThreshold=wwpLeosFlowServiceRedCurveMinThreshold, wwpLeosFlowCpuRateLimitIgmp=wwpLeosFlowCpuRateLimitIgmp, wwpLeosFlowServiceMapVid=wwpLeosFlowServiceMapVid, wwpLeosFlowCosSync1dToExpMapFrom=wwpLeosFlowCosSync1dToExpMapFrom, wwpLeosFlowBurstConfigVlanPriFltrOnThld=wwpLeosFlowBurstConfigVlanPriFltrOnThld, wwpLeosFlowCosSyncIpPrecTo1dEntry=wwpLeosFlowCosSyncIpPrecTo1dEntry, wwpLeosFlowCpuRateLimitStatsBootpDropped=wwpLeosFlowCpuRateLimitStatsBootpDropped, wwpLeosFlowCpuRateLimitStatsIgmpPassed=wwpLeosFlowCpuRateLimitStatsIgmpPassed, wwpLeosFlowCpuRateLimitStatsMultiCastPassed=wwpLeosFlowCpuRateLimitStatsMultiCastPassed, wwpLeosFlowServiceMappingTable=wwpLeosFlowServiceMappingTable, wwpLeosFlowSMappingStatsEntry=wwpLeosFlowSMappingStatsEntry, wwpLeosFlowPortServiceLevelRedCurve=wwpLeosFlowPortServiceLevelRedCurve, wwpLeosFlowCpuRateLimitLldp=wwpLeosFlowCpuRateLimitLldp, wwpLeosFlowMacMotionAttrNewPort=wwpLeosFlowMacMotionAttrNewPort, wwpLeosFlowServiceACMaxDynamicMacCount=wwpLeosFlowServiceACMaxDynamicMacCount, wwpLeosFlowCpuRateLimitTwamp=wwpLeosFlowCpuRateLimitTwamp, wwpLeosFlowServiceMapDstSlidId=wwpLeosFlowServiceMapDstSlidId, wwpLeosFlowServiceLevelPriority=wwpLeosFlowServiceLevelPriority, wwpLeosFlowCpuRateLimitsEnable=wwpLeosFlowCpuRateLimitsEnable, wwpLeosFlowServiceMapDstPort=wwpLeosFlowServiceMapDstPort, wwpLeosFlowCpuRateLimitStatsRapsDropped=wwpLeosFlowCpuRateLimitStatsRapsDropped, wwpLeosFlowCpuRateLimitStatsPort=wwpLeosFlowCpuRateLimitStatsPort, wwpLeosFlowCpuRateLimitStatsPvstPassed=wwpLeosFlowCpuRateLimitStatsPvstPassed, wwpLeosFlowCpuRateLimitCfm=wwpLeosFlowCpuRateLimitCfm, wwpLeosFlowServiceLevelFlowGroupState=wwpLeosFlowServiceLevelFlowGroupState, wwpLeosFlowCpuRateLimitStatsDfltPassed=wwpLeosFlowCpuRateLimitStatsDfltPassed, wwpLeosFlowSMappingTable=wwpLeosFlowSMappingTable, wwpLeosFlowCpuRateLimitStatsInet6Dropped=wwpLeosFlowCpuRateLimitStatsInet6Dropped, wwpLeosFlowCpuRateLimitStatsMultiCastDropped=wwpLeosFlowCpuRateLimitStatsMultiCastDropped, wwpLeosFlowCpuRateLimitStatsCfmDropped=wwpLeosFlowCpuRateLimitStatsCfmDropped, wwpLeosFlowStrictQueuingState=wwpLeosFlowStrictQueuingState, wwpLeosFlowCpuRateLimitStatsTwampPassed=wwpLeosFlowCpuRateLimitStatsTwampPassed, wwpLeosFlowServiceLevelTable=wwpLeosFlowServiceLevelTable, wwpLeosFlowCpuRateLimitDot1x=wwpLeosFlowCpuRateLimitDot1x, wwpLeosFlowServiceRedCurveMaxThreshold=wwpLeosFlowServiceRedCurveMaxThreshold, wwpLeosFlowServiceStatsTxLo=wwpLeosFlowServiceStatsTxLo, wwpLeosFlowCpuRateLimitStatsCxeRxPassed=wwpLeosFlowCpuRateLimitStatsCxeRxPassed, wwpLeosFlowCpuRateLimitStatsIpV6MgmtDropped=wwpLeosFlowCpuRateLimitStatsIpV6MgmtDropped, wwpLeosFlowPriRemapTable=wwpLeosFlowPriRemapTable, wwpLeosFlowCpuRateLimitStatsRmtLpbkPassed=wwpLeosFlowCpuRateLimitStatsRmtLpbkPassed, wwpLeosFlowSMappingDstSlid=wwpLeosFlowSMappingDstSlid, wwpLeosFlowCos1dToRedCurveOffsetValue=wwpLeosFlowCos1dToRedCurveOffsetValue, wwpLeosFlowServiceLevelName=wwpLeosFlowServiceLevelName, wwpLeosFlowSMappingCosType=wwpLeosFlowSMappingCosType, wwpLeosFlowCosSyncStdPhbTo1dMapTo=wwpLeosFlowCosSyncStdPhbTo1dMapTo, wwpLeosFlowServiceMapStatus=wwpLeosFlowServiceMapStatus, wwpLeosFlowServiceLevelQueueSizeRed=wwpLeosFlowServiceLevelQueueSizeRed, wwpLeosFlowCpuRateLimitStatsIgmpDropped=wwpLeosFlowCpuRateLimitStatsIgmpDropped, wwpLeosFlowCpuRateLimitLpbk=wwpLeosFlowCpuRateLimitLpbk, wwpLeosFlowCosSyncExpTo1dTable=wwpLeosFlowCosSyncExpTo1dTable, wwpLeosFlowServiceAllRedCurveUnset=wwpLeosFlowServiceAllRedCurveUnset, wwpLeosFlowMacMotionNotification=wwpLeosFlowMacMotionNotification, wwpLeosFlowServiceRedCurveState=wwpLeosFlowServiceRedCurveState, wwpLeosFlowServiceStatsRxHi=wwpLeosFlowServiceStatsRxHi, wwpLeosFlowCosSyncStdPhbTo1dEntry=wwpLeosFlowCosSyncStdPhbTo1dEntry, wwpLeosFlowCpuRateLimitStatsRmtLpbkDropped=wwpLeosFlowCpuRateLimitStatsRmtLpbkDropped, wwpLeosFlowCpuRateLimitStatsIpMgmtPassed=wwpLeosFlowCpuRateLimitStatsIpMgmtPassed, wwpLeosFlowPriRemapEntry=wwpLeosFlowPriRemapEntry, wwpLeosFlowCpuRateLimitRstp=wwpLeosFlowCpuRateLimitRstp, wwpLeosFlowCpuRateLimitStatsIcmpDropped=wwpLeosFlowCpuRateLimitStatsIcmpDropped, wwpLeosFlowCpuRateLimitPort=wwpLeosFlowCpuRateLimitPort, wwpLeosFlowSMappingStatsTxHi=wwpLeosFlowSMappingStatsTxHi, wwpLeosFlowMIBGroups=wwpLeosFlowMIBGroups, wwpLeosFlowUserPri=wwpLeosFlowUserPri, wwpLeosFlowServiceMapSrcPort=wwpLeosFlowServiceMapSrcPort, wwpLeosFlowStaticMacEntry=wwpLeosFlowStaticMacEntry, wwpLeosFlowServiceStatsRxLo=wwpLeosFlowServiceStatsRxLo, wwpLeosFlowMIB=wwpLeosFlowMIB, wwpLeosFlowCpuRateLimitMpls=wwpLeosFlowCpuRateLimitMpls, wwpLeosFlowCpuRateLimitStatsClearEntry=wwpLeosFlowCpuRateLimitStatsClearEntry, wwpLeosFlowCpuRateLimitStatsTwampRspDropped=wwpLeosFlowCpuRateLimitStatsTwampRspDropped, wwpLeosFlowL2SacPortId=wwpLeosFlowL2SacPortId, wwpLeosFlowCpuRateLimitStatsIpMgmtDropped=wwpLeosFlowCpuRateLimitStatsIpMgmtDropped, wwpLeosFlowSMTag=wwpLeosFlowSMTag, wwpLeosFlowMacMotionAttrMacAddr=wwpLeosFlowMacMotionAttrMacAddr, wwpLeosFlowServiceLevelDirection=wwpLeosFlowServiceLevelDirection, wwpLeosFlowLearnEntry=wwpLeosFlowLearnEntry, wwpLeosFlowBurstConfigBacklogLimit=wwpLeosFlowBurstConfigBacklogLimit, wwpLeosFlowCpuRateLimitMultiCast=wwpLeosFlowCpuRateLimitMultiCast, wwpLeosFlowCosMap1dToPCPTable=wwpLeosFlowCosMap1dToPCPTable, wwpLeosFlowCosMapPCPTo1dEntry=wwpLeosFlowCosMapPCPTo1dEntry, wwpLeosFlowCpuRateLimitStatsEntry=wwpLeosFlowCpuRateLimitStatsEntry, wwpLeosFlowCosSync1dToExpTable=wwpLeosFlowCosSync1dToExpTable, wwpLeosFlowMacFindVlanId=wwpLeosFlowMacFindVlanId, wwpLeosFlowMacMotionEventsInterval=wwpLeosFlowMacMotionEventsInterval, wwpLeosFlowCpuRateLimitStatsLpbkPassed=wwpLeosFlowCpuRateLimitStatsLpbkPassed, wwpLeosFlowCpuRateLimitStatsRstpPassed=wwpLeosFlowCpuRateLimitStatsRstpPassed, wwpLeosFlowSMappingNetValue=wwpLeosFlowSMappingNetValue, wwpLeosFlowAgeTime=wwpLeosFlowAgeTime, wwpLeosFlowSMappingStatsTxLo=wwpLeosFlowSMappingStatsTxLo, wwpLeosFlowCpuRateLimitStatsMstpDropped=wwpLeosFlowCpuRateLimitStatsMstpDropped, wwpLeosFlowSMappingCosValue=wwpLeosFlowSMappingCosValue, wwpLeosFlowCpuRateLimitIpControl=wwpLeosFlowCpuRateLimitIpControl, wwpLeosFlowSMVid=wwpLeosFlowSMVid, wwpLeosFlowMacFindVlanTag=wwpLeosFlowMacFindVlanTag, wwpLeosFlowServiceStatsTxHi=wwpLeosFlowServiceStatsTxHi, wwpLeosFlowServiceLevelEntry=wwpLeosFlowServiceLevelEntry, wwpLeosFlowCosSyncStdPhbTo1dMapFrom=wwpLeosFlowCosSyncStdPhbTo1dMapFrom, wwpLeosFlowCpuRateLimitStatsInetDropped=wwpLeosFlowCpuRateLimitStatsInetDropped, wwpLeosFlowCosSyncExpTo1dMapFrom=wwpLeosFlowCosSyncExpTo1dMapFrom)
mibBuilder.exportSymbols('WWP-LEOS-FLOW-MIB', wwpLeosFlowCpuRateLimitDflt=wwpLeosFlowCpuRateLimitDflt, wwpLeosFlowCpuRateLimitInet6=wwpLeosFlowCpuRateLimitInet6, wwpLeosFlowSMappingStatsTable=wwpLeosFlowSMappingStatsTable, wwpLeosFlowCpuRateLimitLacp=wwpLeosFlowCpuRateLimitLacp, wwpLeosFlowCpuRateLimitTwampRsp=wwpLeosFlowCpuRateLimitTwampRsp, wwpLeosFlowCpuRateLimitStatsTwampRspPassed=wwpLeosFlowCpuRateLimitStatsTwampRspPassed, wwpLeosFlowServiceStatsType=wwpLeosFlowServiceStatsType, wwpLeosFlowSMappingStatsType=wwpLeosFlowSMappingStatsType, wwpLeosFlowCpuRateLimitStatsOamPassed=wwpLeosFlowCpuRateLimitStatsOamPassed, wwpLeosFlowCos1dToRedCurveOffsetEntry=wwpLeosFlowCos1dToRedCurveOffsetEntry, wwpLeosFlowL2SacTrapState=wwpLeosFlowL2SacTrapState, wwpLeosFlowCpuRateLimitIpMgmt=wwpLeosFlowCpuRateLimitIpMgmt, wwpLeosFlowCosMapPCPTo1dMapTo=wwpLeosFlowCosMapPCPTo1dMapTo, wwpLeosFlowCpuRateLimitTable=wwpLeosFlowCpuRateLimitTable, wwpLeosFlowCpuRateLimitIpV6Mgmt=wwpLeosFlowCpuRateLimitIpV6Mgmt, wwpLeosFlowServiceMappingEntry=wwpLeosFlowServiceMappingEntry, wwpLeosFlowL2SacLimit=wwpLeosFlowL2SacLimit, wwpLeosFlowServiceLevelFlowGroup=wwpLeosFlowServiceLevelFlowGroup, wwpLeosFlowMacFindEntry=wwpLeosFlowMacFindEntry, wwpLeosFlowCpuRateLimitStatsInetPassed=wwpLeosFlowCpuRateLimitStatsInetPassed, wwpLeosFlowServiceMapSrcTag=wwpLeosFlowServiceMapSrcTag, wwpLeosFlowCosSync1dToExpMapTo=wwpLeosFlowCosSync1dToExpMapTo, wwpLeosFlowLearnDstPort=wwpLeosFlowLearnDstPort, wwpLeosFlowCpuRateLimitStatsPeArpPassed=wwpLeosFlowCpuRateLimitStatsPeArpPassed, wwpLeosFlowCpuRateLimitStatsBroadCastDropped=wwpLeosFlowCpuRateLimitStatsBroadCastDropped, wwpLeosFlowSMappingRedCurveOffset=wwpLeosFlowSMappingRedCurveOffset, wwpLeosFlowAgeTimeState=wwpLeosFlowAgeTimeState, wwpLeosFlowCpuRateLimitStatsClearTable=wwpLeosFlowCpuRateLimitStatsClearTable, wwpLeosFlowServiceACTable=wwpLeosFlowServiceACTable, wwpLeosFlowCpuRateLimitTcpSyn=wwpLeosFlowCpuRateLimitTcpSyn, wwpLeosFlowPortServiceLevelQueueSizeRed=wwpLeosFlowPortServiceLevelQueueSizeRed, wwpLeosFlowCpuRateLimitEprArp=wwpLeosFlowCpuRateLimitEprArp, wwpLeosFlowCpuRateLimitStatsArpPassed=wwpLeosFlowCpuRateLimitStatsArpPassed, wwpLeosFlowServiceMapProtocolType=wwpLeosFlowServiceMapProtocolType, wwpLeosFlowRemappedPri=wwpLeosFlowRemappedPri, wwpLeosFlowBurstConfigVlanPriFltrOffThld=wwpLeosFlowBurstConfigVlanPriFltrOffThld, wwpLeosFlowServiceMapPriRemarkStatus=wwpLeosFlowServiceMapPriRemarkStatus, wwpLeosFlowServiceRedCurveId=wwpLeosFlowServiceRedCurveId, wwpLeosFlowServiceRedCurveUnset=wwpLeosFlowServiceRedCurveUnset, wwpLeosFlowCpuRateLimitIcmp=wwpLeosFlowCpuRateLimitIcmp, wwpLeosFlowCpuRateLimitStatsCxeRxDropped=wwpLeosFlowCpuRateLimitStatsCxeRxDropped, wwpLeosFlowCpuRateLimitStatsIpV6MgmtPassed=wwpLeosFlowCpuRateLimitStatsIpV6MgmtPassed, wwpLeosFlowCosMap1dToPCPMapFrom=wwpLeosFlowCosMap1dToPCPMapFrom, wwpLeosFlowServiceACDynamicNonFilteredMacCount=wwpLeosFlowServiceACDynamicNonFilteredMacCount, wwpLeosFlowServiceTotalStatsRxHi=wwpLeosFlowServiceTotalStatsRxHi, wwpLeosFlowCpuRateLimitMstp=wwpLeosFlowCpuRateLimitMstp, wwpLeosFlowL2SacOperState=wwpLeosFlowL2SacOperState, wwpLeosFlowServiceRedCurveName=wwpLeosFlowServiceRedCurveName, wwpLeosFlowServiceMapDstTag=wwpLeosFlowServiceMapDstTag, wwpLeosFlowCpuRateLimitStatsCfmPassed=wwpLeosFlowCpuRateLimitStatsCfmPassed, wwpLeosFlowCpuRateLimitStatsOamDropped=wwpLeosFlowCpuRateLimitStatsOamDropped, wwpLeosFlowCpuRateLimitStatsMstpPassed=wwpLeosFlowCpuRateLimitStatsMstpPassed, wwpLeosFlowCpuRateLimitStatsTcpSynPassed=wwpLeosFlowCpuRateLimitStatsTcpSynPassed, wwpLeosFlowCpuRateLimitStatsCftPassed=wwpLeosFlowCpuRateLimitStatsCftPassed) |
# generated from catkin/cmake/template/cfg-extras.context.py.in
DEVELSPACE = 'FALSE' == 'TRUE'
INSTALLSPACE = 'TRUE' == 'TRUE'
CATKIN_DEVEL_PREFIX = '/root/ros_catkin_ws/devel_isolated/roslisp'
CATKIN_GLOBAL_BIN_DESTINATION = 'bin'
CATKIN_GLOBAL_ETC_DESTINATION = 'etc'
CATKIN_GLOBAL_INCLUDE_DESTINATION = 'include'
CATKIN_GLOBAL_LIB_DESTINATION = 'lib'
CATKIN_GLOBAL_LIBEXEC_DESTINATION = 'lib'
CATKIN_GLOBAL_PYTHON_DESTINATION = 'lib/python2.7/dist-packages'
CATKIN_GLOBAL_SHARE_DESTINATION = 'share'
CATKIN_PACKAGE_BIN_DESTINATION = 'lib/roslisp'
CATKIN_PACKAGE_ETC_DESTINATION = 'etc/roslisp'
CATKIN_PACKAGE_INCLUDE_DESTINATION = 'include/roslisp'
CATKIN_PACKAGE_LIB_DESTINATION = 'lib'
CATKIN_PACKAGE_LIBEXEC_DESTINATION = ''
CATKIN_PACKAGE_PYTHON_DESTINATION = 'lib/python2.7/dist-packages/roslisp'
CATKIN_PACKAGE_SHARE_DESTINATION = 'share/roslisp'
CMAKE_BINARY_DIR = '/root/ros_catkin_ws/build_isolated/roslisp'
CMAKE_CURRENT_BINARY_DIR = '/root/ros_catkin_ws/build_isolated/roslisp'
CMAKE_CURRENT_SOURCE_DIR = '/root/ros_catkin_ws/src/roslisp'
CMAKE_INSTALL_PREFIX = '/root/ros_catkin_ws/install_isolated'
CMAKE_SOURCE_DIR = '/root/ros_catkin_ws/src/roslisp'
PKG_CMAKE_DIR = '${roslisp_DIR}'
PROJECT_NAME = 'roslisp'
PROJECT_BINARY_DIR = '/root/ros_catkin_ws/build_isolated/roslisp'
PROJECT_SOURCE_DIR = '/root/ros_catkin_ws/src/roslisp'
| develspace = 'FALSE' == 'TRUE'
installspace = 'TRUE' == 'TRUE'
catkin_devel_prefix = '/root/ros_catkin_ws/devel_isolated/roslisp'
catkin_global_bin_destination = 'bin'
catkin_global_etc_destination = 'etc'
catkin_global_include_destination = 'include'
catkin_global_lib_destination = 'lib'
catkin_global_libexec_destination = 'lib'
catkin_global_python_destination = 'lib/python2.7/dist-packages'
catkin_global_share_destination = 'share'
catkin_package_bin_destination = 'lib/roslisp'
catkin_package_etc_destination = 'etc/roslisp'
catkin_package_include_destination = 'include/roslisp'
catkin_package_lib_destination = 'lib'
catkin_package_libexec_destination = ''
catkin_package_python_destination = 'lib/python2.7/dist-packages/roslisp'
catkin_package_share_destination = 'share/roslisp'
cmake_binary_dir = '/root/ros_catkin_ws/build_isolated/roslisp'
cmake_current_binary_dir = '/root/ros_catkin_ws/build_isolated/roslisp'
cmake_current_source_dir = '/root/ros_catkin_ws/src/roslisp'
cmake_install_prefix = '/root/ros_catkin_ws/install_isolated'
cmake_source_dir = '/root/ros_catkin_ws/src/roslisp'
pkg_cmake_dir = '${roslisp_DIR}'
project_name = 'roslisp'
project_binary_dir = '/root/ros_catkin_ws/build_isolated/roslisp'
project_source_dir = '/root/ros_catkin_ws/src/roslisp' |
a,b=1,0
for i in range(int(input())):
x,y,z=list(map(int,input().split()))
a=a*y//x
if z:
b=1-b
print(b,a) | (a, b) = (1, 0)
for i in range(int(input())):
(x, y, z) = list(map(int, input().split()))
a = a * y // x
if z:
b = 1 - b
print(b, a) |
# https://www.hackerrank.com/challenges/merge-the-tools/problem
def merge_the_tools(s, n):
# your code goes here
for part in zip(*[iter(s)] * n):
d = dict()
print(''.join([d.setdefault(c, c) for c in part if c not in d]))
if __name__ == '__main__':
string, k = input(), int(input())
merge_the_tools(string, k)
| def merge_the_tools(s, n):
for part in zip(*[iter(s)] * n):
d = dict()
print(''.join([d.setdefault(c, c) for c in part if c not in d]))
if __name__ == '__main__':
(string, k) = (input(), int(input()))
merge_the_tools(string, k) |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
class PodiumApplication():
def __init__(self, app_id, app_secret, podium_url=None):
self.app_id = app_id
self.app_secret = app_secret
self.podium_url = 'https://podium.live' if podium_url is None else podium_url
| class Podiumapplication:
def __init__(self, app_id, app_secret, podium_url=None):
self.app_id = app_id
self.app_secret = app_secret
self.podium_url = 'https://podium.live' if podium_url is None else podium_url |
class DigAdd:
def addDigits(self, num: int) -> int:
if not num:
return 0
else:
mod = (num - 1) % 9
x = mod + 1
return x
print(DigAdd().addDigits(12))
print(DigAdd().addDigits(12836374))
print(DigAdd().addDigits(9))
print(DigAdd().addDigits(8))
| class Digadd:
def add_digits(self, num: int) -> int:
if not num:
return 0
else:
mod = (num - 1) % 9
x = mod + 1
return x
print(dig_add().addDigits(12))
print(dig_add().addDigits(12836374))
print(dig_add().addDigits(9))
print(dig_add().addDigits(8)) |
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
# O(n) time | O(n) space - where n is the number of the nodes in this binary tree
def maxDepth(self, root: Optional[TreeNode]) -> int:
stack = [[root, 1]]
ans = 0
while stack:
node, depth = stack.pop()
if node:
ans = max(ans, depth)
stack.append([node.right, depth + 1])
stack.append([node.left, depth + 1])
return ans
| class Solution:
def max_depth(self, root: Optional[TreeNode]) -> int:
stack = [[root, 1]]
ans = 0
while stack:
(node, depth) = stack.pop()
if node:
ans = max(ans, depth)
stack.append([node.right, depth + 1])
stack.append([node.left, depth + 1])
return ans |
def send_email(name: str, address: str, subject: str, body: str):
print(f"Sending email to {name} ({address})")
print("==========")
print(f"Subject: {subject}\n")
print(body)
| def send_email(name: str, address: str, subject: str, body: str):
print(f'Sending email to {name} ({address})')
print('==========')
print(f'Subject: {subject}\n')
print(body) |
with open('input') as f:
in_data = [line.rstrip() for line in f]
j=0
w=len(in_data[0])
tree_count=0
for i in range(1, len(in_data)):
line = in_data[i]
j=(j+3)%w
if line[j] == '#':
tree_count+=1
print(tree_count)
| with open('input') as f:
in_data = [line.rstrip() for line in f]
j = 0
w = len(in_data[0])
tree_count = 0
for i in range(1, len(in_data)):
line = in_data[i]
j = (j + 3) % w
if line[j] == '#':
tree_count += 1
print(tree_count) |
def isPalindrome(word):
word = word.lower()
if word == word[::-1]:
return True
else:
return False
print(isPalindrome("DDnKnDD"))
| def is_palindrome(word):
word = word.lower()
if word == word[::-1]:
return True
else:
return False
print(is_palindrome('DDnKnDD')) |
for i in range(1, 1001):
print(1001 - i, end="\t")
if i % 5 == 0:
print("")
| for i in range(1, 1001):
print(1001 - i, end='\t')
if i % 5 == 0:
print('') |
with open('day002.txt', 'r') as fd:
inp = fd.read()
rows = inp.split('\n')
def move(p, d):
x, y = p
if d == 'U': p = (x, max(y - 1, 0))
if d == 'D': p = (x, min(y + 1, 2))
if d == 'R': p = (min(x + 1, 2), y)
if d == 'L': p = (max(x - 1, 0), y)
return p
def key(p):
return p[0] + p[1] * 3 + 1
p = (1, 1)
keys = []
for row in rows:
for d in row:
p = move(p, d)
keys.append(str(key(p)))
print(''.join(keys))
| with open('day002.txt', 'r') as fd:
inp = fd.read()
rows = inp.split('\n')
def move(p, d):
(x, y) = p
if d == 'U':
p = (x, max(y - 1, 0))
if d == 'D':
p = (x, min(y + 1, 2))
if d == 'R':
p = (min(x + 1, 2), y)
if d == 'L':
p = (max(x - 1, 0), y)
return p
def key(p):
return p[0] + p[1] * 3 + 1
p = (1, 1)
keys = []
for row in rows:
for d in row:
p = move(p, d)
keys.append(str(key(p)))
print(''.join(keys)) |
jvar = 0
def return_something():
return "Hi world"
def change_jvar():
jvar = 18
print(jvar)
def print_jvar():
print(jvar)
print("Called on import! Oops!")
| jvar = 0
def return_something():
return 'Hi world'
def change_jvar():
jvar = 18
print(jvar)
def print_jvar():
print(jvar)
print('Called on import! Oops!') |
# empty class for creating constants
class Constant:
pass
# constants for metrical feet
FOOT = Constant()
FOOT.DACTYL = "Dactyl"
FOOT.SPONDEE = "Spondee"
FOOT.FINAL = "Final"
APPROACH = Constant()
APPROACH.STUDENT = "version_student"
APPROACH.NATIVE_SPEAKER = "version_native_speaker"
APPROACH.FALLBACK = "version_fallback"
SYL = Constant()
SYL.UNKNOWN = 0
SYL.SHORT = 1
SYL.LONG = 2
VERBOSE = False#True#
VERY_VERBOSE = False
| class Constant:
pass
foot = constant()
FOOT.DACTYL = 'Dactyl'
FOOT.SPONDEE = 'Spondee'
FOOT.FINAL = 'Final'
approach = constant()
APPROACH.STUDENT = 'version_student'
APPROACH.NATIVE_SPEAKER = 'version_native_speaker'
APPROACH.FALLBACK = 'version_fallback'
syl = constant()
SYL.UNKNOWN = 0
SYL.SHORT = 1
SYL.LONG = 2
verbose = False
very_verbose = False |
class Agencia:
def __init__(self,nombre,direccion,email):
self.nombre = nombre
self.direccion = direccion
self.email = email
def getNombre(self):
return self.nombre
def getDireccion(self):
return self.direccion
def getEmail(self):
return self.email
def setNombre(self,nombre):
self.nombre = nombre
def setDireccion(self,direccion):
self.direccion = direccion
def setEmail(self,email):
self.email = email
def ventaVehiculo(self,Cliente,Vehiculo,Vendedor):
return Cliente+" "+Vehiculo+" "+Vendedor
Sagencia = Agencia('El Horizonte \n S.A. de C.V.','Balcones de buenavista #193','elhorizonte@outlook.com')
| class Agencia:
def __init__(self, nombre, direccion, email):
self.nombre = nombre
self.direccion = direccion
self.email = email
def get_nombre(self):
return self.nombre
def get_direccion(self):
return self.direccion
def get_email(self):
return self.email
def set_nombre(self, nombre):
self.nombre = nombre
def set_direccion(self, direccion):
self.direccion = direccion
def set_email(self, email):
self.email = email
def venta_vehiculo(self, Cliente, Vehiculo, Vendedor):
return Cliente + ' ' + Vehiculo + ' ' + Vendedor
sagencia = agencia('El Horizonte \n S.A. de C.V.', 'Balcones de buenavista #193', 'elhorizonte@outlook.com') |
# Advent of Code 2017
# Day 9, Part 2
# @geekygirlsarah
# Files to run through
# input.txt being the input the puzzle provides
inputFile = "input.txt"
# inputFile = "testinput.txt"
# Process file
with open(inputFile) as f:
while True:
contents = f.readline(-1)
if not contents:
# print "End of file"
break
# print ("Contents: ", contents)
state = "start"
group_level = 0
group_sum = 0
char_pos = -1
garbage_count = 0
while True:
# increment char
char_pos += 1
if state == "end" or char_pos >= len(contents):
break
char = contents[char_pos]
# Starting state
if state == "start" and char == "{":
group_level += 1
state = "in group"
continue
if state == "in group" and char == "{":
group_level += 1
continue
if state == "in group" and char == "}":
group_sum += group_level
group_level -= 1
if group_level == 0:
state = "end"
continue
if state == "in group" and char == "<":
state = "garbage"
continue
if state == "garbage" and char == ">":
state = "in group"
continue
if state == "garbage" and char == "!":
char_pos += 1
continue
if state == "garbage" and char == ">":
state = "in group"
continue
if state == "garbage": # catch misc. chars
garbage_count += 1
print("Sum: " + str(group_sum))
print("Garbage count: " + str(garbage_count) + "\n")
| input_file = 'input.txt'
with open(inputFile) as f:
while True:
contents = f.readline(-1)
if not contents:
break
state = 'start'
group_level = 0
group_sum = 0
char_pos = -1
garbage_count = 0
while True:
char_pos += 1
if state == 'end' or char_pos >= len(contents):
break
char = contents[char_pos]
if state == 'start' and char == '{':
group_level += 1
state = 'in group'
continue
if state == 'in group' and char == '{':
group_level += 1
continue
if state == 'in group' and char == '}':
group_sum += group_level
group_level -= 1
if group_level == 0:
state = 'end'
continue
if state == 'in group' and char == '<':
state = 'garbage'
continue
if state == 'garbage' and char == '>':
state = 'in group'
continue
if state == 'garbage' and char == '!':
char_pos += 1
continue
if state == 'garbage' and char == '>':
state = 'in group'
continue
if state == 'garbage':
garbage_count += 1
print('Sum: ' + str(group_sum))
print('Garbage count: ' + str(garbage_count) + '\n') |
#
# PySNMP MIB module Juniper-DVMRP-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Juniper-DVMRP-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:02:27 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint")
junidDvmrpInterfaceEntry, = mibBuilder.importSymbols("DVMRP-STD-MIB-JUNI", "junidDvmrpInterfaceEntry")
InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex")
juniMibs, = mibBuilder.importSymbols("Juniper-MIBs", "juniMibs")
ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
Counter32, NotificationType, TimeTicks, ModuleIdentity, Counter64, Unsigned32, ObjectIdentity, Integer32, MibIdentifier, iso, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "NotificationType", "TimeTicks", "ModuleIdentity", "Counter64", "Unsigned32", "ObjectIdentity", "Integer32", "MibIdentifier", "iso", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "IpAddress")
DisplayString, TruthValue, RowStatus, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TruthValue", "RowStatus", "TextualConvention")
juniDvmrpMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44))
juniDvmrpMIB.setRevisions(('2003-01-16 20:55', '2001-11-30 21:24',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: juniDvmrpMIB.setRevisionsDescriptions(('Replaced Unisphere names with Juniper names. Added support for unicast routing and the interface announce list name.', 'Initial version of this MIB module.',))
if mibBuilder.loadTexts: juniDvmrpMIB.setLastUpdated('200301162055Z')
if mibBuilder.loadTexts: juniDvmrpMIB.setOrganization('Juniper Networks, Inc.')
if mibBuilder.loadTexts: juniDvmrpMIB.setContactInfo(' Juniper Networks, Inc. Postal: 10 Technology Park Drive Westford, MA 01886-3146 USA Tel: +1 978 589 5800 Email: mib@Juniper.net')
if mibBuilder.loadTexts: juniDvmrpMIB.setDescription('The Enterprise MIB module for management of Juniper DVMRP routers.')
juniDvmrpMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1))
juniDvmrp = MibIdentifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1))
juniDvmrpScalar = MibIdentifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1))
juniDvmrpAdminState = MibScalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: juniDvmrpAdminState.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpAdminState.setDescription('Controls whether DVMRP is enabled or not.')
juniDvmrpMcastAdminState = MibScalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: juniDvmrpMcastAdminState.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpMcastAdminState.setDescription('Whether multicast is enabled or not. This is settable via the multicast component.')
juniDvmrpRouteHogNotification = MibScalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 134217727))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: juniDvmrpRouteHogNotification.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpRouteHogNotification.setDescription('The number of routes allowed within a 1 minute interval before a trap is issued warning that there may be a route surge going on.')
juniDvmrpRouteLimit = MibScalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 134217727))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: juniDvmrpRouteLimit.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpRouteLimit.setDescription('The limit on the number of routes that may be advertised on a DVMRP interface.')
juniDvmrpS32PrunesOnly = MibScalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: juniDvmrpS32PrunesOnly.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpS32PrunesOnly.setDescription('Identifies when DVMRP is sending prunes and grafts with only a 32 bit source masks.')
juniDvmrpUnicastRouting = MibScalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 6), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: juniDvmrpUnicastRouting.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpUnicastRouting.setDescription('Enable/disable the unicast routing portion of the DVMRP.')
juniDvmrpAclDistNbrTable = MibTable((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2), )
if mibBuilder.loadTexts: juniDvmrpAclDistNbrTable.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpAclDistNbrTable.setDescription('The (conceptual) table listing the access lists distance for a list of neighbors.')
juniDvmrpAclDistNbrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1), ).setIndexNames((0, "Juniper-DVMRP-MIB", "juniDvmrpAclDistNbrIfIndex"), (0, "Juniper-DVMRP-MIB", "juniDvmrpAclDistNbrAclListName"))
if mibBuilder.loadTexts: juniDvmrpAclDistNbrEntry.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpAclDistNbrEntry.setDescription('An entry (conceptual row) in the juniDvmrpAclDistNbrTable.')
juniDvmrpAclDistNbrIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: juniDvmrpAclDistNbrIfIndex.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpAclDistNbrIfIndex.setDescription('The ifIndex value of the interface for which DVMRP is enabled.')
juniDvmrpAclDistNbrAclListName = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 80)))
if mibBuilder.loadTexts: juniDvmrpAclDistNbrAclListName.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpAclDistNbrAclListName.setDescription('The name of the access list to be used in the filter.')
juniDvmrpAclDistNbrDistance = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: juniDvmrpAclDistNbrDistance.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpAclDistNbrDistance.setDescription('The administritive distance metric that will be used')
juniDvmrpAclDistNbrNbrListName = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 80))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: juniDvmrpAclDistNbrNbrListName.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpAclDistNbrNbrListName.setDescription('This is the access list of nbrs for this accept-filter to be applied, this field must be supplied when the row is created')
juniDvmrpAclDistNbrStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: juniDvmrpAclDistNbrStatus.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpAclDistNbrStatus.setDescription('The status of this entry.')
juniDvmrpLocalAddrTable = MibTable((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 3), )
if mibBuilder.loadTexts: juniDvmrpLocalAddrTable.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpLocalAddrTable.setDescription('The (conceptual) table listing the local addresses. This is used to retrive all of the addresses configured on a DVMRP interface.')
juniDvmrpLocalAddrTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 3, 1), ).setIndexNames((0, "Juniper-DVMRP-MIB", "juniDvmrpLocalAddrIfIndex"), (0, "Juniper-DVMRP-MIB", "juniDvmrpLocalAddrAddrOrIfIndex"))
if mibBuilder.loadTexts: juniDvmrpLocalAddrTableEntry.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpLocalAddrTableEntry.setDescription('An entry (conceptual row) in the juniDvmrpLocalAddrTable.')
juniDvmrpLocalAddrIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 3, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: juniDvmrpLocalAddrIfIndex.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpLocalAddrIfIndex.setDescription('The ifIndex value of the interface for which DVMRP is enabled.')
juniDvmrpLocalAddrAddrOrIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 3, 1, 2), Unsigned32())
if mibBuilder.loadTexts: juniDvmrpLocalAddrAddrOrIfIndex.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpLocalAddrAddrOrIfIndex.setDescription('For unnumbered interfaces, this takes on the value of the ifIndex. For numbered interfaces, this is the address of one of the addresses associated with the interface.')
juniDvmrpLocalAddrMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 3, 1, 3), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: juniDvmrpLocalAddrMask.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpLocalAddrMask.setDescription('The IP Address mask associated with this entry.')
juniDvmrpSummaryAddrTable = MibTable((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4), )
if mibBuilder.loadTexts: juniDvmrpSummaryAddrTable.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSummaryAddrTable.setDescription('The (conceptual) table listing the DVMRP summary addresses. This is used to retrive all of the summary address configured on a DVMRP interface.')
juniDvmrpSummaryAddrTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1), ).setIndexNames((0, "Juniper-DVMRP-MIB", "juniDvmrpSummaryAddrIfIndex"), (0, "Juniper-DVMRP-MIB", "juniDvmrpSummaryAddrAddress"), (0, "Juniper-DVMRP-MIB", "juniDvmrpSummaryAddrMask"))
if mibBuilder.loadTexts: juniDvmrpSummaryAddrTableEntry.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSummaryAddrTableEntry.setDescription('An entry (conceptual row) in the juniDvmrpSummaryAddrTable.')
juniDvmrpSummaryAddrIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: juniDvmrpSummaryAddrIfIndex.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSummaryAddrIfIndex.setDescription('The ifIndex value of the interface for which DVMRP is enabled.')
juniDvmrpSummaryAddrAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1, 2), IpAddress())
if mibBuilder.loadTexts: juniDvmrpSummaryAddrAddress.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSummaryAddrAddress.setDescription('This is the summary address that will be created.')
juniDvmrpSummaryAddrMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1, 3), IpAddress())
if mibBuilder.loadTexts: juniDvmrpSummaryAddrMask.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSummaryAddrMask.setDescription('The mask of the summary address to be created.')
juniDvmrpSummaryAddrCost = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32)).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: juniDvmrpSummaryAddrCost.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSummaryAddrCost.setDescription('The administritive distance metric used to actually calculate distance vectors.')
juniDvmrpSummaryAddrStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: juniDvmrpSummaryAddrStatus.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSummaryAddrStatus.setDescription('The status of this entry.')
juniDvmrpInterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5), )
if mibBuilder.loadTexts: juniDvmrpInterfaceTable.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpInterfaceTable.setDescription("The (conceptual) table listing the router's multicast-capable interfaces. This table augments the DvmrpInterfaceTable.")
juniDvmrpInterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1), )
junidDvmrpInterfaceEntry.registerAugmentions(("Juniper-DVMRP-MIB", "juniDvmrpInterfaceEntry"))
juniDvmrpInterfaceEntry.setIndexNames(*junidDvmrpInterfaceEntry.getIndexNames())
if mibBuilder.loadTexts: juniDvmrpInterfaceEntry.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpInterfaceEntry.setDescription('An entry (conceptual row) in the juniDvmrpInterfaceTable. This row extends ipMRouteInterfaceEntry in the IP Multicast MIB, where the threshold object resides.')
juniDvmrpInterfaceAutoSummary = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: juniDvmrpInterfaceAutoSummary.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpInterfaceAutoSummary.setDescription('Enables or disable auto-summarization on this interface.')
juniDvmrpInterfaceMetricOffsetOut = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: juniDvmrpInterfaceMetricOffsetOut.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpInterfaceMetricOffsetOut.setDescription('The distance metric for this interface which is used to calculate outbound distance vectors.')
juniDvmrpInterfaceMetricOffsetIn = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 31)).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: juniDvmrpInterfaceMetricOffsetIn.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpInterfaceMetricOffsetIn.setDescription('The distance metric for this interface which is used to calculate inbound distance vectors.')
juniDvmrpInterfaceAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: juniDvmrpInterfaceAdminState.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpInterfaceAdminState.setDescription('Controls whether DVMRP is enabled or not.')
juniDvmrpInterfaceAnnounceListName = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1, 7), DisplayString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: juniDvmrpInterfaceAnnounceListName.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpInterfaceAnnounceListName.setDescription('Configures the name of the acceptance announce filter for the IP access list.')
juniDvmrpPruneTable = MibTable((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6), )
if mibBuilder.loadTexts: juniDvmrpPruneTable.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpPruneTable.setDescription("The (conceptual) table listing the router's upstream prune state.")
juniDvmrpPruneEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1), ).setIndexNames((0, "Juniper-DVMRP-MIB", "juniDvmrpPruneGroup"), (0, "Juniper-DVMRP-MIB", "juniDvmrpPruneSource"), (0, "Juniper-DVMRP-MIB", "juniDvmrpPruneSourceMask"))
if mibBuilder.loadTexts: juniDvmrpPruneEntry.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpPruneEntry.setDescription('An entry (conceptual row) in the juniDvmrpPruneTable.')
juniDvmrpPruneGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1, 1), IpAddress())
if mibBuilder.loadTexts: juniDvmrpPruneGroup.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpPruneGroup.setDescription('The group address which has been pruned.')
juniDvmrpPruneSource = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1, 2), IpAddress())
if mibBuilder.loadTexts: juniDvmrpPruneSource.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpPruneSource.setDescription('The address of the source or source network which has been pruned.')
juniDvmrpPruneSourceMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1, 3), IpAddress())
if mibBuilder.loadTexts: juniDvmrpPruneSourceMask.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpPruneSourceMask.setDescription("The address of the source or source network which has been pruned. The mask must either be all 1's, or else juniDvmrpPruneSource and juniDvmrpPruneSourceMask must match juniDvmrpRouteSource and juniDvmrpRouteSourceMask for some entry in the juniDvmrpRouteTable.")
juniDvmrpPruneIIFIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1, 4), InterfaceIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: juniDvmrpPruneIIFIfIndex.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpPruneIIFIfIndex.setDescription('The ifIndex of the upstream interface for this source group entry.')
juniDvmrpPruneUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1, 5), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: juniDvmrpPruneUpTime.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpPruneUpTime.setDescription('This is the amount of time that this prune has remained valid.')
juniDvmrpSrcGrpOifTable = MibTable((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7), )
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifTable.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifTable.setDescription('The (conceptual) OIFs for particular source group entries.')
juniDvmrpSrcGrpOifEntry = MibTableRow((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1), ).setIndexNames((0, "Juniper-DVMRP-MIB", "juniDvmrpSrcGrpOifGroup"), (0, "Juniper-DVMRP-MIB", "juniDvmrpSrcGrpOifSource"), (0, "Juniper-DVMRP-MIB", "juniDvmrpSrcGrpOifSourceMask"), (0, "Juniper-DVMRP-MIB", "juniDvmrpSrcGrpOifOIFIfIndex"))
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifEntry.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifEntry.setDescription('An entry (conceptual row) in the juniDvmrpSrcGrpOifTable.')
juniDvmrpSrcGrpOifGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 1), IpAddress())
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifGroup.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifGroup.setDescription('The group address which has been pruned.')
juniDvmrpSrcGrpOifSource = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 2), IpAddress())
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifSource.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifSource.setDescription('The address of the source or source network which has been pruned.')
juniDvmrpSrcGrpOifSourceMask = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 3), IpAddress())
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifSourceMask.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifSourceMask.setDescription("The address of the source or source network which has been pruned. The mask must either be all 1's, or else juniDvmrpPruneSource and juniDvmrpPruneSourceMask must match juniDvmrpRouteSource and juniDvmrpRouteSourceMask for some entry in the juniDvmrpRouteTable.")
juniDvmrpSrcGrpOifOIFIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 4), InterfaceIndex())
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifOIFIfIndex.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifOIFIfIndex.setDescription('The ifIndex of one of the downstream interfaces for this source group entry.')
juniDvmrpSrcGrpOifOIFPruned = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifOIFPruned.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifOIFPruned.setDescription('If true this OIF has been pruned.')
juniDvmrpSrcGrpOifOIFDnTTL = MibTableColumn((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 6), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifOIFDnTTL.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSrcGrpOifOIFDnTTL.setDescription('The timeout for this OIF. If juniDvmrpSrcGrpOifOIFPruned is false then this is undefined.')
juniDvmrpTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 0))
juniDvmrpRouteHogNotificationTrap = NotificationType((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 0, 1))
if mibBuilder.loadTexts: juniDvmrpRouteHogNotificationTrap.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpRouteHogNotificationTrap.setDescription('This is an indication that the route hog notification limit has been exceeded during the past minute. It may mean that a route surge is going on.')
juniDvmrpConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4))
juniDvmrpCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 1))
juniDvmrpGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2))
juniDvmrpCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 1, 1)).setObjects(("Juniper-DVMRP-MIB", "juniDvmrpBaseGroup"), ("Juniper-DVMRP-MIB", "juniDvmrpAclDistNbrGroup"), ("Juniper-DVMRP-MIB", "juniDvmrpInterfaceGroup"), ("Juniper-DVMRP-MIB", "juniDvmrpSourceGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juniDvmrpCompliance = juniDvmrpCompliance.setStatus('obsolete')
if mibBuilder.loadTexts: juniDvmrpCompliance.setDescription('Obsolete compliance statement for entities which implement the Juniper DVMRP MIB. This statement became obsolete when new objects were added.')
juniDvmrpCompliance2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 1, 2)).setObjects(("Juniper-DVMRP-MIB", "juniDvmrpBaseGroup2"), ("Juniper-DVMRP-MIB", "juniDvmrpAclDistNbrGroup"), ("Juniper-DVMRP-MIB", "juniDvmrpInterfaceGroup2"), ("Juniper-DVMRP-MIB", "juniDvmrpSourceGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juniDvmrpCompliance2 = juniDvmrpCompliance2.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpCompliance2.setDescription('The compliance statement for entities which implement the Juniper DVMRP MIB.')
juniDvmrpBaseGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 1)).setObjects(("Juniper-DVMRP-MIB", "juniDvmrpAdminState"), ("Juniper-DVMRP-MIB", "juniDvmrpMcastAdminState"), ("Juniper-DVMRP-MIB", "juniDvmrpRouteHogNotification"), ("Juniper-DVMRP-MIB", "juniDvmrpRouteLimit"), ("Juniper-DVMRP-MIB", "juniDvmrpS32PrunesOnly"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juniDvmrpBaseGroup = juniDvmrpBaseGroup.setStatus('obsolete')
if mibBuilder.loadTexts: juniDvmrpBaseGroup.setDescription('Obsolete collection of objects providing basic management of DVMRP in a Juniper product. This group became obsolete when support was added for the DVMRP unicast routing object.')
juniDvmrpAclDistNbrGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 2)).setObjects(("Juniper-DVMRP-MIB", "juniDvmrpAclDistNbrDistance"), ("Juniper-DVMRP-MIB", "juniDvmrpAclDistNbrNbrListName"), ("Juniper-DVMRP-MIB", "juniDvmrpAclDistNbrStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juniDvmrpAclDistNbrGroup = juniDvmrpAclDistNbrGroup.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpAclDistNbrGroup.setDescription('A collection of objects providing management of DVMRP access list distance neighbors in a Juniper product.')
juniDvmrpInterfaceGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 3)).setObjects(("Juniper-DVMRP-MIB", "juniDvmrpLocalAddrMask"), ("Juniper-DVMRP-MIB", "juniDvmrpSummaryAddrCost"), ("Juniper-DVMRP-MIB", "juniDvmrpSummaryAddrStatus"), ("Juniper-DVMRP-MIB", "juniDvmrpInterfaceAutoSummary"), ("Juniper-DVMRP-MIB", "juniDvmrpInterfaceMetricOffsetOut"), ("Juniper-DVMRP-MIB", "juniDvmrpInterfaceMetricOffsetIn"), ("Juniper-DVMRP-MIB", "juniDvmrpInterfaceAdminState"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juniDvmrpInterfaceGroup = juniDvmrpInterfaceGroup.setStatus('obsolete')
if mibBuilder.loadTexts: juniDvmrpInterfaceGroup.setDescription('Obsolete collection of objects providing management of a DVMRP interface in a Juniper product. This group became obsolete when support for the DVMRP interface announce list name object was added.')
juniDvmrpSourceGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 4)).setObjects(("Juniper-DVMRP-MIB", "juniDvmrpPruneIIFIfIndex"), ("Juniper-DVMRP-MIB", "juniDvmrpPruneUpTime"), ("Juniper-DVMRP-MIB", "juniDvmrpSrcGrpOifOIFPruned"), ("Juniper-DVMRP-MIB", "juniDvmrpSrcGrpOifOIFDnTTL"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juniDvmrpSourceGroup = juniDvmrpSourceGroup.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpSourceGroup.setDescription('A collection of objects providing management of a DVMRP source group in a Juniper product.')
juniDvmrpNotificationGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 5)).setObjects(("Juniper-DVMRP-MIB", "juniDvmrpRouteHogNotificationTrap"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juniDvmrpNotificationGroup = juniDvmrpNotificationGroup.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpNotificationGroup.setDescription('A notification for signaling important DVMRP events.')
juniDvmrpBaseGroup2 = ObjectGroup((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 6)).setObjects(("Juniper-DVMRP-MIB", "juniDvmrpAdminState"), ("Juniper-DVMRP-MIB", "juniDvmrpMcastAdminState"), ("Juniper-DVMRP-MIB", "juniDvmrpRouteHogNotification"), ("Juniper-DVMRP-MIB", "juniDvmrpRouteLimit"), ("Juniper-DVMRP-MIB", "juniDvmrpS32PrunesOnly"), ("Juniper-DVMRP-MIB", "juniDvmrpUnicastRouting"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juniDvmrpBaseGroup2 = juniDvmrpBaseGroup2.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpBaseGroup2.setDescription('A collection of objects providing basic management of DVMRP in a Juniper product.')
juniDvmrpInterfaceGroup2 = ObjectGroup((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 7)).setObjects(("Juniper-DVMRP-MIB", "juniDvmrpLocalAddrMask"), ("Juniper-DVMRP-MIB", "juniDvmrpSummaryAddrCost"), ("Juniper-DVMRP-MIB", "juniDvmrpSummaryAddrStatus"), ("Juniper-DVMRP-MIB", "juniDvmrpInterfaceAutoSummary"), ("Juniper-DVMRP-MIB", "juniDvmrpInterfaceMetricOffsetOut"), ("Juniper-DVMRP-MIB", "juniDvmrpInterfaceMetricOffsetIn"), ("Juniper-DVMRP-MIB", "juniDvmrpInterfaceAdminState"), ("Juniper-DVMRP-MIB", "juniDvmrpInterfaceAnnounceListName"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juniDvmrpInterfaceGroup2 = juniDvmrpInterfaceGroup2.setStatus('current')
if mibBuilder.loadTexts: juniDvmrpInterfaceGroup2.setDescription('A collection of objects providing management of a DVMRP interface in a Juniper product.')
mibBuilder.exportSymbols("Juniper-DVMRP-MIB", PYSNMP_MODULE_ID=juniDvmrpMIB, juniDvmrpSummaryAddrCost=juniDvmrpSummaryAddrCost, juniDvmrpInterfaceEntry=juniDvmrpInterfaceEntry, juniDvmrpSrcGrpOifOIFPruned=juniDvmrpSrcGrpOifOIFPruned, juniDvmrpNotificationGroup=juniDvmrpNotificationGroup, juniDvmrpInterfaceAutoSummary=juniDvmrpInterfaceAutoSummary, juniDvmrpGroups=juniDvmrpGroups, juniDvmrpInterfaceMetricOffsetOut=juniDvmrpInterfaceMetricOffsetOut, juniDvmrpInterfaceGroup=juniDvmrpInterfaceGroup, juniDvmrpSummaryAddrTable=juniDvmrpSummaryAddrTable, juniDvmrpInterfaceMetricOffsetIn=juniDvmrpInterfaceMetricOffsetIn, juniDvmrpAclDistNbrTable=juniDvmrpAclDistNbrTable, juniDvmrpPruneSource=juniDvmrpPruneSource, juniDvmrpLocalAddrTableEntry=juniDvmrpLocalAddrTableEntry, juniDvmrpSummaryAddrMask=juniDvmrpSummaryAddrMask, juniDvmrpPruneIIFIfIndex=juniDvmrpPruneIIFIfIndex, juniDvmrpMIBObjects=juniDvmrpMIBObjects, juniDvmrpPruneUpTime=juniDvmrpPruneUpTime, juniDvmrpSrcGrpOifSource=juniDvmrpSrcGrpOifSource, juniDvmrpSrcGrpOifOIFIfIndex=juniDvmrpSrcGrpOifOIFIfIndex, juniDvmrpLocalAddrMask=juniDvmrpLocalAddrMask, juniDvmrpMcastAdminState=juniDvmrpMcastAdminState, juniDvmrpSummaryAddrAddress=juniDvmrpSummaryAddrAddress, juniDvmrpSrcGrpOifOIFDnTTL=juniDvmrpSrcGrpOifOIFDnTTL, juniDvmrpCompliance=juniDvmrpCompliance, juniDvmrpPruneEntry=juniDvmrpPruneEntry, juniDvmrpRouteHogNotificationTrap=juniDvmrpRouteHogNotificationTrap, juniDvmrpSrcGrpOifTable=juniDvmrpSrcGrpOifTable, juniDvmrpSrcGrpOifSourceMask=juniDvmrpSrcGrpOifSourceMask, juniDvmrpPruneSourceMask=juniDvmrpPruneSourceMask, juniDvmrpS32PrunesOnly=juniDvmrpS32PrunesOnly, juniDvmrpSourceGroup=juniDvmrpSourceGroup, juniDvmrp=juniDvmrp, juniDvmrpUnicastRouting=juniDvmrpUnicastRouting, juniDvmrpAclDistNbrNbrListName=juniDvmrpAclDistNbrNbrListName, juniDvmrpMIB=juniDvmrpMIB, juniDvmrpConformance=juniDvmrpConformance, juniDvmrpSummaryAddrTableEntry=juniDvmrpSummaryAddrTableEntry, juniDvmrpInterfaceAnnounceListName=juniDvmrpInterfaceAnnounceListName, juniDvmrpSrcGrpOifEntry=juniDvmrpSrcGrpOifEntry, juniDvmrpAclDistNbrAclListName=juniDvmrpAclDistNbrAclListName, juniDvmrpAclDistNbrGroup=juniDvmrpAclDistNbrGroup, juniDvmrpRouteHogNotification=juniDvmrpRouteHogNotification, juniDvmrpSrcGrpOifGroup=juniDvmrpSrcGrpOifGroup, juniDvmrpCompliances=juniDvmrpCompliances, juniDvmrpBaseGroup2=juniDvmrpBaseGroup2, juniDvmrpAclDistNbrIfIndex=juniDvmrpAclDistNbrIfIndex, juniDvmrpAdminState=juniDvmrpAdminState, juniDvmrpAclDistNbrStatus=juniDvmrpAclDistNbrStatus, juniDvmrpScalar=juniDvmrpScalar, juniDvmrpInterfaceTable=juniDvmrpInterfaceTable, juniDvmrpRouteLimit=juniDvmrpRouteLimit, juniDvmrpBaseGroup=juniDvmrpBaseGroup, juniDvmrpTraps=juniDvmrpTraps, juniDvmrpLocalAddrTable=juniDvmrpLocalAddrTable, juniDvmrpPruneGroup=juniDvmrpPruneGroup, juniDvmrpInterfaceGroup2=juniDvmrpInterfaceGroup2, juniDvmrpLocalAddrAddrOrIfIndex=juniDvmrpLocalAddrAddrOrIfIndex, juniDvmrpLocalAddrIfIndex=juniDvmrpLocalAddrIfIndex, juniDvmrpSummaryAddrIfIndex=juniDvmrpSummaryAddrIfIndex, juniDvmrpPruneTable=juniDvmrpPruneTable, juniDvmrpAclDistNbrEntry=juniDvmrpAclDistNbrEntry, juniDvmrpAclDistNbrDistance=juniDvmrpAclDistNbrDistance, juniDvmrpCompliance2=juniDvmrpCompliance2, juniDvmrpSummaryAddrStatus=juniDvmrpSummaryAddrStatus, juniDvmrpInterfaceAdminState=juniDvmrpInterfaceAdminState)
| (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, constraints_union, single_value_constraint, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint')
(junid_dvmrp_interface_entry,) = mibBuilder.importSymbols('DVMRP-STD-MIB-JUNI', 'junidDvmrpInterfaceEntry')
(interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex')
(juni_mibs,) = mibBuilder.importSymbols('Juniper-MIBs', 'juniMibs')
(module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup')
(counter32, notification_type, time_ticks, module_identity, counter64, unsigned32, object_identity, integer32, mib_identifier, iso, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter32', 'NotificationType', 'TimeTicks', 'ModuleIdentity', 'Counter64', 'Unsigned32', 'ObjectIdentity', 'Integer32', 'MibIdentifier', 'iso', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'IpAddress')
(display_string, truth_value, row_status, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TruthValue', 'RowStatus', 'TextualConvention')
juni_dvmrp_mib = module_identity((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44))
juniDvmrpMIB.setRevisions(('2003-01-16 20:55', '2001-11-30 21:24'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
juniDvmrpMIB.setRevisionsDescriptions(('Replaced Unisphere names with Juniper names. Added support for unicast routing and the interface announce list name.', 'Initial version of this MIB module.'))
if mibBuilder.loadTexts:
juniDvmrpMIB.setLastUpdated('200301162055Z')
if mibBuilder.loadTexts:
juniDvmrpMIB.setOrganization('Juniper Networks, Inc.')
if mibBuilder.loadTexts:
juniDvmrpMIB.setContactInfo(' Juniper Networks, Inc. Postal: 10 Technology Park Drive Westford, MA 01886-3146 USA Tel: +1 978 589 5800 Email: mib@Juniper.net')
if mibBuilder.loadTexts:
juniDvmrpMIB.setDescription('The Enterprise MIB module for management of Juniper DVMRP routers.')
juni_dvmrp_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1))
juni_dvmrp = mib_identifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1))
juni_dvmrp_scalar = mib_identifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1))
juni_dvmrp_admin_state = mib_scalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
juniDvmrpAdminState.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpAdminState.setDescription('Controls whether DVMRP is enabled or not.')
juni_dvmrp_mcast_admin_state = mib_scalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
juniDvmrpMcastAdminState.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpMcastAdminState.setDescription('Whether multicast is enabled or not. This is settable via the multicast component.')
juni_dvmrp_route_hog_notification = mib_scalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 134217727))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
juniDvmrpRouteHogNotification.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpRouteHogNotification.setDescription('The number of routes allowed within a 1 minute interval before a trap is issued warning that there may be a route surge going on.')
juni_dvmrp_route_limit = mib_scalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 134217727))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
juniDvmrpRouteLimit.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpRouteLimit.setDescription('The limit on the number of routes that may be advertised on a DVMRP interface.')
juni_dvmrp_s32_prunes_only = mib_scalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
juniDvmrpS32PrunesOnly.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpS32PrunesOnly.setDescription('Identifies when DVMRP is sending prunes and grafts with only a 32 bit source masks.')
juni_dvmrp_unicast_routing = mib_scalar((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 1, 6), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
juniDvmrpUnicastRouting.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpUnicastRouting.setDescription('Enable/disable the unicast routing portion of the DVMRP.')
juni_dvmrp_acl_dist_nbr_table = mib_table((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2))
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrTable.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrTable.setDescription('The (conceptual) table listing the access lists distance for a list of neighbors.')
juni_dvmrp_acl_dist_nbr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1)).setIndexNames((0, 'Juniper-DVMRP-MIB', 'juniDvmrpAclDistNbrIfIndex'), (0, 'Juniper-DVMRP-MIB', 'juniDvmrpAclDistNbrAclListName'))
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrEntry.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrEntry.setDescription('An entry (conceptual row) in the juniDvmrpAclDistNbrTable.')
juni_dvmrp_acl_dist_nbr_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1, 1), interface_index())
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrIfIndex.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrIfIndex.setDescription('The ifIndex value of the interface for which DVMRP is enabled.')
juni_dvmrp_acl_dist_nbr_acl_list_name = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 80)))
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrAclListName.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrAclListName.setDescription('The name of the access list to be used in the filter.')
juni_dvmrp_acl_dist_nbr_distance = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrDistance.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrDistance.setDescription('The administritive distance metric that will be used')
juni_dvmrp_acl_dist_nbr_nbr_list_name = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(1, 80))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrNbrListName.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrNbrListName.setDescription('This is the access list of nbrs for this accept-filter to be applied, this field must be supplied when the row is created')
juni_dvmrp_acl_dist_nbr_status = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 2, 1, 5), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrStatus.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrStatus.setDescription('The status of this entry.')
juni_dvmrp_local_addr_table = mib_table((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 3))
if mibBuilder.loadTexts:
juniDvmrpLocalAddrTable.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpLocalAddrTable.setDescription('The (conceptual) table listing the local addresses. This is used to retrive all of the addresses configured on a DVMRP interface.')
juni_dvmrp_local_addr_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 3, 1)).setIndexNames((0, 'Juniper-DVMRP-MIB', 'juniDvmrpLocalAddrIfIndex'), (0, 'Juniper-DVMRP-MIB', 'juniDvmrpLocalAddrAddrOrIfIndex'))
if mibBuilder.loadTexts:
juniDvmrpLocalAddrTableEntry.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpLocalAddrTableEntry.setDescription('An entry (conceptual row) in the juniDvmrpLocalAddrTable.')
juni_dvmrp_local_addr_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 3, 1, 1), interface_index())
if mibBuilder.loadTexts:
juniDvmrpLocalAddrIfIndex.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpLocalAddrIfIndex.setDescription('The ifIndex value of the interface for which DVMRP is enabled.')
juni_dvmrp_local_addr_addr_or_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 3, 1, 2), unsigned32())
if mibBuilder.loadTexts:
juniDvmrpLocalAddrAddrOrIfIndex.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpLocalAddrAddrOrIfIndex.setDescription('For unnumbered interfaces, this takes on the value of the ifIndex. For numbered interfaces, this is the address of one of the addresses associated with the interface.')
juni_dvmrp_local_addr_mask = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 3, 1, 3), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
juniDvmrpLocalAddrMask.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpLocalAddrMask.setDescription('The IP Address mask associated with this entry.')
juni_dvmrp_summary_addr_table = mib_table((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4))
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrTable.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrTable.setDescription('The (conceptual) table listing the DVMRP summary addresses. This is used to retrive all of the summary address configured on a DVMRP interface.')
juni_dvmrp_summary_addr_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1)).setIndexNames((0, 'Juniper-DVMRP-MIB', 'juniDvmrpSummaryAddrIfIndex'), (0, 'Juniper-DVMRP-MIB', 'juniDvmrpSummaryAddrAddress'), (0, 'Juniper-DVMRP-MIB', 'juniDvmrpSummaryAddrMask'))
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrTableEntry.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrTableEntry.setDescription('An entry (conceptual row) in the juniDvmrpSummaryAddrTable.')
juni_dvmrp_summary_addr_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1, 1), interface_index())
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrIfIndex.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrIfIndex.setDescription('The ifIndex value of the interface for which DVMRP is enabled.')
juni_dvmrp_summary_addr_address = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1, 2), ip_address())
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrAddress.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrAddress.setDescription('This is the summary address that will be created.')
juni_dvmrp_summary_addr_mask = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1, 3), ip_address())
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrMask.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrMask.setDescription('The mask of the summary address to be created.')
juni_dvmrp_summary_addr_cost = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 32)).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrCost.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrCost.setDescription('The administritive distance metric used to actually calculate distance vectors.')
juni_dvmrp_summary_addr_status = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 4, 1, 5), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrStatus.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSummaryAddrStatus.setDescription('The status of this entry.')
juni_dvmrp_interface_table = mib_table((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5))
if mibBuilder.loadTexts:
juniDvmrpInterfaceTable.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpInterfaceTable.setDescription("The (conceptual) table listing the router's multicast-capable interfaces. This table augments the DvmrpInterfaceTable.")
juni_dvmrp_interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1))
junidDvmrpInterfaceEntry.registerAugmentions(('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceEntry'))
juniDvmrpInterfaceEntry.setIndexNames(*junidDvmrpInterfaceEntry.getIndexNames())
if mibBuilder.loadTexts:
juniDvmrpInterfaceEntry.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpInterfaceEntry.setDescription('An entry (conceptual row) in the juniDvmrpInterfaceTable. This row extends ipMRouteInterfaceEntry in the IP Multicast MIB, where the threshold object resides.')
juni_dvmrp_interface_auto_summary = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
juniDvmrpInterfaceAutoSummary.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpInterfaceAutoSummary.setDescription('Enables or disable auto-summarization on this interface.')
juni_dvmrp_interface_metric_offset_out = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
juniDvmrpInterfaceMetricOffsetOut.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpInterfaceMetricOffsetOut.setDescription('The distance metric for this interface which is used to calculate outbound distance vectors.')
juni_dvmrp_interface_metric_offset_in = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 31)).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
juniDvmrpInterfaceMetricOffsetIn.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpInterfaceMetricOffsetIn.setDescription('The distance metric for this interface which is used to calculate inbound distance vectors.')
juni_dvmrp_interface_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
juniDvmrpInterfaceAdminState.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpInterfaceAdminState.setDescription('Controls whether DVMRP is enabled or not.')
juni_dvmrp_interface_announce_list_name = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 5, 1, 7), display_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
juniDvmrpInterfaceAnnounceListName.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpInterfaceAnnounceListName.setDescription('Configures the name of the acceptance announce filter for the IP access list.')
juni_dvmrp_prune_table = mib_table((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6))
if mibBuilder.loadTexts:
juniDvmrpPruneTable.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpPruneTable.setDescription("The (conceptual) table listing the router's upstream prune state.")
juni_dvmrp_prune_entry = mib_table_row((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1)).setIndexNames((0, 'Juniper-DVMRP-MIB', 'juniDvmrpPruneGroup'), (0, 'Juniper-DVMRP-MIB', 'juniDvmrpPruneSource'), (0, 'Juniper-DVMRP-MIB', 'juniDvmrpPruneSourceMask'))
if mibBuilder.loadTexts:
juniDvmrpPruneEntry.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpPruneEntry.setDescription('An entry (conceptual row) in the juniDvmrpPruneTable.')
juni_dvmrp_prune_group = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1, 1), ip_address())
if mibBuilder.loadTexts:
juniDvmrpPruneGroup.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpPruneGroup.setDescription('The group address which has been pruned.')
juni_dvmrp_prune_source = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1, 2), ip_address())
if mibBuilder.loadTexts:
juniDvmrpPruneSource.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpPruneSource.setDescription('The address of the source or source network which has been pruned.')
juni_dvmrp_prune_source_mask = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1, 3), ip_address())
if mibBuilder.loadTexts:
juniDvmrpPruneSourceMask.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpPruneSourceMask.setDescription("The address of the source or source network which has been pruned. The mask must either be all 1's, or else juniDvmrpPruneSource and juniDvmrpPruneSourceMask must match juniDvmrpRouteSource and juniDvmrpRouteSourceMask for some entry in the juniDvmrpRouteTable.")
juni_dvmrp_prune_iif_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1, 4), interface_index()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
juniDvmrpPruneIIFIfIndex.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpPruneIIFIfIndex.setDescription('The ifIndex of the upstream interface for this source group entry.')
juni_dvmrp_prune_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 6, 1, 5), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
juniDvmrpPruneUpTime.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpPruneUpTime.setDescription('This is the amount of time that this prune has remained valid.')
juni_dvmrp_src_grp_oif_table = mib_table((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7))
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifTable.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifTable.setDescription('The (conceptual) OIFs for particular source group entries.')
juni_dvmrp_src_grp_oif_entry = mib_table_row((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1)).setIndexNames((0, 'Juniper-DVMRP-MIB', 'juniDvmrpSrcGrpOifGroup'), (0, 'Juniper-DVMRP-MIB', 'juniDvmrpSrcGrpOifSource'), (0, 'Juniper-DVMRP-MIB', 'juniDvmrpSrcGrpOifSourceMask'), (0, 'Juniper-DVMRP-MIB', 'juniDvmrpSrcGrpOifOIFIfIndex'))
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifEntry.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifEntry.setDescription('An entry (conceptual row) in the juniDvmrpSrcGrpOifTable.')
juni_dvmrp_src_grp_oif_group = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 1), ip_address())
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifGroup.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifGroup.setDescription('The group address which has been pruned.')
juni_dvmrp_src_grp_oif_source = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 2), ip_address())
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifSource.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifSource.setDescription('The address of the source or source network which has been pruned.')
juni_dvmrp_src_grp_oif_source_mask = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 3), ip_address())
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifSourceMask.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifSourceMask.setDescription("The address of the source or source network which has been pruned. The mask must either be all 1's, or else juniDvmrpPruneSource and juniDvmrpPruneSourceMask must match juniDvmrpRouteSource and juniDvmrpRouteSourceMask for some entry in the juniDvmrpRouteTable.")
juni_dvmrp_src_grp_oif_oif_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 4), interface_index())
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifOIFIfIndex.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifOIFIfIndex.setDescription('The ifIndex of one of the downstream interfaces for this source group entry.')
juni_dvmrp_src_grp_oif_oif_pruned = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifOIFPruned.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifOIFPruned.setDescription('If true this OIF has been pruned.')
juni_dvmrp_src_grp_oif_oif_dn_ttl = mib_table_column((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 7, 1, 6), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifOIFDnTTL.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSrcGrpOifOIFDnTTL.setDescription('The timeout for this OIF. If juniDvmrpSrcGrpOifOIFPruned is false then this is undefined.')
juni_dvmrp_traps = mib_identifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 0))
juni_dvmrp_route_hog_notification_trap = notification_type((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 1, 1, 0, 1))
if mibBuilder.loadTexts:
juniDvmrpRouteHogNotificationTrap.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpRouteHogNotificationTrap.setDescription('This is an indication that the route hog notification limit has been exceeded during the past minute. It may mean that a route surge is going on.')
juni_dvmrp_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4))
juni_dvmrp_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 1))
juni_dvmrp_groups = mib_identifier((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2))
juni_dvmrp_compliance = module_compliance((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 1, 1)).setObjects(('Juniper-DVMRP-MIB', 'juniDvmrpBaseGroup'), ('Juniper-DVMRP-MIB', 'juniDvmrpAclDistNbrGroup'), ('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceGroup'), ('Juniper-DVMRP-MIB', 'juniDvmrpSourceGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juni_dvmrp_compliance = juniDvmrpCompliance.setStatus('obsolete')
if mibBuilder.loadTexts:
juniDvmrpCompliance.setDescription('Obsolete compliance statement for entities which implement the Juniper DVMRP MIB. This statement became obsolete when new objects were added.')
juni_dvmrp_compliance2 = module_compliance((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 1, 2)).setObjects(('Juniper-DVMRP-MIB', 'juniDvmrpBaseGroup2'), ('Juniper-DVMRP-MIB', 'juniDvmrpAclDistNbrGroup'), ('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceGroup2'), ('Juniper-DVMRP-MIB', 'juniDvmrpSourceGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juni_dvmrp_compliance2 = juniDvmrpCompliance2.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpCompliance2.setDescription('The compliance statement for entities which implement the Juniper DVMRP MIB.')
juni_dvmrp_base_group = object_group((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 1)).setObjects(('Juniper-DVMRP-MIB', 'juniDvmrpAdminState'), ('Juniper-DVMRP-MIB', 'juniDvmrpMcastAdminState'), ('Juniper-DVMRP-MIB', 'juniDvmrpRouteHogNotification'), ('Juniper-DVMRP-MIB', 'juniDvmrpRouteLimit'), ('Juniper-DVMRP-MIB', 'juniDvmrpS32PrunesOnly'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juni_dvmrp_base_group = juniDvmrpBaseGroup.setStatus('obsolete')
if mibBuilder.loadTexts:
juniDvmrpBaseGroup.setDescription('Obsolete collection of objects providing basic management of DVMRP in a Juniper product. This group became obsolete when support was added for the DVMRP unicast routing object.')
juni_dvmrp_acl_dist_nbr_group = object_group((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 2)).setObjects(('Juniper-DVMRP-MIB', 'juniDvmrpAclDistNbrDistance'), ('Juniper-DVMRP-MIB', 'juniDvmrpAclDistNbrNbrListName'), ('Juniper-DVMRP-MIB', 'juniDvmrpAclDistNbrStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juni_dvmrp_acl_dist_nbr_group = juniDvmrpAclDistNbrGroup.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpAclDistNbrGroup.setDescription('A collection of objects providing management of DVMRP access list distance neighbors in a Juniper product.')
juni_dvmrp_interface_group = object_group((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 3)).setObjects(('Juniper-DVMRP-MIB', 'juniDvmrpLocalAddrMask'), ('Juniper-DVMRP-MIB', 'juniDvmrpSummaryAddrCost'), ('Juniper-DVMRP-MIB', 'juniDvmrpSummaryAddrStatus'), ('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceAutoSummary'), ('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceMetricOffsetOut'), ('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceMetricOffsetIn'), ('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceAdminState'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juni_dvmrp_interface_group = juniDvmrpInterfaceGroup.setStatus('obsolete')
if mibBuilder.loadTexts:
juniDvmrpInterfaceGroup.setDescription('Obsolete collection of objects providing management of a DVMRP interface in a Juniper product. This group became obsolete when support for the DVMRP interface announce list name object was added.')
juni_dvmrp_source_group = object_group((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 4)).setObjects(('Juniper-DVMRP-MIB', 'juniDvmrpPruneIIFIfIndex'), ('Juniper-DVMRP-MIB', 'juniDvmrpPruneUpTime'), ('Juniper-DVMRP-MIB', 'juniDvmrpSrcGrpOifOIFPruned'), ('Juniper-DVMRP-MIB', 'juniDvmrpSrcGrpOifOIFDnTTL'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juni_dvmrp_source_group = juniDvmrpSourceGroup.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpSourceGroup.setDescription('A collection of objects providing management of a DVMRP source group in a Juniper product.')
juni_dvmrp_notification_group = notification_group((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 5)).setObjects(('Juniper-DVMRP-MIB', 'juniDvmrpRouteHogNotificationTrap'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juni_dvmrp_notification_group = juniDvmrpNotificationGroup.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpNotificationGroup.setDescription('A notification for signaling important DVMRP events.')
juni_dvmrp_base_group2 = object_group((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 6)).setObjects(('Juniper-DVMRP-MIB', 'juniDvmrpAdminState'), ('Juniper-DVMRP-MIB', 'juniDvmrpMcastAdminState'), ('Juniper-DVMRP-MIB', 'juniDvmrpRouteHogNotification'), ('Juniper-DVMRP-MIB', 'juniDvmrpRouteLimit'), ('Juniper-DVMRP-MIB', 'juniDvmrpS32PrunesOnly'), ('Juniper-DVMRP-MIB', 'juniDvmrpUnicastRouting'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juni_dvmrp_base_group2 = juniDvmrpBaseGroup2.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpBaseGroup2.setDescription('A collection of objects providing basic management of DVMRP in a Juniper product.')
juni_dvmrp_interface_group2 = object_group((1, 3, 6, 1, 4, 1, 4874, 2, 2, 44, 4, 2, 7)).setObjects(('Juniper-DVMRP-MIB', 'juniDvmrpLocalAddrMask'), ('Juniper-DVMRP-MIB', 'juniDvmrpSummaryAddrCost'), ('Juniper-DVMRP-MIB', 'juniDvmrpSummaryAddrStatus'), ('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceAutoSummary'), ('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceMetricOffsetOut'), ('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceMetricOffsetIn'), ('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceAdminState'), ('Juniper-DVMRP-MIB', 'juniDvmrpInterfaceAnnounceListName'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
juni_dvmrp_interface_group2 = juniDvmrpInterfaceGroup2.setStatus('current')
if mibBuilder.loadTexts:
juniDvmrpInterfaceGroup2.setDescription('A collection of objects providing management of a DVMRP interface in a Juniper product.')
mibBuilder.exportSymbols('Juniper-DVMRP-MIB', PYSNMP_MODULE_ID=juniDvmrpMIB, juniDvmrpSummaryAddrCost=juniDvmrpSummaryAddrCost, juniDvmrpInterfaceEntry=juniDvmrpInterfaceEntry, juniDvmrpSrcGrpOifOIFPruned=juniDvmrpSrcGrpOifOIFPruned, juniDvmrpNotificationGroup=juniDvmrpNotificationGroup, juniDvmrpInterfaceAutoSummary=juniDvmrpInterfaceAutoSummary, juniDvmrpGroups=juniDvmrpGroups, juniDvmrpInterfaceMetricOffsetOut=juniDvmrpInterfaceMetricOffsetOut, juniDvmrpInterfaceGroup=juniDvmrpInterfaceGroup, juniDvmrpSummaryAddrTable=juniDvmrpSummaryAddrTable, juniDvmrpInterfaceMetricOffsetIn=juniDvmrpInterfaceMetricOffsetIn, juniDvmrpAclDistNbrTable=juniDvmrpAclDistNbrTable, juniDvmrpPruneSource=juniDvmrpPruneSource, juniDvmrpLocalAddrTableEntry=juniDvmrpLocalAddrTableEntry, juniDvmrpSummaryAddrMask=juniDvmrpSummaryAddrMask, juniDvmrpPruneIIFIfIndex=juniDvmrpPruneIIFIfIndex, juniDvmrpMIBObjects=juniDvmrpMIBObjects, juniDvmrpPruneUpTime=juniDvmrpPruneUpTime, juniDvmrpSrcGrpOifSource=juniDvmrpSrcGrpOifSource, juniDvmrpSrcGrpOifOIFIfIndex=juniDvmrpSrcGrpOifOIFIfIndex, juniDvmrpLocalAddrMask=juniDvmrpLocalAddrMask, juniDvmrpMcastAdminState=juniDvmrpMcastAdminState, juniDvmrpSummaryAddrAddress=juniDvmrpSummaryAddrAddress, juniDvmrpSrcGrpOifOIFDnTTL=juniDvmrpSrcGrpOifOIFDnTTL, juniDvmrpCompliance=juniDvmrpCompliance, juniDvmrpPruneEntry=juniDvmrpPruneEntry, juniDvmrpRouteHogNotificationTrap=juniDvmrpRouteHogNotificationTrap, juniDvmrpSrcGrpOifTable=juniDvmrpSrcGrpOifTable, juniDvmrpSrcGrpOifSourceMask=juniDvmrpSrcGrpOifSourceMask, juniDvmrpPruneSourceMask=juniDvmrpPruneSourceMask, juniDvmrpS32PrunesOnly=juniDvmrpS32PrunesOnly, juniDvmrpSourceGroup=juniDvmrpSourceGroup, juniDvmrp=juniDvmrp, juniDvmrpUnicastRouting=juniDvmrpUnicastRouting, juniDvmrpAclDistNbrNbrListName=juniDvmrpAclDistNbrNbrListName, juniDvmrpMIB=juniDvmrpMIB, juniDvmrpConformance=juniDvmrpConformance, juniDvmrpSummaryAddrTableEntry=juniDvmrpSummaryAddrTableEntry, juniDvmrpInterfaceAnnounceListName=juniDvmrpInterfaceAnnounceListName, juniDvmrpSrcGrpOifEntry=juniDvmrpSrcGrpOifEntry, juniDvmrpAclDistNbrAclListName=juniDvmrpAclDistNbrAclListName, juniDvmrpAclDistNbrGroup=juniDvmrpAclDistNbrGroup, juniDvmrpRouteHogNotification=juniDvmrpRouteHogNotification, juniDvmrpSrcGrpOifGroup=juniDvmrpSrcGrpOifGroup, juniDvmrpCompliances=juniDvmrpCompliances, juniDvmrpBaseGroup2=juniDvmrpBaseGroup2, juniDvmrpAclDistNbrIfIndex=juniDvmrpAclDistNbrIfIndex, juniDvmrpAdminState=juniDvmrpAdminState, juniDvmrpAclDistNbrStatus=juniDvmrpAclDistNbrStatus, juniDvmrpScalar=juniDvmrpScalar, juniDvmrpInterfaceTable=juniDvmrpInterfaceTable, juniDvmrpRouteLimit=juniDvmrpRouteLimit, juniDvmrpBaseGroup=juniDvmrpBaseGroup, juniDvmrpTraps=juniDvmrpTraps, juniDvmrpLocalAddrTable=juniDvmrpLocalAddrTable, juniDvmrpPruneGroup=juniDvmrpPruneGroup, juniDvmrpInterfaceGroup2=juniDvmrpInterfaceGroup2, juniDvmrpLocalAddrAddrOrIfIndex=juniDvmrpLocalAddrAddrOrIfIndex, juniDvmrpLocalAddrIfIndex=juniDvmrpLocalAddrIfIndex, juniDvmrpSummaryAddrIfIndex=juniDvmrpSummaryAddrIfIndex, juniDvmrpPruneTable=juniDvmrpPruneTable, juniDvmrpAclDistNbrEntry=juniDvmrpAclDistNbrEntry, juniDvmrpAclDistNbrDistance=juniDvmrpAclDistNbrDistance, juniDvmrpCompliance2=juniDvmrpCompliance2, juniDvmrpSummaryAddrStatus=juniDvmrpSummaryAddrStatus, juniDvmrpInterfaceAdminState=juniDvmrpInterfaceAdminState) |
# Given a string s consisting of small English letters, find and return the first instance of a non-repeating character in it. If there is no such character, return '_'.
# Example
# For s = "abacabad", the output should be
# first_not_repeating_character(s) = 'c'.
# There are 2 non-repeating characters in the string: 'c' and 'd'. Return c since it appears in the string first.
# For s = "abacabaabacaba", the output should be
# first_not_repeating_character(s) = '_'.
# There are no characters in this string that do not repeat.
# [execution time limit] 4 seconds (py3)
# [input] string s
# A string that contains only lowercase English letters.
# [output] char
# The first non-repeating character in s of '_' if there are no characters that do not repeat.
#summary: keep a count of the chars in a hash table & put them in order into a list so we can reference the first char in our list that has a count of 1, thus the first non-repeating char
def first_not_repeating_character(s):
# chars dict to store the chars as a key with their count as a value
chars = {}
# non_repeat to send the values in s that dont have a count already
non_repeat = []
# for each char in s, if is in chars dict, add it's count by 1
for char in s:
if char in chars:
chars[char] += 1
else:
# otherwise add it to chars dict with a count of 1 & append that char to our non_repeat list
chars[char] = 1
non_repeat.append(char)
# for each character in non_repeat list, because appended in order we can look up the count & the first character with a count of 1 will be returned
for char in non_repeat:
if chars[char] == 1:
return char
# if none of the conditions were met then we return the last edge case
return '_'
#Time complexity: O(n) - linear because our main for loop would change based on the input size of s
#Space complexity: O(n) - linear because we created a dict as well as an array that would change sizes based on the input size of s
| def first_not_repeating_character(s):
chars = {}
non_repeat = []
for char in s:
if char in chars:
chars[char] += 1
else:
chars[char] = 1
non_repeat.append(char)
for char in non_repeat:
if chars[char] == 1:
return char
return '_' |
skill = input()
while True:
command = input()
if command == 'For Azeroth' or command is None:
break
if command == 'GladiatorStance':
skill = skill.upper()
print(skill)
elif command == 'DefensiveStance':
skill = skill.lower()
print(skill)
elif command.split(' ')[0] == 'Dispel' and len(command.split(' ')) == 3:
index = int(command.split(' ')[1])
letter = command.split(' ')[2]
if 0 <= index < len(skill):
skill = skill.replace(skill[index], letter, 1)
print("Success!")
else:
print("Dispel too weak.")
elif command.split(' ')[0] == 'Target' and command.split(' ')[1] == 'Change' and len(command.split(' ')) == 4:
substring = command.split(' ')[2]
second = command.split(' ')[3]
skill = skill.replace(substring, second)
print(skill)
elif command.split(' ')[0] == 'Target' and command.split(' ')[1] == 'Remove' and len(command.split(' ')) == 3:
sbstr = command.split(' ')[2]
skill = skill.replace(sbstr, '')
print(skill)
else:
print("Command doesn't exist!")
| skill = input()
while True:
command = input()
if command == 'For Azeroth' or command is None:
break
if command == 'GladiatorStance':
skill = skill.upper()
print(skill)
elif command == 'DefensiveStance':
skill = skill.lower()
print(skill)
elif command.split(' ')[0] == 'Dispel' and len(command.split(' ')) == 3:
index = int(command.split(' ')[1])
letter = command.split(' ')[2]
if 0 <= index < len(skill):
skill = skill.replace(skill[index], letter, 1)
print('Success!')
else:
print('Dispel too weak.')
elif command.split(' ')[0] == 'Target' and command.split(' ')[1] == 'Change' and (len(command.split(' ')) == 4):
substring = command.split(' ')[2]
second = command.split(' ')[3]
skill = skill.replace(substring, second)
print(skill)
elif command.split(' ')[0] == 'Target' and command.split(' ')[1] == 'Remove' and (len(command.split(' ')) == 3):
sbstr = command.split(' ')[2]
skill = skill.replace(sbstr, '')
print(skill)
else:
print("Command doesn't exist!") |
# Copyright (c) 2020 Club Raiders Project
# https://github.com/HausReport/ClubRaiders
#
# SPDX-License-Identifier: BSD-3-Clause
#
# Faction constants
#
GOVERNMENT = 'government'
MINOR_FACTION_ID = 'minor_faction_id'
MINOR_FACTION_PRESENCES = 'minor_faction_presences'
NEIGHBOR_COUNT = 'neighbor_count'
HAS_ANARCHY = 'hasAnarchy'
ID = 'id'
NEIGHBORS = 'neighbors'
POWER_STATE = 'power_state'
#
# System constants
#
HAS_DOCKING = 'has_docking'
SYSTEM_ID = 'system_id'
PAD_SIZE = 'max_landing_pad_size'
DISTANCE_TO_STAR = 'distance_to_star'
STATION_TYPE = 'type'
STATE_BOOM = 16
STATE_BUST = 32
STATE_FAMINE = 37
STATE_CIVIL_UNREST = 48
STATE_CIVIL_WAR = 64
STATE_ELECTION = 65
STATE_CIVIL_LIBERTY = 66
STATE_EXPANSION = 67
STATE_LOCKDOWN = 69
STATE_OUTBREAK = 72
STATE_WAR = 73
STATE_NONE = 80
STATE_PIRATE_ATTACK = 81
STATE_RETREAT = 96
STATE_INVESTMENT = 101
STATE_BLIGHT = 102
STATE_DROUGHT = 103
STATE_INFRASTRUCTURE_FAILURE = 104
STATE_NATURAL_DISASTER = 105
STATE_PUBLIC_HOLIDAY = 106
STATE_TERRORIST_ATTACK = 107
# if STATE_RETREAT in state_dict: ret.append(STATE_RETREAT) #96
# STATE_WAR = 73
# STATE_CIVIL_WAR = 64
# STATE_ELECTION = 65
#
# STATE_OUTBREAK = 72
# STATE_INFRASTRUCTURE_FAILURE = 104
# STATE_EXPANSION = 67
#
# ','.join(ret)
# #STATE_BOOM = 16
# #STATE_BUST = 32
# #STATE_FAMINE = 37
# #STATE_CIVIL_UNREST = 48
# #STATE_CIVIL_LIBERTY = 66
# #STATE_LOCKDOWN = 69
# #STATE_NONE = 80
# #STATE_PIRATE_ATTACK = 81
# #STATE_INVESTMENT = 101
# #STATE_BLIGHT = 102
# #STATE_DROUGHT = 103
# #STATE_NATURAL_DISASTER = 105
# #STATE_PUBLIC_HOLIDAY = 106
# #STATE_TERRORIST_ATTACK = 107
#
# for state in state_dict:
# if (state['id'] == 64):
# return 64
# if (state['id'] == 65):
# return 65
# if (state['id'] == 73):
# return 73
# if (state['id'] == 96):
# return 96
# if (state['id'] == 104):
# return 104
#
# return 0
| government = 'government'
minor_faction_id = 'minor_faction_id'
minor_faction_presences = 'minor_faction_presences'
neighbor_count = 'neighbor_count'
has_anarchy = 'hasAnarchy'
id = 'id'
neighbors = 'neighbors'
power_state = 'power_state'
has_docking = 'has_docking'
system_id = 'system_id'
pad_size = 'max_landing_pad_size'
distance_to_star = 'distance_to_star'
station_type = 'type'
state_boom = 16
state_bust = 32
state_famine = 37
state_civil_unrest = 48
state_civil_war = 64
state_election = 65
state_civil_liberty = 66
state_expansion = 67
state_lockdown = 69
state_outbreak = 72
state_war = 73
state_none = 80
state_pirate_attack = 81
state_retreat = 96
state_investment = 101
state_blight = 102
state_drought = 103
state_infrastructure_failure = 104
state_natural_disaster = 105
state_public_holiday = 106
state_terrorist_attack = 107 |
class Employee:
# class variables
num_of_employees = 0
raise_amount = 1.04
def __init__(self, first, last, pay):
# instance variables
self.first = first
self.last = last
self.pay = pay
self.email = f"{first}.{last}@company.com"
Employee.num_of_employees += 1
def fullname(self):
return f"{self.first} {self.last}"
def apply_raise(self):
self.pay = int(self.pay * self.raise_amount)
print(Employee.num_of_employees)
emp_1 = Employee("Corey", "Schafer", 100)
emp_2 = Employee("Anton", "Michael", 100)
# NOTE: Number of employees will be increased by +2.
print(Employee.num_of_employees)
# NOTE: What happened in background is:
# Check if instance has corresponding attribute. Else,
# check if class has corresponding attribute.
print(Employee.raise_amount)
print(emp_1.raise_amount)
print(emp_2.raise_amount)
# NOTE: As you can see, no .raise_amount is shown in emp_1 and
# emp_2. Previously, we are using class' .raise_amount attribute.
print(Employee.__dict__)
print(emp_1.__dict__)
print(emp_2.__dict__)
# NOTE: Here, we are adding a new instance attribute.
emp_1.raise_amount = 2.00
print(emp_1.__dict__)
| class Employee:
num_of_employees = 0
raise_amount = 1.04
def __init__(self, first, last, pay):
self.first = first
self.last = last
self.pay = pay
self.email = f'{first}.{last}@company.com'
Employee.num_of_employees += 1
def fullname(self):
return f'{self.first} {self.last}'
def apply_raise(self):
self.pay = int(self.pay * self.raise_amount)
print(Employee.num_of_employees)
emp_1 = employee('Corey', 'Schafer', 100)
emp_2 = employee('Anton', 'Michael', 100)
print(Employee.num_of_employees)
print(Employee.raise_amount)
print(emp_1.raise_amount)
print(emp_2.raise_amount)
print(Employee.__dict__)
print(emp_1.__dict__)
print(emp_2.__dict__)
emp_1.raise_amount = 2.0
print(emp_1.__dict__) |
# Constants for browser located in this file.
# CONFIG DIRECTORY NAMES
DIRECTORY_CONFIGURATIONS = 'configurations'
DIRECTORY_TOPICS = 'topics'
DIRECTORY_AVRO_SCHEMAS = 'avro_schemas'
DIRECTORY_DEPLOYMENT_SCRIPTS = 'deployment_scripts'
# CONFIG FILENAMES
FILE_MAIN_CONFIG = 'main_config.yml'
FILE_LOGGER_CONFIG = 'logger_config.yml'
FILE_AVRO_TOPICS = 'avro_topics.yml'
FILE_UI = 'splash.html'
# INCOMING REQUEST PARAMS
REQUEST_SEARCH_STRING_KEY = 'searchParam'
REQUEST_ENVIRONMENT_KEY = 'environment'
REQUEST_INCLUDE_KAFKA_METADATA_KEY = 'includeKafkaMetadata'
REQUEST_INCLUDE_DELIMITER_KEY = 'includeDelimiter'
REQUEST_OTHER_TOPIC_KEY = 'otherTopic'
REQUEST_JSON_TOPICS_KEY = 'json_topics'
REQUEST_AVRO_TOPICS_KEY = 'avro_topics'
REQUEST_NOT_BEFORE_KEY = 'notBefore'
REQUEST_SEARCH_COUNT_KEY = 'search_count'
REQUEST_UI_FORM_JSON_TOPICS_KEY = 'json_topics[]'
REQUEST_UI_FORM_AVRO_TOPICS_KEY = 'avro_topics[]'
# REQUEST_PARAMS
PARAM_SEARCH_STRING_KEY = 'search_string'
PARAM_ENVIRONMENT_KEY = 'environment'
PARAM_INCLUDE_KAFKA_METADATA_KEY = 'include_kafka_metadata'
PARAM_INCLUDE_DELIMITER_KEY = 'delimiter'
PARAM_OTHER_TOPIC_KEY = 'other_topic'
PARAM_JSON_TOPICS_KEY = 'json_topics'
PARAM_AVRO_TOPICS_KEY = 'avro_topics'
PARAM_NOT_BEFORE_KEY = 'not_before'
PARAM_SEARCH_COUNT_KEY = 'search_count'
# RESPONSE KEYS
RESPONSE_JSON_TOPICS_PREFIX = 'JSON_TOPIC_'
RESPONSE_AVRO_TOPICS_PREFIX = 'AVRO_TOPIC_'
RESPONSE_ERROR_KEY = 'ERROR'
# LOGGER
LOGGER_NAME = "browser_request_logger"
LOGGER_DISABLE_KEY = 'logger.enable'
LOGGER_PATH_KEY = 'logger.requests.path'
| directory_configurations = 'configurations'
directory_topics = 'topics'
directory_avro_schemas = 'avro_schemas'
directory_deployment_scripts = 'deployment_scripts'
file_main_config = 'main_config.yml'
file_logger_config = 'logger_config.yml'
file_avro_topics = 'avro_topics.yml'
file_ui = 'splash.html'
request_search_string_key = 'searchParam'
request_environment_key = 'environment'
request_include_kafka_metadata_key = 'includeKafkaMetadata'
request_include_delimiter_key = 'includeDelimiter'
request_other_topic_key = 'otherTopic'
request_json_topics_key = 'json_topics'
request_avro_topics_key = 'avro_topics'
request_not_before_key = 'notBefore'
request_search_count_key = 'search_count'
request_ui_form_json_topics_key = 'json_topics[]'
request_ui_form_avro_topics_key = 'avro_topics[]'
param_search_string_key = 'search_string'
param_environment_key = 'environment'
param_include_kafka_metadata_key = 'include_kafka_metadata'
param_include_delimiter_key = 'delimiter'
param_other_topic_key = 'other_topic'
param_json_topics_key = 'json_topics'
param_avro_topics_key = 'avro_topics'
param_not_before_key = 'not_before'
param_search_count_key = 'search_count'
response_json_topics_prefix = 'JSON_TOPIC_'
response_avro_topics_prefix = 'AVRO_TOPIC_'
response_error_key = 'ERROR'
logger_name = 'browser_request_logger'
logger_disable_key = 'logger.enable'
logger_path_key = 'logger.requests.path' |
#
# PySNMP MIB module SYMMSYNCE (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/neermitt/Dev/kusanagi/mibs.snmplabs.com/asn1/SYMMSYNCE
# Produced by pysmi-0.3.4 at Tue Jul 30 11:35:09 2019
# On host NEERMITT-M-J0NV platform Darwin version 18.6.0 by user neermitt
# Using Python version 3.7.4 (default, Jul 9 2019, 18:13:23)
#
ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsUnion")
entPhysicalIndex, = mibBuilder.importSymbols("ENTITY-MIB", "entPhysicalIndex")
ifNumber, ifIndex = mibBuilder.importSymbols("IF-MIB", "ifNumber", "ifIndex")
ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
Bits, Unsigned32, Counter32, ModuleIdentity, Integer32, TimeTicks, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, MibIdentifier, NotificationType, iso, Counter64, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Unsigned32", "Counter32", "ModuleIdentity", "Integer32", "TimeTicks", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "MibIdentifier", "NotificationType", "iso", "Counter64", "Gauge32")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
EnableValue, symmPhysicalSignal = mibBuilder.importSymbols("SYMM-COMMON-SMI", "EnableValue", "symmPhysicalSignal")
symmSyncE = ModuleIdentity((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8))
symmSyncE.setRevisions(('2011-02-24 17:47',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: symmSyncE.setRevisionsDescriptions(('Symmetricom common SyncE',))
if mibBuilder.loadTexts: symmSyncE.setLastUpdated('201102241746Z')
if mibBuilder.loadTexts: symmSyncE.setOrganization('Symmetricom')
if mibBuilder.loadTexts: symmSyncE.setContactInfo('Symmetricom Technical Support 1-888-367-7966 toll free USA 1-408-428-7907 worldwide Support@symmetricom.com')
if mibBuilder.loadTexts: symmSyncE.setDescription('This is the Symmetricom Common MIB for SyncE. It has two main nodes: SyncE status and SyncE configuration.')
class SYNCEPQLMODE(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("bidirectional", 1), ("unidirectional", 2))
class DateAndTime(TextualConvention, OctetString):
description = "A date-time specification. field octets contents range ----- ------ -------- ----- 1 1-2 year* 0..65536 2 3 month 1..12 3 4 day 1..31 4 5 hour 0..23 5 6 minutes 0..59 6 7 seconds 0..60 (use 60 for leap-second) 7 8 deci-seconds 0..9 8 9 direction from UTC '+' / '-' 9 10 hours from UTC* 0..13 10 11 minutes from UTC 0..59 * Notes: - the value of year is in network-byte order - daylight saving time in New Zealand is +13 For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be displayed as: 1992-5-26,13:30:15.0,-4:0 Note that if only local time is known, then timezone information (fields 8-10) is not present."
status = 'current'
displayHint = '2d-1d-1d,1d:1d:1d.1d,1a1d:1d'
subtypeSpec = OctetString.subtypeSpec + ConstraintsUnion(ValueSizeConstraint(8, 8), ValueSizeConstraint(11, 11), )
class TLatAndLon(TextualConvention, OctetString):
description = "antenna latitude and longitude specification. field octets contents range ----- ------ -------- ----- 1 1 +/-180 deg '+' / '-' 2 2 degree 0..180 3 3 minute 0..59 4 4 second 0..59 5 5 second fraction 0..99 +/- dd:mm:ss.ss "
status = 'current'
displayHint = '1a1d:1d:1d.1d'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(5, 5)
fixedLength = 5
class TAntHeight(TextualConvention, OctetString):
description = "antenna height specification. field octets contents range ----- ------ -------- ----- 1 1 +/- '+' / '-' 2 2-3 meter 0..10000 3 4 meter fraction 0..99 +/- hh.hh "
status = 'current'
displayHint = '1a2d.1d'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(4, 4)
fixedLength = 4
class TLocalTimeOffset(TextualConvention, OctetString):
description = "A local time offset specification. field octets contents range ----- ------ -------- ----- 1 1 direction from UTC '+' / '-' 2 2 hours from UTC* 0..13 3 3 minutes from UTC 0..59 * Notes: - the value of year is in network-byte order - The hours range is 0..13 For example, the -6 local time offset would be displayed as: -6:0 "
status = 'current'
displayHint = '1a1d:1d'
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(3, 3)
fixedLength = 3
class TSsm(TextualConvention, Integer32):
description = 'The ssm hex code'
status = 'current'
displayHint = 'x'
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 255)
syncEStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1))
syncEOutputStatusTable = MibTable((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1), )
if mibBuilder.loadTexts: syncEOutputStatusTable.setStatus('current')
if mibBuilder.loadTexts: syncEOutputStatusTable.setDescription("SyncE output status table. It monitors whether ESMC and QL are enabled or disabled. SyncE 'output' indicates that the port is intended as a SyncE clock master port.")
syncEOutputStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SYMMSYNCE", "syncEOutputStatusIndex"))
if mibBuilder.loadTexts: syncEOutputStatusEntry.setStatus('current')
if mibBuilder.loadTexts: syncEOutputStatusEntry.setDescription('An entry of the SyncE output status table. Table index is ifIndex (port and interface index).')
syncEOutputStatusIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000)))
if mibBuilder.loadTexts: syncEOutputStatusIndex.setStatus('current')
if mibBuilder.loadTexts: syncEOutputStatusIndex.setDescription('Local index of the SyncE output status table.')
syncEOutputEsmcStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: syncEOutputEsmcStatus.setStatus('current')
if mibBuilder.loadTexts: syncEOutputEsmcStatus.setDescription('SyncE output port ESMC state. It can be Enable (1) or Disable (2). If ESMC state is disabled, ESMC is not used.')
syncEOutputStatusRxQL = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: syncEOutputStatusRxQL.setStatus('current')
if mibBuilder.loadTexts: syncEOutputStatusRxQL.setDescription("Received QL value. This is the SSM value in the incoming ESMC. Its value can be actual or 'n/a.' In the asynchronous mode the SSM value is 'n/a.'")
syncEOutputStatusTxQL = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: syncEOutputStatusTxQL.setStatus('current')
if mibBuilder.loadTexts: syncEOutputStatusTxQL.setDescription("Transmitted QL value. This is the SSM value in the outgoing ESMC. Its value can be actual or 'n/a.' In the asynchronous mode the SSM value is 'n/a.'")
syncEConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2))
syncEOutputConfigTable = MibTable((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1), )
if mibBuilder.loadTexts: syncEOutputConfigTable.setStatus('current')
if mibBuilder.loadTexts: syncEOutputConfigTable.setDescription('SyncE output port configuration table.')
syncEOutputConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SYMMSYNCE", "syncEOutputConfigIndex"))
if mibBuilder.loadTexts: syncEOutputConfigEntry.setStatus('current')
if mibBuilder.loadTexts: syncEOutputConfigEntry.setDescription('An entry of the SyncE output configuration table. Table index is IfIndex (port and interface index).')
syncEOutputConfigIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000)))
if mibBuilder.loadTexts: syncEOutputConfigIndex.setStatus('current')
if mibBuilder.loadTexts: syncEOutputConfigIndex.setDescription('Local index of the SyncE output configuration table.')
syncEOutputEsmcState = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1, 1, 2), EnableValue().clone(2)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syncEOutputEsmcState.setStatus('current')
if mibBuilder.loadTexts: syncEOutputEsmcState.setDescription('SyncE output port ESMC state. It can be either Enable (1) or Disable (2). If ESMC is disabled, ESMC messages are not sent.')
syncEOutputQLState = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1, 1, 3), EnableValue().clone(2)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syncEOutputQLState.setStatus('current')
if mibBuilder.loadTexts: syncEOutputQLState.setDescription('SyncE output port QL state. It can either Enable (1) or Disable (2). ')
syncEOutputQLMode = MibTableColumn((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1, 1, 4), SYNCEPQLMODE().clone(1)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: syncEOutputQLMode.setStatus('current')
if mibBuilder.loadTexts: syncEOutputQLMode.setDescription('SyncE output port output QL mode. It can be unidirectional or bidirectional. In the unidirectional mode, the outgoing QL value is independent of the incoming QL value. In the bidirectional mode, the outgoing QL value is changed to DNU if it is the same as the incoming QL value. ')
syncEConformance = ObjectIdentity((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3))
if mibBuilder.loadTexts: syncEConformance.setStatus('current')
if mibBuilder.loadTexts: syncEConformance.setDescription('This subtree contains conformance statements for the SYMMETRICOM-LED-MIB module. ')
syncECompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3, 1))
syncEBasicCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3, 1, 1)).setObjects(("SYMMSYNCE", "syncEOutputStatusGroup"), ("SYMMSYNCE", "syncEConfigGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
syncEBasicCompliance = syncEBasicCompliance.setStatus('current')
if mibBuilder.loadTexts: syncEBasicCompliance.setDescription('The compliance statement for SNMP entities which have SyncE packet service.')
syncEUocGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3, 2))
syncEOutputStatusGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3, 2, 1)).setObjects(("SYMMSYNCE", "syncEOutputEsmcStatus"), ("SYMMSYNCE", "syncEOutputStatusRxQL"), ("SYMMSYNCE", "syncEOutputStatusTxQL"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
syncEOutputStatusGroup = syncEOutputStatusGroup.setStatus('current')
if mibBuilder.loadTexts: syncEOutputStatusGroup.setDescription('Description.')
syncEConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3, 2, 2)).setObjects(("SYMMSYNCE", "syncEOutputEsmcState"), ("SYMMSYNCE", "syncEOutputQLState"), ("SYMMSYNCE", "syncEOutputQLMode"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
syncEConfigGroup = syncEConfigGroup.setStatus('current')
if mibBuilder.loadTexts: syncEConfigGroup.setDescription('A collection of objects providing information applicable to SyncE configuration group.')
mibBuilder.exportSymbols("SYMMSYNCE", syncEOutputQLState=syncEOutputQLState, TLocalTimeOffset=TLocalTimeOffset, syncEOutputStatusEntry=syncEOutputStatusEntry, TLatAndLon=TLatAndLon, syncEOutputStatusTable=syncEOutputStatusTable, syncEOutputEsmcStatus=syncEOutputEsmcStatus, syncEBasicCompliance=syncEBasicCompliance, syncEConfigGroup=syncEConfigGroup, TAntHeight=TAntHeight, syncEOutputConfigIndex=syncEOutputConfigIndex, SYNCEPQLMODE=SYNCEPQLMODE, syncEStatus=syncEStatus, syncEOutputStatusIndex=syncEOutputStatusIndex, TSsm=TSsm, syncEOutputConfigEntry=syncEOutputConfigEntry, syncEOutputStatusRxQL=syncEOutputStatusRxQL, DateAndTime=DateAndTime, PYSNMP_MODULE_ID=symmSyncE, syncEOutputQLMode=syncEOutputQLMode, syncEOutputEsmcState=syncEOutputEsmcState, syncECompliances=syncECompliances, syncEOutputStatusGroup=syncEOutputStatusGroup, syncEConfig=syncEConfig, syncEUocGroups=syncEUocGroups, syncEOutputStatusTxQL=syncEOutputStatusTxQL, syncEConformance=syncEConformance, symmSyncE=symmSyncE, syncEOutputConfigTable=syncEOutputConfigTable)
| (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_intersection, value_size_constraint, value_range_constraint, single_value_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsUnion')
(ent_physical_index,) = mibBuilder.importSymbols('ENTITY-MIB', 'entPhysicalIndex')
(if_number, if_index) = mibBuilder.importSymbols('IF-MIB', 'ifNumber', 'ifIndex')
(module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup')
(bits, unsigned32, counter32, module_identity, integer32, time_ticks, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, object_identity, mib_identifier, notification_type, iso, counter64, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'Unsigned32', 'Counter32', 'ModuleIdentity', 'Integer32', 'TimeTicks', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ObjectIdentity', 'MibIdentifier', 'NotificationType', 'iso', 'Counter64', 'Gauge32')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
(enable_value, symm_physical_signal) = mibBuilder.importSymbols('SYMM-COMMON-SMI', 'EnableValue', 'symmPhysicalSignal')
symm_sync_e = module_identity((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8))
symmSyncE.setRevisions(('2011-02-24 17:47',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
symmSyncE.setRevisionsDescriptions(('Symmetricom common SyncE',))
if mibBuilder.loadTexts:
symmSyncE.setLastUpdated('201102241746Z')
if mibBuilder.loadTexts:
symmSyncE.setOrganization('Symmetricom')
if mibBuilder.loadTexts:
symmSyncE.setContactInfo('Symmetricom Technical Support 1-888-367-7966 toll free USA 1-408-428-7907 worldwide Support@symmetricom.com')
if mibBuilder.loadTexts:
symmSyncE.setDescription('This is the Symmetricom Common MIB for SyncE. It has two main nodes: SyncE status and SyncE configuration.')
class Syncepqlmode(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('bidirectional', 1), ('unidirectional', 2))
class Dateandtime(TextualConvention, OctetString):
description = "A date-time specification. field octets contents range ----- ------ -------- ----- 1 1-2 year* 0..65536 2 3 month 1..12 3 4 day 1..31 4 5 hour 0..23 5 6 minutes 0..59 6 7 seconds 0..60 (use 60 for leap-second) 7 8 deci-seconds 0..9 8 9 direction from UTC '+' / '-' 9 10 hours from UTC* 0..13 10 11 minutes from UTC 0..59 * Notes: - the value of year is in network-byte order - daylight saving time in New Zealand is +13 For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be displayed as: 1992-5-26,13:30:15.0,-4:0 Note that if only local time is known, then timezone information (fields 8-10) is not present."
status = 'current'
display_hint = '2d-1d-1d,1d:1d:1d.1d,1a1d:1d'
subtype_spec = OctetString.subtypeSpec + constraints_union(value_size_constraint(8, 8), value_size_constraint(11, 11))
class Tlatandlon(TextualConvention, OctetString):
description = "antenna latitude and longitude specification. field octets contents range ----- ------ -------- ----- 1 1 +/-180 deg '+' / '-' 2 2 degree 0..180 3 3 minute 0..59 4 4 second 0..59 5 5 second fraction 0..99 +/- dd:mm:ss.ss "
status = 'current'
display_hint = '1a1d:1d:1d.1d'
subtype_spec = OctetString.subtypeSpec + value_size_constraint(5, 5)
fixed_length = 5
class Tantheight(TextualConvention, OctetString):
description = "antenna height specification. field octets contents range ----- ------ -------- ----- 1 1 +/- '+' / '-' 2 2-3 meter 0..10000 3 4 meter fraction 0..99 +/- hh.hh "
status = 'current'
display_hint = '1a2d.1d'
subtype_spec = OctetString.subtypeSpec + value_size_constraint(4, 4)
fixed_length = 4
class Tlocaltimeoffset(TextualConvention, OctetString):
description = "A local time offset specification. field octets contents range ----- ------ -------- ----- 1 1 direction from UTC '+' / '-' 2 2 hours from UTC* 0..13 3 3 minutes from UTC 0..59 * Notes: - the value of year is in network-byte order - The hours range is 0..13 For example, the -6 local time offset would be displayed as: -6:0 "
status = 'current'
display_hint = '1a1d:1d'
subtype_spec = OctetString.subtypeSpec + value_size_constraint(3, 3)
fixed_length = 3
class Tssm(TextualConvention, Integer32):
description = 'The ssm hex code'
status = 'current'
display_hint = 'x'
subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 255)
sync_e_status = mib_identifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1))
sync_e_output_status_table = mib_table((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1))
if mibBuilder.loadTexts:
syncEOutputStatusTable.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputStatusTable.setDescription("SyncE output status table. It monitors whether ESMC and QL are enabled or disabled. SyncE 'output' indicates that the port is intended as a SyncE clock master port.")
sync_e_output_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'SYMMSYNCE', 'syncEOutputStatusIndex'))
if mibBuilder.loadTexts:
syncEOutputStatusEntry.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputStatusEntry.setDescription('An entry of the SyncE output status table. Table index is ifIndex (port and interface index).')
sync_e_output_status_index = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000)))
if mibBuilder.loadTexts:
syncEOutputStatusIndex.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputStatusIndex.setDescription('Local index of the SyncE output status table.')
sync_e_output_esmc_status = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
syncEOutputEsmcStatus.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputEsmcStatus.setDescription('SyncE output port ESMC state. It can be Enable (1) or Disable (2). If ESMC state is disabled, ESMC is not used.')
sync_e_output_status_rx_ql = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
syncEOutputStatusRxQL.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputStatusRxQL.setDescription("Received QL value. This is the SSM value in the incoming ESMC. Its value can be actual or 'n/a.' In the asynchronous mode the SSM value is 'n/a.'")
sync_e_output_status_tx_ql = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 1, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
syncEOutputStatusTxQL.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputStatusTxQL.setDescription("Transmitted QL value. This is the SSM value in the outgoing ESMC. Its value can be actual or 'n/a.' In the asynchronous mode the SSM value is 'n/a.'")
sync_e_config = mib_identifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2))
sync_e_output_config_table = mib_table((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1))
if mibBuilder.loadTexts:
syncEOutputConfigTable.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputConfigTable.setDescription('SyncE output port configuration table.')
sync_e_output_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'SYMMSYNCE', 'syncEOutputConfigIndex'))
if mibBuilder.loadTexts:
syncEOutputConfigEntry.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputConfigEntry.setDescription('An entry of the SyncE output configuration table. Table index is IfIndex (port and interface index).')
sync_e_output_config_index = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000)))
if mibBuilder.loadTexts:
syncEOutputConfigIndex.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputConfigIndex.setDescription('Local index of the SyncE output configuration table.')
sync_e_output_esmc_state = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1, 1, 2), enable_value().clone(2)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
syncEOutputEsmcState.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputEsmcState.setDescription('SyncE output port ESMC state. It can be either Enable (1) or Disable (2). If ESMC is disabled, ESMC messages are not sent.')
sync_e_output_ql_state = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1, 1, 3), enable_value().clone(2)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
syncEOutputQLState.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputQLState.setDescription('SyncE output port QL state. It can either Enable (1) or Disable (2). ')
sync_e_output_ql_mode = mib_table_column((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 2, 1, 1, 4), syncepqlmode().clone(1)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
syncEOutputQLMode.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputQLMode.setDescription('SyncE output port output QL mode. It can be unidirectional or bidirectional. In the unidirectional mode, the outgoing QL value is independent of the incoming QL value. In the bidirectional mode, the outgoing QL value is changed to DNU if it is the same as the incoming QL value. ')
sync_e_conformance = object_identity((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3))
if mibBuilder.loadTexts:
syncEConformance.setStatus('current')
if mibBuilder.loadTexts:
syncEConformance.setDescription('This subtree contains conformance statements for the SYMMETRICOM-LED-MIB module. ')
sync_e_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3, 1))
sync_e_basic_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3, 1, 1)).setObjects(('SYMMSYNCE', 'syncEOutputStatusGroup'), ('SYMMSYNCE', 'syncEConfigGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sync_e_basic_compliance = syncEBasicCompliance.setStatus('current')
if mibBuilder.loadTexts:
syncEBasicCompliance.setDescription('The compliance statement for SNMP entities which have SyncE packet service.')
sync_e_uoc_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3, 2))
sync_e_output_status_group = object_group((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3, 2, 1)).setObjects(('SYMMSYNCE', 'syncEOutputEsmcStatus'), ('SYMMSYNCE', 'syncEOutputStatusRxQL'), ('SYMMSYNCE', 'syncEOutputStatusTxQL'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sync_e_output_status_group = syncEOutputStatusGroup.setStatus('current')
if mibBuilder.loadTexts:
syncEOutputStatusGroup.setDescription('Description.')
sync_e_config_group = object_group((1, 3, 6, 1, 4, 1, 9070, 1, 2, 5, 2, 8, 3, 2, 2)).setObjects(('SYMMSYNCE', 'syncEOutputEsmcState'), ('SYMMSYNCE', 'syncEOutputQLState'), ('SYMMSYNCE', 'syncEOutputQLMode'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sync_e_config_group = syncEConfigGroup.setStatus('current')
if mibBuilder.loadTexts:
syncEConfigGroup.setDescription('A collection of objects providing information applicable to SyncE configuration group.')
mibBuilder.exportSymbols('SYMMSYNCE', syncEOutputQLState=syncEOutputQLState, TLocalTimeOffset=TLocalTimeOffset, syncEOutputStatusEntry=syncEOutputStatusEntry, TLatAndLon=TLatAndLon, syncEOutputStatusTable=syncEOutputStatusTable, syncEOutputEsmcStatus=syncEOutputEsmcStatus, syncEBasicCompliance=syncEBasicCompliance, syncEConfigGroup=syncEConfigGroup, TAntHeight=TAntHeight, syncEOutputConfigIndex=syncEOutputConfigIndex, SYNCEPQLMODE=SYNCEPQLMODE, syncEStatus=syncEStatus, syncEOutputStatusIndex=syncEOutputStatusIndex, TSsm=TSsm, syncEOutputConfigEntry=syncEOutputConfigEntry, syncEOutputStatusRxQL=syncEOutputStatusRxQL, DateAndTime=DateAndTime, PYSNMP_MODULE_ID=symmSyncE, syncEOutputQLMode=syncEOutputQLMode, syncEOutputEsmcState=syncEOutputEsmcState, syncECompliances=syncECompliances, syncEOutputStatusGroup=syncEOutputStatusGroup, syncEConfig=syncEConfig, syncEUocGroups=syncEUocGroups, syncEOutputStatusTxQL=syncEOutputStatusTxQL, syncEConformance=syncEConformance, symmSyncE=symmSyncE, syncEOutputConfigTable=syncEOutputConfigTable) |
def get_head(line, releases, **kwargs):
for release in releases:
if "Django {} release notes".format(release) in line:
return release
return False
def get_urls(releases, **kwargs):
urls = []
for release in releases:
urls.append("https://raw.githubusercontent.com/django/django/master/docs/releases/{v}.txt"
.format(v=release))
return urls, []
| def get_head(line, releases, **kwargs):
for release in releases:
if 'Django {} release notes'.format(release) in line:
return release
return False
def get_urls(releases, **kwargs):
urls = []
for release in releases:
urls.append('https://raw.githubusercontent.com/django/django/master/docs/releases/{v}.txt'.format(v=release))
return (urls, []) |
# Scrapy settings for news project
#
# For simplicity, this file contains only the most important settings by
# default. All the other settings are documented here:
#
# http://doc.scrapy.org/topics/settings.html
#
BOT_NAME = 'news'
BOT_VERSION = '1.0'
SPIDER_MODULES = ['news.spiders']
NEWSPIDER_MODULE = 'news.spiders'
USER_AGENT = '%s/%s' % (BOT_NAME, BOT_VERSION)
| bot_name = 'news'
bot_version = '1.0'
spider_modules = ['news.spiders']
newspider_module = 'news.spiders'
user_agent = '%s/%s' % (BOT_NAME, BOT_VERSION) |
class Mapper(object):
@staticmethod
def map(enum, value):
result = None
for enum_value in enum:
if Mapper._normalize(value) == Mapper._normalize(enum_value.value):
result = enum_value
return result
@staticmethod
def _normalize(value: str):
return value.lower().replace(" ", "")
| class Mapper(object):
@staticmethod
def map(enum, value):
result = None
for enum_value in enum:
if Mapper._normalize(value) == Mapper._normalize(enum_value.value):
result = enum_value
return result
@staticmethod
def _normalize(value: str):
return value.lower().replace(' ', '') |
def city_country(city, country):
return(city.title() + ", " + country.title())
city = city_country('santiago', 'chile')
print(city)
city = city_country('ushuaia', 'argentina')
print(city)
city = city_country('longyearbyen', 'svalbard')
print(city)
| def city_country(city, country):
return city.title() + ', ' + country.title()
city = city_country('santiago', 'chile')
print(city)
city = city_country('ushuaia', 'argentina')
print(city)
city = city_country('longyearbyen', 'svalbard')
print(city) |
# -*- coding: utf-8 -*-
description = 'setup for Beckhoff PLC mtt devices on PANDA'
group = 'lowlevel'
devices = dict(
mtt = device('nicos.devices.generic.Axis',
description = 'Virtual MTT axis that exchanges block automatically '
'(must be used in "automatic" mode).',
motor = device('nicos.devices.generic.VirtualMotor',
abslimits = (-122, -25),
unit = 'deg',
speed = 1,
curvalue = -40,
),
precision = 0.001,
),
)
| description = 'setup for Beckhoff PLC mtt devices on PANDA'
group = 'lowlevel'
devices = dict(mtt=device('nicos.devices.generic.Axis', description='Virtual MTT axis that exchanges block automatically (must be used in "automatic" mode).', motor=device('nicos.devices.generic.VirtualMotor', abslimits=(-122, -25), unit='deg', speed=1, curvalue=-40), precision=0.001)) |
class Name:
def __init__(self, name, age):
self.name = name
self.age = age
def age_next(self):
return self.age + 10
def name_len(self):
return 'Length of name is {}'.format(len(self.name))
class Education(Name):
def __init__(self, name, age, school, btech, ms):
Name.__init__(self, name, age)
self.school = school
self.btech = btech
self.ms = ms
def get_edu_info(self):
return'{} is the name of the school'.format(self.school), \
'{} is the name of the undergrad college'.format(self.btech),\
'{} is the name of the grad college'.format(self.ms), '{} is the name of the person.'.format(self.name),\
'{} is the age of the person'.format(self.age)
print ("Hey!")
| class Name:
def __init__(self, name, age):
self.name = name
self.age = age
def age_next(self):
return self.age + 10
def name_len(self):
return 'Length of name is {}'.format(len(self.name))
class Education(Name):
def __init__(self, name, age, school, btech, ms):
Name.__init__(self, name, age)
self.school = school
self.btech = btech
self.ms = ms
def get_edu_info(self):
return ('{} is the name of the school'.format(self.school), '{} is the name of the undergrad college'.format(self.btech), '{} is the name of the grad college'.format(self.ms), '{} is the name of the person.'.format(self.name), '{} is the age of the person'.format(self.age))
print('Hey!') |
class Constants:
default_config_folder = "config"
default_modules_folder = "modules"
default_deployment_template_file = "deployment.template.json"
default_deployment_debug_template_file = "deployment.debug.template.json"
default_platform = "amd64"
deployment_template_suffix = ".template.json"
deployment_template_schema_version = "1.0.0"
moduledir_placeholder_pattern = r'\${MODULEDIR<(.+)>(\..+)?}'
deployment_template_schema_url = "http://json.schemastore.org/azure-iot-edge-deployment-template-2.0"
deployment_manifest_schema_url = "http://json.schemastore.org/azure-iot-edge-deployment-2.0"
azure_cli_iot_ext_source_url = "https://github.com/Azure/azure-iot-cli-extension/releases/download/v0.8.6/azure_cli_iot_ext-0.8.6-py2.py3-none-any.whl"
| class Constants:
default_config_folder = 'config'
default_modules_folder = 'modules'
default_deployment_template_file = 'deployment.template.json'
default_deployment_debug_template_file = 'deployment.debug.template.json'
default_platform = 'amd64'
deployment_template_suffix = '.template.json'
deployment_template_schema_version = '1.0.0'
moduledir_placeholder_pattern = '\\${MODULEDIR<(.+)>(\\..+)?}'
deployment_template_schema_url = 'http://json.schemastore.org/azure-iot-edge-deployment-template-2.0'
deployment_manifest_schema_url = 'http://json.schemastore.org/azure-iot-edge-deployment-2.0'
azure_cli_iot_ext_source_url = 'https://github.com/Azure/azure-iot-cli-extension/releases/download/v0.8.6/azure_cli_iot_ext-0.8.6-py2.py3-none-any.whl' |
class PIDController:
def __init__(self, kp, ki, kd, goal):
self.kp = kp
self.ki = ki
self.kd = kd
self.goal = goal
self.error = 0
self.lX = 0
self.dError = 0
self.iError = 0
def correction(self):
return (self.error * self.kp + self.iError*self.ki - (self.dError*self.kd))
def updateError(self, currentPosition):
self.error = self.goal - currentPosition
self.iError = self.iError + self.error
self.dError = currentPosition - self.lX
self.lX = currentPosition
| class Pidcontroller:
def __init__(self, kp, ki, kd, goal):
self.kp = kp
self.ki = ki
self.kd = kd
self.goal = goal
self.error = 0
self.lX = 0
self.dError = 0
self.iError = 0
def correction(self):
return self.error * self.kp + self.iError * self.ki - self.dError * self.kd
def update_error(self, currentPosition):
self.error = self.goal - currentPosition
self.iError = self.iError + self.error
self.dError = currentPosition - self.lX
self.lX = currentPosition |
class HWPDecryptor():
def __init__(self, filepath, key):
self.data = ''
self.key = key
with open(filepath, 'rb') as f:
data = f.read()
self.data = bytearray(data)
def decryption(self):
r = list()
for i in range(0, len(self.data)):
a = self.data[i] ^ self.key
r.append(a)
return bytearray(r)
def save(self, decrypted_data, savepath='result.txt'):
with open(savepath, 'wb') as f:
f.write(decrypted_data)
decryptor = HWPDecryptor('data.txt', 204)
decrypted_data = decryptor.decryption()
decryptor.save(decrypted_data) | class Hwpdecryptor:
def __init__(self, filepath, key):
self.data = ''
self.key = key
with open(filepath, 'rb') as f:
data = f.read()
self.data = bytearray(data)
def decryption(self):
r = list()
for i in range(0, len(self.data)):
a = self.data[i] ^ self.key
r.append(a)
return bytearray(r)
def save(self, decrypted_data, savepath='result.txt'):
with open(savepath, 'wb') as f:
f.write(decrypted_data)
decryptor = hwp_decryptor('data.txt', 204)
decrypted_data = decryptor.decryption()
decryptor.save(decrypted_data) |
def fibonacci(n):
if n == 0:
return 0
elif n == 1:
return 1
else:
return fibonacci(n - 1) + fibonacci(n - 2)
n = int(input("Please enter your number"))
values = [str(fibonacci(x)) for x in range(0, n+1)]
print(",".join(values))
| def fibonacci(n):
if n == 0:
return 0
elif n == 1:
return 1
else:
return fibonacci(n - 1) + fibonacci(n - 2)
n = int(input('Please enter your number'))
values = [str(fibonacci(x)) for x in range(0, n + 1)]
print(','.join(values)) |
RANDOM_SEED = 7 # constant for reproducability
# for training
TRAINING_CONFIG = {
'TYPE': 'single_country', # single_country or country_held_out
'COUNTRY': 'malawi_2016', # malawi_2016, ethiopia_2015
'METRIC': 'est_monthly_phone_cost_pc' # house_has_cellphone or est_monthly_phone_cost_pc
}
# for prediction maps
VIS_CONFIG = {
'COUNTRY_NAME': "Ethiopia", # malawi_2016 -> Malawi, ethiopia_2015 -> Ethiopia
'COUNTRY_ABBRV': 'MWI', # MWI or ETH, but could be any country code in the world
# what type of model to use to predict this country
'TYPE': 'single_country',
'COUNTRY': 'ethiopia_2015',
'METRIC': 'est_monthly_phone_cost_pc'
}
| random_seed = 7
training_config = {'TYPE': 'single_country', 'COUNTRY': 'malawi_2016', 'METRIC': 'est_monthly_phone_cost_pc'}
vis_config = {'COUNTRY_NAME': 'Ethiopia', 'COUNTRY_ABBRV': 'MWI', 'TYPE': 'single_country', 'COUNTRY': 'ethiopia_2015', 'METRIC': 'est_monthly_phone_cost_pc'} |
class LetterSpacingKeyword:
Normal = "normal"
class LetterSpacing(
LetterSpacingKeyword,
Length,
):
pass
| class Letterspacingkeyword:
normal = 'normal'
class Letterspacing(LetterSpacingKeyword, Length):
pass |
# problem description: https://www.hackerrank.com/challenges/ctci-connected-cell-in-a-grid/problem
def getBiggestRegion(grid):
n_row = len(grid)
n_col = len(grid[0])
region_sizes = []
for row in range(n_row):
for col in range(n_col):
region_size = measure_region(grid, row, col)
region_sizes.append(region_size)
return max(region_sizes)
def measure_region(grid, row, col):
# check for out of bounds
if row not in range(len(grid)) or col not in range(len(grid[0])):
return 0
# abort if cell is not 1
elif grid[row][col] != 1:
return 0
else:
# mark visited cell as 0
grid[row][col] = 0
# count this cell and move on
return 1 + measure_region(grid, row + 1, col) \
+ measure_region(grid, row - 1, col) \
+ measure_region(grid, row, col + 1) \
+ measure_region(grid, row, col - 1) \
+ measure_region(grid, row + 1, col + 1) \
+ measure_region(grid, row - 1, col - 1) \
+ measure_region(grid, row - 1, col + 1) \
+ measure_region(grid, row + 1, col - 1)
grid = [
[1, 1, 0, 0],
[0, 1, 1, 0],
[0, 0, 1, 0],
[1, 0, 0, 0]
]
getBiggestRegion(grid)
| def get_biggest_region(grid):
n_row = len(grid)
n_col = len(grid[0])
region_sizes = []
for row in range(n_row):
for col in range(n_col):
region_size = measure_region(grid, row, col)
region_sizes.append(region_size)
return max(region_sizes)
def measure_region(grid, row, col):
if row not in range(len(grid)) or col not in range(len(grid[0])):
return 0
elif grid[row][col] != 1:
return 0
else:
grid[row][col] = 0
return 1 + measure_region(grid, row + 1, col) + measure_region(grid, row - 1, col) + measure_region(grid, row, col + 1) + measure_region(grid, row, col - 1) + measure_region(grid, row + 1, col + 1) + measure_region(grid, row - 1, col - 1) + measure_region(grid, row - 1, col + 1) + measure_region(grid, row + 1, col - 1)
grid = [[1, 1, 0, 0], [0, 1, 1, 0], [0, 0, 1, 0], [1, 0, 0, 0]]
get_biggest_region(grid) |
expected_output = {
"my_state": "13 -ACTIVE",
"peer_state": "1 -DISABLED",
"mode": "Simplex",
"unit": "Primary",
"unit_id": 48,
"redundancy_mode_operational": "Non-redundant",
"redundancy_mode_configured": "Non-redundant",
"redundancy_state": "Non Redundant",
"maintenance_mode": "Disabled",
"manual_swact": "disabled",
"manual_swact_reason": "system is simplex (no peer unit)",
"communications": "Down",
"communications_reason": "Simplex mode",
"client_count": 111,
"client_notification_tmr_msec": 30000,
"rf_debug_mask": "0x0",
}
| expected_output = {'my_state': '13 -ACTIVE', 'peer_state': '1 -DISABLED', 'mode': 'Simplex', 'unit': 'Primary', 'unit_id': 48, 'redundancy_mode_operational': 'Non-redundant', 'redundancy_mode_configured': 'Non-redundant', 'redundancy_state': 'Non Redundant', 'maintenance_mode': 'Disabled', 'manual_swact': 'disabled', 'manual_swact_reason': 'system is simplex (no peer unit)', 'communications': 'Down', 'communications_reason': 'Simplex mode', 'client_count': 111, 'client_notification_tmr_msec': 30000, 'rf_debug_mask': '0x0'} |
t = int(input())
for _ in range(t):
n = int(input())
a = [int(x) for x in input().split()]
a.sort()
n *= 2
if n == 2:
print(abs(a[-1]-a[0]))
else:
print(a[n//2]-a[n//2-1])
| t = int(input())
for _ in range(t):
n = int(input())
a = [int(x) for x in input().split()]
a.sort()
n *= 2
if n == 2:
print(abs(a[-1] - a[0]))
else:
print(a[n // 2] - a[n // 2 - 1]) |
# https://wiki.python.org/moin/BitManipulation
# testBit() returns a nonzero result, 2**offset, if the bit at 'offset' is one.
def testBit(int_type, offset):
mask = 1 << offset
return(int_type & mask)
# setBit() returns an integer with the bit at 'offset' set to 1.
def setBit(int_type, offset):
mask = 1 << offset
return(int_type | mask)
# clearBit() returns an integer with the bit at 'offset' cleared.
def clearBit(int_type, offset):
print("{0:b}".format(int_type))
mask = ~(1 << offset)
print("{0:b}".format(mask))
return(int_type & mask)
# toggleBit() returns an integer with the bit at 'offset' inverted, 0 -> 1 and 1 -> 0.
def toggleBit(int_type, offset):
mask = 1 << offset
return(int_type ^ mask)
if __name__ == "__main__":
d1 = 7
bit = 0
print(clearBit(d1,bit))
| def test_bit(int_type, offset):
mask = 1 << offset
return int_type & mask
def set_bit(int_type, offset):
mask = 1 << offset
return int_type | mask
def clear_bit(int_type, offset):
print('{0:b}'.format(int_type))
mask = ~(1 << offset)
print('{0:b}'.format(mask))
return int_type & mask
def toggle_bit(int_type, offset):
mask = 1 << offset
return int_type ^ mask
if __name__ == '__main__':
d1 = 7
bit = 0
print(clear_bit(d1, bit)) |
# Django settings for unit test project.
DEBUG = True
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'database.sqlite',
},
}
SITE_ID = 1
ROOT_URLCONF = 'parler_example.urls'
SECRET_KEY = 'secret'
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = ''
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = ''
# Absolute path to the directory that holds static files.
# Example: "/home/media/media.lawrence.com/static/"
STATIC_ROOT = '/home/static/'
# URL that handles the static files served from STATIC_ROOT.
# Example: "http://media.lawrence.com/static/"
STATIC_URL = '/static/'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.staticfiles',
'parler', # https://github.com/django-parler/django-parler
'adminsortable2',
'parler_example.parler_test_app',
)
MIDDLEWARE = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
)
MIDDLEWARE_CLASSES = MIDDLEWARE
# Explicitely set the test runner to the new 1.7 version, to silence obnoxious
# 1_6.W001 check
# TEST_RUNNER = 'django.test.runner.DiscoverRunner'
# https://docs.djangoproject.com/en/1.11/ref/settings/#language-code
# Default and fallback language:
LANGUAGE_CODE = "en"
# http://django-parler.readthedocs.org/en/latest/quickstart.html#configuration
PARLER_LANGUAGES = {
1: [
{
"name": "German",
"code": "de",
"fallbacks": [LANGUAGE_CODE],
"hide_untranslated": False,
},
{
"name": "English",
"code": "en",
"fallbacks": ["de"],
"hide_untranslated": False,
},
],
"default": {
"fallbacks": [LANGUAGE_CODE],
"redirect_on_fallback": False,
},
}
# https://docs.djangoproject.com/en/1.11/ref/settings/#languages
LANGUAGES = tuple([(d["code"], d["name"]) for d in PARLER_LANGUAGES[1]])
# http://django-parler.readthedocs.org/en/latest/quickstart.html#configuration
PARLER_DEFAULT_LANGUAGE_CODE = LANGUAGE_CODE
USE_I18N = True
USE_L10N = True
| debug = True
databases = {'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'database.sqlite'}}
site_id = 1
root_urlconf = 'parler_example.urls'
secret_key = 'secret'
media_root = ''
media_url = ''
static_root = '/home/static/'
static_url = '/static/'
templates = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}]
installed_apps = ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.staticfiles', 'parler', 'adminsortable2', 'parler_example.parler_test_app')
middleware = ('django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware')
middleware_classes = MIDDLEWARE
language_code = 'en'
parler_languages = {1: [{'name': 'German', 'code': 'de', 'fallbacks': [LANGUAGE_CODE], 'hide_untranslated': False}, {'name': 'English', 'code': 'en', 'fallbacks': ['de'], 'hide_untranslated': False}], 'default': {'fallbacks': [LANGUAGE_CODE], 'redirect_on_fallback': False}}
languages = tuple([(d['code'], d['name']) for d in PARLER_LANGUAGES[1]])
parler_default_language_code = LANGUAGE_CODE
use_i18_n = True
use_l10_n = True |
SCHEDULE_MODE = {
'SECONDS': 1,
'MINUTS': 2,
'HOUR': 3,
'DAY': 4
}
SCHEDULE_STATUS = {
'RUNNING': 1,
'STOPPED': 2
}
SCHEDULE_ACTIVE = {
'ACTIVE': 1,
'DEACTIVE': 2
}
def getDictKeyByName(dictObject, value):
for (key, itemValue) in dictObject.items():
if (value == itemValue):
return key
return None | schedule_mode = {'SECONDS': 1, 'MINUTS': 2, 'HOUR': 3, 'DAY': 4}
schedule_status = {'RUNNING': 1, 'STOPPED': 2}
schedule_active = {'ACTIVE': 1, 'DEACTIVE': 2}
def get_dict_key_by_name(dictObject, value):
for (key, item_value) in dictObject.items():
if value == itemValue:
return key
return None |
# --------------
class_1 = ['Geoffrey Hinton','Andrew Ng','Sebastian Raschka','Yoshua Bengio']
class_2 = ['Hilary Mason','Carla Gentry','Corinna Cortes']
new_class = class_1 + class_2
new_class.append("Peter Warden")
print(new_class)
new_class.remove("Carla Gentry")
print(new_class)
courses = { "Math":65,"English":70,"History":80,"French":70,"Science":60}
total = sum(courses.values())
print(total)
percentage = total*100/500
mathematics ={ "Geoffrey Hinton":78,
"Andrew Ng":95,
"Sebastian Raschka":65,
"Yoshua Benjio":50,
"Hilary Mason":70,
"Corinna Cortes":66,
"Peter Warden":75
}
topper = max(mathematics,key = mathematics.get)
print (topper)
first_name , last_name = topper.split()
full_name = last_name + " " +first_name
certificate_name = full_name.upper()
print(certificate_name
)
| class_1 = ['Geoffrey Hinton', 'Andrew Ng', 'Sebastian Raschka', 'Yoshua Bengio']
class_2 = ['Hilary Mason', 'Carla Gentry', 'Corinna Cortes']
new_class = class_1 + class_2
new_class.append('Peter Warden')
print(new_class)
new_class.remove('Carla Gentry')
print(new_class)
courses = {'Math': 65, 'English': 70, 'History': 80, 'French': 70, 'Science': 60}
total = sum(courses.values())
print(total)
percentage = total * 100 / 500
mathematics = {'Geoffrey Hinton': 78, 'Andrew Ng': 95, 'Sebastian Raschka': 65, 'Yoshua Benjio': 50, 'Hilary Mason': 70, 'Corinna Cortes': 66, 'Peter Warden': 75}
topper = max(mathematics, key=mathematics.get)
print(topper)
(first_name, last_name) = topper.split()
full_name = last_name + ' ' + first_name
certificate_name = full_name.upper()
print(certificate_name) |
#
# @lc app=leetcode id=20 lang=python3
#
# [20] Valid Parentheses
#
# @lc code=start
class Solution:
def isValid(self, s: str) -> bool:
# if s == ""
if len(s) == 0:
return True
d = {
')': '(',
'}' : '{',
']' : '['
}
temp = []
for item in s:
if item not in d:
temp.append(item)
else:
# example: s = ")"
if temp == []:
return False
if d[item] == temp[-1]:
temp.pop()
else:
return False
if len(temp) > 0:
return False
return True
# @lc code=end
| class Solution:
def is_valid(self, s: str) -> bool:
if len(s) == 0:
return True
d = {')': '(', '}': '{', ']': '['}
temp = []
for item in s:
if item not in d:
temp.append(item)
else:
if temp == []:
return False
if d[item] == temp[-1]:
temp.pop()
else:
return False
if len(temp) > 0:
return False
return True |
total_umur_dalam_hari = 75
jumlah_hari_dalam_sebulan = 30
bulan = total_umur_dalam_hari/jumlah_hari_dalam_sebulan
hari = total_umur_dalam_hari % jumlah_hari_dalam_sebulan
print('umur bayi sekarang {} bulan dan {} hari'.format(bulan,hari))
print('umur bayi sekarang {1} bulan dan {0} hari'.format(hari,bulan))
print('umur bayi sekarang %s bulan dan %s hari'%(bulan,hari))
print('umur bayi sekarang',bulan,'bulan dan',hari,'hari')
print('umur bayi sekarang '+str(bulan)+' bulan dan '+str(hari)+' hari') | total_umur_dalam_hari = 75
jumlah_hari_dalam_sebulan = 30
bulan = total_umur_dalam_hari / jumlah_hari_dalam_sebulan
hari = total_umur_dalam_hari % jumlah_hari_dalam_sebulan
print('umur bayi sekarang {} bulan dan {} hari'.format(bulan, hari))
print('umur bayi sekarang {1} bulan dan {0} hari'.format(hari, bulan))
print('umur bayi sekarang %s bulan dan %s hari' % (bulan, hari))
print('umur bayi sekarang', bulan, 'bulan dan', hari, 'hari')
print('umur bayi sekarang ' + str(bulan) + ' bulan dan ' + str(hari) + ' hari') |
# Copyright 2018 Road-Support - Roel Adriaans
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Github Connector - OCA extension",
"summary": "Add OCA specific information to Odoo modules",
"version": "13.0.1.0.0",
"category": "Connector",
"license": "AGPL-3",
"author": "Odoo Community Association (OCA), " "Road-Support",
"website": "https://github.com/OCA/interface-github",
"depends": ["github_connector_odoo"],
"data": ["views/odoo_module_version.xml"],
"demo": [],
"installable": True,
}
| {'name': 'Github Connector - OCA extension', 'summary': 'Add OCA specific information to Odoo modules', 'version': '13.0.1.0.0', 'category': 'Connector', 'license': 'AGPL-3', 'author': 'Odoo Community Association (OCA), Road-Support', 'website': 'https://github.com/OCA/interface-github', 'depends': ['github_connector_odoo'], 'data': ['views/odoo_module_version.xml'], 'demo': [], 'installable': True} |
def initialize():
return 'initialize'
def computeTile(x, y, array):
spend_some_time()
return 'computeTile-' + str(x) + ',' + str(y)
def dispose():
return 'dispose'
def spend_some_time():
l = list(range(10000))
for i in range(10000):
l.reverse()
| def initialize():
return 'initialize'
def compute_tile(x, y, array):
spend_some_time()
return 'computeTile-' + str(x) + ',' + str(y)
def dispose():
return 'dispose'
def spend_some_time():
l = list(range(10000))
for i in range(10000):
l.reverse() |
# Exibindo valores da lista com for
comidas = ['Cebola', 'Tomate', 'Cenoura', 'Ovo', 'Queijo', 'Cerveja']
print("indice - elemento")
for indice, elemento in enumerate(comidas):
print (f"{indice:<5}{elemento}")
print(1 + 1)
| comidas = ['Cebola', 'Tomate', 'Cenoura', 'Ovo', 'Queijo', 'Cerveja']
print('indice - elemento')
for (indice, elemento) in enumerate(comidas):
print(f'{indice:<5}{elemento}')
print(1 + 1) |
pkgname = "bsded"
pkgver = "0.99.0"
pkgrel = 0
build_style = "makefile"
pkgdesc = "FreeBSD ed(1) utility"
maintainer = "q66 <q66@chimera-linux.org>"
license = "BSD-2-Clause"
url = "https://github.com/chimera-linux/bsded"
source = f"https://github.com/chimera-linux/bsded/archive/refs/tags/v{pkgver}.tar.gz"
sha256 = "ae351b0a03519d2ec251f2fb3210eb402e4babd17b9c1e0f3ab2aa307bb3505f"
| pkgname = 'bsded'
pkgver = '0.99.0'
pkgrel = 0
build_style = 'makefile'
pkgdesc = 'FreeBSD ed(1) utility'
maintainer = 'q66 <q66@chimera-linux.org>'
license = 'BSD-2-Clause'
url = 'https://github.com/chimera-linux/bsded'
source = f'https://github.com/chimera-linux/bsded/archive/refs/tags/v{pkgver}.tar.gz'
sha256 = 'ae351b0a03519d2ec251f2fb3210eb402e4babd17b9c1e0f3ab2aa307bb3505f' |
def load():
with open("input") as f:
yield next(f).strip()
next(f)
img = {}
for y, row in enumerate(f):
img.update({(x, y): v for x, v in enumerate(row.strip())})
yield img
def get_square(x, y, image, void_value):
for i in range(y - 1, y + 2):
for j in range(x - 1, x + 2):
yield image.get((j, i), void_value)
def to_decimal(square):
return int("".join("1" if p == "#" else "0" for p in square), 2)
def apply_enhancement(image, algorithm, void_value):
new_image = {}
p1, p2 = min(image), max(image)
for y in range(p1[1] - 2, p2[1] + 3):
for x in range(p1[0] - 2, p2[0] + 3):
index = to_decimal(get_square(x, y, image, void_value))
new_image[(x, y)] = algorithm[index]
return new_image
def get_void_value(algorithm, iteration):
return "." if iteration % 2 == 0 or algorithm[0] == "." else "#"
def run_algorithm(iterations):
algorithm, image = load()
for i in range(iterations):
image = apply_enhancement(image, algorithm, get_void_value(algorithm, i))
return sum(1 for p in image.values() if p == "#")
print(run_algorithm(50))
| def load():
with open('input') as f:
yield next(f).strip()
next(f)
img = {}
for (y, row) in enumerate(f):
img.update({(x, y): v for (x, v) in enumerate(row.strip())})
yield img
def get_square(x, y, image, void_value):
for i in range(y - 1, y + 2):
for j in range(x - 1, x + 2):
yield image.get((j, i), void_value)
def to_decimal(square):
return int(''.join(('1' if p == '#' else '0' for p in square)), 2)
def apply_enhancement(image, algorithm, void_value):
new_image = {}
(p1, p2) = (min(image), max(image))
for y in range(p1[1] - 2, p2[1] + 3):
for x in range(p1[0] - 2, p2[0] + 3):
index = to_decimal(get_square(x, y, image, void_value))
new_image[x, y] = algorithm[index]
return new_image
def get_void_value(algorithm, iteration):
return '.' if iteration % 2 == 0 or algorithm[0] == '.' else '#'
def run_algorithm(iterations):
(algorithm, image) = load()
for i in range(iterations):
image = apply_enhancement(image, algorithm, get_void_value(algorithm, i))
return sum((1 for p in image.values() if p == '#'))
print(run_algorithm(50)) |
#a function which formats a duration, given as a number of seconds, in a human-friendly way.
def format_duration(seconds):
if seconds is 0:
return 'now'
times = ['years', 'days', 'hours', 'minutes', 'seconds']
times_to_seconds = {'years':31536000, 'days':86400, 'hours':3600, 'minutes':60, 'seconds':1}
times_to_templates = {'years':'{} year{}', 'days':'{} day{}', 'hours':'{} hour{}',
'minutes':'{} minute{}', 'seconds':'{} second{}'}
formatted_templates = []
for time in times:
time_minimal_second = times_to_seconds[time]
if seconds >= time_minimal_second:
data = int(seconds / time_minimal_second)
if data > 1:
plural = 's'
else:
plural = ''
template = times_to_templates[time]
formatted_templates.append(template.format(data, plural))
seconds -= (time_minimal_second * data)
formatted_templates.reverse()
response = ''
for counter, formatted_template in enumerate(formatted_templates):
if counter > 1:
response = ', ' + response
if counter is 1:
response = ' and ' + response
response = formatted_template + response
return response | def format_duration(seconds):
if seconds is 0:
return 'now'
times = ['years', 'days', 'hours', 'minutes', 'seconds']
times_to_seconds = {'years': 31536000, 'days': 86400, 'hours': 3600, 'minutes': 60, 'seconds': 1}
times_to_templates = {'years': '{} year{}', 'days': '{} day{}', 'hours': '{} hour{}', 'minutes': '{} minute{}', 'seconds': '{} second{}'}
formatted_templates = []
for time in times:
time_minimal_second = times_to_seconds[time]
if seconds >= time_minimal_second:
data = int(seconds / time_minimal_second)
if data > 1:
plural = 's'
else:
plural = ''
template = times_to_templates[time]
formatted_templates.append(template.format(data, plural))
seconds -= time_minimal_second * data
formatted_templates.reverse()
response = ''
for (counter, formatted_template) in enumerate(formatted_templates):
if counter > 1:
response = ', ' + response
if counter is 1:
response = ' and ' + response
response = formatted_template + response
return response |
#
# Bounce constant investigation
#
Y_BASE = 210
Y_TOP = 88
Y_MAX = 65 # maximum allowed height
TIME = 113 # time to bounce
# simulates given arc with starting VY and gravity AY
# returns (peak,time length)
def arc(vy,ay,trace=False):
p = 0
y = 0
t = 0
if (trace):
print("arc(%5d,%5d)" % (vy,ay))
while (y >= 0):
if (trace):
print("%3d: %6d %3d" % (t,vy,Y_BASE-(y//256)))
y += vy
p = max(p,y)
vy -= ay
t += 1
return (p,t)
# guess an approximate arc, assuming a perfect parabola
def guess(p,t):
# approximate as parabola:
# c*x^2 = y
# 2*c*x = vy
# so: c * (t/2)^2 = p
p = (Y_BASE - p) * 256
c = p / (t*t/4)
v = 2 * c * (t/2)
a = v / (t/2)
return (v,a)
# prints out test result
def test(vy,ay):
(p,t) = arc(vy,ay)
p = Y_BASE - (p//256)
print("%5d,%5d: %3d %3d" % (vy,ay,p,t))
# guessing to meet Y_TOP, then check with a range of tests
(gv,ga) = guess(Y_TOP,TIME)
print("Guess: " + str((gv,ga)))
test_guess = False # turn this on to test
if test_guess:
for ia in range(-5,6):
for iv in range(-5,6):
test(int(gv+iv),int(ga+ia))
else:
arc(1110,20,True) # VY/AY, best fit found
# keep ay the same but adjust vy to meet Y_MAX
test_max = False
if test_max:
for ia in range(0,200):
test(int(1110+ia),20)
else:
arc(1211,20,True) # VYMAX
| y_base = 210
y_top = 88
y_max = 65
time = 113
def arc(vy, ay, trace=False):
p = 0
y = 0
t = 0
if trace:
print('arc(%5d,%5d)' % (vy, ay))
while y >= 0:
if trace:
print('%3d: %6d %3d' % (t, vy, Y_BASE - y // 256))
y += vy
p = max(p, y)
vy -= ay
t += 1
return (p, t)
def guess(p, t):
p = (Y_BASE - p) * 256
c = p / (t * t / 4)
v = 2 * c * (t / 2)
a = v / (t / 2)
return (v, a)
def test(vy, ay):
(p, t) = arc(vy, ay)
p = Y_BASE - p // 256
print('%5d,%5d: %3d %3d' % (vy, ay, p, t))
(gv, ga) = guess(Y_TOP, TIME)
print('Guess: ' + str((gv, ga)))
test_guess = False
if test_guess:
for ia in range(-5, 6):
for iv in range(-5, 6):
test(int(gv + iv), int(ga + ia))
else:
arc(1110, 20, True)
test_max = False
if test_max:
for ia in range(0, 200):
test(int(1110 + ia), 20)
else:
arc(1211, 20, True) |
ca, na = map(int, input().split())
fila = []
caixas = []
lim = 0
tempo = 0
for cliente in range(na):
chegada, tempo_atendimento = map(int, input().split())
fila.append([chegada, tempo_atendimento])
while fila:
try:
while (tempo >= fila[0][0]) and (len(caixas) < ca):
pessoa = fila[0]
caixas.append(pessoa[1])
if tempo - pessoa[0] > 20:
lim += 1
fila.pop(0)
for k in range(len(caixas)):
caixas[k] -= 1
while 0 in caixas:
caixas.remove(0)
tempo += 1
except:
pass
print(lim)
| (ca, na) = map(int, input().split())
fila = []
caixas = []
lim = 0
tempo = 0
for cliente in range(na):
(chegada, tempo_atendimento) = map(int, input().split())
fila.append([chegada, tempo_atendimento])
while fila:
try:
while tempo >= fila[0][0] and len(caixas) < ca:
pessoa = fila[0]
caixas.append(pessoa[1])
if tempo - pessoa[0] > 20:
lim += 1
fila.pop(0)
for k in range(len(caixas)):
caixas[k] -= 1
while 0 in caixas:
caixas.remove(0)
tempo += 1
except:
pass
print(lim) |
class Solution:
def isValid(self, s: str) -> bool:
if s[0] == ')': return False
openClose = {'(':')', '{':'}', '[':']'}
stack = []
for i in range(len(s)):
if s[i] in '({[':
stack.append(s[i])
else:
if not stack: return False
opens = stack.pop()
if s[i] != openClose[opens]: return False
return len(stack) == 0
| class Solution:
def is_valid(self, s: str) -> bool:
if s[0] == ')':
return False
open_close = {'(': ')', '{': '}', '[': ']'}
stack = []
for i in range(len(s)):
if s[i] in '({[':
stack.append(s[i])
else:
if not stack:
return False
opens = stack.pop()
if s[i] != openClose[opens]:
return False
return len(stack) == 0 |
class ListNode:
def __init__(self, x):
self.val = x
self.next = None
def __str__(self):
return "Node:%d" % self.val
class Solution:
# @param {ListNode} head
# @param {integer} val
# @return {ListNode}
def removeElements(self, head, val):
dummy = ListNode(0)
dummy.next = head
current = dummy
while current and current.next:
if current.next.val == val:
current.next = current.next.next
else:
current = current.next
return dummy.next
| class Listnode:
def __init__(self, x):
self.val = x
self.next = None
def __str__(self):
return 'Node:%d' % self.val
class Solution:
def remove_elements(self, head, val):
dummy = list_node(0)
dummy.next = head
current = dummy
while current and current.next:
if current.next.val == val:
current.next = current.next.next
else:
current = current.next
return dummy.next |
# AUTOGENERATED BY NBDEV! DO NOT EDIT!
__all__ = ["index", "modules", "custom_doc_links", "git_url"]
index = {"get_spark_session": "00_00_core.ipynb",
"get_directory_size": "00_00_core.ipynb",
"get_size_format": "00_00_core.ipynb"}
modules = ["core.py"]
doc_url = "https://HansjoergW.github.io/bfh_cas_bgd_fs2020_sa/"
git_url = "https://github.com/HansjoergW/bfh_cas_bgd_fs2020_sa/tree/master/"
def custom_doc_links(name): return None
| __all__ = ['index', 'modules', 'custom_doc_links', 'git_url']
index = {'get_spark_session': '00_00_core.ipynb', 'get_directory_size': '00_00_core.ipynb', 'get_size_format': '00_00_core.ipynb'}
modules = ['core.py']
doc_url = 'https://HansjoergW.github.io/bfh_cas_bgd_fs2020_sa/'
git_url = 'https://github.com/HansjoergW/bfh_cas_bgd_fs2020_sa/tree/master/'
def custom_doc_links(name):
return None |
def count(word):
return f'{word} has {len(word)} characters.'
if __name__ == '__main__':
print(count(input('What is the input string?'))) | def count(word):
return f'{word} has {len(word)} characters.'
if __name__ == '__main__':
print(count(input('What is the input string?'))) |
#!/usr/bin/python3
for n1 in range(1,11):
print("Tabla del " + str(n1))
print("-----------")
for n2 in range(1,11):
print(str(n1) + " por " + str(n2) + " es " + str(n1*n2))
| for n1 in range(1, 11):
print('Tabla del ' + str(n1))
print('-----------')
for n2 in range(1, 11):
print(str(n1) + ' por ' + str(n2) + ' es ' + str(n1 * n2)) |
class Solution:
def candy(self, ratings: List[int]) -> int:
ratingsLength = len(ratings)
if ratingsLength == 0:
return 0
candies = [1] * ratingsLength
for i in range(1, ratingsLength):
if ratings[i] > ratings[i - 1]:
candies[i] = candies[i - 1] + 1
totalCandies = candies[ratingsLength - 1]
for i in range(ratingsLength - 2, -1, -1):
if ratings[i] > ratings[i + 1]:
candies[i] = max(candies[i], candies[i + 1] + 1)
totalCandies += candies[i]
return totalCandies | class Solution:
def candy(self, ratings: List[int]) -> int:
ratings_length = len(ratings)
if ratingsLength == 0:
return 0
candies = [1] * ratingsLength
for i in range(1, ratingsLength):
if ratings[i] > ratings[i - 1]:
candies[i] = candies[i - 1] + 1
total_candies = candies[ratingsLength - 1]
for i in range(ratingsLength - 2, -1, -1):
if ratings[i] > ratings[i + 1]:
candies[i] = max(candies[i], candies[i + 1] + 1)
total_candies += candies[i]
return totalCandies |
expected_output = {
'cores': {
1: {
'virtual_service': 'guestshell+',
'process_name': 'sleep',
'pid': 266,
'date': '2019-05-30 19:53:28',
},
}
}
| expected_output = {'cores': {1: {'virtual_service': 'guestshell+', 'process_name': 'sleep', 'pid': 266, 'date': '2019-05-30 19:53:28'}}} |
# Copyright 2009 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'includes': [
'../../../../../build/common.gypi',
],
'targets': [
{
'target_name': 'service_runtime_x86_32',
'type': 'static_library',
'sources': [
'nacl_app_32.c',
'nacl_switch_32.S',
'nacl_switch_all_regs_32.c',
'nacl_switch_all_regs_asm_32.S',
'nacl_switch_to_app_32.c',
'nacl_syscall_32.S',
'nacl_tls_32.c',
'sel_addrspace_x86_32.c',
'sel_ldr_x86_32.c',
'sel_rt_32.c',
'springboard.S',
'tramp_32.S',
],
# VS2010 does not correctly incrementally link obj files generated from
# asm files. This flag disables UseLibraryDependencyInputs to avoid
# this problem.
'msvs_2010_disable_uldi_when_referenced': 1,
'conditions': [
['OS=="mac"', {
'sources' : [
'../../osx/nacl_signal_32.c',
] },
],
['OS=="linux" or OS=="android"', {
'sources' : [
'../../linux/nacl_signal_32.c',
] },
],
['OS=="win"', {
'sources' : [
'../../win/nacl_signal_32.c',
] },
],
],
},
],
}
| {'includes': ['../../../../../build/common.gypi'], 'targets': [{'target_name': 'service_runtime_x86_32', 'type': 'static_library', 'sources': ['nacl_app_32.c', 'nacl_switch_32.S', 'nacl_switch_all_regs_32.c', 'nacl_switch_all_regs_asm_32.S', 'nacl_switch_to_app_32.c', 'nacl_syscall_32.S', 'nacl_tls_32.c', 'sel_addrspace_x86_32.c', 'sel_ldr_x86_32.c', 'sel_rt_32.c', 'springboard.S', 'tramp_32.S'], 'msvs_2010_disable_uldi_when_referenced': 1, 'conditions': [['OS=="mac"', {'sources': ['../../osx/nacl_signal_32.c']}], ['OS=="linux" or OS=="android"', {'sources': ['../../linux/nacl_signal_32.c']}], ['OS=="win"', {'sources': ['../../win/nacl_signal_32.c']}]]}]} |
n=int(input())
x=[0]+[*map(int,input().split())]
dp=[0]*(n+5)
dp[1]=x[1]
ans=dp[1]
for i in range(2,n+1):
dp[i]=x[i]
for j in range(1,i):
if x[j]>x[i]:
dp[i]=max(dp[i],dp[j]+x[i])
ans=max(ans,dp[i])
print(ans) | n = int(input())
x = [0] + [*map(int, input().split())]
dp = [0] * (n + 5)
dp[1] = x[1]
ans = dp[1]
for i in range(2, n + 1):
dp[i] = x[i]
for j in range(1, i):
if x[j] > x[i]:
dp[i] = max(dp[i], dp[j] + x[i])
ans = max(ans, dp[i])
print(ans) |
n = int(input())
slist = []
for i in range(2,n):
iss = False
for ii in range(2,i):
if i%ii == 0:
iss = True
break;
if not iss:
slist.append(i)
print(slist)
| n = int(input())
slist = []
for i in range(2, n):
iss = False
for ii in range(2, i):
if i % ii == 0:
iss = True
break
if not iss:
slist.append(i)
print(slist) |
def binary_classification_metrics(prediction, ground_truth):
'''
Computes metrics for binary classification
Arguments:
prediction, np array of bool (num_samples) - model predictions
ground_truth, np array of bool (num_samples) - true labels
Returns:
precision, recall, f1, accuracy - classification metrics
'''
tp = fp = tn = fn = 0
for x, y in zip(prediction, ground_truth):
if x and y:
tp += 1
elif not x and not y:
tn += 1
elif x and not y:
fp += 1
else:
fn += 1
accuracy = (tp + tn) / prediction.shape[0]
precision = tp / (tp + fp) if tp + fp > 0 else 0
recall = tp / (tp + fn) if tp + fn > 0 else 0
f1 = 2 * precision * recall / (precision + recall) if precision + recall > 0 else 0
# implement metrics!
# Some helpful links:
# https://en.wikipedia.org/wiki/Precision_and_recall
# https://en.wikipedia.org/wiki/F1_score
return precision, recall, f1, accuracy
def multiclass_accuracy(prediction, ground_truth):
'''
Computes metrics for multiclass classification
Arguments:
prediction, np array of int (num_samples) - model predictions
ground_truth, np array of int (num_samples) - true labels
Returns:
accuracy - ratio of accurate predictions to total samples
'''
# Implement computing accuracy
return sum(1 for x, y in zip(prediction, ground_truth) if x == y) / prediction.shape[0]
| def binary_classification_metrics(prediction, ground_truth):
"""
Computes metrics for binary classification
Arguments:
prediction, np array of bool (num_samples) - model predictions
ground_truth, np array of bool (num_samples) - true labels
Returns:
precision, recall, f1, accuracy - classification metrics
"""
tp = fp = tn = fn = 0
for (x, y) in zip(prediction, ground_truth):
if x and y:
tp += 1
elif not x and (not y):
tn += 1
elif x and (not y):
fp += 1
else:
fn += 1
accuracy = (tp + tn) / prediction.shape[0]
precision = tp / (tp + fp) if tp + fp > 0 else 0
recall = tp / (tp + fn) if tp + fn > 0 else 0
f1 = 2 * precision * recall / (precision + recall) if precision + recall > 0 else 0
return (precision, recall, f1, accuracy)
def multiclass_accuracy(prediction, ground_truth):
"""
Computes metrics for multiclass classification
Arguments:
prediction, np array of int (num_samples) - model predictions
ground_truth, np array of int (num_samples) - true labels
Returns:
accuracy - ratio of accurate predictions to total samples
"""
return sum((1 for (x, y) in zip(prediction, ground_truth) if x == y)) / prediction.shape[0] |
global driver
def infect(driver_):
global driver
driver = driver_
class Widget:
selector = None
def __init__(self, driver):
self.driver = driver
def setup_class(self):
if self.selector is None:
raise Exception('You need to assign me a selector: %s' % self)
self.node = driver(self.selector)
class WordInContext(Widget):
'''The word in context tab should work'''
def test_one(self):
'''There should be at least one loaded entry'''
rows = self.node.findall('tbody tr')
assert len(rows)
row = rows[0]
assert row.get_attribute('word') == row.find('td.word a').text
| global driver
def infect(driver_):
global driver
driver = driver_
class Widget:
selector = None
def __init__(self, driver):
self.driver = driver
def setup_class(self):
if self.selector is None:
raise exception('You need to assign me a selector: %s' % self)
self.node = driver(self.selector)
class Wordincontext(Widget):
"""The word in context tab should work"""
def test_one(self):
"""There should be at least one loaded entry"""
rows = self.node.findall('tbody tr')
assert len(rows)
row = rows[0]
assert row.get_attribute('word') == row.find('td.word a').text |
#
# PySNMP MIB module LIEBERT-GP-AGENT-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/LIEBERT-GP-AGENT-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:06:38 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")
SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection")
lgpNetworkName, lgpConditionDescription, lgpConditionsPresent = mibBuilder.importSymbols("LIEBERT-GP-CONDITIONS-MIB", "lgpNetworkName", "lgpConditionDescription", "lgpConditionsPresent")
liebertAgentModuleReg, lgpAgentDevice, lgpAgentControl, lgpAgentNotifications, lgpAgentIdent = mibBuilder.importSymbols("LIEBERT-GP-REGISTRATION-MIB", "liebertAgentModuleReg", "lgpAgentDevice", "lgpAgentControl", "lgpAgentNotifications", "lgpAgentIdent")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
sysUpTime, = mibBuilder.importSymbols("SNMPv2-MIB", "sysUpTime")
NotificationType, Gauge32, Counter32, MibIdentifier, ObjectIdentity, Unsigned32, IpAddress, iso, Bits, Counter64, TimeTicks, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "Gauge32", "Counter32", "MibIdentifier", "ObjectIdentity", "Unsigned32", "IpAddress", "iso", "Bits", "Counter64", "TimeTicks", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
liebertAgentModule = ModuleIdentity((1, 3, 6, 1, 4, 1, 476, 1, 42, 1, 2, 1))
liebertAgentModule.setRevisions(('2008-11-17 00:00', '2008-07-02 00:00', '2008-01-10 00:00', '2007-05-29 00:00', '2006-02-22 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: liebertAgentModule.setRevisionsDescriptions(('Added support for NXL unit.', 'Updated INTEGER references to Integer32 (SMIv2). Added missing item to import (Unsigned32)', 'Modified contact email address and added lgpAgentEventNotifications objects.', 'Added support for XDF Unit.', 'Added support for Liebert DS Unit.',))
if mibBuilder.loadTexts: liebertAgentModule.setLastUpdated('200811170000Z')
if mibBuilder.loadTexts: liebertAgentModule.setOrganization('Liebert Corporation')
if mibBuilder.loadTexts: liebertAgentModule.setContactInfo('Contact: Technical Support Postal: Liebert Corporation 1050 Dearborn Drive P.O. Box 29186 Columbus OH, 43229 US Tel: +1 (800) 222-5877 E-mail: liebert.monitoring@emerson.com Web: www.liebert.com Author: Gregory M. Hoge')
if mibBuilder.loadTexts: liebertAgentModule.setDescription("The MIB module used to specify Liebert software or firmware agent SNMP OIDs. Copyright 2000-2008 Liebert Corporation. All rights reserved. Reproduction of this document is authorized on the condition that the forgoing copyright notice is included. This Specification is supplied 'AS IS' and Liebert Corporation makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.")
lgpAgentIdentManufacturer = MibScalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(255, 255)).setFixedLength(255)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentIdentManufacturer.setStatus('current')
if mibBuilder.loadTexts: lgpAgentIdentManufacturer.setDescription('The agent manufacturer.')
lgpAgentIdentModel = MibScalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(255, 255)).setFixedLength(255)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentIdentModel.setStatus('current')
if mibBuilder.loadTexts: lgpAgentIdentModel.setDescription('The agent model designation. This identifier is typically a model name or ID')
lgpAgentIdentFirmwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentIdentFirmwareVersion.setStatus('current')
if mibBuilder.loadTexts: lgpAgentIdentFirmwareVersion.setDescription('The firmware revision level of the agent.')
lgpAgentIdentSerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentIdentSerialNumber.setStatus('current')
if mibBuilder.loadTexts: lgpAgentIdentSerialNumber.setDescription('The serial number of the agent. This is a string of alphanumeric characters that uniquely identifies the agent hardware. This number is assigned when the agent hardware is manufactured and does not change throughout its lifecycle.')
lgpAgentIdentPartNumber = MibScalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(255, 255)).setFixedLength(255)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentIdentPartNumber.setStatus('current')
if mibBuilder.loadTexts: lgpAgentIdentPartNumber.setDescription('The agent model part number designation.')
lgpAgentConnectedDeviceCount = MibScalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 6), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentConnectedDeviceCount.setStatus('current')
if mibBuilder.loadTexts: lgpAgentConnectedDeviceCount.setDescription('The number of devices currently connected and communicating successfully with the agent. Devices for which communications are currently being attempted are not considered in this count.')
lgpAgentEventNotifications = ObjectIdentity((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0))
if mibBuilder.loadTexts: lgpAgentEventNotifications.setStatus('current')
if mibBuilder.loadTexts: lgpAgentEventNotifications.setDescription('Agent specific notifications.')
lgpAgentDeviceCommunicationLost = NotificationType((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0, 1)).setObjects(("SNMPv2-MIB", "sysUpTime"))
if mibBuilder.loadTexts: lgpAgentDeviceCommunicationLost.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceCommunicationLost.setDescription('The agent has lost communications with a managed device.')
lgpAgentFirmwareUpdateSuccessful = NotificationType((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0, 5)).setObjects(("SNMPv2-MIB", "sysUpTime"))
if mibBuilder.loadTexts: lgpAgentFirmwareUpdateSuccessful.setStatus('current')
if mibBuilder.loadTexts: lgpAgentFirmwareUpdateSuccessful.setDescription('The firmware update to the agent card has completed successfully.')
lgpAgentFirmwareCorrupt = NotificationType((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0, 6)).setObjects(("SNMPv2-MIB", "sysUpTime"))
if mibBuilder.loadTexts: lgpAgentFirmwareCorrupt.setStatus('current')
if mibBuilder.loadTexts: lgpAgentFirmwareCorrupt.setDescription('The firmware update to the agent card has failed and the firmware is now corrupt.')
lgpAgentHeartbeat = NotificationType((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0, 7)).setObjects(("SNMPv2-MIB", "sysUpTime"), ("LIEBERT-GP-CONDITIONS-MIB", "lgpConditionsPresent"), ("LIEBERT-GP-AGENT-MIB", "lgpAgentConnectedDeviceCount"))
if mibBuilder.loadTexts: lgpAgentHeartbeat.setStatus('current')
if mibBuilder.loadTexts: lgpAgentHeartbeat.setDescription('The agent card is alive.')
lgpAgentDnsLookupFailure = NotificationType((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0, 8)).setObjects(("SNMPv2-MIB", "sysUpTime"), ("LIEBERT-GP-CONDITIONS-MIB", "lgpNetworkName"))
if mibBuilder.loadTexts: lgpAgentDnsLookupFailure.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDnsLookupFailure.setDescription('A Domain Name System (DNS) lookup of a network name failed to resolve. This may result in one or more of the following: 1. failure to notify a target address of an important condition 2. failure allow access for monitoring purposes This issue should be resolved as soon as possible with a network or system administrator.')
lgpAgentManagedDeviceTable = MibTable((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2), )
if mibBuilder.loadTexts: lgpAgentManagedDeviceTable.setStatus('current')
if mibBuilder.loadTexts: lgpAgentManagedDeviceTable.setDescription('This table contains one entry for each managed device.')
lgpAgentManagedDeviceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1), ).setIndexNames((0, "LIEBERT-GP-AGENT-MIB", "lgpAgentDeviceIndex"))
if mibBuilder.loadTexts: lgpAgentManagedDeviceEntry.setStatus('current')
if mibBuilder.loadTexts: lgpAgentManagedDeviceEntry.setDescription("This entry describes a row in the table 'lgpAgentManagedDeviceTable'. The rows in this table cannot be created by the NMS. The rows are automatically created by the agent based upon the hardware configuration of the Liebert managed device(s) being monitored with this agent.")
lgpAgentDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentDeviceIndex.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceIndex.setDescription("The device identifier. This is used as an index to address a particular row in the table 'lgpAgentManagedDeviceTable'.")
lgpAgentDeviceId = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 2), ObjectIdentifier()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentDeviceId.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceId.setDescription('The managed device specific identifier defined by the product registration.')
lgpAgentDeviceManufacturer = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(255, 255)).setFixedLength(255)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentDeviceManufacturer.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceManufacturer.setDescription('The managed device manufacturer.')
lgpAgentDeviceModel = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(255, 255)).setFixedLength(255)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentDeviceModel.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceModel.setDescription('The managed device model designation.')
lgpAgentDeviceFirmwareVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentDeviceFirmwareVersion.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceFirmwareVersion.setDescription('The firmware revision level of the managed device.')
lgpAgentDeviceUnitNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceUnitNumber.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceUnitNumber.setDescription("The managed device unit number. Typically this is a number assigned to a managed device that uniquely identifies it from other similar devices within a 'system'.")
lgpAgentDeviceSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentDeviceSerialNumber.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceSerialNumber.setDescription('The serial number of the managed device.')
lgpAgentDeviceManufactureDate = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly")
if mibBuilder.loadTexts: lgpAgentDeviceManufactureDate.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceManufactureDate.setDescription('The manufacture date of the managed device.')
lgpAgentDeviceServiceContact = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceServiceContact.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceServiceContact.setDescription('The service contact of the managed device.')
lgpAgentDeviceServicePhoneNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceServicePhoneNumber.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceServicePhoneNumber.setDescription('The phone number of the service contact of the managed device.')
lgpAgentDeviceServiceAddrLine1 = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceServiceAddrLine1.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceServiceAddrLine1.setDescription('Line 1 of the service address of the managed device.')
lgpAgentDeviceServiceAddrLine2 = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceServiceAddrLine2.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceServiceAddrLine2.setDescription('Line 2 of the service address of the managed device.')
lgpAgentDeviceServiceAddrLine3 = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceServiceAddrLine3.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceServiceAddrLine3.setDescription('Line 3 of the service address of the managed device.')
lgpAgentDeviceServiceAddrLine4 = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceServiceAddrLine4.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceServiceAddrLine4.setDescription('Line 4 of the service address of the managed device.')
lgpAgentDeviceUnitName = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceUnitName.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceUnitName.setDescription('Unit name for the managed device assigned by the customer.')
lgpAgentDeviceSiteIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceSiteIdentifier.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceSiteIdentifier.setDescription('Identifier that uniquely identifies the site where this device is located.')
lgpAgentDeviceTagNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceTagNumber.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceTagNumber.setDescription('Identifier that uniquely identifies this device within a particular site (see lgpAgentDeviceSiteIdentifier).')
lgpAgentDeviceOrderLine1 = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceOrderLine1.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceOrderLine1.setDescription('Customer Sales Order information line 1.')
lgpAgentDeviceOrderLine2 = MibTableColumn((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 19), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentDeviceOrderLine2.setStatus('current')
if mibBuilder.loadTexts: lgpAgentDeviceOrderLine2.setDescription('Customer Sales Order information line 2.')
lgpAgentReboot = MibScalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 5, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentReboot.setStatus('current')
if mibBuilder.loadTexts: lgpAgentReboot.setDescription("Perform an immediate 'reboot' of the agent process. When possible the reboot will approximate a power on reset of the agent communications hardware. This type of reboot will be performed if a hardware reset is supported by the hardware/software on the communications card. Otherwise a 'software' reboot will be executed. In both cases a temporary loss of communications and other agent functionality will result. Any valid INTEGER value may be written to this object to initiate the reboot operation. If read the value '0' will always be returned.")
lgpAgentTelnetEnabled = MibScalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentTelnetEnabled.setStatus('current')
if mibBuilder.loadTexts: lgpAgentTelnetEnabled.setDescription('This object represents the settings of Telnet. yes Telnet services are enabled. no Telnet services are disabled. The system must be rebooted before changes can take effect.')
lgpAgentVelocityServerEnabled = MibScalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 5, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentVelocityServerEnabled.setStatus('current')
if mibBuilder.loadTexts: lgpAgentVelocityServerEnabled.setDescription('This object configures the Velocity Server to grant external clients access to agent data via the Liebert Velocity protocol. yes Agent data is available to external clients via the Liebert Velocity protocol. no Agent data is not available to external clients via the Liebert Velocity protocol. The system must be rebooted before changes can take effect.')
lgpAgentWebServerMode = MibScalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 5, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("http", 1), ("https", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: lgpAgentWebServerMode.setStatus('current')
if mibBuilder.loadTexts: lgpAgentWebServerMode.setDescription('This object represents the settings of Web services. disabled Web services are disabled. http Web server mode is HTTP (not secure). https Web server mode is secure HTTP. The system must be rebooted before changes can take effect.')
mibBuilder.exportSymbols("LIEBERT-GP-AGENT-MIB", lgpAgentDeviceUnitName=lgpAgentDeviceUnitName, lgpAgentWebServerMode=lgpAgentWebServerMode, PYSNMP_MODULE_ID=liebertAgentModule, lgpAgentDeviceUnitNumber=lgpAgentDeviceUnitNumber, lgpAgentDeviceServiceAddrLine3=lgpAgentDeviceServiceAddrLine3, lgpAgentConnectedDeviceCount=lgpAgentConnectedDeviceCount, lgpAgentDeviceFirmwareVersion=lgpAgentDeviceFirmwareVersion, lgpAgentEventNotifications=lgpAgentEventNotifications, liebertAgentModule=liebertAgentModule, lgpAgentIdentSerialNumber=lgpAgentIdentSerialNumber, lgpAgentVelocityServerEnabled=lgpAgentVelocityServerEnabled, lgpAgentDeviceSiteIdentifier=lgpAgentDeviceSiteIdentifier, lgpAgentIdentModel=lgpAgentIdentModel, lgpAgentDeviceServiceAddrLine2=lgpAgentDeviceServiceAddrLine2, lgpAgentFirmwareUpdateSuccessful=lgpAgentFirmwareUpdateSuccessful, lgpAgentDeviceModel=lgpAgentDeviceModel, lgpAgentFirmwareCorrupt=lgpAgentFirmwareCorrupt, lgpAgentDeviceIndex=lgpAgentDeviceIndex, lgpAgentDeviceServicePhoneNumber=lgpAgentDeviceServicePhoneNumber, lgpAgentDeviceServiceContact=lgpAgentDeviceServiceContact, lgpAgentIdentManufacturer=lgpAgentIdentManufacturer, lgpAgentManagedDeviceEntry=lgpAgentManagedDeviceEntry, lgpAgentDeviceManufacturer=lgpAgentDeviceManufacturer, lgpAgentHeartbeat=lgpAgentHeartbeat, lgpAgentTelnetEnabled=lgpAgentTelnetEnabled, lgpAgentDeviceManufactureDate=lgpAgentDeviceManufactureDate, lgpAgentDeviceServiceAddrLine4=lgpAgentDeviceServiceAddrLine4, lgpAgentDeviceServiceAddrLine1=lgpAgentDeviceServiceAddrLine1, lgpAgentDeviceOrderLine2=lgpAgentDeviceOrderLine2, lgpAgentIdentFirmwareVersion=lgpAgentIdentFirmwareVersion, lgpAgentDeviceOrderLine1=lgpAgentDeviceOrderLine1, lgpAgentDeviceId=lgpAgentDeviceId, lgpAgentDeviceCommunicationLost=lgpAgentDeviceCommunicationLost, lgpAgentDnsLookupFailure=lgpAgentDnsLookupFailure, lgpAgentManagedDeviceTable=lgpAgentManagedDeviceTable, lgpAgentDeviceSerialNumber=lgpAgentDeviceSerialNumber, lgpAgentIdentPartNumber=lgpAgentIdentPartNumber, lgpAgentDeviceTagNumber=lgpAgentDeviceTagNumber, lgpAgentReboot=lgpAgentReboot)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_size_constraint, constraints_union, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection')
(lgp_network_name, lgp_condition_description, lgp_conditions_present) = mibBuilder.importSymbols('LIEBERT-GP-CONDITIONS-MIB', 'lgpNetworkName', 'lgpConditionDescription', 'lgpConditionsPresent')
(liebert_agent_module_reg, lgp_agent_device, lgp_agent_control, lgp_agent_notifications, lgp_agent_ident) = mibBuilder.importSymbols('LIEBERT-GP-REGISTRATION-MIB', 'liebertAgentModuleReg', 'lgpAgentDevice', 'lgpAgentControl', 'lgpAgentNotifications', 'lgpAgentIdent')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(sys_up_time,) = mibBuilder.importSymbols('SNMPv2-MIB', 'sysUpTime')
(notification_type, gauge32, counter32, mib_identifier, object_identity, unsigned32, ip_address, iso, bits, counter64, time_ticks, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'Gauge32', 'Counter32', 'MibIdentifier', 'ObjectIdentity', 'Unsigned32', 'IpAddress', 'iso', 'Bits', 'Counter64', 'TimeTicks', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
liebert_agent_module = module_identity((1, 3, 6, 1, 4, 1, 476, 1, 42, 1, 2, 1))
liebertAgentModule.setRevisions(('2008-11-17 00:00', '2008-07-02 00:00', '2008-01-10 00:00', '2007-05-29 00:00', '2006-02-22 00:00'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
liebertAgentModule.setRevisionsDescriptions(('Added support for NXL unit.', 'Updated INTEGER references to Integer32 (SMIv2). Added missing item to import (Unsigned32)', 'Modified contact email address and added lgpAgentEventNotifications objects.', 'Added support for XDF Unit.', 'Added support for Liebert DS Unit.'))
if mibBuilder.loadTexts:
liebertAgentModule.setLastUpdated('200811170000Z')
if mibBuilder.loadTexts:
liebertAgentModule.setOrganization('Liebert Corporation')
if mibBuilder.loadTexts:
liebertAgentModule.setContactInfo('Contact: Technical Support Postal: Liebert Corporation 1050 Dearborn Drive P.O. Box 29186 Columbus OH, 43229 US Tel: +1 (800) 222-5877 E-mail: liebert.monitoring@emerson.com Web: www.liebert.com Author: Gregory M. Hoge')
if mibBuilder.loadTexts:
liebertAgentModule.setDescription("The MIB module used to specify Liebert software or firmware agent SNMP OIDs. Copyright 2000-2008 Liebert Corporation. All rights reserved. Reproduction of this document is authorized on the condition that the forgoing copyright notice is included. This Specification is supplied 'AS IS' and Liebert Corporation makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.")
lgp_agent_ident_manufacturer = mib_scalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(255, 255)).setFixedLength(255)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentIdentManufacturer.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentIdentManufacturer.setDescription('The agent manufacturer.')
lgp_agent_ident_model = mib_scalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(255, 255)).setFixedLength(255)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentIdentModel.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentIdentModel.setDescription('The agent model designation. This identifier is typically a model name or ID')
lgp_agent_ident_firmware_version = mib_scalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentIdentFirmwareVersion.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentIdentFirmwareVersion.setDescription('The firmware revision level of the agent.')
lgp_agent_ident_serial_number = mib_scalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentIdentSerialNumber.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentIdentSerialNumber.setDescription('The serial number of the agent. This is a string of alphanumeric characters that uniquely identifies the agent hardware. This number is assigned when the agent hardware is manufactured and does not change throughout its lifecycle.')
lgp_agent_ident_part_number = mib_scalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(255, 255)).setFixedLength(255)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentIdentPartNumber.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentIdentPartNumber.setDescription('The agent model part number designation.')
lgp_agent_connected_device_count = mib_scalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 1, 6), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentConnectedDeviceCount.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentConnectedDeviceCount.setDescription('The number of devices currently connected and communicating successfully with the agent. Devices for which communications are currently being attempted are not considered in this count.')
lgp_agent_event_notifications = object_identity((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0))
if mibBuilder.loadTexts:
lgpAgentEventNotifications.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentEventNotifications.setDescription('Agent specific notifications.')
lgp_agent_device_communication_lost = notification_type((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0, 1)).setObjects(('SNMPv2-MIB', 'sysUpTime'))
if mibBuilder.loadTexts:
lgpAgentDeviceCommunicationLost.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceCommunicationLost.setDescription('The agent has lost communications with a managed device.')
lgp_agent_firmware_update_successful = notification_type((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0, 5)).setObjects(('SNMPv2-MIB', 'sysUpTime'))
if mibBuilder.loadTexts:
lgpAgentFirmwareUpdateSuccessful.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentFirmwareUpdateSuccessful.setDescription('The firmware update to the agent card has completed successfully.')
lgp_agent_firmware_corrupt = notification_type((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0, 6)).setObjects(('SNMPv2-MIB', 'sysUpTime'))
if mibBuilder.loadTexts:
lgpAgentFirmwareCorrupt.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentFirmwareCorrupt.setDescription('The firmware update to the agent card has failed and the firmware is now corrupt.')
lgp_agent_heartbeat = notification_type((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0, 7)).setObjects(('SNMPv2-MIB', 'sysUpTime'), ('LIEBERT-GP-CONDITIONS-MIB', 'lgpConditionsPresent'), ('LIEBERT-GP-AGENT-MIB', 'lgpAgentConnectedDeviceCount'))
if mibBuilder.loadTexts:
lgpAgentHeartbeat.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentHeartbeat.setDescription('The agent card is alive.')
lgp_agent_dns_lookup_failure = notification_type((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 3, 0, 8)).setObjects(('SNMPv2-MIB', 'sysUpTime'), ('LIEBERT-GP-CONDITIONS-MIB', 'lgpNetworkName'))
if mibBuilder.loadTexts:
lgpAgentDnsLookupFailure.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDnsLookupFailure.setDescription('A Domain Name System (DNS) lookup of a network name failed to resolve. This may result in one or more of the following: 1. failure to notify a target address of an important condition 2. failure allow access for monitoring purposes This issue should be resolved as soon as possible with a network or system administrator.')
lgp_agent_managed_device_table = mib_table((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2))
if mibBuilder.loadTexts:
lgpAgentManagedDeviceTable.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentManagedDeviceTable.setDescription('This table contains one entry for each managed device.')
lgp_agent_managed_device_entry = mib_table_row((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1)).setIndexNames((0, 'LIEBERT-GP-AGENT-MIB', 'lgpAgentDeviceIndex'))
if mibBuilder.loadTexts:
lgpAgentManagedDeviceEntry.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentManagedDeviceEntry.setDescription("This entry describes a row in the table 'lgpAgentManagedDeviceTable'. The rows in this table cannot be created by the NMS. The rows are automatically created by the agent based upon the hardware configuration of the Liebert managed device(s) being monitored with this agent.")
lgp_agent_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentDeviceIndex.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceIndex.setDescription("The device identifier. This is used as an index to address a particular row in the table 'lgpAgentManagedDeviceTable'.")
lgp_agent_device_id = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 2), object_identifier()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentDeviceId.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceId.setDescription('The managed device specific identifier defined by the product registration.')
lgp_agent_device_manufacturer = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(255, 255)).setFixedLength(255)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentDeviceManufacturer.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceManufacturer.setDescription('The managed device manufacturer.')
lgp_agent_device_model = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(255, 255)).setFixedLength(255)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentDeviceModel.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceModel.setDescription('The managed device model designation.')
lgp_agent_device_firmware_version = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentDeviceFirmwareVersion.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceFirmwareVersion.setDescription('The firmware revision level of the managed device.')
lgp_agent_device_unit_number = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 6), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceUnitNumber.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceUnitNumber.setDescription("The managed device unit number. Typically this is a number assigned to a managed device that uniquely identifies it from other similar devices within a 'system'.")
lgp_agent_device_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentDeviceSerialNumber.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceSerialNumber.setDescription('The serial number of the managed device.')
lgp_agent_device_manufacture_date = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lgpAgentDeviceManufactureDate.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceManufactureDate.setDescription('The manufacture date of the managed device.')
lgp_agent_device_service_contact = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceServiceContact.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceServiceContact.setDescription('The service contact of the managed device.')
lgp_agent_device_service_phone_number = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceServicePhoneNumber.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceServicePhoneNumber.setDescription('The phone number of the service contact of the managed device.')
lgp_agent_device_service_addr_line1 = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceServiceAddrLine1.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceServiceAddrLine1.setDescription('Line 1 of the service address of the managed device.')
lgp_agent_device_service_addr_line2 = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceServiceAddrLine2.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceServiceAddrLine2.setDescription('Line 2 of the service address of the managed device.')
lgp_agent_device_service_addr_line3 = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceServiceAddrLine3.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceServiceAddrLine3.setDescription('Line 3 of the service address of the managed device.')
lgp_agent_device_service_addr_line4 = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 14), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceServiceAddrLine4.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceServiceAddrLine4.setDescription('Line 4 of the service address of the managed device.')
lgp_agent_device_unit_name = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 15), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceUnitName.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceUnitName.setDescription('Unit name for the managed device assigned by the customer.')
lgp_agent_device_site_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 16), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceSiteIdentifier.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceSiteIdentifier.setDescription('Identifier that uniquely identifies the site where this device is located.')
lgp_agent_device_tag_number = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 17), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceTagNumber.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceTagNumber.setDescription('Identifier that uniquely identifies this device within a particular site (see lgpAgentDeviceSiteIdentifier).')
lgp_agent_device_order_line1 = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 18), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceOrderLine1.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceOrderLine1.setDescription('Customer Sales Order information line 1.')
lgp_agent_device_order_line2 = mib_table_column((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 4, 2, 1, 19), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentDeviceOrderLine2.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentDeviceOrderLine2.setDescription('Customer Sales Order information line 2.')
lgp_agent_reboot = mib_scalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 5, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentReboot.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentReboot.setDescription("Perform an immediate 'reboot' of the agent process. When possible the reboot will approximate a power on reset of the agent communications hardware. This type of reboot will be performed if a hardware reset is supported by the hardware/software on the communications card. Otherwise a 'software' reboot will be executed. In both cases a temporary loss of communications and other agent functionality will result. Any valid INTEGER value may be written to this object to initiate the reboot operation. If read the value '0' will always be returned.")
lgp_agent_telnet_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 5, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentTelnetEnabled.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentTelnetEnabled.setDescription('This object represents the settings of Telnet. yes Telnet services are enabled. no Telnet services are disabled. The system must be rebooted before changes can take effect.')
lgp_agent_velocity_server_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 5, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentVelocityServerEnabled.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentVelocityServerEnabled.setDescription('This object configures the Velocity Server to grant external clients access to agent data via the Liebert Velocity protocol. yes Agent data is available to external clients via the Liebert Velocity protocol. no Agent data is not available to external clients via the Liebert Velocity protocol. The system must be rebooted before changes can take effect.')
lgp_agent_web_server_mode = mib_scalar((1, 3, 6, 1, 4, 1, 476, 1, 42, 2, 5, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disabled', 0), ('http', 1), ('https', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
lgpAgentWebServerMode.setStatus('current')
if mibBuilder.loadTexts:
lgpAgentWebServerMode.setDescription('This object represents the settings of Web services. disabled Web services are disabled. http Web server mode is HTTP (not secure). https Web server mode is secure HTTP. The system must be rebooted before changes can take effect.')
mibBuilder.exportSymbols('LIEBERT-GP-AGENT-MIB', lgpAgentDeviceUnitName=lgpAgentDeviceUnitName, lgpAgentWebServerMode=lgpAgentWebServerMode, PYSNMP_MODULE_ID=liebertAgentModule, lgpAgentDeviceUnitNumber=lgpAgentDeviceUnitNumber, lgpAgentDeviceServiceAddrLine3=lgpAgentDeviceServiceAddrLine3, lgpAgentConnectedDeviceCount=lgpAgentConnectedDeviceCount, lgpAgentDeviceFirmwareVersion=lgpAgentDeviceFirmwareVersion, lgpAgentEventNotifications=lgpAgentEventNotifications, liebertAgentModule=liebertAgentModule, lgpAgentIdentSerialNumber=lgpAgentIdentSerialNumber, lgpAgentVelocityServerEnabled=lgpAgentVelocityServerEnabled, lgpAgentDeviceSiteIdentifier=lgpAgentDeviceSiteIdentifier, lgpAgentIdentModel=lgpAgentIdentModel, lgpAgentDeviceServiceAddrLine2=lgpAgentDeviceServiceAddrLine2, lgpAgentFirmwareUpdateSuccessful=lgpAgentFirmwareUpdateSuccessful, lgpAgentDeviceModel=lgpAgentDeviceModel, lgpAgentFirmwareCorrupt=lgpAgentFirmwareCorrupt, lgpAgentDeviceIndex=lgpAgentDeviceIndex, lgpAgentDeviceServicePhoneNumber=lgpAgentDeviceServicePhoneNumber, lgpAgentDeviceServiceContact=lgpAgentDeviceServiceContact, lgpAgentIdentManufacturer=lgpAgentIdentManufacturer, lgpAgentManagedDeviceEntry=lgpAgentManagedDeviceEntry, lgpAgentDeviceManufacturer=lgpAgentDeviceManufacturer, lgpAgentHeartbeat=lgpAgentHeartbeat, lgpAgentTelnetEnabled=lgpAgentTelnetEnabled, lgpAgentDeviceManufactureDate=lgpAgentDeviceManufactureDate, lgpAgentDeviceServiceAddrLine4=lgpAgentDeviceServiceAddrLine4, lgpAgentDeviceServiceAddrLine1=lgpAgentDeviceServiceAddrLine1, lgpAgentDeviceOrderLine2=lgpAgentDeviceOrderLine2, lgpAgentIdentFirmwareVersion=lgpAgentIdentFirmwareVersion, lgpAgentDeviceOrderLine1=lgpAgentDeviceOrderLine1, lgpAgentDeviceId=lgpAgentDeviceId, lgpAgentDeviceCommunicationLost=lgpAgentDeviceCommunicationLost, lgpAgentDnsLookupFailure=lgpAgentDnsLookupFailure, lgpAgentManagedDeviceTable=lgpAgentManagedDeviceTable, lgpAgentDeviceSerialNumber=lgpAgentDeviceSerialNumber, lgpAgentIdentPartNumber=lgpAgentIdentPartNumber, lgpAgentDeviceTagNumber=lgpAgentDeviceTagNumber, lgpAgentReboot=lgpAgentReboot) |
class ParsingError(Exception):
pass
class UnexpectedToken(ParsingError):
def __init__(self, index):
super().__init__()
self.index = index
| class Parsingerror(Exception):
pass
class Unexpectedtoken(ParsingError):
def __init__(self, index):
super().__init__()
self.index = index |
the_list = [1,2,3,4,5,6,7,8,9,10]
def filter_evens(li):
even_numbers = [items for items in the_list if items % 2 ==0]
print(even_numbers)
filter_evens(the_list) | the_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
def filter_evens(li):
even_numbers = [items for items in the_list if items % 2 == 0]
print(even_numbers)
filter_evens(the_list) |
# dictionaries
fruit = {
"orange": "a sweet, orange, citrus frtui",
"apple": "good for making cider",
"lemon": "a sour, yellow citrus fruit",
"grape": "a small, sweet fruit growing in bunches",
"lime": " a sour, green citruis fruit"
}
# print(fruit)
# print(fruit["lemon"])
fruit["pear"] = "an odd shaped apple"
# print(fruit)
fruit["lime"] = "great with tequila"
# print(fruit)
# del fruit["lemon"]
# fruit.clear()
# print(fruit)
# print(fruit["tomato"])
# print(fruit)
while True:
dict_key = input("Please enter a fruit: ")
if dict_key == "quit":
break
if dict_key in fruit:
description = fruit.get(dict_key)
print(description)
else:
print("we don't have a " + dict_key)
#motorbike example
# bike = {"make": "Honda", "model": "250 dream", "colour": "red", "engine_size": 250}
# print(bike["engine_size"])
# print(bike["colour"])
| fruit = {'orange': 'a sweet, orange, citrus frtui', 'apple': 'good for making cider', 'lemon': 'a sour, yellow citrus fruit', 'grape': 'a small, sweet fruit growing in bunches', 'lime': ' a sour, green citruis fruit'}
fruit['pear'] = 'an odd shaped apple'
fruit['lime'] = 'great with tequila'
while True:
dict_key = input('Please enter a fruit: ')
if dict_key == 'quit':
break
if dict_key in fruit:
description = fruit.get(dict_key)
print(description)
else:
print("we don't have a " + dict_key) |
class Solution:
def containsNearbyAlmostDuplicate(self, nums: List[int], k: int, t: int) -> bool:
n = len(nums)
l = []
for i, j in enumerate(nums):
l.append((j, i))
l.sort(key = lambda x: x[0])
#print(l)
i = 0
j = 1
while j < n:
if abs(l[j][0] - l[i][0]) <= t and abs(l[j][1] - l[i][1]) <= k:
return True
if abs(l[j][0] - l[i][0]) > t:
i += 1
j = i + 1
elif abs(l[j][0] - l[i][0]) <= t and abs(l[j][1] - l[i][1]) > k:
j += 1
return False
| class Solution:
def contains_nearby_almost_duplicate(self, nums: List[int], k: int, t: int) -> bool:
n = len(nums)
l = []
for (i, j) in enumerate(nums):
l.append((j, i))
l.sort(key=lambda x: x[0])
i = 0
j = 1
while j < n:
if abs(l[j][0] - l[i][0]) <= t and abs(l[j][1] - l[i][1]) <= k:
return True
if abs(l[j][0] - l[i][0]) > t:
i += 1
j = i + 1
elif abs(l[j][0] - l[i][0]) <= t and abs(l[j][1] - l[i][1]) > k:
j += 1
return False |
exp_token = "dns"
exp_dir = "./exp_diversity_noise"
q_ratio = "0.2"
test_ratio = "0.5"
maj_ratio = 0.755558
prepare_data = False
submit = True
split_size = 1000
n_test = 100
n_test_maj = 100 * maj_ratio
n_test_min = 100 - n_test_maj
k_maj = 5 * maj_ratio
k_min = 5. - k_maj
alpha = "0.1"
n_runs = 100
n_runs_test = 1000
n_train = 10000
n_train_min = int(n_train * (1 - maj_ratio))
n_trains_min = [n_train_min]
noise_ratio_maj = "0"
noise_ratios_min = ["0", "0.2", "0.4", "0.6", "0.8", "1.0"]
noise_ratios_min_label = noise_ratios_min
n_cal = 10000
n_cal_maj = int(n_cal * maj_ratio)
n_cal_min = n_cal - n_cal_maj
n_cals_min = [n_cal_min]
runs = list(range(n_runs))
classifier_type = "LR"
lbd = "1e-6"
lbds = ["1e-6"]
umb_num_bins = [1, 2, 3, 4, 5]
umb_colors = {1: "tab:orange", 2: "tab:brown", 3: "tab:pink", 4: "tab:gray", 5: "tab:olive"}
umb_markers = {1: 4, 2: 5, 3: 6, 4: 7, 5: 8}
| exp_token = 'dns'
exp_dir = './exp_diversity_noise'
q_ratio = '0.2'
test_ratio = '0.5'
maj_ratio = 0.755558
prepare_data = False
submit = True
split_size = 1000
n_test = 100
n_test_maj = 100 * maj_ratio
n_test_min = 100 - n_test_maj
k_maj = 5 * maj_ratio
k_min = 5.0 - k_maj
alpha = '0.1'
n_runs = 100
n_runs_test = 1000
n_train = 10000
n_train_min = int(n_train * (1 - maj_ratio))
n_trains_min = [n_train_min]
noise_ratio_maj = '0'
noise_ratios_min = ['0', '0.2', '0.4', '0.6', '0.8', '1.0']
noise_ratios_min_label = noise_ratios_min
n_cal = 10000
n_cal_maj = int(n_cal * maj_ratio)
n_cal_min = n_cal - n_cal_maj
n_cals_min = [n_cal_min]
runs = list(range(n_runs))
classifier_type = 'LR'
lbd = '1e-6'
lbds = ['1e-6']
umb_num_bins = [1, 2, 3, 4, 5]
umb_colors = {1: 'tab:orange', 2: 'tab:brown', 3: 'tab:pink', 4: 'tab:gray', 5: 'tab:olive'}
umb_markers = {1: 4, 2: 5, 3: 6, 4: 7, 5: 8} |
n = int(input())
for i in range(n):
alg = str(input())
e = str(input()).split()
r = int(e[0])
g = int(e[1])
b = int(e[2])
if alg == 'eye' : p = int(0.3 * r + 0.59 * g + 0.11 * b)
elif alg == 'mean': p = int((r + g + b) / 3)
elif alg == 'max' : p = sorted([r, g, b])[2]
elif alg == 'min' : p = sorted([r, g, b])[0]
print('Caso #{}: {}'.format(i + 1, p))
| n = int(input())
for i in range(n):
alg = str(input())
e = str(input()).split()
r = int(e[0])
g = int(e[1])
b = int(e[2])
if alg == 'eye':
p = int(0.3 * r + 0.59 * g + 0.11 * b)
elif alg == 'mean':
p = int((r + g + b) / 3)
elif alg == 'max':
p = sorted([r, g, b])[2]
elif alg == 'min':
p = sorted([r, g, b])[0]
print('Caso #{}: {}'.format(i + 1, p)) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.