summaryrefslogtreecommitdiff
path: root/interface-definitions/pppoe-server.xml
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-04-26 15:54:18 -0700
committerDaniil Baturin <daniil@baturin.org>2019-11-17 19:46:29 +0100
commitfa4dd7e9ad6897ded3fd1877aff18420de178ed2 (patch)
treec7b7412953055f49abdd436bb080ab74dfdc9cef /interface-definitions/pppoe-server.xml
parentfbe18024e7d32a1302c66949c391eaafb8803821 (diff)
downloadvyos-1x-fa4dd7e9ad6897ded3fd1877aff18420de178ed2.tar.gz
vyos-1x-fa4dd7e9ad6897ded3fd1877aff18420de178ed2.zip
[pppoe-server] adding CIDR based prefixes as client-ip-pool option
Diffstat (limited to 'interface-definitions/pppoe-server.xml')
-rw-r--r--interface-definitions/pppoe-server.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/interface-definitions/pppoe-server.xml b/interface-definitions/pppoe-server.xml
index a0c22d53a..ad4522679 100644
--- a/interface-definitions/pppoe-server.xml
+++ b/interface-definitions/pppoe-server.xml
@@ -186,6 +186,16 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="subnet">
+ <properties>
+ <help>Client IP subnet (CIDR notation)</help>
+ <constraint>
+ <validator name="ipv4-prefix"/>
+ </constraint>
+ <constraintErrorMessage>Not a valid CIDR formatted prefix</constraintErrorMessage>
+ <multi />
+ </properties>
+ </leafNode>
</children>
</node>