summaryrefslogtreecommitdiff
path: root/templates/policy/access-list
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.(none)>2007-11-12 14:19:44 -0800
committerRobert Bays <rbays@moresby.(none)>2007-11-12 14:19:44 -0800
commit7efa91641403204640a43d115167b7fea4058e27 (patch)
tree85bb3febc422e505491e6b16d0e17560325ee378 /templates/policy/access-list
parentb83bab57ebbe9f295d517301ebd96402c836f25e (diff)
downloadvyatta-cfg-quagga-7efa91641403204640a43d115167b7fea4058e27.tar.gz
vyatta-cfg-quagga-7efa91641403204640a43d115167b7fea4058e27.zip
removing TODO comments related to broken comparison from template files.
Way to go An-cheng for fixing the cli! you rock like slayer.
Diffstat (limited to 'templates/policy/access-list')
-rw-r--r--templates/policy/access-list/node.tag/rule/node.tag/destination/any/node.def1
-rw-r--r--templates/policy/access-list/node.tag/rule/node.tag/destination/host/node.def1
-rw-r--r--templates/policy/access-list/node.tag/rule/node.tag/destination/inverse-mask/node.def1
-rw-r--r--templates/policy/access-list/node.tag/rule/node.tag/destination/network/node.def1
-rw-r--r--templates/policy/access-list/node.tag/rule/node.tag/source/any/node.def1
-rw-r--r--templates/policy/access-list/node.tag/rule/node.tag/source/host/node.def1
-rw-r--r--templates/policy/access-list/node.tag/rule/node.tag/source/inverse-mask/node.def1
-rw-r--r--templates/policy/access-list/node.tag/rule/node.tag/source/network/node.def1
8 files changed, 0 insertions, 8 deletions
diff --git a/templates/policy/access-list/node.tag/rule/node.tag/destination/any/node.def b/templates/policy/access-list/node.tag/rule/node.tag/destination/any/node.def
index 2a9500e8..999c4d21 100644
--- a/templates/policy/access-list/node.tag/rule/node.tag/destination/any/node.def
+++ b/templates/policy/access-list/node.tag/rule/node.tag/destination/any/node.def
@@ -4,5 +4,4 @@ To set destination filter parameters, the access-list rule number must be \n \
<100-199> IP extended access list \n \
<2000-2699> IP extended access list (expanded range) \n"
commit: $(../../action/) != ""; "You must specify an action before committing"
-# TODO - comparison not working
commit: ($(../host/) == "") && ($(../network/) == ""); "You may only define one filter type. (host|network|any)"
diff --git a/templates/policy/access-list/node.tag/rule/node.tag/destination/host/node.def b/templates/policy/access-list/node.tag/rule/node.tag/destination/host/node.def
index ba796170..ee9cfe34 100644
--- a/templates/policy/access-list/node.tag/rule/node.tag/destination/host/node.def
+++ b/templates/policy/access-list/node.tag/rule/node.tag/destination/host/node.def
@@ -4,6 +4,5 @@ syntax: ($(../../@) >= 100 && $(../../@) <= 199) || ($(../../@) >= 2000) && $(..
To set destination filter parameters, the access-list rule number must be \n \
<100-199> IP extended access list \n \
<2000-2699> IP extended access list (expanded range) \n"
-# TODO - comparison not working
commit: ($(../any/) == "") && ($(../network/) == ""); "You may only define one filter type. (host|network|any)"
commit: $(../../action/) != ""; "You must specify an action before committing"
diff --git a/templates/policy/access-list/node.tag/rule/node.tag/destination/inverse-mask/node.def b/templates/policy/access-list/node.tag/rule/node.tag/destination/inverse-mask/node.def
index 1bcd8278..ef3585a0 100644
--- a/templates/policy/access-list/node.tag/rule/node.tag/destination/inverse-mask/node.def
+++ b/templates/policy/access-list/node.tag/rule/node.tag/destination/inverse-mask/node.def
@@ -6,5 +6,4 @@ To set destination filter parameters, the access-list rule number must be \n \
<2000-2699> IP extended access list (expanded range) \n"
commit: $(../network/) != ""; "You must specify a network before committing"
commit: $(../../action/) != ""; "You must specify an action before committing"
-# TODO - comparison not working
commit: ($(../any/) == "") && ($(../host/) == ""); "You may only define one filter type. (host|network|any)"
diff --git a/templates/policy/access-list/node.tag/rule/node.tag/destination/network/node.def b/templates/policy/access-list/node.tag/rule/node.tag/destination/network/node.def
index edf91253..a4479105 100644
--- a/templates/policy/access-list/node.tag/rule/node.tag/destination/network/node.def
+++ b/templates/policy/access-list/node.tag/rule/node.tag/destination/network/node.def
@@ -6,5 +6,4 @@ To set destination filter parameters, the access-list rule number must be \n \
<2000-2699> IP extended access list (expanded range) \n"
commit: $(../inverse-mask/) != ""; "You must specify an inverse-mask before committing"
commit: $(../../action/) != ""; "You must specify an action before committing"
-# TODO - comaprison not working
commit: ($(../host/) == "") && ($(../any/) == ""); "You may only define one filter type (host|network|any)"
diff --git a/templates/policy/access-list/node.tag/rule/node.tag/source/any/node.def b/templates/policy/access-list/node.tag/rule/node.tag/source/any/node.def
index b9ec61a2..09a4a0cc 100644
--- a/templates/policy/access-list/node.tag/rule/node.tag/source/any/node.def
+++ b/templates/policy/access-list/node.tag/rule/node.tag/source/any/node.def
@@ -1,4 +1,3 @@
help: "Filter any IP address"
-# TODO - comparison not working
commit: ($(../host/) == "") && ($(../network/) == ""); "You may only define one filter type. (host|network|any)"
commit: $(../../action/) != ""; "You must specify an action before committing"
diff --git a/templates/policy/access-list/node.tag/rule/node.tag/source/host/node.def b/templates/policy/access-list/node.tag/rule/node.tag/source/host/node.def
index b4b8d569..f835f45d 100644
--- a/templates/policy/access-list/node.tag/rule/node.tag/source/host/node.def
+++ b/templates/policy/access-list/node.tag/rule/node.tag/source/host/node.def
@@ -1,5 +1,4 @@
type: ipv4
help: "Filter a host IP address"
-# TODO - comparison not working
commit: ($(../any/) == "") && ($(../network/) == ""); "You may only define one filter type. (host|network|any)"
commit: $(../../action/) != ""; "You must specify an action before committing"
diff --git a/templates/policy/access-list/node.tag/rule/node.tag/source/inverse-mask/node.def b/templates/policy/access-list/node.tag/rule/node.tag/source/inverse-mask/node.def
index a4d80f72..2f068156 100644
--- a/templates/policy/access-list/node.tag/rule/node.tag/source/inverse-mask/node.def
+++ b/templates/policy/access-list/node.tag/rule/node.tag/source/inverse-mask/node.def
@@ -1,6 +1,5 @@
type: ipv4
help: "Filter a network IP netmask"
-# TODO - comparison not working
commit: ($(../any/) == "") && ($(../host/) == ""); "You may only define one filter type. (host|network|any)"
commit: $(../network/) != ""; "You must specify a network before committing"
commit: $(../../action/) != ""; "You must specify an action before committing"
diff --git a/templates/policy/access-list/node.tag/rule/node.tag/source/network/node.def b/templates/policy/access-list/node.tag/rule/node.tag/source/network/node.def
index 9d9098cc..55a0a725 100644
--- a/templates/policy/access-list/node.tag/rule/node.tag/source/network/node.def
+++ b/templates/policy/access-list/node.tag/rule/node.tag/source/network/node.def
@@ -1,6 +1,5 @@
type: ipv4
help: "Filter a network IP address"
-# TODO - commparison not working
commit: ($(../host/) == "") && ($(../any/) == ""); "You may only define one filter type (host|network|any)"
commit: $(../inverse-mask/) != ""; "You must specify an inverse-mask before committing"
commit: $(../../action/) != ""; "You must specify an action before committing"