diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-31 07:58:38 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-31 07:58:38 -0800 |
commit | cd50a751d1480424cdf103fd748b514330029c24 (patch) | |
tree | f70096ded03ce07e56f42c0660c2cf97d63ba83b /templates/protocols/ospf/distribute-list | |
parent | c51dae6826ea505169fca5b0cb0a580bf99c18cf (diff) | |
download | vyatta-cfg-quagga-cd50a751d1480424cdf103fd748b514330029c24.tar.gz vyatta-cfg-quagga-cd50a751d1480424cdf103fd748b514330029c24.zip |
convert templates to new syntax
Diffstat (limited to 'templates/protocols/ospf/distribute-list')
-rw-r--r-- | templates/protocols/ospf/distribute-list/node.def | 4 | ||||
-rw-r--r-- | templates/protocols/ospf/distribute-list/node.tag/out/node.def | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/templates/protocols/ospf/distribute-list/node.def b/templates/protocols/ospf/distribute-list/node.def index bd170cd6..9f4a8f06 100644 --- a/templates/protocols/ospf/distribute-list/node.def +++ b/templates/protocols/ospf/distribute-list/node.def @@ -1,4 +1,4 @@ tag: type: txt -commit: $(./out/) != ""; "must add protocol to filter" -help: "access-list to filter networks in routing updates" +commit:expression: $VAR(./out/) != ""; "must add protocol to filter" +help: access-list to filter networks in routing updates diff --git a/templates/protocols/ospf/distribute-list/node.tag/out/node.def b/templates/protocols/ospf/distribute-list/node.tag/out/node.def index cd2f1200..819ff774 100644 --- a/templates/protocols/ospf/distribute-list/node.tag/out/node.def +++ b/templates/protocols/ospf/distribute-list/node.tag/out/node.def @@ -1,8 +1,8 @@ multi: type: txt -help: "Filter outgoing routing updates" -syntax: $(@) in "bgp", "connected", "isis", "kernel", "rip", "static"; "Must be (bgp, connected, isis, kernel, rip, or static" -create: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ - -c \"distribute-list $(../@) out $(@) \"; " -delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ - -c \"no distribute-list $(../@) out $(@) \"; " +help: Filter outgoing routing updates +syntax:expression: $VAR(@) in "bgp", "connected", "isis", "kernel", "rip", "static"; "Must be (bgp, connected, isis, kernel, rip, or static" +create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ + -c \"distribute-list $VAR(../@) out $VAR(@) \"; " +delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \ + -c \"no distribute-list $VAR(../@) out $VAR(@) \"; " |