summaryrefslogtreecommitdiff
path: root/templates/load-balancing/wan
diff options
context:
space:
mode:
authorMike Larson <mike@suva.vyatta.com>2008-08-29 10:31:51 -0700
committerMike Larson <mike@suva.vyatta.com>2008-08-29 10:31:51 -0700
commit22610d1769c6dabce2b4675085cab369f2d96331 (patch)
treeb71ab147c70404a6f043a5b60f5a8a32ffb00d05 /templates/load-balancing/wan
parentbee9cfb28e0578a564628d61862764b3cdb2b377 (diff)
downloadvyatta-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 'templates/load-balancing/wan')
-rw-r--r--templates/load-balancing/wan/rule/node.tag/failover/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/load-balancing/wan/rule/node.tag/failover/node.def b/templates/load-balancing/wan/rule/node.tag/failover/node.def
new file mode 100644
index 0000000..ae725ff
--- /dev/null
+++ b/templates/load-balancing/wan/rule/node.tag/failover/node.def
@@ -0,0 +1 @@
+help: Set to enable failover for packets matching this rule from wan load balance