core.config (version 0.1, 9 April 2003)
index
e:\bothans\core\config.py

config for the core

 
Modules
            
common
logging
os
threading
 
Classes
            
Config
exceptions.Exception
FileNotAccessible
 
class Config
       
   Methods defined here:
__init__(self)
addPlugin(self, pathtodesc)
 Add a plugindesc to the config
- pathtodesc is the path to plugindesc.xml file relative to the
/plugins/ subdir
returns a list of pclass
addService(self, pathtodesc)
 Add a service to the config
-pathtodesc is the path to the servicedesc.xml file relative to the
/services/ subdir
returns a list of sclass added
addServiceOnTarget(self, sclass, targetuid, plugin=None)
 Adds a service on a pre-existing target machine. Returns the uid of the new
monitored service;
addTarget(self, address)
 Adds a new target machine to the Config and returns the uid
of the new machine
save(self)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'core.config'
 
class FileNotAccessible(exceptions.Exception)
       
   Data and non-method functions defined here:
__doc__ = None
__module__ = 'core.config'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
Functions
            
dump(...)
dump(object, file, [binary]) --Write an object in pickle format to the given file
 
If the optional argument, binary, is provided and is true, then the
pickle will be written in binary format, which is more space and
computationally efficient.
load(...)
load(file) -- Load a pickle from the given file
 
Data
             __author__ = 'Michel Rasschaert <mrasschaert@neocles.com>'
__date__ = '9 April 2003'
__file__ = r'e:\bothans\core\config.pyc'
__license__ = 'This file is part of Bothans\n\n Bothans is fre...lace, Suite 330, Boston, MA 02111-1307 USA\n '
__name__ = 'core.config'
__status__ = 'alpha'
__version__ = '0.1'
log = <logging.Logger instance at 0x0088FB30>
 
Author
             Michel Rasschaert <mrasschaert@neocles.com>