summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/neighbor
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-05 15:30:03 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-05 15:30:03 -0800
commit7e018e496706667c3c0d9cc074d479b3fc445bd9 (patch)
tree94635b213133edb6c3724d0bf7469b5588db386d /templates/protocols/ospf/neighbor
parent25d3ee90522b1056d9a25735c3e0c89e7b1eeae1 (diff)
downloadvyatta-cfg-quagga-7e018e496706667c3c0d9cc074d479b3fc445bd9.tar.gz
vyatta-cfg-quagga-7e018e496706667c3c0d9cc074d479b3fc445bd9.zip
Get rid of vyatta-vtysh
For SELinux policy, changing vyatta-quagga to use standard path values. This means not having to change policies.
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 e1c9e9e9..84491993 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: "vyatta-vtysh -c \"configure terminal\" \
+create:expression: "vtysh -c \"configure terminal\" \
-c \"router ospf\" \
-c \"neighbor $VAR(@)\"; "
-delete:expression: "vyatta-vtysh -c \"configure terminal\" \
+delete:expression: "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 cd8babb2..b5e39099 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: vyatta-vtysh -c "configure terminal" \
+update: vtysh -c "configure terminal" \
-c "router ospf" \
-c "neighbor $VAR(../@) poll-interval $VAR(@)";
-delete: vyatta-vtysh -c "configure terminal" \
+delete: 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 ae89ff6f..6772e988 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: vyatta-vtysh -c "configure terminal" \
+update: vtysh -c "configure terminal" \
-c "router ospf" \
-c "neighbor $VAR(../@) priority $VAR(@)";
-delete: vyatta-vtysh -c "configure terminal" \
+delete: vtysh -c "configure terminal" \
-c "router ospf" \
-c "neighbor $VAR(../@) priority 0";
comp_help: possible completions: