summaryrefslogtreecommitdiff
path: root/interface-templates/ip/ospf/authentication
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 /interface-templates/ip/ospf/authentication
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 'interface-templates/ip/ospf/authentication')
-rw-r--r--interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def6
-rw-r--r--interface-templates/ip/ospf/authentication/md5/node.def8
-rw-r--r--interface-templates/ip/ospf/authentication/plaintext-password/node.def4
3 files changed, 7 insertions, 11 deletions
diff --git a/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def b/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def
index 2cae238a..97d1f693 100644
--- a/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def
+++ b/interface-templates/ip/ospf/authentication/md5/key-id/node.tag/md5-key/node.def
@@ -9,16 +9,16 @@ comp_help: possible completions:
# If this node is created
create:
- vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
+ vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "ip ospf message-digest-key $VAR(../@) md5 $VAR(@)"
# If the value of this node is changed
update:
- vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
+ vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "no ip ospf message-digest-key $VAR(../@)" \
-c "ip ospf message-digest-key $VAR(../@) md5 $VAR(@)"
# If this node is deleted
delete:
- vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
+ vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "no ip ospf message-digest-key $VAR(../@)"
diff --git a/interface-templates/ip/ospf/authentication/md5/node.def b/interface-templates/ip/ospf/authentication/md5/node.def
index 1fcf3e64..1f3c8519 100644
--- a/interface-templates/ip/ospf/authentication/md5/node.def
+++ b/interface-templates/ip/ospf/authentication/md5/node.def
@@ -1,14 +1,10 @@
help: Set MD5 key id
-create:
- vyatta-vtysh \
- -c "configure terminal" \
+create: vtysh -c "configure terminal" \
-c "interface $IFNAME" \
-c "no ip ospf authentication" \
-c "ip ospf authentication message-digest"
-delete:
- vyatta-vtysh \
- -c "configure terminal" \
+delete: vtysh -c "configure terminal" \
-c "interface $IFNAME" \
-c "no ip ospf authentication"
diff --git a/interface-templates/ip/ospf/authentication/plaintext-password/node.def b/interface-templates/ip/ospf/authentication/plaintext-password/node.def
index 4b31f0d8..41ead9f0 100644
--- a/interface-templates/ip/ospf/authentication/plaintext-password/node.def
+++ b/interface-templates/ip/ospf/authentication/plaintext-password/node.def
@@ -1,10 +1,10 @@
type: txt
help: Configure plain text password
syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,8}$" ; "Password must be 8 characters or less"
-update:vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
+update:vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "no ip ospf authentication " -c "ip ospf authentication " \
-c "ip ospf authentication-key $VAR(@)"
-delete:vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" \
+delete:vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "no ip ospf authentication " -c "no ip ospf authentication-key"
comp_help: possible completions:
<text> Plain text password (8 characters or less)