summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/parameters/router-id/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/parameters/router-id/node.def')
-rw-r--r--templates/protocols/ospf/parameters/router-id/node.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/protocols/ospf/parameters/router-id/node.def b/templates/protocols/ospf/parameters/router-id/node.def
index b1902d49..77ceeaa3 100644
--- a/templates/protocols/ospf/parameters/router-id/node.def
+++ b/templates/protocols/ospf/parameters/router-id/node.def
@@ -1,6 +1,6 @@
type: ipv4
-help: "Override the default router identifier"
-update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
- -c \"ospf router-id $(@)\" "
-delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+help: Override the default router identifier
+update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+ -c \"ospf router-id $VAR(@)\" "
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
-c \"no ospf router-id \" "