summaryrefslogtreecommitdiff
path: root/interface-templates/ip/ospf/authentication/plaintext-password/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-25 14:23:20 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-25 14:23:20 -0700
commit214f3a847b510cea455eb1e4100c3d6a8a08a089 (patch)
treeb7e5aa42a79ca69a54f713a16eee9a2a1f35cfb1 /interface-templates/ip/ospf/authentication/plaintext-password/node.def
parente00178c2c5e1e7d21a811bb93ac869be1d583ac8 (diff)
parenteedd04171ff3c6017e52830e8e07ec437e1c6663 (diff)
downloadvyatta-cfg-quagga-214f3a847b510cea455eb1e4100c3d6a8a08a089.tar.gz
vyatta-cfg-quagga-214f3a847b510cea455eb1e4100c3d6a8a08a089.zip
Merge branch 'jenner' of 192.168.100.1:git/vyatta-cfg-quagga into jenner
Diffstat (limited to 'interface-templates/ip/ospf/authentication/plaintext-password/node.def')
-rw-r--r--interface-templates/ip/ospf/authentication/plaintext-password/node.def10
1 files changed, 10 insertions, 0 deletions
diff --git a/interface-templates/ip/ospf/authentication/plaintext-password/node.def b/interface-templates/ip/ospf/authentication/plaintext-password/node.def
new file mode 100644
index 00000000..4b31f0d8
--- /dev/null
+++ b/interface-templates/ip/ospf/authentication/plaintext-password/node.def
@@ -0,0 +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" \
+ -c "no ip ospf authentication " -c "ip ospf authentication " \
+ -c "ip ospf authentication-key $VAR(@)"
+delete:vyatta-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)