summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/distribute-list
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@uffda.(none)>2007-11-13 20:45:58 -0800
committerStig Thormodsrud <stig@uffda.(none)>2007-11-13 20:45:58 -0800
commit1a9535e68042f67087cd400523dc42103292c2fe (patch)
treea3650a1c5a90def61a7b1e49ed830727d757cbcb /templates/protocols/ospf/distribute-list
parent34441a9917ce16db0e48fc8d44ecd0ee4debaa34 (diff)
downloadvyatta-cfg-quagga-1a9535e68042f67087cd400523dc42103292c2fe.tar.gz
vyatta-cfg-quagga-1a9535e68042f67087cd400523dc42103292c2fe.zip
Add yet more OSPF configuration.
Diffstat (limited to 'templates/protocols/ospf/distribute-list')
-rw-r--r--templates/protocols/ospf/distribute-list/node.def4
-rw-r--r--templates/protocols/ospf/distribute-list/node.tag/out/node.def8
2 files changed, 12 insertions, 0 deletions
diff --git a/templates/protocols/ospf/distribute-list/node.def b/templates/protocols/ospf/distribute-list/node.def
new file mode 100644
index 00000000..bd170cd6
--- /dev/null
+++ b/templates/protocols/ospf/distribute-list/node.def
@@ -0,0 +1,4 @@
+tag:
+type: txt
+commit: $(./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
new file mode 100644
index 00000000..ce310b0a
--- /dev/null
+++ b/templates/protocols/ospf/distribute-list/node.tag/out/node.def
@@ -0,0 +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: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"distribute-list $(../@) out $(@) \"; "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no distribute-list $(../@) out $(@) \"; "