Those don't seem to be exposed via the api dump/details.

The pattern that is commonly used in the test framework is to call
vapi.cli_inline(cmd="show ip fib 1.2.3.4/24")

On Tue, Feb 18, 2020 at 5:53 PM Christian Hopps <cho...@chopps.org> wrote:

> In the CLI there's an option to lookup route for a given IP. Is there a
> similar interface in the binary API?
>
> The code I'm looking at now is doing an entire fib dump to look for this
> route, which seems problematic as all the logic VPP might us for what entry
> to select has to be attempted to be replicated in the client getting this
> dump. So I'm hoping theres a better way. :)
>
> Thanks,
> Chris.
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15459): https://lists.fd.io/g/vpp-dev/message/15459
Mute This Topic: https://lists.fd.io/mt/71382541/21656
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