summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/neighbor
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-12 12:29:28 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-12 12:29:28 -0700
commitfa69d96c5958a579900600734549038ac12e93bc (patch)
treef91a61d9de326812808ec75badfd316de9d2ce77 /templates/protocols/ospf/neighbor
parent588492cf8a9ddf438b649c6db4986bcab9c22435 (diff)
downloadvyatta-cfg-quagga-fa69d96c5958a579900600734549038ac12e93bc.tar.gz
vyatta-cfg-quagga-fa69d96c5958a579900600734549038ac12e93bc.zip
Revert "Replace vyatta-vtysh with vtysh"
This reverts commit 588492cf8a9ddf438b649c6db4986bcab9c22435.
Diffstat (limited to 'templates/protocols/ospf/neighbor')
-rw-r--r--templates/protocols/ospf/neighbor/node.def4
-rw-r--r--templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def4
-rw-r--r--templates/protocols/ospf/neighbor/node.tag/priority/node.def4
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/protocols/ospf/neighbor/node.def b/templates/protocols/ospf/neighbor/node.def
index 84491993..e1c9e9e9 100644
--- a/templates/protocols/ospf/neighbor/node.def
+++ b/templates/protocols/ospf/neighbor/node.def
@@ -1,9 +1,9 @@
tag:
type: ipv4
help: Set neighbor IP address
-create:expression: "vtysh -c \"configure terminal\" \
+create:expression: "vyatta-vtysh -c \"configure terminal\" \
-c \"router ospf\" \
-c \"neighbor $VAR(@)\"; "
-delete:expression: "vtysh -c \"configure terminal\" \
+delete:expression: "vyatta-vtysh -c \"configure terminal\" \
-c \"router ospf\" \
-c \"no neighbor $VAR(@)\"; "
diff --git a/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def b/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def
index b5e39099..cd8babb2 100644
--- a/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def
+++ b/templates/protocols/ospf/neighbor/node.tag/poll-interval/node.def
@@ -2,10 +2,10 @@ type: u32
help: Set dead neighbor polling interval
default: 60
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535 seconds"
-update: vtysh -c "configure terminal" \
+update: vyatta-vtysh -c "configure terminal" \
-c "router ospf" \
-c "neighbor $VAR(../@) poll-interval $VAR(@)";
-delete: vtysh -c "configure terminal" \
+delete: vyatta-vtysh -c "configure terminal" \
-c "router ospf" \
-c "neighbor $VAR(../@) poll-interval 60";
comp_help: possible completions:
diff --git a/templates/protocols/ospf/neighbor/node.tag/priority/node.def b/templates/protocols/ospf/neighbor/node.tag/priority/node.def
index 6772e988..ae89ff6f 100644
--- a/templates/protocols/ospf/neighbor/node.tag/priority/node.def
+++ b/templates/protocols/ospf/neighbor/node.tag/priority/node.def
@@ -2,10 +2,10 @@ type: u32
help: Set neighbor priority in seconds
default: 0
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255; "Priority must be between 0-255"
-update: vtysh -c "configure terminal" \
+update: vyatta-vtysh -c "configure terminal" \
-c "router ospf" \
-c "neighbor $VAR(../@) priority $VAR(@)";
-delete: vtysh -c "configure terminal" \
+delete: vyatta-vtysh -c "configure terminal" \
-c "router ospf" \
-c "neighbor $VAR(../@) priority 0";
comp_help: possible completions: