summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-09-16 23:12:41 +0200
committerChristian Poessinger <christian@poessinger.com>2022-09-17 08:20:17 +0200
commit1e4a249f0c56bdd5bf07b1b97844c6aa1d595214 (patch)
treed4b85383029bf4bc0a5eddbb7bb3eb298b467f69 /interface-definitions/include/accel-ppp
parentbd81d5e8d0fc2300c864754804ff8be74f14cfce (diff)
downloadvyos-1x-1e4a249f0c56bdd5bf07b1b97844c6aa1d595214.tar.gz
vyos-1x-1e4a249f0c56bdd5bf07b1b97844c6aa1d595214.zip
pppoe-server: T4703: combine vlan-id and vlan-range into single CLI node
The initial Accel-PPP PPPoE implementation used: set service pppoe-server interface <name> vlan-id <id> set service pppoe-server interface <name> vlan-range <start-stop> This is actually a duplicated CLI node.
Diffstat (limited to 'interface-definitions/include/accel-ppp')
-rw-r--r--interface-definitions/include/accel-ppp/vlan.xml.i20
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-ppp/vlan.xml.i b/interface-definitions/include/accel-ppp/vlan.xml.i
new file mode 100644
index 000000000..7df711d4b
--- /dev/null
+++ b/interface-definitions/include/accel-ppp/vlan.xml.i
@@ -0,0 +1,20 @@
+<!-- include start from accel-ppp/vlan.xml.i -->
+<leafNode name="vlan">
+ <properties>
+ <help>VLAN monitor for automatic creation of VLAN interfaces</help>
+ <valueHelp>
+ <format>u32:1-4094</format>
+ <description>VLAN for automatic creation </description>
+ </valueHelp>
+ <valueHelp>
+ <format>start-end</format>
+ <description>VLAN range for automatic creation (e.g. 1-4094)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4094"/>
+ </constraint>
+ <constraintErrorMessage>VLAN IDs need to be in range 1-4094</constraintErrorMessage>
+ <multi/>
+ </properties>
+</leafNode>
+<!-- include end -->