Package Products :: Package ZenHub :: Package services :: Module NullConfig |
[hide private]
[frames] | no frames]

# Source Code for Module Products.ZenHub.services.NullConfig

     1  ###########################################################################
     2  #
     3  # This program is part of Zenoss Core, an open source monitoring platform.
     4  # Copyright (C) 2011 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  __doc__ = '''NullConfig
    15
    16  Provides a blank configuration to send no proxies to the remote
    17  collector.
    18  '''
    19
    20  import logging
    21  log = logging.getLogger('zen.HubService.NullConfig')
    22
    23  import Globals
    24  from Products.ZenCollector.services.config import CollectorConfigService
    25
    26 -class NullConfig(CollectorConfigService):
    27 -    def __init__(self, dmd, instance):
    28          CollectorConfigService.__init__(self, dmd, instance)
    29
    30 -    def _filterDevices(self, deviceList):
    31          return []
    32