diff options
| author | Mike Larson <mike@suva.vyatta.com> | 2008-08-29 10:31:51 -0700 |
|---|---|---|
| committer | Mike Larson <mike@suva.vyatta.com> | 2008-08-29 10:31:51 -0700 |
| commit | 22610d1769c6dabce2b4675085cab369f2d96331 (patch) | |
| tree | b71ab147c70404a6f043a5b60f5a8a32ffb00d05 /src/lbdatafactory.hh | |
| parent | bee9cfb28e0578a564628d61862764b3cdb2b377 (diff) | |
| download | vyatta-wanloadbalance-22610d1769c6dabce2b4675085cab369f2d96331.tar.gz vyatta-wanloadbalance-22610d1769c6dabce2b4675085cab369f2d96331.zip | |
add rule failover support. Failover mode can now be specified on a specific rule. This rule will only direct traffic to a single active interface, on failure of the ping target traffice will be directed out an alternate interface.
note: the one todo item for this feature is to add "stickiness" of an active interface. wlb re-evaluates all rules on an interface state change and this may cause the interface to change for failover mode. supporting this mode requires a less than trivial rewrite of the wlb decision code.:
Diffstat (limited to 'src/lbdatafactory.hh')
| -rw-r--r-- | src/lbdatafactory.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lbdatafactory.hh b/src/lbdatafactory.hh index 1f6e0a0..6f5a11a 100644 --- a/src/lbdatafactory.hh +++ b/src/lbdatafactory.hh @@ -56,6 +56,9 @@ private: process_rule_exclude(const string &key, const string &value); void + process_rule_failover(const string &key, const string &value); + + void process_rule_protocol(const string &key, const string &value); void |
