Hi, Felix

On Fri, May 23, 2025 at 8:51 AM Tiago Pires <tiago.pi...@luizalabs.com> wrote:
>
> Hi, Felix
>
> On Thu, May 22, 2025 at 4:07 AM Felix Huettner
> <felix.huettner@stackit.cloud> wrote:
> >
> > On Wed, May 21, 2025 at 02:38:46PM -0300, Tiago Pires via discuss wrote:
> > > Hi all,
> > >
> > > I'm testing the OVN BGP support in OVN IC scenario where there a few
> > > AZs and one of them is where I have BGP support to learn external
> > > routes and advertise overlay internal subnets.
> > >
> > > Following is a logical router in the AZ that has the BGP support and
> > > it is learning the IC routes from other AZs:
> > > # ovn-nbctl lr-route-list r1
> > > IPv4 Routes
> > > Route Table <main>:
> > >           192.168.10.0/24              169.254.11.1 dst-ip (learned)
> > >           192.168.20.0/24              169.254.11.2 dst-ip (learned)
> > >           192.168.30.0/24              169.254.11.3 dst-ip (learned)
> > >
> > >
> > > I can see the advertised routes to my external BGP speaker:
> > >
> > > # ovn-sbctl list Advertised_Route
> > > _uuid               : 8f3f435d-dc3b-4926-a2d2-0acd6266f071
> > > datapath            : e632a5c1-d1ce-4f51-a2df-64d891cf43c9
> > > external_ids        : {}
> > > ip_prefix           : "192.168.10.0/24"
> > > logical_port        : b4a6588a-df77-4a3e-9de7-008028e254f1
> > > tracked_port        : []
> > >
> > > _uuid               : 21cb1532-24f8-4fa5-ad90-8f922f85a315
> > > datapath            : e632a5c1-d1ce-4f51-a2df-64d891cf43c9
> > > external_ids        : {}
> > > ip_prefix           : "192.168.20.0/24"
> > > logical_port        : b4a6588a-df77-4a3e-9de7-008028e254f1
> > > tracked_port        : []
> > >
> > > _uuid               : 70fad70a-c2f7-47d7-b3ea-def4bb521113
> > > datapath            : e632a5c1-d1ce-4f51-a2df-64d891cf43c9
> > > external_ids        : {}
> > > ip_prefix           : "192.168.30.0/24"
> > > logical_port        : b4a6588a-df77-4a3e-9de7-008028e254f1
> > > tracked_port        : []
> > >
> > >
> > > And also the learned routes from the BGP speaker:
> > >
> > > # ovn-sbctl list Learned_Route
> > > _uuid               : ad1a2f94-e027-4ad8-878c-839edcb12624
> > > datapath            : e632a5c1-d1ce-4f51-a2df-64d891cf43c9
> > > external_ids        : {}
> > > ip_prefix           : "10.0.0.0/24"
> > > logical_port        : b4a6588a-df77-4a3e-9de7-008028e254f1
> > > nexthop             : "169.254.1.1"
> > >
> > >
> > > The above route is not installed into the logical router routing table:
> > >
> > > # ovn-nbctl lr-route-list r1
> > > IPv4 Routes
> > > Route Table <main>:
> > >           192.168.10.0/24              169.254.11.1 dst-ip (learned)
> > >           192.168.20.0/24              169.254.11.2 dst-ip (learned)
> > >           192.168.30.0/24              169.254.11.3 dst-ip (learned)
> >
> > Hi Tiago,
> >
> > the BGP route learning is only happening between southbound and northd.
> > They are not reflected in northbound.
> > That means you will not see it in lr-route-list.
> > You can see if they are installed by taking a look at the lflow-list of
> > r1.
>
> Yes, I can see the SB logical flows related with the learned routes
> but it is learned by ovn-ic.
Correcting myself, I mean ovn-ic does not learn the routes.

Regards,
Tiago Pires
> So, it seems for ovn-ic in order to learn those routes it would need
> to be synced with northbound, that is right? If that assumption is
> true, we are going to propose some implementation for that.
>
> Regards,
>
> Tiago Pires
>
> >
> > Thanks,
> > Felix
> >
> > >
> > > Should the learned route be installed in the logical router routing
> > > table? I'm trying to understand if I'm missing some step or the
> > > current implementation can not handle it yet.
> > > My goal is to see the external route installed in the logical router
> > > routing table and be learned via OVN IC by the other AZs.
> > >
> > > Regards,
> > >
> > > Tiago Pires
> > >
> > > --
> > >
> > >
> > >
> > >
> > > _‘Esta mensagem é direcionada apenas para os endereços constantes no
> > > cabeçalho inicial. Se você não está listado nos endereços constantes no
> > > cabeçalho, pedimos-lhe que desconsidere completamente o conteúdo dessa
> > > mensagem e cuja cópia, encaminhamento e/ou execução das ações citadas 
> > > estão
> > > imediatamente anuladas e proibidas’._
> > >
> > >
> > > * **‘Apesar do Magazine Luiza tomar
> > > todas as precauções razoáveis para assegurar que nenhum vírus esteja
> > > presente nesse e-mail, a empresa não poderá aceitar a responsabilidade por
> > > quaisquer perdas ou danos causados por esse e-mail ou por seus anexos’.*
> > >
> > >
> > >
> > > _______________________________________________
> > > discuss mailing list
> > > disc...@openvswitch.org
> > > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

-- 




_‘Esta mensagem é direcionada apenas para os endereços constantes no 
cabeçalho inicial. Se você não está listado nos endereços constantes no 
cabeçalho, pedimos-lhe que desconsidere completamente o conteúdo dessa 
mensagem e cuja cópia, encaminhamento e/ou execução das ações citadas estão 
imediatamente anuladas e proibidas’._


* **‘Apesar do Magazine Luiza tomar 
todas as precauções razoáveis para assegurar que nenhum vírus esteja 
presente nesse e-mail, a empresa não poderá aceitar a responsabilidade por 
quaisquer perdas ou danos causados por esse e-mail ou por seus anexos’.*



_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to