<div dir="auto"><div>Good to know, thank you for posting your findings.</div><div dir="auto"><br></div><div dir="auto">I would find it really cool if module (re)loading could be done through the cli at runtime and the modules to load would be stored in the configuration instead of passing them in at startup time via argument. I think it should be possible if the module load statements are written out very early in the config, e.g. after the frr version/default statement, but I guess it night make config parsing slightly harder since registered commands might change in a relevant way while processing it.</div><div dir="auto"><br></div><div dir="auto">-Chris<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Apr 16, 2017 1:14 AM, "Rodny Molina" <<a href="mailto:rodnymolina@gmail.com">rodnymolina@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Found the missing piece :-)</div><div><br></div><div>/usr/lib/frr/zebra -s 90000000 --daemon -A 127.0.0.1 <font color="#ff2600">-M fpm</font></div><font color="#888888"><div><br></div><div>/Rodny</div></font><div class="elided-text"><div><br></div><br><div><blockquote type="cite"><div>On Apr 15, 2017, at 3:48 PM, Rodny Molina <<a href="mailto:rodnymolina@gmail.com" target="_blank">rodnymolina@gmail.com</a>> wrote:</div><br class="m_-3747239188003891623Apple-interchange-newline"><div><div>Hi folks,<br><br>I’ve noticed that since fpm was converted to a module (couple of weeks ago), I’m not able to establish any fpm connection. Looks like this is a consequence of fpm-module not being initialized. Am i missing something here? (yes, I’m building with —enable-fpm).<br><br>(gdb) bt<br>#0 frr_init () at libfrr.c:345<br>#1 0x00005555555671fd in main (argc=7, argv=0x7fffffffece8) at main.c:293<br><br>(gdb) p frrmod_list<br>$20 = (struct frrmod_runtime *) 0x7ffff7dd5ac0 <frrmod_default><br><br>(gdb) p *frrmod_list<br>$21 = {<br> next = 0x5555557b3480 <_frrmod_this_module>,<br> info = 0x7ffff7dd5ec0 <frrmod_default_info>,<br> dl_handle = 0x0,<br> finished_loading = true,<br> load_name = 0x0,<br> load_args = 0x0<br>}<br><br>(gdb) p *frrmod_list->next<br>$22 = {<br> next = 0x0,<br> info = 0x5555557b2000 <_frrmod_info>,<br> dl_handle = 0x0,<br> finished_loading = true,<br> load_name = 0x0,<br> load_args = 0x0<br>}<br><br>Also, CLI doesn’t like this instruction anymore:<br><br>lnos-x1-mellonox-up(config)# fpm connection ip 127.0.0.1 port 2620<br>% [ZEBRA] Unknown command: fpm connection ip 127.0.0.1 port 2620<br><br>Thanks.<br><br>/Rodny</div></div></blockquote></div><br></div></div><br>______________________________<wbr>_________________<br>
dev mailing list<br>
<a href="mailto:dev@lists.frrouting.org">dev@lists.frrouting.org</a><br>
<a href="https://lists.frrouting.org/listinfo/dev" rel="noreferrer" target="_blank">https://lists.frrouting.org/<wbr>listinfo/dev</a><br>
<br></blockquote></div><br></div></div></div>