diff options
| author | Christian Poessinger <christian@poessinger.com> | 2022-08-11 07:34:51 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-11 07:34:51 +0200 | 
| commit | 466e3b192d15563bc21fc308fa7916eb5aae8664 (patch) | |
| tree | ea637506d61310620657f1385842532ea5641a06 /interface-definitions/include | |
| parent | 7ae34b68649ef526c18e662d444465bf18a23939 (diff) | |
| parent | fcb2253153bef0df4845cb0c42155fc11965e284 (diff) | |
| download | vyos-1x-466e3b192d15563bc21fc308fa7916eb5aae8664.tar.gz vyos-1x-466e3b192d15563bc21fc308fa7916eb5aae8664.zip | |
Merge pull request #1464 from sever-sever/T4603
l2tp: T4603: Add RADIUS nas-ip-address option
Diffstat (limited to 'interface-definitions/include')
| -rw-r--r-- | interface-definitions/include/accel-ppp/radius-additions.xml.i | 13 | ||||
| -rw-r--r-- | interface-definitions/include/radius-nas-ip-address.xml.i | 14 | 
2 files changed, 15 insertions, 12 deletions
| diff --git a/interface-definitions/include/accel-ppp/radius-additions.xml.i b/interface-definitions/include/accel-ppp/radius-additions.xml.i index 441c9dda5..15ff5165f 100644 --- a/interface-definitions/include/accel-ppp/radius-additions.xml.i +++ b/interface-definitions/include/accel-ppp/radius-additions.xml.i @@ -89,18 +89,7 @@        <defaultValue>3</defaultValue>      </leafNode>      #include <include/radius-nas-identifier.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 <include/radius-nas-ip-address.xml.i>      <leafNode name="preallocate-vif">        <properties>          <help>Enable attribute NAS-Port-Id in Access-Request</help> 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 --> | 
