Age | Commit message (Collapse) | Author |
|
Delete old templates
Delete vyatta-wanloadbalance.pl as it handles via python3
Delete config templates build from Makefile
|
|
|
|
Ensure the load balancing daemon stops correctly when the configuration
changes are committed; using new rather than old scripts.
Bug #441 http://bugzilla.vyos.net/show_bug.cgi?id=441
|
|
|
|
Signed-off-by: Daniil Baturin <daniil@baturin.org>
|
|
|
|
users towards putting scripts in /config/scripts
|
|
Add the ability to run a user defined script to determine wan load-balancing interface health
includes sample http test (scripts/http_test.pl). Configuration will look as follows:
wan {
interface-health eth0 {
nexthop 10.3.0.1
test 1 {
test-script /tmp/http_test.pl
type user-defined
}
}
interface-health eth1 {
nexthop 10.3.0.1
test 1 {
test-script /tmp/http_test.pl
type user-defined
}
}
With corresponding output:
vyatta@vyatta# run show wan-load-balance
Interface: eth0
Status: active
Last Status Change: Wed Mar 30 19:03:59 2011
+Test: user Script: /tmp/http_test.pl
Last Interface Success: 0s
Last Interface Failure: n/a
# Interface Failure(s): 0
Interface: eth1
Status: failed
Last Status Change: Wed Mar 30 19:03:59 2011
-Test: user Script: /tmp/http_test.pl
Last Interface Success: n/a
Last Interface Failure: 0s
# Interface Failure(s): 52
Scripts returns 0 for success, non-zero for failure.
|
|
|
|
|
|
|
|
/var/load-balance. fix for bug 6630
(cherry picked from commit cf1754c28af9dc17f5dea4995049823dc7687a63)
|
|
The hop count is limited by IP protocol.
(cherry picked from commit 2a7948160df6960f5dd4718f12d150304c8d0e2d)
|
|
Bug 6596
(cherry picked from commit 41053a3e65015d01c3aa0de45c66472539a025fb)
|
|
|
|
* package was installing op templates into the config templates directory and then move them into the op templates directory *during postinst*.
* this *might* be ok for editable config files but is definitely *not* the correct installation method for files "owned" by the package.
* do it the right (and simpler) way: install op templates into the op templates directory.
|
|
|
|
|
|
|
|
connection tracking entries rather than just wan-load-balancing connections
To clear all connection-tracking entries; we now have 'clear connection-tracking'
|
|
NOTE: layout is not compatible with earlier kenwood configurations for WLB. ttl limit for ttl test has been removed as a leaf of the ttl test type, but is
now configurable as a sibling (but with a default value of 1).
|
|
|
|
|
|
"enable-local-traffic". This preserves previous behavior (i.e. no balancing of local traffic) by default, but can be enable
via the configuration node.
Conflicts:
scripts/vyatta-wanloadbalance.pl
src/lbdecision.cc
|
|
also supports additional command to disable balancing of locally sourced traffic
"disable-local-traffic"
Conflicts:
src/lbdecision.cc
|
|
|
|
|
|
layout. modified op mode command to
provide indication on multiple target success/failures.
|
|
user can now specify a sequence of targets to test (ordered by rule number). The first success satifies the success
criteria for the test and no further tests will be performed on the interface for this period.
Additional test types can be coded and added to the target framework.
configuration has changed as a result of the rework.
|
|
|
|
|
|
|
|
configurable via conf mode. environment variables identify interface and new state.
|
|
|
|
global setting.
Conflicts:
src/lbdecision.cc
|
|
|
|
|
|
|
|
Default configuration is to disable this feature.
|
|
|
|
proc/net/ip_conntrack output to easier to digest formatted output.
|
|
|
|
islavista
|
|
|
|
wildcard (iptables style) interface to be set, allowing an
exclusion rule to be set so that lan-to-lan traffic can be support in wan load balance.
closing out bug 3764 with this change.
|
|
available.
|
|
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.:
|
|
|
|
rule. For an exclusion the user does not need to configure interfaces for that rule to balance across.
|
|
have been marked by wan load balance. This addresses enhancement request bug 3191.
|