Re: [vpp-dev] route lookup api

2020-05-04 Thread Christian Hopps
After multiple amended commits to fix python style errors, a new version with v4/v6 API tests has been uploaded. https://gerrit.fd.io/r/c/vpp/+/26829 Thanks, Chris. > On May 2, 2020, at 5:25 PM, Christian Hopps wrote: > > I was able to do a minimal test on it so I submitted, but please review

Re: [vpp-dev] route lookup api

2020-05-02 Thread Christian Hopps
I was able to do a minimal test on it so I submitted, but please review as well. :) https://gerrit.fd.io/r/c/vpp/+/26829 Thanks, Chris. > On Apr 28, 2020, at 12:08 PM, Jon Loeliger via lists.fd.io > wrote: > > Chris, > > If you can shoot me the patch, as is, I will rebase and submit it? >

Re: [vpp-dev] route lookup api

2020-04-28 Thread Jon Loeliger via lists.fd.io
Chris, If you can shoot me the patch, as is, I will rebase and submit it? jdl On Mon, Apr 27, 2020 at 7:27 PM Dave Wallace wrote: > Gentle reminder that the VPP 20.05 API freeze is next Wed, May 6, 2020, so > please don't delay to long if this is required for 20.05. > > Thanks, > -daw- (weari

Re: [vpp-dev] route lookup api

2020-04-27 Thread Dave Wallace
Gentle reminder that the VPP 20.05 API freeze is next Wed, May 6, 2020, so please don't delay to long if this is required for 20.05. Thanks, -daw- (wearing the friendly VPP release manager hat) On 4/27/2020 5:02 PM, Christian Hopps wrote: On Apr 27, 2020, at 11:44 AM, Jon Loeliger via lists.fd

Re: [vpp-dev] route lookup api

2020-04-27 Thread Christian Hopps
> On Apr 27, 2020, at 11:44 AM, Jon Loeliger via lists.fd.io > wrote: > > > > On Wed, Feb 19, 2020 at 4:47 AM Christian Hopps wrote: > > > On Feb 19, 2020, at 2:02 AM, Neale Ranns via Lists.Fd.Io > > wrote: > > > > > > Hi Chris, > > > > Adding an API to dump a single route would be a wel

Re: [vpp-dev] route lookup api

2020-04-27 Thread Jon Loeliger via lists.fd.io
On Wed, Feb 19, 2020 at 4:47 AM Christian Hopps wrote: > > > On Feb 19, 2020, at 2:02 AM, Neale Ranns via Lists.Fd.Io cisco@lists.fd.io> wrote: > > > > > > Hi Chris, > > > > Adding an API to dump a single route would be a welcome addition to the > API. > > Ok, I'll do that then. Hey Chris,

Re: [vpp-dev] route lookup api

2020-02-19 Thread Christian Hopps
: on behalf of Paul Vinciguerra > > Date: Wednesday 19 February 2020 at 04:21 > To: Christian Hopps > Cc: vpp-dev > 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 t

Re: [vpp-dev] route lookup api

2020-02-18 Thread Neale Ranns via Lists.Fd.Io
Hi Chris, Adding an API to dump a single route would be a welcome addition to the API. /neale From: on behalf of Paul Vinciguerra Date: Wednesday 19 February 2020 at 04:21 To: Christian Hopps Cc: vpp-dev Subject: Re: [vpp-dev] route lookup api Those don't seem to be exposed via th

Re: [vpp-dev] route lookup api

2020-02-18 Thread Paul Vinciguerra
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 wrote: > In the CLI there's an option to lookup route for a given IP. Is ther

[vpp-dev] route lookup api

2020-02-18 Thread Christian Hopps
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 r