diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-06-09 19:03:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 19:03:51 +0200 |
commit | a3559f7e429c86ccdfeeac0aaddfc054be403368 (patch) | |
tree | 819a329fe47e347ee4ad26f2c7fc70d5f9861a5f /interface-definitions/service_ipoe-server.xml.in | |
parent | 3586dad839e3db0279d59c467b6f972980ad2f43 (diff) | |
parent | e37cd20355949993988b333bad05b1278f4e3dc0 (diff) | |
download | vyos-1x-a3559f7e429c86ccdfeeac0aaddfc054be403368.tar.gz vyos-1x-a3559f7e429c86ccdfeeac0aaddfc054be403368.zip |
Merge pull request #1271 from sever-sever/T2580-equ
ipoe: T2580: Add pools and gateway options
Diffstat (limited to 'interface-definitions/service_ipoe-server.xml.in')
-rw-r--r-- | interface-definitions/service_ipoe-server.xml.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/service_ipoe-server.xml.in b/interface-definitions/service_ipoe-server.xml.in index b19acab56..bdf399d46 100644 --- a/interface-definitions/service_ipoe-server.xml.in +++ b/interface-definitions/service_ipoe-server.xml.in @@ -112,6 +112,26 @@ </children> </tagNode> #include <include/name-server-ipv4-ipv6.xml.i> + <node name="client-ip-pool"> + <properties> + <help>Client IP pools and gateway setting</help> + </properties> + <children> + <tagNode name="name"> + <properties> + <help>Pool name</help> + <constraint> + <regex>[-_a-zA-Z0-9]+</regex> + </constraint> + <constraintErrorMessage>Client IP pool is limited to alphanumerical characters and can contain hyphen and underscores</constraintErrorMessage> + </properties> + <children> + #include <include/accel-ppp/gateway-address.xml.i> + #include <include/accel-ppp/client-ip-pool-subnet-single.xml.i> + </children> + </tagNode> + </children> + </node> #include <include/accel-ppp/client-ipv6-pool.xml.i> <node name="authentication"> <properties> |