Add vendor in Accel configuration

Hello,

In some countries Mikrotik is really popular and some cheap ISP management/RADIUS send Mikrotik rate limit only but without editing the pppoe.config the rate limit wont work.

Using the command: set service pppoe-server authentication radius-settings rate-limit attribute Mikrotik-Rate-Limit wont work all the time with some RADIUS servers.

Something like set service pppoe-server authentication radius-settings rate-limit vendor 'XXXXX’ would do the job.

I tested it adding the vendor to the pppoe.config and worked.

This is an export of my [shaper] section:

[shaper]
verbose=1
vendor=Mikrotik
attr=Mikrotik-Rate-Limit

Edit1: The Mikrotik Dictionary is installed.

Please open a feature request in phabricator.vyos.net, should be relativly easy to implement your request.
I created one for you: ⚓ T1452 accel-pppoe - add vendor option to shaper

Where locate file pppoe.config?

In the rolling versions this located in /var/run/accel-pppd/

generated by accel_pppoe.py

Message in the head pppoe.conf, but I can’t find file accel_pppoe.py

Hi @netocarvalho, this python script was renamed and it seems we need to make a change in comment
You can find script by the following path /usr/libexec/vyos/conf_mode/service_pppoe-server.py