content stringlengths 7 1.05M |
|---|
'''
A linked list of length n is given such that each node contains an additional random pointer, which could point to any node in the list, or null.
Construct a deep copy of the list. The deep copy should consist of exactly n brand new nodes, where each new node has its value set to the value of its corresponding original node. Both the next and random pointer of the new nodes should point to new nodes in the copied list such that the pointers in the original list and copied list represent the same list state. None of the pointers in the new list should point to nodes in the original list.
For example, if there are two nodes X and Y in the original list, where X.random --> Y, then for the corresponding two nodes x and y in the copied list, x.random --> y.
Return the head of the copied linked list.
The linked list is represented in the input/output as a list of n nodes. Each node is represented as a pair of [val, random_index] where:
val: an integer representing Node.val
random_index: the index of the node (range from 0 to n-1) that the random pointer points to, or null if it does not point to any node.
Your code will only be given the head of the original linked list.
Example 1:
Input: head = [[7,null],[13,0],[11,4],[10,2],[1,0]]
Output: [[7,null],[13,0],[11,4],[10,2],[1,0]]
Example 2:
Input: head = [[1,1],[2,1]]
Output: [[1,1],[2,1]]
Example 3:
Input: head = [[3,null],[3,0],[3,null]]
Output: [[3,null],[3,0],[3,null]]
'''
class Solution(object):
def __init__(self):
# Creating a visited dictionary to hold old node reference as "key" and new node reference as the "value"
self.visited = {}
def getClonedNode(self, node):
# If node exists then
if node:
# Check if its in the visited dictionary
if node in self.visited:
# If its in the visited dictionary then return the new node reference from the dictionary
return self.visited[node]
else:
# Otherwise create a new node, save the reference in the visited dictionary and return it.
self.visited[node] = Node(node.val, None, None)
return self.visited[node]
return None
def copyRandomList(self, head):
"""
:type head: Node
:rtype: Node
"""
if not head:
return head
old_node = head
# Creating the new head node.
new_node = Node(old_node.val, None, None)
self.visited[old_node] = new_node
# Iterate on the linked list until all nodes are cloned.
while old_node != None:
# Get the clones of the nodes referenced by random and next pointers.
new_node.random = self.getClonedNode(old_node.random)
new_node.next = self.getClonedNode(old_node.next)
# Move one step ahead in the linked list.
old_node = old_node.next
new_node = new_node.next
return self.visited[head] |
# logic:
# a function which would accept a number
#the number would be tried agains all the positive numbers less than itself excpet 0 wo see if it is a prime number
#the result would be returned
def prime(number):
divi=[ i for i in range(1,number) if number%i==0]
if number==1:
return print('the number is not prime')
if divi.__len__()>2:
print('the number is not prime')
else:
print("the number is prime")
prime(1381) |
def stop():
pass
class Load():
def __init__(self, chan):
self.channel = chan.channel
self.all_channels = chan.owner.channels
self.botnick = chan.botnick
self.sendmsg = chan.sendmsg
self.name = "broadcast"
def run(self, ircmsg):
if ircmsg.lower().find(self.channel) != -1 and ircmsg.lower().find(self.botnick) != -1:
if ircmsg.lower().find("broadcast") != -1:
try:
msg = ircmsg.split("broadcast")[1]
for channel in self.all_channels:
channel.sendmsg(msg)
finally:
return True
def __del__(self):
pass
|
class Solution:
def lengthOfLongestSubstring(self, s: str) -> int:
longest, current = "", ""
for j in range(len(s)):
i = current.find(s[j])
if i >= 0:
current = current[i + 1:]
current += s[j]
if len(longest) < len(current):
longest = current[0:len(current)]
print(longest, current)
return len(longest)
sol = Solution()
# sin = "abcabcbb"
sin = "pwwkew"
print(sol.lengthOfLongestSubstring(sin))
|
"""ex097 - Um print especial
Faca um programa que tenha uma funcao chamada escreva(), que receba um texto
qualquer como parametro e mostre uma mensagem com tamanho adaptavel.
Ex:
escreva("Ola, Mundo!")
saida:
~~~~~~~~~~~~~~
Ola, Mundo!
~~~~~~~~~~~~~~"""
def escreva(msg):
tam = len(msg) + 4
print("~" * tam)
print(f" {msg}")
print("~" * tam)
# PROGRAMA PRINCIPAL
escreva("Jeffer Marcelino")
escreva("Curso de Python no Youtube")
escreva("CeV")
|
'''
.. _snippets-pythonapi-metadata:
Python API: Managing Metadata
=============================
This is the tested source code for the snippets used in
:ref:`pythonapi-metadata`. The config file we're using in this example
can be downloaded
:download:`here <../../examples/snippets/resources/datafs_mongo.yml>`.
Setup
-----
.. code-block:: python
>>> import datafs
>>> from fs.tempfs import TempFS
We test with the following setup:
.. code-block:: python
>>> api = datafs.get_api(
... config_file='examples/snippets/resources/datafs_mongo.yml')
...
This assumes that you have a config file at the above location. The config file
we're using in this example can be downloaded
:download:`here <../../examples/snippets/resources/datafs_mongo.yml>`.
clean up any previous test failures
.. code-block:: python
>>> try:
... api.delete_archive('sample_archive')
... except (KeyError, OSError):
... pass
...
>>> try:
... api.manager.delete_table('DataFiles')
... except KeyError:
... pass
...
Add a fresh manager table:
.. code-block:: python
>>> api.manager.create_archive_table('DataFiles')
Example 1
---------
Displayed example 1 code
.. EXAMPLE-BLOCK-1-START
.. code-block:: python
>>> sample_archive = api.create(
... 'sample_archive',
... metadata = {
... 'oneline_description': 'tas by admin region',
... 'source': 'NASA BCSD',
... 'notes': 'important note'})
...
.. EXAMPLE-BLOCK-1-END
Example 2
---------
Displayed example 2 code
.. EXAMPLE-BLOCK-2-START
.. code-block:: python
>>> for archive_name in api.filter():
... print(archive_name)
...
sample_archive
.. EXAMPLE-BLOCK-2-END
Example 3
---------
Displayed example 3 code
.. EXAMPLE-BLOCK-3-START
.. code-block:: python
>>> sample_archive.get_metadata() # doctest: +SKIP
{u'notes': u'important note', u'oneline_description': u'tas by admin region
', u'source': u'NASA BCSD'}
.. EXAMPLE-BLOCK-3-END
The last line of this test cannot be tested directly (exact dictionary
formatting is unstable), so is tested in a second block:
.. code-block:: python
>>> sample_archive.get_metadata() == {
... u'notes': u'important note',
... u'oneline_description': u'tas by admin region',
... u'source': u'NASA BCSD'}
...
True
Example 4
---------
Displayed example 4 code
.. EXAMPLE-BLOCK-4-START
.. code-block:: python
>>> sample_archive.update_metadata(dict(
... source='NOAAs better temp data',
... related_links='http://wwww.noaa.gov'))
...
.. EXAMPLE-BLOCK-4-END
Example 5
---------
Displayed example 5 code
.. EXAMPLE-BLOCK-5-START
.. code-block:: python
>>> sample_archive.get_metadata() # doctest: +SKIP
{u'notes': u'important note', u'oneline_description': u'tas by admin region
', u'source': u'NOAAs better temp data', u'related_links': u'http://wwww.no
aa.gov'}
.. EXAMPLE-BLOCK-5-END
The last line of this test cannot be tested directly (exact dictionary
formatting is unstable), so is tested in a second block:
.. code-block:: python
>>> sample_archive.get_metadata() == {
... u'notes': u'important note',
... u'oneline_description': u'tas by admin region',
... u'source': u'NOAAs better temp data',
... u'related_links': u'http://wwww.noaa.gov'}
...
True
Example 6
---------
Displayed example 6 code
.. EXAMPLE-BLOCK-6-START
.. code-block:: python
>>> sample_archive.update_metadata(dict(related_links=None))
>>>
>>> sample_archive.get_metadata() # doctest: +SKIP
{u'notes': u'important note', u'oneline_description': u'tas by admin region
', u'source': u'NOAAs better temp data'}
.. EXAMPLE-BLOCK-6-END
The last line of this test cannot be tested directly (exact dictionary
formatting is unstable), so is tested in a second block:
.. code-block:: python
>>> sample_archive.get_metadata() == {
... u'notes': u'important note',
... u'oneline_description': u'tas by admin region',
... u'source': u'NOAAs better temp data'}
...
True
Teardown
--------
.. code-block:: python
>>> try:
... api.delete_archive('sample_archive')
... except KeyError:
... pass
...
>>> api.manager.delete_table('DataFiles')
'''
|
#!/usr/bin/env python
# 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.
def debian_package_install(packages):
"""Jinja utility method for building debian-based package install command
apt-get is not capable of installing .deb files from a URL and the
template logic to construct a series of steps to install regular packages
from apt repos as well as .deb files that need to be downloaded, manually
installed, and cleaned up is complicated. This method will construct the
proper string required to install all packages in a way that's a bit
easier to follow.
:param packages: a list of strings that are either packages to install
from an apt repo, or URLs to .deb files
:type packages: list
:returns: string suitable to provide to RUN command in a Dockerfile that
will install the given packages
:rtype: string
"""
cmds = []
# divide the list into two groups, one for regular packages and one for
# URL packages
reg_packages, url_packages = [], []
for package in packages:
if package.startswith('http'):
url_packages.append(package)
else:
reg_packages.append(package)
# handle the apt-get install
if reg_packages:
cmds.append('apt-get -y install --no-install-recommends {}'.format(
' '.join(reg_packages)
))
cmds.append('apt-get clean')
# handle URL packages
for url in url_packages:
# the path portion should be the file name
name = url[url.rfind('/') + 1:]
cmds.extend([
'curl --location {} -o {}'.format(url, name),
'dpkg -i {}'.format(name),
'rm -rf {}'.format(name),
])
# return the list of commands
return ' && '.join(cmds)
|
"""Constants used by yggdrasil."""
# ======================================================
# Do not edit this file past this point as the following
# is generated by yggdrasil.schema.update_constants
# ======================================================
LANG2EXT = {
'R': '.R',
'c': '.c',
'c++': '.cpp',
'cpp': '.cpp',
'cxx': '.cpp',
'executable': '.exe',
'fortran': '.f90',
'lpy': '.lpy',
'matlab': '.m',
'osr': '.xml',
'python': '.py',
'r': '.R',
'sbml': '.xml',
'yaml': '.yml',
}
EXT2LANG = {v: k for k, v in LANG2EXT.items()}
LANGUAGES = {
'compiled': [
'c', 'c++', 'fortran'],
'interpreted': [
'R', 'matlab', 'python'],
'build': [
'cmake', 'make'],
'dsl': [
'lpy', 'osr', 'sbml'],
'other': [
'executable', 'function', 'timesync'],
}
LANGUAGES['all'] = (
LANGUAGES['compiled']
+ LANGUAGES['interpreted']
+ LANGUAGES['build']
+ LANGUAGES['dsl']
+ LANGUAGES['other'])
LANGUAGES_WITH_ALIASES = {
'compiled': [
'c', 'c++', 'cpp', 'cxx', 'fortran'],
'interpreted': [
'R', 'r', 'matlab', 'python'],
'build': [
'cmake', 'make'],
'dsl': [
'lpy', 'osr', 'sbml'],
'other': [
'executable', 'function', 'timesync'],
}
LANGUAGES_WITH_ALIASES['all'] = (
LANGUAGES_WITH_ALIASES['compiled']
+ LANGUAGES_WITH_ALIASES['interpreted']
+ LANGUAGES_WITH_ALIASES['build']
+ LANGUAGES_WITH_ALIASES['dsl']
+ LANGUAGES_WITH_ALIASES['other'])
COMPILER_ENV_VARS = {
'c': {
'exec': 'CC',
'flags': 'CFLAGS',
},
'c++': {
'exec': 'CXX',
'flags': 'CXXFLAGS',
},
'fortran': {
'exec': 'FC',
'flags': 'FFLAGS',
},
}
COMPILATION_TOOL_VARS = {
'LIB': {
'exec': None,
'flags': None,
},
'LINK': {
'exec': 'LINK',
'flags': 'LDFLAGS',
},
'ar': {
'exec': 'AR',
'flags': None,
},
'cl': {
'exec': 'CC',
'flags': 'CFLAGS',
},
'cl++': {
'exec': 'CXX',
'flags': 'CXXFLAGS',
},
'clang': {
'exec': 'CC',
'flags': 'CFLAGS',
},
'clang++': {
'exec': 'CXX',
'flags': 'CXXFLAGS',
},
'cmake': {
'exec': None,
'flags': None,
},
'g++': {
'exec': 'CXX',
'flags': 'CXXFLAGS',
},
'gcc': {
'exec': 'CC',
'flags': 'CFLAGS',
},
'gfortran': {
'exec': 'FC',
'flags': 'FFLAGS',
},
'ld': {
'exec': 'LD',
'flags': 'LDFLAGS',
},
'libtool': {
'exec': 'LIBTOOL',
'flags': None,
},
'make': {
'exec': None,
'flags': None,
},
'nmake': {
'exec': None,
'flags': None,
},
}
|
#
# PySNMP MIB module NV-ATKK-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NV-ATKK-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:25:52 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")
ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
iso, NotificationType, Counter32, Counter64, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, mib_2, ObjectIdentity, Gauge32, IpAddress, ModuleIdentity, MibIdentifier, Integer32, Bits, enterprises, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "NotificationType", "Counter32", "Counter64", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "mib-2", "ObjectIdentity", "Gauge32", "IpAddress", "ModuleIdentity", "MibIdentifier", "Integer32", "Bits", "enterprises", "Unsigned32")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
class MacAddress(OctetString):
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(6, 6)
fixedLength = 6
class BridgeId(OctetString):
subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(8, 8)
fixedLength = 8
class Timeout(Integer32):
pass
c3716TR = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 3))
atiSystemConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 3, 1))
atiSwitch = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 3, 3))
atiSysSerialno = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiSysSerialno.setStatus('mandatory')
if mibBuilder.loadTexts: atiSysSerialno.setDescription('Serial number.')
atiSysTftpIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 1, 2), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSysTftpIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: atiSysTftpIPAddress.setDescription('TFTP Server IP address.')
atiSysTftpFilename = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSysTftpFilename.setStatus('mandatory')
if mibBuilder.loadTexts: atiSysTftpFilename.setDescription('TFTP file name.')
atiSysPowerupCount = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiSysPowerupCount.setStatus('mandatory')
if mibBuilder.loadTexts: atiSysPowerupCount.setDescription('Powerup Count.')
atiSysBrcastCutoffRate = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 1, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSysBrcastCutoffRate.setStatus('mandatory')
if mibBuilder.loadTexts: atiSysBrcastCutoffRate.setDescription('Broadcast Cutoff Rate. (0..100000)')
atiSysGatewayIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 1, 6), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSysGatewayIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: atiSysGatewayIPAddress.setDescription('Gateway IP address.')
atiPortTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 3, 2), )
if mibBuilder.loadTexts: atiPortTable.setStatus('mandatory')
if mibBuilder.loadTexts: atiPortTable.setDescription('The port setup table.')
atiPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 3, 2, 1), ).setIndexNames((0, "NV-ATKK-MIB", "atiPort"))
if mibBuilder.loadTexts: atiPortEntry.setStatus('mandatory')
if mibBuilder.loadTexts: atiPortEntry.setDescription('The port setup entry.')
atiPort = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiPort.setStatus('mandatory')
if mibBuilder.loadTexts: atiPort.setDescription('A number from 1 to number of ports on the switch.')
atiPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiPortStatus.setStatus('mandatory')
if mibBuilder.loadTexts: atiPortStatus.setDescription('Port status.')
atiPortDuplexStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("half", 1), ("full", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiPortDuplexStatus.setStatus('mandatory')
if mibBuilder.loadTexts: atiPortDuplexStatus.setDescription('Port duplex status.')
atiPortForwardedFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 2, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiPortForwardedFrames.setStatus('mandatory')
if mibBuilder.loadTexts: atiPortForwardedFrames.setDescription('Number of frames received on this port and forwarded to another port on the system module for processing.')
atiPortRcvdLocalFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 2, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: atiPortRcvdLocalFrames.setStatus('mandatory')
if mibBuilder.loadTexts: atiPortRcvdLocalFrames.setDescription('Number of frames received where the destination is on this port.')
atiSwitchIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 3, 3, 1), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSwitchIPAddress.setStatus('mandatory')
if mibBuilder.loadTexts: atiSwitchIPAddress.setDescription('Since bridges can now be accessed without an IP address, there needs to be a way to find out there addresses.')
atiSwitchSubnetMask = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 3, 3, 2), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSwitchSubnetMask.setStatus('mandatory')
if mibBuilder.loadTexts: atiSwitchSubnetMask.setDescription("The switch's submask.")
atiActiveAgingTime = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 3, 3, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiActiveAgingTime.setStatus('mandatory')
if mibBuilder.loadTexts: atiActiveAgingTime.setDescription('Active Aging Time.')
atiPurgeAgingTime = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 3, 3, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiPurgeAgingTime.setStatus('mandatory')
if mibBuilder.loadTexts: atiPurgeAgingTime.setDescription('Purge Aging Time.')
atiSwitchSTPStatus = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 3, 3, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSwitchSTPStatus.setStatus('mandatory')
if mibBuilder.loadTexts: atiSwitchSTPStatus.setDescription("The switch's Spanning Tree status, enter ON or OFF.")
atiSwitchManager = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 3, 3, 6), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSwitchManager.setStatus('mandatory')
if mibBuilder.loadTexts: atiSwitchManager.setDescription('The 1th SNMP Trap Destination.')
atiSwitcTrapRcvr1 = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 3, 6, 1), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSwitcTrapRcvr1.setStatus('mandatory')
if mibBuilder.loadTexts: atiSwitcTrapRcvr1.setDescription('The 1th SNMP Trap Destination.')
atiSwitcTrapRcvr2 = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 3, 6, 2), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSwitcTrapRcvr2.setStatus('mandatory')
if mibBuilder.loadTexts: atiSwitcTrapRcvr2.setDescription('The 2th SNMP Trap Destination.')
atiSwitcTrapRcvr3 = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 3, 6, 3), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSwitcTrapRcvr3.setStatus('mandatory')
if mibBuilder.loadTexts: atiSwitcTrapRcvr3.setDescription('The 3th SNMP Trap Destination.')
atiSwitcTrapRcvr4 = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 3, 3, 6, 4), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: atiSwitcTrapRcvr4.setStatus('mandatory')
if mibBuilder.loadTexts: atiSwitcTrapRcvr4.setDescription('The 4th SNMP Trap Destination.')
mibBuilder.exportSymbols("NV-ATKK-MIB", atiSysSerialno=atiSysSerialno, atiPortForwardedFrames=atiPortForwardedFrames, atiSwitcTrapRcvr2=atiSwitcTrapRcvr2, atiSwitchSubnetMask=atiSwitchSubnetMask, atiSwitchSTPStatus=atiSwitchSTPStatus, atiSwitch=atiSwitch, atiSwitchManager=atiSwitchManager, c3716TR=c3716TR, atiPortDuplexStatus=atiPortDuplexStatus, atiSwitcTrapRcvr1=atiSwitcTrapRcvr1, atiPortTable=atiPortTable, atiSwitchIPAddress=atiSwitchIPAddress, atiSwitcTrapRcvr4=atiSwitcTrapRcvr4, Timeout=Timeout, atiSysGatewayIPAddress=atiSysGatewayIPAddress, atiSwitcTrapRcvr3=atiSwitcTrapRcvr3, atiSysPowerupCount=atiSysPowerupCount, MacAddress=MacAddress, BridgeId=BridgeId, atiSysTftpIPAddress=atiSysTftpIPAddress, atiPortRcvdLocalFrames=atiPortRcvdLocalFrames, atiSysTftpFilename=atiSysTftpFilename, atiPortStatus=atiPortStatus, atiSysBrcastCutoffRate=atiSysBrcastCutoffRate, atiPurgeAgingTime=atiPurgeAgingTime, atiPortEntry=atiPortEntry, atiActiveAgingTime=atiActiveAgingTime, atiPort=atiPort, atiSystemConfig=atiSystemConfig)
|
# https://www.codewars.com/kata/521c2db8ddc89b9b7a0000c1/
'''
Instructions :
Snail Sort
Given an n x n array, return the array elements arranged from outermost elements to the middle element, traveling clockwise.
array = [[1,2,3],
[4,5,6],
[7,8,9]]
snail(array) #=> [1,2,3,6,9,8,7,4,5]
For better understanding, please follow the numbers of the next array consecutively:
array = [[1,2,3],
[8,9,4],
[7,6,5]]
snail(array) #=> [1,2,3,4,5,6,7,8,9]
This image will illustrate things more clearly:
https://www.haan.lu/files/2513/8347/2456/snail.png
NOTE: The idea is not sort the elements from the lowest value to the highest; the idea is to traverse the 2-d array in a clockwise snailshell pattern.
NOTE 2: The 0x0 (empty matrix) is represented as en empty array inside an array [[]].
'''
def snail(matrix):
res = []
if len(matrix) == 0:
return res
row_begin = 0
row_end = len(matrix) - 1
col_begin = 0
col_end = len(matrix[0]) - 1
while row_begin <= row_end and col_begin <= col_end:
for i in range(col_begin, col_end+1):
res.append(matrix[row_begin][i])
row_begin += 1
for i in range(row_begin, row_end+1):
res.append(matrix[i][col_end])
col_end -= 1
if row_begin <= row_end:
for i in range(col_end, col_begin-1, -1):
res.append(matrix[row_end][i])
row_end -= 1
if col_begin <= col_end:
for i in range(row_end, row_begin-1, -1):
res.append(matrix[i][col_begin])
col_begin += 1
return res
|
"""
问题: 统计所有小于非负数整数 n 的质数的数量。
示例:
输入: 10
输出: 4
解释: 小于 10 的质数一共有 4 个, 它们是 2, 3, 5, 7 。
"""
class Solution:
def countPrimes(self, n):
"""
:type n: int
:rtype: int
"""
bit_arr = [0 for i in range(n)]
count = 0
index = 2
while index < n:
if bit_arr[index] == 0:
count += 1
j = index
while index*j < n:
bit_arr[index*j] = 1
j += 1
index += 1
return count |
command = '/home/slunk/code/racks_project/env/bin/gunicorn'
pythonpath = '/home/slunk/code/racks_project/racks'
bind = '127.0.0.1:8001'
workers = 5
user = 'slunk'
limit_request_fields = 32000
limit_request_field_size = 0
raw_enw = 'DJANGO_SETTINGS_MODULE=racks.settings'
|
# Faça um programa que leia o nome de uma pessoa e mostre uma mensagem de boas-vindas. #
nome = str(input('Digite seu nome: '))
print(f'Ola {nome} Seja bem vindo(a)')
|
power = {'BUSES': {'Area': 1.33155,
'Bus/Area': 1.33155,
'Bus/Gate Leakage': 0.00662954,
'Bus/Peak Dynamic': 0.0,
'Bus/Runtime Dynamic': 0.0,
'Bus/Subthreshold Leakage': 0.0691322,
'Bus/Subthreshold Leakage with power gating': 0.0259246,
'Gate Leakage': 0.00662954,
'Peak Dynamic': 0.0,
'Runtime Dynamic': 0.0,
'Subthreshold Leakage': 0.0691322,
'Subthreshold Leakage with power gating': 0.0259246},
'Core': [{'Area': 32.6082,
'Execution Unit/Area': 8.2042,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.204603,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.363393,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 1.11055,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.122718,
'Execution Unit/Instruction Scheduler/Area': 2.17927,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.635775,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 1.10093,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.631416,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 2.36812,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.458173,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 7.7797,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.209808,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0230473,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.243032,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.170449,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.45284,
'Execution Unit/Register Files/Runtime Dynamic': 0.193497,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.643318,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.59116,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155,
'Execution Unit/Runtime Dynamic': 4.92155,
'Execution Unit/Subthreshold Leakage': 1.83518,
'Execution Unit/Subthreshold Leakage with power gating': 0.709678,
'Gate Leakage': 0.372997,
'Instruction Fetch Unit/Area': 5.86007,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00238064,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00238064,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00206893,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000798397,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00244852,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00927873,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.02299,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0590479,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.163857,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.47197,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.556533,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 8.96874,
'Instruction Fetch Unit/Runtime Dynamic': 1.22463,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932587,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0733521,
'L2/Runtime Dynamic': 0.0149759,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80969,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 6.49788,
'Load Store Unit/Data Cache/Runtime Dynamic': 2.53945,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0351387,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.170198,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.170198,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 7.30486,
'Load Store Unit/Runtime Dynamic': 3.549,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.419679,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.839358,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591622,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283406,
'Memory Management Unit/Area': 0.434579,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.148946,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.15004,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00813591,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.399995,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0773917,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.815992,
'Memory Management Unit/Runtime Dynamic': 0.227432,
'Memory Management Unit/Subthreshold Leakage': 0.0769113,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462,
'Peak Dynamic': 29.5043,
'Renaming Unit/Area': 0.369768,
'Renaming Unit/FP Front End RAT/Area': 0.168486,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.731972,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925,
'Renaming Unit/Free List/Area': 0.0414755,
'Renaming Unit/Free List/Gate Leakage': 4.15911e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0401324,
'Renaming Unit/Free List/Runtime Dynamic': 0.041318,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987,
'Renaming Unit/Gate Leakage': 0.00863632,
'Renaming Unit/Int Front End RAT/Area': 0.114751,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.317832,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781,
'Renaming Unit/Peak Dynamic': 4.56169,
'Renaming Unit/Runtime Dynamic': 1.09112,
'Renaming Unit/Subthreshold Leakage': 0.070483,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779,
'Runtime Dynamic': 11.0287,
'Subthreshold Leakage': 6.21877,
'Subthreshold Leakage with power gating': 2.58311},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0588041,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.248876,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.376591,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.287381,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.463534,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.233977,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.984892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.270943,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 4.9829,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0711461,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.012054,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.106781,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.089147,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.177927,
'Execution Unit/Register Files/Runtime Dynamic': 0.101201,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.239662,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.59396,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 2.33431,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00183336,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00183336,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00161558,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.00063566,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.0012806,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.0065629,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.016909,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0856993,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.45121,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.280368,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.291073,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 7.93428,
'Instruction Fetch Unit/Runtime Dynamic': 0.680612,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0327293,
'L2/Runtime Dynamic': 0.0134497,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 3.28732,
'Load Store Unit/Data Cache/Runtime Dynamic': 1.01348,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0663288,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0663288,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 3.60054,
'Load Store Unit/Runtime Dynamic': 1.40692,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.163555,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.327111,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0580464,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0585369,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.338936,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0459651,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.594759,
'Memory Management Unit/Runtime Dynamic': 0.104502,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 20.7347,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.187153,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.0152434,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.143713,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.34611,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 4.8859,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0543055,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.245343,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.394195,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.260055,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.41946,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.211729,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.891244,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.236992,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 4.92342,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0744719,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0109079,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.095105,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0806705,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.169577,
'Execution Unit/Register Files/Runtime Dynamic': 0.0915784,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.213939,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.555101,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 2.18864,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00174099,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00174099,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00154949,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000617927,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00115884,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.0061903,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0155103,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0775507,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.93289,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.227723,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.263397,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 7.3908,
'Instruction Fetch Unit/Runtime Dynamic': 0.590371,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0228357,
'L2/Runtime Dynamic': 0.00464711,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 3.6387,
'Load Store Unit/Data Cache/Runtime Dynamic': 1.15404,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0776969,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0776969,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 4.0056,
'Load Store Unit/Runtime Dynamic': 1.61491,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.191587,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.383174,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.067995,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0683372,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.306709,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0373336,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.579621,
'Memory Management Unit/Runtime Dynamic': 0.105671,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 20.5118,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.195901,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.0141171,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.129012,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.33903,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 4.84328,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328},
{'Area': 32.0201,
'Execution Unit/Area': 7.68434,
'Execution Unit/Complex ALUs/Area': 0.235435,
'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646,
'Execution Unit/Complex ALUs/Peak Dynamic': 0.0623769,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.251682,
'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111,
'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163,
'Execution Unit/Floating Point Units/Area': 4.6585,
'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156,
'Execution Unit/Floating Point Units/Peak Dynamic': 0.337606,
'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033,
'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829,
'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061,
'Execution Unit/Gate Leakage': 0.120359,
'Execution Unit/Instruction Scheduler/Area': 1.66526,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.224582,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453,
'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519,
'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913,
'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223,
'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562,
'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763,
'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.362242,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755,
'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964,
'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262,
'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388,
'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608,
'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451,
'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.182848,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853,
'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446,
'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.769672,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892,
'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346,
'Execution Unit/Integer ALUs/Area': 0.47087,
'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291,
'Execution Unit/Integer ALUs/Peak Dynamic': 0.205098,
'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344,
'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222,
'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833,
'Execution Unit/Peak Dynamic': 4.81868,
'Execution Unit/Register Files/Area': 0.570804,
'Execution Unit/Register Files/Floating Point RF/Area': 0.208131,
'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788,
'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.0637809,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.00941997,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698,
'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968,
'Execution Unit/Register Files/Gate Leakage': 0.000622708,
'Execution Unit/Register Files/Integer RF/Area': 0.362673,
'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992,
'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.0914408,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0696664,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175,
'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675,
'Execution Unit/Register Files/Peak Dynamic': 0.155222,
'Execution Unit/Register Files/Runtime Dynamic': 0.0790864,
'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387,
'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643,
'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912,
'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402,
'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.208238,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.526198,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478,
'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543,
'Execution Unit/Runtime Dynamic': 2.03202,
'Execution Unit/Subthreshold Leakage': 1.79543,
'Execution Unit/Subthreshold Leakage with power gating': 0.688821,
'Gate Leakage': 0.368936,
'Instruction Fetch Unit/Area': 5.85939,
'Instruction Fetch Unit/Branch Predictor/Area': 0.138516,
'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.00132104,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.00132104,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719,
'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.00115785,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344,
'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000452173,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347,
'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045,
'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838,
'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732,
'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05,
'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602,
'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00100076,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505,
'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733,
'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00480069,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703,
'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282,
'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954,
'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758,
'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867,
'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.0124079,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682,
'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357,
'Instruction Fetch Unit/Gate Leakage': 0.0589979,
'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323,
'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05,
'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827,
'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0669721,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885,
'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682,
'Instruction Fetch Unit/Instruction Cache/Area': 3.14635,
'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931,
'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.26,
'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.200165,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022,
'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386,
'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799,
'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493,
'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404,
'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.227468,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943,
'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104,
'Instruction Fetch Unit/Peak Dynamic': 6.68526,
'Instruction Fetch Unit/Runtime Dynamic': 0.511813,
'Instruction Fetch Unit/Subthreshold Leakage': 0.932286,
'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843,
'L2/Area': 4.53318,
'L2/Gate Leakage': 0.015464,
'L2/Peak Dynamic': 0.0382461,
'L2/Runtime Dynamic': 0.0083586,
'L2/Subthreshold Leakage': 0.834142,
'L2/Subthreshold Leakage with power gating': 0.401066,
'Load Store Unit/Area': 8.80901,
'Load Store Unit/Data Cache/Area': 6.84535,
'Load Store Unit/Data Cache/Gate Leakage': 0.0279261,
'Load Store Unit/Data Cache/Peak Dynamic': 4.12016,
'Load Store Unit/Data Cache/Runtime Dynamic': 1.38594,
'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675,
'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085,
'Load Store Unit/Gate Leakage': 0.0350888,
'Load Store Unit/LoadQ/Area': 0.0836782,
'Load Store Unit/LoadQ/Gate Leakage': 0.00059896,
'Load Store Unit/LoadQ/Peak Dynamic': 0.0932732,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.0932732,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 4.56062,
'Load Store Unit/Runtime Dynamic': 1.9392,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.229996,
'Load Store Unit/StoreQ/Runtime Dynamic': 0.459992,
'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621,
'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004,
'Load Store Unit/Subthreshold Leakage': 0.591321,
'Load Store Unit/Subthreshold Leakage with power gating': 0.283293,
'Memory Management Unit/Area': 0.4339,
'Memory Management Unit/Dtlb/Area': 0.0879726,
'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729,
'Memory Management Unit/Dtlb/Peak Dynamic': 0.0816263,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0822004,
'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699,
'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485,
'Memory Management Unit/Gate Leakage': 0.00808595,
'Memory Management Unit/Itlb/Area': 0.301552,
'Memory Management Unit/Itlb/Gate Leakage': 0.00393464,
'Memory Management Unit/Itlb/Peak Dynamic': 0.264871,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0328147,
'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758,
'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842,
'Memory Management Unit/Peak Dynamic': 0.5612,
'Memory Management Unit/Runtime Dynamic': 0.115015,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 20.2535,
'Renaming Unit/Area': 0.303608,
'Renaming Unit/FP Front End RAT/Area': 0.131045,
'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123,
'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468,
'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.167778,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571,
'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885,
'Renaming Unit/Free List/Area': 0.0340654,
'Renaming Unit/Free List/Gate Leakage': 2.5481e-05,
'Renaming Unit/Free List/Peak Dynamic': 0.0306032,
'Renaming Unit/Free List/Runtime Dynamic': 0.0121743,
'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144,
'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064,
'Renaming Unit/Gate Leakage': 0.00708398,
'Renaming Unit/Int Front End RAT/Area': 0.0941223,
'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242,
'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965,
'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.111723,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488,
'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228,
'Renaming Unit/Peak Dynamic': 3.58947,
'Renaming Unit/Runtime Dynamic': 0.291676,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 4.89808,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328}],
'DRAM': {'Area': 0,
'Gate Leakage': 0,
'Peak Dynamic': 1.7987100371612288,
'Runtime Dynamic': 1.7987100371612288,
'Subthreshold Leakage': 4.252,
'Subthreshold Leakage with power gating': 4.252},
'L3': [{'Area': 61.9075,
'Gate Leakage': 0.0484137,
'Peak Dynamic': 0.129484,
'Runtime Dynamic': 0.0800318,
'Subthreshold Leakage': 6.80085,
'Subthreshold Leakage with power gating': 3.32364}],
'Processor': {'Area': 191.908,
'Gate Leakage': 1.53485,
'Peak Dynamic': 91.1337,
'Peak Power': 124.246,
'Runtime Dynamic': 25.736,
'Subthreshold Leakage': 31.5774,
'Subthreshold Leakage with power gating': 13.9484,
'Total Cores/Area': 128.669,
'Total Cores/Gate Leakage': 1.4798,
'Total Cores/Peak Dynamic': 91.0042,
'Total Cores/Runtime Dynamic': 25.656,
'Total Cores/Subthreshold Leakage': 24.7074,
'Total Cores/Subthreshold Leakage with power gating': 10.2429,
'Total L3s/Area': 61.9075,
'Total L3s/Gate Leakage': 0.0484137,
'Total L3s/Peak Dynamic': 0.129484,
'Total L3s/Runtime Dynamic': 0.0800318,
'Total L3s/Subthreshold Leakage': 6.80085,
'Total L3s/Subthreshold Leakage with power gating': 3.32364,
'Total Leakage': 33.1122,
'Total NoCs/Area': 1.33155,
'Total NoCs/Gate Leakage': 0.00662954,
'Total NoCs/Peak Dynamic': 0.0,
'Total NoCs/Runtime Dynamic': 0.0,
'Total NoCs/Subthreshold Leakage': 0.0691322,
'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}} |
def calculate_max_profit(prices):
'''Calculates the maximum profit given a list of prices of a stock
by buying and selling exactly once.
>>> calculate_max_profit([9, 11, 8, 5, 7, 10])
5
>>> calculate_max_profit([10, 9, 8, 5, 2])
0
'''
smallest_element_so_far = float('inf')
largest_gain = 0
for value in prices:
smallest_element_so_far = min(value, smallest_element_so_far)
largest_gain = max(value - smallest_element_so_far, largest_gain)
return largest_gain
|
degf = float(input("Zadej stupně: "))
deg = int(degf)
minf = (degf-deg)*60
min = int(minf)
sec = (minf-min)*60
print("Výsledek:",deg,"stupňů",min,"minut",sec,"vteřin")
|
class FailedRequestingEcoCounterError(Exception):
pass
class PublishError(Exception):
pass
|
fname = input('Enter file: ')
try:
fhandle = open(fname, 'r')
except:
print('No such file.')
quit()
hrs = dict()
for line in fhandle:
if not line.startswith('From '):
continue
tmp = line.find(':')
hour = line[tmp-2:tmp]
hrs[hour] = hrs.get(hour, 0) + 1
for (k, v) in sorted(hrs.items()):
print(k, v)
|
sides = {}
data = input()
while not data == "Lumpawaroo":
keep_it = True
idk = False
if "|" in data:
side, name = data.split(" | ")
if side in sides:
for person in sides[side]:
if name in person:
idk = True
break
idk = True
if side not in sides and name not in sides.keys():
sides[side] = [name]
if idk is True:
sides[side].append(name)
elif " -> " in data:
name, side = data.split(" -> ")
for Side, Name in sides.items():
if name in Name:
sides[Side].remove(name)
sides[side].append(name)
print(f"{name} joins the {side} side!")
keep_it = False
break
if keep_it is True:
for Side, Name in sides.items():
if name not in Name and len(sides.get(Side)) != None:
sides[side].append(name)
print(f"{name} joins the {side} side!")
break
elif name not in Name:
sides[side] = [name]
print(f"{name} joins the {side} side!")
break
data = input()
continue
for side, name in sorted(sides.items(), key=lambda x: (-len(x[1]), x[0])):
if 0 == len(name):
continue
else:
print(f"Side: {side}, Members: {len(name)}")
for person in sorted(name):
print(f"! {person}")
|
class Customer:
#function to update the details of the customer
def __init__(self,name,email):
self.name = name
self.email = email
self.purchases = []
#function to have a customer make a purchase
def purchase(self,inventory, product):
inventory_dict = inventory.inventory
if product in inventory_dict:
if inventory_dict[product] > 1:
self.purchases.append(product)
inventory_dict[product]-=1
else:
print('We are out of stock')
else:
print("We don't have the product")
def print_purchases(self):
print('The customer has purchased:')
bill = 0
for items in self.purchases:
print(items.name + " $"+str(items.price))
bill+=items.price
print(customer.name +"'s Total Bill is $" + str(bill))
class Product:
#function to add the name and price of the product
def __init__(self,name,price):
self.name = name
self.price = price
class Inventory:
def __init__(self):
self.inventory = {} #inventory is a Dictionary to hold the key and value of the product
#funtion to add product to the inventory
def add_product(self,product,quantity):
if product not in self.inventory:
self.inventory[product] = quantity
else:
self.inventory[product]+=quantity
def print_inventory(self):
print('Product: Quantity')
for key,value in self.inventory.items():
print(key.name + ": " + str(value))
print()
customer = Customer('Joe Rogan','joe@gmail.com')
print('Name of the Customer: ')
print(customer.name)
apple_watch = Product('apple_watch',299)
mac = Product('mac',1999)
nike = Product('Nike',1500)
iphone = Product('IPhone',900)
inventory = Inventory()
inventory.add_product(apple_watch,500)
inventory.add_product(iphone,15)
inventory.add_product(mac,800)
inventory.add_product(nike,70)
print()
inventory.print_inventory()
#function to add the customers purchase
customer.purchase(inventory,apple_watch)
customer.purchase(inventory,iphone)
#printing the *Updated* inventory and the Customers purchase
inventory.print_inventory()
print()
customer.print_purchases() |
"""
Copyright (c) 2020, Souvik Ghosh.
Distributed under the terms of the MIT License.
The full license is in the file LICENSE, distributed with this software.
Created on Mar 15, 2020
@author
"""
def Solve():
m = []
for j in range(1, i):
if i % j == 0:
m.append(j)
yield sum(m)
e = int(input("Enter a range of numbers to check: "))
for _ in range(e):
i = int(input("Enter a number: "))
for u in Solve():
if i == u:
print("Yes")
else:
print("No")
|
samples = [
{
"input": {
"array": [5, 1, 22, 25, 6, -1, 8, 10],
},
"output": [1, 6, -1, 10],
},
]
|
def process_flags(all_flags):
"""
Argument:
Return:
list of
"""
fixed_map = {'fixed': True, 'param': False}
flags = [Flags(name, fixed_map[flag_type]) for name, flag_type in all_flags.items()]
return flags
def process_hparams(all_hparams):
"""
Argument:
Return:
"""
hparams = [Hparams(name, values) for name, values in all_hparams.items()]
return hparams
class Hparams:
def __init__(self, hparam_name, values):
self.hparam_name = hparam_name
self.raw_values = values
self.values = [Hparam(hparam_name, value) for value in values]
def __repr__(self):
return f'{self.hparam_name}: {[value for value in self.raw_values]}'
class Hparam:
def __init__(self, hparam_name, value):
self.hparam_name = hparam_name
self.value = value
def get_command(self):
return f'--{self.hparam_name} {self.value}'
def __repr__(self):
return f'{self.hparam_name}: {self.value}'
class Flags:
def __init__(self, flag_name, fixed):
self.flag_name = flag_name
self.fixed = fixed
if fixed:
self.values = [Flag(flag_name, True)]
else:
self.values = [Flag(flag_name, True), Flag(flag_name, False)]
def __repr__(self):
return f'{self.flag_name}: {"fixed" if self.fixed else "param"}'
class Flag:
def __init__(self, flag_name, present):
self.flag_name = flag_name
self.present = present
def get_command(self):
if self.present:
return f'--{self.flag_name}'
else:
return ''
def __repr__(self):
return f'{self.flag_name}: {self.present}'
|
def doNothing(rawSolutions):
#TODO - accept some sort of number QoI from somewhere
number_qoi = 1
list_of_qoi = []
for _ in range(number_qoi):
qoi_values = []
for raw_solution in rawSolutions:
qoi_values.append(raw_solution)
list_of_qoi.append(qoi_values)
return list_of_qoi
|
class SaleorAppError(Exception):
"""Generic Saleor App Error, all framework errros inherit from this"""
class InstallAppError(SaleorAppError):
"""Install App error"""
class ConfigurationError(SaleorAppError):
"""App is misconfigured"""
|
class Plan:
def __init__(self):
self.tasks = []
def add_task(self, task):
assert task.task_id is None
self.tasks.append(task)
def take_tasks(self):
tasks = self.tasks
self.tasks = []
return tasks
|
# Program : Linear search in an array.
# Input : size = 5, array = [1, 3, 5, 2, 4], target = 5
# Output : 2
# Explanation : The index of the element 5 is 2.
# Language : Python3
# O(n) time | O(1) space
def linear_search(size, array, target):
# Do for each element in the array.
for i in range(size):
# Declare the current element.
current_element = array[i]
# If the current element is equal to the target, then return the current index.
if current_element == target:
return i
# If the target is not found, then return -1.
return -1
# Main function.
if __name__ == '__main__':
# Declare the size, array and target.
size = 5
array = [1, 3, 5, 2, 4]
target = 5
# Find the index of the target and store the result in the answer variable.
answer = linear_search(size, array, target)
# Print the answer.
print(answer) |
# -*- coding: utf-8 -*-
"""
Used to space/separate choices group
"""
class Separator:
line = '-' * 15
def __init__(self, line=None):
if line:
self.line = line
def __str__(self):
return self.line
|
def pego_correndo(speed, is_birthday):
retorno = 0
if is_birthday == True:
if speed <= 65:
retorno = 0
elif 65 < speed <= 85 :
retorno = 1
elif speed > 85 :
retorno = 2
elif is_birthday == False:
if speed <= 60 :
retorno = 0
elif 60 < speed <= 80 :
retorno = 1
elif speed > 80 :
retorno = 2
return retorno |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@created: 11.01.21
@author: felix
"""
|
n = int(input())
if 0 <= n <= 1000:
if n == 0:
print(n, "программистов", sep=" ")
elif n % 100 >= 10 and n % 100 <= 20:
print(n, "программистов", sep=" ")
elif n % 10 == 1:
print(n, "программист", sep=" ")
elif n % 10 >= 2 and n % 10 <= 4:
print(n, "программиста", sep=" ")
else:
print(n, "программистов", sep=" ")
else:
print("Входные данные должны быть в интервале 0≤n≤1000")
|
class Solution:
def checkInclusion(self, s1: str, s2: str) -> bool:
s1_len = len(s1)
s2_len = len(s2)
flag = False
for i,v in enumerate(s2):
for k in s1:
if k != v:
flag = False
break;
else:
flag = True
if flag: break;
return flag
if __name__ == "__main__":
s = Solution()
case1 = ["ab", "eidbaooo"]
case2 = ["ab", "eidabooo"]
print(s.checkInclusion(case1[0], case1[1]))
print(s.checkInclusion(case2[0], case2[1]))
|
my_list = ["one", 2, "three"]
print(my_list)
print(type(my_list))
l = [] # an empty list
|
# -*- coding: utf-8 -*-
# 列表元素之和-递归写法
def sum(list):
if list == []:
return 0
return list[0] + sum(list[1:])
|
class Solution:
def minimumDeviation(self, nums: List[int]) -> int:
# since heapq is a min-heap
# we use negative of the numbers to mimic a max-heap
evens = []
minimum = inf
for num in nums:
if num % 2 == 0:
evens.append(-num)
minimum = min(minimum, num)
else:
evens.append(-num*2)
minimum = min(minimum, num*2)
heapq.heapify(evens)
min_deviation = inf
while evens:
current_value = -heapq.heappop(evens)
min_deviation = min(min_deviation, current_value-minimum)
if current_value % 2 == 0:
minimum = min(minimum, current_value//2)
heapq.heappush(evens, -current_value//2)
else:
# if the maximum is odd, break and return
break
return min_deviation
|
def scanstring(s, end, strict=True, _b=BACKSLASH, _m=STRINGCHUNK.match):
"""Scan the string s for a JSON string. End is the index of the
character in s after the quote that started the JSON string.
Unescapes all valid JSON string escape sequences and raises ValueError
on attempt to decode an invalid string. If strict is False then literal
control characters are allowed in the string.
Returns a tuple of the decoded string and the index of the character in s
after the end quote."""
chunks = []
_append = chunks.append
begin = end - 1
while 1:
chunk = _m(s, end)
if chunk is None:
raise JSONDecodeError("Unterminated string starting at", s, begin)
end = chunk.end()
content, terminator = chunk.groups()
# Content is contains zero or more unescaped string characters
if content:
_append(content)
# Terminator is the end of string, a literal control character,
# or a backslash denoting that an escape sequence follows
if terminator == '"':
break
elif terminator != '\\':
if strict:
#msg = "Invalid control character %r at" % (terminator,)
msg = "Invalid control character {0!r} at".format(terminator)
raise JSONDecodeError(msg, s, end)
else:
_append(terminator)
continue
try:
esc = s[end]
except IndexError:
raise JSONDecodeError("Unterminated string starting at",
s, begin) from None
# If not a unicode escape sequence, must be in the lookup table
if esc != 'u':
try:
char = _b[esc]
except KeyError:
msg = "Invalid \\escape: {0!r}".format(esc)
raise JSONDecodeError(msg, s, end)
end += 1
else:
uni = _decode_uXXXX(s, end)
end += 5
if 0xd800 <= uni <= 0xdbff and s[end:end + 2] == '\\u':
uni2 = _decode_uXXXX(s, end + 1)
if 0xdc00 <= uni2 <= 0xdfff:
uni = 0x10000 + (((uni - 0xd800) << 10) | (uni2 - 0xdc00))
end += 6
char = chr(uni)
_append(char)
return ''.join(chunks), end
def lex(string):
tokens = []
while len(string):
renString, string = lex_string(string)
if renString is not None:
tokens.append(renString)
continue
renNumber, string = lex_number(string)
if renNumber is not None:
tokens.append(renNumber)
continue
renBool, string = lex_bool(string)
if renBool is not None:
tokens.append(renBool)
continue
renNull, string = lex_null(string)
if renNull is not None:
tokens.append(None)
continue
if string[0] in {'{', '}', '(', ')', '#', ' ', '\t', '\n'}:
tokens.append(string[0])
string = string[1:]
else:
raise ValueError('Unexpected character: {}'.format(string[0]))
return tokens
def lexString(string: str) -> typing.Tuple[typing.Optional[str], str]:
renString = ''
if string[0] == '"':
string = string[1:]
else:
return None, string
for c in string:
if c == '"':
return renString, string[len(renString)+1:]
else:
renString += c
raise ValueError('Expected end-of-string quote')
def lexNumber(string):
return None, string
def lexBool(string):
return None, string
def lexNull(string):
return None, string
|
#
# PySNMP MIB module HPN-ICF-TE-TUNNEL-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HPN-ICF-TE-TUNNEL-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:41:36 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, ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint", "ValueSizeConstraint")
hpnicfCommon, = mibBuilder.importSymbols("HPN-ICF-OID-MIB", "hpnicfCommon")
MplsLabel, MplsTunnelInstanceIndex, MplsTunnelIndex, MplsExtendedTunnelId = mibBuilder.importSymbols("MPLS-TC-STD-MIB", "MplsLabel", "MplsTunnelInstanceIndex", "MplsTunnelIndex", "MplsExtendedTunnelId")
NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup")
iso, Counter64, ObjectIdentity, Gauge32, Unsigned32, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, IpAddress, ModuleIdentity, Counter32, MibIdentifier, TimeTicks, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "Counter64", "ObjectIdentity", "Gauge32", "Unsigned32", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "IpAddress", "ModuleIdentity", "Counter32", "MibIdentifier", "TimeTicks", "NotificationType")
RowPointer, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowPointer", "TextualConvention", "DisplayString")
hpnicfTeTunnel = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115))
if mibBuilder.loadTexts: hpnicfTeTunnel.setLastUpdated('201103240948Z')
if mibBuilder.loadTexts: hpnicfTeTunnel.setOrganization('')
if mibBuilder.loadTexts: hpnicfTeTunnel.setContactInfo('')
if mibBuilder.loadTexts: hpnicfTeTunnel.setDescription('This MIB contains managed object definitions for the Multiprotocol Label Switching (MPLS) Te Tunnel.')
hpnicfTeTunnelScalars = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 1))
hpnicfTeTunnelMaxTunnelIndex = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 1, 1), MplsTunnelIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelMaxTunnelIndex.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelMaxTunnelIndex.setDescription('The max value of tunnel id is permitted configure on the device.')
hpnicfTeTunnelObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2))
hpnicfTeTunnelStaticCrlspTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 1), )
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspTable.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspTable.setDescription('This table contains information for static-crlsp, and through this to get detail information about this static-crlsp. Only support transit LSR and egress LSR.')
hpnicfTeTunnelStaticCrlspEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 1, 1), ).setIndexNames((0, "HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelStaticCrlspInLabel"))
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspEntry.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspEntry.setDescription('The entry in this table describes static-crlsp information.')
hpnicfTeTunnelStaticCrlspInLabel = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 1, 1, 1), MplsLabel())
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspInLabel.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspInLabel.setDescription('This is unique label value that manualy assigned. Uniquely identifies a static-crlsp. Managers should use this to obtain detail static-crlsp information.')
hpnicfTeTunnelStaticCrlspName = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspName.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspName.setDescription('The unique name assigned to the static-crlsp.')
hpnicfTeTunnelStaticCrlspStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspStatus.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspStatus.setDescription('Indicates the actual status of this static-crlsp, The value must be up when the static-crlsp status is up and the value must be down when the static-crlsp status is down.')
hpnicfTeTunnelStaticCrlspRole = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("transit", 1), ("tail", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspRole.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspRole.setDescription('This value indicate the role of this static-crlsp. This value must be transit at transit point of the tunnel, and tail at terminating point of the tunnel.')
hpnicfTeTunnelStaticCrlspXCPointer = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 1, 1, 5), RowPointer()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspXCPointer.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspXCPointer.setDescription('This pointer unique identify a row of mplsXCTable. This value should be zeroDotZero when the static-crlsp is down. The mplsXCTable identifies the segments that compose this tunnel, their characteristics, and relationships to each other.')
hpnicfTeTunnelCoTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 2), )
if mibBuilder.loadTexts: hpnicfTeTunnelCoTable.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelCoTable.setDescription('This table contains information for Co-routed reverse crlsp and infomation of Co-routed bidirectional Tunnel Interface. If hpnicfCorouteTunnelLspInstance is zero, to obtain infomation of Co-routed bidirectional Tunnel Interface, otherwise to obtain Co-routed reverse crlsp infomation.')
hpnicfTeTunnelCoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 2, 1), ).setIndexNames((0, "HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelCoIndex"), (0, "HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelCoLspInstance"), (0, "HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelCoIngressLSRId"), (0, "HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelCoEgressLSRId"))
if mibBuilder.loadTexts: hpnicfTeTunnelCoEntry.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelCoEntry.setDescription('The entry in this table describes Co-routed infomation of bidirectional Tunnel Interface and reserver lsp information.')
hpnicfTeTunnelCoIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 2, 1, 1), MplsTunnelIndex())
if mibBuilder.loadTexts: hpnicfTeTunnelCoIndex.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelCoIndex.setDescription('Uniquely identifies a set of tunnel instances between a pair of ingress and egress LSRs that specified at originating point. This value should be equal to the value signaled in the Tunnel Id of the Session object.')
hpnicfTeTunnelCoLspInstance = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 2, 1, 2), MplsTunnelInstanceIndex())
if mibBuilder.loadTexts: hpnicfTeTunnelCoLspInstance.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelCoLspInstance.setDescription('When obtain infomation of Co-routed bidirectional Tunnel Interface, this vlaue should be zero. And this value must be LspID to obtain reverse crlsp information. Values greater than 0, but less than or equal to 65535, should be useless.')
hpnicfTeTunnelCoIngressLSRId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 2, 1, 3), MplsExtendedTunnelId())
if mibBuilder.loadTexts: hpnicfTeTunnelCoIngressLSRId.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelCoIngressLSRId.setDescription('Identity the ingress LSR associated with this tunnel instance. This vlaue is equal to the LsrID of originating endpoint.')
hpnicfTeTunnelCoEgressLSRId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 2, 1, 4), MplsExtendedTunnelId())
if mibBuilder.loadTexts: hpnicfTeTunnelCoEgressLSRId.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelCoEgressLSRId.setDescription('Identity of the egress LSR associated with this tunnel instance. This vlaue is equal to the LsrID of terminating point.')
hpnicfTeTunnelCoBiMode = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("coroutedActive", 1), ("coroutedPassive", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelCoBiMode.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelCoBiMode.setDescription('This vlaue indicated the bidirection mode of tunnel interface. The valuemust be coroutedActive at the originating point of the tunnel and coroutedPassive at the terminating point.')
hpnicfTeTunnelCoReverseLspInstance = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 2, 1, 6), MplsTunnelInstanceIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelCoReverseLspInstance.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelCoReverseLspInstance.setDescription('This value indicated the reverse lsp instance, and should be equal to obverse lsp instance.')
hpnicfTeTunnelCoReverseLspXCPointer = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 2, 1, 7), RowPointer()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelCoReverseLspXCPointer.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelCoReverseLspXCPointer.setDescription('This pointer unique index to mplsXCTable of the reverse lsp. The mplsXCTable identifies the segments that compose this tunnel, their characteristics, and relationships to each other. A value of zeroDotZero indicate that there is no crlsp assigned to this.')
hpnicfTeTunnelPsTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3), )
if mibBuilder.loadTexts: hpnicfTeTunnelPsTable.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsTable.setDescription('This table defines some objects for managers to obtain TE tunnel Protection Switching group current status information.')
hpnicfTeTunnelPsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1), ).setIndexNames((0, "HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsIndex"), (0, "HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsIngressLSRId"), (0, "HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsEgressLSRId"))
if mibBuilder.loadTexts: hpnicfTeTunnelPsEntry.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsEntry.setDescription('The entry in this table describes TE tunnel Protection Switching group infromation.')
hpnicfTeTunnelPsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 1), MplsTunnelIndex())
if mibBuilder.loadTexts: hpnicfTeTunnelPsIndex.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsIndex.setDescription('Uniquely identifies a TE tunnel Protection Switching group instance. This value must be equal to the tunnel id of work tunnel instance.')
hpnicfTeTunnelPsIngressLSRId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 2), MplsExtendedTunnelId())
if mibBuilder.loadTexts: hpnicfTeTunnelPsIngressLSRId.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsIngressLSRId.setDescription('Identity the ingress LSR associated with work tunnel instance.')
hpnicfTeTunnelPsEgressLSRId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 3), MplsExtendedTunnelId())
if mibBuilder.loadTexts: hpnicfTeTunnelPsEgressLSRId.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsEgressLSRId.setDescription('Identity of the egress LSR associated with work tunnel instance.')
hpnicfTeTunnelPsProtectIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 4), MplsTunnelIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelPsProtectIndex.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsProtectIndex.setDescription('Uniquely identifies a TE tunnel Protection Switching group instance. This value must be equal to the tunnel id of TE tunnel Protection Switching group instance.')
hpnicfTeTunnelPsProtectIngressLSRId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 5), MplsExtendedTunnelId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelPsProtectIngressLSRId.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsProtectIngressLSRId.setDescription('Identity the ingress LSR associated with TE tunnel Protection Switching group instance.')
hpnicfTeTunnelPsProtectEgressLSRId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 6), MplsExtendedTunnelId()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelPsProtectEgressLSRId.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsProtectEgressLSRId.setDescription('Identity of the egress LSR associated with TE tunnel Protection Switching group instance.')
hpnicfTeTunnelPsProtectType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("oneToOne", 1), ("onePlusOne", 2))).clone('oneToOne')).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelPsProtectType.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsProtectType.setDescription('This value indicated TE tunnel Protection Switching group type. The default value is oneToOne.')
hpnicfTeTunnelPsRevertiveMode = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("revertive", 1), ("noRevertive", 2))).clone('revertive')).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelPsRevertiveMode.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsRevertiveMode.setDescription('This value indicated protect switch mode. The value must be revertive or nonRevertive, default value is revertive. ')
hpnicfTeTunnelPsWtrTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 60)).clone(24)).setUnits('30 seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelPsWtrTime.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsWtrTime.setDescription('The cycle time that switch to protect tunnel.')
hpnicfTeTunnelPsHoldOffTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 20))).setUnits('500ms').setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelPsHoldOffTime.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsHoldOffTime.setDescription('This value is switchback delay time. When detected the work path fault, switch to protect path after this time.')
hpnicfTeTunnelPsSwitchMode = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("uniDirectional", 1), ("biDirectional", 2))).clone('uniDirectional')).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelPsSwitchMode.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsSwitchMode.setDescription('This value indicated TE tunnel Protection Switching group switch mode.')
hpnicfTeTunnelPsWorkPathStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("noDefect", 2), ("inDefect", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelPsWorkPathStatus.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsWorkPathStatus.setDescription('This value indicates work path status. none, noDefect, inDefect will be used.')
hpnicfTeTunnelPsProtectPathStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("noDefect", 2), ("inDefect", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelPsProtectPathStatus.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsProtectPathStatus.setDescription('This value indicates protect path status. none, noDefect, inDefect(3) will be used.')
hpnicfTeTunnelPsSwitchResult = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 2, 3, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("workPath", 1), ("protectPath", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfTeTunnelPsSwitchResult.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsSwitchResult.setDescription('This value indicated current using path is work path or protect path.')
hpnicfTeTunnelNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 3))
hpnicfTeTunnelNotificationsPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 3, 0))
hpnicfTeTunnelPsSwitchWtoP = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 3, 0, 1)).setObjects(("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsWorkPathStatus"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsProtectPathStatus"))
if mibBuilder.loadTexts: hpnicfTeTunnelPsSwitchWtoP.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsSwitchWtoP.setDescription('This notification is generated when protect workgroup switch from work tunnel to protect tunnel.')
hpnicfTeTunnelPsSwitchPtoW = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 3, 0, 2)).setObjects(("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsWorkPathStatus"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsProtectPathStatus"))
if mibBuilder.loadTexts: hpnicfTeTunnelPsSwitchPtoW.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsSwitchPtoW.setDescription('This notification is generated when protect workgroup switch from protect tunnel to work tunnel.')
hpnicfTeTunnelConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 4))
hpnicfTeTunnelCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 4, 1))
hpnicfTeTunnelCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 4, 1, 1)).setObjects(("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelNotificationsGroup"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelScalarsGroup"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelStaticCrlspGroup"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelCorouteGroup"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpnicfTeTunnelCompliance = hpnicfTeTunnelCompliance.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelCompliance.setDescription('The compliance statement for SNMP.')
hpnicfTeTunnelGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 4, 2))
hpnicfTeTunnelNotificationsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 4, 2, 1)).setObjects(("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsSwitchPtoW"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsSwitchWtoP"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpnicfTeTunnelNotificationsGroup = hpnicfTeTunnelNotificationsGroup.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelNotificationsGroup.setDescription('This group contains MPLS Te Tunnel traps.')
hpnicfTeTunnelScalarsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 4, 2, 2)).setObjects(("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelMaxTunnelIndex"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpnicfTeTunnelScalarsGroup = hpnicfTeTunnelScalarsGroup.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelScalarsGroup.setDescription('Scalar object needed to implement MPLS te tunnels.')
hpnicfTeTunnelStaticCrlspGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 4, 2, 3)).setObjects(("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelStaticCrlspName"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelStaticCrlspStatus"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelStaticCrlspRole"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelStaticCrlspXCPointer"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpnicfTeTunnelStaticCrlspGroup = hpnicfTeTunnelStaticCrlspGroup.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelStaticCrlspGroup.setDescription('Objects for quering static-crlsp information.')
hpnicfTeTunnelCorouteGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 4, 2, 4)).setObjects(("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelCoBiMode"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelCoReverseLspInstance"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelCoReverseLspXCPointer"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpnicfTeTunnelCorouteGroup = hpnicfTeTunnelCorouteGroup.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelCorouteGroup.setDescription('Objects for quering Co-routed reverse crlsp information.')
hpnicfTeTunnelPsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 115, 4, 2, 5)).setObjects(("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsProtectIndex"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsProtectIngressLSRId"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsProtectEgressLSRId"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsProtectType"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsRevertiveMode"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsWtrTime"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsHoldOffTime"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsSwitchMode"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsWorkPathStatus"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsProtectPathStatus"), ("HPN-ICF-TE-TUNNEL-MIB", "hpnicfTeTunnelPsSwitchResult"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpnicfTeTunnelPsGroup = hpnicfTeTunnelPsGroup.setStatus('current')
if mibBuilder.loadTexts: hpnicfTeTunnelPsGroup.setDescription('Objects for quering protect workgroup information.')
mibBuilder.exportSymbols("HPN-ICF-TE-TUNNEL-MIB", hpnicfTeTunnelCoIndex=hpnicfTeTunnelCoIndex, hpnicfTeTunnelNotificationsPrefix=hpnicfTeTunnelNotificationsPrefix, hpnicfTeTunnelCoIngressLSRId=hpnicfTeTunnelCoIngressLSRId, hpnicfTeTunnelPsWorkPathStatus=hpnicfTeTunnelPsWorkPathStatus, hpnicfTeTunnelConformance=hpnicfTeTunnelConformance, hpnicfTeTunnelPsProtectPathStatus=hpnicfTeTunnelPsProtectPathStatus, hpnicfTeTunnelStaticCrlspInLabel=hpnicfTeTunnelStaticCrlspInLabel, hpnicfTeTunnelCoEgressLSRId=hpnicfTeTunnelCoEgressLSRId, hpnicfTeTunnelObjects=hpnicfTeTunnelObjects, hpnicfTeTunnelCompliance=hpnicfTeTunnelCompliance, hpnicfTeTunnelCoLspInstance=hpnicfTeTunnelCoLspInstance, hpnicfTeTunnelStaticCrlspRole=hpnicfTeTunnelStaticCrlspRole, hpnicfTeTunnelPsIndex=hpnicfTeTunnelPsIndex, hpnicfTeTunnelPsRevertiveMode=hpnicfTeTunnelPsRevertiveMode, hpnicfTeTunnel=hpnicfTeTunnel, hpnicfTeTunnelPsSwitchResult=hpnicfTeTunnelPsSwitchResult, hpnicfTeTunnelNotifications=hpnicfTeTunnelNotifications, hpnicfTeTunnelPsEgressLSRId=hpnicfTeTunnelPsEgressLSRId, hpnicfTeTunnelPsWtrTime=hpnicfTeTunnelPsWtrTime, hpnicfTeTunnelPsSwitchPtoW=hpnicfTeTunnelPsSwitchPtoW, hpnicfTeTunnelGroups=hpnicfTeTunnelGroups, hpnicfTeTunnelPsTable=hpnicfTeTunnelPsTable, hpnicfTeTunnelPsSwitchMode=hpnicfTeTunnelPsSwitchMode, hpnicfTeTunnelNotificationsGroup=hpnicfTeTunnelNotificationsGroup, hpnicfTeTunnelMaxTunnelIndex=hpnicfTeTunnelMaxTunnelIndex, hpnicfTeTunnelScalars=hpnicfTeTunnelScalars, hpnicfTeTunnelCoEntry=hpnicfTeTunnelCoEntry, hpnicfTeTunnelPsEntry=hpnicfTeTunnelPsEntry, hpnicfTeTunnelPsIngressLSRId=hpnicfTeTunnelPsIngressLSRId, hpnicfTeTunnelPsProtectIndex=hpnicfTeTunnelPsProtectIndex, hpnicfTeTunnelStaticCrlspXCPointer=hpnicfTeTunnelStaticCrlspXCPointer, hpnicfTeTunnelPsSwitchWtoP=hpnicfTeTunnelPsSwitchWtoP, hpnicfTeTunnelScalarsGroup=hpnicfTeTunnelScalarsGroup, hpnicfTeTunnelPsProtectType=hpnicfTeTunnelPsProtectType, hpnicfTeTunnelCompliances=hpnicfTeTunnelCompliances, hpnicfTeTunnelPsProtectIngressLSRId=hpnicfTeTunnelPsProtectIngressLSRId, PYSNMP_MODULE_ID=hpnicfTeTunnel, hpnicfTeTunnelStaticCrlspName=hpnicfTeTunnelStaticCrlspName, hpnicfTeTunnelPsHoldOffTime=hpnicfTeTunnelPsHoldOffTime, hpnicfTeTunnelStaticCrlspStatus=hpnicfTeTunnelStaticCrlspStatus, hpnicfTeTunnelPsGroup=hpnicfTeTunnelPsGroup, hpnicfTeTunnelStaticCrlspTable=hpnicfTeTunnelStaticCrlspTable, hpnicfTeTunnelStaticCrlspEntry=hpnicfTeTunnelStaticCrlspEntry, hpnicfTeTunnelStaticCrlspGroup=hpnicfTeTunnelStaticCrlspGroup, hpnicfTeTunnelCoReverseLspXCPointer=hpnicfTeTunnelCoReverseLspXCPointer, hpnicfTeTunnelPsProtectEgressLSRId=hpnicfTeTunnelPsProtectEgressLSRId, hpnicfTeTunnelCorouteGroup=hpnicfTeTunnelCorouteGroup, hpnicfTeTunnelCoTable=hpnicfTeTunnelCoTable, hpnicfTeTunnelCoReverseLspInstance=hpnicfTeTunnelCoReverseLspInstance, hpnicfTeTunnelCoBiMode=hpnicfTeTunnelCoBiMode)
|
co1 = 0
co2 = 0
co3 = 0
while True:
sexo = 'ana'
idade = -1
lu = 'ana'
print('=='*10)
while sexo not in 'fm':
sexo = str(input('\nQual seu sexo?[F/M]: ')).lower()
while 100 < idade or idade < 0:
idade = int(input('Qual sua idade?: '))
if idade >= 18:
co1 += 1
if sexo == 'm':
co2 += 1
if sexo == 'f' and idade <= 20:
co3 += 1
while lu not in 'sn':
lu = str(input('Deseja continuar?[S/N]: ')).lower()
if lu == 'n':
break
print(f'{co1} tem mais de 18 anos\n{co2} são homens\n{co3} são mulheres com menus de 20 anos')
|
# Escreva um programa que converta uma temperatura digitando em
# graus Celsius e converta para graus Fahrenheit.
temp_c = float(input('Temperatura em Celsius: '))
temp_f = (temp_c * 9)/5 + 32
print(f'{temp_c}ºC = {temp_f}ºF')
|
class Solution:
def swapNodes(self, head: ListNode, k: int) -> ListNode:
n1, n2, p = None, None, head
while p:
k -= 1
if n2:
n2 = n2.next
if k == 0:
n1 = p
n2 = head
p = p.next
n1.val, n2.val = n2.val, n1.val
return head
|
# # Define a generator
# def test():
# print("phase one")
# yield 5
# print("phase two")
# yield 10
# # call and return the generator
# gen=test()
# # print(gen) #"only print the object of generator"
# # work with for-loop
# for data in gen:
# print(data)
def generateEven(maxNumber):
number = 0
# yield number
# number+=2
# yield number
# number+=2
# yield number
while number<maxNumber:
yield number
number+=2
evenGenerator = generateEven(10)
for data in evenGenerator:
print(data)
|
c, r = 'ABCDEFGH', '12345678'
cell = input("Which chess square? ")
cc, cr = c.index(cell[0]), r.index(cell[1])
print("black") if (int(cc)+int(cr)) % 2 == 0 else print("white")
|
"""
An example FDW driver for accessing apps built using
`Falcon-API <https://github.com/Opentopic/falcon-api>`.
"""
__author__ = 'Jan Waś (jan.was@opentopic.com)'
__license__ = 'MIT'
|
#!/usr/bin/env python3
def encrypt(text, s):
result = ""
# transverse the plain text
for i in range(len(text)):
char = text[i]
# Encrypt uppercase characters in plain text
if (char.isupper()):
result += chr((ord(char) + s-65) % 26 + 65)
# Encrypt lowercase characters in plain text
else:
result += chr((ord(char) + s - 97) % 26 + 97)
return result
text = "ATTACKATONCE"
s = 4
print("Plain Text : " + text)
print("Shift pattern : " + str(s))
print("Cipher: " + encrypt(text, s)) |
# explicit conversion
a="32"
b=str(32)
print(a+b)
a=int(a)
b=int(b)
print(a+b)
# python does not convert implicitly in these cases |
def part_1(data):
return sum(int(line) for line in data)
def part_2(data):
cumulative = 0
reached = {0}
while True:
for line in data:
cumulative += int(line)
if cumulative in reached:
return cumulative
reached.add(cumulative)
if __name__ == '__main__':
with open('day_01_input.txt', 'r') as f:
inp = f.readlines()
print("Part 1 answer: " + str(part_1(inp)))
print("Part 2 answer: " + str(part_2(inp)))
|
# Массив частей речи для отзеркаливания
reflections = {
#----Личные местоимоения--------
"я": "ты", "ты": "я",
"мы": "вы", "вы": "мы",
"меня": "тебя", "тебя": "меня",
"мне": "тебе","тебе": "мне",
"мой": "твой", "твой": "мой",
"моя": "твоя", "твоя": "моя",
"мое": "твое", "твое": "мое",
"наш": "ваш", "ваш": "наш",
"мной": "тобой", "тобой": "мной",
"себя": "тебя",
"себе": "тебе",
"собой": "тобой",
"свое": "твое",
#------глаголы------------
"буду": "будешь", "будешь": "буду",
"хочу": "хочешь", "хочешь": "хочу",
"хожу": "ходишь", "ходишь": "хожу",
"думаю": "думаешь", "думаешь": "думаю",
"пойду": "пойдешь", "пойдешь": "пойду",
"смотрю": "смотришь", "смотришь": "смотрю",
"делаю": "делаешь", "делаешь": "делаю",
}
# ----------------------Список местоимений(пока просто список)
# ----Личные местоимения 3-е лицо
# он, она, оно, они (+ оне)
# ----Вопросительные местримения
# кто?, что?, какой?, каков?, чей?, который?, сколько?, где?, когда?, куда?, откуда?, зачем?
# ----Указательные местримения
#этот, тот, такой, таков, тут, здесь, сюда, туда, оттуда, отсюда, тогда, поэтому,затем,
# ----Определительные местоимения
#весь, всякий, все, сам, самый, каждый, любой, другой, иной, всяческий, всюду, везде, всегда
# ----Отрицательные местоимения
#никто, ничто, некого, нечего, никакой, ничей, негде
# ----Неопределенные местоимения
#некто, нечто, некий, некоторый, несколько, кое-кто, кое-где, кое-что, кое-куда, какой-либо, сколько-нибудь, куда-нибудь, зачем-нибудь, чей-либо
|
class Resistor:
def __init__(self, p, R):
self.type = 'R'
self.p = p
self.p1 = p.split('-')[0]
self.p2 = p.split('-')[1]
self.R = R
self.Y = 1/R
self.v = []
self.ic = []
def resolveInitialConditions(self):
# self.v.append(0)
# self.i.append(0)
pass
def resolveIh(self):
pass
def resolveV(self, vm):
p1 = int(self.p1)
p2 = int(self.p2)
if p1 == 0:
ddp = vm[p2-1][0]
if p2 == 0:
ddp = vm[p1-1][0]
if p1 != 0 and p2 != 0:
ddp = vm[p1-1][0] - vm[p2-1][0]
vr = float(ddp)
self.v.append(vr)
return vr
def resolveI(self):
ir = float(self.v[-1]/self.R)
self.ic.append(ir) |
def read_file(file_path):
with open(file_path) as file:
return file.read().split("|")
def parser_list(questions):
return [question.strip() for question in questions if question.strip()]
|
def main():
phrase = input("Choose a phrase: ")
# Write your code here
main() |
COMPONENTS_BANNER_DOMESTIC = 'eu-exit-banner-domestic'
COMPONENTS_BANNER_INTERNATIONAL = 'eu-exit-banner-international'
EUEXIT_DOMESTIC_NEWS = 'eu-exit-news'
EUEXIT_INTERNATIONAL_NEWS = 'international-eu-exit-news'
EUEXIT_DOMESTIC_FORM = 'eu-exit-domestic'
EUEXIT_FORM_SUCCESS = 'eu-exit-form-success'
EUEXIT_INTERNATIONAL_FORM = 'eu-exit-international'
FIND_A_SUPPLIER_INDUSTRY_LANDING = 'industries-landing-page'
FIND_A_SUPPLIER_LANDING = 'landing-page'
FIND_A_SUPPLIER_INDUSTRY_CONTACT = 'industry-contact'
GREAT_GET_FINANCE = 'get-finance'
GREAT_ADVICE = 'advice'
GREAT_HOME = 'great-domestic-home'
GREAT_HOME_OLD = 'home'
GREAT_HOME_INTERNATIONAL = 'great-international-home'
GREAT_HOME_INTERNATIONAL_OLD = 'international'
GREAT_CAMPAIGNS = 'campaigns'
GREAT_MARKETING_PAGES = 'export-readiness-marketing-pages'
GREAT_PRIVACY_AND_COOKIES = 'privacy-and-cookies'
GREAT_SITE_POLICY_PAGES = 'export-readiness-site-policy-pages'
GREAT_TERMS_AND_CONDITIONS = 'terms-and-conditions'
GREAT_ACCESSIBILITY_STATEMENT = 'accessibility-statement'
HELP_ACCOUNT_COMPANY_NOT_FOUND = 'company-not-found'
HELP_ACCOUNT_SOLE_TRADER_ADDRESS_NOT_FOUND = 'sole-trader-address-not-found'
HELP_COMPANIES_HOUSE_LOGIN = 'companies-house-login'
HELP_EXOPP_ALERTS_IRRELEVANT = 'alerts-not-relevant'
HELP_EXOPPS_NO_RESPONSE = 'opportunity-no-response'
HELP_EXPORTING_TO_UK = 'exporting-to-the-uk'
HELP_FORM_SUCCESS = 'contact-success-form'
HELP_FORM_SUCCESS_BEIS = 'contact-beis-success'
HELP_FORM_SUCCESS_DEFRA = 'contact-defra-success'
HELP_FORM_SUCCESS_DSO = 'contact-dso-success-form'
HELP_FORM_SUCCESS_EVENTS = 'contact-events-success-form'
HELP_FORM_SUCCESS_EXPORT_ADVICE = 'contact-export-advice-success-form'
HELP_FORM_SUCCESS_FEEDBACK = 'contact-feedback-success-form'
HELP_FORM_SUCCESS_FIND_COMPANIES = 'contact-find-companies-success-form'
HELP_FORM_SUCCESS_INTERNATIONAL = 'contact-international-success-form'
HELP_FORM_SUCCESS_SOO = 'contact-soo-success-form'
HELP_MISSING_VERIFY_EMAIL = 'no-verification-email'
HELP_PASSWORD_RESET = 'password-reset'
HELP_VERIFICATION_CODE_ENTER = 'verification-letter-code'
HELP_VERIFICATION_CODE_LETTER = 'no-verification-letter'
HELP_VERIFICATION_CODE_MISSING = 'verification-missing'
INTERNATIONAL_MARKETING_PAGES = 'great-international-marketing-pages'
INTERNATIONAL_UK_HQ_PAGES = 'great-international-uk-hq-pages'
INVEST_SECTOR_LANDING_PAGE = 'sector-landing-page'
INVEST_GUIDE_LANDING_PAGE = 'setup-guide-landing-page'
INVEST_HIGH_POTENTIAL_OPPORTUNITY_FORM = 'high-potential-opportunity-form'
INVEST_HIGH_POTENTIAL_OPPORTUNITY_FORM_SUCCESS = (
'high-potential-opportunity-submit-success'
)
INVEST_UK_REGION_LANDING_PAGE = 'uk-region-landing-page'
INVEST_HOME_PAGE = 'home-page'
PERFORMANCE_DASHBOARD = 'performance-dashboard'
PERFORMANCE_DASHBOARD_EXOPPS = 'performance-dashboard-export-opportunities'
PERFORMANCE_DASHBOARD_INVEST = 'performance-dashboard-invest'
PERFORMANCE_DASHBOARD_NOTES = 'performance-dashboard-notes'
PERFORMANCE_DASHBOARD_SOO = 'performance-dashboard-selling-online-overseas'
PERFORMANCE_DASHBOARD_TRADE_PROFILE = 'performance-dashboard-trade-profiles'
# New tree-based routing slugs
CONTACT_FORM_SLUG = 'contact'
FORM_SUCCESS_SLUG = 'success'
FAS_INTERNATIONAL_HOME_PAGE = 'trade'
INVEST_INTERNATIONAL_HOME_PAGE = 'invest'
INVEST_INTERNATIONAL_REGION_LANDING_PAGE = 'uk-regions'
INVEST_INTERNATIONAL_HIGH_POTENTIAL_OPPORTUNITIES = 'high-potential-opportunities'
|
class APIException(Exception):
"""General exception thrown by an API view, contains a message for the JSON response."""
def __init__(self, message, status_code=400) -> None:
super().__init__(self)
self.message: str = message
self.status_code: int = status_code
def __repr__(self) -> str:
return f'<APIException (Code: {self.status_code}) [Message: {self.message}]>'
class _500Exception(APIException):
def __init__(self) -> None:
super().__init__(
message='Something went wrong with your request.', status_code=500
)
class _405Exception(APIException):
def __init__(self) -> None:
super().__init__(
message='Method not allowed for this resource.', status_code=405
)
class _404Exception(APIException):
def __init__(self, resource: str = 'Resource') -> None:
super().__init__(
message=f'{resource} does not exist.', status_code=404
)
class _403Exception(APIException):
"""
Occurrences of this exception are (to be) logged. This exception is also
capable of throwing a 404 to masquerade hidden endpoints. To do so, set
the masquerade param to True.
"""
def __init__(self, message: str = None, masquerade: bool = False) -> None:
super().__init__(
message=(
message
or 'You do not have permission to access this resource.'
),
status_code=403,
)
if masquerade:
self.status_code = 404
self.message = 'Resource does not exist.'
class _401Exception(APIException):
def __init__(self, message: str = None) -> None:
super().__init__(
message=(message or 'Invalid authorization.'), status_code=401
)
class _312Exception(APIException):
"Alastor please stay away from this codebase, thanks!"
def __init__(self, lock: bool = False) -> None:
super().__init__(
message=f'Your account has been {"locked" if lock else "disabled"}.',
status_code=403,
)
|
def extractFujitranslationWordpressCom(item):
'''
Parser for 'fujitranslation.wordpress.com'
'''
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('My Wife is a Martial Alliance Head', 'My Wife is a Martial Alliance Head', 'translated'),
('My CEO Wife', 'My CEO Wife', 'translated'),
('Mai Kitsune Waifu', 'Mai Kitsune Waifu', 'translated'),
('Rebirth of the Super Thief', 'Rebirth of the Super Thief', 'translated'),
('Matchless Supernatural of the Three Kingdom', 'Matchless Supernaturals of the Three Kingdom', 'translated'),
('Matchless Supernaturals of the Three Kingdom', 'Matchless Supernaturals of the Three Kingdom', 'translated'),
]
for tagname, name, tl_type in tagmap:
if tagname in item['tags']:
return buildReleaseMessageWithType(item, name, vol, chp, frag=frag, postfix=postfix, tl_type=tl_type)
return False |
class Solution:
def subarraySum(self, nums: List[int], k: int) -> int:
# We will construct an additional dictionary to keep the sum of
# all the elements before the index, for example
# given nums = [1, 4, 0, 3, 2]
# the element sum list: sum_list = [0, 1, 5, 5, 8, 10]
# Then we turn the sum_list into a dictionary
# sum_dict = {
# 0: 1
# 1: 1
# 5: 2
# 8: 1
# 10: 1
# }
# The key of the sum_dict stands for the sum
# The value of the key would be the number of substrings to
# get to this value
# Time complexity: O(n)
# Space complexity: O(2n) = O(n)
sum_dict = {0: 1}
count = s = 0
# Iterate nums
for n in nums:
s += n
# Check if "k" can be formed by "n" and previous sums: "s-k"
count += sum_dict.get(s - k, 0)
# Add new sum into the dictionary
if s in sum_dict:
sum_dict[s] += 1
else:
sum_dict[s] = 1
return count
|
# -*- coding: utf-8 -*-
"""SF-TOOLS PACKAGE INFO
This module provides some basic information about the sf_tools package.
:Author: Samuel Farrens <samuel.farrens@cea.fr>
:Version: 2.0.4
"""
# Package Version
version_info = (2, 0, 4)
__version__ = '.'.join(str(c) for c in version_info)
__about__ = ('sf_tools \n\n '
'Author: Samuel Farrens \n '
'Year: 2018 \n '
'Email: samuel.farrens@cea.fr \n '
'Website: https://sfarrens.github.io \n\n '
'sf_tools is a series of Python modules with applications to '
'image analysis signal processing and statistics. \n\n '
'Full documentation available here: '
'https://sfarrens.github.io/sf_tools/')
|
"""Hershey Vector Font.
See http://paulbourke.net/dataformats/hershey/
"""
# print(hershey.simplex[0])
simplex = [
[0,16, # Ascii 32
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1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-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],
[26,20, # Ascii 36
8,25, 8,-4,-1,-1,12,25,12,-4,-1,-1,17,18,15,20,12,21, 8,21, 5,20, 3,
18, 3,16, 4,14, 5,13, 7,12,13,10,15, 9,16, 8,17, 6,17, 3,15, 1,12, 0,
8, 0, 5, 1, 3, 3,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],
[31,24, # Ascii 37
21,21, 3, 0,-1,-1, 8,21,10,19,10,17, 9,15, 7,14, 5,14, 3,16, 3,18, 4,
20, 6,21, 8,21,10,20,13,19,16,19,19,20,21,21,-1,-1,17, 7,15, 6,14, 4,
14, 2,16, 0,18, 0,20, 1,21, 3,21, 5,19, 7,17, 7,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],
[34,26, # Ascii 38
23,12,23,13,22,14,21,14,20,13,19,11,17, 6,15, 3,13, 1,11, 0, 7, 0, 5,
1, 4, 2, 3, 4, 3, 6, 4, 8, 5, 9,12,13,13,14,14,16,14,18,13,20,11,21,
9,20, 8,18, 8,16, 9,13,11,10,16, 3,18, 1,20, 0,22, 0,23, 1,23, 2,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,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-1,-1,-1,-1,-1],
[20,18, # Ascii 63
3,16, 3,17, 4,19, 5,20, 7,21,11,21,13,20,14,19,15,17,15,15,14,13,13,
12, 9,10, 9, 7,-1,-1, 9, 2, 8, 1, 9, 0,10, 1, 9, 2,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],
[55,27, # Ascii 64
18,13,17,15,15,16,12,16,10,15, 9,14, 8,11, 8, 8, 9, 6,11, 5,14, 5,16,
6,17, 8,-1,-1,12,16,10,14, 9,11, 9, 8,10, 6,11, 5,-1,-1,18,16,17, 8,
17, 6,19, 5,21, 5,23, 7,24,10,24,12,23,15,22,17,20,19,18,20,15,21,12,
21, 9,20, 7,19, 5,17, 4,15, 3,12, 3, 9, 4, 6, 5, 4, 7, 2, 9, 1,12, 0,
15, 0,18, 1,20, 2,21, 3,-1,-1,19,16,18, 8,18, 6,19, 5],
[8,18, # Ascii 65
9,21, 1, 0,-1,-1, 9,21,17, 0,-1,-1, 4, 7,14, 7,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],
[23,21, # Ascii 66
4,21, 4, 0,-1,-1, 4,21,13,21,16,20,17,19,18,17,18,15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
|
chars_to_remove = [',', '.', '!', ':', ';', '-', ' ', '?']
def get_longest_palendromes(text):
if not text: return []
if len(text) <= 2: return [text]
palendromes = []
for window_size in range(len(text), 1, -1):
num_shifts = len(text) - window_size
for start_index in range(0, num_shifts + 1):
end_index = start_index + window_size
substring = text[start_index:end_index]
if is_palendrome(substring):
palendromes.append(substring)
if len(palendromes) > 0:
break
return palendromes
def is_palendrome(text):
text = _clean(text)
return _is_palendrome(text)
def _clean(text):
return ''.join([char for char in text.lower() if char not in chars_to_remove])
def _is_palendrome(text):
return text and text == text[::-1]
if __name__ == '__main__':
tests = [
"", # false
"lotion", # false
"racecar", # true
"Racecar", # true
"Step on no p ets", # true
"No lemon no melons", # false
"Eva - can I see bees in a cave?", # true
"A man, a plan, a canal: Panama!", # true
"Aaaaa", # ["Aaaaa"]
"Babcaaba", # ["aa"] --------> correction, should be ["bab", "aba"]
"A racecar", # ["racecar"]
"No lemon no melons", # ["No lemon no melon"]
]
for test in tests:
print(f'\nCase: {test}')
print(f'Cleaned: {_clean(test)}')
print(f'Is Palendrome: {is_palendrome(test)}')
print(f'Longest Palendromes: {get_longest_palendromes(test)}')
|
"""Problem 30 of https://projecteuler.net"""
def problem_30():
"""Solution to problem 30."""
count = 0
# No solution can exist above 9^5 * 6.
for number in range(2, (9 ** 5) * 6):
digit_sum = sum([int(x) ** 5 for x in str(number)])
if number == digit_sum:
count += number
answer = count
return answer
|
# %%
#######################################
# THIS IS NOT THE SAME AS: my_pcap.getlayer(TCP)
def scapyget_tcp(packet_list: scapy.plist.PacketList):
result_list = [ pckt for pckt in packet_list if pckt.haslayer('TCP')]
return PacketList(result_list)
|
# SPDX-License-Identifier: MIT
# Copyright (C) 2020-2021 Mobica Limited
"""Provide error handling helpers"""
NO_ERROR = 0
CONFIGURATION_ERROR = 1
REQUEST_ERROR = 2
FILESYSTEM_ERROR = 3
INTEGRATION_ERROR = 4 # Indicates that some assumption about how the Jira works seems to be false
INVALID_ARGUMENT_ERROR = 5
INPUT_DATA_ERROR = 6 # There is some problem with input data
JIRA_DATA_ERROR = 7 # There is some problem with the jira stored data
class CjmError(Exception):
"""Exception to be raised by cjm library functions and by cjm-* and sm-* scripts"""
def __init__(self, code):
super().__init__(code)
self.code = code
|
def change_variation(change: float) -> float:
"""Helper to convert change variation
Parameters
----------
change: float
percentage change
Returns
-------
float:
converted value
"""
return (100 + change) / 100
def calculate_hold_value(changeA: float, changeB: float, proportion: float) -> float:
"""Calculates hold value of two different coins
Parameters
----------
changeA: float
price change of crypto A in percentage
changeB: float
price change of crypto B in percentage
proportion: float
percentage of first token in pool
Returns
-------
float:
hold value
"""
return (change_variation(changeA) * proportion) / 100 + (
(change_variation(changeB) * (100 - proportion)) / 100
)
def calculate_pool_value(changeA, changeB, proportion):
"""Calculates pool value of two different coins
Parameters
----------
changeA: float
price change of crypto A in percentage
changeB: float
price change of crypto B in percentage
proportion: float
percentage of first token in pool
Returns
-------
float:
pool value
"""
return pow(change_variation(changeA), proportion / 100) * pow(
change_variation(changeB), (100 - proportion) / 100
)
|
# -*- coding: utf-8 -*-
def formatter(name=None):
def decorate(func):
func._formatter = name
return func
return decorate
|
_UNSET = object()
class PyErr:
def __init__(self, type=_UNSET, value=_UNSET, traceback=_UNSET):
if not(type is _UNSET):
self.type = type
if not(value is _UNSET):
self.value = value
if not(traceback is _UNSET):
self.traceback = traceback
|
def repeat_string(string, times):
return string * times
text = input()
number = int(input())
result = repeat_string(text, number)
print(result)
|
#Ask the user for a string and print out whether this string is a palindrome or not.
# (A palindrome is a string that reads the same forwards and backwards.)
str = input("Let's have a string, shall we?")
palindrome = str[::-1]==str
if palindrome:
print(str,"is a palindrome")
else:
print(str, "is not a palindrome") |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Feb 12 14:43:23 2017
@author: Nadiar
"""
def deep_reverse(L):
""" assumes L is a list of lists whose elements are ints
Mutates L such that it reverses its elements and also
reverses the order of the int elements in every element of L.
It does not return anything.
"""
for l in L:
l.reverse()
return L.reverse()
L = [[0, 1, 2], [1, 2, 3], [3, 2, 1], [10, -10, 100]]
deep_reverse(L)
print(L) |
# Problem URL: https://leetcode.com/problems/reverse-integer/
class Solution:
def reverse(self, x: int) -> int:
# Handling Negative Input
neg_flag = 0
if x<0:
neg_flag = 1
string = [i for i in str(x)]
if neg_flag == 1:
string = string[1:]
reversed_string = string[::-1]
final_string = ''
for i in reversed_string:
final_string += i
final_int = int(final_string)
# Handling Negative Input
if neg_flag == 1:
final_int = -final_int
# Limit Checking
if (final_int < -2**31 or final_int > 2**31 - 1):
return 0
return final_int |
def binaryToDecimal(arr):
arr = str(arr)
arr = arr[::-1]
length = len(arr)-1
if int(arr[length]) != 1:
length -= 1
count = 0
for i in range(length,-1,-1):
count += int(arr[i])*(2**i)
return count
def binaryToDecimal2(value):
return int(str(value),2)
def binaryToDecimal3(value):
count, i = 0, 0
while value>0:
digit = value%10
count += (digit << i)
value //= 10
i += 1
return count
print(binaryToDecimal3(1011001)) |
"""
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
"""
n,k=map(int,input().split())
a=[]
for _ in[0]*n:
x,y=map(int,input().split())
a+=[51*(100-x)+y]
a=sorted(a)
r=i=l=0
while i<n and (a[i]==l or i<k):
if a[i]!=l:r=0
r+=1
l=a[i]
i+=1
print(r)
|
#/ <reference path="./testBlocks/mb.ts" />
item = images.createBigImage("""
. . . . . . . . . . . . . . .
. # # # . . # # # . . # # # .
. # . # . . # . # . . # . # .
. # # # . . # # # . . # # # .
. . . . . . . . . . . . . . .
""")
z = images.createBigImage("""
. .
. #
. #
. #
. .
""") |
"""
Sort method works only for lists
Sorted functions works for any iterable
you can specify the params reverse in both of then
and you can also specify a key
IMPORTANT functions never modify args
"""
list = ["abacate", "kiwi", "caju", "damasco", "coco"]
s = sorted(list, reverse=True)
print(s)
|
# coding=utf-8
class DijkstraAlgorithm:
def find_min_cost_vertice(self, costs: dict, processed: set):
""" Find the minimum cost and not processed vertice in costs."""
not_processed_vertice_costs = {
vertice: cost for vertice, cost in costs.items()
if vertice not in processed
}
return min(
not_processed_vertice_costs,
default=None,
key=lambda x: not_processed_vertice_costs[x],
)
def get_path(self, parents: dict, start_vertice, end_vertice):
""" Calculate path from start vertice to end vertice by parents. """
result = [end_vertice]
while result[0] != start_vertice:
prev_vertice = parents.get(result[0])
if prev_vertice:
result.insert(0, prev_vertice)
else:
break
return result
def run(self, graph: dict, start_vertice, end_vertice):
# process the start vertice
costs = {
vertice: cost for vertice, cost in graph[start_vertice].items()
}
parents = {vertice: start_vertice for vertice in graph[start_vertice]}
processed = {start_vertice}
# find the minimum cost vertice in costs, update neighbors
# until all vertice in costs have been processed
vertice = self.find_min_cost_vertice(costs, processed)
while vertice is not None:
cost = costs[vertice]
neighbors_cost = graph[vertice]
for neighbor in neighbors_cost:
new_cost = cost + neighbors_cost[neighbor]
if neighbor in costs and costs[neighbor] <= new_cost:
pass
else:
costs[neighbor] = new_cost
parents[neighbor] = vertice
processed.add(vertice)
vertice = self.find_min_cost_vertice(costs, processed)
return (
costs[end_vertice], # costs
self.get_path(parents, start_vertice, end_vertice), # path
)
|
print("********** BIENVENIDO AL MENU INTERACTIVO ********** ")
print("Que opcion desea Seleccionar? ")
print("1)Saludar")
print("2)Sumar dos numeros")
print("3)Salir del sistema")
Opcion = int( input() )
while Opcion<=3:
if (Opcion==1):
nombre = input("Enter your name : ")
print("Hola, mucho gusto ",nombre)
break
elif (Opcion==2):
print("Ingrese primer numero: ")
num1 = int( input() )
print("Ingrese segundo numero: ")
num2 = int( input() )
print("La suma de sus numeros es :",num1+num2)
break
else:
print("Saliendo del sistema....Gracias")
break
|
def bicepup():
i01.setArmSpeed("right", 1.0, 1.0, 1.0, 1.0)
i01.rightArm.bicep.attach()
i01.rightArm.bicep.moveTo(180)
sleep(1)
i01.rightArm.bicep.detach()
|
class Car:
def __init__(self, maker, model):
carManufacturer = maker
carModel = model
carModel = ""
carManufacturer = ""
carYear = 0
def setModel(self, model):
self.carModel = model
def setManufacturer(self, manufacturer):
self.carManufacturer = manufacturer
def setYear(self, year):
self.carYear = year
print("something") |
def atividade():
print( "Olá professor" )
atividade()
|
"""
Character Picture Grid.
Makes a heart.
"""
grid = [['.', '.', '.', '.', '.', '.'],
['.', 'O', 'O', '.', '.', '.'],
['O', 'O', 'O', 'O', '.', '.'],
['O', 'O', 'O', 'O', 'O', '.'],
['.', 'O', 'O', 'O', 'O', 'O'],
['O', 'O', 'O', 'O', 'O', '.'],
['O', 'O', 'O', 'O', '.', '.'],
['.', 'O', 'O', '.', '.', '.'],
['.', '.', '.', '.', '.', '.']]
for y in range(6):
for x in range(9): # Loop within loop to switch x and y.
print(grid[x][y], end='') # Print the # or space.
print() # Print a newline at the end of the row.
|
def hash_key(string):
multiplication = 1
for i in string:
multiplication *= ord(i)
return (multiplication % 97)
for i in range(int(input())):
str1, str2 = input().split()
str1_key = hash_key(str1)
str2_key = hash_key(str2)
if str1_key == str2_key:
print("YES")
else:
print("NO")
|
#!/usr/bin/env python
"""Tests for `oops_fhir` package."""
def test_test():
"""Sample pytest test function with the pytest fixture as an argument."""
assert True
|
def sim_shift(ref, ref_center, ref_length, shift=0, rec=None, padding=False):
"""
:param ref: Reference signal.
:param ref_center: Where to center the simulated signal set.
:param ref_length: The length of the signal equidistant around center.
:param shift: How much shift should be added to the simulated received signal.
:param rec: A received signal can be provided for the correlation simulation.
:param padding: Use padding to add zeros on the reference signal; ex. for generating a plot.
:return: ref, rec
:rtype: tuple
"""
sim_center = ref_center + shift
fill_length = int(ref_length / 2)
index_error = not ((ref_center - ref_length) > 0)
index_error |= not ((ref_center + ref_length) < len(ref))
if index_error:
raise IndexError("Center and length result in an out of bounds error in ref")
if rec:
index_error |= not ((ref_center + ref_length) < len(rec))
if index_error:
raise IndexError("Center and length result in an out of bounds error in rec")
ref_ret = ref[ref_center - fill_length: ref_center + fill_length]
if padding:
fill_zeros = [0 for zz in range(0, fill_length)]
ref_ret = fill_zeros + list(ref_ret)
ref_ret += fill_zeros
if rec:
rec_ret = rec[sim_center - ref_length:sim_center + ref_length]
else:
rec_ret = ref[sim_center - ref_length: sim_center + ref_length]
return ref_ret, rec_ret
|
{
"targets": [{
"target_name": "opendkim",
"sources": [
"src/opendkim_body_async.cc",
"src/opendkim_chunk_async.cc",
"src/opendkim_chunk_end_async.cc",
"src/opendkim_eoh_async.cc",
"src/opendkim_eom_async.cc",
"src/opendkim_flush_cache_async.cc",
"src/opendkim_header_async.cc",
"src/opendkim_sign_async.cc",
"src/opendkim_verify_async.cc",
"src/opendkim.cc",
],
"include_dirs": [
"<!(node -e \"require('nan')\")"
],
"libraries": [
"-lopendkim"
]
}]
}
|
# Objective
# Today, we're delving into Inheritance. Check out the attached tutorial for learning materials and an instructional video.
# Task
# You are given two classes, Person and Student, where Person is the base class and Student is the derived class. Completed code for Person and a declaration for Student are provided for you in the editor. Observe that Student inherits all the properties of Person.
# Complete the Student class by writing the following:
# A Student class constructor, which has
# parameters:
# A string,
# .
# A string,
# .
# An integer,
# .
# An integer array (or vector) of test scores,
# .
# A char calculate() method that calculates a Student object's average and returns the grade character representative of their calculated average:
# [Grading.png]
# Input Format
# The locked stub code in the editor reads the input and calls the Student class constructor with the necessary arguments. It also calls the calculate method which takes no arguments.
# The first line contains
# , , and , separated by a space. The second line contains the number of test scores. The third line of space-separated integers describes
# .
# Constraints
# Output Format
# Output is handled by the locked stub code. Your output will be correct if your Student class constructor and calculate() method are properly implemented.
# Sample Input
# Heraldo Memelli 8135627
# 2
# 100 80
# Sample Output
# Name: Memelli, Heraldo
# ID: 8135627
# Grade: O
# Explanation
# This student had
# scores to average: and . The student's average grade is . An average grade of corresponds to the letter grade , so the calculate() method should return the character'O'.
class Person:
def __init__(self, firstName, lastName, idNumber):
self.firstName = firstName
self.lastName = lastName
self.idNumber = idNumber
def printPerson(self):
print("Name:", self.lastName + ",", self.firstName)
print("ID:", self.idNumber)
class Student(Person):
# Class Constructor
#
# Parameters:
# firstName - A string denoting the Person's first name.
# lastName - A string denoting the Person's last name.
# id - An integer denoting the Person's ID number.
# scores - An array of integers denoting the Person's test scores.
#
# Write your constructor here
def __init__(self,firstName,lastName,idNumber,scores):
# super(Person,self).__init__(firstName,lastName,idNumber)when the super class inherits from object
self.firstName=firstName
self.lastName=lastName
self.idNumber=idNumber
self.scores=scores
def calculate(self):
score=self.scores
total=0
for sc in score:
total+=sc
grade=total/len(score)
if (grade>=90 and grade<=100):
grades='O'
elif(grade>=80 and grade<90):
grades='E'
elif(grade>=70 and grade<80):
grades='A'
elif(grade>=55 and grade<70):
grades='P'
elif (grade>=40 and grade<55):
grades='D'
else:
grades='T'
return grades
# Function Name: calculate
# Return: A character denoting the grade.
#
# Write your function here
line = input().split() |
class ChannelDoesNotExist(Exception):
pass
class LevelDoesNotExist(Exception):
pass
class HandlerError(Exception):
pass
|
# -*- coding: utf-8 -*-
################################################
#
# URL:
# =====
# https://leetcode.com/problems/PROBLEM_TITLE/
#
# DESC:
# =====
# PROBLEM DESCRIPTION
################################################
class Solution:
def method(self) -> int:
return 0
|
"""Checks view access for Permissions"""
METHODS = (
'GET',
'POST',
)
# pylint: disable=too-few-public-methods
class CheckAcess:
"""
Checks the permissions for Request.
"""
def __init__(self, request, permissions):
self.request = request
self.permissions = permissions
def have_view_access(self):
"""
Checks if any of the permission is true for request.
"""
method_based = tuple(
filter(
lambda x: bool(x[1](self.request)),
tuple(
filter(
lambda x: x[0] == 'method',
self.permissions
)
)
)
)
class_based = tuple(
filter(
lambda x: bool(x[1](self.request)()),
tuple(
filter(
lambda x: x[0] == 'class',
self.permissions
)
)
)
)
attr_based = tuple(
filter(
lambda x: x[2] == getattr(self.request.user, x[1]),
tuple(
filter(
lambda x: x[0] == 'attr',
self.permissions
)
)
)
)
allowed_permissions = tuple(
filter(
lambda x: self.request.method in (x[3] if len(x) == 4 else METHODS),
attr_based
)
) + tuple(
filter(
lambda x: self.request.method in (x[2] if len(x) == 3 else METHODS),
method_based + class_based
)
)
if any(allowed_permissions):
return True
return False
|
# -*- coding: utf-8 -*-
class _CommitOnSuccess(object):
def __init__(self, session):
self.session = session
def __enter__(self):
self.transaction = self.session.begin_nested()
def __exit__(self, exc_type, exc_value, traceback):
try:
if exc_value is not None:
self.transaction.rollback()
else:
self.transaction.commit()
except:
self.transaction.rollback()
raise
commit_on_success = _CommitOnSuccess
|
#
# PySNMP MIB module IEEE8021-EVB-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IEEE8021-EVB-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:52:20 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint")
ieee8021BridgePhyPort, = mibBuilder.importSymbols("IEEE8021-BRIDGE-MIB", "ieee8021BridgePhyPort")
ieee802dot1mibs, IEEE8021BridgePortNumber, IEEE8021PbbComponentIdentifier = mibBuilder.importSymbols("IEEE8021-TC-MIB", "ieee802dot1mibs", "IEEE8021BridgePortNumber", "IEEE8021PbbComponentIdentifier")
InterfaceIndexOrZero, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero")
VlanIndex, = mibBuilder.importSymbols("Q-BRIDGE-MIB", "VlanIndex")
NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup")
TimeTicks, ModuleIdentity, Integer32, IpAddress, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Counter64, NotificationType, Gauge32, ObjectIdentity, Unsigned32, MibIdentifier, iso = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "ModuleIdentity", "Integer32", "IpAddress", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Counter64", "NotificationType", "Gauge32", "ObjectIdentity", "Unsigned32", "MibIdentifier", "iso")
DisplayString, StorageType, MacAddress, TruthValue, RowStatus, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "StorageType", "MacAddress", "TruthValue", "RowStatus", "TextualConvention")
ieee8021BridgeEvbMib = ModuleIdentity((1, 3, 111, 2, 802, 1, 1, 24))
ieee8021BridgeEvbMib.setRevisions(('2014-12-15 00:00', '2012-02-15 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ieee8021BridgeEvbMib.setRevisionsDescriptions(('Published as part of IEEE Std 802.1Q 2014 revision. Cross references updated and corrected. ieee8021BridgeEvbVSIMvFormat added. ieee8021BridgeEvbVsiMgrID16 added and ieee8021BridgeEvbVsiMgrID deprecated. ieee8021BridgeEvbVDPCounterDiscontinuity description clarified. Conformance and groups fixed. Fixed maintenance item to IEEE Std 802.1Qbg-2012.', 'Initial version published in IEEE Std 802.1Qbg.',))
if mibBuilder.loadTexts: ieee8021BridgeEvbMib.setLastUpdated('201412150000Z')
if mibBuilder.loadTexts: ieee8021BridgeEvbMib.setOrganization('IEEE 802.1 Working Group')
if mibBuilder.loadTexts: ieee8021BridgeEvbMib.setContactInfo(' WG-URL: http://www.ieee802.org/1 WG-EMail: stds-802-1@ieee.org Contact: IEEE 802.1 Working Group Chair Postal: C/O IEEE 802.1 Working Group IEEE Standards Association 445 Hoes Lane Piscataway NJ 08854 USA E-mail: STDS-802-1-L@LISTSERV.IEEE.ORG')
if mibBuilder.loadTexts: ieee8021BridgeEvbMib.setDescription('The EVB MIB module for managing devices that support Ethernet Virtual Bridging. Unless otherwise indicated, the references in this MIB module are to IEEE Std 802.1Q-2014. Copyright (C) IEEE (2014). This version of this MIB module is part of IEEE802.1Q; see the draft itself for full legal notices.')
ieee8021BridgeEvbNotifications = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 24, 0))
ieee8021BridgeEvbObjects = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 24, 1))
ieee8021BridgeEvbConformance = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 24, 2))
ieee8021BridgeEvbSys = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 24, 1, 1))
ieee8021BridgeEvbSysType = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("evbBridge", 1), ("evbStation", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysType.setReference('5.23,5.24')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysType.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysType.setDescription('The evbSysType determines if this is an EVB Bridge or EVB station.')
ieee8021BridgeEvbSysNumExternalPorts = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysNumExternalPorts.setReference('12.4.2, 12.5.1')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysNumExternalPorts.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysNumExternalPorts.setDescription('The evbSysNumExternalPorts parameter indicates how many externally accessible port are available.')
ieee8021BridgeEvbSysEvbLldpTxEnable = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEvbLldpTxEnable.setReference('D.2.13')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEvbLldpTxEnable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEvbLldpTxEnable.setDescription("This object is used to initialize the LLDP EVB objects for new SBPs and URPS. When set to 'true' a new SBP or URP will place the local EVB objects in the LLDP nearest Customer database; when set to 'false' a new SBP or URP will not place the local EVB objects in the LLDP database.")
ieee8021BridgeEvbSysEvbLldpManual = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 4), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEvbLldpManual.setReference('D.2.13')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEvbLldpManual.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEvbLldpManual.setDescription("This object is used to initialize the LLDP EVB objects for new SBPs and URPS. When set to 'false' the operating configuration will be determined by the comparison between the local and remote LLDP EVB objects (automatic), regardless of the setting of ieee8021BridgeEvbSysLldpTxEnable. When ieee8021BridgeEvbSysLldpManual is 'true' the configuration will be determined by the setting of the local EVB objects only (manual).")
ieee8021BridgeEvbSysEvbLldpGidCapable = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 5), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEvbLldpGidCapable.setReference('D.2.13')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEvbLldpGidCapable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEvbLldpGidCapable.setDescription('The value of this object is used as the default value of the BGID or SGID bit of the EVB LLDP TLV string.')
ieee8021BridgeEvbSysEcpAckTimer = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEcpAckTimer.setReference('D.2.13.6, 43.3.6.1')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEcpAckTimer.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEcpAckTimer.setDescription('A value indicating the Bridge Proposed ECP ackTimer.')
ieee8021BridgeEvbSysEcpDfltAckTimerExp = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEcpDfltAckTimerExp.setReference('D.2.13.6, 43.3.6.1')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEcpDfltAckTimerExp.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEcpDfltAckTimerExp.setDescription('The exponent of 2 indicating the Bridge Proposed ECP ackTimer in tens of microseconds.')
ieee8021BridgeEvbSysEcpMaxRetries = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(3)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEcpMaxRetries.setReference('D.2.13.5, 43.3.7.4')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEcpMaxRetries.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysEcpMaxRetries.setDescription('A value indicating the Bridge ECP maxRetries.')
ieee8021BridgeEvbSysVdpDfltRsrcWaitDelay = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 8), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltRsrcWaitDelay.setReference('D.2.13, 41.5.5.7')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltRsrcWaitDelay.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltRsrcWaitDelay.setDescription('A value indicating the Bridge Resource VDP Timeout.')
ieee8021BridgeEvbSysVdpDfltRsrcWaitDelayExp = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltRsrcWaitDelayExp.setReference('D.2.13, 41.5.5.7')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltRsrcWaitDelayExp.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltRsrcWaitDelayExp.setDescription('The exponent of 2 indicating the Bridge Resource VDP Timeout in tens of microseconds.')
ieee8021BridgeEvbSysVdpDfltReinitKeepAlive = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 9), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltReinitKeepAlive.setReference('D.2.13, 41.5.5.5')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltReinitKeepAlive.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltReinitKeepAlive.setDescription('A value indicating the Bridge Proposed VDP Keep Alive Timeout.')
ieee8021BridgeEvbSysVdpDfltReinitKeepAliveExp = MibScalar((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltReinitKeepAliveExp.setReference('D.2.13, 41.5.5.5')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltReinitKeepAliveExp.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysVdpDfltReinitKeepAliveExp.setDescription('The exponent of 2 indicating the Bridge Proposed VDP Keep Alive Timeout in tens of microseconds.')
ieee8021BridgeEvbSbpTable = MibTable((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 10), )
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpTable.setReference('12.26.2')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpTable.setDescription('A table that contains Station-facing Bridge Port (SBP) details.')
ieee8021BridgeEvbSbpEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 10, 1), ).setIndexNames((0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpComponentID"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpPortNumber"))
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpEntry.setDescription('A list of objects describing SBP.')
ieee8021BridgeEvbSbpComponentID = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 10, 1, 1), IEEE8021PbbComponentIdentifier())
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpComponentID.setReference('12.4.1.5')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpComponentID.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpComponentID.setDescription('The SBP component ID')
ieee8021BridgeEvbSbpPortNumber = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 10, 1, 2), IEEE8021BridgePortNumber())
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpPortNumber.setReference('12.4.2')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpPortNumber.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpPortNumber.setDescription('The SBP port number.')
ieee8021BridgeEvbSbpLldpManual = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 10, 1, 3), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpLldpManual.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpLldpManual.setDescription('The evbSbpLldpManual parameter switches EVB TLVs to manual mode. In manual mode the running parameters are determined solely from the local LLDP database values.')
ieee8021BridgeEvbSbpVdpOperRsrcWaitDelay = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 10, 1, 4), Unsigned32()).setUnits('micro-seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperRsrcWaitDelay.setReference('D.2.13, 41.5.5.7')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperRsrcWaitDelay.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperRsrcWaitDelay.setDescription('The value used to initialize the waitWhile timer (41.5.5.7) by the station VDP state machine when the state machine is waiting for a response.')
ieee8021BridgeEvbSbpVdpOperRsrcWaitDelayExp = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 10, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 31))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperRsrcWaitDelayExp.setReference('D.2.13, 41.5.5.7')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperRsrcWaitDelayExp.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperRsrcWaitDelayExp.setDescription('The exponent of 2 used to calculate the value to initialize the waitWhile timer (41.5.5.7) by the station VDP state machine when the state machine is waiting for a response.')
ieee8021BridgeEvbSbpVdpOperReinitKeepAlive = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 10, 1, 5), Unsigned32()).setUnits('micro-seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperReinitKeepAlive.setReference('D.2.13, 41.5.5.5')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperReinitKeepAlive.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperReinitKeepAlive.setDescription('The value used to initialize the waitWhile timer (41.5.5.5) by the station VDP state machine in order to determine when to transmit a keep alive message.')
ieee8021BridgeEvbSbpVdpOperReinitKeepAliveExp = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 10, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 31))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperReinitKeepAliveExp.setReference('D.2.13, 41.5.5.5')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperReinitKeepAliveExp.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperReinitKeepAliveExp.setDescription('The exponent of 2 used to calculate the value to initialize the waitWhile timer (41.5.5.5) by the station VDP state machine in order to determine when to transmit a keep alive message.')
ieee8021BridgeEvbSbpVdpOperToutKeepAlive = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 1, 10, 1, 6), Unsigned32()).setUnits('micro-seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperToutKeepAlive.setReference('D.2.13, 41.5.5.13')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperToutKeepAlive.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpVdpOperToutKeepAlive.setDescription('The value used to initialize the waitWhile timer (41.5.5.13) by the EVBCB VDP state machine in order to determine when to transmit a keep alive message.')
ieee8021BridgeEvbVSIDBObjects = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 24, 1, 2))
ieee8021BridgeEvbVSIDBTable = MibTable((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1), )
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBTable.setReference('12.26.3')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBTable.setDescription('A table that contains database of the active Virtual Station Interfaces.')
ieee8021BridgeEvbVSIDBEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1), ).setIndexNames((0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIComponentID"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIPortNumber"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIIDType"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIID"))
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBEntry.setDescription('A list of objects containing database of the active Virtual Station Interfaces.')
ieee8021BridgeEvbVSIComponentID = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 1), IEEE8021PbbComponentIdentifier())
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIComponentID.setReference('12.4.1.5')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIComponentID.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIComponentID.setDescription('The evbVSIComponentID is the ComponentID for the C-VLAN component of the EVB Bridge or for the edge relay of the EVB station.')
ieee8021BridgeEvbVSIPortNumber = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 2), IEEE8021BridgePortNumber())
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIPortNumber.setReference('12.4.2')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIPortNumber.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIPortNumber.setDescription('The evbVSIPortNumber is the Port Number for the SBP or URP where the VSI is accessed.')
ieee8021BridgeEvbVSIIDType = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("vsiidIpv4", 1), ("vsiidIpv6", 2), ("vsiidMAC", 3), ("vsiidLocal", 4), ("vsiidUUID", 5))))
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIIDType.setReference('41.2.6')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIIDType.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIIDType.setDescription('This object specifies the VSIID Type for the VSIID in the DCN ')
ieee8021BridgeEvbVSIID = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16))
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIID.setReference('41.2.7')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIID.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIID.setDescription('This object specifies the VSIID that uniquely identifies the VSI in the DCN ')
ieee8021BridgeEvbVSITimeSinceCreate = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 5), Unsigned32()).setUnits('centi-seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVSITimeSinceCreate.setReference('41')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSITimeSinceCreate.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSITimeSinceCreate.setDescription('This object specifies the time since creation ')
ieee8021BridgeEvbVsiVdpOperCmd = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("preAssociate", 1), ("preAssociateWithRsrcReservation", 2), ("associate", 3), ("deAssociate", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiVdpOperCmd.setReference('41.2.1')
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiVdpOperCmd.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiVdpOperCmd.setDescription('This object identifies the type of TLV.')
ieee8021BridgeEvbVsiOperRevert = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 7), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiOperRevert.setReference('41.2.3')
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiOperRevert.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiOperRevert.setDescription('The evbOperRevert status indicator shows the most recent value of the KEEP indicator from the VDP protocol exchange.')
ieee8021BridgeEvbVsiOperHard = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 8), TruthValue()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiOperHard.setReference('41.2.3')
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiOperHard.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiOperHard.setDescription('The evbVsiHard status indicator shows the most recent value of the HARD indicator from the VDP protocol exchange.')
ieee8021BridgeEvbVsiOperReason = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 9), Bits().clone(namedValues=NamedValues(("success", 0), ("invalidFormat", 1), ("insufficientResources", 2), ("otherfailure", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiOperReason.setReference('41.2.3')
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiOperReason.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVsiOperReason.setDescription('This object indicates the outcome of a request.')
ieee8021BridgeEvbVSIMgrID = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMgrID.setReference('41.1.3')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMgrID.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMgrID.setDescription('This object identifies the VSI Manager with a database that holds the detailed VSI type and or instance definitions.')
ieee8021BridgeEvbVSIType = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIType.setReference('41.2.4')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIType.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIType.setDescription(' The VTID is an integer value used to identify a pre-configured set of controls and attributes that are associated with a set of VSIs.')
ieee8021BridgeEvbVSITypeVersion = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVSITypeVersion.setReference('41.2.5')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSITypeVersion.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSITypeVersion.setDescription('The VSI Type Version is an integer identifier designating the expected/desired VTID version. The VTID version allows a VSI Manager Database to contain multiple versions of a given VSI Type, allowing smooth migration to newer VSI types.')
ieee8021BridgeEvbVSIMvFormat = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("basic", 1), ("partial", 2), ("vlanOnly", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMvFormat.setReference('41.2.8')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMvFormat.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMvFormat.setDescription('This object specifies the MAC/VLAN format. basic - Basic MAC/VLAN format partial - Partial MAC/VLAN format vlanOnly - Vlan-only MAC/VLAN format ')
ieee8021BridgeEvbVSINumMACs = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVSINumMACs.setReference('41.2.9')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSINumMACs.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSINumMACs.setDescription('This object specifies the the number of MAC address/VLAN ID pairs contained in the repeated portion of the MAC/VLANs field in the VDP TLV.')
ieee8021BridgeEvbVDPMachineState = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("preAssociate", 1), ("preAssociateWithRsrcReservation", 2), ("associate", 3), ("deAssociate", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPMachineState.setReference('41.5.5.14')
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPMachineState.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPMachineState.setDescription('This object specifies the VDP state machine. ')
ieee8021BridgeEvbVDPCommandsSucceeded = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 16), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPCommandsSucceeded.setReference('41.5')
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPCommandsSucceeded.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPCommandsSucceeded.setDescription('This object specifies the VDP number of successful commands since creation.')
ieee8021BridgeEvbVDPCommandsFailed = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 17), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPCommandsFailed.setReference('41.5')
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPCommandsFailed.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPCommandsFailed.setDescription('This object specifies the VDP number of failed commands since creation ')
ieee8021BridgeEvbVDPCommandReverts = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPCommandReverts.setReference('41.5')
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPCommandReverts.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPCommandReverts.setDescription('This object specifies the VDP command reverts since creation ')
ieee8021BridgeEvbVDPCounterDiscontinuity = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 19), TimeTicks()).setUnits('hundredths of a second').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPCounterDiscontinuity.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVDPCounterDiscontinuity.setDescription('The time (in hundredths of a second) since the last counter discontinuity for any of the counters in the row.')
ieee8021BridgeEvbVSIMgrID16 = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 20), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMgrID16.setReference('41.1.3')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMgrID16.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMgrID16.setDescription('This object identifies the VSI Manager with a database that holds the detailed VSI type and or instance definitions.')
ieee8021BridgeEvbVSIFilterFormat = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("vid", 1), ("macVid", 2), ("groupidVid", 3), ("groupidMacVid", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIFilterFormat.setReference('41.2.8, 41.2.9')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIFilterFormat.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIFilterFormat.setDescription('This object specifies the MAC/VLAN format: vid (see 41.2.9.1) macVid (see 41.2.9.2) groupidVid (see 41.2.9.3) groupidMacVid (see 41.2.9.4) ')
ieee8021BridgeEvbVSIDBMacTable = MibTable((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 2), )
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBMacTable.setReference('12.26.3')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBMacTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBMacTable.setDescription('A table that contains database of the active Virtual Station Interfaces.')
ieee8021BridgeEvbVSIDBMacEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 2, 1), ).setIndexNames((0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIComponentID"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIPortNumber"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIIDType"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIID"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbGroupID"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIMac"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIVlanId"))
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBMacEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBMacEntry.setDescription('A list of objects containing database of the MAC/VLANs associated with Virtual Station Interfaces.')
ieee8021BridgeEvbGroupID = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 2, 1, 1), Unsigned32())
if mibBuilder.loadTexts: ieee8021BridgeEvbGroupID.setReference('41.2.9')
if mibBuilder.loadTexts: ieee8021BridgeEvbGroupID.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbGroupID.setDescription('Group ID')
ieee8021BridgeEvbVSIMac = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 2, 1, 2), MacAddress())
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMac.setReference('41.2.9')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMac.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIMac.setDescription('The mac-address part of the MAC/VLANs for a VSI.')
ieee8021BridgeEvbVSIVlanId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 2, 2, 1, 3), VlanIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIVlanId.setReference('41.2.9')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIVlanId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIVlanId.setDescription('The Vlan ID part of the MAC/VLANs for a VSI.')
ieee8021BridgeEvbSChannelObjects = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 24, 1, 3))
ieee8021BridgeEvbUAPConfigTable = MibTable((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1), )
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPConfigTable.setReference('12.26.4.1')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPConfigTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPConfigTable.setDescription('A table that contains configuration parameters for UAP.')
ieee8021BridgeEvbUAPConfigEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePhyPort"))
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPConfigEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPConfigEntry.setDescription('A list of objects containing information to configure the attributes for UAP.')
ieee8021BridgeEvbUAPComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 1), IEEE8021PbbComponentIdentifier()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPComponentId.setDescription('The ComponentID of the port for the UAP.')
ieee8021BridgeEvbUAPPort = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 2), IEEE8021BridgePortNumber()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPPort.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPPort.setDescription('The port number of the port for the UAP.')
ieee8021BridgeEvbUapConfigIfIndex = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 3), InterfaceIndexOrZero()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbUapConfigIfIndex.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUapConfigIfIndex.setDescription('The value of the instance of the IfIndex object, defined in the IF-MIB, for the interface corresponding to this port, or the value 0 if the port has not been bound to an underlying frame source and sink.')
ieee8021BridgeEvbUAPSchCdcpAdminEnable = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchCdcpAdminEnable.setReference('42.4.2')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchCdcpAdminEnable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchCdcpAdminEnable.setDescription('Administrative staus of CDCP.')
ieee8021BridgeEvbUAPSchAdminCDCPRole = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("cdcpRoleB", 1), ("cdcpRoleS", 2))).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPRole.setReference('42.4.2')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPRole.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPRole.setDescription("The administratively configured value for the local port's role parameter. The value of AdminRole is not reflected in the S-channel TLV. The AdminRole may take the value S or B. S indicates the sender is unwilling to accept S-channels configuration (mode, # channels supported, channel index) from its neighbor and that the sender is willing to accept SVID assignments from the neighbor. Stations usually take the S role. B indicates the sender is willing to accept S-channels configuration (mode, # channels supported, channel index) from its neighbor and that the sender is willing do the best it can to fill the SVID assignments from the neighbor. Bridges usually take the B role.")
ieee8021BridgeEvbUAPSchAdminCDCPChanCap = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 167))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPChanCap.setReference('42.4.1')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPChanCap.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPChanCap.setDescription('The administratively configured value for the Number of Channels supported parameter. This value is included as the ChanCap parameter in the S-channel TLV.')
ieee8021BridgeEvbUAPSchOperCDCPChanCap = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 167))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchOperCDCPChanCap.setReference('42.4.8')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchOperCDCPChanCap.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchOperCDCPChanCap.setDescription('The operational value for the Number of Channels supported parameter. This value is included as the ChnCap parameter in the S-channel TLV.')
ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolLow = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 8), VlanIndex()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolLow.setReference('42.4.7')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolLow.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolLow.setDescription('Determines the lowest S-VIDs available for assignment by CDCP.')
ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolHigh = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 9), VlanIndex()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolHigh.setReference('42.4.7')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolHigh.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolHigh.setDescription('Determines the highest S-VIDs available for assignment by CDCP.')
ieee8021BridgeEvbUAPSchOperState = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("running", 1), ("notRunning", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchOperState.setReference('42.4.14')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchOperState.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPSchOperState.setDescription('The current runnning state of CDCP.')
ieee8021BridgeEvbSchCdcpRemoteEnabled = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbSchCdcpRemoteEnabled.setReference('42.4.14')
if mibBuilder.loadTexts: ieee8021BridgeEvbSchCdcpRemoteEnabled.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSchCdcpRemoteEnabled.setDescription('CDCP state for the remote S-channel.')
ieee8021BridgeEvbSchCdcpRemoteRole = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("cdcpRoleB", 1), ("cdcpRoleS", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbSchCdcpRemoteRole.setReference('42.4.12')
if mibBuilder.loadTexts: ieee8021BridgeEvbSchCdcpRemoteRole.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSchCdcpRemoteRole.setDescription("The value for the remote port's role parameter.")
ieee8021BridgeEvbUAPConfigStorageType = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 13), StorageType().clone('nonVolatile')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPConfigStorageType.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPConfigStorageType.setDescription('The storage type for this row. Rows in this table that were created through an external process may have a storage type of readOnly or permanent. For a storage type of permanent, none of the columns have to be writable.')
ieee8021BridgeEvbUAPConfigRowStatus = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 1, 1, 14), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPConfigRowStatus.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPConfigRowStatus.setDescription('RowStatus for creating a UAP table entry.')
ieee8021BridgeEvbCAPConfigTable = MibTable((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 2), )
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPConfigTable.setReference('12.26.4.2')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPConfigTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPConfigTable.setDescription('A table that contains configuration information for the S-Channel Access Ports (CAP).')
ieee8021BridgeEvbCAPConfigEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 2, 1), ).setIndexNames((0, "IEEE8021-BRIDGE-MIB", "ieee8021BridgePhyPort"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbSchID"))
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPConfigEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPConfigEntry.setDescription('A list of objects containing information for the S-Channel Access Ports (CAP)')
ieee8021BridgeEvbSchID = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094)))
if mibBuilder.loadTexts: ieee8021BridgeEvbSchID.setReference('42.4.3')
if mibBuilder.loadTexts: ieee8021BridgeEvbSchID.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSchID.setDescription('This object represents the SVID for a ieee8021BridgeEvbSysType of evbBridge and a SCID(S-Channel ID) for a ieee8021BridgeEvbSysType of evbStation.')
ieee8021BridgeEvbCAPComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 2, 1, 2), IEEE8021PbbComponentIdentifier()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPComponentId.setDescription('Component ID for S-channel Access Port.')
ieee8021BridgeEvbCapConfigIfIndex = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 2, 1, 3), InterfaceIndexOrZero()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbCapConfigIfIndex.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbCapConfigIfIndex.setDescription('The value of the instance of the IfIndex object, defined in the IF-MIB, for the interface corresponding to this port, or the value 0 if the port has not been bound to an underlying frame source and sink. The underlying IfEntry indexed by this column MUST be persistent across reinitializations of the management system.')
ieee8021BridgeEvbCAPPort = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 2, 1, 4), IEEE8021BridgePortNumber()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPPort.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPPort.setDescription('Port number for the S-Channel Access Port.')
ieee8021BridgeEvbCAPSChannelID = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 2, 1, 5), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPSChannelID.setReference('42.4.2')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPSChannelID.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPSChannelID.setDescription('S-Channel ID (SCID) for this CAP.')
ieee8021BridgeEvbCAPAssociateSBPOrURPCompID = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 2, 1, 6), IEEE8021PbbComponentIdentifier()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPAssociateSBPOrURPCompID.setReference('12.4.1.5')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPAssociateSBPOrURPCompID.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPAssociateSBPOrURPCompID.setDescription('Component ID of the Server Edge Port to be associated with the CAP.')
ieee8021BridgeEvbCAPAssociateSBPOrURPPort = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 2, 1, 7), IEEE8021BridgePortNumber()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPAssociateSBPOrURPPort.setReference('12.4.2')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPAssociateSBPOrURPPort.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPAssociateSBPOrURPPort.setDescription('Port number of the Server Edge Port to be associated with the CAP.')
ieee8021BridgeEvbCAPRowStatus = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 2, 1, 8), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPRowStatus.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPRowStatus.setDescription('RowStatus to create/destroy this table.')
ieee8021BridgeEvbURPTable = MibTable((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3), )
if mibBuilder.loadTexts: ieee8021BridgeEvbURPTable.setReference('12.26.5.1')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPTable.setDescription('A table that contains configuration information for the Uplink Relay Ports(URP).')
ieee8021BridgeEvbURPEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3, 1), ).setIndexNames((0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPComponentId"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPPort"))
if mibBuilder.loadTexts: ieee8021BridgeEvbURPEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPEntry.setDescription('A list of objects containing information for the Uplink Relay Ports(URP).')
ieee8021BridgeEvbURPComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3, 1, 1), IEEE8021PbbComponentIdentifier())
if mibBuilder.loadTexts: ieee8021BridgeEvbURPComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPComponentId.setDescription('Component ID that the URP belongs to.')
ieee8021BridgeEvbURPPort = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3, 1, 2), IEEE8021BridgePortNumber())
if mibBuilder.loadTexts: ieee8021BridgeEvbURPPort.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPPort.setDescription('port number of the urp.')
ieee8021BridgeEvbURPIfIndex = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3, 1, 3), InterfaceIndexOrZero()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbURPIfIndex.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPIfIndex.setDescription('The value of the instance of the IfIndex object, defined in the IF-MIB, for the interface corresponding to this port, or the value 0 if the port has not been bound to an underlying frame source and sink. It is an implementation specific decision as to whether this object may be modified if it has been created or if 0 is a legal value. The underlying IfEntry indexed by this column MUST be persistent across reinitializations of the management system. ')
ieee8021BridgeEvbURPBindToISSPort = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3, 1, 4), IEEE8021BridgePortNumber()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbURPBindToISSPort.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPBindToISSPort.setDescription('The evbURPBindToISSPort is the ISS Port Number where the URP is attached. This binding is optional and only required in some systems.')
ieee8021BridgeEvbURPLldpManual = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3, 1, 6), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbURPLldpManual.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPLldpManual.setDescription('The evbUrpLldpManual parameter control how the EVB TLV determines the operating values for parameters. When set TRUE only the local EVB TLV will be used to determine the parameters.')
ieee8021BridgeEvbURPVdpOperRsrcWaitDelay = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3, 1, 9), Unsigned32()).setUnits('micro-seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbURPVdpOperRsrcWaitDelay.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPVdpOperRsrcWaitDelay.setDescription('The parameter evbURPVdpOperRsrcWaitDelay is the exponent of 2 used to set the VDP resourceWaitDelay timer at the EVB Bridge.')
ieee8021BridgeEvbURPVdpOperRsrcWaitDelayExp = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 31))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbURPVdpOperRsrcWaitDelayExp.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPVdpOperRsrcWaitDelayExp.setDescription('The parameter evbURPVdpOperRsrcWaitDelay is the exponent of 2 used to set the VDP resourceWaitDelay timer at the EVB Bridge.')
ieee8021BridgeEvbURPVdpOperRespWaitDelay = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3, 1, 10), Unsigned32()).setUnits('micro-seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbURPVdpOperRespWaitDelay.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPVdpOperRespWaitDelay.setDescription('The evbUrpVdpOperRespWaitDelay is how long a EVb station VDP will wait for a response from the EVB Bridge VDP.')
ieee8021BridgeEvbURPVdpOperReinitKeepAlive = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3, 1, 11), Unsigned32()).setUnits('micro-seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbURPVdpOperReinitKeepAlive.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPVdpOperReinitKeepAlive.setDescription('The evbURPVdpOperReinitKeepAlive is the exponent of 2 used to determine the time interval of Keep Alives transmitted by the EVB station.')
ieee8021BridgeEvbURPVdpOperReinitKeepAliveExp = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 3, 1, 13), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 31))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: ieee8021BridgeEvbURPVdpOperReinitKeepAliveExp.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbURPVdpOperReinitKeepAliveExp.setDescription('The evbURPVdpOperReinitKeepAlive is the exponent of 2 used to determine the time interval of Keep Alives transmitted by the EVB station.')
ieee8021BridgeEvbEcpTable = MibTable((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 4), )
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpTable.setReference('12.26.4.2')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpTable.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpTable.setDescription('A table that contains configuration information for the Edge Control Protocol (ECP).')
ieee8021BridgeEvbEcpEntry = MibTableRow((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 4, 1), ).setIndexNames((0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpComponentId"), (0, "IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpPort"))
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpEntry.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpEntry.setDescription('A list of objects containing information for theEdge Control Protocol (ECP).')
ieee8021BridgeEvbEcpComponentId = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 4, 1, 1), IEEE8021PbbComponentIdentifier())
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpComponentId.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpComponentId.setDescription('Component ID .')
ieee8021BridgeEvbEcpPort = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 4, 1, 2), IEEE8021BridgePortNumber())
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpPort.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpPort.setDescription('Port number.')
ieee8021BridgeEvbEcpOperAckTimerInit = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 4, 1, 3), Unsigned32()).setUnits('micro-seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpOperAckTimerInit.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpOperAckTimerInit.setDescription('The initial value used to initialize ackTimer (43.3.6.1).')
ieee8021BridgeEvbEcpOperAckTimerInitExp = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 4, 1, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 31))).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpOperAckTimerInitExp.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpOperAckTimerInitExp.setDescription('The initial value used to initialize ackTimer. Expressed as exp where 10*2exp microseconds is the duration of the ack timer(43.3.6.1).')
ieee8021BridgeEvbEcpOperMaxRetries = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 4, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpOperMaxRetries.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpOperMaxRetries.setDescription('This integer variable defines the maximum number of times that the ECP transmit state machine will retry a transmission if no ACK is received.')
ieee8021BridgeEvbEcpTxFrameCount = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 4, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpTxFrameCount.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpTxFrameCount.setDescription('The evbECPTxFrameCount is the number of ECP frame transmitted since ECP was instanciated.')
ieee8021BridgeEvbEcpTxRetryCount = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 4, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpTxRetryCount.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpTxRetryCount.setDescription('The evbECPTxRetryCount is the number of times ECP re-tried transmission since ECP was instanciated.')
ieee8021BridgeEvbEcpTxFailures = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 4, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpTxFailures.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpTxFailures.setDescription('The evbECPTxFailures is the number of times ECP failed to successfully deliver a frame since ECP was instanciated.')
ieee8021BridgeEvbEcpRxFrameCount = MibTableColumn((1, 3, 111, 2, 802, 1, 1, 24, 1, 3, 4, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpRxFrameCount.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpRxFrameCount.setDescription('The evbECPRxFrameCount is the number of frames received since ECP was instanciated.')
ieee8021BridgeEvbGroups = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 24, 2, 1))
ieee8021BridgeEvbCompliances = MibIdentifier((1, 3, 111, 2, 802, 1, 1, 24, 2, 2))
ieee8021BridgeEvbSysGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 1)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysType"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysNumExternalPorts"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysEvbLldpTxEnable"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysEvbLldpGidCapable"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysEvbLldpManual"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysEcpAckTimer"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysEcpMaxRetries"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysVdpDfltRsrcWaitDelay"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysVdpDfltReinitKeepAlive"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbSysGroup = ieee8021BridgeEvbSysGroup.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysGroup.setDescription('The collection of objects used to represent a EVB management objects.')
ieee8021BridgeEvbSbpGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 3)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpLldpManual"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpVdpOperRsrcWaitDelay"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpVdpOperReinitKeepAlive"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpVdpOperToutKeepAlive"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbSbpGroup = ieee8021BridgeEvbSbpGroup.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpGroup.setDescription('The collection of objects used to represent a SBP management objects.')
ieee8021BridgeEvbVSIDBGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 4)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSITimeSinceCreate"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVsiVdpOperCmd"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVsiOperRevert"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVsiOperHard"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVsiOperReason"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIMgrID"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIType"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSITypeVersion"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIMvFormat"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSINumMACs"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVDPMachineState"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVDPCommandsSucceeded"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVDPCommandsFailed"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVDPCommandReverts"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVDPCounterDiscontinuity"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIVlanId"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbVSIDBGroup = ieee8021BridgeEvbVSIDBGroup.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBGroup.setDescription('The collection of objects used to represent a EVB VSI DB table.')
ieee8021BridgeEvbUAPGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 5)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPComponentId"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPPort"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUapConfigIfIndex"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPSchCdcpAdminEnable"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPSchAdminCDCPRole"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPSchAdminCDCPChanCap"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPSchOperCDCPChanCap"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolLow"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolHigh"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPSchOperState"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSchCdcpRemoteEnabled"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSchCdcpRemoteRole"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPConfigStorageType"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPConfigRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbUAPGroup = ieee8021BridgeEvbUAPGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbUAPGroup.setDescription('The collection of objects used to represent a EVB UAP table.')
ieee8021BridgeEvbCAPConfigGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 6)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbCAPComponentId"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbCapConfigIfIndex"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbCAPPort"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbCAPSChannelID"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbCAPAssociateSBPOrURPCompID"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbCAPAssociateSBPOrURPPort"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbCAPRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbCAPConfigGroup = ieee8021BridgeEvbCAPConfigGroup.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbCAPConfigGroup.setDescription('The collection of objects used to represent a EVB CAP management objects.')
ieee8021BridgeEvbsURPGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 7)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPIfIndex"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPBindToISSPort"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPLldpManual"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPVdpOperRsrcWaitDelay"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPVdpOperRespWaitDelay"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPVdpOperReinitKeepAlive"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbsURPGroup = ieee8021BridgeEvbsURPGroup.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbsURPGroup.setDescription('The collection of objects used to represent a EVBS URP management objects.')
ieee8021BridgeEvbEcpGroup = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 8)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpOperAckTimerInit"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpOperMaxRetries"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpTxFrameCount"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpTxRetryCount"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpTxFailures"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpRxFrameCount"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbEcpGroup = ieee8021BridgeEvbEcpGroup.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpGroup.setDescription('The collection of objects used to represent a EVB CAP management objects.')
ieee8021BridgeEvbSysV2Group = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 9)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysType"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysNumExternalPorts"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysEvbLldpTxEnable"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysEvbLldpGidCapable"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysEvbLldpManual"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysEcpDfltAckTimerExp"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysEcpMaxRetries"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysVdpDfltRsrcWaitDelayExp"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysVdpDfltReinitKeepAliveExp"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbSysV2Group = ieee8021BridgeEvbSysV2Group.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSysV2Group.setDescription('The collection of objects used to represent a EVB management objects.')
ieee8021BridgeEvbSbpV2Group = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 10)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpLldpManual"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpVdpOperRsrcWaitDelayExp"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpVdpOperReinitKeepAliveExp"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpVdpOperToutKeepAlive"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbSbpV2Group = ieee8021BridgeEvbSbpV2Group.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbSbpV2Group.setDescription('The collection of objects used to represent a SBP management objects.')
ieee8021BridgeEvbVSIDBV2Group = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 11)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSITimeSinceCreate"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVsiVdpOperCmd"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVsiOperRevert"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVsiOperHard"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVsiOperReason"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIMgrID16"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIType"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSITypeVersion"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIFilterFormat"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSINumMACs"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVDPMachineState"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVDPCommandsSucceeded"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVDPCommandsFailed"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVDPCommandReverts"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVDPCounterDiscontinuity"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIVlanId"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbVSIDBV2Group = ieee8021BridgeEvbVSIDBV2Group.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbVSIDBV2Group.setDescription('The collection of objects used to represent a EVB VSI DB table.')
ieee8021BridgeEvbsURPV2Group = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 12)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPIfIndex"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPBindToISSPort"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPLldpManual"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPVdpOperRsrcWaitDelayExp"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPVdpOperRespWaitDelay"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbURPVdpOperReinitKeepAliveExp"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbsURPV2Group = ieee8021BridgeEvbsURPV2Group.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbsURPV2Group.setDescription('The collection of objects used to represent a EVBS URP management objects.')
ieee8021BridgeEvbEcpV2Group = ObjectGroup((1, 3, 111, 2, 802, 1, 1, 24, 2, 1, 13)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpOperAckTimerInitExp"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpOperMaxRetries"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpTxFrameCount"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpTxRetryCount"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpTxFailures"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpRxFrameCount"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbEcpV2Group = ieee8021BridgeEvbEcpV2Group.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbEcpV2Group.setDescription('The collection of objects used to represent a EVB CAP management objects.')
ieee8021BridgeEvbbCompliance = ModuleCompliance((1, 3, 111, 2, 802, 1, 1, 24, 2, 2, 1)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIDBGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbCAPConfigGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbbCompliance = ieee8021BridgeEvbbCompliance.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbbCompliance.setDescription('The compliance statement for devices supporting EVB as defined in IEEE 802.1Q.')
ieee8021BridgeEvbsCompliance = ModuleCompliance((1, 3, 111, 2, 802, 1, 1, 24, 2, 2, 2)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIDBGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbsURPGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbCAPConfigGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbsCompliance = ieee8021BridgeEvbsCompliance.setStatus('deprecated')
if mibBuilder.loadTexts: ieee8021BridgeEvbsCompliance.setDescription('The compliance statement for devices supporting EVBS as defined in IEEE 802.1Q.')
ieee8021BridgeEvbbComplianceV2 = ModuleCompliance((1, 3, 111, 2, 802, 1, 1, 24, 2, 2, 3)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysV2Group"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIDBV2Group"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSbpV2Group"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpV2Group"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbCAPConfigGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbbComplianceV2 = ieee8021BridgeEvbbComplianceV2.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbbComplianceV2.setDescription('The compliance statement for devices supporting EVB as defined in IEEE 802.1Q.')
ieee8021BridgeEvbsComplianceV2 = ModuleCompliance((1, 3, 111, 2, 802, 1, 1, 24, 2, 2, 4)).setObjects(("IEEE8021-EVB-MIB", "ieee8021BridgeEvbSysV2Group"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbVSIDBV2Group"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbsURPV2Group"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbEcpV2Group"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbUAPGroup"), ("IEEE8021-EVB-MIB", "ieee8021BridgeEvbCAPConfigGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ieee8021BridgeEvbsComplianceV2 = ieee8021BridgeEvbsComplianceV2.setStatus('current')
if mibBuilder.loadTexts: ieee8021BridgeEvbsComplianceV2.setDescription('The compliance statement for devices supporting EVBS as defined in IEEE 802.1Q.')
mibBuilder.exportSymbols("IEEE8021-EVB-MIB", ieee8021BridgeEvbGroups=ieee8021BridgeEvbGroups, ieee8021BridgeEvbSysEvbLldpGidCapable=ieee8021BridgeEvbSysEvbLldpGidCapable, ieee8021BridgeEvbVsiOperHard=ieee8021BridgeEvbVsiOperHard, ieee8021BridgeEvbEcpGroup=ieee8021BridgeEvbEcpGroup, ieee8021BridgeEvbSbpVdpOperReinitKeepAliveExp=ieee8021BridgeEvbSbpVdpOperReinitKeepAliveExp, ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolHigh=ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolHigh, ieee8021BridgeEvbVSIType=ieee8021BridgeEvbVSIType, ieee8021BridgeEvbVSIPortNumber=ieee8021BridgeEvbVSIPortNumber, ieee8021BridgeEvbSbpVdpOperRsrcWaitDelayExp=ieee8021BridgeEvbSbpVdpOperRsrcWaitDelayExp, ieee8021BridgeEvbCAPConfigTable=ieee8021BridgeEvbCAPConfigTable, ieee8021BridgeEvbVsiVdpOperCmd=ieee8021BridgeEvbVsiVdpOperCmd, ieee8021BridgeEvbURPEntry=ieee8021BridgeEvbURPEntry, ieee8021BridgeEvbCapConfigIfIndex=ieee8021BridgeEvbCapConfigIfIndex, ieee8021BridgeEvbVDPCommandsSucceeded=ieee8021BridgeEvbVDPCommandsSucceeded, ieee8021BridgeEvbUAPSchOperCDCPChanCap=ieee8021BridgeEvbUAPSchOperCDCPChanCap, ieee8021BridgeEvbURPVdpOperReinitKeepAliveExp=ieee8021BridgeEvbURPVdpOperReinitKeepAliveExp, ieee8021BridgeEvbVSIDBEntry=ieee8021BridgeEvbVSIDBEntry, ieee8021BridgeEvbEcpComponentId=ieee8021BridgeEvbEcpComponentId, ieee8021BridgeEvbVDPCommandReverts=ieee8021BridgeEvbVDPCommandReverts, ieee8021BridgeEvbVSIMgrID16=ieee8021BridgeEvbVSIMgrID16, ieee8021BridgeEvbVSITimeSinceCreate=ieee8021BridgeEvbVSITimeSinceCreate, ieee8021BridgeEvbSysV2Group=ieee8021BridgeEvbSysV2Group, ieee8021BridgeEvbSysVdpDfltReinitKeepAliveExp=ieee8021BridgeEvbSysVdpDfltReinitKeepAliveExp, ieee8021BridgeEvbEcpOperMaxRetries=ieee8021BridgeEvbEcpOperMaxRetries, ieee8021BridgeEvbSysGroup=ieee8021BridgeEvbSysGroup, ieee8021BridgeEvbEcpV2Group=ieee8021BridgeEvbEcpV2Group, PYSNMP_MODULE_ID=ieee8021BridgeEvbMib, ieee8021BridgeEvbSbpVdpOperToutKeepAlive=ieee8021BridgeEvbSbpVdpOperToutKeepAlive, ieee8021BridgeEvbVSIMac=ieee8021BridgeEvbVSIMac, ieee8021BridgeEvbEcpTxFailures=ieee8021BridgeEvbEcpTxFailures, ieee8021BridgeEvbSchID=ieee8021BridgeEvbSchID, ieee8021BridgeEvbEcpOperAckTimerInitExp=ieee8021BridgeEvbEcpOperAckTimerInitExp, ieee8021BridgeEvbObjects=ieee8021BridgeEvbObjects, ieee8021BridgeEvbCAPComponentId=ieee8021BridgeEvbCAPComponentId, ieee8021BridgeEvbSchCdcpRemoteRole=ieee8021BridgeEvbSchCdcpRemoteRole, ieee8021BridgeEvbURPComponentId=ieee8021BridgeEvbURPComponentId, ieee8021BridgeEvbURPLldpManual=ieee8021BridgeEvbURPLldpManual, ieee8021BridgeEvbVDPMachineState=ieee8021BridgeEvbVDPMachineState, ieee8021BridgeEvbVSINumMACs=ieee8021BridgeEvbVSINumMACs, ieee8021BridgeEvbVSIID=ieee8021BridgeEvbVSIID, ieee8021BridgeEvbUAPSchAdminCDCPRole=ieee8021BridgeEvbUAPSchAdminCDCPRole, ieee8021BridgeEvbbComplianceV2=ieee8021BridgeEvbbComplianceV2, ieee8021BridgeEvbURPVdpOperRsrcWaitDelayExp=ieee8021BridgeEvbURPVdpOperRsrcWaitDelayExp, ieee8021BridgeEvbsComplianceV2=ieee8021BridgeEvbsComplianceV2, ieee8021BridgeEvbURPVdpOperRespWaitDelay=ieee8021BridgeEvbURPVdpOperRespWaitDelay, ieee8021BridgeEvbSysEcpDfltAckTimerExp=ieee8021BridgeEvbSysEcpDfltAckTimerExp, ieee8021BridgeEvbSbpVdpOperRsrcWaitDelay=ieee8021BridgeEvbSbpVdpOperRsrcWaitDelay, ieee8021BridgeEvbCAPAssociateSBPOrURPPort=ieee8021BridgeEvbCAPAssociateSBPOrURPPort, ieee8021BridgeEvbCAPSChannelID=ieee8021BridgeEvbCAPSChannelID, ieee8021BridgeEvbVSIDBMacTable=ieee8021BridgeEvbVSIDBMacTable, ieee8021BridgeEvbUAPConfigTable=ieee8021BridgeEvbUAPConfigTable, ieee8021BridgeEvbUAPConfigEntry=ieee8021BridgeEvbUAPConfigEntry, ieee8021BridgeEvbUAPComponentId=ieee8021BridgeEvbUAPComponentId, ieee8021BridgeEvbUAPGroup=ieee8021BridgeEvbUAPGroup, ieee8021BridgeEvbCAPRowStatus=ieee8021BridgeEvbCAPRowStatus, ieee8021BridgeEvbsURPV2Group=ieee8021BridgeEvbsURPV2Group, ieee8021BridgeEvbUAPSchOperState=ieee8021BridgeEvbUAPSchOperState, ieee8021BridgeEvbCompliances=ieee8021BridgeEvbCompliances, ieee8021BridgeEvbCAPPort=ieee8021BridgeEvbCAPPort, ieee8021BridgeEvbEcpRxFrameCount=ieee8021BridgeEvbEcpRxFrameCount, ieee8021BridgeEvbSbpComponentID=ieee8021BridgeEvbSbpComponentID, ieee8021BridgeEvbURPIfIndex=ieee8021BridgeEvbURPIfIndex, ieee8021BridgeEvbUAPPort=ieee8021BridgeEvbUAPPort, ieee8021BridgeEvbSysNumExternalPorts=ieee8021BridgeEvbSysNumExternalPorts, ieee8021BridgeEvbSbpVdpOperReinitKeepAlive=ieee8021BridgeEvbSbpVdpOperReinitKeepAlive, ieee8021BridgeEvbVSIMgrID=ieee8021BridgeEvbVSIMgrID, ieee8021BridgeEvbURPVdpOperRsrcWaitDelay=ieee8021BridgeEvbURPVdpOperRsrcWaitDelay, ieee8021BridgeEvbCAPConfigGroup=ieee8021BridgeEvbCAPConfigGroup, ieee8021BridgeEvbSbpV2Group=ieee8021BridgeEvbSbpV2Group, ieee8021BridgeEvbSys=ieee8021BridgeEvbSys, ieee8021BridgeEvbConformance=ieee8021BridgeEvbConformance, ieee8021BridgeEvbSysVdpDfltRsrcWaitDelay=ieee8021BridgeEvbSysVdpDfltRsrcWaitDelay, ieee8021BridgeEvbSChannelObjects=ieee8021BridgeEvbSChannelObjects, ieee8021BridgeEvbVSITypeVersion=ieee8021BridgeEvbVSITypeVersion, ieee8021BridgeEvbEcpTxFrameCount=ieee8021BridgeEvbEcpTxFrameCount, ieee8021BridgeEvbSbpEntry=ieee8021BridgeEvbSbpEntry, ieee8021BridgeEvbSysEvbLldpTxEnable=ieee8021BridgeEvbSysEvbLldpTxEnable, ieee8021BridgeEvbVDPCommandsFailed=ieee8021BridgeEvbVDPCommandsFailed, ieee8021BridgeEvbUAPSchCdcpAdminEnable=ieee8021BridgeEvbUAPSchCdcpAdminEnable, ieee8021BridgeEvbUAPConfigRowStatus=ieee8021BridgeEvbUAPConfigRowStatus, ieee8021BridgeEvbNotifications=ieee8021BridgeEvbNotifications, ieee8021BridgeEvbVSIDBMacEntry=ieee8021BridgeEvbVSIDBMacEntry, ieee8021BridgeEvbSbpGroup=ieee8021BridgeEvbSbpGroup, ieee8021BridgeEvbVSIDBV2Group=ieee8021BridgeEvbVSIDBV2Group, ieee8021BridgeEvbURPVdpOperReinitKeepAlive=ieee8021BridgeEvbURPVdpOperReinitKeepAlive, ieee8021BridgeEvbSysVdpDfltRsrcWaitDelayExp=ieee8021BridgeEvbSysVdpDfltRsrcWaitDelayExp, ieee8021BridgeEvbVsiOperRevert=ieee8021BridgeEvbVsiOperRevert, ieee8021BridgeEvbVSIComponentID=ieee8021BridgeEvbVSIComponentID, ieee8021BridgeEvbSysEcpMaxRetries=ieee8021BridgeEvbSysEcpMaxRetries, ieee8021BridgeEvbsCompliance=ieee8021BridgeEvbsCompliance, ieee8021BridgeEvbCAPAssociateSBPOrURPCompID=ieee8021BridgeEvbCAPAssociateSBPOrURPCompID, ieee8021BridgeEvbEcpTxRetryCount=ieee8021BridgeEvbEcpTxRetryCount, ieee8021BridgeEvbVSIDBGroup=ieee8021BridgeEvbVSIDBGroup, ieee8021BridgeEvbVSIDBTable=ieee8021BridgeEvbVSIDBTable, ieee8021BridgeEvbVSIDBObjects=ieee8021BridgeEvbVSIDBObjects, ieee8021BridgeEvbVSIVlanId=ieee8021BridgeEvbVSIVlanId, ieee8021BridgeEvbSysType=ieee8021BridgeEvbSysType, ieee8021BridgeEvbGroupID=ieee8021BridgeEvbGroupID, ieee8021BridgeEvbSbpTable=ieee8021BridgeEvbSbpTable, ieee8021BridgeEvbUAPConfigStorageType=ieee8021BridgeEvbUAPConfigStorageType, ieee8021BridgeEvbSysEvbLldpManual=ieee8021BridgeEvbSysEvbLldpManual, ieee8021BridgeEvbSysEcpAckTimer=ieee8021BridgeEvbSysEcpAckTimer, ieee8021BridgeEvbVSIFilterFormat=ieee8021BridgeEvbVSIFilterFormat, ieee8021BridgeEvbEcpPort=ieee8021BridgeEvbEcpPort, ieee8021BridgeEvbbCompliance=ieee8021BridgeEvbbCompliance, ieee8021BridgeEvbUapConfigIfIndex=ieee8021BridgeEvbUapConfigIfIndex, ieee8021BridgeEvbsURPGroup=ieee8021BridgeEvbsURPGroup, ieee8021BridgeEvbSchCdcpRemoteEnabled=ieee8021BridgeEvbSchCdcpRemoteEnabled, ieee8021BridgeEvbURPBindToISSPort=ieee8021BridgeEvbURPBindToISSPort, ieee8021BridgeEvbVSIMvFormat=ieee8021BridgeEvbVSIMvFormat, ieee8021BridgeEvbVSIIDType=ieee8021BridgeEvbVSIIDType, ieee8021BridgeEvbSbpLldpManual=ieee8021BridgeEvbSbpLldpManual, ieee8021BridgeEvbUAPSchAdminCDCPChanCap=ieee8021BridgeEvbUAPSchAdminCDCPChanCap, ieee8021BridgeEvbVDPCounterDiscontinuity=ieee8021BridgeEvbVDPCounterDiscontinuity, ieee8021BridgeEvbSbpPortNumber=ieee8021BridgeEvbSbpPortNumber, ieee8021BridgeEvbEcpEntry=ieee8021BridgeEvbEcpEntry, ieee8021BridgeEvbURPTable=ieee8021BridgeEvbURPTable, ieee8021BridgeEvbVsiOperReason=ieee8021BridgeEvbVsiOperReason, ieee8021BridgeEvbCAPConfigEntry=ieee8021BridgeEvbCAPConfigEntry, ieee8021BridgeEvbMib=ieee8021BridgeEvbMib, ieee8021BridgeEvbEcpTable=ieee8021BridgeEvbEcpTable, ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolLow=ieee8021BridgeEvbUAPSchAdminCDCPSVIDPoolLow, ieee8021BridgeEvbURPPort=ieee8021BridgeEvbURPPort, ieee8021BridgeEvbEcpOperAckTimerInit=ieee8021BridgeEvbEcpOperAckTimerInit, ieee8021BridgeEvbSysVdpDfltReinitKeepAlive=ieee8021BridgeEvbSysVdpDfltReinitKeepAlive)
|
c,b=map(int,input().split())
x=[*map(int,input().split())]
oioi=set()
ans=0
oioi.add(0)
for i in x:
tmp=[]
for j in oioi:
tmp.append(i+j)
if i+j<=c: ans=max(ans,i+j)
for j in tmp:
oioi.add(j)
print(ans) |
#!/usr/bin/env python
NAME = 'Naxsi'
def is_waf(self):
# Sometimes naxsi waf returns 'x-data-origin: naxsi/waf'
if self.matchheader(('X-Data-Origin', '^naxsi(.*)?')):
return True
# Found samples returning 'server: naxsi/2.0'
if self.matchheader(('server', 'naxsi(.*)?')):
return True
for attack in self.attacks:
r = attack(self)
if r is None:
return
_, responsebody = r
if any(i in responsebody for i in (b'Blocked By NAXSI', b'Naxsi Blocked Information')):
return True
return False |
consumer_key = 'v5bb7HD9PmYTvXuCBgCwa44qZ'
consumer_secret = 'tlONgznY4y9S0E4D9JkDVABGGT8ACVgOySt3CPpsKUxU9IE2RS'
twitter_token = '2888299528-05kwbmRfd82mneeJg2EMGhcMXXlFci6yaBWjxCA'
twitter_token_secret = 'h0WLEeq7PNkC1Rd56eyM1oxi1KL4S9sXP8kigYxEB527B'
|
def ip_to_int32(ip):
temp=""
ip=ip.split(".")
for i in ip:
temp+="{0:08b}".format(int(i))
return int(temp,2) |
array = []
with open('input-p22.txt') as f:
array = f.readlines()
array = array[0].split(',')
array.sort()
print(array)
asciA = ord('A')
print("ascii A:", asciA)
answer = 0
for i in range(0, len(array)):
sum = 0
for letter in array[i]:
if letter == '"':
continue
print(letter, ord(letter))
sum += ord(letter) - asciA +1
answer += (sum)*(i+1)
print(answer)
|
# Do not edit this file directly.
# It was auto-generated by: code/programs/reflexivity/reflexive_refresh
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def bigIntegerCpp():
http_archive(
name="big_integer_cpp" ,
build_file="//bazel/deps/big_integer_cpp:build.BUILD" ,
sha256="1c9505406accb1216947ca60299ed70726eade7c9458c7c7f94ca2aea68d288e" ,
strip_prefix="BigIntegerCPP-79e7b023bf5157c0f8d308d3791cf3b081d1e156" ,
urls = [
"https://github.com/Unilang/BigIntegerCPP/archive/79e7b023bf5157c0f8d308d3791cf3b081d1e156.tar.gz",
],
)
|
# -*- coding: utf-8 -*-
"""
演習4
■ 仕様
以下のアスキーアートを表示するコンソールプログラムを作成してください。
■ 実行画面
■■■■■■■■■■
□□□□□□□□□□
■■■■■■■■■■
□□□□□□□□□□
■■■■■■■■■■
□□□□□□□□□□
"""
# 変数初期化
filled = "■"
blank = "□"
# カウンター変数(ループのカウントする為)
count = 0
# 0~6回ループする (6行作る為)
for i in range(0, 6):
#)0~10回ループする(10文字入れる為)
for j in range(0, 10):
# どの文字入れる為カウンター変数で管理する
# カウンターが偶数だったら黒
if count % 2 == 0:
print(filled, end="")
#
else:
#奇数だったら白
print(blank, end="")
# カウンター変数+1
count += 1
# きれいにプリント為行入れる
print("\n")
|
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
DEPS = [
'file',
'isolated',
'json',
'path',
'runtime',
'step',
]
def RunSteps(api):
# Inspect the associated isolated server.
api.isolated.isolate_server
# Prepare files.
temp = api.path.mkdtemp('isolated-example')
api.step('touch a', ['touch', temp.join('a')])
api.step('touch b', ['touch', temp.join('b')])
api.step('touch c', ['touch', temp.join('c')])
api.file.ensure_directory('mkdirs', temp.join('sub', 'dir'))
api.step('touch d', ['touch', temp.join('sub', 'dir', 'd')])
# Create an isolated.
isolated = api.isolated.isolated(temp)
isolated.add_file(temp.join('a'))
isolated.add_files([temp.join('b'), temp.join('c')])
isolated.add_dir(temp.join('sub', 'dir'))
# Archive with the default isolate server.
first_hash = isolated.archive('archiving')
# Or try isolating the whole root directory - and doing so to another server.
isolated = api.isolated.isolated(temp)
isolated.add_dir(temp)
second_hash = isolated.archive(
'archiving root directory elsewhere',
isolate_server='other-isolateserver.appspot.com',
)
# Download your isolated tree.
first_output_dir = api.path['cleanup'].join('first')
api.isolated.download(
'download with first hash',
isolated_hash=first_hash,
output_dir=first_output_dir,
)
second_output_dir = api.path['cleanup'].join('second')
api.isolated.download(
'download with second hash',
isolated_hash=second_hash,
output_dir=second_output_dir,
isolate_server='other-isolateserver.appspot.com',
)
with api.isolated.on_path():
api.step('some step with isolated in path', [])
def GenTests(api):
yield api.test('basic')
yield api.test('experimental') + api.runtime(is_experimental=True)
yield (api.test('override isolated') +
api.isolated.properties(server='bananas.example.com', version='release')
)
|
#!-*- encoding=utf-8
class MegNoriBaseException(Exception):
pass
class NoAvaliableVolumeError(MegNoriBaseException):
pass
class PutFileException(MegNoriBaseException):
pass
class GetFileException(MegNoriBaseException):
pass
|
print("""O cardápio da lanchonete é o seguinte:
Especificação Código Preço
Cachorro Quente 100 R$ 1,20
Bauru Simples 101 R$ 1,30
Bauru com ovo 102 R$ 1,50
Hambúrguer 103 R$ 1,20
Cheeseburguer 104 R$ 1,30
Refrigerante 105 R$ 1,00
""")
pergunta = 's'
conta = 0
while pergunta == 's':
codigo = int(input("Digite o codigo do produto: "))
quantidade = int(input("Digite a quantidade: "))
if codigo == 100:
conta += (quantidade*1.20)
elif codigo == 101:
conta += (quantidade*1.30)
elif codigo == 102:
conta += (quantidade*1.50)
elif codigo == 103:
conta += (quantidade*1.20)
elif codigo == 104:
conta += (quantidade*1.30)
elif codigo == 105:
conta += (quantidade*1)
else:
print("Código invalido")
pergunta = input("Deseja adicionar mais itens ao seu pedido? s/n: ").lower()
print(f" Valor total da compra: R${conta}") |
{
'target_defaults': {
'conditions': [
['OS != "win"', {
'defines': [
'_GNU_SOURCE',
],
'conditions': [
['OS=="solaris"', {
'cflags': ['-pthreads'],
'ldlags': ['-pthreads'],
}, {
'cflags': ['-pthread'],
'ldlags': ['-pthread'],
}],
],
}],
],
},
"targets": [
{
"target_name": "lring",
"type": "<(library)",
"include_dirs": [
"include/",
"src/"
],
"sources": [
"src/lring.c"
]
}, {
"target_name": "tests",
"type": "executable",
"dependencies": [ "lring" ],
"include_dirs": [
"include/",
"test/"
],
"sources": [
"test/ring-test.c"
]
}
]
}
|
#
# PySNMP MIB module CHEETAH-TRAP-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CHEETAH-TRAP-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:48:47 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)
#
slbCurCfgRealServerIndex, fltCurCfgIndx, slbCurCfgVirtServiceRealPort, fltCurCfgPortIndx, slbCurCfgRealServerName, slbCurCfgRealServerIpAddr, fltCurCfgSrcIp = mibBuilder.importSymbols("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIndex", "fltCurCfgIndx", "slbCurCfgVirtServiceRealPort", "fltCurCfgPortIndx", "slbCurCfgRealServerName", "slbCurCfgRealServerIpAddr", "fltCurCfgSrcIp")
ipCurCfgGwAddr, vrrpCurCfgVirtRtrAddr, vrrpCurCfgVirtRtrIndx, vrrpCurCfgIfPasswd, ipCurCfgGwIndex, vrrpCurCfgIfIndx = mibBuilder.importSymbols("ALTEON-CHEETAH-NETWORK-MIB", "ipCurCfgGwAddr", "vrrpCurCfgVirtRtrAddr", "vrrpCurCfgVirtRtrIndx", "vrrpCurCfgIfPasswd", "ipCurCfgGwIndex", "vrrpCurCfgIfIndx")
aws_switch, = mibBuilder.importSymbols("ALTEON-ROOT-MIB", "aws-switch")
OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, ConstraintsUnion, ValueRangeConstraint, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
sysContact, sysName, sysLocation = mibBuilder.importSymbols("SNMPv2-MIB", "sysContact", "sysName", "sysLocation")
ObjectIdentity, Counter32, TimeTicks, MibIdentifier, ModuleIdentity, Gauge32, Integer32, IpAddress, NotificationType, iso, NotificationType, Unsigned32, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "Counter32", "TimeTicks", "MibIdentifier", "ModuleIdentity", "Gauge32", "Integer32", "IpAddress", "NotificationType", "iso", "NotificationType", "Unsigned32", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
altTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7))
altSwTrapDisplayString = MibScalar((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7, 1000), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: altSwTrapDisplayString.setStatus('mandatory')
if mibBuilder.loadTexts: altSwTrapDisplayString.setDescription('Temporary string object used to store information being sent in an Alteon Switch trap.')
altSwTrapRate = MibScalar((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7, 1001), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: altSwTrapRate.setStatus('mandatory')
if mibBuilder.loadTexts: altSwTrapRate.setDescription('Temporary integer object used to store information being sent in an Alteon Switch trap.')
altSwPrimaryPowerSupplyFailure = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,1))
if mibBuilder.loadTexts: altSwPrimaryPowerSupplyFailure.setDescription('A altSwPrimaryPowerSupplyFailure trap signifies that the primary power supply failed.')
altSwDefGwUp = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,2)).setObjects(("ALTEON-CHEETAH-NETWORK-MIB", "ipCurCfgGwIndex"), ("ALTEON-CHEETAH-NETWORK-MIB", "ipCurCfgGwAddr"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwDefGwUp.setDescription('A altSwDefGwUp trap signifies that the default gateway is alive. ipCurCfgGwIndex is the index of the Gateway in ipCurCfgGwTable. The range for ipCurCfgGwIndex is from 1 to ipGatewayTableMax. ipCurCfgGwAddr is the IP address of the default gateway.')
altSwDefGwDown = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,3)).setObjects(("ALTEON-CHEETAH-NETWORK-MIB", "ipCurCfgGwIndex"), ("ALTEON-CHEETAH-NETWORK-MIB", "ipCurCfgGwAddr"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwDefGwDown.setDescription('A altSwDefGwDown trap signifies that the default gateway is down. ipCurCfgGwIndex is the index of the Gateway in ipCurCfgGwTable. The range for ipCurCfgGwIndex is from 1 to ipGatewayTableMax. ipCurCfgGwAddr is the IP address of the default gateway.')
altSwDefGwInService = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,4)).setObjects(("ALTEON-CHEETAH-NETWORK-MIB", "ipCurCfgGwIndex"), ("ALTEON-CHEETAH-NETWORK-MIB", "ipCurCfgGwAddr"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwDefGwInService.setDescription('A altSwDefGwEnabled trap signifies that the default gateway is up and in service. ipCurCfgGwIndex is the index of the Gateway in ipCurCfgGwTable. The range for ipCurCfgGwIndex is from 1 to ipGatewayTableMax. ipCurCfgGwAddr is the IP address of the default gateway.')
altSwDefGwNotInService = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,5)).setObjects(("ALTEON-CHEETAH-NETWORK-MIB", "ipCurCfgGwIndex"), ("ALTEON-CHEETAH-NETWORK-MIB", "ipCurCfgGwAddr"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwDefGwNotInService.setDescription('A altSwDefGwDisabled trap signifies that the default gateway is alive but not in service. ipCurCfgGwIndex is the index of the Gateway in ipCurCfgGwTable. The range for ipCurCfgGwIndex is from 1 to ipGatewayTableMax. ipCurCfgGwAddr is the IP address of the default gateway.')
altSwSlbRealServerUp = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,6)).setObjects(("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIndex"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIpAddr"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwSlbRealServerUp.setDescription('A altSwSlbRealServerUp trap signifies that the real server (which had gone down )is back up and operational now. slbCurCfgRealServerIndex is the affected Real Server Number. The range is from 1 to slbRealServerMaxSize. slbCurCfgRealServerIpAddr is the IP address of the affected Real Server. slbCurCfgRealServerName is the optional Name given to the affected Real Server.')
altSwSlbRealServerDown = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,7)).setObjects(("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIndex"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIpAddr"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwSlbRealServerDown.setDescription('A altSwSlbRealServerDown trap signifies that the real server has gone down and is out of service. slbCurCfgRealServerIndex is the affected Real Server Number. The range is from 1 to slbRealServerMaxSize. slbCurCfgRealServerIpAddr is the IP address of the affected Real Server. slbCurCfgRealServerName is the optional Name given to the affected Real Server.')
altSwSlbRealServerMaxConnReached = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,8)).setObjects(("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIndex"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIpAddr"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwSlbRealServerMaxConnReached.setDescription('A altSwSlbRealServerMaxConnReached trap signifies that the real server has reached maximum connections. The Real server will not be sent any more traffic from the switch until the number of connections drops below the maximum. If a backup server has been specified, it will be used to service additional requests, which is referred to as an Overflow server. slbCurCfgRealServerIndex is the affected Real Server Number. The range is from 1 to slbRealServerMaxSize. slbCurCfgRealServerIpAddr is the IP address of the affected Real Server. slbCurCfgRealServerName is the optional Name given to the affected Real Server.')
altSwSlbBkupRealServerAct = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,9)).setObjects(("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIndex"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIpAddr"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwSlbBkupRealServerAct.setDescription('A altSwSlbBkupRealServerAct trap signifies that this backup real server has been activated because the Real server that it backs up went down.One might expect that a altSwSlbRealServerDown trap with the primary real server specified would preceded this one. slbCurCfgRealServerIndex is the affected Real Server Number. The range is from 1 to slbRealServerMaxSize. slbCurCfgRealServerIpAddr is the IP address of the affected Real Server. slbCurCfgRealServerName is the optional Name given to the affected Real Server.')
altSwSlbBkupRealServerDeact = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,10)).setObjects(("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIndex"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIpAddr"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwSlbBkupRealServerDeact.setDescription('A altSwSlbBkupRealServerDeact trap signifies that the backup real server is deactivated because the primary real server has become available.One might expect that a altSwSlbRealServerUp trap with the primary real server specified would preceded this one. slbCurCfgRealServerIndex is the affected Real Server Number. The range is from 1 to slbRealServerMaxSize. slbCurCfgRealServerIpAddr is the IP address of the affected Real Server. slbCurCfgRealServerName is the optional Name given to the affected Real Server.')
altSwSlbBkupRealServerActOverflow = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,11)).setObjects(("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIndex"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIpAddr"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwSlbBkupRealServerActOverflow.setDescription('A altSwSlbBkupRealServerActOverflow trap signifies that the backup real server is activated because the primary real server has reached the maximum allowed connections and is considered to be is in the Overflow state.One would expect an altSwSlbRealServerMaxConnReached trap from the Real server that just entered Overflow would preceded this one. slbCurCfgRealServerIndex is the affected Real Server Number. The range is from 1 to slbRealServerMaxSize. slbCurCfgRealServerIpAddr is the IP address of the affected Real Server. slbCurCfgRealServerName is the optional Name given to the affected Real Server.')
altSwSlbBkupRealServerDeactOverflow = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,12)).setObjects(("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIndex"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIpAddr"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwSlbBkupRealServerDeactOverflow.setDescription('A altSwSlbBkupRealServerDeactOverflow trap signifies that the backup real server is deactivated because the primary real server is no longer in Overflow. The number of connections to the real server has fallen below the maximum allowed. The backup/overflow server is no longer needed. slbCurCfgRealServerIndex is the affected Real Server Number. The range is from 1 to slbRealServerMaxSize. slbCurCfgRealServerIpAddr is the IP address of the affected Real Server. slbCurCfgRealServerName is the optional Name given to the affected Real Server.')
altSwfltFilterFired = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,13)).setObjects(("ALTEON-CHEETAH-LAYER4-MIB", "fltCurCfgIndx"), ("ALTEON-CHEETAH-LAYER4-MIB", "fltCurCfgPortIndx"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwfltFilterFired.setDescription('A altSwfltFilterFired trap signifies that the packet received on a switch port matches the filter rule. on a switch port matches the filter rule. fltCurCfgIndx is the affected filter index, referenced in fltCurCfgTable. The range is from 1 to fltCfgTableMaxSize. fltCurCfgPortIndx is the affected port index, referenced in fltCurCfgPortTable. The range is from 1 to agPortTableMaxEnt.')
altSwSlbRealServerServiceUp = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,14)).setObjects(("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIndex"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIpAddr"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerName"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgVirtServiceRealPort"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwSlbRealServerServiceUp.setDescription('A altSwSlbRealServerServiceUp trap signifies that the service port of the real server is up and operational. slbCurCfgRealServerIndex is the affected Real Server Number. The range is from 1 to the value return from slbRealServerMaxSize. slbCurCfgRealServerIpAddr is the IP address of the affected Real Server. slbCurCfgRealServerName is the optional Name given to the affected Real Server. slbCurCfgVirtualServiceRealPort referenced in slbCurCfgVirtServicesTable. This is the layer 4 real port number of the service.')
altSwSlbRealServerServiceDown = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,15)).setObjects(("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIndex"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerIpAddr"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgRealServerName"), ("ALTEON-CHEETAH-LAYER4-MIB", "slbCurCfgVirtServiceRealPort"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwSlbRealServerServiceDown.setDescription('A altSwSlbRealServerServiceDown trap signifies that the service port of the real server is down and out of service. slbCurCfgRealServerIndex is the affected Real Server Number. The range is from 1 to the value return from slbRealServerMaxSize. slbCurCfgRealServerIpAddr is the IP address of the affected Real Server. slbCurCfgRealServerName is the optional Name given to the affected Real Server. slbCurCfgVirtualServiceRealPort referenced in slbCurCfgVirtServicesTable. This is the layer 4 real port number of the service.')
altSwVrrpNewMaster = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,16)).setObjects(("ALTEON-CHEETAH-NETWORK-MIB", "vrrpCurCfgVirtRtrIndx"), ("ALTEON-CHEETAH-NETWORK-MIB", "vrrpCurCfgVirtRtrAddr"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwVrrpNewMaster.setDescription("The altSwVrrpNewMaster trap indicates that the sending agent has transitioned to 'Master' state. vrrpCurCfgVirtRtrIndx is the VRRP virtual router table index referenced in vrrpCurCfgVirtRtrTable. The range is from 1 to vrrpVirtRtrTableMaxSize. vrrpCurCfgVirtRtrAddr is the VRRP virtual router IP address.")
altSwVrrpNewBackup = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,17)).setObjects(("ALTEON-CHEETAH-NETWORK-MIB", "vrrpCurCfgVirtRtrIndx"), ("ALTEON-CHEETAH-NETWORK-MIB", "vrrpCurCfgVirtRtrAddr"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwVrrpNewBackup.setDescription("The altSwVrrpNewBackup trap indicates that the sending agent has transitioned to 'Backup' state. vrrpCurCfgVirtRtrIndx is the VRRP virtual router table index referenced in vrrpCurCfgVirtRtrTable. The range is from 1 to vrrpVirtRtrTableMaxSize. vrrpCurCfgVirtRtrAddr is the VRRP virtual router IP address.")
altSwVrrpAuthFailure = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,18)).setObjects(("ALTEON-CHEETAH-NETWORK-MIB", "vrrpCurCfgIfIndx"), ("ALTEON-CHEETAH-NETWORK-MIB", "vrrpCurCfgIfPasswd"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwVrrpAuthFailure.setDescription("A altSwVrrpAuthFailure trap signifies that a packet has been received from a router whose authentication key or authentication type conflicts with this router's authentication key or authentication type. Implementation of this trap is optional. vrrpCurCfgIfIndx is the VRRP interface index. This is equivalent to IfIndex in RFC 1213 mib. The range is from 1 to vrrpIfTableMaxSize. vrrpCurCfgIfPasswd is the password for authentication. It is a DisplayString of 0 to 7 characters.")
altSwLoginFailure = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,19)).setObjects(("CHEETAH-TRAP-MIB", "altSwTrapDisplayString"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwLoginFailure.setDescription('A altSwLoginFailure trap signifies that someone failed to enter a valid username/password combination. altSwTrapDisplayString specifies whether the login attempt was from CONSOLE or TELNET. In case of TELNET login it also specifies the IP address of the host from which the attempt was made.')
altSwSlbSynAttack = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,20)).setObjects(("CHEETAH-TRAP-MIB", "altSwTrapRate"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwSlbSynAttack.setDescription('A altSwSlbSynAttack trap signifies that a SYN attack has been detected. altSwTrapRate specifies the number of new half-open sessions per second.')
altSwTcpHoldDown = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,21)).setObjects(("ALTEON-CHEETAH-LAYER4-MIB", "fltCurCfgSrcIp"), ("CHEETAH-TRAP-MIB", "altSwTrapRate"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwTcpHoldDown.setDescription('A altSwTcpHoldDown trap signifies that new TCP connection requests from a particular client will be blocked for a pre-determined amount of time since the rate of new TCP connections from that client has reached a pre-determined threshold. The fltCurCfgSrcIp is the client source IP address for which new TCP connection requests will be blocked. The altSwTrapRate specifies the amount of time in minutes that the particular client will be blocked.')
altSwTempExceedThreshold = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 5, 7) + (0,22)).setObjects(("CHEETAH-TRAP-MIB", "altSwTrapDisplayString"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact"))
if mibBuilder.loadTexts: altSwTempExceedThreshold.setDescription('A altSwTempExceedThreshold trap signifies that the switch temperature has exceeded maximum safety limits. altSwTrapDisplayString specifies the sensor, the current sensor temperature and the threshold for the particular sensor.')
mibBuilder.exportSymbols("CHEETAH-TRAP-MIB", altSwTrapDisplayString=altSwTrapDisplayString, altSwSlbRealServerMaxConnReached=altSwSlbRealServerMaxConnReached, altSwVrrpNewBackup=altSwVrrpNewBackup, altTraps=altTraps, altSwSlbRealServerServiceUp=altSwSlbRealServerServiceUp, altSwPrimaryPowerSupplyFailure=altSwPrimaryPowerSupplyFailure, altSwTrapRate=altSwTrapRate, altSwVrrpNewMaster=altSwVrrpNewMaster, altSwSlbBkupRealServerActOverflow=altSwSlbBkupRealServerActOverflow, altSwDefGwDown=altSwDefGwDown, altSwSlbRealServerUp=altSwSlbRealServerUp, altSwfltFilterFired=altSwfltFilterFired, altSwLoginFailure=altSwLoginFailure, altSwSlbRealServerServiceDown=altSwSlbRealServerServiceDown, altSwSlbBkupRealServerDeact=altSwSlbBkupRealServerDeact, altSwSlbBkupRealServerAct=altSwSlbBkupRealServerAct, altSwTcpHoldDown=altSwTcpHoldDown, altSwSlbSynAttack=altSwSlbSynAttack, altSwTempExceedThreshold=altSwTempExceedThreshold, altSwVrrpAuthFailure=altSwVrrpAuthFailure, altSwDefGwNotInService=altSwDefGwNotInService, altSwSlbBkupRealServerDeactOverflow=altSwSlbBkupRealServerDeactOverflow, altSwDefGwUp=altSwDefGwUp, altSwSlbRealServerDown=altSwSlbRealServerDown, altSwDefGwInService=altSwDefGwInService)
|
def imagecreate():
image = open("theimage.ppm", "w")
image.write("P3\n")
image.write("500 500\n")
image.write("255\n\n")
for i in range(500):
curline = ""
for j in range(500):
if i > 250:
i = 250 - (i % 250)
if j > 250:
j = 250 - (j % 250)
if i == 0 or j == 0:
r = 0
g = 0
else:
r = 255 % (i + j)
g = 255 % (i + j)
b = (i + j) % 255
curline += "%d %d %d "%(r,g,b)
image.write(curline+"\n")
image.close()
imagecreate()
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.