diff options
| author | slioch <slioch@eng-140.vyatta.com> | 2009-07-07 14:33:15 -0700 |
|---|---|---|
| committer | slioch <slioch@eng-140.vyatta.com> | 2009-07-07 14:33:15 -0700 |
| commit | 4000b742f9eb731d40d22d6e73daef466a0e34ee (patch) | |
| tree | 53a57bbb91b1f2b9b5b33f0acf2b8a35a240cb9f /src/lbdatafactory.hh | |
| parent | 45760b0cc60d9f1f307fa3db5d420876f833a38d (diff) | |
| download | vyatta-wanloadbalance-4000b742f9eb731d40d22d6e73daef466a0e34ee.tar.gz vyatta-wanloadbalance-4000b742f9eb731d40d22d6e73daef466a0e34ee.zip | |
added configuration hook to execute script on interface state change. configurable via conf mode. environment variables identify interface and new state.
Diffstat (limited to 'src/lbdatafactory.hh')
| -rw-r--r-- | src/lbdatafactory.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lbdatafactory.hh b/src/lbdatafactory.hh index d11446a..12648e8 100644 --- a/src/lbdatafactory.hh +++ b/src/lbdatafactory.hh @@ -5,8 +5,8 @@ * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. */ -#ifndef __LBCONFLOADER_HH__ -#define __LBCONFLOADER_HH__ +#ifndef __LBDATALOADER_HH__ +#define __LBDATALOADER_HH__ #include <string> #include <vector> @@ -50,6 +50,9 @@ private: process_health(const string &key, const string &value); void + process_health_hook(const string &key, const string &value); + + void process_health_interface(const string &key, const string &value); void @@ -91,4 +94,4 @@ private: LBRule::InterfaceDistIter _rule_iface_iter; }; -#endif //__LBCONFLOADER_HH__ +#endif //__LBDATALOADER_HH__ |
