summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-07-07 14:33:15 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-07-07 14:33:15 -0700
commit4000b742f9eb731d40d22d6e73daef466a0e34ee (patch)
tree53a57bbb91b1f2b9b5b33f0acf2b8a35a240cb9f /templates
parent45760b0cc60d9f1f307fa3db5d420876f833a38d (diff)
downloadvyatta-wanloadbalance-4000b742f9eb731d40d22d6e73daef466a0e34ee.tar.gz
vyatta-wanloadbalance-4000b742f9eb731d40d22d6e73daef466a0e34ee.zip
added configuration hook to execute script on interface state change. configurable via conf mode. environment variables identify interface and new state.
Diffstat (limited to 'templates')
-rw-r--r--templates/load-balancing/wan/hook/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/load-balancing/wan/hook/node.def b/templates/load-balancing/wan/hook/node.def
new file mode 100644
index 0000000..94ad019
--- /dev/null
+++ b/templates/load-balancing/wan/hook/node.def
@@ -0,0 +1,2 @@
+type: txt
+help: Set script to be executed on interface status change