summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-24 11:44:18 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-04-24 13:00:23 -0700
commit44b55bafc4938ba7ffea056264d53035a6dff8a0 (patch)
treee08f46fcf3ef1653dbf1abb6cdc2cbebadeb6dc1 /templates
parentadce34c6bae2ad61bac3dfbd6627aeacf2eae138 (diff)
downloadvyatta-cfg-quagga-44b55bafc4938ba7ffea056264d53035a6dff8a0.tar.gz
vyatta-cfg-quagga-44b55bafc4938ba7ffea056264d53035a6dff8a0.zip
New tacacs+ configuration templates
Template change only. TACACS+ support is still not complete but this shows the syntax for configuration.
Diffstat (limited to 'templates')
-rw-r--r--templates/system/login/tacacs-plus/acct-all/node.def1
-rw-r--r--templates/system/login/tacacs-plus/debug/node.def1
-rw-r--r--templates/system/login/tacacs-plus/first-hit/node.def1
-rw-r--r--templates/system/login/tacacs-plus/no-encrypt/node.def1
-rw-r--r--templates/system/login/tacacs-plus/node.def3
-rw-r--r--templates/system/login/tacacs-plus/protocol/node.def2
-rw-r--r--templates/system/login/tacacs-plus/server/node.def3
-rw-r--r--templates/system/login/tacacs-plus/service/node.def2
-rw-r--r--templates/system/login/tacplus-server/node.def4
-rw-r--r--templates/system/login/tacplus-server/node.tag/secret/node.def (renamed from templates/system/login/tacacs-plus/secret/node.def)0
-rw-r--r--templates/system/login/tacplus-server/node.tag/timeout/node.def3
11 files changed, 7 insertions, 14 deletions
diff --git a/templates/system/login/tacacs-plus/acct-all/node.def b/templates/system/login/tacacs-plus/acct-all/node.def
deleted file mode 100644
index 22522f17..00000000
--- a/templates/system/login/tacacs-plus/acct-all/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Send TACACS+ accounting requests to all servers
diff --git a/templates/system/login/tacacs-plus/debug/node.def b/templates/system/login/tacacs-plus/debug/node.def
deleted file mode 100644
index 10aa10b1..00000000
--- a/templates/system/login/tacacs-plus/debug/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Enable TACACS+ debugging
diff --git a/templates/system/login/tacacs-plus/first-hit/node.def b/templates/system/login/tacacs-plus/first-hit/node.def
deleted file mode 100644
index 18f2fdf6..00000000
--- a/templates/system/login/tacacs-plus/first-hit/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Set TACACS+ to try multiple servers if a negative auth is returned
diff --git a/templates/system/login/tacacs-plus/no-encrypt/node.def b/templates/system/login/tacacs-plus/no-encrypt/node.def
deleted file mode 100644
index 7aa90dfb..00000000
--- a/templates/system/login/tacacs-plus/no-encrypt/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Set TACACS+ to not encrypt communications
diff --git a/templates/system/login/tacacs-plus/node.def b/templates/system/login/tacacs-plus/node.def
deleted file mode 100644
index d8eab559..00000000
--- a/templates/system/login/tacacs-plus/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: Set TACACS+ server authentication
-commit:expression: $VAR(server) != "" && $VAR(secret) != ""
- ; "One server and a secret must be specified for TACACS+"
diff --git a/templates/system/login/tacacs-plus/protocol/node.def b/templates/system/login/tacacs-plus/protocol/node.def
deleted file mode 100644
index 6a5c739d..00000000
--- a/templates/system/login/tacacs-plus/protocol/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-type: txt
-help: Set TACACS+ protocol for authentication and accounting
diff --git a/templates/system/login/tacacs-plus/server/node.def b/templates/system/login/tacacs-plus/server/node.def
deleted file mode 100644
index dc1b1e94..00000000
--- a/templates/system/login/tacacs-plus/server/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-multi:
-type: ipv4
-help: Set TACACS+ server IP addresses
diff --git a/templates/system/login/tacacs-plus/service/node.def b/templates/system/login/tacacs-plus/service/node.def
deleted file mode 100644
index 10d1729b..00000000
--- a/templates/system/login/tacacs-plus/service/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-type: txt
-help: Set TACACS+ service for authentication and accounting
diff --git a/templates/system/login/tacplus-server/node.def b/templates/system/login/tacplus-server/node.def
new file mode 100644
index 00000000..7fe9cc27
--- /dev/null
+++ b/templates/system/login/tacplus-server/node.def
@@ -0,0 +1,4 @@
+tag:
+type: txt
+help: Set TACACS+ server IP addresses
+commit:expression: $VAR(secret) != "" ; "secret must be specified for TACACS+"
diff --git a/templates/system/login/tacacs-plus/secret/node.def b/templates/system/login/tacplus-server/node.tag/secret/node.def
index 0f673ae2..0f673ae2 100644
--- a/templates/system/login/tacacs-plus/secret/node.def
+++ b/templates/system/login/tacplus-server/node.tag/secret/node.def
diff --git a/templates/system/login/tacplus-server/node.tag/timeout/node.def b/templates/system/login/tacplus-server/node.tag/timeout/node.def
new file mode 100644
index 00000000..8ce5f585
--- /dev/null
+++ b/templates/system/login/tacplus-server/node.tag/timeout/node.def
@@ -0,0 +1,3 @@
+type: u32
+help: Set TACACS+ server connection timeout in seconds
+default: 3