From 64f73eb8ee86c2a85c8e7b2cc4463dcd6aed197b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 28 May 2009 08:23:21 -0700 Subject: Convert template to new syntax Use 'update: ...' rather than 'update:expression: ...' --- templates/protocols/ospf/area/node.tag/network/node.def | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (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 17648610..6f8e69d6 100644 --- a/templates/protocols/ospf/area/node.tag/network/node.def +++ b/templates/protocols/ospf/area/node.tag/network/node.def @@ -1,11 +1,8 @@ multi: type: ipv4net help: Set OSPF network -priority: 1 syntax:expression: exec "${vyatta_sbindir}/check_prefix_boundary $VAR(@)" -create:expression: "vyatta-vtysh -c \"configure terminal\" \ - -c \"router ospf\" \ - -c \"network $VAR(@) area $VAR(../@)\"; " -delete:expression: "vyatta-vtysh -c \"configure terminal\" \ - -c \"router ospf\" \ - -c \"no network $VAR(@) area $VAR(../@)\"; " +update:vyatta-vtysh -c "configure terminal" \ + -c "router ospf" -c "network $VAR(@) area $VAR(../@)" +delete:vyatta-vtysh -c "configure terminal" \ + -c "router ospf" -c "no network $VAR(@) area $VAR(../@)" -- cgit v1.2.3