summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-client-ip-pool-subnet.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-04 12:28:36 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-04 12:28:36 +0200
commitdd833b361dd773ed461b4db3efe335d9ecfdb479 (patch)
treed9bbf0c38547f7de4043285bfc5daec8ac3a2d1b /interface-definitions/include/accel-client-ip-pool-subnet.xml.i
parentf4e9248d2a24fc4fd0cdc7089aed0193d7a2884f (diff)
downloadvyos-1x-dd833b361dd773ed461b4db3efe335d9ecfdb479.tar.gz
vyos-1x-dd833b361dd773ed461b4db3efe335d9ecfdb479.zip
l2tp: pptp: sstp: pppoe-server: T2953: use common include for client-ip-pool
Diffstat (limited to 'interface-definitions/include/accel-client-ip-pool-subnet.xml.i')
-rw-r--r--interface-definitions/include/accel-client-ip-pool-subnet.xml.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-client-ip-pool-subnet.xml.i b/interface-definitions/include/accel-client-ip-pool-subnet.xml.i
new file mode 100644
index 000000000..8e9ca0e92
--- /dev/null
+++ b/interface-definitions/include/accel-client-ip-pool-subnet.xml.i
@@ -0,0 +1,16 @@
+<!-- included start from accel-client-ip-pool-subnet.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>
+ <multi />
+ </properties>
+</leafNode>
+<!-- included end -->