content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
class Solution:
def findTheCity(self, n: int, edges: List[List[int]], distanceThreshold: int) -> int:
"""
4
[[0,1,3],[1,2,1],[1,3,4],[2,3,1]]
4
5
[[0,1,2],[0,4,8],[1,2,3],[1,4,2],[2,3,1],[3,4,1]]
2
5
[[0,1,2],[0,4,8],[1,2,3],[1,4,2],[2,3,4],[3,4,5]]
1
5
[[0,1,2],[0,4,8],[1,2,3],[1,4,2],[2,3,1],[3,4,1]]
2
5
[[0,1,2],[0,4,8],[1,2,3],[1,4,2],[2,3,1],[3,4,1]]
10
"""
graph = collections.defaultdict(list)
for source, dest, cost in edges:
graph[source].append((dest, cost))
graph[dest].append((source, cost))
cities = []
for node in range(n):
#costs = self.bellman_ford(node, edges, distanceThreshold, n)
costs = self.dijkstra(node, graph, distanceThreshold, n)
total_cities = 0
for cost in costs:
total_cities += cost != float(inf)
cities.append(total_cities)
min_cities = min(cities)
smallest_connections = [i for i in range(n) if cities[i] == min_cities]
return smallest_connections[-1] if smallest_connections else -1
def bellman_ford(self, start_node, edges, max_distance, total_nodes):
"""
Time O(V*E)
Space O(E)
TLE
"""
costs = [float(inf) for _ in range(total_nodes)]
costs[start_node] = 0
for node in range(total_nodes):
for source, dest, cost in edges:
new_cost = cost + costs[source]
costs[dest] = min(costs[dest], new_cost)
new_cost = cost + costs[dest]
costs[source] = min(costs[source], new_cost)
return [cost for cost in costs if cost <= max_distance]
def dijkstra(self, start_node, graph, max_distance, total_nodes):
"""
Time O(V + E log V)
Space O(E)
"""
costs = [float(inf) for _ in range(total_nodes)]
costs[start_node] = 0
min_heap = []
heappush(min_heap, (0, start_node))
while min_heap:
cost, source = heappop(min_heap)
if cost > costs[source]:
continue
for dest, other_cost in graph[source]:
new_cost = cost + other_cost
if costs[dest] > new_cost and new_cost <= max_distance:
costs[dest] = new_cost
heappush(min_heap, (new_cost, dest))
return costs
| class Solution:
def find_the_city(self, n: int, edges: List[List[int]], distanceThreshold: int) -> int:
"""
4
[[0,1,3],[1,2,1],[1,3,4],[2,3,1]]
4
5
[[0,1,2],[0,4,8],[1,2,3],[1,4,2],[2,3,1],[3,4,1]]
2
5
[[0,1,2],[0,4,8],[1,2,3],[1,4,2],[2,3,4],[3,4,5]]
1
5
[[0,1,2],[0,4,8],[1,2,3],[1,4,2],[2,3,1],[3,4,1]]
2
5
[[0,1,2],[0,4,8],[1,2,3],[1,4,2],[2,3,1],[3,4,1]]
10
"""
graph = collections.defaultdict(list)
for (source, dest, cost) in edges:
graph[source].append((dest, cost))
graph[dest].append((source, cost))
cities = []
for node in range(n):
costs = self.dijkstra(node, graph, distanceThreshold, n)
total_cities = 0
for cost in costs:
total_cities += cost != float(inf)
cities.append(total_cities)
min_cities = min(cities)
smallest_connections = [i for i in range(n) if cities[i] == min_cities]
return smallest_connections[-1] if smallest_connections else -1
def bellman_ford(self, start_node, edges, max_distance, total_nodes):
"""
Time O(V*E)
Space O(E)
TLE
"""
costs = [float(inf) for _ in range(total_nodes)]
costs[start_node] = 0
for node in range(total_nodes):
for (source, dest, cost) in edges:
new_cost = cost + costs[source]
costs[dest] = min(costs[dest], new_cost)
new_cost = cost + costs[dest]
costs[source] = min(costs[source], new_cost)
return [cost for cost in costs if cost <= max_distance]
def dijkstra(self, start_node, graph, max_distance, total_nodes):
"""
Time O(V + E log V)
Space O(E)
"""
costs = [float(inf) for _ in range(total_nodes)]
costs[start_node] = 0
min_heap = []
heappush(min_heap, (0, start_node))
while min_heap:
(cost, source) = heappop(min_heap)
if cost > costs[source]:
continue
for (dest, other_cost) in graph[source]:
new_cost = cost + other_cost
if costs[dest] > new_cost and new_cost <= max_distance:
costs[dest] = new_cost
heappush(min_heap, (new_cost, dest))
return costs |
def spec(packet, config, transmitted_packet):
if packet.device == config['wan device']:
assert transmitted_packet.device == config['lan device']
else:
assert transmitted_packet.device == config['wan device']
# assert transmitted_packet.data[:96] == packet.data[:96] # ignore MACs for now
| def spec(packet, config, transmitted_packet):
if packet.device == config['wan device']:
assert transmitted_packet.device == config['lan device']
else:
assert transmitted_packet.device == config['wan device'] |
class HashTable:
def __init__(self, sz, stp):
self.size = sz
self.step = stp
self.slots = [None] * self.size
def hash_fun(self, value):
result = 0
for pos in range(len(value)):
sym = value[pos]
result += ord(sym) * pos
return result % self.size
def seek_slot(self, value):
slot = self.hash_fun(value)
iteration = 0
while iteration < self.size:
iteration += 1
if self.slots[slot] is None:
return slot
else:
slot = (slot + self.step) % self.size
return None
def put(self, value):
slot = self.seek_slot(value)
if slot is not None:
self.slots[slot] = value
return slot
else:
return None
def find(self, value):
slot = self.hash_fun(value)
iteration = 0
while iteration < self.size:
iteration += 1
if self.slots[slot] == value:
return slot
else:
slot = (slot + self.step) % self.size
return None
| class Hashtable:
def __init__(self, sz, stp):
self.size = sz
self.step = stp
self.slots = [None] * self.size
def hash_fun(self, value):
result = 0
for pos in range(len(value)):
sym = value[pos]
result += ord(sym) * pos
return result % self.size
def seek_slot(self, value):
slot = self.hash_fun(value)
iteration = 0
while iteration < self.size:
iteration += 1
if self.slots[slot] is None:
return slot
else:
slot = (slot + self.step) % self.size
return None
def put(self, value):
slot = self.seek_slot(value)
if slot is not None:
self.slots[slot] = value
return slot
else:
return None
def find(self, value):
slot = self.hash_fun(value)
iteration = 0
while iteration < self.size:
iteration += 1
if self.slots[slot] == value:
return slot
else:
slot = (slot + self.step) % self.size
return None |
n=int(input())
for i in range(n):
s,k=input().split()
k=int(k)
s=s.replace('-','1').replace('+','0')
s=int(s,2)
ans=0
x=int('1'*k,2)
while s:
ss=len(bin(s))-2
if ss-k < 0:
ans="IMPOSSIBLE"
break
s^=x<<(ss-k)
ans+=1
print("Case #%d: %s"%(i+1,str(ans))) | n = int(input())
for i in range(n):
(s, k) = input().split()
k = int(k)
s = s.replace('-', '1').replace('+', '0')
s = int(s, 2)
ans = 0
x = int('1' * k, 2)
while s:
ss = len(bin(s)) - 2
if ss - k < 0:
ans = 'IMPOSSIBLE'
break
s ^= x << ss - k
ans += 1
print('Case #%d: %s' % (i + 1, str(ans))) |
# Python - 3.6.0
Test.describe('Basic Tests')
Test.assert_equals(twice_as_old(36, 7), 22)
Test.assert_equals(twice_as_old(55, 30), 5)
Test.assert_equals(twice_as_old(42, 21), 0)
Test.assert_equals(twice_as_old(22, 1), 20)
Test.assert_equals(twice_as_old(29 ,0), 29)
| Test.describe('Basic Tests')
Test.assert_equals(twice_as_old(36, 7), 22)
Test.assert_equals(twice_as_old(55, 30), 5)
Test.assert_equals(twice_as_old(42, 21), 0)
Test.assert_equals(twice_as_old(22, 1), 20)
Test.assert_equals(twice_as_old(29, 0), 29) |
x = [1, 2, 3] # Create the first list
y = [4, 5, 6] # Create the second list
t = (x, y) # Create the tuple from the lists
print(t) # Print the tuple
print(type(t)) # Display the type 'tuple'
print(t[0]) # Display the first list
print(t[0][1]) # Display the second element of the first list
a, b = t # Assign the first list to 'a' and the second list to 'b'
print(a) # Display the first list
print(b) # Display the second list
a[0] = 'sorry' # Assign 'sorry' to the first item in list 'a'
print(a) # Display the list 'a'
print(x) # Display how list 'x' has changed
c = 'Hello!', # Display how a simple comma can accidentally create a tuple
print(type(c)) # Show that 'c' is now a tuple
| x = [1, 2, 3]
y = [4, 5, 6]
t = (x, y)
print(t)
print(type(t))
print(t[0])
print(t[0][1])
(a, b) = t
print(a)
print(b)
a[0] = 'sorry'
print(a)
print(x)
c = ('Hello!',)
print(type(c)) |
#!/usr/bin/env python3
#this progam will write Hello World!
print("Hello World!") | print('Hello World!') |
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, val=0, left=None, right=None):
# self.val = val
# self.left = left
# self.right = right
class Solution:
def isValidBST(self, root: TreeNode) -> bool:
nodes = []
self._isValidBST(root, nodes)
return sorted(nodes) == nodes and len(nodes) == len(set(nodes))
def _isValidBST(self, root, nodes):
if root:
self._isValidBST(root.left, nodes)
nodes.append(root.val)
self._isValidBST(root.right, nodes)
| class Solution:
def is_valid_bst(self, root: TreeNode) -> bool:
nodes = []
self._isValidBST(root, nodes)
return sorted(nodes) == nodes and len(nodes) == len(set(nodes))
def _is_valid_bst(self, root, nodes):
if root:
self._isValidBST(root.left, nodes)
nodes.append(root.val)
self._isValidBST(root.right, nodes) |
class Indexer:
"""An indexer class."""
def __init__(self, candidates, index=0):
"""Constructor.
Args:
candidates (Sequence): A candidates.
"""
self.candidates = candidates
self.index = index
@property
def index(self):
"""int: A current index.
Example:
>>> indexer = Indexer("abcde")
>>> indexer.index
0
>>> indexer.index = 1
>>> indexer.index
1
>>> indexer.index = 4
>>> indexer.index
4
>>> indexer.index = 5
>>> indexer.index
0
>>> indexer.index = 6
>>> indexer.index
1
>>> indexer.index = -1
>>> indexer.index
4
>>> indexer.index = -2
>>> indexer.index
3
"""
return self._index
@index.setter
def index(self, value):
value = value % len(self.candidates)
self._index = value
@property
def current(self):
"""Any: A current candidate.
Example:
>>> indexer = Indexer("abcde")
>>> indexer.current
'a'
>>> indexer.index = 1
>>> indexer.current
'b'
"""
return self.candidates[self.index]
def next(self, offset=1):
"""Select next candidate and return.
Example:
>>> indexer = Indexer("abcde")
>>> indexer.current
'a'
>>> indexer.next()
'b'
>>> indexer.next()
'c'
>>> indexer.next()
'd'
>>> indexer.next()
'e'
>>> indexer.next()
'a'
"""
self.index += offset
return self.current
def previous(self, offset=1):
"""Select previous candidate and return.
Example:
>>> indexer = Indexer("abcde")
>>> indexer.current
'a'
>>> indexer.previous()
'e'
>>> indexer.previous()
'd'
>>> indexer.previous()
'c'
>>> indexer.previous()
'b'
>>> indexer.previous()
'a'
"""
self.index -= offset
return self.current
| class Indexer:
"""An indexer class."""
def __init__(self, candidates, index=0):
"""Constructor.
Args:
candidates (Sequence): A candidates.
"""
self.candidates = candidates
self.index = index
@property
def index(self):
"""int: A current index.
Example:
>>> indexer = Indexer("abcde")
>>> indexer.index
0
>>> indexer.index = 1
>>> indexer.index
1
>>> indexer.index = 4
>>> indexer.index
4
>>> indexer.index = 5
>>> indexer.index
0
>>> indexer.index = 6
>>> indexer.index
1
>>> indexer.index = -1
>>> indexer.index
4
>>> indexer.index = -2
>>> indexer.index
3
"""
return self._index
@index.setter
def index(self, value):
value = value % len(self.candidates)
self._index = value
@property
def current(self):
"""Any: A current candidate.
Example:
>>> indexer = Indexer("abcde")
>>> indexer.current
'a'
>>> indexer.index = 1
>>> indexer.current
'b'
"""
return self.candidates[self.index]
def next(self, offset=1):
"""Select next candidate and return.
Example:
>>> indexer = Indexer("abcde")
>>> indexer.current
'a'
>>> indexer.next()
'b'
>>> indexer.next()
'c'
>>> indexer.next()
'd'
>>> indexer.next()
'e'
>>> indexer.next()
'a'
"""
self.index += offset
return self.current
def previous(self, offset=1):
"""Select previous candidate and return.
Example:
>>> indexer = Indexer("abcde")
>>> indexer.current
'a'
>>> indexer.previous()
'e'
>>> indexer.previous()
'd'
>>> indexer.previous()
'c'
>>> indexer.previous()
'b'
>>> indexer.previous()
'a'
"""
self.index -= offset
return self.current |
# Write a Python program to remove the first item from a specified list.
color = ["Red", "Black", "Green", "White", "Orange"]
print("Original Color: ", color)
del color[0]
print("After removing the first color: ", color)
print()
| color = ['Red', 'Black', 'Green', 'White', 'Orange']
print('Original Color: ', color)
del color[0]
print('After removing the first color: ', color)
print() |
#
# PySNMP MIB module CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:05:14 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection")
cldcClientMacAddress, = mibBuilder.importSymbols("CISCO-LWAPP-DOT11-CLIENT-MIB", "cldcClientMacAddress")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup")
MibIdentifier, TimeTicks, Gauge32, ObjectIdentity, iso, Counter64, ModuleIdentity, Bits, IpAddress, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, NotificationType, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "TimeTicks", "Gauge32", "ObjectIdentity", "iso", "Counter64", "ModuleIdentity", "Bits", "IpAddress", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "NotificationType", "Integer32")
MacAddress, DisplayString, TextualConvention, TruthValue, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "DisplayString", "TextualConvention", "TruthValue", "RowStatus")
ciscoLwappDot11ClientRmMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 767))
ciscoLwappDot11ClientRmMIB.setRevisions(('2010-12-13 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ciscoLwappDot11ClientRmMIB.setRevisionsDescriptions(('Initial version of this MIB module.',))
if mibBuilder.loadTexts: ciscoLwappDot11ClientRmMIB.setLastUpdated('201012130000Z')
if mibBuilder.loadTexts: ciscoLwappDot11ClientRmMIB.setOrganization('Cisco Systems Inc.')
if mibBuilder.loadTexts: ciscoLwappDot11ClientRmMIB.setContactInfo('Cisco Systems, Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS Email: cs-wnbu-snmp@cisco.com')
if mibBuilder.loadTexts: ciscoLwappDot11ClientRmMIB.setDescription("This MIB is intended to be implemented on all those devices operating as Central controllers, that terminate the Light Weight Access Point Protocol tunnel from Cisco Light-weight LWAPP Access Points. The relationship between CC and the LWAPP APs can be depicted as follows: +......+ +......+ +......+ +......+ + + + + + + + + + CC + + CC + + CC + + CC + + + + + + + + + +......+ +......+ +......+ +......+ .. . . . .. . . . . . . . . . . . . . . . . . . . . . . . +......+ +......+ +......+ +......+ +......+ + + + + + + + + + + + AP + + AP + + AP + + AP + + AP + + + + + + + + + + + +......+ +......+ +......+ +......+ +......+ . . . . . . . . . . . . . . . . . . . . . . . . +......+ +......+ +......+ +......+ +......+ + + + + + + + + + + + MN + + MN + + MN + + MN + + MN + + + + + + + + + + + +......+ +......+ +......+ +......+ +......+ The LWAPP tunnel exists between the controller and the APs. The MNs communicate with the APs through the protocol defined by the 802.11 standard. LWAPP APs, upon bootup, discover and join one of the controllers and the controller pushes the configuration, that includes the WLAN parameters, to the LWAPP APs. The APs then encapsulate all the 802.11 frames from wireless clients inside LWAPP frames and forward the LWAPP frames to the controller. GLOSSARY Access Point ( AP ) An entity that contains an 802.11 medium access control ( MAC ) and physical layer ( PHY ) interface and provides access to the distribution services via the wireless medium for associated clients. LWAPP APs encapsulate all the 802.11 frames in LWAPP frames and sends them to the controller to which it is logically connected. Central Controller ( CC ) The central entity that terminates the LWAPP protocol tunnel from the LWAPP APs. Throughout this MIB, this entity also referred to as 'controller'. Cisco Compatible eXtensions (CCX) Wireless LAN Access Points (APs) manufactured by Cisco Systems have features and capabilities beyond those in related standards (e.g., IEEE 802.11 suite of standards, Wi-Fi recommendations by WECA, 802.1X security suite, etc). A number of features provide higher performance. For example, Cisco AP transmits a specific Information Element, which the clients adapt to for enhanced performance. Similarly, a number of features are implemented by means of proprietary Information Elements, which Cisco clients use in specific ways to carry out tasks above and beyond the standard. Other examples of feature categories are roaming and power saving. Light Weight Access Point Protocol ( LWAPP ) This is a generic protocol that defines the communication between the Access Points and the Central Controller. Mobile Node ( MN ) A roaming 802.11 wireless device in a wireless network associated with an access point. The terms 'Mobile node' and 'client' are used interchangeably. Radio Management (RM) This term refers to managing the 802.11 radio environment to provide the best quality service to to the 802.11 wireless clients. Service Set Identifier ( SSID ) SSID is a unique identifier that APs and clients use to identify with each other. SSID is a simple means of access control and is not for security. The SSID can be any alphanumeric entry up to 32 characters. REFERENCE [1] Wireless LAN Medium Access Control ( MAC ) and Physical Layer ( PHY ) Specifications [2] Draft-obara-capwap-lwapp-00.txt, IETF Light Weight Access Point Protocol")
ciscoLwapDot11ClientRmMIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 0))
ciscoLwappDot11ClientRmMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 1))
ciscoLwappDot11ClientRmMIBConform = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 2))
cldccrRmReq = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1))
cldccrRmResp = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2))
cldccrRmReqStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3))
class CiscoLwappCcxRmReqStatus(TextualConvention, Integer32):
description = 'This attribute is used to initiate/track a request to the ccxv4 client.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("inProgress", 1), ("success", 2), ("failure", 3))
cldccrRmReqTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1), )
if mibBuilder.loadTexts: cldccrRmReqTable.setStatus('current')
if mibBuilder.loadTexts: cldccrRmReqTable.setDescription('This table is used to configure the radio measurement request parameters to be sent to the ccxv4 clients.')
cldccrRmReqEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-CLIENT-MIB", "cldcClientMacAddress"))
if mibBuilder.loadTexts: cldccrRmReqEntry.setStatus('current')
if mibBuilder.loadTexts: cldccrRmReqEntry.setDescription('Each entry represents a conceptual row in this table. An entry corresponds to a client for which a certain type of report is being fetched.')
cldccrRmReqReportType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1, 1), Bits().clone(namedValues=NamedValues(("channelLoadReport", 0), ("histogramReport", 1), ("beaconReport", 2), ("frameReport", 3)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cldccrRmReqReportType.setStatus('current')
if mibBuilder.loadTexts: cldccrRmReqReportType.setDescription('This object is set to list of radio measurement requests the reports of which will be sent by the ccxv4 client to the controller.')
cldccrRmInitiateReq = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1, 2), TruthValue()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cldccrRmInitiateReq.setStatus('current')
if mibBuilder.loadTexts: cldccrRmInitiateReq.setDescription('This object is used to send the rm req message to the client.')
cldccrRmReqNumIterations = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 250))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cldccrRmReqNumIterations.setStatus('current')
if mibBuilder.loadTexts: cldccrRmReqNumIterations.setDescription('This attribute is used to set the number of times the rm request will be sent to the client.')
cldccrRmReqMeasDuration = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(5, 32400))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cldccrRmReqMeasDuration.setStatus('current')
if mibBuilder.loadTexts: cldccrRmReqMeasDuration.setDescription('The time interval between two RM Reqs in seconds.')
cldccrRmReqRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cldccrRmReqRowStatus.setStatus('current')
if mibBuilder.loadTexts: cldccrRmReqRowStatus.setDescription('This is the status column for this row and is used to create and delete specific instances of rows in this table.')
cldccrRmHistRepTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1), )
if mibBuilder.loadTexts: cldccrRmHistRepTable.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepTable.setDescription('This table contains the noise histogram reports of the clients which were queried for the same.')
cldccrRmHistRepEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-CLIENT-MIB", "cldcClientMacAddress"), (0, "CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistIndex"))
if mibBuilder.loadTexts: cldccrRmHistRepEntry.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepEntry.setDescription('There is an entry in the table where entry is identified by the client Mac address.')
cldccrRmHistIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 28)))
if mibBuilder.loadTexts: cldccrRmHistIndex.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistIndex.setDescription('Index which will be the channel number in most cases.')
cldccrRmHistRepChannelNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmHistRepChannelNumber.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepChannelNumber.setDescription('Channel number indicates the channel number to which the noise histogram Report applies.')
cldccrRmHistRepTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 3), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmHistRepTimeStamp.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepTimeStamp.setDescription('Timestamp of the histogram report.')
cldccrRmHistRepRPIDensity0 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity0.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity0.setDescription('This Field stores the RPI density in power range power << -87 db.')
cldccrRmHistRepRPIDensity1 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 5), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity1.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity1.setDescription('This Field stores the RPI density in power range -87 < power << -82.')
cldccrRmHistRepRPIDensity2 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 6), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity2.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity2.setDescription('This Field stores the RPI density in power range -82 < power << -77.')
cldccrRmHistRepRPIDensity3 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 7), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity3.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity3.setDescription('This Field stores the RPI density in power range -77 < power << -72.')
cldccrRmHistRepRPIDensity4 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 8), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity4.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity4.setDescription('This Field stores the RPI density in power range -72< Power << -67.')
cldccrRmHistRepRPIDensity5 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 9), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity5.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity5.setDescription('This Field stores the RPI density in power range -67< Power << -62.')
cldccrRmHistRepRPIDensity6 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 10), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity6.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity6.setDescription('This Field stores the RPI density in power range -62< Power<< -57.')
cldccrRmHistRepRPIDensity7 = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 11), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity7.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistRepRPIDensity7.setDescription('This Field stores the RPI density in power range -57< Power<< -52.')
cldccrRmBeaconRepTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2), )
if mibBuilder.loadTexts: cldccrRmBeaconRepTable.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconRepTable.setDescription('This table contains the beacon reports of the clients which were queried for the same.')
cldccrRmBeaconRepEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-CLIENT-MIB", "cldcClientMacAddress"), (0, "CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmBeaconIndex"))
if mibBuilder.loadTexts: cldccrRmBeaconRepEntry.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconRepEntry.setDescription('There is an entry in the table where entry is identified by the client Mac address.')
cldccrRmBeaconIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 28)))
if mibBuilder.loadTexts: cldccrRmBeaconIndex.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconIndex.setDescription('Index which will be the channel number in most cases.')
cldccrRmBeaconRptChannelNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmBeaconRptChannelNumber.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconRptChannelNumber.setDescription('Channel number indicates the channel number to which the noise beacon report applies.')
cldccrRmBeaconRptTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 3), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmBeaconRptTimeStamp.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconRptTimeStamp.setDescription('Timestamp of the beacon report.')
cldccrRmBeaconRptPhyType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("fh", 1), ("dss", 2), ("unused", 3), ("ofdm", 4), ("highDataRateDss", 5), ("erp", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmBeaconRptPhyType.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconRptPhyType.setDescription('Phy type indicates the physical medium used.')
cldccrRmBeaconRptReceivedPower = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 250))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmBeaconRptReceivedPower.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconRptReceivedPower.setDescription('This field indicates the received strength of the beacon or probe response frame in dBm.')
cldccrRmBeaconRptBSSID = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 6), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmBeaconRptBSSID.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconRptBSSID.setDescription('This field contains the 6-byte BSSID of the STA that transmitted the beacon or probe response frame.')
cldccrRmBeaconRptParentTsf = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmBeaconRptParentTsf.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconRptParentTsf.setDescription('This field is used to store the parent TSF Parent TSF contains the lower 4 bytes of the serving APs. TSF value at the time the measuring STA received the beacon or probe response frame.')
cldccrRmBeaconRptTargetTsf = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmBeaconRptTargetTsf.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconRptTargetTsf.setDescription('This field is used to store the Target TSF. Target TSF contains the 8-byte TSF value contained in the beacon or probe response received by the measuring STA.')
cldccrRmBeaconRptInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 9), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmBeaconRptInterval.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconRptInterval.setDescription('This field is equal to the 2-byte Beacon Interval field in the received beacon or probe response.')
cldccrRmBeaconRptCapInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 10), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmBeaconRptCapInfo.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconRptCapInfo.setDescription('This attribute represents the capability info.')
cldccRmChannelLoadReportTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3), )
if mibBuilder.loadTexts: cldccRmChannelLoadReportTable.setStatus('current')
if mibBuilder.loadTexts: cldccRmChannelLoadReportTable.setDescription('This table contains the channel load reports of the clients which were queried for the same.')
cldccRmChannelLoadReportEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-CLIENT-MIB", "cldcClientMacAddress"), (0, "CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmChannelLoadReportIndex"))
if mibBuilder.loadTexts: cldccRmChannelLoadReportEntry.setStatus('current')
if mibBuilder.loadTexts: cldccRmChannelLoadReportEntry.setDescription('There is an entry in the table where entry is identified by the client Mac address.')
cldccRmChannelLoadReportIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3, 1, 1), Unsigned32())
if mibBuilder.loadTexts: cldccRmChannelLoadReportIndex.setStatus('current')
if mibBuilder.loadTexts: cldccRmChannelLoadReportIndex.setDescription('This indicates the index of the report table.')
cldccRmChannelLoadReportChannelNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccRmChannelLoadReportChannelNumber.setStatus('current')
if mibBuilder.loadTexts: cldccRmChannelLoadReportChannelNumber.setDescription('Channel Number indicates the channel number to which the Channel Load Report applies.')
cldccRmChannelLoadReportTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3, 1, 3), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccRmChannelLoadReportTimeStamp.setStatus('current')
if mibBuilder.loadTexts: cldccRmChannelLoadReportTimeStamp.setDescription('Timestamp of the channel load report.')
cldccRmChannelLoadReportCCABusyFraction = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3, 1, 4), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccRmChannelLoadReportCCABusyFraction.setStatus('current')
if mibBuilder.loadTexts: cldccRmChannelLoadReportCCABusyFraction.setDescription('CCA Busy Fraction shall contain the fractional duration over which CCA indicated the channel was busy during the measurement duration.')
cldccRmFrameReportTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4), )
if mibBuilder.loadTexts: cldccRmFrameReportTable.setStatus('current')
if mibBuilder.loadTexts: cldccRmFrameReportTable.setDescription('This table contains the frame reports of the clients which were queried for the same.')
cldccRmFrameReportEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-CLIENT-MIB", "cldcClientMacAddress"), (0, "CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmFrameReportElemIndex"), (0, "CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmFrameReportSubElemIndex"))
if mibBuilder.loadTexts: cldccRmFrameReportEntry.setStatus('current')
if mibBuilder.loadTexts: cldccRmFrameReportEntry.setDescription('There is an entry in the table where entry is identified by the client Mac address.')
cldccRmFrameReportElemIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 1), Unsigned32())
if mibBuilder.loadTexts: cldccRmFrameReportElemIndex.setStatus('current')
if mibBuilder.loadTexts: cldccRmFrameReportElemIndex.setDescription('This attribute represents the index of element index of frame report.')
cldccRmFrameReportSubElemIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 2), Unsigned32())
if mibBuilder.loadTexts: cldccRmFrameReportSubElemIndex.setStatus('current')
if mibBuilder.loadTexts: cldccRmFrameReportSubElemIndex.setDescription('This attribute represents the index of the sub element in a frame report.')
cldccRmFrameReportChanNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccRmFrameReportChanNumber.setStatus('current')
if mibBuilder.loadTexts: cldccRmFrameReportChanNumber.setDescription('This attribute represents the channel number of frame report.')
cldccRmFrameReportTimeStamp = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 4), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccRmFrameReportTimeStamp.setStatus('current')
if mibBuilder.loadTexts: cldccRmFrameReportTimeStamp.setDescription('Timestamp of the frame report.')
cldccRmFrameReportTransmitAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 5), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccRmFrameReportTransmitAddr.setStatus('current')
if mibBuilder.loadTexts: cldccRmFrameReportTransmitAddr.setDescription('This represents the transmitted address.')
cldccRmFrameReportBssid = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 6), MacAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccRmFrameReportBssid.setStatus('current')
if mibBuilder.loadTexts: cldccRmFrameReportBssid.setDescription('This represents the bssid.')
cldccRmFrameReportRecvSigPower = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 250))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccRmFrameReportRecvSigPower.setStatus('current')
if mibBuilder.loadTexts: cldccRmFrameReportRecvSigPower.setDescription('This field indicates the received strength of the beacon or probe response frame in dBm.')
cldccRmFrameReportFrameCount = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 250))).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccRmFrameReportFrameCount.setStatus('current')
if mibBuilder.loadTexts: cldccRmFrameReportFrameCount.setDescription('This field indicates the received strength of the beacon or probe response frame in dBm.')
cldccrRmReqStatusTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1), )
if mibBuilder.loadTexts: cldccrRmReqStatusTable.setStatus('current')
if mibBuilder.loadTexts: cldccrRmReqStatusTable.setDescription('This table is used to get the status for each of the reports.')
cldccrRmReqStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-CLIENT-MIB", "cldcClientMacAddress"))
if mibBuilder.loadTexts: cldccrRmReqStatusEntry.setStatus('current')
if mibBuilder.loadTexts: cldccrRmReqStatusEntry.setDescription('There is an entry in the table where entry is identified by the client Mac address.')
cldccrRmFrameReqStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1, 1, 1), CiscoLwappCcxRmReqStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmFrameReqStatus.setStatus('current')
if mibBuilder.loadTexts: cldccrRmFrameReqStatus.setDescription('This attribute is used to initiate/track a frame report request to the ccxv4 client.')
cldccrRmHistogramReqStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1, 1, 2), CiscoLwappCcxRmReqStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmHistogramReqStatus.setStatus('current')
if mibBuilder.loadTexts: cldccrRmHistogramReqStatus.setDescription('This attribute is used to initiate/track a noise histogram request to the ccxv4 client.')
cldccrRmBeaconReqStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1, 1, 3), CiscoLwappCcxRmReqStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmBeaconReqStatus.setStatus('current')
if mibBuilder.loadTexts: cldccrRmBeaconReqStatus.setDescription('This attribute is used to initiate/track a beacon request to the ccxv4 client.')
cldccrRmChanLoadReqStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1, 1, 4), CiscoLwappCcxRmReqStatus()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cldccrRmChanLoadReqStatus.setStatus('current')
if mibBuilder.loadTexts: cldccrRmChanLoadReqStatus.setDescription('This attribute is used to initiate/track a channel load request to the ccxv4 client.')
ciscoLwappDot11ClientRmMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 2, 1))
ciscoLwappDot11ClientRmMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 2, 2))
ciscoLwappDot11ClientRmMibCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 767, 2, 1, 1)).setObjects(("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "ciscoLwappDot11ClientRmConfigGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappDot11ClientRmMibCompliance = ciscoLwappDot11ClientRmMibCompliance.setStatus('current')
if mibBuilder.loadTexts: ciscoLwappDot11ClientRmMibCompliance.setDescription('The compliance statement for the SNMP entities that implement the ciscoLwappDot11ClientRmMIB module.')
ciscoLwappDot11ClientRmConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 767, 2, 2, 1)).setObjects(("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmReqReportType"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmInitiateReq"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmReqNumIterations"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmReqMeasDuration"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmReqRowStatus"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistRepChannelNumber"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistRepTimeStamp"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistRepRPIDensity0"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistRepRPIDensity1"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistRepRPIDensity2"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistRepRPIDensity3"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistRepRPIDensity4"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistRepRPIDensity5"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistRepRPIDensity6"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistRepRPIDensity7"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmBeaconRptChannelNumber"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmBeaconRptTimeStamp"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmBeaconRptPhyType"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmBeaconRptReceivedPower"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmBeaconRptBSSID"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmBeaconRptParentTsf"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmBeaconRptTargetTsf"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmBeaconRptInterval"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmBeaconRptCapInfo"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmChannelLoadReportChannelNumber"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmChannelLoadReportTimeStamp"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmChannelLoadReportCCABusyFraction"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmFrameReportChanNumber"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmFrameReportTimeStamp"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmFrameReportTransmitAddr"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmFrameReportBssid"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmFrameReportRecvSigPower"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccRmFrameReportFrameCount"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmFrameReqStatus"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmHistogramReqStatus"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmBeaconReqStatus"), ("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", "cldccrRmChanLoadReqStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ciscoLwappDot11ClientRmConfigGroup = ciscoLwappDot11ClientRmConfigGroup.setStatus('current')
if mibBuilder.loadTexts: ciscoLwappDot11ClientRmConfigGroup.setDescription('This collection of objects represent the reports of the CCX Clients.')
mibBuilder.exportSymbols("CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB", cldccRmChannelLoadReportEntry=cldccRmChannelLoadReportEntry, ciscoLwappDot11ClientRmMIB=ciscoLwappDot11ClientRmMIB, cldccrRmReqReportType=cldccrRmReqReportType, cldccrRmBeaconIndex=cldccrRmBeaconIndex, cldccrRmHistRepRPIDensity5=cldccrRmHistRepRPIDensity5, cldccrRmBeaconRptInterval=cldccrRmBeaconRptInterval, cldccRmFrameReportChanNumber=cldccRmFrameReportChanNumber, cldccrRmHistRepRPIDensity2=cldccrRmHistRepRPIDensity2, cldccRmFrameReportRecvSigPower=cldccRmFrameReportRecvSigPower, cldccRmChannelLoadReportCCABusyFraction=cldccRmChannelLoadReportCCABusyFraction, cldccrRmBeaconRepEntry=cldccrRmBeaconRepEntry, cldccRmFrameReportElemIndex=cldccRmFrameReportElemIndex, cldccrRmReqStatus=cldccrRmReqStatus, cldccrRmReqEntry=cldccrRmReqEntry, cldccrRmReqRowStatus=cldccrRmReqRowStatus, cldccrRmReqMeasDuration=cldccrRmReqMeasDuration, PYSNMP_MODULE_ID=ciscoLwappDot11ClientRmMIB, cldccrRmHistRepRPIDensity6=cldccrRmHistRepRPIDensity6, cldccrRmHistogramReqStatus=cldccrRmHistogramReqStatus, cldccrRmFrameReqStatus=cldccrRmFrameReqStatus, cldccrRmHistRepRPIDensity0=cldccrRmHistRepRPIDensity0, cldccrRmBeaconRepTable=cldccrRmBeaconRepTable, cldccrRmResp=cldccrRmResp, cldccRmChannelLoadReportTable=cldccRmChannelLoadReportTable, ciscoLwappDot11ClientRmMIBConform=ciscoLwappDot11ClientRmMIBConform, cldccRmFrameReportSubElemIndex=cldccRmFrameReportSubElemIndex, cldccrRmReqStatusTable=cldccrRmReqStatusTable, cldccrRmReq=cldccrRmReq, cldccrRmInitiateReq=cldccrRmInitiateReq, cldccrRmBeaconRptBSSID=cldccrRmBeaconRptBSSID, cldccrRmBeaconRptCapInfo=cldccrRmBeaconRptCapInfo, ciscoLwappDot11ClientRmMIBObjects=ciscoLwappDot11ClientRmMIBObjects, cldccrRmHistRepTimeStamp=cldccrRmHistRepTimeStamp, cldccRmFrameReportEntry=cldccRmFrameReportEntry, cldccRmFrameReportTable=cldccRmFrameReportTable, cldccrRmBeaconRptReceivedPower=cldccrRmBeaconRptReceivedPower, ciscoLwappDot11ClientRmMIBCompliances=ciscoLwappDot11ClientRmMIBCompliances, CiscoLwappCcxRmReqStatus=CiscoLwappCcxRmReqStatus, ciscoLwappDot11ClientRmConfigGroup=ciscoLwappDot11ClientRmConfigGroup, cldccRmChannelLoadReportIndex=cldccRmChannelLoadReportIndex, cldccrRmBeaconRptPhyType=cldccrRmBeaconRptPhyType, cldccRmChannelLoadReportChannelNumber=cldccRmChannelLoadReportChannelNumber, cldccrRmReqStatusEntry=cldccrRmReqStatusEntry, cldccrRmBeaconRptTargetTsf=cldccrRmBeaconRptTargetTsf, cldccrRmBeaconRptTimeStamp=cldccrRmBeaconRptTimeStamp, cldccrRmBeaconReqStatus=cldccrRmBeaconReqStatus, cldccrRmHistRepRPIDensity4=cldccrRmHistRepRPIDensity4, ciscoLwappDot11ClientRmMIBGroups=ciscoLwappDot11ClientRmMIBGroups, cldccrRmReqNumIterations=cldccrRmReqNumIterations, cldccrRmHistRepRPIDensity3=cldccrRmHistRepRPIDensity3, cldccRmFrameReportTimeStamp=cldccRmFrameReportTimeStamp, ciscoLwapDot11ClientRmMIBNotifs=ciscoLwapDot11ClientRmMIBNotifs, cldccrRmBeaconRptChannelNumber=cldccrRmBeaconRptChannelNumber, cldccrRmHistRepEntry=cldccrRmHistRepEntry, cldccRmFrameReportTransmitAddr=cldccRmFrameReportTransmitAddr, cldccrRmBeaconRptParentTsf=cldccrRmBeaconRptParentTsf, cldccrRmHistRepChannelNumber=cldccrRmHistRepChannelNumber, cldccrRmReqTable=cldccrRmReqTable, ciscoLwappDot11ClientRmMibCompliance=ciscoLwappDot11ClientRmMibCompliance, cldccRmFrameReportBssid=cldccRmFrameReportBssid, cldccrRmHistRepRPIDensity7=cldccrRmHistRepRPIDensity7, cldccrRmHistRepRPIDensity1=cldccrRmHistRepRPIDensity1, cldccrRmHistIndex=cldccrRmHistIndex, cldccrRmChanLoadReqStatus=cldccrRmChanLoadReqStatus, cldccRmChannelLoadReportTimeStamp=cldccRmChannelLoadReportTimeStamp, cldccrRmHistRepTable=cldccrRmHistRepTable, cldccRmFrameReportFrameCount=cldccRmFrameReportFrameCount)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, single_value_constraint, value_size_constraint, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection')
(cldc_client_mac_address,) = mibBuilder.importSymbols('CISCO-LWAPP-DOT11-CLIENT-MIB', 'cldcClientMacAddress')
(cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt')
(module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup')
(mib_identifier, time_ticks, gauge32, object_identity, iso, counter64, module_identity, bits, ip_address, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, notification_type, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibIdentifier', 'TimeTicks', 'Gauge32', 'ObjectIdentity', 'iso', 'Counter64', 'ModuleIdentity', 'Bits', 'IpAddress', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'NotificationType', 'Integer32')
(mac_address, display_string, textual_convention, truth_value, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'MacAddress', 'DisplayString', 'TextualConvention', 'TruthValue', 'RowStatus')
cisco_lwapp_dot11_client_rm_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 767))
ciscoLwappDot11ClientRmMIB.setRevisions(('2010-12-13 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
ciscoLwappDot11ClientRmMIB.setRevisionsDescriptions(('Initial version of this MIB module.',))
if mibBuilder.loadTexts:
ciscoLwappDot11ClientRmMIB.setLastUpdated('201012130000Z')
if mibBuilder.loadTexts:
ciscoLwappDot11ClientRmMIB.setOrganization('Cisco Systems Inc.')
if mibBuilder.loadTexts:
ciscoLwappDot11ClientRmMIB.setContactInfo('Cisco Systems, Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS Email: cs-wnbu-snmp@cisco.com')
if mibBuilder.loadTexts:
ciscoLwappDot11ClientRmMIB.setDescription("This MIB is intended to be implemented on all those devices operating as Central controllers, that terminate the Light Weight Access Point Protocol tunnel from Cisco Light-weight LWAPP Access Points. The relationship between CC and the LWAPP APs can be depicted as follows: +......+ +......+ +......+ +......+ + + + + + + + + + CC + + CC + + CC + + CC + + + + + + + + + +......+ +......+ +......+ +......+ .. . . . .. . . . . . . . . . . . . . . . . . . . . . . . +......+ +......+ +......+ +......+ +......+ + + + + + + + + + + + AP + + AP + + AP + + AP + + AP + + + + + + + + + + + +......+ +......+ +......+ +......+ +......+ . . . . . . . . . . . . . . . . . . . . . . . . +......+ +......+ +......+ +......+ +......+ + + + + + + + + + + + MN + + MN + + MN + + MN + + MN + + + + + + + + + + + +......+ +......+ +......+ +......+ +......+ The LWAPP tunnel exists between the controller and the APs. The MNs communicate with the APs through the protocol defined by the 802.11 standard. LWAPP APs, upon bootup, discover and join one of the controllers and the controller pushes the configuration, that includes the WLAN parameters, to the LWAPP APs. The APs then encapsulate all the 802.11 frames from wireless clients inside LWAPP frames and forward the LWAPP frames to the controller. GLOSSARY Access Point ( AP ) An entity that contains an 802.11 medium access control ( MAC ) and physical layer ( PHY ) interface and provides access to the distribution services via the wireless medium for associated clients. LWAPP APs encapsulate all the 802.11 frames in LWAPP frames and sends them to the controller to which it is logically connected. Central Controller ( CC ) The central entity that terminates the LWAPP protocol tunnel from the LWAPP APs. Throughout this MIB, this entity also referred to as 'controller'. Cisco Compatible eXtensions (CCX) Wireless LAN Access Points (APs) manufactured by Cisco Systems have features and capabilities beyond those in related standards (e.g., IEEE 802.11 suite of standards, Wi-Fi recommendations by WECA, 802.1X security suite, etc). A number of features provide higher performance. For example, Cisco AP transmits a specific Information Element, which the clients adapt to for enhanced performance. Similarly, a number of features are implemented by means of proprietary Information Elements, which Cisco clients use in specific ways to carry out tasks above and beyond the standard. Other examples of feature categories are roaming and power saving. Light Weight Access Point Protocol ( LWAPP ) This is a generic protocol that defines the communication between the Access Points and the Central Controller. Mobile Node ( MN ) A roaming 802.11 wireless device in a wireless network associated with an access point. The terms 'Mobile node' and 'client' are used interchangeably. Radio Management (RM) This term refers to managing the 802.11 radio environment to provide the best quality service to to the 802.11 wireless clients. Service Set Identifier ( SSID ) SSID is a unique identifier that APs and clients use to identify with each other. SSID is a simple means of access control and is not for security. The SSID can be any alphanumeric entry up to 32 characters. REFERENCE [1] Wireless LAN Medium Access Control ( MAC ) and Physical Layer ( PHY ) Specifications [2] Draft-obara-capwap-lwapp-00.txt, IETF Light Weight Access Point Protocol")
cisco_lwap_dot11_client_rm_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 0))
cisco_lwapp_dot11_client_rm_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 1))
cisco_lwapp_dot11_client_rm_mib_conform = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 2))
cldccr_rm_req = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1))
cldccr_rm_resp = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2))
cldccr_rm_req_status = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3))
class Ciscolwappccxrmreqstatus(TextualConvention, Integer32):
description = 'This attribute is used to initiate/track a request to the ccxv4 client.'
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3))
named_values = named_values(('inProgress', 1), ('success', 2), ('failure', 3))
cldccr_rm_req_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1))
if mibBuilder.loadTexts:
cldccrRmReqTable.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmReqTable.setDescription('This table is used to configure the radio measurement request parameters to be sent to the ccxv4 clients.')
cldccr_rm_req_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-CLIENT-MIB', 'cldcClientMacAddress'))
if mibBuilder.loadTexts:
cldccrRmReqEntry.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmReqEntry.setDescription('Each entry represents a conceptual row in this table. An entry corresponds to a client for which a certain type of report is being fetched.')
cldccr_rm_req_report_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1, 1), bits().clone(namedValues=named_values(('channelLoadReport', 0), ('histogramReport', 1), ('beaconReport', 2), ('frameReport', 3)))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cldccrRmReqReportType.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmReqReportType.setDescription('This object is set to list of radio measurement requests the reports of which will be sent by the ccxv4 client to the controller.')
cldccr_rm_initiate_req = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1, 2), truth_value()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cldccrRmInitiateReq.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmInitiateReq.setDescription('This object is used to send the rm req message to the client.')
cldccr_rm_req_num_iterations = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 250))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cldccrRmReqNumIterations.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmReqNumIterations.setDescription('This attribute is used to set the number of times the rm request will be sent to the client.')
cldccr_rm_req_meas_duration = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(5, 32400))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cldccrRmReqMeasDuration.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmReqMeasDuration.setDescription('The time interval between two RM Reqs in seconds.')
cldccr_rm_req_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 1, 1, 1, 5), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cldccrRmReqRowStatus.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmReqRowStatus.setDescription('This is the status column for this row and is used to create and delete specific instances of rows in this table.')
cldccr_rm_hist_rep_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1))
if mibBuilder.loadTexts:
cldccrRmHistRepTable.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepTable.setDescription('This table contains the noise histogram reports of the clients which were queried for the same.')
cldccr_rm_hist_rep_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-CLIENT-MIB', 'cldcClientMacAddress'), (0, 'CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistIndex'))
if mibBuilder.loadTexts:
cldccrRmHistRepEntry.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepEntry.setDescription('There is an entry in the table where entry is identified by the client Mac address.')
cldccr_rm_hist_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 28)))
if mibBuilder.loadTexts:
cldccrRmHistIndex.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistIndex.setDescription('Index which will be the channel number in most cases.')
cldccr_rm_hist_rep_channel_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 2), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmHistRepChannelNumber.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepChannelNumber.setDescription('Channel number indicates the channel number to which the noise histogram Report applies.')
cldccr_rm_hist_rep_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 3), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmHistRepTimeStamp.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepTimeStamp.setDescription('Timestamp of the histogram report.')
cldccr_rm_hist_rep_rpi_density0 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 4), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity0.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity0.setDescription('This Field stores the RPI density in power range power << -87 db.')
cldccr_rm_hist_rep_rpi_density1 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 5), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity1.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity1.setDescription('This Field stores the RPI density in power range -87 < power << -82.')
cldccr_rm_hist_rep_rpi_density2 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 6), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity2.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity2.setDescription('This Field stores the RPI density in power range -82 < power << -77.')
cldccr_rm_hist_rep_rpi_density3 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 7), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity3.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity3.setDescription('This Field stores the RPI density in power range -77 < power << -72.')
cldccr_rm_hist_rep_rpi_density4 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 8), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity4.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity4.setDescription('This Field stores the RPI density in power range -72< Power << -67.')
cldccr_rm_hist_rep_rpi_density5 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 9), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity5.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity5.setDescription('This Field stores the RPI density in power range -67< Power << -62.')
cldccr_rm_hist_rep_rpi_density6 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 10), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity6.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity6.setDescription('This Field stores the RPI density in power range -62< Power<< -57.')
cldccr_rm_hist_rep_rpi_density7 = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 1, 1, 11), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity7.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistRepRPIDensity7.setDescription('This Field stores the RPI density in power range -57< Power<< -52.')
cldccr_rm_beacon_rep_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2))
if mibBuilder.loadTexts:
cldccrRmBeaconRepTable.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconRepTable.setDescription('This table contains the beacon reports of the clients which were queried for the same.')
cldccr_rm_beacon_rep_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-CLIENT-MIB', 'cldcClientMacAddress'), (0, 'CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmBeaconIndex'))
if mibBuilder.loadTexts:
cldccrRmBeaconRepEntry.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconRepEntry.setDescription('There is an entry in the table where entry is identified by the client Mac address.')
cldccr_rm_beacon_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 28)))
if mibBuilder.loadTexts:
cldccrRmBeaconIndex.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconIndex.setDescription('Index which will be the channel number in most cases.')
cldccr_rm_beacon_rpt_channel_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 2), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmBeaconRptChannelNumber.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconRptChannelNumber.setDescription('Channel number indicates the channel number to which the noise beacon report applies.')
cldccr_rm_beacon_rpt_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 3), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmBeaconRptTimeStamp.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconRptTimeStamp.setDescription('Timestamp of the beacon report.')
cldccr_rm_beacon_rpt_phy_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('fh', 1), ('dss', 2), ('unused', 3), ('ofdm', 4), ('highDataRateDss', 5), ('erp', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmBeaconRptPhyType.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconRptPhyType.setDescription('Phy type indicates the physical medium used.')
cldccr_rm_beacon_rpt_received_power = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 250))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmBeaconRptReceivedPower.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconRptReceivedPower.setDescription('This field indicates the received strength of the beacon or probe response frame in dBm.')
cldccr_rm_beacon_rpt_bssid = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 6), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmBeaconRptBSSID.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconRptBSSID.setDescription('This field contains the 6-byte BSSID of the STA that transmitted the beacon or probe response frame.')
cldccr_rm_beacon_rpt_parent_tsf = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmBeaconRptParentTsf.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconRptParentTsf.setDescription('This field is used to store the parent TSF Parent TSF contains the lower 4 bytes of the serving APs. TSF value at the time the measuring STA received the beacon or probe response frame.')
cldccr_rm_beacon_rpt_target_tsf = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 8), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmBeaconRptTargetTsf.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconRptTargetTsf.setDescription('This field is used to store the Target TSF. Target TSF contains the 8-byte TSF value contained in the beacon or probe response received by the measuring STA.')
cldccr_rm_beacon_rpt_interval = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 9), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmBeaconRptInterval.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconRptInterval.setDescription('This field is equal to the 2-byte Beacon Interval field in the received beacon or probe response.')
cldccr_rm_beacon_rpt_cap_info = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 2, 1, 10), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmBeaconRptCapInfo.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconRptCapInfo.setDescription('This attribute represents the capability info.')
cldcc_rm_channel_load_report_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3))
if mibBuilder.loadTexts:
cldccRmChannelLoadReportTable.setStatus('current')
if mibBuilder.loadTexts:
cldccRmChannelLoadReportTable.setDescription('This table contains the channel load reports of the clients which were queried for the same.')
cldcc_rm_channel_load_report_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-CLIENT-MIB', 'cldcClientMacAddress'), (0, 'CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmChannelLoadReportIndex'))
if mibBuilder.loadTexts:
cldccRmChannelLoadReportEntry.setStatus('current')
if mibBuilder.loadTexts:
cldccRmChannelLoadReportEntry.setDescription('There is an entry in the table where entry is identified by the client Mac address.')
cldcc_rm_channel_load_report_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3, 1, 1), unsigned32())
if mibBuilder.loadTexts:
cldccRmChannelLoadReportIndex.setStatus('current')
if mibBuilder.loadTexts:
cldccRmChannelLoadReportIndex.setDescription('This indicates the index of the report table.')
cldcc_rm_channel_load_report_channel_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3, 1, 2), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccRmChannelLoadReportChannelNumber.setStatus('current')
if mibBuilder.loadTexts:
cldccRmChannelLoadReportChannelNumber.setDescription('Channel Number indicates the channel number to which the Channel Load Report applies.')
cldcc_rm_channel_load_report_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3, 1, 3), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccRmChannelLoadReportTimeStamp.setStatus('current')
if mibBuilder.loadTexts:
cldccRmChannelLoadReportTimeStamp.setDescription('Timestamp of the channel load report.')
cldcc_rm_channel_load_report_cca_busy_fraction = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 3, 1, 4), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccRmChannelLoadReportCCABusyFraction.setStatus('current')
if mibBuilder.loadTexts:
cldccRmChannelLoadReportCCABusyFraction.setDescription('CCA Busy Fraction shall contain the fractional duration over which CCA indicated the channel was busy during the measurement duration.')
cldcc_rm_frame_report_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4))
if mibBuilder.loadTexts:
cldccRmFrameReportTable.setStatus('current')
if mibBuilder.loadTexts:
cldccRmFrameReportTable.setDescription('This table contains the frame reports of the clients which were queried for the same.')
cldcc_rm_frame_report_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-CLIENT-MIB', 'cldcClientMacAddress'), (0, 'CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmFrameReportElemIndex'), (0, 'CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmFrameReportSubElemIndex'))
if mibBuilder.loadTexts:
cldccRmFrameReportEntry.setStatus('current')
if mibBuilder.loadTexts:
cldccRmFrameReportEntry.setDescription('There is an entry in the table where entry is identified by the client Mac address.')
cldcc_rm_frame_report_elem_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 1), unsigned32())
if mibBuilder.loadTexts:
cldccRmFrameReportElemIndex.setStatus('current')
if mibBuilder.loadTexts:
cldccRmFrameReportElemIndex.setDescription('This attribute represents the index of element index of frame report.')
cldcc_rm_frame_report_sub_elem_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 2), unsigned32())
if mibBuilder.loadTexts:
cldccRmFrameReportSubElemIndex.setStatus('current')
if mibBuilder.loadTexts:
cldccRmFrameReportSubElemIndex.setDescription('This attribute represents the index of the sub element in a frame report.')
cldcc_rm_frame_report_chan_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 3), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccRmFrameReportChanNumber.setStatus('current')
if mibBuilder.loadTexts:
cldccRmFrameReportChanNumber.setDescription('This attribute represents the channel number of frame report.')
cldcc_rm_frame_report_time_stamp = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 4), octet_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccRmFrameReportTimeStamp.setStatus('current')
if mibBuilder.loadTexts:
cldccRmFrameReportTimeStamp.setDescription('Timestamp of the frame report.')
cldcc_rm_frame_report_transmit_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 5), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccRmFrameReportTransmitAddr.setStatus('current')
if mibBuilder.loadTexts:
cldccRmFrameReportTransmitAddr.setDescription('This represents the transmitted address.')
cldcc_rm_frame_report_bssid = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 6), mac_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccRmFrameReportBssid.setStatus('current')
if mibBuilder.loadTexts:
cldccRmFrameReportBssid.setDescription('This represents the bssid.')
cldcc_rm_frame_report_recv_sig_power = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 250))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccRmFrameReportRecvSigPower.setStatus('current')
if mibBuilder.loadTexts:
cldccRmFrameReportRecvSigPower.setDescription('This field indicates the received strength of the beacon or probe response frame in dBm.')
cldcc_rm_frame_report_frame_count = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 2, 4, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 250))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccRmFrameReportFrameCount.setStatus('current')
if mibBuilder.loadTexts:
cldccRmFrameReportFrameCount.setDescription('This field indicates the received strength of the beacon or probe response frame in dBm.')
cldccr_rm_req_status_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1))
if mibBuilder.loadTexts:
cldccrRmReqStatusTable.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmReqStatusTable.setDescription('This table is used to get the status for each of the reports.')
cldccr_rm_req_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-CLIENT-MIB', 'cldcClientMacAddress'))
if mibBuilder.loadTexts:
cldccrRmReqStatusEntry.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmReqStatusEntry.setDescription('There is an entry in the table where entry is identified by the client Mac address.')
cldccr_rm_frame_req_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1, 1, 1), cisco_lwapp_ccx_rm_req_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmFrameReqStatus.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmFrameReqStatus.setDescription('This attribute is used to initiate/track a frame report request to the ccxv4 client.')
cldccr_rm_histogram_req_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1, 1, 2), cisco_lwapp_ccx_rm_req_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmHistogramReqStatus.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmHistogramReqStatus.setDescription('This attribute is used to initiate/track a noise histogram request to the ccxv4 client.')
cldccr_rm_beacon_req_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1, 1, 3), cisco_lwapp_ccx_rm_req_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmBeaconReqStatus.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmBeaconReqStatus.setDescription('This attribute is used to initiate/track a beacon request to the ccxv4 client.')
cldccr_rm_chan_load_req_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 767, 1, 3, 1, 1, 4), cisco_lwapp_ccx_rm_req_status()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cldccrRmChanLoadReqStatus.setStatus('current')
if mibBuilder.loadTexts:
cldccrRmChanLoadReqStatus.setDescription('This attribute is used to initiate/track a channel load request to the ccxv4 client.')
cisco_lwapp_dot11_client_rm_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 2, 1))
cisco_lwapp_dot11_client_rm_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 767, 2, 2))
cisco_lwapp_dot11_client_rm_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 767, 2, 1, 1)).setObjects(('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'ciscoLwappDot11ClientRmConfigGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_dot11_client_rm_mib_compliance = ciscoLwappDot11ClientRmMibCompliance.setStatus('current')
if mibBuilder.loadTexts:
ciscoLwappDot11ClientRmMibCompliance.setDescription('The compliance statement for the SNMP entities that implement the ciscoLwappDot11ClientRmMIB module.')
cisco_lwapp_dot11_client_rm_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 767, 2, 2, 1)).setObjects(('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmReqReportType'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmInitiateReq'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmReqNumIterations'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmReqMeasDuration'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmReqRowStatus'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistRepChannelNumber'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistRepTimeStamp'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistRepRPIDensity0'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistRepRPIDensity1'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistRepRPIDensity2'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistRepRPIDensity3'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistRepRPIDensity4'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistRepRPIDensity5'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistRepRPIDensity6'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistRepRPIDensity7'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmBeaconRptChannelNumber'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmBeaconRptTimeStamp'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmBeaconRptPhyType'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmBeaconRptReceivedPower'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmBeaconRptBSSID'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmBeaconRptParentTsf'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmBeaconRptTargetTsf'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmBeaconRptInterval'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmBeaconRptCapInfo'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmChannelLoadReportChannelNumber'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmChannelLoadReportTimeStamp'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmChannelLoadReportCCABusyFraction'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmFrameReportChanNumber'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmFrameReportTimeStamp'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmFrameReportTransmitAddr'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmFrameReportBssid'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmFrameReportRecvSigPower'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccRmFrameReportFrameCount'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmFrameReqStatus'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmHistogramReqStatus'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmBeaconReqStatus'), ('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', 'cldccrRmChanLoadReqStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cisco_lwapp_dot11_client_rm_config_group = ciscoLwappDot11ClientRmConfigGroup.setStatus('current')
if mibBuilder.loadTexts:
ciscoLwappDot11ClientRmConfigGroup.setDescription('This collection of objects represent the reports of the CCX Clients.')
mibBuilder.exportSymbols('CISCO-LWAPP-DOT11-CLIENT-CCX-REPORTS-MIB', cldccRmChannelLoadReportEntry=cldccRmChannelLoadReportEntry, ciscoLwappDot11ClientRmMIB=ciscoLwappDot11ClientRmMIB, cldccrRmReqReportType=cldccrRmReqReportType, cldccrRmBeaconIndex=cldccrRmBeaconIndex, cldccrRmHistRepRPIDensity5=cldccrRmHistRepRPIDensity5, cldccrRmBeaconRptInterval=cldccrRmBeaconRptInterval, cldccRmFrameReportChanNumber=cldccRmFrameReportChanNumber, cldccrRmHistRepRPIDensity2=cldccrRmHistRepRPIDensity2, cldccRmFrameReportRecvSigPower=cldccRmFrameReportRecvSigPower, cldccRmChannelLoadReportCCABusyFraction=cldccRmChannelLoadReportCCABusyFraction, cldccrRmBeaconRepEntry=cldccrRmBeaconRepEntry, cldccRmFrameReportElemIndex=cldccRmFrameReportElemIndex, cldccrRmReqStatus=cldccrRmReqStatus, cldccrRmReqEntry=cldccrRmReqEntry, cldccrRmReqRowStatus=cldccrRmReqRowStatus, cldccrRmReqMeasDuration=cldccrRmReqMeasDuration, PYSNMP_MODULE_ID=ciscoLwappDot11ClientRmMIB, cldccrRmHistRepRPIDensity6=cldccrRmHistRepRPIDensity6, cldccrRmHistogramReqStatus=cldccrRmHistogramReqStatus, cldccrRmFrameReqStatus=cldccrRmFrameReqStatus, cldccrRmHistRepRPIDensity0=cldccrRmHistRepRPIDensity0, cldccrRmBeaconRepTable=cldccrRmBeaconRepTable, cldccrRmResp=cldccrRmResp, cldccRmChannelLoadReportTable=cldccRmChannelLoadReportTable, ciscoLwappDot11ClientRmMIBConform=ciscoLwappDot11ClientRmMIBConform, cldccRmFrameReportSubElemIndex=cldccRmFrameReportSubElemIndex, cldccrRmReqStatusTable=cldccrRmReqStatusTable, cldccrRmReq=cldccrRmReq, cldccrRmInitiateReq=cldccrRmInitiateReq, cldccrRmBeaconRptBSSID=cldccrRmBeaconRptBSSID, cldccrRmBeaconRptCapInfo=cldccrRmBeaconRptCapInfo, ciscoLwappDot11ClientRmMIBObjects=ciscoLwappDot11ClientRmMIBObjects, cldccrRmHistRepTimeStamp=cldccrRmHistRepTimeStamp, cldccRmFrameReportEntry=cldccRmFrameReportEntry, cldccRmFrameReportTable=cldccRmFrameReportTable, cldccrRmBeaconRptReceivedPower=cldccrRmBeaconRptReceivedPower, ciscoLwappDot11ClientRmMIBCompliances=ciscoLwappDot11ClientRmMIBCompliances, CiscoLwappCcxRmReqStatus=CiscoLwappCcxRmReqStatus, ciscoLwappDot11ClientRmConfigGroup=ciscoLwappDot11ClientRmConfigGroup, cldccRmChannelLoadReportIndex=cldccRmChannelLoadReportIndex, cldccrRmBeaconRptPhyType=cldccrRmBeaconRptPhyType, cldccRmChannelLoadReportChannelNumber=cldccRmChannelLoadReportChannelNumber, cldccrRmReqStatusEntry=cldccrRmReqStatusEntry, cldccrRmBeaconRptTargetTsf=cldccrRmBeaconRptTargetTsf, cldccrRmBeaconRptTimeStamp=cldccrRmBeaconRptTimeStamp, cldccrRmBeaconReqStatus=cldccrRmBeaconReqStatus, cldccrRmHistRepRPIDensity4=cldccrRmHistRepRPIDensity4, ciscoLwappDot11ClientRmMIBGroups=ciscoLwappDot11ClientRmMIBGroups, cldccrRmReqNumIterations=cldccrRmReqNumIterations, cldccrRmHistRepRPIDensity3=cldccrRmHistRepRPIDensity3, cldccRmFrameReportTimeStamp=cldccRmFrameReportTimeStamp, ciscoLwapDot11ClientRmMIBNotifs=ciscoLwapDot11ClientRmMIBNotifs, cldccrRmBeaconRptChannelNumber=cldccrRmBeaconRptChannelNumber, cldccrRmHistRepEntry=cldccrRmHistRepEntry, cldccRmFrameReportTransmitAddr=cldccRmFrameReportTransmitAddr, cldccrRmBeaconRptParentTsf=cldccrRmBeaconRptParentTsf, cldccrRmHistRepChannelNumber=cldccrRmHistRepChannelNumber, cldccrRmReqTable=cldccrRmReqTable, ciscoLwappDot11ClientRmMibCompliance=ciscoLwappDot11ClientRmMibCompliance, cldccRmFrameReportBssid=cldccRmFrameReportBssid, cldccrRmHistRepRPIDensity7=cldccrRmHistRepRPIDensity7, cldccrRmHistRepRPIDensity1=cldccrRmHistRepRPIDensity1, cldccrRmHistIndex=cldccrRmHistIndex, cldccrRmChanLoadReqStatus=cldccrRmChanLoadReqStatus, cldccRmChannelLoadReportTimeStamp=cldccRmChannelLoadReportTimeStamp, cldccrRmHistRepTable=cldccrRmHistRepTable, cldccRmFrameReportFrameCount=cldccRmFrameReportFrameCount) |
# -*- coding: utf-8 -*-
__author__ = 'willmcginnis'
class SQLContext(object):
def __init__(self, parkContext, sqlContext=None):
pass
@property
def _ssql_ctx(self):
"""
NotImplemented
:return:
"""
raise NotImplementedError
def setConf(self, key, value):
"""
NotImplemented
:param key:
:param value:
:return:
"""
raise NotImplementedError
def getConf(self, key, defaultValue):
"""
NotImplemented
:param key:
:param defaultValue:
:return:
"""
raise NotImplementedError
def udf(self):
"""
NotImplemented
:return:
"""
raise NotImplementedError
def range(self, start, end=None, step=1, numPartitions=None):
"""
NotImplemented
:param start:
:param end:
:param step:
:param numPartitions:
:return:
"""
raise NotImplementedError
def registerFunction(self, name, f, returnType=None):
"""
NotImplemented
:param name:
:param f:
:param returnType:
:return:
"""
raise NotImplementedError
def _inferSchemaFromList(self, data):
"""
NotImplemented
:param data:
:return:
"""
raise NotImplementedError
def _inferSchema(self, rdd, samplingRatio=None):
"""
NotImplemented
:param rdd:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def inferSchema(self, rdd, samplingRatio=None):
"""
NotImplemented
:param rdd:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def applySchema(self, rdd, schema):
"""
NotImplemented
:param rdd:
:param schema:
:return:
"""
raise NotImplementedError
def _createFromRDD(self, rdd, schema, samplingRatio):
"""
NotImplemented
:param rdd:
:param schema:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def _createFromLocal(self, data, schema):
"""
NotImplemented
:param data:
:param schema:
:return:
"""
raise NotImplementedError
def createDataFrame(self, data, schema=None, samplingRatio=None):
"""
NotImplemented
:param data:
:param schema:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def registerDataFrameAsTable(self, df, tableName):
"""
NotImplemented
:param df:
:param tableName:
:return:
"""
raise NotImplementedError
def parquetFile(self, *paths):
"""
NotImplemented
:param paths:
:return:
"""
raise NotImplementedError
def jsonFile(self, path, schema=None, samplingRatio=1.0):
"""
NotImplemented
:param path:
:param schema:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def jsonRDD(self, rdd, schema=None, samplingRatio=1.0):
"""
NotImplemented
:param rdd:
:param schema:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def load(self, path=None, source=None, schema=None, **options):
"""
NotImplemented
:param path:
:param source:
:param schema:
:param options:
:return:
"""
raise NotImplementedError
def createExternalTable(self, tableName, path=None, source=None, schema=None, **options):
"""
NotImplemented
:param tableName:
:param path:
:param source:
:param schema:
:param options:
:return:
"""
raise NotImplementedError
def sql(self, sqlQuery):
"""
NotImplemented
:param sqlQuery:
:return:
"""
raise NotImplementedError
def table(self, tableName):
"""
NotImplemented
:param tableName:
:return:
"""
raise NotImplementedError
def tables(self, dbName=None):
"""
NotImplemented
:param dbName:
:return:
"""
raise NotImplementedError
def tableNames(self, dbName=None):
"""
NotImplemented
:param dbName:
:return:
"""
raise NotImplementedError
def cacheTable(self, tableName):
"""
NotImplemented
:param tableName:
:return:
"""
raise NotImplementedError
def uncacheTable(self, tableName):
"""
NotImplemented
:param tableName:
:return:
"""
raise NotImplementedError
def clearCache(self):
"""
NotImplemented
:return:
"""
raise NotImplementedError
@property
def read(self):
"""
NotImplemented
:return:
"""
raise NotImplementedError
| __author__ = 'willmcginnis'
class Sqlcontext(object):
def __init__(self, parkContext, sqlContext=None):
pass
@property
def _ssql_ctx(self):
"""
NotImplemented
:return:
"""
raise NotImplementedError
def set_conf(self, key, value):
"""
NotImplemented
:param key:
:param value:
:return:
"""
raise NotImplementedError
def get_conf(self, key, defaultValue):
"""
NotImplemented
:param key:
:param defaultValue:
:return:
"""
raise NotImplementedError
def udf(self):
"""
NotImplemented
:return:
"""
raise NotImplementedError
def range(self, start, end=None, step=1, numPartitions=None):
"""
NotImplemented
:param start:
:param end:
:param step:
:param numPartitions:
:return:
"""
raise NotImplementedError
def register_function(self, name, f, returnType=None):
"""
NotImplemented
:param name:
:param f:
:param returnType:
:return:
"""
raise NotImplementedError
def _infer_schema_from_list(self, data):
"""
NotImplemented
:param data:
:return:
"""
raise NotImplementedError
def _infer_schema(self, rdd, samplingRatio=None):
"""
NotImplemented
:param rdd:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def infer_schema(self, rdd, samplingRatio=None):
"""
NotImplemented
:param rdd:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def apply_schema(self, rdd, schema):
"""
NotImplemented
:param rdd:
:param schema:
:return:
"""
raise NotImplementedError
def _create_from_rdd(self, rdd, schema, samplingRatio):
"""
NotImplemented
:param rdd:
:param schema:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def _create_from_local(self, data, schema):
"""
NotImplemented
:param data:
:param schema:
:return:
"""
raise NotImplementedError
def create_data_frame(self, data, schema=None, samplingRatio=None):
"""
NotImplemented
:param data:
:param schema:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def register_data_frame_as_table(self, df, tableName):
"""
NotImplemented
:param df:
:param tableName:
:return:
"""
raise NotImplementedError
def parquet_file(self, *paths):
"""
NotImplemented
:param paths:
:return:
"""
raise NotImplementedError
def json_file(self, path, schema=None, samplingRatio=1.0):
"""
NotImplemented
:param path:
:param schema:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def json_rdd(self, rdd, schema=None, samplingRatio=1.0):
"""
NotImplemented
:param rdd:
:param schema:
:param samplingRatio:
:return:
"""
raise NotImplementedError
def load(self, path=None, source=None, schema=None, **options):
"""
NotImplemented
:param path:
:param source:
:param schema:
:param options:
:return:
"""
raise NotImplementedError
def create_external_table(self, tableName, path=None, source=None, schema=None, **options):
"""
NotImplemented
:param tableName:
:param path:
:param source:
:param schema:
:param options:
:return:
"""
raise NotImplementedError
def sql(self, sqlQuery):
"""
NotImplemented
:param sqlQuery:
:return:
"""
raise NotImplementedError
def table(self, tableName):
"""
NotImplemented
:param tableName:
:return:
"""
raise NotImplementedError
def tables(self, dbName=None):
"""
NotImplemented
:param dbName:
:return:
"""
raise NotImplementedError
def table_names(self, dbName=None):
"""
NotImplemented
:param dbName:
:return:
"""
raise NotImplementedError
def cache_table(self, tableName):
"""
NotImplemented
:param tableName:
:return:
"""
raise NotImplementedError
def uncache_table(self, tableName):
"""
NotImplemented
:param tableName:
:return:
"""
raise NotImplementedError
def clear_cache(self):
"""
NotImplemented
:return:
"""
raise NotImplementedError
@property
def read(self):
"""
NotImplemented
:return:
"""
raise NotImplementedError |
def neighbor(neighbor_list,peer_state, **kwargs):
if peer_state in neighbor_list:
return 1
else:
return 0
| def neighbor(neighbor_list, peer_state, **kwargs):
if peer_state in neighbor_list:
return 1
else:
return 0 |
"""https://open.kattis.com/problems/missingnumbers"""
n = int(input())
nums = []
for _ in range(n):
nums.append(int(input()))
if len(nums) == nums[-1]:
print("good job")
else:
for i in range(1, nums[-1] + 1):
if i not in nums:
print(i) | """https://open.kattis.com/problems/missingnumbers"""
n = int(input())
nums = []
for _ in range(n):
nums.append(int(input()))
if len(nums) == nums[-1]:
print('good job')
else:
for i in range(1, nums[-1] + 1):
if i not in nums:
print(i) |
# Definition for a binary tree node.
# class TreeNode:
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution:
def findTilt(self, root: TreeNode) -> int:
if root is None:
return 0
# post order tree walk traversal
sum = 0
def postOrderTraver(node):
nonlocal sum
if node.left is None and node.right is None:
return node.val
leftSum = 0 if node.left is None else postOrderTraver(node.left)
rightSum = 0 if node.right is None else postOrderTraver(node.right)
sum += abs(leftSum - rightSum)
return leftSum + rightSum + node.val
postOrderTraver(root)
return sum | class Solution:
def find_tilt(self, root: TreeNode) -> int:
if root is None:
return 0
sum = 0
def post_order_traver(node):
nonlocal sum
if node.left is None and node.right is None:
return node.val
left_sum = 0 if node.left is None else post_order_traver(node.left)
right_sum = 0 if node.right is None else post_order_traver(node.right)
sum += abs(leftSum - rightSum)
return leftSum + rightSum + node.val
post_order_traver(root)
return sum |
# Tree Node
class Node:
def __init__(self, val):
self.right = None
self.data = val
self.left = None
class Solution:
# The given root is the root of the Binary Tree
# Return the root of the generated BST
def binaryTreeToBST_Util(self, root):
if root is None:
return
self.binaryTreeToBST_Util(root.left)
self.values.append(root.data)
self.nodesAddress.append(root)
self.binaryTreeToBST_Util(root.right)
def binaryTreeToBST(self, root):
self.values = []
self.nodesAddress = []
self.binaryTreeToBST_Util(root)
self.values.sort()
for i in range(len(self.values)):
node = self.nodesAddress[i]
node.data = self.values[i]
return root | class Node:
def __init__(self, val):
self.right = None
self.data = val
self.left = None
class Solution:
def binary_tree_to_bst__util(self, root):
if root is None:
return
self.binaryTreeToBST_Util(root.left)
self.values.append(root.data)
self.nodesAddress.append(root)
self.binaryTreeToBST_Util(root.right)
def binary_tree_to_bst(self, root):
self.values = []
self.nodesAddress = []
self.binaryTreeToBST_Util(root)
self.values.sort()
for i in range(len(self.values)):
node = self.nodesAddress[i]
node.data = self.values[i]
return root |
#Defining function for Linear Search
def Linear_Search(input_list, key):
flag = 0
#Iterating each item in the list and comparing it with the key searching for
for i in range(len(input_list)):
if(input_list[i] == key):
#If key matches with any of the list items
flag = 1
print("\nKey is found in the position: {}" .format(i))
#If key not found
if(flag == 0):
print("\nKey not found")
#Input List
input_list = [11,12,13,14,15,16,17,18,19]
print("List available is {}" .format(input_list))
#Getting Key from user
key = input("\nEnter key to be searched in the list")
key = int(key)
#Calling function defined to perform Linear Search
Linear_Search(input_list, key)
| def linear__search(input_list, key):
flag = 0
for i in range(len(input_list)):
if input_list[i] == key:
flag = 1
print('\nKey is found in the position: {}'.format(i))
if flag == 0:
print('\nKey not found')
input_list = [11, 12, 13, 14, 15, 16, 17, 18, 19]
print('List available is {}'.format(input_list))
key = input('\nEnter key to be searched in the list')
key = int(key)
linear__search(input_list, key) |
class Token():
def __init__(self, classe, lexema, tipo):
self.classe = classe
self.lexema = lexema
self.tipo = tipo
def __repr__(self) -> str:
return 'classe: ' + self.classe + ', lexema: ' + self.lexema + ', tipo: ' + self.tipo
| class Token:
def __init__(self, classe, lexema, tipo):
self.classe = classe
self.lexema = lexema
self.tipo = tipo
def __repr__(self) -> str:
return 'classe: ' + self.classe + ', lexema: ' + self.lexema + ', tipo: ' + self.tipo |
def program():
intProgram = [
1,12,2,3,1,1,2,3,1,3,
4,3,1,5,0,3,2,1,10,19,
1,6,19,23,1,10,23,27,2,27,
13,31,1,31,6,35,2,6,35,39,
1,39,5,43,1,6,43,47,2,6,
47,51,1,51,5,55,2,55,9,59,
1,6,59,63,1,9,63,67,1,67,
10,71,2,9,71,75,1,6,75,79,
1,5,79,83,2,83,10,87,1,87,
5,91,1,91,9,95,1,6,95,99,
2,99,10,103,1,103,5,107,2,107,
6,111,1,111,5,115,1,9,115,119,
2,119,10,123,1,6,123,127,2,13,
127,131,1,131,6,135,1,135,10,139,
1,13,139,143,1,143,13,147,1,5,
147,151,1,151,2,155,1,155,5,0,
99,2,0,14,0
]
return intProgram
def runIntcode(intProgram):
memory = intProgram
if memory[0] not in [1, 2, 99]:
print("Program invalid")
return
position = 0
while position <= len(memory) - 1:
intCode = memory[position]
if intCode == 1:
memory = add(position, memory)
position += 4
if intCode == 2:
memory = multiply(position, memory)
position += 4
if intCode == 99:
print("Execution complete")
output = memory[0]
return output
return
def add(position, memory):
x = memory[position + 1]
y = memory[position + 2]
z = memory[position + 3]
output = memory[x] + memory[y]
memory[z] = output
return memory
def multiply(position, memory):
x = memory[position + 1]
y = memory[position + 2]
z = memory[position + 3]
output = memory[x] * memory[y]
memory[z] = output
return memory
def runProgram(noun, verb):
xProgram = program()
xProgram[1] = noun
xProgram[2] = verb
x = runIntcode(xProgram)
return x
def bruteForce():
noun = 0
verb = 0
output = 0
while noun <= 99:
while verb <= 99:
output = runProgram(noun, verb)
if output == 19690720:
print("Solution found!")
print("Noun: " + str(noun))
print("Verb: " + str(verb))
return
verb += 1
noun += 1
verb = 0
return
bruteForce()
| def program():
int_program = [1, 12, 2, 3, 1, 1, 2, 3, 1, 3, 4, 3, 1, 5, 0, 3, 2, 1, 10, 19, 1, 6, 19, 23, 1, 10, 23, 27, 2, 27, 13, 31, 1, 31, 6, 35, 2, 6, 35, 39, 1, 39, 5, 43, 1, 6, 43, 47, 2, 6, 47, 51, 1, 51, 5, 55, 2, 55, 9, 59, 1, 6, 59, 63, 1, 9, 63, 67, 1, 67, 10, 71, 2, 9, 71, 75, 1, 6, 75, 79, 1, 5, 79, 83, 2, 83, 10, 87, 1, 87, 5, 91, 1, 91, 9, 95, 1, 6, 95, 99, 2, 99, 10, 103, 1, 103, 5, 107, 2, 107, 6, 111, 1, 111, 5, 115, 1, 9, 115, 119, 2, 119, 10, 123, 1, 6, 123, 127, 2, 13, 127, 131, 1, 131, 6, 135, 1, 135, 10, 139, 1, 13, 139, 143, 1, 143, 13, 147, 1, 5, 147, 151, 1, 151, 2, 155, 1, 155, 5, 0, 99, 2, 0, 14, 0]
return intProgram
def run_intcode(intProgram):
memory = intProgram
if memory[0] not in [1, 2, 99]:
print('Program invalid')
return
position = 0
while position <= len(memory) - 1:
int_code = memory[position]
if intCode == 1:
memory = add(position, memory)
position += 4
if intCode == 2:
memory = multiply(position, memory)
position += 4
if intCode == 99:
print('Execution complete')
output = memory[0]
return output
return
def add(position, memory):
x = memory[position + 1]
y = memory[position + 2]
z = memory[position + 3]
output = memory[x] + memory[y]
memory[z] = output
return memory
def multiply(position, memory):
x = memory[position + 1]
y = memory[position + 2]
z = memory[position + 3]
output = memory[x] * memory[y]
memory[z] = output
return memory
def run_program(noun, verb):
x_program = program()
xProgram[1] = noun
xProgram[2] = verb
x = run_intcode(xProgram)
return x
def brute_force():
noun = 0
verb = 0
output = 0
while noun <= 99:
while verb <= 99:
output = run_program(noun, verb)
if output == 19690720:
print('Solution found!')
print('Noun: ' + str(noun))
print('Verb: ' + str(verb))
return
verb += 1
noun += 1
verb = 0
return
brute_force() |
class Solution:
def minSubArrayLen(self, s: int, nums: List[int]) -> int:
ans = float('inf')
left = 0
sum_ = 0
for right, num in enumerate(nums):
sum_ += num
while left <= right and sum_ >= s:
ans = min(ans, right - left + 1)
left_val = nums[left]
sum_ -= left_val
left += 1
return ans if ans != float('inf') else 0
| class Solution:
def min_sub_array_len(self, s: int, nums: List[int]) -> int:
ans = float('inf')
left = 0
sum_ = 0
for (right, num) in enumerate(nums):
sum_ += num
while left <= right and sum_ >= s:
ans = min(ans, right - left + 1)
left_val = nums[left]
sum_ -= left_val
left += 1
return ans if ans != float('inf') else 0 |
class Solution:
def res(self, a, b):
count = 0
for i in range(1, len(a)):
if a[i] != a[0] and b[i] != a[0]:
return -1
elif a[i] != a[0]:
a[i] = b[i]
count += 1
return count
def minDominoRotations(self, A: list, B: list) -> int:
return max(self.res(A[:], B[:]), self.res(B[:], A[:]))
S = Solution()
print(S.minDominoRotations([1,2,1,1,1,2,2,2],[2,1,2,2,2,2,2,2]))
| class Solution:
def res(self, a, b):
count = 0
for i in range(1, len(a)):
if a[i] != a[0] and b[i] != a[0]:
return -1
elif a[i] != a[0]:
a[i] = b[i]
count += 1
return count
def min_domino_rotations(self, A: list, B: list) -> int:
return max(self.res(A[:], B[:]), self.res(B[:], A[:]))
s = solution()
print(S.minDominoRotations([1, 2, 1, 1, 1, 2, 2, 2], [2, 1, 2, 2, 2, 2, 2, 2])) |
class DatastoreRouter(object):
def db_for_read(self, model, **hints):
"""
Reads go to a randomly-chosen replica.
"""
return 'datastore'
def db_for_write(self, model, **hints):
"""
Writes always go to primary.
"""
return 'primary' | class Datastorerouter(object):
def db_for_read(self, model, **hints):
"""
Reads go to a randomly-chosen replica.
"""
return 'datastore'
def db_for_write(self, model, **hints):
"""
Writes always go to primary.
"""
return 'primary' |
# STP2019 - FALL
# Observable
class Publisher(object):
subscribers = set()
def register(self, user):
self.subscribers.add(user)
def unregister(self, user):
self.subscribers.discard(user)
def send_notifications(self, message):
for user in self.subscribers:
user.update(message)
# Observer
class Subscriber(object):
def __init__(self, id):
self.id = id
def update(self, message):
print("{} received msg: '{}'".format(self.id, message))
# Python sets __name__ to __main__ when Python executes the source file.
if __name__ == "__main__":
publisher = Publisher()
# Let's create the observers that want to receive notifications
john = Subscriber('John')
paul = Subscriber('Paul')
ringo = Subscriber('Ringo')
george = Subscriber('George')
publisher.register(john)
publisher.register(paul)
# Here, we send the registered subscribers, or observers, notifications.
publisher.send_notifications('Rolling Stones are coming')
print('-' * 72)
print(".. removing subscriber paul")
print('-' * 72)
publisher.unregister(paul)
publisher.send_notifications("Beware, Paul's the walrus")
| class Publisher(object):
subscribers = set()
def register(self, user):
self.subscribers.add(user)
def unregister(self, user):
self.subscribers.discard(user)
def send_notifications(self, message):
for user in self.subscribers:
user.update(message)
class Subscriber(object):
def __init__(self, id):
self.id = id
def update(self, message):
print("{} received msg: '{}'".format(self.id, message))
if __name__ == '__main__':
publisher = publisher()
john = subscriber('John')
paul = subscriber('Paul')
ringo = subscriber('Ringo')
george = subscriber('George')
publisher.register(john)
publisher.register(paul)
publisher.send_notifications('Rolling Stones are coming')
print('-' * 72)
print('.. removing subscriber paul')
print('-' * 72)
publisher.unregister(paul)
publisher.send_notifications("Beware, Paul's the walrus") |
""" __init__ for package code """
# pylint: disable=invalid-name
name = 'lazynumpy'
# pylint: enable=invalid-name
| """ __init__ for package code """
name = 'lazynumpy' |
def lee_entero():
while True:
entrada = raw_input("Escribe un numero entero: ")
try:
entrada = int(entrada)
return entrada
except ValueError:
print ("La entrada es incorrecta: escribe un numero entero") | def lee_entero():
while True:
entrada = raw_input('Escribe un numero entero: ')
try:
entrada = int(entrada)
return entrada
except ValueError:
print('La entrada es incorrecta: escribe un numero entero') |
'''
The __init__.py file makes Python treat directories containing it as modules.
Furthermore, this is the first file to be loaded in a module, so you can use
it to execute code that you want to run each time a module is loaded, or
specify the submodules to be exported.
''' | """
The __init__.py file makes Python treat directories containing it as modules.
Furthermore, this is the first file to be loaded in a module, so you can use
it to execute code that you want to run each time a module is loaded, or
specify the submodules to be exported.
""" |
class Exponentiation:
@staticmethod
def exponentiation(base, exponent):
return base ** exponent | class Exponentiation:
@staticmethod
def exponentiation(base, exponent):
return base ** exponent |
class Board:
def __init__(self, id) -> None:
self.id = id
self.parts = [] #note will be array of arrays [part object, qty used per board]
self.flag = False #True if stock issue
def AddPart(self, part, qty):
self.parts.append([part, qty])
def IsMatch(self, testid):
if self.id == testid:
return True
else:
return False
def Pull(self, qty):
for part in self.parts:
#print("board: " + str(self.id) + " pulling " + str(part[0].id) + " qty: " + str((part[1] * qty)))
part[0].Pull(part[1] * qty)
def IsOut(self):
for part in self.parts:
if part[0].IsOut():
self.flag = True
#print("BoardFlag: " + str(self.id))
return self.flag | class Board:
def __init__(self, id) -> None:
self.id = id
self.parts = []
self.flag = False
def add_part(self, part, qty):
self.parts.append([part, qty])
def is_match(self, testid):
if self.id == testid:
return True
else:
return False
def pull(self, qty):
for part in self.parts:
part[0].Pull(part[1] * qty)
def is_out(self):
for part in self.parts:
if part[0].IsOut():
self.flag = True
return self.flag |
# hw01_05
print('3 + 4 =', end=' ')
print(3 + 4)
'''
3 + 4 = 7
'''
| print('3 + 4 =', end=' ')
print(3 + 4)
'\n\n3 + 4 = 7\n\n' |
def list_to_list_two_tuples(values: list):
"""
Convert a list of values to a list of tuples with for each
value twice that same value
e.g. [1,2,3] ==> [(1,1),(2,2),(3,3)]
Parameters
----------
values : list
list of values to convert into tuples
Returns
-------
list
list of tuples with twice the same value for each tuple
"""
return [(val, val) for val in values]
| def list_to_list_two_tuples(values: list):
"""
Convert a list of values to a list of tuples with for each
value twice that same value
e.g. [1,2,3] ==> [(1,1),(2,2),(3,3)]
Parameters
----------
values : list
list of values to convert into tuples
Returns
-------
list
list of tuples with twice the same value for each tuple
"""
return [(val, val) for val in values] |
f = open('text1.txt')
v = open('text2.txt')
list1 = []
list2 = []
result = []
for line in f:
list1.append(line)
for line in v:
list2.append(line)
for i in range(len(list1)):
if list1[i] != list2[i]:
a = str(list1[i]) + '!=' + str(list2[i])
result.append(a)
print(result)
| f = open('text1.txt')
v = open('text2.txt')
list1 = []
list2 = []
result = []
for line in f:
list1.append(line)
for line in v:
list2.append(line)
for i in range(len(list1)):
if list1[i] != list2[i]:
a = str(list1[i]) + '!=' + str(list2[i])
result.append(a)
print(result) |
a = input("digite um numero em binario: ")
for n in (len(a)):
if n==1:
x=1
b=x*len(a)
print(b)
| a = input('digite um numero em binario: ')
for n in len(a):
if n == 1:
x = 1
b = x * len(a)
print(b) |
def find(arr,n,x):
start=0
end=n-1
result=-1
res=-1
mid=start+(end-start)//2
while start<end:
if arr[mid]==x:
result=mid
end=mid-1
elif arr[mid]>x:
end=mid-1
else:
start=mid+1
while start<end:
if arr[mid]==x:
res=mid
start=mid+1
elif arr[mid]>x:
end=mid-1
else:
start=mid+1
| def find(arr, n, x):
start = 0
end = n - 1
result = -1
res = -1
mid = start + (end - start) // 2
while start < end:
if arr[mid] == x:
result = mid
end = mid - 1
elif arr[mid] > x:
end = mid - 1
else:
start = mid + 1
while start < end:
if arr[mid] == x:
res = mid
start = mid + 1
elif arr[mid] > x:
end = mid - 1
else:
start = mid + 1 |
"""Trivial test module for verifying that unit tests are running as expected."""
def test_health():
"""
This health check test should pass no matter what.
"""
assert True
| """Trivial test module for verifying that unit tests are running as expected."""
def test_health():
"""
This health check test should pass no matter what.
"""
assert True |
class Solution:
def minCostClimbingStairs(self, cost: List[int]) -> int:
min_cost = {
0: 0,
1: 0,
}
n = len(cost)
for i in range(2, n+1):
min_cost[i] = min(min_cost[i-1] + cost[i-1], min_cost[i-2] + cost[i-2])
return min_cost[n]
| class Solution:
def min_cost_climbing_stairs(self, cost: List[int]) -> int:
min_cost = {0: 0, 1: 0}
n = len(cost)
for i in range(2, n + 1):
min_cost[i] = min(min_cost[i - 1] + cost[i - 1], min_cost[i - 2] + cost[i - 2])
return min_cost[n] |
"""
Basic Login Search - SOLUTION
"""
users = {
'person@email.com': 'PassWord',
'someone@email.com': 'p@$$w0rd',
'me@email.com': 'myPassword',
'anyone@email.com': 'p@ssw0rd',
'guy@email.com': 'pa$$word'
# etc
}
# A user enters the below login info (email and password) for your app. Search your database of user logins to see if this account exists and if the password matches what you have on file. If the login credentials are correct, print "Successful login!". Otherwise, print "The login info you entered does not match any of our records."
current_user = { 'me@email.com': 'myPassword' }
name = list(current_user.keys())
name = name[0]
pw = list(current_user.values())
pw = pw[0]
if name in users.keys() and users[name] is pw:
print('Successful login!')
else:
print('The login info you entered does not match any of our records.') | """
Basic Login Search - SOLUTION
"""
users = {'person@email.com': 'PassWord', 'someone@email.com': 'p@$$w0rd', 'me@email.com': 'myPassword', 'anyone@email.com': 'p@ssw0rd', 'guy@email.com': 'pa$$word'}
current_user = {'me@email.com': 'myPassword'}
name = list(current_user.keys())
name = name[0]
pw = list(current_user.values())
pw = pw[0]
if name in users.keys() and users[name] is pw:
print('Successful login!')
else:
print('The login info you entered does not match any of our records.') |
CONFIG = {
'api_key': 'to be filled out',
'api_key_secret': 'to be filled out',
'access_token': 'to be filled out',
'access_token_secret': 'to be filled out',
'images_base_folder': 'to be filled out',
'images_backlog_folder': 'to be filled out',
'telegram_token': 'to be filled out',
'admin_chat_id': 000000,
'user_chat_id': 00000,
}
| config = {'api_key': 'to be filled out', 'api_key_secret': 'to be filled out', 'access_token': 'to be filled out', 'access_token_secret': 'to be filled out', 'images_base_folder': 'to be filled out', 'images_backlog_folder': 'to be filled out', 'telegram_token': 'to be filled out', 'admin_chat_id': 0, 'user_chat_id': 0} |
"""
TODO: first insert analytical greeks in bs.py & then
1. write TEST for Black prices and implieds
PUT
f = 101.0
x = 102.0
t = .5
r = .01
sigma_price = 0.2
price = black(-1, f, x, t, r=0, sigma_price)
expected_price = 6.20451158097
from expected price get implied of 0.2
CALL
f= x = 100
sigma_price = 0.2
t = .5
r = .02
expected_discounted_call_price = 5.5811067246
implied_vol(cp, f, x, r, t, expected_discounted_call_price)
2. test analytical vs. numerical here
""" | """
TODO: first insert analytical greeks in bs.py & then
1. write TEST for Black prices and implieds
PUT
f = 101.0
x = 102.0
t = .5
r = .01
sigma_price = 0.2
price = black(-1, f, x, t, r=0, sigma_price)
expected_price = 6.20451158097
from expected price get implied of 0.2
CALL
f= x = 100
sigma_price = 0.2
t = .5
r = .02
expected_discounted_call_price = 5.5811067246
implied_vol(cp, f, x, r, t, expected_discounted_call_price)
2. test analytical vs. numerical here
""" |
def final_multipy(num: int) -> int:
if num < 10:
return num
n = 1
for i in str(num):
n *= int(i)
return final_multipy(n)
def final_multipy2(num: int) -> int:
return num if num < 10 else final_multipy2(reduce(lambda x, y: x*y, [int(i) for i in str(num)]))
| def final_multipy(num: int) -> int:
if num < 10:
return num
n = 1
for i in str(num):
n *= int(i)
return final_multipy(n)
def final_multipy2(num: int) -> int:
return num if num < 10 else final_multipy2(reduce(lambda x, y: x * y, [int(i) for i in str(num)])) |
# Copyright (c) Project Jupyter.
# Distributed under the terms of the Modified BSD License.
version_info = (0, 9, 0)
__version__ = ".".join(map(str, version_info))
| version_info = (0, 9, 0)
__version__ = '.'.join(map(str, version_info)) |
# ========================= SymbolTable CLASS
class SymbolTable(object):
"""
Symbol table for the CompilationEngine of the Jack compiler.
"""
def __init__(self):
self._file_name = ''
self._class_table = {}
self._subroutine_table = {}
self._static_count = 0
self._field_count = 0
self._arg_count = 0
self._var_count = 0
def reset(self, file_name):
"""
Resets both class and subroutine table, sets a new file name, and sets
counters to zero.
args:
file_name: (str) name of a new Jack file.
"""
self._file_name = file_name
self._class_table = {}
self._subroutine_table = {}
self._static_count = 0
self._field_count = 0
self._arg_count = 0
self._var_count = 0
def resetSubroutine(self, subroutine_kind):
"""
Resets only subroutine table, sets var counter to zero and arg counter
to one if subroutine is method else to zero.
args:
subroutine_kind: (str) method, constructor or function
"""
self._subroutine_table = {}
if subroutine_kind == 'method':
self._arg_count = 1
else:
self._arg_count = 0
self._var_count = 0
def define(self, name, type, kind, line_number):
"""
Adds a variable to the symbol table. If the variable already exists an
exception is raised. Static and field variables are added to te class
table, arg and local variables to the subroutine table.
args:
name: (str) name of the variable to be added
type: (str) built-in type or object type
kind: (str) one of static, field, arg or local
line_number: (int) current line number of a Jack file being compiled
"""
if kind == 'static':
if name not in self._class_table:
index = self._static_count
self._static_count += 1
self._class_table[name] = {'type': type, 'kind': kind, 'index': index}
elif kind == 'field':
if name not in self._class_table:
index = self._field_count
self._field_count += 1
self._class_table[name] = {'type': type, 'kind': kind, 'index': index}
elif kind == 'arg':
if name not in self._subroutine_table:
index = self._arg_count
self._arg_count += 1
self._subroutine_table[name] = {'type': type, 'kind': kind, 'index': index}
elif kind == 'local':
if name not in self._subroutine_table:
index = self._var_count
self._var_count += 1
self._subroutine_table[name] = {'type': type, 'kind': kind, 'index': index}
else:
raise NameError("File {}, line number {}: variable '{}' already declared."
.format(self._file_name, line_number, name))
def varCount(self, kind):
"""
Returns number of variables in the symbol table of a given kind.
args:
kind: (str) one of static, field, arg or local
"""
if kind == 'static': return self._static_count
elif kind == 'field': return self._field_count
elif kind == 'arg': return self._arg_count
elif kind == 'local': return self._var_count
def kindOf(self, name, line_number):
"""
Returns the kind of a given variable. Unknown variables raise an exception.
args:
name: (str) name of the variable to be added
line_number: (int) current line number of a Jack file being compiled
"""
if name in self._subroutine_table:
return self._subroutine_table[name]['kind']
elif name in self._class_table:
return self._class_table[name]['kind']
else:
raise NameError("File {}, line number {}: variable {} not found."
.format(self._file_name, line_number, name))
def typeOf(self, name, line_number):
"""
Returns the type of a given variable. Unknown variables raise an exception.
args:
name: (str) name of the variable to be added
line_number: (int) current line number of a Jack file being compiled
"""
if name in self._subroutine_table:
return self._subroutine_table[name]['type']
elif name in self._class_table:
return self._class_table[name]['type']
else:
raise NameError("File {}, line number {}: variable {} not found."
.format(self._file_name, line_number, name))
def indexOf(self, name, line_number):
"""
Returns the index of a given variable. Unknown variables raise an exception.
args:
name: (str) name of the variable to be added
line_number: (int) current line number of a Jack file being compiled
"""
if name in self._subroutine_table:
return self._subroutine_table[name]['index']
elif name in self._class_table:
return self._class_table[name]['index']
else:
raise NameError("File {}, line number {}: variable {} not found."
.format(self._file_name, line_number, name))
| class Symboltable(object):
"""
Symbol table for the CompilationEngine of the Jack compiler.
"""
def __init__(self):
self._file_name = ''
self._class_table = {}
self._subroutine_table = {}
self._static_count = 0
self._field_count = 0
self._arg_count = 0
self._var_count = 0
def reset(self, file_name):
"""
Resets both class and subroutine table, sets a new file name, and sets
counters to zero.
args:
file_name: (str) name of a new Jack file.
"""
self._file_name = file_name
self._class_table = {}
self._subroutine_table = {}
self._static_count = 0
self._field_count = 0
self._arg_count = 0
self._var_count = 0
def reset_subroutine(self, subroutine_kind):
"""
Resets only subroutine table, sets var counter to zero and arg counter
to one if subroutine is method else to zero.
args:
subroutine_kind: (str) method, constructor or function
"""
self._subroutine_table = {}
if subroutine_kind == 'method':
self._arg_count = 1
else:
self._arg_count = 0
self._var_count = 0
def define(self, name, type, kind, line_number):
"""
Adds a variable to the symbol table. If the variable already exists an
exception is raised. Static and field variables are added to te class
table, arg and local variables to the subroutine table.
args:
name: (str) name of the variable to be added
type: (str) built-in type or object type
kind: (str) one of static, field, arg or local
line_number: (int) current line number of a Jack file being compiled
"""
if kind == 'static':
if name not in self._class_table:
index = self._static_count
self._static_count += 1
self._class_table[name] = {'type': type, 'kind': kind, 'index': index}
elif kind == 'field':
if name not in self._class_table:
index = self._field_count
self._field_count += 1
self._class_table[name] = {'type': type, 'kind': kind, 'index': index}
elif kind == 'arg':
if name not in self._subroutine_table:
index = self._arg_count
self._arg_count += 1
self._subroutine_table[name] = {'type': type, 'kind': kind, 'index': index}
elif kind == 'local':
if name not in self._subroutine_table:
index = self._var_count
self._var_count += 1
self._subroutine_table[name] = {'type': type, 'kind': kind, 'index': index}
else:
raise name_error("File {}, line number {}: variable '{}' already declared.".format(self._file_name, line_number, name))
def var_count(self, kind):
"""
Returns number of variables in the symbol table of a given kind.
args:
kind: (str) one of static, field, arg or local
"""
if kind == 'static':
return self._static_count
elif kind == 'field':
return self._field_count
elif kind == 'arg':
return self._arg_count
elif kind == 'local':
return self._var_count
def kind_of(self, name, line_number):
"""
Returns the kind of a given variable. Unknown variables raise an exception.
args:
name: (str) name of the variable to be added
line_number: (int) current line number of a Jack file being compiled
"""
if name in self._subroutine_table:
return self._subroutine_table[name]['kind']
elif name in self._class_table:
return self._class_table[name]['kind']
else:
raise name_error('File {}, line number {}: variable {} not found.'.format(self._file_name, line_number, name))
def type_of(self, name, line_number):
"""
Returns the type of a given variable. Unknown variables raise an exception.
args:
name: (str) name of the variable to be added
line_number: (int) current line number of a Jack file being compiled
"""
if name in self._subroutine_table:
return self._subroutine_table[name]['type']
elif name in self._class_table:
return self._class_table[name]['type']
else:
raise name_error('File {}, line number {}: variable {} not found.'.format(self._file_name, line_number, name))
def index_of(self, name, line_number):
"""
Returns the index of a given variable. Unknown variables raise an exception.
args:
name: (str) name of the variable to be added
line_number: (int) current line number of a Jack file being compiled
"""
if name in self._subroutine_table:
return self._subroutine_table[name]['index']
elif name in self._class_table:
return self._class_table[name]['index']
else:
raise name_error('File {}, line number {}: variable {} not found.'.format(self._file_name, line_number, name)) |
def incorrectPasscodeAttempts(passcode, attempts):
cnt = 0
for att in attempts:
if att == passcode:
cnt = 0
else:
cnt += 1
if cnt >= 10:
return True
return False | def incorrect_passcode_attempts(passcode, attempts):
cnt = 0
for att in attempts:
if att == passcode:
cnt = 0
else:
cnt += 1
if cnt >= 10:
return True
return False |
options = [
"USD",
"EUR",
"JPY",
"GBP",
"AUD",
"CAD",
"CHF",
"CNY",
"HKD",
"NZD",
"SEK",
"KRW",
"SGD",
"NOK",
"MXN",
"INR",
"RUB",
"ZAR",
"TRY",
"BRL",
]
opt2=[
"USD",
"EUR",
"JPY",
"GBP",
"AUD",
"CAD",
"CHF",
"CNY",
"HKD",
"NZD",
"SEK",
"KRW",
"SGD",
"NOK",
"MXN",
"INR",
"RUB",
"ZAR",
"TRY",
"BRL",
]
| options = ['USD', 'EUR', 'JPY', 'GBP', 'AUD', 'CAD', 'CHF', 'CNY', 'HKD', 'NZD', 'SEK', 'KRW', 'SGD', 'NOK', 'MXN', 'INR', 'RUB', 'ZAR', 'TRY', 'BRL']
opt2 = ['USD', 'EUR', 'JPY', 'GBP', 'AUD', 'CAD', 'CHF', 'CNY', 'HKD', 'NZD', 'SEK', 'KRW', 'SGD', 'NOK', 'MXN', 'INR', 'RUB', 'ZAR', 'TRY', 'BRL'] |
#!/usr/bin/env python3
"""
help.py
This is a file to pull the help for all programs in bin. Each script must be
added individually, some scripts use argparse, so -h is called, others do not,
and so their __doc__ is printed. Based on spHelp written by Elena.
2020-06-08 DG Init, based on spHelp
2020-08-17 DG Added XMID and WAVEMID
2020-10-18 DG Added m4l
2022-01-09 DG Simplified the whole thing to text
"""
__version__ = '3.2.0'
doc = """
ObserverTools
Most of these tools have their own --help explanations that are more verbose
Scripts:
ads9.py: Shortcut for ds9_live.py -a
ap_test.py: Tests apogee dome flats (in progress)
aptest: Alias for ap_test.py
az_fiducial_error.sh: Checks mcp logs for fiducial crossings
boss_shap1sum.py: Hashes boss directories
ds9_live.py: Runs a ds9 window for any standard image directory
eval_pointint.py: Analyzes ecam pointing datasets
fsc_coord_conver.py: Converts tables of fsc coordinates to sky offsets
get_dust.py: Gets today's dust counts
getDust.py: Alias for get_dust.py
help.py: This script
influx_fetch.py: Queries InfluxDB, requires an influxdb key
list_ap: Prints apogee images, I recommend sloan_log.py -a instead
m4l: Alias for m4l.py
m4l.py: Gets Mirror numbers
mjd: Alias for sjd.py
plot_mcp_fiducials.py: Plots mcp fiducial crossings
sjd.py: Gets current sjd
sloan_log.py: A large and flexible logging tool including apogee, boss,
log support, and much more.
sossy.py: Parse SOS outputs
spds9.py: Shortcut for ds9_live.py -b
spHelp: Alias for help.py
spVersion: Alias for versions.py
telescope_status.py: Creates telescope status section for night log
telStatus: Alias for telescope_status.py
time_track.py: A time tracking tool to anlayze monthly time usage
tpm_feed.py: Creates a feed/plot of TPM output
tpm_fetch.py: Queries TPM archive files without InfluxDB
versions.py: Prints various software versions and disk usage
wave_mid.py: Computes WAVEMID offsets
WAVEMID: Alias for wave_mid.py
x_mid.py: Computes XMID offsets
XMID: Alias for x_mid.py
"""
print(doc)
| """
help.py
This is a file to pull the help for all programs in bin. Each script must be
added individually, some scripts use argparse, so -h is called, others do not,
and so their __doc__ is printed. Based on spHelp written by Elena.
2020-06-08 DG Init, based on spHelp
2020-08-17 DG Added XMID and WAVEMID
2020-10-18 DG Added m4l
2022-01-09 DG Simplified the whole thing to text
"""
__version__ = '3.2.0'
doc = "\nObserverTools\n\nMost of these tools have their own --help explanations that are more verbose\n\nScripts:\nads9.py: Shortcut for ds9_live.py -a\nap_test.py: Tests apogee dome flats (in progress)\naptest: Alias for ap_test.py\naz_fiducial_error.sh: Checks mcp logs for fiducial crossings\nboss_shap1sum.py: Hashes boss directories\nds9_live.py: Runs a ds9 window for any standard image directory\neval_pointint.py: Analyzes ecam pointing datasets\nfsc_coord_conver.py: Converts tables of fsc coordinates to sky offsets\nget_dust.py: Gets today's dust counts\ngetDust.py: Alias for get_dust.py\nhelp.py: This script\ninflux_fetch.py: Queries InfluxDB, requires an influxdb key\nlist_ap: Prints apogee images, I recommend sloan_log.py -a instead\nm4l: Alias for m4l.py\nm4l.py: Gets Mirror numbers\nmjd: Alias for sjd.py\nplot_mcp_fiducials.py: Plots mcp fiducial crossings\nsjd.py: Gets current sjd\nsloan_log.py: A large and flexible logging tool including apogee, boss,\n log support, and much more.\nsossy.py: Parse SOS outputs\nspds9.py: Shortcut for ds9_live.py -b\nspHelp: Alias for help.py\nspVersion: Alias for versions.py\ntelescope_status.py: Creates telescope status section for night log\ntelStatus: Alias for telescope_status.py\ntime_track.py: A time tracking tool to anlayze monthly time usage\ntpm_feed.py: Creates a feed/plot of TPM output\ntpm_fetch.py: Queries TPM archive files without InfluxDB\nversions.py: Prints various software versions and disk usage\nwave_mid.py: Computes WAVEMID offsets\nWAVEMID: Alias for wave_mid.py\nx_mid.py: Computes XMID offsets\nXMID: Alias for x_mid.py\n"
print(doc) |
# noinspection PyShadowingBuiltins,PyUnusedLocal
def compute(x, y):
if all(0 <= n <= 100 for n in (x, y)):
return x + y
else:
raise ValueError('Please provide two integer numbers')
| def compute(x, y):
if all((0 <= n <= 100 for n in (x, y))):
return x + y
else:
raise value_error('Please provide two integer numbers') |
#
# PySNMP MIB module IPFIX-EXPORTER-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IPFIX-EXPORTER-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:55:56 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, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint")
InterfaceIndexOrZero, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero")
InetAddressType, InetAddress, InetAutonomousSystemNumber = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress", "InetAutonomousSystemNumber")
ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
Gauge32, Counter64, TimeTicks, mib_2, Unsigned32, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, ModuleIdentity, IpAddress, Bits, MibIdentifier, NotificationType, ObjectIdentity, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "Counter64", "TimeTicks", "mib-2", "Unsigned32", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "ModuleIdentity", "IpAddress", "Bits", "MibIdentifier", "NotificationType", "ObjectIdentity", "iso")
DateAndTime, RowStatus, TruthValue, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "RowStatus", "TruthValue", "DisplayString", "TextualConvention")
ipfixMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 999))
ipfixMIB.setRevisions(('2006-10-23 12:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ipfixMIB.setRevisionsDescriptions(('Initial version, published as RFC yyyy.',))
if mibBuilder.loadTexts: ipfixMIB.setLastUpdated('200610231200Z')
if mibBuilder.loadTexts: ipfixMIB.setOrganization('IETF IP Flow Information Export')
if mibBuilder.loadTexts: ipfixMIB.setContactInfo('WG charter: http://www.ietf.org/html.charters/ipfix-charter.html Mailing Lists: General Discussion: ipfix@net.doit.wisc.edu To Subscribe: majordomo@net.doit.wisc.edu In Body: subscribe ipfix Archive: http://ipfix.doit.wisc.edu/archive/ Editor: Thomas Dietz NEC Europe Ltd. Network Laboratories Kurfuersten-Anlage 36 69115 Heidelberg Germany Phone: +49 6221 4342-128 Email: dietz@netlab.nec.de')
if mibBuilder.loadTexts: ipfixMIB.setDescription('The IPFIX MIB defines managed objects for IP flow information export. These objects provide information about managed nodes supporting IP flow information export, including flow information export capabilities, configuration and statistics. They also allow to configure IP flow information export concerning the IP interface at which flow information is gathered, the flow selections methods used, and the collector to which flow information is exported. Copyright (C) The Internet Society (2006). This version of this MIB module is part of RFC yyyy; see the RFC itself for full legal notices.')
class PsampMethodAvailability(TextualConvention, Integer32):
description = 'Used to report the availability of a selection method: available(1) - the method is supported and can be used notAvailable(2) - the method is not available'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("available", 1), ("notAvailable", 2))
ipfixExporter = MibIdentifier((1, 3, 6, 1, 2, 1, 999, 1))
ipfixCollector = MibIdentifier((1, 3, 6, 1, 2, 1, 999, 2))
ipfixPsampExtension = MibIdentifier((1, 3, 6, 1, 2, 1, 999, 3))
ipfixConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 999, 4))
ipfixExporterObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 999, 1, 1))
ipfixReporting = MibIdentifier((1, 3, 6, 1, 2, 1, 999, 1, 1, 1))
ipfixCollectorTable = MibTable((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1), )
if mibBuilder.loadTexts: ipfixCollectorTable.setStatus('current')
if mibBuilder.loadTexts: ipfixCollectorTable.setDescription('This table lists collectors to which reports are exported.')
ipfixCollectorEntry = MibTableRow((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1), ).setIndexNames((0, "IPFIX-EXPORTER-MIB", "ipfixCollectorIndex"))
if mibBuilder.loadTexts: ipfixCollectorEntry.setStatus('current')
if mibBuilder.loadTexts: ipfixCollectorEntry.setDescription('Defines an entry in the ipfixCollectorTable.')
ipfixCollectorIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: ipfixCollectorIndex.setStatus('current')
if mibBuilder.loadTexts: ipfixCollectorIndex.setDescription("The locally arbitrary, but unique identifier of a collector. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfixCollectorDstIpAddressType = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 2), InetAddressType()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ipfixCollectorDstIpAddressType.setStatus('current')
if mibBuilder.loadTexts: ipfixCollectorDstIpAddressType.setDescription('The IP address type of the collector.')
ipfixCollectorDstIpAddress = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 3), InetAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ipfixCollectorDstIpAddress.setStatus('current')
if mibBuilder.loadTexts: ipfixCollectorDstIpAddress.setDescription('The IP address of the collector.')
ipfixCollectorDstProtocol = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256)).clone(132)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ipfixCollectorDstProtocol.setStatus('current')
if mibBuilder.loadTexts: ipfixCollectorDstProtocol.setDescription('The transport protocol used for exporting sampled packets to the collector. The recommended protocols are TCP (6), UDP (17) and SCTP (132). The default is SCTP.')
ipfixCollectorDstPort = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ipfixCollectorDstPort.setStatus('current')
if mibBuilder.loadTexts: ipfixCollectorDstPort.setDescription('The port number of the collector.')
ipfixCollectorReportsSent = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipfixCollectorReportsSent.setStatus('current')
if mibBuilder.loadTexts: ipfixCollectorReportsSent.setDescription('The number of reports sent to the collector.')
ipfixCollectorGroupTable = MibTable((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 2), )
if mibBuilder.loadTexts: ipfixCollectorGroupTable.setStatus('current')
if mibBuilder.loadTexts: ipfixCollectorGroupTable.setDescription('This table lists groups of collectors to which flow records packets are exported. If flow records are exported to only one collector the group consists of exactly one collector.')
ipfixCollectorGroupEntry = MibTableRow((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 2, 1), ).setIndexNames((0, "IPFIX-EXPORTER-MIB", "ipfixCollectorGroupIndex"), (0, "IPFIX-EXPORTER-MIB", "ipfixCollectorIndex"))
if mibBuilder.loadTexts: ipfixCollectorGroupEntry.setStatus('current')
if mibBuilder.loadTexts: ipfixCollectorGroupEntry.setDescription('Defines an entry in the ipfixCollectorGroupTable.')
ipfixCollectorGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: ipfixCollectorGroupIndex.setStatus('current')
if mibBuilder.loadTexts: ipfixCollectorGroupIndex.setDescription("The locally arbitrary, but unique identifier of a collector group. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfixTemplateTable = MibTable((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3), )
if mibBuilder.loadTexts: ipfixTemplateTable.setStatus('current')
if mibBuilder.loadTexts: ipfixTemplateTable.setDescription('This table lists templates used by the exporter.')
ipfixTemplateEntry = MibTableRow((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3, 1), ).setIndexNames((0, "IPFIX-EXPORTER-MIB", "ipfixObservationDomainId"), (0, "IPFIX-EXPORTER-MIB", "ipfixTemplateId"), (0, "IPFIX-EXPORTER-MIB", "ipfixTemplateIndex"))
if mibBuilder.loadTexts: ipfixTemplateEntry.setStatus('current')
if mibBuilder.loadTexts: ipfixTemplateEntry.setDescription('Defines an entry in the ipfixTemplateTable.')
ipfixTemplateId = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: ipfixTemplateId.setReference('draft-ietf-ipfix-sample-tech-04.txt, Section 5.1')
if mibBuilder.loadTexts: ipfixTemplateId.setStatus('current')
if mibBuilder.loadTexts: ipfixTemplateId.setDescription('The unique identifier for the template.')
ipfixTemplateIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: ipfixTemplateIndex.setStatus('current')
if mibBuilder.loadTexts: ipfixTemplateIndex.setDescription("The locally arbitrary, but unique identifier of a field Id in the template identified by ipfixTemplateId. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfixTemplateFieldId = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipfixTemplateFieldId.setReference('draft-ietf-ipfix-sample-tech-04.txt, IPFIX/PSAMP INFO MODEL')
if mibBuilder.loadTexts: ipfixTemplateFieldId.setStatus('current')
if mibBuilder.loadTexts: ipfixTemplateFieldId.setDescription('The Field Id at position ipfixTemplateIndex in the template ipfixTemplateId. This implicitly gives the data type and state values that are exported.')
ipfixTemplateFieldLength = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipfixTemplateFieldLength.setStatus('current')
if mibBuilder.loadTexts: ipfixTemplateFieldLength.setDescription('The Length of the Field. Used to indicate if reduced encoding or variable length field is used.')
ipfixInstances = MibIdentifier((1, 3, 6, 1, 2, 1, 999, 1, 1, 2))
ipfixObservationDomainTable = MibTable((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1), )
if mibBuilder.loadTexts: ipfixObservationDomainTable.setStatus('current')
if mibBuilder.loadTexts: ipfixObservationDomainTable.setDescription('This table lists the Observation Domains used at the managed node.')
ipfixObservationDomainEntry = MibTableRow((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1, 1), ).setIndexNames((0, "IPFIX-EXPORTER-MIB", "ipfixObservationDomainId"))
if mibBuilder.loadTexts: ipfixObservationDomainEntry.setStatus('current')
if mibBuilder.loadTexts: ipfixObservationDomainEntry.setDescription('Defines an entry in the ipfixObservationDomainTable.')
ipfixObservationDomainId = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: ipfixObservationDomainId.setStatus('current')
if mibBuilder.loadTexts: ipfixObservationDomainId.setDescription("The locally arbitrary, but unique identifier of an Observation Domain. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfixInstanceObservationPoint = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1, 1, 2), ObjectIdentifier()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ipfixInstanceObservationPoint.setStatus('current')
if mibBuilder.loadTexts: ipfixInstanceObservationPoint.setDescription('The point where the packet is observed. If it is e.g, an interface it points to the mib-II object of the interface.')
ipfixInstanceStartTime = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1, 1, 3), DateAndTime()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ipfixInstanceStartTime.setStatus('current')
if mibBuilder.loadTexts: ipfixInstanceStartTime.setDescription('The date and time when exporting for this parameter set should start.')
ipfixInstanceStopTime = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1, 1, 4), DateAndTime()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ipfixInstanceStopTime.setStatus('current')
if mibBuilder.loadTexts: ipfixInstanceStopTime.setDescription('The date and time when exporting for this parameter set should stop.')
ipfixInstanceTable = MibTable((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2), )
if mibBuilder.loadTexts: ipfixInstanceTable.setStatus('current')
if mibBuilder.loadTexts: ipfixInstanceTable.setDescription('This table lists active instances of packet sampling at the managed node.')
ipfixInstanceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1), ).setIndexNames((0, "IPFIX-EXPORTER-MIB", "ipfixInstanceIndex"), (0, "IPFIX-EXPORTER-MIB", "ipfixObservationDomainId"))
if mibBuilder.loadTexts: ipfixInstanceEntry.setStatus('current')
if mibBuilder.loadTexts: ipfixInstanceEntry.setDescription('Defines an entry in the ipfixInstanceTable.')
ipfixInstanceIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: ipfixInstanceIndex.setStatus('current')
if mibBuilder.loadTexts: ipfixInstanceIndex.setDescription("The locally arbitrary, but unique identifier of an instance. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfixInstanceTemplateId = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ipfixInstanceTemplateId.setStatus('current')
if mibBuilder.loadTexts: ipfixInstanceTemplateId.setDescription('The Id of a template in the template table. This implies the knowledge about the method chain from the method chain table. Furthermore it links the instance, method chain (selector) and template together. The identified template is applied to the stream of filtered/sampled packets observed after applying the method chain at the observation point.')
ipfixInstanceCollectorGroupIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 3), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ipfixInstanceCollectorGroupIndex.setStatus('current')
if mibBuilder.loadTexts: ipfixInstanceCollectorGroupIndex.setDescription('The index of the collector group to which packet reports are sent.')
ipfixInstancePacketsObserved = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipfixInstancePacketsObserved.setStatus('current')
if mibBuilder.loadTexts: ipfixInstancePacketsObserved.setDescription('The number of packets observed at the observation point.')
ipfixInstancePacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipfixInstancePacketsDropped.setStatus('current')
if mibBuilder.loadTexts: ipfixInstancePacketsDropped.setDescription('The number of packets dropped while filtering/sampling packets.')
ipfixInstanceProcessId = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipfixInstanceProcessId.setStatus('current')
if mibBuilder.loadTexts: ipfixInstanceProcessId.setDescription('The process id of the metering process used by this instance.')
ipfixInstanceReportingProcessId = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipfixInstanceReportingProcessId.setStatus('current')
if mibBuilder.loadTexts: ipfixInstanceReportingProcessId.setDescription('The process id of the reporting process used by this instance.')
ipfixInstanceReportsSent = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipfixInstanceReportsSent.setStatus('current')
if mibBuilder.loadTexts: ipfixInstanceReportsSent.setDescription('The number of reports on sampled packets sent to the collector.')
ipfixMethodChainTable = MibTable((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4), )
if mibBuilder.loadTexts: ipfixMethodChainTable.setStatus('current')
if mibBuilder.loadTexts: ipfixMethodChainTable.setDescription('This table contains method chains lists and connects them to the instances where they are applied to different observation points. The filtered/sampled packets are then exported.')
ipfixMethodChainEntry = MibTableRow((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4, 1), ).setIndexNames((0, "IPFIX-EXPORTER-MIB", "ipfixInstanceIndex"), (0, "IPFIX-EXPORTER-MIB", "ipfixMethodChainIndex"))
if mibBuilder.loadTexts: ipfixMethodChainEntry.setStatus('current')
if mibBuilder.loadTexts: ipfixMethodChainEntry.setDescription('Defines an entry in the ipfixMethodChainTable.')
ipfixMethodChainIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)))
if mibBuilder.loadTexts: ipfixMethodChainIndex.setStatus('current')
if mibBuilder.loadTexts: ipfixMethodChainIndex.setDescription("The locally arbitrary, but unique identifier of a template. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfixMethodChainMethod = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4, 1, 3), ObjectIdentifier()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: ipfixMethodChainMethod.setStatus('current')
if mibBuilder.loadTexts: ipfixMethodChainMethod.setDescription('The method used for the template at a certain position in the method chain.')
ipfixMethodChainPacketsObserved = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipfixMethodChainPacketsObserved.setStatus('current')
if mibBuilder.loadTexts: ipfixMethodChainPacketsObserved.setDescription('The number of packets observed at the method entry point.')
ipfixMethodChainPacketsDropped = MibTableColumn((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: ipfixMethodChainPacketsDropped.setStatus('current')
if mibBuilder.loadTexts: ipfixMethodChainPacketsDropped.setDescription('The number of packets dropped while selecting packets.')
ipfixCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 999, 4, 1))
ipfixGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 999, 4, 2))
ipfixCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 999, 4, 1, 1)).setObjects(("IPFIX-EXPORTER-MIB", "ipfixGroupMetering"), ("IPFIX-EXPORTER-MIB", "ipfixGroupReporting"), ("IPFIX-EXPORTER-MIB", "ipfixGroupStatistics"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ipfixCompliance = ipfixCompliance.setStatus('current')
if mibBuilder.loadTexts: ipfixCompliance.setDescription('An implementation that complies to this module must implement the objects defined in the mandatory groups ipfixGroupMetering and ipfixGroupReporting. The implementation of all other objects depends on the implementation of the corresponding functionality in the equipment.')
ipfixGroupMetering = ObjectGroup((1, 3, 6, 1, 2, 1, 999, 4, 2, 1)).setObjects(("IPFIX-EXPORTER-MIB", "ipfixTemplateFieldId"), ("IPFIX-EXPORTER-MIB", "ipfixTemplateFieldLength"), ("IPFIX-EXPORTER-MIB", "ipfixMethodChainMethod"), ("IPFIX-EXPORTER-MIB", "ipfixInstanceObservationPoint"), ("IPFIX-EXPORTER-MIB", "ipfixInstanceStartTime"), ("IPFIX-EXPORTER-MIB", "ipfixInstanceStopTime"), ("IPFIX-EXPORTER-MIB", "ipfixInstanceTemplateId"), ("IPFIX-EXPORTER-MIB", "ipfixInstanceCollectorGroupIndex"), ("IPFIX-EXPORTER-MIB", "ipfixInstanceProcessId"), ("IPFIX-EXPORTER-MIB", "ipfixInstanceReportingProcessId"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ipfixGroupMetering = ipfixGroupMetering.setStatus('current')
if mibBuilder.loadTexts: ipfixGroupMetering.setDescription('All objects that are basic for the metering process. It contains a basic metering function (ipfixSelectAll), The template definitions needed for the export of data, the method chain that fixes the metering functions applied to the observation point and several parameters concering the export process and the collectors.')
ipfixGroupReporting = ObjectGroup((1, 3, 6, 1, 2, 1, 999, 4, 2, 2)).setObjects(("IPFIX-EXPORTER-MIB", "ipfixCollectorDstIpAddressType"), ("IPFIX-EXPORTER-MIB", "ipfixCollectorDstIpAddress"), ("IPFIX-EXPORTER-MIB", "ipfixCollectorDstProtocol"), ("IPFIX-EXPORTER-MIB", "ipfixCollectorDstPort"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ipfixGroupReporting = ipfixGroupReporting.setStatus('current')
if mibBuilder.loadTexts: ipfixGroupReporting.setDescription('These objects define the collectors i.e., the destinations of the exporting process.')
ipfixGroupStatistics = ObjectGroup((1, 3, 6, 1, 2, 1, 999, 4, 2, 3)).setObjects(("IPFIX-EXPORTER-MIB", "ipfixCollectorReportsSent"), ("IPFIX-EXPORTER-MIB", "ipfixMethodChainPacketsObserved"), ("IPFIX-EXPORTER-MIB", "ipfixMethodChainPacketsDropped"), ("IPFIX-EXPORTER-MIB", "ipfixInstancePacketsObserved"), ("IPFIX-EXPORTER-MIB", "ipfixInstanceReportsSent"), ("IPFIX-EXPORTER-MIB", "ipfixInstancePacketsDropped"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ipfixGroupStatistics = ipfixGroupStatistics.setStatus('current')
if mibBuilder.loadTexts: ipfixGroupStatistics.setDescription('These objects contain statistical values gathered at different points in the metering process.')
mibBuilder.exportSymbols("IPFIX-EXPORTER-MIB", ipfixMethodChainPacketsDropped=ipfixMethodChainPacketsDropped, ipfixTemplateIndex=ipfixTemplateIndex, ipfixPsampExtension=ipfixPsampExtension, ipfixMethodChainIndex=ipfixMethodChainIndex, ipfixInstanceIndex=ipfixInstanceIndex, ipfixCompliance=ipfixCompliance, ipfixCollectorGroupTable=ipfixCollectorGroupTable, ipfixCollectorEntry=ipfixCollectorEntry, ipfixObservationDomainTable=ipfixObservationDomainTable, ipfixObservationDomainId=ipfixObservationDomainId, ipfixCollectorDstIpAddress=ipfixCollectorDstIpAddress, ipfixInstanceEntry=ipfixInstanceEntry, ipfixInstancePacketsDropped=ipfixInstancePacketsDropped, ipfixExporter=ipfixExporter, PYSNMP_MODULE_ID=ipfixMIB, ipfixConformance=ipfixConformance, PsampMethodAvailability=PsampMethodAvailability, ipfixGroups=ipfixGroups, ipfixInstanceStopTime=ipfixInstanceStopTime, ipfixInstanceProcessId=ipfixInstanceProcessId, ipfixInstanceReportingProcessId=ipfixInstanceReportingProcessId, ipfixExporterObjects=ipfixExporterObjects, ipfixInstanceObservationPoint=ipfixInstanceObservationPoint, ipfixTemplateTable=ipfixTemplateTable, ipfixTemplateEntry=ipfixTemplateEntry, ipfixGroupMetering=ipfixGroupMetering, ipfixReporting=ipfixReporting, ipfixCollectorIndex=ipfixCollectorIndex, ipfixInstanceCollectorGroupIndex=ipfixInstanceCollectorGroupIndex, ipfixCompliances=ipfixCompliances, ipfixCollector=ipfixCollector, ipfixTemplateId=ipfixTemplateId, ipfixCollectorDstIpAddressType=ipfixCollectorDstIpAddressType, ipfixCollectorGroupIndex=ipfixCollectorGroupIndex, ipfixInstanceTemplateId=ipfixInstanceTemplateId, ipfixInstanceTable=ipfixInstanceTable, ipfixInstanceReportsSent=ipfixInstanceReportsSent, ipfixMethodChainMethod=ipfixMethodChainMethod, ipfixCollectorDstProtocol=ipfixCollectorDstProtocol, ipfixCollectorTable=ipfixCollectorTable, ipfixGroupStatistics=ipfixGroupStatistics, ipfixObservationDomainEntry=ipfixObservationDomainEntry, ipfixCollectorGroupEntry=ipfixCollectorGroupEntry, ipfixInstanceStartTime=ipfixInstanceStartTime, ipfixInstancePacketsObserved=ipfixInstancePacketsObserved, ipfixInstances=ipfixInstances, ipfixMethodChainEntry=ipfixMethodChainEntry, ipfixMIB=ipfixMIB, ipfixGroupReporting=ipfixGroupReporting, ipfixMethodChainPacketsObserved=ipfixMethodChainPacketsObserved, ipfixCollectorReportsSent=ipfixCollectorReportsSent, ipfixTemplateFieldLength=ipfixTemplateFieldLength, ipfixCollectorDstPort=ipfixCollectorDstPort, ipfixMethodChainTable=ipfixMethodChainTable, ipfixTemplateFieldId=ipfixTemplateFieldId)
| (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, constraints_intersection, value_range_constraint, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint', 'SingleValueConstraint')
(interface_index_or_zero,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndexOrZero')
(inet_address_type, inet_address, inet_autonomous_system_number) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddress', 'InetAutonomousSystemNumber')
(module_compliance, notification_group, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup', 'ObjectGroup')
(gauge32, counter64, time_ticks, mib_2, unsigned32, integer32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, module_identity, ip_address, bits, mib_identifier, notification_type, object_identity, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'Counter64', 'TimeTicks', 'mib-2', 'Unsigned32', 'Integer32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'ModuleIdentity', 'IpAddress', 'Bits', 'MibIdentifier', 'NotificationType', 'ObjectIdentity', 'iso')
(date_and_time, row_status, truth_value, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DateAndTime', 'RowStatus', 'TruthValue', 'DisplayString', 'TextualConvention')
ipfix_mib = module_identity((1, 3, 6, 1, 2, 1, 999))
ipfixMIB.setRevisions(('2006-10-23 12:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
ipfixMIB.setRevisionsDescriptions(('Initial version, published as RFC yyyy.',))
if mibBuilder.loadTexts:
ipfixMIB.setLastUpdated('200610231200Z')
if mibBuilder.loadTexts:
ipfixMIB.setOrganization('IETF IP Flow Information Export')
if mibBuilder.loadTexts:
ipfixMIB.setContactInfo('WG charter: http://www.ietf.org/html.charters/ipfix-charter.html Mailing Lists: General Discussion: ipfix@net.doit.wisc.edu To Subscribe: majordomo@net.doit.wisc.edu In Body: subscribe ipfix Archive: http://ipfix.doit.wisc.edu/archive/ Editor: Thomas Dietz NEC Europe Ltd. Network Laboratories Kurfuersten-Anlage 36 69115 Heidelberg Germany Phone: +49 6221 4342-128 Email: dietz@netlab.nec.de')
if mibBuilder.loadTexts:
ipfixMIB.setDescription('The IPFIX MIB defines managed objects for IP flow information export. These objects provide information about managed nodes supporting IP flow information export, including flow information export capabilities, configuration and statistics. They also allow to configure IP flow information export concerning the IP interface at which flow information is gathered, the flow selections methods used, and the collector to which flow information is exported. Copyright (C) The Internet Society (2006). This version of this MIB module is part of RFC yyyy; see the RFC itself for full legal notices.')
class Psampmethodavailability(TextualConvention, Integer32):
description = 'Used to report the availability of a selection method: available(1) - the method is supported and can be used notAvailable(2) - the method is not available'
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('available', 1), ('notAvailable', 2))
ipfix_exporter = mib_identifier((1, 3, 6, 1, 2, 1, 999, 1))
ipfix_collector = mib_identifier((1, 3, 6, 1, 2, 1, 999, 2))
ipfix_psamp_extension = mib_identifier((1, 3, 6, 1, 2, 1, 999, 3))
ipfix_conformance = mib_identifier((1, 3, 6, 1, 2, 1, 999, 4))
ipfix_exporter_objects = mib_identifier((1, 3, 6, 1, 2, 1, 999, 1, 1))
ipfix_reporting = mib_identifier((1, 3, 6, 1, 2, 1, 999, 1, 1, 1))
ipfix_collector_table = mib_table((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1))
if mibBuilder.loadTexts:
ipfixCollectorTable.setStatus('current')
if mibBuilder.loadTexts:
ipfixCollectorTable.setDescription('This table lists collectors to which reports are exported.')
ipfix_collector_entry = mib_table_row((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1)).setIndexNames((0, 'IPFIX-EXPORTER-MIB', 'ipfixCollectorIndex'))
if mibBuilder.loadTexts:
ipfixCollectorEntry.setStatus('current')
if mibBuilder.loadTexts:
ipfixCollectorEntry.setDescription('Defines an entry in the ipfixCollectorTable.')
ipfix_collector_index = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
ipfixCollectorIndex.setStatus('current')
if mibBuilder.loadTexts:
ipfixCollectorIndex.setDescription("The locally arbitrary, but unique identifier of a collector. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfix_collector_dst_ip_address_type = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 2), inet_address_type()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ipfixCollectorDstIpAddressType.setStatus('current')
if mibBuilder.loadTexts:
ipfixCollectorDstIpAddressType.setDescription('The IP address type of the collector.')
ipfix_collector_dst_ip_address = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 3), inet_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ipfixCollectorDstIpAddress.setStatus('current')
if mibBuilder.loadTexts:
ipfixCollectorDstIpAddress.setDescription('The IP address of the collector.')
ipfix_collector_dst_protocol = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 256)).clone(132)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ipfixCollectorDstProtocol.setStatus('current')
if mibBuilder.loadTexts:
ipfixCollectorDstProtocol.setDescription('The transport protocol used for exporting sampled packets to the collector. The recommended protocols are TCP (6), UDP (17) and SCTP (132). The default is SCTP.')
ipfix_collector_dst_port = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ipfixCollectorDstPort.setStatus('current')
if mibBuilder.loadTexts:
ipfixCollectorDstPort.setDescription('The port number of the collector.')
ipfix_collector_reports_sent = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 1, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipfixCollectorReportsSent.setStatus('current')
if mibBuilder.loadTexts:
ipfixCollectorReportsSent.setDescription('The number of reports sent to the collector.')
ipfix_collector_group_table = mib_table((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 2))
if mibBuilder.loadTexts:
ipfixCollectorGroupTable.setStatus('current')
if mibBuilder.loadTexts:
ipfixCollectorGroupTable.setDescription('This table lists groups of collectors to which flow records packets are exported. If flow records are exported to only one collector the group consists of exactly one collector.')
ipfix_collector_group_entry = mib_table_row((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 2, 1)).setIndexNames((0, 'IPFIX-EXPORTER-MIB', 'ipfixCollectorGroupIndex'), (0, 'IPFIX-EXPORTER-MIB', 'ipfixCollectorIndex'))
if mibBuilder.loadTexts:
ipfixCollectorGroupEntry.setStatus('current')
if mibBuilder.loadTexts:
ipfixCollectorGroupEntry.setDescription('Defines an entry in the ipfixCollectorGroupTable.')
ipfix_collector_group_index = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
ipfixCollectorGroupIndex.setStatus('current')
if mibBuilder.loadTexts:
ipfixCollectorGroupIndex.setDescription("The locally arbitrary, but unique identifier of a collector group. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfix_template_table = mib_table((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3))
if mibBuilder.loadTexts:
ipfixTemplateTable.setStatus('current')
if mibBuilder.loadTexts:
ipfixTemplateTable.setDescription('This table lists templates used by the exporter.')
ipfix_template_entry = mib_table_row((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3, 1)).setIndexNames((0, 'IPFIX-EXPORTER-MIB', 'ipfixObservationDomainId'), (0, 'IPFIX-EXPORTER-MIB', 'ipfixTemplateId'), (0, 'IPFIX-EXPORTER-MIB', 'ipfixTemplateIndex'))
if mibBuilder.loadTexts:
ipfixTemplateEntry.setStatus('current')
if mibBuilder.loadTexts:
ipfixTemplateEntry.setDescription('Defines an entry in the ipfixTemplateTable.')
ipfix_template_id = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
ipfixTemplateId.setReference('draft-ietf-ipfix-sample-tech-04.txt, Section 5.1')
if mibBuilder.loadTexts:
ipfixTemplateId.setStatus('current')
if mibBuilder.loadTexts:
ipfixTemplateId.setDescription('The unique identifier for the template.')
ipfix_template_index = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
ipfixTemplateIndex.setStatus('current')
if mibBuilder.loadTexts:
ipfixTemplateIndex.setDescription("The locally arbitrary, but unique identifier of a field Id in the template identified by ipfixTemplateId. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfix_template_field_id = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipfixTemplateFieldId.setReference('draft-ietf-ipfix-sample-tech-04.txt, IPFIX/PSAMP INFO MODEL')
if mibBuilder.loadTexts:
ipfixTemplateFieldId.setStatus('current')
if mibBuilder.loadTexts:
ipfixTemplateFieldId.setDescription('The Field Id at position ipfixTemplateIndex in the template ipfixTemplateId. This implicitly gives the data type and state values that are exported.')
ipfix_template_field_length = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 1, 3, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipfixTemplateFieldLength.setStatus('current')
if mibBuilder.loadTexts:
ipfixTemplateFieldLength.setDescription('The Length of the Field. Used to indicate if reduced encoding or variable length field is used.')
ipfix_instances = mib_identifier((1, 3, 6, 1, 2, 1, 999, 1, 1, 2))
ipfix_observation_domain_table = mib_table((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1))
if mibBuilder.loadTexts:
ipfixObservationDomainTable.setStatus('current')
if mibBuilder.loadTexts:
ipfixObservationDomainTable.setDescription('This table lists the Observation Domains used at the managed node.')
ipfix_observation_domain_entry = mib_table_row((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1, 1)).setIndexNames((0, 'IPFIX-EXPORTER-MIB', 'ipfixObservationDomainId'))
if mibBuilder.loadTexts:
ipfixObservationDomainEntry.setStatus('current')
if mibBuilder.loadTexts:
ipfixObservationDomainEntry.setDescription('Defines an entry in the ipfixObservationDomainTable.')
ipfix_observation_domain_id = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
ipfixObservationDomainId.setStatus('current')
if mibBuilder.loadTexts:
ipfixObservationDomainId.setDescription("The locally arbitrary, but unique identifier of an Observation Domain. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfix_instance_observation_point = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1, 1, 2), object_identifier()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ipfixInstanceObservationPoint.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstanceObservationPoint.setDescription('The point where the packet is observed. If it is e.g, an interface it points to the mib-II object of the interface.')
ipfix_instance_start_time = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1, 1, 3), date_and_time()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ipfixInstanceStartTime.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstanceStartTime.setDescription('The date and time when exporting for this parameter set should start.')
ipfix_instance_stop_time = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 1, 1, 4), date_and_time()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ipfixInstanceStopTime.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstanceStopTime.setDescription('The date and time when exporting for this parameter set should stop.')
ipfix_instance_table = mib_table((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2))
if mibBuilder.loadTexts:
ipfixInstanceTable.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstanceTable.setDescription('This table lists active instances of packet sampling at the managed node.')
ipfix_instance_entry = mib_table_row((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1)).setIndexNames((0, 'IPFIX-EXPORTER-MIB', 'ipfixInstanceIndex'), (0, 'IPFIX-EXPORTER-MIB', 'ipfixObservationDomainId'))
if mibBuilder.loadTexts:
ipfixInstanceEntry.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstanceEntry.setDescription('Defines an entry in the ipfixInstanceTable.')
ipfix_instance_index = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
ipfixInstanceIndex.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstanceIndex.setDescription("The locally arbitrary, but unique identifier of an instance. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfix_instance_template_id = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ipfixInstanceTemplateId.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstanceTemplateId.setDescription('The Id of a template in the template table. This implies the knowledge about the method chain from the method chain table. Furthermore it links the instance, method chain (selector) and template together. The identified template is applied to the stream of filtered/sampled packets observed after applying the method chain at the observation point.')
ipfix_instance_collector_group_index = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 3), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ipfixInstanceCollectorGroupIndex.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstanceCollectorGroupIndex.setDescription('The index of the collector group to which packet reports are sent.')
ipfix_instance_packets_observed = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipfixInstancePacketsObserved.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstancePacketsObserved.setDescription('The number of packets observed at the observation point.')
ipfix_instance_packets_dropped = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipfixInstancePacketsDropped.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstancePacketsDropped.setDescription('The number of packets dropped while filtering/sampling packets.')
ipfix_instance_process_id = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipfixInstanceProcessId.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstanceProcessId.setDescription('The process id of the metering process used by this instance.')
ipfix_instance_reporting_process_id = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipfixInstanceReportingProcessId.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstanceReportingProcessId.setDescription('The process id of the reporting process used by this instance.')
ipfix_instance_reports_sent = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 2, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipfixInstanceReportsSent.setStatus('current')
if mibBuilder.loadTexts:
ipfixInstanceReportsSent.setDescription('The number of reports on sampled packets sent to the collector.')
ipfix_method_chain_table = mib_table((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4))
if mibBuilder.loadTexts:
ipfixMethodChainTable.setStatus('current')
if mibBuilder.loadTexts:
ipfixMethodChainTable.setDescription('This table contains method chains lists and connects them to the instances where they are applied to different observation points. The filtered/sampled packets are then exported.')
ipfix_method_chain_entry = mib_table_row((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4, 1)).setIndexNames((0, 'IPFIX-EXPORTER-MIB', 'ipfixInstanceIndex'), (0, 'IPFIX-EXPORTER-MIB', 'ipfixMethodChainIndex'))
if mibBuilder.loadTexts:
ipfixMethodChainEntry.setStatus('current')
if mibBuilder.loadTexts:
ipfixMethodChainEntry.setDescription('Defines an entry in the ipfixMethodChainTable.')
ipfix_method_chain_index = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)))
if mibBuilder.loadTexts:
ipfixMethodChainIndex.setStatus('current')
if mibBuilder.loadTexts:
ipfixMethodChainIndex.setDescription("The locally arbitrary, but unique identifier of a template. The value is expected to remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.")
ipfix_method_chain_method = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4, 1, 3), object_identifier()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
ipfixMethodChainMethod.setStatus('current')
if mibBuilder.loadTexts:
ipfixMethodChainMethod.setDescription('The method used for the template at a certain position in the method chain.')
ipfix_method_chain_packets_observed = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipfixMethodChainPacketsObserved.setStatus('current')
if mibBuilder.loadTexts:
ipfixMethodChainPacketsObserved.setDescription('The number of packets observed at the method entry point.')
ipfix_method_chain_packets_dropped = mib_table_column((1, 3, 6, 1, 2, 1, 999, 1, 1, 2, 4, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
ipfixMethodChainPacketsDropped.setStatus('current')
if mibBuilder.loadTexts:
ipfixMethodChainPacketsDropped.setDescription('The number of packets dropped while selecting packets.')
ipfix_compliances = mib_identifier((1, 3, 6, 1, 2, 1, 999, 4, 1))
ipfix_groups = mib_identifier((1, 3, 6, 1, 2, 1, 999, 4, 2))
ipfix_compliance = module_compliance((1, 3, 6, 1, 2, 1, 999, 4, 1, 1)).setObjects(('IPFIX-EXPORTER-MIB', 'ipfixGroupMetering'), ('IPFIX-EXPORTER-MIB', 'ipfixGroupReporting'), ('IPFIX-EXPORTER-MIB', 'ipfixGroupStatistics'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ipfix_compliance = ipfixCompliance.setStatus('current')
if mibBuilder.loadTexts:
ipfixCompliance.setDescription('An implementation that complies to this module must implement the objects defined in the mandatory groups ipfixGroupMetering and ipfixGroupReporting. The implementation of all other objects depends on the implementation of the corresponding functionality in the equipment.')
ipfix_group_metering = object_group((1, 3, 6, 1, 2, 1, 999, 4, 2, 1)).setObjects(('IPFIX-EXPORTER-MIB', 'ipfixTemplateFieldId'), ('IPFIX-EXPORTER-MIB', 'ipfixTemplateFieldLength'), ('IPFIX-EXPORTER-MIB', 'ipfixMethodChainMethod'), ('IPFIX-EXPORTER-MIB', 'ipfixInstanceObservationPoint'), ('IPFIX-EXPORTER-MIB', 'ipfixInstanceStartTime'), ('IPFIX-EXPORTER-MIB', 'ipfixInstanceStopTime'), ('IPFIX-EXPORTER-MIB', 'ipfixInstanceTemplateId'), ('IPFIX-EXPORTER-MIB', 'ipfixInstanceCollectorGroupIndex'), ('IPFIX-EXPORTER-MIB', 'ipfixInstanceProcessId'), ('IPFIX-EXPORTER-MIB', 'ipfixInstanceReportingProcessId'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ipfix_group_metering = ipfixGroupMetering.setStatus('current')
if mibBuilder.loadTexts:
ipfixGroupMetering.setDescription('All objects that are basic for the metering process. It contains a basic metering function (ipfixSelectAll), The template definitions needed for the export of data, the method chain that fixes the metering functions applied to the observation point and several parameters concering the export process and the collectors.')
ipfix_group_reporting = object_group((1, 3, 6, 1, 2, 1, 999, 4, 2, 2)).setObjects(('IPFIX-EXPORTER-MIB', 'ipfixCollectorDstIpAddressType'), ('IPFIX-EXPORTER-MIB', 'ipfixCollectorDstIpAddress'), ('IPFIX-EXPORTER-MIB', 'ipfixCollectorDstProtocol'), ('IPFIX-EXPORTER-MIB', 'ipfixCollectorDstPort'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ipfix_group_reporting = ipfixGroupReporting.setStatus('current')
if mibBuilder.loadTexts:
ipfixGroupReporting.setDescription('These objects define the collectors i.e., the destinations of the exporting process.')
ipfix_group_statistics = object_group((1, 3, 6, 1, 2, 1, 999, 4, 2, 3)).setObjects(('IPFIX-EXPORTER-MIB', 'ipfixCollectorReportsSent'), ('IPFIX-EXPORTER-MIB', 'ipfixMethodChainPacketsObserved'), ('IPFIX-EXPORTER-MIB', 'ipfixMethodChainPacketsDropped'), ('IPFIX-EXPORTER-MIB', 'ipfixInstancePacketsObserved'), ('IPFIX-EXPORTER-MIB', 'ipfixInstanceReportsSent'), ('IPFIX-EXPORTER-MIB', 'ipfixInstancePacketsDropped'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
ipfix_group_statistics = ipfixGroupStatistics.setStatus('current')
if mibBuilder.loadTexts:
ipfixGroupStatistics.setDescription('These objects contain statistical values gathered at different points in the metering process.')
mibBuilder.exportSymbols('IPFIX-EXPORTER-MIB', ipfixMethodChainPacketsDropped=ipfixMethodChainPacketsDropped, ipfixTemplateIndex=ipfixTemplateIndex, ipfixPsampExtension=ipfixPsampExtension, ipfixMethodChainIndex=ipfixMethodChainIndex, ipfixInstanceIndex=ipfixInstanceIndex, ipfixCompliance=ipfixCompliance, ipfixCollectorGroupTable=ipfixCollectorGroupTable, ipfixCollectorEntry=ipfixCollectorEntry, ipfixObservationDomainTable=ipfixObservationDomainTable, ipfixObservationDomainId=ipfixObservationDomainId, ipfixCollectorDstIpAddress=ipfixCollectorDstIpAddress, ipfixInstanceEntry=ipfixInstanceEntry, ipfixInstancePacketsDropped=ipfixInstancePacketsDropped, ipfixExporter=ipfixExporter, PYSNMP_MODULE_ID=ipfixMIB, ipfixConformance=ipfixConformance, PsampMethodAvailability=PsampMethodAvailability, ipfixGroups=ipfixGroups, ipfixInstanceStopTime=ipfixInstanceStopTime, ipfixInstanceProcessId=ipfixInstanceProcessId, ipfixInstanceReportingProcessId=ipfixInstanceReportingProcessId, ipfixExporterObjects=ipfixExporterObjects, ipfixInstanceObservationPoint=ipfixInstanceObservationPoint, ipfixTemplateTable=ipfixTemplateTable, ipfixTemplateEntry=ipfixTemplateEntry, ipfixGroupMetering=ipfixGroupMetering, ipfixReporting=ipfixReporting, ipfixCollectorIndex=ipfixCollectorIndex, ipfixInstanceCollectorGroupIndex=ipfixInstanceCollectorGroupIndex, ipfixCompliances=ipfixCompliances, ipfixCollector=ipfixCollector, ipfixTemplateId=ipfixTemplateId, ipfixCollectorDstIpAddressType=ipfixCollectorDstIpAddressType, ipfixCollectorGroupIndex=ipfixCollectorGroupIndex, ipfixInstanceTemplateId=ipfixInstanceTemplateId, ipfixInstanceTable=ipfixInstanceTable, ipfixInstanceReportsSent=ipfixInstanceReportsSent, ipfixMethodChainMethod=ipfixMethodChainMethod, ipfixCollectorDstProtocol=ipfixCollectorDstProtocol, ipfixCollectorTable=ipfixCollectorTable, ipfixGroupStatistics=ipfixGroupStatistics, ipfixObservationDomainEntry=ipfixObservationDomainEntry, ipfixCollectorGroupEntry=ipfixCollectorGroupEntry, ipfixInstanceStartTime=ipfixInstanceStartTime, ipfixInstancePacketsObserved=ipfixInstancePacketsObserved, ipfixInstances=ipfixInstances, ipfixMethodChainEntry=ipfixMethodChainEntry, ipfixMIB=ipfixMIB, ipfixGroupReporting=ipfixGroupReporting, ipfixMethodChainPacketsObserved=ipfixMethodChainPacketsObserved, ipfixCollectorReportsSent=ipfixCollectorReportsSent, ipfixTemplateFieldLength=ipfixTemplateFieldLength, ipfixCollectorDstPort=ipfixCollectorDstPort, ipfixMethodChainTable=ipfixMethodChainTable, ipfixTemplateFieldId=ipfixTemplateFieldId) |
# Advent of Code 2020, Day 6
with open("../input06", "r") as infile:
lines = infile.readlines()
# check if a line is blank
def blank(l):
b = True
for c in l: b = b and (c == ' ' or c == '\n')
return b
group = []
groups = []
for l in lines:
if blank(l):
groups.append(group)
group = []
else:
group.append(l[:-1])
groups.append(group)
# Part 1
def any_ans(g):
aa = set()
for l in g: aa.update(set(l))
return len(aa)
count = 0
for g in groups: count += any_ans(g)
print("Part 1: " + str(count))
# Part 2
def all_ans(g):
aa = set([chr(c) for c in range(ord('a'),ord('z')+1)])
for l in g: aa.intersection_update(set(l))
return len(aa)
count = 0
for g in groups: count += all_ans(g)
print("Part 2: " + str(count))
| with open('../input06', 'r') as infile:
lines = infile.readlines()
def blank(l):
b = True
for c in l:
b = b and (c == ' ' or c == '\n')
return b
group = []
groups = []
for l in lines:
if blank(l):
groups.append(group)
group = []
else:
group.append(l[:-1])
groups.append(group)
def any_ans(g):
aa = set()
for l in g:
aa.update(set(l))
return len(aa)
count = 0
for g in groups:
count += any_ans(g)
print('Part 1: ' + str(count))
def all_ans(g):
aa = set([chr(c) for c in range(ord('a'), ord('z') + 1)])
for l in g:
aa.intersection_update(set(l))
return len(aa)
count = 0
for g in groups:
count += all_ans(g)
print('Part 2: ' + str(count)) |
class Products:
def __init__(self, product_name, displayed_price, product_number):
self.product_name = product_name
self.displayed_price = displayed_price
self.product_number = product_number
| class Products:
def __init__(self, product_name, displayed_price, product_number):
self.product_name = product_name
self.displayed_price = displayed_price
self.product_number = product_number |
def for_underscore():
for row in range(4):
for col in range(6):
if row==3 and col>0 and col<5 :
print("*",end=" ")
else:
print(" ",end=" ")
print()
def while_underscore():
row=0
while row<4:
col=0
while col<6:
if row==3 and col>0 and col<5 :
print("*",end=" ")
else:
print(" ",end=" ")
col+=1
row+=1
print()
| def for_underscore():
for row in range(4):
for col in range(6):
if row == 3 and col > 0 and (col < 5):
print('*', end=' ')
else:
print(' ', end=' ')
print()
def while_underscore():
row = 0
while row < 4:
col = 0
while col < 6:
if row == 3 and col > 0 and (col < 5):
print('*', end=' ')
else:
print(' ', end=' ')
col += 1
row += 1
print() |
"""
__version__.py
~~~~~~~~~~~~~~
Metadata of the Module.
"""
__all__ = [
"__title__",
"__description__",
"__url__",
"__version__",
"__author__",
"__license__",
"__copyright__",
]
__title__ = "sxcu"
__description__ = "Python API wraper for sxcu.net"
__url__ = "https://sxcu.syrusdark.website"
__version__ = "2.0.0"
__author__ = "Naveen M K"
__license__ = "Apache 2.0"
__copyright__ = "Copyright 2021 Naveen M K"
| """
__version__.py
~~~~~~~~~~~~~~
Metadata of the Module.
"""
__all__ = ['__title__', '__description__', '__url__', '__version__', '__author__', '__license__', '__copyright__']
__title__ = 'sxcu'
__description__ = 'Python API wraper for sxcu.net'
__url__ = 'https://sxcu.syrusdark.website'
__version__ = '2.0.0'
__author__ = 'Naveen M K'
__license__ = 'Apache 2.0'
__copyright__ = 'Copyright 2021 Naveen M K' |
def asTemplate(f):
def wrapped(*args, **props):
def execute():
return f(*args, **props)
return execute
return wrapped
def renderProps(**props):
result = [f' {key}="{value}"' if isinstance(value, str) else f' {key}={str(value)}' for key, value in props.items()]
return ''.join(result)
def renderChildren(children):
result = []
for child in children:
if callable(child):
result.extend(child())
else:
result.append(child)
return result
@asTemplate
def Children(*children):
return renderChildren(children)
def createTag(tagName):
def propertiesDefinition(**props):
cache1 = f'<{tagName}{renderProps(**props)}>'
cache2 = f'</{tagName}>'
@asTemplate
def body(*children):
renderedChildren = renderChildren(children)
return [cache1, *renderedChildren, cache2]
return body
return propertiesDefinition
| def as_template(f):
def wrapped(*args, **props):
def execute():
return f(*args, **props)
return execute
return wrapped
def render_props(**props):
result = [f' {key}="{value}"' if isinstance(value, str) else f' {key}={str(value)}' for (key, value) in props.items()]
return ''.join(result)
def render_children(children):
result = []
for child in children:
if callable(child):
result.extend(child())
else:
result.append(child)
return result
@asTemplate
def children(*children):
return render_children(children)
def create_tag(tagName):
def properties_definition(**props):
cache1 = f'<{tagName}{render_props(**props)}>'
cache2 = f'</{tagName}>'
@asTemplate
def body(*children):
rendered_children = render_children(children)
return [cache1, *renderedChildren, cache2]
return body
return propertiesDefinition |
def render_template(gadget):
RN = "\r\n"
p = Payload()
p.header = "__METHOD__ __ENDPOINT__?cb=__RANDOM__ HTTP/__HTTP_VERSION__" + RN
p.header += gadget + RN
p.header += "Host: __HOST__" + RN
p.header += "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36" + RN
p.header += "Content-type: application/x-www-form-urlencoded" + RN
p.header += "Content-Length: __REPLACE_CL__" + RN
# p.header += gadget + RN
# print(p.header)
return p
def permutation():
result=[]
positions=["g","T","ch",":","c","ed"]
list=["\r\n","\r","\n","\t",""]
templates=["%cTransfer-Encoding: chunked","Transfer-Encoding%c: chunked","Transfer-Encoding:%c chunked","Transfer-Encoding: %cchunked","Transfer-Encoding: chunked%c",
# "%cTransfer-Encoding%c: chunked","%cTransfer-Encoding:%c chunked","%cTransfer-Encoding: %cchunked","%cTransfer-Encoding: chunked%c",
"Transfer-Encoding%c:%c chunked","Transfer-Encoding%c: %cchunked","Transfer-Encoding%c: chunked%c",
# "Transfer-Encoding:%c %cchunked","Transfer-Encoding:%c chunked%c",
"Transfer-Encoding: %cchunked%c",
# "%cTransfer-Encoding%c:%c chunked",
# "%cTransfer-Encoding%c: %cchunked",
# "%cTransfer-Encoding%c: chunked%c",
# "%cTransfer-Encoding:%c %cchunked",
# "%cTransfer-Encoding:%c chunked%c",
# "%cTransfer-Encoding: %cchunked%c",
# "Transfer-Encoding%c:%c %cchunked",
# "Transfer-Encoding%c:%c chunked%c",
"Transfer-Encoding%c: %cchunked%c",
# "Transfer-Encoding:%c %cchunked%c",
# "%cTransfer-Encoding%c:%c %cchunked","Transfer-Encoding%c:%c %cchunked%c","%cTransfer-Encoding:%c %cchunked%c","%cTransfer-Encoding%c: %cchunked%c","%cTransfer-Encoding%c:%c chunked%c",
# "%cTransfer-Encoding%c:%c %cchunked%c"
]
for element in list:
for position in positions:
# for i in range(0x1,0xff):
for template in templates:
if position in ["T","ch",":"]:
result.append(template.replace(position,element+position))
# mutation["position-%c-list-%02x-i-%02x"%position,element,i]=render_template(template.replace(position,element+position))
if position in ["g","ed",":"]:
# if position == "d"
result.append(template.replace(position,position+element))
return result
# mutation["position-%c-list-%02x-i-%02x"%position,element,i]=render_template(template.replace(position,position+element))
#permutation(render_template)
mutations["vanilla"] = render_template("Transfer-Encoding: chunked")
mutations["chunkedchunked"] = render_template("Transfer-Encoding chunked : chunked")
mutations["spjunk"] = render_template("Transfer-Encoding x: chunked")
mutations["connection"] = render_template("Connection: Transfer-Encoding\r\nTransfer-Encoding: chunked")
mutations["nameprefix1"] = render_template(" Transfer-Encoding: chunked")
mutations["tabprefix1"] = render_template("Transfer-Encoding:\tchunked")
mutations["tabprefix2"] = render_template("Transfer-Encoding\t:\tchunked")
mutations["spacejoin1"] = render_template("Transfer Encoding: chunked")
mutations["underjoin1"] = render_template("Transfer_Encoding: chunked")
mutations["smashed"] = render_template("Transfer Encoding:chunked")
mutations["space1"] = render_template("Transfer-Encoding : chunked")
#mutations["valueprefix1"] = render_template("Transfer-Encoding: chunked") already checked
mutations["vertprefix1"] = render_template("Transfer-Encoding:\u000Bchunked")
mutations["commaCow"] = render_template("Transfer-Encoding: chunked, cow")
mutations["cowComma"] = render_template("Transfer-Encoding: cow, chunked")
mutations["contentEnc"] = render_template("Content-Encoding: chunked")
mutations["linewrapped1"] = render_template("Transfer-Encoding:\n chunked")
mutations["quoted"] = render_template("Transfer-Encoding: \"chunked\"")
mutations["aposed"] = render_template("Transfer-Encoding: 'chunked'")
mutations["lazygrep"] = render_template("Transfer-Encoding: chunk")
mutations["sarcasm"] = render_template("TrAnSFer-EnCODinG: cHuNkeD")
mutations["yelling"] = render_template("TRANSFER-ENCODING: CHUNKED")
mutations["0dsuffix"] = render_template("Transfer-Encoding: chunked\r")
mutations["tabsuffix"] = render_template("Transfer-Encoding: chunked\t")
mutations["revdualchunk"] = render_template("Transfer-Encoding: cow\r\nTransfer-Encoding: chunked")
mutations["identity"] = render_template("Transfer-Encoding: identity\r\nTransfer-Encoding: chunked")
mutations["0dspam"] = render_template("Transfer\r-Encoding: chunked")
mutations["nested"] = render_template("Transfer-Encoding: cow chunked bar")
mutations["spaceFF"] = render_template("Transfer-Encoding:\xFFchunked")
mutations["accentCH"] = render_template("Transfer-Encoding: ch\x96nked")
mutations["accentTE"] = render_template("Transf\x82r-Encoding: chunked")
mutations["x-rout"] = render_template("X:X\rTransfer-Encoding: chunked")
mutations["x-nout"] = render_template("X:X\nTransfer-Encoding: chunked")
result=permutation()
#print(result)
for i in [0x1,0x4,0x8,0x9,0xa,0xb,0xc,0xd,0x1F,0x20,0x7f,0xA0,0xFF]:
for each in result:
mutations[each.replace("\n","0a").replace("\r","0d").replace("\t","09").replace("%c","%02x"%i).replace(" ","20")] = render_template(each.replace("%c","%c"%i))
| def render_template(gadget):
rn = '\r\n'
p = payload()
p.header = '__METHOD__ __ENDPOINT__?cb=__RANDOM__ HTTP/__HTTP_VERSION__' + RN
p.header += gadget + RN
p.header += 'Host: __HOST__' + RN
p.header += 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36' + RN
p.header += 'Content-type: application/x-www-form-urlencoded' + RN
p.header += 'Content-Length: __REPLACE_CL__' + RN
return p
def permutation():
result = []
positions = ['g', 'T', 'ch', ':', 'c', 'ed']
list = ['\r\n', '\r', '\n', '\t', '']
templates = ['%cTransfer-Encoding: chunked', 'Transfer-Encoding%c: chunked', 'Transfer-Encoding:%c chunked', 'Transfer-Encoding: %cchunked', 'Transfer-Encoding: chunked%c', 'Transfer-Encoding%c:%c chunked', 'Transfer-Encoding%c: %cchunked', 'Transfer-Encoding%c: chunked%c', 'Transfer-Encoding: %cchunked%c', 'Transfer-Encoding%c: %cchunked%c']
for element in list:
for position in positions:
for template in templates:
if position in ['T', 'ch', ':']:
result.append(template.replace(position, element + position))
if position in ['g', 'ed', ':']:
result.append(template.replace(position, position + element))
return result
mutations['vanilla'] = render_template('Transfer-Encoding: chunked')
mutations['chunkedchunked'] = render_template('Transfer-Encoding chunked : chunked')
mutations['spjunk'] = render_template('Transfer-Encoding x: chunked')
mutations['connection'] = render_template('Connection: Transfer-Encoding\r\nTransfer-Encoding: chunked')
mutations['nameprefix1'] = render_template(' Transfer-Encoding: chunked')
mutations['tabprefix1'] = render_template('Transfer-Encoding:\tchunked')
mutations['tabprefix2'] = render_template('Transfer-Encoding\t:\tchunked')
mutations['spacejoin1'] = render_template('Transfer Encoding: chunked')
mutations['underjoin1'] = render_template('Transfer_Encoding: chunked')
mutations['smashed'] = render_template('Transfer Encoding:chunked')
mutations['space1'] = render_template('Transfer-Encoding : chunked')
mutations['vertprefix1'] = render_template('Transfer-Encoding:\x0bchunked')
mutations['commaCow'] = render_template('Transfer-Encoding: chunked, cow')
mutations['cowComma'] = render_template('Transfer-Encoding: cow, chunked')
mutations['contentEnc'] = render_template('Content-Encoding: chunked')
mutations['linewrapped1'] = render_template('Transfer-Encoding:\n chunked')
mutations['quoted'] = render_template('Transfer-Encoding: "chunked"')
mutations['aposed'] = render_template("Transfer-Encoding: 'chunked'")
mutations['lazygrep'] = render_template('Transfer-Encoding: chunk')
mutations['sarcasm'] = render_template('TrAnSFer-EnCODinG: cHuNkeD')
mutations['yelling'] = render_template('TRANSFER-ENCODING: CHUNKED')
mutations['0dsuffix'] = render_template('Transfer-Encoding: chunked\r')
mutations['tabsuffix'] = render_template('Transfer-Encoding: chunked\t')
mutations['revdualchunk'] = render_template('Transfer-Encoding: cow\r\nTransfer-Encoding: chunked')
mutations['identity'] = render_template('Transfer-Encoding: identity\r\nTransfer-Encoding: chunked')
mutations['0dspam'] = render_template('Transfer\r-Encoding: chunked')
mutations['nested'] = render_template('Transfer-Encoding: cow chunked bar')
mutations['spaceFF'] = render_template('Transfer-Encoding:ÿchunked')
mutations['accentCH'] = render_template('Transfer-Encoding: ch\x96nked')
mutations['accentTE'] = render_template('Transf\x82r-Encoding: chunked')
mutations['x-rout'] = render_template('X:X\rTransfer-Encoding: chunked')
mutations['x-nout'] = render_template('X:X\nTransfer-Encoding: chunked')
result = permutation()
for i in [1, 4, 8, 9, 10, 11, 12, 13, 31, 32, 127, 160, 255]:
for each in result:
mutations[each.replace('\n', '0a').replace('\r', '0d').replace('\t', '09').replace('%c', '%02x' % i).replace(' ', '20')] = render_template(each.replace('%c', '%c' % i)) |
class VmCustomParamsExtractor(object):
def get_custom_param_value(self, custom_params, name):
"""Returns the value of the requested custom param
:param custom_params: list[DeployDataHolder] array of VMCustomParams from the deployed app json
:param name: (str) the name of the custom param to extract
:return: the value of the custom param or None if custom param not found
"""
name = name.lower()
params = filter(lambda x: x.name.lower() == name, custom_params)
if len(params) == 1:
return params[0].value
return None
| class Vmcustomparamsextractor(object):
def get_custom_param_value(self, custom_params, name):
"""Returns the value of the requested custom param
:param custom_params: list[DeployDataHolder] array of VMCustomParams from the deployed app json
:param name: (str) the name of the custom param to extract
:return: the value of the custom param or None if custom param not found
"""
name = name.lower()
params = filter(lambda x: x.name.lower() == name, custom_params)
if len(params) == 1:
return params[0].value
return None |
# Count inversions in a sequence of numbers
def count_inversion(sequence):
if (len(sequence) < 1 or len(sequence) > 199):
return "Error1"
for element in sequence:
if (element < -99 or element > 199):
return "Error2"
sequencel = list(sequence);
count = 0;
fake = 0;
for i in reversed(range(len(sequencel))):
for j in reversed(range(len(sequencel))):
if j > i:
fake += 1;
elif sequence[j] > sequence[i]:
count += 1;
return count;
if __name__ == '__main__':
#These "asserts" using only for self-checking and not necessary for auto-testing
assert count_inversion((1, 2, 5, 3, 4, 7, 6)) == 3, "Example"
assert count_inversion((0, 1, 2, 3)) == 0, "Sorted"
assert count_inversion((99, -99)) == 1, "Two numbers"
assert count_inversion((5, 3, 2, 1, 0)) == 10, "Reversed"
| def count_inversion(sequence):
if len(sequence) < 1 or len(sequence) > 199:
return 'Error1'
for element in sequence:
if element < -99 or element > 199:
return 'Error2'
sequencel = list(sequence)
count = 0
fake = 0
for i in reversed(range(len(sequencel))):
for j in reversed(range(len(sequencel))):
if j > i:
fake += 1
elif sequence[j] > sequence[i]:
count += 1
return count
if __name__ == '__main__':
assert count_inversion((1, 2, 5, 3, 4, 7, 6)) == 3, 'Example'
assert count_inversion((0, 1, 2, 3)) == 0, 'Sorted'
assert count_inversion((99, -99)) == 1, 'Two numbers'
assert count_inversion((5, 3, 2, 1, 0)) == 10, 'Reversed' |
def grade(a):
if a >= 90:
print("A")
else:
if a >= 85:
print("B+")
else:
if a >= 80:
print("B")
else:
if a >= 75:
print("C+")
else:
if a >= 70:
print("C")
else:
if a >= 65:
print("D+")
else:
if a >= 60:
print("D")
else:
print("F")
a = "Error : Value must be less than or equal to 100."
b = "Error : Value must be greater than or equal to 0."
n = int(input())
if n >100:
print(a)
else:
if n < 0:
print(b)
else:
grade(n)
| def grade(a):
if a >= 90:
print('A')
elif a >= 85:
print('B+')
elif a >= 80:
print('B')
elif a >= 75:
print('C+')
elif a >= 70:
print('C')
elif a >= 65:
print('D+')
elif a >= 60:
print('D')
else:
print('F')
a = 'Error : Value must be less than or equal to 100.'
b = 'Error : Value must be greater than or equal to 0.'
n = int(input())
if n > 100:
print(a)
elif n < 0:
print(b)
else:
grade(n) |
class DDH2Exception(Exception):
def __init__(self, response):
self.status_code = response.status_code
self.text = response.text
def __repr__(self):
return 'DDH2Exception [{}]: {}'.format(self.status_code, self.text)
def __str__(self):
return self.text | class Ddh2Exception(Exception):
def __init__(self, response):
self.status_code = response.status_code
self.text = response.text
def __repr__(self):
return 'DDH2Exception [{}]: {}'.format(self.status_code, self.text)
def __str__(self):
return self.text |
class Queue:
def __init__(self):
self.array = []
self.length = 0
# adding the data to the end of the array
def enqueue(self, data):
self.array.append(data)
self.length += 1
return
# popping the data to the start of the array
def dequeue(self):
poped = self.array[0]
self.array.pop(0)
self.length -= 1
return poped
def reverse(self):
left = 0;
right = self.length - 1;
while left < right:
self.array[left], self.array[right] = self.array[right], self.array[left]
left += 1
right -= 1
return self
def reverseTillKElement(self, k):
if k > self.length:
print('index out of bound')
return
left = 0;
right = k - 1;
while left < right:
self.array[left], self.array[right] = self.array[right], self.array[left]
left += 1
right -= 1
return self
# array traverse
def lookup(self):
for val in self.array:
print(' <-', val, end="")
def peek(self):
return self.array[0]
myQueue = Queue()
print('\nLength of array is ->', myQueue.length)
myQueue.enqueue(1)
myQueue.enqueue(2)
myQueue.enqueue(3)
myQueue.enqueue(4)
myQueue.lookup()
print('\n After reverse')
# myQueue.reverse()
myQueue.reverseTillKElement(3)
myQueue.lookup()
# print('\nLength of array is ->', myQueue.length)
# print('\nFirst in array is ->', myQueue.peek())
# print('\ndequeue value is ->', myQueue.dequeue())
# myQueue.lookup()
# print('\nLength of array is ->', myQueue.length)
# print('\nFirst in array is ->', myQueue.peek())
print('\n')
| class Queue:
def __init__(self):
self.array = []
self.length = 0
def enqueue(self, data):
self.array.append(data)
self.length += 1
return
def dequeue(self):
poped = self.array[0]
self.array.pop(0)
self.length -= 1
return poped
def reverse(self):
left = 0
right = self.length - 1
while left < right:
(self.array[left], self.array[right]) = (self.array[right], self.array[left])
left += 1
right -= 1
return self
def reverse_till_k_element(self, k):
if k > self.length:
print('index out of bound')
return
left = 0
right = k - 1
while left < right:
(self.array[left], self.array[right]) = (self.array[right], self.array[left])
left += 1
right -= 1
return self
def lookup(self):
for val in self.array:
print(' <-', val, end='')
def peek(self):
return self.array[0]
my_queue = queue()
print('\nLength of array is ->', myQueue.length)
myQueue.enqueue(1)
myQueue.enqueue(2)
myQueue.enqueue(3)
myQueue.enqueue(4)
myQueue.lookup()
print('\n After reverse')
myQueue.reverseTillKElement(3)
myQueue.lookup()
print('\n') |
"""
Module containing exceptions raised by the warden application
"""
class ActionNotAllowed(Exception):
pass
| """
Module containing exceptions raised by the warden application
"""
class Actionnotallowed(Exception):
pass |
def minimax(arr):
arr.sort()
max = 0
min = 0
for i in range(len(arr)):
if i!=0:
max += arr[i]
if i!=4:
min += arr[i]
print(min,max)
if __name__=="__main__":
arr = list(map(int, input().rstrip().split()))
minimax(arr)
| def minimax(arr):
arr.sort()
max = 0
min = 0
for i in range(len(arr)):
if i != 0:
max += arr[i]
if i != 4:
min += arr[i]
print(min, max)
if __name__ == '__main__':
arr = list(map(int, input().rstrip().split()))
minimax(arr) |
# You need to print the value from 0 to 100
# whenever the number divisible by 3, then it should print as "fuzz"
# If the number is divisible 5, it should display as "buzz
# If the number id divided by 15, the result should be "fuzz_buzz"
# Simple method
for i in range(101):
if i % 15 == 0:
print("fuzz_buzz")
elif i % 5 == 0:
print("buzz")
elif i % 3 == 0:
print("fizz")
else:
print(i)
# for comprehension method
answer = ("fizz_buzz" if i % 15 == 0 else "buzz" if i % 5 == 0 else "fizz"
if i % 3 == 0 else i for i in range (101)) | for i in range(101):
if i % 15 == 0:
print('fuzz_buzz')
elif i % 5 == 0:
print('buzz')
elif i % 3 == 0:
print('fizz')
else:
print(i)
answer = ('fizz_buzz' if i % 15 == 0 else 'buzz' if i % 5 == 0 else 'fizz' if i % 3 == 0 else i for i in range(101)) |
#==============================================================================
#
# Copyright (c) 2019 Smells Like Donkey Software Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
#==============================================================================
def decode_bid (bid):
suit = bid[-1:]
if suit in ('C','H','D','S','N'):
bid = bid[:-1]
else:
suit = None
return bid, suit
def decode_card (card):
if card[0] == "3":
return 3, card[1]
if card[0] == "5":
return 5, card[1]
if card[0] == "7":
return 7, card[1]
if card[0] == "8":
return 8, card[1]
if card[0] == "9":
return 9, card[1]
if card[0] == "T":
return 10, card[1]
if card[0] == "J":
return 11, card[1]
if card[0] == "Q":
return 12, card[1]
if card[0] == "K":
return 13, card[1]
if card[0] == "A":
return 14, card[1]
return 0, ""
def get_better_bid (a,b):
value_a, suit_a = decode_bid(a)
value_b, suit_b = decode_bid(b)
# Convert "pass" to a value of 0
if value_a == "pass":
value_a = 0
if value_b == "pass":
value_b = 0
no_a = 0
if suit_a == 'N':
no_a = 1
no_b = 0
if suit_b == 'N':
no_b = 1
if int(value_a)*2+no_a > int(value_b)*2+no_b:
return a
else:
return b
def get_winner (first_suit, trump_suit, played_cards):
winner = 0
winner_score = 0
had_5 = False
had_3 = False
for i in range(0, 4):
i_score, i_suit = decode_card(played_cards[i])
if i_score == 3:
had_3 = True
if i_score == 5:
had_5 = True
if trump_suit == i_suit:
i_score += 200
elif first_suit == i_suit:
i_score += 100
if i_score > winner_score:
winner = i
winner_score = i_score
return winner | def decode_bid(bid):
suit = bid[-1:]
if suit in ('C', 'H', 'D', 'S', 'N'):
bid = bid[:-1]
else:
suit = None
return (bid, suit)
def decode_card(card):
if card[0] == '3':
return (3, card[1])
if card[0] == '5':
return (5, card[1])
if card[0] == '7':
return (7, card[1])
if card[0] == '8':
return (8, card[1])
if card[0] == '9':
return (9, card[1])
if card[0] == 'T':
return (10, card[1])
if card[0] == 'J':
return (11, card[1])
if card[0] == 'Q':
return (12, card[1])
if card[0] == 'K':
return (13, card[1])
if card[0] == 'A':
return (14, card[1])
return (0, '')
def get_better_bid(a, b):
(value_a, suit_a) = decode_bid(a)
(value_b, suit_b) = decode_bid(b)
if value_a == 'pass':
value_a = 0
if value_b == 'pass':
value_b = 0
no_a = 0
if suit_a == 'N':
no_a = 1
no_b = 0
if suit_b == 'N':
no_b = 1
if int(value_a) * 2 + no_a > int(value_b) * 2 + no_b:
return a
else:
return b
def get_winner(first_suit, trump_suit, played_cards):
winner = 0
winner_score = 0
had_5 = False
had_3 = False
for i in range(0, 4):
(i_score, i_suit) = decode_card(played_cards[i])
if i_score == 3:
had_3 = True
if i_score == 5:
had_5 = True
if trump_suit == i_suit:
i_score += 200
elif first_suit == i_suit:
i_score += 100
if i_score > winner_score:
winner = i
winner_score = i_score
return winner |
#!/usr/bin/env python3
def getMinimumCost(k, c):
min_cost = 0
temp = 0
previous = 0
if k >= len(c):
return sum(c)
c = sorted(c)
for x in reversed(c):
if temp == k:
temp = 0
previous += 1
min_cost += (previous + 1) * x
temp += 1
return min_cost
print(getMinimumCost(3, [2, 5, 6]))
print(getMinimumCost(2, [2, 5, 6]))
print(getMinimumCost(3, [1, 3, 5, 7, 9]))
| def get_minimum_cost(k, c):
min_cost = 0
temp = 0
previous = 0
if k >= len(c):
return sum(c)
c = sorted(c)
for x in reversed(c):
if temp == k:
temp = 0
previous += 1
min_cost += (previous + 1) * x
temp += 1
return min_cost
print(get_minimum_cost(3, [2, 5, 6]))
print(get_minimum_cost(2, [2, 5, 6]))
print(get_minimum_cost(3, [1, 3, 5, 7, 9])) |
POSTGRES_URL="****"
POSTGRES_USER="****"
POSTGRES_PW="****"
POSTGRES_DB="****"
| postgres_url = '****'
postgres_user = '****'
postgres_pw = '****'
postgres_db = '****' |
#
# PySNMP MIB module ASCEND-MIBATMIF-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ASCEND-MIBATMIF-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:26:28 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)
#
configuration, = mibBuilder.importSymbols("ASCEND-MIB", "configuration")
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
ObjectIdentity, ModuleIdentity, Counter64, MibIdentifier, Unsigned32, TimeTicks, NotificationType, IpAddress, Bits, iso, Integer32, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "ModuleIdentity", "Counter64", "MibIdentifier", "Unsigned32", "TimeTicks", "NotificationType", "IpAddress", "Bits", "iso", "Integer32", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
class DisplayString(OctetString):
pass
mibatmInterfaceProfile = MibIdentifier((1, 3, 6, 1, 4, 1, 529, 23, 40))
mibatmInterfaceProfileTable = MibTable((1, 3, 6, 1, 4, 1, 529, 23, 40, 1), )
if mibBuilder.loadTexts: mibatmInterfaceProfileTable.setStatus('mandatory')
if mibBuilder.loadTexts: mibatmInterfaceProfileTable.setDescription('A list of mibatmInterfaceProfile profile entries.')
mibatmInterfaceProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1), ).setIndexNames((0, "ASCEND-MIBATMIF-MIB", "atmInterfaceProfile-Shelf-o"), (0, "ASCEND-MIBATMIF-MIB", "atmInterfaceProfile-Slot-o"), (0, "ASCEND-MIBATMIF-MIB", "atmInterfaceProfile-Item-o"), (0, "ASCEND-MIBATMIF-MIB", "atmInterfaceProfile-LogicalItem-o"))
if mibBuilder.loadTexts: mibatmInterfaceProfileEntry.setStatus('mandatory')
if mibBuilder.loadTexts: mibatmInterfaceProfileEntry.setDescription('A mibatmInterfaceProfile entry containing objects that maps to the parameters of mibatmInterfaceProfile profile.')
atmInterfaceProfile_Shelf_o = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 1), Integer32()).setLabel("atmInterfaceProfile-Shelf-o").setMaxAccess("readonly")
if mibBuilder.loadTexts: atmInterfaceProfile_Shelf_o.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_Shelf_o.setDescription('')
atmInterfaceProfile_Slot_o = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 2), Integer32()).setLabel("atmInterfaceProfile-Slot-o").setMaxAccess("readonly")
if mibBuilder.loadTexts: atmInterfaceProfile_Slot_o.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_Slot_o.setDescription('')
atmInterfaceProfile_Item_o = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 3), Integer32()).setLabel("atmInterfaceProfile-Item-o").setMaxAccess("readonly")
if mibBuilder.loadTexts: atmInterfaceProfile_Item_o.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_Item_o.setDescription('')
atmInterfaceProfile_LogicalItem_o = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 4), Integer32()).setLabel("atmInterfaceProfile-LogicalItem-o").setMaxAccess("readonly")
if mibBuilder.loadTexts: atmInterfaceProfile_LogicalItem_o.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_LogicalItem_o.setDescription('')
atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Shelf = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("anyShelf", 1), ("shelf1", 2), ("shelf2", 3), ("shelf3", 4), ("shelf4", 5), ("shelf5", 6), ("shelf6", 7), ("shelf7", 8), ("shelf8", 9), ("shelf9", 10)))).setLabel("atmInterfaceProfile-InterfaceAddress-PhysicalAddress-Shelf").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Shelf.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Shelf.setDescription('The number of the shelf that the addressed physical device resides on.')
atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Slot = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 55, 56, 57, 58, 49, 50, 42, 53, 54, 45, 46, 51, 59))).clone(namedValues=NamedValues(("anySlot", 1), ("slot1", 2), ("slot2", 3), ("slot3", 4), ("slot4", 5), ("slot5", 6), ("slot6", 7), ("slot7", 8), ("slot8", 9), ("slot9", 10), ("slot10", 11), ("slot11", 12), ("slot12", 13), ("slot13", 14), ("slot14", 15), ("slot15", 16), ("slot16", 17), ("slot17", 18), ("slot18", 19), ("slot19", 20), ("slot20", 21), ("slot21", 22), ("slot22", 23), ("slot23", 24), ("slot24", 25), ("slot25", 26), ("slot26", 27), ("slot27", 28), ("slot28", 29), ("slot29", 30), ("slot30", 31), ("slot31", 32), ("slot32", 33), ("slot33", 34), ("slot34", 35), ("slot35", 36), ("slot36", 37), ("slot37", 38), ("slot38", 39), ("slot39", 40), ("slot40", 41), ("aLim", 55), ("bLim", 56), ("cLim", 57), ("dLim", 58), ("leftController", 49), ("rightController", 50), ("controller", 42), ("firstControlModule", 53), ("secondControlModule", 54), ("trunkModule1", 45), ("trunkModule2", 46), ("controlModule", 51), ("slotPrimary", 59)))).setLabel("atmInterfaceProfile-InterfaceAddress-PhysicalAddress-Slot").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Slot.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Slot.setDescription('The number of the slot that the addressed physical device resides on.')
atmInterfaceProfile_InterfaceAddress_PhysicalAddress_ItemNumber = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 7), Integer32()).setLabel("atmInterfaceProfile-InterfaceAddress-PhysicalAddress-ItemNumber").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_InterfaceAddress_PhysicalAddress_ItemNumber.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_InterfaceAddress_PhysicalAddress_ItemNumber.setDescription('A number that specifies an addressable entity within the context of shelf and slot.')
atmInterfaceProfile_InterfaceAddress_LogicalItem = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 8), Integer32()).setLabel("atmInterfaceProfile-InterfaceAddress-LogicalItem").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_InterfaceAddress_LogicalItem.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_InterfaceAddress_LogicalItem.setDescription('A number that specifies an addressable logical entity within the context of a physical address.')
atmInterfaceProfile_Name = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 9), DisplayString()).setLabel("atmInterfaceProfile-Name").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_Name.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_Name.setDescription('Name of ATM Interface.')
atmInterfaceProfile_SvcOptions_Enabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("atmInterfaceProfile-SvcOptions-Enabled").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Enabled.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Enabled.setDescription('SVC signalling (Q.93b) is enabled on this link.')
atmInterfaceProfile_SvcOptions_AtmProtocol = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3))).clone(namedValues=NamedValues(("uni30", 2), ("uni31", 3)))).setLabel("atmInterfaceProfile-SvcOptions-AtmProtocol").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmProtocol.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmProtocol.setDescription('ATM protocol on this link.')
atmInterfaceProfile_SvcOptions_AtmAddress_NumberingPlan = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 5, 9))).clone(namedValues=NamedValues(("undefined", 1), ("isdn", 2), ("aesa", 3), ("unknown", 5), ("x121", 9)))).setLabel("atmInterfaceProfile-SvcOptions-AtmAddress-NumberingPlan").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_NumberingPlan.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_NumberingPlan.setDescription('Numbering plan for an SVC address')
atmInterfaceProfile_SvcOptions_AtmAddress_E164NativeAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 13), DisplayString()).setLabel("atmInterfaceProfile-SvcOptions-AtmAddress-E164NativeAddress").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_E164NativeAddress.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_E164NativeAddress.setDescription('An SVC address in a native E.164 format.')
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_Format = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 6, 4, 5))).clone(namedValues=NamedValues(("undefined", 1), ("dccAesa", 2), ("icdAesa", 6), ("e164Aesa", 4), ("customAesa", 5)))).setLabel("atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-Format").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_Format.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_Format.setDescription('An AESA address format used to define this SVC address.')
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Afi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 15), DisplayString()).setLabel("atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-IdpPortion-Afi").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Afi.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Afi.setDescription('An Authority and Format Identifier(AFI) for AESA address. Must be defined for every AESA address.')
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Idi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 16), DisplayString()).setLabel("atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-IdpPortion-Idi").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Idi.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Idi.setDescription('An Initial Domain Identifier (IDI) portion of the AESA address.')
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_HoDsp = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 17), DisplayString()).setLabel("atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-DspPortion-HoDsp").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_HoDsp.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_HoDsp.setDescription('A High-Order Domain-Specific Part of AESA address. The IDP portion determine the format of the HO-DSP.')
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Esi = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 18), DisplayString()).setLabel("atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-DspPortion-Esi").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Esi.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Esi.setDescription('An End System Identifier (ESI) which uniquely identifies the end system within the specified subnetwork.')
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Sel = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 19), DisplayString()).setLabel("atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-DspPortion-Sel").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Sel.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Sel.setDescription('A selector (SEL) field that may be used by the end system.')
atmInterfaceProfile_SvcOptions_InsertCallingPartyAddr = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("atmInterfaceProfile-SvcOptions-InsertCallingPartyAddr").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_InsertCallingPartyAddr.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_InsertCallingPartyAddr.setDescription('Insert ATM address of this interface in calling party address IE during call setup.')
atmInterfaceProfile_SvcOptions_Q93bOptions_MaxRestart = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 21), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-MaxRestart").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_MaxRestart.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_MaxRestart.setDescription('Maximum number of unacknowledged tx RESTART.')
atmInterfaceProfile_SvcOptions_Q93bOptions_MaxStatenq = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 22), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-MaxStatenq").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_MaxStatenq.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_MaxStatenq.setDescription('Maximum number of unacknowledged tx STATUS ENQ.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T301Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 23), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T301Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T301Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T301Ms.setDescription('Timer (in msec) for alerting supervision function. This timer is started on receipt of ALERT in Call received/delivered state and stopped when CONNECT is received.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T303Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 24), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T303Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T303Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T303Ms.setDescription('Timer (in msec) for a response after SETUP is sent. This timer is stopped when the CONNECT, CALL PROCEEDING, or RELEASE COMPLETE is received.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T306Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 25), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T306Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T306Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T306Ms.setDescription('Timer (in msec) for a RELEASE_COMPLETE to be received after a release has been sent.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T308Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 26), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T308Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T308Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T308Ms.setDescription('Timer (in msec) for a response after RELEASE is sent. This is a release indication timer. This timer is started when the RELEASE message is sent and normally is stopped when the RELEASE or RELEASE COMPLETE is received.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T309Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 27), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T309Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T309Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T309Ms.setDescription('Timer (in msec) for Q.SAAL to reconnect. After this time, calls are dropped. When set to 0, a default value based on an ATM signaling protocol will be used.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T310Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 28), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T310Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T310Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T310Ms.setDescription('Timer (in msec) for a response after SETUP is received. Also called the CALL PROCEEDING timer.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T313Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 29), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T313Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T313Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T313Ms.setDescription('Timer (in msec) for a response after CONNECT is sent. Also called the connect request timer. It is started when the CONNECT is sent and stopped when the CONNECT ACKNOWLEDGE is recieved.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T316Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 30), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T316Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T316Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T316Ms.setDescription('Timer (in msec) for a response after RESTART is sent. Also called the restart request timer. It is started when the RESTART is sent and stopped when the RESTART ACKNOWLEDGE is recieved.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T317Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 31), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T317Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T317Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T317Ms.setDescription('Timer (in msec) for internal clearing of call references. This timer is started as a result of a restart and cleared when all the internal call references are cleared. Should be less than the the likely value of T316 of the peer.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T322Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 32), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T322Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T322Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T322Ms.setDescription('Timer (in msec) for a response after STATUS ENQ is sent.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T331Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 33), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T331Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T331Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T331Ms.setDescription('Timer (in msec) for internal clearing of call references.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T333Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 34), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T333Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T333Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T333Ms.setDescription('Timer (in msec) for internal clearing of call references.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T397Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 35), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T397Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T397Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T397Ms.setDescription('Timer (in msec) for internal clearing of call references.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T398Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 36), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T398Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T398Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T398Ms.setDescription('Timer (in msec) for receipt of a response to a DROP PARTY that was sent.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T399Ms = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 37), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T399Ms").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T399Ms.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T399Ms.setDescription('Timer (in msec) for receipt of a response to an ADD PARTY that was sent.')
atmInterfaceProfile_SvcOptions_Q93bOptions_SaalRetryMs = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 38), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-SaalRetryMs").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_SaalRetryMs.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_SaalRetryMs.setDescription('Timer value for retrying AAL_ESTABLISH messages.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T303NumReties = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 39), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T303NumReties").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T303NumReties.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T303NumReties.setDescription('Number of times SETUP could be resent in case of T303 timer expiry.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T308NumRetries = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 40), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T308NumRetries").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T308NumRetries.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T308NumRetries.setDescription('Number of times RELEASE could be sent in case of T308 timer expiry.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T316NumRetries = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 41), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T316NumRetries").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T316NumRetries.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T316NumRetries.setDescription('Number of times RESTART could be sent in case RESTART ACK is not received withinn T316 timer expiry.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T322NumRetries = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 42), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T322NumRetries").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T322NumRetries.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T322NumRetries.setDescription('Number of times STAT ENQ could be sent before a response is received within the T322 timer expiry.')
atmInterfaceProfile_SvcOptions_Q93bOptions_T331NumRetries = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 43), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-T331NumRetries").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T331NumRetries.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_T331NumRetries.setDescription('')
atmInterfaceProfile_SvcOptions_Q93bOptions_AssignVpiVci = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 44), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("atmInterfaceProfile-SvcOptions-Q93bOptions-AssignVpiVci").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_AssignVpiVci.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_Q93bOptions_AssignVpiVci.setDescription('In the case of UNI4.0 and PNNI this parameter specifies who assigns the VPI/VCI. TRUE will allow the local stack and FALSE will let the partner stack to assign.')
atmInterfaceProfile_SvcOptions_QsaalOptions_WindowSize = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 45), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-WindowSize").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_WindowSize.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_WindowSize.setDescription('Q.SAAL window size')
atmInterfaceProfile_SvcOptions_QsaalOptions_MaxCc = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 46), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-MaxCc").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_MaxCc.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_MaxCc.setDescription('Maximum number of control PDU (BGN, END, RESYNC) retransmissions.')
atmInterfaceProfile_SvcOptions_QsaalOptions_MaxPd = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 47), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-MaxPd").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_MaxPd.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_MaxPd.setDescription("Maximum number of Sequenced data PDU's between poll.")
atmInterfaceProfile_SvcOptions_QsaalOptions_MaxStat = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 48), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-MaxStat").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_MaxStat.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_MaxStat.setDescription('Maximum length of STAT PDU.')
atmInterfaceProfile_SvcOptions_QsaalOptions_TccMs = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 49), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-TccMs").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_TccMs.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_TccMs.setDescription("Retry time (in msec) for control PDU's(BGN, END, RESYNC).")
atmInterfaceProfile_SvcOptions_QsaalOptions_TpollMs = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 50), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-TpollMs").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_TpollMs.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_TpollMs.setDescription('Poll sent (in msec) when active. When set to 0, a default value based on an ATM signaling protocol will be used.')
atmInterfaceProfile_SvcOptions_QsaalOptions_TkeepaliveMs = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 51), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-TkeepaliveMs").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_TkeepaliveMs.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_TkeepaliveMs.setDescription('Poll sent (in msec) when in transient state. When set to 0, a default value based on an ATM signaling protocol will be used.')
atmInterfaceProfile_SvcOptions_QsaalOptions_TnoresponseMs = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 52), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-TnoresponseMs").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_TnoresponseMs.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_TnoresponseMs.setDescription('STAT received at least this period(in msec). When set to 0, a default value based on an ATM signaling protocol will be used.')
atmInterfaceProfile_SvcOptions_QsaalOptions_TidleMs = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 53), Integer32()).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-TidleMs").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_TidleMs.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_TidleMs.setDescription('Poll sent (in msec) when idle -- UNI 3.1, only.')
atmInterfaceProfile_SvcOptions_QsaalOptions_PollAfterRetransmission = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 54), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-PollAfterRetransmission").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_PollAfterRetransmission.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_PollAfterRetransmission.setDescription('Specifies after retransmitting PDUs whether a POLL must be sent before sending any further PDUs.')
atmInterfaceProfile_SvcOptions_QsaalOptions_RepeatUstat = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 55), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-RepeatUstat").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_RepeatUstat.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_RepeatUstat.setDescription('Specifies whether two USTAT messages should be sent each time it is required to be sent.')
atmInterfaceProfile_SvcOptions_QsaalOptions_UstatRspToPoll = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 56), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("atmInterfaceProfile-SvcOptions-QsaalOptions-UstatRspToPoll").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_UstatRspToPoll.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_SvcOptions_QsaalOptions_UstatRspToPoll.setDescription('Specifies whether a USTAT should be sent in response to a POLL indicating an out of sequence PDU.')
atmInterfaceProfile_Action_o = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 57), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noAction", 1), ("createProfile", 2), ("deleteProfile", 3)))).setLabel("atmInterfaceProfile-Action-o").setMaxAccess("readwrite")
if mibBuilder.loadTexts: atmInterfaceProfile_Action_o.setStatus('mandatory')
if mibBuilder.loadTexts: atmInterfaceProfile_Action_o.setDescription('')
mibBuilder.exportSymbols("ASCEND-MIBATMIF-MIB", atmInterfaceProfile_SvcOptions_Q93bOptions_T397Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T397Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T303Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T303Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T309Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T309Ms, atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Slot=atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Slot, atmInterfaceProfile_InterfaceAddress_LogicalItem=atmInterfaceProfile_InterfaceAddress_LogicalItem, atmInterfaceProfile_SvcOptions_Q93bOptions_T317Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T317Ms, atmInterfaceProfile_SvcOptions_InsertCallingPartyAddr=atmInterfaceProfile_SvcOptions_InsertCallingPartyAddr, atmInterfaceProfile_SvcOptions_QsaalOptions_UstatRspToPoll=atmInterfaceProfile_SvcOptions_QsaalOptions_UstatRspToPoll, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_Format=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_Format, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Afi=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Afi, atmInterfaceProfile_SvcOptions_Q93bOptions_T398Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T398Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T331NumRetries=atmInterfaceProfile_SvcOptions_Q93bOptions_T331NumRetries, atmInterfaceProfile_SvcOptions_QsaalOptions_TkeepaliveMs=atmInterfaceProfile_SvcOptions_QsaalOptions_TkeepaliveMs, atmInterfaceProfile_SvcOptions_AtmProtocol=atmInterfaceProfile_SvcOptions_AtmProtocol, atmInterfaceProfile_SvcOptions_Q93bOptions_T316Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T316Ms, atmInterfaceProfile_Name=atmInterfaceProfile_Name, atmInterfaceProfile_SvcOptions_Q93bOptions_T310Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T310Ms, atmInterfaceProfile_Item_o=atmInterfaceProfile_Item_o, atmInterfaceProfile_Shelf_o=atmInterfaceProfile_Shelf_o, atmInterfaceProfile_LogicalItem_o=atmInterfaceProfile_LogicalItem_o, mibatmInterfaceProfileEntry=mibatmInterfaceProfileEntry, atmInterfaceProfile_SvcOptions_Q93bOptions_T322NumRetries=atmInterfaceProfile_SvcOptions_Q93bOptions_T322NumRetries, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Esi=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Esi, mibatmInterfaceProfileTable=mibatmInterfaceProfileTable, mibatmInterfaceProfile=mibatmInterfaceProfile, atmInterfaceProfile_SvcOptions_QsaalOptions_MaxCc=atmInterfaceProfile_SvcOptions_QsaalOptions_MaxCc, atmInterfaceProfile_SvcOptions_QsaalOptions_RepeatUstat=atmInterfaceProfile_SvcOptions_QsaalOptions_RepeatUstat, atmInterfaceProfile_SvcOptions_Q93bOptions_T308Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T308Ms, atmInterfaceProfile_SvcOptions_QsaalOptions_MaxPd=atmInterfaceProfile_SvcOptions_QsaalOptions_MaxPd, atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Shelf=atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Shelf, atmInterfaceProfile_SvcOptions_QsaalOptions_PollAfterRetransmission=atmInterfaceProfile_SvcOptions_QsaalOptions_PollAfterRetransmission, atmInterfaceProfile_SvcOptions_Q93bOptions_T306Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T306Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T333Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T333Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T399Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T399Ms, atmInterfaceProfile_SvcOptions_QsaalOptions_TidleMs=atmInterfaceProfile_SvcOptions_QsaalOptions_TidleMs, atmInterfaceProfile_SvcOptions_QsaalOptions_TccMs=atmInterfaceProfile_SvcOptions_QsaalOptions_TccMs, atmInterfaceProfile_SvcOptions_QsaalOptions_TnoresponseMs=atmInterfaceProfile_SvcOptions_QsaalOptions_TnoresponseMs, DisplayString=DisplayString, atmInterfaceProfile_SvcOptions_QsaalOptions_TpollMs=atmInterfaceProfile_SvcOptions_QsaalOptions_TpollMs, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Sel=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Sel, atmInterfaceProfile_SvcOptions_QsaalOptions_WindowSize=atmInterfaceProfile_SvcOptions_QsaalOptions_WindowSize, atmInterfaceProfile_Action_o=atmInterfaceProfile_Action_o, atmInterfaceProfile_SvcOptions_Q93bOptions_AssignVpiVci=atmInterfaceProfile_SvcOptions_Q93bOptions_AssignVpiVci, atmInterfaceProfile_SvcOptions_Q93bOptions_MaxRestart=atmInterfaceProfile_SvcOptions_Q93bOptions_MaxRestart, atmInterfaceProfile_SvcOptions_Q93bOptions_MaxStatenq=atmInterfaceProfile_SvcOptions_Q93bOptions_MaxStatenq, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Idi=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Idi, atmInterfaceProfile_SvcOptions_Q93bOptions_T301Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T301Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T303NumReties=atmInterfaceProfile_SvcOptions_Q93bOptions_T303NumReties, atmInterfaceProfile_Slot_o=atmInterfaceProfile_Slot_o, atmInterfaceProfile_InterfaceAddress_PhysicalAddress_ItemNumber=atmInterfaceProfile_InterfaceAddress_PhysicalAddress_ItemNumber, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_HoDsp=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_HoDsp, atmInterfaceProfile_SvcOptions_Q93bOptions_T322Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T322Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T316NumRetries=atmInterfaceProfile_SvcOptions_Q93bOptions_T316NumRetries, atmInterfaceProfile_SvcOptions_Q93bOptions_T313Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T313Ms, atmInterfaceProfile_SvcOptions_AtmAddress_E164NativeAddress=atmInterfaceProfile_SvcOptions_AtmAddress_E164NativeAddress, atmInterfaceProfile_SvcOptions_Enabled=atmInterfaceProfile_SvcOptions_Enabled, atmInterfaceProfile_SvcOptions_Q93bOptions_T308NumRetries=atmInterfaceProfile_SvcOptions_Q93bOptions_T308NumRetries, atmInterfaceProfile_SvcOptions_AtmAddress_NumberingPlan=atmInterfaceProfile_SvcOptions_AtmAddress_NumberingPlan, atmInterfaceProfile_SvcOptions_QsaalOptions_MaxStat=atmInterfaceProfile_SvcOptions_QsaalOptions_MaxStat, atmInterfaceProfile_SvcOptions_Q93bOptions_SaalRetryMs=atmInterfaceProfile_SvcOptions_Q93bOptions_SaalRetryMs, atmInterfaceProfile_SvcOptions_Q93bOptions_T331Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T331Ms)
| (configuration,) = mibBuilder.importSymbols('ASCEND-MIB', 'configuration')
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, constraints_intersection, single_value_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(object_identity, module_identity, counter64, mib_identifier, unsigned32, time_ticks, notification_type, ip_address, bits, iso, integer32, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'ModuleIdentity', 'Counter64', 'MibIdentifier', 'Unsigned32', 'TimeTicks', 'NotificationType', 'IpAddress', 'Bits', 'iso', 'Integer32', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
class Displaystring(OctetString):
pass
mibatm_interface_profile = mib_identifier((1, 3, 6, 1, 4, 1, 529, 23, 40))
mibatm_interface_profile_table = mib_table((1, 3, 6, 1, 4, 1, 529, 23, 40, 1))
if mibBuilder.loadTexts:
mibatmInterfaceProfileTable.setStatus('mandatory')
if mibBuilder.loadTexts:
mibatmInterfaceProfileTable.setDescription('A list of mibatmInterfaceProfile profile entries.')
mibatm_interface_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1)).setIndexNames((0, 'ASCEND-MIBATMIF-MIB', 'atmInterfaceProfile-Shelf-o'), (0, 'ASCEND-MIBATMIF-MIB', 'atmInterfaceProfile-Slot-o'), (0, 'ASCEND-MIBATMIF-MIB', 'atmInterfaceProfile-Item-o'), (0, 'ASCEND-MIBATMIF-MIB', 'atmInterfaceProfile-LogicalItem-o'))
if mibBuilder.loadTexts:
mibatmInterfaceProfileEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
mibatmInterfaceProfileEntry.setDescription('A mibatmInterfaceProfile entry containing objects that maps to the parameters of mibatmInterfaceProfile profile.')
atm_interface_profile__shelf_o = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 1), integer32()).setLabel('atmInterfaceProfile-Shelf-o').setMaxAccess('readonly')
if mibBuilder.loadTexts:
atmInterfaceProfile_Shelf_o.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_Shelf_o.setDescription('')
atm_interface_profile__slot_o = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 2), integer32()).setLabel('atmInterfaceProfile-Slot-o').setMaxAccess('readonly')
if mibBuilder.loadTexts:
atmInterfaceProfile_Slot_o.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_Slot_o.setDescription('')
atm_interface_profile__item_o = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 3), integer32()).setLabel('atmInterfaceProfile-Item-o').setMaxAccess('readonly')
if mibBuilder.loadTexts:
atmInterfaceProfile_Item_o.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_Item_o.setDescription('')
atm_interface_profile__logical_item_o = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 4), integer32()).setLabel('atmInterfaceProfile-LogicalItem-o').setMaxAccess('readonly')
if mibBuilder.loadTexts:
atmInterfaceProfile_LogicalItem_o.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_LogicalItem_o.setDescription('')
atm_interface_profile__interface_address__physical_address__shelf = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=named_values(('anyShelf', 1), ('shelf1', 2), ('shelf2', 3), ('shelf3', 4), ('shelf4', 5), ('shelf5', 6), ('shelf6', 7), ('shelf7', 8), ('shelf8', 9), ('shelf9', 10)))).setLabel('atmInterfaceProfile-InterfaceAddress-PhysicalAddress-Shelf').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Shelf.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Shelf.setDescription('The number of the shelf that the addressed physical device resides on.')
atm_interface_profile__interface_address__physical_address__slot = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 55, 56, 57, 58, 49, 50, 42, 53, 54, 45, 46, 51, 59))).clone(namedValues=named_values(('anySlot', 1), ('slot1', 2), ('slot2', 3), ('slot3', 4), ('slot4', 5), ('slot5', 6), ('slot6', 7), ('slot7', 8), ('slot8', 9), ('slot9', 10), ('slot10', 11), ('slot11', 12), ('slot12', 13), ('slot13', 14), ('slot14', 15), ('slot15', 16), ('slot16', 17), ('slot17', 18), ('slot18', 19), ('slot19', 20), ('slot20', 21), ('slot21', 22), ('slot22', 23), ('slot23', 24), ('slot24', 25), ('slot25', 26), ('slot26', 27), ('slot27', 28), ('slot28', 29), ('slot29', 30), ('slot30', 31), ('slot31', 32), ('slot32', 33), ('slot33', 34), ('slot34', 35), ('slot35', 36), ('slot36', 37), ('slot37', 38), ('slot38', 39), ('slot39', 40), ('slot40', 41), ('aLim', 55), ('bLim', 56), ('cLim', 57), ('dLim', 58), ('leftController', 49), ('rightController', 50), ('controller', 42), ('firstControlModule', 53), ('secondControlModule', 54), ('trunkModule1', 45), ('trunkModule2', 46), ('controlModule', 51), ('slotPrimary', 59)))).setLabel('atmInterfaceProfile-InterfaceAddress-PhysicalAddress-Slot').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Slot.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Slot.setDescription('The number of the slot that the addressed physical device resides on.')
atm_interface_profile__interface_address__physical_address__item_number = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 7), integer32()).setLabel('atmInterfaceProfile-InterfaceAddress-PhysicalAddress-ItemNumber').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_InterfaceAddress_PhysicalAddress_ItemNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_InterfaceAddress_PhysicalAddress_ItemNumber.setDescription('A number that specifies an addressable entity within the context of shelf and slot.')
atm_interface_profile__interface_address__logical_item = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 8), integer32()).setLabel('atmInterfaceProfile-InterfaceAddress-LogicalItem').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_InterfaceAddress_LogicalItem.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_InterfaceAddress_LogicalItem.setDescription('A number that specifies an addressable logical entity within the context of a physical address.')
atm_interface_profile__name = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 9), display_string()).setLabel('atmInterfaceProfile-Name').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_Name.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_Name.setDescription('Name of ATM Interface.')
atm_interface_profile__svc_options__enabled = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setLabel('atmInterfaceProfile-SvcOptions-Enabled').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Enabled.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Enabled.setDescription('SVC signalling (Q.93b) is enabled on this link.')
atm_interface_profile__svc_options__atm_protocol = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(2, 3))).clone(namedValues=named_values(('uni30', 2), ('uni31', 3)))).setLabel('atmInterfaceProfile-SvcOptions-AtmProtocol').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmProtocol.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmProtocol.setDescription('ATM protocol on this link.')
atm_interface_profile__svc_options__atm_address__numbering_plan = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 5, 9))).clone(namedValues=named_values(('undefined', 1), ('isdn', 2), ('aesa', 3), ('unknown', 5), ('x121', 9)))).setLabel('atmInterfaceProfile-SvcOptions-AtmAddress-NumberingPlan').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_NumberingPlan.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_NumberingPlan.setDescription('Numbering plan for an SVC address')
atm_interface_profile__svc_options__atm_address_e164_native_address = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 13), display_string()).setLabel('atmInterfaceProfile-SvcOptions-AtmAddress-E164NativeAddress').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_E164NativeAddress.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_E164NativeAddress.setDescription('An SVC address in a native E.164 format.')
atm_interface_profile__svc_options__atm_address__aesa_address__format = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 6, 4, 5))).clone(namedValues=named_values(('undefined', 1), ('dccAesa', 2), ('icdAesa', 6), ('e164Aesa', 4), ('customAesa', 5)))).setLabel('atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-Format').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_Format.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_Format.setDescription('An AESA address format used to define this SVC address.')
atm_interface_profile__svc_options__atm_address__aesa_address__idp_portion__afi = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 15), display_string()).setLabel('atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-IdpPortion-Afi').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Afi.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Afi.setDescription('An Authority and Format Identifier(AFI) for AESA address. Must be defined for every AESA address.')
atm_interface_profile__svc_options__atm_address__aesa_address__idp_portion__idi = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 16), display_string()).setLabel('atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-IdpPortion-Idi').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Idi.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Idi.setDescription('An Initial Domain Identifier (IDI) portion of the AESA address.')
atm_interface_profile__svc_options__atm_address__aesa_address__dsp_portion__ho_dsp = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 17), display_string()).setLabel('atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-DspPortion-HoDsp').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_HoDsp.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_HoDsp.setDescription('A High-Order Domain-Specific Part of AESA address. The IDP portion determine the format of the HO-DSP.')
atm_interface_profile__svc_options__atm_address__aesa_address__dsp_portion__esi = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 18), display_string()).setLabel('atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-DspPortion-Esi').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Esi.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Esi.setDescription('An End System Identifier (ESI) which uniquely identifies the end system within the specified subnetwork.')
atm_interface_profile__svc_options__atm_address__aesa_address__dsp_portion__sel = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 19), display_string()).setLabel('atmInterfaceProfile-SvcOptions-AtmAddress-AesaAddress-DspPortion-Sel').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Sel.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Sel.setDescription('A selector (SEL) field that may be used by the end system.')
atm_interface_profile__svc_options__insert_calling_party_addr = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setLabel('atmInterfaceProfile-SvcOptions-InsertCallingPartyAddr').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_InsertCallingPartyAddr.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_InsertCallingPartyAddr.setDescription('Insert ATM address of this interface in calling party address IE during call setup.')
atm_interface_profile__svc_options_q93b_options__max_restart = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 21), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-MaxRestart').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_MaxRestart.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_MaxRestart.setDescription('Maximum number of unacknowledged tx RESTART.')
atm_interface_profile__svc_options_q93b_options__max_statenq = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 22), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-MaxStatenq').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_MaxStatenq.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_MaxStatenq.setDescription('Maximum number of unacknowledged tx STATUS ENQ.')
atm_interface_profile__svc_options_q93b_options_t301_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 23), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T301Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T301Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T301Ms.setDescription('Timer (in msec) for alerting supervision function. This timer is started on receipt of ALERT in Call received/delivered state and stopped when CONNECT is received.')
atm_interface_profile__svc_options_q93b_options_t303_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 24), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T303Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T303Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T303Ms.setDescription('Timer (in msec) for a response after SETUP is sent. This timer is stopped when the CONNECT, CALL PROCEEDING, or RELEASE COMPLETE is received.')
atm_interface_profile__svc_options_q93b_options_t306_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 25), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T306Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T306Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T306Ms.setDescription('Timer (in msec) for a RELEASE_COMPLETE to be received after a release has been sent.')
atm_interface_profile__svc_options_q93b_options_t308_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 26), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T308Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T308Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T308Ms.setDescription('Timer (in msec) for a response after RELEASE is sent. This is a release indication timer. This timer is started when the RELEASE message is sent and normally is stopped when the RELEASE or RELEASE COMPLETE is received.')
atm_interface_profile__svc_options_q93b_options_t309_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 27), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T309Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T309Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T309Ms.setDescription('Timer (in msec) for Q.SAAL to reconnect. After this time, calls are dropped. When set to 0, a default value based on an ATM signaling protocol will be used.')
atm_interface_profile__svc_options_q93b_options_t310_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 28), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T310Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T310Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T310Ms.setDescription('Timer (in msec) for a response after SETUP is received. Also called the CALL PROCEEDING timer.')
atm_interface_profile__svc_options_q93b_options_t313_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 29), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T313Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T313Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T313Ms.setDescription('Timer (in msec) for a response after CONNECT is sent. Also called the connect request timer. It is started when the CONNECT is sent and stopped when the CONNECT ACKNOWLEDGE is recieved.')
atm_interface_profile__svc_options_q93b_options_t316_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 30), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T316Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T316Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T316Ms.setDescription('Timer (in msec) for a response after RESTART is sent. Also called the restart request timer. It is started when the RESTART is sent and stopped when the RESTART ACKNOWLEDGE is recieved.')
atm_interface_profile__svc_options_q93b_options_t317_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 31), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T317Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T317Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T317Ms.setDescription('Timer (in msec) for internal clearing of call references. This timer is started as a result of a restart and cleared when all the internal call references are cleared. Should be less than the the likely value of T316 of the peer.')
atm_interface_profile__svc_options_q93b_options_t322_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 32), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T322Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T322Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T322Ms.setDescription('Timer (in msec) for a response after STATUS ENQ is sent.')
atm_interface_profile__svc_options_q93b_options_t331_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 33), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T331Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T331Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T331Ms.setDescription('Timer (in msec) for internal clearing of call references.')
atm_interface_profile__svc_options_q93b_options_t333_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 34), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T333Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T333Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T333Ms.setDescription('Timer (in msec) for internal clearing of call references.')
atm_interface_profile__svc_options_q93b_options_t397_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 35), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T397Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T397Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T397Ms.setDescription('Timer (in msec) for internal clearing of call references.')
atm_interface_profile__svc_options_q93b_options_t398_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 36), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T398Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T398Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T398Ms.setDescription('Timer (in msec) for receipt of a response to a DROP PARTY that was sent.')
atm_interface_profile__svc_options_q93b_options_t399_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 37), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T399Ms').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T399Ms.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T399Ms.setDescription('Timer (in msec) for receipt of a response to an ADD PARTY that was sent.')
atm_interface_profile__svc_options_q93b_options__saal_retry_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 38), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-SaalRetryMs').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_SaalRetryMs.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_SaalRetryMs.setDescription('Timer value for retrying AAL_ESTABLISH messages.')
atm_interface_profile__svc_options_q93b_options_t303_num_reties = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 39), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T303NumReties').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T303NumReties.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T303NumReties.setDescription('Number of times SETUP could be resent in case of T303 timer expiry.')
atm_interface_profile__svc_options_q93b_options_t308_num_retries = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 40), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T308NumRetries').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T308NumRetries.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T308NumRetries.setDescription('Number of times RELEASE could be sent in case of T308 timer expiry.')
atm_interface_profile__svc_options_q93b_options_t316_num_retries = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 41), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T316NumRetries').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T316NumRetries.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T316NumRetries.setDescription('Number of times RESTART could be sent in case RESTART ACK is not received withinn T316 timer expiry.')
atm_interface_profile__svc_options_q93b_options_t322_num_retries = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 42), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T322NumRetries').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T322NumRetries.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T322NumRetries.setDescription('Number of times STAT ENQ could be sent before a response is received within the T322 timer expiry.')
atm_interface_profile__svc_options_q93b_options_t331_num_retries = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 43), integer32()).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-T331NumRetries').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T331NumRetries.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_T331NumRetries.setDescription('')
atm_interface_profile__svc_options_q93b_options__assign_vpi_vci = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 44), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setLabel('atmInterfaceProfile-SvcOptions-Q93bOptions-AssignVpiVci').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_AssignVpiVci.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_Q93bOptions_AssignVpiVci.setDescription('In the case of UNI4.0 and PNNI this parameter specifies who assigns the VPI/VCI. TRUE will allow the local stack and FALSE will let the partner stack to assign.')
atm_interface_profile__svc_options__qsaal_options__window_size = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 45), integer32()).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-WindowSize').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_WindowSize.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_WindowSize.setDescription('Q.SAAL window size')
atm_interface_profile__svc_options__qsaal_options__max_cc = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 46), integer32()).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-MaxCc').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_MaxCc.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_MaxCc.setDescription('Maximum number of control PDU (BGN, END, RESYNC) retransmissions.')
atm_interface_profile__svc_options__qsaal_options__max_pd = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 47), integer32()).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-MaxPd').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_MaxPd.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_MaxPd.setDescription("Maximum number of Sequenced data PDU's between poll.")
atm_interface_profile__svc_options__qsaal_options__max_stat = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 48), integer32()).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-MaxStat').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_MaxStat.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_MaxStat.setDescription('Maximum length of STAT PDU.')
atm_interface_profile__svc_options__qsaal_options__tcc_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 49), integer32()).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-TccMs').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_TccMs.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_TccMs.setDescription("Retry time (in msec) for control PDU's(BGN, END, RESYNC).")
atm_interface_profile__svc_options__qsaal_options__tpoll_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 50), integer32()).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-TpollMs').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_TpollMs.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_TpollMs.setDescription('Poll sent (in msec) when active. When set to 0, a default value based on an ATM signaling protocol will be used.')
atm_interface_profile__svc_options__qsaal_options__tkeepalive_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 51), integer32()).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-TkeepaliveMs').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_TkeepaliveMs.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_TkeepaliveMs.setDescription('Poll sent (in msec) when in transient state. When set to 0, a default value based on an ATM signaling protocol will be used.')
atm_interface_profile__svc_options__qsaal_options__tnoresponse_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 52), integer32()).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-TnoresponseMs').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_TnoresponseMs.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_TnoresponseMs.setDescription('STAT received at least this period(in msec). When set to 0, a default value based on an ATM signaling protocol will be used.')
atm_interface_profile__svc_options__qsaal_options__tidle_ms = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 53), integer32()).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-TidleMs').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_TidleMs.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_TidleMs.setDescription('Poll sent (in msec) when idle -- UNI 3.1, only.')
atm_interface_profile__svc_options__qsaal_options__poll_after_retransmission = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 54), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-PollAfterRetransmission').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_PollAfterRetransmission.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_PollAfterRetransmission.setDescription('Specifies after retransmitting PDUs whether a POLL must be sent before sending any further PDUs.')
atm_interface_profile__svc_options__qsaal_options__repeat_ustat = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 55), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-RepeatUstat').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_RepeatUstat.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_RepeatUstat.setDescription('Specifies whether two USTAT messages should be sent each time it is required to be sent.')
atm_interface_profile__svc_options__qsaal_options__ustat_rsp_to_poll = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 56), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setLabel('atmInterfaceProfile-SvcOptions-QsaalOptions-UstatRspToPoll').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_UstatRspToPoll.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_SvcOptions_QsaalOptions_UstatRspToPoll.setDescription('Specifies whether a USTAT should be sent in response to a POLL indicating an out of sequence PDU.')
atm_interface_profile__action_o = mib_scalar((1, 3, 6, 1, 4, 1, 529, 23, 40, 1, 1, 57), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('noAction', 1), ('createProfile', 2), ('deleteProfile', 3)))).setLabel('atmInterfaceProfile-Action-o').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
atmInterfaceProfile_Action_o.setStatus('mandatory')
if mibBuilder.loadTexts:
atmInterfaceProfile_Action_o.setDescription('')
mibBuilder.exportSymbols('ASCEND-MIBATMIF-MIB', atmInterfaceProfile_SvcOptions_Q93bOptions_T397Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T397Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T303Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T303Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T309Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T309Ms, atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Slot=atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Slot, atmInterfaceProfile_InterfaceAddress_LogicalItem=atmInterfaceProfile_InterfaceAddress_LogicalItem, atmInterfaceProfile_SvcOptions_Q93bOptions_T317Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T317Ms, atmInterfaceProfile_SvcOptions_InsertCallingPartyAddr=atmInterfaceProfile_SvcOptions_InsertCallingPartyAddr, atmInterfaceProfile_SvcOptions_QsaalOptions_UstatRspToPoll=atmInterfaceProfile_SvcOptions_QsaalOptions_UstatRspToPoll, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_Format=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_Format, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Afi=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Afi, atmInterfaceProfile_SvcOptions_Q93bOptions_T398Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T398Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T331NumRetries=atmInterfaceProfile_SvcOptions_Q93bOptions_T331NumRetries, atmInterfaceProfile_SvcOptions_QsaalOptions_TkeepaliveMs=atmInterfaceProfile_SvcOptions_QsaalOptions_TkeepaliveMs, atmInterfaceProfile_SvcOptions_AtmProtocol=atmInterfaceProfile_SvcOptions_AtmProtocol, atmInterfaceProfile_SvcOptions_Q93bOptions_T316Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T316Ms, atmInterfaceProfile_Name=atmInterfaceProfile_Name, atmInterfaceProfile_SvcOptions_Q93bOptions_T310Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T310Ms, atmInterfaceProfile_Item_o=atmInterfaceProfile_Item_o, atmInterfaceProfile_Shelf_o=atmInterfaceProfile_Shelf_o, atmInterfaceProfile_LogicalItem_o=atmInterfaceProfile_LogicalItem_o, mibatmInterfaceProfileEntry=mibatmInterfaceProfileEntry, atmInterfaceProfile_SvcOptions_Q93bOptions_T322NumRetries=atmInterfaceProfile_SvcOptions_Q93bOptions_T322NumRetries, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Esi=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Esi, mibatmInterfaceProfileTable=mibatmInterfaceProfileTable, mibatmInterfaceProfile=mibatmInterfaceProfile, atmInterfaceProfile_SvcOptions_QsaalOptions_MaxCc=atmInterfaceProfile_SvcOptions_QsaalOptions_MaxCc, atmInterfaceProfile_SvcOptions_QsaalOptions_RepeatUstat=atmInterfaceProfile_SvcOptions_QsaalOptions_RepeatUstat, atmInterfaceProfile_SvcOptions_Q93bOptions_T308Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T308Ms, atmInterfaceProfile_SvcOptions_QsaalOptions_MaxPd=atmInterfaceProfile_SvcOptions_QsaalOptions_MaxPd, atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Shelf=atmInterfaceProfile_InterfaceAddress_PhysicalAddress_Shelf, atmInterfaceProfile_SvcOptions_QsaalOptions_PollAfterRetransmission=atmInterfaceProfile_SvcOptions_QsaalOptions_PollAfterRetransmission, atmInterfaceProfile_SvcOptions_Q93bOptions_T306Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T306Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T333Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T333Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T399Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T399Ms, atmInterfaceProfile_SvcOptions_QsaalOptions_TidleMs=atmInterfaceProfile_SvcOptions_QsaalOptions_TidleMs, atmInterfaceProfile_SvcOptions_QsaalOptions_TccMs=atmInterfaceProfile_SvcOptions_QsaalOptions_TccMs, atmInterfaceProfile_SvcOptions_QsaalOptions_TnoresponseMs=atmInterfaceProfile_SvcOptions_QsaalOptions_TnoresponseMs, DisplayString=DisplayString, atmInterfaceProfile_SvcOptions_QsaalOptions_TpollMs=atmInterfaceProfile_SvcOptions_QsaalOptions_TpollMs, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Sel=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_Sel, atmInterfaceProfile_SvcOptions_QsaalOptions_WindowSize=atmInterfaceProfile_SvcOptions_QsaalOptions_WindowSize, atmInterfaceProfile_Action_o=atmInterfaceProfile_Action_o, atmInterfaceProfile_SvcOptions_Q93bOptions_AssignVpiVci=atmInterfaceProfile_SvcOptions_Q93bOptions_AssignVpiVci, atmInterfaceProfile_SvcOptions_Q93bOptions_MaxRestart=atmInterfaceProfile_SvcOptions_Q93bOptions_MaxRestart, atmInterfaceProfile_SvcOptions_Q93bOptions_MaxStatenq=atmInterfaceProfile_SvcOptions_Q93bOptions_MaxStatenq, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Idi=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_IdpPortion_Idi, atmInterfaceProfile_SvcOptions_Q93bOptions_T301Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T301Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T303NumReties=atmInterfaceProfile_SvcOptions_Q93bOptions_T303NumReties, atmInterfaceProfile_Slot_o=atmInterfaceProfile_Slot_o, atmInterfaceProfile_InterfaceAddress_PhysicalAddress_ItemNumber=atmInterfaceProfile_InterfaceAddress_PhysicalAddress_ItemNumber, atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_HoDsp=atmInterfaceProfile_SvcOptions_AtmAddress_AesaAddress_DspPortion_HoDsp, atmInterfaceProfile_SvcOptions_Q93bOptions_T322Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T322Ms, atmInterfaceProfile_SvcOptions_Q93bOptions_T316NumRetries=atmInterfaceProfile_SvcOptions_Q93bOptions_T316NumRetries, atmInterfaceProfile_SvcOptions_Q93bOptions_T313Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T313Ms, atmInterfaceProfile_SvcOptions_AtmAddress_E164NativeAddress=atmInterfaceProfile_SvcOptions_AtmAddress_E164NativeAddress, atmInterfaceProfile_SvcOptions_Enabled=atmInterfaceProfile_SvcOptions_Enabled, atmInterfaceProfile_SvcOptions_Q93bOptions_T308NumRetries=atmInterfaceProfile_SvcOptions_Q93bOptions_T308NumRetries, atmInterfaceProfile_SvcOptions_AtmAddress_NumberingPlan=atmInterfaceProfile_SvcOptions_AtmAddress_NumberingPlan, atmInterfaceProfile_SvcOptions_QsaalOptions_MaxStat=atmInterfaceProfile_SvcOptions_QsaalOptions_MaxStat, atmInterfaceProfile_SvcOptions_Q93bOptions_SaalRetryMs=atmInterfaceProfile_SvcOptions_Q93bOptions_SaalRetryMs, atmInterfaceProfile_SvcOptions_Q93bOptions_T331Ms=atmInterfaceProfile_SvcOptions_Q93bOptions_T331Ms) |
#!/usr/bin/env pypy
n = int(input())
F = [1] * -~n
for i in range(2, n + 1):
for j in range(i, n + 1, i):
F[j] += 1
print(sum(e * v for e, v in enumerate(F))) | n = int(input())
f = [1] * -~n
for i in range(2, n + 1):
for j in range(i, n + 1, i):
F[j] += 1
print(sum((e * v for (e, v) in enumerate(F)))) |
# Large sum
x = 37107287533902102798797998220837590246510135740250463769376774900097126481248969700780504170182605387432498619952474105947423330951305812372661730962991942213363574161572522430563301811072406154908250230675882075393461711719803104210475137780632466768926167069662363382013637841838368417873436172675728112879812849979408065481931592621691275889832738442742289174325203219235894228767964876702721893184745144573600130643909116721685684458871160315327670386486105843025439939619828917593665686757934951621764571418565606295021572231965867550793241933316490635246274190492910143244581382266334794475817892575867718337217661963751590579239728245598838407582035653253593990084026335689488301894586282278288018119938482628201427819413994056758715117009439035398664372827112653829987240784473053190104293586865155060062958648615320752733719591914205172558297169388870771546649911559348760353292171497005693854370070576826684624621495650076471787294438377604532826541087568284431911906346940378552177792951453612327252500029607107508256381565671088525835072145876576172410976447339110607218265236877223636045174237069058518606604482076212098132878607339694128114266041808683061932846081119106155694051268969251934325451728388641918047049293215058642563049483624672216484350762017279180399446930047329563406911573244438690812579451408905770622942919710792820955037687525678773091862540744969844508330393682126183363848253301546861961243487676812975343759465158038628759287849020152168555482871720121925776695478182833757993103614740356856449095527097864797581167263201004368978425535399209318374414978068609844840309812907779179908821879532736447567559084803087086987551392711854517078544161852424320693150332599594068957565367821070749269665376763262354472106979395067965269474259770973916669376304263398708541052684708299085211399427365734116182760315001271653786073615010808570091499395125570281987460043753582903531743471732693212357815498262974255273730794953759765105305946966067683156574377167401875275889028025717332296191766687138199318110487701902712526768027607800301367868099252546340106163286652636270218540497705585629946580636237993140746255962240744869082311749777923654662572469233228109171419143028819710328859780666976089293863828502533340334413065578016127815921815005561868836468420090470230530811728164304876237919698424872550366387845831148769693215490281042402013833512446218144177347063783299490636259666498587618221225225512486764533677201869716985443124195724099139590089523100588229554825530026352078153229679624948164195386821877476085327132285723110424803456124867697064507995236377742425354112916842768655389262050249103265729672370191327572567528565324825826546309220705859652229798860272258331913126375147341994889534765745501184957014548792889848568277260777137214037988797153829820378303147352772158034814451349137322665138134829543829199918180278916522431027392251122869539409579530664052326325380441000596549391598795936352974615218550237130764225512118369380358038858490341698116222072977186158236678424689157993532961922624679571944012690438771072750481023908955235974572318970677254791506150550495392297953090112996751986188088225875314529584099251203829009407770775672113067397083047244838165338735023408456470580773088295917476714036319800818712901187549131054712658197623331044818386269515456334926366572897563400500428462801835170705278318394258821455212272512503275512160354698120058176216521282765275169129689778932238195734329339946437501907836945765883352399886755061649651847751807381688378610915273579297013376217784275219262340194239963916804498399317331273132924185707147349566916674687634660915035914677504995186714302352196288948901024233251169136196266227326746080059154747183079839286853520694694454072476841822524674417161514036427982273348055556214818971426179103425986472045168939894221798260880768528778364618279934631376775430780936333301898264209010848802521674670883215120185883543223812876952786713296124747824645386369930090493103636197638780396218407357239979422340623539380833965132740801111666627891981488087797941876876144230030984490851411606618262936828367647447792391803351109890697907148578694408955299065364044742557608365997664579509666024396409905389607120198219976047599490197230297649139826800329731560371200413779037855660850892521673093931987275027546890690370753941304265231501194809377245048795150954100921645863754710598436791786391670211874924319957006419179697775990283006991536871371193661495281130587638027841075444973307840789923115535562561142322423255033685442488917353448899115014406480203690680639606723221932041495354150312888033953605329934036800697771065056663195481234880673210146739058568557934581403627822703280826165707739483275922328459417065250945123252306082291880205877731971983945018088807242966198081119777158542502016545090413245809786882778948721859617721078384350691861554356628840622574736922845095162084960398013400172393067166682355524525280460972253503534226472524250874054075591789781264330331690
def vsota_stevil(n):
vsota = 0
sez = []
n = str(n)
for i in range(0, len(n), 50):
sez.append(n[i:i+50])
for j in sez:
vsota += int(j)
return vsota
print(str(vsota_stevil(x))[0:10]) | x = 37107287533902102798797998220837590246510135740250463769376774900097126481248969700780504170182605387432498619952474105947423330951305812372661730962991942213363574161572522430563301811072406154908250230675882075393461711719803104210475137780632466768926167069662363382013637841838368417873436172675728112879812849979408065481931592621691275889832738442742289174325203219235894228767964876702721893184745144573600130643909116721685684458871160315327670386486105843025439939619828917593665686757934951621764571418565606295021572231965867550793241933316490635246274190492910143244581382266334794475817892575867718337217661963751590579239728245598838407582035653253593990084026335689488301894586282278288018119938482628201427819413994056758715117009439035398664372827112653829987240784473053190104293586865155060062958648615320752733719591914205172558297169388870771546649911559348760353292171497005693854370070576826684624621495650076471787294438377604532826541087568284431911906346940378552177792951453612327252500029607107508256381565671088525835072145876576172410976447339110607218265236877223636045174237069058518606604482076212098132878607339694128114266041808683061932846081119106155694051268969251934325451728388641918047049293215058642563049483624672216484350762017279180399446930047329563406911573244438690812579451408905770622942919710792820955037687525678773091862540744969844508330393682126183363848253301546861961243487676812975343759465158038628759287849020152168555482871720121925776695478182833757993103614740356856449095527097864797581167263201004368978425535399209318374414978068609844840309812907779179908821879532736447567559084803087086987551392711854517078544161852424320693150332599594068957565367821070749269665376763262354472106979395067965269474259770973916669376304263398708541052684708299085211399427365734116182760315001271653786073615010808570091499395125570281987460043753582903531743471732693212357815498262974255273730794953759765105305946966067683156574377167401875275889028025717332296191766687138199318110487701902712526768027607800301367868099252546340106163286652636270218540497705585629946580636237993140746255962240744869082311749777923654662572469233228109171419143028819710328859780666976089293863828502533340334413065578016127815921815005561868836468420090470230530811728164304876237919698424872550366387845831148769693215490281042402013833512446218144177347063783299490636259666498587618221225225512486764533677201869716985443124195724099139590089523100588229554825530026352078153229679624948164195386821877476085327132285723110424803456124867697064507995236377742425354112916842768655389262050249103265729672370191327572567528565324825826546309220705859652229798860272258331913126375147341994889534765745501184957014548792889848568277260777137214037988797153829820378303147352772158034814451349137322665138134829543829199918180278916522431027392251122869539409579530664052326325380441000596549391598795936352974615218550237130764225512118369380358038858490341698116222072977186158236678424689157993532961922624679571944012690438771072750481023908955235974572318970677254791506150550495392297953090112996751986188088225875314529584099251203829009407770775672113067397083047244838165338735023408456470580773088295917476714036319800818712901187549131054712658197623331044818386269515456334926366572897563400500428462801835170705278318394258821455212272512503275512160354698120058176216521282765275169129689778932238195734329339946437501907836945765883352399886755061649651847751807381688378610915273579297013376217784275219262340194239963916804498399317331273132924185707147349566916674687634660915035914677504995186714302352196288948901024233251169136196266227326746080059154747183079839286853520694694454072476841822524674417161514036427982273348055556214818971426179103425986472045168939894221798260880768528778364618279934631376775430780936333301898264209010848802521674670883215120185883543223812876952786713296124747824645386369930090493103636197638780396218407357239979422340623539380833965132740801111666627891981488087797941876876144230030984490851411606618262936828367647447792391803351109890697907148578694408955299065364044742557608365997664579509666024396409905389607120198219976047599490197230297649139826800329731560371200413779037855660850892521673093931987275027546890690370753941304265231501194809377245048795150954100921645863754710598436791786391670211874924319957006419179697775990283006991536871371193661495281130587638027841075444973307840789923115535562561142322423255033685442488917353448899115014406480203690680639606723221932041495354150312888033953605329934036800697771065056663195481234880673210146739058568557934581403627822703280826165707739483275922328459417065250945123252306082291880205877731971983945018088807242966198081119777158542502016545090413245809786882778948721859617721078384350691861554356628840622574736922845095162084960398013400172393067166682355524525280460972253503534226472524250874054075591789781264330331690
def vsota_stevil(n):
vsota = 0
sez = []
n = str(n)
for i in range(0, len(n), 50):
sez.append(n[i:i + 50])
for j in sez:
vsota += int(j)
return vsota
print(str(vsota_stevil(x))[0:10]) |
# -*- coding: utf-8 -*-
class GraphDSLSemantics(object):
def digit(self, ast):
return ast
def symbol(self, ast):
return ast
def characters(self, ast):
return ast
def identifier(self, ast):
return ast
def string(self, ast):
return ast[1]
def natural(self, ast):
return ast
def sign(self, ast):
return ast
def integer(self, ast):
return int(''.join(ast))
def decimal(self, ast):
return ast
def boolean(self, ast):
return ast
def value(self, ast):
return ast
def property_name(self, ast):
return ast
def alias(self, ast):
return ast
def aliased_property(self, ast):
return ast
def aliases(self, ast):
return ast
def cond_operator(self, ast):
return ast
def expression(self, ast):
return ast
def type(self, ast):
return ast
def types(self, ast):
return ast
def property_cond(self, ast):
return ast
def properties_cond(self, ast):
return ast
def elements(self, ast):
return ast
def aliased_elements(self, ast):
return ast
def graph_joint(self, ast):
return ast
def elt_joint(self, ast):
return ast
def backward(self, ast):
return ast
def forward(self, ast):
return ast
def cardinality(self, ast):
c1, c2, c3 = ast
return [
int(''.join(c1)),
c2,
int(''.join(c3))
]
def walk_mode(self, ast):
return ast
def base_joint(self, ast):
return ast
def node_joint(self, ast):
return ast
def relationship_joint(self, ast):
return ast
def joint(self, ast):
return ast
def path(self, ast):
return ast
def walkthrough_stmt(self, ast):
return ast
def walkthrough_stmts(self, ast):
return ast
def condition(self, ast):
return ast
def filter_stmt(self, ast):
return ast
def new_property(self, ast):
return ast
def new_properties(self, ast):
return ast
def new_cardinality(self, ast):
return int(''.join(ast))
def new_data(self, ast):
return ast
def create_stmt(self, ast):
return ast
def read_stmt(self, ast):
return ast
def update_keyword(self, ast):
return ast
def update_alias(self, ast):
return ast
def update_data(self, ast):
return ast
def update_stmt(self, ast):
return ast
def delete_stmt(self, ast):
return ast
def crud_stmt(self, ast):
return ast
def request(self, ast):
return ast
| class Graphdslsemantics(object):
def digit(self, ast):
return ast
def symbol(self, ast):
return ast
def characters(self, ast):
return ast
def identifier(self, ast):
return ast
def string(self, ast):
return ast[1]
def natural(self, ast):
return ast
def sign(self, ast):
return ast
def integer(self, ast):
return int(''.join(ast))
def decimal(self, ast):
return ast
def boolean(self, ast):
return ast
def value(self, ast):
return ast
def property_name(self, ast):
return ast
def alias(self, ast):
return ast
def aliased_property(self, ast):
return ast
def aliases(self, ast):
return ast
def cond_operator(self, ast):
return ast
def expression(self, ast):
return ast
def type(self, ast):
return ast
def types(self, ast):
return ast
def property_cond(self, ast):
return ast
def properties_cond(self, ast):
return ast
def elements(self, ast):
return ast
def aliased_elements(self, ast):
return ast
def graph_joint(self, ast):
return ast
def elt_joint(self, ast):
return ast
def backward(self, ast):
return ast
def forward(self, ast):
return ast
def cardinality(self, ast):
(c1, c2, c3) = ast
return [int(''.join(c1)), c2, int(''.join(c3))]
def walk_mode(self, ast):
return ast
def base_joint(self, ast):
return ast
def node_joint(self, ast):
return ast
def relationship_joint(self, ast):
return ast
def joint(self, ast):
return ast
def path(self, ast):
return ast
def walkthrough_stmt(self, ast):
return ast
def walkthrough_stmts(self, ast):
return ast
def condition(self, ast):
return ast
def filter_stmt(self, ast):
return ast
def new_property(self, ast):
return ast
def new_properties(self, ast):
return ast
def new_cardinality(self, ast):
return int(''.join(ast))
def new_data(self, ast):
return ast
def create_stmt(self, ast):
return ast
def read_stmt(self, ast):
return ast
def update_keyword(self, ast):
return ast
def update_alias(self, ast):
return ast
def update_data(self, ast):
return ast
def update_stmt(self, ast):
return ast
def delete_stmt(self, ast):
return ast
def crud_stmt(self, ast):
return ast
def request(self, ast):
return ast |
n = int(input())
nums = list(input())
sum = 0
for i in range(0, n):
sum += int(nums[i])
print(sum) | n = int(input())
nums = list(input())
sum = 0
for i in range(0, n):
sum += int(nums[i])
print(sum) |
test_secret = "seB388LNHgxcuvAcg1pOV20_VR7uJWNGAznE0fOqKxg=".encode('ascii')
test_data = {
'valid':
'{"tx_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb", "case_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb","collection":'
'{"exercise_sid":"hfjdskf"},"metadata":{"user_id":"789473423","ru_ref":"12345678901A"}}',
'invalid': '{"cats":"are nice"}',
'missing_metadata':
'{"tx_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb","case_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb","collection":'
'{"exercise_sid":"hfjdskf"}}',
'missing_tx_id': '{"case_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb","collection":''{"exercise_sid":"hfjdskf"},"metadata":'
'{"user_id":"789473423","ru_ref":"12345678901A"}}',
'missing_case_id': '{"tx_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb","collection":'
'{"exercise_sid":"hfjdskf"},"metadata":{"user_id":"789473423","ru_ref":"12345678901A"}}',
}
| test_secret = 'seB388LNHgxcuvAcg1pOV20_VR7uJWNGAznE0fOqKxg='.encode('ascii')
test_data = {'valid': '{"tx_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb", "case_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb","collection":{"exercise_sid":"hfjdskf"},"metadata":{"user_id":"789473423","ru_ref":"12345678901A"}}', 'invalid': '{"cats":"are nice"}', 'missing_metadata': '{"tx_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb","case_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb","collection":{"exercise_sid":"hfjdskf"}}', 'missing_tx_id': '{"case_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb","collection":{"exercise_sid":"hfjdskf"},"metadata":{"user_id":"789473423","ru_ref":"12345678901A"}}', 'missing_case_id': '{"tx_id":"0f534ffc-9442-414c-b39f-a756b4adc6cb","collection":{"exercise_sid":"hfjdskf"},"metadata":{"user_id":"789473423","ru_ref":"12345678901A"}}'} |
'''
Create a script that reads something and show the type and all informations about it.
'''
something = input('Type something: ')
print(f'The type of this value is \033[34m{type(something)}\033[m')
print(f'Has only spaces? \033[34m{something.isspace()}\033[m')
print(f'Is numeric? \033[34m{something.isnumeric()}\033[m')
print(f'Is alphabetic? \033[34m{something.isalpha()}\033[m')
print(f'Is alphamumeric? \033[34m{something.isalnum()}\033[m')
print(f'Is uppercase? \033[34m{something.isupper()}\033[m')
print(f'Is lowercase? \033[34m{something.islower()}\033[m')
print(f'Is capital? \033[34m{something.istitle()}\033[m')
print(f'Is decimal? \033[34m{something.isdecimal()}\033[m')
print(f'Is digit? \033[34m{something.isdigit()}\033[m')
print(f'Is printable? \033[34m{something.isprintable()}\033[m')
print(f'Is identifier? \033[34m{something.isidentifier()}\033[m')
| """
Create a script that reads something and show the type and all informations about it.
"""
something = input('Type something: ')
print(f'The type of this value is \x1b[34m{type(something)}\x1b[m')
print(f'Has only spaces? \x1b[34m{something.isspace()}\x1b[m')
print(f'Is numeric? \x1b[34m{something.isnumeric()}\x1b[m')
print(f'Is alphabetic? \x1b[34m{something.isalpha()}\x1b[m')
print(f'Is alphamumeric? \x1b[34m{something.isalnum()}\x1b[m')
print(f'Is uppercase? \x1b[34m{something.isupper()}\x1b[m')
print(f'Is lowercase? \x1b[34m{something.islower()}\x1b[m')
print(f'Is capital? \x1b[34m{something.istitle()}\x1b[m')
print(f'Is decimal? \x1b[34m{something.isdecimal()}\x1b[m')
print(f'Is digit? \x1b[34m{something.isdigit()}\x1b[m')
print(f'Is printable? \x1b[34m{something.isprintable()}\x1b[m')
print(f'Is identifier? \x1b[34m{something.isidentifier()}\x1b[m') |
#
# This file contains the Python code from Program 8.12 of
# "Data Structures and Algorithms
# with Object-Oriented Design Patterns in Python"
# by Bruno R. Preiss.
#
# Copyright (c) 2003 by Bruno R. Preiss, P.Eng. All rights reserved.
#
# http://www.brpreiss.com/books/opus7/programs/pgm08_12.txt
#
class ChainedScatterTable(HashTable):
def __init__(self, length):
super(ChainedScatterTable, self).__init__()
self._array = Array(length)
for i in xrange(len(self._array)):
self._array[i] = self.Entry(None, self.NULL)
def __len__(self):
return len(self._array)
def purge(self):
for i in len(self):
self._array[i] = self.Entry(None, self.NULL)
self._count = 0
# ...
| class Chainedscattertable(HashTable):
def __init__(self, length):
super(ChainedScatterTable, self).__init__()
self._array = array(length)
for i in xrange(len(self._array)):
self._array[i] = self.Entry(None, self.NULL)
def __len__(self):
return len(self._array)
def purge(self):
for i in len(self):
self._array[i] = self.Entry(None, self.NULL)
self._count = 0 |
"""Use 2-dimansional arrays to create a playable tic tac toe"""
class TicTacToe:
"""Management of a Tic-Tac-Toe game (does not do strategy)"""
def __init__(self) -> None:
"Starts a new game"
self._board = [[" "] * 3 for j in range(3)]
self._player = "X"
def __str__(self) -> str:
"Returns a string representation of current game board."
rows = ["|".join(self._board[r]) for r in range(3)]
return "\n-----\n".join(rows)
def mark(self, i, j):
"""Puts an X or an O mark at position (i,j) for the next player's turn"""
if not (0 <= i <= 2 and 0 <= j <= 2):
raise ValueError("Invalid board position")
if self._board[i][j] != " ":
raise ValueError("Board position occupied")
if self.winner() is not None:
raise ValueError("Game is already complete")
self._board[i][j] = self._player
if self._player == "X":
self._player = "O"
else:
self._palyer = "X"
def winner(self):
"""Return mark of winning player, or None to indicate a tie"""
for mark in "XO":
if self._is_win(mark):
return mark
return None
def _is_win(self, mark):
board = self._board
return (
mark == board[0][0] == board[0][1] == board[0][2]
or mark == board[1][0] == board[1][1] == board[1][2] # row 0
or mark == board[2][0] == board[2][1] == board[2][2] # row 1
or mark == board[0][0] == board[0][0] == board[2][0] # row 2
or mark == board[0][1] == board[0][1] == board[2][1] # column 0
or mark == board[0][2] == board[0][2] == board[2][2] # column 1
or mark == board[0][0] == board[0][1] == board[2][2] # column 2
or mark == board[0][2] == board[0][1] == board[2][0] # diagonal # rev diag
)
if __name__ == "__main__":
x = TicTacToe()
print(x)
x.mark(1, 2)
print(x)
| """Use 2-dimansional arrays to create a playable tic tac toe"""
class Tictactoe:
"""Management of a Tic-Tac-Toe game (does not do strategy)"""
def __init__(self) -> None:
"""Starts a new game"""
self._board = [[' '] * 3 for j in range(3)]
self._player = 'X'
def __str__(self) -> str:
"""Returns a string representation of current game board."""
rows = ['|'.join(self._board[r]) for r in range(3)]
return '\n-----\n'.join(rows)
def mark(self, i, j):
"""Puts an X or an O mark at position (i,j) for the next player's turn"""
if not (0 <= i <= 2 and 0 <= j <= 2):
raise value_error('Invalid board position')
if self._board[i][j] != ' ':
raise value_error('Board position occupied')
if self.winner() is not None:
raise value_error('Game is already complete')
self._board[i][j] = self._player
if self._player == 'X':
self._player = 'O'
else:
self._palyer = 'X'
def winner(self):
"""Return mark of winning player, or None to indicate a tie"""
for mark in 'XO':
if self._is_win(mark):
return mark
return None
def _is_win(self, mark):
board = self._board
return mark == board[0][0] == board[0][1] == board[0][2] or mark == board[1][0] == board[1][1] == board[1][2] or mark == board[2][0] == board[2][1] == board[2][2] or (mark == board[0][0] == board[0][0] == board[2][0]) or (mark == board[0][1] == board[0][1] == board[2][1]) or (mark == board[0][2] == board[0][2] == board[2][2]) or (mark == board[0][0] == board[0][1] == board[2][2]) or (mark == board[0][2] == board[0][1] == board[2][0])
if __name__ == '__main__':
x = tic_tac_toe()
print(x)
x.mark(1, 2)
print(x) |
# Definition for a binary tree node.
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
# inorder = [9,3,15,20,7]
# postorder = [9,15,7,20,3]
class Solution:
def buildTree(self, inorder, postorder):
"""
:type inorder: List[int]
:type postorder: List[int]
:rtype: TreeNode
"""
if len(postorder) == 0:
return None
res = TreeNode(postorder[-1])
index = inorder.index(res.val)
res.left = self.buildTree(inorder[0:index], postorder[0:index])
res.right = self.buildTree(inorder[index + 1:], postorder[index:-1])
return res
| class Treenode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def build_tree(self, inorder, postorder):
"""
:type inorder: List[int]
:type postorder: List[int]
:rtype: TreeNode
"""
if len(postorder) == 0:
return None
res = tree_node(postorder[-1])
index = inorder.index(res.val)
res.left = self.buildTree(inorder[0:index], postorder[0:index])
res.right = self.buildTree(inorder[index + 1:], postorder[index:-1])
return res |
font = CurrentFont()
min = 0
max = 0
for glyph in font:
if glyph.bounds != None:
if glyph.bounds[1] < min:
min = glyph.bounds[1]
if glyph.bounds[3] > max:
max = glyph.bounds[3]
print(min,max)
font.info.openTypeOS2TypoAscender = font.info.ascender
font.info.openTypeOS2TypoDescender = font.info.descender
font.info.openTypeOS2TypoLineGap = (max + abs(min)) - font.info.unitsPerEm
font.info.openTypeOS2WinAscent = max
font.info.openTypeOS2WinDescent = abs(min)
font.info.openTypeHheaAscender = max
font.info.openTypeHheaDescender = min
font.info.openTypeHheaLineGap = 0
print((max + abs(min)) - font.info.unitsPerEm) | font = current_font()
min = 0
max = 0
for glyph in font:
if glyph.bounds != None:
if glyph.bounds[1] < min:
min = glyph.bounds[1]
if glyph.bounds[3] > max:
max = glyph.bounds[3]
print(min, max)
font.info.openTypeOS2TypoAscender = font.info.ascender
font.info.openTypeOS2TypoDescender = font.info.descender
font.info.openTypeOS2TypoLineGap = max + abs(min) - font.info.unitsPerEm
font.info.openTypeOS2WinAscent = max
font.info.openTypeOS2WinDescent = abs(min)
font.info.openTypeHheaAscender = max
font.info.openTypeHheaDescender = min
font.info.openTypeHheaLineGap = 0
print(max + abs(min) - font.info.unitsPerEm) |
class AtomicappBuilderException(Exception):
def __init__(self, cause):
super(AtomicappBuilderException, self).__init__(cause)
self.cause = cause
def to_str(self):
ret = str(self.cause)
if hasattr(self.cause, 'output'):
ret += ' Subprocess output: {0}'.format(self.cause.output)
return ret
| class Atomicappbuilderexception(Exception):
def __init__(self, cause):
super(AtomicappBuilderException, self).__init__(cause)
self.cause = cause
def to_str(self):
ret = str(self.cause)
if hasattr(self.cause, 'output'):
ret += ' Subprocess output: {0}'.format(self.cause.output)
return ret |
"""
Here because random is also a builtin module.
"""
a = set
| """
Here because random is also a builtin module.
"""
a = set |
class Employee:
#the self paremeter is a reference
#to the current instance of the class - w3schools/python
def __init__(self,name,age):
self.name = name
self.age = age
def compute_wage(self,hours, rate):
return hours * rate
| class Employee:
def __init__(self, name, age):
self.name = name
self.age = age
def compute_wage(self, hours, rate):
return hours * rate |
value = float(input())
print('NOTAS:')
for cell in [100, 50, 20, 10, 5, 2]:
print('{} nota(s) de R$ {},00'.format(int(value/cell), cell))
value = value % cell
print('MOEDAS:')
for coin in [1, 0.5, 0.25, 0.10, 0.05, 0.01]:
print('{} moeda(s) de R$ {:.2f}'.format(int(value/coin), coin).replace('.',','))
value = round(value % coin, 2)
| value = float(input())
print('NOTAS:')
for cell in [100, 50, 20, 10, 5, 2]:
print('{} nota(s) de R$ {},00'.format(int(value / cell), cell))
value = value % cell
print('MOEDAS:')
for coin in [1, 0.5, 0.25, 0.1, 0.05, 0.01]:
print('{} moeda(s) de R$ {:.2f}'.format(int(value / coin), coin).replace('.', ','))
value = round(value % coin, 2) |
# -----------------------------------------------------------
# Copyright (c) 2021. Danil Smirnov
# The football team recruits girls from 10 to 15 years old inclusive.
# Write a program that asks for the age and gender of an applicant
# using the gender designation m (for male) and f (for female)
# to determine if the applicant is eligible to join the team or not.
# If the applicant fits, then output "YES", otherwise output "NO".
# -----------------------------------------------------------
class Applicant:
def __init__(self, name: str = None, age: int = None, gender: str = None):
self.name = name
self.age = age
self.gender = gender
self.can_join = self.check_membership(age, gender)
def check_membership(self, age: int, gender: str) -> bool:
return self.check_age(age) and self.check_gender(gender)
def check_age(self, age: int) -> bool:
return 10 <= age <= 15
def check_gender(self, gender: str) -> bool:
return gender == 'f'
if __name__ == '__main__':
applicant = Applicant(age=int(input()), gender=input())
print('YES' if applicant.can_join else 'NO')
| class Applicant:
def __init__(self, name: str=None, age: int=None, gender: str=None):
self.name = name
self.age = age
self.gender = gender
self.can_join = self.check_membership(age, gender)
def check_membership(self, age: int, gender: str) -> bool:
return self.check_age(age) and self.check_gender(gender)
def check_age(self, age: int) -> bool:
return 10 <= age <= 15
def check_gender(self, gender: str) -> bool:
return gender == 'f'
if __name__ == '__main__':
applicant = applicant(age=int(input()), gender=input())
print('YES' if applicant.can_join else 'NO') |
"""
padding.py
"""
def pkcs7(bs, block_size):
"""
An implementation of pkcs#7 padding.
"""
# Find the amount needed to pad to correct length.
pad = block_size - len(bs)%block_size
if pad == 0:
pad = block_size
# Pad with padding length and return.
return bytearray(bs) + bytearray([pad]*pad)
def pkcs7_unpad(bs, block_size):
"""
An implementation of pkcs#7 unpadding.
"""
# Check whether valid pkcs#7 padding.
if not is_pkcs7(bs, block_size):
raise Exception('Invalid pkcs#7 padding.')
last = ord(bs[-1])
return bs[:-last]
def is_pkcs7(bs, block_size):
"""
Determines if a byte array is pkcs7 padded.
"""
# Length must be a multiple of the block size.
if len(bs) % block_size != 0:
return False
# Last byte cannot be greater than 15 or less than 1.
last = ord(bs[-1])
if last < 1 or last > block_size-1 or last > len(bs):
return False
# Check whether all padding is the same byte.
return len([i for i in bs[-last:] if ord(i) != last]) == 0
| """
padding.py
"""
def pkcs7(bs, block_size):
"""
An implementation of pkcs#7 padding.
"""
pad = block_size - len(bs) % block_size
if pad == 0:
pad = block_size
return bytearray(bs) + bytearray([pad] * pad)
def pkcs7_unpad(bs, block_size):
"""
An implementation of pkcs#7 unpadding.
"""
if not is_pkcs7(bs, block_size):
raise exception('Invalid pkcs#7 padding.')
last = ord(bs[-1])
return bs[:-last]
def is_pkcs7(bs, block_size):
"""
Determines if a byte array is pkcs7 padded.
"""
if len(bs) % block_size != 0:
return False
last = ord(bs[-1])
if last < 1 or last > block_size - 1 or last > len(bs):
return False
return len([i for i in bs[-last:] if ord(i) != last]) == 0 |
text_list = list(input())
length_matrix = int(input())
matrix = []
player_position = []
for i in range(length_matrix):
row = list(input())
matrix.append(row)
for j in range(length_matrix):
if row[j] == 'P':
player_position = [i, j]
directions = {
'up': (-1, 0),
'right': (0, 1),
'down': (1, 0),
'left': (0, -1)
}
length_commands = int(input())
for k in range(length_commands):
command = input()
direction_change = directions[command]
old_row, old_col = player_position[0], player_position[1]
next_row, next_col = old_row + direction_change[0], old_col + direction_change[1]
if 0 <= next_row < length_matrix and 0 <= next_col < length_matrix:
next_position_value = matrix[next_row][next_col]
if next_position_value != '-':
text_list.append(next_position_value)
matrix[player_position[0]][player_position[1]], matrix[next_row][next_col] = '-', 'P'
player_position = [next_row, next_col]
else:
if text_list:
text_list.pop()
print(''.join(text_list))
for row in matrix:
print(''.join(row))
| text_list = list(input())
length_matrix = int(input())
matrix = []
player_position = []
for i in range(length_matrix):
row = list(input())
matrix.append(row)
for j in range(length_matrix):
if row[j] == 'P':
player_position = [i, j]
directions = {'up': (-1, 0), 'right': (0, 1), 'down': (1, 0), 'left': (0, -1)}
length_commands = int(input())
for k in range(length_commands):
command = input()
direction_change = directions[command]
(old_row, old_col) = (player_position[0], player_position[1])
(next_row, next_col) = (old_row + direction_change[0], old_col + direction_change[1])
if 0 <= next_row < length_matrix and 0 <= next_col < length_matrix:
next_position_value = matrix[next_row][next_col]
if next_position_value != '-':
text_list.append(next_position_value)
(matrix[player_position[0]][player_position[1]], matrix[next_row][next_col]) = ('-', 'P')
player_position = [next_row, next_col]
elif text_list:
text_list.pop()
print(''.join(text_list))
for row in matrix:
print(''.join(row)) |
class Layer(object):
def __init__(self):
self.input_shape = None
self.x =None
self.z = None
def initialize(self,folder):
pass
def train(self, inputs, train=True):
pass
def forward(self, inputs):
pass
def backward(self,delta_in,arg):
pass
def update(self):
pass
def save_parameters(self, folder, name):
pass
def load_parameters(self, folder, name):
pass
| class Layer(object):
def __init__(self):
self.input_shape = None
self.x = None
self.z = None
def initialize(self, folder):
pass
def train(self, inputs, train=True):
pass
def forward(self, inputs):
pass
def backward(self, delta_in, arg):
pass
def update(self):
pass
def save_parameters(self, folder, name):
pass
def load_parameters(self, folder, name):
pass |
"""
DEV
~~~
.. data:: DEV
Used to specify the development environment.
PROD
~~~~
.. data:: PROD
Used to specify the production environment.
STAGING
~~~~~~~
.. data:: STAGING
Used to specify the staging environment.
TEST
~~~~
.. data:: TEST
Used to specify the test environment.
"""
DEV = 'development'
PROD = 'production'
STAGING = 'staging'
TEST = 'test'
_INJECT_CLS_ATTRS = '__inject_cls_attrs__'
_DI_AUTOMATICALLY_HANDLED = '__di_automatically_handled__'
__all__ = [
'DEV',
'PROD',
'STAGING',
'TEST',
]
| """
DEV
~~~
.. data:: DEV
Used to specify the development environment.
PROD
~~~~
.. data:: PROD
Used to specify the production environment.
STAGING
~~~~~~~
.. data:: STAGING
Used to specify the staging environment.
TEST
~~~~
.. data:: TEST
Used to specify the test environment.
"""
dev = 'development'
prod = 'production'
staging = 'staging'
test = 'test'
_inject_cls_attrs = '__inject_cls_attrs__'
_di_automatically_handled = '__di_automatically_handled__'
__all__ = ['DEV', 'PROD', 'STAGING', 'TEST'] |
# https://www.hackerrank.com/challenges/three-month-preparation-kit-queue-using-two-stacks/problem
class Queue:
def __init__(self, s1=[], s2=[]):
self.s1 = s1
self.s2 = s2
def isEmpty(self):
if not self.s1 and not self.s2: return True
return False
def size(self):
return len(self.s1) + len(self.s2)
def enqueue(self, val):
self.s1.append(val)
def dequeue(self):
if not self.s2:
while len(self.s1) > 0:
self.s2.append(self.s1.pop())
return self.s2.pop()
def front(self):
if not self.s2:
while len(self.s1) > 0:
self.s2.append(self.s1.pop())
print(self.s2[-1])
if __name__ == '__main__':
t = int(input().strip())
q = Queue()
for t_itr in range(t):
s = input()
if s[0] == "1":
val = s.split(" ")[1]
q.enqueue(val)
elif s[0] == "2": q.dequeue()
elif s[0] == "3": q.front() | class Queue:
def __init__(self, s1=[], s2=[]):
self.s1 = s1
self.s2 = s2
def is_empty(self):
if not self.s1 and (not self.s2):
return True
return False
def size(self):
return len(self.s1) + len(self.s2)
def enqueue(self, val):
self.s1.append(val)
def dequeue(self):
if not self.s2:
while len(self.s1) > 0:
self.s2.append(self.s1.pop())
return self.s2.pop()
def front(self):
if not self.s2:
while len(self.s1) > 0:
self.s2.append(self.s1.pop())
print(self.s2[-1])
if __name__ == '__main__':
t = int(input().strip())
q = queue()
for t_itr in range(t):
s = input()
if s[0] == '1':
val = s.split(' ')[1]
q.enqueue(val)
elif s[0] == '2':
q.dequeue()
elif s[0] == '3':
q.front() |
# Copyright (C) 2018 Intel Corporation
#
# SPDX-License-Identifier: MIT
default_app_config = 'cvat.apps.annotation.apps.AnnotationConfig'
| default_app_config = 'cvat.apps.annotation.apps.AnnotationConfig' |
"""MQTT Topics"""
TOPIC_BUTTON_PROXY = "sensor/button/_proxy"
# Hardware button states
TOPIC_COFFEE_BUTTON = "sensor/button/coffee"
TOPIC_WATER_BUTTON = "sensor/button/water"
TOPIC_STEAM_BUTTON = "sensor/button/steam"
TOPIC_RED_BUTTON = "sensor/button/red"
TOPIC_BLUE_BUTTON = "sensor/button/blue"
TOPIC_WHITE_BUTTON = "sensor/button/white"
# Sensor data
TOPIC_CURRENT_BOILER_TEMPERATURE = "sensor/boiler_temperature"
TOPIC_AVERAGE_BOILER_TEMPERATURE = "sensor/average_boiler_temperature"
TOPIC_CURRENT_GROUP_TEMPERATURE = "sensor/group_temperature"
TOPIC_ALL_TEMPERATURES = "sensor/all_temperatures"
TOPIC_SCALE_WEIGHT = "sensor/scale_weight"
# Does the steam controller want the heating element on?
TOPIC_STEAM_HE_ON = "advice/steam/he_on"
# PID data
TOPIC_PID_VALUE = "advice/pid/pidval"
TOPIC_PID_AVERAGE_VALUE = "advice/pid/avgpid"
TOPIC_PID_TERMS = "advice/pid/terms"
# Something wants us to start/stop the brew
TOPIC_START_BREW = "advice/brew/start"
TOPIC_STOP_BREW = "advice/brew/stop"
TOPIC_CAPTURE_DOSE = "advice/capture_dose"
TOPIC_CAPTURE_DOSE_AND_SET_TARGET_WEIGHT = "advice/capture_dose_and_set_target_weight"
TOPIC_DOSE = "status/dose"
TOPIC_TARGET_RATIO = "status/target_ratio"
# Turn on/off the pump, or open/close the solenoid
TOPIC_PUMP_ON = "actuator/pump"
TOPIC_SOLENOID_OPEN = "actuator/solenoid"
# Probably not necessary, but this means we've sent a heartbeat to the scale
TOPIC_SCALE_HEARTBEAT_SENT = "advice/scale/heartbeat_sent"
# Try to keep the scale connected (or disconnect if this turns false)
TOPIC_CONNECT_TO_SCALE = "advice/scale/keep_connected"
TOPIC_TARGET_WEIGHT = "advice/scale/target_weight"
TOPIC_ENABLE_WEIGHTED_SHOT = "advice/scale/enable_weighted_shot"
TOPIC_SET_POINT = "advice/pid/set_point"
TOPIC_PID_TUNINGS = "advice/pid/tunings"
TOPIC_PID_RESPONSIVENESS = "advice/pid/responsiveness"
TOPIC_PUMP_PIDVAL_FEED_FORWARD = "advice/pid/pump_feed_forward"
TOPIC_STEAM_TEMPERATURE_SET_POINT = "advice/steam_temperature/set_point"
TOPIC_STEAM_TEMPERATURE_DELTA = "advice/steam_temperature/delta"
# The scale *is* connected
TOPIC_SCALE_CONNECTED = "mode/scale_connected"
# Informational topic for whether the heating element is on
TOPIC_HE_ON = "status/he_on"
# Authoritative mode for whether the Heating Element Controller should be controlling based on Steam Control inputs
# or PID inputs
TOPIC_STEAM_MODE = "mode/steam_mode"
TOPIC_USE_PREINFUSION = "mode/use_preinfusion"
TOPIC_PREINFUSION_TIME = "mode/use_preinfusion/preinfusion_time"
TOPIC_DWELL_TIME = "mode/use_preinfusion/dwell_time"
TOPIC_HE_ENABLED = "mode/he_enabled"
TOPIC_OLED_SAVER = "mode/oled_saver"
TOPIC_LAST_BREW_DURATION = "status/last_brew_duration"
TOPIC_CURRENT_BREW_START_TIME = "status/current_brew_start_time"
TOPIC_CURRENT_BREW_TIME_UPDATE = "status/current_brew_duration"
| """MQTT Topics"""
topic_button_proxy = 'sensor/button/_proxy'
topic_coffee_button = 'sensor/button/coffee'
topic_water_button = 'sensor/button/water'
topic_steam_button = 'sensor/button/steam'
topic_red_button = 'sensor/button/red'
topic_blue_button = 'sensor/button/blue'
topic_white_button = 'sensor/button/white'
topic_current_boiler_temperature = 'sensor/boiler_temperature'
topic_average_boiler_temperature = 'sensor/average_boiler_temperature'
topic_current_group_temperature = 'sensor/group_temperature'
topic_all_temperatures = 'sensor/all_temperatures'
topic_scale_weight = 'sensor/scale_weight'
topic_steam_he_on = 'advice/steam/he_on'
topic_pid_value = 'advice/pid/pidval'
topic_pid_average_value = 'advice/pid/avgpid'
topic_pid_terms = 'advice/pid/terms'
topic_start_brew = 'advice/brew/start'
topic_stop_brew = 'advice/brew/stop'
topic_capture_dose = 'advice/capture_dose'
topic_capture_dose_and_set_target_weight = 'advice/capture_dose_and_set_target_weight'
topic_dose = 'status/dose'
topic_target_ratio = 'status/target_ratio'
topic_pump_on = 'actuator/pump'
topic_solenoid_open = 'actuator/solenoid'
topic_scale_heartbeat_sent = 'advice/scale/heartbeat_sent'
topic_connect_to_scale = 'advice/scale/keep_connected'
topic_target_weight = 'advice/scale/target_weight'
topic_enable_weighted_shot = 'advice/scale/enable_weighted_shot'
topic_set_point = 'advice/pid/set_point'
topic_pid_tunings = 'advice/pid/tunings'
topic_pid_responsiveness = 'advice/pid/responsiveness'
topic_pump_pidval_feed_forward = 'advice/pid/pump_feed_forward'
topic_steam_temperature_set_point = 'advice/steam_temperature/set_point'
topic_steam_temperature_delta = 'advice/steam_temperature/delta'
topic_scale_connected = 'mode/scale_connected'
topic_he_on = 'status/he_on'
topic_steam_mode = 'mode/steam_mode'
topic_use_preinfusion = 'mode/use_preinfusion'
topic_preinfusion_time = 'mode/use_preinfusion/preinfusion_time'
topic_dwell_time = 'mode/use_preinfusion/dwell_time'
topic_he_enabled = 'mode/he_enabled'
topic_oled_saver = 'mode/oled_saver'
topic_last_brew_duration = 'status/last_brew_duration'
topic_current_brew_start_time = 'status/current_brew_start_time'
topic_current_brew_time_update = 'status/current_brew_duration' |
{
"targets": [
{
"target_name": "irf",
"sources": [
"irf/node.cpp",
"irf/randomForest.h",
"irf/randomForest.cpp",
"irf/MurmurHash3.h",
"irf/MurmurHash3.cpp"
],
'cflags': [ '<!@(pkg-config --cflags libsparsehash)' ],
'conditions': [
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
'cflags_cc!': ['-fno-rtti', '-fno-exceptions'],
'cflags_cc+': ['-frtti', '-fexceptions'],
}],
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_RTTI': 'YES',
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'
}
}]
]
}
]
} | {'targets': [{'target_name': 'irf', 'sources': ['irf/node.cpp', 'irf/randomForest.h', 'irf/randomForest.cpp', 'irf/MurmurHash3.h', 'irf/MurmurHash3.cpp'], 'cflags': ['<!@(pkg-config --cflags libsparsehash)'], 'conditions': [['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {'cflags_cc!': ['-fno-rtti', '-fno-exceptions'], 'cflags_cc+': ['-frtti', '-fexceptions']}], ['OS=="mac"', {'xcode_settings': {'GCC_ENABLE_CPP_RTTI': 'YES', 'GCC_ENABLE_CPP_EXCEPTIONS': 'YES'}}]]}]} |
# SLICE
list = ['start', 'second', 'third', 'fourth', 'fifth']
list_fra = list[2]
print(list)
print(list_fra)
print(list[1:3])
print(list[-3:-1])
print(list[-3:])
print(list[:-3])
| list = ['start', 'second', 'third', 'fourth', 'fifth']
list_fra = list[2]
print(list)
print(list_fra)
print(list[1:3])
print(list[-3:-1])
print(list[-3:])
print(list[:-3]) |
class Solution:
def helper(self, n: int, k: int, first: int, curr: list, output: list) -> None:
if len(curr)==k:
output.append(curr[:])
else:
for i in range(first, n+1):
curr.append(i)
self.helper(n, k, i+1, curr, output)
curr.pop()
def combine(self, n: int, k: int) -> List[List[int]]:
curr = []
output = []
self.helper(n, k, 1, curr, output)
return output
| class Solution:
def helper(self, n: int, k: int, first: int, curr: list, output: list) -> None:
if len(curr) == k:
output.append(curr[:])
else:
for i in range(first, n + 1):
curr.append(i)
self.helper(n, k, i + 1, curr, output)
curr.pop()
def combine(self, n: int, k: int) -> List[List[int]]:
curr = []
output = []
self.helper(n, k, 1, curr, output)
return output |
file1 = open('windows/contest.ppm','r')
Lines = file1.readlines()
count = 0
for line in Lines:
a, b, c = line.split()
count += 6
A = int(a)
B = int(b)
C = int(c)
while A/10 >= 1 :
count += 1
A /= 10
while B/10 >= 1 :
count += 1
B /= 10
while C/10 >= 1 :
count += 1
C/= 10
print(count) | file1 = open('windows/contest.ppm', 'r')
lines = file1.readlines()
count = 0
for line in Lines:
(a, b, c) = line.split()
count += 6
a = int(a)
b = int(b)
c = int(c)
while A / 10 >= 1:
count += 1
a /= 10
while B / 10 >= 1:
count += 1
b /= 10
while C / 10 >= 1:
count += 1
c /= 10
print(count) |
MONGODB_SETTINGS = {
'db': 'rsframgia',
'collection': 'viblo_posts',
'host': 'mongodb+srv://nhomanhemcututu:chubichthuy@cluster0.vnbw3.mongodb.net/rsframgia?authSource=admin&replicaSet=atlas-mi89bw-shard-0&w=majority&readPreference=primary&appname=MongoDB%20Compass&retryWrites=true&ssl=true'
}
PATH_DICTIONARY = "models/id2word.dictionary"
PATH_CORPUS = "models/corpus.mm"
PATH_LDA_MODEL = "models/LDA.model"
PATH_DOC_TOPIC_DIST = "models/doc_topic_dist.dat"
| mongodb_settings = {'db': 'rsframgia', 'collection': 'viblo_posts', 'host': 'mongodb+srv://nhomanhemcututu:chubichthuy@cluster0.vnbw3.mongodb.net/rsframgia?authSource=admin&replicaSet=atlas-mi89bw-shard-0&w=majority&readPreference=primary&appname=MongoDB%20Compass&retryWrites=true&ssl=true'}
path_dictionary = 'models/id2word.dictionary'
path_corpus = 'models/corpus.mm'
path_lda_model = 'models/LDA.model'
path_doc_topic_dist = 'models/doc_topic_dist.dat' |
# Anders Poirel
# https://leetcode.com/problems/valid-parentheses
# Runtime: 28 ms, faster than 71.23% of Python3 online submissions for Valid Parentheses.
# Memory Usage: 12.8 MB, less than 100.00% of Python3 online submissions for Valid Parentheses.
class Solution:
def isValid(self, s: str) -> bool:
stack = []
for i in range(len(s)):
if s[i] in ['{', '[', '(']:
stack.append(s[i])
else:
if len(stack) == 0:
return False
res = stack.pop()
if s[i] == '}' and res != '{':
return False
elif s[i] == ']' and res != '[':
return False
elif s[i] == ')' and res != '(':
return False
return True if len(stack) == 0 else False | class Solution:
def is_valid(self, s: str) -> bool:
stack = []
for i in range(len(s)):
if s[i] in ['{', '[', '(']:
stack.append(s[i])
else:
if len(stack) == 0:
return False
res = stack.pop()
if s[i] == '}' and res != '{':
return False
elif s[i] == ']' and res != '[':
return False
elif s[i] == ')' and res != '(':
return False
return True if len(stack) == 0 else False |
#2. Suppose the cover price of a book is **$24.95, but bookstores get a **40% discount. Shipping costs **$3 for the
# first copy and **75 cents for each additional copy. What is the total wholesale cost for **60 copies?
cover_price = 24.95
bkstore_dis = cover_price - (cover_price * 40)/100
ship_cost = 3 #only for the first copy
ship_cost_normal = 0.75
copies = 60
ship_calc =(ship_cost_normal * (copies - 1)) + ship_cost #charge 3 only one time
books_purchase = bkstore_dis * copies
whole_sale = books_purchase + ship_calc #cost of the total purchase
print('The total wholesale cost ${:.2f}'.format(whole_sale))
| cover_price = 24.95
bkstore_dis = cover_price - cover_price * 40 / 100
ship_cost = 3
ship_cost_normal = 0.75
copies = 60
ship_calc = ship_cost_normal * (copies - 1) + ship_cost
books_purchase = bkstore_dis * copies
whole_sale = books_purchase + ship_calc
print('The total wholesale cost ${:.2f}'.format(whole_sale)) |
#
# Author: Luke Hindman
# Date: Mon Nov 6 16:13:43 MST 2017
# Description: Example of how to write to a file with Exception Handling
#
# Write a List of strings to a file
#
# Parameter
# outputFile - A String with the name of the file to write to
# dataList - A List of strings to write to the file
#
# Return
# none
#
def writeListToFile(outputFile, dataList):
try:
destination = open(outputFile,"w")
destination.writelines(dataList)
destination.close()
except IOError:
print("Unable to write to output file" + outputFile)
# Create a string with the name of the file to write to
myFile = "names.txt"
# List of Strings to write to file, to ensure write the values to separate lines
# in the files, each string must include a newline.
#
# How can we modify the writeListToFile() function to do this for us automatically?
#
# nameList = ["Robin", "Lily", "Nora", "Patrice", "Zoey", "Quinn","Ted", "Marshall", "Barney", "Ranjit", "Carl", "Linus"]
nameList = ["Robin\n", "Lily\n", "Nora\n", "Patrice\n", "Zoey\n", "Quinn\n","Ted\n", "Marshall\n", "Barney\n", "Ranjit\n", "Carl\n", "Linus\n"]
# Call the above function to build a list of strings from the file
writeListToFile(myFile,nameList)
| def write_list_to_file(outputFile, dataList):
try:
destination = open(outputFile, 'w')
destination.writelines(dataList)
destination.close()
except IOError:
print('Unable to write to output file' + outputFile)
my_file = 'names.txt'
name_list = ['Robin\n', 'Lily\n', 'Nora\n', 'Patrice\n', 'Zoey\n', 'Quinn\n', 'Ted\n', 'Marshall\n', 'Barney\n', 'Ranjit\n', 'Carl\n', 'Linus\n']
write_list_to_file(myFile, nameList) |
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': 3.77876e-06,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.202692,
'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': 2.27703e-05,
'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.792423,
'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.37219,
'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.78699,
'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.9516,
'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.783274,
'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': 6.44748,
'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': 4.3018e-06,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.028726,
'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.207726,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.212446,
'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.20773,
'Execution Unit/Register Files/Runtime Dynamic': 0.241172,
'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.501953,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.72195,
'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': 5.52279,
'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.00140634,
'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.00140634,
'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.00121557,
'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.000465454,
'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.00305181,
'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.00708006,
'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.013818,
'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.20423,
'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.444653,
'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.693657,
'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.36344,
'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.0572954,
'L2/Runtime Dynamic': 0.0391315,
'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': 8.91832,
'Load Store Unit/Data Cache/Runtime Dynamic': 4.48309,
'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.248505,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.298297,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 10.0966,
'Load Store Unit/Runtime Dynamic': 6.25249,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.612772,
'Load Store Unit/StoreQ/Runtime Dynamic': 1.4711,
'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.217475,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.261905,
'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.0729071,
'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.934466,
'Memory Management Unit/Runtime Dynamic': 0.334812,
'Memory Management Unit/Subthreshold Leakage': 0.0769113,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462,
'Peak Dynamic': 31.0663,
'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': 1.50469e-05,
'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.0405203,
'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.434232,
'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': 0.474767,
'Renaming Unit/Subthreshold Leakage': 0.070483,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779,
'Runtime Dynamic': 13.9874,
'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': 2.83407e-06,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.202691,
'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.51802e-05,
'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.477086,
'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.769523,
'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.388429,
'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': 1.63504,
'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.545647,
'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.89105,
'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': 2.86787e-06,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0200111,
'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.144707,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.147995,
'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.14471,
'Execution Unit/Register Files/Runtime Dynamic': 0.168006,
'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.304858,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.04584,
'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': 3.45695,
'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.00099059,
'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.00099059,
'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.000859345,
'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.000330776,
'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.00212596,
'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.00496648,
'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.00962121,
'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.142271,
'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.309736,
'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.483217,
'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.96396,
'Instruction Fetch Unit/Runtime Dynamic': 0.949811,
'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.039895,
'L2/Runtime Dynamic': 0.0272317,
'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': 7.66042,
'Load Store Unit/Data Cache/Runtime Dynamic': 3.12314,
'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.207809,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.207809,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 8.64174,
'Load Store Unit/Runtime Dynamic': 4.3558,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.512422,
'Load Store Unit/StoreQ/Runtime Dynamic': 1.02484,
'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.18186,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.182456,
'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.399995,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0507856,
'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.868507,
'Memory Management Unit/Runtime Dynamic': 0.233242,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 26.9946,
'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': 7.84934e-06,
'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.0215249,
'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.254899,
'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.276431,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 9.29946,
'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': 1.88938e-06,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.20269,
'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.26502e-05,
'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.471792,
'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.760982,
'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.384118,
'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': 1.61689,
'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.539591,
'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.87919,
'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': 2.38989e-06,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0197891,
'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.1431,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.146352,
'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.143103,
'Execution Unit/Register Files/Runtime Dynamic': 0.166141,
'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.301473,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.03466,
'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': 3.42576,
'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.00097198,
'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.00097198,
'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.000843087,
'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.000324455,
'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.00210236,
'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.00488941,
'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.00944451,
'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.140692,
'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.305881,
'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.477854,
'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.96396,
'Instruction Fetch Unit/Runtime Dynamic': 0.93876,
'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.039381,
'L2/Runtime Dynamic': 0.0269283,
'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': 7.59273,
'Load Store Unit/Data Cache/Runtime Dynamic': 3.0902,
'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.205619,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.205619,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 8.56371,
'Load Store Unit/Runtime Dynamic': 4.30987,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.507022,
'Load Store Unit/StoreQ/Runtime Dynamic': 1.01404,
'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.179944,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.180532,
'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.399995,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0501528,
'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.865215,
'Memory Management Unit/Runtime Dynamic': 0.230685,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 26.9009,
'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': 5.94433e-06,
'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.021286,
'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.252088,
'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.27338,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 9.20538,
'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': 2.83407e-06,
'Execution Unit/Complex ALUs/Runtime Dynamic': 0.202691,
'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.77103e-05,
'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.502556,
'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.810604,
'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.409166,
'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': 1.72233,
'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.574776,
'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.94809,
'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': 3.34585e-06,
'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0210794,
'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.152432,
'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.155895,
'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.152435,
'Execution Unit/Register Files/Runtime Dynamic': 0.176975,
'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.321132,
'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.10139,
'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': 3.60876,
'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.00104847,
'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.00104847,
'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.000909685,
'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.00035022,
'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.00223945,
'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.00524608,
'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.010179,
'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.149866,
'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.326579,
'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.509013,
'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.96396,
'Instruction Fetch Unit/Runtime Dynamic': 1.00088,
'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.0420631,
'L2/Runtime Dynamic': 0.0286877,
'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': 8.00094,
'Load Store Unit/Data Cache/Runtime Dynamic': 3.28873,
'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.218826,
'Load Store Unit/LoadQ/Runtime Dynamic': 0.218826,
'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961,
'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918,
'Load Store Unit/Peak Dynamic': 9.03428,
'Load Store Unit/Runtime Dynamic': 4.58672,
'Load Store Unit/StoreQ/Area': 0.322079,
'Load Store Unit/StoreQ/Gate Leakage': 0.00329971,
'Load Store Unit/StoreQ/Peak Dynamic': 0.539586,
'Load Store Unit/StoreQ/Runtime Dynamic': 1.07917,
'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.191501,
'Memory Management Unit/Dtlb/Runtime Dynamic': 0.192129,
'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.399995,
'Memory Management Unit/Itlb/Runtime Dynamic': 0.0535475,
'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.885069,
'Memory Management Unit/Runtime Dynamic': 0.245677,
'Memory Management Unit/Subthreshold Leakage': 0.0766103,
'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333,
'Peak Dynamic': 27.4629,
'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': 9.16521e-06,
'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.022674,
'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.268495,
'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.291178,
'Renaming Unit/Subthreshold Leakage': 0.0552466,
'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461,
'Runtime Dynamic': 9.76191,
'Subthreshold Leakage': 6.16288,
'Subthreshold Leakage with power gating': 2.55328}],
'DRAM': {'Area': 0,
'Gate Leakage': 0,
'Peak Dynamic': 9.230770020593798,
'Runtime Dynamic': 9.230770020593798,
'Subthreshold Leakage': 4.252,
'Subthreshold Leakage with power gating': 4.252},
'L3': [{'Area': 61.9075,
'Gate Leakage': 0.0484137,
'Peak Dynamic': 0.23455,
'Runtime Dynamic': 0.250517,
'Subthreshold Leakage': 6.80085,
'Subthreshold Leakage with power gating': 3.32364}],
'Processor': {'Area': 191.908,
'Gate Leakage': 1.53485,
'Peak Dynamic': 112.659,
'Peak Power': 145.772,
'Runtime Dynamic': 42.5047,
'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': 112.425,
'Total Cores/Runtime Dynamic': 42.2542,
'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.23455,
'Total L3s/Runtime Dynamic': 0.250517,
'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}} | 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': 3.77876e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.202692, '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': 2.27703e-05, '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.792423, '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.37219, '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.78699, '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.9516, '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.783274, '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': 6.44748, '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': 4.3018e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.028726, '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.207726, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.212446, '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.20773, 'Execution Unit/Register Files/Runtime Dynamic': 0.241172, '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.501953, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.72195, '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': 5.52279, '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.00140634, '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.00140634, '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.00121557, '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.000465454, '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.00305181, '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.00708006, '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.013818, '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.20423, '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.444653, '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.693657, '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.36344, '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.0572954, 'L2/Runtime Dynamic': 0.0391315, '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': 8.91832, 'Load Store Unit/Data Cache/Runtime Dynamic': 4.48309, '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.248505, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.298297, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 10.0966, 'Load Store Unit/Runtime Dynamic': 6.25249, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.612772, 'Load Store Unit/StoreQ/Runtime Dynamic': 1.4711, '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.217475, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.261905, '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.0729071, '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.934466, 'Memory Management Unit/Runtime Dynamic': 0.334812, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 31.0663, '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': 1.50469e-05, '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.0405203, '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.434232, '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': 0.474767, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 13.9874, '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': 2.83407e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.202691, '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.51802e-05, '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.477086, '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.769523, '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.388429, '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': 1.63504, '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.545647, '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.89105, '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': 2.86787e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0200111, '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.144707, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.147995, '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.14471, 'Execution Unit/Register Files/Runtime Dynamic': 0.168006, '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.304858, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.04584, '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': 3.45695, '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.00099059, '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.00099059, '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.000859345, '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.000330776, '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.00212596, '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.00496648, '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.00962121, '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.142271, '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.309736, '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.483217, '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.96396, 'Instruction Fetch Unit/Runtime Dynamic': 0.949811, '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.039895, 'L2/Runtime Dynamic': 0.0272317, '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': 7.66042, 'Load Store Unit/Data Cache/Runtime Dynamic': 3.12314, '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.207809, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.207809, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 8.64174, 'Load Store Unit/Runtime Dynamic': 4.3558, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.512422, 'Load Store Unit/StoreQ/Runtime Dynamic': 1.02484, '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.18186, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.182456, '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.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0507856, '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.868507, 'Memory Management Unit/Runtime Dynamic': 0.233242, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 26.9946, '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': 7.84934e-06, '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.0215249, '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.254899, '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.276431, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 9.29946, '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': 1.88938e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.20269, '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.26502e-05, '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.471792, '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.760982, '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.384118, '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': 1.61689, '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.539591, '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.87919, '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': 2.38989e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0197891, '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.1431, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.146352, '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.143103, 'Execution Unit/Register Files/Runtime Dynamic': 0.166141, '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.301473, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.03466, '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': 3.42576, '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.00097198, '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.00097198, '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.000843087, '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.000324455, '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.00210236, '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.00488941, '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.00944451, '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.140692, '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.305881, '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.477854, '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.96396, 'Instruction Fetch Unit/Runtime Dynamic': 0.93876, '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.039381, 'L2/Runtime Dynamic': 0.0269283, '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': 7.59273, 'Load Store Unit/Data Cache/Runtime Dynamic': 3.0902, '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.205619, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.205619, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 8.56371, 'Load Store Unit/Runtime Dynamic': 4.30987, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.507022, 'Load Store Unit/StoreQ/Runtime Dynamic': 1.01404, '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.179944, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.180532, '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.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0501528, '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.865215, 'Memory Management Unit/Runtime Dynamic': 0.230685, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 26.9009, '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': 5.94433e-06, '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.021286, '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.252088, '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.27338, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 9.20538, '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': 2.83407e-06, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.202691, '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.77103e-05, '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.502556, '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.810604, '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.409166, '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': 1.72233, '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.574776, '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.94809, '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': 3.34585e-06, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0210794, '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.152432, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.155895, '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.152435, 'Execution Unit/Register Files/Runtime Dynamic': 0.176975, '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.321132, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.10139, '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': 3.60876, '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.00104847, '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.00104847, '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.000909685, '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.00035022, '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.00223945, '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.00524608, '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.010179, '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.149866, '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.326579, '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.509013, '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.96396, 'Instruction Fetch Unit/Runtime Dynamic': 1.00088, '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.0420631, 'L2/Runtime Dynamic': 0.0286877, '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': 8.00094, 'Load Store Unit/Data Cache/Runtime Dynamic': 3.28873, '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.218826, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.218826, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 9.03428, 'Load Store Unit/Runtime Dynamic': 4.58672, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.539586, 'Load Store Unit/StoreQ/Runtime Dynamic': 1.07917, '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.191501, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.192129, '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.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0535475, '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.885069, 'Memory Management Unit/Runtime Dynamic': 0.245677, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 27.4629, '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': 9.16521e-06, '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.022674, '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.268495, '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.291178, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 9.76191, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 9.230770020593798, 'Runtime Dynamic': 9.230770020593798, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.23455, 'Runtime Dynamic': 0.250517, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 112.659, 'Peak Power': 145.772, 'Runtime Dynamic': 42.5047, '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': 112.425, 'Total Cores/Runtime Dynamic': 42.2542, '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.23455, 'Total L3s/Runtime Dynamic': 0.250517, '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}} |
# This file contains default error messages to be used.
notFound = {
"status": "error",
"type": "404 Not found",
"message": "Not found error"
}
serverError = {
"status": "error",
"type": "500 Server error",
"message": "Unknown internal server error"
}
badRequest = {
"status": "error",
"type": "400 Bad request",
"message": "Bad request, please check your syntax and try again"
}
| not_found = {'status': 'error', 'type': '404 Not found', 'message': 'Not found error'}
server_error = {'status': 'error', 'type': '500 Server error', 'message': 'Unknown internal server error'}
bad_request = {'status': 'error', 'type': '400 Bad request', 'message': 'Bad request, please check your syntax and try again'} |
# -*- coding: utf-8 -*-
def main():
d = list(map(int, input().split()))
j = list(map(int, input().split()))
gold_amount = 0
for di, ji in zip(d, j):
gold_amount += max(di, ji)
print(gold_amount)
if __name__ == '__main__':
main()
| def main():
d = list(map(int, input().split()))
j = list(map(int, input().split()))
gold_amount = 0
for (di, ji) in zip(d, j):
gold_amount += max(di, ji)
print(gold_amount)
if __name__ == '__main__':
main() |
'''
For Admins:
This Template class is to help developers add additional cloud platforms to the software
'''
'''
class [Platform_NAME](object):
def __init__(self):
## For attributes use convention [NAME]_[FUNCTION]_[PARAM]
## The below attributes are strongly recomended to have within new platform classes
__[Platform_NAME]__user_download_path #Consider this to be a private function
__[Platform_NAME]_get_files_list_result #Conisder this to be a private function
__[Platform_NAME]_entries_to_download_list #Consider this to be a private function
[Platform_NAME]_format_dict
[Platform_NAME]_flat_dict
## For Admins - the following three functions are designed based off of the OAuth2 requriements
## If the platform that is being added does not have OAuth2 authentication the following three functions
## are unneccessay.
def [Platform_NAME]_authentication_flow(self, request):
# This function call requires a redirect_uri that may need to need to be specified within the app console
# of the platform being used. This class should return the Flow component of the OAuth2 authentication. This
# will likey need a request.session to help manage state.
def [Platform_NAMe]_authentication_start(self):
# This function will initiate the starting parameters for the OAuth2 authentication to use this
# capability appropriately, after this method is created, this object will need to be instatiated
# within the veiws.py script. Additionally the urls.py/urlpattern needs to be updated with the following:
path('[Platform_NAME]-auth-start', views.[Platform_NAME].[Platform_NAME]_authentication_start)
# When the user selects the new plaform, the Views Index class will need to return a redirect function
# redirect('[Platform_NAME]-auth-start')
# Finally this method should instatiate a redirect_url to created by the authentication_flow method noted previously
# The return will need a django.shortcuts.redirect() to the redirect_url to allow the user to log into the new platform
def [Platform_NAME]_authentication_finish(self):
# This fucntion will finalize the OAuth2 authentication. After this method is created, this object will need to be instatiated
# within the veiws.py script. Additionally the urls.py/urlpattern needs to be updated with the following:
path('[Platform_NAME]-auth-finish', views.[Platform_NAME].[Platform_NAME]_authentication_finish)
# The authentication_flow, may require a redirect_uri that includes the full uri to the [Platform_NAME]-auth-finish
# This function will catch any errors that arise within the OAuth2 authentication flow.
# This function will also call all neccessary function to gather files and folders of the application users platform.
# The returned object will then need to be formated into either a dict specified as:
{'path':'', 'dirs':[], 'files':[]} in which every dir contains the same dict and dict list for subsequent directories
# Currently the software requires a flat_dict, in which all files are pulled out along with their full path and any required
# attributes neccessary for downloading. The flact dict will be written as
{'file':[]} with all the attributes required for downloading files.
def [Platform_NAME]_get_files_list(self):
# This is a generic template for gathering files, use selected platforms api to gather the application users files and folders
# Often this may have a list of file entires as a return
def [Platform_NAME]_format_entries_list(self):
# This function will take the return of [NAME]_get_files_list
# And provide the neccessary information to pass to the views context to display the application users platform files
def [Platform_NAME]_download_selected_entries(self, path):
# This function will download the list returned by [NAME]_select_entries_to_download
# Using the [NAME]_download_path to specify the location on the server where the files and folders will be uploaded to,
# This function should also include a warning that if a file is alread known on a system, it will not overwrite the file.
''' | """
For Admins:
This Template class is to help developers add additional cloud platforms to the software
"""
"\nclass [Platform_NAME](object):\n def __init__(self):\n ## For attributes use convention [NAME]_[FUNCTION]_[PARAM]\n ## The below attributes are strongly recomended to have within new platform classes \n __[Platform_NAME]__user_download_path #Consider this to be a private function\n __[Platform_NAME]_get_files_list_result #Conisder this to be a private function\n __[Platform_NAME]_entries_to_download_list #Consider this to be a private function\n [Platform_NAME]_format_dict\n [Platform_NAME]_flat_dict\n\n ## For Admins - the following three functions are designed based off of the OAuth2 requriements\n ## If the platform that is being added does not have OAuth2 authentication the following three functions \n ## are unneccessay.\n\n def [Platform_NAME]_authentication_flow(self, request):\n # This function call requires a redirect_uri that may need to need to be specified within the app console \n # of the platform being used. This class should return the Flow component of the OAuth2 authentication. This \n # will likey need a request.session to help manage state. \n\n def [Platform_NAMe]_authentication_start(self):\n # This function will initiate the starting parameters for the OAuth2 authentication to use this \n # capability appropriately, after this method is created, this object will need to be instatiated\n # within the veiws.py script. Additionally the urls.py/urlpattern needs to be updated with the following:\n path('[Platform_NAME]-auth-start', views.[Platform_NAME].[Platform_NAME]_authentication_start)\n # When the user selects the new plaform, the Views Index class will need to return a redirect function\n # redirect('[Platform_NAME]-auth-start')\n # Finally this method should instatiate a redirect_url to created by the authentication_flow method noted previously\n # The return will need a django.shortcuts.redirect() to the redirect_url to allow the user to log into the new platform\n\n def [Platform_NAME]_authentication_finish(self):\n # This fucntion will finalize the OAuth2 authentication. After this method is created, this object will need to be instatiated\n # within the veiws.py script. Additionally the urls.py/urlpattern needs to be updated with the following:\n path('[Platform_NAME]-auth-finish', views.[Platform_NAME].[Platform_NAME]_authentication_finish)\n # The authentication_flow, may require a redirect_uri that includes the full uri to the [Platform_NAME]-auth-finish\n # This function will catch any errors that arise within the OAuth2 authentication flow. \n # This function will also call all neccessary function to gather files and folders of the application users platform.\n # The returned object will then need to be formated into either a dict specified as:\n {'path':'', 'dirs':[], 'files':[]} in which every dir contains the same dict and dict list for subsequent directories\n # Currently the software requires a flat_dict, in which all files are pulled out along with their full path and any required \n # attributes neccessary for downloading. The flact dict will be written as\n {'file':[]} with all the attributes required for downloading files.\n\n def [Platform_NAME]_get_files_list(self):\n # This is a generic template for gathering files, use selected platforms api to gather the application users files and folders\n # Often this may have a list of file entires as a return\n\n def [Platform_NAME]_format_entries_list(self):\n # This function will take the return of [NAME]_get_files_list\n # And provide the neccessary information to pass to the views context to display the application users platform files\n \n def [Platform_NAME]_download_selected_entries(self, path):\n # This function will download the list returned by [NAME]_select_entries_to_download\n # Using the [NAME]_download_path to specify the location on the server where the files and folders will be uploaded to, \n # This function should also include a warning that if a file is alread known on a system, it will not overwrite the file.\n" |
# https://leetcode.com/problems/determine-if-string-halves-are-alike/
def halves_are_alike(s):
vowels = {
'a': True,
'e': True,
'i': True,
'o': True,
'u': True,
'A': True,
'E': True,
'I': True,
'O': True,
'U': True,
}
middle_index = len(s) // 2
a, b = s[:middle_index], s[middle_index:]
a_counter, b_counter = 0, 0
for char in a:
if char in vowels:
a_counter += 1
for char in b:
if char in vowels:
b_counter += 1
return a_counter == b_counter | def halves_are_alike(s):
vowels = {'a': True, 'e': True, 'i': True, 'o': True, 'u': True, 'A': True, 'E': True, 'I': True, 'O': True, 'U': True}
middle_index = len(s) // 2
(a, b) = (s[:middle_index], s[middle_index:])
(a_counter, b_counter) = (0, 0)
for char in a:
if char in vowels:
a_counter += 1
for char in b:
if char in vowels:
b_counter += 1
return a_counter == b_counter |
def hex_rgb(argument):
"""Convert the argument string to a tuple of integers.
"""
h = argument.lstrip("#")
num_digits = len(h)
if num_digits == 3:
return (
int(h[0], 16),
int(h[1], 16),
int(h[2], 16),
)
elif num_digits == 4:
return (
int(h[0], 16),
int(h[1], 16),
int(h[2], 16),
int(h[3], 16),
)
elif num_digits == 6:
return (
int(h[0:2], 16),
int(h[2:4], 16),
int(h[4:6], 16),
)
elif num_digits == 8:
return (
int(h[0:2], 16),
int(h[2:4], 16),
int(h[4:6], 16),
int(h[6:8], 16),
)
else:
raise ValueError(f"Could not interpret {argument!r} as RGB or RGBA hex color")
class RGBA:
MINIMUM_CHANNEL = 0
MAXIMUM_CHANNEL = 255
@classmethod
def from_hex(cls, color):
channels = hex_rgb(color)
if len(channels) == 3:
return cls(*channels, alpha=cls.MAXIMUM_CHANNEL)
return cls(*channels)
@classmethod
def from_floats(cls, red, green, blue, alpha):
return cls(
red * cls.MAXIMUM_CHANNEL,
green * cls.MAXIMUM_CHANNEL,
blue * cls.MAXIMUM_CHANNEL,
alpha * cls.MAXIMUM_CHANNEL,
)
def __init__(self, red, green, blue, alpha):
if not (self.MINIMUM_CHANNEL <= red <= self.MAXIMUM_CHANNEL):
raise ValueError(
f"RGBA red channel {red} out of range {self.MINIMUM_CHANNEL} "
f"to {self.MAXIMUM_CHANNEL}"
)
if not (self.MINIMUM_CHANNEL <= green <= self.MAXIMUM_CHANNEL):
raise ValueError(
f"RGBA green channel {green} out of range {self.MINIMUM_CHANNEL} "
f"to {self.MAXIMUM_CHANNEL}"
)
if not (self.MINIMUM_CHANNEL <= blue <= self.MAXIMUM_CHANNEL):
raise ValueError(
f"RGBA blue channel {blue} out of range {self.MINIMUM_CHANNEL} "
f"to {self.MAXIMUM_CHANNEL}"
)
if not (self.MINIMUM_CHANNEL <= alpha <= self.MAXIMUM_CHANNEL):
raise ValueError(
f"RGBA alpha channel {alpha} out of range {self.MINIMUM_CHANNEL} "
f"to {self.MAXIMUM_CHANNEL}"
)
self._red = red
self._green = green
self._blue = blue
self._alpha = alpha
@property
def red(self):
return self._red
@property
def green(self):
return self._green
@property
def blue(self):
return self._blue
@property
def alpha(self):
return self._alpha
def as_tuple(self):
return (self.red, self.green, self.blue, self.alpha)
def _key(self):
return self.as_tuple()
def __eq__(self, other):
if not isinstance(other, type(self)):
return NotImplemented
return self._key() == other._key()
def __hash__(self):
return hash(self._key())
def __repr__(self):
return (
f"{type(self).__name__}(red={self.red}, green={self.green}, "
f"blue={self.blue}, alpha={self.alpha})"
) | def hex_rgb(argument):
"""Convert the argument string to a tuple of integers.
"""
h = argument.lstrip('#')
num_digits = len(h)
if num_digits == 3:
return (int(h[0], 16), int(h[1], 16), int(h[2], 16))
elif num_digits == 4:
return (int(h[0], 16), int(h[1], 16), int(h[2], 16), int(h[3], 16))
elif num_digits == 6:
return (int(h[0:2], 16), int(h[2:4], 16), int(h[4:6], 16))
elif num_digits == 8:
return (int(h[0:2], 16), int(h[2:4], 16), int(h[4:6], 16), int(h[6:8], 16))
else:
raise value_error(f'Could not interpret {argument!r} as RGB or RGBA hex color')
class Rgba:
minimum_channel = 0
maximum_channel = 255
@classmethod
def from_hex(cls, color):
channels = hex_rgb(color)
if len(channels) == 3:
return cls(*channels, alpha=cls.MAXIMUM_CHANNEL)
return cls(*channels)
@classmethod
def from_floats(cls, red, green, blue, alpha):
return cls(red * cls.MAXIMUM_CHANNEL, green * cls.MAXIMUM_CHANNEL, blue * cls.MAXIMUM_CHANNEL, alpha * cls.MAXIMUM_CHANNEL)
def __init__(self, red, green, blue, alpha):
if not self.MINIMUM_CHANNEL <= red <= self.MAXIMUM_CHANNEL:
raise value_error(f'RGBA red channel {red} out of range {self.MINIMUM_CHANNEL} to {self.MAXIMUM_CHANNEL}')
if not self.MINIMUM_CHANNEL <= green <= self.MAXIMUM_CHANNEL:
raise value_error(f'RGBA green channel {green} out of range {self.MINIMUM_CHANNEL} to {self.MAXIMUM_CHANNEL}')
if not self.MINIMUM_CHANNEL <= blue <= self.MAXIMUM_CHANNEL:
raise value_error(f'RGBA blue channel {blue} out of range {self.MINIMUM_CHANNEL} to {self.MAXIMUM_CHANNEL}')
if not self.MINIMUM_CHANNEL <= alpha <= self.MAXIMUM_CHANNEL:
raise value_error(f'RGBA alpha channel {alpha} out of range {self.MINIMUM_CHANNEL} to {self.MAXIMUM_CHANNEL}')
self._red = red
self._green = green
self._blue = blue
self._alpha = alpha
@property
def red(self):
return self._red
@property
def green(self):
return self._green
@property
def blue(self):
return self._blue
@property
def alpha(self):
return self._alpha
def as_tuple(self):
return (self.red, self.green, self.blue, self.alpha)
def _key(self):
return self.as_tuple()
def __eq__(self, other):
if not isinstance(other, type(self)):
return NotImplemented
return self._key() == other._key()
def __hash__(self):
return hash(self._key())
def __repr__(self):
return f'{type(self).__name__}(red={self.red}, green={self.green}, blue={self.blue}, alpha={self.alpha})' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.