summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihail Vasilev <mick@corp.linkintel.ru>2016-04-20 08:10:14 +0000
committerMihail Vasilev <mick@corp.linkintel.ru>2016-04-20 08:10:14 +0000
commit8797548030579d7b1ec5ec25fa649d5d3da8de4c (patch)
treec20a76b27eab002ddbf0b6e508aaadcb14d925fa
parent12685da7bde57245dcb1f58f48520fa84b959455 (diff)
downloadvyatta-cfg-quagga-8797548030579d7b1ec5ec25fa649d5d3da8de4c.tar.gz
vyatta-cfg-quagga-8797548030579d7b1ec5ec25fa649d5d3da8de4c.zip
Reengeneered.
-rw-r--r--templates/protocols/ospf/route-map/node.def7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/protocols/ospf/route-map/node.def b/templates/protocols/ospf/route-map/node.def
index 631eec22..114cb80a 100644
--- a/templates/protocols/ospf/route-map/node.def
+++ b/templates/protocols/ospf/route-map/node.def
@@ -1,6 +1,7 @@
type: txt
help: Filter routes installed in local route map
commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy route-map $VAR(@)\" ";"route-map $VAR(@) doesn't exist"
-end: vtysh -c "configure terminal" \
- -c "no ip protocol ospf" \
- -c "ip protocol ospf route-map $VAR(@)"
+create:expression: "vtysh -c \"configure terminal\" \
+ -c \"ip protocol ospf route-map $VAR(@)\" \
+delete:expression: "vtysh -c \"configure terminal\" \
+ -c \"no ip protocol ospf\" \