summaryrefslogtreecommitdiff
path: root/templates/load-balancing
diff options
context:
space:
mode:
Diffstat (limited to 'templates/load-balancing')
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def4
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/success-count/node.def4
-rw-r--r--templates/load-balancing/wan/post-hook/node.def4
3 files changed, 8 insertions, 4 deletions
diff --git a/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def b/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
index 89ca474..1dd24f7 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
@@ -1,5 +1,5 @@
type: u32
default: 1
-syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 10; "failure count must be between 1-10"
+syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 10000; "failure count must be between 1-10000"
help: Failure count
-val_help: u32:1-10; Failure count
+val_help: u32:1-10000; Failure count
diff --git a/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def b/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
index 8d8a6b7..6047b27 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
@@ -1,6 +1,6 @@
type: u32
default: 1
-syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 10; "success count must be between 1 and 10"
+syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 10000; "success count must be between 1 and 10000"
help: Success count
-val_help: u32:1-10; Success count
+val_help: u32:1-10000; Success count
diff --git a/templates/load-balancing/wan/post-hook/node.def b/templates/load-balancing/wan/post-hook/node.def
new file mode 100644
index 0000000..2666930
--- /dev/null
+++ b/templates/load-balancing/wan/post-hook/node.def
@@ -0,0 +1,4 @@
+type: txt
+help: Script to be executed on interface status change after the firewall rules have been activated.
+syntax:expression: exec "/opt/vyatta/sbin/check_file_in_config_dir $VAR(@) '/config/scripts'"
+val_help: Script in /config/scripts \ No newline at end of file