summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2009-12-07 10:50:45 -0800
committerMichael Larson <slioch@slioch.vyatta.com>2009-12-07 10:50:45 -0800
commit6d7ccdf7a80830601c5a4a738757ab80c83b116f (patch)
treea0a060f0b659c66a2b54d09cb4801c5906397771 /templates
parent858f1f6a75d273e16d050f4b8abc8c8e06c4dbd8 (diff)
downloadvyatta-wanloadbalance-6d7ccdf7a80830601c5a4a738757ab80c83b116f.tar.gz
vyatta-wanloadbalance-6d7ccdf7a80830601c5a4a738757ab80c83b116f.zip
small modification to test type configuration--improved layout.
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).
Diffstat (limited to 'templates')
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ping/node.def1
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl-limit/node.def (renamed from templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl/node.def)1
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/test/node.tag/type/node.def13
3 files changed, 14 insertions, 1 deletions
diff --git a/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ping/node.def b/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ping/node.def
deleted file mode 100644
index 08d4224..0000000
--- a/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ping/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Set health test type to icmp (ping)
diff --git a/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl/node.def b/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl-limit/node.def
index e057921..5e3e2d2 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/ttl-limit/node.def
@@ -1,3 +1,4 @@
type: u32
+default: 1
help: Set ttl limit (hop count)
diff --git a/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/type/node.def b/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/type/node.def
new file mode 100644
index 0000000..875eb81
--- /dev/null
+++ b/templates/load-balancing/wan/interface-health/node.tag/test/node.tag/type/node.def
@@ -0,0 +1,13 @@
+type: txt
+
+help: Set WLB test type
+
+syntax:expression: $VAR(@) in "ping", "ttl";
+ "action must be either ping or ttl expired test"
+
+comp_help: Possible completions:
+ ping Set rule test type to icmp echo response
+ ttl Set rule test type to udp ttl expired response
+
+
+