diff options
author | hagbard <vyosdev@derith.de> | 2019-04-26 15:54:18 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-04-26 15:54:18 -0700 |
commit | 6d848ec832d2911db487a2b04235759971022d47 (patch) | |
tree | 829314c8f5d262761c0fef7c2fc160e95dd5acee /interface-definitions/pppoe-server.xml | |
parent | d46523b92a2e5959da66973343092c819fea6285 (diff) | |
download | vyos-1x-6d848ec832d2911db487a2b04235759971022d47.tar.gz vyos-1x-6d848ec832d2911db487a2b04235759971022d47.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.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/interface-definitions/pppoe-server.xml b/interface-definitions/pppoe-server.xml index a8dd0bcd9..1190cd9ff 100644 --- a/interface-definitions/pppoe-server.xml +++ b/interface-definitions/pppoe-server.xml @@ -227,6 +227,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> <node name="client-ipv6-pool"> |