summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/distribute-list/access-list
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-01-31 07:58:38 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-01-31 07:58:38 -0800
commitcd50a751d1480424cdf103fd748b514330029c24 (patch)
treef70096ded03ce07e56f42c0660c2cf97d63ba83b /templates/protocols/rip/distribute-list/access-list
parentc51dae6826ea505169fca5b0cb0a580bf99c18cf (diff)
downloadvyatta-cfg-quagga-cd50a751d1480424cdf103fd748b514330029c24.tar.gz
vyatta-cfg-quagga-cd50a751d1480424cdf103fd748b514330029c24.zip
convert templates to new syntax
Diffstat (limited to 'templates/protocols/rip/distribute-list/access-list')
-rw-r--r--templates/protocols/rip/distribute-list/access-list/in/node.def12
-rw-r--r--templates/protocols/rip/distribute-list/access-list/node.def2
-rw-r--r--templates/protocols/rip/distribute-list/access-list/out/node.def12
3 files changed, 13 insertions, 13 deletions
diff --git a/templates/protocols/rip/distribute-list/access-list/in/node.def b/templates/protocols/rip/distribute-list/access-list/in/node.def
index c78ad2fb..87eddf90 100644
--- a/templates/protocols/rip/distribute-list/access-list/in/node.def
+++ b/templates/protocols/rip/distribute-list/access-list/in/node.def
@@ -1,8 +1,8 @@
type: u32
-help: "access-list to apply to input packets"
-commit: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy access-list $(@)\" ";"access-list $(@) doesn't exist"
-update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
- -c \"distribute-list $(@) in\" "
-delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
- -c \"no distribute-list $(@) in\" "
+help: access-list to apply to input packets
+commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy access-list $VAR(@)\" ";"access-list $VAR(@) doesn't exist"
+update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
+ -c \"distribute-list $VAR(@) in\" "
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
+ -c \"no distribute-list $VAR(@) in\" "
diff --git a/templates/protocols/rip/distribute-list/access-list/node.def b/templates/protocols/rip/distribute-list/access-list/node.def
index a76ae356..dd7917a7 100644
--- a/templates/protocols/rip/distribute-list/access-list/node.def
+++ b/templates/protocols/rip/distribute-list/access-list/node.def
@@ -1 +1 @@
-help: "Access-list"
+help: Access-list
diff --git a/templates/protocols/rip/distribute-list/access-list/out/node.def b/templates/protocols/rip/distribute-list/access-list/out/node.def
index 96855ca4..4b7f6b85 100644
--- a/templates/protocols/rip/distribute-list/access-list/out/node.def
+++ b/templates/protocols/rip/distribute-list/access-list/out/node.def
@@ -1,8 +1,8 @@
type: u32
-help: "access-list to apply to output packets"
-commit: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy access-list $(@)\" ";"access-list $(@) doesn't exist"
-update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
- -c \"distribute-list $(@) out\" "
-delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
- -c \"no distribute-list $(@) out\" "
+help: access-list to apply to output packets
+commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy access-list $VAR(@)\" ";"access-list $VAR(@) doesn't exist"
+update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
+ -c \"distribute-list $VAR(@) out\" "
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router rip\" \
+ -c \"no distribute-list $VAR(@) out\" "