diff options
author | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-07 14:44:57 -0800 |
---|---|---|
committer | Robert Bays <rbays@moresby.vyatta.com> | 2008-03-07 14:44:57 -0800 |
commit | 700821ae3472ee3f8b038e6edf944dd3de4f44fc (patch) | |
tree | 961c45aa2df246a215666fef7bb581c04ac80295 /templates/protocols/ospf/access-list | |
parent | f38f4f89c5dc66d021938b7a63051c5e601f6eb3 (diff) | |
download | vyatta-cfg-quagga-700821ae3472ee3f8b038e6edf944dd3de4f44fc.tar.gz vyatta-cfg-quagga-700821ae3472ee3f8b038e6edf944dd3de4f44fc.zip |
bug 2783: set protocols ospf distribute-list...
Diffstat (limited to 'templates/protocols/ospf/access-list')
-rw-r--r-- | templates/protocols/ospf/access-list/node.def | 4 | ||||
-rw-r--r-- | templates/protocols/ospf/access-list/node.tag/export/node.def | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/templates/protocols/ospf/access-list/node.def b/templates/protocols/ospf/access-list/node.def new file mode 100644 index 00000000..9f4a8f06 --- /dev/null +++ b/templates/protocols/ospf/access-list/node.def @@ -0,0 +1,4 @@ +tag: +type: txt +commit:expression: $VAR(./out/) != ""; "must add protocol to filter" +help: access-list to filter networks in routing updates diff --git a/templates/protocols/ospf/access-list/node.tag/export/node.def b/templates/protocols/ospf/access-list/node.tag/export/node.def new file mode 100644 index 00000000..d70f6ded --- /dev/null +++ b/templates/protocols/ospf/access-list/node.tag/export/node.def @@ -0,0 +1,17 @@ +multi: +type: u32 +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(@) \"; " +comp_help: possible completions: + bgp Filter bgp routes + connected Filter connected routes + isis Filter isis routes + kernel Filter kernel routes + rip Filter rip routes + static Filter static routes |