diff options
author | Daniil Baturin <daniil@vyos.io> | 2021-11-30 16:29:23 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-30 16:29:23 +0700 |
commit | ac518f1494fd1f014c90d3354eabbb7e33a22f30 (patch) | |
tree | fa9f2f1b669050f03d9baf01e8c344c5bfec7b42 /templates | |
parent | e796b6a9dbf8eaa66b746a75c3211d9ea7ac458b (diff) | |
parent | 69a6a8a153b8c53de66bfb9c72a113bd42afa989 (diff) | |
download | vyatta-wanloadbalance-lithium.tar.gz vyatta-wanloadbalance-lithium.zip |
Merge pull request #6 from EwaldvanGeffen/lithiumlithium
Bug 590 & 363
Diffstat (limited to 'templates')
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 |