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

2023-01-09 Thread Matthew Smith via lists.fd.io
We only set the default netns via startup.conf, so it is not critical to us to be able to do it via CLI/API. We don't currently create interface pairs in any netns other than the default one. So it's not critical for us to be able to set a netns on a per-pair basis currently. -Matt On Sun, Jan

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

2023-01-08 Thread Pim van Pelt via lists.fd.io
+Matthew Smith and +Jon Loeliger can you let me know what you think? Does Netgate value the 'lcp default netns' or ability to create LIPs in a namespace other than 'dataplane'? As I described, I think the ability to change these in the API, or set them in 'lcp create' yields erratic behavior.

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

2022-12-23 Thread Christopher Adigun
Reduced image dockerfile: *FROM ubuntu:20.04 AS vpp-builderARG NEEDED_GIT_PROXYENV DEBIAN_FRONTEND=noninteractiveRUN apt update && \ DEBIAN_FRONTEND=noninteractive apt-get upgrade --yes && \ DEBIAN_FRONTEND=noninteractive

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] 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 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 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
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 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 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 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 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, 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. > >