Trees | Indices | Help |
|
---|
|
object --+ | ZenModelBase.ZenModelBase --+ | Products.ZenRelations.RelationshipManager.RelationshipManager --+ | ExtensionClass.Base --+ | | | OFS.History.Historical --+ | object --+ | | | ZenPacker.ZenPacker --+ | ZenModelRM.ZenModelRM --+ | MaintenanceWindow
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
list
>>> dmd.Devices.Server.breadCrumbs() [('/zport/dmd/Devices', 'Devices'), ('/zport/dmd/Devices/Server', 'Server')] |
|
||
|
|||
|
|||
|
|||
boolean |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
meta_type = 'Maintenance Window'
|
|||
default_catalog = 'maintenanceWindowSearch'
|
|||
name = None
|
|||
start = None
|
|||
started = None
|
|||
duration = 60
|
|||
repeat = 'Never'
|
|||
startProductionState = 300
|
|||
stopProductionState = -99
|
|||
enabled = True
|
|||
skip = 1
|
|||
_properties = {'id': 'name', 'type': 'string', 'mode': 'w'}, {
|
|||
factory_type_information = {'immediate_view': 'maintenanceWind
|
|||
backCrumb = 'deviceManagement'
|
|||
_relations = "productionState", ToOne(ToManyCont, "Products.Ze
|
|||
security = ClassSecurityInfo()
|
|||
REPEAT = "Never/Daily/Every Weekday/Weekly/Monthly/First Sunda
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
|
|
Return a dictionary of devices and their minimum production state from all maintenance windows. Note: This method should be moved to the zenactions command in order to improve performance. @return: dictionary of device_id:production_state @rtype: dictionary |
At any one time there is one production state for each device to be in, and that is the state that is the most 'blacked out' in all of the active maintenance windows affecting that device. When the last maintenance window affecting a device has ended, the original production state of the device is used to determine the end state of the device. Maintenance windows are processed by zenactions in batch so the ordering of when two maintenance windows that end at the same time get processed is non-deterministic. Since there is only one stop production state now, this is not an issue.
|
|
_properties
|
factory_type_information
|
_relations
|
REPEAT
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu May 7 11:46:12 2009 | http://epydoc.sourceforge.net |