Trees | Indices | Help |
|
---|
|
1 2 ########################################################################### 3 # 4 # This program is part of Zenoss Core, an open source monitoring platform. 5 # Copyright (C) 2008, Zenoss Inc. 6 # 7 # This program is free software; you can redistribute it and/or modify it 8 # under the terms of the GNU General Public License version 2 as published by 9 # the Free Software Foundation. 10 # 11 # For complete information please visit: http://www.zenoss.com/oss/ 12 # 13 ########################################################################### 14 15 16 from Products.ZenRelations.RelSchema import * 1719 """ 20 This mixin is so that different classes can sit on the other 21 end of the RRDTemplate.deviceClass method. 22 """ 23 24 meta_type = 'TemplateContainer' 25 26 _relations = ( 27 # deviceClass is named as such for sad, historical reasons. 28 # Currently the subclasses of TemplateContainer are either 29 # a DeviceClass or a MonitorClass. 30 ('rrdTemplates', 31 ToManyCont(ToOne, 'Products.ZenModel.RRDTemplate', 'deviceClass')), 32 )33
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu May 7 11:46:21 2009 | http://epydoc.sourceforge.net |