diff options
author | hagbard <vyosdev@derith.de> | 2019-07-08 12:15:09 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-07-08 12:45:06 -0700 |
commit | 14b4fa607f37b051957abc9cbe01014a610adc81 (patch) | |
tree | 55574fd39c9f41a3d053f2e0228b92fe70e7f7cd /interface-definitions/ipoe-server.xml | |
parent | 209163351c8bbd25050a6541070aa94aaff3ce08 (diff) | |
download | vyos-1x-14b4fa607f37b051957abc9cbe01014a610adc81.tar.gz vyos-1x-14b4fa607f37b051957abc9cbe01014a610adc81.zip |
[IPoE] - T1510: vlan-mon option implementation
Diffstat (limited to 'interface-definitions/ipoe-server.xml')
-rw-r--r-- | interface-definitions/ipoe-server.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/interface-definitions/ipoe-server.xml b/interface-definitions/ipoe-server.xml index 46ac2357a..6c93d3699 100644 --- a/interface-definitions/ipoe-server.xml +++ b/interface-definitions/ipoe-server.xml @@ -90,6 +90,25 @@ </leafNode> </children> </node> + <leafNode name="vlan-id"> + <properties> + <help>VLAN monitor for the automatic creation of vlans (user per vlan)</help> + <constraint> + <validator name="numeric" argument="--range 1-4096"/> + </constraint> + <constraintErrorMessage>VLAN ID needs to be between 1 and 4096</constraintErrorMessage> + <multi /> + </properties> + </leafNode> + <leafNode name="vlan-range"> + <properties> + <help>VLAN monitor for the automatic creation of vlans (user per vlan)</help> + <constraint> + <regex>(409[0-6]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{0,2})-(409[0-6]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{0,2})</regex> + </constraint> + <multi /> + </properties> + </leafNode> </children> </tagNode> <node name="dns-server"> |