summaryrefslogtreecommitdiff
path: root/interface-definitions/include
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
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')
-rw-r--r--interface-definitions/include/accel-client-ip-pool-start-stop.xml.i18
-rw-r--r--interface-definitions/include/accel-client-ip-pool-subnet.xml.i (renamed from interface-definitions/include/accel-client-subnet.xml.i)2
2 files changed, 19 insertions, 1 deletions
diff --git a/interface-definitions/include/accel-client-ip-pool-start-stop.xml.i b/interface-definitions/include/accel-client-ip-pool-start-stop.xml.i
new file mode 100644
index 000000000..a92c315f1
--- /dev/null
+++ b/interface-definitions/include/accel-client-ip-pool-start-stop.xml.i
@@ -0,0 +1,18 @@
+<!-- included start from accel-client-ip-pool-start-stop.xml.i -->
+<leafNode name="start">
+ <properties>
+ <help>First IP address in the pool</help>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+</leafNode>
+<leafNode name="stop">
+ <properties>
+ <help>Last IP address in the pool</help>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- included end -->
diff --git a/interface-definitions/include/accel-client-subnet.xml.i b/interface-definitions/include/accel-client-ip-pool-subnet.xml.i
index e6dd5534c..8e9ca0e92 100644
--- a/interface-definitions/include/accel-client-subnet.xml.i
+++ b/interface-definitions/include/accel-client-ip-pool-subnet.xml.i
@@ -1,4 +1,4 @@
-<!-- included start from accel-client-subnet.xml.i -->
+<!-- included start from accel-client-ip-pool-subnet.xml.i -->
<leafNode name="subnet">
<properties>
<help>Client IP subnet (CIDR notation)</help>