summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-12-11 03:45:31 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-12-11 03:45:31 +0000
commita683173f462f2571ed7a5bd3ba339d367bb87196 (patch)
tree63bac2b881196a2a09ff2ccca30f70aab5820884 /src/lib
parent655fa3199a7f744392c8aee9811bf2f20eac545e (diff)
downloadbcfg2-a683173f462f2571ed7a5bd3ba339d367bb87196.tar.gz
bcfg2-a683173f462f2571ed7a5bd3ba339d367bb87196.tar.bz2
bcfg2-a683173f462f2571ed7a5bd3ba339d367bb87196.zip
Add Plugin-side changes for configuration entry slow-path binding
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2579 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Plugin.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/Server/Plugin.py b/src/lib/Server/Plugin.py
index d78e6a5f1..8d944e7f8 100644
--- a/src/lib/Server/Plugin.py
+++ b/src/lib/Server/Plugin.py
@@ -51,6 +51,14 @@ class Plugin(object):
'''Receive probe results pertaining to client'''
pass
+ def HandlesEntry(self, entry):
+ '''This is the slow path method for routing configuration binding requests'''
+ return False
+
+ def HandleEntry(self, entry, metadata):
+ '''This is the slow-path handler for configuration entry binding'''
+ raise PluginExecutionError
+
# the rest of the file contains classes for coherent file caching
class FileBacked(object):