summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugin.py
diff options
context:
space:
mode:
authorAndrew Brestick <brestick@mcs.anl.gov>2008-07-31 20:50:44 +0000
committerAndrew Brestick <brestick@mcs.anl.gov>2008-07-31 20:50:44 +0000
commite9e94e78bb52ca2ec36e3f3402dbde3f8289cdf3 (patch)
tree5f8c573da32e0f3dba86555a3534909abd2bb2d2 /src/lib/Server/Plugin.py
parent7c6c1636a0841ea9c5b28a4223c0cd3677eede53 (diff)
downloadbcfg2-e9e94e78bb52ca2ec36e3f3402dbde3f8289cdf3.tar.gz
bcfg2-e9e94e78bb52ca2ec36e3f3402dbde3f8289cdf3.tar.bz2
bcfg2-e9e94e78bb52ca2ec36e3f3402dbde3f8289cdf3.zip
added support for alternate metadata plugins in bcfg2-admin
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4845 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugin.py')
-rw-r--r--src/lib/Server/Plugin.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index 0f9464a47..114e0b039 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -79,7 +79,15 @@ class StructurePlugin(Plugin):
class MetadataPlugin(Plugin):
'''Signal metadata capabilities for this plugin'''
- pass
+ def add_client(self, client_name, attribs):
+ '''add client'''
+ pass
+ def remove_client(self, client_name):
+ '''remove client'''
+ pass
+ def get_groups(self):
+ '''get groups xml tree'''
+ pass
class ProbingPlugin(Plugin):
'''Signal probe capability for this plugin'''