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/service-ipoe-server.xml.in | |
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/service-ipoe-server.xml.in')
-rw-r--r-- | interface-definitions/service-ipoe-server.xml.in | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/interface-definitions/service-ipoe-server.xml.in b/interface-definitions/service-ipoe-server.xml.in index d778f9de0..ca4929249 100644 --- a/interface-definitions/service-ipoe-server.xml.in +++ b/interface-definitions/service-ipoe-server.xml.in @@ -108,22 +108,7 @@ <help>Client IP pools and gateway setting</help> </properties> <children> - <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 <include/accel-ppp/client-ip-pool-name.xml.i> </children> </node> #include <include/accel-ppp/client-ipv6-pool.xml.i> |