diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-11-03 19:40:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-03 19:40:26 +0200 |
commit | fd9e2c24e739fd327f860c45fa00241fd1acca7e (patch) | |
tree | 19862a2abf72ccccc40d246f097e12ec1e4d413a | |
parent | 1512d64c929fbb8de37a2d5b816e352e5942bfe0 (diff) | |
parent | 8f67048adff92ee140c000e7f1dc344c558e78a9 (diff) | |
download | vyos-1x-fd9e2c24e739fd327f860c45fa00241fd1acca7e.tar.gz vyos-1x-fd9e2c24e739fd327f860c45fa00241fd1acca7e.zip |
Merge pull request #2429 from vyos/mergify/bp/sagitta/pr-2423
T4726: Remove accel-ppp RADIUS vendor validators (backport #2423)
-rw-r--r-- | interface-definitions/include/accel-ppp/radius-additions-rate-limit.xml.i | 6 | ||||
-rwxr-xr-x | src/validators/accel-radius-dictionary | 13 |
2 files changed, 0 insertions, 19 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 b8dbe73b2..c0367b891 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 @@ -13,12 +13,6 @@ <leafNode name="vendor"> <properties> <help>Vendor dictionary</help> - <completionHelp> - <list>alcatel cisco microsoft mikrotik</list> - </completionHelp> - <constraint> - <validator name="accel-radius-dictionary" /> - </constraint> </properties> </leafNode> <leafNode name="enable"> diff --git a/src/validators/accel-radius-dictionary b/src/validators/accel-radius-dictionary deleted file mode 100755 index 05287e770..000000000 --- a/src/validators/accel-radius-dictionary +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -DICT_PATH=/usr/share/accel-ppp/radius -NAME=$1 - -if [ -n "$NAME" -a -e $DICT_PATH/dictionary.$NAME ]; then - exit 0 -else - echo "$NAME is not a valid RADIUS dictionary name" - echo "Please make sure that $DICT_PATH/dictionary.$NAME file exists" - exit 1 -fi - |