Hi Chris,

Adding an API to dump a single route would be a welcome addition to the API.

/neale

From: <vpp-dev@lists.fd.io> on behalf of Paul Vinciguerra 
<pvi...@vinciconsulting.com>
Date: Wednesday 19 February 2020 at 04:21
To: Christian Hopps <cho...@chopps.org>
Cc: vpp-dev <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] route lookup api

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<http://1.2.3.4/24>")

On Tue, Feb 18, 2020 at 5:53 PM Christian Hopps 
<cho...@chopps.org<mailto: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 (#15461): https://lists.fd.io/g/vpp-dev/message/15461
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