Package Products :: Package ZenModel :: Module NagiosCmd |
[hide private]
[frames] | no frames]

# Source Code for Module Products.ZenModel.NagiosCmd

     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 or (at your
     8  # option) any later version as published by 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  from AccessControl import ClassSecurityInfo
    16
    17  from Products.ZenRelations.RelSchema import *
    18
    19  from ZenModelRM import ZenModelRM
    20
    21
    22  import warnings
    23  warnings.warn("NagiosCmd is deprecated", DeprecationWarning)
    24 -class NagiosCmd(ZenModelRM):
    25
    26      _relations =  (
    27          ("nagiosTemplate", ToOne(ToManyCont, "Products.ZenModel.NagiosTemplate", "nagiosCmds")),
    28      )
    29
    30      security = ClassSecurityInfo()
    31
    32  InitializeClass(NagiosCmd)
    33