|
list of EventClass
|
|
|
list
|
|
|
list of EventClassInst
|
find(self,
evClassKey)
Look for the eventClassKey mapping in an event class, and return
them in sequence number oder, lowest-to-highest. |
source code
|
|
|
EventClassInst
|
lookup(self,
evt,
device)
Given an event, return an event class organizer object |
source code
|
|
|
|
applyExtraction(self,
evt)
Don't have extraction on event class. |
source code
|
|
|
|
getInstances(self)
Return all EventClassInstances from this node down. |
source code
|
|
|
|
nextSequenceNumber(self,
key)
Get next sequence number for instance. |
source code
|
|
|
|
|
|
|
createInstance(self,
id=None,
REQUEST=None)
Add an EventClassInst to this EventClass. |
source code
|
|
|
|
removeInstances(self,
ids=None,
REQUEST=None)
Remove Instances from an EventClass. |
source code
|
|
|
|
moveInstances(self,
moveTarget,
ids=None,
REQUEST=None)
Move instances from this EventClass to moveTarget. |
source code
|
|
|
|
countInstances(self)
count all instances with in an event dict |
source code
|
|
|
|
|
|
|
|
|
|
manage_editEventClassTransform(self,
transform='',
REQUEST=None)
Save the transform |
source code
|
|
|
|
getEventSeverities(self)
Return a list of tuples of severities [('Warning', 3), ...] |
source code
|
|
|
|
getEventSeverityString(self,
severity)
Return a list of tuples of severities [('Warning', 3), ...] |
source code
|
|
|
|
reIndex(self)
Go through all ips in this tree and reindex them. |
source code
|
|
|
|
createCatalog(self)
Create a catalog for EventClassRecord searching |
source code
|
|
|
|
getOverriddenObjects(self,
propname,
showDevices=False)
Get the objects that override a property somewhere below in the
tree This method overrides ZenPropertyManager |
source code
|
|
|
|
getIconPath(self)
Override the zProperty icon path and return a folder |
source code
|
|
|
|
getPrettyLink(self,
noicon=False,
shortDesc=False)
Gets a link to this object, plus an icon |
source code
|
|
|
Inherited from EventClassInst.EventClassPropertyMixin:
applyTransform,
applyValues,
inheritedTransforms
Inherited from EventClassInst.EventClassPropertyMixin (private):
_eventClassPath
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
|
isInTree = True
|
|
|
transform = ''
|
|
|
meta_type = "EventClass"
|
|
|
event_key = "EventClass"
|
|
|
dmdRootName = "Events"
|
|
|
default_catalog = "eventClassSearch"
|
|
|
_relations = ZenPackable._relations+(("instances", ToManyCont(...
|
|
|
_properties = Organizer._properties+ EventClassPropertyMixin._...
|
|
|
factory_type_information = {'id': 'EventClass', 'meta_type': '...
|
|
|
security = ClassSecurityInfo()
|
|
|
severityConversions = 'Critical', 5, ('Error', 4), ('Warning',...
|
|
|
severities = dict([(b, a) for a, b in severityConversions])
|