summaryrefslogtreecommitdiff
path: root/interface-definitions/include/radius-nas-ip-address.xml.i
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-08-10 21:01:03 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-08-10 21:01:03 +0000
commitfcb2253153bef0df4845cb0c42155fc11965e284 (patch)
treeea637506d61310620657f1385842532ea5641a06 /interface-definitions/include/radius-nas-ip-address.xml.i
parent7ae34b68649ef526c18e662d444465bf18a23939 (diff)
downloadvyos-1x-fcb2253153bef0df4845cb0c42155fc11965e284.tar.gz
vyos-1x-fcb2253153bef0df4845cb0c42155fc11965e284.zip
l2tp: T4603: Add RADIUS nas-ip-address option
Add l2tp authentication radius nas-ip-address option which will be sent in NAS-IP-Address Radius attribute
Diffstat (limited to 'interface-definitions/include/radius-nas-ip-address.xml.i')
-rw-r--r--interface-definitions/include/radius-nas-ip-address.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/radius-nas-ip-address.xml.i b/interface-definitions/include/radius-nas-ip-address.xml.i
new file mode 100644
index 000000000..8d0a3fd6a
--- /dev/null
+++ b/interface-definitions/include/radius-nas-ip-address.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from radius-nas-ip-address.xml.i -->
+<leafNode name="nas-ip-address">
+ <properties>
+ <help>NAS-IP-Address attribute sent to RADIUS</help>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>NAS-IP-Address attribute</description>
+ </valueHelp>
+ </properties>
+</leafNode>
+<!-- include end -->