Re: [vpp-dev] creat mpls tunnel

2018-06-14 Thread Ole Troan
But you can easily just make your own names on interfaces. Just map sw_if_index to whatever you like in your user interface. Cheers, Ole > On 15 Jun 2018, at 05:43, Neale Ranns via Lists.Fd.Io > wrote: > > > You can’t with the current API. Nor can you with any other type of tunnel. > > /nea

Re: [vpp-dev] creat mpls tunnel

2018-06-14 Thread Neale Ranns via Lists.Fd.Io
You can’t with the current API. Nor can you with any other type of tunnel. /neale From: on behalf of "omid via Lists.Fd.Io" Reply-To: "zeinalpouro...@yahoo.com" Date: Tuesday, 12 June 2018 at 18:46 To: "vpp-dev@lists.fd.io" Cc: "vpp-dev@lists.fd.io" Subject: [vpp-dev] creat mpls tunnel Hi

Re: [**EXTERNAL**] Re: [vpp-dev] GET/SET support for each feature entity from VPP client

2018-06-14 Thread John Lo (loj) via Lists.Fd.Io
See src/vnet/interface.api and src/vnet/ip/ip.api for interface and IP forwarding related dump and details APIs. I am not sure there is dump/details for all entities a VPP client may need. Contributions for any missing ones are always welcomed ☺. –John From: Gudimetla, Leela Sankar Sent: T

Re: [**EXTERNAL**] Re: [vpp-dev] GET/SET support for each feature entity from VPP client

2018-06-14 Thread Gudimetla, Leela Sankar
Thanks John. Are these “dump” and “details” defined for all the different entities that a VPP client configure? Like Interfaces, VRFs, Sub-interfaces, etc.. So that I can do “dump” and get the corresponding “details”, and call appropriate SET API for updating specific attribute. Thanks, Leela s

Re: [vpp-dev] GET/SET support for each feature entity from VPP client

2018-06-14 Thread John Lo (loj) via Lists.Fd.Io
You can find L2 bridging related APIs from the file src/vnet/l2/l2.api. The API to get bridge domain state is bridge_domain_dump and the response info provided is bridge_domain_details. The API to change bridge domain attributes is bridge_flags. The API to set bridge domain aging interval is

[vpp-dev] GET/SET support for each feature entity from VPP client

2018-06-14 Thread Gudimetla, Leela Sankar
Hello, We are writing a client for VPP to configure it over the shared-memory interface (similar to what VAT does). We are trying to find the GET for each entity so that we can handle ‘UPDATE’ of an existing configuration inside VPP. For example, we have created a bridge-domain with id say ‘10’

Re: [vpp-dev] Missing functions?

2018-06-14 Thread Dave Barach via Lists.Fd.Io
Dear Matt, See https://gerrit.fd.io/r/#/c/13057, which should resolve the original link issue. Mind telling me what stubs you had to create when you removed libvlib.so from your app? I can well imagine a couple of similar repairs are needed elsewhere... (😉)... Thanks... DAve From: Matthew Sm

Re: [vpp-dev] Missing functions?

2018-06-14 Thread Matthew Smith
Hi Dave, You’re right, we don’t need anything from that library directly. I think that we started linking against it at some point in the past to resolve some other build issue with resolving symbols. I stopped our build from linking against libvlib. When I tried to build, I saw a different s

Re: [vpp-dev] Is there any example in VPP to queueing up packets

2018-06-14 Thread chetan bhasin
Hi Damjan, Thanks for the reply. Actually I want to store the packets and based on trigger I will flush those. So Is Sample plugin helpful for me to implement this ? Thanks, Chetan Bhasin On Thu, Jun 14, 2018 at 8:13 PM, Damjan Marion wrote: > > Yes,. > > https://git.fd.io/vpp/tree/src/examp

Re: [vpp-dev] Is there any example in VPP to queueing up packets

2018-06-14 Thread Damjan Marion
Yes,. https://git.fd.io/vpp/tree/src/examples/sample-plugin Regards, Damjan > On 14 Jun 2018, at 16:24, chetan bhasin wrote: > > Hi, > > I have to queue up packets in my plugin . Is there any reference for that in > existing VPP code

[vpp-dev] Is there any example in VPP to queueing up packets

2018-06-14 Thread chetan bhasin
Hi, I have to queue up packets in my plugin . Is there any reference for that in existing VPP code base? Thanks, Chetan Bhasin -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9609): https://lists.fd.io/g/vpp-dev/message/9609 Mute This Topic: http

Re: [vpp-dev] Integration with libbacktrace

2018-06-14 Thread Damjan Marion
+1, send to stderr so systemd can pick it up Thanks for your contribution... > On 14 Jun 2018, at 14:21, Dave Barach via Lists.Fd.Io > wrote: > > Sure. Personally, I'd send the backtrace to syslog vs. creating yet-another > logfile. > > D. > > -Original Message- > From: vpp-dev@lis

Re: [vpp-dev] Integration with libbacktrace

2018-06-14 Thread Dave Barach via Lists.Fd.Io
Sure. Personally, I'd send the backtrace to syslog vs. creating yet-another logfile. D. -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Kingwel Xie Sent: Thursday, June 14, 2018 2:54 AM To: Kingwel Xie ; Damjan Marion Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Integration

Re: [vpp-dev] anomaly in deleting tcp idle session in vpp

2018-06-14 Thread Andrew Yourtchenko
Dear Khers, Thanks for getting back and letting me know ! It is nice to know it works correctly. --a On 6/13/18, khers wrote: > Dear Andrew, > Sorry for taking your time. I made a mistake and I had a miss > configuration. the vpp behavior is true in handling of tcp idle sessions. > there are n