summaryrefslogtreecommitdiff
path: root/templates/load-balancing/wan
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-02-05 16:13:28 -0800
committerMichael Larson <slioch@eng-140.vyatta.com>2008-02-05 16:13:28 -0800
commitfeaee77ba7c7003bac53c4858eab26ac339e6aa8 (patch)
treee138ef78aa6423976739084db89f68b67f6ecf35 /templates/load-balancing/wan
parentf350c6bdc9d1fba54fc695039341c87eb50b573a (diff)
downloadvyatta-wanloadbalance-feaee77ba7c7003bac53c4858eab26ac339e6aa8.tar.gz
vyatta-wanloadbalance-feaee77ba7c7003bac53c4858eab26ac339e6aa8.zip
changed port definition to be consistent with fw/nat (i.e. single port line allow multi-port configuration). init script fix
Diffstat (limited to 'templates/load-balancing/wan')
-rw-r--r--templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def3
-rw-r--r--templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def7
-rw-r--r--templates/load-balancing/wan/rule/node.tag/destination/port/node.def3
-rw-r--r--templates/load-balancing/wan/rule/node.tag/source/port-number/node.def6
-rw-r--r--templates/load-balancing/wan/rule/node.tag/source/port/node.def (renamed from templates/load-balancing/wan/rule/node.tag/source/port-name/node.def)1
5 files changed, 3 insertions, 17 deletions
diff --git a/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def b/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def
deleted file mode 100644
index fbc6446..0000000
--- a/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-tag:
-type: txt
-help: Port name
diff --git a/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def b/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def
deleted file mode 100644
index 72cb512..0000000
--- a/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def
+++ /dev/null
@@ -1,7 +0,0 @@
-tag:
-type: u32
-syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 65535; "port number must be between 1 and 65535"
-help: Port number
-comp_help: possible completions:
-<1-65535> Port number
-
diff --git a/templates/load-balancing/wan/rule/node.tag/destination/port/node.def b/templates/load-balancing/wan/rule/node.tag/destination/port/node.def
new file mode 100644
index 0000000..1e43c40
--- /dev/null
+++ b/templates/load-balancing/wan/rule/node.tag/destination/port/node.def
@@ -0,0 +1,3 @@
+type: txt
+help: Ports
+
diff --git a/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def b/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def
deleted file mode 100644
index 599a4c6..0000000
--- a/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def
+++ /dev/null
@@ -1,6 +0,0 @@
-tag:
-type: u32
-syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 65535; "port number must be between 1 and 65535"
-help: port number
-comp_help: possible completions:
-<1-65535> Port number
diff --git a/templates/load-balancing/wan/rule/node.tag/source/port-name/node.def b/templates/load-balancing/wan/rule/node.tag/source/port/node.def
index 6f8bcf5..db26231 100644
--- a/templates/load-balancing/wan/rule/node.tag/source/port-name/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/source/port/node.def
@@ -1,3 +1,2 @@
-tag:
type: txt
help: port name