Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
The hop count is limited by IP protocol.
(cherry picked from commit 2a7948160df6960f5dd4718f12d150304c8d0e2d)
|
|
Bug 6596
(cherry picked from commit 41053a3e65015d01c3aa0de45c66472539a025fb)
|
|
|
|
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).
|
|
|
|
|
|
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.
|
|
|
|
|
|
inbound interface now (although
this isn't currently required).
|
|
Conflicts:
templates/load-balancing/wan/interface-health/node.def
|
|
Show all interfaces (except loopback) as possible.
|
|
Fix bug 2948, add syntax checking for interface name in
load-balancing wan interface-health
|
|
- help strings standardized in vyatta-wanloadbalance
|
|
|
|
init script. added default values.
|
|
daemon and pid creation, fixed conf file creation when
using cli. postinst. etc.
|
|
|
|
packaging changes.
|