summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihail Vasilev <mick@corp.linkintel.ru>2016-04-20 08:10:14 +0000
committerUnicronNL <kim.sidney@gmail.com>2017-10-22 22:24:40 +0200
commit1485e5104ab827d396cbaddc8769e26813ce5582 (patch)
tree3c5773ec17987a8ed20a8e74d7aa2adf67e4e647
parentf948f7e10e726f9a43d1090e037aa57a1b9ff4f2 (diff)
downloadvyatta-cfg-quagga-1485e5104ab827d396cbaddc8769e26813ce5582.tar.gz
vyatta-cfg-quagga-1485e5104ab827d396cbaddc8769e26813ce5582.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\" \