summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-04-04 10:12:08 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-04-04 10:19:08 +0000
commitdbd922397dcfe6df3f0e766787d9aee69410dd58 (patch)
tree59ac69ea276caf7d8142f3aaebe756e0e2763223 /interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i
parent601ab19fd8c81a998b3c966cc83b85ed60ac5ae0 (diff)
downloadvyos-1x-dbd922397dcfe6df3f0e766787d9aee69410dd58.tar.gz
vyos-1x-dbd922397dcfe6df3f0e766787d9aee69410dd58.zip
ipoe: T2580: Add pools and gateway options
Add new feature to allow to use named pools Can be used also with Radius attribute 'Framed-Pool' set service ipoe-server client-ip-pool name POOL1 gateway-address '192.0.2.1' set service ipoe-server client-ip-pool name POOL1 subnet '192.0.2.0/24'
Diffstat (limited to 'interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i')
-rw-r--r--interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i b/interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i
new file mode 100644
index 000000000..e5918b765
--- /dev/null
+++ b/interface-definitions/include/accel-ppp/client-ip-pool-subnet-single.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from accel-ppp/client-ip-pool-subnet-single.xml.i -->
+<leafNode name="subnet">
+ <properties>
+ <help>Client IP subnet (CIDR notation)</help>
+ <valueHelp>
+ <format>ipv4net</format>
+ <description>IPv4 address and prefix length</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-prefix"/>
+ </constraint>
+ <constraintErrorMessage>Not a valid CIDR formatted prefix</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->