content
stringlengths 7
1.05M
| fixed_cases
stringlengths 1
1.28M
|
---|---|
# The observer pattern is a software design pattern in which an object, called the subject,
# maintains a list of its dependents, called observers, and notifies them automatically of
# any state changes, usually by calling one of their methods.
# See more in wiki: https://en.wikipedia.org/wiki/Observer_pattern
#
# We will use Observer pattern to build a subscription system which notify all observers
# when you have updates.
# Observer Class
class Observer(object):
def __init__(self, id):
self._id = id
def update(self, message):
print("Observer %d get the update : %s" %(self._id, message))
# Subject Class: is being observed by Observer
class Subject(object):
def __init__(self):
self._observer_list = []
self._message = ""
def add_observer(self, observer):
self._observer_list.append(observer)
def set_message(self, message):
self._message = message
def notify_observers(self):
for observer in self._observer_list:
observer.update(self._message)
if __name__ == '__main__':
subject = Subject()
subject.add_observer(Observer(1))
subject.add_observer(Observer(2))
subject.add_observer(Observer(3))
subject.set_message("This is the overview of 2016, ...")
subject.notify_observers()
subject.add_observer(Observer(4))
subject.add_observer(Observer(5))
subject.set_message("This is the overview of 2017, ...")
subject.notify_observers()
subject.add_observer(Observer(6))
subject.set_message("This is the overview of 2018, ...")
subject.notify_observers()
| class Observer(object):
def __init__(self, id):
self._id = id
def update(self, message):
print('Observer %d get the update : %s' % (self._id, message))
class Subject(object):
def __init__(self):
self._observer_list = []
self._message = ''
def add_observer(self, observer):
self._observer_list.append(observer)
def set_message(self, message):
self._message = message
def notify_observers(self):
for observer in self._observer_list:
observer.update(self._message)
if __name__ == '__main__':
subject = subject()
subject.add_observer(observer(1))
subject.add_observer(observer(2))
subject.add_observer(observer(3))
subject.set_message('This is the overview of 2016, ...')
subject.notify_observers()
subject.add_observer(observer(4))
subject.add_observer(observer(5))
subject.set_message('This is the overview of 2017, ...')
subject.notify_observers()
subject.add_observer(observer(6))
subject.set_message('This is the overview of 2018, ...')
subject.notify_observers() |
DEBUG = True
ADMINS = frozenset([
"[email protected]"
])
| debug = True
admins = frozenset(['[email protected]']) |
magic_square = [
[8, 3, 4],
[1, 5, 9],
[6, 7, 2]
]
print("Row")
print(magic_square[0][0]+magic_square[0][1]+magic_square[0][2])
print(magic_square[1][0]+magic_square[1][1]+magic_square[1][2])
print(magic_square[2][0]+magic_square[2][1]+magic_square[2][2])
print("colume")
print(magic_square[0][0]+magic_square[1][0]+magic_square[2][0])
print(magic_square[0][1]+magic_square[1][1]+magic_square[2][1])
print(magic_square[0][2]+magic_square[1][2]+magic_square[2][2])
print("diagonals")
print(magic_square[0][0]+magic_square[1][1]+magic_square[2][2])
print(magic_square[0][2]+magic_square[1][1]+magic_square[2][0])
# magic_square = [
# [8, 3, 4],
# [1, 5, 9],
# [6, 7, 2]
# ]
# total = 0
# for i in magic_square:
# sum_1 = 0
# for j in i:
# sum_1+=j
# # print(sum_1)
# total+=sum_1
# if total % sum_1 == 0:
# m = True
# # print(m)
# m = sum_1
# sec_total = 0
# for y in range(len(magic_square)):
# add = 0
# for i in magic_square:
# for j in range(len(i)):
# if j == y:
# a=i[j]
# # print(a)
# add+=a
# # print(add)
# sec_total+=add
# # print(sec_total)
# # print(add)
# if sec_total%add==0:
# n = True
# # print(n)
# n=add
# ples=0
# add=0
# y=0
# o=2
# for i in magic_square:
# for j in range(len(i)):
# if j == y:
# b=i[y]
# y+=1
# # print(b)
# ples+=b
# break
# # print(ples)
# for i in magic_square:
# for j in range(len(i)):
# if j == o:
# c=i[o]
# add+=c
# o-=1
# # print(c)
# break
# # print(add)
# if add==ples and add==m and m==n:
# print("magic_square hai")
# else:
# print("magic_square nahi hai")
| magic_square = [[8, 3, 4], [1, 5, 9], [6, 7, 2]]
print('Row')
print(magic_square[0][0] + magic_square[0][1] + magic_square[0][2])
print(magic_square[1][0] + magic_square[1][1] + magic_square[1][2])
print(magic_square[2][0] + magic_square[2][1] + magic_square[2][2])
print('colume')
print(magic_square[0][0] + magic_square[1][0] + magic_square[2][0])
print(magic_square[0][1] + magic_square[1][1] + magic_square[2][1])
print(magic_square[0][2] + magic_square[1][2] + magic_square[2][2])
print('diagonals')
print(magic_square[0][0] + magic_square[1][1] + magic_square[2][2])
print(magic_square[0][2] + magic_square[1][1] + magic_square[2][0]) |
class UserImporter:
def __init__(self, api):
self.api = api
self.users = {}
def run(self):
users = self.api.GetPersons()
def save_site_privs(self, user):
# update site roles
pass
def save_slice_privs(self, user):
# update slice roles
pass
| class Userimporter:
def __init__(self, api):
self.api = api
self.users = {}
def run(self):
users = self.api.GetPersons()
def save_site_privs(self, user):
pass
def save_slice_privs(self, user):
pass |
def I(d,i,v):d[i]=d.setdefault(i,0)+v
L=open("inputday14").readlines();t,d,p=L[0],dict([l.strip().split(' -> ')for l in L[2:]]),{};[I(p,t[i:i+2],1)for i in range(len(t)-2)]
def E(P):o=dict(P);[(I(P,p,-o[p]),I(P,p[0]+n,o[p]),I(P,n+p[1],o[p]))for p,n in d.items()if p in o.keys()];return P
def C(P):e={};[I(e,c,v)for p,v in P.items()for c in p];return{x:-int(e[x]/2//-1)for x in e}
print((r:=[max(e:=C(E(p)).values())-min(e)for i in range(40)])[9],r[-1])
| def i(d, i, v):
d[i] = d.setdefault(i, 0) + v
l = open('inputday14').readlines()
(t, d, p) = (L[0], dict([l.strip().split(' -> ') for l in L[2:]]), {})
[i(p, t[i:i + 2], 1) for i in range(len(t) - 2)]
def e(P):
o = dict(P)
[(i(P, p, -o[p]), i(P, p[0] + n, o[p]), i(P, n + p[1], o[p])) for (p, n) in d.items() if p in o.keys()]
return P
def c(P):
e = {}
[i(e, c, v) for (p, v) in P.items() for c in p]
return {x: -int(e[x] / 2 // -1) for x in e}
print((r := [max((e := c(e(p)).values())) - min(e) for i in range(40)])[9], r[-1]) |
N,M=map(int,input().split())
edges=[list(map(int,input().split())) for i in range(M)]
ans=0
for x in edges:
l=list(range(N))
for y in edges:
if y!=x:l=[l[y[0]-1] if l[i]==l[y[1]-1] else l[i] for i in range(N)]
if len(set(l))!=1:ans+=1
print(ans) | (n, m) = map(int, input().split())
edges = [list(map(int, input().split())) for i in range(M)]
ans = 0
for x in edges:
l = list(range(N))
for y in edges:
if y != x:
l = [l[y[0] - 1] if l[i] == l[y[1] - 1] else l[i] for i in range(N)]
if len(set(l)) != 1:
ans += 1
print(ans) |
def initialize_weights_normal(network):
pass
def initialize_weights_xavier(network):
pass
| def initialize_weights_normal(network):
pass
def initialize_weights_xavier(network):
pass |
class Solution:
def fourSum(self, nums: List[int], target: int) -> List[List[int]]:
def kSum(nums: List[int], target: int, k: int) -> List[List[int]]:
res = []
# If we have run out of numbers to add, return res.
if not nums:
return res
# There are k remaining values to add to the sum. The
# average of these values is at least target // k.
average_value = target // k
# We cannot obtain a sum of target if the smallest value
# in nums is greater than target // k or if the largest
# value in nums is smaller than target // k.
if average_value < nums[0] or nums[-1] < average_value:
return res
if k == 2:
return twoSum(nums, target)
for i in range(len(nums)):
if i == 0 or nums[i - 1] != nums[i]:
for subset in kSum(nums[i + 1:], target - nums[i], k - 1):
res.append([nums[i]] + subset)
return res
def twoSum(nums: List[int], target: int) -> List[List[int]]:
res = []
lo, hi = 0, len(nums) - 1
while (lo < hi):
curr_sum = nums[lo] + nums[hi]
if curr_sum < target or (lo > 0 and nums[lo] == nums[lo - 1]):
lo += 1
elif curr_sum > target or (hi < len(nums) - 1 and nums[hi] == nums[hi + 1]):
hi -= 1
else:
res.append([nums[lo], nums[hi]])
lo += 1
hi -= 1
return res
nums.sort()
return kSum(nums, target, 4) | class Solution:
def four_sum(self, nums: List[int], target: int) -> List[List[int]]:
def k_sum(nums: List[int], target: int, k: int) -> List[List[int]]:
res = []
if not nums:
return res
average_value = target // k
if average_value < nums[0] or nums[-1] < average_value:
return res
if k == 2:
return two_sum(nums, target)
for i in range(len(nums)):
if i == 0 or nums[i - 1] != nums[i]:
for subset in k_sum(nums[i + 1:], target - nums[i], k - 1):
res.append([nums[i]] + subset)
return res
def two_sum(nums: List[int], target: int) -> List[List[int]]:
res = []
(lo, hi) = (0, len(nums) - 1)
while lo < hi:
curr_sum = nums[lo] + nums[hi]
if curr_sum < target or (lo > 0 and nums[lo] == nums[lo - 1]):
lo += 1
elif curr_sum > target or (hi < len(nums) - 1 and nums[hi] == nums[hi + 1]):
hi -= 1
else:
res.append([nums[lo], nums[hi]])
lo += 1
hi -= 1
return res
nums.sort()
return k_sum(nums, target, 4) |
class Employee:
def __init__(self, first, last, sex):
self.first = first
self.last = last
self.sex = sex
self.email = first + '.' + last + '@company.com'
def fullname(self):
return "{} {}".format(self.first, self.last)
def main():
emp_1 = Employee('prajesh', 'ananthan', 'male')
print(emp_1.fullname())
if __name__ == '__main__':
main()
| class Employee:
def __init__(self, first, last, sex):
self.first = first
self.last = last
self.sex = sex
self.email = first + '.' + last + '@company.com'
def fullname(self):
return '{} {}'.format(self.first, self.last)
def main():
emp_1 = employee('prajesh', 'ananthan', 'male')
print(emp_1.fullname())
if __name__ == '__main__':
main() |
class Solution:
def lowestCommonAncestor(self, root: 'TreeNode', nodes: 'List[TreeNode]') -> 'TreeNode':
nodes = set(nodes)
return self._lca(root, nodes)
def _lca(self, root, nodes):
if not root or root in nodes:
return root
l = self._lca(root.left, nodes)
r = self._lca(root.right, nodes)
if l and r:
return root
return l if l else r
| class Solution:
def lowest_common_ancestor(self, root: 'TreeNode', nodes: 'List[TreeNode]') -> 'TreeNode':
nodes = set(nodes)
return self._lca(root, nodes)
def _lca(self, root, nodes):
if not root or root in nodes:
return root
l = self._lca(root.left, nodes)
r = self._lca(root.right, nodes)
if l and r:
return root
return l if l else r |
#
# PySNMP MIB module EMC-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/EMC-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:02:38 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Gauge32, Counter32, TimeTicks, NotificationType, Integer32, MibIdentifier, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, Bits, ObjectIdentity, IpAddress, Opaque, ModuleIdentity, experimental, NotificationType, enterprises, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "Counter32", "TimeTicks", "NotificationType", "Integer32", "MibIdentifier", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "Bits", "ObjectIdentity", "IpAddress", "Opaque", "ModuleIdentity", "experimental", "NotificationType", "enterprises", "iso")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
class UInt32(Gauge32):
pass
emc = MibIdentifier((1, 3, 6, 1, 4, 1, 1139))
emcSymmetrix = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1))
systemCalls = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 2))
informational = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1))
systemInformation = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257))
systemCodes = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258))
diskAdapterDeviceConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273))
deviceHostAddressConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281))
control = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 2))
discovery = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 3))
agentAdministration = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 4))
analyzer = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000))
analyzerFiles = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3))
clients = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1001))
trapSetup = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1002))
activePorts = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1003))
agentConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1004))
subagentConfiguration = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005))
mainframeVariables = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 5))
symAPI = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6))
symAPIList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1))
symList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 1))
symRemoteList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 2))
symDevList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3))
symPDevList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4))
symPDevNoDgList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5))
symDevNoDgList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6))
symDgList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 7))
symLDevList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8))
symGateList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9))
symBcvDevList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10))
symBcvPDevList = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11))
symAPIShow = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2))
symShow = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1))
symDevShow = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2))
symAPIStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3))
dirPortStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10))
symmEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 1139, 1, 7))
emcControlCenter = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 1), )
if mibBuilder.loadTexts: emcControlCenter.setStatus('obsolete')
if mibBuilder.loadTexts: emcControlCenter.setDescription('A list of EMC Control Center specific variables entries. The number of entries is given by the value of discoveryTableSize.')
esmVariables = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: esmVariables.setStatus('obsolete')
if mibBuilder.loadTexts: esmVariables.setDescription('An entry containing objects for a particular Symmertrix.')
emcSymCnfg = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 1), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymCnfg.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymCnfg.setDescription('symmetrix.cnfg disk variable ')
emcSymDiskCfg = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 2), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymDiskCfg.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymDiskCfg.setDescription('Symmetrix DISKS CONFIGURATION data')
emcSymMirrorDiskCfg = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 3), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymMirrorDiskCfg.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymMirrorDiskCfg.setDescription('Symmetrix MIRRORED DISKS CONFIGURATION data')
emcSymMirror3DiskCfg = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 4), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymMirror3DiskCfg.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymMirror3DiskCfg.setDescription('Symmetrix MIRRORED3 DISKS CONFIGURATION data')
emcSymMirror4DiskCfg = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 5), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymMirror4DiskCfg.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymMirror4DiskCfg.setDescription('Symmetrix MIRRORED4 DISKS CONFIGURATION data')
emcSymStatistics = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 6), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymStatistics.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymStatistics.setDescription('Symmetrix STATISTICS data')
emcSymUtilA7 = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymUtilA7.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymUtilA7.setDescription("UTILITY A7 -- Show disks 'W PEND' tracks counts")
emcSymRdfMaint = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 8), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymRdfMaint.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymRdfMaint.setDescription('Symmetrix Remote Data Facility Maintenance')
emcSymWinConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 9), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymWinConfig.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymWinConfig.setDescription('EMC ICDA Manager CONFIGURATION data')
emcSymUtil99 = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 10), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymUtil99.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymUtil99.setDescription('Symmetrix error stats')
emcSymDir = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 11), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymDir.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymDir.setDescription('Symmetrix director information.')
emcSymDevStats = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 12), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymDevStats.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymDevStats.setDescription('Symmetrix error stats')
emcSymSumStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 13), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymSumStatus.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymSumStatus.setDescription('Symmetrix Summary Status. 0 = no errors 1 = warning 2+ = Fatal error ')
emcRatiosOutofRange = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 14), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcRatiosOutofRange.setStatus('obsolete')
if mibBuilder.loadTexts: emcRatiosOutofRange.setDescription('Symmetrix Write/Hit Ratio Status. A bit-wise integer value indicating hit or write ratio out of range. If (value & 1) then hit ratio out of specified range. If (value & 2) then write ratio out of specified range. ')
emcSymPortStats = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 15), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymPortStats.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymPortStats.setDescription('Symmetrix port statistics')
emcSymBCVDevice = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 16), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymBCVDevice.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymBCVDevice.setDescription('Symmetrix BCV Device information')
emcSymSaitInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 17), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymSaitInfo.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymSaitInfo.setDescription('Symmetrix SCSI/Fiber channel information')
emcSymTimefinderInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 18), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymTimefinderInfo.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymTimefinderInfo.setDescription('Symmetrix Tinmefinder information')
emcSymSRDFInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 19), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymSRDFInfo.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymSRDFInfo.setDescription('Symmetrix RDF Device information')
emcSymPhysDevStats = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 20), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymPhysDevStats.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymPhysDevStats.setDescription('Symmetrix Physical Device Statistics')
emcSymSumStatusErrorCodes = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 98), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymSumStatusErrorCodes.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymSumStatusErrorCodes.setDescription('A Colon-delimited list of error codes that caused the error in emcSymSumStatus ')
systemInfoHeaderTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1), )
if mibBuilder.loadTexts: systemInfoHeaderTable.setStatus('obsolete')
if mibBuilder.loadTexts: systemInfoHeaderTable.setDescription('A table of Symmetrix information contain is the results of Syscall 0x0101 for the specified Symmetrix instance. The number of entries is given by the value discIndex.')
systemInfoHeaderEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: systemInfoHeaderEntry.setStatus('obsolete')
if mibBuilder.loadTexts: systemInfoHeaderEntry.setDescription('An entry containing objects for the indicated systemInfoHeaderTable element.')
sysinfoBuffer = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1, 1), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysinfoBuffer.setStatus('obsolete')
if mibBuilder.loadTexts: sysinfoBuffer.setDescription('The entire return buffer of system call 0x0101 for the indicated Symmetrix.')
sysinfoNumberofRecords = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysinfoNumberofRecords.setStatus('obsolete')
if mibBuilder.loadTexts: sysinfoNumberofRecords.setDescription('The count of the number of records in the buffer returned by Syscall 0x0101.')
sysinfoRecordSize = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysinfoRecordSize.setStatus('obsolete')
if mibBuilder.loadTexts: sysinfoRecordSize.setDescription('This object is the size of one record in the buffer returned by Syscall 0x0101.')
sysinfoFirstRecordNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysinfoFirstRecordNumber.setStatus('obsolete')
if mibBuilder.loadTexts: sysinfoFirstRecordNumber.setDescription('This object is the first record number in the buffer returned by Syscall 0x0101.')
sysinfoMaxRecords = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysinfoMaxRecords.setStatus('obsolete')
if mibBuilder.loadTexts: sysinfoMaxRecords.setDescription('This object is the maximum number of records available in this Symmetrix for Syscall 0x0101.')
sysinfoRecordsTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2), )
if mibBuilder.loadTexts: sysinfoRecordsTable.setStatus('obsolete')
if mibBuilder.loadTexts: sysinfoRecordsTable.setDescription('This table provides a method to access one device record within the buffer returned by Syscall 0x0101.')
sysinfoRecordsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: sysinfoRecordsEntry.setStatus('obsolete')
if mibBuilder.loadTexts: sysinfoRecordsEntry.setDescription('One entire record of system information for the indicated Symmetrix.')
sysinfoSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysinfoSerialNumber.setStatus('obsolete')
if mibBuilder.loadTexts: sysinfoSerialNumber.setDescription(' This object describes the serial number of indicated Symmetrix.')
sysinfoNumberofDirectors = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2, 1, 19), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysinfoNumberofDirectors.setStatus('obsolete')
if mibBuilder.loadTexts: sysinfoNumberofDirectors.setDescription('The number of directors in this Symmetrix. ')
sysinfoNumberofVolumes = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2, 1, 23), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysinfoNumberofVolumes.setStatus('obsolete')
if mibBuilder.loadTexts: sysinfoNumberofVolumes.setDescription(' This object describes the number of logical devices present on the system.')
sysinfoMemorySize = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2, 1, 25), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sysinfoMemorySize.setStatus('obsolete')
if mibBuilder.loadTexts: sysinfoMemorySize.setDescription('The amount of memory, in Megabytes, in the system. This is also the last memory address in the system ')
systemCodesTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1), )
if mibBuilder.loadTexts: systemCodesTable.setStatus('obsolete')
if mibBuilder.loadTexts: systemCodesTable.setDescription('A table of Symmetrix information contain is the results of Syscall 0x0102 for the specified Symmetrix instance. The number of entries is given by the value discIndex.')
systemCodesEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: systemCodesEntry.setStatus('obsolete')
if mibBuilder.loadTexts: systemCodesEntry.setDescription('An entry containing objects for the indicated systemCodesTable element.')
syscodesBuffer = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1, 1), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: syscodesBuffer.setStatus('obsolete')
if mibBuilder.loadTexts: syscodesBuffer.setDescription('The entire return buffer of system call 0x0102. ')
syscodesNumberofRecords = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: syscodesNumberofRecords.setStatus('obsolete')
if mibBuilder.loadTexts: syscodesNumberofRecords.setDescription('The count of the number of records in the buffer returned by Syscall 0x0102.')
syscodesRecordSize = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: syscodesRecordSize.setStatus('obsolete')
if mibBuilder.loadTexts: syscodesRecordSize.setDescription('This object is the size of one record in the buffer returned by Syscall 0x0102.')
syscodesFirstRecordNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: syscodesFirstRecordNumber.setStatus('obsolete')
if mibBuilder.loadTexts: syscodesFirstRecordNumber.setDescription('This object is the first record number in the buffer returned by Syscall 0x0102.')
syscodesMaxRecords = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: syscodesMaxRecords.setStatus('obsolete')
if mibBuilder.loadTexts: syscodesMaxRecords.setDescription('This object is the maximum number of records available in this Symmetrix for Syscall 0x0102.')
systemCodesRecordsTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2), )
if mibBuilder.loadTexts: systemCodesRecordsTable.setStatus('obsolete')
if mibBuilder.loadTexts: systemCodesRecordsTable.setDescription('This table provides a method to access one director record within the buffer returned by Syscall 0x0102.')
systemCodesRecordsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "syscodesDirectorNum"))
if mibBuilder.loadTexts: systemCodesRecordsEntry.setStatus('obsolete')
if mibBuilder.loadTexts: systemCodesRecordsEntry.setDescription('One entire record of system code information for the the indicated Symmetrix and director.')
syscodesDirectorType = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("parallel-adapter", 1), ("escon-adapter", 2), ("scsi-adapter", 3), ("disk-adapter", 4), ("remote-adapter", 5), ("fiber-adapter", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: syscodesDirectorType.setStatus('obsolete')
if mibBuilder.loadTexts: syscodesDirectorType.setDescription('The 1 byte director type identifier. 1 - Parallel Channel Adapter card 2 - ESCON Adapter card 3 - SCSI Adapter card 4 - Disk Adapter card 5 - RDF Adapter card 6 - Fiber Channel Adapter card ')
syscodesDirectorNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: syscodesDirectorNum.setStatus('obsolete')
if mibBuilder.loadTexts: syscodesDirectorNum.setDescription('The index to the table. The number of instances should be the number of Directors. The instance we are interested in at any point would be the Director number. NOTE: Director numbering may be zero based. If so, then an instance is Director number plus 1. ')
emulCodeType = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: emulCodeType.setStatus('obsolete')
if mibBuilder.loadTexts: emulCodeType.setDescription("The 4 byte code type of the director. Value is 'EMUL' ")
emulVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emulVersion.setStatus('obsolete')
if mibBuilder.loadTexts: emulVersion.setDescription("The 4 byte version of the director's code. ")
emulDate = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 7), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emulDate.setStatus('obsolete')
if mibBuilder.loadTexts: emulDate.setDescription("The 4 byte version date for the director's code. ")
emulChecksum = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emulChecksum.setStatus('obsolete')
if mibBuilder.loadTexts: emulChecksum.setDescription("The 4 byte checksum for the director's code. ")
emulMTPF = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emulMTPF.setStatus('obsolete')
if mibBuilder.loadTexts: emulMTPF.setDescription("The 4 byte MTPF of the director's code. ")
emulFileCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emulFileCount.setStatus('obsolete')
if mibBuilder.loadTexts: emulFileCount.setDescription("The 4 byte file length of the director's code. ")
implCodeType = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: implCodeType.setStatus('obsolete')
if mibBuilder.loadTexts: implCodeType.setDescription("The 4 byte code type of the director. Value is 'IMPL' ")
implVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: implVersion.setStatus('obsolete')
if mibBuilder.loadTexts: implVersion.setDescription("The 4 byte version of the director's code. ")
implDate = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 13), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: implDate.setStatus('obsolete')
if mibBuilder.loadTexts: implDate.setDescription("The 4 byte version date for the director's code. ")
implChecksum = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: implChecksum.setStatus('obsolete')
if mibBuilder.loadTexts: implChecksum.setDescription("The 4 byte checksum for the director's code. ")
implMTPF = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: implMTPF.setStatus('obsolete')
if mibBuilder.loadTexts: implMTPF.setDescription("The 4 byte MTPF of the director's code. ")
implFileCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: implFileCount.setStatus('obsolete')
if mibBuilder.loadTexts: implFileCount.setDescription("The 4 byte file length of the director's code. ")
initCodeType = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: initCodeType.setStatus('obsolete')
if mibBuilder.loadTexts: initCodeType.setDescription("The 4 byte code type of the director. Value is 'INIT' ")
initVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 18), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: initVersion.setStatus('obsolete')
if mibBuilder.loadTexts: initVersion.setDescription("The 4 byte version of the director's code. ")
initDate = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 19), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: initDate.setStatus('obsolete')
if mibBuilder.loadTexts: initDate.setDescription("The 4 byte version date for the director's code. ")
initChecksum = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 20), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: initChecksum.setStatus('obsolete')
if mibBuilder.loadTexts: initChecksum.setDescription("The 4 byte checksum for the director's code. ")
initMTPF = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 21), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: initMTPF.setStatus('obsolete')
if mibBuilder.loadTexts: initMTPF.setDescription("The 4 byte MTPF of the director's code. ")
initFileCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 22), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: initFileCount.setStatus('obsolete')
if mibBuilder.loadTexts: initFileCount.setDescription("The 4 byte file length of the director's code. ")
escnCodeType = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 23), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly")
if mibBuilder.loadTexts: escnCodeType.setStatus('obsolete')
if mibBuilder.loadTexts: escnCodeType.setDescription("The 4 byte code type of the director. Value is 'ESCN' ")
escnVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 24), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: escnVersion.setStatus('obsolete')
if mibBuilder.loadTexts: escnVersion.setDescription("The 4 byte version of the director's code. ")
escnDate = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 25), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: escnDate.setStatus('obsolete')
if mibBuilder.loadTexts: escnDate.setDescription("The 4 byte version date for the director's code. ")
escnChecksum = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 26), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: escnChecksum.setStatus('obsolete')
if mibBuilder.loadTexts: escnChecksum.setDescription("The 4 byte checksum for the director's code. ")
escnMTPF = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 27), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: escnMTPF.setStatus('obsolete')
if mibBuilder.loadTexts: escnMTPF.setDescription("The 4 byte MTPF of the director's code. ")
escnFileCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 28), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: escnFileCount.setStatus('obsolete')
if mibBuilder.loadTexts: escnFileCount.setDescription("The 4 byte file length of the director's code. ")
diskAdapterDeviceConfigurationTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1), )
if mibBuilder.loadTexts: diskAdapterDeviceConfigurationTable.setStatus('obsolete')
if mibBuilder.loadTexts: diskAdapterDeviceConfigurationTable.setDescription('A table of Symmetrix information contain is the results of Syscall 0x0111 for the specified Symmetrix instance. The number of entries is given by the value discIndex.')
diskAdapterDeviceConfigurationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: diskAdapterDeviceConfigurationEntry.setStatus('obsolete')
if mibBuilder.loadTexts: diskAdapterDeviceConfigurationEntry.setDescription('An entry containing objects for the indicated diskAdapterDeviceConfigurationTable element.')
dadcnfigBuffer = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1, 1), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigBuffer.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigBuffer.setDescription('The entire return buffer of system call 0x0111. ')
dadcnfigNumberofRecords = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigNumberofRecords.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigNumberofRecords.setDescription('The count of the number of records in the buffer returned by Syscall 0x0111.')
dadcnfigRecordSize = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigRecordSize.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigRecordSize.setDescription('This object is the size of one record in the buffer returned by Syscall 0x0111.')
dadcnfigFirstRecordNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigFirstRecordNumber.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigFirstRecordNumber.setDescription('This object is the first record number in the buffer returned by Syscall 0x0111.')
dadcnfigMaxRecords = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigMaxRecords.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigMaxRecords.setDescription('This object is the maximum number of records available in this Symmetrix for Syscall 0x0111.')
dadcnfigDeviceRecordsTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2), )
if mibBuilder.loadTexts: dadcnfigDeviceRecordsTable.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigDeviceRecordsTable.setDescription('This table provides a method to access one device record within the buffer returned by Syscall 0x0111.')
dadcnfigDeviceRecordsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "dadcnfigSymmNumber"))
if mibBuilder.loadTexts: dadcnfigDeviceRecordsEntry.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigDeviceRecordsEntry.setDescription('One entire record of disk adapter device configuration information for the indicated Symmetrix.')
dadcnfigSymmNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigSymmNumber.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigSymmNumber.setDescription('The 2 byte Symmetrix number of the device. ')
dadcnfigMirrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 8), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigMirrors.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigMirrors.setDescription("an 8 byte buffer, 4 mirrors * 2 bytes per, indicating director and port assignments for this device's mirrors. Buffer format is: mir 1 mir 2 mir 3 mir 4 *----+----*----+----*----+----*----+----+ |DIR |i/f |DIR |i/f |DIR |i/f |DIR |i/f | | # | | # | | # | | # | | *----+----*----+----*----+----*----+----+ ")
dadcnfigMirror1Director = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 9), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigMirror1Director.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigMirror1Director.setDescription("The director number of this device's Mirror 1 device. ")
dadcnfigMirror1Interface = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 10), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigMirror1Interface.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigMirror1Interface.setDescription("The interface number of this device's Mirror 1 device. ")
dadcnfigMirror2Director = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 11), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigMirror2Director.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigMirror2Director.setDescription("The director number of this device's Mirror 2 device. ")
dadcnfigMirror2Interface = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 12), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigMirror2Interface.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigMirror2Interface.setDescription("The interface number of this device's Mirror 2 device. ")
dadcnfigMirror3Director = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 13), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigMirror3Director.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigMirror3Director.setDescription("The director number of this device's Mirror 3 device. ")
dadcnfigMirror3Interface = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigMirror3Interface.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigMirror3Interface.setDescription("The interface number of this device's Mirror 3 device. ")
dadcnfigMirror4Director = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigMirror4Director.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigMirror4Director.setDescription("The director number of this device's Mirror 4 device. ")
dadcnfigMirror4Interface = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 16), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dadcnfigMirror4Interface.setStatus('obsolete')
if mibBuilder.loadTexts: dadcnfigMirror4Interface.setDescription("The interface number of this device's Mirror 4 device. ")
deviceHostAddressConfigurationTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1), )
if mibBuilder.loadTexts: deviceHostAddressConfigurationTable.setStatus('obsolete')
if mibBuilder.loadTexts: deviceHostAddressConfigurationTable.setDescription('A table of Symmetrix information contain is the results of Syscall 0x0119 for the specified Symmetrix instance. The number of entries is given by the value discIndex.')
deviceHostAddressConfigurationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: deviceHostAddressConfigurationEntry.setStatus('obsolete')
if mibBuilder.loadTexts: deviceHostAddressConfigurationEntry.setDescription('An entry containing objects for the indicated deviceHostAddressConfigurationTable element.')
dvhoaddrBuffer = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1, 1), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrBuffer.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrBuffer.setDescription('The entire return buffer of system call 0x0119. ')
dvhoaddrNumberofRecords = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrNumberofRecords.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrNumberofRecords.setDescription('The count of the number of records in the buffer returned by Syscall 0x0119.')
dvhoaddrRecordSize = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrRecordSize.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrRecordSize.setDescription('This object is the size of one record in the buffer returned by Syscall 0x0119.')
dvhoaddrFirstRecordNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrFirstRecordNumber.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrFirstRecordNumber.setDescription('This object is the first record number in the buffer returned by Syscall 0x0119.')
dvhoaddrMaxRecords = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrMaxRecords.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrMaxRecords.setDescription('This object is the maximum number of records available in this Symmetrix for Syscall 0x0119.')
dvhoaddrDeviceRecordsTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2), )
if mibBuilder.loadTexts: dvhoaddrDeviceRecordsTable.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrDeviceRecordsTable.setDescription('This table provides a method to access one device record record within the buffer returned by Syscall 0x0119.')
dvhoaddrDeviceRecordsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "dvhoaddrSymmNumber"))
if mibBuilder.loadTexts: dvhoaddrDeviceRecordsEntry.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrDeviceRecordsEntry.setDescription('One entire record of device host address information for the indicated Symmetrix.')
dvhoaddrSymmNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrSymmNumber.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrSymmNumber.setDescription('The 2 byte Symmetrix number of the device. ')
dvhoaddrDirectorNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrDirectorNumber.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrDirectorNumber.setDescription('The 2 byte Symmetrix number of the director. ')
dvhoaddrPortAType = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 6))).clone(namedValues=NamedValues(("parallel-ca", 1), ("escon-ca", 2), ("sa", 3), ("fibre", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrPortAType.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrPortAType.setDescription('The type of port for Port A. 01 - Parallel CA 02 - ESCON CA 03 - SA 04 - Fiber Channel')
dvhoaddrPortADeviceAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 4), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrPortADeviceAddress.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrPortADeviceAddress.setDescription('The 1 byte port address for this device on this port.')
dvhoaddrPortBType = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 6))).clone(namedValues=NamedValues(("parallel-ca", 1), ("escon-ca", 2), ("sa", 3), ("fibre", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrPortBType.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrPortBType.setDescription('The type of port for Port A. 01 - Parallel CA 02 - ESCON CA 03 - SA 04 - Fiber Channel')
dvhoaddrPortBDeviceAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 6), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrPortBDeviceAddress.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrPortBDeviceAddress.setDescription('The 1 byte port address for this device on this port.')
dvhoaddrPortCType = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 6))).clone(namedValues=NamedValues(("parallel-ca", 1), ("escon-ca", 2), ("sa", 3), ("fibre", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrPortCType.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrPortCType.setDescription('The type of port for Port A. 01 - Parallel CA 02 - ESCON CA 03 - SA 04 - Fiber Channel')
dvhoaddrPortCDeviceAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 8), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrPortCDeviceAddress.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrPortCDeviceAddress.setDescription('The 1 byte port address for this device on this port.')
dvhoaddrPortDType = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 6))).clone(namedValues=NamedValues(("parallel-ca", 1), ("escon-ca", 2), ("sa", 3), ("fibre", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrPortDType.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrPortDType.setDescription('The type of port for Port A. 01 - Parallel CA 02 - ESCON CA 03 - SA 04 - Fiber Channel')
dvhoaddrPortDDeviceAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 10), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrPortDDeviceAddress.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrPortDDeviceAddress.setDescription('The 1 byte port address for this device on this port.')
dvhoaddrMetaFlags = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 11), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrMetaFlags.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrMetaFlags.setDescription('The 1 byte Meta Flags if this record is an SA record.')
dvhoaddrFiberChannelAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dvhoaddrFiberChannelAddress.setStatus('obsolete')
if mibBuilder.loadTexts: dvhoaddrFiberChannelAddress.setDescription('The 2 byte address if this record is a Fiber Channel record. There is only 1 port defined.')
discoveryTableSize = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 3, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discoveryTableSize.setStatus('mandatory')
if mibBuilder.loadTexts: discoveryTableSize.setDescription('The number of Symmetrixes that are, or have been present on this system.')
discoveryTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2), )
if mibBuilder.loadTexts: discoveryTable.setStatus('mandatory')
if mibBuilder.loadTexts: discoveryTable.setDescription('A list of Symmetrixes. The number of entries is given by the value of discoveryTableSize.')
discoveryTbl = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: discoveryTbl.setStatus('mandatory')
if mibBuilder.loadTexts: discoveryTbl.setDescription('An interface entry containing objects for a particular Symmetrix.')
discIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discIndex.setStatus('mandatory')
if mibBuilder.loadTexts: discIndex.setDescription("A unique value for each Symmetrix. Its value ranges between 1 and the value of discoveryTableSize. The value for each Symmetrix must remain constant from one agent re-initialization to the next re-initialization, or until the agent's discovery list is reset.")
discSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts: discSerialNumber.setDescription('The serial number of this attached Symmetrix')
discRawDevice = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discRawDevice.setStatus('obsolete')
if mibBuilder.loadTexts: discRawDevice.setDescription("The 'gatekeeper' device the agent uses to extract information from this Symmetrix, via the SCSI connection")
discModel = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discModel.setStatus('mandatory')
if mibBuilder.loadTexts: discModel.setDescription('This Symmetrix Model number')
discCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discCapacity.setStatus('obsolete')
if mibBuilder.loadTexts: discCapacity.setDescription("The size, in bytes of the 'gatekeeper' device for this Symmetrix This object is obsolete in Mib Version 2.0. Agent revisions of 4.0 or greater will return a zero as a value.")
discChecksum = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discChecksum.setStatus('mandatory')
if mibBuilder.loadTexts: discChecksum.setDescription('The checksum value of the IMPL for this Symmetrix.')
discConfigDate = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discConfigDate.setStatus('mandatory')
if mibBuilder.loadTexts: discConfigDate.setDescription('The date of the last configuration change. Format = MMDDYYYY ')
discRDF = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("false", 0), ("true", 1), ("unknown", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: discRDF.setStatus('mandatory')
if mibBuilder.loadTexts: discRDF.setDescription('Indicates if RDF is available for this Symmetrix')
discBCV = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("false", 0), ("true", 1), ("unknown", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: discBCV.setStatus('mandatory')
if mibBuilder.loadTexts: discBCV.setDescription('Indicates if BCV Devices are configured in this Symmetrix')
discState = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unknown", 1), ("online", 2), ("offline", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: discState.setStatus('mandatory')
if mibBuilder.loadTexts: discState.setDescription('Indicates the online/offline state of this Symmetrix')
discStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("unknown", 1), ("unused", 2), ("ok", 3), ("warning", 4), ("failed", 5)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: discStatus.setStatus('mandatory')
if mibBuilder.loadTexts: discStatus.setDescription('Indicates the overall status of this Symmetrix')
discMicrocodeVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 12), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discMicrocodeVersion.setStatus('mandatory')
if mibBuilder.loadTexts: discMicrocodeVersion.setDescription('The microcode version running in this Symmetrix')
discSymapisrv_IP = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 13), IpAddress()).setLabel("discSymapisrv-IP").setMaxAccess("readonly")
if mibBuilder.loadTexts: discSymapisrv_IP.setStatus('mandatory')
if mibBuilder.loadTexts: discSymapisrv_IP.setDescription("The IP address of the symapi server from where this Symmetrix's data is sourced. ")
discNumEvents = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 14), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discNumEvents.setStatus('mandatory')
if mibBuilder.loadTexts: discNumEvents.setDescription('Number of events currently in the symmEventTable.')
discEventCurrID = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 15), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discEventCurrID.setStatus('mandatory')
if mibBuilder.loadTexts: discEventCurrID.setDescription('The last used event id (symmEventId).')
agentRevision = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: agentRevision.setStatus('mandatory')
if mibBuilder.loadTexts: agentRevision.setDescription('The current revision of the agent software ')
mibRevision = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mibRevision.setStatus('mandatory')
if mibBuilder.loadTexts: mibRevision.setDescription('Mib Revision 4.1')
agentType = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("unknown", 0), ("unix-host", 1), ("mainframe", 2), ("nt-host", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: agentType.setStatus('mandatory')
if mibBuilder.loadTexts: agentType.setDescription('Integer value indicating the agent host environment, so polling applications can adjust accordingly')
periodicDiscoveryFrequency = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 4), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: periodicDiscoveryFrequency.setStatus('mandatory')
if mibBuilder.loadTexts: periodicDiscoveryFrequency.setDescription("Indicates how often the Discovery thread should rebuild the table of attached Symmetrixes, adding new ones, and removing old ones. Any changes between the new table and the previous table will generate a trap (Trap 4) to all registered trap clients. Initialize at startup from a separate 'config' file. Recommended default is 3600 seconds (1 hour). A value less than 60 will disable the thread. Minimum frequency is 60 seconds.")
checksumTestFrequency = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 5), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: checksumTestFrequency.setStatus('mandatory')
if mibBuilder.loadTexts: checksumTestFrequency.setDescription("Indicates how often the Checksum thread should test for any changes between the current and previous checksum value for all discovered Symmetrixes. For each checksum change, a trap will be generated (Trap 5) to all registered trap clients. Initialize at startup from a separate 'config' file. Recommended default is 60 seconds (1 minute). A value less than 60 will disable the thread. Minimum frequency is 60 seconds.")
statusCheckFrequency = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: statusCheckFrequency.setStatus('mandatory')
if mibBuilder.loadTexts: statusCheckFrequency.setDescription("Indicates how often the Status thread should gather all status and error data from all discovered Symmetrixes. For each director or device error condition, a trap will be generated (Trap 1 or 2) to all registered trap clients. Initialize at startup from a separate 'config' file. Recommended default is 60 seconds (1 minute). A value less than 60 will disable the thread. Minimum frequency is 60 seconds.")
discoveryChangeTime = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 302), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: discoveryChangeTime.setStatus('mandatory')
if mibBuilder.loadTexts: discoveryChangeTime.setDescription("Indicates the last time the discovery table was last change by the agent. The value is in seconds, as returned by the standard 'C' function time(). ")
clientListMaintenanceFrequency = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1001, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: clientListMaintenanceFrequency.setStatus('obsolete')
if mibBuilder.loadTexts: clientListMaintenanceFrequency.setDescription("Indicates how often the Client List maintenance thread should 'wake up' to remove old requests and clients from the list Initialize at startup from a separate 'config' file. Recommended default is 15 minutes (1800 seconds).")
clientListRequestExpiration = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1001, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: clientListRequestExpiration.setStatus('obsolete')
if mibBuilder.loadTexts: clientListRequestExpiration.setDescription("Indicates how old a client request should be to consider removing it from the Client List. It's assumed that a time out condition occurred at the client, and the data is no longer of any value, and deleted. Initialize at startup from a separate 'config' file. Recommended default is 15 minutes (900 seconds).")
clientListClientExpiration = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1001, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: clientListClientExpiration.setStatus('obsolete')
if mibBuilder.loadTexts: clientListClientExpiration.setDescription("Indicates how long a client can remain in the Client List without make a request to the agent, after which point it is deleted from the list. Clients are added to the list by making a request to the agent. Initialize at startup from a separate 'config' file. Recommended default is 30 minutes (1800 seconds).")
discoveryTrapPort = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1002, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: discoveryTrapPort.setStatus('obsolete')
if mibBuilder.loadTexts: discoveryTrapPort.setDescription("Each client can set it's own port for receiving rediscovery traps in the event the client cannot listen on port 162. The agent will send any discovery table notifications to port 162, and, if set (i.e. >0), the clients designated port. ")
trapTestFrequency = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1002, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: trapTestFrequency.setStatus('obsolete')
if mibBuilder.loadTexts: trapTestFrequency.setDescription("Indicates how often the Trap Test thread should 'wake up' to test for trap conditions in each attached Symmetrix. Initialize at startup from a separate 'config' file. Recommended default is 60 seconds.")
standardSNMPRequestPort = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1003, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: standardSNMPRequestPort.setStatus('mandatory')
if mibBuilder.loadTexts: standardSNMPRequestPort.setDescription('Indicates if the agent was able to bind to the standard SNMP request port, port 161. Value of -1 indicates another SNMP agent was already active on this host.')
esmSNMPRequestPort = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1003, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: esmSNMPRequestPort.setStatus('mandatory')
if mibBuilder.loadTexts: esmSNMPRequestPort.setDescription("Indicates what port the agent was able to bind to receive SNMP requests for ESM data. This port can also be browsed for all available MIB objects in the event the standard SNMP port is unavailable, or the standard EMC.MIB is not loaded into the host's SNMP agent.")
celerraTCPPort = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1003, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: celerraTCPPort.setStatus('obsolete')
if mibBuilder.loadTexts: celerraTCPPort.setDescription('Indicates what port the agent was able to bind to receive TCP requests for ESM data from a Celerra Monitor. Requests made to this port must conform to the internal proprietary protocol established between a Celerra Monitor and the agent')
xdrTCPPort = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1003, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: xdrTCPPort.setStatus('obsolete')
if mibBuilder.loadTexts: xdrTCPPort.setDescription('Indicates what port the agent was able to bind to receive TCP requests for ESM data. Requests made to this port must be XDR encoded and conform to the command set established in the agent')
esmVariablePacketSize = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1004, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: esmVariablePacketSize.setStatus('obsolete')
if mibBuilder.loadTexts: esmVariablePacketSize.setDescription("Agent's Maximum SNMP Packet Size for ESM Opaque variables. Each client can set it's own preferred size with the agent's internal client list. Default size: 2000 bytes ")
discoveryFrequency = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1004, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: discoveryFrequency.setStatus('obsolete')
if mibBuilder.loadTexts: discoveryFrequency.setDescription("Indicates how often the Discovery thread should 'wake up' to rebuild the table of attached Symmetrixes, adding new ones, and removing old ones. Any changes between the new table and the previous table will generate a trap to all clients that had previously retrieved the discovery table. Those clients will be prevented from retrieving any data from the agent until they retrieve the new discovery table. Initialize at startup from a separate 'config' file. Recommended default is 600 seconds (10 minutes).")
masterTraceMessagesEnable = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1004, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: masterTraceMessagesEnable.setStatus('obsolete')
if mibBuilder.loadTexts: masterTraceMessagesEnable.setDescription('Turns trace messages on or off to the console. 0 = OFF 1 = ON')
analyzerTopFileSavePolicy = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: analyzerTopFileSavePolicy.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerTopFileSavePolicy.setDescription("Indicates how long a *.top file can remain on disk before being deleted. Value is in days. Initialize at startup from a separate 'config' file. Recommended default is 7 days.")
analyzerSpecialDurationLimit = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: analyzerSpecialDurationLimit.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerSpecialDurationLimit.setDescription("This is a cap applied to 'special' analyzer collection requests that have a duration that exceeds this amount. Value is in hours. Initialize at startup from a separate 'config' file. Recommended default is 24 hours.")
analyzerFilesCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 1), )
if mibBuilder.loadTexts: analyzerFilesCountTable.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerFilesCountTable.setDescription('A list of the number of analyzer file present for the given Symmetrix instance.')
analyzerFileCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 1, 1), ).setIndexNames((0, "EMC-MIB", "symListCount"))
if mibBuilder.loadTexts: analyzerFileCountEntry.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerFileCountEntry.setDescription('A file count entry containing objects for the specified Symmetrix')
analyzerFileCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: analyzerFileCount.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerFileCount.setDescription('The number of entries in the AnaylzerFileList table for the indicated Symmetrix instance')
analyzerFilesListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2), )
if mibBuilder.loadTexts: analyzerFilesListTable.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerFilesListTable.setDescription('A list of the number of analyzer file present for the given Symmetrix instance. The number of entries is given by the value of analyzerFileCount.')
analyzerFilesListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1), ).setIndexNames((0, "EMC-MIB", "symListCount"), (0, "EMC-MIB", "analyzerFileCount"))
if mibBuilder.loadTexts: analyzerFilesListEntry.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerFilesListEntry.setDescription('A file list entry containing objects for the specified Symmetrix')
analyzerFileName = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: analyzerFileName.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerFileName.setDescription('The analyzer file name for the indicated instance')
analyzerFileSize = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: analyzerFileSize.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerFileSize.setDescription('The analyzer file size for the indicated instances, in bytes')
analyzerFileCreation = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 3), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: analyzerFileCreation.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerFileCreation.setDescription('The analyzer file creation time for the indicated instance')
analyzerFileLastModified = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: analyzerFileLastModified.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerFileLastModified.setDescription('The analyzer file last modified time for the indicated instance')
analyzerFileIsActive = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("inactive", 0), ("active", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: analyzerFileIsActive.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerFileIsActive.setDescription('Indicates if the analyzer collector is collection and storing Symmetrix information into this file.')
analyzerFileRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 6), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: analyzerFileRuntime.setStatus('obsolete')
if mibBuilder.loadTexts: analyzerFileRuntime.setDescription('The length of time this file has run, or has been running for.')
subagentInformation = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005, 1), )
if mibBuilder.loadTexts: subagentInformation.setStatus('obsolete')
if mibBuilder.loadTexts: subagentInformation.setDescription(' A list of subagent entries operational on the host. The number of entries is given by the value of discoveryTableSize.')
subagentInfo = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: subagentInfo.setStatus('obsolete')
if mibBuilder.loadTexts: subagentInfo.setDescription('An entry containing objects for a particular Symmetrix subagent.')
subagentSymmetrixSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005, 1, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: subagentSymmetrixSerialNumber.setStatus('obsolete')
if mibBuilder.loadTexts: subagentSymmetrixSerialNumber.setDescription('The serial number of this attached Symmetrix')
subagentProcessActive = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: subagentProcessActive.setStatus('obsolete')
if mibBuilder.loadTexts: subagentProcessActive.setDescription('The subagent process is running for this symmetrix. 0 = False 1 = True')
subagentTraceMessagesEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("off", 0), ("on", 1)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: subagentTraceMessagesEnable.setStatus('obsolete')
if mibBuilder.loadTexts: subagentTraceMessagesEnable.setDescription('Turns trace messages on or off to the console. 0 = OFF 1 = ON')
mainframeDiskInformation = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 5, 1), )
if mibBuilder.loadTexts: mainframeDiskInformation.setStatus('obsolete')
if mibBuilder.loadTexts: mainframeDiskInformation.setDescription('This table of mainframe specific disk variables for each attached Symmetrix. The number of entries is given by the value of discoveryTableSize.')
mfDiskInformation = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 5, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: mfDiskInformation.setStatus('obsolete')
if mibBuilder.loadTexts: mfDiskInformation.setDescription('An mainframe disk information entry containing objects for a particular Symmetrix.')
emcSymMvsVolume = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 5, 1, 1, 1), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymMvsVolume.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymMvsVolume.setDescription('Specific mainframe information for each disk of this attached Symmetrix. Supported ONLY in agents running in an MVS environment. ')
mainframeDataSetInformation = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 5, 2), )
if mibBuilder.loadTexts: mainframeDataSetInformation.setStatus('obsolete')
if mibBuilder.loadTexts: mainframeDataSetInformation.setDescription('This table of mainframe specific data set for each attached Symmetrix. The number of entries is given by the value of discoveryTableSize.')
mfDataSetInformation = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 5, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "emcSymMvsLUNNumber"))
if mibBuilder.loadTexts: mfDataSetInformation.setStatus('obsolete')
if mibBuilder.loadTexts: mfDataSetInformation.setDescription('An mainframe data set entry containing objects for a particular Symmetrix.')
emcSymMvsLUNNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 5, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymMvsLUNNumber.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymMvsLUNNumber.setDescription('The LUN number for this data set ')
emcSymMvsDsname = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 5, 2, 1, 2), Opaque()).setMaxAccess("readonly")
if mibBuilder.loadTexts: emcSymMvsDsname.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymMvsDsname.setDescription('Specific mainframe information for each LUN of this attached Symmetrix. Supported ONLY in agents running in an MVS environment. ')
emcSymMvsBuildStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 5, 2, 1, 3), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: emcSymMvsBuildStatus.setStatus('obsolete')
if mibBuilder.loadTexts: emcSymMvsBuildStatus.setDescription('Polled value to indicate the state of the data set list. 0 = data set unavailable 1 = build process initiated 2 = build in progress 3 = data set available ')
symListCount = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symListCount.setStatus('obsolete')
if mibBuilder.loadTexts: symListCount.setDescription('The number of entries in symListTable, representing the number of Symmetrixes present on this system.')
symListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 1, 2), )
if mibBuilder.loadTexts: symListTable.setStatus('obsolete')
if mibBuilder.loadTexts: symListTable.setDescription('A list of attached Symmetrix serial numbers. The number of entries is given by the value of symListCount.')
symListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 1, 2, 1), ).setIndexNames((0, "EMC-MIB", "symListCount"))
if mibBuilder.loadTexts: symListEntry.setStatus('obsolete')
if mibBuilder.loadTexts: symListEntry.setDescription('An entry containing objects for the indicated symListTable element.')
serialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 1, 2, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: serialNumber.setStatus('obsolete')
if mibBuilder.loadTexts: serialNumber.setDescription('The Symmetrix serial number for the indicated instance')
symRemoteListCount = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 2, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symRemoteListCount.setStatus('obsolete')
if mibBuilder.loadTexts: symRemoteListCount.setDescription('The number of entries in symRemoteListTable, representing the number of remote Symmetrixes present on this system.')
symRemoteListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 2, 2), )
if mibBuilder.loadTexts: symRemoteListTable.setStatus('obsolete')
if mibBuilder.loadTexts: symRemoteListTable.setDescription('A list of remote Symmetrix serial numbers. The number of entries is given by the value of symRemoteListCount.')
symRemoteListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 2, 2, 2), ).setIndexNames((0, "EMC-MIB", "symRemoteListCount"))
if mibBuilder.loadTexts: symRemoteListEntry.setStatus('obsolete')
if mibBuilder.loadTexts: symRemoteListEntry.setDescription('An entry containing objects for the indicated symRemoteListTable element.')
remoteSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 2, 2, 2, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: remoteSerialNumber.setStatus('obsolete')
if mibBuilder.loadTexts: remoteSerialNumber.setDescription('The remote Symmetrix serial number for the indicated instance')
symDevListCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 1), )
if mibBuilder.loadTexts: symDevListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts: symDevListCountTable.setDescription('A list of the number of Symmetrix devices for the given Symmetrix instance.')
symDevListCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: symDevListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symDevListCountEntry.setDescription('An entry containing objects for the number of Symmetrix device names found for the specified Symmetrix')
symDevListCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symDevListCount.setStatus('mandatory')
if mibBuilder.loadTexts: symDevListCount.setDescription('The number of entries in the SymDevList table for the indicated Symmetrix instance')
symDevListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 2), )
if mibBuilder.loadTexts: symDevListTable.setStatus('mandatory')
if mibBuilder.loadTexts: symDevListTable.setDescription('A list of Symmetrix device names found for the indicated Symmetrix instance. The number of entries is given by the value of symDevListCount.')
symDevListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symDevListCount"))
if mibBuilder.loadTexts: symDevListEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symDevListEntry.setDescription('An entry containing objects for the indicated symDevListTable element.')
symDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 2, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts: symDeviceName.setDescription('The device name for the indicated instance')
symPDevListCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 1), )
if mibBuilder.loadTexts: symPDevListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts: symPDevListCountTable.setDescription('A list of the number of available devices for the given Symmetrix instance.')
symPDevListCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: symPDevListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symPDevListCountEntry.setDescription('An entry containing objects for the number of available devices found for the specified Symmetrix')
symPDevListCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symPDevListCount.setStatus('mandatory')
if mibBuilder.loadTexts: symPDevListCount.setDescription('The number of entries in the symPDeviceList table for the indicated Symmetrix instance')
symPDevListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 2), )
if mibBuilder.loadTexts: symPDevListTable.setStatus('mandatory')
if mibBuilder.loadTexts: symPDevListTable.setDescription('A list of host device filenames (pdevs) for all available devices for the indicated Symmetrix instance. The number of entries is given by the value of symPDevListCount.')
symPDevListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symPDevListCount"))
if mibBuilder.loadTexts: symPDevListEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symPDevListEntry.setDescription('An entry containing objects for the indicated symPDevListTable element.')
symPDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 2, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symPDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts: symPDeviceName.setDescription('The physical device name for the indicated instance')
symPDevNoDgListCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 1), )
if mibBuilder.loadTexts: symPDevNoDgListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts: symPDevNoDgListCountTable.setDescription('A list of the number of Symmetrix devices that are not members of a device group for the given Symmetrix instance.')
symPDevNoDgListCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: symPDevNoDgListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symPDevNoDgListCountEntry.setDescription('An entry containing objects for the number of Symmetrix devices that are not members of a device group for the specified Symmetrix')
symPDevNoDgListCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symPDevNoDgListCount.setStatus('mandatory')
if mibBuilder.loadTexts: symPDevNoDgListCount.setDescription('The number of entries in the symPDeviceNoDgList table for the indicated Symmetrix instance')
symPDevNoDgListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 2), )
if mibBuilder.loadTexts: symPDevNoDgListTable.setStatus('mandatory')
if mibBuilder.loadTexts: symPDevNoDgListTable.setDescription('A list of all Symmetrix devices that are not members of a device group found for the indicated Symmetrix instance. The number of entries is given by the value of symPDevNoDgListCount.')
symPDevNoDgListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symPDevNoDgListCount"))
if mibBuilder.loadTexts: symPDevNoDgListEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symPDevNoDgListEntry.setDescription('An entry containing objects for the indicated symPDevNoDgListTable element.')
symPDevNoDgDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 2, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symPDevNoDgDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts: symPDevNoDgDeviceName.setDescription('The device name for the indicated instance')
symDevNoDgListCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 1), )
if mibBuilder.loadTexts: symDevNoDgListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts: symDevNoDgListCountTable.setDescription('A list of the number of Symmetrix devices, that are not members of a device group for the given Symmetrix instance.')
symDevNoDgListCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: symDevNoDgListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symDevNoDgListCountEntry.setDescription('An entry containing objects for the number of Symmetrix device names found for the specified Symmetrix')
symDevNoDgListCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symDevNoDgListCount.setStatus('mandatory')
if mibBuilder.loadTexts: symDevNoDgListCount.setDescription('The number of entries in the symDeviceNoDgList table for the indicated Symmetrix instance')
symDevNoDgListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 2), )
if mibBuilder.loadTexts: symDevNoDgListTable.setStatus('mandatory')
if mibBuilder.loadTexts: symDevNoDgListTable.setDescription('A list of Symmetrix device names found for the specified Symmetrix. The number of entries is given by the value of symDevNoDgListCount.')
symDevNoDgListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symDevNoDgListCount"))
if mibBuilder.loadTexts: symDevNoDgListEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symDevNoDgListEntry.setDescription('An entry containing objects for the indicated symDevNoDgListTable element.')
symDevNoDgDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 2, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symDevNoDgDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts: symDevNoDgDeviceName.setDescription('The device name for the indicated instance')
symDgListCount = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 7, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symDgListCount.setStatus('obsolete')
if mibBuilder.loadTexts: symDgListCount.setDescription('The number of entries in symDgListTable, representing the number of device groups present on this system.')
symDgListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 7, 2), )
if mibBuilder.loadTexts: symDgListTable.setStatus('obsolete')
if mibBuilder.loadTexts: symDgListTable.setDescription('A list of device groups present on the system. The number of entries is given by the value of symDgListCount.')
symDgListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 7, 2, 1), ).setIndexNames((0, "EMC-MIB", "symDgListCount"))
if mibBuilder.loadTexts: symDgListEntry.setStatus('obsolete')
if mibBuilder.loadTexts: symDgListEntry.setDescription('An entry containing objects for the indicated symDgListTable element.')
symDevGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 7, 2, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symDevGroupName.setStatus('obsolete')
if mibBuilder.loadTexts: symDevGroupName.setDescription('The device groupname for the indicated instance')
symLDevListCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 1), )
if mibBuilder.loadTexts: symLDevListCountTable.setStatus('obsolete')
if mibBuilder.loadTexts: symLDevListCountTable.setDescription('A list of the number of devices in a specific device group.')
symLDevListCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 1, 1), ).setIndexNames((0, "EMC-MIB", "symDgListCount"))
if mibBuilder.loadTexts: symLDevListCountEntry.setStatus('obsolete')
if mibBuilder.loadTexts: symLDevListCountEntry.setDescription('An entry containing objects for the number of devices in a specific device group')
symLDevListCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symLDevListCount.setStatus('obsolete')
if mibBuilder.loadTexts: symLDevListCount.setDescription('The number of entries in the SymLDevList table for the indicated Symmetrix instance')
symLDevListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 2), )
if mibBuilder.loadTexts: symLDevListTable.setStatus('obsolete')
if mibBuilder.loadTexts: symLDevListTable.setDescription('A list of devices in the specified device group. The number of entries is given by the value of symLDevListCount.')
symLDevListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 2, 1), ).setIndexNames((0, "EMC-MIB", "symDgListCount"), (0, "EMC-MIB", "symLDevListCount"))
if mibBuilder.loadTexts: symLDevListEntry.setStatus('obsolete')
if mibBuilder.loadTexts: symLDevListEntry.setDescription('An entry containing objects for the indicated symLDevListTable element.')
lDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 2, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: lDeviceName.setStatus('obsolete')
if mibBuilder.loadTexts: lDeviceName.setDescription('The device name for the indicated instance')
symGateListCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 1), )
if mibBuilder.loadTexts: symGateListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts: symGateListCountTable.setDescription('A list of the number of host physical device filenames that are currently in the gatekeeper device list for the given Symmetrix instance.')
symGateListCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: symGateListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symGateListCountEntry.setDescription('An entry containing objects for the number of host physical device filenames that are currently in the gatekeeper device list for the specified Symmetrix')
symGateListCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symGateListCount.setStatus('mandatory')
if mibBuilder.loadTexts: symGateListCount.setDescription('The number of entries in the SymGateList table for the indicated Symmetrix instance')
symGateListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 2), )
if mibBuilder.loadTexts: symGateListTable.setStatus('mandatory')
if mibBuilder.loadTexts: symGateListTable.setDescription('A list of host physical device filenames that are currently in the gatekeeper device list for the specified Symmetrix. The number of entries is given by the value of symGateListCount.')
symGateListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symGateListCount"))
if mibBuilder.loadTexts: symGateListEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symGateListEntry.setDescription('An entry containing objects for the indicated symGateListTable element.')
gatekeeperDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 2, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: gatekeeperDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts: gatekeeperDeviceName.setDescription('The gatekeeper device name for the indicated instance')
symBcvDevListCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 1), )
if mibBuilder.loadTexts: symBcvDevListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts: symBcvDevListCountTable.setDescription('A list of the number of BCV devices for the given Symmetrix instance.')
symBcvDevListCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: symBcvDevListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symBcvDevListCountEntry.setDescription('An entry containing objects for the number of BCV devices for the specified Symmetrix')
symBcvDevListCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symBcvDevListCount.setStatus('mandatory')
if mibBuilder.loadTexts: symBcvDevListCount.setDescription('The number of entries in the SymBcvDevList table for the indicated Symmetrix instance')
symBcvDevListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 2), )
if mibBuilder.loadTexts: symBcvDevListTable.setStatus('mandatory')
if mibBuilder.loadTexts: symBcvDevListTable.setDescription('A list of BCV devices for the specified Symmetrix. The number of entries is given by the value of symBcvDevListCount.')
symBcvDevListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symBcvDevListCount"))
if mibBuilder.loadTexts: symBcvDevListEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symBcvDevListEntry.setDescription('An entry containing objects for the indicated symBcvDevListTable element.')
bcvDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 2, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bcvDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts: bcvDeviceName.setDescription('The BCV device name for the indicated instance')
symBcvPDevListCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 1), )
if mibBuilder.loadTexts: symBcvPDevListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts: symBcvPDevListCountTable.setDescription('A list of the number of all BCV devices that are accessible by the host systems for the given Symmetrix instance.')
symBcvPDevListCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: symBcvPDevListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symBcvPDevListCountEntry.setDescription('An entry containing objects for the number of all BCV devices that are accessible by the host systems for the specified Symmetrix')
symBcvPDevListCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symBcvPDevListCount.setStatus('mandatory')
if mibBuilder.loadTexts: symBcvPDevListCount.setDescription('The number of entries in the SymBcvDevList table for the indicated Symmetrix instance')
symBcvPDevListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 2), )
if mibBuilder.loadTexts: symBcvPDevListTable.setStatus('mandatory')
if mibBuilder.loadTexts: symBcvPDevListTable.setDescription('A list of all BCV devices tha are accessible by the host systems for the specified Symmetrix. The number of entries is given by the value of symBcvPDevListCount.')
symBcvPDevListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symBcvPDevListCount"))
if mibBuilder.loadTexts: symBcvPDevListEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symBcvPDevListEntry.setDescription('An entry containing objects for the indicated symBcvPDevListTable element.')
symBcvPDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 2, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symBcvPDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts: symBcvPDeviceName.setDescription('The BCV physical device name for the indicated instance')
class StateValues(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))
namedValues = NamedValues(("enabled", 0), ("disabled", 1), ("mixed", 2), ("state-na", 3))
class DirectorType(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8))
namedValues = NamedValues(("fibre-channel", 0), ("scsi-adapter", 1), ("disk-adapter", 2), ("channel-adapter", 3), ("memory-board", 4), ("escon-adapter", 5), ("rdf-adapter-r1", 6), ("rdf-adapter-r2", 7), ("rdf-adapter-bi", 8))
class DirectorStatus(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))
namedValues = NamedValues(("online", 0), ("offline", 1), ("dead", 2), ("unknown", 3))
class PortStatus(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))
namedValues = NamedValues(("status-na", 0), ("on", 1), ("off", 2), ("wd", 3))
class SCSIWidth(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))
namedValues = NamedValues(("not-applicable", 0), ("narrow", 1), ("wide", 2), ("ultra", 3))
symShowConfiguration = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1), )
if mibBuilder.loadTexts: symShowConfiguration.setStatus('mandatory')
if mibBuilder.loadTexts: symShowConfiguration.setDescription('A table of Symmetrix configuration information for the indicated Symmetrix instance. The number of entries is given by the value of discIndex.')
symShowEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: symShowEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symShowEntry.setDescription('An entry containing objects for the Symmetrix configuration information for the specified Symmetrix')
symShowSymid = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowSymid.setStatus('mandatory')
if mibBuilder.loadTexts: symShowSymid.setDescription('Symmetrix serial id')
symShowSymmetrix_ident = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 2), DisplayString()).setLabel("symShowSymmetrix-ident").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowSymmetrix_ident.setStatus('mandatory')
if mibBuilder.loadTexts: symShowSymmetrix_ident.setDescription('Symmetrix generation; Symm3 or Symm4. (reserved for EMC use only.)')
symShowSymmetrix_model = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 3), DisplayString()).setLabel("symShowSymmetrix-model").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowSymmetrix_model.setStatus('mandatory')
if mibBuilder.loadTexts: symShowSymmetrix_model.setDescription('Symmetrix model number: 3100, 3200, and so forth')
symShowMicrocode_version = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 4), DisplayString()).setLabel("symShowMicrocode-version").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowMicrocode_version.setStatus('mandatory')
if mibBuilder.loadTexts: symShowMicrocode_version.setDescription('Microcode revision string ')
symShowMicrocode_version_num = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 5), DisplayString()).setLabel("symShowMicrocode-version-num").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowMicrocode_version_num.setStatus('mandatory')
if mibBuilder.loadTexts: symShowMicrocode_version_num.setDescription('Microcode version')
symShowMicrocode_date = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 6), DisplayString()).setLabel("symShowMicrocode-date").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowMicrocode_date.setStatus('mandatory')
if mibBuilder.loadTexts: symShowMicrocode_date.setDescription('Date of microcode build (MMDDYYYY)')
symShowMicrocode_patch_level = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 7), DisplayString()).setLabel("symShowMicrocode-patch-level").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowMicrocode_patch_level.setStatus('mandatory')
if mibBuilder.loadTexts: symShowMicrocode_patch_level.setDescription('Microcode patch level')
symShowMicrocode_patch_date = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 8), DisplayString()).setLabel("symShowMicrocode-patch-date").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowMicrocode_patch_date.setStatus('mandatory')
if mibBuilder.loadTexts: symShowMicrocode_patch_date.setDescription('Date of microcode patch level (MMDDYY)')
symShowSymmetrix_pwron_time = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 9), TimeTicks()).setLabel("symShowSymmetrix-pwron-time").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowSymmetrix_pwron_time.setStatus('mandatory')
if mibBuilder.loadTexts: symShowSymmetrix_pwron_time.setDescription('Time since the last power-on ')
symShowSymmetrix_uptime = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 10), TimeTicks()).setLabel("symShowSymmetrix-uptime").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowSymmetrix_uptime.setStatus('mandatory')
if mibBuilder.loadTexts: symShowSymmetrix_uptime.setDescription('Uptime in seconds of the Symmetrix ')
symShowDb_sync_time = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 11), TimeTicks()).setLabel("symShowDb-sync-time").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowDb_sync_time.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDb_sync_time.setDescription('Time since the configuration information was gathered ')
symShowDb_sync_bcv_time = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 12), TimeTicks()).setLabel("symShowDb-sync-bcv-time").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowDb_sync_bcv_time.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDb_sync_bcv_time.setDescription('Time since the configuration information was gathered for BCVs ')
symShowDb_sync_rdf_time = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 13), TimeTicks()).setLabel("symShowDb-sync-rdf-time").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowDb_sync_rdf_time.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDb_sync_rdf_time.setDescription('Time since the configuration information was gathered for the SRDF ')
symShowLast_ipl_time = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 14), TimeTicks()).setLabel("symShowLast-ipl-time").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowLast_ipl_time.setStatus('mandatory')
if mibBuilder.loadTexts: symShowLast_ipl_time.setDescription('Time since the last Symmetrix IPL ')
symShowLast_fast_ipl_time = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 15), TimeTicks()).setLabel("symShowLast-fast-ipl-time").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowLast_fast_ipl_time.setStatus('mandatory')
if mibBuilder.loadTexts: symShowLast_fast_ipl_time.setDescription("Time since the last Symmetrix 'fast IPL' ")
symShowReserved = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 16), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowReserved.setStatus('mandatory')
if mibBuilder.loadTexts: symShowReserved.setDescription('Reserved for future use ')
symShowCache_size = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 17), UInt32()).setLabel("symShowCache-size").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowCache_size.setStatus('mandatory')
if mibBuilder.loadTexts: symShowCache_size.setDescription('Cache size in megabytes ')
symShowCache_slot_count = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 18), UInt32()).setLabel("symShowCache-slot-count").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowCache_slot_count.setStatus('mandatory')
if mibBuilder.loadTexts: symShowCache_slot_count.setDescription('Number of 32K cache slots ')
symShowMax_wr_pend_slots = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 19), UInt32()).setLabel("symShowMax-wr-pend-slots").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowMax_wr_pend_slots.setStatus('mandatory')
if mibBuilder.loadTexts: symShowMax_wr_pend_slots.setDescription('Number of write pending slots allowed before starting delayed fast writes ')
symShowMax_da_wr_pend_slots = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 20), UInt32()).setLabel("symShowMax-da-wr-pend-slots").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowMax_da_wr_pend_slots.setStatus('mandatory')
if mibBuilder.loadTexts: symShowMax_da_wr_pend_slots.setDescription('Number of write pending slots allowed for one DA before delayed fast writes ')
symShowMax_dev_wr_pend_slots = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 21), UInt32()).setLabel("symShowMax-dev-wr-pend-slots").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowMax_dev_wr_pend_slots.setStatus('mandatory')
if mibBuilder.loadTexts: symShowMax_dev_wr_pend_slots.setDescription('Number of write pending slots allowed for one device before starting delayed fast writes ')
symShowPermacache_slot_count = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 22), UInt32()).setLabel("symShowPermacache-slot-count").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowPermacache_slot_count.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPermacache_slot_count.setDescription('Number of slots allocated to PermaCache ')
symShowNum_disks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 23), UInt32()).setLabel("symShowNum-disks").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowNum_disks.setStatus('mandatory')
if mibBuilder.loadTexts: symShowNum_disks.setDescription('Number of physical disks in Symmetrix ')
symShowNum_symdevs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 24), UInt32()).setLabel("symShowNum-symdevs").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowNum_symdevs.setStatus('mandatory')
if mibBuilder.loadTexts: symShowNum_symdevs.setDescription('Number of Symmetrix devices ')
symShowNum_pdevs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 25), UInt32()).setLabel("symShowNum-pdevs").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowNum_pdevs.setStatus('mandatory')
if mibBuilder.loadTexts: symShowNum_pdevs.setDescription(' Number of host physical devices configured for this Symmetrix ')
symShowAPI_version = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 26), DisplayString()).setLabel("symShowAPI-version").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowAPI_version.setStatus('mandatory')
if mibBuilder.loadTexts: symShowAPI_version.setDescription('SYMAPI revision set to SYMAPI_T_VERSION ')
symShowSDDF_configuration = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 27), StateValues()).setLabel("symShowSDDF-configuration").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowSDDF_configuration.setStatus('mandatory')
if mibBuilder.loadTexts: symShowSDDF_configuration.setDescription('The configuration state of the Symmetrix Differential Data Facility (SDDF). Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
symShowConfig_checksum = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 28), UInt32()).setLabel("symShowConfig-checksum").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowConfig_checksum.setStatus('mandatory')
if mibBuilder.loadTexts: symShowConfig_checksum.setDescription('Checksum of the Microcode file')
symShowNum_powerpath_devs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 29), UInt32()).setLabel("symShowNum-powerpath-devs").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowNum_powerpath_devs.setStatus('mandatory')
if mibBuilder.loadTexts: symShowNum_powerpath_devs.setDescription('Number of Symmetrix devices accessible through the PowerPath driver.')
symShowPDevCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 2), )
if mibBuilder.loadTexts: symShowPDevCountTable.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPDevCountTable.setDescription('A list of the number of available devices for the given Symmetrix instance.')
symShowPDevCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: symShowPDevCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPDevCountEntry.setDescription('An entry containing objects for the number of available devices found for the specified Symmetrix')
symShowPDevCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 2, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowPDevCount.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPDevCount.setDescription('The number of entries in the SymShowPDeviceList table for the indicated Symmetrix instance')
symShowPDevListTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 3), )
if mibBuilder.loadTexts: symShowPDevListTable.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPDevListTable.setDescription('A list of host device filenames (pdevs) for all available devices for the indicated Symmetrix instance. The number of entries is given by the value of symShowPDevCount.')
symShowPDevListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 3, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symShowPDevCount"))
if mibBuilder.loadTexts: symShowPDevListEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPDevListEntry.setDescription('An entry containing objects for the indicated symShowPDevListTable element.')
symShowPDeviceName = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 3, 1, 1), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowPDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPDeviceName.setDescription('The physical device name for the indicated instance')
symShowDirectorCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 4), )
if mibBuilder.loadTexts: symShowDirectorCountTable.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDirectorCountTable.setDescription('A list of the number of directors for the given Symmetrix instance.')
symShowDirectorCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 4, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: symShowDirectorCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDirectorCountEntry.setDescription('An entry containing objects for the number of directors for the specified Symmetrix')
symShowDirectorCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 4, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowDirectorCount.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDirectorCount.setDescription('The number of entries in the SymShowDirectorList table for the indicated Symmetrix instance')
symShowDirectorConfigurationTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5), )
if mibBuilder.loadTexts: symShowDirectorConfigurationTable.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDirectorConfigurationTable.setDescription('A table of Symmetrix director configuration for the indicated Symmetrix instance. The number of entries is given by the value of symShowDirectorCount.')
symShowDirectorConfigurationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symShowDirectorCount"))
if mibBuilder.loadTexts: symShowDirectorConfigurationEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDirectorConfigurationEntry.setDescription('An entry containing objects for the indicated symShowDirectorConfigurationTable element.')
symShowDirector_type = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 1), DirectorType()).setLabel("symShowDirector-type").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowDirector_type.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDirector_type.setDescription('Defines the type of director. Possible types are: SYMAPI_DIRTYPE_FIBRECHANNEL SYMAPI_DIRTYPE_SCSI SYMAPI_DIRTYPE_DISK SYMAPI_DIRTYPE_CHANNEL SYMAPI_DIRTYPE_MEMORY SYMAPI_DIRTYPE_R1 SYMAPI_DIRTYPE_R2 SYMAPI_DIRTYPE_RDF_B (bidirectional RDF) ')
symShowDirector_num = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 2), UInt32()).setLabel("symShowDirector-num").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowDirector_num.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDirector_num.setDescription('Number of a director (1 - 32) ')
symShowSlot_num = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 3), UInt32()).setLabel("symShowSlot-num").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowSlot_num.setStatus('mandatory')
if mibBuilder.loadTexts: symShowSlot_num.setDescription('Slot number of a director (1 - 16) ')
symShowDirector_ident = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 4), DisplayString()).setLabel("symShowDirector-ident").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowDirector_ident.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDirector_ident.setDescription(' Director identifier. For example, SA-16 ')
symShowDirector_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 5), DirectorStatus()).setLabel("symShowDirector-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowDirector_status.setStatus('mandatory')
if mibBuilder.loadTexts: symShowDirector_status.setDescription("online(0) - The director's status is ONLINE. offline(1) - The director's status is OFFLINE. dead(2) - The status is non-operational, and its LED display will show 'DD'. unknown(3) - The director's status is unknown. ")
symShowScsi_capability = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 6), SCSIWidth()).setLabel("symShowScsi-capability").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowScsi_capability.setStatus('mandatory')
if mibBuilder.loadTexts: symShowScsi_capability.setDescription('Defines SCSI features for SAs and DAs. Possible values are: SYMAPI_C_SCSI_NARROW SYMAPI_C_SCSI_WIDE SYMAPI_C_SCSI_ULTRA ')
symShowNum_da_volumes = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 7), UInt32()).setLabel("symShowNum-da-volumes").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowNum_da_volumes.setStatus('mandatory')
if mibBuilder.loadTexts: symShowNum_da_volumes.setDescription('Indicates how many volumes are serviced by the DA. ')
symShowRemote_symid = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 8), DisplayString()).setLabel("symShowRemote-symid").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowRemote_symid.setStatus('mandatory')
if mibBuilder.loadTexts: symShowRemote_symid.setDescription('If this is an RA in an SRDF system,this is the remote Symmetrix serial number. If this is not an RDF director, this field is NULL ')
symShowRa_group_num = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 9), UInt32()).setLabel("symShowRa-group-num").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowRa_group_num.setStatus('mandatory')
if mibBuilder.loadTexts: symShowRa_group_num.setDescription('If this is an RA in an SRDF system, this is the RA group number; otherwise it is zero. ')
symShowRemote_ra_group_num = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 10), UInt32()).setLabel("symShowRemote-ra-group-num").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowRemote_ra_group_num.setStatus('mandatory')
if mibBuilder.loadTexts: symShowRemote_ra_group_num.setDescription('If this is an RA in an SRDF system, this is the RA group number on the remote Symmetrix; otherwise it is zero. ')
symShowPrevent_auto_link_recovery = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 11), StateValues()).setLabel("symShowPrevent-auto-link-recovery").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowPrevent_auto_link_recovery.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPrevent_auto_link_recovery.setDescription('Prevent the automatic resumption of data copy across the RDF links as soon as the links have recovered. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
symShowPrevent_ra_online_upon_pwron = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 12), StateValues()).setLabel("symShowPrevent-ra-online-upon-pwron").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowPrevent_ra_online_upon_pwron.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPrevent_ra_online_upon_pwron.setDescription("Prevent RA's from coming online after the Symmetrix is powered on. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ")
symShowNum_ports = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 13), UInt32()).setLabel("symShowNum-ports").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowNum_ports.setStatus('mandatory')
if mibBuilder.loadTexts: symShowNum_ports.setDescription('Number of ports available on this director.')
symShowPort0_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 14), PortStatus()).setLabel("symShowPort0-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowPort0_status.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPort0_status.setDescription("The status of port 0 for this director. Possible values are: status-na(0) - the port's status is not applicable. on(1) - the port's status is on. off(2) - the port's status is off. wd(3) - the port's status is write disabled. ")
symShowPort1_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 15), PortStatus()).setLabel("symShowPort1-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowPort1_status.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPort1_status.setDescription("The status of port 1 for this director. Possible values are: status-na(0) - the port's status is not applicable. on(1) - the port's status is on. off(2) - the port's status is off. wd(3) - the port's status is write disabled. ")
symShowPort2_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 16), PortStatus()).setLabel("symShowPort2-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowPort2_status.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPort2_status.setDescription("The status of port 2 for this director. Possible values are: status-na(0) - the port's status is not applicable. on(1) - the port's status is on. off(2) - the port's status is off. wd(3) - the port's status is write disabled. ")
symShowPort3_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 17), PortStatus()).setLabel("symShowPort3-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: symShowPort3_status.setStatus('mandatory')
if mibBuilder.loadTexts: symShowPort3_status.setDescription("The status of port 3 for this director. Possible values are: status-na(0) - the port's status is not applicable. on(1) - the port's status is on. off(2) - the port's status is off. wd(3) - the port's status is write disabled. ")
class DeviceStatus(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))
namedValues = NamedValues(("ready", 0), ("not-ready", 1), ("write-disabled", 2), ("not-applicable", 3), ("mixed", 4))
class DeviceType(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 4, 8, 16, 32, 128))
namedValues = NamedValues(("not-applicable", 1), ("local-data", 2), ("raid-s", 4), ("raid-s-parity", 8), ("remote-r1-data", 16), ("remote-r2-data", 32), ("hot-spare", 128))
class DeviceEmulation(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))
namedValues = NamedValues(("emulation-na", 0), ("fba", 1), ("as400", 2), ("icl", 3), ("unisys-fba", 4), ("ckd-3380", 5), ("ckd-3390", 6))
class SCSIMethod(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2))
namedValues = NamedValues(("method-na", 0), ("synchronous", 1), ("asynchronous", 2))
class BCVState(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10))
namedValues = NamedValues(("never-established", 0), ("in-progress", 1), ("synchronous", 2), ("split-in-progress", 3), ("split-before-sync", 4), ("split", 5), ("split-no-incremental", 6), ("restore-in-progress", 7), ("restored", 8), ("split-before-restore", 9), ("invalid", 10))
class RDFPairState(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110))
namedValues = NamedValues(("invalid", 100), ("syncinprog", 101), ("synchronized", 102), ("split", 103), ("suspended", 104), ("failed-over", 105), ("partitioned", 106), ("r1-updated", 107), ("r1-updinprog", 108), ("mixed", 109), ("state-na", 110))
class RDFType(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1))
namedValues = NamedValues(("r1", 0), ("r2", 1))
class RDFMode(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))
namedValues = NamedValues(("synchronous", 0), ("semi-synchronous", 1), ("adaptive-copy", 2), ("mixed", 3), ("rdf-mode-na", 4))
class RDFAdaptiveCopy(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))
namedValues = NamedValues(("disabled", 0), ("wp-mode", 1), ("disk-mode", 2), ("mixed", 3), ("ac-na", 4))
class RDFLinkConfig(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("escon", 1), ("t3", 2), ("na", 3))
class RDDFTransientState(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))
namedValues = NamedValues(("transient-state-na", 1), ("offline", 2), ("offline-pend", 3), ("online", 4))
devShowConfigurationTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1), )
if mibBuilder.loadTexts: devShowConfigurationTable.setStatus('mandatory')
if mibBuilder.loadTexts: devShowConfigurationTable.setDescription('A table of Symmetrix device configuration information for the indicated Symmetrix and device instance. The number of entries is given by the value of symDevListCount.')
devShowConfigurationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symDevListCount"))
if mibBuilder.loadTexts: devShowConfigurationEntry.setStatus('mandatory')
if mibBuilder.loadTexts: devShowConfigurationEntry.setDescription('An entry containing objects for the Symmetrix device configuration information for the specified Symmetrix and device.')
devShowVendor_id = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 1), DisplayString()).setLabel("devShowVendor-id").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowVendor_id.setStatus('mandatory')
if mibBuilder.loadTexts: devShowVendor_id.setDescription('Vendor ID of the Symmetrix device ')
devShowProduct_id = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 2), DisplayString()).setLabel("devShowProduct-id").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowProduct_id.setStatus('mandatory')
if mibBuilder.loadTexts: devShowProduct_id.setDescription('Product ID of the Symmetrix device ')
devShowProduct_rev = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 3), DisplayString()).setLabel("devShowProduct-rev").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowProduct_rev.setStatus('mandatory')
if mibBuilder.loadTexts: devShowProduct_rev.setDescription('Product revision level of the Symmetrix device ')
devShowSymid = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowSymid.setStatus('mandatory')
if mibBuilder.loadTexts: devShowSymid.setDescription('Symmetrix serial number ')
devShowDevice_serial_id = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 5), DisplayString()).setLabel("devShowDevice-serial-id").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDevice_serial_id.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDevice_serial_id.setDescription('Symmetrix device serial ID ')
devShowSym_devname = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 6), DisplayString()).setLabel("devShowSym-devname").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowSym_devname.setStatus('mandatory')
if mibBuilder.loadTexts: devShowSym_devname.setDescription('Symmetrix device name/number ')
devShowPdevname = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 7), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowPdevname.setStatus('mandatory')
if mibBuilder.loadTexts: devShowPdevname.setDescription('Physical device name. If not visible to the host this field is NULL ')
devShowDgname = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 8), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDgname.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDgname.setDescription('Name of device group. If the device is not a member of a device group, this field is NULL ')
devShowLdevname = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 9), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowLdevname.setStatus('mandatory')
if mibBuilder.loadTexts: devShowLdevname.setDescription('Name of this device in the device group. If the device is not a member of a device group, this field is NULL ')
devShowDev_config = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("unprotected", 0), ("mirror-2", 1), ("mirror-3", 2), ("mirror-4", 3), ("raid-s", 4), ("raid-s-mirror", 5), ("rdf-r1", 6), ("rdf-r2", 7), ("rdf-r1-raid-s", 8), ("rdf-r2-raid-s", 9), ("rdf-r1-mirror", 10), ("rdf-r2-mirror", 11), ("bcv", 12), ("hot-spare", 13), ("bcv-mirror-2", 14), ("bcv-rdf-r1", 15), ("bcv-rdf-r1-mirror", 16)))).setLabel("devShowDev-config").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_config.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_config.setDescription(' unprotected(0) - no data protection method applied mirror-2(1) - device is a two-way mirror mirror-3(2) - device is a three-way mirror mirror-4(3) - device is a four-way mirror raid-s(4) - device is a standard raid-s device raid-s-mirror(5) - device is a raid-s device plus a local mirror rdf-r1(6) - device is an SRDF Master (R1) rdf-r2(7) - device is an SRDF Slave (R2) rdf-r1-raid-s(8) - device is an SRDF Master (R1) with RAID_S rdf-r2-raid-s(9) - device is an SRDF Slave (R2) with RAID_S rdf-r1-mirror(10) - device is an SRDF source (R1) with a local mirror rdf-r2-mirror(11) - device is an SRDF target (R2) with mirror bcv(12) - device is a BCV device hot-spare(13) - device is a Hot Spare device bcv-mirror-2(14) - device is a protected BCV device with mirror bcv-rdf-r1(15) - device is an SRDF Master (R1), BCV device bcv-rdf-r1-mirror(16) - device is an SRDF Master (R1), BCV device with mirror ')
devShowDev_parameters = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4, 8, 16, 32))).clone(namedValues=NamedValues(("ckd-device", 1), ("gatekeeper-device", 2), ("associated-device", 4), ("multi-channel-device", 8), ("meta-head-device", 16), ("meta-member-device", 32)))).setLabel("devShowDev-parameters").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_parameters.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_parameters.setDescription(" ckd-device(1) - device is an 'Count Key Data' (CKD) device gatekeeper-device(2) - device is a gatekeeper device associated-device(4) - BCV or Gatekeeper device,associated with a group multi-channel-device(8) - device visible by the host over more than one SCSI-bus meta-head-device(16) - device is a META head device meta-member-device(32) - device is a META member device ")
devShowDev_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 12), DeviceStatus()).setLabel("devShowDev-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_status.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
devShowDev_capacity = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 13), UInt32()).setLabel("devShowDev-capacity").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_capacity.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_capacity.setDescription('Device capacity specified as the number of device blocks ')
devShowTid = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 14), UInt32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowTid.setStatus('mandatory')
if mibBuilder.loadTexts: devShowTid.setDescription('SCSI target ID of the Symmetrix device ')
devShowLun = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 15), UInt32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowLun.setStatus('mandatory')
if mibBuilder.loadTexts: devShowLun.setDescription('SCSI logical unit number of the Symmetrix device ')
devShowDirector_num = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 16), Integer32()).setLabel("devShowDirector-num").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDirector_num.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDirector_num.setDescription("Symmetrix director number of the device's FW SCSI Channel director, or SA, (1-32). If there is no primary port, it is zero. ")
devShowDirector_slot_num = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 17), Integer32()).setLabel("devShowDirector-slot-num").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDirector_slot_num.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDirector_slot_num.setDescription('The slot number of the director. If there is no primary port, it is zero. ')
devShowDirector_ident = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 18), DisplayString()).setLabel("devShowDirector-ident").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDirector_ident.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDirector_ident.setDescription('The identification number of the director, for example: SA-16. If there is no primary port, this field is NULL ')
devShowDirector_port_num = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 19), Integer32()).setLabel("devShowDirector-port-num").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDirector_port_num.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDirector_port_num.setDescription("The device's SA port number (0-3). If there is no primary port, it is zero. ")
devShowMset_M1_type = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 20), DeviceType()).setLabel("devShowMset-M1-type").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M1_type.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M1_type.setDescription(' Device type of each hyper volume forming a Symmetrix mirror set. not-applicable(1) - No device exists for this mirror local-data(2) - This device is a local data device raid-s(4) - This device is a local raid-s data device raid-s-parity(8) - This device is a local raid_s parity device remote-r1-data(16) - This device is a remote R1 data device remote-r2-data(32) - This device is a remote R2 data device hot-spare(128) - This device is a hot spare device ')
devShowMset_M2_type = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 21), DeviceType()).setLabel("devShowMset-M2-type").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M2_type.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M2_type.setDescription(' Device type of each hyper volume forming a Symmetrix mirror set. not-applicable(1) - No device exists for this mirror local-data(2) - This device is a local data device raid-s(4) - This device is a local raid-s data device raid-s-parity(8) - This device is a local raid_s parity device remote-r1-data(16) - This device is a remote R1 data device remote-r2-data(32) - This device is a remote R2 data device hot-spare(128) - This device is a hot spare device ')
devShowMset_M3_type = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 22), DeviceType()).setLabel("devShowMset-M3-type").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M3_type.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M3_type.setDescription(' Device type of each hyper volume forming a Symmetrix mirror set. not-applicable(1) - No device exists for this mirror local-data(2) - This device is a local data device raid-s(4) - This device is a local raid-s data device raid-s-parity(8) - This device is a local raid_s parity device remote-r1-data(16) - This device is a remote R1 data device remote-r2-data(32) - This device is a remote R2 data device hot-spare(128) - This device is a hot spare device ')
devShowMset_M4_type = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 23), DeviceType()).setLabel("devShowMset-M4-type").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M4_type.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M4_type.setDescription(' Device type of each hyper volume forming a Symmetrix mirror set. not-applicable(1) - No device exists for this mirror local-data(2) - This device is a local data device raid-s(4) - This device is a local raid-s data device raid-s-parity(8) - This device is a local raid_s parity device remote-r1-data(16) - This device is a remote R1 data device remote-r2-data(32) - This device is a remote R2 data device hot-spare(128) - This device is a hot spare device ')
devShowMset_M1_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 24), DeviceStatus()).setLabel("devShowMset-M1-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M1_status.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M1_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
devShowMset_M2_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 25), DeviceStatus()).setLabel("devShowMset-M2-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M2_status.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M2_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
devShowMset_M3_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 26), DeviceStatus()).setLabel("devShowMset-M3-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M3_status.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M3_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
devShowMset_M4_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 27), DeviceStatus()).setLabel("devShowMset-M4-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M4_status.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M4_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
devShowMset_M1_invalid_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 28), Integer32()).setLabel("devShowMset-M1-invalid-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M1_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M1_invalid_tracks.setDescription('The number of invalid tracks for Mirror 1')
devShowMset_M2_invalid_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 29), Integer32()).setLabel("devShowMset-M2-invalid-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M2_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M2_invalid_tracks.setDescription('The number of invalid tracks for Mirror 2')
devShowMset_M3_invalid_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 30), Integer32()).setLabel("devShowMset-M3-invalid-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M3_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M3_invalid_tracks.setDescription('The number of invalid tracks for Mirror 3')
devShowMset_M4_invalid_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 31), Integer32()).setLabel("devShowMset-M4-invalid-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowMset_M4_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devShowMset_M4_invalid_tracks.setDescription('The number of invalid tracks for Mirror 4')
devShowDirector_port_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 48), DeviceStatus()).setLabel("devShowDirector-port-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDirector_port_status.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDirector_port_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
devShowDev_sa_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 49), DeviceStatus()).setLabel("devShowDev-sa-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_sa_status.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_sa_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
devShowVbus = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 50), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowVbus.setStatus('mandatory')
if mibBuilder.loadTexts: devShowVbus.setDescription('The virtual busis used for fibre channel ports. For EA and CA ports, this is the device address. ')
devShowEmulation = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 51), DeviceEmulation()).setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowEmulation.setStatus('mandatory')
if mibBuilder.loadTexts: devShowEmulation.setDescription(' emulation-na(0) - the emulation type for this device is not available. fba(1) - the emulation type for this device is fba. as400(2) - the emulation type for this device is as/400. icl(3) - the emulation type for this device is icl. unisys-fba(4) - the emulation type for this device is unisys fba. ckd-3380(5) - the emulation type for this device is ckd 3380. ckd-3390(6) - the emulation type for this device is ckd 3390. ')
devShowDev_block_size = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 52), UInt32()).setLabel("devShowDev-block-size").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_block_size.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_block_size.setDescription('Indicates the number of bytes per block ')
devShowSCSI_negotiation = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 53), SCSIWidth()).setLabel("devShowSCSI-negotiation").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowSCSI_negotiation.setStatus('mandatory')
if mibBuilder.loadTexts: devShowSCSI_negotiation.setDescription('width-na(0) - width not available narrow(1), wide(2), ultra(3) ')
devShowSCSI_method = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 54), SCSIMethod()).setLabel("devShowSCSI-method").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowSCSI_method.setStatus('mandatory')
if mibBuilder.loadTexts: devShowSCSI_method.setDescription(' method-na(0) - method not available synchronous(1) asynchronous(2) ')
devShowDev_cylinders = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 55), UInt32()).setLabel("devShowDev-cylinders").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_cylinders.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_cylinders.setDescription('Number device cylinders ')
devShowAttached_bcv_symdev = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 56), DisplayString()).setLabel("devShowAttached-bcv-symdev").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowAttached_bcv_symdev.setStatus('mandatory')
if mibBuilder.loadTexts: devShowAttached_bcv_symdev.setDescription('If this is a std device, this may be set to indicate the preferred BCV device to which this device would be paired. ')
devShowRDFInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2), )
if mibBuilder.loadTexts: devShowRDFInfoTable.setStatus('mandatory')
if mibBuilder.loadTexts: devShowRDFInfoTable.setDescription('A table of Symmetrix RDF device configuration information for the indicated Symmetrix and device instance. The number of entries is given by the value of symDevListCount.')
devShowRDFInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symDevListCount"))
if mibBuilder.loadTexts: devShowRDFInfoEntry.setStatus('mandatory')
if mibBuilder.loadTexts: devShowRDFInfoEntry.setDescription('An entry containing objects for the Symmetrix RDF device configuration information for the specified Symmetrix and device.')
devShowRemote_symid = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 1), DisplayString()).setLabel("devShowRemote-symid").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowRemote_symid.setStatus('mandatory')
if mibBuilder.loadTexts: devShowRemote_symid.setDescription('Serial number of the Symmetrix containing the target (R2) volume ')
devShowRemote_sym_devname = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 2), DisplayString()).setLabel("devShowRemote-sym-devname").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowRemote_sym_devname.setStatus('mandatory')
if mibBuilder.loadTexts: devShowRemote_sym_devname.setDescription('Symmetrix device name of the remote device in an RDF pair ')
devShowRa_group_number = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 3), Integer32()).setLabel("devShowRa-group-number").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowRa_group_number.setStatus('mandatory')
if mibBuilder.loadTexts: devShowRa_group_number.setDescription('The RA group number (1 - n)')
devShowDev_rdf_type = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 4), RDFType()).setLabel("devShowDev-rdf-type").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_rdf_type.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_rdf_type.setDescription('Type of RDF device. Values are: r1(0) - an R1 device r2(1) - an R2 device ')
devShowDev_ra_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 5), DeviceStatus()).setLabel("devShowDev-ra-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_ra_status.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_ra_status.setDescription('The status of the remote device. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
devShowDev_link_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 6), DeviceStatus()).setLabel("devShowDev-link-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_link_status.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_link_status.setDescription('The RDF link status. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
devShowRdf_mode = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 7), RDFMode()).setLabel("devShowRdf-mode").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowRdf_mode.setStatus('mandatory')
if mibBuilder.loadTexts: devShowRdf_mode.setDescription('The RDF Mode. Values are synchronous(0) semi_synchronous(1) adaptive_copy(2) mixed(3) - This state is set when the RDF modes of the devices in the group are different from each other rdf_mode_na (4) - not applicable ')
devShowRdf_pair_state = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 8), RDFPairState()).setLabel("devShowRdf-pair-state").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowRdf_pair_state.setStatus('mandatory')
if mibBuilder.loadTexts: devShowRdf_pair_state.setDescription('The RDF pair state. Values are: invalid(100) - The device & link states are in an unrecognized combination syncinprog(101) - Synchronizing in progress synchronized(102) - The source and target have identical data split(103) - The source is split from the target, and the target is write enabled. suspended(104) - The link is suspended failed-over(105) - The target is write enabled, the source is write disabled, the link is suspended. partitioned(106) - The communication link to the remote symmetrix is down, and the device is write enabled. r1-updated(107) - The target is write enabled, the source is write disabled, and the link is up. r1-updinprog(108) - same as r1-updated but there are invalid tracks between target and source mixed(109) - This state is set when the RDF modes of the devices in the group are different from each other state-na(110) - Not applicable ')
devShowRdf_domino = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 9), StateValues()).setLabel("devShowRdf-domino").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowRdf_domino.setStatus('mandatory')
if mibBuilder.loadTexts: devShowRdf_domino.setDescription('The RDF Domino state. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
devShowAdaptive_copy = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 10), RDFAdaptiveCopy()).setLabel("devShowAdaptive-copy").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowAdaptive_copy.setStatus('mandatory')
if mibBuilder.loadTexts: devShowAdaptive_copy.setDescription('Adaptive copy state. Values are: disabled(0) - Adaptive Copy is Disabled wp-mode(1) - Adaptive Copy Write Pending Mode disk-mode(2) - Adaptive Copy Disk Mode mixed(3) - This state is set when the RDF modes of the devices in the group are different from each other ac-na(4) - Not Applicable ')
devShowAdaptive_copy_skew = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 11), UInt32()).setLabel("devShowAdaptive-copy-skew").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowAdaptive_copy_skew.setStatus('mandatory')
if mibBuilder.loadTexts: devShowAdaptive_copy_skew.setDescription('Number of invalid tracks when in Adaptive copy mode. ')
devShowNum_r1_invalid_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 12), UInt32()).setLabel("devShowNum-r1-invalid-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowNum_r1_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devShowNum_r1_invalid_tracks.setDescription('Number of invalid tracks invalid tracks on R1')
devShowNum_r2_invalid_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 13), UInt32()).setLabel("devShowNum-r2-invalid-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowNum_r2_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devShowNum_r2_invalid_tracks.setDescription('Number of invalid tracks invalid tracks on R2')
devShowDev_rdf_state = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 14), DeviceStatus()).setLabel("devShowDev-rdf-state").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_rdf_state.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_rdf_state.setDescription('The RDF state. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
devShowRemote_dev_rdf_state = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 15), DeviceStatus()).setLabel("devShowRemote-dev-rdf-state").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowRemote_dev_rdf_state.setStatus('mandatory')
if mibBuilder.loadTexts: devShowRemote_dev_rdf_state.setDescription('The RDF device state. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
devShowRdf_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 16), DeviceStatus()).setLabel("devShowRdf-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowRdf_status.setStatus('mandatory')
if mibBuilder.loadTexts: devShowRdf_status.setDescription('The RDF status. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
devShowLink_domino = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 17), StateValues()).setLabel("devShowLink-domino").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowLink_domino.setStatus('mandatory')
if mibBuilder.loadTexts: devShowLink_domino.setDescription('The link domino state. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
devShowPrevent_auto_link_recovery = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 18), StateValues()).setLabel("devShowPrevent-auto-link-recovery").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowPrevent_auto_link_recovery.setStatus('mandatory')
if mibBuilder.loadTexts: devShowPrevent_auto_link_recovery.setDescription('Prevent the automatic resumption of data copy across the RDF links as soon as the links have recovered. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
devShowLink_config = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 19), RDFLinkConfig()).setLabel("devShowLink-config").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowLink_config.setStatus('mandatory')
if mibBuilder.loadTexts: devShowLink_config.setDescription('The RDF link configuration: Values are: escon(1), t3(2), na(3) ')
devShowSuspend_state = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 20), RDDFTransientState()).setLabel("devShowSuspend-state").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowSuspend_state.setStatus('mandatory')
if mibBuilder.loadTexts: devShowSuspend_state.setDescription('For R1 devices in a consistency group, will be set to OFFLINE or OFFLINE_PENDING if a device in the group experiences a link failure. Values are: transient-state-na(1) - state not applicable offline(2), offline_pend(3), online(4) ')
devShowConsistency_state = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 21), StateValues()).setLabel("devShowConsistency-state").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowConsistency_state.setStatus('mandatory')
if mibBuilder.loadTexts: devShowConsistency_state.setDescription('Indicates if this R1 device is a member of any consistency group. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
devShowAdaptive_copy_wp_state = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 22), RDDFTransientState()).setLabel("devShowAdaptive-copy-wp-state").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowAdaptive_copy_wp_state.setStatus('mandatory')
if mibBuilder.loadTexts: devShowAdaptive_copy_wp_state.setDescription('The Adaptive Copy Write Pending state. Values are: transient-state-na(1) - state not applicable offline(2), offline_pend(3), online(4) ')
devShowPrevent_ra_online_upon_pwron = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 23), StateValues()).setLabel("devShowPrevent-ra-online-upon-pwron").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowPrevent_ra_online_upon_pwron.setStatus('mandatory')
if mibBuilder.loadTexts: devShowPrevent_ra_online_upon_pwron.setDescription("Prevent RA's from coming online after the Symmetrix is powered on. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ")
devShowBCVInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3), )
if mibBuilder.loadTexts: devShowBCVInfoTable.setStatus('mandatory')
if mibBuilder.loadTexts: devShowBCVInfoTable.setDescription('A table of Symmetrix BCV device configuration information for the indicated Symmetrix and device instance. The number of entries is given by the value of symDevListCount.')
devShowBCVInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symDevListCount"))
if mibBuilder.loadTexts: devShowBCVInfoEntry.setStatus('mandatory')
if mibBuilder.loadTexts: devShowBCVInfoEntry.setDescription('An entry containing objects for the Symmetrix BCV device configuration information for the specified Symmetrix and device.')
devShowDev_serial_id = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 1), DisplayString()).setLabel("devShowDev-serial-id").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_serial_id.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_serial_id.setDescription('Symmetrix device serial ID for the standard device in a BCV pair. If the device is a: BCV device in a BCV pair, this field is the serial ID of the standard device with which the BCV is paired. Standard device in a BCV pair, this field is the same as device_serial_id in SYMAPI_DEVICE_T. if the standard device that was never paired with a BCV device, this field is NULL ')
devShowDev_sym_devname = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 2), DisplayString()).setLabel("devShowDev-sym-devname").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_sym_devname.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_sym_devname.setDescription('Symmetrix device name/number for the standard device in a BCV pair. If the device is a: BCV device in a BCV pair, this is the device name/number of the standard device with which the BCV is paired. Standard device in a BCV pair, this is the same as sym_devname in SYMAPI_DEVICE_T. If the standard device that was never paired with a BCV device, this field is NULL ')
devShowDev_dgname = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 3), DisplayString()).setLabel("devShowDev-dgname").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowDev_dgname.setStatus('mandatory')
if mibBuilder.loadTexts: devShowDev_dgname.setDescription('Name of the device group that the standard device is a member. If the standard device is not a member of a device group, this field is NULL')
devShowBcvdev_serial_id = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 4), DisplayString()).setLabel("devShowBcvdev-serial-id").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowBcvdev_serial_id.setStatus('mandatory')
if mibBuilder.loadTexts: devShowBcvdev_serial_id.setDescription('Symmetrix device serial ID for the BCV device in a BCV pair. If the device is a: BCV device in a BCV pair, this is the same as device_serial_id in SYMAPI_DEVICE_T. Standard device in a BCV pair, this is the serial ID of the BCV device with which the standard device is paired. If the BCV device that was never paired with a standard device, this field is NULL ')
devShowBcvdev_sym_devname = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 5), DisplayString()).setLabel("devShowBcvdev-sym-devname").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowBcvdev_sym_devname.setStatus('mandatory')
if mibBuilder.loadTexts: devShowBcvdev_sym_devname.setDescription('Symmetrix device name/number for the BCV device in a BCV pair. If the device is a: BCV device in a BCV pair, this is the same as sym_devname in SYMAPI_DEVICE_T. Standard device in a BCV pair, this is the device name/number of the BCV device with which the standard device is paired. If the BCV device was never paired with a standard device, this field is NULL.')
devShowBcvdev_dgname = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 6), DisplayString()).setLabel("devShowBcvdev-dgname").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowBcvdev_dgname.setStatus('mandatory')
if mibBuilder.loadTexts: devShowBcvdev_dgname.setDescription('Name of the device group that the BCV device is associated with. If the BCV device is not associated with a device group, this field is NULL')
devShowBcv_pair_state = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 7), BCVState()).setLabel("devShowBcv-pair-state").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowBcv_pair_state.setStatus('mandatory')
if mibBuilder.loadTexts: devShowBcv_pair_state.setDescription(' never-established(0), in-progress(1), synchronous(2), split-in-progress(3), split-before-sync(4), split(5), split-no-incremental(6), restore-in-progress(7), restored(8), split-before-restore(9), invalid(10) ')
devShowNum_dev_invalid_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 8), UInt32()).setLabel("devShowNum-dev-invalid-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowNum_dev_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devShowNum_dev_invalid_tracks.setDescription('Number of invalid tracks on the standard device')
devShowNum_bcvdev_invalid_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 9), UInt32()).setLabel("devShowNum-bcvdev-invalid-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowNum_bcvdev_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devShowNum_bcvdev_invalid_tracks.setDescription('Number of invalid tracks on the BCV device')
devShowBcvdev_status = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 10), DeviceStatus()).setLabel("devShowBcvdev-status").setMaxAccess("readonly")
if mibBuilder.loadTexts: devShowBcvdev_status.setStatus('mandatory')
if mibBuilder.loadTexts: devShowBcvdev_status.setDescription('The BCV Device status. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
symStatTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1), )
if mibBuilder.loadTexts: symStatTable.setStatus('mandatory')
if mibBuilder.loadTexts: symStatTable.setDescription('A table of Symmetrix statistcs for the indicated Symmetrix instance. The number of entries is given by the value of discIndex.')
symStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"))
if mibBuilder.loadTexts: symStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symStatEntry.setDescription('An entry containing objects for the Symmetrix statistics for the specified Symmetrix and device.')
symstatTime_stamp = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 1), TimeTicks()).setLabel("symstatTime-stamp").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatTime_stamp.setStatus('mandatory')
if mibBuilder.loadTexts: symstatTime_stamp.setDescription(' Time since these statistics were last collected')
symstatNum_rw_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 2), UInt32()).setLabel("symstatNum-rw-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_rw_reqs.setDescription(' Total number of all read and write requests on the specified Symmetrix unit ')
symstatNum_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 3), UInt32()).setLabel("symstatNum-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_read_reqs.setDescription(' Number of all read requests on the specified Symmetrix unit ')
symstatNum_write_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 4), UInt32()).setLabel("symstatNum-write-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_write_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_write_reqs.setDescription(' Number of all write requests on the specified Symmetrix unit ')
symstatNum_rw_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 5), UInt32()).setLabel("symstatNum-rw-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_rw_hits.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_rw_hits.setDescription(' Total number of all read and write cache hits for all devices on the specified Symmetrix unit ')
symstatNum_read_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 6), UInt32()).setLabel("symstatNum-read-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_read_hits.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_read_hits.setDescription('Total number of cache read hits for all devices on the specified Symmetrix unit ')
symstatNum_write_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 7), UInt32()).setLabel("symstatNum-write-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_write_hits.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_write_hits.setDescription('Total number of cache write hits for all devices on the specified Symmetrix unit ')
symstatNum_blocks_read = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 12), UInt32()).setLabel("symstatNum-blocks-read").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_blocks_read.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_blocks_read.setDescription('Total number of (512 byte) blocks read for all devices on the specified Symmetrix unit ')
symstatNum_blocks_written = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 17), UInt32()).setLabel("symstatNum-blocks-written").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_blocks_written.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_blocks_written.setDescription('Total number of (512 byte) blocks written for all devices on the specified Symmetrix unit ')
symstatNum_seq_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 18), UInt32()).setLabel("symstatNum-seq-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_seq_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_seq_read_reqs.setDescription('Number of sequential read requests ')
symstatNum_prefetched_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 19), UInt32()).setLabel("symstatNum-prefetched-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_prefetched_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_prefetched_tracks.setDescription('Number of prefetched tracks ')
symstatNum_destaged_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 20), UInt32()).setLabel("symstatNum-destaged-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_destaged_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_destaged_tracks.setDescription('Number of destaged tracks ')
symstatNum_deferred_writes = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 21), UInt32()).setLabel("symstatNum-deferred-writes").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_deferred_writes.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_deferred_writes.setDescription('Number of deferred writes ')
symstatNum_delayed_dfw = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 22), UInt32()).setLabel("symstatNum-delayed-dfw").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_delayed_dfw.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_delayed_dfw.setDescription('Number of delayed deferred writes untils tracks are destaged. (reserved for EMC use only.) ')
symstatNum_wr_pend_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 23), UInt32()).setLabel("symstatNum-wr-pend-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_wr_pend_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_wr_pend_tracks.setDescription('Number of tracks waiting to be destaged from cache on to disk for the specified Symmetrix unit ')
symstatNum_format_pend_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 24), UInt32()).setLabel("symstatNum-format-pend-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_format_pend_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_format_pend_tracks.setDescription(' Number of formatted pending tracks. (reserved for EMC use only.) ')
symstatDevice_max_wp_limit = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 25), UInt32()).setLabel("symstatDevice-max-wp-limit").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatDevice_max_wp_limit.setStatus('mandatory')
if mibBuilder.loadTexts: symstatDevice_max_wp_limit.setDescription('Maximum write pending limit for a device ')
symstatNum_sa_cdb_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 26), UInt32()).setLabel("symstatNum-sa-cdb-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_sa_cdb_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_sa_cdb_reqs.setDescription('Number of Command Descriptor Blocks (CDBs) sent to the Symmetrix unit. (Reads, writes, and inquiries are the types of commands sent in the CDBs.) ')
symstatNum_sa_rw_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 27), UInt32()).setLabel("symstatNum-sa-rw-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_sa_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_sa_rw_reqs.setDescription('Total number of all read and write requests for all SCSI adapters (SAs) on the specified Symmetrix unit')
symstatNum_sa_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 28), UInt32()).setLabel("symstatNum-sa-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_sa_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_sa_read_reqs.setDescription('Total number of all read requests for all SCSI adapters (SAs) on the specified Symmetrix unit')
symstatNum_sa_write_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 29), UInt32()).setLabel("symstatNum-sa-write-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_sa_write_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_sa_write_reqs.setDescription('Total number of all write requests for all SCSI adapters (SAs) on the specified Symmetrix unit')
symstatNum_sa_rw_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 30), UInt32()).setLabel("symstatNum-sa-rw-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_sa_rw_hits.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_sa_rw_hits.setDescription('Total number of all read and write cache hits for all SCSI adapters (SAs) on the specified Symmetrix unit')
symstatNum_free_permacache_slots = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 31), UInt32()).setLabel("symstatNum-free-permacache-slots").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_free_permacache_slots.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_free_permacache_slots.setDescription('Total number of PermaCache slots that are available')
symstatNum_used_permacache_slots = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 32), UInt32()).setLabel("symstatNum-used-permacache-slots").setMaxAccess("readonly")
if mibBuilder.loadTexts: symstatNum_used_permacache_slots.setStatus('mandatory')
if mibBuilder.loadTexts: symstatNum_used_permacache_slots.setDescription('Total number of PermaCache slots that are used')
devStatTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2), )
if mibBuilder.loadTexts: devStatTable.setStatus('mandatory')
if mibBuilder.loadTexts: devStatTable.setDescription('A table of Symmetrix device statistics for the indicated Symmetrix and device instance. The number of entries is given by the value of symDevListCount.')
devStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symDevListCount"))
if mibBuilder.loadTexts: devStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts: devStatEntry.setDescription('An entry containing objects for the Symmetrix device statistics for the specified Symmetrix and device.')
devstatTime_stamp = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 1), TimeTicks()).setLabel("devstatTime-stamp").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatTime_stamp.setStatus('mandatory')
if mibBuilder.loadTexts: devstatTime_stamp.setDescription(' Time since these statistics were last collected')
devstatNum_sym_timeslices = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 2), UInt32()).setLabel("devstatNum-sym-timeslices").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_sym_timeslices.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
devstatNum_rw_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 3), UInt32()).setLabel("devstatNum-rw-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_rw_reqs.setDescription(' Total number of I/Os for the device')
devstatNum_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 4), UInt32()).setLabel("devstatNum-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_read_reqs.setDescription(' Total number of read requests for the device')
devstatNum_write_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 5), UInt32()).setLabel("devstatNum-write-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_write_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_write_reqs.setDescription(' Total number of write requests for the device ')
devstatNum_rw_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 6), UInt32()).setLabel("devstatNum-rw-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_rw_hits.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_rw_hits.setDescription(' Total number of cache hits (read & write) for the device ')
devstatNum_read_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 7), UInt32()).setLabel("devstatNum-read-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_read_hits.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_read_hits.setDescription(' Total number of cache read hits for the device ')
devstatNum_write_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 8), UInt32()).setLabel("devstatNum-write-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_write_hits.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_write_hits.setDescription(' Total number of cache write hits for the device ')
devstatNum_blocks_read = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 13), UInt32()).setLabel("devstatNum-blocks-read").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_blocks_read.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_blocks_read.setDescription(' Total number of (512 byte) blocks read for the device ')
devstatNum_blocks_written = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 18), UInt32()).setLabel("devstatNum-blocks-written").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_blocks_written.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_blocks_written.setDescription(' Total number of (512 byte) blocks written for the device ')
devstatNum_seq_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 19), UInt32()).setLabel("devstatNum-seq-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_seq_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_seq_read_reqs.setDescription(' Total number of number of sequential read reqs for the device ')
devstatNum_prefetched_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 20), UInt32()).setLabel("devstatNum-prefetched-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_prefetched_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_prefetched_tracks.setDescription(' Total number of prefetched tracks for the device ')
devstatNum_destaged_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 21), UInt32()).setLabel("devstatNum-destaged-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_destaged_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_destaged_tracks.setDescription(' Total number of destaged tracks for the device ')
devstatNum_deferred_writes = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 22), UInt32()).setLabel("devstatNum-deferred-writes").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_deferred_writes.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_deferred_writes.setDescription(' Total number of deferred writes for the device ')
devstatNum_delayed_dfw = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 23), UInt32()).setLabel("devstatNum-delayed-dfw").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_delayed_dfw.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_delayed_dfw.setDescription(' Total number of delayed deferred writes until track destaged')
devstatNum_wp_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 24), UInt32()).setLabel("devstatNum-wp-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_wp_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_wp_tracks.setDescription(' Total number of write pending tracks for the device')
devstatNum_format_pend_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 25), UInt32()).setLabel("devstatNum-format-pend-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatNum_format_pend_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: devstatNum_format_pend_tracks.setDescription(' Total number of format pending tracks for the device')
devstatDevice_max_wp_limit = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 26), UInt32()).setLabel("devstatDevice-max-wp-limit").setMaxAccess("readonly")
if mibBuilder.loadTexts: devstatDevice_max_wp_limit.setStatus('mandatory')
if mibBuilder.loadTexts: devstatDevice_max_wp_limit.setDescription(' Device max write pending limit')
pDevStatTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3), )
if mibBuilder.loadTexts: pDevStatTable.setStatus('mandatory')
if mibBuilder.loadTexts: pDevStatTable.setDescription('A table of Symmetrix phisical device statistics for the indicated Symmetrix and device instance. The number of entries is given by the value of symPDevListCount.')
pDevStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symPDevListCount"))
if mibBuilder.loadTexts: pDevStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts: pDevStatEntry.setDescription('An entry containing objects for the Symmetrix physical device statistics for the specified Symmetrix and device.')
pdevstatTime_stamp = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 1), TimeTicks()).setLabel("pdevstatTime-stamp").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatTime_stamp.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatTime_stamp.setDescription(' Time since these statistics were last collected')
pdevstatNum_sym_timeslices = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 2), UInt32()).setLabel("pdevstatNum-sym-timeslices").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_sym_timeslices.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
pdevstatNum_rw_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 3), UInt32()).setLabel("pdevstatNum-rw-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_rw_reqs.setDescription(' Total number of I/Os for the device')
pdevstatNum_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 4), UInt32()).setLabel("pdevstatNum-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_read_reqs.setDescription(' Total number of read requests for the device')
pdevstatNum_write_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 5), UInt32()).setLabel("pdevstatNum-write-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_write_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_write_reqs.setDescription(' Total number of write requests for the device ')
pdevstatNum_rw_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 6), UInt32()).setLabel("pdevstatNum-rw-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_rw_hits.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_rw_hits.setDescription(' Total number of cache hits (read & write) for the device ')
pdevstatNum_read_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 7), UInt32()).setLabel("pdevstatNum-read-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_read_hits.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_read_hits.setDescription(' Total number of cache read hits for the device ')
pdevstatNum_write_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 8), UInt32()).setLabel("pdevstatNum-write-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_write_hits.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_write_hits.setDescription(' Total number of cache write hits for the device ')
pdevstatNum_blocks_read = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 13), UInt32()).setLabel("pdevstatNum-blocks-read").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_blocks_read.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_blocks_read.setDescription(' Total number of (512 byte) blocks read for the device ')
pdevstatNum_blocks_written = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 18), UInt32()).setLabel("pdevstatNum-blocks-written").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_blocks_written.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_blocks_written.setDescription(' Total number of (512 byte) blocks written for the device ')
pdevstatNum_seq_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 19), UInt32()).setLabel("pdevstatNum-seq-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_seq_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_seq_read_reqs.setDescription(' Total number of number of sequential read reqs for the device ')
pdevstatNum_prefetched_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 20), UInt32()).setLabel("pdevstatNum-prefetched-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_prefetched_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_prefetched_tracks.setDescription(' Total number of prefetched tracks for the device ')
pdevstatNum_destaged_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 21), UInt32()).setLabel("pdevstatNum-destaged-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_destaged_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_destaged_tracks.setDescription(' Total number of destaged tracks for the device ')
pdevstatNum_deferred_writes = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 22), UInt32()).setLabel("pdevstatNum-deferred-writes").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_deferred_writes.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_deferred_writes.setDescription(' Total number of deferred writes for the device ')
pdevstatNum_delayed_dfw = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 23), UInt32()).setLabel("pdevstatNum-delayed-dfw").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_delayed_dfw.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_delayed_dfw.setDescription(' Total number of delayed deferred writes until track destaged')
pdevstatNum_wp_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 24), UInt32()).setLabel("pdevstatNum-wp-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_wp_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_wp_tracks.setDescription(' Total number of write pending tracks for the device')
pdevstatNum_format_pend_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 25), UInt32()).setLabel("pdevstatNum-format-pend-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatNum_format_pend_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatNum_format_pend_tracks.setDescription(' Total number of format pending tracks for the device')
pdevstatDevice_max_wp_limit = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 26), UInt32()).setLabel("pdevstatDevice-max-wp-limit").setMaxAccess("readonly")
if mibBuilder.loadTexts: pdevstatDevice_max_wp_limit.setStatus('mandatory')
if mibBuilder.loadTexts: pdevstatDevice_max_wp_limit.setDescription(' Device max write pending limit')
lDevStatTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4), )
if mibBuilder.loadTexts: lDevStatTable.setStatus('obsolete')
if mibBuilder.loadTexts: lDevStatTable.setDescription('A table of Symmetrix logical device statistics for the indicated Symmetrix and device instance. The number of entries is given by the value of symLDevListCount.')
lDevStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1), ).setIndexNames((0, "EMC-MIB", "symDgListCount"), (0, "EMC-MIB", "symLDevListCount"))
if mibBuilder.loadTexts: lDevStatEntry.setStatus('obsolete')
if mibBuilder.loadTexts: lDevStatEntry.setDescription('An entry containing objects for the Symmetrix logical device statistics for the specified Symmetrix and device.')
ldevstatTime_stamp = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 1), TimeTicks()).setLabel("ldevstatTime-stamp").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatTime_stamp.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatTime_stamp.setDescription(' Time since these statistics were last collected')
ldevstatNum_sym_timeslices = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 2), UInt32()).setLabel("ldevstatNum-sym-timeslices").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_sym_timeslices.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
ldevstatNum_rw_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 3), UInt32()).setLabel("ldevstatNum-rw-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_rw_reqs.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_rw_reqs.setDescription(' Total number of I/Os for the device')
ldevstatNum_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 4), UInt32()).setLabel("ldevstatNum-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_read_reqs.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_read_reqs.setDescription(' Total number of read requests for the device')
ldevstatNum_write_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 5), UInt32()).setLabel("ldevstatNum-write-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_write_reqs.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_write_reqs.setDescription(' Total number of write requests for the device ')
ldevstatNum_rw_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 6), UInt32()).setLabel("ldevstatNum-rw-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_rw_hits.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_rw_hits.setDescription(' Total number of cache hits (read & write) for the device ')
ldevstatNum_read_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 7), UInt32()).setLabel("ldevstatNum-read-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_read_hits.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_read_hits.setDescription(' Total number of cache read hits for the device ')
ldevstatNum_write_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 8), UInt32()).setLabel("ldevstatNum-write-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_write_hits.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_write_hits.setDescription(' Total number of cache write hits for the device ')
ldevstatNum_blocks_read = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 13), UInt32()).setLabel("ldevstatNum-blocks-read").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_blocks_read.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_blocks_read.setDescription(' Total number of (512 byte) blocks read for the device ')
ldevstatNum_blocks_written = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 18), UInt32()).setLabel("ldevstatNum-blocks-written").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_blocks_written.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_blocks_written.setDescription(' Total number of (512 byte) blocks written for the device ')
ldevstatNum_seq_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 19), UInt32()).setLabel("ldevstatNum-seq-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_seq_read_reqs.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_seq_read_reqs.setDescription(' Total number of number of sequential read reqs for the device ')
ldevstatNum_prefetched_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 20), UInt32()).setLabel("ldevstatNum-prefetched-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_prefetched_tracks.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_prefetched_tracks.setDescription(' Total number of prefetched tracks for the device ')
ldevstatNum_destaged_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 21), UInt32()).setLabel("ldevstatNum-destaged-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_destaged_tracks.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_destaged_tracks.setDescription(' Total number of destaged tracks for the device ')
ldevstatNum_deferred_writes = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 22), UInt32()).setLabel("ldevstatNum-deferred-writes").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_deferred_writes.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_deferred_writes.setDescription(' Total number of deferred writes for the device ')
ldevstatNum_delayed_dfw = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 23), UInt32()).setLabel("ldevstatNum-delayed-dfw").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_delayed_dfw.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_delayed_dfw.setDescription(' Total number of delayed deferred writes until track destaged')
ldevstatNum_wp_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 24), UInt32()).setLabel("ldevstatNum-wp-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_wp_tracks.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_wp_tracks.setDescription(' Total number of write pending tracks for the device')
ldevstatNum_format_pend_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 25), UInt32()).setLabel("ldevstatNum-format-pend-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatNum_format_pend_tracks.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatNum_format_pend_tracks.setDescription(' Total number of format pending tracks for the device')
ldevstatDevice_max_wp_limit = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 26), UInt32()).setLabel("ldevstatDevice-max-wp-limit").setMaxAccess("readonly")
if mibBuilder.loadTexts: ldevstatDevice_max_wp_limit.setStatus('obsolete')
if mibBuilder.loadTexts: ldevstatDevice_max_wp_limit.setDescription(' Device max write pending limit')
dgStatTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5), )
if mibBuilder.loadTexts: dgStatTable.setStatus('obsolete')
if mibBuilder.loadTexts: dgStatTable.setDescription('A table of Symmetrix device group statistics for the indicated device group instance. The number of entries is given by the value of symDgListCount.')
dgStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1), ).setIndexNames((0, "EMC-MIB", "symDgListCount"))
if mibBuilder.loadTexts: dgStatEntry.setStatus('obsolete')
if mibBuilder.loadTexts: dgStatEntry.setDescription('An entry containing objects for the device group statistics for the specified device group.')
dgstatTime_stamp = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 1), TimeTicks()).setLabel("dgstatTime-stamp").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatTime_stamp.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatTime_stamp.setDescription(' Time since these statistics were last collected')
dgstatNum_sym_timeslices = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 2), UInt32()).setLabel("dgstatNum-sym-timeslices").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_sym_timeslices.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
dgstatNum_rw_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 3), UInt32()).setLabel("dgstatNum-rw-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_rw_reqs.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_rw_reqs.setDescription(' Total number of I/Os for the device group')
dgstatNum_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 4), UInt32()).setLabel("dgstatNum-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_read_reqs.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_read_reqs.setDescription(' Total number of read requests for the device group')
dgstatNum_write_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 5), UInt32()).setLabel("dgstatNum-write-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_write_reqs.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_write_reqs.setDescription(' Total number of write requests for the device group ')
dgstatNum_rw_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 6), UInt32()).setLabel("dgstatNum-rw-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_rw_hits.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_rw_hits.setDescription(' Total number of cache hits (read & write) for the device group ')
dgstatNum_read_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 7), UInt32()).setLabel("dgstatNum-read-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_read_hits.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_read_hits.setDescription(' Total number of cache read hits for the device group ')
dgstatNum_write_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 8), UInt32()).setLabel("dgstatNum-write-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_write_hits.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_write_hits.setDescription(' Total number of cache write hits for the device group ')
dgstatNum_blocks_read = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 13), UInt32()).setLabel("dgstatNum-blocks-read").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_blocks_read.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_blocks_read.setDescription(' Total number of (512 byte) blocks read for the device group ')
dgstatNum_blocks_written = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 18), UInt32()).setLabel("dgstatNum-blocks-written").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_blocks_written.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_blocks_written.setDescription(' Total number of (512 byte) blocks written for the device group ')
dgstatNum_seq_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 19), UInt32()).setLabel("dgstatNum-seq-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_seq_read_reqs.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_seq_read_reqs.setDescription(' Total number of number of sequential read reqs for the device group ')
dgstatNum_prefetched_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 20), UInt32()).setLabel("dgstatNum-prefetched-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_prefetched_tracks.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_prefetched_tracks.setDescription(' Total number of prefetched tracks for the device group ')
dgstatNum_destaged_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 21), UInt32()).setLabel("dgstatNum-destaged-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_destaged_tracks.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_destaged_tracks.setDescription(' Total number of destaged tracks for the device group ')
dgstatNum_deferred_writes = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 22), UInt32()).setLabel("dgstatNum-deferred-writes").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_deferred_writes.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_deferred_writes.setDescription(' Total number of deferred writes for the device group ')
dgstatNum_delayed_dfw = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 23), UInt32()).setLabel("dgstatNum-delayed-dfw").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_delayed_dfw.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_delayed_dfw.setDescription(' Total number of delayed deferred writes until track destaged')
dgstatNum_wp_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 24), UInt32()).setLabel("dgstatNum-wp-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_wp_tracks.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_wp_tracks.setDescription(' Total number of write pending tracks for the device group')
dgstatNum_format_pend_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 25), UInt32()).setLabel("dgstatNum-format-pend-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatNum_format_pend_tracks.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatNum_format_pend_tracks.setDescription(' Total number of format pending tracks for the device group')
dgstatdevice_max_wp_limit = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 26), UInt32()).setLabel("dgstatdevice-max-wp-limit").setMaxAccess("readonly")
if mibBuilder.loadTexts: dgstatdevice_max_wp_limit.setStatus('obsolete')
if mibBuilder.loadTexts: dgstatdevice_max_wp_limit.setDescription(' Device group max write pending limit')
directorStatTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6), )
if mibBuilder.loadTexts: directorStatTable.setStatus('mandatory')
if mibBuilder.loadTexts: directorStatTable.setDescription('A table of Symmetrix director statistics for the indicated Symmetrix and director instance. The number of entries is given by the value of symShowDirectorCount.')
directorStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symShowDirectorCount"))
if mibBuilder.loadTexts: directorStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts: directorStatEntry.setDescription('An entry containing objects for the Symmetrix director statistics for the specified Symmetrix and director.')
dirstatTime_stamp = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 1), TimeTicks()).setLabel("dirstatTime-stamp").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatTime_stamp.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatTime_stamp.setDescription(' Time since these statistics were last collected')
dirstatNum_sym_timeslices = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 2), UInt32()).setLabel("dirstatNum-sym-timeslices").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatNum_sym_timeslices.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
dirstatNum_rw_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 3), UInt32()).setLabel("dirstatNum-rw-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatNum_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatNum_rw_reqs.setDescription(' Total number of I/Os for the device')
dirstatNum_read_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 4), UInt32()).setLabel("dirstatNum-read-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatNum_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatNum_read_reqs.setDescription(' Total number of read requests for the device')
dirstatNum_write_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 5), UInt32()).setLabel("dirstatNum-write-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatNum_write_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatNum_write_reqs.setDescription(' Total number of write requests for the device ')
dirstatNum_rw_hits = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 6), UInt32()).setLabel("dirstatNum-rw-hits").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatNum_rw_hits.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatNum_rw_hits.setDescription(' Total number of cache hits (read & write) for the device ')
dirstatNum_permacache_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 7), UInt32()).setLabel("dirstatNum-permacache-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatNum_permacache_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatNum_permacache_reqs.setDescription(' Total number of cache read hits for the device ')
dirstatNum_ios = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 8), UInt32()).setLabel("dirstatNum-ios").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatNum_ios.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatNum_ios.setDescription(' Total number of cache write hits for the device ')
saDirStatTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7), )
if mibBuilder.loadTexts: saDirStatTable.setStatus('mandatory')
if mibBuilder.loadTexts: saDirStatTable.setDescription('A table of Symmetrix SA director statistics for the indicated Symmetrix and director instance. The number of entries is given by the value of symShowDirectorCount.')
saDirStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symShowDirectorCount"))
if mibBuilder.loadTexts: saDirStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts: saDirStatEntry.setDescription('An entry containing objects for the Symmetrix SA director statistics for the specified Symmetrix and director.')
dirstatSANum_read_misses = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7, 1, 1), UInt32()).setLabel("dirstatSANum-read-misses").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatSANum_read_misses.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatSANum_read_misses.setDescription(' Total number of cache read misses')
dirstatSANum_slot_collisions = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7, 1, 2), UInt32()).setLabel("dirstatSANum-slot-collisions").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatSANum_slot_collisions.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatSANum_slot_collisions.setDescription(' Total number of cache slot collisions')
dirstatSANum_system_wp_disconnects = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7, 1, 3), UInt32()).setLabel("dirstatSANum-system-wp-disconnects").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatSANum_system_wp_disconnects.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatSANum_system_wp_disconnects.setDescription('Total number of system write pending disconnects. The limit for the system parameter for maximum number of write pendings was exceeded.')
dirstatSANum_device_wp_disconnects = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7, 1, 4), UInt32()).setLabel("dirstatSANum-device-wp-disconnects").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatSANum_device_wp_disconnects.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatSANum_device_wp_disconnects.setDescription('Total number of device write pending disconnects. The limit for the device parameter for maximum number of write pendings was exceeded.')
daDirStatTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8), )
if mibBuilder.loadTexts: daDirStatTable.setStatus('mandatory')
if mibBuilder.loadTexts: daDirStatTable.setDescription('A table of Symmetrix DA director statistics for the indicated Symmetrix and director instance. The number of entries is given by the value of symShowDirectorCount.')
daDirStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symShowDirectorCount"))
if mibBuilder.loadTexts: daDirStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts: daDirStatEntry.setDescription('An entry containing objects for the Symmetrix DA director statistics for the specified Symmetrix and director.')
dirstatDANum_pf_tracks = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 1), UInt32()).setLabel("dirstatDANum-pf-tracks").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatDANum_pf_tracks.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatDANum_pf_tracks.setDescription(' The number of prefetched tracks. Remember that cache may contain vestigial read or written tracks.')
dirstatDANum_pf_tracks_used = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 2), UInt32()).setLabel("dirstatDANum-pf-tracks-used").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatDANum_pf_tracks_used.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatDANum_pf_tracks_used.setDescription('The number of prefetched tracks used to satisfy read/write requests')
dirstatDANum_pf_tracks_unused = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 3), UInt32()).setLabel("dirstatDANum-pf-tracks-unused").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatDANum_pf_tracks_unused.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatDANum_pf_tracks_unused.setDescription('The number of prefetched tracks unused and replaced by another.')
dirstatDANum_pf_short_misses = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 4), UInt32()).setLabel("dirstatDANum-pf-short-misses").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatDANum_pf_short_misses.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatDANum_pf_short_misses.setDescription('The number of tracks already being prefetched when a read/write request for that track occurred.')
dirstatDANum_pf_long_misses = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 5), UInt32()).setLabel("dirstatDANum-pf-long-misses").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatDANum_pf_long_misses.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatDANum_pf_long_misses.setDescription('The number of tracks requiring a complete fetch when a read/write request for that track occurred.')
dirstatDANum_pf_restarts = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 6), UInt32()).setLabel("dirstatDANum-pf-restarts").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatDANum_pf_restarts.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatDANum_pf_restarts.setDescription('The number of times that a prefetch task needed to be restarted.')
dirstatDANum_pf_mismatches = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 7), UInt32()).setLabel("dirstatDANum-pf-mismatches").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatDANum_pf_mismatches.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatDANum_pf_mismatches.setDescription('The number of times a prefetch task needed to be canceled.')
raDirStatTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9), )
if mibBuilder.loadTexts: raDirStatTable.setStatus('mandatory')
if mibBuilder.loadTexts: raDirStatTable.setDescription('A table of Symmetrix RA director statistics for the indicated Symmetrix and director instance. The number of entries is given by the value of symShowDirectorCount.')
raDirStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symShowDirectorCount"))
if mibBuilder.loadTexts: raDirStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts: raDirStatEntry.setDescription('An entry containing objects for the Symmetrix RA director statistics for the specified Symmetrix and director.')
dirstatRANum_read_misses = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9, 1, 1), UInt32()).setLabel("dirstatRANum-read-misses").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatRANum_read_misses.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatRANum_read_misses.setDescription(' Total number of cache read misses')
dirstatRANum_slot_collisions = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9, 1, 2), UInt32()).setLabel("dirstatRANum-slot-collisions").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatRANum_slot_collisions.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatRANum_slot_collisions.setDescription(' Total number of cache slot collisions')
dirstatRANum_system_wp_disconnects = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9, 1, 3), UInt32()).setLabel("dirstatRANum-system-wp-disconnects").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatRANum_system_wp_disconnects.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatRANum_system_wp_disconnects.setDescription('Total number of system write pending disconnects. The limit for the system parameter for maximum number of write pendings was exceeded.')
dirstatRANum_device_wp_disconnects = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9, 1, 4), UInt32()).setLabel("dirstatRANum-device-wp-disconnects").setMaxAccess("readonly")
if mibBuilder.loadTexts: dirstatRANum_device_wp_disconnects.setStatus('mandatory')
if mibBuilder.loadTexts: dirstatRANum_device_wp_disconnects.setDescription('Total number of device write pending disconnects. The limit for the device parameter for maximum number of write pendings was exceeded.')
dirStatPortCountTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 1), )
if mibBuilder.loadTexts: dirStatPortCountTable.setStatus('mandatory')
if mibBuilder.loadTexts: dirStatPortCountTable.setDescription('A list of the number of available ports for the given Symmetrix and director instance. The number of entries is given by the value of symShowDirectorCount.')
dirStatPortCountEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 1, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symShowDirectorCount"))
if mibBuilder.loadTexts: dirStatPortCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts: dirStatPortCountEntry.setDescription('An entry containing objects for the number of available ports for the specified Symmetrix and director')
dirPortStatPortCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: dirPortStatPortCount.setStatus('mandatory')
if mibBuilder.loadTexts: dirPortStatPortCount.setDescription('The number of entries in the dirPortStatTable table for the indicated Symmetrix and director instance')
dirPortStatTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2), )
if mibBuilder.loadTexts: dirPortStatTable.setStatus('mandatory')
if mibBuilder.loadTexts: dirPortStatTable.setDescription('A table of Symmetrix director statistics for the indicated Symmetrix, director and port instance. The number of entries is given by the value dirPortStatPortCount.')
dirPortStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symShowDirectorCount"), (0, "EMC-MIB", "dirPortStatPortCount"))
if mibBuilder.loadTexts: dirPortStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts: dirPortStatEntry.setDescription('An entry containing objects for the Symmetrix director port statistics for the specified Symmetrix, director, and port.')
portstatTime_stamp = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2, 1, 1), TimeTicks()).setLabel("portstatTime-stamp").setMaxAccess("readonly")
if mibBuilder.loadTexts: portstatTime_stamp.setStatus('mandatory')
if mibBuilder.loadTexts: portstatTime_stamp.setDescription(' Time since these statistics were last collected')
portstatNum_sym_timeslices = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2, 1, 2), UInt32()).setLabel("portstatNum-sym-timeslices").setMaxAccess("readonly")
if mibBuilder.loadTexts: portstatNum_sym_timeslices.setStatus('mandatory')
if mibBuilder.loadTexts: portstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
portstatNum_rw_reqs = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2, 1, 3), UInt32()).setLabel("portstatNum-rw-reqs").setMaxAccess("readonly")
if mibBuilder.loadTexts: portstatNum_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts: portstatNum_rw_reqs.setDescription('The number of I/O requests (reads and writes) handled by the front-end port. ')
portstatNum_blocks_read_and_written = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2, 1, 4), UInt32()).setLabel("portstatNum-blocks-read-and-written").setMaxAccess("readonly")
if mibBuilder.loadTexts: portstatNum_blocks_read_and_written.setStatus('mandatory')
if mibBuilder.loadTexts: portstatNum_blocks_read_and_written.setDescription('The number of blocks read and written by the front-end port ')
symmEventMaxEvents = MibScalar((1, 3, 6, 1, 4, 1, 1139, 1, 7, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symmEventMaxEvents.setStatus('mandatory')
if mibBuilder.loadTexts: symmEventMaxEvents.setDescription('Max number of events that can be defined in each Symmetrixes symmEventTable.')
symmEventTable = MibTable((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2), )
if mibBuilder.loadTexts: symmEventTable.setStatus('mandatory')
if mibBuilder.loadTexts: symmEventTable.setDescription('The table of Symmetrix events. Errors, warnings, and information should be reported in this table.')
symmEventEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2, 1), ).setIndexNames((0, "EMC-MIB", "discIndex"), (0, "EMC-MIB", "symmEventIndex"))
if mibBuilder.loadTexts: symmEventEntry.setStatus('mandatory')
if mibBuilder.loadTexts: symmEventEntry.setDescription('Each entry contains information on a specific event for the given Symmetrix.')
symmEventIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly")
if mibBuilder.loadTexts: symmEventIndex.setStatus('mandatory')
if mibBuilder.loadTexts: symmEventIndex.setDescription('Each Symmetrix has its own event buffer. As it wraps, it may write over previous events. This object is an index into the buffer. The index value is an incrementing integer starting from one every time there is a table reset. On table reset, all contents are emptied and all indeces are set to zero. When an event is added to the table, the event is assigned the next higher integer value than the last item entered into the table. If the index value reaches its maximum value, the next item entered will cause the index value to roll over and start at one again.')
symmEventTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2, 1, 2), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symmEventTime.setStatus('mandatory')
if mibBuilder.loadTexts: symmEventTime.setDescription('This is the time when the event occurred. It has the following format. DOW MON DD HH:MM:SS YYYY DOW=day of week MON=Month DD=day number HH=hour number MM=minute number SS=seconds number YYYY=year number If not applicable, return a NULL string.')
symmEventSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("unknown", 1), ("emergency", 2), ("alert", 3), ("critical", 4), ("error", 5), ("warning", 6), ("notify", 7), ("info", 8), ("debug", 9), ("mark", 10)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: symmEventSeverity.setStatus('mandatory')
if mibBuilder.loadTexts: symmEventSeverity.setDescription('The event severity level. These map directly with those from the FIbre Mib, version 2.2')
symmEventDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2, 1, 4), DisplayString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: symmEventDescr.setStatus('mandatory')
if mibBuilder.loadTexts: symmEventDescr.setDescription('The description of the event.')
emcDeviceStatusTrap = NotificationType((1, 3, 6, 1, 4, 1, 1139, 1) + (0,1)).setObjects(("EMC-MIB", "symmEventDescr"))
if mibBuilder.loadTexts: emcDeviceStatusTrap.setDescription("This trap is sent for each device found 'NOT READY' during the most recent test of each attached Symmetrix for Device Not Ready conditions. ")
emcSymmetrixStatusTrap = NotificationType((1, 3, 6, 1, 4, 1, 1139, 1) + (0,2)).setObjects(("EMC-MIB", "symmEventDescr"))
if mibBuilder.loadTexts: emcSymmetrixStatusTrap.setDescription("This trap is sent for each new WARNING and FATAL error condition found during the most recent 'health' test of each attached Symmetrix. Format of the message is: Symmetrix s/n: %s, Dir - %d, %04X, %s, %s an example of which is: Symmetrix s/n: 12345, Dir - 31, 470, Thu Apr 6 10:53:16 2000, Environmental alarm: Battery Fault ")
emcRatiosOutofRangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 1139, 1) + (0,3)).setObjects(("EMC-MIB", "symmEventDescr"))
if mibBuilder.loadTexts: emcRatiosOutofRangeTrap.setDescription('This trap is sent for each attached Symmetrix when the Hit Ratio, Write Ratio, or IO/sec Ratio were out of the specified range during the most recent test for these conditions. The ratios are preconfigured at agent startup, and apply to all Symmetrixes attached. ')
discoveryTableChange = NotificationType((1, 3, 6, 1, 4, 1, 1139, 1) + (0,4)).setObjects(("EMC-MIB", "discoveryChangeTime"))
if mibBuilder.loadTexts: discoveryTableChange.setDescription('This trap is sent whenever the periodic check of attached Symmetrixes reveals newly attached Symmetrixes, or changes in the configuration of previously attached Symmetrixes. ')
emcSymmetrixEventTrap = NotificationType((1, 3, 6, 1, 4, 1, 1139, 1) + (0,5)).setObjects(("EMC-MIB", "symmEventDescr"))
if mibBuilder.loadTexts: emcSymmetrixEventTrap.setDescription('This trap is sent whenever a non-specific (i.e. not traps 1-4) event occurs in the agent, or for a specific Symmetrix. ')
mibBuilder.exportSymbols("EMC-MIB", analyzer=analyzer, sysinfoFirstRecordNumber=sysinfoFirstRecordNumber, symstatNum_write_hits=symstatNum_write_hits, devShowVendor_id=devShowVendor_id, sysinfoNumberofVolumes=sysinfoNumberofVolumes, symstatNum_blocks_read=symstatNum_blocks_read, symShowPDevCountTable=symShowPDevCountTable, analyzerFileLastModified=analyzerFileLastModified, ldevstatNum_write_hits=ldevstatNum_write_hits, portstatNum_sym_timeslices=portstatNum_sym_timeslices, dgstatNum_delayed_dfw=dgstatNum_delayed_dfw, dadcnfigMirror2Director=dadcnfigMirror2Director, subagentTraceMessagesEnable=subagentTraceMessagesEnable, pdevstatNum_format_pend_tracks=pdevstatNum_format_pend_tracks, standardSNMPRequestPort=standardSNMPRequestPort, symDevListCount=symDevListCount, symstatNum_sa_cdb_reqs=symstatNum_sa_cdb_reqs, devstatNum_deferred_writes=devstatNum_deferred_writes, devstatNum_blocks_written=devstatNum_blocks_written, symDevNoDgList=symDevNoDgList, emcSymUtil99=emcSymUtil99, devShowSymid=devShowSymid, emcSymMvsDsname=emcSymMvsDsname, devShowBCVInfoEntry=devShowBCVInfoEntry, symstatNum_format_pend_tracks=symstatNum_format_pend_tracks, emcControlCenter=emcControlCenter, symShowMicrocode_version=symShowMicrocode_version, ldevstatNum_write_reqs=ldevstatNum_write_reqs, symShowDirectorCountTable=symShowDirectorCountTable, ldevstatNum_blocks_read=ldevstatNum_blocks_read, dvhoaddrDeviceRecordsTable=dvhoaddrDeviceRecordsTable, pdevstatNum_read_reqs=pdevstatNum_read_reqs, symstatNum_used_permacache_slots=symstatNum_used_permacache_slots, dvhoaddrDeviceRecordsEntry=dvhoaddrDeviceRecordsEntry, symPDevList=symPDevList, symLDevListCountEntry=symLDevListCountEntry, symmEventEntry=symmEventEntry, RDDFTransientState=RDDFTransientState, symstatNum_deferred_writes=symstatNum_deferred_writes, analyzerSpecialDurationLimit=analyzerSpecialDurationLimit, symDgListEntry=symDgListEntry, emulMTPF=emulMTPF, xdrTCPPort=xdrTCPPort, escnChecksum=escnChecksum, symPDeviceName=symPDeviceName, symShowSymmetrix_pwron_time=symShowSymmetrix_pwron_time, PortStatus=PortStatus, dirstatDANum_pf_tracks_unused=dirstatDANum_pf_tracks_unused, dadcnfigMirrors=dadcnfigMirrors, dirstatSANum_read_misses=dirstatSANum_read_misses, devShowConfigurationTable=devShowConfigurationTable, emcSymPhysDevStats=emcSymPhysDevStats, devShowBcvdev_status=devShowBcvdev_status, pdevstatDevice_max_wp_limit=pdevstatDevice_max_wp_limit, initFileCount=initFileCount, analyzerFileCreation=analyzerFileCreation, symstatNum_sa_rw_reqs=symstatNum_sa_rw_reqs, devShowPrevent_auto_link_recovery=devShowPrevent_auto_link_recovery, symShowDirector_num=symShowDirector_num, symBcvDevListCount=symBcvDevListCount, dirstatNum_ios=dirstatNum_ios, implVersion=implVersion, portstatTime_stamp=portstatTime_stamp, symShowPDevListEntry=symShowPDevListEntry, devShowLink_config=devShowLink_config, symstatNum_read_hits=symstatNum_read_hits, escnFileCount=escnFileCount, symShowCache_slot_count=symShowCache_slot_count, discState=discState, pdevstatNum_prefetched_tracks=pdevstatNum_prefetched_tracks, symShow=symShow, pdevstatTime_stamp=pdevstatTime_stamp, gatekeeperDeviceName=gatekeeperDeviceName, symstatNum_delayed_dfw=symstatNum_delayed_dfw, symstatNum_wr_pend_tracks=symstatNum_wr_pend_tracks, emulCodeType=emulCodeType, devShowAdaptive_copy_skew=devShowAdaptive_copy_skew, pdevstatNum_rw_reqs=pdevstatNum_rw_reqs, emcSymBCVDevice=emcSymBCVDevice, dadcnfigSymmNumber=dadcnfigSymmNumber, trapSetup=trapSetup, DeviceStatus=DeviceStatus, devShowVbus=devShowVbus, emcSymMirrorDiskCfg=emcSymMirrorDiskCfg, dadcnfigMirror3Interface=dadcnfigMirror3Interface, symShowRa_group_num=symShowRa_group_num, initDate=initDate, discoveryChangeTime=discoveryChangeTime, devShowMset_M2_type=devShowMset_M2_type, dgstatNum_seq_read_reqs=dgstatNum_seq_read_reqs, BCVState=BCVState, systemCodesRecordsEntry=systemCodesRecordsEntry, diskAdapterDeviceConfigurationEntry=diskAdapterDeviceConfigurationEntry, dadcnfigMirror1Interface=dadcnfigMirror1Interface, saDirStatEntry=saDirStatEntry, analyzerFilesListTable=analyzerFilesListTable, devShowBCVInfoTable=devShowBCVInfoTable, emcSymMirror3DiskCfg=emcSymMirror3DiskCfg, discSerialNumber=discSerialNumber, symShowSymmetrix_uptime=symShowSymmetrix_uptime, symstatTime_stamp=symstatTime_stamp, analyzerFiles=analyzerFiles, devShowMset_M3_status=devShowMset_M3_status, dadcnfigRecordSize=dadcnfigRecordSize, clients=clients, diskAdapterDeviceConfigurationTable=diskAdapterDeviceConfigurationTable, dgstatNum_write_hits=dgstatNum_write_hits, symShowPDevCountEntry=symShowPDevCountEntry, ldevstatNum_delayed_dfw=ldevstatNum_delayed_dfw, symPDevNoDgListCountEntry=symPDevNoDgListCountEntry, emcSymMirror4DiskCfg=emcSymMirror4DiskCfg, systemCalls=systemCalls, agentRevision=agentRevision, periodicDiscoveryFrequency=periodicDiscoveryFrequency, emcSymMvsVolume=emcSymMvsVolume, devstatNum_seq_read_reqs=devstatNum_seq_read_reqs, saDirStatTable=saDirStatTable, analyzerFilesCountTable=analyzerFilesCountTable, symDevListCountTable=symDevListCountTable, symBcvPDevListCount=symBcvPDevListCount, symShowPort3_status=symShowPort3_status, devShowRDFInfoEntry=devShowRDFInfoEntry, symmEventMaxEvents=symmEventMaxEvents, symDevListEntry=symDevListEntry, devShowDev_block_size=devShowDev_block_size, dgstatNum_format_pend_tracks=dgstatNum_format_pend_tracks, dvhoaddrPortBDeviceAddress=dvhoaddrPortBDeviceAddress, symDevNoDgListCount=symDevNoDgListCount, devstatNum_wp_tracks=devstatNum_wp_tracks, devShowSCSI_negotiation=devShowSCSI_negotiation, devShowAttached_bcv_symdev=devShowAttached_bcv_symdev, symDevGroupName=symDevGroupName, symGateListTable=symGateListTable, dirstatDANum_pf_tracks=dirstatDANum_pf_tracks, devShowNum_r1_invalid_tracks=devShowNum_r1_invalid_tracks, devstatNum_rw_reqs=devstatNum_rw_reqs, symstatNum_rw_reqs=symstatNum_rw_reqs, dvhoaddrPortDDeviceAddress=dvhoaddrPortDDeviceAddress, symShowLast_ipl_time=symShowLast_ipl_time, agentConfiguration=agentConfiguration, symShowDb_sync_rdf_time=symShowDb_sync_rdf_time, symstatNum_destaged_tracks=symstatNum_destaged_tracks, symShowPDevListTable=symShowPDevListTable, symShowReserved=symShowReserved, symShowPermacache_slot_count=symShowPermacache_slot_count, analyzerFileCountEntry=analyzerFileCountEntry, symShowSymmetrix_ident=symShowSymmetrix_ident, devShowPdevname=devShowPdevname, systemCodesRecordsTable=systemCodesRecordsTable, DirectorStatus=DirectorStatus, symLDevListTable=symLDevListTable, discoveryFrequency=discoveryFrequency, devShowMset_M4_type=devShowMset_M4_type, devShowDev_rdf_state=devShowDev_rdf_state, symmEventDescr=symmEventDescr, symstatNum_seq_read_reqs=symstatNum_seq_read_reqs, emcSymSaitInfo=emcSymSaitInfo, devShowAdaptive_copy_wp_state=devShowAdaptive_copy_wp_state, UInt32=UInt32, symGateListCountTable=symGateListCountTable, symShowDb_sync_bcv_time=symShowDb_sync_bcv_time, dirstatNum_sym_timeslices=dirstatNum_sym_timeslices, dgstatNum_deferred_writes=dgstatNum_deferred_writes, symPDevListTable=symPDevListTable, discStatus=discStatus, sysinfoSerialNumber=sysinfoSerialNumber, symShowNum_pdevs=symShowNum_pdevs, symStatTable=symStatTable, emulDate=emulDate, symPDevNoDgList=symPDevNoDgList, emcSymUtilA7=emcSymUtilA7, symDevNoDgListEntry=symDevNoDgListEntry, ldevstatNum_seq_read_reqs=ldevstatNum_seq_read_reqs, symDgList=symDgList, symShowPort1_status=symShowPort1_status, analyzerFilesListEntry=analyzerFilesListEntry, devShowDirector_num=devShowDirector_num, symDevNoDgListTable=symDevNoDgListTable, devShowProduct_rev=devShowProduct_rev, devStatEntry=devStatEntry, implFileCount=implFileCount, emcSymTimefinderInfo=emcSymTimefinderInfo, devstatNum_destaged_tracks=devstatNum_destaged_tracks, mainframeDataSetInformation=mainframeDataSetInformation, symShowMicrocode_version_num=symShowMicrocode_version_num, symShowDirector_ident=symShowDirector_ident, devShowSCSI_method=devShowSCSI_method, pdevstatNum_deferred_writes=pdevstatNum_deferred_writes, analyzerFileName=analyzerFileName, symBcvDevListCountEntry=symBcvDevListCountEntry, discSymapisrv_IP=discSymapisrv_IP, ldevstatNum_deferred_writes=ldevstatNum_deferred_writes, emcSymSumStatus=emcSymSumStatus, devShowMset_M1_type=devShowMset_M1_type, emcSymDevStats=emcSymDevStats, subagentProcessActive=subagentProcessActive, symListCount=symListCount, pdevstatNum_blocks_read=pdevstatNum_blocks_read, symShowDirectorCountEntry=symShowDirectorCountEntry, devShowDev_sym_devname=devShowDev_sym_devname, symShowMicrocode_patch_date=symShowMicrocode_patch_date, devShowLdevname=devShowLdevname, devShowMset_M1_status=devShowMset_M1_status, RDFPairState=RDFPairState, discBCV=discBCV, symShowMax_wr_pend_slots=symShowMax_wr_pend_slots, dirstatNum_rw_hits=dirstatNum_rw_hits, devShowDevice_serial_id=devShowDevice_serial_id, emcDeviceStatusTrap=emcDeviceStatusTrap, devShowLink_domino=devShowLink_domino, dgstatNum_prefetched_tracks=dgstatNum_prefetched_tracks, devShowDev_rdf_type=devShowDev_rdf_type, DeviceType=DeviceType, clientListMaintenanceFrequency=clientListMaintenanceFrequency, devstatDevice_max_wp_limit=devstatDevice_max_wp_limit, analyzerFileCount=analyzerFileCount, symmEventTime=symmEventTime, mainframeVariables=mainframeVariables, symPDevListEntry=symPDevListEntry, symLDevListEntry=symLDevListEntry, initChecksum=initChecksum, dvhoaddrBuffer=dvhoaddrBuffer, symShowPort0_status=symShowPort0_status, analyzerTopFileSavePolicy=analyzerTopFileSavePolicy, emcSymStatistics=emcSymStatistics, devShowMset_M4_status=devShowMset_M4_status, emcSymMvsLUNNumber=emcSymMvsLUNNumber, raDirStatEntry=raDirStatEntry, symShowCache_size=symShowCache_size, dgstatNum_destaged_tracks=dgstatNum_destaged_tracks, devstatNum_delayed_dfw=devstatNum_delayed_dfw, symShowNum_powerpath_devs=symShowNum_powerpath_devs, symShowDirectorCount=symShowDirectorCount, dirstatSANum_slot_collisions=dirstatSANum_slot_collisions, sysinfoBuffer=sysinfoBuffer, syscodesNumberofRecords=syscodesNumberofRecords, symAPI=symAPI, subagentSymmetrixSerialNumber=subagentSymmetrixSerialNumber, symRemoteListCount=symRemoteListCount, syscodesFirstRecordNumber=syscodesFirstRecordNumber, devShowDirector_ident=devShowDirector_ident, systemCodesEntry=systemCodesEntry, dvhoaddrNumberofRecords=dvhoaddrNumberofRecords, symShowNum_disks=symShowNum_disks, devShowRdf_domino=devShowRdf_domino, symShowScsi_capability=symShowScsi_capability, dvhoaddrPortADeviceAddress=dvhoaddrPortADeviceAddress, emcSymPortStats=emcSymPortStats, dadcnfigMirror1Director=dadcnfigMirror1Director, emcSymmetrix=emcSymmetrix, symmEventSeverity=symmEventSeverity, devShowRemote_symid=devShowRemote_symid, implMTPF=implMTPF, devShowRemote_dev_rdf_state=devShowRemote_dev_rdf_state)
mibBuilder.exportSymbols("EMC-MIB", symLDevListCountTable=symLDevListCountTable, devShowMset_M2_invalid_tracks=devShowMset_M2_invalid_tracks, devShowSuspend_state=devShowSuspend_state, informational=informational, pDevStatTable=pDevStatTable, symGateListCountEntry=symGateListCountEntry, symGateListCount=symGateListCount, symListEntry=symListEntry, symstatDevice_max_wp_limit=symstatDevice_max_wp_limit, symBcvPDevListTable=symBcvPDevListTable, initMTPF=initMTPF, symShowAPI_version=symShowAPI_version, discoveryTable=discoveryTable, symShowConfig_checksum=symShowConfig_checksum, ldevstatNum_prefetched_tracks=ldevstatNum_prefetched_tracks, symShowPrevent_auto_link_recovery=symShowPrevent_auto_link_recovery, symDgListTable=symDgListTable, symPDevListCountTable=symPDevListCountTable, devShowBcvdev_sym_devname=devShowBcvdev_sym_devname, ldevstatNum_sym_timeslices=ldevstatNum_sym_timeslices, systemInfoHeaderEntry=systemInfoHeaderEntry, devShowLun=devShowLun, symShowMax_da_wr_pend_slots=symShowMax_da_wr_pend_slots, discoveryTbl=discoveryTbl, devShowRdf_mode=devShowRdf_mode, esmVariablePacketSize=esmVariablePacketSize, dgstatNum_rw_hits=dgstatNum_rw_hits, sysinfoMemorySize=sysinfoMemorySize, symList=symList, dirstatTime_stamp=dirstatTime_stamp, symmEventIndex=symmEventIndex, symStatEntry=symStatEntry, discCapacity=discCapacity, systemInformation=systemInformation, discRDF=discRDF, dvhoaddrFirstRecordNumber=dvhoaddrFirstRecordNumber, devShowDev_cylinders=devShowDev_cylinders, symPDevListCountEntry=symPDevListCountEntry, symShowNum_da_volumes=symShowNum_da_volumes, ldevstatNum_blocks_written=ldevstatNum_blocks_written, dvhoaddrRecordSize=dvhoaddrRecordSize, discModel=discModel, initVersion=initVersion, deviceHostAddressConfigurationEntry=deviceHostAddressConfigurationEntry, dirstatRANum_read_misses=dirstatRANum_read_misses, devstatTime_stamp=devstatTime_stamp, dirstatRANum_slot_collisions=dirstatRANum_slot_collisions, symGateListEntry=symGateListEntry, pdevstatNum_sym_timeslices=pdevstatNum_sym_timeslices, symShowDirectorConfigurationTable=symShowDirectorConfigurationTable, symShowDirector_status=symShowDirector_status, dadcnfigDeviceRecordsTable=dadcnfigDeviceRecordsTable, dvhoaddrPortAType=dvhoaddrPortAType, symBcvPDevList=symBcvPDevList, symBcvPDeviceName=symBcvPDeviceName, emcSymRdfMaint=emcSymRdfMaint, symLDevListCount=symLDevListCount, symRemoteListTable=symRemoteListTable, symAPIShow=symAPIShow, StateValues=StateValues, bcvDeviceName=bcvDeviceName, implDate=implDate, dgstatNum_sym_timeslices=dgstatNum_sym_timeslices, symLDevList=symLDevList, escnDate=escnDate, emcRatiosOutofRangeTrap=emcRatiosOutofRangeTrap, symShowConfiguration=symShowConfiguration, dgstatNum_blocks_read=dgstatNum_blocks_read, devShowRDFInfoTable=devShowRDFInfoTable, devShowDirector_port_num=devShowDirector_port_num, discoveryTrapPort=discoveryTrapPort, devShowMset_M4_invalid_tracks=devShowMset_M4_invalid_tracks, symDevList=symDevList, devstatNum_format_pend_tracks=devstatNum_format_pend_tracks, emc=emc, sysinfoNumberofRecords=sysinfoNumberofRecords, devShowSym_devname=devShowSym_devname, sysinfoRecordsEntry=sysinfoRecordsEntry, devShowPrevent_ra_online_upon_pwron=devShowPrevent_ra_online_upon_pwron, discoveryTableSize=discoveryTableSize, ldevstatNum_read_hits=ldevstatNum_read_hits, dirPortStatistics=dirPortStatistics, systemCodesTable=systemCodesTable, devShowDev_link_status=devShowDev_link_status, escnVersion=escnVersion, esmVariables=esmVariables, dirstatDANum_pf_long_misses=dirstatDANum_pf_long_misses, symGateList=symGateList, DeviceEmulation=DeviceEmulation, discovery=discovery, emcSymMvsBuildStatus=emcSymMvsBuildStatus, devShowDev_serial_id=devShowDev_serial_id, symBcvPDevListCountEntry=symBcvPDevListCountEntry, dadcnfigNumberofRecords=dadcnfigNumberofRecords, dirstatNum_write_reqs=dirstatNum_write_reqs, pdevstatNum_rw_hits=pdevstatNum_rw_hits, escnMTPF=escnMTPF, symShowMicrocode_patch_level=symShowMicrocode_patch_level, devShowDev_ra_status=devShowDev_ra_status, emulChecksum=emulChecksum, devShowConfigurationEntry=devShowConfigurationEntry, pdevstatNum_destaged_tracks=pdevstatNum_destaged_tracks, discChecksum=discChecksum, emcSymDir=emcSymDir, dvhoaddrPortCDeviceAddress=dvhoaddrPortCDeviceAddress, devShowMset_M2_status=devShowMset_M2_status, devstatNum_prefetched_tracks=devstatNum_prefetched_tracks, dgStatTable=dgStatTable, symmEventTable=symmEventTable, deviceHostAddressConfigurationTable=deviceHostAddressConfigurationTable, escnCodeType=escnCodeType, dvhoaddrPortCType=dvhoaddrPortCType, dirstatNum_permacache_reqs=dirstatNum_permacache_reqs, daDirStatTable=daDirStatTable, ldevstatNum_rw_reqs=ldevstatNum_rw_reqs, devShowMset_M3_invalid_tracks=devShowMset_M3_invalid_tracks, discEventCurrID=discEventCurrID, devShowBcvdev_dgname=devShowBcvdev_dgname, emcSymWinConfig=emcSymWinConfig, emcRatiosOutofRange=emcRatiosOutofRange, symstatNum_blocks_written=symstatNum_blocks_written, ldevstatNum_read_reqs=ldevstatNum_read_reqs, portstatNum_blocks_read_and_written=portstatNum_blocks_read_and_written, symShowLast_fast_ipl_time=symShowLast_fast_ipl_time, symstatNum_prefetched_tracks=symstatNum_prefetched_tracks, dirstatDANum_pf_tracks_used=dirstatDANum_pf_tracks_used, subagentInformation=subagentInformation, pdevstatNum_blocks_written=pdevstatNum_blocks_written, directorStatEntry=directorStatEntry, symDevNoDgListCountTable=symDevNoDgListCountTable, RDFAdaptiveCopy=RDFAdaptiveCopy, symPDevNoDgListEntry=symPDevNoDgListEntry, symShowPort2_status=symShowPort2_status, symShowSlot_num=symShowSlot_num, symPDevNoDgListCount=symPDevNoDgListCount, dirstatNum_rw_reqs=dirstatNum_rw_reqs, dvhoaddrMaxRecords=dvhoaddrMaxRecords, dvhoaddrDirectorNumber=dvhoaddrDirectorNumber, initCodeType=initCodeType, syscodesDirectorNum=syscodesDirectorNum, devShowConsistency_state=devShowConsistency_state, symShowMicrocode_date=symShowMicrocode_date, symShowNum_symdevs=symShowNum_symdevs, symstatNum_free_permacache_slots=symstatNum_free_permacache_slots, dgstatTime_stamp=dgstatTime_stamp, devShowTid=devShowTid, devShowDev_sa_status=devShowDev_sa_status, symRemoteList=symRemoteList, dvhoaddrPortBType=dvhoaddrPortBType, discConfigDate=discConfigDate, pdevstatNum_write_hits=pdevstatNum_write_hits, symDevNoDgDeviceName=symDevNoDgDeviceName, dirStatPortCountEntry=dirStatPortCountEntry, dgstatNum_read_reqs=dgstatNum_read_reqs, checksumTestFrequency=checksumTestFrequency, symRemoteListEntry=symRemoteListEntry, symPDevNoDgListCountTable=symPDevNoDgListCountTable, mfDataSetInformation=mfDataSetInformation, symDevNoDgListCountEntry=symDevNoDgListCountEntry, symShowSymid=symShowSymid, sysinfoRecordsTable=sysinfoRecordsTable, dgstatNum_write_reqs=dgstatNum_write_reqs, symDeviceName=symDeviceName, dirPortStatPortCount=dirPortStatPortCount, symstatNum_sa_read_reqs=symstatNum_sa_read_reqs, symShowNum_ports=symShowNum_ports, symShowPDevCount=symShowPDevCount, symShowDirectorConfigurationEntry=symShowDirectorConfigurationEntry, analyzerFileSize=analyzerFileSize, dgstatNum_rw_reqs=dgstatNum_rw_reqs, devShowNum_r2_invalid_tracks=devShowNum_r2_invalid_tracks, trapTestFrequency=trapTestFrequency, mainframeDiskInformation=mainframeDiskInformation, dirstatRANum_device_wp_disconnects=dirstatRANum_device_wp_disconnects, symShowDirector_type=symShowDirector_type, dirstatDANum_pf_short_misses=dirstatDANum_pf_short_misses, discoveryTableChange=discoveryTableChange, discRawDevice=discRawDevice, dadcnfigDeviceRecordsEntry=dadcnfigDeviceRecordsEntry, symAPIList=symAPIList, devShowBcvdev_serial_id=devShowBcvdev_serial_id, devstatNum_write_hits=devstatNum_write_hits, control=control, symShowRemote_ra_group_num=symShowRemote_ra_group_num, agentType=agentType, dgstatNum_blocks_written=dgstatNum_blocks_written, symmEvent=symmEvent, agentAdministration=agentAdministration, dirstatRANum_system_wp_disconnects=dirstatRANum_system_wp_disconnects, symDevListCountEntry=symDevListCountEntry, sysinfoRecordSize=sysinfoRecordSize, pdevstatNum_read_hits=pdevstatNum_read_hits, emcSymSRDFInfo=emcSymSRDFInfo, syscodesDirectorType=syscodesDirectorType, emcSymCnfg=emcSymCnfg, symShowPDeviceName=symShowPDeviceName, devShowRemote_sym_devname=devShowRemote_sym_devname, devShowDev_capacity=devShowDev_capacity, ldevstatNum_wp_tracks=ldevstatNum_wp_tracks, remoteSerialNumber=remoteSerialNumber, devstatNum_rw_hits=devstatNum_rw_hits, dvhoaddrSymmNumber=dvhoaddrSymmNumber, devShowEmulation=devShowEmulation, DirectorType=DirectorType, daDirStatEntry=daDirStatEntry, dadcnfigMirror4Interface=dadcnfigMirror4Interface, dvhoaddrMetaFlags=dvhoaddrMetaFlags, symPDevNoDgDeviceName=symPDevNoDgDeviceName, RDFMode=RDFMode, SCSIWidth=SCSIWidth, devShowDirector_slot_num=devShowDirector_slot_num, pdevstatNum_wp_tracks=pdevstatNum_wp_tracks, mibRevision=mibRevision, syscodesRecordSize=syscodesRecordSize, ldevstatNum_destaged_tracks=ldevstatNum_destaged_tracks, lDevStatTable=lDevStatTable, emcSymDiskCfg=emcSymDiskCfg, symShowRemote_symid=symShowRemote_symid, devShowDgname=devShowDgname, symstatNum_read_reqs=symstatNum_read_reqs, devShowDirector_port_status=devShowDirector_port_status, symDgListCount=symDgListCount, systemCodes=systemCodes, symShowDb_sync_time=symShowDb_sync_time, emcSymSumStatusErrorCodes=emcSymSumStatusErrorCodes, devStatTable=devStatTable, devstatNum_blocks_read=devstatNum_blocks_read, ldevstatDevice_max_wp_limit=ldevstatDevice_max_wp_limit, dirPortStatEntry=dirPortStatEntry, emcSymmetrixStatusTrap=emcSymmetrixStatusTrap, symBcvDevListCountTable=symBcvDevListCountTable, dadcnfigMirror4Director=dadcnfigMirror4Director, dadcnfigFirstRecordNumber=dadcnfigFirstRecordNumber, systemInfoHeaderTable=systemInfoHeaderTable, symListTable=symListTable, syscodesBuffer=syscodesBuffer, symBcvDevListEntry=symBcvDevListEntry, dirPortStatTable=dirPortStatTable, symAPIStatistics=symAPIStatistics, discMicrocodeVersion=discMicrocodeVersion, symShowPrevent_ra_online_upon_pwron=symShowPrevent_ra_online_upon_pwron, dvhoaddrFiberChannelAddress=dvhoaddrFiberChannelAddress, symstatNum_sa_write_reqs=symstatNum_sa_write_reqs, pDevStatEntry=pDevStatEntry, symstatNum_rw_hits=symstatNum_rw_hits, dadcnfigMirror2Interface=dadcnfigMirror2Interface, statusCheckFrequency=statusCheckFrequency, dirstatDANum_pf_mismatches=dirstatDANum_pf_mismatches, emulFileCount=emulFileCount, devstatNum_write_reqs=devstatNum_write_reqs, esmSNMPRequestPort=esmSNMPRequestPort, dvhoaddrPortDType=dvhoaddrPortDType, raDirStatTable=raDirStatTable, RDFType=RDFType)
mibBuilder.exportSymbols("EMC-MIB", symBcvDevList=symBcvDevList, analyzerFileRuntime=analyzerFileRuntime, directorStatTable=directorStatTable, dadcnfigMaxRecords=dadcnfigMaxRecords, subagentInfo=subagentInfo, ldevstatNum_format_pend_tracks=ldevstatNum_format_pend_tracks, dgStatEntry=dgStatEntry, dadcnfigBuffer=dadcnfigBuffer, sysinfoMaxRecords=sysinfoMaxRecords, symBcvPDevListCountTable=symBcvPDevListCountTable, devShowProduct_id=devShowProduct_id, pdevstatNum_delayed_dfw=pdevstatNum_delayed_dfw, devShowBcv_pair_state=devShowBcv_pair_state, diskAdapterDeviceConfiguration=diskAdapterDeviceConfiguration, RDFLinkConfig=RDFLinkConfig, pdevstatNum_seq_read_reqs=pdevstatNum_seq_read_reqs, devShowRdf_status=devShowRdf_status, dirstatSANum_system_wp_disconnects=dirstatSANum_system_wp_disconnects, clientListClientExpiration=clientListClientExpiration, devShowMset_M3_type=devShowMset_M3_type, dirstatSANum_device_wp_disconnects=dirstatSANum_device_wp_disconnects, pdevstatNum_write_reqs=pdevstatNum_write_reqs, devShowAdaptive_copy=devShowAdaptive_copy, symDevShow=symDevShow, emulVersion=emulVersion, discIndex=discIndex, ldevstatNum_rw_hits=ldevstatNum_rw_hits, lDeviceName=lDeviceName, serialNumber=serialNumber, implCodeType=implCodeType, symDevListTable=symDevListTable, symShowSDDF_configuration=symShowSDDF_configuration, symPDevListCount=symPDevListCount, dgstatNum_read_hits=dgstatNum_read_hits, devShowMset_M1_invalid_tracks=devShowMset_M1_invalid_tracks, syscodesMaxRecords=syscodesMaxRecords, celerraTCPPort=celerraTCPPort, devstatNum_read_hits=devstatNum_read_hits, subagentConfiguration=subagentConfiguration, devShowDev_parameters=devShowDev_parameters, symstatNum_write_reqs=symstatNum_write_reqs, deviceHostAddressConfiguration=deviceHostAddressConfiguration, activePorts=activePorts, symShowSymmetrix_model=symShowSymmetrix_model, portstatNum_rw_reqs=portstatNum_rw_reqs, dirstatNum_read_reqs=dirstatNum_read_reqs, emcSymmetrixEventTrap=emcSymmetrixEventTrap, clientListRequestExpiration=clientListRequestExpiration, implChecksum=implChecksum, dirStatPortCountTable=dirStatPortCountTable, devShowDev_config=devShowDev_config, symPDevNoDgListTable=symPDevNoDgListTable, analyzerFileIsActive=analyzerFileIsActive, lDevStatEntry=lDevStatEntry, dgstatdevice_max_wp_limit=dgstatdevice_max_wp_limit, discNumEvents=discNumEvents, masterTraceMessagesEnable=masterTraceMessagesEnable, symBcvPDevListEntry=symBcvPDevListEntry, devShowDev_status=devShowDev_status, devstatNum_sym_timeslices=devstatNum_sym_timeslices, ldevstatTime_stamp=ldevstatTime_stamp, symBcvDevListTable=symBcvDevListTable, SCSIMethod=SCSIMethod, dirstatDANum_pf_restarts=dirstatDANum_pf_restarts, mfDiskInformation=mfDiskInformation, devShowRa_group_number=devShowRa_group_number, dgstatNum_wp_tracks=dgstatNum_wp_tracks, devShowNum_bcvdev_invalid_tracks=devShowNum_bcvdev_invalid_tracks, symShowMax_dev_wr_pend_slots=symShowMax_dev_wr_pend_slots, devShowDev_dgname=devShowDev_dgname, sysinfoNumberofDirectors=sysinfoNumberofDirectors, symShowEntry=symShowEntry, devShowNum_dev_invalid_tracks=devShowNum_dev_invalid_tracks, devShowRdf_pair_state=devShowRdf_pair_state, symstatNum_sa_rw_hits=symstatNum_sa_rw_hits, dadcnfigMirror3Director=dadcnfigMirror3Director, devstatNum_read_reqs=devstatNum_read_reqs)
| (object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, constraints_intersection, value_range_constraint, constraints_union, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion', 'ValueSizeConstraint')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(gauge32, counter32, time_ticks, notification_type, integer32, mib_identifier, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, bits, object_identity, ip_address, opaque, module_identity, experimental, notification_type, enterprises, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'Counter32', 'TimeTicks', 'NotificationType', 'Integer32', 'MibIdentifier', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'Bits', 'ObjectIdentity', 'IpAddress', 'Opaque', 'ModuleIdentity', 'experimental', 'NotificationType', 'enterprises', 'iso')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
class Uint32(Gauge32):
pass
emc = mib_identifier((1, 3, 6, 1, 4, 1, 1139))
emc_symmetrix = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1))
system_calls = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 2))
informational = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1))
system_information = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257))
system_codes = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258))
disk_adapter_device_configuration = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273))
device_host_address_configuration = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281))
control = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 2, 2))
discovery = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 3))
agent_administration = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 4))
analyzer = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000))
analyzer_files = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3))
clients = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1001))
trap_setup = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1002))
active_ports = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1003))
agent_configuration = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1004))
subagent_configuration = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005))
mainframe_variables = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 5))
sym_api = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6))
sym_api_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1))
sym_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 1))
sym_remote_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 2))
sym_dev_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3))
sym_p_dev_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4))
sym_p_dev_no_dg_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5))
sym_dev_no_dg_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6))
sym_dg_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 7))
sym_l_dev_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8))
sym_gate_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9))
sym_bcv_dev_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10))
sym_bcv_p_dev_list = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11))
sym_api_show = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2))
sym_show = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1))
sym_dev_show = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2))
sym_api_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3))
dir_port_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10))
symm_event = mib_identifier((1, 3, 6, 1, 4, 1, 1139, 1, 7))
emc_control_center = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 1))
if mibBuilder.loadTexts:
emcControlCenter.setStatus('obsolete')
if mibBuilder.loadTexts:
emcControlCenter.setDescription('A list of EMC Control Center specific variables entries. The number of entries is given by the value of discoveryTableSize.')
esm_variables = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
esmVariables.setStatus('obsolete')
if mibBuilder.loadTexts:
esmVariables.setDescription('An entry containing objects for a particular Symmertrix.')
emc_sym_cnfg = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 1), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymCnfg.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymCnfg.setDescription('symmetrix.cnfg disk variable ')
emc_sym_disk_cfg = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 2), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymDiskCfg.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymDiskCfg.setDescription('Symmetrix DISKS CONFIGURATION data')
emc_sym_mirror_disk_cfg = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 3), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymMirrorDiskCfg.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymMirrorDiskCfg.setDescription('Symmetrix MIRRORED DISKS CONFIGURATION data')
emc_sym_mirror3_disk_cfg = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 4), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymMirror3DiskCfg.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymMirror3DiskCfg.setDescription('Symmetrix MIRRORED3 DISKS CONFIGURATION data')
emc_sym_mirror4_disk_cfg = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 5), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymMirror4DiskCfg.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymMirror4DiskCfg.setDescription('Symmetrix MIRRORED4 DISKS CONFIGURATION data')
emc_sym_statistics = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 6), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymStatistics.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymStatistics.setDescription('Symmetrix STATISTICS data')
emc_sym_util_a7 = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 7), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymUtilA7.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymUtilA7.setDescription("UTILITY A7 -- Show disks 'W PEND' tracks counts")
emc_sym_rdf_maint = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 8), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymRdfMaint.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymRdfMaint.setDescription('Symmetrix Remote Data Facility Maintenance')
emc_sym_win_config = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 9), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymWinConfig.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymWinConfig.setDescription('EMC ICDA Manager CONFIGURATION data')
emc_sym_util99 = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 10), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymUtil99.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymUtil99.setDescription('Symmetrix error stats')
emc_sym_dir = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 11), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymDir.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymDir.setDescription('Symmetrix director information.')
emc_sym_dev_stats = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 12), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymDevStats.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymDevStats.setDescription('Symmetrix error stats')
emc_sym_sum_status = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 13), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymSumStatus.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymSumStatus.setDescription('Symmetrix Summary Status. 0 = no errors 1 = warning 2+ = Fatal error ')
emc_ratios_outof_range = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 14), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcRatiosOutofRange.setStatus('obsolete')
if mibBuilder.loadTexts:
emcRatiosOutofRange.setDescription('Symmetrix Write/Hit Ratio Status. A bit-wise integer value indicating hit or write ratio out of range. If (value & 1) then hit ratio out of specified range. If (value & 2) then write ratio out of specified range. ')
emc_sym_port_stats = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 15), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymPortStats.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymPortStats.setDescription('Symmetrix port statistics')
emc_sym_bcv_device = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 16), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymBCVDevice.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymBCVDevice.setDescription('Symmetrix BCV Device information')
emc_sym_sait_info = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 17), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymSaitInfo.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymSaitInfo.setDescription('Symmetrix SCSI/Fiber channel information')
emc_sym_timefinder_info = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 18), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymTimefinderInfo.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymTimefinderInfo.setDescription('Symmetrix Tinmefinder information')
emc_sym_srdf_info = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 19), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymSRDFInfo.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymSRDFInfo.setDescription('Symmetrix RDF Device information')
emc_sym_phys_dev_stats = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 20), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymPhysDevStats.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymPhysDevStats.setDescription('Symmetrix Physical Device Statistics')
emc_sym_sum_status_error_codes = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 1, 1, 98), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymSumStatusErrorCodes.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymSumStatusErrorCodes.setDescription('A Colon-delimited list of error codes that caused the error in emcSymSumStatus ')
system_info_header_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1))
if mibBuilder.loadTexts:
systemInfoHeaderTable.setStatus('obsolete')
if mibBuilder.loadTexts:
systemInfoHeaderTable.setDescription('A table of Symmetrix information contain is the results of Syscall 0x0101 for the specified Symmetrix instance. The number of entries is given by the value discIndex.')
system_info_header_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
systemInfoHeaderEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
systemInfoHeaderEntry.setDescription('An entry containing objects for the indicated systemInfoHeaderTable element.')
sysinfo_buffer = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1, 1), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysinfoBuffer.setStatus('obsolete')
if mibBuilder.loadTexts:
sysinfoBuffer.setDescription('The entire return buffer of system call 0x0101 for the indicated Symmetrix.')
sysinfo_numberof_records = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysinfoNumberofRecords.setStatus('obsolete')
if mibBuilder.loadTexts:
sysinfoNumberofRecords.setDescription('The count of the number of records in the buffer returned by Syscall 0x0101.')
sysinfo_record_size = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysinfoRecordSize.setStatus('obsolete')
if mibBuilder.loadTexts:
sysinfoRecordSize.setDescription('This object is the size of one record in the buffer returned by Syscall 0x0101.')
sysinfo_first_record_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysinfoFirstRecordNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
sysinfoFirstRecordNumber.setDescription('This object is the first record number in the buffer returned by Syscall 0x0101.')
sysinfo_max_records = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 1, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysinfoMaxRecords.setStatus('obsolete')
if mibBuilder.loadTexts:
sysinfoMaxRecords.setDescription('This object is the maximum number of records available in this Symmetrix for Syscall 0x0101.')
sysinfo_records_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2))
if mibBuilder.loadTexts:
sysinfoRecordsTable.setStatus('obsolete')
if mibBuilder.loadTexts:
sysinfoRecordsTable.setDescription('This table provides a method to access one device record within the buffer returned by Syscall 0x0101.')
sysinfo_records_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
sysinfoRecordsEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
sysinfoRecordsEntry.setDescription('One entire record of system information for the indicated Symmetrix.')
sysinfo_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysinfoSerialNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
sysinfoSerialNumber.setDescription(' This object describes the serial number of indicated Symmetrix.')
sysinfo_numberof_directors = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2, 1, 19), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysinfoNumberofDirectors.setStatus('obsolete')
if mibBuilder.loadTexts:
sysinfoNumberofDirectors.setDescription('The number of directors in this Symmetrix. ')
sysinfo_numberof_volumes = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2, 1, 23), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysinfoNumberofVolumes.setStatus('obsolete')
if mibBuilder.loadTexts:
sysinfoNumberofVolumes.setDescription(' This object describes the number of logical devices present on the system.')
sysinfo_memory_size = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 257, 2, 1, 25), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sysinfoMemorySize.setStatus('obsolete')
if mibBuilder.loadTexts:
sysinfoMemorySize.setDescription('The amount of memory, in Megabytes, in the system. This is also the last memory address in the system ')
system_codes_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1))
if mibBuilder.loadTexts:
systemCodesTable.setStatus('obsolete')
if mibBuilder.loadTexts:
systemCodesTable.setDescription('A table of Symmetrix information contain is the results of Syscall 0x0102 for the specified Symmetrix instance. The number of entries is given by the value discIndex.')
system_codes_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
systemCodesEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
systemCodesEntry.setDescription('An entry containing objects for the indicated systemCodesTable element.')
syscodes_buffer = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1, 1), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
syscodesBuffer.setStatus('obsolete')
if mibBuilder.loadTexts:
syscodesBuffer.setDescription('The entire return buffer of system call 0x0102. ')
syscodes_numberof_records = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
syscodesNumberofRecords.setStatus('obsolete')
if mibBuilder.loadTexts:
syscodesNumberofRecords.setDescription('The count of the number of records in the buffer returned by Syscall 0x0102.')
syscodes_record_size = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
syscodesRecordSize.setStatus('obsolete')
if mibBuilder.loadTexts:
syscodesRecordSize.setDescription('This object is the size of one record in the buffer returned by Syscall 0x0102.')
syscodes_first_record_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
syscodesFirstRecordNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
syscodesFirstRecordNumber.setDescription('This object is the first record number in the buffer returned by Syscall 0x0102.')
syscodes_max_records = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 1, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
syscodesMaxRecords.setStatus('obsolete')
if mibBuilder.loadTexts:
syscodesMaxRecords.setDescription('This object is the maximum number of records available in this Symmetrix for Syscall 0x0102.')
system_codes_records_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2))
if mibBuilder.loadTexts:
systemCodesRecordsTable.setStatus('obsolete')
if mibBuilder.loadTexts:
systemCodesRecordsTable.setDescription('This table provides a method to access one director record within the buffer returned by Syscall 0x0102.')
system_codes_records_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'syscodesDirectorNum'))
if mibBuilder.loadTexts:
systemCodesRecordsEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
systemCodesRecordsEntry.setDescription('One entire record of system code information for the the indicated Symmetrix and director.')
syscodes_director_type = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('parallel-adapter', 1), ('escon-adapter', 2), ('scsi-adapter', 3), ('disk-adapter', 4), ('remote-adapter', 5), ('fiber-adapter', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
syscodesDirectorType.setStatus('obsolete')
if mibBuilder.loadTexts:
syscodesDirectorType.setDescription('The 1 byte director type identifier. 1 - Parallel Channel Adapter card 2 - ESCON Adapter card 3 - SCSI Adapter card 4 - Disk Adapter card 5 - RDF Adapter card 6 - Fiber Channel Adapter card ')
syscodes_director_num = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
syscodesDirectorNum.setStatus('obsolete')
if mibBuilder.loadTexts:
syscodesDirectorNum.setDescription('The index to the table. The number of instances should be the number of Directors. The instance we are interested in at any point would be the Director number. NOTE: Director numbering may be zero based. If so, then an instance is Director number plus 1. ')
emul_code_type = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 4))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emulCodeType.setStatus('obsolete')
if mibBuilder.loadTexts:
emulCodeType.setDescription("The 4 byte code type of the director. Value is 'EMUL' ")
emul_version = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emulVersion.setStatus('obsolete')
if mibBuilder.loadTexts:
emulVersion.setDescription("The 4 byte version of the director's code. ")
emul_date = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 7), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emulDate.setStatus('obsolete')
if mibBuilder.loadTexts:
emulDate.setDescription("The 4 byte version date for the director's code. ")
emul_checksum = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emulChecksum.setStatus('obsolete')
if mibBuilder.loadTexts:
emulChecksum.setDescription("The 4 byte checksum for the director's code. ")
emul_mtpf = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emulMTPF.setStatus('obsolete')
if mibBuilder.loadTexts:
emulMTPF.setDescription("The 4 byte MTPF of the director's code. ")
emul_file_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emulFileCount.setStatus('obsolete')
if mibBuilder.loadTexts:
emulFileCount.setDescription("The 4 byte file length of the director's code. ")
impl_code_type = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 4))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
implCodeType.setStatus('obsolete')
if mibBuilder.loadTexts:
implCodeType.setDescription("The 4 byte code type of the director. Value is 'IMPL' ")
impl_version = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
implVersion.setStatus('obsolete')
if mibBuilder.loadTexts:
implVersion.setDescription("The 4 byte version of the director's code. ")
impl_date = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 13), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
implDate.setStatus('obsolete')
if mibBuilder.loadTexts:
implDate.setDescription("The 4 byte version date for the director's code. ")
impl_checksum = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
implChecksum.setStatus('obsolete')
if mibBuilder.loadTexts:
implChecksum.setDescription("The 4 byte checksum for the director's code. ")
impl_mtpf = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
implMTPF.setStatus('obsolete')
if mibBuilder.loadTexts:
implMTPF.setDescription("The 4 byte MTPF of the director's code. ")
impl_file_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 16), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
implFileCount.setStatus('obsolete')
if mibBuilder.loadTexts:
implFileCount.setDescription("The 4 byte file length of the director's code. ")
init_code_type = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 17), display_string().subtype(subtypeSpec=value_size_constraint(0, 4))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
initCodeType.setStatus('obsolete')
if mibBuilder.loadTexts:
initCodeType.setDescription("The 4 byte code type of the director. Value is 'INIT' ")
init_version = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 18), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
initVersion.setStatus('obsolete')
if mibBuilder.loadTexts:
initVersion.setDescription("The 4 byte version of the director's code. ")
init_date = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 19), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
initDate.setStatus('obsolete')
if mibBuilder.loadTexts:
initDate.setDescription("The 4 byte version date for the director's code. ")
init_checksum = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 20), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
initChecksum.setStatus('obsolete')
if mibBuilder.loadTexts:
initChecksum.setDescription("The 4 byte checksum for the director's code. ")
init_mtpf = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 21), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
initMTPF.setStatus('obsolete')
if mibBuilder.loadTexts:
initMTPF.setDescription("The 4 byte MTPF of the director's code. ")
init_file_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 22), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
initFileCount.setStatus('obsolete')
if mibBuilder.loadTexts:
initFileCount.setDescription("The 4 byte file length of the director's code. ")
escn_code_type = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 23), display_string().subtype(subtypeSpec=value_size_constraint(0, 4))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
escnCodeType.setStatus('obsolete')
if mibBuilder.loadTexts:
escnCodeType.setDescription("The 4 byte code type of the director. Value is 'ESCN' ")
escn_version = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 24), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
escnVersion.setStatus('obsolete')
if mibBuilder.loadTexts:
escnVersion.setDescription("The 4 byte version of the director's code. ")
escn_date = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 25), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
escnDate.setStatus('obsolete')
if mibBuilder.loadTexts:
escnDate.setDescription("The 4 byte version date for the director's code. ")
escn_checksum = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 26), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
escnChecksum.setStatus('obsolete')
if mibBuilder.loadTexts:
escnChecksum.setDescription("The 4 byte checksum for the director's code. ")
escn_mtpf = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 27), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
escnMTPF.setStatus('obsolete')
if mibBuilder.loadTexts:
escnMTPF.setDescription("The 4 byte MTPF of the director's code. ")
escn_file_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 258, 2, 1, 28), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
escnFileCount.setStatus('obsolete')
if mibBuilder.loadTexts:
escnFileCount.setDescription("The 4 byte file length of the director's code. ")
disk_adapter_device_configuration_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1))
if mibBuilder.loadTexts:
diskAdapterDeviceConfigurationTable.setStatus('obsolete')
if mibBuilder.loadTexts:
diskAdapterDeviceConfigurationTable.setDescription('A table of Symmetrix information contain is the results of Syscall 0x0111 for the specified Symmetrix instance. The number of entries is given by the value discIndex.')
disk_adapter_device_configuration_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
diskAdapterDeviceConfigurationEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
diskAdapterDeviceConfigurationEntry.setDescription('An entry containing objects for the indicated diskAdapterDeviceConfigurationTable element.')
dadcnfig_buffer = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1, 1), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigBuffer.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigBuffer.setDescription('The entire return buffer of system call 0x0111. ')
dadcnfig_numberof_records = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigNumberofRecords.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigNumberofRecords.setDescription('The count of the number of records in the buffer returned by Syscall 0x0111.')
dadcnfig_record_size = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigRecordSize.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigRecordSize.setDescription('This object is the size of one record in the buffer returned by Syscall 0x0111.')
dadcnfig_first_record_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigFirstRecordNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigFirstRecordNumber.setDescription('This object is the first record number in the buffer returned by Syscall 0x0111.')
dadcnfig_max_records = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 1, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigMaxRecords.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigMaxRecords.setDescription('This object is the maximum number of records available in this Symmetrix for Syscall 0x0111.')
dadcnfig_device_records_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2))
if mibBuilder.loadTexts:
dadcnfigDeviceRecordsTable.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigDeviceRecordsTable.setDescription('This table provides a method to access one device record within the buffer returned by Syscall 0x0111.')
dadcnfig_device_records_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'dadcnfigSymmNumber'))
if mibBuilder.loadTexts:
dadcnfigDeviceRecordsEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigDeviceRecordsEntry.setDescription('One entire record of disk adapter device configuration information for the indicated Symmetrix.')
dadcnfig_symm_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigSymmNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigSymmNumber.setDescription('The 2 byte Symmetrix number of the device. ')
dadcnfig_mirrors = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 8), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigMirrors.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigMirrors.setDescription("an 8 byte buffer, 4 mirrors * 2 bytes per, indicating director and port assignments for this device's mirrors. Buffer format is: mir 1 mir 2 mir 3 mir 4 *----+----*----+----*----+----*----+----+ |DIR |i/f |DIR |i/f |DIR |i/f |DIR |i/f | | # | | # | | # | | # | | *----+----*----+----*----+----*----+----+ ")
dadcnfig_mirror1_director = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 9), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigMirror1Director.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigMirror1Director.setDescription("The director number of this device's Mirror 1 device. ")
dadcnfig_mirror1_interface = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 10), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigMirror1Interface.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigMirror1Interface.setDescription("The interface number of this device's Mirror 1 device. ")
dadcnfig_mirror2_director = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 11), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigMirror2Director.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigMirror2Director.setDescription("The director number of this device's Mirror 2 device. ")
dadcnfig_mirror2_interface = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 12), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigMirror2Interface.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigMirror2Interface.setDescription("The interface number of this device's Mirror 2 device. ")
dadcnfig_mirror3_director = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 13), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigMirror3Director.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigMirror3Director.setDescription("The director number of this device's Mirror 3 device. ")
dadcnfig_mirror3_interface = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigMirror3Interface.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigMirror3Interface.setDescription("The interface number of this device's Mirror 3 device. ")
dadcnfig_mirror4_director = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigMirror4Director.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigMirror4Director.setDescription("The director number of this device's Mirror 4 device. ")
dadcnfig_mirror4_interface = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 273, 2, 1, 16), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dadcnfigMirror4Interface.setStatus('obsolete')
if mibBuilder.loadTexts:
dadcnfigMirror4Interface.setDescription("The interface number of this device's Mirror 4 device. ")
device_host_address_configuration_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1))
if mibBuilder.loadTexts:
deviceHostAddressConfigurationTable.setStatus('obsolete')
if mibBuilder.loadTexts:
deviceHostAddressConfigurationTable.setDescription('A table of Symmetrix information contain is the results of Syscall 0x0119 for the specified Symmetrix instance. The number of entries is given by the value discIndex.')
device_host_address_configuration_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
deviceHostAddressConfigurationEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
deviceHostAddressConfigurationEntry.setDescription('An entry containing objects for the indicated deviceHostAddressConfigurationTable element.')
dvhoaddr_buffer = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1, 1), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrBuffer.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrBuffer.setDescription('The entire return buffer of system call 0x0119. ')
dvhoaddr_numberof_records = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrNumberofRecords.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrNumberofRecords.setDescription('The count of the number of records in the buffer returned by Syscall 0x0119.')
dvhoaddr_record_size = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrRecordSize.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrRecordSize.setDescription('This object is the size of one record in the buffer returned by Syscall 0x0119.')
dvhoaddr_first_record_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrFirstRecordNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrFirstRecordNumber.setDescription('This object is the first record number in the buffer returned by Syscall 0x0119.')
dvhoaddr_max_records = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 1, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrMaxRecords.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrMaxRecords.setDescription('This object is the maximum number of records available in this Symmetrix for Syscall 0x0119.')
dvhoaddr_device_records_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2))
if mibBuilder.loadTexts:
dvhoaddrDeviceRecordsTable.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrDeviceRecordsTable.setDescription('This table provides a method to access one device record record within the buffer returned by Syscall 0x0119.')
dvhoaddr_device_records_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'dvhoaddrSymmNumber'))
if mibBuilder.loadTexts:
dvhoaddrDeviceRecordsEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrDeviceRecordsEntry.setDescription('One entire record of device host address information for the indicated Symmetrix.')
dvhoaddr_symm_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrSymmNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrSymmNumber.setDescription('The 2 byte Symmetrix number of the device. ')
dvhoaddr_director_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrDirectorNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrDirectorNumber.setDescription('The 2 byte Symmetrix number of the director. ')
dvhoaddr_port_a_type = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 6))).clone(namedValues=named_values(('parallel-ca', 1), ('escon-ca', 2), ('sa', 3), ('fibre', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrPortAType.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrPortAType.setDescription('The type of port for Port A. 01 - Parallel CA 02 - ESCON CA 03 - SA 04 - Fiber Channel')
dvhoaddr_port_a_device_address = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 4), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrPortADeviceAddress.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrPortADeviceAddress.setDescription('The 1 byte port address for this device on this port.')
dvhoaddr_port_b_type = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 6))).clone(namedValues=named_values(('parallel-ca', 1), ('escon-ca', 2), ('sa', 3), ('fibre', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrPortBType.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrPortBType.setDescription('The type of port for Port A. 01 - Parallel CA 02 - ESCON CA 03 - SA 04 - Fiber Channel')
dvhoaddr_port_b_device_address = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 6), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrPortBDeviceAddress.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrPortBDeviceAddress.setDescription('The 1 byte port address for this device on this port.')
dvhoaddr_port_c_type = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 6))).clone(namedValues=named_values(('parallel-ca', 1), ('escon-ca', 2), ('sa', 3), ('fibre', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrPortCType.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrPortCType.setDescription('The type of port for Port A. 01 - Parallel CA 02 - ESCON CA 03 - SA 04 - Fiber Channel')
dvhoaddr_port_c_device_address = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 8), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrPortCDeviceAddress.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrPortCDeviceAddress.setDescription('The 1 byte port address for this device on this port.')
dvhoaddr_port_d_type = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 6))).clone(namedValues=named_values(('parallel-ca', 1), ('escon-ca', 2), ('sa', 3), ('fibre', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrPortDType.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrPortDType.setDescription('The type of port for Port A. 01 - Parallel CA 02 - ESCON CA 03 - SA 04 - Fiber Channel')
dvhoaddr_port_d_device_address = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 10), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrPortDDeviceAddress.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrPortDDeviceAddress.setDescription('The 1 byte port address for this device on this port.')
dvhoaddr_meta_flags = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 11), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrMetaFlags.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrMetaFlags.setDescription('The 1 byte Meta Flags if this record is an SA record.')
dvhoaddr_fiber_channel_address = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 2, 1, 281, 2, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dvhoaddrFiberChannelAddress.setStatus('obsolete')
if mibBuilder.loadTexts:
dvhoaddrFiberChannelAddress.setDescription('The 2 byte address if this record is a Fiber Channel record. There is only 1 port defined.')
discovery_table_size = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 3, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discoveryTableSize.setStatus('mandatory')
if mibBuilder.loadTexts:
discoveryTableSize.setDescription('The number of Symmetrixes that are, or have been present on this system.')
discovery_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2))
if mibBuilder.loadTexts:
discoveryTable.setStatus('mandatory')
if mibBuilder.loadTexts:
discoveryTable.setDescription('A list of Symmetrixes. The number of entries is given by the value of discoveryTableSize.')
discovery_tbl = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
discoveryTbl.setStatus('mandatory')
if mibBuilder.loadTexts:
discoveryTbl.setDescription('An interface entry containing objects for a particular Symmetrix.')
disc_index = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
discIndex.setDescription("A unique value for each Symmetrix. Its value ranges between 1 and the value of discoveryTableSize. The value for each Symmetrix must remain constant from one agent re-initialization to the next re-initialization, or until the agent's discovery list is reset.")
disc_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discSerialNumber.setStatus('mandatory')
if mibBuilder.loadTexts:
discSerialNumber.setDescription('The serial number of this attached Symmetrix')
disc_raw_device = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 3), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discRawDevice.setStatus('obsolete')
if mibBuilder.loadTexts:
discRawDevice.setDescription("The 'gatekeeper' device the agent uses to extract information from this Symmetrix, via the SCSI connection")
disc_model = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discModel.setStatus('mandatory')
if mibBuilder.loadTexts:
discModel.setDescription('This Symmetrix Model number')
disc_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discCapacity.setStatus('obsolete')
if mibBuilder.loadTexts:
discCapacity.setDescription("The size, in bytes of the 'gatekeeper' device for this Symmetrix This object is obsolete in Mib Version 2.0. Agent revisions of 4.0 or greater will return a zero as a value.")
disc_checksum = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discChecksum.setStatus('mandatory')
if mibBuilder.loadTexts:
discChecksum.setDescription('The checksum value of the IMPL for this Symmetrix.')
disc_config_date = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 7), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discConfigDate.setStatus('mandatory')
if mibBuilder.loadTexts:
discConfigDate.setDescription('The date of the last configuration change. Format = MMDDYYYY ')
disc_rdf = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('false', 0), ('true', 1), ('unknown', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discRDF.setStatus('mandatory')
if mibBuilder.loadTexts:
discRDF.setDescription('Indicates if RDF is available for this Symmetrix')
disc_bcv = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('false', 0), ('true', 1), ('unknown', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discBCV.setStatus('mandatory')
if mibBuilder.loadTexts:
discBCV.setDescription('Indicates if BCV Devices are configured in this Symmetrix')
disc_state = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unknown', 1), ('online', 2), ('offline', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discState.setStatus('mandatory')
if mibBuilder.loadTexts:
discState.setDescription('Indicates the online/offline state of this Symmetrix')
disc_status = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('unknown', 1), ('unused', 2), ('ok', 3), ('warning', 4), ('failed', 5)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discStatus.setStatus('mandatory')
if mibBuilder.loadTexts:
discStatus.setDescription('Indicates the overall status of this Symmetrix')
disc_microcode_version = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 12), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discMicrocodeVersion.setStatus('mandatory')
if mibBuilder.loadTexts:
discMicrocodeVersion.setDescription('The microcode version running in this Symmetrix')
disc_symapisrv_ip = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 13), ip_address()).setLabel('discSymapisrv-IP').setMaxAccess('readonly')
if mibBuilder.loadTexts:
discSymapisrv_IP.setStatus('mandatory')
if mibBuilder.loadTexts:
discSymapisrv_IP.setDescription("The IP address of the symapi server from where this Symmetrix's data is sourced. ")
disc_num_events = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 14), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discNumEvents.setStatus('mandatory')
if mibBuilder.loadTexts:
discNumEvents.setDescription('Number of events currently in the symmEventTable.')
disc_event_curr_id = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 3, 2, 1, 15), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discEventCurrID.setStatus('mandatory')
if mibBuilder.loadTexts:
discEventCurrID.setDescription('The last used event id (symmEventId).')
agent_revision = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
agentRevision.setStatus('mandatory')
if mibBuilder.loadTexts:
agentRevision.setDescription('The current revision of the agent software ')
mib_revision = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
mibRevision.setStatus('mandatory')
if mibBuilder.loadTexts:
mibRevision.setDescription('Mib Revision 4.1')
agent_type = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('unknown', 0), ('unix-host', 1), ('mainframe', 2), ('nt-host', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
agentType.setStatus('mandatory')
if mibBuilder.loadTexts:
agentType.setDescription('Integer value indicating the agent host environment, so polling applications can adjust accordingly')
periodic_discovery_frequency = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 4), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
periodicDiscoveryFrequency.setStatus('mandatory')
if mibBuilder.loadTexts:
periodicDiscoveryFrequency.setDescription("Indicates how often the Discovery thread should rebuild the table of attached Symmetrixes, adding new ones, and removing old ones. Any changes between the new table and the previous table will generate a trap (Trap 4) to all registered trap clients. Initialize at startup from a separate 'config' file. Recommended default is 3600 seconds (1 hour). A value less than 60 will disable the thread. Minimum frequency is 60 seconds.")
checksum_test_frequency = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 5), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
checksumTestFrequency.setStatus('mandatory')
if mibBuilder.loadTexts:
checksumTestFrequency.setDescription("Indicates how often the Checksum thread should test for any changes between the current and previous checksum value for all discovered Symmetrixes. For each checksum change, a trap will be generated (Trap 5) to all registered trap clients. Initialize at startup from a separate 'config' file. Recommended default is 60 seconds (1 minute). A value less than 60 will disable the thread. Minimum frequency is 60 seconds.")
status_check_frequency = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 6), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
statusCheckFrequency.setStatus('mandatory')
if mibBuilder.loadTexts:
statusCheckFrequency.setDescription("Indicates how often the Status thread should gather all status and error data from all discovered Symmetrixes. For each director or device error condition, a trap will be generated (Trap 1 or 2) to all registered trap clients. Initialize at startup from a separate 'config' file. Recommended default is 60 seconds (1 minute). A value less than 60 will disable the thread. Minimum frequency is 60 seconds.")
discovery_change_time = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 302), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
discoveryChangeTime.setStatus('mandatory')
if mibBuilder.loadTexts:
discoveryChangeTime.setDescription("Indicates the last time the discovery table was last change by the agent. The value is in seconds, as returned by the standard 'C' function time(). ")
client_list_maintenance_frequency = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1001, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
clientListMaintenanceFrequency.setStatus('obsolete')
if mibBuilder.loadTexts:
clientListMaintenanceFrequency.setDescription("Indicates how often the Client List maintenance thread should 'wake up' to remove old requests and clients from the list Initialize at startup from a separate 'config' file. Recommended default is 15 minutes (1800 seconds).")
client_list_request_expiration = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1001, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
clientListRequestExpiration.setStatus('obsolete')
if mibBuilder.loadTexts:
clientListRequestExpiration.setDescription("Indicates how old a client request should be to consider removing it from the Client List. It's assumed that a time out condition occurred at the client, and the data is no longer of any value, and deleted. Initialize at startup from a separate 'config' file. Recommended default is 15 minutes (900 seconds).")
client_list_client_expiration = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1001, 3), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
clientListClientExpiration.setStatus('obsolete')
if mibBuilder.loadTexts:
clientListClientExpiration.setDescription("Indicates how long a client can remain in the Client List without make a request to the agent, after which point it is deleted from the list. Clients are added to the list by making a request to the agent. Initialize at startup from a separate 'config' file. Recommended default is 30 minutes (1800 seconds).")
discovery_trap_port = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1002, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
discoveryTrapPort.setStatus('obsolete')
if mibBuilder.loadTexts:
discoveryTrapPort.setDescription("Each client can set it's own port for receiving rediscovery traps in the event the client cannot listen on port 162. The agent will send any discovery table notifications to port 162, and, if set (i.e. >0), the clients designated port. ")
trap_test_frequency = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1002, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
trapTestFrequency.setStatus('obsolete')
if mibBuilder.loadTexts:
trapTestFrequency.setDescription("Indicates how often the Trap Test thread should 'wake up' to test for trap conditions in each attached Symmetrix. Initialize at startup from a separate 'config' file. Recommended default is 60 seconds.")
standard_snmp_request_port = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1003, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
standardSNMPRequestPort.setStatus('mandatory')
if mibBuilder.loadTexts:
standardSNMPRequestPort.setDescription('Indicates if the agent was able to bind to the standard SNMP request port, port 161. Value of -1 indicates another SNMP agent was already active on this host.')
esm_snmp_request_port = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1003, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
esmSNMPRequestPort.setStatus('mandatory')
if mibBuilder.loadTexts:
esmSNMPRequestPort.setDescription("Indicates what port the agent was able to bind to receive SNMP requests for ESM data. This port can also be browsed for all available MIB objects in the event the standard SNMP port is unavailable, or the standard EMC.MIB is not loaded into the host's SNMP agent.")
celerra_tcp_port = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1003, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
celerraTCPPort.setStatus('obsolete')
if mibBuilder.loadTexts:
celerraTCPPort.setDescription('Indicates what port the agent was able to bind to receive TCP requests for ESM data from a Celerra Monitor. Requests made to this port must conform to the internal proprietary protocol established between a Celerra Monitor and the agent')
xdr_tcp_port = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1003, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
xdrTCPPort.setStatus('obsolete')
if mibBuilder.loadTexts:
xdrTCPPort.setDescription('Indicates what port the agent was able to bind to receive TCP requests for ESM data. Requests made to this port must be XDR encoded and conform to the command set established in the agent')
esm_variable_packet_size = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1004, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
esmVariablePacketSize.setStatus('obsolete')
if mibBuilder.loadTexts:
esmVariablePacketSize.setDescription("Agent's Maximum SNMP Packet Size for ESM Opaque variables. Each client can set it's own preferred size with the agent's internal client list. Default size: 2000 bytes ")
discovery_frequency = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1004, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
discoveryFrequency.setStatus('obsolete')
if mibBuilder.loadTexts:
discoveryFrequency.setDescription("Indicates how often the Discovery thread should 'wake up' to rebuild the table of attached Symmetrixes, adding new ones, and removing old ones. Any changes between the new table and the previous table will generate a trap to all clients that had previously retrieved the discovery table. Those clients will be prevented from retrieving any data from the agent until they retrieve the new discovery table. Initialize at startup from a separate 'config' file. Recommended default is 600 seconds (10 minutes).")
master_trace_messages_enable = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1004, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
masterTraceMessagesEnable.setStatus('obsolete')
if mibBuilder.loadTexts:
masterTraceMessagesEnable.setDescription('Turns trace messages on or off to the console. 0 = OFF 1 = ON')
analyzer_top_file_save_policy = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
analyzerTopFileSavePolicy.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerTopFileSavePolicy.setDescription("Indicates how long a *.top file can remain on disk before being deleted. Value is in days. Initialize at startup from a separate 'config' file. Recommended default is 7 days.")
analyzer_special_duration_limit = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
analyzerSpecialDurationLimit.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerSpecialDurationLimit.setDescription("This is a cap applied to 'special' analyzer collection requests that have a duration that exceeds this amount. Value is in hours. Initialize at startup from a separate 'config' file. Recommended default is 24 hours.")
analyzer_files_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 1))
if mibBuilder.loadTexts:
analyzerFilesCountTable.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerFilesCountTable.setDescription('A list of the number of analyzer file present for the given Symmetrix instance.')
analyzer_file_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 1, 1)).setIndexNames((0, 'EMC-MIB', 'symListCount'))
if mibBuilder.loadTexts:
analyzerFileCountEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerFileCountEntry.setDescription('A file count entry containing objects for the specified Symmetrix')
analyzer_file_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
analyzerFileCount.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerFileCount.setDescription('The number of entries in the AnaylzerFileList table for the indicated Symmetrix instance')
analyzer_files_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2))
if mibBuilder.loadTexts:
analyzerFilesListTable.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerFilesListTable.setDescription('A list of the number of analyzer file present for the given Symmetrix instance. The number of entries is given by the value of analyzerFileCount.')
analyzer_files_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1)).setIndexNames((0, 'EMC-MIB', 'symListCount'), (0, 'EMC-MIB', 'analyzerFileCount'))
if mibBuilder.loadTexts:
analyzerFilesListEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerFilesListEntry.setDescription('A file list entry containing objects for the specified Symmetrix')
analyzer_file_name = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
analyzerFileName.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerFileName.setDescription('The analyzer file name for the indicated instance')
analyzer_file_size = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 2), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
analyzerFileSize.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerFileSize.setDescription('The analyzer file size for the indicated instances, in bytes')
analyzer_file_creation = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 3), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
analyzerFileCreation.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerFileCreation.setDescription('The analyzer file creation time for the indicated instance')
analyzer_file_last_modified = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
analyzerFileLastModified.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerFileLastModified.setDescription('The analyzer file last modified time for the indicated instance')
analyzer_file_is_active = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('inactive', 0), ('active', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
analyzerFileIsActive.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerFileIsActive.setDescription('Indicates if the analyzer collector is collection and storing Symmetrix information into this file.')
analyzer_file_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1000, 3, 2, 1, 6), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
analyzerFileRuntime.setStatus('obsolete')
if mibBuilder.loadTexts:
analyzerFileRuntime.setDescription('The length of time this file has run, or has been running for.')
subagent_information = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005, 1))
if mibBuilder.loadTexts:
subagentInformation.setStatus('obsolete')
if mibBuilder.loadTexts:
subagentInformation.setDescription(' A list of subagent entries operational on the host. The number of entries is given by the value of discoveryTableSize.')
subagent_info = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
subagentInfo.setStatus('obsolete')
if mibBuilder.loadTexts:
subagentInfo.setDescription('An entry containing objects for a particular Symmetrix subagent.')
subagent_symmetrix_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005, 1, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
subagentSymmetrixSerialNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
subagentSymmetrixSerialNumber.setDescription('The serial number of this attached Symmetrix')
subagent_process_active = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
subagentProcessActive.setStatus('obsolete')
if mibBuilder.loadTexts:
subagentProcessActive.setDescription('The subagent process is running for this symmetrix. 0 = False 1 = True')
subagent_trace_messages_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 4, 1005, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('off', 0), ('on', 1)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
subagentTraceMessagesEnable.setStatus('obsolete')
if mibBuilder.loadTexts:
subagentTraceMessagesEnable.setDescription('Turns trace messages on or off to the console. 0 = OFF 1 = ON')
mainframe_disk_information = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 5, 1))
if mibBuilder.loadTexts:
mainframeDiskInformation.setStatus('obsolete')
if mibBuilder.loadTexts:
mainframeDiskInformation.setDescription('This table of mainframe specific disk variables for each attached Symmetrix. The number of entries is given by the value of discoveryTableSize.')
mf_disk_information = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 5, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
mfDiskInformation.setStatus('obsolete')
if mibBuilder.loadTexts:
mfDiskInformation.setDescription('An mainframe disk information entry containing objects for a particular Symmetrix.')
emc_sym_mvs_volume = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 5, 1, 1, 1), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymMvsVolume.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymMvsVolume.setDescription('Specific mainframe information for each disk of this attached Symmetrix. Supported ONLY in agents running in an MVS environment. ')
mainframe_data_set_information = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 5, 2))
if mibBuilder.loadTexts:
mainframeDataSetInformation.setStatus('obsolete')
if mibBuilder.loadTexts:
mainframeDataSetInformation.setDescription('This table of mainframe specific data set for each attached Symmetrix. The number of entries is given by the value of discoveryTableSize.')
mf_data_set_information = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 5, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'emcSymMvsLUNNumber'))
if mibBuilder.loadTexts:
mfDataSetInformation.setStatus('obsolete')
if mibBuilder.loadTexts:
mfDataSetInformation.setDescription('An mainframe data set entry containing objects for a particular Symmetrix.')
emc_sym_mvs_lun_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 5, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymMvsLUNNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymMvsLUNNumber.setDescription('The LUN number for this data set ')
emc_sym_mvs_dsname = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 5, 2, 1, 2), opaque()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
emcSymMvsDsname.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymMvsDsname.setDescription('Specific mainframe information for each LUN of this attached Symmetrix. Supported ONLY in agents running in an MVS environment. ')
emc_sym_mvs_build_status = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 5, 2, 1, 3), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
emcSymMvsBuildStatus.setStatus('obsolete')
if mibBuilder.loadTexts:
emcSymMvsBuildStatus.setDescription('Polled value to indicate the state of the data set list. 0 = data set unavailable 1 = build process initiated 2 = build in progress 3 = data set available ')
sym_list_count = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symListCount.setStatus('obsolete')
if mibBuilder.loadTexts:
symListCount.setDescription('The number of entries in symListTable, representing the number of Symmetrixes present on this system.')
sym_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 1, 2))
if mibBuilder.loadTexts:
symListTable.setStatus('obsolete')
if mibBuilder.loadTexts:
symListTable.setDescription('A list of attached Symmetrix serial numbers. The number of entries is given by the value of symListCount.')
sym_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 1, 2, 1)).setIndexNames((0, 'EMC-MIB', 'symListCount'))
if mibBuilder.loadTexts:
symListEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
symListEntry.setDescription('An entry containing objects for the indicated symListTable element.')
serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 1, 2, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
serialNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
serialNumber.setDescription('The Symmetrix serial number for the indicated instance')
sym_remote_list_count = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 2, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symRemoteListCount.setStatus('obsolete')
if mibBuilder.loadTexts:
symRemoteListCount.setDescription('The number of entries in symRemoteListTable, representing the number of remote Symmetrixes present on this system.')
sym_remote_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 2, 2))
if mibBuilder.loadTexts:
symRemoteListTable.setStatus('obsolete')
if mibBuilder.loadTexts:
symRemoteListTable.setDescription('A list of remote Symmetrix serial numbers. The number of entries is given by the value of symRemoteListCount.')
sym_remote_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 2, 2, 2)).setIndexNames((0, 'EMC-MIB', 'symRemoteListCount'))
if mibBuilder.loadTexts:
symRemoteListEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
symRemoteListEntry.setDescription('An entry containing objects for the indicated symRemoteListTable element.')
remote_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 2, 2, 2, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
remoteSerialNumber.setStatus('obsolete')
if mibBuilder.loadTexts:
remoteSerialNumber.setDescription('The remote Symmetrix serial number for the indicated instance')
sym_dev_list_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 1))
if mibBuilder.loadTexts:
symDevListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symDevListCountTable.setDescription('A list of the number of Symmetrix devices for the given Symmetrix instance.')
sym_dev_list_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
symDevListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symDevListCountEntry.setDescription('An entry containing objects for the number of Symmetrix device names found for the specified Symmetrix')
sym_dev_list_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symDevListCount.setStatus('mandatory')
if mibBuilder.loadTexts:
symDevListCount.setDescription('The number of entries in the SymDevList table for the indicated Symmetrix instance')
sym_dev_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 2))
if mibBuilder.loadTexts:
symDevListTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symDevListTable.setDescription('A list of Symmetrix device names found for the indicated Symmetrix instance. The number of entries is given by the value of symDevListCount.')
sym_dev_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symDevListCount'))
if mibBuilder.loadTexts:
symDevListEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symDevListEntry.setDescription('An entry containing objects for the indicated symDevListTable element.')
sym_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 3, 2, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts:
symDeviceName.setDescription('The device name for the indicated instance')
sym_p_dev_list_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 1))
if mibBuilder.loadTexts:
symPDevListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDevListCountTable.setDescription('A list of the number of available devices for the given Symmetrix instance.')
sym_p_dev_list_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
symPDevListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDevListCountEntry.setDescription('An entry containing objects for the number of available devices found for the specified Symmetrix')
sym_p_dev_list_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symPDevListCount.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDevListCount.setDescription('The number of entries in the symPDeviceList table for the indicated Symmetrix instance')
sym_p_dev_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 2))
if mibBuilder.loadTexts:
symPDevListTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDevListTable.setDescription('A list of host device filenames (pdevs) for all available devices for the indicated Symmetrix instance. The number of entries is given by the value of symPDevListCount.')
sym_p_dev_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symPDevListCount'))
if mibBuilder.loadTexts:
symPDevListEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDevListEntry.setDescription('An entry containing objects for the indicated symPDevListTable element.')
sym_p_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 4, 2, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symPDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDeviceName.setDescription('The physical device name for the indicated instance')
sym_p_dev_no_dg_list_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 1))
if mibBuilder.loadTexts:
symPDevNoDgListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDevNoDgListCountTable.setDescription('A list of the number of Symmetrix devices that are not members of a device group for the given Symmetrix instance.')
sym_p_dev_no_dg_list_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
symPDevNoDgListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDevNoDgListCountEntry.setDescription('An entry containing objects for the number of Symmetrix devices that are not members of a device group for the specified Symmetrix')
sym_p_dev_no_dg_list_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symPDevNoDgListCount.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDevNoDgListCount.setDescription('The number of entries in the symPDeviceNoDgList table for the indicated Symmetrix instance')
sym_p_dev_no_dg_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 2))
if mibBuilder.loadTexts:
symPDevNoDgListTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDevNoDgListTable.setDescription('A list of all Symmetrix devices that are not members of a device group found for the indicated Symmetrix instance. The number of entries is given by the value of symPDevNoDgListCount.')
sym_p_dev_no_dg_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symPDevNoDgListCount'))
if mibBuilder.loadTexts:
symPDevNoDgListEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDevNoDgListEntry.setDescription('An entry containing objects for the indicated symPDevNoDgListTable element.')
sym_p_dev_no_dg_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 5, 2, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symPDevNoDgDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts:
symPDevNoDgDeviceName.setDescription('The device name for the indicated instance')
sym_dev_no_dg_list_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 1))
if mibBuilder.loadTexts:
symDevNoDgListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symDevNoDgListCountTable.setDescription('A list of the number of Symmetrix devices, that are not members of a device group for the given Symmetrix instance.')
sym_dev_no_dg_list_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
symDevNoDgListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symDevNoDgListCountEntry.setDescription('An entry containing objects for the number of Symmetrix device names found for the specified Symmetrix')
sym_dev_no_dg_list_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symDevNoDgListCount.setStatus('mandatory')
if mibBuilder.loadTexts:
symDevNoDgListCount.setDescription('The number of entries in the symDeviceNoDgList table for the indicated Symmetrix instance')
sym_dev_no_dg_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 2))
if mibBuilder.loadTexts:
symDevNoDgListTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symDevNoDgListTable.setDescription('A list of Symmetrix device names found for the specified Symmetrix. The number of entries is given by the value of symDevNoDgListCount.')
sym_dev_no_dg_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symDevNoDgListCount'))
if mibBuilder.loadTexts:
symDevNoDgListEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symDevNoDgListEntry.setDescription('An entry containing objects for the indicated symDevNoDgListTable element.')
sym_dev_no_dg_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 6, 2, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symDevNoDgDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts:
symDevNoDgDeviceName.setDescription('The device name for the indicated instance')
sym_dg_list_count = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 7, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symDgListCount.setStatus('obsolete')
if mibBuilder.loadTexts:
symDgListCount.setDescription('The number of entries in symDgListTable, representing the number of device groups present on this system.')
sym_dg_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 7, 2))
if mibBuilder.loadTexts:
symDgListTable.setStatus('obsolete')
if mibBuilder.loadTexts:
symDgListTable.setDescription('A list of device groups present on the system. The number of entries is given by the value of symDgListCount.')
sym_dg_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 7, 2, 1)).setIndexNames((0, 'EMC-MIB', 'symDgListCount'))
if mibBuilder.loadTexts:
symDgListEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
symDgListEntry.setDescription('An entry containing objects for the indicated symDgListTable element.')
sym_dev_group_name = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 7, 2, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symDevGroupName.setStatus('obsolete')
if mibBuilder.loadTexts:
symDevGroupName.setDescription('The device groupname for the indicated instance')
sym_l_dev_list_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 1))
if mibBuilder.loadTexts:
symLDevListCountTable.setStatus('obsolete')
if mibBuilder.loadTexts:
symLDevListCountTable.setDescription('A list of the number of devices in a specific device group.')
sym_l_dev_list_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 1, 1)).setIndexNames((0, 'EMC-MIB', 'symDgListCount'))
if mibBuilder.loadTexts:
symLDevListCountEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
symLDevListCountEntry.setDescription('An entry containing objects for the number of devices in a specific device group')
sym_l_dev_list_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symLDevListCount.setStatus('obsolete')
if mibBuilder.loadTexts:
symLDevListCount.setDescription('The number of entries in the SymLDevList table for the indicated Symmetrix instance')
sym_l_dev_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 2))
if mibBuilder.loadTexts:
symLDevListTable.setStatus('obsolete')
if mibBuilder.loadTexts:
symLDevListTable.setDescription('A list of devices in the specified device group. The number of entries is given by the value of symLDevListCount.')
sym_l_dev_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 2, 1)).setIndexNames((0, 'EMC-MIB', 'symDgListCount'), (0, 'EMC-MIB', 'symLDevListCount'))
if mibBuilder.loadTexts:
symLDevListEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
symLDevListEntry.setDescription('An entry containing objects for the indicated symLDevListTable element.')
l_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 8, 2, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
lDeviceName.setStatus('obsolete')
if mibBuilder.loadTexts:
lDeviceName.setDescription('The device name for the indicated instance')
sym_gate_list_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 1))
if mibBuilder.loadTexts:
symGateListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symGateListCountTable.setDescription('A list of the number of host physical device filenames that are currently in the gatekeeper device list for the given Symmetrix instance.')
sym_gate_list_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
symGateListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symGateListCountEntry.setDescription('An entry containing objects for the number of host physical device filenames that are currently in the gatekeeper device list for the specified Symmetrix')
sym_gate_list_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symGateListCount.setStatus('mandatory')
if mibBuilder.loadTexts:
symGateListCount.setDescription('The number of entries in the SymGateList table for the indicated Symmetrix instance')
sym_gate_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 2))
if mibBuilder.loadTexts:
symGateListTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symGateListTable.setDescription('A list of host physical device filenames that are currently in the gatekeeper device list for the specified Symmetrix. The number of entries is given by the value of symGateListCount.')
sym_gate_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symGateListCount'))
if mibBuilder.loadTexts:
symGateListEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symGateListEntry.setDescription('An entry containing objects for the indicated symGateListTable element.')
gatekeeper_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 9, 2, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
gatekeeperDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts:
gatekeeperDeviceName.setDescription('The gatekeeper device name for the indicated instance')
sym_bcv_dev_list_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 1))
if mibBuilder.loadTexts:
symBcvDevListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symBcvDevListCountTable.setDescription('A list of the number of BCV devices for the given Symmetrix instance.')
sym_bcv_dev_list_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
symBcvDevListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symBcvDevListCountEntry.setDescription('An entry containing objects for the number of BCV devices for the specified Symmetrix')
sym_bcv_dev_list_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symBcvDevListCount.setStatus('mandatory')
if mibBuilder.loadTexts:
symBcvDevListCount.setDescription('The number of entries in the SymBcvDevList table for the indicated Symmetrix instance')
sym_bcv_dev_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 2))
if mibBuilder.loadTexts:
symBcvDevListTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symBcvDevListTable.setDescription('A list of BCV devices for the specified Symmetrix. The number of entries is given by the value of symBcvDevListCount.')
sym_bcv_dev_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symBcvDevListCount'))
if mibBuilder.loadTexts:
symBcvDevListEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symBcvDevListEntry.setDescription('An entry containing objects for the indicated symBcvDevListTable element.')
bcv_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 10, 2, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bcvDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts:
bcvDeviceName.setDescription('The BCV device name for the indicated instance')
sym_bcv_p_dev_list_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 1))
if mibBuilder.loadTexts:
symBcvPDevListCountTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symBcvPDevListCountTable.setDescription('A list of the number of all BCV devices that are accessible by the host systems for the given Symmetrix instance.')
sym_bcv_p_dev_list_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
symBcvPDevListCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symBcvPDevListCountEntry.setDescription('An entry containing objects for the number of all BCV devices that are accessible by the host systems for the specified Symmetrix')
sym_bcv_p_dev_list_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symBcvPDevListCount.setStatus('mandatory')
if mibBuilder.loadTexts:
symBcvPDevListCount.setDescription('The number of entries in the SymBcvDevList table for the indicated Symmetrix instance')
sym_bcv_p_dev_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 2))
if mibBuilder.loadTexts:
symBcvPDevListTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symBcvPDevListTable.setDescription('A list of all BCV devices tha are accessible by the host systems for the specified Symmetrix. The number of entries is given by the value of symBcvPDevListCount.')
sym_bcv_p_dev_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symBcvPDevListCount'))
if mibBuilder.loadTexts:
symBcvPDevListEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symBcvPDevListEntry.setDescription('An entry containing objects for the indicated symBcvPDevListTable element.')
sym_bcv_p_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 1, 11, 2, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symBcvPDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts:
symBcvPDeviceName.setDescription('The BCV physical device name for the indicated instance')
class Statevalues(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3))
named_values = named_values(('enabled', 0), ('disabled', 1), ('mixed', 2), ('state-na', 3))
class Directortype(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8))
named_values = named_values(('fibre-channel', 0), ('scsi-adapter', 1), ('disk-adapter', 2), ('channel-adapter', 3), ('memory-board', 4), ('escon-adapter', 5), ('rdf-adapter-r1', 6), ('rdf-adapter-r2', 7), ('rdf-adapter-bi', 8))
class Directorstatus(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3))
named_values = named_values(('online', 0), ('offline', 1), ('dead', 2), ('unknown', 3))
class Portstatus(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3))
named_values = named_values(('status-na', 0), ('on', 1), ('off', 2), ('wd', 3))
class Scsiwidth(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3))
named_values = named_values(('not-applicable', 0), ('narrow', 1), ('wide', 2), ('ultra', 3))
sym_show_configuration = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1))
if mibBuilder.loadTexts:
symShowConfiguration.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowConfiguration.setDescription('A table of Symmetrix configuration information for the indicated Symmetrix instance. The number of entries is given by the value of discIndex.')
sym_show_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
symShowEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowEntry.setDescription('An entry containing objects for the Symmetrix configuration information for the specified Symmetrix')
sym_show_symid = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowSymid.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowSymid.setDescription('Symmetrix serial id')
sym_show_symmetrix_ident = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 2), display_string()).setLabel('symShowSymmetrix-ident').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowSymmetrix_ident.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowSymmetrix_ident.setDescription('Symmetrix generation; Symm3 or Symm4. (reserved for EMC use only.)')
sym_show_symmetrix_model = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 3), display_string()).setLabel('symShowSymmetrix-model').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowSymmetrix_model.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowSymmetrix_model.setDescription('Symmetrix model number: 3100, 3200, and so forth')
sym_show_microcode_version = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 4), display_string()).setLabel('symShowMicrocode-version').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowMicrocode_version.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowMicrocode_version.setDescription('Microcode revision string ')
sym_show_microcode_version_num = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 5), display_string()).setLabel('symShowMicrocode-version-num').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowMicrocode_version_num.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowMicrocode_version_num.setDescription('Microcode version')
sym_show_microcode_date = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 6), display_string()).setLabel('symShowMicrocode-date').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowMicrocode_date.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowMicrocode_date.setDescription('Date of microcode build (MMDDYYYY)')
sym_show_microcode_patch_level = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 7), display_string()).setLabel('symShowMicrocode-patch-level').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowMicrocode_patch_level.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowMicrocode_patch_level.setDescription('Microcode patch level')
sym_show_microcode_patch_date = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 8), display_string()).setLabel('symShowMicrocode-patch-date').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowMicrocode_patch_date.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowMicrocode_patch_date.setDescription('Date of microcode patch level (MMDDYY)')
sym_show_symmetrix_pwron_time = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 9), time_ticks()).setLabel('symShowSymmetrix-pwron-time').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowSymmetrix_pwron_time.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowSymmetrix_pwron_time.setDescription('Time since the last power-on ')
sym_show_symmetrix_uptime = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 10), time_ticks()).setLabel('symShowSymmetrix-uptime').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowSymmetrix_uptime.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowSymmetrix_uptime.setDescription('Uptime in seconds of the Symmetrix ')
sym_show_db_sync_time = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 11), time_ticks()).setLabel('symShowDb-sync-time').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowDb_sync_time.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDb_sync_time.setDescription('Time since the configuration information was gathered ')
sym_show_db_sync_bcv_time = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 12), time_ticks()).setLabel('symShowDb-sync-bcv-time').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowDb_sync_bcv_time.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDb_sync_bcv_time.setDescription('Time since the configuration information was gathered for BCVs ')
sym_show_db_sync_rdf_time = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 13), time_ticks()).setLabel('symShowDb-sync-rdf-time').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowDb_sync_rdf_time.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDb_sync_rdf_time.setDescription('Time since the configuration information was gathered for the SRDF ')
sym_show_last_ipl_time = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 14), time_ticks()).setLabel('symShowLast-ipl-time').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowLast_ipl_time.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowLast_ipl_time.setDescription('Time since the last Symmetrix IPL ')
sym_show_last_fast_ipl_time = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 15), time_ticks()).setLabel('symShowLast-fast-ipl-time').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowLast_fast_ipl_time.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowLast_fast_ipl_time.setDescription("Time since the last Symmetrix 'fast IPL' ")
sym_show_reserved = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 16), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowReserved.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowReserved.setDescription('Reserved for future use ')
sym_show_cache_size = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 17), u_int32()).setLabel('symShowCache-size').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowCache_size.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowCache_size.setDescription('Cache size in megabytes ')
sym_show_cache_slot_count = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 18), u_int32()).setLabel('symShowCache-slot-count').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowCache_slot_count.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowCache_slot_count.setDescription('Number of 32K cache slots ')
sym_show_max_wr_pend_slots = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 19), u_int32()).setLabel('symShowMax-wr-pend-slots').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowMax_wr_pend_slots.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowMax_wr_pend_slots.setDescription('Number of write pending slots allowed before starting delayed fast writes ')
sym_show_max_da_wr_pend_slots = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 20), u_int32()).setLabel('symShowMax-da-wr-pend-slots').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowMax_da_wr_pend_slots.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowMax_da_wr_pend_slots.setDescription('Number of write pending slots allowed for one DA before delayed fast writes ')
sym_show_max_dev_wr_pend_slots = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 21), u_int32()).setLabel('symShowMax-dev-wr-pend-slots').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowMax_dev_wr_pend_slots.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowMax_dev_wr_pend_slots.setDescription('Number of write pending slots allowed for one device before starting delayed fast writes ')
sym_show_permacache_slot_count = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 22), u_int32()).setLabel('symShowPermacache-slot-count').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowPermacache_slot_count.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPermacache_slot_count.setDescription('Number of slots allocated to PermaCache ')
sym_show_num_disks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 23), u_int32()).setLabel('symShowNum-disks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowNum_disks.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowNum_disks.setDescription('Number of physical disks in Symmetrix ')
sym_show_num_symdevs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 24), u_int32()).setLabel('symShowNum-symdevs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowNum_symdevs.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowNum_symdevs.setDescription('Number of Symmetrix devices ')
sym_show_num_pdevs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 25), u_int32()).setLabel('symShowNum-pdevs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowNum_pdevs.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowNum_pdevs.setDescription(' Number of host physical devices configured for this Symmetrix ')
sym_show_api_version = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 26), display_string()).setLabel('symShowAPI-version').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowAPI_version.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowAPI_version.setDescription('SYMAPI revision set to SYMAPI_T_VERSION ')
sym_show_sddf_configuration = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 27), state_values()).setLabel('symShowSDDF-configuration').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowSDDF_configuration.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowSDDF_configuration.setDescription('The configuration state of the Symmetrix Differential Data Facility (SDDF). Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
sym_show_config_checksum = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 28), u_int32()).setLabel('symShowConfig-checksum').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowConfig_checksum.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowConfig_checksum.setDescription('Checksum of the Microcode file')
sym_show_num_powerpath_devs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 1, 1, 29), u_int32()).setLabel('symShowNum-powerpath-devs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowNum_powerpath_devs.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowNum_powerpath_devs.setDescription('Number of Symmetrix devices accessible through the PowerPath driver.')
sym_show_p_dev_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 2))
if mibBuilder.loadTexts:
symShowPDevCountTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPDevCountTable.setDescription('A list of the number of available devices for the given Symmetrix instance.')
sym_show_p_dev_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
symShowPDevCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPDevCountEntry.setDescription('An entry containing objects for the number of available devices found for the specified Symmetrix')
sym_show_p_dev_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 2, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowPDevCount.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPDevCount.setDescription('The number of entries in the SymShowPDeviceList table for the indicated Symmetrix instance')
sym_show_p_dev_list_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 3))
if mibBuilder.loadTexts:
symShowPDevListTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPDevListTable.setDescription('A list of host device filenames (pdevs) for all available devices for the indicated Symmetrix instance. The number of entries is given by the value of symShowPDevCount.')
sym_show_p_dev_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 3, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symShowPDevCount'))
if mibBuilder.loadTexts:
symShowPDevListEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPDevListEntry.setDescription('An entry containing objects for the indicated symShowPDevListTable element.')
sym_show_p_device_name = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 3, 1, 1), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowPDeviceName.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPDeviceName.setDescription('The physical device name for the indicated instance')
sym_show_director_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 4))
if mibBuilder.loadTexts:
symShowDirectorCountTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDirectorCountTable.setDescription('A list of the number of directors for the given Symmetrix instance.')
sym_show_director_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 4, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
symShowDirectorCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDirectorCountEntry.setDescription('An entry containing objects for the number of directors for the specified Symmetrix')
sym_show_director_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 4, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowDirectorCount.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDirectorCount.setDescription('The number of entries in the SymShowDirectorList table for the indicated Symmetrix instance')
sym_show_director_configuration_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5))
if mibBuilder.loadTexts:
symShowDirectorConfigurationTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDirectorConfigurationTable.setDescription('A table of Symmetrix director configuration for the indicated Symmetrix instance. The number of entries is given by the value of symShowDirectorCount.')
sym_show_director_configuration_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symShowDirectorCount'))
if mibBuilder.loadTexts:
symShowDirectorConfigurationEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDirectorConfigurationEntry.setDescription('An entry containing objects for the indicated symShowDirectorConfigurationTable element.')
sym_show_director_type = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 1), director_type()).setLabel('symShowDirector-type').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowDirector_type.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDirector_type.setDescription('Defines the type of director. Possible types are: SYMAPI_DIRTYPE_FIBRECHANNEL SYMAPI_DIRTYPE_SCSI SYMAPI_DIRTYPE_DISK SYMAPI_DIRTYPE_CHANNEL SYMAPI_DIRTYPE_MEMORY SYMAPI_DIRTYPE_R1 SYMAPI_DIRTYPE_R2 SYMAPI_DIRTYPE_RDF_B (bidirectional RDF) ')
sym_show_director_num = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 2), u_int32()).setLabel('symShowDirector-num').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowDirector_num.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDirector_num.setDescription('Number of a director (1 - 32) ')
sym_show_slot_num = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 3), u_int32()).setLabel('symShowSlot-num').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowSlot_num.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowSlot_num.setDescription('Slot number of a director (1 - 16) ')
sym_show_director_ident = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 4), display_string()).setLabel('symShowDirector-ident').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowDirector_ident.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDirector_ident.setDescription(' Director identifier. For example, SA-16 ')
sym_show_director_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 5), director_status()).setLabel('symShowDirector-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowDirector_status.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowDirector_status.setDescription("online(0) - The director's status is ONLINE. offline(1) - The director's status is OFFLINE. dead(2) - The status is non-operational, and its LED display will show 'DD'. unknown(3) - The director's status is unknown. ")
sym_show_scsi_capability = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 6), scsi_width()).setLabel('symShowScsi-capability').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowScsi_capability.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowScsi_capability.setDescription('Defines SCSI features for SAs and DAs. Possible values are: SYMAPI_C_SCSI_NARROW SYMAPI_C_SCSI_WIDE SYMAPI_C_SCSI_ULTRA ')
sym_show_num_da_volumes = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 7), u_int32()).setLabel('symShowNum-da-volumes').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowNum_da_volumes.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowNum_da_volumes.setDescription('Indicates how many volumes are serviced by the DA. ')
sym_show_remote_symid = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 8), display_string()).setLabel('symShowRemote-symid').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowRemote_symid.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowRemote_symid.setDescription('If this is an RA in an SRDF system,this is the remote Symmetrix serial number. If this is not an RDF director, this field is NULL ')
sym_show_ra_group_num = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 9), u_int32()).setLabel('symShowRa-group-num').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowRa_group_num.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowRa_group_num.setDescription('If this is an RA in an SRDF system, this is the RA group number; otherwise it is zero. ')
sym_show_remote_ra_group_num = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 10), u_int32()).setLabel('symShowRemote-ra-group-num').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowRemote_ra_group_num.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowRemote_ra_group_num.setDescription('If this is an RA in an SRDF system, this is the RA group number on the remote Symmetrix; otherwise it is zero. ')
sym_show_prevent_auto_link_recovery = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 11), state_values()).setLabel('symShowPrevent-auto-link-recovery').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowPrevent_auto_link_recovery.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPrevent_auto_link_recovery.setDescription('Prevent the automatic resumption of data copy across the RDF links as soon as the links have recovered. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
sym_show_prevent_ra_online_upon_pwron = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 12), state_values()).setLabel('symShowPrevent-ra-online-upon-pwron').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowPrevent_ra_online_upon_pwron.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPrevent_ra_online_upon_pwron.setDescription("Prevent RA's from coming online after the Symmetrix is powered on. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ")
sym_show_num_ports = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 13), u_int32()).setLabel('symShowNum-ports').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowNum_ports.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowNum_ports.setDescription('Number of ports available on this director.')
sym_show_port0_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 14), port_status()).setLabel('symShowPort0-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowPort0_status.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPort0_status.setDescription("The status of port 0 for this director. Possible values are: status-na(0) - the port's status is not applicable. on(1) - the port's status is on. off(2) - the port's status is off. wd(3) - the port's status is write disabled. ")
sym_show_port1_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 15), port_status()).setLabel('symShowPort1-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowPort1_status.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPort1_status.setDescription("The status of port 1 for this director. Possible values are: status-na(0) - the port's status is not applicable. on(1) - the port's status is on. off(2) - the port's status is off. wd(3) - the port's status is write disabled. ")
sym_show_port2_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 16), port_status()).setLabel('symShowPort2-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowPort2_status.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPort2_status.setDescription("The status of port 2 for this director. Possible values are: status-na(0) - the port's status is not applicable. on(1) - the port's status is on. off(2) - the port's status is off. wd(3) - the port's status is write disabled. ")
sym_show_port3_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 1, 5, 1, 17), port_status()).setLabel('symShowPort3-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symShowPort3_status.setStatus('mandatory')
if mibBuilder.loadTexts:
symShowPort3_status.setDescription("The status of port 3 for this director. Possible values are: status-na(0) - the port's status is not applicable. on(1) - the port's status is on. off(2) - the port's status is off. wd(3) - the port's status is write disabled. ")
class Devicestatus(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4))
named_values = named_values(('ready', 0), ('not-ready', 1), ('write-disabled', 2), ('not-applicable', 3), ('mixed', 4))
class Devicetype(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 4, 8, 16, 32, 128))
named_values = named_values(('not-applicable', 1), ('local-data', 2), ('raid-s', 4), ('raid-s-parity', 8), ('remote-r1-data', 16), ('remote-r2-data', 32), ('hot-spare', 128))
class Deviceemulation(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6))
named_values = named_values(('emulation-na', 0), ('fba', 1), ('as400', 2), ('icl', 3), ('unisys-fba', 4), ('ckd-3380', 5), ('ckd-3390', 6))
class Scsimethod(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2))
named_values = named_values(('method-na', 0), ('synchronous', 1), ('asynchronous', 2))
class Bcvstate(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10))
named_values = named_values(('never-established', 0), ('in-progress', 1), ('synchronous', 2), ('split-in-progress', 3), ('split-before-sync', 4), ('split', 5), ('split-no-incremental', 6), ('restore-in-progress', 7), ('restored', 8), ('split-before-restore', 9), ('invalid', 10))
class Rdfpairstate(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110))
named_values = named_values(('invalid', 100), ('syncinprog', 101), ('synchronized', 102), ('split', 103), ('suspended', 104), ('failed-over', 105), ('partitioned', 106), ('r1-updated', 107), ('r1-updinprog', 108), ('mixed', 109), ('state-na', 110))
class Rdftype(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1))
named_values = named_values(('r1', 0), ('r2', 1))
class Rdfmode(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4))
named_values = named_values(('synchronous', 0), ('semi-synchronous', 1), ('adaptive-copy', 2), ('mixed', 3), ('rdf-mode-na', 4))
class Rdfadaptivecopy(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4))
named_values = named_values(('disabled', 0), ('wp-mode', 1), ('disk-mode', 2), ('mixed', 3), ('ac-na', 4))
class Rdflinkconfig(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3))
named_values = named_values(('escon', 1), ('t3', 2), ('na', 3))
class Rddftransientstate(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4))
named_values = named_values(('transient-state-na', 1), ('offline', 2), ('offline-pend', 3), ('online', 4))
dev_show_configuration_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1))
if mibBuilder.loadTexts:
devShowConfigurationTable.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowConfigurationTable.setDescription('A table of Symmetrix device configuration information for the indicated Symmetrix and device instance. The number of entries is given by the value of symDevListCount.')
dev_show_configuration_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symDevListCount'))
if mibBuilder.loadTexts:
devShowConfigurationEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowConfigurationEntry.setDescription('An entry containing objects for the Symmetrix device configuration information for the specified Symmetrix and device.')
dev_show_vendor_id = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 1), display_string()).setLabel('devShowVendor-id').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowVendor_id.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowVendor_id.setDescription('Vendor ID of the Symmetrix device ')
dev_show_product_id = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 2), display_string()).setLabel('devShowProduct-id').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowProduct_id.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowProduct_id.setDescription('Product ID of the Symmetrix device ')
dev_show_product_rev = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 3), display_string()).setLabel('devShowProduct-rev').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowProduct_rev.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowProduct_rev.setDescription('Product revision level of the Symmetrix device ')
dev_show_symid = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowSymid.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowSymid.setDescription('Symmetrix serial number ')
dev_show_device_serial_id = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 5), display_string()).setLabel('devShowDevice-serial-id').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDevice_serial_id.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDevice_serial_id.setDescription('Symmetrix device serial ID ')
dev_show_sym_devname = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 6), display_string()).setLabel('devShowSym-devname').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowSym_devname.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowSym_devname.setDescription('Symmetrix device name/number ')
dev_show_pdevname = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 7), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowPdevname.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowPdevname.setDescription('Physical device name. If not visible to the host this field is NULL ')
dev_show_dgname = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 8), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDgname.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDgname.setDescription('Name of device group. If the device is not a member of a device group, this field is NULL ')
dev_show_ldevname = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 9), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowLdevname.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowLdevname.setDescription('Name of this device in the device group. If the device is not a member of a device group, this field is NULL ')
dev_show_dev_config = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('unprotected', 0), ('mirror-2', 1), ('mirror-3', 2), ('mirror-4', 3), ('raid-s', 4), ('raid-s-mirror', 5), ('rdf-r1', 6), ('rdf-r2', 7), ('rdf-r1-raid-s', 8), ('rdf-r2-raid-s', 9), ('rdf-r1-mirror', 10), ('rdf-r2-mirror', 11), ('bcv', 12), ('hot-spare', 13), ('bcv-mirror-2', 14), ('bcv-rdf-r1', 15), ('bcv-rdf-r1-mirror', 16)))).setLabel('devShowDev-config').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_config.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_config.setDescription(' unprotected(0) - no data protection method applied mirror-2(1) - device is a two-way mirror mirror-3(2) - device is a three-way mirror mirror-4(3) - device is a four-way mirror raid-s(4) - device is a standard raid-s device raid-s-mirror(5) - device is a raid-s device plus a local mirror rdf-r1(6) - device is an SRDF Master (R1) rdf-r2(7) - device is an SRDF Slave (R2) rdf-r1-raid-s(8) - device is an SRDF Master (R1) with RAID_S rdf-r2-raid-s(9) - device is an SRDF Slave (R2) with RAID_S rdf-r1-mirror(10) - device is an SRDF source (R1) with a local mirror rdf-r2-mirror(11) - device is an SRDF target (R2) with mirror bcv(12) - device is a BCV device hot-spare(13) - device is a Hot Spare device bcv-mirror-2(14) - device is a protected BCV device with mirror bcv-rdf-r1(15) - device is an SRDF Master (R1), BCV device bcv-rdf-r1-mirror(16) - device is an SRDF Master (R1), BCV device with mirror ')
dev_show_dev_parameters = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4, 8, 16, 32))).clone(namedValues=named_values(('ckd-device', 1), ('gatekeeper-device', 2), ('associated-device', 4), ('multi-channel-device', 8), ('meta-head-device', 16), ('meta-member-device', 32)))).setLabel('devShowDev-parameters').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_parameters.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_parameters.setDescription(" ckd-device(1) - device is an 'Count Key Data' (CKD) device gatekeeper-device(2) - device is a gatekeeper device associated-device(4) - BCV or Gatekeeper device,associated with a group multi-channel-device(8) - device visible by the host over more than one SCSI-bus meta-head-device(16) - device is a META head device meta-member-device(32) - device is a META member device ")
dev_show_dev_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 12), device_status()).setLabel('devShowDev-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_status.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
dev_show_dev_capacity = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 13), u_int32()).setLabel('devShowDev-capacity').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_capacity.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_capacity.setDescription('Device capacity specified as the number of device blocks ')
dev_show_tid = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 14), u_int32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowTid.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowTid.setDescription('SCSI target ID of the Symmetrix device ')
dev_show_lun = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 15), u_int32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowLun.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowLun.setDescription('SCSI logical unit number of the Symmetrix device ')
dev_show_director_num = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 16), integer32()).setLabel('devShowDirector-num').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDirector_num.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDirector_num.setDescription("Symmetrix director number of the device's FW SCSI Channel director, or SA, (1-32). If there is no primary port, it is zero. ")
dev_show_director_slot_num = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 17), integer32()).setLabel('devShowDirector-slot-num').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDirector_slot_num.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDirector_slot_num.setDescription('The slot number of the director. If there is no primary port, it is zero. ')
dev_show_director_ident = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 18), display_string()).setLabel('devShowDirector-ident').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDirector_ident.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDirector_ident.setDescription('The identification number of the director, for example: SA-16. If there is no primary port, this field is NULL ')
dev_show_director_port_num = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 19), integer32()).setLabel('devShowDirector-port-num').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDirector_port_num.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDirector_port_num.setDescription("The device's SA port number (0-3). If there is no primary port, it is zero. ")
dev_show_mset_m1_type = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 20), device_type()).setLabel('devShowMset-M1-type').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M1_type.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M1_type.setDescription(' Device type of each hyper volume forming a Symmetrix mirror set. not-applicable(1) - No device exists for this mirror local-data(2) - This device is a local data device raid-s(4) - This device is a local raid-s data device raid-s-parity(8) - This device is a local raid_s parity device remote-r1-data(16) - This device is a remote R1 data device remote-r2-data(32) - This device is a remote R2 data device hot-spare(128) - This device is a hot spare device ')
dev_show_mset_m2_type = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 21), device_type()).setLabel('devShowMset-M2-type').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M2_type.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M2_type.setDescription(' Device type of each hyper volume forming a Symmetrix mirror set. not-applicable(1) - No device exists for this mirror local-data(2) - This device is a local data device raid-s(4) - This device is a local raid-s data device raid-s-parity(8) - This device is a local raid_s parity device remote-r1-data(16) - This device is a remote R1 data device remote-r2-data(32) - This device is a remote R2 data device hot-spare(128) - This device is a hot spare device ')
dev_show_mset_m3_type = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 22), device_type()).setLabel('devShowMset-M3-type').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M3_type.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M3_type.setDescription(' Device type of each hyper volume forming a Symmetrix mirror set. not-applicable(1) - No device exists for this mirror local-data(2) - This device is a local data device raid-s(4) - This device is a local raid-s data device raid-s-parity(8) - This device is a local raid_s parity device remote-r1-data(16) - This device is a remote R1 data device remote-r2-data(32) - This device is a remote R2 data device hot-spare(128) - This device is a hot spare device ')
dev_show_mset_m4_type = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 23), device_type()).setLabel('devShowMset-M4-type').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M4_type.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M4_type.setDescription(' Device type of each hyper volume forming a Symmetrix mirror set. not-applicable(1) - No device exists for this mirror local-data(2) - This device is a local data device raid-s(4) - This device is a local raid-s data device raid-s-parity(8) - This device is a local raid_s parity device remote-r1-data(16) - This device is a remote R1 data device remote-r2-data(32) - This device is a remote R2 data device hot-spare(128) - This device is a hot spare device ')
dev_show_mset_m1_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 24), device_status()).setLabel('devShowMset-M1-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M1_status.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M1_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
dev_show_mset_m2_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 25), device_status()).setLabel('devShowMset-M2-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M2_status.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M2_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
dev_show_mset_m3_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 26), device_status()).setLabel('devShowMset-M3-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M3_status.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M3_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
dev_show_mset_m4_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 27), device_status()).setLabel('devShowMset-M4-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M4_status.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M4_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
dev_show_mset_m1_invalid_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 28), integer32()).setLabel('devShowMset-M1-invalid-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M1_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M1_invalid_tracks.setDescription('The number of invalid tracks for Mirror 1')
dev_show_mset_m2_invalid_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 29), integer32()).setLabel('devShowMset-M2-invalid-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M2_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M2_invalid_tracks.setDescription('The number of invalid tracks for Mirror 2')
dev_show_mset_m3_invalid_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 30), integer32()).setLabel('devShowMset-M3-invalid-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M3_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M3_invalid_tracks.setDescription('The number of invalid tracks for Mirror 3')
dev_show_mset_m4_invalid_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 31), integer32()).setLabel('devShowMset-M4-invalid-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowMset_M4_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowMset_M4_invalid_tracks.setDescription('The number of invalid tracks for Mirror 4')
dev_show_director_port_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 48), device_status()).setLabel('devShowDirector-port-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDirector_port_status.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDirector_port_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
dev_show_dev_sa_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 49), device_status()).setLabel('devShowDev-sa-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_sa_status.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_sa_status.setDescription(' ready(0) - the device is ready not-ready(1) - the device is not ready write-disabled - the device is write disabled not-applicable(3) - there is no such device ')
dev_show_vbus = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 50), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowVbus.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowVbus.setDescription('The virtual busis used for fibre channel ports. For EA and CA ports, this is the device address. ')
dev_show_emulation = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 51), device_emulation()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowEmulation.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowEmulation.setDescription(' emulation-na(0) - the emulation type for this device is not available. fba(1) - the emulation type for this device is fba. as400(2) - the emulation type for this device is as/400. icl(3) - the emulation type for this device is icl. unisys-fba(4) - the emulation type for this device is unisys fba. ckd-3380(5) - the emulation type for this device is ckd 3380. ckd-3390(6) - the emulation type for this device is ckd 3390. ')
dev_show_dev_block_size = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 52), u_int32()).setLabel('devShowDev-block-size').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_block_size.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_block_size.setDescription('Indicates the number of bytes per block ')
dev_show_scsi_negotiation = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 53), scsi_width()).setLabel('devShowSCSI-negotiation').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowSCSI_negotiation.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowSCSI_negotiation.setDescription('width-na(0) - width not available narrow(1), wide(2), ultra(3) ')
dev_show_scsi_method = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 54), scsi_method()).setLabel('devShowSCSI-method').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowSCSI_method.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowSCSI_method.setDescription(' method-na(0) - method not available synchronous(1) asynchronous(2) ')
dev_show_dev_cylinders = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 55), u_int32()).setLabel('devShowDev-cylinders').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_cylinders.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_cylinders.setDescription('Number device cylinders ')
dev_show_attached_bcv_symdev = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 1, 1, 56), display_string()).setLabel('devShowAttached-bcv-symdev').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowAttached_bcv_symdev.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowAttached_bcv_symdev.setDescription('If this is a std device, this may be set to indicate the preferred BCV device to which this device would be paired. ')
dev_show_rdf_info_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2))
if mibBuilder.loadTexts:
devShowRDFInfoTable.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowRDFInfoTable.setDescription('A table of Symmetrix RDF device configuration information for the indicated Symmetrix and device instance. The number of entries is given by the value of symDevListCount.')
dev_show_rdf_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symDevListCount'))
if mibBuilder.loadTexts:
devShowRDFInfoEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowRDFInfoEntry.setDescription('An entry containing objects for the Symmetrix RDF device configuration information for the specified Symmetrix and device.')
dev_show_remote_symid = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 1), display_string()).setLabel('devShowRemote-symid').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowRemote_symid.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowRemote_symid.setDescription('Serial number of the Symmetrix containing the target (R2) volume ')
dev_show_remote_sym_devname = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 2), display_string()).setLabel('devShowRemote-sym-devname').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowRemote_sym_devname.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowRemote_sym_devname.setDescription('Symmetrix device name of the remote device in an RDF pair ')
dev_show_ra_group_number = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 3), integer32()).setLabel('devShowRa-group-number').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowRa_group_number.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowRa_group_number.setDescription('The RA group number (1 - n)')
dev_show_dev_rdf_type = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 4), rdf_type()).setLabel('devShowDev-rdf-type').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_rdf_type.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_rdf_type.setDescription('Type of RDF device. Values are: r1(0) - an R1 device r2(1) - an R2 device ')
dev_show_dev_ra_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 5), device_status()).setLabel('devShowDev-ra-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_ra_status.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_ra_status.setDescription('The status of the remote device. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
dev_show_dev_link_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 6), device_status()).setLabel('devShowDev-link-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_link_status.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_link_status.setDescription('The RDF link status. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
dev_show_rdf_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 7), rdf_mode()).setLabel('devShowRdf-mode').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowRdf_mode.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowRdf_mode.setDescription('The RDF Mode. Values are synchronous(0) semi_synchronous(1) adaptive_copy(2) mixed(3) - This state is set when the RDF modes of the devices in the group are different from each other rdf_mode_na (4) - not applicable ')
dev_show_rdf_pair_state = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 8), rdf_pair_state()).setLabel('devShowRdf-pair-state').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowRdf_pair_state.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowRdf_pair_state.setDescription('The RDF pair state. Values are: invalid(100) - The device & link states are in an unrecognized combination syncinprog(101) - Synchronizing in progress synchronized(102) - The source and target have identical data split(103) - The source is split from the target, and the target is write enabled. suspended(104) - The link is suspended failed-over(105) - The target is write enabled, the source is write disabled, the link is suspended. partitioned(106) - The communication link to the remote symmetrix is down, and the device is write enabled. r1-updated(107) - The target is write enabled, the source is write disabled, and the link is up. r1-updinprog(108) - same as r1-updated but there are invalid tracks between target and source mixed(109) - This state is set when the RDF modes of the devices in the group are different from each other state-na(110) - Not applicable ')
dev_show_rdf_domino = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 9), state_values()).setLabel('devShowRdf-domino').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowRdf_domino.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowRdf_domino.setDescription('The RDF Domino state. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
dev_show_adaptive_copy = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 10), rdf_adaptive_copy()).setLabel('devShowAdaptive-copy').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowAdaptive_copy.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowAdaptive_copy.setDescription('Adaptive copy state. Values are: disabled(0) - Adaptive Copy is Disabled wp-mode(1) - Adaptive Copy Write Pending Mode disk-mode(2) - Adaptive Copy Disk Mode mixed(3) - This state is set when the RDF modes of the devices in the group are different from each other ac-na(4) - Not Applicable ')
dev_show_adaptive_copy_skew = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 11), u_int32()).setLabel('devShowAdaptive-copy-skew').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowAdaptive_copy_skew.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowAdaptive_copy_skew.setDescription('Number of invalid tracks when in Adaptive copy mode. ')
dev_show_num_r1_invalid_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 12), u_int32()).setLabel('devShowNum-r1-invalid-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowNum_r1_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowNum_r1_invalid_tracks.setDescription('Number of invalid tracks invalid tracks on R1')
dev_show_num_r2_invalid_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 13), u_int32()).setLabel('devShowNum-r2-invalid-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowNum_r2_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowNum_r2_invalid_tracks.setDescription('Number of invalid tracks invalid tracks on R2')
dev_show_dev_rdf_state = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 14), device_status()).setLabel('devShowDev-rdf-state').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_rdf_state.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_rdf_state.setDescription('The RDF state. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
dev_show_remote_dev_rdf_state = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 15), device_status()).setLabel('devShowRemote-dev-rdf-state').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowRemote_dev_rdf_state.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowRemote_dev_rdf_state.setDescription('The RDF device state. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
dev_show_rdf_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 16), device_status()).setLabel('devShowRdf-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowRdf_status.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowRdf_status.setDescription('The RDF status. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
dev_show_link_domino = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 17), state_values()).setLabel('devShowLink-domino').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowLink_domino.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowLink_domino.setDescription('The link domino state. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
dev_show_prevent_auto_link_recovery = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 18), state_values()).setLabel('devShowPrevent-auto-link-recovery').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowPrevent_auto_link_recovery.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowPrevent_auto_link_recovery.setDescription('Prevent the automatic resumption of data copy across the RDF links as soon as the links have recovered. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
dev_show_link_config = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 19), rdf_link_config()).setLabel('devShowLink-config').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowLink_config.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowLink_config.setDescription('The RDF link configuration: Values are: escon(1), t3(2), na(3) ')
dev_show_suspend_state = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 20), rddf_transient_state()).setLabel('devShowSuspend-state').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowSuspend_state.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowSuspend_state.setDescription('For R1 devices in a consistency group, will be set to OFFLINE or OFFLINE_PENDING if a device in the group experiences a link failure. Values are: transient-state-na(1) - state not applicable offline(2), offline_pend(3), online(4) ')
dev_show_consistency_state = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 21), state_values()).setLabel('devShowConsistency-state').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowConsistency_state.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowConsistency_state.setDescription('Indicates if this R1 device is a member of any consistency group. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ')
dev_show_adaptive_copy_wp_state = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 22), rddf_transient_state()).setLabel('devShowAdaptive-copy-wp-state').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowAdaptive_copy_wp_state.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowAdaptive_copy_wp_state.setDescription('The Adaptive Copy Write Pending state. Values are: transient-state-na(1) - state not applicable offline(2), offline_pend(3), online(4) ')
dev_show_prevent_ra_online_upon_pwron = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 2, 1, 23), state_values()).setLabel('devShowPrevent-ra-online-upon-pwron').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowPrevent_ra_online_upon_pwron.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowPrevent_ra_online_upon_pwron.setDescription("Prevent RA's from coming online after the Symmetrix is powered on. Possible states are: enabled(0), disabled(1), mixed(2) - This state is set when the RDF modes of the devices in the group are different from each other state-na(3) - state not applicable ")
dev_show_bcv_info_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3))
if mibBuilder.loadTexts:
devShowBCVInfoTable.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowBCVInfoTable.setDescription('A table of Symmetrix BCV device configuration information for the indicated Symmetrix and device instance. The number of entries is given by the value of symDevListCount.')
dev_show_bcv_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symDevListCount'))
if mibBuilder.loadTexts:
devShowBCVInfoEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowBCVInfoEntry.setDescription('An entry containing objects for the Symmetrix BCV device configuration information for the specified Symmetrix and device.')
dev_show_dev_serial_id = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 1), display_string()).setLabel('devShowDev-serial-id').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_serial_id.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_serial_id.setDescription('Symmetrix device serial ID for the standard device in a BCV pair. If the device is a: BCV device in a BCV pair, this field is the serial ID of the standard device with which the BCV is paired. Standard device in a BCV pair, this field is the same as device_serial_id in SYMAPI_DEVICE_T. if the standard device that was never paired with a BCV device, this field is NULL ')
dev_show_dev_sym_devname = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 2), display_string()).setLabel('devShowDev-sym-devname').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_sym_devname.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_sym_devname.setDescription('Symmetrix device name/number for the standard device in a BCV pair. If the device is a: BCV device in a BCV pair, this is the device name/number of the standard device with which the BCV is paired. Standard device in a BCV pair, this is the same as sym_devname in SYMAPI_DEVICE_T. If the standard device that was never paired with a BCV device, this field is NULL ')
dev_show_dev_dgname = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 3), display_string()).setLabel('devShowDev-dgname').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowDev_dgname.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowDev_dgname.setDescription('Name of the device group that the standard device is a member. If the standard device is not a member of a device group, this field is NULL')
dev_show_bcvdev_serial_id = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 4), display_string()).setLabel('devShowBcvdev-serial-id').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowBcvdev_serial_id.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowBcvdev_serial_id.setDescription('Symmetrix device serial ID for the BCV device in a BCV pair. If the device is a: BCV device in a BCV pair, this is the same as device_serial_id in SYMAPI_DEVICE_T. Standard device in a BCV pair, this is the serial ID of the BCV device with which the standard device is paired. If the BCV device that was never paired with a standard device, this field is NULL ')
dev_show_bcvdev_sym_devname = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 5), display_string()).setLabel('devShowBcvdev-sym-devname').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowBcvdev_sym_devname.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowBcvdev_sym_devname.setDescription('Symmetrix device name/number for the BCV device in a BCV pair. If the device is a: BCV device in a BCV pair, this is the same as sym_devname in SYMAPI_DEVICE_T. Standard device in a BCV pair, this is the device name/number of the BCV device with which the standard device is paired. If the BCV device was never paired with a standard device, this field is NULL.')
dev_show_bcvdev_dgname = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 6), display_string()).setLabel('devShowBcvdev-dgname').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowBcvdev_dgname.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowBcvdev_dgname.setDescription('Name of the device group that the BCV device is associated with. If the BCV device is not associated with a device group, this field is NULL')
dev_show_bcv_pair_state = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 7), bcv_state()).setLabel('devShowBcv-pair-state').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowBcv_pair_state.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowBcv_pair_state.setDescription(' never-established(0), in-progress(1), synchronous(2), split-in-progress(3), split-before-sync(4), split(5), split-no-incremental(6), restore-in-progress(7), restored(8), split-before-restore(9), invalid(10) ')
dev_show_num_dev_invalid_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 8), u_int32()).setLabel('devShowNum-dev-invalid-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowNum_dev_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowNum_dev_invalid_tracks.setDescription('Number of invalid tracks on the standard device')
dev_show_num_bcvdev_invalid_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 9), u_int32()).setLabel('devShowNum-bcvdev-invalid-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowNum_bcvdev_invalid_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowNum_bcvdev_invalid_tracks.setDescription('Number of invalid tracks on the BCV device')
dev_show_bcvdev_status = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 2, 2, 3, 1, 10), device_status()).setLabel('devShowBcvdev-status').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devShowBcvdev_status.setStatus('mandatory')
if mibBuilder.loadTexts:
devShowBcvdev_status.setDescription('The BCV Device status. Values are: ready(0) not-ready(1) write-disabled(2) not-applicable(3) mixed(4) ')
sym_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1))
if mibBuilder.loadTexts:
symStatTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symStatTable.setDescription('A table of Symmetrix statistcs for the indicated Symmetrix instance. The number of entries is given by the value of discIndex.')
sym_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'))
if mibBuilder.loadTexts:
symStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symStatEntry.setDescription('An entry containing objects for the Symmetrix statistics for the specified Symmetrix and device.')
symstat_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 1), time_ticks()).setLabel('symstatTime-stamp').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatTime_stamp.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatTime_stamp.setDescription(' Time since these statistics were last collected')
symstat_num_rw_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 2), u_int32()).setLabel('symstatNum-rw-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_rw_reqs.setDescription(' Total number of all read and write requests on the specified Symmetrix unit ')
symstat_num_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 3), u_int32()).setLabel('symstatNum-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_read_reqs.setDescription(' Number of all read requests on the specified Symmetrix unit ')
symstat_num_write_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 4), u_int32()).setLabel('symstatNum-write-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_write_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_write_reqs.setDescription(' Number of all write requests on the specified Symmetrix unit ')
symstat_num_rw_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 5), u_int32()).setLabel('symstatNum-rw-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_rw_hits.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_rw_hits.setDescription(' Total number of all read and write cache hits for all devices on the specified Symmetrix unit ')
symstat_num_read_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 6), u_int32()).setLabel('symstatNum-read-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_read_hits.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_read_hits.setDescription('Total number of cache read hits for all devices on the specified Symmetrix unit ')
symstat_num_write_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 7), u_int32()).setLabel('symstatNum-write-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_write_hits.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_write_hits.setDescription('Total number of cache write hits for all devices on the specified Symmetrix unit ')
symstat_num_blocks_read = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 12), u_int32()).setLabel('symstatNum-blocks-read').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_blocks_read.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_blocks_read.setDescription('Total number of (512 byte) blocks read for all devices on the specified Symmetrix unit ')
symstat_num_blocks_written = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 17), u_int32()).setLabel('symstatNum-blocks-written').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_blocks_written.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_blocks_written.setDescription('Total number of (512 byte) blocks written for all devices on the specified Symmetrix unit ')
symstat_num_seq_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 18), u_int32()).setLabel('symstatNum-seq-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_seq_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_seq_read_reqs.setDescription('Number of sequential read requests ')
symstat_num_prefetched_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 19), u_int32()).setLabel('symstatNum-prefetched-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_prefetched_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_prefetched_tracks.setDescription('Number of prefetched tracks ')
symstat_num_destaged_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 20), u_int32()).setLabel('symstatNum-destaged-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_destaged_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_destaged_tracks.setDescription('Number of destaged tracks ')
symstat_num_deferred_writes = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 21), u_int32()).setLabel('symstatNum-deferred-writes').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_deferred_writes.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_deferred_writes.setDescription('Number of deferred writes ')
symstat_num_delayed_dfw = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 22), u_int32()).setLabel('symstatNum-delayed-dfw').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_delayed_dfw.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_delayed_dfw.setDescription('Number of delayed deferred writes untils tracks are destaged. (reserved for EMC use only.) ')
symstat_num_wr_pend_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 23), u_int32()).setLabel('symstatNum-wr-pend-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_wr_pend_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_wr_pend_tracks.setDescription('Number of tracks waiting to be destaged from cache on to disk for the specified Symmetrix unit ')
symstat_num_format_pend_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 24), u_int32()).setLabel('symstatNum-format-pend-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_format_pend_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_format_pend_tracks.setDescription(' Number of formatted pending tracks. (reserved for EMC use only.) ')
symstat_device_max_wp_limit = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 25), u_int32()).setLabel('symstatDevice-max-wp-limit').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatDevice_max_wp_limit.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatDevice_max_wp_limit.setDescription('Maximum write pending limit for a device ')
symstat_num_sa_cdb_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 26), u_int32()).setLabel('symstatNum-sa-cdb-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_sa_cdb_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_sa_cdb_reqs.setDescription('Number of Command Descriptor Blocks (CDBs) sent to the Symmetrix unit. (Reads, writes, and inquiries are the types of commands sent in the CDBs.) ')
symstat_num_sa_rw_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 27), u_int32()).setLabel('symstatNum-sa-rw-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_sa_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_sa_rw_reqs.setDescription('Total number of all read and write requests for all SCSI adapters (SAs) on the specified Symmetrix unit')
symstat_num_sa_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 28), u_int32()).setLabel('symstatNum-sa-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_sa_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_sa_read_reqs.setDescription('Total number of all read requests for all SCSI adapters (SAs) on the specified Symmetrix unit')
symstat_num_sa_write_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 29), u_int32()).setLabel('symstatNum-sa-write-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_sa_write_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_sa_write_reqs.setDescription('Total number of all write requests for all SCSI adapters (SAs) on the specified Symmetrix unit')
symstat_num_sa_rw_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 30), u_int32()).setLabel('symstatNum-sa-rw-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_sa_rw_hits.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_sa_rw_hits.setDescription('Total number of all read and write cache hits for all SCSI adapters (SAs) on the specified Symmetrix unit')
symstat_num_free_permacache_slots = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 31), u_int32()).setLabel('symstatNum-free-permacache-slots').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_free_permacache_slots.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_free_permacache_slots.setDescription('Total number of PermaCache slots that are available')
symstat_num_used_permacache_slots = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 1, 1, 32), u_int32()).setLabel('symstatNum-used-permacache-slots').setMaxAccess('readonly')
if mibBuilder.loadTexts:
symstatNum_used_permacache_slots.setStatus('mandatory')
if mibBuilder.loadTexts:
symstatNum_used_permacache_slots.setDescription('Total number of PermaCache slots that are used')
dev_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2))
if mibBuilder.loadTexts:
devStatTable.setStatus('mandatory')
if mibBuilder.loadTexts:
devStatTable.setDescription('A table of Symmetrix device statistics for the indicated Symmetrix and device instance. The number of entries is given by the value of symDevListCount.')
dev_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symDevListCount'))
if mibBuilder.loadTexts:
devStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
devStatEntry.setDescription('An entry containing objects for the Symmetrix device statistics for the specified Symmetrix and device.')
devstat_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 1), time_ticks()).setLabel('devstatTime-stamp').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatTime_stamp.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatTime_stamp.setDescription(' Time since these statistics were last collected')
devstat_num_sym_timeslices = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 2), u_int32()).setLabel('devstatNum-sym-timeslices').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_sym_timeslices.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
devstat_num_rw_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 3), u_int32()).setLabel('devstatNum-rw-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_rw_reqs.setDescription(' Total number of I/Os for the device')
devstat_num_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 4), u_int32()).setLabel('devstatNum-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_read_reqs.setDescription(' Total number of read requests for the device')
devstat_num_write_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 5), u_int32()).setLabel('devstatNum-write-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_write_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_write_reqs.setDescription(' Total number of write requests for the device ')
devstat_num_rw_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 6), u_int32()).setLabel('devstatNum-rw-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_rw_hits.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_rw_hits.setDescription(' Total number of cache hits (read & write) for the device ')
devstat_num_read_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 7), u_int32()).setLabel('devstatNum-read-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_read_hits.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_read_hits.setDescription(' Total number of cache read hits for the device ')
devstat_num_write_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 8), u_int32()).setLabel('devstatNum-write-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_write_hits.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_write_hits.setDescription(' Total number of cache write hits for the device ')
devstat_num_blocks_read = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 13), u_int32()).setLabel('devstatNum-blocks-read').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_blocks_read.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_blocks_read.setDescription(' Total number of (512 byte) blocks read for the device ')
devstat_num_blocks_written = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 18), u_int32()).setLabel('devstatNum-blocks-written').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_blocks_written.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_blocks_written.setDescription(' Total number of (512 byte) blocks written for the device ')
devstat_num_seq_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 19), u_int32()).setLabel('devstatNum-seq-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_seq_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_seq_read_reqs.setDescription(' Total number of number of sequential read reqs for the device ')
devstat_num_prefetched_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 20), u_int32()).setLabel('devstatNum-prefetched-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_prefetched_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_prefetched_tracks.setDescription(' Total number of prefetched tracks for the device ')
devstat_num_destaged_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 21), u_int32()).setLabel('devstatNum-destaged-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_destaged_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_destaged_tracks.setDescription(' Total number of destaged tracks for the device ')
devstat_num_deferred_writes = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 22), u_int32()).setLabel('devstatNum-deferred-writes').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_deferred_writes.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_deferred_writes.setDescription(' Total number of deferred writes for the device ')
devstat_num_delayed_dfw = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 23), u_int32()).setLabel('devstatNum-delayed-dfw').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_delayed_dfw.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_delayed_dfw.setDescription(' Total number of delayed deferred writes until track destaged')
devstat_num_wp_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 24), u_int32()).setLabel('devstatNum-wp-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_wp_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_wp_tracks.setDescription(' Total number of write pending tracks for the device')
devstat_num_format_pend_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 25), u_int32()).setLabel('devstatNum-format-pend-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatNum_format_pend_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatNum_format_pend_tracks.setDescription(' Total number of format pending tracks for the device')
devstat_device_max_wp_limit = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 2, 1, 26), u_int32()).setLabel('devstatDevice-max-wp-limit').setMaxAccess('readonly')
if mibBuilder.loadTexts:
devstatDevice_max_wp_limit.setStatus('mandatory')
if mibBuilder.loadTexts:
devstatDevice_max_wp_limit.setDescription(' Device max write pending limit')
p_dev_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3))
if mibBuilder.loadTexts:
pDevStatTable.setStatus('mandatory')
if mibBuilder.loadTexts:
pDevStatTable.setDescription('A table of Symmetrix phisical device statistics for the indicated Symmetrix and device instance. The number of entries is given by the value of symPDevListCount.')
p_dev_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symPDevListCount'))
if mibBuilder.loadTexts:
pDevStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
pDevStatEntry.setDescription('An entry containing objects for the Symmetrix physical device statistics for the specified Symmetrix and device.')
pdevstat_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 1), time_ticks()).setLabel('pdevstatTime-stamp').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatTime_stamp.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatTime_stamp.setDescription(' Time since these statistics were last collected')
pdevstat_num_sym_timeslices = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 2), u_int32()).setLabel('pdevstatNum-sym-timeslices').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_sym_timeslices.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
pdevstat_num_rw_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 3), u_int32()).setLabel('pdevstatNum-rw-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_rw_reqs.setDescription(' Total number of I/Os for the device')
pdevstat_num_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 4), u_int32()).setLabel('pdevstatNum-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_read_reqs.setDescription(' Total number of read requests for the device')
pdevstat_num_write_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 5), u_int32()).setLabel('pdevstatNum-write-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_write_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_write_reqs.setDescription(' Total number of write requests for the device ')
pdevstat_num_rw_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 6), u_int32()).setLabel('pdevstatNum-rw-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_rw_hits.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_rw_hits.setDescription(' Total number of cache hits (read & write) for the device ')
pdevstat_num_read_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 7), u_int32()).setLabel('pdevstatNum-read-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_read_hits.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_read_hits.setDescription(' Total number of cache read hits for the device ')
pdevstat_num_write_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 8), u_int32()).setLabel('pdevstatNum-write-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_write_hits.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_write_hits.setDescription(' Total number of cache write hits for the device ')
pdevstat_num_blocks_read = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 13), u_int32()).setLabel('pdevstatNum-blocks-read').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_blocks_read.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_blocks_read.setDescription(' Total number of (512 byte) blocks read for the device ')
pdevstat_num_blocks_written = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 18), u_int32()).setLabel('pdevstatNum-blocks-written').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_blocks_written.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_blocks_written.setDescription(' Total number of (512 byte) blocks written for the device ')
pdevstat_num_seq_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 19), u_int32()).setLabel('pdevstatNum-seq-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_seq_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_seq_read_reqs.setDescription(' Total number of number of sequential read reqs for the device ')
pdevstat_num_prefetched_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 20), u_int32()).setLabel('pdevstatNum-prefetched-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_prefetched_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_prefetched_tracks.setDescription(' Total number of prefetched tracks for the device ')
pdevstat_num_destaged_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 21), u_int32()).setLabel('pdevstatNum-destaged-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_destaged_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_destaged_tracks.setDescription(' Total number of destaged tracks for the device ')
pdevstat_num_deferred_writes = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 22), u_int32()).setLabel('pdevstatNum-deferred-writes').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_deferred_writes.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_deferred_writes.setDescription(' Total number of deferred writes for the device ')
pdevstat_num_delayed_dfw = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 23), u_int32()).setLabel('pdevstatNum-delayed-dfw').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_delayed_dfw.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_delayed_dfw.setDescription(' Total number of delayed deferred writes until track destaged')
pdevstat_num_wp_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 24), u_int32()).setLabel('pdevstatNum-wp-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_wp_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_wp_tracks.setDescription(' Total number of write pending tracks for the device')
pdevstat_num_format_pend_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 25), u_int32()).setLabel('pdevstatNum-format-pend-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatNum_format_pend_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatNum_format_pend_tracks.setDescription(' Total number of format pending tracks for the device')
pdevstat_device_max_wp_limit = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 3, 1, 26), u_int32()).setLabel('pdevstatDevice-max-wp-limit').setMaxAccess('readonly')
if mibBuilder.loadTexts:
pdevstatDevice_max_wp_limit.setStatus('mandatory')
if mibBuilder.loadTexts:
pdevstatDevice_max_wp_limit.setDescription(' Device max write pending limit')
l_dev_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4))
if mibBuilder.loadTexts:
lDevStatTable.setStatus('obsolete')
if mibBuilder.loadTexts:
lDevStatTable.setDescription('A table of Symmetrix logical device statistics for the indicated Symmetrix and device instance. The number of entries is given by the value of symLDevListCount.')
l_dev_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1)).setIndexNames((0, 'EMC-MIB', 'symDgListCount'), (0, 'EMC-MIB', 'symLDevListCount'))
if mibBuilder.loadTexts:
lDevStatEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
lDevStatEntry.setDescription('An entry containing objects for the Symmetrix logical device statistics for the specified Symmetrix and device.')
ldevstat_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 1), time_ticks()).setLabel('ldevstatTime-stamp').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatTime_stamp.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatTime_stamp.setDescription(' Time since these statistics were last collected')
ldevstat_num_sym_timeslices = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 2), u_int32()).setLabel('ldevstatNum-sym-timeslices').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_sym_timeslices.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
ldevstat_num_rw_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 3), u_int32()).setLabel('ldevstatNum-rw-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_rw_reqs.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_rw_reqs.setDescription(' Total number of I/Os for the device')
ldevstat_num_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 4), u_int32()).setLabel('ldevstatNum-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_read_reqs.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_read_reqs.setDescription(' Total number of read requests for the device')
ldevstat_num_write_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 5), u_int32()).setLabel('ldevstatNum-write-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_write_reqs.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_write_reqs.setDescription(' Total number of write requests for the device ')
ldevstat_num_rw_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 6), u_int32()).setLabel('ldevstatNum-rw-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_rw_hits.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_rw_hits.setDescription(' Total number of cache hits (read & write) for the device ')
ldevstat_num_read_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 7), u_int32()).setLabel('ldevstatNum-read-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_read_hits.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_read_hits.setDescription(' Total number of cache read hits for the device ')
ldevstat_num_write_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 8), u_int32()).setLabel('ldevstatNum-write-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_write_hits.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_write_hits.setDescription(' Total number of cache write hits for the device ')
ldevstat_num_blocks_read = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 13), u_int32()).setLabel('ldevstatNum-blocks-read').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_blocks_read.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_blocks_read.setDescription(' Total number of (512 byte) blocks read for the device ')
ldevstat_num_blocks_written = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 18), u_int32()).setLabel('ldevstatNum-blocks-written').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_blocks_written.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_blocks_written.setDescription(' Total number of (512 byte) blocks written for the device ')
ldevstat_num_seq_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 19), u_int32()).setLabel('ldevstatNum-seq-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_seq_read_reqs.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_seq_read_reqs.setDescription(' Total number of number of sequential read reqs for the device ')
ldevstat_num_prefetched_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 20), u_int32()).setLabel('ldevstatNum-prefetched-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_prefetched_tracks.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_prefetched_tracks.setDescription(' Total number of prefetched tracks for the device ')
ldevstat_num_destaged_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 21), u_int32()).setLabel('ldevstatNum-destaged-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_destaged_tracks.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_destaged_tracks.setDescription(' Total number of destaged tracks for the device ')
ldevstat_num_deferred_writes = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 22), u_int32()).setLabel('ldevstatNum-deferred-writes').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_deferred_writes.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_deferred_writes.setDescription(' Total number of deferred writes for the device ')
ldevstat_num_delayed_dfw = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 23), u_int32()).setLabel('ldevstatNum-delayed-dfw').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_delayed_dfw.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_delayed_dfw.setDescription(' Total number of delayed deferred writes until track destaged')
ldevstat_num_wp_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 24), u_int32()).setLabel('ldevstatNum-wp-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_wp_tracks.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_wp_tracks.setDescription(' Total number of write pending tracks for the device')
ldevstat_num_format_pend_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 25), u_int32()).setLabel('ldevstatNum-format-pend-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatNum_format_pend_tracks.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatNum_format_pend_tracks.setDescription(' Total number of format pending tracks for the device')
ldevstat_device_max_wp_limit = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 4, 1, 26), u_int32()).setLabel('ldevstatDevice-max-wp-limit').setMaxAccess('readonly')
if mibBuilder.loadTexts:
ldevstatDevice_max_wp_limit.setStatus('obsolete')
if mibBuilder.loadTexts:
ldevstatDevice_max_wp_limit.setDescription(' Device max write pending limit')
dg_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5))
if mibBuilder.loadTexts:
dgStatTable.setStatus('obsolete')
if mibBuilder.loadTexts:
dgStatTable.setDescription('A table of Symmetrix device group statistics for the indicated device group instance. The number of entries is given by the value of symDgListCount.')
dg_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1)).setIndexNames((0, 'EMC-MIB', 'symDgListCount'))
if mibBuilder.loadTexts:
dgStatEntry.setStatus('obsolete')
if mibBuilder.loadTexts:
dgStatEntry.setDescription('An entry containing objects for the device group statistics for the specified device group.')
dgstat_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 1), time_ticks()).setLabel('dgstatTime-stamp').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatTime_stamp.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatTime_stamp.setDescription(' Time since these statistics were last collected')
dgstat_num_sym_timeslices = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 2), u_int32()).setLabel('dgstatNum-sym-timeslices').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_sym_timeslices.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
dgstat_num_rw_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 3), u_int32()).setLabel('dgstatNum-rw-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_rw_reqs.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_rw_reqs.setDescription(' Total number of I/Os for the device group')
dgstat_num_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 4), u_int32()).setLabel('dgstatNum-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_read_reqs.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_read_reqs.setDescription(' Total number of read requests for the device group')
dgstat_num_write_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 5), u_int32()).setLabel('dgstatNum-write-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_write_reqs.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_write_reqs.setDescription(' Total number of write requests for the device group ')
dgstat_num_rw_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 6), u_int32()).setLabel('dgstatNum-rw-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_rw_hits.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_rw_hits.setDescription(' Total number of cache hits (read & write) for the device group ')
dgstat_num_read_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 7), u_int32()).setLabel('dgstatNum-read-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_read_hits.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_read_hits.setDescription(' Total number of cache read hits for the device group ')
dgstat_num_write_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 8), u_int32()).setLabel('dgstatNum-write-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_write_hits.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_write_hits.setDescription(' Total number of cache write hits for the device group ')
dgstat_num_blocks_read = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 13), u_int32()).setLabel('dgstatNum-blocks-read').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_blocks_read.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_blocks_read.setDescription(' Total number of (512 byte) blocks read for the device group ')
dgstat_num_blocks_written = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 18), u_int32()).setLabel('dgstatNum-blocks-written').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_blocks_written.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_blocks_written.setDescription(' Total number of (512 byte) blocks written for the device group ')
dgstat_num_seq_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 19), u_int32()).setLabel('dgstatNum-seq-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_seq_read_reqs.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_seq_read_reqs.setDescription(' Total number of number of sequential read reqs for the device group ')
dgstat_num_prefetched_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 20), u_int32()).setLabel('dgstatNum-prefetched-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_prefetched_tracks.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_prefetched_tracks.setDescription(' Total number of prefetched tracks for the device group ')
dgstat_num_destaged_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 21), u_int32()).setLabel('dgstatNum-destaged-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_destaged_tracks.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_destaged_tracks.setDescription(' Total number of destaged tracks for the device group ')
dgstat_num_deferred_writes = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 22), u_int32()).setLabel('dgstatNum-deferred-writes').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_deferred_writes.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_deferred_writes.setDescription(' Total number of deferred writes for the device group ')
dgstat_num_delayed_dfw = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 23), u_int32()).setLabel('dgstatNum-delayed-dfw').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_delayed_dfw.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_delayed_dfw.setDescription(' Total number of delayed deferred writes until track destaged')
dgstat_num_wp_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 24), u_int32()).setLabel('dgstatNum-wp-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_wp_tracks.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_wp_tracks.setDescription(' Total number of write pending tracks for the device group')
dgstat_num_format_pend_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 25), u_int32()).setLabel('dgstatNum-format-pend-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatNum_format_pend_tracks.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatNum_format_pend_tracks.setDescription(' Total number of format pending tracks for the device group')
dgstatdevice_max_wp_limit = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 5, 1, 26), u_int32()).setLabel('dgstatdevice-max-wp-limit').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dgstatdevice_max_wp_limit.setStatus('obsolete')
if mibBuilder.loadTexts:
dgstatdevice_max_wp_limit.setDescription(' Device group max write pending limit')
director_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6))
if mibBuilder.loadTexts:
directorStatTable.setStatus('mandatory')
if mibBuilder.loadTexts:
directorStatTable.setDescription('A table of Symmetrix director statistics for the indicated Symmetrix and director instance. The number of entries is given by the value of symShowDirectorCount.')
director_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symShowDirectorCount'))
if mibBuilder.loadTexts:
directorStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
directorStatEntry.setDescription('An entry containing objects for the Symmetrix director statistics for the specified Symmetrix and director.')
dirstat_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 1), time_ticks()).setLabel('dirstatTime-stamp').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatTime_stamp.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatTime_stamp.setDescription(' Time since these statistics were last collected')
dirstat_num_sym_timeslices = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 2), u_int32()).setLabel('dirstatNum-sym-timeslices').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatNum_sym_timeslices.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
dirstat_num_rw_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 3), u_int32()).setLabel('dirstatNum-rw-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatNum_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatNum_rw_reqs.setDescription(' Total number of I/Os for the device')
dirstat_num_read_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 4), u_int32()).setLabel('dirstatNum-read-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatNum_read_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatNum_read_reqs.setDescription(' Total number of read requests for the device')
dirstat_num_write_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 5), u_int32()).setLabel('dirstatNum-write-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatNum_write_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatNum_write_reqs.setDescription(' Total number of write requests for the device ')
dirstat_num_rw_hits = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 6), u_int32()).setLabel('dirstatNum-rw-hits').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatNum_rw_hits.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatNum_rw_hits.setDescription(' Total number of cache hits (read & write) for the device ')
dirstat_num_permacache_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 7), u_int32()).setLabel('dirstatNum-permacache-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatNum_permacache_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatNum_permacache_reqs.setDescription(' Total number of cache read hits for the device ')
dirstat_num_ios = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 6, 1, 8), u_int32()).setLabel('dirstatNum-ios').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatNum_ios.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatNum_ios.setDescription(' Total number of cache write hits for the device ')
sa_dir_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7))
if mibBuilder.loadTexts:
saDirStatTable.setStatus('mandatory')
if mibBuilder.loadTexts:
saDirStatTable.setDescription('A table of Symmetrix SA director statistics for the indicated Symmetrix and director instance. The number of entries is given by the value of symShowDirectorCount.')
sa_dir_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symShowDirectorCount'))
if mibBuilder.loadTexts:
saDirStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
saDirStatEntry.setDescription('An entry containing objects for the Symmetrix SA director statistics for the specified Symmetrix and director.')
dirstat_sa_num_read_misses = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7, 1, 1), u_int32()).setLabel('dirstatSANum-read-misses').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatSANum_read_misses.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatSANum_read_misses.setDescription(' Total number of cache read misses')
dirstat_sa_num_slot_collisions = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7, 1, 2), u_int32()).setLabel('dirstatSANum-slot-collisions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatSANum_slot_collisions.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatSANum_slot_collisions.setDescription(' Total number of cache slot collisions')
dirstat_sa_num_system_wp_disconnects = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7, 1, 3), u_int32()).setLabel('dirstatSANum-system-wp-disconnects').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatSANum_system_wp_disconnects.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatSANum_system_wp_disconnects.setDescription('Total number of system write pending disconnects. The limit for the system parameter for maximum number of write pendings was exceeded.')
dirstat_sa_num_device_wp_disconnects = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 7, 1, 4), u_int32()).setLabel('dirstatSANum-device-wp-disconnects').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatSANum_device_wp_disconnects.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatSANum_device_wp_disconnects.setDescription('Total number of device write pending disconnects. The limit for the device parameter for maximum number of write pendings was exceeded.')
da_dir_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8))
if mibBuilder.loadTexts:
daDirStatTable.setStatus('mandatory')
if mibBuilder.loadTexts:
daDirStatTable.setDescription('A table of Symmetrix DA director statistics for the indicated Symmetrix and director instance. The number of entries is given by the value of symShowDirectorCount.')
da_dir_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symShowDirectorCount'))
if mibBuilder.loadTexts:
daDirStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
daDirStatEntry.setDescription('An entry containing objects for the Symmetrix DA director statistics for the specified Symmetrix and director.')
dirstat_da_num_pf_tracks = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 1), u_int32()).setLabel('dirstatDANum-pf-tracks').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatDANum_pf_tracks.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatDANum_pf_tracks.setDescription(' The number of prefetched tracks. Remember that cache may contain vestigial read or written tracks.')
dirstat_da_num_pf_tracks_used = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 2), u_int32()).setLabel('dirstatDANum-pf-tracks-used').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatDANum_pf_tracks_used.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatDANum_pf_tracks_used.setDescription('The number of prefetched tracks used to satisfy read/write requests')
dirstat_da_num_pf_tracks_unused = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 3), u_int32()).setLabel('dirstatDANum-pf-tracks-unused').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatDANum_pf_tracks_unused.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatDANum_pf_tracks_unused.setDescription('The number of prefetched tracks unused and replaced by another.')
dirstat_da_num_pf_short_misses = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 4), u_int32()).setLabel('dirstatDANum-pf-short-misses').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatDANum_pf_short_misses.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatDANum_pf_short_misses.setDescription('The number of tracks already being prefetched when a read/write request for that track occurred.')
dirstat_da_num_pf_long_misses = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 5), u_int32()).setLabel('dirstatDANum-pf-long-misses').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatDANum_pf_long_misses.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatDANum_pf_long_misses.setDescription('The number of tracks requiring a complete fetch when a read/write request for that track occurred.')
dirstat_da_num_pf_restarts = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 6), u_int32()).setLabel('dirstatDANum-pf-restarts').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatDANum_pf_restarts.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatDANum_pf_restarts.setDescription('The number of times that a prefetch task needed to be restarted.')
dirstat_da_num_pf_mismatches = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 8, 1, 7), u_int32()).setLabel('dirstatDANum-pf-mismatches').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatDANum_pf_mismatches.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatDANum_pf_mismatches.setDescription('The number of times a prefetch task needed to be canceled.')
ra_dir_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9))
if mibBuilder.loadTexts:
raDirStatTable.setStatus('mandatory')
if mibBuilder.loadTexts:
raDirStatTable.setDescription('A table of Symmetrix RA director statistics for the indicated Symmetrix and director instance. The number of entries is given by the value of symShowDirectorCount.')
ra_dir_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symShowDirectorCount'))
if mibBuilder.loadTexts:
raDirStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
raDirStatEntry.setDescription('An entry containing objects for the Symmetrix RA director statistics for the specified Symmetrix and director.')
dirstat_ra_num_read_misses = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9, 1, 1), u_int32()).setLabel('dirstatRANum-read-misses').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatRANum_read_misses.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatRANum_read_misses.setDescription(' Total number of cache read misses')
dirstat_ra_num_slot_collisions = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9, 1, 2), u_int32()).setLabel('dirstatRANum-slot-collisions').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatRANum_slot_collisions.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatRANum_slot_collisions.setDescription(' Total number of cache slot collisions')
dirstat_ra_num_system_wp_disconnects = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9, 1, 3), u_int32()).setLabel('dirstatRANum-system-wp-disconnects').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatRANum_system_wp_disconnects.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatRANum_system_wp_disconnects.setDescription('Total number of system write pending disconnects. The limit for the system parameter for maximum number of write pendings was exceeded.')
dirstat_ra_num_device_wp_disconnects = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 9, 1, 4), u_int32()).setLabel('dirstatRANum-device-wp-disconnects').setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirstatRANum_device_wp_disconnects.setStatus('mandatory')
if mibBuilder.loadTexts:
dirstatRANum_device_wp_disconnects.setDescription('Total number of device write pending disconnects. The limit for the device parameter for maximum number of write pendings was exceeded.')
dir_stat_port_count_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 1))
if mibBuilder.loadTexts:
dirStatPortCountTable.setStatus('mandatory')
if mibBuilder.loadTexts:
dirStatPortCountTable.setDescription('A list of the number of available ports for the given Symmetrix and director instance. The number of entries is given by the value of symShowDirectorCount.')
dir_stat_port_count_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 1, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symShowDirectorCount'))
if mibBuilder.loadTexts:
dirStatPortCountEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
dirStatPortCountEntry.setDescription('An entry containing objects for the number of available ports for the specified Symmetrix and director')
dir_port_stat_port_count = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 1, 1, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
dirPortStatPortCount.setStatus('mandatory')
if mibBuilder.loadTexts:
dirPortStatPortCount.setDescription('The number of entries in the dirPortStatTable table for the indicated Symmetrix and director instance')
dir_port_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2))
if mibBuilder.loadTexts:
dirPortStatTable.setStatus('mandatory')
if mibBuilder.loadTexts:
dirPortStatTable.setDescription('A table of Symmetrix director statistics for the indicated Symmetrix, director and port instance. The number of entries is given by the value dirPortStatPortCount.')
dir_port_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symShowDirectorCount'), (0, 'EMC-MIB', 'dirPortStatPortCount'))
if mibBuilder.loadTexts:
dirPortStatEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
dirPortStatEntry.setDescription('An entry containing objects for the Symmetrix director port statistics for the specified Symmetrix, director, and port.')
portstat_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2, 1, 1), time_ticks()).setLabel('portstatTime-stamp').setMaxAccess('readonly')
if mibBuilder.loadTexts:
portstatTime_stamp.setStatus('mandatory')
if mibBuilder.loadTexts:
portstatTime_stamp.setDescription(' Time since these statistics were last collected')
portstat_num_sym_timeslices = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2, 1, 2), u_int32()).setLabel('portstatNum-sym-timeslices').setMaxAccess('readonly')
if mibBuilder.loadTexts:
portstatNum_sym_timeslices.setStatus('mandatory')
if mibBuilder.loadTexts:
portstatNum_sym_timeslices.setDescription(' Number of 1/2 seconds from reset until the Symmetrix internally snapshots the director counters. You must use this field when computing a rate.')
portstat_num_rw_reqs = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2, 1, 3), u_int32()).setLabel('portstatNum-rw-reqs').setMaxAccess('readonly')
if mibBuilder.loadTexts:
portstatNum_rw_reqs.setStatus('mandatory')
if mibBuilder.loadTexts:
portstatNum_rw_reqs.setDescription('The number of I/O requests (reads and writes) handled by the front-end port. ')
portstat_num_blocks_read_and_written = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 6, 3, 10, 2, 1, 4), u_int32()).setLabel('portstatNum-blocks-read-and-written').setMaxAccess('readonly')
if mibBuilder.loadTexts:
portstatNum_blocks_read_and_written.setStatus('mandatory')
if mibBuilder.loadTexts:
portstatNum_blocks_read_and_written.setDescription('The number of blocks read and written by the front-end port ')
symm_event_max_events = mib_scalar((1, 3, 6, 1, 4, 1, 1139, 1, 7, 1), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symmEventMaxEvents.setStatus('mandatory')
if mibBuilder.loadTexts:
symmEventMaxEvents.setDescription('Max number of events that can be defined in each Symmetrixes symmEventTable.')
symm_event_table = mib_table((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2))
if mibBuilder.loadTexts:
symmEventTable.setStatus('mandatory')
if mibBuilder.loadTexts:
symmEventTable.setDescription('The table of Symmetrix events. Errors, warnings, and information should be reported in this table.')
symm_event_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2, 1)).setIndexNames((0, 'EMC-MIB', 'discIndex'), (0, 'EMC-MIB', 'symmEventIndex'))
if mibBuilder.loadTexts:
symmEventEntry.setStatus('mandatory')
if mibBuilder.loadTexts:
symmEventEntry.setDescription('Each entry contains information on a specific event for the given Symmetrix.')
symm_event_index = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symmEventIndex.setStatus('mandatory')
if mibBuilder.loadTexts:
symmEventIndex.setDescription('Each Symmetrix has its own event buffer. As it wraps, it may write over previous events. This object is an index into the buffer. The index value is an incrementing integer starting from one every time there is a table reset. On table reset, all contents are emptied and all indeces are set to zero. When an event is added to the table, the event is assigned the next higher integer value than the last item entered into the table. If the index value reaches its maximum value, the next item entered will cause the index value to roll over and start at one again.')
symm_event_time = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2, 1, 2), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symmEventTime.setStatus('mandatory')
if mibBuilder.loadTexts:
symmEventTime.setDescription('This is the time when the event occurred. It has the following format. DOW MON DD HH:MM:SS YYYY DOW=day of week MON=Month DD=day number HH=hour number MM=minute number SS=seconds number YYYY=year number If not applicable, return a NULL string.')
symm_event_severity = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=named_values(('unknown', 1), ('emergency', 2), ('alert', 3), ('critical', 4), ('error', 5), ('warning', 6), ('notify', 7), ('info', 8), ('debug', 9), ('mark', 10)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symmEventSeverity.setStatus('mandatory')
if mibBuilder.loadTexts:
symmEventSeverity.setDescription('The event severity level. These map directly with those from the FIbre Mib, version 2.2')
symm_event_descr = mib_table_column((1, 3, 6, 1, 4, 1, 1139, 1, 7, 2, 1, 4), display_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
symmEventDescr.setStatus('mandatory')
if mibBuilder.loadTexts:
symmEventDescr.setDescription('The description of the event.')
emc_device_status_trap = notification_type((1, 3, 6, 1, 4, 1, 1139, 1) + (0, 1)).setObjects(('EMC-MIB', 'symmEventDescr'))
if mibBuilder.loadTexts:
emcDeviceStatusTrap.setDescription("This trap is sent for each device found 'NOT READY' during the most recent test of each attached Symmetrix for Device Not Ready conditions. ")
emc_symmetrix_status_trap = notification_type((1, 3, 6, 1, 4, 1, 1139, 1) + (0, 2)).setObjects(('EMC-MIB', 'symmEventDescr'))
if mibBuilder.loadTexts:
emcSymmetrixStatusTrap.setDescription("This trap is sent for each new WARNING and FATAL error condition found during the most recent 'health' test of each attached Symmetrix. Format of the message is: Symmetrix s/n: %s, Dir - %d, %04X, %s, %s an example of which is: Symmetrix s/n: 12345, Dir - 31, 470, Thu Apr 6 10:53:16 2000, Environmental alarm: Battery Fault ")
emc_ratios_outof_range_trap = notification_type((1, 3, 6, 1, 4, 1, 1139, 1) + (0, 3)).setObjects(('EMC-MIB', 'symmEventDescr'))
if mibBuilder.loadTexts:
emcRatiosOutofRangeTrap.setDescription('This trap is sent for each attached Symmetrix when the Hit Ratio, Write Ratio, or IO/sec Ratio were out of the specified range during the most recent test for these conditions. The ratios are preconfigured at agent startup, and apply to all Symmetrixes attached. ')
discovery_table_change = notification_type((1, 3, 6, 1, 4, 1, 1139, 1) + (0, 4)).setObjects(('EMC-MIB', 'discoveryChangeTime'))
if mibBuilder.loadTexts:
discoveryTableChange.setDescription('This trap is sent whenever the periodic check of attached Symmetrixes reveals newly attached Symmetrixes, or changes in the configuration of previously attached Symmetrixes. ')
emc_symmetrix_event_trap = notification_type((1, 3, 6, 1, 4, 1, 1139, 1) + (0, 5)).setObjects(('EMC-MIB', 'symmEventDescr'))
if mibBuilder.loadTexts:
emcSymmetrixEventTrap.setDescription('This trap is sent whenever a non-specific (i.e. not traps 1-4) event occurs in the agent, or for a specific Symmetrix. ')
mibBuilder.exportSymbols('EMC-MIB', analyzer=analyzer, sysinfoFirstRecordNumber=sysinfoFirstRecordNumber, symstatNum_write_hits=symstatNum_write_hits, devShowVendor_id=devShowVendor_id, sysinfoNumberofVolumes=sysinfoNumberofVolumes, symstatNum_blocks_read=symstatNum_blocks_read, symShowPDevCountTable=symShowPDevCountTable, analyzerFileLastModified=analyzerFileLastModified, ldevstatNum_write_hits=ldevstatNum_write_hits, portstatNum_sym_timeslices=portstatNum_sym_timeslices, dgstatNum_delayed_dfw=dgstatNum_delayed_dfw, dadcnfigMirror2Director=dadcnfigMirror2Director, subagentTraceMessagesEnable=subagentTraceMessagesEnable, pdevstatNum_format_pend_tracks=pdevstatNum_format_pend_tracks, standardSNMPRequestPort=standardSNMPRequestPort, symDevListCount=symDevListCount, symstatNum_sa_cdb_reqs=symstatNum_sa_cdb_reqs, devstatNum_deferred_writes=devstatNum_deferred_writes, devstatNum_blocks_written=devstatNum_blocks_written, symDevNoDgList=symDevNoDgList, emcSymUtil99=emcSymUtil99, devShowSymid=devShowSymid, emcSymMvsDsname=emcSymMvsDsname, devShowBCVInfoEntry=devShowBCVInfoEntry, symstatNum_format_pend_tracks=symstatNum_format_pend_tracks, emcControlCenter=emcControlCenter, symShowMicrocode_version=symShowMicrocode_version, ldevstatNum_write_reqs=ldevstatNum_write_reqs, symShowDirectorCountTable=symShowDirectorCountTable, ldevstatNum_blocks_read=ldevstatNum_blocks_read, dvhoaddrDeviceRecordsTable=dvhoaddrDeviceRecordsTable, pdevstatNum_read_reqs=pdevstatNum_read_reqs, symstatNum_used_permacache_slots=symstatNum_used_permacache_slots, dvhoaddrDeviceRecordsEntry=dvhoaddrDeviceRecordsEntry, symPDevList=symPDevList, symLDevListCountEntry=symLDevListCountEntry, symmEventEntry=symmEventEntry, RDDFTransientState=RDDFTransientState, symstatNum_deferred_writes=symstatNum_deferred_writes, analyzerSpecialDurationLimit=analyzerSpecialDurationLimit, symDgListEntry=symDgListEntry, emulMTPF=emulMTPF, xdrTCPPort=xdrTCPPort, escnChecksum=escnChecksum, symPDeviceName=symPDeviceName, symShowSymmetrix_pwron_time=symShowSymmetrix_pwron_time, PortStatus=PortStatus, dirstatDANum_pf_tracks_unused=dirstatDANum_pf_tracks_unused, dadcnfigMirrors=dadcnfigMirrors, dirstatSANum_read_misses=dirstatSANum_read_misses, devShowConfigurationTable=devShowConfigurationTable, emcSymPhysDevStats=emcSymPhysDevStats, devShowBcvdev_status=devShowBcvdev_status, pdevstatDevice_max_wp_limit=pdevstatDevice_max_wp_limit, initFileCount=initFileCount, analyzerFileCreation=analyzerFileCreation, symstatNum_sa_rw_reqs=symstatNum_sa_rw_reqs, devShowPrevent_auto_link_recovery=devShowPrevent_auto_link_recovery, symShowDirector_num=symShowDirector_num, symBcvDevListCount=symBcvDevListCount, dirstatNum_ios=dirstatNum_ios, implVersion=implVersion, portstatTime_stamp=portstatTime_stamp, symShowPDevListEntry=symShowPDevListEntry, devShowLink_config=devShowLink_config, symstatNum_read_hits=symstatNum_read_hits, escnFileCount=escnFileCount, symShowCache_slot_count=symShowCache_slot_count, discState=discState, pdevstatNum_prefetched_tracks=pdevstatNum_prefetched_tracks, symShow=symShow, pdevstatTime_stamp=pdevstatTime_stamp, gatekeeperDeviceName=gatekeeperDeviceName, symstatNum_delayed_dfw=symstatNum_delayed_dfw, symstatNum_wr_pend_tracks=symstatNum_wr_pend_tracks, emulCodeType=emulCodeType, devShowAdaptive_copy_skew=devShowAdaptive_copy_skew, pdevstatNum_rw_reqs=pdevstatNum_rw_reqs, emcSymBCVDevice=emcSymBCVDevice, dadcnfigSymmNumber=dadcnfigSymmNumber, trapSetup=trapSetup, DeviceStatus=DeviceStatus, devShowVbus=devShowVbus, emcSymMirrorDiskCfg=emcSymMirrorDiskCfg, dadcnfigMirror3Interface=dadcnfigMirror3Interface, symShowRa_group_num=symShowRa_group_num, initDate=initDate, discoveryChangeTime=discoveryChangeTime, devShowMset_M2_type=devShowMset_M2_type, dgstatNum_seq_read_reqs=dgstatNum_seq_read_reqs, BCVState=BCVState, systemCodesRecordsEntry=systemCodesRecordsEntry, diskAdapterDeviceConfigurationEntry=diskAdapterDeviceConfigurationEntry, dadcnfigMirror1Interface=dadcnfigMirror1Interface, saDirStatEntry=saDirStatEntry, analyzerFilesListTable=analyzerFilesListTable, devShowBCVInfoTable=devShowBCVInfoTable, emcSymMirror3DiskCfg=emcSymMirror3DiskCfg, discSerialNumber=discSerialNumber, symShowSymmetrix_uptime=symShowSymmetrix_uptime, symstatTime_stamp=symstatTime_stamp, analyzerFiles=analyzerFiles, devShowMset_M3_status=devShowMset_M3_status, dadcnfigRecordSize=dadcnfigRecordSize, clients=clients, diskAdapterDeviceConfigurationTable=diskAdapterDeviceConfigurationTable, dgstatNum_write_hits=dgstatNum_write_hits, symShowPDevCountEntry=symShowPDevCountEntry, ldevstatNum_delayed_dfw=ldevstatNum_delayed_dfw, symPDevNoDgListCountEntry=symPDevNoDgListCountEntry, emcSymMirror4DiskCfg=emcSymMirror4DiskCfg, systemCalls=systemCalls, agentRevision=agentRevision, periodicDiscoveryFrequency=periodicDiscoveryFrequency, emcSymMvsVolume=emcSymMvsVolume, devstatNum_seq_read_reqs=devstatNum_seq_read_reqs, saDirStatTable=saDirStatTable, analyzerFilesCountTable=analyzerFilesCountTable, symDevListCountTable=symDevListCountTable, symBcvPDevListCount=symBcvPDevListCount, symShowPort3_status=symShowPort3_status, devShowRDFInfoEntry=devShowRDFInfoEntry, symmEventMaxEvents=symmEventMaxEvents, symDevListEntry=symDevListEntry, devShowDev_block_size=devShowDev_block_size, dgstatNum_format_pend_tracks=dgstatNum_format_pend_tracks, dvhoaddrPortBDeviceAddress=dvhoaddrPortBDeviceAddress, symDevNoDgListCount=symDevNoDgListCount, devstatNum_wp_tracks=devstatNum_wp_tracks, devShowSCSI_negotiation=devShowSCSI_negotiation, devShowAttached_bcv_symdev=devShowAttached_bcv_symdev, symDevGroupName=symDevGroupName, symGateListTable=symGateListTable, dirstatDANum_pf_tracks=dirstatDANum_pf_tracks, devShowNum_r1_invalid_tracks=devShowNum_r1_invalid_tracks, devstatNum_rw_reqs=devstatNum_rw_reqs, symstatNum_rw_reqs=symstatNum_rw_reqs, dvhoaddrPortDDeviceAddress=dvhoaddrPortDDeviceAddress, symShowLast_ipl_time=symShowLast_ipl_time, agentConfiguration=agentConfiguration, symShowDb_sync_rdf_time=symShowDb_sync_rdf_time, symstatNum_destaged_tracks=symstatNum_destaged_tracks, symShowPDevListTable=symShowPDevListTable, symShowReserved=symShowReserved, symShowPermacache_slot_count=symShowPermacache_slot_count, analyzerFileCountEntry=analyzerFileCountEntry, symShowSymmetrix_ident=symShowSymmetrix_ident, devShowPdevname=devShowPdevname, systemCodesRecordsTable=systemCodesRecordsTable, DirectorStatus=DirectorStatus, symLDevListTable=symLDevListTable, discoveryFrequency=discoveryFrequency, devShowMset_M4_type=devShowMset_M4_type, devShowDev_rdf_state=devShowDev_rdf_state, symmEventDescr=symmEventDescr, symstatNum_seq_read_reqs=symstatNum_seq_read_reqs, emcSymSaitInfo=emcSymSaitInfo, devShowAdaptive_copy_wp_state=devShowAdaptive_copy_wp_state, UInt32=UInt32, symGateListCountTable=symGateListCountTable, symShowDb_sync_bcv_time=symShowDb_sync_bcv_time, dirstatNum_sym_timeslices=dirstatNum_sym_timeslices, dgstatNum_deferred_writes=dgstatNum_deferred_writes, symPDevListTable=symPDevListTable, discStatus=discStatus, sysinfoSerialNumber=sysinfoSerialNumber, symShowNum_pdevs=symShowNum_pdevs, symStatTable=symStatTable, emulDate=emulDate, symPDevNoDgList=symPDevNoDgList, emcSymUtilA7=emcSymUtilA7, symDevNoDgListEntry=symDevNoDgListEntry, ldevstatNum_seq_read_reqs=ldevstatNum_seq_read_reqs, symDgList=symDgList, symShowPort1_status=symShowPort1_status, analyzerFilesListEntry=analyzerFilesListEntry, devShowDirector_num=devShowDirector_num, symDevNoDgListTable=symDevNoDgListTable, devShowProduct_rev=devShowProduct_rev, devStatEntry=devStatEntry, implFileCount=implFileCount, emcSymTimefinderInfo=emcSymTimefinderInfo, devstatNum_destaged_tracks=devstatNum_destaged_tracks, mainframeDataSetInformation=mainframeDataSetInformation, symShowMicrocode_version_num=symShowMicrocode_version_num, symShowDirector_ident=symShowDirector_ident, devShowSCSI_method=devShowSCSI_method, pdevstatNum_deferred_writes=pdevstatNum_deferred_writes, analyzerFileName=analyzerFileName, symBcvDevListCountEntry=symBcvDevListCountEntry, discSymapisrv_IP=discSymapisrv_IP, ldevstatNum_deferred_writes=ldevstatNum_deferred_writes, emcSymSumStatus=emcSymSumStatus, devShowMset_M1_type=devShowMset_M1_type, emcSymDevStats=emcSymDevStats, subagentProcessActive=subagentProcessActive, symListCount=symListCount, pdevstatNum_blocks_read=pdevstatNum_blocks_read, symShowDirectorCountEntry=symShowDirectorCountEntry, devShowDev_sym_devname=devShowDev_sym_devname, symShowMicrocode_patch_date=symShowMicrocode_patch_date, devShowLdevname=devShowLdevname, devShowMset_M1_status=devShowMset_M1_status, RDFPairState=RDFPairState, discBCV=discBCV, symShowMax_wr_pend_slots=symShowMax_wr_pend_slots, dirstatNum_rw_hits=dirstatNum_rw_hits, devShowDevice_serial_id=devShowDevice_serial_id, emcDeviceStatusTrap=emcDeviceStatusTrap, devShowLink_domino=devShowLink_domino, dgstatNum_prefetched_tracks=dgstatNum_prefetched_tracks, devShowDev_rdf_type=devShowDev_rdf_type, DeviceType=DeviceType, clientListMaintenanceFrequency=clientListMaintenanceFrequency, devstatDevice_max_wp_limit=devstatDevice_max_wp_limit, analyzerFileCount=analyzerFileCount, symmEventTime=symmEventTime, mainframeVariables=mainframeVariables, symPDevListEntry=symPDevListEntry, symLDevListEntry=symLDevListEntry, initChecksum=initChecksum, dvhoaddrBuffer=dvhoaddrBuffer, symShowPort0_status=symShowPort0_status, analyzerTopFileSavePolicy=analyzerTopFileSavePolicy, emcSymStatistics=emcSymStatistics, devShowMset_M4_status=devShowMset_M4_status, emcSymMvsLUNNumber=emcSymMvsLUNNumber, raDirStatEntry=raDirStatEntry, symShowCache_size=symShowCache_size, dgstatNum_destaged_tracks=dgstatNum_destaged_tracks, devstatNum_delayed_dfw=devstatNum_delayed_dfw, symShowNum_powerpath_devs=symShowNum_powerpath_devs, symShowDirectorCount=symShowDirectorCount, dirstatSANum_slot_collisions=dirstatSANum_slot_collisions, sysinfoBuffer=sysinfoBuffer, syscodesNumberofRecords=syscodesNumberofRecords, symAPI=symAPI, subagentSymmetrixSerialNumber=subagentSymmetrixSerialNumber, symRemoteListCount=symRemoteListCount, syscodesFirstRecordNumber=syscodesFirstRecordNumber, devShowDirector_ident=devShowDirector_ident, systemCodesEntry=systemCodesEntry, dvhoaddrNumberofRecords=dvhoaddrNumberofRecords, symShowNum_disks=symShowNum_disks, devShowRdf_domino=devShowRdf_domino, symShowScsi_capability=symShowScsi_capability, dvhoaddrPortADeviceAddress=dvhoaddrPortADeviceAddress, emcSymPortStats=emcSymPortStats, dadcnfigMirror1Director=dadcnfigMirror1Director, emcSymmetrix=emcSymmetrix, symmEventSeverity=symmEventSeverity, devShowRemote_symid=devShowRemote_symid, implMTPF=implMTPF, devShowRemote_dev_rdf_state=devShowRemote_dev_rdf_state)
mibBuilder.exportSymbols('EMC-MIB', symLDevListCountTable=symLDevListCountTable, devShowMset_M2_invalid_tracks=devShowMset_M2_invalid_tracks, devShowSuspend_state=devShowSuspend_state, informational=informational, pDevStatTable=pDevStatTable, symGateListCountEntry=symGateListCountEntry, symGateListCount=symGateListCount, symListEntry=symListEntry, symstatDevice_max_wp_limit=symstatDevice_max_wp_limit, symBcvPDevListTable=symBcvPDevListTable, initMTPF=initMTPF, symShowAPI_version=symShowAPI_version, discoveryTable=discoveryTable, symShowConfig_checksum=symShowConfig_checksum, ldevstatNum_prefetched_tracks=ldevstatNum_prefetched_tracks, symShowPrevent_auto_link_recovery=symShowPrevent_auto_link_recovery, symDgListTable=symDgListTable, symPDevListCountTable=symPDevListCountTable, devShowBcvdev_sym_devname=devShowBcvdev_sym_devname, ldevstatNum_sym_timeslices=ldevstatNum_sym_timeslices, systemInfoHeaderEntry=systemInfoHeaderEntry, devShowLun=devShowLun, symShowMax_da_wr_pend_slots=symShowMax_da_wr_pend_slots, discoveryTbl=discoveryTbl, devShowRdf_mode=devShowRdf_mode, esmVariablePacketSize=esmVariablePacketSize, dgstatNum_rw_hits=dgstatNum_rw_hits, sysinfoMemorySize=sysinfoMemorySize, symList=symList, dirstatTime_stamp=dirstatTime_stamp, symmEventIndex=symmEventIndex, symStatEntry=symStatEntry, discCapacity=discCapacity, systemInformation=systemInformation, discRDF=discRDF, dvhoaddrFirstRecordNumber=dvhoaddrFirstRecordNumber, devShowDev_cylinders=devShowDev_cylinders, symPDevListCountEntry=symPDevListCountEntry, symShowNum_da_volumes=symShowNum_da_volumes, ldevstatNum_blocks_written=ldevstatNum_blocks_written, dvhoaddrRecordSize=dvhoaddrRecordSize, discModel=discModel, initVersion=initVersion, deviceHostAddressConfigurationEntry=deviceHostAddressConfigurationEntry, dirstatRANum_read_misses=dirstatRANum_read_misses, devstatTime_stamp=devstatTime_stamp, dirstatRANum_slot_collisions=dirstatRANum_slot_collisions, symGateListEntry=symGateListEntry, pdevstatNum_sym_timeslices=pdevstatNum_sym_timeslices, symShowDirectorConfigurationTable=symShowDirectorConfigurationTable, symShowDirector_status=symShowDirector_status, dadcnfigDeviceRecordsTable=dadcnfigDeviceRecordsTable, dvhoaddrPortAType=dvhoaddrPortAType, symBcvPDevList=symBcvPDevList, symBcvPDeviceName=symBcvPDeviceName, emcSymRdfMaint=emcSymRdfMaint, symLDevListCount=symLDevListCount, symRemoteListTable=symRemoteListTable, symAPIShow=symAPIShow, StateValues=StateValues, bcvDeviceName=bcvDeviceName, implDate=implDate, dgstatNum_sym_timeslices=dgstatNum_sym_timeslices, symLDevList=symLDevList, escnDate=escnDate, emcRatiosOutofRangeTrap=emcRatiosOutofRangeTrap, symShowConfiguration=symShowConfiguration, dgstatNum_blocks_read=dgstatNum_blocks_read, devShowRDFInfoTable=devShowRDFInfoTable, devShowDirector_port_num=devShowDirector_port_num, discoveryTrapPort=discoveryTrapPort, devShowMset_M4_invalid_tracks=devShowMset_M4_invalid_tracks, symDevList=symDevList, devstatNum_format_pend_tracks=devstatNum_format_pend_tracks, emc=emc, sysinfoNumberofRecords=sysinfoNumberofRecords, devShowSym_devname=devShowSym_devname, sysinfoRecordsEntry=sysinfoRecordsEntry, devShowPrevent_ra_online_upon_pwron=devShowPrevent_ra_online_upon_pwron, discoveryTableSize=discoveryTableSize, ldevstatNum_read_hits=ldevstatNum_read_hits, dirPortStatistics=dirPortStatistics, systemCodesTable=systemCodesTable, devShowDev_link_status=devShowDev_link_status, escnVersion=escnVersion, esmVariables=esmVariables, dirstatDANum_pf_long_misses=dirstatDANum_pf_long_misses, symGateList=symGateList, DeviceEmulation=DeviceEmulation, discovery=discovery, emcSymMvsBuildStatus=emcSymMvsBuildStatus, devShowDev_serial_id=devShowDev_serial_id, symBcvPDevListCountEntry=symBcvPDevListCountEntry, dadcnfigNumberofRecords=dadcnfigNumberofRecords, dirstatNum_write_reqs=dirstatNum_write_reqs, pdevstatNum_rw_hits=pdevstatNum_rw_hits, escnMTPF=escnMTPF, symShowMicrocode_patch_level=symShowMicrocode_patch_level, devShowDev_ra_status=devShowDev_ra_status, emulChecksum=emulChecksum, devShowConfigurationEntry=devShowConfigurationEntry, pdevstatNum_destaged_tracks=pdevstatNum_destaged_tracks, discChecksum=discChecksum, emcSymDir=emcSymDir, dvhoaddrPortCDeviceAddress=dvhoaddrPortCDeviceAddress, devShowMset_M2_status=devShowMset_M2_status, devstatNum_prefetched_tracks=devstatNum_prefetched_tracks, dgStatTable=dgStatTable, symmEventTable=symmEventTable, deviceHostAddressConfigurationTable=deviceHostAddressConfigurationTable, escnCodeType=escnCodeType, dvhoaddrPortCType=dvhoaddrPortCType, dirstatNum_permacache_reqs=dirstatNum_permacache_reqs, daDirStatTable=daDirStatTable, ldevstatNum_rw_reqs=ldevstatNum_rw_reqs, devShowMset_M3_invalid_tracks=devShowMset_M3_invalid_tracks, discEventCurrID=discEventCurrID, devShowBcvdev_dgname=devShowBcvdev_dgname, emcSymWinConfig=emcSymWinConfig, emcRatiosOutofRange=emcRatiosOutofRange, symstatNum_blocks_written=symstatNum_blocks_written, ldevstatNum_read_reqs=ldevstatNum_read_reqs, portstatNum_blocks_read_and_written=portstatNum_blocks_read_and_written, symShowLast_fast_ipl_time=symShowLast_fast_ipl_time, symstatNum_prefetched_tracks=symstatNum_prefetched_tracks, dirstatDANum_pf_tracks_used=dirstatDANum_pf_tracks_used, subagentInformation=subagentInformation, pdevstatNum_blocks_written=pdevstatNum_blocks_written, directorStatEntry=directorStatEntry, symDevNoDgListCountTable=symDevNoDgListCountTable, RDFAdaptiveCopy=RDFAdaptiveCopy, symPDevNoDgListEntry=symPDevNoDgListEntry, symShowPort2_status=symShowPort2_status, symShowSlot_num=symShowSlot_num, symPDevNoDgListCount=symPDevNoDgListCount, dirstatNum_rw_reqs=dirstatNum_rw_reqs, dvhoaddrMaxRecords=dvhoaddrMaxRecords, dvhoaddrDirectorNumber=dvhoaddrDirectorNumber, initCodeType=initCodeType, syscodesDirectorNum=syscodesDirectorNum, devShowConsistency_state=devShowConsistency_state, symShowMicrocode_date=symShowMicrocode_date, symShowNum_symdevs=symShowNum_symdevs, symstatNum_free_permacache_slots=symstatNum_free_permacache_slots, dgstatTime_stamp=dgstatTime_stamp, devShowTid=devShowTid, devShowDev_sa_status=devShowDev_sa_status, symRemoteList=symRemoteList, dvhoaddrPortBType=dvhoaddrPortBType, discConfigDate=discConfigDate, pdevstatNum_write_hits=pdevstatNum_write_hits, symDevNoDgDeviceName=symDevNoDgDeviceName, dirStatPortCountEntry=dirStatPortCountEntry, dgstatNum_read_reqs=dgstatNum_read_reqs, checksumTestFrequency=checksumTestFrequency, symRemoteListEntry=symRemoteListEntry, symPDevNoDgListCountTable=symPDevNoDgListCountTable, mfDataSetInformation=mfDataSetInformation, symDevNoDgListCountEntry=symDevNoDgListCountEntry, symShowSymid=symShowSymid, sysinfoRecordsTable=sysinfoRecordsTable, dgstatNum_write_reqs=dgstatNum_write_reqs, symDeviceName=symDeviceName, dirPortStatPortCount=dirPortStatPortCount, symstatNum_sa_read_reqs=symstatNum_sa_read_reqs, symShowNum_ports=symShowNum_ports, symShowPDevCount=symShowPDevCount, symShowDirectorConfigurationEntry=symShowDirectorConfigurationEntry, analyzerFileSize=analyzerFileSize, dgstatNum_rw_reqs=dgstatNum_rw_reqs, devShowNum_r2_invalid_tracks=devShowNum_r2_invalid_tracks, trapTestFrequency=trapTestFrequency, mainframeDiskInformation=mainframeDiskInformation, dirstatRANum_device_wp_disconnects=dirstatRANum_device_wp_disconnects, symShowDirector_type=symShowDirector_type, dirstatDANum_pf_short_misses=dirstatDANum_pf_short_misses, discoveryTableChange=discoveryTableChange, discRawDevice=discRawDevice, dadcnfigDeviceRecordsEntry=dadcnfigDeviceRecordsEntry, symAPIList=symAPIList, devShowBcvdev_serial_id=devShowBcvdev_serial_id, devstatNum_write_hits=devstatNum_write_hits, control=control, symShowRemote_ra_group_num=symShowRemote_ra_group_num, agentType=agentType, dgstatNum_blocks_written=dgstatNum_blocks_written, symmEvent=symmEvent, agentAdministration=agentAdministration, dirstatRANum_system_wp_disconnects=dirstatRANum_system_wp_disconnects, symDevListCountEntry=symDevListCountEntry, sysinfoRecordSize=sysinfoRecordSize, pdevstatNum_read_hits=pdevstatNum_read_hits, emcSymSRDFInfo=emcSymSRDFInfo, syscodesDirectorType=syscodesDirectorType, emcSymCnfg=emcSymCnfg, symShowPDeviceName=symShowPDeviceName, devShowRemote_sym_devname=devShowRemote_sym_devname, devShowDev_capacity=devShowDev_capacity, ldevstatNum_wp_tracks=ldevstatNum_wp_tracks, remoteSerialNumber=remoteSerialNumber, devstatNum_rw_hits=devstatNum_rw_hits, dvhoaddrSymmNumber=dvhoaddrSymmNumber, devShowEmulation=devShowEmulation, DirectorType=DirectorType, daDirStatEntry=daDirStatEntry, dadcnfigMirror4Interface=dadcnfigMirror4Interface, dvhoaddrMetaFlags=dvhoaddrMetaFlags, symPDevNoDgDeviceName=symPDevNoDgDeviceName, RDFMode=RDFMode, SCSIWidth=SCSIWidth, devShowDirector_slot_num=devShowDirector_slot_num, pdevstatNum_wp_tracks=pdevstatNum_wp_tracks, mibRevision=mibRevision, syscodesRecordSize=syscodesRecordSize, ldevstatNum_destaged_tracks=ldevstatNum_destaged_tracks, lDevStatTable=lDevStatTable, emcSymDiskCfg=emcSymDiskCfg, symShowRemote_symid=symShowRemote_symid, devShowDgname=devShowDgname, symstatNum_read_reqs=symstatNum_read_reqs, devShowDirector_port_status=devShowDirector_port_status, symDgListCount=symDgListCount, systemCodes=systemCodes, symShowDb_sync_time=symShowDb_sync_time, emcSymSumStatusErrorCodes=emcSymSumStatusErrorCodes, devStatTable=devStatTable, devstatNum_blocks_read=devstatNum_blocks_read, ldevstatDevice_max_wp_limit=ldevstatDevice_max_wp_limit, dirPortStatEntry=dirPortStatEntry, emcSymmetrixStatusTrap=emcSymmetrixStatusTrap, symBcvDevListCountTable=symBcvDevListCountTable, dadcnfigMirror4Director=dadcnfigMirror4Director, dadcnfigFirstRecordNumber=dadcnfigFirstRecordNumber, systemInfoHeaderTable=systemInfoHeaderTable, symListTable=symListTable, syscodesBuffer=syscodesBuffer, symBcvDevListEntry=symBcvDevListEntry, dirPortStatTable=dirPortStatTable, symAPIStatistics=symAPIStatistics, discMicrocodeVersion=discMicrocodeVersion, symShowPrevent_ra_online_upon_pwron=symShowPrevent_ra_online_upon_pwron, dvhoaddrFiberChannelAddress=dvhoaddrFiberChannelAddress, symstatNum_sa_write_reqs=symstatNum_sa_write_reqs, pDevStatEntry=pDevStatEntry, symstatNum_rw_hits=symstatNum_rw_hits, dadcnfigMirror2Interface=dadcnfigMirror2Interface, statusCheckFrequency=statusCheckFrequency, dirstatDANum_pf_mismatches=dirstatDANum_pf_mismatches, emulFileCount=emulFileCount, devstatNum_write_reqs=devstatNum_write_reqs, esmSNMPRequestPort=esmSNMPRequestPort, dvhoaddrPortDType=dvhoaddrPortDType, raDirStatTable=raDirStatTable, RDFType=RDFType)
mibBuilder.exportSymbols('EMC-MIB', symBcvDevList=symBcvDevList, analyzerFileRuntime=analyzerFileRuntime, directorStatTable=directorStatTable, dadcnfigMaxRecords=dadcnfigMaxRecords, subagentInfo=subagentInfo, ldevstatNum_format_pend_tracks=ldevstatNum_format_pend_tracks, dgStatEntry=dgStatEntry, dadcnfigBuffer=dadcnfigBuffer, sysinfoMaxRecords=sysinfoMaxRecords, symBcvPDevListCountTable=symBcvPDevListCountTable, devShowProduct_id=devShowProduct_id, pdevstatNum_delayed_dfw=pdevstatNum_delayed_dfw, devShowBcv_pair_state=devShowBcv_pair_state, diskAdapterDeviceConfiguration=diskAdapterDeviceConfiguration, RDFLinkConfig=RDFLinkConfig, pdevstatNum_seq_read_reqs=pdevstatNum_seq_read_reqs, devShowRdf_status=devShowRdf_status, dirstatSANum_system_wp_disconnects=dirstatSANum_system_wp_disconnects, clientListClientExpiration=clientListClientExpiration, devShowMset_M3_type=devShowMset_M3_type, dirstatSANum_device_wp_disconnects=dirstatSANum_device_wp_disconnects, pdevstatNum_write_reqs=pdevstatNum_write_reqs, devShowAdaptive_copy=devShowAdaptive_copy, symDevShow=symDevShow, emulVersion=emulVersion, discIndex=discIndex, ldevstatNum_rw_hits=ldevstatNum_rw_hits, lDeviceName=lDeviceName, serialNumber=serialNumber, implCodeType=implCodeType, symDevListTable=symDevListTable, symShowSDDF_configuration=symShowSDDF_configuration, symPDevListCount=symPDevListCount, dgstatNum_read_hits=dgstatNum_read_hits, devShowMset_M1_invalid_tracks=devShowMset_M1_invalid_tracks, syscodesMaxRecords=syscodesMaxRecords, celerraTCPPort=celerraTCPPort, devstatNum_read_hits=devstatNum_read_hits, subagentConfiguration=subagentConfiguration, devShowDev_parameters=devShowDev_parameters, symstatNum_write_reqs=symstatNum_write_reqs, deviceHostAddressConfiguration=deviceHostAddressConfiguration, activePorts=activePorts, symShowSymmetrix_model=symShowSymmetrix_model, portstatNum_rw_reqs=portstatNum_rw_reqs, dirstatNum_read_reqs=dirstatNum_read_reqs, emcSymmetrixEventTrap=emcSymmetrixEventTrap, clientListRequestExpiration=clientListRequestExpiration, implChecksum=implChecksum, dirStatPortCountTable=dirStatPortCountTable, devShowDev_config=devShowDev_config, symPDevNoDgListTable=symPDevNoDgListTable, analyzerFileIsActive=analyzerFileIsActive, lDevStatEntry=lDevStatEntry, dgstatdevice_max_wp_limit=dgstatdevice_max_wp_limit, discNumEvents=discNumEvents, masterTraceMessagesEnable=masterTraceMessagesEnable, symBcvPDevListEntry=symBcvPDevListEntry, devShowDev_status=devShowDev_status, devstatNum_sym_timeslices=devstatNum_sym_timeslices, ldevstatTime_stamp=ldevstatTime_stamp, symBcvDevListTable=symBcvDevListTable, SCSIMethod=SCSIMethod, dirstatDANum_pf_restarts=dirstatDANum_pf_restarts, mfDiskInformation=mfDiskInformation, devShowRa_group_number=devShowRa_group_number, dgstatNum_wp_tracks=dgstatNum_wp_tracks, devShowNum_bcvdev_invalid_tracks=devShowNum_bcvdev_invalid_tracks, symShowMax_dev_wr_pend_slots=symShowMax_dev_wr_pend_slots, devShowDev_dgname=devShowDev_dgname, sysinfoNumberofDirectors=sysinfoNumberofDirectors, symShowEntry=symShowEntry, devShowNum_dev_invalid_tracks=devShowNum_dev_invalid_tracks, devShowRdf_pair_state=devShowRdf_pair_state, symstatNum_sa_rw_hits=symstatNum_sa_rw_hits, dadcnfigMirror3Director=dadcnfigMirror3Director, devstatNum_read_reqs=devstatNum_read_reqs) |
class IrisAbstract(metaclass=ABCMeta):
@abstractmethod
def mean(self) -> float:
...
@abstractmethod
def sum(self) -> float:
...
@abstractmethod
def len(self) -> int:
...
| class Irisabstract(metaclass=ABCMeta):
@abstractmethod
def mean(self) -> float:
...
@abstractmethod
def sum(self) -> float:
...
@abstractmethod
def len(self) -> int:
... |
class Solution:
def rob(self, nums: List[int]) -> int:
def recur(arr):
memo = {}
def dfs(i):
if i in memo:
return memo[i]
if i >= len(arr):
return 0
cur = max(arr[i] + dfs(i + 2), dfs(i + 1))
memo[i] = cur
return cur
return dfs(0)
return max(nums[0], recur(nums[0:-1]), recur(nums[1:]))
class Solution:
def rob(self, nums: List[int]) -> int:
skip_first = self._helper(nums[1:])
skp_last = self._helper(nums[:-1])
return max(nums[0], skip_first, skp_last)
def _helper(self, nums: List[int]) -> int:
one = 0
two = 0
for n in nums:
tmp = two
two = max(one + n, two)
one = tmp
return two
| class Solution:
def rob(self, nums: List[int]) -> int:
def recur(arr):
memo = {}
def dfs(i):
if i in memo:
return memo[i]
if i >= len(arr):
return 0
cur = max(arr[i] + dfs(i + 2), dfs(i + 1))
memo[i] = cur
return cur
return dfs(0)
return max(nums[0], recur(nums[0:-1]), recur(nums[1:]))
class Solution:
def rob(self, nums: List[int]) -> int:
skip_first = self._helper(nums[1:])
skp_last = self._helper(nums[:-1])
return max(nums[0], skip_first, skp_last)
def _helper(self, nums: List[int]) -> int:
one = 0
two = 0
for n in nums:
tmp = two
two = max(one + n, two)
one = tmp
return two |
class Solution:
def longestCommonSubsequence(self, text1: str, text2: str) -> int:
dp = [[0]*(len(text2)+1) for _ in range(len(text1)+1)]
m, n = len(text1), len(text2)
for i in range(1, m+1):
for j in range(1, n+1):
if text1[i-1] == text2[j-1]:
dp[i][j] = dp[i-1][j-1] + 1
else:
dp[i][j] = max(dp[i-1][j], dp[i][j-1])
return dp[-1][-1]
'''
Success
Details
Runtime: 436 ms, faster than 75.74% of Python3
Memory Usage: 21.3 MB, less than 86.28% of Python3
Next challenges:
Delete Operation for Two Strings
Shortest Common Supersequence
Other DP+String combiantion problems (non premium)
with similar pattern or involving LCS as intermediate step
edit distance - https://leetcode.com/problems/edit-distance/
regex matching - https://leetcode.com/problems/regular-expression-matching/
wildcard matching - https://leetcode.com/problems/wildcard-matching/
shortest common supersequence (solution involves a LCS step)
- https://leetcode.com/problems/shortest-common-supersequence
Longest Palindrome Subsequence (could be solved using LCS)
- https://leetcode.com/problems/longest-palindromic-subsequence/
If someone is finding hard to understand logic,
just be patient and go through
https://www.cs.umd.edu/users/meesh/cmsc351/mount/lectures/lect25-longest-common-subseq.pdf.
Believe me you'll never forget this concept ever.
'''
| class Solution:
def longest_common_subsequence(self, text1: str, text2: str) -> int:
dp = [[0] * (len(text2) + 1) for _ in range(len(text1) + 1)]
(m, n) = (len(text1), len(text2))
for i in range(1, m + 1):
for j in range(1, n + 1):
if text1[i - 1] == text2[j - 1]:
dp[i][j] = dp[i - 1][j - 1] + 1
else:
dp[i][j] = max(dp[i - 1][j], dp[i][j - 1])
return dp[-1][-1]
"\nSuccess\nDetails\nRuntime: 436 ms, faster than 75.74% of Python3\nMemory Usage: 21.3 MB, less than 86.28% of Python3\nNext challenges:\nDelete Operation for Two Strings\nShortest Common Supersequence\n\nOther DP+String combiantion problems (non premium)\nwith similar pattern or involving LCS as intermediate step\n\nedit distance - https://leetcode.com/problems/edit-distance/\nregex matching - https://leetcode.com/problems/regular-expression-matching/\nwildcard matching - https://leetcode.com/problems/wildcard-matching/\nshortest common supersequence (solution involves a LCS step)\n - https://leetcode.com/problems/shortest-common-supersequence\nLongest Palindrome Subsequence (could be solved using LCS)\n- https://leetcode.com/problems/longest-palindromic-subsequence/\n\nIf someone is finding hard to understand logic,\njust be patient and go through\n https://www.cs.umd.edu/users/meesh/cmsc351/mount/lectures/lect25-longest-common-subseq.pdf.\n Believe me you'll never forget this concept ever.\n" |
tail = input()
body = input()
head = input()
animal = [head, body, tail]
print(animal)
| tail = input()
body = input()
head = input()
animal = [head, body, tail]
print(animal) |
ngroups = int(input())
for i in range(ngroups):
bef = '0.0'
while True:
act = input()
if act == '0':
break
if act.find('.') == -1:
act += '.0'
nDecAct = len(act) - act.find('.') - 1
nDecBef = len(bef) - bef.find('.') - 1
decimalsAfter = max(nDecBef, nDecAct)
zeroesToContatBef = decimalsAfter - nDecBef
zeroesToContatAct = decimalsAfter - nDecAct
bef += '0' * zeroesToContatBef
act += '0' * zeroesToContatAct
bef = bef.replace('.', '')
act = act.replace('.', '')
addition = str(int(bef) + int(act))
floatPart = addition[-1 * decimalsAfter:]
floatPart = '0' * (decimalsAfter - len(floatPart)) + floatPart
intPart = addition[:-1 * decimalsAfter]
if intPart == '':
intPart = '0'
bef = intPart + '.' + floatPart
print(bef.rstrip('0').rstrip('.'))
| ngroups = int(input())
for i in range(ngroups):
bef = '0.0'
while True:
act = input()
if act == '0':
break
if act.find('.') == -1:
act += '.0'
n_dec_act = len(act) - act.find('.') - 1
n_dec_bef = len(bef) - bef.find('.') - 1
decimals_after = max(nDecBef, nDecAct)
zeroes_to_contat_bef = decimalsAfter - nDecBef
zeroes_to_contat_act = decimalsAfter - nDecAct
bef += '0' * zeroesToContatBef
act += '0' * zeroesToContatAct
bef = bef.replace('.', '')
act = act.replace('.', '')
addition = str(int(bef) + int(act))
float_part = addition[-1 * decimalsAfter:]
float_part = '0' * (decimalsAfter - len(floatPart)) + floatPart
int_part = addition[:-1 * decimalsAfter]
if intPart == '':
int_part = '0'
bef = intPart + '.' + floatPart
print(bef.rstrip('0').rstrip('.')) |
def part1():
Input = [int(x) for x in open("input.txt").read().split("\n")]
Start = 0
Jumps = {}
while len(Input) != 0:
Smallest = float("inf")
for x in Input:
Smallest = min(Smallest, x-Start)
if Smallest not in Jumps:
Jumps[Smallest] = 1
else:
Jumps[Smallest] += 1
Input.remove(Start+Smallest)
Start = Start+Smallest
Jumps[3] += 1
return Jumps[1] * Jumps[3]
def part2():
pass
print(part1())
print(part2())
| def part1():
input = [int(x) for x in open('input.txt').read().split('\n')]
start = 0
jumps = {}
while len(Input) != 0:
smallest = float('inf')
for x in Input:
smallest = min(Smallest, x - Start)
if Smallest not in Jumps:
Jumps[Smallest] = 1
else:
Jumps[Smallest] += 1
Input.remove(Start + Smallest)
start = Start + Smallest
Jumps[3] += 1
return Jumps[1] * Jumps[3]
def part2():
pass
print(part1())
print(part2()) |
# Adapted from: http://jared.geek.nz/2013/feb/linear-led-pwm
INPUT_SIZE = 255 # Input integer size
OUTPUT_SIZE = 255 # Output integer size
INT_TYPE = 'uint8_t'
TABLE_NAME = 'cie';
def cie1931(L):
L = L*100.0
if L <= 8:
return (L/902.3)
else:
return ((L+16.0)/116.0)**3
x = range(0,int(INPUT_SIZE+1))
brightness = [cie1931(float(L)/INPUT_SIZE) for L in x]
numerator = 1
denominator = 255
on = []
off = []
for bright in brightness:
while float(numerator) / float(denominator) < bright:
if numerator >= 128:
numerator += 1
else:
denominator -= 1
if denominator == 128:
denominator = 255
numerator *= 2
on.append(numerator)
off.append(denominator)
# for i in range(256):
# print on[i], " / ", off[i]
f = open('gamma_correction_table.h', 'w')
f.write('// CIE1931 correction table\n')
f.write('// Automatically generated\n\n')
f.write('%s %s[%d] = {\n' % (INT_TYPE, "on", INPUT_SIZE+1))
f.write('\t')
for i,L in enumerate(on):
f.write('%d, ' % int(L))
if i % 10 == 9:
f.write('\n\t')
f.write('\n};\n\n')
f.write('%s %s[%d] = {\n' % (INT_TYPE, "off", INPUT_SIZE+1))
f.write('\t')
for i,L in enumerate(off):
f.write('%d, ' % int(L))
if i % 10 == 9:
f.write('\n\t')
f.write('\n};\n\n') | input_size = 255
output_size = 255
int_type = 'uint8_t'
table_name = 'cie'
def cie1931(L):
l = L * 100.0
if L <= 8:
return L / 902.3
else:
return ((L + 16.0) / 116.0) ** 3
x = range(0, int(INPUT_SIZE + 1))
brightness = [cie1931(float(L) / INPUT_SIZE) for l in x]
numerator = 1
denominator = 255
on = []
off = []
for bright in brightness:
while float(numerator) / float(denominator) < bright:
if numerator >= 128:
numerator += 1
else:
denominator -= 1
if denominator == 128:
denominator = 255
numerator *= 2
on.append(numerator)
off.append(denominator)
f = open('gamma_correction_table.h', 'w')
f.write('// CIE1931 correction table\n')
f.write('// Automatically generated\n\n')
f.write('%s %s[%d] = {\n' % (INT_TYPE, 'on', INPUT_SIZE + 1))
f.write('\t')
for (i, l) in enumerate(on):
f.write('%d, ' % int(L))
if i % 10 == 9:
f.write('\n\t')
f.write('\n};\n\n')
f.write('%s %s[%d] = {\n' % (INT_TYPE, 'off', INPUT_SIZE + 1))
f.write('\t')
for (i, l) in enumerate(off):
f.write('%d, ' % int(L))
if i % 10 == 9:
f.write('\n\t')
f.write('\n};\n\n') |
#
# PySNMP MIB module HPN-ICF-NVGRE-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HPN-ICF-NVGRE-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:40:39 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, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint")
hpnicfCommon, = mibBuilder.importSymbols("HPN-ICF-OID-MIB", "hpnicfCommon")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
Gauge32, ModuleIdentity, MibIdentifier, Counter64, TimeTicks, NotificationType, Unsigned32, iso, Counter32, IpAddress, ObjectIdentity, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "ModuleIdentity", "MibIdentifier", "Counter64", "TimeTicks", "NotificationType", "Unsigned32", "iso", "Counter32", "IpAddress", "ObjectIdentity", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32")
DisplayString, MacAddress, RowStatus, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "MacAddress", "RowStatus", "TextualConvention")
hpnicfNvgre = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156))
hpnicfNvgre.setRevisions(('2014-03-11 09:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: hpnicfNvgre.setRevisionsDescriptions(('Initial version.',))
if mibBuilder.loadTexts: hpnicfNvgre.setLastUpdated('201403110900Z')
if mibBuilder.loadTexts: hpnicfNvgre.setOrganization('')
if mibBuilder.loadTexts: hpnicfNvgre.setContactInfo('')
if mibBuilder.loadTexts: hpnicfNvgre.setDescription('The NVGRE MIB.')
hpnicfNvgreObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1))
hpnicfNvgreScalarGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 1))
hpnicfNvgreNextNvgreID = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfNvgreNextNvgreID.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreNextNvgreID.setDescription('Next available NVGRE ID(identifier), in the range of 4096 to 16777214. The invalid value 4294967295 indicates that no ID can be set.')
hpnicfNvgreConfigured = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfNvgreConfigured.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreConfigured.setDescription('Number of currently configured NVGREs.')
hpnicfNvgreTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2), )
if mibBuilder.loadTexts: hpnicfNvgreTable.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreTable.setDescription('A table for NVGRE parameters.')
hpnicfNvgreEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2, 1), ).setIndexNames((0, "HPN-ICF-NVGRE-MIB", "hpnicfNvgreID"))
if mibBuilder.loadTexts: hpnicfNvgreEntry.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreEntry.setDescription('Each entry represents the parameters of an NVGRE.')
hpnicfNvgreID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2, 1, 1), Unsigned32())
if mibBuilder.loadTexts: hpnicfNvgreID.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreID.setDescription('The NVGRE ID, in the range of 4096 to 16777214.')
hpnicfNvgreVsiIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2, 1, 2), Unsigned32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfNvgreVsiIndex.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreVsiIndex.setDescription('VSI index. A unique index for the conceptual row identifying a VSI(Virtual Switch Instance) in the hpnicfVsiTable.')
hpnicfNvgreRemoteMacCount = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2, 1, 3), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfNvgreRemoteMacCount.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreRemoteMacCount.setDescription('Remote MAC(Media Access Control) address count of this NVGRE.')
hpnicfNvgreRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfNvgreRowStatus.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreRowStatus.setDescription('Operation status of this table entry. When a row in this table is in active state, no objects in that row can be modified by the agent.')
hpnicfNvgreTunnelTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3), )
if mibBuilder.loadTexts: hpnicfNvgreTunnelTable.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreTunnelTable.setDescription('A table for NVGRE tunnel parameters.')
hpnicfNvgreTunnelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3, 1), ).setIndexNames((0, "HPN-ICF-NVGRE-MIB", "hpnicfNvgreID"), (0, "HPN-ICF-NVGRE-MIB", "hpnicfNvgreTunnelID"))
if mibBuilder.loadTexts: hpnicfNvgreTunnelEntry.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreTunnelEntry.setDescription('Each entry represents the parameters of an NVGRE tunnel.')
hpnicfNvgreTunnelID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3, 1, 1), Unsigned32())
if mibBuilder.loadTexts: hpnicfNvgreTunnelID.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreTunnelID.setDescription('A unique index for tunnel.')
hpnicfNvgreTunnelRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3, 1, 2), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfNvgreTunnelRowStatus.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreTunnelRowStatus.setDescription('Operation status of this table entry.')
hpnicfNvgreTunnelOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3, 1, 3), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfNvgreTunnelOctets.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreTunnelOctets.setDescription('The number of octets that have been forwarded over the tunnel.')
hpnicfNvgreTunnelPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfNvgreTunnelPackets.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreTunnelPackets.setDescription('The number of packets that have been forwarded over the tunnel.')
hpnicfNvgreTunnelBoundTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 4), )
if mibBuilder.loadTexts: hpnicfNvgreTunnelBoundTable.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreTunnelBoundTable.setDescription('A table for the number of NVGREs to which the tunnel is bound.')
hpnicfNvgreTunnelBoundEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 4, 1), ).setIndexNames((0, "HPN-ICF-NVGRE-MIB", "hpnicfNvgreTunnelID"))
if mibBuilder.loadTexts: hpnicfNvgreTunnelBoundEntry.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreTunnelBoundEntry.setDescription('An entry represents the number of NVGREs to which a tunnel is bound.')
hpnicfNvgreTunnelBoundNvgreNum = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 4, 1, 1), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfNvgreTunnelBoundNvgreNum.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreTunnelBoundNvgreNum.setDescription('The number of NVGREs to which this tunnel is bound.')
hpnicfNvgreMacTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 5), )
if mibBuilder.loadTexts: hpnicfNvgreMacTable.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreMacTable.setDescription('A table for NVGRE remote MAC addresses.')
hpnicfNvgreMacEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 5, 1), ).setIndexNames((0, "HPN-ICF-NVGRE-MIB", "hpnicfNvgreVsiIndex"), (0, "HPN-ICF-NVGRE-MIB", "hpnicfNvgreMacAddr"))
if mibBuilder.loadTexts: hpnicfNvgreMacEntry.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreMacEntry.setDescription('An NVGRE remote MAC address.')
hpnicfNvgreMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 5, 1, 1), MacAddress())
if mibBuilder.loadTexts: hpnicfNvgreMacAddr.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreMacAddr.setDescription('MAC address.')
hpnicfNvgreMacTunnelID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 5, 1, 2), Unsigned32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfNvgreMacTunnelID.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreMacTunnelID.setDescription('A unique index for tunnel.')
hpnicfNvgreMacType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("selfLearned", 1), ("staticConfigured", 2), ("protocolLearned", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpnicfNvgreMacType.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreMacType.setDescription('The type of an MAC address.')
hpnicfNvgreStaticMacTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 6), )
if mibBuilder.loadTexts: hpnicfNvgreStaticMacTable.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreStaticMacTable.setDescription('A table for NVGRE static remote MAC addresses.')
hpnicfNvgreStaticMacEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 6, 1), ).setIndexNames((0, "HPN-ICF-NVGRE-MIB", "hpnicfNvgreVsiIndex"), (0, "HPN-ICF-NVGRE-MIB", "hpnicfNvgreStaticMacAddr"))
if mibBuilder.loadTexts: hpnicfNvgreStaticMacEntry.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreStaticMacEntry.setDescription('An NVGRE static MAC address.')
hpnicfNvgreStaticMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 6, 1, 1), MacAddress())
if mibBuilder.loadTexts: hpnicfNvgreStaticMacAddr.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreStaticMacAddr.setDescription('Static MAC address.')
hpnicfNvgreStaticMacTunnelID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 6, 1, 2), Unsigned32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfNvgreStaticMacTunnelID.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreStaticMacTunnelID.setDescription('A unique index for tunnel.')
hpnicfNvgreStaticMacRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 6, 1, 3), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpnicfNvgreStaticMacRowStatus.setStatus('current')
if mibBuilder.loadTexts: hpnicfNvgreStaticMacRowStatus.setDescription('Operation status of this table entry. When a row in this table is in active state, no objects in that row can be modified by the agent.')
mibBuilder.exportSymbols("HPN-ICF-NVGRE-MIB", hpnicfNvgreTunnelBoundNvgreNum=hpnicfNvgreTunnelBoundNvgreNum, hpnicfNvgreStaticMacTable=hpnicfNvgreStaticMacTable, hpnicfNvgreEntry=hpnicfNvgreEntry, hpnicfNvgreTunnelBoundTable=hpnicfNvgreTunnelBoundTable, PYSNMP_MODULE_ID=hpnicfNvgre, hpnicfNvgreTunnelID=hpnicfNvgreTunnelID, hpnicfNvgreTunnelPackets=hpnicfNvgreTunnelPackets, hpnicfNvgreRowStatus=hpnicfNvgreRowStatus, hpnicfNvgreTunnelEntry=hpnicfNvgreTunnelEntry, hpnicfNvgreMacType=hpnicfNvgreMacType, hpnicfNvgreID=hpnicfNvgreID, hpnicfNvgreScalarGroup=hpnicfNvgreScalarGroup, hpnicfNvgreMacTable=hpnicfNvgreMacTable, hpnicfNvgreRemoteMacCount=hpnicfNvgreRemoteMacCount, hpnicfNvgre=hpnicfNvgre, hpnicfNvgreConfigured=hpnicfNvgreConfigured, hpnicfNvgreMacEntry=hpnicfNvgreMacEntry, hpnicfNvgreStaticMacAddr=hpnicfNvgreStaticMacAddr, hpnicfNvgreStaticMacRowStatus=hpnicfNvgreStaticMacRowStatus, hpnicfNvgreTunnelTable=hpnicfNvgreTunnelTable, hpnicfNvgreTunnelOctets=hpnicfNvgreTunnelOctets, hpnicfNvgreTable=hpnicfNvgreTable, hpnicfNvgreMacAddr=hpnicfNvgreMacAddr, hpnicfNvgreMacTunnelID=hpnicfNvgreMacTunnelID, hpnicfNvgreStaticMacEntry=hpnicfNvgreStaticMacEntry, hpnicfNvgreTunnelBoundEntry=hpnicfNvgreTunnelBoundEntry, hpnicfNvgreVsiIndex=hpnicfNvgreVsiIndex, hpnicfNvgreStaticMacTunnelID=hpnicfNvgreStaticMacTunnelID, hpnicfNvgreObjects=hpnicfNvgreObjects, hpnicfNvgreNextNvgreID=hpnicfNvgreNextNvgreID, hpnicfNvgreTunnelRowStatus=hpnicfNvgreTunnelRowStatus)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', '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')
(hpnicf_common,) = mibBuilder.importSymbols('HPN-ICF-OID-MIB', 'hpnicfCommon')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(gauge32, module_identity, mib_identifier, counter64, time_ticks, notification_type, unsigned32, iso, counter32, ip_address, object_identity, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'ModuleIdentity', 'MibIdentifier', 'Counter64', 'TimeTicks', 'NotificationType', 'Unsigned32', 'iso', 'Counter32', 'IpAddress', 'ObjectIdentity', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32')
(display_string, mac_address, row_status, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'MacAddress', 'RowStatus', 'TextualConvention')
hpnicf_nvgre = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156))
hpnicfNvgre.setRevisions(('2014-03-11 09:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
hpnicfNvgre.setRevisionsDescriptions(('Initial version.',))
if mibBuilder.loadTexts:
hpnicfNvgre.setLastUpdated('201403110900Z')
if mibBuilder.loadTexts:
hpnicfNvgre.setOrganization('')
if mibBuilder.loadTexts:
hpnicfNvgre.setContactInfo('')
if mibBuilder.loadTexts:
hpnicfNvgre.setDescription('The NVGRE MIB.')
hpnicf_nvgre_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1))
hpnicf_nvgre_scalar_group = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 1))
hpnicf_nvgre_next_nvgre_id = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 1, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfNvgreNextNvgreID.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreNextNvgreID.setDescription('Next available NVGRE ID(identifier), in the range of 4096 to 16777214. The invalid value 4294967295 indicates that no ID can be set.')
hpnicf_nvgre_configured = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 1, 2), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfNvgreConfigured.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreConfigured.setDescription('Number of currently configured NVGREs.')
hpnicf_nvgre_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2))
if mibBuilder.loadTexts:
hpnicfNvgreTable.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreTable.setDescription('A table for NVGRE parameters.')
hpnicf_nvgre_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2, 1)).setIndexNames((0, 'HPN-ICF-NVGRE-MIB', 'hpnicfNvgreID'))
if mibBuilder.loadTexts:
hpnicfNvgreEntry.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreEntry.setDescription('Each entry represents the parameters of an NVGRE.')
hpnicf_nvgre_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2, 1, 1), unsigned32())
if mibBuilder.loadTexts:
hpnicfNvgreID.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreID.setDescription('The NVGRE ID, in the range of 4096 to 16777214.')
hpnicf_nvgre_vsi_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2, 1, 2), unsigned32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfNvgreVsiIndex.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreVsiIndex.setDescription('VSI index. A unique index for the conceptual row identifying a VSI(Virtual Switch Instance) in the hpnicfVsiTable.')
hpnicf_nvgre_remote_mac_count = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2, 1, 3), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfNvgreRemoteMacCount.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreRemoteMacCount.setDescription('Remote MAC(Media Access Control) address count of this NVGRE.')
hpnicf_nvgre_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 2, 1, 4), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfNvgreRowStatus.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreRowStatus.setDescription('Operation status of this table entry. When a row in this table is in active state, no objects in that row can be modified by the agent.')
hpnicf_nvgre_tunnel_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3))
if mibBuilder.loadTexts:
hpnicfNvgreTunnelTable.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelTable.setDescription('A table for NVGRE tunnel parameters.')
hpnicf_nvgre_tunnel_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3, 1)).setIndexNames((0, 'HPN-ICF-NVGRE-MIB', 'hpnicfNvgreID'), (0, 'HPN-ICF-NVGRE-MIB', 'hpnicfNvgreTunnelID'))
if mibBuilder.loadTexts:
hpnicfNvgreTunnelEntry.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelEntry.setDescription('Each entry represents the parameters of an NVGRE tunnel.')
hpnicf_nvgre_tunnel_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3, 1, 1), unsigned32())
if mibBuilder.loadTexts:
hpnicfNvgreTunnelID.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelID.setDescription('A unique index for tunnel.')
hpnicf_nvgre_tunnel_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3, 1, 2), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelRowStatus.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelRowStatus.setDescription('Operation status of this table entry.')
hpnicf_nvgre_tunnel_octets = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3, 1, 3), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelOctets.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelOctets.setDescription('The number of octets that have been forwarded over the tunnel.')
hpnicf_nvgre_tunnel_packets = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 3, 1, 4), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelPackets.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelPackets.setDescription('The number of packets that have been forwarded over the tunnel.')
hpnicf_nvgre_tunnel_bound_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 4))
if mibBuilder.loadTexts:
hpnicfNvgreTunnelBoundTable.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelBoundTable.setDescription('A table for the number of NVGREs to which the tunnel is bound.')
hpnicf_nvgre_tunnel_bound_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 4, 1)).setIndexNames((0, 'HPN-ICF-NVGRE-MIB', 'hpnicfNvgreTunnelID'))
if mibBuilder.loadTexts:
hpnicfNvgreTunnelBoundEntry.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelBoundEntry.setDescription('An entry represents the number of NVGREs to which a tunnel is bound.')
hpnicf_nvgre_tunnel_bound_nvgre_num = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 4, 1, 1), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelBoundNvgreNum.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreTunnelBoundNvgreNum.setDescription('The number of NVGREs to which this tunnel is bound.')
hpnicf_nvgre_mac_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 5))
if mibBuilder.loadTexts:
hpnicfNvgreMacTable.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreMacTable.setDescription('A table for NVGRE remote MAC addresses.')
hpnicf_nvgre_mac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 5, 1)).setIndexNames((0, 'HPN-ICF-NVGRE-MIB', 'hpnicfNvgreVsiIndex'), (0, 'HPN-ICF-NVGRE-MIB', 'hpnicfNvgreMacAddr'))
if mibBuilder.loadTexts:
hpnicfNvgreMacEntry.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreMacEntry.setDescription('An NVGRE remote MAC address.')
hpnicf_nvgre_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 5, 1, 1), mac_address())
if mibBuilder.loadTexts:
hpnicfNvgreMacAddr.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreMacAddr.setDescription('MAC address.')
hpnicf_nvgre_mac_tunnel_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 5, 1, 2), unsigned32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfNvgreMacTunnelID.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreMacTunnelID.setDescription('A unique index for tunnel.')
hpnicf_nvgre_mac_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('selfLearned', 1), ('staticConfigured', 2), ('protocolLearned', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpnicfNvgreMacType.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreMacType.setDescription('The type of an MAC address.')
hpnicf_nvgre_static_mac_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 6))
if mibBuilder.loadTexts:
hpnicfNvgreStaticMacTable.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreStaticMacTable.setDescription('A table for NVGRE static remote MAC addresses.')
hpnicf_nvgre_static_mac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 6, 1)).setIndexNames((0, 'HPN-ICF-NVGRE-MIB', 'hpnicfNvgreVsiIndex'), (0, 'HPN-ICF-NVGRE-MIB', 'hpnicfNvgreStaticMacAddr'))
if mibBuilder.loadTexts:
hpnicfNvgreStaticMacEntry.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreStaticMacEntry.setDescription('An NVGRE static MAC address.')
hpnicf_nvgre_static_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 6, 1, 1), mac_address())
if mibBuilder.loadTexts:
hpnicfNvgreStaticMacAddr.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreStaticMacAddr.setDescription('Static MAC address.')
hpnicf_nvgre_static_mac_tunnel_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 6, 1, 2), unsigned32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfNvgreStaticMacTunnelID.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreStaticMacTunnelID.setDescription('A unique index for tunnel.')
hpnicf_nvgre_static_mac_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 15, 2, 156, 1, 6, 1, 3), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpnicfNvgreStaticMacRowStatus.setStatus('current')
if mibBuilder.loadTexts:
hpnicfNvgreStaticMacRowStatus.setDescription('Operation status of this table entry. When a row in this table is in active state, no objects in that row can be modified by the agent.')
mibBuilder.exportSymbols('HPN-ICF-NVGRE-MIB', hpnicfNvgreTunnelBoundNvgreNum=hpnicfNvgreTunnelBoundNvgreNum, hpnicfNvgreStaticMacTable=hpnicfNvgreStaticMacTable, hpnicfNvgreEntry=hpnicfNvgreEntry, hpnicfNvgreTunnelBoundTable=hpnicfNvgreTunnelBoundTable, PYSNMP_MODULE_ID=hpnicfNvgre, hpnicfNvgreTunnelID=hpnicfNvgreTunnelID, hpnicfNvgreTunnelPackets=hpnicfNvgreTunnelPackets, hpnicfNvgreRowStatus=hpnicfNvgreRowStatus, hpnicfNvgreTunnelEntry=hpnicfNvgreTunnelEntry, hpnicfNvgreMacType=hpnicfNvgreMacType, hpnicfNvgreID=hpnicfNvgreID, hpnicfNvgreScalarGroup=hpnicfNvgreScalarGroup, hpnicfNvgreMacTable=hpnicfNvgreMacTable, hpnicfNvgreRemoteMacCount=hpnicfNvgreRemoteMacCount, hpnicfNvgre=hpnicfNvgre, hpnicfNvgreConfigured=hpnicfNvgreConfigured, hpnicfNvgreMacEntry=hpnicfNvgreMacEntry, hpnicfNvgreStaticMacAddr=hpnicfNvgreStaticMacAddr, hpnicfNvgreStaticMacRowStatus=hpnicfNvgreStaticMacRowStatus, hpnicfNvgreTunnelTable=hpnicfNvgreTunnelTable, hpnicfNvgreTunnelOctets=hpnicfNvgreTunnelOctets, hpnicfNvgreTable=hpnicfNvgreTable, hpnicfNvgreMacAddr=hpnicfNvgreMacAddr, hpnicfNvgreMacTunnelID=hpnicfNvgreMacTunnelID, hpnicfNvgreStaticMacEntry=hpnicfNvgreStaticMacEntry, hpnicfNvgreTunnelBoundEntry=hpnicfNvgreTunnelBoundEntry, hpnicfNvgreVsiIndex=hpnicfNvgreVsiIndex, hpnicfNvgreStaticMacTunnelID=hpnicfNvgreStaticMacTunnelID, hpnicfNvgreObjects=hpnicfNvgreObjects, hpnicfNvgreNextNvgreID=hpnicfNvgreNextNvgreID, hpnicfNvgreTunnelRowStatus=hpnicfNvgreTunnelRowStatus) |
image = []
with open('conv0.bb','rb') as f:
pixels = f.read(320 * 160 * 4 * 2)
print(type(pixels))
for pixel in pixels:
image.append(pixel)
print(len(image))
print(max(image))
print(min(image)) | image = []
with open('conv0.bb', 'rb') as f:
pixels = f.read(320 * 160 * 4 * 2)
print(type(pixels))
for pixel in pixels:
image.append(pixel)
print(len(image))
print(max(image))
print(min(image)) |
print ("Hello world ....! Hi")
count = 10
print("I am at break-point ",count);
count=10*2
print("end ",count)
print ("Hello world")
pr = input("enter your name .!!")
print ("Hello world",pr)
for hooray_counter in range(1, 10):
for hip_counter in range(1, 3):
print ("Hip")
print ("Hooray!!")
while True:
print("this is an infinite loop")
| print('Hello world ....! Hi')
count = 10
print('I am at break-point ', count)
count = 10 * 2
print('end ', count)
print('Hello world')
pr = input('enter your name .!!')
print('Hello world', pr)
for hooray_counter in range(1, 10):
for hip_counter in range(1, 3):
print('Hip')
print('Hooray!!')
while True:
print('this is an infinite loop') |
ofd1 = open('D:\\MyGit\\ML\Data\\x_y_seqindex.csv','r')
ofd2 = open('D:\\MyGit\\ML\Data\\OrderSeq.csv','r')
nfd = open('D:\\MyGit\\ML\Data\\OrderClassificationCheck.txt','w')
orders = []
for i in ofd2:
t = i.strip().split(',')
order,design,classification,seq = t
orders.append(t)
dic = {}
dic[0]='Complex'
dic[1]='Normal'
dic[2]='Simple'
for i in ofd1:
t = i.strip().split()
index,p1,p2,p3 = t
p = [p1,p2,p3]
index_t = p.index(max(p) )
nfd.write('%s\t%s\t%s\t%s\t%s\t%s\t%s\n' %
(orders[int(index)][0], orders[int(index)][2], dic[index_t] ,str(p1),str(p2),str(p3), orders[int(index)][3])) | ofd1 = open('D:\\MyGit\\ML\\Data\\x_y_seqindex.csv', 'r')
ofd2 = open('D:\\MyGit\\ML\\Data\\OrderSeq.csv', 'r')
nfd = open('D:\\MyGit\\ML\\Data\\OrderClassificationCheck.txt', 'w')
orders = []
for i in ofd2:
t = i.strip().split(',')
(order, design, classification, seq) = t
orders.append(t)
dic = {}
dic[0] = 'Complex'
dic[1] = 'Normal'
dic[2] = 'Simple'
for i in ofd1:
t = i.strip().split()
(index, p1, p2, p3) = t
p = [p1, p2, p3]
index_t = p.index(max(p))
nfd.write('%s\t%s\t%s\t%s\t%s\t%s\t%s\n' % (orders[int(index)][0], orders[int(index)][2], dic[index_t], str(p1), str(p2), str(p3), orders[int(index)][3])) |
# from flask import Blueprint, request
# from app.api.utils import good_json_response, bad_json_response
# import requests
# blueprint.route('/add', methods=['POST'])
def test_register():
pass
# url = 'http://localhost:5000/json'
# resp = requests.get(url)
# assert resp.status_code == 200
# assert resp.json()["code"] == 1
# print(resp.text)
# blueprint.route('/delete', methods=['POST'])
def test_delete():
pass
def f():
return 4
def test_function():
assert f() == 4
__all__ = ('blueprint')
| def test_register():
pass
def test_delete():
pass
def f():
return 4
def test_function():
assert f() == 4
__all__ = 'blueprint' |
# -*- coding: utf-8 -*-
class AgendamentoExistenteError(Exception):
def __init__(self, *args, **kwargs):
super(AgendamentoExistenteError, self).__init__(*args, **kwargs)
| class Agendamentoexistenteerror(Exception):
def __init__(self, *args, **kwargs):
super(AgendamentoExistenteError, self).__init__(*args, **kwargs) |
class Slot:
def __init__(self, x, y, paint=False):
self.x = x
self.y = y
self.paint = paint
self.painted = False
self.neigh = set()
self.neigh_count = 0
def __str__(self):
return "%d %d" % (self.x, self.y)
class Grid:
def __init__(self, n_rows, n_collumns):
self.n_rows = n_rows
self.n_collumns = n_collumns
self.grid = [[Slot(x,y) for y in range(n_collumns)] for x in range(n_rows)]
self.paint = []
def print_grid(self, cluster=None):
for line in self.grid:
s = ""
for slot in line:
if cluster != None:
a = False
for c in cluster:
if slot == c.center:
s = s + "X"
a = True
break
if a == True:
continue
if slot.paint:
s = s + "*"
else:
s = s + " "
print(s)
class Cluster:
def __init__(self, center, size):
self.center = center
self.size = size
self.grid = Grid(size, size)
def add_point(self, p):
self.grid.paint.append(p)
def __str__(self):
return "Center: %d %d Size: %d" % (self.center.x, self.center.y, self.size)
def read_input():
N, M = list(map(int, raw_input().split()))
g = Grid(N, M)
for x in xrange(N):
line = list(raw_input())
for y in xrange(len(line)):
if line[y]=="#":
g.grid[x][y].paint = True
g.paint.append(g.grid[x][y])
return g
def make_clusters(g, d):
clusters = []
# Get neighbors to all points
for i in xrange(len(g.grid)):
for m in xrange(len(g.grid[i])):
if g.grid[i][m].paint == True:
g.grid[i][m].neigh.add(g.grid[i][m])
for j in xrange(len(g.paint)):
if g.paint[j].x < g.grid[i][m].x:
continue
elif g.paint[j].x == g.grid[i][m].x and g.paint[j].y < g.grid[i][m].y:
continue
elif g.paint[j].x - g.grid[i][m].x > d:
break
elif abs(g.paint[j].y - g.grid[i][m].y) > d:
continue
else:
g.grid[i][m].neigh.add(g.paint[j])
if g.grid[i][m].paint == True:
g.paint[j].neigh.add(g.grid[i][m])
sorted_points = []
for i in xrange(len(g.grid)):
for m in xrange(len(g.grid[i])):
sorted_points.append(g.grid[i][m])
# Check neigh count
#sorted_points.sort sorted(g.grid, reverse=True, key=lambda p:len(p.neigh))
p = max(sorted_points, key=lambda p:len(p.neigh))
# Build clusters
while True:
if len(p.neigh) > 0:
c = Cluster(p, d)
clusters.append(c)
for s in list(sorted_points):
if s == p:
continue
if p in s.neigh:
s.neigh.remove(p)
for s in list(p.neigh):
c.add_point(s)
if s == p:
continue
for sp in list(sorted_points):
if sp == s or sp == p:
continue
if s in sp.neigh:
sp.neigh.remove(s)
s.neigh = set()
p.neigh = set()
p = max(sorted_points, key=lambda p:len(p.neigh))
else:
break
return clusters
def print_clusters(clusters):
for c in clusters:
print(c)
if __name__ == '__main__':
g = read_input()
#for s in g.paint:
# print("%d %d" % (s.x, s.y))
#print(g.paint)
c = make_clusters(g, 2)
print_clusters(c)
print(len(c))
#g.print_grid(c)
| class Slot:
def __init__(self, x, y, paint=False):
self.x = x
self.y = y
self.paint = paint
self.painted = False
self.neigh = set()
self.neigh_count = 0
def __str__(self):
return '%d %d' % (self.x, self.y)
class Grid:
def __init__(self, n_rows, n_collumns):
self.n_rows = n_rows
self.n_collumns = n_collumns
self.grid = [[slot(x, y) for y in range(n_collumns)] for x in range(n_rows)]
self.paint = []
def print_grid(self, cluster=None):
for line in self.grid:
s = ''
for slot in line:
if cluster != None:
a = False
for c in cluster:
if slot == c.center:
s = s + 'X'
a = True
break
if a == True:
continue
if slot.paint:
s = s + '*'
else:
s = s + ' '
print(s)
class Cluster:
def __init__(self, center, size):
self.center = center
self.size = size
self.grid = grid(size, size)
def add_point(self, p):
self.grid.paint.append(p)
def __str__(self):
return 'Center: %d %d Size: %d' % (self.center.x, self.center.y, self.size)
def read_input():
(n, m) = list(map(int, raw_input().split()))
g = grid(N, M)
for x in xrange(N):
line = list(raw_input())
for y in xrange(len(line)):
if line[y] == '#':
g.grid[x][y].paint = True
g.paint.append(g.grid[x][y])
return g
def make_clusters(g, d):
clusters = []
for i in xrange(len(g.grid)):
for m in xrange(len(g.grid[i])):
if g.grid[i][m].paint == True:
g.grid[i][m].neigh.add(g.grid[i][m])
for j in xrange(len(g.paint)):
if g.paint[j].x < g.grid[i][m].x:
continue
elif g.paint[j].x == g.grid[i][m].x and g.paint[j].y < g.grid[i][m].y:
continue
elif g.paint[j].x - g.grid[i][m].x > d:
break
elif abs(g.paint[j].y - g.grid[i][m].y) > d:
continue
else:
g.grid[i][m].neigh.add(g.paint[j])
if g.grid[i][m].paint == True:
g.paint[j].neigh.add(g.grid[i][m])
sorted_points = []
for i in xrange(len(g.grid)):
for m in xrange(len(g.grid[i])):
sorted_points.append(g.grid[i][m])
p = max(sorted_points, key=lambda p: len(p.neigh))
while True:
if len(p.neigh) > 0:
c = cluster(p, d)
clusters.append(c)
for s in list(sorted_points):
if s == p:
continue
if p in s.neigh:
s.neigh.remove(p)
for s in list(p.neigh):
c.add_point(s)
if s == p:
continue
for sp in list(sorted_points):
if sp == s or sp == p:
continue
if s in sp.neigh:
sp.neigh.remove(s)
s.neigh = set()
p.neigh = set()
p = max(sorted_points, key=lambda p: len(p.neigh))
else:
break
return clusters
def print_clusters(clusters):
for c in clusters:
print(c)
if __name__ == '__main__':
g = read_input()
c = make_clusters(g, 2)
print_clusters(c)
print(len(c)) |
class Solution:
def longestCommonSubsequence(self, text1: str, text2: str) -> int:
dp = [[0]*(len(text1)+1) for _ in range(len(text2)+1)]
for i in range(1, len(text2)+1):
for j in range(1, len(text1)+1):
if text2[i - 1] == text1[j - 1]:
dp[i][j] = 1 + dp[i - 1][j - 1]
else:
dp[i][j] = max(dp[i - 1][j], dp[i][j - 1])
return dp[len(text2)][len(text1)]
sol = Solution()
print(sol.longestCommonSubsequence(text1="abcde", text2="ace"))
| class Solution:
def longest_common_subsequence(self, text1: str, text2: str) -> int:
dp = [[0] * (len(text1) + 1) for _ in range(len(text2) + 1)]
for i in range(1, len(text2) + 1):
for j in range(1, len(text1) + 1):
if text2[i - 1] == text1[j - 1]:
dp[i][j] = 1 + dp[i - 1][j - 1]
else:
dp[i][j] = max(dp[i - 1][j], dp[i][j - 1])
return dp[len(text2)][len(text1)]
sol = solution()
print(sol.longestCommonSubsequence(text1='abcde', text2='ace')) |
#test for primality
def IsPrime(x):
x = abs(int(x))
if x < 2:
return False
if x == 2:
return True
if not x & 1:
return False
for y in range(3, int(x**0.5)+1, 2):
if x % y == 0:
return False
return True
def QuadatricAnswer(a, b, n):
return n**2 + a*n + b
def CountNumberOfPrimes(a, b):
n = 0
while IsPrime(QuadatricAnswer(a,b,n)):
n = n+1
# print("a=%d, b=%d has %d primes" % (a, b, n))
return n
#boundary values
a_min = -999
a_max = 1000
b_min = -999
b_max = 1000
maxNumberOfPrimes = 0
for a in range(a_min, a_max):
for b in range(b_min, b_max): #iterate through possible values
numberOfPrimes = CountNumberOfPrimes(a,b)
if numberOfPrimes > maxNumberOfPrimes:
maxNumberOfPrimes = numberOfPrimes
print('New Max # of %d primes!' % numberOfPrimes)
print('a=%d, b=%d' % (a, b))
print('Product=%d' % (a * b))
| def is_prime(x):
x = abs(int(x))
if x < 2:
return False
if x == 2:
return True
if not x & 1:
return False
for y in range(3, int(x ** 0.5) + 1, 2):
if x % y == 0:
return False
return True
def quadatric_answer(a, b, n):
return n ** 2 + a * n + b
def count_number_of_primes(a, b):
n = 0
while is_prime(quadatric_answer(a, b, n)):
n = n + 1
return n
a_min = -999
a_max = 1000
b_min = -999
b_max = 1000
max_number_of_primes = 0
for a in range(a_min, a_max):
for b in range(b_min, b_max):
number_of_primes = count_number_of_primes(a, b)
if numberOfPrimes > maxNumberOfPrimes:
max_number_of_primes = numberOfPrimes
print('New Max # of %d primes!' % numberOfPrimes)
print('a=%d, b=%d' % (a, b))
print('Product=%d' % (a * b)) |
class NoRecordsFoundError(Exception):
pass
class J2XException(Exception):
pass
| class Norecordsfounderror(Exception):
pass
class J2Xexception(Exception):
pass |
n = int(input())
tl = list(map(int, input().split()))
m = int(input())
sum_time = sum(tl)
for _ in range(m):
p, x = map(int, input().split())
print(sum_time - tl[p-1] + x)
| n = int(input())
tl = list(map(int, input().split()))
m = int(input())
sum_time = sum(tl)
for _ in range(m):
(p, x) = map(int, input().split())
print(sum_time - tl[p - 1] + x) |
class Solution:
def reverseWords(self, s: str) -> str:
list_s = s.split(' ')
for i in range(len(list_s)):
list_s[i] = list_s[i][::-1]
return ' '.join(list_s)
print(Solution().reverseWords("Let's take LeetCode contest"))
| class Solution:
def reverse_words(self, s: str) -> str:
list_s = s.split(' ')
for i in range(len(list_s)):
list_s[i] = list_s[i][::-1]
return ' '.join(list_s)
print(solution().reverseWords("Let's take LeetCode contest")) |
class XmlConverter:
def __init__(self, prefix, method, params):
self.text = ''
self.prefix = prefix
self.method = method
self.params = params
def create_tag(self, parent, elem):
if isinstance(elem, dict):
for key, value in elem.items():
self.text += f'<{self.prefix}:{key}>'
self.create_tag(key, value)
self.text += f'</{self.prefix}:{key}>'
elif isinstance(elem, list):
for value in elem:
self.create_tag(parent, value)
else:
self.text += f'{elem}'
def build_body(self):
self.text += f'<{self.prefix}:{self.method}Request>'
self.create_tag(None, self.params)
self.text += f'</{self.prefix}:{self.method}Request>'
return self.text
def convert_json_to_xml(prefix, method, params):
s = XmlConverter(prefix, method, params)
return s.build_body()
| class Xmlconverter:
def __init__(self, prefix, method, params):
self.text = ''
self.prefix = prefix
self.method = method
self.params = params
def create_tag(self, parent, elem):
if isinstance(elem, dict):
for (key, value) in elem.items():
self.text += f'<{self.prefix}:{key}>'
self.create_tag(key, value)
self.text += f'</{self.prefix}:{key}>'
elif isinstance(elem, list):
for value in elem:
self.create_tag(parent, value)
else:
self.text += f'{elem}'
def build_body(self):
self.text += f'<{self.prefix}:{self.method}Request>'
self.create_tag(None, self.params)
self.text += f'</{self.prefix}:{self.method}Request>'
return self.text
def convert_json_to_xml(prefix, method, params):
s = xml_converter(prefix, method, params)
return s.build_body() |
print('-------------------------------------------------------------------------')
family=['me','sis','Papa','Mummy','Chacha']
print('Now, we will copy family list to a another list')
for i in range(len(family)):
cpy_family=family[1:4]
print(family)
print('--------------------------------------')
print(cpy_family)
print('--------------------------------------')
cpy_family.append('Chachi')
print(cpy_family)
print('thank you')
print('-------------------------------------------------------------------------')
| print('-------------------------------------------------------------------------')
family = ['me', 'sis', 'Papa', 'Mummy', 'Chacha']
print('Now, we will copy family list to a another list')
for i in range(len(family)):
cpy_family = family[1:4]
print(family)
print('--------------------------------------')
print(cpy_family)
print('--------------------------------------')
cpy_family.append('Chachi')
print(cpy_family)
print('thank you')
print('-------------------------------------------------------------------------') |
num = 1
num1 = 10
num2 = 20
num3 = 40
num3 = 30
num4 = 50
| num = 1
num1 = 10
num2 = 20
num3 = 40
num3 = 30
num4 = 50 |
# example_traceback.py
def loader(filename):
fin = open(filenam)
loader("data/result_ab.txt")
| def loader(filename):
fin = open(filenam)
loader('data/result_ab.txt') |
#%%
#https://leetcode.com/problems/divide-two-integers/
#%%
dividend = -2147483648
dividend = -10
divisor = -1
divisor = 3
def divideInt(dividend, divisor):
sign = -1 if dividend * divisor < 0 else 1
if dividend == 0:
return 0
dividend = abs(dividend)
divisor = abs(divisor)
if divisor == 1:
return sign * dividend
remainder = dividend
quotient = 0
remainderOld = 0
while remainder >= 0 and remainderOld != remainder:
remainderOld = remainder
remainder = remainder - divisor
#print(remainder)
quotient += 1
quotient = sign * (quotient - 1)
return quotient
print(divideInt(dividend, divisor))
# %%
| dividend = -2147483648
dividend = -10
divisor = -1
divisor = 3
def divide_int(dividend, divisor):
sign = -1 if dividend * divisor < 0 else 1
if dividend == 0:
return 0
dividend = abs(dividend)
divisor = abs(divisor)
if divisor == 1:
return sign * dividend
remainder = dividend
quotient = 0
remainder_old = 0
while remainder >= 0 and remainderOld != remainder:
remainder_old = remainder
remainder = remainder - divisor
quotient += 1
quotient = sign * (quotient - 1)
return quotient
print(divide_int(dividend, divisor)) |
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
class Counter(object):
''' Stores all the samples for a given counter.
'''
def __init__(self, parent, category, name):
self.parent = parent
self.full_name = category + '.' + name
self.category = category
self.name = name
self.samples = []
self.timestamps = []
self.series_names = []
self.totals = []
self.max_total = 0
self._bounds = None
@property
def min_timestamp(self):
if not self._bounds:
self.UpdateBounds()
return self._bounds[0]
@property
def max_timestamp(self):
if not self._bounds:
self.UpdateBounds()
return self._bounds[1]
@property
def num_series(self):
return len(self.series_names)
@property
def num_samples(self):
return len(self.timestamps)
def UpdateBounds(self):
if self.num_series * self.num_samples != len(self.samples):
raise ValueError(
'Length of samples must be a multiple of length of timestamps.')
self.totals = []
self.max_total = 0
if not len(self.samples):
return
self._bounds = (self.timestamps[0], self.timestamps[-1])
max_total = None
for i in xrange(self.num_samples):
total = 0
for j in xrange(self.num_series):
total += self.samples[i * self.num_series + j]
self.totals.append(total)
if max_total is None or total > max_total:
max_total = total
self.max_total = max_total
| class Counter(object):
""" Stores all the samples for a given counter.
"""
def __init__(self, parent, category, name):
self.parent = parent
self.full_name = category + '.' + name
self.category = category
self.name = name
self.samples = []
self.timestamps = []
self.series_names = []
self.totals = []
self.max_total = 0
self._bounds = None
@property
def min_timestamp(self):
if not self._bounds:
self.UpdateBounds()
return self._bounds[0]
@property
def max_timestamp(self):
if not self._bounds:
self.UpdateBounds()
return self._bounds[1]
@property
def num_series(self):
return len(self.series_names)
@property
def num_samples(self):
return len(self.timestamps)
def update_bounds(self):
if self.num_series * self.num_samples != len(self.samples):
raise value_error('Length of samples must be a multiple of length of timestamps.')
self.totals = []
self.max_total = 0
if not len(self.samples):
return
self._bounds = (self.timestamps[0], self.timestamps[-1])
max_total = None
for i in xrange(self.num_samples):
total = 0
for j in xrange(self.num_series):
total += self.samples[i * self.num_series + j]
self.totals.append(total)
if max_total is None or total > max_total:
max_total = total
self.max_total = max_total |
load("@com_github_reboot_dev_pyprotoc_plugin//:rules.bzl", "create_protoc_plugin_rule")
cc_eventuals_library = create_protoc_plugin_rule(
"@com_github_3rdparty_eventuals_grpc//protoc-gen-eventuals:protoc-gen-eventuals", extensions=(".eventuals.h", ".eventuals.cc")
)
| load('@com_github_reboot_dev_pyprotoc_plugin//:rules.bzl', 'create_protoc_plugin_rule')
cc_eventuals_library = create_protoc_plugin_rule('@com_github_3rdparty_eventuals_grpc//protoc-gen-eventuals:protoc-gen-eventuals', extensions=('.eventuals.h', '.eventuals.cc')) |
class GUIComponent:
def get_surface(self):
return None
def get_position(self):
return None
def initialize(self):
pass | class Guicomponent:
def get_surface(self):
return None
def get_position(self):
return None
def initialize(self):
pass |
__author__ = 'Chirag'
'''iter(<iterable>) = iterator converts
iterable object into in 'iterator' so that
we use can use the next(<iterator>)'''
string = "Hello"
for letter in string:
print(letter)
string_iter = iter(string)
print(next(string_iter))
| __author__ = 'Chirag'
"iter(<iterable>) = iterator converts \niterable object into in 'iterator' so that \nwe use can use the next(<iterator>)"
string = 'Hello'
for letter in string:
print(letter)
string_iter = iter(string)
print(next(string_iter)) |
x = int (input('Digite um numero :'))
for x in range (0,x):
print (x)
if x % 4 == 0:
print ('[{}]'.format(x)) | x = int(input('Digite um numero :'))
for x in range(0, x):
print(x)
if x % 4 == 0:
print('[{}]'.format(x)) |
#try out file I/O
myfile=open("example.txt", "a+")
secondfile=open("python.txt", "r")
for _ in range(4):
print(secondfile.read())
| myfile = open('example.txt', 'a+')
secondfile = open('python.txt', 'r')
for _ in range(4):
print(secondfile.read()) |
def nth_sevenish_number(n):
answer, bit_place = 0, 0
while n > 0:
if n & 1 == 1:
answer += 7 ** bit_place
n >>= 1
bit_place += 1
return answer
# n = 1
# print(nth_sevenish_number(n))
for n in range(1, 10):
print(nth_sevenish_number(n))
| def nth_sevenish_number(n):
(answer, bit_place) = (0, 0)
while n > 0:
if n & 1 == 1:
answer += 7 ** bit_place
n >>= 1
bit_place += 1
return answer
for n in range(1, 10):
print(nth_sevenish_number(n)) |
'''
Find missing no. in array.
'''
def missingNo(arr):
n = len(arr)
sumOfArr = 0
for num in range(0,n):
sumOfArr = sumOfArr + arr[num]
sumOfNno = (n * (n+1)) // 2
missNumber = sumOfNno - sumOfArr
print(missNumber)
arr = [3,0,1]
missingNo(arr)
| """
Find missing no. in array.
"""
def missing_no(arr):
n = len(arr)
sum_of_arr = 0
for num in range(0, n):
sum_of_arr = sumOfArr + arr[num]
sum_of_nno = n * (n + 1) // 2
miss_number = sumOfNno - sumOfArr
print(missNumber)
arr = [3, 0, 1]
missing_no(arr) |
a = "python"
b = "is"
c = "excellent"
d = a[0] + c[0] + a[len(a)-1] + b
print(d)
| a = 'python'
b = 'is'
c = 'excellent'
d = a[0] + c[0] + a[len(a) - 1] + b
print(d) |
# weekdays buttons
WEEKDAY_BUTTON = 'timetable_%(weekday)s_button'
TIMETABLE_BUTTON = 'timetable_%(attendance)s_%(week_parity)s_%(weekday)s_button'
# parameters buttons
NAME = 'name_button'
MAILING = 'mailing_parameters_button'
ATTENDANCE = 'attendance_button'
COURSES = 'courses_parameters_button'
PARAMETERS_RETURN = 'return_parameters_button'
EXIT_PARAMETERS = 'exit_parameters_button'
MAIN_SET = {NAME, MAILING, COURSES, ATTENDANCE, PARAMETERS_RETURN}
# attendance buttons
ATTENDANCE_ONLINE = 'online_attendance_button'
ATTENDANCE_OFFLINE = 'offline_attendance_button'
ATTENDANCE_BOTH = 'both_attendance_button'
ATTENDANCE_SET = {ATTENDANCE_BOTH, ATTENDANCE_OFFLINE, ATTENDANCE_ONLINE}
# everyday message buttons
ALLOW_MAILING = 'allowed_mailing_button'
FORBID_MAILING = 'forbidden_mailing_button'
ENABLE_MAILING_NOTIFICATIONS = 'enabled_notification_mailing_button'
DISABLE_MAILING_NOTIFICATIONS = 'disabled_notification_mailing_button'
TZINFO = 'tz_info_button'
MESSAGE_TIME = 'message_time_button'
MAILING_SET = {ALLOW_MAILING, FORBID_MAILING, ENABLE_MAILING_NOTIFICATIONS, DISABLE_MAILING_NOTIFICATIONS,
MESSAGE_TIME, TZINFO}
# courses buttons
OS_TYPE = 'os_type_button'
SP_TYPE = 'sp_type_button'
ENG_GROUP = 'eng_group_button'
HISTORY_GROUP = 'history_group_button'
COURSES_RETURN = 'return_courses_button'
COURSES_SET = {OS_TYPE, SP_TYPE, HISTORY_GROUP, ENG_GROUP, COURSES_RETURN}
# os buttons
OS_ADV = 'os_adv_button'
OS_LITE = 'os_lite_button'
OS_ALL = 'os_all_button'
OS_SET = {OS_ADV, OS_LITE, OS_ALL}
# sp buttons
SP_KOTLIN = 'sp_kotlin_button'
SP_IOS = 'sp_ios_button'
SP_ANDROID = 'sp_android_button'
SP_WEB = 'sp_web_button'
SP_CPP = 'sp_cpp_button'
SP_ALL = 'sp_all_button'
SP_SET = {SP_CPP, SP_IOS, SP_WEB, SP_KOTLIN, SP_ANDROID, SP_ALL}
# eng buttons
ENG_C2_1 = 'eng_c2_1_button'
ENG_C2_2 = 'eng_c2_2_button'
ENG_C2_3 = 'eng_c2_3_button'
ENG_C1_1 = 'eng_c1_1_button'
ENG_C1_2 = 'eng_c1_2_button'
ENG_B2_1 = 'eng_b2_1_button'
ENG_B2_2 = 'eng_b2_2_button'
ENG_B2_3 = 'eng_b2_3_button'
ENG_B11_1 = 'eng_b11_1_button'
ENG_B11_2 = 'eng_b11_2_button'
ENG_B12_1 = 'eng_b12_1_button'
ENG_B12_2 = 'eng_b12_2_button'
ENG_ALL = 'eng_all_button'
ENG_NEXT = 'eng_next_button'
ENG_PREV = 'eng_prev_button'
ENG_SET = {ENG_C2_1, ENG_C2_3, ENG_C1_1, ENG_C1_2, ENG_B2_1, ENG_B2_2, ENG_B2_3, ENG_C2_2, ENG_B11_1, ENG_B11_2,
ENG_B12_1, ENG_B12_2, ENG_ALL, ENG_NEXT, ENG_PREV}
# history buttons
HISTORY_INTERNATIONAL = 'history_international_button'
HISTORY_SCIENCE = 'history_science_button'
HISTORY_EU_PROBLEMS = 'history_eu_problems_button'
HISTORY_CULTURE = 'history_culture_button'
HISTORY_REFORMS = 'history_reforms_button'
HISTORY_STATEHOOD = 'history_statehood_button'
HISTORY_ALL = 'history_all_button'
HISTORY_SET = {HISTORY_CULTURE, HISTORY_EU_PROBLEMS, HISTORY_INTERNATIONAL, HISTORY_REFORMS, HISTORY_SCIENCE,
HISTORY_STATEHOOD, HISTORY_ALL}
def is_course_update(button):
return button in HISTORY_SET or button in ENG_SET or button in OS_SET or button in SP_SET
# SUBJECTS change page
SUBJECT = 'subject_%(subject)s_%(attendance)s_%(page)s_button'
# HELP change page
HELP_MAIN = 'help_main_button'
HELP_ADDITIONAL = 'help_additional_button'
# other
CANCEL = 'cancel_button'
CANCEL_CALLBACK = 'cancel_%(data)s_button'
# admin ls button
ADMIN_LS = 'admin_ls_%(page_number)d_button'
NEXT_PAGE = 'admin_ls_next_button'
PREV_PAGE = 'admin_ls_prev_button'
UPDATE_PAGE = 'admin_ls_update_button'
DEADLINE = 'deadline_%(day_id)s_button'
| weekday_button = 'timetable_%(weekday)s_button'
timetable_button = 'timetable_%(attendance)s_%(week_parity)s_%(weekday)s_button'
name = 'name_button'
mailing = 'mailing_parameters_button'
attendance = 'attendance_button'
courses = 'courses_parameters_button'
parameters_return = 'return_parameters_button'
exit_parameters = 'exit_parameters_button'
main_set = {NAME, MAILING, COURSES, ATTENDANCE, PARAMETERS_RETURN}
attendance_online = 'online_attendance_button'
attendance_offline = 'offline_attendance_button'
attendance_both = 'both_attendance_button'
attendance_set = {ATTENDANCE_BOTH, ATTENDANCE_OFFLINE, ATTENDANCE_ONLINE}
allow_mailing = 'allowed_mailing_button'
forbid_mailing = 'forbidden_mailing_button'
enable_mailing_notifications = 'enabled_notification_mailing_button'
disable_mailing_notifications = 'disabled_notification_mailing_button'
tzinfo = 'tz_info_button'
message_time = 'message_time_button'
mailing_set = {ALLOW_MAILING, FORBID_MAILING, ENABLE_MAILING_NOTIFICATIONS, DISABLE_MAILING_NOTIFICATIONS, MESSAGE_TIME, TZINFO}
os_type = 'os_type_button'
sp_type = 'sp_type_button'
eng_group = 'eng_group_button'
history_group = 'history_group_button'
courses_return = 'return_courses_button'
courses_set = {OS_TYPE, SP_TYPE, HISTORY_GROUP, ENG_GROUP, COURSES_RETURN}
os_adv = 'os_adv_button'
os_lite = 'os_lite_button'
os_all = 'os_all_button'
os_set = {OS_ADV, OS_LITE, OS_ALL}
sp_kotlin = 'sp_kotlin_button'
sp_ios = 'sp_ios_button'
sp_android = 'sp_android_button'
sp_web = 'sp_web_button'
sp_cpp = 'sp_cpp_button'
sp_all = 'sp_all_button'
sp_set = {SP_CPP, SP_IOS, SP_WEB, SP_KOTLIN, SP_ANDROID, SP_ALL}
eng_c2_1 = 'eng_c2_1_button'
eng_c2_2 = 'eng_c2_2_button'
eng_c2_3 = 'eng_c2_3_button'
eng_c1_1 = 'eng_c1_1_button'
eng_c1_2 = 'eng_c1_2_button'
eng_b2_1 = 'eng_b2_1_button'
eng_b2_2 = 'eng_b2_2_button'
eng_b2_3 = 'eng_b2_3_button'
eng_b11_1 = 'eng_b11_1_button'
eng_b11_2 = 'eng_b11_2_button'
eng_b12_1 = 'eng_b12_1_button'
eng_b12_2 = 'eng_b12_2_button'
eng_all = 'eng_all_button'
eng_next = 'eng_next_button'
eng_prev = 'eng_prev_button'
eng_set = {ENG_C2_1, ENG_C2_3, ENG_C1_1, ENG_C1_2, ENG_B2_1, ENG_B2_2, ENG_B2_3, ENG_C2_2, ENG_B11_1, ENG_B11_2, ENG_B12_1, ENG_B12_2, ENG_ALL, ENG_NEXT, ENG_PREV}
history_international = 'history_international_button'
history_science = 'history_science_button'
history_eu_problems = 'history_eu_problems_button'
history_culture = 'history_culture_button'
history_reforms = 'history_reforms_button'
history_statehood = 'history_statehood_button'
history_all = 'history_all_button'
history_set = {HISTORY_CULTURE, HISTORY_EU_PROBLEMS, HISTORY_INTERNATIONAL, HISTORY_REFORMS, HISTORY_SCIENCE, HISTORY_STATEHOOD, HISTORY_ALL}
def is_course_update(button):
return button in HISTORY_SET or button in ENG_SET or button in OS_SET or (button in SP_SET)
subject = 'subject_%(subject)s_%(attendance)s_%(page)s_button'
help_main = 'help_main_button'
help_additional = 'help_additional_button'
cancel = 'cancel_button'
cancel_callback = 'cancel_%(data)s_button'
admin_ls = 'admin_ls_%(page_number)d_button'
next_page = 'admin_ls_next_button'
prev_page = 'admin_ls_prev_button'
update_page = 'admin_ls_update_button'
deadline = 'deadline_%(day_id)s_button' |
class SearchParams(object):
def __init__(self):
self.maxTweets = 0
def set_username(self, username):
self.username = username
return self
def set_since(self, since):
self.since = since
return self
def set_until(self, until):
self.until = until
return self
def set_search(self, query_search):
self.querySearch = query_search
return self
def set_max_tweets(self, max_tweets):
self.maxTweets = max_tweets
return self
def set_lang(self, lang):
self.lang = lang
return self
| class Searchparams(object):
def __init__(self):
self.maxTweets = 0
def set_username(self, username):
self.username = username
return self
def set_since(self, since):
self.since = since
return self
def set_until(self, until):
self.until = until
return self
def set_search(self, query_search):
self.querySearch = query_search
return self
def set_max_tweets(self, max_tweets):
self.maxTweets = max_tweets
return self
def set_lang(self, lang):
self.lang = lang
return self |
x = int(input("Please enter any number!"))
if x >= 0:
print( "Positive")
else:
print( "Negative") | x = int(input('Please enter any number!'))
if x >= 0:
print('Positive')
else:
print('Negative') |
# IF
# In this program, we check if the number is positive or negative or zero and
# display an appropriate message
# Flow Control
x=7
if x>10:
print("x is big.")
elif x > 0:
print("x is small.")
else:
print("x is not positive.")
# Array
# Variabel array
genap = [14,24,56,80]
ganjil = [13,55,73,23]
nap = 0
jil = 0
# Buat looping for menggunakanvariable dari array yang udah dibuat
for val in genap:
nap = nap+val
for val in ganjil:
jil = jil+val
print("Ini adalah bilangan Genap", nap )
print("Ini adalah bilangan Ganjil", jil ) | x = 7
if x > 10:
print('x is big.')
elif x > 0:
print('x is small.')
else:
print('x is not positive.')
genap = [14, 24, 56, 80]
ganjil = [13, 55, 73, 23]
nap = 0
jil = 0
for val in genap:
nap = nap + val
for val in ganjil:
jil = jil + val
print('Ini adalah bilangan Genap', nap)
print('Ini adalah bilangan Ganjil', jil) |
# Remember that everything in python is
# pass by reference
if __name__ == '__main__':
a = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h']
print('First four: ', a[:4]) # same as a[0:4]
# -ve list index starts at position 1
print('Last four: ', a[-4:])
print('Middle two: ', a[3:-3])
# when used in assignments, lists will grow/shrink to accomodate the new
# values
# remember a[x:y] is index x inclusive, y not inclusive
print('Before : ', a) # ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h']
# list items from index 2:7 will shrink to fit 3 items
a[2:7] = [99, 22, 14]
print('After : ', a) # ['a', 'b', 99, 22, 14, 'h']
# same applies to assignment of a slice with no start/end index
# if you leave out the start/end index in a slice
# you create a copy of the list
b = a[:]
assert b is not a
# but if we were to assign b to a
# a and b are references to the same object
b = a
a[:] = [100, 101, 102]
assert a is b # still the same object
print('Second assignment : ', a) # ['a', 'b', 99, 22, 14, 'h']
| if __name__ == '__main__':
a = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h']
print('First four: ', a[:4])
print('Last four: ', a[-4:])
print('Middle two: ', a[3:-3])
print('Before : ', a)
a[2:7] = [99, 22, 14]
print('After : ', a)
b = a[:]
assert b is not a
b = a
a[:] = [100, 101, 102]
assert a is b
print('Second assignment : ', a) |
## This script contains useful functions to generate a html page given a
## blog post txt file. It also creates meta data for the blog posts to be
## used to make summaries.
## Input should be a txt file of specific format
def read_file(infile):
metadata = []
post = []
with open(infile, 'r') as f:
for line in f:
if line[0] == '#':
metadata.append(line.strip('\n'))
else:
post.append(line)
return {'metadata':metadata, 'post':post}
def get_title(metadata):
title = filter(lambda x: '##title' in x, metadata)
title = title[0][8: len(title[0])]
return title
def get_subtitle(metadata):
subtitle = filter(lambda x: '##subtitle' in x, metadata)
subtitle = subtitle[0][11: len(subtitle[0])]
return subtitle
def get_author(metadata):
author = filter(lambda x: '##author' in x, metadata)
author = author[0][9: len(author[0])]
return author
def get_date(metadata):
date = filter(lambda x: '##date' in x, metadata)
date = date[0][7: len(date[0])]
return date
def get_topic(metadata):
topic = filter(lambda x: '##topic' in x, metadata)
topic = topic[0][8: len(topic[0])]
return topic
def modify_template(file_to_modify, string2find, replace_value, outfile):
# Read in the file
with open(file_to_modify, 'r') as file:
filedata = file.read()
# Replace the target string
for i in range(len(string2find)):
filedata = filedata.replace(string2find[i], str(replace_value[i]))
# Write the file out
with open(outfile, 'w') as file:
file.write(filedata) | def read_file(infile):
metadata = []
post = []
with open(infile, 'r') as f:
for line in f:
if line[0] == '#':
metadata.append(line.strip('\n'))
else:
post.append(line)
return {'metadata': metadata, 'post': post}
def get_title(metadata):
title = filter(lambda x: '##title' in x, metadata)
title = title[0][8:len(title[0])]
return title
def get_subtitle(metadata):
subtitle = filter(lambda x: '##subtitle' in x, metadata)
subtitle = subtitle[0][11:len(subtitle[0])]
return subtitle
def get_author(metadata):
author = filter(lambda x: '##author' in x, metadata)
author = author[0][9:len(author[0])]
return author
def get_date(metadata):
date = filter(lambda x: '##date' in x, metadata)
date = date[0][7:len(date[0])]
return date
def get_topic(metadata):
topic = filter(lambda x: '##topic' in x, metadata)
topic = topic[0][8:len(topic[0])]
return topic
def modify_template(file_to_modify, string2find, replace_value, outfile):
with open(file_to_modify, 'r') as file:
filedata = file.read()
for i in range(len(string2find)):
filedata = filedata.replace(string2find[i], str(replace_value[i]))
with open(outfile, 'w') as file:
file.write(filedata) |
#!/usr/bin/env python3
#chmod +x hello.py
#It will insert space and newline in preset
print ("Hello", "World!")
| print('Hello', 'World!') |
def final_pos():
x = y = 0
with open("input.txt") as inp:
while True:
instr = inp.readline()
try:
cmd, val = instr.split()
except ValueError:
break
else:
if cmd == "forward":
x += int(val)
elif cmd == "down":
y += int(val)
elif cmd == "up":
y -= int(val)
print(f"Final Val: {x * y}")
if __name__ == '__main__':
final_pos() | def final_pos():
x = y = 0
with open('input.txt') as inp:
while True:
instr = inp.readline()
try:
(cmd, val) = instr.split()
except ValueError:
break
else:
if cmd == 'forward':
x += int(val)
elif cmd == 'down':
y += int(val)
elif cmd == 'up':
y -= int(val)
print(f'Final Val: {x * y}')
if __name__ == '__main__':
final_pos() |
class zoo:
def __init__(self,stock,cuidadores,animales):
pass
class cuidador:
def __init__(self,animales,vacaciones):
pass
class animal:
def __init__(self,dieta):
pass
class vacaciones:
def __init__(self):
pass
class comida:
def __init__(self,dieta):
pass
class stock:
def __init__(self,comida):
pass
class carnivoros:
def __init__(self):
pass
class herbivoros:
def __init__(self):
pass
class insectivoros:
def __init__(self):
pass
print("puerca")
| class Zoo:
def __init__(self, stock, cuidadores, animales):
pass
class Cuidador:
def __init__(self, animales, vacaciones):
pass
class Animal:
def __init__(self, dieta):
pass
class Vacaciones:
def __init__(self):
pass
class Comida:
def __init__(self, dieta):
pass
class Stock:
def __init__(self, comida):
pass
class Carnivoros:
def __init__(self):
pass
class Herbivoros:
def __init__(self):
pass
class Insectivoros:
def __init__(self):
pass
print('puerca') |
PROLOGUE = '''module smcauth(clk, rst, g_input, e_input, o);
input clk;
input [255:0] e_input;
input [255:0] g_input;
output o;
input rst;
'''
EPILOGUE = 'endmodule\n'
OR_CIRCUIT = '''
OR {} (
.A({}),
.B({}),
.Z({})
);
'''
AND_CIRCUIT = '''
ANDN {} (
.A({}),
.B({}),
.Z({})
);
'''
XOR_CIRCUIT = '''
XOR {} (
.A({}),
.B({}),
.Z({})
);
'''
circuit_counter = 0
wire_counter = 0
def circuit():
global circuit_counter
circuit_counter += 1
return 'C%d' % circuit_counter
def wire():
global wire_counter
wire_counter += 1
return 'W%d' % wire_counter
def new_circuit(circuit_template, in1, in2, out=None):
global payload
if out is None:
out = wire()
payload += circuit_template.format(
circuit(),
in1,
in2,
out
)
return out
payload = ''
now = new_circuit(XOR_CIRCUIT, 'g_input[0]', 'e_input[0]')
for i in range(1, 255):
now = new_circuit(XOR_CIRCUIT, 'g_input[%d]' % i, now)
now = new_circuit(XOR_CIRCUIT, 'e_input[%d]' % i, now)
now = new_circuit(XOR_CIRCUIT, 'g_input[255]', now)
now = new_circuit(XOR_CIRCUIT, 'e_input[255]', now, 'o')
payload += EPILOGUE
wires = ''
for i in range(1, wire_counter+1):
wires += ' wire W%d;\n' % i
payload = PROLOGUE + wires + payload
with open('test.v', 'w') as f:
f.write(payload)
| prologue = 'module smcauth(clk, rst, g_input, e_input, o);\n input clk;\n input [255:0] e_input;\n input [255:0] g_input;\n output o;\n input rst;\n'
epilogue = 'endmodule\n'
or_circuit = '\n OR {} (\n .A({}),\n .B({}),\n .Z({})\n );\n'
and_circuit = '\n ANDN {} (\n .A({}),\n .B({}),\n .Z({})\n );\n'
xor_circuit = '\n XOR {} (\n .A({}),\n .B({}),\n .Z({})\n );\n'
circuit_counter = 0
wire_counter = 0
def circuit():
global circuit_counter
circuit_counter += 1
return 'C%d' % circuit_counter
def wire():
global wire_counter
wire_counter += 1
return 'W%d' % wire_counter
def new_circuit(circuit_template, in1, in2, out=None):
global payload
if out is None:
out = wire()
payload += circuit_template.format(circuit(), in1, in2, out)
return out
payload = ''
now = new_circuit(XOR_CIRCUIT, 'g_input[0]', 'e_input[0]')
for i in range(1, 255):
now = new_circuit(XOR_CIRCUIT, 'g_input[%d]' % i, now)
now = new_circuit(XOR_CIRCUIT, 'e_input[%d]' % i, now)
now = new_circuit(XOR_CIRCUIT, 'g_input[255]', now)
now = new_circuit(XOR_CIRCUIT, 'e_input[255]', now, 'o')
payload += EPILOGUE
wires = ''
for i in range(1, wire_counter + 1):
wires += ' wire W%d;\n' % i
payload = PROLOGUE + wires + payload
with open('test.v', 'w') as f:
f.write(payload) |
class Base(object):
def __init__(self, *args, **kwargs):
pass
def dispose(self, *args, **kwargs):
pass
def prepare(self, *args, **kwargs):
pass
def prepare_page(self, *args, **kwargs):
pass
def cleanup(self, *args, **kwargs):
pass
| class Base(object):
def __init__(self, *args, **kwargs):
pass
def dispose(self, *args, **kwargs):
pass
def prepare(self, *args, **kwargs):
pass
def prepare_page(self, *args, **kwargs):
pass
def cleanup(self, *args, **kwargs):
pass |
n1 = float(input("Write the average of the first student "))
n2 = float(input("Write the average of the second student "))
m = (n1+n2)/2
print("The average of the two students is {}".format(m))
| n1 = float(input('Write the average of the first student '))
n2 = float(input('Write the average of the second student '))
m = (n1 + n2) / 2
print('The average of the two students is {}'.format(m)) |
# -*- coding: utf-8 -*-
# Copyright (c) 2014, Elvis Tombini <[email protected]>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
WLCONF = 'wlister.conf'
WLPREFIX = 'wlister.log_prefix'
WLACTION = 'wlister.default_action'
WLMAXPOST = 'wlister.max_post_read'
WLMAXPOST_VALUE = 2048
class WLConfig(object):
def __init__(self, request, log):
options = request.get_options()
self.log = log
if WLCONF in options:
self.conf = options[WLCONF]
else:
self.conf = None
if WLPREFIX in options:
self.prefix = options[WLPREFIX].strip() + ' '
else:
self.prefix = ''
self.default_action = 'block'
if WLACTION in options:
if options[WLACTION] in \
['block', 'pass', 'logpass', 'logblock']:
self.default_action = options[WLACTION]
else:
self.log('WARNING - unknown value for ' + WLACTION +
', set to block')
else:
self.log('WARNING - ' + WLACTION + ' not defined, set to block')
if WLMAXPOST in options:
self.max_post_read = options[WLMAXPOST]
else:
self.max_post_read = WLMAXPOST_VALUE
self.log('WARNING - default request body to be read set to ' +
str(WLMAXPOST_VALUE))
rules_schema = \
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Conservative json schema defining wlrule format",
"type": "object",
"required": ["id"],
"additionalProperties": False,
"properties": {
"id": {
"type": "string"
},
"prerequisite": {
"type": "object",
"additionalProperties": False,
"properties": {
"has_tag": {
"type": "array",
"items": {"type": "string"}
},
"has_not_tag": {
"type": "array",
"items": {"type": "string"}
}
}
},
"match": {
"type": "object",
"additionalProperties": False,
"properties": {
"order": {
"type": "array",
"items": {
"type": "string"
}
},
"uri": {
"type": "string"
},
"protocol": {
"type": "string"
},
"method": {
"type": "string"
},
"host": {
"type": "string"
},
"args": {
"type": "string"
},
"parameters": {
"type": "array",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string"
}
}
},
"headers": {
"type": "array",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string"
}
}
},
"content_url_encoded": {
"type": "array",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string"
}
}
},
"content_json": {
"type": "object"
},
"parameters_in": {
"type": "array",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string"
}
}
},
"headers_in": {
"type": "array",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string"
}
}
},
"content_url_encoded_in": {
"type": "array",
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string"
}
}
},
"parameters_list": {
"type": "array",
"items": {
"type": "string"
}
},
"headers_list": {
"type": "array",
"items": {
"type": "string"
}
},
"content_url_encoded_list": {
"type": "array",
"items": {
"type": "string"
}
},
"parameters_list_in": {
"type": "array",
"items": {
"type": "string"
}
},
"headers_list_in": {
"type": "array",
"items": {
"type": "string"
}
},
"content_url_encoded_list_in": {
"type": "array",
"items": {
"type": "string"
}
},
"parameters_unique": {
"type": "array",
"items": {
"type": "string"
}
},
"headers_unique": {
"type": "array",
"items": {
"type": "string"
}
},
"content_url_encoded_unique": {
"type": "array",
"items": {
"type": "string"
}
},
"parameters_all_unique": {
"type": "string",
"enum": ["True", "False"]
},
"headers_all_unique": {
"type": "string",
"enum": ["True", "False"]
},
"content_url_encoded_all_unique": {
"type": "string",
"enum": ["True", "False"]
},
}
},
"action_if_match": {
"type": "object",
"additionalProperties": False,
"properties": {
"whitelist": {
"type": "string",
"enum": ["True", "False"]
},
"set_tag": {
"type": "array",
"items": {
"type": "string"
}
},
"unset_tag": {
"type": "array",
"items": {
"type": "string"
}
},
"log": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
"set_header": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"action_if_mismatch": {
"type": "object",
"additionalProperties": False,
"properties": {
"whitelist": {
"type": "string",
"enum": ["True", "False"]
},
"set_tag": {
"type": "array",
"items": {
"type": "string"
}
},
"log": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
"unset_tag": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
| wlconf = 'wlister.conf'
wlprefix = 'wlister.log_prefix'
wlaction = 'wlister.default_action'
wlmaxpost = 'wlister.max_post_read'
wlmaxpost_value = 2048
class Wlconfig(object):
def __init__(self, request, log):
options = request.get_options()
self.log = log
if WLCONF in options:
self.conf = options[WLCONF]
else:
self.conf = None
if WLPREFIX in options:
self.prefix = options[WLPREFIX].strip() + ' '
else:
self.prefix = ''
self.default_action = 'block'
if WLACTION in options:
if options[WLACTION] in ['block', 'pass', 'logpass', 'logblock']:
self.default_action = options[WLACTION]
else:
self.log('WARNING - unknown value for ' + WLACTION + ', set to block')
else:
self.log('WARNING - ' + WLACTION + ' not defined, set to block')
if WLMAXPOST in options:
self.max_post_read = options[WLMAXPOST]
else:
self.max_post_read = WLMAXPOST_VALUE
self.log('WARNING - default request body to be read set to ' + str(WLMAXPOST_VALUE))
rules_schema = {'$schema': 'http://json-schema.org/draft-04/schema#', 'description': 'Conservative json schema defining wlrule format', 'type': 'object', 'required': ['id'], 'additionalProperties': False, 'properties': {'id': {'type': 'string'}, 'prerequisite': {'type': 'object', 'additionalProperties': False, 'properties': {'has_tag': {'type': 'array', 'items': {'type': 'string'}}, 'has_not_tag': {'type': 'array', 'items': {'type': 'string'}}}}, 'match': {'type': 'object', 'additionalProperties': False, 'properties': {'order': {'type': 'array', 'items': {'type': 'string'}}, 'uri': {'type': 'string'}, 'protocol': {'type': 'string'}, 'method': {'type': 'string'}, 'host': {'type': 'string'}, 'args': {'type': 'string'}, 'parameters': {'type': 'array', 'items': {'type': 'array', 'minItems': 2, 'maxItems': 2, 'items': {'type': 'string'}}}, 'headers': {'type': 'array', 'items': {'type': 'array', 'minItems': 2, 'maxItems': 2, 'items': {'type': 'string'}}}, 'content_url_encoded': {'type': 'array', 'items': {'type': 'array', 'minItems': 2, 'maxItems': 2, 'items': {'type': 'string'}}}, 'content_json': {'type': 'object'}, 'parameters_in': {'type': 'array', 'items': {'type': 'array', 'minItems': 2, 'maxItems': 2, 'items': {'type': 'string'}}}, 'headers_in': {'type': 'array', 'items': {'type': 'array', 'minItems': 2, 'maxItems': 2, 'items': {'type': 'string'}}}, 'content_url_encoded_in': {'type': 'array', 'items': {'type': 'array', 'minItems': 2, 'maxItems': 2, 'items': {'type': 'string'}}}, 'parameters_list': {'type': 'array', 'items': {'type': 'string'}}, 'headers_list': {'type': 'array', 'items': {'type': 'string'}}, 'content_url_encoded_list': {'type': 'array', 'items': {'type': 'string'}}, 'parameters_list_in': {'type': 'array', 'items': {'type': 'string'}}, 'headers_list_in': {'type': 'array', 'items': {'type': 'string'}}, 'content_url_encoded_list_in': {'type': 'array', 'items': {'type': 'string'}}, 'parameters_unique': {'type': 'array', 'items': {'type': 'string'}}, 'headers_unique': {'type': 'array', 'items': {'type': 'string'}}, 'content_url_encoded_unique': {'type': 'array', 'items': {'type': 'string'}}, 'parameters_all_unique': {'type': 'string', 'enum': ['True', 'False']}, 'headers_all_unique': {'type': 'string', 'enum': ['True', 'False']}, 'content_url_encoded_all_unique': {'type': 'string', 'enum': ['True', 'False']}}}, 'action_if_match': {'type': 'object', 'additionalProperties': False, 'properties': {'whitelist': {'type': 'string', 'enum': ['True', 'False']}, 'set_tag': {'type': 'array', 'items': {'type': 'string'}}, 'unset_tag': {'type': 'array', 'items': {'type': 'string'}}, 'log': {'type': 'array', 'items': {'type': 'array', 'items': {'type': 'string'}}}, 'set_header': {'type': 'array', 'items': {'type': 'string'}}}}, 'action_if_mismatch': {'type': 'object', 'additionalProperties': False, 'properties': {'whitelist': {'type': 'string', 'enum': ['True', 'False']}, 'set_tag': {'type': 'array', 'items': {'type': 'string'}}, 'log': {'type': 'array', 'items': {'type': 'array', 'items': {'type': 'string'}}}, 'unset_tag': {'type': 'array', 'items': {'type': 'string'}}}}}} |
# This programs aasks for your name and says hello
print('Hello world!')
print('What is your name?') #Ask for their name
myName = input()
print('It is good to meet you, ' + myName)
print('The lenght of your name is : ')
print(len(myName))
print('What is your age?') #Ask for their age
yourAge = input()
print('You will be ' + str(int(yourAge) + 1) + ' in a year.' )
| print('Hello world!')
print('What is your name?')
my_name = input()
print('It is good to meet you, ' + myName)
print('The lenght of your name is : ')
print(len(myName))
print('What is your age?')
your_age = input()
print('You will be ' + str(int(yourAge) + 1) + ' in a year.') |
# project/tests/test_ping.py
def test_ping(test_app):
response = test_app.get("/ping")
assert response.status_code == 200
assert response.json() == {"environment": "dev", "ping": "pong!", "testing": True}
| def test_ping(test_app):
response = test_app.get('/ping')
assert response.status_code == 200
assert response.json() == {'environment': 'dev', 'ping': 'pong!', 'testing': True} |
#!/usr/bin/env python
# coding=utf-8
__version__ = "2.1.4"
| __version__ = '2.1.4' |
label_name = []
with open("label_name.txt",encoding='utf-8') as file:
for line in file.readlines():
line = line.strip()
name = (line.split('-')[-1])
if name.count('|') > 0:
name = name.split('|')[-1]
print(name)
label_name.append((name))
for item in label_name:
with open('label_name_1.txt','a') as file:
file.write(item+'\n') | label_name = []
with open('label_name.txt', encoding='utf-8') as file:
for line in file.readlines():
line = line.strip()
name = line.split('-')[-1]
if name.count('|') > 0:
name = name.split('|')[-1]
print(name)
label_name.append(name)
for item in label_name:
with open('label_name_1.txt', 'a') as file:
file.write(item + '\n') |
class Library(object):
def __init__(self):
self.dictionary = {
"Micah": ["Judgement on Samaria and Judah", "Reason for the judgement", "Judgement on wicked leaders",
"Messianic Kingdom", "Birth of the Messiah", "Indictment 1, 2", "Promise of salvation"]
}
def get(self, book):
return self.dictionary.get(book)
| class Library(object):
def __init__(self):
self.dictionary = {'Micah': ['Judgement on Samaria and Judah', 'Reason for the judgement', 'Judgement on wicked leaders', 'Messianic Kingdom', 'Birth of the Messiah', 'Indictment 1, 2', 'Promise of salvation']}
def get(self, book):
return self.dictionary.get(book) |
AESEncryptParam = "Key (32 Hex characters)"
S_BOX = (
0x63, 0x7C, 0x77, 0x7B, 0xF2, 0x6B, 0x6F, 0xC5, 0x30, 0x01, 0x67, 0x2B, 0xFE, 0xD7, 0xAB, 0x76,
0xCA, 0x82, 0xC9, 0x7D, 0xFA, 0x59, 0x47, 0xF0, 0xAD, 0xD4, 0xA2, 0xAF, 0x9C, 0xA4, 0x72, 0xC0,
0xB7, 0xFD, 0x93, 0x26, 0x36, 0x3F, 0xF7, 0xCC, 0x34, 0xA5, 0xE5, 0xF1, 0x71, 0xD8, 0x31, 0x15,
0x04, 0xC7, 0x23, 0xC3, 0x18, 0x96, 0x05, 0x9A, 0x07, 0x12, 0x80, 0xE2, 0xEB, 0x27, 0xB2, 0x75,
0x09, 0x83, 0x2C, 0x1A, 0x1B, 0x6E, 0x5A, 0xA0, 0x52, 0x3B, 0xD6, 0xB3, 0x29, 0xE3, 0x2F, 0x84,
0x53, 0xD1, 0x00, 0xED, 0x20, 0xFC, 0xB1, 0x5B, 0x6A, 0xCB, 0xBE, 0x39, 0x4A, 0x4C, 0x58, 0xCF,
0xD0, 0xEF, 0xAA, 0xFB, 0x43, 0x4D, 0x33, 0x85, 0x45, 0xF9, 0x02, 0x7F, 0x50, 0x3C, 0x9F, 0xA8,
0x51, 0xA3, 0x40, 0x8F, 0x92, 0x9D, 0x38, 0xF5, 0xBC, 0xB6, 0xDA, 0x21, 0x10, 0xFF, 0xF3, 0xD2,
0xCD, 0x0C, 0x13, 0xEC, 0x5F, 0x97, 0x44, 0x17, 0xC4, 0xA7, 0x7E, 0x3D, 0x64, 0x5D, 0x19, 0x73,
0x60, 0x81, 0x4F, 0xDC, 0x22, 0x2A, 0x90, 0x88, 0x46, 0xEE, 0xB8, 0x14, 0xDE, 0x5E, 0x0B, 0xDB,
0xE0, 0x32, 0x3A, 0x0A, 0x49, 0x06, 0x24, 0x5C, 0xC2, 0xD3, 0xAC, 0x62, 0x91, 0x95, 0xE4, 0x79,
0xE7, 0xC8, 0x37, 0x6D, 0x8D, 0xD5, 0x4E, 0xA9, 0x6C, 0x56, 0xF4, 0xEA, 0x65, 0x7A, 0xAE, 0x08,
0xBA, 0x78, 0x25, 0x2E, 0x1C, 0xA6, 0xB4, 0xC6, 0xE8, 0xDD, 0x74, 0x1F, 0x4B, 0xBD, 0x8B, 0x8A,
0x70, 0x3E, 0xB5, 0x66, 0x48, 0x03, 0xF6, 0x0E, 0x61, 0x35, 0x57, 0xB9, 0x86, 0xC1, 0x1D, 0x9E,
0xE1, 0xF8, 0x98, 0x11, 0x69, 0xD9, 0x8E, 0x94, 0x9B, 0x1E, 0x87, 0xE9, 0xCE, 0x55, 0x28, 0xDF,
0x8C, 0xA1, 0x89, 0x0D, 0xBF, 0xE6, 0x42, 0x68, 0x41, 0x99, 0x2D, 0x0F, 0xB0, 0x54, 0xBB, 0x16,
)
S_BOX_INVERSE = (
0x52, 0x09, 0x6A, 0xD5, 0x30, 0x36, 0xA5, 0x38, 0xBF, 0x40, 0xA3, 0x9E, 0x81, 0xF3, 0xD7, 0xFB,
0x7C, 0xE3, 0x39, 0x82, 0x9B, 0x2F, 0xFF, 0x87, 0x34, 0x8E, 0x43, 0x44, 0xC4, 0xDE, 0xE9, 0xCB,
0x54, 0x7B, 0x94, 0x32, 0xA6, 0xC2, 0x23, 0x3D, 0xEE, 0x4C, 0x95, 0x0B, 0x42, 0xFA, 0xC3, 0x4E,
0x08, 0x2E, 0xA1, 0x66, 0x28, 0xD9, 0x24, 0xB2, 0x76, 0x5B, 0xA2, 0x49, 0x6D, 0x8B, 0xD1, 0x25,
0x72, 0xF8, 0xF6, 0x64, 0x86, 0x68, 0x98, 0x16, 0xD4, 0xA4, 0x5C, 0xCC, 0x5D, 0x65, 0xB6, 0x92,
0x6C, 0x70, 0x48, 0x50, 0xFD, 0xED, 0xB9, 0xDA, 0x5E, 0x15, 0x46, 0x57, 0xA7, 0x8D, 0x9D, 0x84,
0x90, 0xD8, 0xAB, 0x00, 0x8C, 0xBC, 0xD3, 0x0A, 0xF7, 0xE4, 0x58, 0x05, 0xB8, 0xB3, 0x45, 0x06,
0xD0, 0x2C, 0x1E, 0x8F, 0xCA, 0x3F, 0x0F, 0x02, 0xC1, 0xAF, 0xBD, 0x03, 0x01, 0x13, 0x8A, 0x6B,
0x3A, 0x91, 0x11, 0x41, 0x4F, 0x67, 0xDC, 0xEA, 0x97, 0xF2, 0xCF, 0xCE, 0xF0, 0xB4, 0xE6, 0x73,
0x96, 0xAC, 0x74, 0x22, 0xE7, 0xAD, 0x35, 0x85, 0xE2, 0xF9, 0x37, 0xE8, 0x1C, 0x75, 0xDF, 0x6E,
0x47, 0xF1, 0x1A, 0x71, 0x1D, 0x29, 0xC5, 0x89, 0x6F, 0xB7, 0x62, 0x0E, 0xAA, 0x18, 0xBE, 0x1B,
0xFC, 0x56, 0x3E, 0x4B, 0xC6, 0xD2, 0x79, 0x20, 0x9A, 0xDB, 0xC0, 0xFE, 0x78, 0xCD, 0x5A, 0xF4,
0x1F, 0xDD, 0xA8, 0x33, 0x88, 0x07, 0xC7, 0x31, 0xB1, 0x12, 0x10, 0x59, 0x27, 0x80, 0xEC, 0x5F,
0x60, 0x51, 0x7F, 0xA9, 0x19, 0xB5, 0x4A, 0x0D, 0x2D, 0xE5, 0x7A, 0x9F, 0x93, 0xC9, 0x9C, 0xEF,
0xA0, 0xE0, 0x3B, 0x4D, 0xAE, 0x2A, 0xF5, 0xB0, 0xC8, 0xEB, 0xBB, 0x3C, 0x83, 0x53, 0x99, 0x61,
0x17, 0x2B, 0x04, 0x7E, 0xBA, 0x77, 0xD6, 0x26, 0xE1, 0x69, 0x14, 0x63, 0x55, 0x21, 0x0C, 0x7D,
)
R_CON = (
0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40,
0x80, 0x1B, 0x36, 0x6C, 0xD8, 0xAB, 0x4D, 0x9A,
0x2F, 0x5E, 0xBC, 0x63, 0xC6, 0x97, 0x35, 0x6A,
0xD4, 0xB3, 0x7D, 0xFA, 0xEF, 0xC5, 0x91, 0x39,
)
KEYSIZE_ROUNDS_MAP = {16: 10, 24: 12, 32: 14}
def shiftRows(s):
s[0][1], s[1][1], s[2][1], s[3][1] = s[1][1], s[2][1], s[3][1], s[0][1]
s[0][2], s[1][2], s[2][2], s[3][2] = s[2][2], s[3][2], s[0][2], s[1][2]
s[0][3], s[1][3], s[2][3], s[3][3] = s[3][3], s[0][3], s[1][3], s[2][3]
def shiftRowsInvert(s):
s[0][1], s[1][1], s[2][1], s[3][1] = s[3][1], s[0][1], s[1][1], s[2][1]
s[0][2], s[1][2], s[2][2], s[3][2] = s[2][2], s[3][2], s[0][2], s[1][2]
s[0][3], s[1][3], s[2][3], s[3][3] = s[1][3], s[2][3], s[3][3], s[0][3]
def addRoundKey(input, roundKey):
for i in range(4):
for j in range(4):
input[i][j] ^= roundKey[i][j]
def substituteGeneric(input, subTable):
for i in range(4):
for j in range(4):
input[i][j] = subTable[input[i][j]]
def substitute(input):
substituteGeneric(input, S_BOX)
def substituteInverse(input):
substituteGeneric(input, S_BOX_INVERSE)
def xtime(a):
return (((a << 1) ^ 0x1B) & 0xFF) if (a & 0x80) else (a << 1)
def mixSingleCol(input):
t = input[0] ^ input[1] ^ input[2] ^ input[3]
u = input[0]
input[0] ^= t ^ xtime(input[0] ^ input[1])
input[1] ^= t ^ xtime(input[1] ^ input[2])
input[2] ^= t ^ xtime(input[2] ^ input[3])
input[3] ^= t ^ xtime(input[3] ^ u)
def mixColumns(input):
for i in range(4):
mixSingleCol(input[i])
def mixColumnsInverse(input):
for i in range(4):
u, v = xtime(xtime(input[i][0] ^ input[i][2])), xtime(
xtime(input[i][1] ^ input[i][3]))
input[i][0] ^= u
input[i][1] ^= v
input[i][2] ^= u
input[i][3] ^= v
mixColumns(input)
def bytesToMatrix(input):
return [list(input[i:i+4]) for i in range(0, len(input), 4)]
def matrixToBytes(matrix):
return bytes(sum(matrix, []))
def xor(a, b):
return bytes(a[i] ^ b[i] for i in range(len(a)))
def expandKey(key, numberOfRounds):
keyColumns = bytesToMatrix(key)
iteration_size = len(key) // 4
i = 1
while len(keyColumns) < ((numberOfRounds + 1) * 4):
word = list(keyColumns[-1])
if len(keyColumns) % iteration_size == 0:
word = word[1:] + [word[0]]
word = [S_BOX[b] for b in word]
word[0] ^= R_CON[i]
i += 1
elif len(key) == 32 and len(keyColumns) % iteration_size == 4:
word = [S_BOX[b] for b in word]
word = xor(word, keyColumns[-iteration_size])
keyColumns.append(word)
return [keyColumns[4*i: 4*(i+1)] for i in range(len(keyColumns) // 4)]
def getInitalInfo(param):
key = bytearray.fromhex(param[0])
numberOfRounds = KEYSIZE_ROUNDS_MAP[len(key)]
keyMatrices = expandKey(key, numberOfRounds)
return numberOfRounds, keyMatrices
def prepareInput(input):
return bytesToMatrix(bytearray.fromhex(input[0].strip()))
def prepareOutput(output):
return [matrixToBytes(output).hex().upper()]
def AESEncrypt(input, param):
numberOfRounds, keyMatrices = getInitalInfo(param)
output = prepareInput(input)
addRoundKey(output, keyMatrices[0])
for i in range(1, numberOfRounds):
substitute(output)
shiftRows(output)
mixColumns(output)
addRoundKey(output, keyMatrices[i])
substitute(output)
shiftRows(output)
addRoundKey(output, keyMatrices[-1])
return prepareOutput(output)
def AESDecrypt(input, param):
numberOfRounds, keyMatrices = getInitalInfo(param)
output = prepareInput(input)
addRoundKey(output, keyMatrices[-1])
shiftRowsInvert(output)
substituteInverse(output)
for i in range(numberOfRounds - 1, 0, -1):
addRoundKey(output, keyMatrices[i])
mixColumnsInverse(output)
shiftRowsInvert(output)
substituteInverse(output)
addRoundKey(output, keyMatrices[0])
return prepareOutput(output)
| aes_encrypt_param = 'Key (32 Hex characters)'
s_box = (99, 124, 119, 123, 242, 107, 111, 197, 48, 1, 103, 43, 254, 215, 171, 118, 202, 130, 201, 125, 250, 89, 71, 240, 173, 212, 162, 175, 156, 164, 114, 192, 183, 253, 147, 38, 54, 63, 247, 204, 52, 165, 229, 241, 113, 216, 49, 21, 4, 199, 35, 195, 24, 150, 5, 154, 7, 18, 128, 226, 235, 39, 178, 117, 9, 131, 44, 26, 27, 110, 90, 160, 82, 59, 214, 179, 41, 227, 47, 132, 83, 209, 0, 237, 32, 252, 177, 91, 106, 203, 190, 57, 74, 76, 88, 207, 208, 239, 170, 251, 67, 77, 51, 133, 69, 249, 2, 127, 80, 60, 159, 168, 81, 163, 64, 143, 146, 157, 56, 245, 188, 182, 218, 33, 16, 255, 243, 210, 205, 12, 19, 236, 95, 151, 68, 23, 196, 167, 126, 61, 100, 93, 25, 115, 96, 129, 79, 220, 34, 42, 144, 136, 70, 238, 184, 20, 222, 94, 11, 219, 224, 50, 58, 10, 73, 6, 36, 92, 194, 211, 172, 98, 145, 149, 228, 121, 231, 200, 55, 109, 141, 213, 78, 169, 108, 86, 244, 234, 101, 122, 174, 8, 186, 120, 37, 46, 28, 166, 180, 198, 232, 221, 116, 31, 75, 189, 139, 138, 112, 62, 181, 102, 72, 3, 246, 14, 97, 53, 87, 185, 134, 193, 29, 158, 225, 248, 152, 17, 105, 217, 142, 148, 155, 30, 135, 233, 206, 85, 40, 223, 140, 161, 137, 13, 191, 230, 66, 104, 65, 153, 45, 15, 176, 84, 187, 22)
s_box_inverse = (82, 9, 106, 213, 48, 54, 165, 56, 191, 64, 163, 158, 129, 243, 215, 251, 124, 227, 57, 130, 155, 47, 255, 135, 52, 142, 67, 68, 196, 222, 233, 203, 84, 123, 148, 50, 166, 194, 35, 61, 238, 76, 149, 11, 66, 250, 195, 78, 8, 46, 161, 102, 40, 217, 36, 178, 118, 91, 162, 73, 109, 139, 209, 37, 114, 248, 246, 100, 134, 104, 152, 22, 212, 164, 92, 204, 93, 101, 182, 146, 108, 112, 72, 80, 253, 237, 185, 218, 94, 21, 70, 87, 167, 141, 157, 132, 144, 216, 171, 0, 140, 188, 211, 10, 247, 228, 88, 5, 184, 179, 69, 6, 208, 44, 30, 143, 202, 63, 15, 2, 193, 175, 189, 3, 1, 19, 138, 107, 58, 145, 17, 65, 79, 103, 220, 234, 151, 242, 207, 206, 240, 180, 230, 115, 150, 172, 116, 34, 231, 173, 53, 133, 226, 249, 55, 232, 28, 117, 223, 110, 71, 241, 26, 113, 29, 41, 197, 137, 111, 183, 98, 14, 170, 24, 190, 27, 252, 86, 62, 75, 198, 210, 121, 32, 154, 219, 192, 254, 120, 205, 90, 244, 31, 221, 168, 51, 136, 7, 199, 49, 177, 18, 16, 89, 39, 128, 236, 95, 96, 81, 127, 169, 25, 181, 74, 13, 45, 229, 122, 159, 147, 201, 156, 239, 160, 224, 59, 77, 174, 42, 245, 176, 200, 235, 187, 60, 131, 83, 153, 97, 23, 43, 4, 126, 186, 119, 214, 38, 225, 105, 20, 99, 85, 33, 12, 125)
r_con = (0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54, 108, 216, 171, 77, 154, 47, 94, 188, 99, 198, 151, 53, 106, 212, 179, 125, 250, 239, 197, 145, 57)
keysize_rounds_map = {16: 10, 24: 12, 32: 14}
def shift_rows(s):
(s[0][1], s[1][1], s[2][1], s[3][1]) = (s[1][1], s[2][1], s[3][1], s[0][1])
(s[0][2], s[1][2], s[2][2], s[3][2]) = (s[2][2], s[3][2], s[0][2], s[1][2])
(s[0][3], s[1][3], s[2][3], s[3][3]) = (s[3][3], s[0][3], s[1][3], s[2][3])
def shift_rows_invert(s):
(s[0][1], s[1][1], s[2][1], s[3][1]) = (s[3][1], s[0][1], s[1][1], s[2][1])
(s[0][2], s[1][2], s[2][2], s[3][2]) = (s[2][2], s[3][2], s[0][2], s[1][2])
(s[0][3], s[1][3], s[2][3], s[3][3]) = (s[1][3], s[2][3], s[3][3], s[0][3])
def add_round_key(input, roundKey):
for i in range(4):
for j in range(4):
input[i][j] ^= roundKey[i][j]
def substitute_generic(input, subTable):
for i in range(4):
for j in range(4):
input[i][j] = subTable[input[i][j]]
def substitute(input):
substitute_generic(input, S_BOX)
def substitute_inverse(input):
substitute_generic(input, S_BOX_INVERSE)
def xtime(a):
return (a << 1 ^ 27) & 255 if a & 128 else a << 1
def mix_single_col(input):
t = input[0] ^ input[1] ^ input[2] ^ input[3]
u = input[0]
input[0] ^= t ^ xtime(input[0] ^ input[1])
input[1] ^= t ^ xtime(input[1] ^ input[2])
input[2] ^= t ^ xtime(input[2] ^ input[3])
input[3] ^= t ^ xtime(input[3] ^ u)
def mix_columns(input):
for i in range(4):
mix_single_col(input[i])
def mix_columns_inverse(input):
for i in range(4):
(u, v) = (xtime(xtime(input[i][0] ^ input[i][2])), xtime(xtime(input[i][1] ^ input[i][3])))
input[i][0] ^= u
input[i][1] ^= v
input[i][2] ^= u
input[i][3] ^= v
mix_columns(input)
def bytes_to_matrix(input):
return [list(input[i:i + 4]) for i in range(0, len(input), 4)]
def matrix_to_bytes(matrix):
return bytes(sum(matrix, []))
def xor(a, b):
return bytes((a[i] ^ b[i] for i in range(len(a))))
def expand_key(key, numberOfRounds):
key_columns = bytes_to_matrix(key)
iteration_size = len(key) // 4
i = 1
while len(keyColumns) < (numberOfRounds + 1) * 4:
word = list(keyColumns[-1])
if len(keyColumns) % iteration_size == 0:
word = word[1:] + [word[0]]
word = [S_BOX[b] for b in word]
word[0] ^= R_CON[i]
i += 1
elif len(key) == 32 and len(keyColumns) % iteration_size == 4:
word = [S_BOX[b] for b in word]
word = xor(word, keyColumns[-iteration_size])
keyColumns.append(word)
return [keyColumns[4 * i:4 * (i + 1)] for i in range(len(keyColumns) // 4)]
def get_inital_info(param):
key = bytearray.fromhex(param[0])
number_of_rounds = KEYSIZE_ROUNDS_MAP[len(key)]
key_matrices = expand_key(key, numberOfRounds)
return (numberOfRounds, keyMatrices)
def prepare_input(input):
return bytes_to_matrix(bytearray.fromhex(input[0].strip()))
def prepare_output(output):
return [matrix_to_bytes(output).hex().upper()]
def aes_encrypt(input, param):
(number_of_rounds, key_matrices) = get_inital_info(param)
output = prepare_input(input)
add_round_key(output, keyMatrices[0])
for i in range(1, numberOfRounds):
substitute(output)
shift_rows(output)
mix_columns(output)
add_round_key(output, keyMatrices[i])
substitute(output)
shift_rows(output)
add_round_key(output, keyMatrices[-1])
return prepare_output(output)
def aes_decrypt(input, param):
(number_of_rounds, key_matrices) = get_inital_info(param)
output = prepare_input(input)
add_round_key(output, keyMatrices[-1])
shift_rows_invert(output)
substitute_inverse(output)
for i in range(numberOfRounds - 1, 0, -1):
add_round_key(output, keyMatrices[i])
mix_columns_inverse(output)
shift_rows_invert(output)
substitute_inverse(output)
add_round_key(output, keyMatrices[0])
return prepare_output(output) |
### Sherlock and The Beast - Solution
def findDecentNumber(n):
temp = n
while temp > 0:
if temp%3 == 0:
break
else:
temp -= 5
if temp < 0:
return -1
final_str = ""
rep_count = temp // 3
while rep_count:
final_str += "555"
rep_count -= 1
rep_count = (n-temp) // 5
while rep_count:
final_str += "33333"
rep_count -= 1
return final_str
def main():
t = int(input())
while t:
n = int(input())
result = findDecentNumber(n)
print(result)
t -= 1
main() | def find_decent_number(n):
temp = n
while temp > 0:
if temp % 3 == 0:
break
else:
temp -= 5
if temp < 0:
return -1
final_str = ''
rep_count = temp // 3
while rep_count:
final_str += '555'
rep_count -= 1
rep_count = (n - temp) // 5
while rep_count:
final_str += '33333'
rep_count -= 1
return final_str
def main():
t = int(input())
while t:
n = int(input())
result = find_decent_number(n)
print(result)
t -= 1
main() |
#!/bin/env python3
class Car:
''' A car description '''
NUMBER_OF_WHEELS = 4 # Class variable.
def __init__(self, name):
self.name = name
self.distance = 0
def drive(self, distance):
''' incrises distance '''
self.distance += distance
def reverse(distance):
''' Class method '''
print("distance %d" % distance)
mycar = Car("Fiat 126p")
print(mycar.__dict__)
mycar.drive(5)
print(mycar.__dict__)
Car.reverse(7)
| class Car:
""" A car description """
number_of_wheels = 4
def __init__(self, name):
self.name = name
self.distance = 0
def drive(self, distance):
""" incrises distance """
self.distance += distance
def reverse(distance):
""" Class method """
print('distance %d' % distance)
mycar = car('Fiat 126p')
print(mycar.__dict__)
mycar.drive(5)
print(mycar.__dict__)
Car.reverse(7) |
# LeetCode 953. Verifying an Alien Dictionary `E`
# 1sk | 97% | 22'
# A~0v21
class Solution:
def isAlienSorted(self, words: List[str], order: str) -> bool:
dic = {c: i for i, c in enumerate(order)}
def cmp(s1, s2):
for i in range(min(len(s1), len(s2))):
if s1[i] != s2[i]:
return dic[s1[i]] <= dic[s2[i]]
return len(s1) <= len(s2)
return all(cmp(words[i], words[i+1]) for i in range(len(words)-1))
| class Solution:
def is_alien_sorted(self, words: List[str], order: str) -> bool:
dic = {c: i for (i, c) in enumerate(order)}
def cmp(s1, s2):
for i in range(min(len(s1), len(s2))):
if s1[i] != s2[i]:
return dic[s1[i]] <= dic[s2[i]]
return len(s1) <= len(s2)
return all((cmp(words[i], words[i + 1]) for i in range(len(words) - 1))) |
def beautifulTriplets(d, arr):
t = 0
for i in range(len(arr)):
if arr[i] + d in arr and arr[i] + 2*d in arr:
t += 1
return t | def beautiful_triplets(d, arr):
t = 0
for i in range(len(arr)):
if arr[i] + d in arr and arr[i] + 2 * d in arr:
t += 1
return t |
prime_numbers = [True for x in range(1001)]
prime_numbers[1] = False
for i in range(2, 1001):
for j in range(2*i, 1001, i):
prime_numbers[j] = False
input()
count = 0
for i in map(int, input().split()):
if prime_numbers[i] is True:
count += 1
print(count)
| prime_numbers = [True for x in range(1001)]
prime_numbers[1] = False
for i in range(2, 1001):
for j in range(2 * i, 1001, i):
prime_numbers[j] = False
input()
count = 0
for i in map(int, input().split()):
if prime_numbers[i] is True:
count += 1
print(count) |
def intersection(right=[], left=[]):
return list(set(right).intersection(set(left)))
def union(right=[], left=[]):
return list(set(right).union(set(left)))
def union(right=[], left=[]):
return list(set(right).difference(set(left))) # not have in left
| def intersection(right=[], left=[]):
return list(set(right).intersection(set(left)))
def union(right=[], left=[]):
return list(set(right).union(set(left)))
def union(right=[], left=[]):
return list(set(right).difference(set(left))) |
{
"target_defaults":
{
"cflags" : ["-Wall", "-Wextra", "-Wno-unused-parameter"],
"include_dirs": ["<!(node -e \"require('..')\")", "<!(node -e \"require('nan')\")",]
},
"targets": [
{
"target_name" : "primeNumbers",
"sources" : [ "cpp/primeNumbers.cpp" ],
"target_conditions": [
['OS=="mac"', {
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'GCC_ENABLE_CPP_RTTI': 'YES',
'OTHER_CFLAGS': [ '-g', '-mmacosx-version-min=10.7', '-std=c++11', '-stdlib=libc++' ],
'OTHER_CPLUSPLUSFLAGS': [ '-g', '-mmacosx-version-min=10.7', '-std=c++11', '-stdlib=libc++' ]
}
}],
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
'libraries!': [ '-undefined dynamic_lookup' ],
'cflags_cc!': [ '-fno-exceptions', '-fno-rtti' ],
"cflags": [ '-std=c++11', '-fexceptions', '-frtti' ],
}]
]
}
]}
| {'target_defaults': {'cflags': ['-Wall', '-Wextra', '-Wno-unused-parameter'], 'include_dirs': ['<!(node -e "require(\'..\')")', '<!(node -e "require(\'nan\')")']}, 'targets': [{'target_name': 'primeNumbers', 'sources': ['cpp/primeNumbers.cpp'], 'target_conditions': [['OS=="mac"', {'xcode_settings': {'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', 'GCC_ENABLE_CPP_RTTI': 'YES', 'OTHER_CFLAGS': ['-g', '-mmacosx-version-min=10.7', '-std=c++11', '-stdlib=libc++'], 'OTHER_CPLUSPLUSFLAGS': ['-g', '-mmacosx-version-min=10.7', '-std=c++11', '-stdlib=libc++']}}], ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {'libraries!': ['-undefined dynamic_lookup'], 'cflags_cc!': ['-fno-exceptions', '-fno-rtti'], 'cflags': ['-std=c++11', '-fexceptions', '-frtti']}]]}]} |
#!/usr/bin/python3
# -*- coding: utf-8 -*-
def main():
print(add(5,10))
print(add(5))
print(add(5,6))
print(add(x=5, y=2))
# print(add(x=5, 2)) # Error we need to use the both with name if you use the first one as named argument
print(add(5,y=2))
print(1,2,3,4,5, sep=" - ")
def add(x, y=3):
total = x + y
return total
if __name__ == "__main__":
main() | def main():
print(add(5, 10))
print(add(5))
print(add(5, 6))
print(add(x=5, y=2))
print(add(5, y=2))
print(1, 2, 3, 4, 5, sep=' - ')
def add(x, y=3):
total = x + y
return total
if __name__ == '__main__':
main() |
#!/usr/bin/python3
class VectorFeeder:
def __init__(self, vectors, words, cursor=0):
self.data = vectors
self.cursor = cursor
self.words = words
print('len words', len(self.words), 'len data', len(self.data))
def get_next_batch(self, size):
batch = self.data[self.cursor:(self.cursor+size)]
word_batch = self.words[self.cursor:(self.cursor+size)]
self.cursor += size
return batch, word_batch
def has_next(self):
return self.cursor < len(self.data)
def get_cursor(self):
return self.cursor
| class Vectorfeeder:
def __init__(self, vectors, words, cursor=0):
self.data = vectors
self.cursor = cursor
self.words = words
print('len words', len(self.words), 'len data', len(self.data))
def get_next_batch(self, size):
batch = self.data[self.cursor:self.cursor + size]
word_batch = self.words[self.cursor:self.cursor + size]
self.cursor += size
return (batch, word_batch)
def has_next(self):
return self.cursor < len(self.data)
def get_cursor(self):
return self.cursor |
expected_output = {
"instance": {
"default": {
"vrf": {
"VRF1": {
"address_family": {
"vpnv4 unicast RD 100:100": {
"default_vrf": "VRF1",
"prefixes": {
"10.229.11.11/32": {
"available_path": "1",
"best_path": "1",
"index": {
1: {
"gateway": "0.0.0.0",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"next_hop": "0.0.0.0",
"next_hop_via": "vrf VRF1",
"origin_codes": "?",
"originator": "10.1.1.1",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
"weight": "32768",
}
},
"paths": "1 available, best #1, table VRF1",
"table_version": "2",
}
},
"route_distinguisher": "100:100",
},
"vpnv6 unicast RD 100:100": {
"default_vrf": "VRF1",
"prefixes": {
"2001:11:11::11/128": {
"available_path": "1",
"best_path": "1",
"index": {
1: {
"gateway": "0.0.0.0",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"next_hop": "::",
"next_hop_via": "vrf VRF1",
"origin_codes": "?",
"originator": "10.1.1.1",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
"weight": "32768",
}
},
"paths": "1 available, best #1, table VRF1",
"table_version": "2",
}
},
"route_distinguisher": "100:100",
},
}
},
"default": {
"address_family": {
"ipv4 unicast": {
"prefixes": {
"10.4.1.1/32": {
"available_path": "1",
"best_path": "1",
"index": {
1: {
"gateway": "0.0.0.0",
"localpref": 100,
"metric": 0,
"next_hop": "0.0.0.0",
"origin_codes": "?",
"originator": "10.1.1.1",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
"update_group": 3,
"weight": "32768",
}
},
"paths": "1 available, best #1, table default, RIB-failure(17)",
"table_version": "4",
},
"10.1.1.0/24": {
"available_path": "2",
"best_path": "1",
"index": {
1: {
"gateway": "0.0.0.0",
"localpref": 100,
"metric": 0,
"next_hop": "0.0.0.0",
"origin_codes": "?",
"originator": "10.1.1.1",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
"update_group": 3,
"weight": "32768",
},
2: {
"gateway": "10.1.1.2",
"localpref": 100,
"metric": 0,
"next_hop": "10.1.1.2",
"origin_codes": "?",
"originator": "10.1.1.2",
"recipient_pathid": "0",
"transfer_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "* i",
"update_group": 3,
},
},
"paths": "2 available, best #1, table default",
"table_version": "5",
},
"10.16.2.2/32": {
"available_path": "1",
"best_path": "1",
"index": {
1: {
"gateway": "10.1.1.2",
"localpref": 100,
"metric": 0,
"next_hop": "10.1.1.2",
"origin_codes": "?",
"originator": "10.1.1.2",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
}
},
"paths": "1 available, best #1, table default",
"table_version": "2",
},
}
},
"ipv6 unicast": {
"prefixes": {
"2001:1:1:1::1/128": {
"available_path": "1",
"best_path": "1",
"index": {
1: {
"gateway": "0.0.0.0",
"localpref": 100,
"metric": 0,
"next_hop": "::",
"origin_codes": "?",
"originator": "10.1.1.1",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
"update_group": 1,
"weight": "32768",
}
},
"paths": "1 available, best #1, table default",
"table_version": "4",
},
"2001:2:2:2::2/128": {
"available_path": "2",
"best_path": "1",
"index": {
1: {
"gateway": "2001:DB8:1:1::2",
"localpref": 100,
"metric": 0,
"next_hop": "2001:DB8:1:1::2",
"origin_codes": "?",
"originator": "10.1.1.2",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
},
2: {
"gateway": "10.1.1.2",
"localpref": 100,
"metric": 0,
"next_hop": "::FFFF:10.1.1.2",
"origin_codes": "?",
"originator": "10.1.1.2",
"recipient_pathid": "0",
"transfer_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "* i",
},
},
"paths": "2 available, best #1, table default",
"table_version": "2",
},
"2001:DB8:1:1::/64": {
"available_path": "3",
"best_path": "1",
"index": {
1: {
"gateway": "0.0.0.0",
"localpref": 100,
"metric": 0,
"next_hop": "::",
"origin_codes": "?",
"originator": "10.1.1.1",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
"update_group": 1,
"weight": "32768",
},
2: {
"gateway": "2001:DB8:1:1::2",
"localpref": 100,
"metric": 0,
"next_hop": "2001:DB8:1:1::2",
"origin_codes": "?",
"originator": "10.1.1.2",
"recipient_pathid": "0",
"transfer_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "* i",
"update_group": 1,
},
3: {
"gateway": "10.1.1.2",
"localpref": 100,
"metric": 0,
"next_hop": "::FFFF:10.1.1.2",
"origin_codes": "?",
"originator": "10.1.1.2",
"recipient_pathid": "0",
"transfer_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "* i",
"update_group": 1,
},
},
"paths": "3 available, best #1, table default",
"table_version": "5",
},
}
},
}
},
}
}
}
}
| expected_output = {'instance': {'default': {'vrf': {'VRF1': {'address_family': {'vpnv4 unicast RD 100:100': {'default_vrf': 'VRF1', 'prefixes': {'10.229.11.11/32': {'available_path': '1', 'best_path': '1', 'index': {1: {'gateway': '0.0.0.0', 'inaccessible': False, 'localpref': 100, 'metric': 0, 'next_hop': '0.0.0.0', 'next_hop_via': 'vrf VRF1', 'origin_codes': '?', 'originator': '10.1.1.1', 'recipient_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '*>', 'transfer_pathid': '0x0', 'weight': '32768'}}, 'paths': '1 available, best #1, table VRF1', 'table_version': '2'}}, 'route_distinguisher': '100:100'}, 'vpnv6 unicast RD 100:100': {'default_vrf': 'VRF1', 'prefixes': {'2001:11:11::11/128': {'available_path': '1', 'best_path': '1', 'index': {1: {'gateway': '0.0.0.0', 'inaccessible': False, 'localpref': 100, 'metric': 0, 'next_hop': '::', 'next_hop_via': 'vrf VRF1', 'origin_codes': '?', 'originator': '10.1.1.1', 'recipient_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '*>', 'transfer_pathid': '0x0', 'weight': '32768'}}, 'paths': '1 available, best #1, table VRF1', 'table_version': '2'}}, 'route_distinguisher': '100:100'}}}, 'default': {'address_family': {'ipv4 unicast': {'prefixes': {'10.4.1.1/32': {'available_path': '1', 'best_path': '1', 'index': {1: {'gateway': '0.0.0.0', 'localpref': 100, 'metric': 0, 'next_hop': '0.0.0.0', 'origin_codes': '?', 'originator': '10.1.1.1', 'recipient_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '*>', 'transfer_pathid': '0x0', 'update_group': 3, 'weight': '32768'}}, 'paths': '1 available, best #1, table default, RIB-failure(17)', 'table_version': '4'}, '10.1.1.0/24': {'available_path': '2', 'best_path': '1', 'index': {1: {'gateway': '0.0.0.0', 'localpref': 100, 'metric': 0, 'next_hop': '0.0.0.0', 'origin_codes': '?', 'originator': '10.1.1.1', 'recipient_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '*>', 'transfer_pathid': '0x0', 'update_group': 3, 'weight': '32768'}, 2: {'gateway': '10.1.1.2', 'localpref': 100, 'metric': 0, 'next_hop': '10.1.1.2', 'origin_codes': '?', 'originator': '10.1.1.2', 'recipient_pathid': '0', 'transfer_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '* i', 'update_group': 3}}, 'paths': '2 available, best #1, table default', 'table_version': '5'}, '10.16.2.2/32': {'available_path': '1', 'best_path': '1', 'index': {1: {'gateway': '10.1.1.2', 'localpref': 100, 'metric': 0, 'next_hop': '10.1.1.2', 'origin_codes': '?', 'originator': '10.1.1.2', 'recipient_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '*>', 'transfer_pathid': '0x0'}}, 'paths': '1 available, best #1, table default', 'table_version': '2'}}}, 'ipv6 unicast': {'prefixes': {'2001:1:1:1::1/128': {'available_path': '1', 'best_path': '1', 'index': {1: {'gateway': '0.0.0.0', 'localpref': 100, 'metric': 0, 'next_hop': '::', 'origin_codes': '?', 'originator': '10.1.1.1', 'recipient_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '*>', 'transfer_pathid': '0x0', 'update_group': 1, 'weight': '32768'}}, 'paths': '1 available, best #1, table default', 'table_version': '4'}, '2001:2:2:2::2/128': {'available_path': '2', 'best_path': '1', 'index': {1: {'gateway': '2001:DB8:1:1::2', 'localpref': 100, 'metric': 0, 'next_hop': '2001:DB8:1:1::2', 'origin_codes': '?', 'originator': '10.1.1.2', 'recipient_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '*>', 'transfer_pathid': '0x0'}, 2: {'gateway': '10.1.1.2', 'localpref': 100, 'metric': 0, 'next_hop': '::FFFF:10.1.1.2', 'origin_codes': '?', 'originator': '10.1.1.2', 'recipient_pathid': '0', 'transfer_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '* i'}}, 'paths': '2 available, best #1, table default', 'table_version': '2'}, '2001:DB8:1:1::/64': {'available_path': '3', 'best_path': '1', 'index': {1: {'gateway': '0.0.0.0', 'localpref': 100, 'metric': 0, 'next_hop': '::', 'origin_codes': '?', 'originator': '10.1.1.1', 'recipient_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '*>', 'transfer_pathid': '0x0', 'update_group': 1, 'weight': '32768'}, 2: {'gateway': '2001:DB8:1:1::2', 'localpref': 100, 'metric': 0, 'next_hop': '2001:DB8:1:1::2', 'origin_codes': '?', 'originator': '10.1.1.2', 'recipient_pathid': '0', 'transfer_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '* i', 'update_group': 1}, 3: {'gateway': '10.1.1.2', 'localpref': 100, 'metric': 0, 'next_hop': '::FFFF:10.1.1.2', 'origin_codes': '?', 'originator': '10.1.1.2', 'recipient_pathid': '0', 'transfer_pathid': '0', 'refresh_epoch': 1, 'route_info': 'Local', 'status_codes': '* i', 'update_group': 1}}, 'paths': '3 available, best #1, table default', 'table_version': '5'}}}}}}}}} |
n=6
x=1
for i in range(1,n+1):
for j in range(i,0,-1):
ch=chr(ord('Z')-j+1)
print(ch,end="")
x=x+1
print()
for i in range(n,0,-1):
for j in range(i,0,-1):
ch=chr(ord('Z')-j+1)
print(ch,end="")
x=x+1
print()
| n = 6
x = 1
for i in range(1, n + 1):
for j in range(i, 0, -1):
ch = chr(ord('Z') - j + 1)
print(ch, end='')
x = x + 1
print()
for i in range(n, 0, -1):
for j in range(i, 0, -1):
ch = chr(ord('Z') - j + 1)
print(ch, end='')
x = x + 1
print() |
name1_1_0_0_0_0_0 = None
name1_1_0_0_0_0_1 = None
name1_1_0_0_0_0_2 = None
name1_1_0_0_0_0_3 = None
name1_1_0_0_0_0_4 = None | name1_1_0_0_0_0_0 = None
name1_1_0_0_0_0_1 = None
name1_1_0_0_0_0_2 = None
name1_1_0_0_0_0_3 = None
name1_1_0_0_0_0_4 = None |
def soma(*args):
total = 0
for n in args:
total += n
return total
print(__name__)
print(soma())
print(soma(1))
print(soma(1, 2))
print(soma(1, 2, 5)) | def soma(*args):
total = 0
for n in args:
total += n
return total
print(__name__)
print(soma())
print(soma(1))
print(soma(1, 2))
print(soma(1, 2, 5)) |
infty = 999999
def whitespace(words, i, j):
return (L-(j-i)-sum([len(word) for word in words[i:j+1]]))
def cost(words,i,j):
total_char_length = sum([len(word) for word in words[i:j+1]])
if total_char_length > L-(j-i):
return infty
if j==len(words)-1:
return 0
return whitespace(words,i,j)**3
#words = ["one","two","three","four","five","six","seven"]
#L = 10
words = ["alpha", "beta", "gamma", "delta", "epsilon", "zeta", "eta", "theta", "iota", "kappa"]
L=15
# Setting up tables
costs = [[None for i in range(len(words))] for j in range(len(words))]
optimum_costs = [[None for i in range(len(words))] for j in range(len(words))]
break_table = [[None for i in range(len(words))] for j in range(len(words))]
for i in range(len(costs)):
for j in range(len(costs[i])):
costs[i][j] = cost(words,i,j)
def get_opt_cost(words,i,j):
# If this subproblem is already solved, return result
if(optimum_costs[i][j] != None):
return optimum_costs[i][j]
# There are now two main classes of ways we could get the optimum
# 1) The best choice is that we put all the words on one line
canidate_costs = [costs[i][j]]
canidate_list = [None]
if i!=j:
for k in range(i,j):
# Calculate optimum of words before line split
left_optimum = get_opt_cost(words,i,k)
optimum_costs[i][k] = left_optimum
# Calculate optimum of words after line split
right_optimum = get_opt_cost(words,k+1,j)
optimum_costs[k+1][j] = right_optimum
total_optimum = left_optimum+right_optimum
canidate_costs.append(total_optimum)
canidate_list.append(k)
min_cost= infty
min_canidate = None
for n, cost in enumerate(canidate_costs):
if cost < min_cost:
min_cost = cost
min_canidate = canidate_list[n]
break_table[i][j] = min_canidate
return min_cost
# Calculate the line breaks
def get_line_breaks(i,j):
if break_table[i][j] != None:
opt_break = get_line_breaks(break_table[i][j]+1,j)
return [break_table[i][j]]+opt_break
else:
return []
final_cost = get_opt_cost(words,0,len(words)-1)
breaks = get_line_breaks(0,len(words)-1)
def print_final_paragraph(words,breaks):
final_str = ""
cur_break_point = 0
for n, word in enumerate(words):
final_str = final_str+word+" "
if cur_break_point < len(breaks) and n==breaks[cur_break_point]:
final_str+="\n"
cur_break_point+=1
print(final_str)
print("Final Cost: ",final_cost)
print("Break Locations: ",breaks)
print("----")
print_final_paragraph(words,breaks)
| infty = 999999
def whitespace(words, i, j):
return L - (j - i) - sum([len(word) for word in words[i:j + 1]])
def cost(words, i, j):
total_char_length = sum([len(word) for word in words[i:j + 1]])
if total_char_length > L - (j - i):
return infty
if j == len(words) - 1:
return 0
return whitespace(words, i, j) ** 3
words = ['alpha', 'beta', 'gamma', 'delta', 'epsilon', 'zeta', 'eta', 'theta', 'iota', 'kappa']
l = 15
costs = [[None for i in range(len(words))] for j in range(len(words))]
optimum_costs = [[None for i in range(len(words))] for j in range(len(words))]
break_table = [[None for i in range(len(words))] for j in range(len(words))]
for i in range(len(costs)):
for j in range(len(costs[i])):
costs[i][j] = cost(words, i, j)
def get_opt_cost(words, i, j):
if optimum_costs[i][j] != None:
return optimum_costs[i][j]
canidate_costs = [costs[i][j]]
canidate_list = [None]
if i != j:
for k in range(i, j):
left_optimum = get_opt_cost(words, i, k)
optimum_costs[i][k] = left_optimum
right_optimum = get_opt_cost(words, k + 1, j)
optimum_costs[k + 1][j] = right_optimum
total_optimum = left_optimum + right_optimum
canidate_costs.append(total_optimum)
canidate_list.append(k)
min_cost = infty
min_canidate = None
for (n, cost) in enumerate(canidate_costs):
if cost < min_cost:
min_cost = cost
min_canidate = canidate_list[n]
break_table[i][j] = min_canidate
return min_cost
def get_line_breaks(i, j):
if break_table[i][j] != None:
opt_break = get_line_breaks(break_table[i][j] + 1, j)
return [break_table[i][j]] + opt_break
else:
return []
final_cost = get_opt_cost(words, 0, len(words) - 1)
breaks = get_line_breaks(0, len(words) - 1)
def print_final_paragraph(words, breaks):
final_str = ''
cur_break_point = 0
for (n, word) in enumerate(words):
final_str = final_str + word + ' '
if cur_break_point < len(breaks) and n == breaks[cur_break_point]:
final_str += '\n'
cur_break_point += 1
print(final_str)
print('Final Cost: ', final_cost)
print('Break Locations: ', breaks)
print('----')
print_final_paragraph(words, breaks) |
class MinStack:
# Update Min every pop (Accepted), O(1) push, pop, top, min
def __init__(self):
self.stack = []
self.min = None
def push(self, val: int) -> None:
if self.stack:
self.min = min(self.min, val)
self.stack.append((val, self.min))
else:
self.min = val
self.stack.append((val, self.min))
def pop(self) -> None:
val, min_ = self.stack.pop()
if self.stack:
self.min = self.stack[-1][1]
else:
self.min = None
def top(self) -> int:
if self.stack:
return self.stack[-1][0]
def getMin(self) -> int:
return self.min
class MinStack:
# Find min in last elem (Top Voted), O(1) push, pop, top, min
def __init__(self):
self.q = []
def push(self, x: int) -> None:
curMin = self.getMin()
if curMin == None or x < curMin:
curMin = x
self.q.append((x, curMin))
def pop(self) -> None:
self.q.pop()
def top(self) -> int:
if len(self.q) == 0:
return None
else:
return self.q[len(self.q) - 1][0]
def getMin(self) -> int:
if len(self.q) == 0:
return None
else:
return self.q[len(self.q) - 1][1]
# Your MinStack object will be instantiated and called as such:
# obj = MinStack()
# obj.push(val)
# obj.pop()
# param_3 = obj.top()
# param_4 = obj.getMin()
| class Minstack:
def __init__(self):
self.stack = []
self.min = None
def push(self, val: int) -> None:
if self.stack:
self.min = min(self.min, val)
self.stack.append((val, self.min))
else:
self.min = val
self.stack.append((val, self.min))
def pop(self) -> None:
(val, min_) = self.stack.pop()
if self.stack:
self.min = self.stack[-1][1]
else:
self.min = None
def top(self) -> int:
if self.stack:
return self.stack[-1][0]
def get_min(self) -> int:
return self.min
class Minstack:
def __init__(self):
self.q = []
def push(self, x: int) -> None:
cur_min = self.getMin()
if curMin == None or x < curMin:
cur_min = x
self.q.append((x, curMin))
def pop(self) -> None:
self.q.pop()
def top(self) -> int:
if len(self.q) == 0:
return None
else:
return self.q[len(self.q) - 1][0]
def get_min(self) -> int:
if len(self.q) == 0:
return None
else:
return self.q[len(self.q) - 1][1] |
def main():
try:
with open('cat_200_300.jpg', 'rb') as fs1:
data = fs1.read()
print(type(data))
with open('cat1.jpg', 'wb') as fs2:
fs2.write(data)
except FileNotFoundError as e:
print(e)
if __name__ == '__main__':
main() | def main():
try:
with open('cat_200_300.jpg', 'rb') as fs1:
data = fs1.read()
print(type(data))
with open('cat1.jpg', 'wb') as fs2:
fs2.write(data)
except FileNotFoundError as e:
print(e)
if __name__ == '__main__':
main() |
while True:
a = input()
if a == '-1':
break
L = list(map(int, a.split()))[:-1]
cnt = 0
for i in L:
if i*2 in L:
cnt += 1
print(cnt)
| while True:
a = input()
if a == '-1':
break
l = list(map(int, a.split()))[:-1]
cnt = 0
for i in L:
if i * 2 in L:
cnt += 1
print(cnt) |
# -*- coding: utf-8 -*-
__all__=['glottal', 'phonation', 'articulation', 'prosody', 'replearning'] | __all__ = ['glottal', 'phonation', 'articulation', 'prosody', 'replearning'] |
# creating a function to calculate the density.
def calc_density(mass, volume):
# arithmetic calculation to determine the density.
density = mass / volume
density = round(density, 2)
# returning the value of the density.
return density
# receiving input from the user regarding the mass and volume of the substance.
mass = float(input("Enter the mass of the substance in grams please: "))
volume = float(input("Enter the volume of the substance please: "))
# printing the final output which indicates the density.
print("The density of the object is:", calc_density(mass, volume), "g/cm^3") | def calc_density(mass, volume):
density = mass / volume
density = round(density, 2)
return density
mass = float(input('Enter the mass of the substance in grams please: '))
volume = float(input('Enter the volume of the substance please: '))
print('The density of the object is:', calc_density(mass, volume), 'g/cm^3') |
class documentmodel:
def getDocuments(self):
document_tokens1 = "China has a strong economy that is growing at a rapid pace. However politically it differs greatly from the US Economy."
document_tokens2 = "At last, China seems serious about confronting an endemic problem: domestic violence and corruption."
document_tokens3 = "Japan's prime minister, Shinzo Abe, is working towards healing the economic turmoil in his own country for his view on the future of his people."
document_tokens4 = "Vladimir Putin is working hard to fix the economy in Russia as the Ruble has tumbled."
document_tokens5 = "What's the future of Abenomics? We asked Shinzo Abe for his views"
document_tokens6 = "Obama has eased sanctions on Cuba while accelerating those against the Russian Economy, even as the Ruble's value falls almost daily."
document_tokens7 = "Vladimir Putin is riding a horse while hunting deer. Vladimir Putin always seems so serious about things - even riding horses. Is he crazy?"
documents = []
documents.append(document_tokens1)
documents.append(document_tokens2)
documents.append(document_tokens3)
documents.append(document_tokens4)
documents.append(document_tokens5)
documents.append(document_tokens6)
documents.append(document_tokens7)
return documents
| class Documentmodel:
def get_documents(self):
document_tokens1 = 'China has a strong economy that is growing at a rapid pace. However politically it differs greatly from the US Economy.'
document_tokens2 = 'At last, China seems serious about confronting an endemic problem: domestic violence and corruption.'
document_tokens3 = "Japan's prime minister, Shinzo Abe, is working towards healing the economic turmoil in his own country for his view on the future of his people."
document_tokens4 = 'Vladimir Putin is working hard to fix the economy in Russia as the Ruble has tumbled.'
document_tokens5 = "What's the future of Abenomics? We asked Shinzo Abe for his views"
document_tokens6 = "Obama has eased sanctions on Cuba while accelerating those against the Russian Economy, even as the Ruble's value falls almost daily."
document_tokens7 = 'Vladimir Putin is riding a horse while hunting deer. Vladimir Putin always seems so serious about things - even riding horses. Is he crazy?'
documents = []
documents.append(document_tokens1)
documents.append(document_tokens2)
documents.append(document_tokens3)
documents.append(document_tokens4)
documents.append(document_tokens5)
documents.append(document_tokens6)
documents.append(document_tokens7)
return documents |
# For internal use. Please do not modify this file.
def setup():
return
def extra_make_option():
return ""
| def setup():
return
def extra_make_option():
return '' |
def collatz(number):
if number%2==0:
number=number//2
else:
number=3*number+1
print(number)
return number
print('enter an integer')
num=int(input())
a=0
a=collatz(num)
while a!=1:
a=collatz(a)
| def collatz(number):
if number % 2 == 0:
number = number // 2
else:
number = 3 * number + 1
print(number)
return number
print('enter an integer')
num = int(input())
a = 0
a = collatz(num)
while a != 1:
a = collatz(a) |
# CONVERSION OF UNITS
# Python 3
# Using Jupyter Notebook
# If using Visual Studio then change .ipynb to .py
# This program aims to convert units from miles to km and from km to ft.
# 1 inch = 2.54 cm, 1 km = 1000m, 1 m = 100 cm, 12 inches = 1 ft, 1 mile = 5280 ft
# ------- Start -------
# Known Standard Units of Conversion
# Refer to a conversion table if you don't know where to find it.
# But I placed it at the top for reference
inToCm = 2.54
kmToM = 1000
mToCm = 100
inToFt = 1/12
miToFt = 5280
# Input your number to be converted using this command
num = float(input("Enter your number (in miles): "))
# Conversion formula
# Don't get overwhelmed, if you have the conversion table you'll be fine.
# Otherwise get your pen and paper, and write before coding!
miToFt = num * miToFt
inToFt = miToFt * (1/inToFt)
inToCm = inToFt * inToCm
mToCm = inToCm * (1/mToCm)
kmToM = mToCm * (1/kmToM)
# Print the answer
print()
print(num, " mile(s) is",miToFt," feet")
print(miToFt, " feet(s) is",inToFt," inch(es)")
print(inToFt, " inch(es) is",inToCm," centimeter(s)")
print(inToCm, " centmeter(s) is",mToCm," meter(s)")
print(mToCm, " meter(s) is",kmToM," kilometer(s)")
# ------- End -------
# For a shorter version
#CONVERSION OF UNITS
#This program aims to convert units from miles to km and from km to ft.
# 1 inch = 2.54 cm, 1 km = 1000m, 1 m = 100 cm, 12 inches = 1 ft, 1 mile = 5280 ft
inToCm = 2.54
kmToM = 1000
mToCm = 100
inToFt = 1/12
miToFt = 5280
num = float(input("Enter your number (in miles): "))
convertedNum = num * miToFt * (1/inToFt) * inToCm * (1/mToCm) * (1/kmToM)
print(num, " mile(s) is",convertedNum,"kilometers") | in_to_cm = 2.54
km_to_m = 1000
m_to_cm = 100
in_to_ft = 1 / 12
mi_to_ft = 5280
num = float(input('Enter your number (in miles): '))
mi_to_ft = num * miToFt
in_to_ft = miToFt * (1 / inToFt)
in_to_cm = inToFt * inToCm
m_to_cm = inToCm * (1 / mToCm)
km_to_m = mToCm * (1 / kmToM)
print()
print(num, ' mile(s) is', miToFt, ' feet')
print(miToFt, ' feet(s) is', inToFt, ' inch(es)')
print(inToFt, ' inch(es) is', inToCm, ' centimeter(s)')
print(inToCm, ' centmeter(s) is', mToCm, ' meter(s)')
print(mToCm, ' meter(s) is', kmToM, ' kilometer(s)')
in_to_cm = 2.54
km_to_m = 1000
m_to_cm = 100
in_to_ft = 1 / 12
mi_to_ft = 5280
num = float(input('Enter your number (in miles): '))
converted_num = num * miToFt * (1 / inToFt) * inToCm * (1 / mToCm) * (1 / kmToM)
print(num, ' mile(s) is', convertedNum, 'kilometers') |
'''constants.py
Various constants that are utilized in different modules across the whole program'''
#Unicode characters for suits
SUITS = [
'\u2660',
'\u2663',
'\u2665',
'\u2666'
]
#A calculation value and a face value for the cards
VALUE_PAIRS = [
(1, 'A'),
(2, '2'),
(3, '3'),
(4, '4'),
(5, '5'),
(6, '6'),
(7, '7'),
(8, '8'),
(9, '9'),
(10, '10'),
(11, 'J'),
(12, 'Q'),
(13, 'K')
]
#Colors: Tuples with RGB values from 0 to 255
BLACK = (0, 0, 0)
WHITE = (255, 255, 255)
RED = (255, 0, 0)
BLUE = (50, 150, 255)
GRAY = (115, 115, 115)
GREEN = (0, 255, 0)
| """constants.py
Various constants that are utilized in different modules across the whole program"""
suits = ['♠', '♣', '♥', '♦']
value_pairs = [(1, 'A'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), (7, '7'), (8, '8'), (9, '9'), (10, '10'), (11, 'J'), (12, 'Q'), (13, 'K')]
black = (0, 0, 0)
white = (255, 255, 255)
red = (255, 0, 0)
blue = (50, 150, 255)
gray = (115, 115, 115)
green = (0, 255, 0) |
def is_overlap(arr1, arr2):
if arr2[0] <= arr1[0] <= arr2[1]:
return True
if arr2[0] <= arr1[1] <= arr2[1]:
return True
if arr1[0] <= arr2[0] <= arr1[1]:
return True
if arr1[0] <= arr2[1] <= arr1[1]:
return True
return False
def merge_2_arrays(arr1, arr2):
l = min(min(arr1), min(arr2))
r = max(max(arr1), max(arr2))
return [l, r]
def rain_drop(rain):
if not rain:
return -1
r = sorted(rain)
covered = r[0]
for i in range(1, len(r)):
if not is_overlap(covered, r[i]):
return -1
covered = merge_2_arrays(covered, r[i])
print(covered)
if covered[1] >= 1:
return i + 1
return -1
if __name__ == '__main__':
rains = [[0, 0.3],[0.3, 0.6],[0.5, 0.8], [0.67, 1], [0, 0.4] ,[0.5, 0.75]]
print(rain_drop(rains)) | def is_overlap(arr1, arr2):
if arr2[0] <= arr1[0] <= arr2[1]:
return True
if arr2[0] <= arr1[1] <= arr2[1]:
return True
if arr1[0] <= arr2[0] <= arr1[1]:
return True
if arr1[0] <= arr2[1] <= arr1[1]:
return True
return False
def merge_2_arrays(arr1, arr2):
l = min(min(arr1), min(arr2))
r = max(max(arr1), max(arr2))
return [l, r]
def rain_drop(rain):
if not rain:
return -1
r = sorted(rain)
covered = r[0]
for i in range(1, len(r)):
if not is_overlap(covered, r[i]):
return -1
covered = merge_2_arrays(covered, r[i])
print(covered)
if covered[1] >= 1:
return i + 1
return -1
if __name__ == '__main__':
rains = [[0, 0.3], [0.3, 0.6], [0.5, 0.8], [0.67, 1], [0, 0.4], [0.5, 0.75]]
print(rain_drop(rains)) |
def fib(n):
if n == 1 or n == 2:
return 1
else:
return fib(n - 1) + fib(n - 2)
def fib3(n):
if n == 1 or n == 2 or n == 3:
return 1
else:
return fib3(n - 1) + fib3(n - 2) + fib3(n - 3)
def fib_mult(n):
if n == 1:
return 1
if n == 2:
return 2
else:
return fib_mult(n - 1) * fib_mult(n - 2)
def fib_skip(n):
if n == 1 or n == 2 or n == 3:
return 1
else:
return fib_skip(n - 1) + fib_skip(n - 3)
def joynernacci(n):
if n == 1 or n == 2:
return 1
else:
if n % 2 ==0:
return joynernacci(n - 1) + joynernacci(n - 2)
else:
return abs(joynernacci(n - 1) - joynernacci(n - 2))
| def fib(n):
if n == 1 or n == 2:
return 1
else:
return fib(n - 1) + fib(n - 2)
def fib3(n):
if n == 1 or n == 2 or n == 3:
return 1
else:
return fib3(n - 1) + fib3(n - 2) + fib3(n - 3)
def fib_mult(n):
if n == 1:
return 1
if n == 2:
return 2
else:
return fib_mult(n - 1) * fib_mult(n - 2)
def fib_skip(n):
if n == 1 or n == 2 or n == 3:
return 1
else:
return fib_skip(n - 1) + fib_skip(n - 3)
def joynernacci(n):
if n == 1 or n == 2:
return 1
elif n % 2 == 0:
return joynernacci(n - 1) + joynernacci(n - 2)
else:
return abs(joynernacci(n - 1) - joynernacci(n - 2)) |
__author__ = 'Dmitriy Korsakov'
def main():
pass
| __author__ = 'Dmitriy Korsakov'
def main():
pass |
# Python - 3.4.3
def problem(a):
try:
return float(a) * 50 + 6
except:
return 'Error'
| def problem(a):
try:
return float(a) * 50 + 6
except:
return 'Error' |
# current = -4.036304473876953
def convert(time):
pos = True if time >= 0 else False
time = abs(time)
time_hours = time/3600
time_h = int(time_hours)
time_remaining = time_hours - time_h
time_m = int(time_remaining*60)
time_sec = time_remaining - time_m/60
time_s = int(time_sec*3600)
time_format = f'{time_m}:{time_s}' if pos else f'-{time_m}:{time_s}'
if abs(time_h) > 0:
time_format = f'{time_h}:{time_m}:{time_s}' if pos else f'-{time_h}:{time_m}:{time_s}'
return time_format
# time = convert(current)
# print(time) | def convert(time):
pos = True if time >= 0 else False
time = abs(time)
time_hours = time / 3600
time_h = int(time_hours)
time_remaining = time_hours - time_h
time_m = int(time_remaining * 60)
time_sec = time_remaining - time_m / 60
time_s = int(time_sec * 3600)
time_format = f'{time_m}:{time_s}' if pos else f'-{time_m}:{time_s}'
if abs(time_h) > 0:
time_format = f'{time_h}:{time_m}:{time_s}' if pos else f'-{time_h}:{time_m}:{time_s}'
return time_format |
def composite_value(value):
if ';' in value:
items = []
first = True
for tmp in value.split(';'):
if not first and tmp.startswith(' '):
tmp = tmp[1:]
items.append(tmp)
first = False
else:
items = [value]
return items
| def composite_value(value):
if ';' in value:
items = []
first = True
for tmp in value.split(';'):
if not first and tmp.startswith(' '):
tmp = tmp[1:]
items.append(tmp)
first = False
else:
items = [value]
return items |
#!/usr/bin/env python
# iGoBot - a GO game playing robot
#
# ##############################
# # GO stone board coordinates #
# ##############################
#
# Project website: http://www.springwald.de/hi/igobot
#
# Licensed under MIT License (MIT)
#
# Copyright (c) 2018 Daniel Springwald | [email protected]
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
class Board():
_released = False
Empty = 0;
Black = 1;
White = 2;
_boardSize = 0; # 9, 13, 19
_fields = [];
# Stepper motor positions
_13x13_xMin = 735;
_13x13_xMax = 3350;
_13x13_yMin = 100;
_13x13_yMax = 2890;
_9x9_xMin = 1120;
_9x9_xMax = 2940;
_9x9_yMin = 560;
_9x9_yMax = 2400;
StepperMinX = 0;
StepperMaxX = 0;
StepperMinY = 0;
StepperMaxY = 0;
def __init__(self, boardSize):
self._boardSize = boardSize;
if (boardSize == 13):
#print("Board: size " , boardSize, "x", boardSize);
self.StepperMinX = self._13x13_xMin;
self.StepperMaxX = self._13x13_xMax
self.StepperMinY = self._13x13_yMin;
self.StepperMaxY = self._13x13_yMax;
else:
if (boardSize == 9):
#print("Board: size " , boardSize, "x", boardSize);
self.StepperMinX = self._9x9_xMin;
self.StepperMaxX = self._9x9_xMax
self.StepperMinY = self._9x9_yMin;
self.StepperMaxY = self._9x9_yMax;
else:
throw ("unknown board size " , boardSize, "x", boardSize);
# init board dimensions with 0 values (0=empty, 1=black, 2= white)
self._fields = [[0 for i in range(boardSize)] for j in range(boardSize)]
@staticmethod
def FromStones(boardSize, blackStones, whiteStones):
# create a new board and fill it with the given black and white stones
board = Board(boardSize)
if (blackStones != None and len(blackStones) > 0 and blackStones[0] != ''):
for black in Board.EnsureXyNotation(blackStones):
board.SetField(black[0],black[1],Board.Black);
if (whiteStones != None and len(whiteStones) > 0 and whiteStones[0] != ''):
for white in Board.EnsureXyNotation(whiteStones):
board.SetField(white[0],white[1],Board.White);
return board;
@staticmethod
def Differences(board1, board2):
# find all coordinates, where the second board is other
if (board1 == None): throw ("board1 == None");
if (board2 == None): throw ("board2 == None");
if (board1._boardSize != board2._boardSize): throw ("different board sizes: " , board1._boardSize, " vs. ", board2._boardSize);
result = [];
for x in range(0, board1._boardSize):
for y in range(0, board1._boardSize):
if (board1.GetField(x,y) != board2.GetField(x,y)):
result.extend([[x,y]])
return result;
def RemovedStones(board1, board2):
# find all coordinates, where the stones from board1 are not on board2
if (board1 == None): throw ("board1 == None");
if (board2 == None): throw ("board2 == None");
if (board1._boardSize != board2._boardSize): throw ("different board sizes: " , board1._boardSize, " vs. ", board2._boardSize);
result = [];
for x in range(0, board1._boardSize):
for y in range(0, board1._boardSize):
if (board1.GetField(x,y) != Board.Empty):
if (board2.GetField(x,y) == Board.Empty):
result.extend([[x,y]])
return result;
@staticmethod
def EnsureXyNotation(stones):
#ensures that this is a list of [[x,y],[x,y]] and not like ["A1","G2]
result = [];
for stone in stones:
#print(">>>1>>>", stone);
if (isinstance(stone, str) and stone !=''):
#print(">>>2>>>", Board.AzToXy(stone));
result.extend([Board.AzToXy(stone)])
else:
#print(">>>3>>>", stones);
return stones; # already [x,y] format
return result;
@staticmethod
def XyToAz(x,y):
# converts x=1,y=2 to A1
if (x > 7):
x=x+1; # i is not defined, jump to j
return chr(65+x)+str(y+1);
@staticmethod
def AzToXy(azNotation):
# converts A1 to [0,0]
if (len(azNotation) != 2 and len(azNotation) != 3):
print ("board.AzToXy for '" + azNotation + "' is not exact 2-3 chars long");
return None;
x = ord(azNotation[0])-65;
if (x > 7):
x=x-1; # i is not defined, jump to h
y = int(azNotation[1:])-1;
return [x,y]
def Print(self):
# draw the board to console
for y in range(0, self._boardSize):
line = "";
for x in range(0, self._boardSize):
stone = self.GetField(x,y);
if (stone==0):
line = line + "."
elif (stone==Board.Black):
line = line + "*";
elif (stone==Board.White):
line = line + "O";
print(line);
def GetField(self,x,y):
return self._fields[x][y];
def SetField(self,x,y, value):
self._fields[x][y] = value;
def GetNewStones(self, detectedStones, color=Black):
# what are the new black/whites stones in the list, not still on the board?
newStones = [];
for stone in detectedStones:
if (self.GetField(stone[0],stone[1]) != color):
newStones.extend([[stone[0],stone[1]]])
return newStones;
def GetStepperXPos(self, fieldX):
return self.StepperMinX + int(fieldX * 1.0 * ((self.StepperMaxX-self.StepperMinX) / (self._boardSize-1.0)));
def GetStepperYPos(self, fieldY):
return self.StepperMinY + int(fieldY * 1.0 * ((self.StepperMaxY-self.StepperMinY) / (self._boardSize-1.0)));
if __name__ == '__main__':
board = Board(13)
print (board._fields)
print (Board.AzToXy("A1"))
board.SetField(0,0,board.Black);
board.SetField(12,12,board.Black);
print(board.GetField(0,0));
print(board.GetField(0,0) == board.Black);
for x in range(0,13):
f = board.XyToAz(x,x);
print([x,x],f, Board.AzToXy(f));
board2 = Board.FromStones(boardSize=13, blackStones=[[0,0],[1,1]], whiteStones=[[2,0],[2,1]]);
board2.Print();
print(Board.Differences(board,board2));
print(Board.RemovedStones(board,board2));
| class Board:
_released = False
empty = 0
black = 1
white = 2
_board_size = 0
_fields = []
_13x13_x_min = 735
_13x13_x_max = 3350
_13x13_y_min = 100
_13x13_y_max = 2890
_9x9_x_min = 1120
_9x9_x_max = 2940
_9x9_y_min = 560
_9x9_y_max = 2400
stepper_min_x = 0
stepper_max_x = 0
stepper_min_y = 0
stepper_max_y = 0
def __init__(self, boardSize):
self._boardSize = boardSize
if boardSize == 13:
self.StepperMinX = self._13x13_xMin
self.StepperMaxX = self._13x13_xMax
self.StepperMinY = self._13x13_yMin
self.StepperMaxY = self._13x13_yMax
elif boardSize == 9:
self.StepperMinX = self._9x9_xMin
self.StepperMaxX = self._9x9_xMax
self.StepperMinY = self._9x9_yMin
self.StepperMaxY = self._9x9_yMax
else:
throw('unknown board size ', boardSize, 'x', boardSize)
self._fields = [[0 for i in range(boardSize)] for j in range(boardSize)]
@staticmethod
def from_stones(boardSize, blackStones, whiteStones):
board = board(boardSize)
if blackStones != None and len(blackStones) > 0 and (blackStones[0] != ''):
for black in Board.EnsureXyNotation(blackStones):
board.SetField(black[0], black[1], Board.Black)
if whiteStones != None and len(whiteStones) > 0 and (whiteStones[0] != ''):
for white in Board.EnsureXyNotation(whiteStones):
board.SetField(white[0], white[1], Board.White)
return board
@staticmethod
def differences(board1, board2):
if board1 == None:
throw('board1 == None')
if board2 == None:
throw('board2 == None')
if board1._boardSize != board2._boardSize:
throw('different board sizes: ', board1._boardSize, ' vs. ', board2._boardSize)
result = []
for x in range(0, board1._boardSize):
for y in range(0, board1._boardSize):
if board1.GetField(x, y) != board2.GetField(x, y):
result.extend([[x, y]])
return result
def removed_stones(board1, board2):
if board1 == None:
throw('board1 == None')
if board2 == None:
throw('board2 == None')
if board1._boardSize != board2._boardSize:
throw('different board sizes: ', board1._boardSize, ' vs. ', board2._boardSize)
result = []
for x in range(0, board1._boardSize):
for y in range(0, board1._boardSize):
if board1.GetField(x, y) != Board.Empty:
if board2.GetField(x, y) == Board.Empty:
result.extend([[x, y]])
return result
@staticmethod
def ensure_xy_notation(stones):
result = []
for stone in stones:
if isinstance(stone, str) and stone != '':
result.extend([Board.AzToXy(stone)])
else:
return stones
return result
@staticmethod
def xy_to_az(x, y):
if x > 7:
x = x + 1
return chr(65 + x) + str(y + 1)
@staticmethod
def az_to_xy(azNotation):
if len(azNotation) != 2 and len(azNotation) != 3:
print("board.AzToXy for '" + azNotation + "' is not exact 2-3 chars long")
return None
x = ord(azNotation[0]) - 65
if x > 7:
x = x - 1
y = int(azNotation[1:]) - 1
return [x, y]
def print(self):
for y in range(0, self._boardSize):
line = ''
for x in range(0, self._boardSize):
stone = self.GetField(x, y)
if stone == 0:
line = line + '.'
elif stone == Board.Black:
line = line + '*'
elif stone == Board.White:
line = line + 'O'
print(line)
def get_field(self, x, y):
return self._fields[x][y]
def set_field(self, x, y, value):
self._fields[x][y] = value
def get_new_stones(self, detectedStones, color=Black):
new_stones = []
for stone in detectedStones:
if self.GetField(stone[0], stone[1]) != color:
newStones.extend([[stone[0], stone[1]]])
return newStones
def get_stepper_x_pos(self, fieldX):
return self.StepperMinX + int(fieldX * 1.0 * ((self.StepperMaxX - self.StepperMinX) / (self._boardSize - 1.0)))
def get_stepper_y_pos(self, fieldY):
return self.StepperMinY + int(fieldY * 1.0 * ((self.StepperMaxY - self.StepperMinY) / (self._boardSize - 1.0)))
if __name__ == '__main__':
board = board(13)
print(board._fields)
print(Board.AzToXy('A1'))
board.SetField(0, 0, board.Black)
board.SetField(12, 12, board.Black)
print(board.GetField(0, 0))
print(board.GetField(0, 0) == board.Black)
for x in range(0, 13):
f = board.XyToAz(x, x)
print([x, x], f, Board.AzToXy(f))
board2 = Board.FromStones(boardSize=13, blackStones=[[0, 0], [1, 1]], whiteStones=[[2, 0], [2, 1]])
board2.Print()
print(Board.Differences(board, board2))
print(Board.RemovedStones(board, board2)) |
def compare(a: int, b: int):
printNums(a, b)
if a > b:
msg = "a > b"
a += 1
elif a < b:
msg = "a < b"
b += 1
else:
msg = "a == b"
a += 1
b += 1
print(msg)
printNums(a, b)
print()
def printNums(a, b):
print(f"{a = }, {b = }")
def main():
for a in range(1, 4):
for b in range(1, 4):
compare(a, b)
if __name__ == "__main__":
main()
| def compare(a: int, b: int):
print_nums(a, b)
if a > b:
msg = 'a > b'
a += 1
elif a < b:
msg = 'a < b'
b += 1
else:
msg = 'a == b'
a += 1
b += 1
print(msg)
print_nums(a, b)
print()
def print_nums(a, b):
print(f'a = {a!r}, b = {b!r}')
def main():
for a in range(1, 4):
for b in range(1, 4):
compare(a, b)
if __name__ == '__main__':
main() |
latest_block_redis_key = "latest_block_from_chain"
latest_block_hash_redis_key = "latest_blockhash_from_chain"
most_recent_indexed_block_redis_key = "most_recently_indexed_block_from_db"
most_recent_indexed_block_hash_redis_key = "most_recently_indexed_block_hash_from_db"
most_recent_indexed_ipld_block_redis_key = "most_recent_indexed_ipld_block_redis_key"
most_recent_indexed_ipld_block_hash_redis_key = (
"most_recent_indexed_ipld_block_hash_redis_key"
)
trending_tracks_last_completion_redis_key = "trending:tracks:last-completion"
trending_playlists_last_completion_redis_key = "trending-playlists:last-completion"
challenges_last_processed_event_redis_key = "challenges:last-processed-event"
user_balances_refresh_last_completion_redis_key = "user_balances:last-completion"
latest_sol_play_tx_key = "latest_sol_play_tx_key"
index_eth_last_completion_redis_key = "index_eth:last-completion"
| latest_block_redis_key = 'latest_block_from_chain'
latest_block_hash_redis_key = 'latest_blockhash_from_chain'
most_recent_indexed_block_redis_key = 'most_recently_indexed_block_from_db'
most_recent_indexed_block_hash_redis_key = 'most_recently_indexed_block_hash_from_db'
most_recent_indexed_ipld_block_redis_key = 'most_recent_indexed_ipld_block_redis_key'
most_recent_indexed_ipld_block_hash_redis_key = 'most_recent_indexed_ipld_block_hash_redis_key'
trending_tracks_last_completion_redis_key = 'trending:tracks:last-completion'
trending_playlists_last_completion_redis_key = 'trending-playlists:last-completion'
challenges_last_processed_event_redis_key = 'challenges:last-processed-event'
user_balances_refresh_last_completion_redis_key = 'user_balances:last-completion'
latest_sol_play_tx_key = 'latest_sol_play_tx_key'
index_eth_last_completion_redis_key = 'index_eth:last-completion' |
a = 'abcdefghijklmnopqrstuvwxyz'
b = 'pvwdgazxubqfsnrhocitlkeymj'
trans = str.maketrans(b, a)
src = 'Wxgcg txgcg ui p ixgff, txgcg ui p epm. I gyhgwt mrl lig txg ixgff wrsspnd tr irfkg txui hcrvfgs, nre, hfgpig tcm liunz txg crt13 ra "ixgff" tr gntgc ngyt fgkgf.'
print(src.translate(trans))
| a = 'abcdefghijklmnopqrstuvwxyz'
b = 'pvwdgazxubqfsnrhocitlkeymj'
trans = str.maketrans(b, a)
src = 'Wxgcg txgcg ui p ixgff, txgcg ui p epm. I gyhgwt mrl lig txg ixgff wrsspnd tr irfkg txui hcrvfgs, nre, hfgpig tcm liunz txg crt13 ra "ixgff" tr gntgc ngyt fgkgf.'
print(src.translate(trans)) |
def get_level_1_news():
news1 = 'Stars Wars movie filming is canceled due to high electrical energy used. Turns out' \
'those lasers don\'t power themselves'
news2 = 'Pink Floyd Tour canceled after first show used up the whole energy city had for' \
'the whole month. The band says they\'ll be happy to play on the dark side of the town'
news3 = 'A public poll shows people are spending more energy on electric heaters after the ' \
'start of the cold war'
news4 = "9 in 10 people of your country do not know what the cold war is. The one who knows " \
"is in the military"
news5 = "Scientists says that world temperatures are rising due to high number of home " \
"refrigerators being used worldwide. According to Mr. Midgley, all the earth's" \
" cold is being trapped inside 4 billion refrigerators"
news6 = "Mr. Midgley published a new research where he's proved that ceiling and wall fans" \
" are causing hurricanes"
news7 = "Mr. Midgley, again, says he's discovered a way to revert climate change: everybody" \
" should throw their refrigerator's ice cubes into the ocean"
news8 = "After a whole year of snow falling almost in every corner of the world, Mr. " \
"Midgley says he knows nothing and announced his retirement"
news9 = "Free nuclear fusion energy is a reality, says scientist, we just need to learn " \
"how to do it"
news10 = "RMS Titanic reaches its destiny safely after hitting a small chunk of ice in" \
" the ocean"
news11 = "All the Ice Sculptures business worldwide have declared bankruptcy, says" \
" World Bank"
news12 = "After 'Star Wars: The Phantom Menace' script was leaked people are happy the " \
"franchise got canceled 30 years ago"
news13 = "Microsoft's head says Windows95 will be the last one to ever be launched due to its" \
" low energy use"
news14 = "Programmers for Climate Change Convention ends in confusion after fight over using" \
" tabs or spaces"
news15 = "The series finale of Game of Thrones lowered the Public Well being index of your" \
" nation by x%"
news16 = "Drake's song 'Hotline Bling' is under investigation for being related to higher" \
" temperatures in the US this year"
news17 = "The blockbuster 'Mad Max: Fury Road' shows a sequel of the world we live in, " \
"says director"
news18 = "Lost's last episode is an homage to our own world, which will also have a crappy " \
"ending, says fan"
news19 = "Pearl Harbor movie filming canceled due to the harbor being flooded by the " \
"advancing ocean"
news20 = "Award winning Dwight Schrute's movie 'Recyclops' to gain sequels: 'Recyclops " \
"Reloaded' and 'Recyclops Revolution'"
news21 = "The Simpsons predicted nuclear power scandal in episode where Homer pushes big" \
" red button for no reason"
news = {
'news1': news1,
'news2': news2,
'news3': news3,
'news4': news4,
'news5': news5,
'news6': news6,
'news7': news7,
'news8': news8,
'news9': news9,
'news10': news10,
'news11': news11,
'news12': news12,
'news13': news13,
'news14': news14,
'news15': news15,
'news16': news16,
'news17': news17,
'news18': news18,
'news19': news19,
'news20': news20,
'news21': news21
}
return news
def get_level_2_news():
news1 = "Your X index is up Y% and your N index is down because of Z"
news2 = "President PLAYER_NAME canceled Formula 1 race to save fuel, Public well being, " \
"acceptance and co2 emissions are down x%"
news = {
'news1': news1,
'news2': news2
}
return news
def get_level_3_news():
news1 = "Your X index is down Y% because of Z"
news2 = "In order to save energy, President PLAYER_NAME sanctions law that prohibits people " \
"of ever ironing their clothes. People are so happy that public well being index is" \
" up x% and energy use is down y%"
news = {
'news1': news1,
'news2': news2
}
return news
def get_level_4_news():
news1 = "Your X index is down Y% and it also affected your Z index which is down N%"
news = {
'news1': news1
}
return news
def get_level_5_news():
news1 = "Your X index is down X%, XYZ thing just happened"
news2 = "The Amazon River, the biggest in the world, dries up and becomes the world's " \
"biggest desert"
news3 = "Plants can no longer recognize what season we are on. They now bloom at random " \
"moments of the year"
news = {
'news1': news1,
'news2': news2,
'news3': news3
}
return news
| def get_level_1_news():
news1 = "Stars Wars movie filming is canceled due to high electrical energy used. Turns outthose lasers don't power themselves"
news2 = "Pink Floyd Tour canceled after first show used up the whole energy city had forthe whole month. The band says they'll be happy to play on the dark side of the town"
news3 = 'A public poll shows people are spending more energy on electric heaters after the start of the cold war'
news4 = '9 in 10 people of your country do not know what the cold war is. The one who knows is in the military'
news5 = "Scientists says that world temperatures are rising due to high number of home refrigerators being used worldwide. According to Mr. Midgley, all the earth's cold is being trapped inside 4 billion refrigerators"
news6 = "Mr. Midgley published a new research where he's proved that ceiling and wall fans are causing hurricanes"
news7 = "Mr. Midgley, again, says he's discovered a way to revert climate change: everybody should throw their refrigerator's ice cubes into the ocean"
news8 = 'After a whole year of snow falling almost in every corner of the world, Mr. Midgley says he knows nothing and announced his retirement'
news9 = 'Free nuclear fusion energy is a reality, says scientist, we just need to learn how to do it'
news10 = 'RMS Titanic reaches its destiny safely after hitting a small chunk of ice in the ocean'
news11 = 'All the Ice Sculptures business worldwide have declared bankruptcy, says World Bank'
news12 = "After 'Star Wars: The Phantom Menace' script was leaked people are happy the franchise got canceled 30 years ago"
news13 = "Microsoft's head says Windows95 will be the last one to ever be launched due to its low energy use"
news14 = 'Programmers for Climate Change Convention ends in confusion after fight over using tabs or spaces'
news15 = 'The series finale of Game of Thrones lowered the Public Well being index of your nation by x%'
news16 = "Drake's song 'Hotline Bling' is under investigation for being related to higher temperatures in the US this year"
news17 = "The blockbuster 'Mad Max: Fury Road' shows a sequel of the world we live in, says director"
news18 = "Lost's last episode is an homage to our own world, which will also have a crappy ending, says fan"
news19 = 'Pearl Harbor movie filming canceled due to the harbor being flooded by the advancing ocean'
news20 = "Award winning Dwight Schrute's movie 'Recyclops' to gain sequels: 'Recyclops Reloaded' and 'Recyclops Revolution'"
news21 = 'The Simpsons predicted nuclear power scandal in episode where Homer pushes big red button for no reason'
news = {'news1': news1, 'news2': news2, 'news3': news3, 'news4': news4, 'news5': news5, 'news6': news6, 'news7': news7, 'news8': news8, 'news9': news9, 'news10': news10, 'news11': news11, 'news12': news12, 'news13': news13, 'news14': news14, 'news15': news15, 'news16': news16, 'news17': news17, 'news18': news18, 'news19': news19, 'news20': news20, 'news21': news21}
return news
def get_level_2_news():
news1 = 'Your X index is up Y% and your N index is down because of Z'
news2 = 'President PLAYER_NAME canceled Formula 1 race to save fuel, Public well being, acceptance and co2 emissions are down x%'
news = {'news1': news1, 'news2': news2}
return news
def get_level_3_news():
news1 = 'Your X index is down Y% because of Z'
news2 = 'In order to save energy, President PLAYER_NAME sanctions law that prohibits people of ever ironing their clothes. People are so happy that public well being index is up x% and energy use is down y%'
news = {'news1': news1, 'news2': news2}
return news
def get_level_4_news():
news1 = 'Your X index is down Y% and it also affected your Z index which is down N%'
news = {'news1': news1}
return news
def get_level_5_news():
news1 = 'Your X index is down X%, XYZ thing just happened'
news2 = "The Amazon River, the biggest in the world, dries up and becomes the world's biggest desert"
news3 = 'Plants can no longer recognize what season we are on. They now bloom at random moments of the year'
news = {'news1': news1, 'news2': news2, 'news3': news3}
return news |
user_num = int(input("which number would you like to check?"))
def devisible_by_both():
if user_num %3 == 0 and user_num %5 == 0:
print("your number is divisible by both")
else:
print("your number is not divisible by both") | user_num = int(input('which number would you like to check?'))
def devisible_by_both():
if user_num % 3 == 0 and user_num % 5 == 0:
print('your number is divisible by both')
else:
print('your number is not divisible by both') |
class PyQtSociusError(Exception):
pass
class WrongInputFileTypeError(PyQtSociusError):
__module__ = 'pyqtsocius'
def __init__(self, input_file: str, expected_file_extension: str, extra_message: str = None):
self.file = input_file
self.file_ext = '.' + input_file.split('.')[-1]
self.expected_ext = expected_file_extension
self.message = f"File '{self.file}' with extension '{self.file_ext}', has wrong File type. expected extension --> '{self.expected_ext}'\n"
if extra_message is not None:
self.message += extra_message
super().__init__(self.message)
class FeatureNotYetImplemented(PyQtSociusError):
__module__ = 'pyqtsocius'
def __init__(self, requested_feature):
super().__init__(f"the feature '{requested_feature}' is currently not yet implemented")
| class Pyqtsociuserror(Exception):
pass
class Wronginputfiletypeerror(PyQtSociusError):
__module__ = 'pyqtsocius'
def __init__(self, input_file: str, expected_file_extension: str, extra_message: str=None):
self.file = input_file
self.file_ext = '.' + input_file.split('.')[-1]
self.expected_ext = expected_file_extension
self.message = f"File '{self.file}' with extension '{self.file_ext}', has wrong File type. expected extension --> '{self.expected_ext}'\n"
if extra_message is not None:
self.message += extra_message
super().__init__(self.message)
class Featurenotyetimplemented(PyQtSociusError):
__module__ = 'pyqtsocius'
def __init__(self, requested_feature):
super().__init__(f"the feature '{requested_feature}' is currently not yet implemented") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.