summaryrefslogtreecommitdiff
path: root/templates/system/login
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-04-18 18:23:22 +0200
committerChristian Poessinger <christian@poessinger.com>2019-04-18 18:23:24 +0200
commit0e0639d6aedc184400067cecb8f5a0530df193cd (patch)
tree51169ab02045071115e442846dd3e6fe9a6d53d7 /templates/system/login
parent4d852054acf06e5aca1b8db1444952788d1a0c41 (diff)
downloadvyatta-cfg-system-0e0639d6aedc184400067cecb8f5a0530df193cd.tar.gz
vyatta-cfg-system-0e0639d6aedc184400067cecb8f5a0530df193cd.zip
T1344: rename RADIUS 'system login' nodes
In order to prepare for adding a RADIUS source IP address and synchronize the syntax with L2TP/PPTP the nodes have been renamed from: set system login radius-server x.x.x.x to set system login radius server x.x.x.x
Diffstat (limited to 'templates/system/login')
-rw-r--r--templates/system/login/radius/node.def1
-rw-r--r--templates/system/login/radius/server/node.def (renamed from templates/system/login/radius-server/node.def)0
-rw-r--r--templates/system/login/radius/server/node.tag/port/node.def (renamed from templates/system/login/radius-server/node.tag/port/node.def)2
-rw-r--r--templates/system/login/radius/server/node.tag/secret/node.def (renamed from templates/system/login/radius-server/node.tag/secret/node.def)0
-rw-r--r--templates/system/login/radius/server/node.tag/timeout/node.def (renamed from templates/system/login/radius-server/node.tag/timeout/node.def)2
5 files changed, 3 insertions, 2 deletions
diff --git a/templates/system/login/radius/node.def b/templates/system/login/radius/node.def
new file mode 100644
index 00000000..86baaabe
--- /dev/null
+++ b/templates/system/login/radius/node.def
@@ -0,0 +1 @@
+help: RADIUS specific configuration
diff --git a/templates/system/login/radius-server/node.def b/templates/system/login/radius/server/node.def
index efc917ef..efc917ef 100644
--- a/templates/system/login/radius-server/node.def
+++ b/templates/system/login/radius/server/node.def
diff --git a/templates/system/login/radius-server/node.tag/port/node.def b/templates/system/login/radius/server/node.tag/port/node.def
index 06ff7f02..d3869f55 100644
--- a/templates/system/login/radius-server/node.tag/port/node.def
+++ b/templates/system/login/radius/server/node.tag/port/node.def
@@ -1,5 +1,5 @@
type: u32
-help: Radius port [REQUIRED]
+help: Radius port [default: 1812]
default: 1812
val_help: u32:1-65535; Numeric IP port
diff --git a/templates/system/login/radius-server/node.tag/secret/node.def b/templates/system/login/radius/server/node.tag/secret/node.def
index 90420518..90420518 100644
--- a/templates/system/login/radius-server/node.tag/secret/node.def
+++ b/templates/system/login/radius/server/node.tag/secret/node.def
diff --git a/templates/system/login/radius-server/node.tag/timeout/node.def b/templates/system/login/radius/server/node.tag/timeout/node.def
index 34fcbdb0..a4637981 100644
--- a/templates/system/login/radius-server/node.tag/timeout/node.def
+++ b/templates/system/login/radius/server/node.tag/timeout/node.def
@@ -1,5 +1,5 @@
type: u32
-help: Timeout for radius session [REQUIRED]
+help: Timeout for radius session in seconds [default: 2]
default: 2
syntax:expression: $VAR(@) > 0 && $VAR(@) <= 30 \
; "Timeout must be between 1 and 30 seconds"