Skip to content

Commit

Permalink
ovn-nbctl: Fix nbctl_pre_lr_route_add for BFD.
Browse files Browse the repository at this point in the history
In order to properly check if we already have a running BFD session for
the next hop used by the brand new route, load logical port column of
the nb BFD table in nbctl_pre_lr_route_add routine.

Acked-by: Mark Michelson <mmichels@redhat.com>
Fixes: db6d307 ("ovn-nbctl: Don't replicate entire database unnecessarily.")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Mark Michelson <mmichels@redhat.com>
  • Loading branch information
LorenzoBianconi authored and putnopvut committed Feb 2, 2024
1 parent 4357bcd commit 815d525
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utilities/ovn-nbctl.c
Expand Up @@ -4394,6 +4394,7 @@ nbctl_pre_lr_route_add(struct ctl_context *ctx)
ovsdb_idl_add_column(ctx->idl, &nbrec_logical_router_port_col_name);

ovsdb_idl_add_column(ctx->idl, &nbrec_bfd_col_dst_ip);
ovsdb_idl_add_column(ctx->idl, &nbrec_bfd_col_logical_port);

ovsdb_idl_add_column(ctx->idl,
&nbrec_logical_router_static_route_col_ip_prefix);
Expand Down

0 comments on commit 815d525

Please sign in to comment.