[dev] Get router adresses from zebra
sharpd at cumulusnetworks.com
Fri Jul 12 06:46:20 EDT 2019
zebra stores routing data routes and nexthops associated with them.
It has no idea about an upper level protocol's neighbors to get their
ip addresses. OSPF knows it's neighbors because that is part of the
protocol and it receives that data from it's peers to know whom they
On Thu, Jul 11, 2019 at 8:04 PM <p.issartel64 at gmail.com> wrote:
> I am developping my own routing deamon based on the Zebra API included in FR Route ing.
> My deamon works and I am able to receive routes from zebra.
> I can get prefix and nexthop adresses (from ospf routers on dockers) but my problem is that I want to get routers IP adresses (or ID) of the routes I got.
> For the moment, I am basing my work on the ospf deamon. But I don’t understand how (and where in the code) ospf->new_rtrs is set from routes received.
> How can I get the routers ip adresses sent by ospf/zebra on my deamon ?
> Thank you for your answers.
> Pierre I.
> dev mailing list
> dev at lists.frrouting.org
More information about the dev