summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-ppp
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-10-07 07:34:43 +0200
committerGitHub <noreply@github.com>2022-10-07 07:34:43 +0200
commit4608001b073f10310b8753c4d7d850af3ec001fb (patch)
tree6b1f1e912830a2b334f82431e92d0360c23533ca /interface-definitions/include/accel-ppp
parent067cc12d0e6e52044df48f6f612cb4db1d4ad80c (diff)
parent23f7ef7e9e79b1f159c3e874c2237b5b804d9380 (diff)
downloadvyos-1x-4608001b073f10310b8753c4d7d850af3ec001fb.tar.gz
vyos-1x-4608001b073f10310b8753c4d7d850af3ec001fb.zip
Merge pull request #1569 from dmbaturin/radius-rate-limit-comp
T4726: add completion help and validation for accel-ppp vendor option
Diffstat (limited to 'interface-definitions/include/accel-ppp')
-rw-r--r--interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i12
1 files changed, 9 insertions, 3 deletions
diff --git a/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i b/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i
index 738c0a634..b8dbe73b2 100644
--- a/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i
+++ b/interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i
@@ -6,18 +6,24 @@
<children>
<leafNode name="attribute">
<properties>
- <help>Specifies which RADIUS attribute contains rate information</help>
+ <help>RADIUS attribute that contains rate information</help>
</properties>
<defaultValue>Filter-Id</defaultValue>
</leafNode>
<leafNode name="vendor">
<properties>
- <help>Specifies the vendor dictionary. (dictionary needs to be in /usr/share/accel-ppp/radius)</help>
+ <help>Vendor dictionary</help>
+ <completionHelp>
+ <list>alcatel cisco microsoft mikrotik</list>
+ </completionHelp>
+ <constraint>
+ <validator name="accel-radius-dictionary" />
+ </constraint>
</properties>
</leafNode>
<leafNode name="enable">
<properties>
- <help>Enables Bandwidth shaping via RADIUS</help>
+ <help>Enable bandwidth shaping via RADIUS</help>
<valueless />
</properties>
</leafNode>