diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-02-07 08:45:38 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-02-07 08:50:31 +0000 |
commit | 53d82ea2b1427ac4668cc1b38544219eae960b86 (patch) | |
tree | 25b36cffd087f8fbc01d9f23dcb172a97a3b7ba8 /interface-definitions/include/accel-ppp/client-ip-pool-name.xml.i | |
parent | 2622902ac76bc1c3356bb722f63e931119f3eb04 (diff) | |
download | vyos-1x-53d82ea2b1427ac4668cc1b38544219eae960b86.tar.gz vyos-1x-53d82ea2b1427ac4668cc1b38544219eae960b86.zip |
T4971: PPPoE server add named ip pool and attr Framed-Pool
Add a new feature to allow to use named pools
Also it can be used with RADIUS attribute 'Framed-Pool'
set service pppoe-server client-ip-pool name POOL1 gateway-address '192.0.2.1'
set service pppoe-server client-ip-pool name POOL1 subnet '192.0.2.0/24'
Diffstat (limited to 'interface-definitions/include/accel-ppp/client-ip-pool-name.xml.i')
-rw-r--r-- | interface-definitions/include/accel-ppp/client-ip-pool-name.xml.i | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/client-ip-pool-name.xml.i b/interface-definitions/include/accel-ppp/client-ip-pool-name.xml.i new file mode 100644 index 000000000..654b6727e --- /dev/null +++ b/interface-definitions/include/accel-ppp/client-ip-pool-name.xml.i @@ -0,0 +1,18 @@ +<!-- include start from accel-ppp/client-ip-pool-name.xml.i --> +<tagNode name="name"> + <properties> + <help>Pool name</help> + <valueHelp> + <format>txt</format> + <description>Name of IP pool</description> + </valueHelp> + <constraint> + <regex>[-_a-zA-Z0-9.]+</regex> + </constraint> + </properties> + <children> + #include <include/accel-ppp/gateway-address.xml.i> + #include <include/accel-ppp/client-ip-pool-subnet-single.xml.i> + </children> +</tagNode> +<!-- include end --> |