summaryrefslogtreecommitdiff
path: root/templates/protocols
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@uffda.(none)>2007-11-12 16:46:09 -0800
committerStig Thormodsrud <stig@uffda.(none)>2007-11-12 16:46:09 -0800
commit34441a9917ce16db0e48fc8d44ecd0ee4debaa34 (patch)
treeaf7af6cb69838a34ee79b0ad48b5e5c0253beb82 /templates/protocols
parent89ab190688344f11968f2809d4a9278b99eb99c3 (diff)
downloadvyatta-cfg-quagga-34441a9917ce16db0e48fc8d44ecd0ee4debaa34.tar.gz
vyatta-cfg-quagga-34441a9917ce16db0e48fc8d44ecd0ee4debaa34.zip
Allow for multiple ospf networks under area node.
Diffstat (limited to 'templates/protocols')
-rw-r--r--templates/protocols/ospf/area/node.tag/network/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/protocols/ospf/area/node.tag/network/node.def b/templates/protocols/ospf/area/node.tag/network/node.def
index b6480f54..2ac292d3 100644
--- a/templates/protocols/ospf/area/node.tag/network/node.def
+++ b/templates/protocols/ospf/area/node.tag/network/node.def
@@ -1,7 +1,8 @@
+multi:
type: ipv4net
help: "OSPF network"
syntax: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix-boundry $(@)"
-update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
-c \"network $(@) area $(../@)\"; "
delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
-c \"no network $(@) area $(../@)\"; "