summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/default-metric/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/default-metric/node.def')
-rw-r--r--templates/protocols/ospf/default-metric/node.def12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/protocols/ospf/default-metric/node.def b/templates/protocols/ospf/default-metric/node.def
index f147d611..8549f529 100644
--- a/templates/protocols/ospf/default-metric/node.def
+++ b/templates/protocols/ospf/default-metric/node.def
@@ -1,7 +1,7 @@
type: u32
-help: "Set metric of redistributed routes"
-syntax: $(@) >= 0 && $(@) <= 16777214; "Must be between 0-16777214"
-update: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
- -c \"default-metric $(@) \"; "
-delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
- -c \"no default-metric $(@) \"; "
+help: Set metric of redistributed routes
+syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "Must be between 0-16777214"
+update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+ -c \"default-metric $VAR(@) \"; "
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no default-metric $VAR(@) \"; "