diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-24 23:23:09 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-07-25 00:15:08 +0200 |
commit | 937f1e43ebb9b844b9b73584c3571a18d56bf529 (patch) | |
tree | 4c3b6a6637aecd62e0cb83d8fb8f27fbc4c0ae59 | |
parent | 861945045ca04b21e27ad31513b2ff929349ee2e (diff) | |
download | vyos-1x-937f1e43ebb9b844b9b73584c3571a18d56bf529.tar.gz vyos-1x-937f1e43ebb9b844b9b73584c3571a18d56bf529.zip |
xml: add building block for RADIUS nas-identifier
-rw-r--r-- | interface-definitions/include/accel-ppp/radius-additions.xml.i | 6 | ||||
-rw-r--r-- | interface-definitions/include/radius-nas-identifier.xml.i | 7 | ||||
-rw-r--r-- | interface-definitions/vpn_l2tp.xml.in | 6 |
3 files changed, 9 insertions, 10 deletions
diff --git a/interface-definitions/include/accel-ppp/radius-additions.xml.i b/interface-definitions/include/accel-ppp/radius-additions.xml.i index e65088c43..fdcff36bf 100644 --- a/interface-definitions/include/accel-ppp/radius-additions.xml.i +++ b/interface-definitions/include/accel-ppp/radius-additions.xml.i @@ -88,11 +88,7 @@ </properties> <defaultValue>3</defaultValue> </leafNode> - <leafNode name="nas-identifier"> - <properties> - <help>NAS-Identifier attribute sent to RADIUS</help> - </properties> - </leafNode> + #include <include/radius-nas-identifier.xml.i> <leafNode name="nas-ip-address"> <properties> <help>NAS-IP-Address attribute sent to RADIUS</help> diff --git a/interface-definitions/include/radius-nas-identifier.xml.i b/interface-definitions/include/radius-nas-identifier.xml.i new file mode 100644 index 000000000..8e6933cc0 --- /dev/null +++ b/interface-definitions/include/radius-nas-identifier.xml.i @@ -0,0 +1,7 @@ +<!-- include start from radius-nas-identifier.xml.i --> +<leafNode name="nas-identifier"> + <properties> + <help>NAS-Identifier attribute sent to RADIUS</help> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/vpn_l2tp.xml.in b/interface-definitions/vpn_l2tp.xml.in index 6cf5218ff..cf31af70f 100644 --- a/interface-definitions/vpn_l2tp.xml.in +++ b/interface-definitions/vpn_l2tp.xml.in @@ -205,11 +205,7 @@ <help>Maximum number of tries to send Access-Request/Accounting-Request queries</help> </properties> </leafNode> - <leafNode name="nas-identifier"> - <properties> - <help>Value to send to RADIUS server in NAS-Identifier attribute and to be matched in DM/CoA requests.</help> - </properties> - </leafNode> + #include <include/radius-nas-identifier.xml.i> <node name="dae-server"> <properties> <help>IPv4 address and port to bind Dynamic Authorization Extension server (DM/CoA)</help> |