diff options
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(@) \"; " |