summaryrefslogtreecommitdiffstats
path: root/include/Makefile.am
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2018-11-07 09:36:22 -0800
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-02-25 14:27:21 -0800
commit08a70aa56bebfb087ccafdcac293da36f88b672f (patch)
tree18fc307ccfebed793c4b91d740f985af714c4365 /include/Makefile.am
parentf984a01ffd001740bed3f9207912c1e1ad41dc90 (diff)
downloadphosphor-host-ipmid-08a70aa56bebfb087ccafdcac293da36f88b672f.tar.gz
phosphor-host-ipmid-08a70aa56bebfb087ccafdcac293da36f88b672f.zip
ipmid: Add command filter mechanism
Every ipmi command will pass through a filter prior to execution by the registered handler. The filter consists of all registered filter handlers that all must either return an IPMI error code or allow the command to be executed. If any of the filter handlers return an error code, the remaining handlers will not get a chance to run. Each handler, executed in registered priority order, can be passed the full message, or just the context (metadata describing the command, netfn, cmd, etc.) Change-Id: I3c48f19ebae0d24344b15fbcd2b940a32f8511d7 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'include/Makefile.am')
-rw-r--r--include/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index 4c0e899..852b26b 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1,5 +1,6 @@
nobase_include_HEADERS = \
ipmid/api.hpp \
+ ipmid/filter.hpp \
ipmid/handler.hpp \
ipmid/message.hpp \
ipmid/message/pack.hpp \
OpenPOWER on IntegriCloud