Age | Commit message (Collapse) | Author |
|
vyatta@vyatta# run show wan-load-balance
Interface: eth0
Status: active
Last Status Change: Mon Sep 12 21:55:13 2011
-Test: ping Target: 8.8.8.8
+Test: ping Target: 10.3.0.120
Test: ping Target: 127.0.0.1
Last Interface Success: 0s
Last Interface Failure: n/a
# Interface Failure(s): 0
[edit]
vyatta@vyatta# run show wan-load-balance
Interface: eth0
Status: active
Last Status Change: Mon Sep 12 21:55:13 2011
+Test: ping Target: 8.8.8.8
Test: ping Target: 10.3.0.120
Test: ping Target: 127.0.0.1
Last Interface Success: 0s
Last Interface Failure: n/a
# Interface Failure(s): 0
- denotes failed test
+ denotes successful test
blank means the test wasn't performed
All test status' refer to the last test cycle.
|
|
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.
|
|
|
|
output.
|
|
target iteration where some targets never completed test cycle
|
|
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.
|
|
changes in the location of the dhcp client information. this was also
fixed.
|
|
|
|
ping target is not specified. this is also true of dhcp configurations.
|
|
snat when wlb is configured and during runtime. also fix for wlb when running in
debug mode.
|
|
value. in this case set value until 0 until system time catches up. only
affect show command. issue reported by Gregor.
|
|
design in bug listing. Also exposed time of last
interface status change.
|
|
Change license on all files from VPL 1.0 to GPLv2
for Glendale.
|
|
checking on some configuration combinations. added
additional error checking in the code.
|
|
commands. time since last failure/success per
interface.
|
|
and provide show status cmd.
|
|
(simplified) init script so that rules table is properly cleaned
up on exit of wlb. fixed a couple cli structural related issues.
|
|
Signed-off-by: Michael Larson <slioch@eng-140.vyatta.com>
|