summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/neighbor/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/neighbor/node.def')
-rw-r--r--templates/protocols/ospf/neighbor/node.def10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/protocols/ospf/neighbor/node.def b/templates/protocols/ospf/neighbor/node.def
index baa994d8..c07df296 100644
--- a/templates/protocols/ospf/neighbor/node.def
+++ b/templates/protocols/ospf/neighbor/node.def
@@ -1,7 +1,7 @@
tag:
type: ipv4
-help: "Neighbor IP address"
-create: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
- -c \"neighbor $(@)\"; "
-delete: "\\${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
- -c \"no neighbor $(@)\"; "
+help: Neighbor IP address
+create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+ -c \"neighbor $VAR(@)\"; "
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no neighbor $VAR(@)\"; "