summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-04 15:02:58 +0200
committerGitHub <noreply@github.com>2022-04-04 15:02:58 +0200
commitc705ced894f16d8ffb752c1f017ffcad1f0a23cc (patch)
tree47fb8a1464b478a144b18a711e5bd8aa8af26d7d /interface-definitions/include
parente02d8145e4f126203ff00949b7af6119658f7123 (diff)
parentdbd922397dcfe6df3f0e766787d9aee69410dd58 (diff)
downloadvyos-1x-c705ced894f16d8ffb752c1f017ffcad1f0a23cc.tar.gz
vyos-1x-c705ced894f16d8ffb752c1f017ffcad1f0a23cc.zip
Merge pull request #1267 from sever-sever/T2580
ipoe: T2580: Add pools and gateway options
Diffstat (limited to 'interface-definitions/include')
-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 -->