| Trees | Indices | Help |
|
|---|
|
|
1 ###########################################################################
2 #
3 # This program is part of Zenoss Core, an open source monitoring platform.
4 # Copyright (C) 2007, Zenoss Inc.
5 #
6 # This program is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License version 2 as published by
8 # the Free Software Foundation.
9 #
10 # For complete information please visit: http://www.zenoss.com/oss/
11 #
12 ###########################################################################
13
14 from Globals import InitializeClass
15
16 from Products.ZenRelations.RelSchema import *
17
18 from ZenModelRM import ZenModelRM
19
20 import warnings
21 warnings.warn("NagiosTemplate is deprecated", DeprecationWarning)
22
24
25 description = ""
26
27 _relations = (
28 ("deviceClass", ToOne(ToManyCont, "Products.ZenModel.DeviceClass", "nagiosTemplates")),
29 ("nagiosCmds", ToManyCont(ToOne, "Products.ZenModel.NagiosCmd", "nagiosTemplate")),
30 )
31
32 InitializeClass(NagiosTemplate)
33
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu May 7 11:46:22 2009 | http://epydoc.sourceforge.net |