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

# Source Code for Module Products.ZenModel.NagiosCmd

     1  ##############################################################################
     2  #
     3  # Copyright (C) Zenoss, Inc. 2007, all rights reserved.
     4  #
     5  # This content is made available according to terms specified in
     6  # License.zenoss under the directory where your Zenoss product is installed.
     7  #
     8  ##############################################################################
     9
    10
    11  from Globals import InitializeClass
    12  from AccessControl import ClassSecurityInfo
    13
    14  from Products.ZenRelations.RelSchema import *
    15
    16  from ZenModelRM import ZenModelRM
    17
    18
    19  import warnings
    20  warnings.warn("NagiosCmd is deprecated", DeprecationWarning)
    21 -class NagiosCmd(ZenModelRM):
    22
    23      _relations =  (
    24          ("nagiosTemplate", ToOne(ToManyCont, "Products.ZenModel.NagiosTemplate", "nagiosCmds")),
    25      )
    26
    27      security = ClassSecurityInfo()
    28
    29  InitializeClass(NagiosCmd)
    30