Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Pim van Pelt via lists.fd.io
Hoi, Is bird running in the 'dataplane' network namespace ? groet, Pim On Thu, Dec 22, 2022 at 12:52 AM Christopher Adigun wrote: > Hi, > > I am currently trying to use linx-cp plugins to sync routes learned via > BGP, bird is seeing the BGP route but I can't see the routes in VPP. > >

Re: [SUSPECTED SPAM] [vpp-dev] VPP crashes on LX2160A platform

2022-12-22 Thread agv100
Hello, The current build (22.10, cross-compiled via SolidRun toolchain) crashes without dependency to optimization level, and, with debug enabled. shows the following: Thread 1 "vpp_main" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Petr Boltík
Hi Matt I can confirm for VPP 22.10 - command "vppctl lcp default netns dataplane" enable synchronizing interfaces, synchronizing routes fail - configuration in startup.conf "linux-cp { default netns dataplane }" works fine for interfaces and routing Petr čt 22. 12. 2022 v 16:08 odesílatel

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Pim van Pelt via lists.fd.io
Hoi, On Thu, Dec 22, 2022 at 10:16 PM Christopher Adigun wrote: > Interface is still down which I need for my use-case because that is where > the BGP communication is taking place. > > I tried your git repo and built the container image, now both are working > fine. > Can you clarify which git

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Christopher Adigun
Interface is still down which I need for my use-case because that is where the BGP communication is taking place. I tried your git repo and built the container image, now both are working fine. This means the official release has an issue like you said. Thanks for your help! On Thu, Dec 22,

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Petr Boltík
čt 22. 12. 2022 v 17:45 odesílatel Christopher Adigun napsal: > Can you share the git commit id that you used for your 22.10 because I > have tried *configuration in startup.conf "linux-cp { default netns > dataplane }"* but it is still not working. > > I have also tried *22.06* and

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Christopher Adigun
Can you share the git commit id that you used for your 22.10 because I have tried *configuration in startup.conf "linux-cp { default netns dataplane }"* but it is still not working. I have also tried *22.06* and *23.02-rc0~127*, it's the same issue. Also which version of vpp was the

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Christopher Adigun
Now when I start both bird and vpp in the dataplane netns, the dpdk interface goes into down state in the dataplane nents: *root@nat-gw-55896dc777-cxld2:/vpp# ip netns exec dataplane ip a1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000link/loopback

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Petr Boltík
Hi, there can be a few misconfigurations: 1. "lcp default netns dataplane" start synchronizing interfaces/address/etc inside netns "dataplane" (netns "dataplane" must exist) - NOT synchronizing routes 2. plugin "linux_nl_plugin.so" ignore "lcp default netns" configuration => "linux_nl_plugin.so"

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Pim van Pelt via lists.fd.io
Hoi, On Thu, Dec 22, 2022 at 4:08 PM Matthew Smith via lists.fd.io wrote: > > On Thu, Dec 22, 2022 at 7:09 AM Petr Boltík wrote: > >> >> - To make "plugin linux_nl_plugin.so" working, you need to run VPP inside >> netns dataplane (same as bird). This can be done by editing VPP systemd >>

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Petr Boltík
Hi, - there is no " ignore lcp default netns" declaration in startup.conf or init.conf. If you start VPP(systemctl vpp start) with no netns configured, plugin linux_nl_plugin.so will not sync correct routing table and fail. - If you run the entire VPP process inside netns dataplane, you can skip

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Christopher Adigun
Hi Petr, Thanks for the response, bird is actually running in the dataplane ns: root@nat-gw-697d886cb4-xn62q:/etc/bird# *ip netns exec dataplane ip a* 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Matthew Smith via lists.fd.io
On Thu, Dec 22, 2022 at 7:09 AM Petr Boltík wrote: > > - To make "plugin linux_nl_plugin.so" working, you need to run VPP inside > netns dataplane (same as bird). This can be done by editing VPP systemd > startup file (add something like " > NetworkNamespacePath=/var/run/netns/dataplane" ) and

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Petr Boltík
I'm so sorry ... this is a new issue. I don't know why the lcp tap interface goes down. Can you start it manually? 1. remove command: lcp default netns 'dataplane' (do not use it when VPP already runs in a specific namespace) lcp lcp-sync on lcp lcp-auto-subint on 2. add ip address inside VPP

Re: [vpp-dev] Linux-cp Plugin Bird Routes Not Showing Up in VPP

2022-12-22 Thread Christopher Adigun
The repo I used for the lcp is https://github.com/pimvanpelt/lcpng.git I used the following dockerfile to build the image: *FROM ubuntu:20.04ENV DEBIAN_FRONTEND noninteractiveRUN apt-get update && apt-get install -y --no-install-recommends \

Re: [vpp-dev] Way to send api message from vpp to govpp

2022-12-22 Thread Benoit Ganne (bganne) via lists.fd.io
> We want to push some monitoring information from vpp to govpp based on > some condition. Please help me to know if there is any procedure through > which we can meet this requirement as there is no request from agent in > this case. You can register for events, see