Replies: 1 comment 1 reply
-
Please show |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm experimenting with the FRR project and I've started to personalize it with a LUA script. I've followed the documentation to configure it but unfortunately, FRR can't find my script when I restart it.
I'm using FRR 9.1 compiled from source with the --enable-scripting option. I'm using LUA5.3 and a Linux Ubuntu 20.04 LTS.
Here's my script in /etc/frr/scripts/my_dplane_script (documentation example) :
function on_rib_process_dplane_results(ctx)
log.info(ctx.rinfo.zd_dest.network)
return {}
Here's what I've entered in my /etc/frr/frr.conf file to take the script into account: zebra on-rib-process script my_dplane_script
Finally, here's the error I got when I restarted FRR: [NK7EW-EWVP3] frrscript: failed loading script 'yes/my_dplane_script.lua': error: cannot open yes/my_dplane_script.lua: No such file or directory
I'm 100% sure that my script is in the right place and it's correct because it's the same as the one in the documentation.
Thank you in advance for the help :)
Beta Was this translation helpful? Give feedback.
All reactions