diff options
author | slioch <slioch@eng-140.vyatta.com> | 2008-10-20 14:16:39 -0700 |
---|---|---|
committer | slioch <slioch@eng-140.vyatta.com> | 2008-10-20 14:16:39 -0700 |
commit | 5151ccc88b729896c5becc60b74e9dbf3be9be56 (patch) | |
tree | 450fae13e0c0211dde10fffd5e32dfe66e916b51 /templates | |
parent | eee0afd80dbd9c5229201d96cae3f4eedae0cb31 (diff) | |
parent | a601a306e9cbde0adfe38b82ef995bf1a502a63d (diff) | |
download | vyatta-wanloadbalance-5151ccc88b729896c5becc60b74e9dbf3be9be56.tar.gz vyatta-wanloadbalance-5151ccc88b729896c5becc60b74e9dbf3be9be56.zip |
Merge branch 'islavista' of http://git.vyatta.com/vyatta-wanloadbalance into islavista
Diffstat (limited to 'templates')
-rw-r--r-- | templates/load-balancing/wan/disable-source-nat/node.def | 1 | ||||
-rw-r--r-- | templates/load-balancing/wan/rule/node.tag/inbound-interface/node.def | 11 |
2 files changed, 2 insertions, 10 deletions
diff --git a/templates/load-balancing/wan/disable-source-nat/node.def b/templates/load-balancing/wan/disable-source-nat/node.def new file mode 100644 index 0000000..eabfd8e --- /dev/null +++ b/templates/load-balancing/wan/disable-source-nat/node.def @@ -0,0 +1 @@ +help: Set to disable source nat rules from being configured for wan load balancing. diff --git a/templates/load-balancing/wan/rule/node.tag/inbound-interface/node.def b/templates/load-balancing/wan/rule/node.tag/inbound-interface/node.def index 8ed225f..cb0b953 100644 --- a/templates/load-balancing/wan/rule/node.tag/inbound-interface/node.def +++ b/templates/load-balancing/wan/rule/node.tag/inbound-interface/node.def @@ -1,12 +1,3 @@ type: txt help: Set inbound interface name -syntax:expression: exec " \ - if [ -z \"`ip link | grep $VAR(@)`\" ]; then \ - echo Invalid interface [$VAR(@)]; \ - exit 1 ; \ - fi ; " -allowed: for dev in /sys/class/net/*; - do if [[ ! $dev =~ "net/lo" ]]; then - echo -n ${dev##*/} " " - fi - done +comp_help: Enter a network interface name, for example, "eth0" |