From 34441a9917ce16db0e48fc8d44ecd0ee4debaa34 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 12 Nov 2007 16:46:09 -0800 Subject: Allow for multiple ospf networks under area node. --- templates/protocols/ospf/area/node.tag/network/node.def | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/protocols') 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 $(../@)\"; " -- cgit v1.2.3