summaryrefslogtreecommitdiff
path: root/interface-definitions/service_ipoe-server.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/service_ipoe-server.xml.in')
-rw-r--r--interface-definitions/service_ipoe-server.xml.in22
1 files changed, 19 insertions, 3 deletions
diff --git a/interface-definitions/service_ipoe-server.xml.in b/interface-definitions/service_ipoe-server.xml.in
index b19acab56..e222467b1 100644
--- a/interface-definitions/service_ipoe-server.xml.in
+++ b/interface-definitions/service_ipoe-server.xml.in
@@ -23,7 +23,7 @@
<list>L2 L3</list>
</completionHelp>
<constraint>
- <regex>^(L2|L3)$</regex>
+ <regex>(L2|L3)</regex>
</constraint>
<valueHelp>
<format>L2</format>
@@ -42,7 +42,7 @@
<list>shared vlan</list>
</completionHelp>
<constraint>
- <regex>^(shared|vlan)$</regex>
+ <regex>(shared|vlan)</regex>
</constraint>
<valueHelp>
<format>shared</format>
@@ -112,6 +112,22 @@
</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>
+ </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>
@@ -125,7 +141,7 @@
<list>local radius noauth</list>
</completionHelp>
<constraint>
- <regex>^(local|radius|noauth)$</regex>
+ <regex>(local|radius|noauth)</regex>
</constraint>
<valueHelp>
<format>local</format>