summaryrefslogtreecommitdiff
path: root/templates/protocols
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-28 08:23:21 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-28 08:23:21 -0700
commit64f73eb8ee86c2a85c8e7b2cc4463dcd6aed197b (patch)
treebd94e3c827372ac54214183c55dd425804c2072a /templates/protocols
parent54d34f54a3c3ca23b325a71bc9377b8c14493084 (diff)
downloadvyatta-cfg-quagga-64f73eb8ee86c2a85c8e7b2cc4463dcd6aed197b.tar.gz
vyatta-cfg-quagga-64f73eb8ee86c2a85c8e7b2cc4463dcd6aed197b.zip
Convert template to new syntax
Use 'update: ...' rather than 'update:expression: ...'
Diffstat (limited to 'templates/protocols')
-rw-r--r--templates/protocols/ospf/area/node.tag/network/node.def11
1 files changed, 4 insertions, 7 deletions
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(../@)"