Hi David,

Are you hoping to get these routes from queries via the CLI/API or are you 
prepared to write a plugin in VPP to extract and publish this information to 
your control plane via new events? For the former, Stanislav’s advice is your 
best option. So I would suggest you consider the latter, then you have the 
option of walking the FIB graph from the neighbour/adjacency and pushing to the 
CP all the routes that were affected.

/neale

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of David Gohberg via 
lists.fd.io <gohberg=gmail....@lists.fd.io>
Date: Thursday, 23 December 2021 at 17:55
To: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] searching for all routes that point to an attached 
next-hop neighbor #routing
posting again because not sure message went through:

Thanks for the quick reply Stanislav,

I'm inserting hooks into the VPP control plane in order to offload certain 
information to an external hardware dataplane.
In the case of route resolutions, I want to be able to say : "Ok, I got the arp 
reponse for 10.0.0.2, let's get all the routes that point to this nexthop"
so I can send them to the hardware.
For now, routes are added using vpp cli, but this logic should hold regardless 
of the route source (BGP etc).
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20671): https://lists.fd.io/g/vpp-dev/message/20671
Mute This Topic: https://lists.fd.io/mt/87917518/21656
Mute #routing:https://lists.fd.io/g/vpp-dev/mutehashtag/routing
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to