summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/ospf/route-map/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/protocols/ospf/route-map/node.def b/templates/protocols/ospf/route-map/node.def
new file mode 100644
index 00000000..2a877608
--- /dev/null
+++ b/templates/protocols/ospf/route-map/node.def
@@ -0,0 +1,6 @@
+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 route-map" \
+ -c "ip protocol ospf route-map $VAR(@)"