Logo Search packages:      
Sourcecode: bcfg2 version File versions  Download package

lib::Server::Plugin::Plugin Class Reference

Inheritance diagram for lib::Server::Plugin::Plugin:

lib::Server::Plugin::PrioDir

List of all members.


Detailed Description

This is the base class for all Bcfg2 Server plugins. Several attributes must be defined
in the subclass:
__name__ : the name of the plugin
__version__ : a version string
__author__ : the author/contact for the plugin

Plugins can provide three basic types of functionality:
  - Structure creation (overloading BuildStructures)
  - Configuration entry binding (overloading HandlesEntry, or loads the Entries table)
  - Data collection (overloading GetProbes/ReceiveData)

Definition at line 18 of file Plugin.py.


Public Member Functions

def __init__
def BuildStructures
def GetProbes
def ReceiveData

Public Attributes

 core
 data
 Entries
 logger

Static Private Attributes

string __author__ = 'bcfg-dev@mcs.anl.gov'
string __name__ = 'Plugin'
list __rmi__ = []
string __version__ = '$Id: Plugin.py 1850 2006-04-25 20:54:30Z desai $'

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index