summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-07-22 01:19:17 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-07-22 01:19:17 +0000
commit0bb580230b18672fbfcb6f9f3fcd115e8b67448a (patch)
tree575b87b826f350ec6f05ae873f3a743bc4efac20 /src
parent07a98e4052c9883542cb58d969f8a09b4d5a3a92 (diff)
downloadbcfg2-0bb580230b18672fbfcb6f9f3fcd115e8b67448a.tar.gz
bcfg2-0bb580230b18672fbfcb6f9f3fcd115e8b67448a.tar.bz2
bcfg2-0bb580230b18672fbfcb6f9f3fcd115e8b67448a.zip
lay groundwork for statistics plugins
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4816 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugin.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index 6dcb67417..63af1d886 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -91,6 +91,11 @@ class ProbingPlugin(Plugin):
'''Receive probe results pertaining to client'''
pass
+class StatisticsPlugin(Plugin):
+ '''Signal statistics handling capability'''
+ def StoreStatistics(self, client, xdata):
+ pass
+
# the rest of the file contains classes for coherent file caching
class FileBacked(object):