diff options
author | Arthur Xiong <arthur@vyatta.com> | 2008-03-07 15:51:46 -0800 |
---|---|---|
committer | Arthur Xiong <arthur@vyatta.com> | 2008-03-07 15:51:46 -0800 |
commit | 90cf3628ebd7930cf1f2b1c8b1abfe8b8ba72e03 (patch) | |
tree | 63295d9b8939c9324ddfbe3c7de43a82e9461aca /templates/protocols/ospf/access-list | |
parent | bfc1372b8255eb4a7179ad87dcc2e7782bcb9cb5 (diff) | |
parent | 700821ae3472ee3f8b038e6edf944dd3de4f44fc (diff) | |
download | vyatta-cfg-quagga-90cf3628ebd7930cf1f2b1c8b1abfe8b8ba72e03.tar.gz vyatta-cfg-quagga-90cf3628ebd7930cf1f2b1c8b1abfe8b8ba72e03.zip |
Merge branch 'glendale' of git.vyatta.com:/git/vyatta-cfg-quagga into glendale
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 |