summaryrefslogtreecommitdiff
path: root/templates/load-balancing
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-07-17 15:06:04 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-07-17 15:06:04 -0700
commit25d9851b65fed9297caaa01b47ec6bae76d8c954 (patch)
treef408dedd6fddd8cc156002f56f0618b5b0efa261 /templates/load-balancing
parentc1e5c748aac314a2f0652393fbb9f8c079055106 (diff)
downloadvyatta-wanloadbalance-25d9851b65fed9297caaa01b47ec6bae76d8c954.tar.gz
vyatta-wanloadbalance-25d9851b65fed9297caaa01b47ec6bae76d8c954.zip
reworked target code to support multiple targets and different target types.
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.
Diffstat (limited to 'templates/load-balancing')
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/rule/node.def5
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/rule/node.tag/icmp/node.def (renamed from templates/load-balancing/wan/interface-health/node.tag/ping/node.def)0
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/rule/node.tag/resp-time/node.def (renamed from templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def)0
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/rule/node.tag/target/node.def2
4 files changed, 7 insertions, 0 deletions
diff --git a/templates/load-balancing/wan/interface-health/node.tag/rule/node.def b/templates/load-balancing/wan/interface-health/node.tag/rule/node.def
new file mode 100644
index 0000000..169f3b9
--- /dev/null
+++ b/templates/load-balancing/wan/interface-health/node.tag/rule/node.def
@@ -0,0 +1,5 @@
+tag:
+type: u32
+help: Set rule number
+
+
diff --git a/templates/load-balancing/wan/interface-health/node.tag/ping/node.def b/templates/load-balancing/wan/interface-health/node.tag/rule/node.tag/icmp/node.def
index e44ae5c..e44ae5c 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/ping/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/rule/node.tag/icmp/node.def
diff --git a/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def b/templates/load-balancing/wan/interface-health/node.tag/rule/node.tag/resp-time/node.def
index 1636278..1636278 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/rule/node.tag/resp-time/node.def
diff --git a/templates/load-balancing/wan/interface-health/node.tag/rule/node.tag/target/node.def b/templates/load-balancing/wan/interface-health/node.tag/rule/node.tag/target/node.def
new file mode 100644
index 0000000..bc4c9b7
--- /dev/null
+++ b/templates/load-balancing/wan/interface-health/node.tag/rule/node.tag/target/node.def
@@ -0,0 +1,2 @@
+type: txt
+help: Set health target [ip|uri]