]> git.puffer.fish Git - mirror/frr.git/log
mirror/frr.git
4 months agotests: Check if remote-as is not flushed once peer-group applied 17542/head
Donatas Abraitis [Sun, 1 Dec 2024 12:49:40 +0000 (14:49 +0200)]
tests: Check if remote-as is not flushed once peer-group applied

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
4 months agobgpd: Initialize as_type for peer-group as AS_UNSPECIFIED
Donatas Abraitis [Sun, 1 Dec 2024 12:32:08 +0000 (14:32 +0200)]
bgpd: Initialize as_type for peer-group as AS_UNSPECIFIED

Previously AS_UNSPECIFIED was treated as 0, but with now it's 1 after renumbering
peer_asn_type enum.

Fixes: 0dfe25697f5299326046fcfb66f2c6beca7c423c ("bgpd: Implement neighbor X remote-as auto")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
4 months agoMerge pull request #17525 from famfo/podman-tests
Donatas Abraitis [Fri, 29 Nov 2024 08:02:12 +0000 (10:02 +0200)]
Merge pull request #17525 from famfo/podman-tests

topotests: Allow runing under both docker and podman

5 months agoMerge pull request #16700 from louis-6wind/fix-nhrp-output
Donatas Abraitis [Thu, 28 Nov 2024 15:16:24 +0000 (17:16 +0200)]
Merge pull request #16700 from louis-6wind/fix-nhrp-output

nhrpd: fix show ip nhrp output

5 months agoMerge pull request #17491 from pguibert6WIND/bgp_evpn_rt5_routemap
Donatas Abraitis [Thu, 28 Nov 2024 14:59:57 +0000 (16:59 +0200)]
Merge pull request #17491 from pguibert6WIND/bgp_evpn_rt5_routemap

Bgp evpn rt5 routemap

5 months agotopotests: Allow runing under both docker and podman 17525/head
famfo [Tue, 26 Nov 2024 18:42:03 +0000 (19:42 +0100)]
topotests: Allow runing under both docker and podman

Signed-off-by: famfo <famfo@famfo.xyz>
5 months agoMerge pull request #17520 from mikemallin/dev/ubuntu-docker-custom-uid
Donatas Abraitis [Thu, 28 Nov 2024 13:58:09 +0000 (15:58 +0200)]
Merge pull request #17520 from mikemallin/dev/ubuntu-docker-custom-uid

Docker: Add the ability to override the FRR UID during docker creation

5 months agoMerge pull request #15542 from pguibert6WIND/bgp_srv6_real_sid
Donatas Abraitis [Thu, 28 Nov 2024 13:21:10 +0000 (15:21 +0200)]
Merge pull request #15542 from pguibert6WIND/bgp_srv6_real_sid

bgpd: fix use real SID in BGP nexthop tracking

5 months agobgpd: fix use real SID in BGP nexthop tracking 15542/head
Philippe Guibert [Mon, 11 Mar 2024 10:51:55 +0000 (11:51 +0100)]
bgpd: fix use real SID in BGP nexthop tracking

When receiving an SRv6 BGP update, the nexthop tracking is used
to find out the reachability of the BGP update.

> # show bgp ipv6 vpn fd00:200::/64
> Paths: (1 available, best #1)
> [..]
>     4:4::4:4 from 4:4::4:4 (4.4.4.4)
>       Origin incomplete, metric 0, localpref 100, valid, internal, best (First path received)
>       Extended Community: RT:52:100
>       Remote label: 16
>       Remote SID: 2001:db8:f4::
>       Last update: Mon Mar 11 11:50:04 2024

The IPv6 address used is the "Remote SID". Actually, this value is
incomplete. Remote SID stands for the attribute value received in BGP,
while the label value determines a complement of SRv6 SID value. The
transposition technique authorises that in BGP, and in the above case,
the incoming BGP update has used the transposition length.

When there is a transposition in the SID attribute available, use the
real SID address. The nexthop tracking will use that forged address.

> # show bgp nexthop
> Current BGP nexthop cache:
>  4:4::4:4 valid [IGP metric 30], #paths 0, peer 4:4::4:4
>   gate fe80::dced:1ff:fed6:878c, if ntfp3
>   Last update: Mon Mar 11 11:50:02 2024
>  2001:db8:f4:1:: valid [IGP metric 0], #paths 2
>   gate fe80::dced:1ff:fed6:878c, if ntfp3

Fixes: 26c747ed6c0b ("bgpd: extend make_prefix to form srv6-based prefix")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
5 months agotopotests: bgp_evpn_rt5, add test for advertise route-map service 17491/head
Philippe Guibert [Fri, 22 Nov 2024 14:57:25 +0000 (15:57 +0100)]
topotests: bgp_evpn_rt5, add test for advertise route-map service

Use the advertise route-map command, and check that it
filters out correctly the undesirable prefixes. Reversely,
check that undoing that route-map recovers all prefixes.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
5 months agotopotests: bgp_evpn_rt5, rework test
Philippe Guibert [Fri, 22 Nov 2024 12:28:10 +0000 (13:28 +0100)]
topotests: bgp_evpn_rt5, rework test

Rework the test file by adding test methods.
Add a convergence test that checks for the incoming BGP prefixes.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
5 months agoMerge pull request #17527 from guoguojia2021/guozhongfeng_alibaba
Donatas Abraitis [Wed, 27 Nov 2024 06:27:08 +0000 (08:27 +0200)]
Merge pull request #17527 from guoguojia2021/guozhongfeng_alibaba

doc:Fix bgp doc warning

5 months agodoc:Fix bgp doc warning 17527/head
guozhongfeng.gzf [Wed, 27 Nov 2024 02:05:03 +0000 (10:05 +0800)]
doc:Fix bgp doc warning

Signed-off-by: guozhongfeng.gzf <guozhongfeng.gzf@alibaba-inc.com>
5 months agoMerge pull request #17519 from chiragshah6/evpn_dev4
Mark Stapp [Tue, 26 Nov 2024 21:39:47 +0000 (16:39 -0500)]
Merge pull request #17519 from chiragshah6/evpn_dev4

zebra: EVPN fix code style in vlan vni map debugs

5 months agoMerge pull request #17385 from donaldsharp/more_found_connection_conversion_issues
Donatas Abraitis [Tue, 26 Nov 2024 20:45:10 +0000 (22:45 +0200)]
Merge pull request #17385 from donaldsharp/more_found_connection_conversion_issues

More found connection conversion issues

5 months agoMerge pull request #16878 from donaldsharp/increased_test_cover
Jafar Al-Gharaibeh [Tue, 26 Nov 2024 19:40:39 +0000 (13:40 -0600)]
Merge pull request #16878 from donaldsharp/increased_test_cover

Add some test cases, and some ability to see what is going on in zebra

5 months agoMerge pull request #17510 from pguibert6WIND/show_bgp_flowspec_extra_space
Russ White [Tue, 26 Nov 2024 18:11:22 +0000 (13:11 -0500)]
Merge pull request #17510 from pguibert6WIND/show_bgp_flowspec_extra_space

bgpd: fix use single whitespace when displaying flowspec entries

5 months agoDocker: Add the ability to override FRR UID 17520/head
Mike RE Mallin [Tue, 26 Nov 2024 17:13:21 +0000 (12:13 -0500)]
Docker: Add the ability to override FRR UID

Signed-off-by: Mike RE Mallin <mmallin@cisco.com>
Signed-off-by: Mike RE Mallin <mremallin@gmail.com>
5 months agozebra: EVPN fix code style in vlan vni map debugs 17519/head
Chirag Shah [Tue, 26 Nov 2024 16:56:08 +0000 (08:56 -0800)]
zebra: EVPN fix code style in vlan vni map debugs

Fix up couple of style issues missed in
PR 17483

Signed-off-by: Chirag Shah <chirag@nvidia.com>
5 months agobgpd: peer_active is connection oriented, make it so 17385/head
Donald Sharp [Wed, 6 Nov 2024 20:30:32 +0000 (15:30 -0500)]
bgpd: peer_active is connection oriented, make it so

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agobgpd: bgp_getsockname should use connection
Donald Sharp [Wed, 6 Nov 2024 19:31:19 +0000 (14:31 -0500)]
bgpd: bgp_getsockname should use connection

Let's use the connection associated with the peer
instead.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agobgpd: Modify bgp_connect_in_progress_update_connection to use connection
Donald Sharp [Wed, 6 Nov 2024 19:25:20 +0000 (14:25 -0500)]
bgpd: Modify bgp_connect_in_progress_update_connection to use connection

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agobgpd: Modify bgp_udpatesockname to pass in a connection
Donald Sharp [Wed, 6 Nov 2024 16:55:43 +0000 (11:55 -0500)]
bgpd: Modify bgp_udpatesockname to pass in a connection

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agobgpd: Fix pattern of usage in bgp_notify_config_change
Donald Sharp [Wed, 6 Nov 2024 13:24:28 +0000 (08:24 -0500)]
bgpd: Fix pattern of usage in bgp_notify_config_change

if (BGP_IS_VALID_STATE_FOR_NOTIF(peer->connection->status))
        peer_notify_config_change(peer->connection);
else
        bgp_session_reset_safe(peer, &nnode);

Let's add a bool return to peer_notify_config_change of whether or
not it should call the peer session reset.  This simplifies
the code a bunch.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agobgpd: Add `peer_notify_config_change()` function
Donald Sharp [Wed, 6 Nov 2024 13:15:06 +0000 (08:15 -0500)]
bgpd: Add `peer_notify_config_change()` function

We have about a bajillion tests of if we can
notify the peer and then we send a config change
notification.  Let's just make a function that
does this.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agobgpd: peer_notify_unconfig should be connection based
Donald Sharp [Tue, 5 Nov 2024 20:47:08 +0000 (15:47 -0500)]
bgpd: peer_notify_unconfig should be connection based

Convert this function to being connection based.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agoMerge pull request #17483 from chiragshah6/evpn_dev4
Russ White [Tue, 26 Nov 2024 16:48:01 +0000 (11:48 -0500)]
Merge pull request #17483 from chiragshah6/evpn_dev4

zebra: fix EVPN check vxlan oper up in vlan mapping

5 months agoMerge pull request #17501 from opensourcerouting/fix/gr_peer-groups
Russ White [Tue, 26 Nov 2024 15:35:19 +0000 (10:35 -0500)]
Merge pull request #17501 from opensourcerouting/fix/gr_peer-groups

bgpd: Fix Graceful-Restart for peer-groups

5 months agoMerge pull request #14367 from donaldsharp/ospfapi_test_failure
Russ White [Tue, 26 Nov 2024 15:13:59 +0000 (10:13 -0500)]
Merge pull request #14367 from donaldsharp/ospfapi_test_failure

two test cleanups

5 months agoMerge pull request #17219 from zhou-run/202406201119
Russ White [Tue, 26 Nov 2024 15:10:33 +0000 (10:10 -0500)]
Merge pull request #17219 from zhou-run/202406201119

isisd: When the ISIS types of the routers do not match on a P2P link, the neighbor status remains UP

5 months agoMerge pull request #16987 from opensourcerouting/bfd-echo-sock
Russ White [Tue, 26 Nov 2024 13:51:07 +0000 (08:51 -0500)]
Merge pull request #16987 from opensourcerouting/bfd-echo-sock

bfdd: disable echo socket when not using it

5 months agoMerge pull request #17504 from mjstapp/fix_fpm_cancel_race
Donald Sharp [Tue, 26 Nov 2024 13:32:54 +0000 (08:32 -0500)]
Merge pull request #17504 from mjstapp/fix_fpm_cancel_race

zebra: avoid a race during FPM dplane plugin shutdown

5 months agoMerge pull request #17506 from pguibert6WIND/int_versus_string
Donatas Abraitis [Tue, 26 Nov 2024 13:28:51 +0000 (15:28 +0200)]
Merge pull request #17506 from pguibert6WIND/int_versus_string

bgpd: fix version attribute is an int, not a string

5 months agoMerge pull request #17509 from opensourcerouting/fix/run_topotests_from_quay.io
Donald Sharp [Tue, 26 Nov 2024 13:28:23 +0000 (08:28 -0500)]
Merge pull request #17509 from opensourcerouting/fix/run_topotests_from_quay.io

Fix docker image for topotests

5 months agobgpd: fix use single whitespace when displaying flowspec entries 17510/head
Philippe Guibert [Tue, 26 Nov 2024 13:19:34 +0000 (14:19 +0100)]
bgpd: fix use single whitespace when displaying flowspec entries

There is an extra space in the 'Displayed' line of show bgp command,
that should not be present.
Fix this by being consistent with the output of the other address
families.

Fixes: ("a1baf9e84f71") bgpd: Use single whitespace when displaying show bgp summary
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
5 months agobgpd: fix version attribute is an int, not a string 17506/head
Philippe Guibert [Mon, 25 Nov 2024 21:47:21 +0000 (22:47 +0100)]
bgpd: fix version attribute is an int, not a string

The json display of the version attribute is originally an
integer. It has changed, most probably mistakenly.

> {
>   "vrfId": 7,
>   "vrfName": "vrf1",
>   "tableVersion": 3,
>   "routerId": "192.0.2.1",
>   "defaultLocPrf": 100,
>   "localAS": 65500,
>   "routes": {
>     "172.31.0.1/32": {
>       "prefix": "172.31.0.1/32",
>       "version": "1", <--- int or string ??

Let us fix it, by using the integer display instead.

Fixes: f9f2d188e398 ("bgpd: fix 'json detail' output structure")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
5 months agotests: Deprecate TOPOTEST_PULL 17509/head
Donatas Abraitis [Tue, 26 Nov 2024 09:42:49 +0000 (11:42 +0200)]
tests: Deprecate TOPOTEST_PULL

We do not maintain docker.com/frrouting anymore and not building custom
images for topotests.

Use local images for topotests instead.

Just use:

```
mak topotests-build
make topotests
```

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
5 months agotests: Set vm.mmap_rnd_bits for topotests docker foobar
Donatas Abraitis [Tue, 26 Nov 2024 09:34:12 +0000 (11:34 +0200)]
tests: Set vm.mmap_rnd_bits for topotests docker foobar

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
5 months agotests: Fix docker build for topotests
Donatas Abraitis [Tue, 26 Nov 2024 09:26:55 +0000 (11:26 +0200)]
tests: Fix docker build for topotests

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
5 months agozebra: avoid a race during FPM dplane plugin shutdown 17504/head
Mark Stapp [Mon, 25 Nov 2024 20:37:39 +0000 (15:37 -0500)]
zebra: avoid a race during FPM dplane plugin shutdown

During zebra shutdown, the main pthread and the FPM pthread can
deadlock if the FPM pthread is in fpm_reconnect(). Each pthread
tries to use event_cancel_async() to cancel tasks that may be
scheduled for the other pthread - this leads to a deadlock as
neither thread can progress.

This adds an atomic boolean that's managed as each pthread
enters and leaves the cleanup code in question, preventing the
two threads from running into the deadlock.

Signed-off-by: Mark Stapp <mjs@cisco.com>
5 months agotests: fix max med on startup 14367/head
Donald Sharp [Thu, 7 Sep 2023 12:06:28 +0000 (08:06 -0400)]
tests: fix max med on startup

The test is failing because on r2 we are looking for a metric of 777
on startup, but the start of looking for this happens to be after
the 5 second delay that is setup in the config.

On r1:

2023/09/06 17:05:14.999407 BGP: [G822R-SBMNH] config-from-file# router bgp 65001
2023/09/06 17:05:15.003060 BGP: [G822R-SBMNH] config-from-file#   bgp max-med on-startup 5 777
2023/09/06 17:05:15.003342 BGP: [G822R-SBMNH] config-from-file#   no bgp ebgp-requires-policy
2023/09/06 17:05:15.003453 BGP: [G822R-SBMNH] config-from-file#   neighbor 192.168.255.2 remote-as 65001
2023/09/06 17:05:15.004029 BGP: [G822R-SBMNH] config-from-file#   neighbor 192.168.255.2 timers 3 10
2023/09/06 17:05:15.004242 BGP: [G822R-SBMNH] config-from-file#   address-family ipv4 unicast
2023/09/06 17:05:15.004329 BGP: [G822R-SBMNH] config-from-file#     redistribute connected
2023/09/06 17:05:15.005023 BGP: [G822R-SBMNH] config-from-file#   exit-address-family
2023/09/06 17:05:15.005140 BGP: [G822R-SBMNH] config-from-file#   !
2023/09/06 17:05:15.005162 BGP: [G822R-SBMNH] config-from-file# !
2023/09/06 17:05:17.538112 BGP: [M7Q4P-46WDR] vty[25]@> enable
2023/09/06 17:05:17.546700 BGP: [M7Q4P-46WDR] vty[25]@# clear log cmdline-targets
2023/09/06 17:05:17.570635 BGP: [M7Q4P-46WDR] vty[25]@(config)# log commands
2023/09/06 17:05:17.572518 BGP: [M7Q4P-46WDR] vty[25]@(config)# log timestamp precision 6
2023/09/06 17:05:24.982647 BGP: [YNGC8-65JDM] Begin maxmed onstartup mode - timer 5 seconds
2023/09/06 17:05:26.033134 BGP: [M59KS-A3ZXZ] bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.255.2 in vrf default
2023/09/06 17:05:29.982960 BGP: [N1747-51Y51] Max med on startup ended - timer expired.

on r2:

2023/09/06 17:05:23.976029 BGP: [G822R-SBMNH] config-from-file# !
2023/09/06 17:05:26.084086 BGP: [M59KS-A3ZXZ] bgp_update_receive: rcvd End-of-RIB for IPv4 Unicast from 192.168.255.1 in vrf default
2023/09/06 17:05:27.280103 BGP: [M7Q4P-46WDR] vty[25]@> enable
2023/09/06 17:05:27.290204 BGP: [M7Q4P-46WDR] vty[25]@# clear log cmdline-targets
2023/09/06 17:05:27.328798 BGP: [M7Q4P-46WDR] vty[25]@(config)# log commands
2023/09/06 17:05:27.335032 BGP: [M7Q4P-46WDR] vty[25]@(config)# log timestamp precision 6
2023/09/06 17:05:31.558216 BGP: [M7Q4P-46WDR] vty[5]@> enable
2023/09/06 17:05:31.562482 BGP: [M7Q4P-46WDR] vty[5]@# do show logging
2023/09/06 17:05:32.942204 BGP: [M7Q4P-46WDR] vty[5]@> enable
2023/09/06 17:05:32.946745 BGP: [M7Q4P-46WDR] vty[5]@# show ip bgp neighbor 192.168.255.1 json
2023/09/06 17:05:34.173879 BGP: [M7Q4P-46WDR] vty[5]@> enable
2023/09/06 17:05:34.178448 BGP: [M7Q4P-46WDR] vty[5]@# show ip bgp neighbor 192.168.255.1 routes json
2023/09/06 17:05:36.459365 BGP: [M7Q4P-46WDR] vty[5]@> enable
2023/09/06 17:05:36.472019 BGP: [M7Q4P-46WDR] vty[5]@# show ip bgp neighbor 192.168.255.1 routes json
2023/09/06 17:05:38.557840 BGP: [M7Q4P-46WDR] vty[5]@> enable
2023/09/06 17:05:38.558948 BGP: [M7Q4P-46WDR] vty[5]@# show ip bgp neighbor 192.168.255.1 routes json
2023/09/06 17:05:40.198563 BGP: [M7Q4P-46WDR] vty[5]@> enable

Notice that the 5 second delay for the max med expires at 29 seconds but the show routes
on r2 does not even begin until 34 seconds, long after the max med has expired and the
test has moved on.

Let's relax the max-med timer to 30 seconds and modify the test to wait a bit longer for
both finding it and expiring timer.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agotests: Fix ospfapi client to clear ospf process
Donald Sharp [Thu, 7 Sep 2023 11:57:26 +0000 (07:57 -0400)]
tests: Fix ospfapi client to clear ospf process

Test is failing locally:
2023-09-06 18:39:56,865 DEBUG: r1: vtysh result:
        Hello, this is FRRouting (version 9.1-dev).
        Copyright 1996-2005 Kunihiro Ishiguro, et al.

        r1# conf t
        r1(config)# router ospf
        r1(config-router)# ospf router-id 1.1.1.1
        For this router-id change to take effect, use "clear ip ospf process" command
        r1(config-router)#
2023-09-06 18:39:56,865 DEBUG: root: GOT LINE: 'SUCCESS: 1.0.0.0'
2023-09-06 18:39:56,866 DEBUG: root: GOT LINE: '2023-09-06 18:39:55,982 INFO: TESTER: root: Waiting for 1.1.1.1'
2023-09-06 18:39:56,867 DEBUG: root: GOT LINE: '2023-09-06 18:39:55,982 DEBUG: TESTER: root: expected '1.1.1.1' != '1.0.0.0''
2023-09-06 18:39:56,867 DEBUG: root: GOT LINE: 'waiting on notify'

Sure looks like the router-id is not allowed to be changed because
neighbors have already been formed.  If we are changing the router-id
then let's clear the process to allow it to correctly change.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agolib: Remove route_node_match_ipv[4|6] not being used 16878/head
Donald Sharp [Wed, 25 Sep 2024 12:02:42 +0000 (08:02 -0400)]
lib: Remove route_node_match_ipv[4|6] not being used

These functions are not being used.  Let's just remove
them from our code base.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agoripd: Use route_node_match instead of route_node_match_ipv4
Donald Sharp [Tue, 24 Sep 2024 17:59:48 +0000 (13:59 -0400)]
ripd: Use route_node_match instead of route_node_match_ipv4

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agotests: Add some test cases for snmp
Donald Sharp [Tue, 24 Sep 2024 14:46:11 +0000 (10:46 -0400)]
tests: Add some test cases for snmp

Noticed that we were not really attempting to even test
large swaths of our snmp infrastructure.  Let's load
up some very simple configs for those daemons that
FRR supports and ensure that SNMP is working to
some extent.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agozebra: Remove some unused functions on linux build
Donald Sharp [Fri, 20 Sep 2024 01:39:50 +0000 (21:39 -0400)]
zebra: Remove some unused functions on linux build

The functions:
if_get_flags
if_flags_update
if_flags_mangle

are never invoked from a linux netlink build.  Put a #ifdef
around those functions so that they are not included on the
linux build as that they are not needed there.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agotests: Add some test cases for missed coverage
Donald Sharp [Fri, 20 Sep 2024 01:06:40 +0000 (21:06 -0400)]
tests: Add some test cases for missed coverage

I noticed that there was some missed code coverage in zebra.
multicast [enable|disable]
and
show interface description vrf all

Add a bit to get it covered.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agozebra: Add ability to know if some config is set
Donald Sharp [Thu, 19 Sep 2024 19:36:50 +0000 (15:36 -0400)]
zebra: Add ability to know if some config is set

For interface config:
shutdown
mpls
multicast

These states were never being shown in output, let's show it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agotools: fix style check babletrace file 17483/head
Chirag Shah [Mon, 25 Nov 2024 16:58:25 +0000 (08:58 -0800)]
tools: fix style check babletrace file

python3 -m black tools/frr_babeltrace.py

Signed-off-by: Chirag Shah <chirag@nvidia.com>
5 months agotools: add helper function to print family
Chirag Shah [Wed, 20 Nov 2024 02:11:10 +0000 (18:11 -0800)]
tools: add helper function to print family

Ticket: #4127810
Testing:
2024-11-20T01:52:10.073 frr_zebra:netlink_neigh_update_msg_encode
{'mac': '00:00:00:00:00:00', 'ip': '27.0.0.4', 'nhg': 0, 'flags': 2,
'state': 192, 'family': 'bridge', 'type': 0, 'op': 23}

Signed-off-by: Chirag Shah <chirag@nvidia.com>
5 months agozebra: add debug in remote vtep install ifp not up
Chirag Shah [Wed, 20 Nov 2024 17:15:24 +0000 (09:15 -0800)]
zebra: add debug in remote vtep install ifp not up

Ticket: #4139506

Signed-off-by: Chirag Shah <chirag@nvidia.com>
5 months agozebra: EVPN add debug trace for HREP entry
Chirag Shah [Thu, 14 Nov 2024 23:17:07 +0000 (15:17 -0800)]
zebra: EVPN add debug trace for HREP entry

Ticket: #4139506

Signed-off-by: Chirag Shah <chirag@nvidia.com>
5 months agozebra: EVPN check vxlan oper up in vlan mapping
Chirag Shah [Tue, 19 Nov 2024 20:24:30 +0000 (12:24 -0800)]
zebra: EVPN check vxlan oper up in vlan mapping

When VLAN-VNI mapping is updated, do not set the L2VNI up event
if the associated VXLAN device is not up.
This may result in bgp synced remote routes to skip installing
in Zebra and onwards (Kernel).

Ticket: #4139506

Signed-off-by: Chirag Shah <chirag@nvidia.com>
5 months agoMerge pull request #17369 from louis-6wind/bgp_vpnv4_route_leak_basic
Donatas Abraitis [Mon, 25 Nov 2024 13:25:14 +0000 (15:25 +0200)]
Merge pull request #17369 from louis-6wind/bgp_vpnv4_route_leak_basic

tests: add bgp_vpnv4_route_leak_basic

5 months agotests: Check if GR settings are inherited for peer-groups 17501/head
Donatas Abraitis [Mon, 25 Nov 2024 08:40:28 +0000 (10:40 +0200)]
tests: Check if GR settings are inherited for peer-groups

Convert to unified config also.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
5 months agobgpd: Use gracefulRestart JSON field
Donatas Abraitis [Mon, 25 Nov 2024 08:42:16 +0000 (10:42 +0200)]
bgpd: Use gracefulRestart JSON field

Deprecate gracefulRestartCapability which is inconsistent with an existing
format if advertised and received are printed.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
5 months agobgpd: Fix graceful-restart for peer-groups
Donatas Abraitis [Sun, 24 Nov 2024 19:57:19 +0000 (21:57 +0200)]
bgpd: Fix graceful-restart for peer-groups

Slipped somehow that peer-groups with GR is just completely broken, but it was
working before.

Strikes again, that we MUST have more and more topotests.

Fixes: 15403f521a12b668e87ef8961c78e0ed97c6ff92 ("bgpd: Streamline GR config, act on change immediately")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
5 months agoMerge pull request #17498 from cscarpitta/fix/fix-frr-reload-2
Donald Sharp [Sun, 24 Nov 2024 13:49:20 +0000 (08:49 -0500)]
Merge pull request #17498 from cscarpitta/fix/fix-frr-reload-2

tools: Add missing keyword `encapsulation` in frr-reload

5 months agoMerge pull request #17495 from Orange-OpenSource/ospf-sr
Donald Sharp [Sun, 24 Nov 2024 13:48:36 +0000 (08:48 -0500)]
Merge pull request #17495 from Orange-OpenSource/ospf-sr

ospfd: Correct invalid SR-MPLS output label

5 months agotools: Add missing keyword `encapsulation` in frr-reload 17498/head
Carmine Scarpitta [Sun, 24 Nov 2024 08:37:22 +0000 (09:37 +0100)]
tools: Add missing keyword `encapsulation` in frr-reload

Consider the following scenario.

You start from the configuration below:

```
!
segment-routing
 srv6
  encapsulation
   source-address fc00:0:1::1
  !
 !
!
```

Then you change the source address:

```
r1# configure
r1(config)# segment-routing
r1(config-sr)# srv6
r1(config-srv6)# encapsulation
r1(config-srv6-encap) source-address 1::1
```

And finally, reload the configuration
`python3 frr-reload.py --reload /etc/frr/frr.conf`

frr-reload returns the error below:

```
Failed to execute segment-routing  srv6   no source-address 1::1  exit exit
"segment-routing --  srv6 --   no source-address 1::1 --  exit -- exit" we failed to remove this command
% Unknown command:   no source-address 1::1

[79975|mgmtd] sending configuration
line 3: % Unknown command[76]:   source-address fc00:0:1::1
[79975|mgmtd] Configuration file[/etc/frr/frr.conf] processing failure: 2
```

The reason is that the keyword `encapsulation` is missing in frr-reload.

This patch adds the missing keyword `encapsulation`.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
5 months agoospfd: Correct invalid SR-MPLS output label 17495/head
Olivier Dugeon [Sat, 23 Nov 2024 17:50:21 +0000 (18:50 +0100)]
ospfd: Correct invalid SR-MPLS output label

When OSPFd starts, there is 2 possible scenarios for Segment Routing:
1/ Routes associated to Prefixes are not yet available i.e. Segment Routing LSA
are received before LSA Type 1. In this case, the function
ospf_sr_nhlfe_update() is triggered when a new SPF is launch. Thus, neighbors
and output label are always synchronise with the routing table.
2/ Routes are already available i.e. LSA Type 1 are received before Segment
Routing LSA, in particular the Router Information which contains the SRGB.
During nhlfe computation, perfixes are leave with incomplete configuration, in
particular, the SR nexthop is set to NULL. If this scenario is handle through
the function update_out_nhlfe (triggered when SRGB is received or modified from
a neighbor node), the output label is not correctly configured as the nexthop
SR node associated to the prefix has been leave to NULL.

This patch correct this problem by calling the function compute_nhlfe() when
the nexthop SR Node associated to the prefix is NULL within the
update_out_nhlfe() function. Thus, we guarantee that the SR prefix is always
correctly configuration indpedently of the scenario i.e. arrival of the
different LSA.

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
5 months agoMerge pull request #17459 from opensourcerouting/fix/disable_rpki_community_by_default
Donald Sharp [Sat, 23 Nov 2024 14:13:06 +0000 (09:13 -0500)]
Merge pull request #17459 from opensourcerouting/fix/disable_rpki_community_by_default

bgpd: Disable sending ROV extended community by default

5 months agoMerge pull request #17493 from cscarpitta/fix/fix-frr-reload
Donald Sharp [Sat, 23 Nov 2024 14:11:45 +0000 (09:11 -0500)]
Merge pull request #17493 from cscarpitta/fix/fix-frr-reload

tools: Add missing keywords in frr-reload

5 months agotools: Add missing keyword `node-msd` in frr-reload 17493/head
Carmine Scarpitta [Sat, 23 Nov 2024 07:46:50 +0000 (08:46 +0100)]
tools: Add missing keyword `node-msd` in frr-reload

Fix the error below:

```
[58564|mgmtd] sending configuration
[58565|zebra] sending configuration,
line 14: % Unknown command[52]:  max-segs-left 3
line 18: % Unknown command[52]:  max-end-pop 3
line 22: % Unknown command[52]:  max-h-encaps 2
line 26: % Unknown command[52]:  max-end-d 5
[58573|isisd] sending configuration
[58565|zebra] Configuration file[/etc/frr/frr.conf] processing failure: 2
```

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
5 months agotools: Add missing keyword `segment-routing srv6` in frr-reload
Carmine Scarpitta [Sat, 23 Nov 2024 07:46:00 +0000 (08:46 +0100)]
tools: Add missing keyword `segment-routing srv6` in frr-reload

Fix the error below:

```
[58564|mgmtd] sending configuration
[58565|zebra] sending configuration,
line 10: % Unknown command[52]:  node-msd
[58573|isisd] sending configuration
[58565|zebra] Configuration file[/etc/frr/frr.conf] processing failure: 2
```

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
5 months agoMerge pull request #17492 from donaldsharp/zebra_nh_label_crash
Mark Stapp [Fri, 22 Nov 2024 20:41:32 +0000 (15:41 -0500)]
Merge pull request #17492 from donaldsharp/zebra_nh_label_crash

lib, zebra: Do not have duplicate memory type problems

5 months agolib, zebra: Do not have duplicate memory type problems 17492/head
Donald Sharp [Fri, 22 Nov 2024 16:02:15 +0000 (11:02 -0500)]
lib, zebra: Do not have duplicate memory type problems

In zebra_mpls.c it has a usage of MTYPE_NH_LABEL which is
defined in both lib/nexthop.c and zebra/zebra_mpls.c.  The
usage in zebra_mpls.c is a realloc.  This leads to a crash:

(gdb) bt
0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=126487246404032) at ./nptl/pthread_kill.c:44
1  __pthread_kill_internal (signo=6, threadid=126487246404032) at ./nptl/pthread_kill.c:78
2  __GI___pthread_kill (threadid=126487246404032, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
3  0x0000730a1b442476 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
4  0x0000730a1b94fb18 in core_handler (signo=6, siginfo=0x7ffeed1e07b0, context=0x7ffeed1e0680) at lib/sigevent.c:268
5  <signal handler called>
6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=126487246404032) at ./nptl/pthread_kill.c:44
7  __pthread_kill_internal (signo=6, threadid=126487246404032) at ./nptl/pthread_kill.c:78
8  __GI___pthread_kill (threadid=126487246404032, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
9  0x0000730a1b442476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
10 0x0000730a1b4287f3 in __GI_abort () at ./stdlib/abort.c:79
11 0x0000730a1b9984f5 in _zlog_assert_failed (xref=0x730a1ba59480 <_xref.16>, extra=0x0) at lib/zlog.c:789
12 0x0000730a1b8f8908 in mt_count_free (mt=0x576e0edda520 <MTYPE_NH_LABEL>, ptr=0x576e36617b80) at lib/memory.c:74
13 0x0000730a1b8f8a59 in qrealloc (mt=0x576e0edda520 <MTYPE_NH_LABEL>, ptr=0x576e36617b80, size=16) at lib/memory.c:112
14 0x0000576e0ec85e2e in nhlfe_out_label_update (nhlfe=0x576e368895f0, nh_label=0x576e3660e9b0) at zebra/zebra_mpls.c:1462
15 0x0000576e0ec833ff in lsp_install (zvrf=0x576e3655fb50, label=17, rn=0x576e366197c0, re=0x576e3660a590) at zebra/zebra_mpls.c:224
16 0x0000576e0ec87c34 in zebra_mpls_lsp_install (zvrf=0x576e3655fb50, rn=0x576e366197c0, re=0x576e3660a590) at zebra/zebra_mpls.c:2215
17 0x0000576e0ecbb427 in rib_process_update_fib (zvrf=0x576e3655fb50, rn=0x576e366197c0, old=0x576e36619660, new=0x576e3660a590) at zebra/zebra_rib.c:1084
18 0x0000576e0ecbc230 in rib_process (rn=0x576e366197c0) at zebra/zebra_rib.c:1480
19 0x0000576e0ecbee04 in process_subq_route (lnode=0x576e368e0270, qindex=8 '\b') at zebra/zebra_rib.c:2661
20 0x0000576e0ecc0711 in process_subq (subq=0x576e3653fc80, qindex=META_QUEUE_BGP) at zebra/zebra_rib.c:3226
21 0x0000576e0ecc07f9 in meta_queue_process (dummy=0x576e3653fae0, data=0x576e3653fb80) at zebra/zebra_rib.c:3265
22 0x0000730a1b97d2a9 in work_queue_run (thread=0x7ffeed1e3f30) at lib/workqueue.c:282
23 0x0000730a1b96b039 in event_call (thread=0x7ffeed1e3f30) at lib/event.c:1996
24 0x0000730a1b8e4d2d in frr_run (master=0x576e36277e10) at lib/libfrr.c:1232
25 0x0000576e0ec35ca9 in main (argc=7, argv=0x7ffeed1e4208) at zebra/main.c:536

Clearly replacing a label stack is an operation that should be owned by
lib/nexthop.c.  So lets move this function into there and have
zebra_mpls.c just call the function to replace the label stack.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agoMerge pull request #17487 from opensourcerouting/fix/do_reset_peers
Donald Sharp [Fri, 22 Nov 2024 15:15:46 +0000 (10:15 -0500)]
Merge pull request #17487 from opensourcerouting/fix/do_reset_peers

bgpd: Do not reset peers on suppress-fib toggling

5 months agoMerge pull request #17484 from csiltala/pim-support-bundle
Donald Sharp [Fri, 22 Nov 2024 14:46:08 +0000 (09:46 -0500)]
Merge pull request #17484 from csiltala/pim-support-bundle

tools: Add pim show commands to support bundle

5 months agobgpd: Do not reset peers on suppress-fib toggling 17487/head
Donatas Abraitis [Fri, 22 Nov 2024 08:30:37 +0000 (10:30 +0200)]
bgpd: Do not reset peers on suppress-fib toggling

If the desired state is the same - do nothing instead of resetting once again.

Fixes: bdb5ae8bce94432eb5e581f04f48dc4aa5db7ca4 ("bgpd: Make suppress-fib-pending clear peering")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
5 months agotools: Add pim show commands to support bundle 17484/head
Corey Siltala [Thu, 21 Nov 2024 16:44:23 +0000 (10:44 -0600)]
tools: Add pim show commands to support bundle

Add more data gathering for pim and pim6 support bundles

Signed-off-by: Corey Siltala <csiltala@atcorp.com>
5 months agoMerge pull request #17477 from donaldsharp/topo_connected_installed
Jafar Al-Gharaibeh [Thu, 21 Nov 2024 20:28:23 +0000 (14:28 -0600)]
Merge pull request #17477 from donaldsharp/topo_connected_installed

tests: Ensure connected routes are installed before continuing

5 months agoMerge pull request #17473 from donaldsharp/bgp_bmp_and_its_ilk
Jafar Al-Gharaibeh [Thu, 21 Nov 2024 20:17:48 +0000 (14:17 -0600)]
Merge pull request #17473 from donaldsharp/bgp_bmp_and_its_ilk

Bgp bfd and its ilk

5 months agoMerge pull request #17340 from nabahr/mapping-agent
Rafael Zalamena [Thu, 21 Nov 2024 19:10:42 +0000 (16:10 -0300)]
Merge pull request #17340 from nabahr/mapping-agent

PIMD: Implement AutoRP mapping-agent

5 months agoMerge pull request #17469 from opensourcerouting/msdp-logs
Donald Sharp [Thu, 21 Nov 2024 18:45:58 +0000 (13:45 -0500)]
Merge pull request #17469 from opensourcerouting/msdp-logs

pimd: MSDP logging improvements

5 months agoMerge pull request #17476 from donaldsharp/support_bundle_isis
Mark Stapp [Thu, 21 Nov 2024 18:15:51 +0000 (13:15 -0500)]
Merge pull request #17476 from donaldsharp/support_bundle_isis

Support bundle isis

5 months agoMerge pull request #17436 from LabNConsulting/aceelindem/ospf-multi-instance-default
Russ White [Thu, 21 Nov 2024 17:20:26 +0000 (09:20 -0800)]
Merge pull request #17436 from LabNConsulting/aceelindem/ospf-multi-instance-default

ospfd: OSPF multi-instance default origination fixes

5 months agotests: Ensure connected routes are installed before continuing 17477/head
Donald Sharp [Thu, 21 Nov 2024 14:26:52 +0000 (09:26 -0500)]
tests: Ensure connected routes are installed before continuing

Upon high load the ospf_instance_redistribute test can attempt
to install routes with sharpd before the connected routes have
fully baked themselves into zebra.  Since sharpd intentionally
has no retry mechanism we need to ensure that the test is waiting
a small bit.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agotools: Add pim msdp show commands to support bundle 17476/head
Donald Sharp [Thu, 21 Nov 2024 14:16:14 +0000 (09:16 -0500)]
tools: Add pim msdp show commands to support bundle

The support bundle was not gathering any msdp data
for pim at all.  Let's add a bit to allow us to
have more data here when a suppport bundle is generated

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agotools: Add zebra label show commands to support bundle
Donald Sharp [Thu, 21 Nov 2024 14:15:22 +0000 (09:15 -0500)]
tools: Add zebra label show commands to support bundle

There were no zebra show commands related to mpls labels
being generated for support bundles.  Let's rectify that
situation.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agotools: Add isis command generation to support bundle
Donald Sharp [Thu, 21 Nov 2024 14:14:19 +0000 (09:14 -0500)]
tools: Add isis command generation to support bundle

When a support bundle is created no isis commands were
issued to attempt to gather data about what is going
on in isis.  Let's rectify that

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agotools: Add bmp command to support bundle generation
Donald Sharp [Thu, 21 Nov 2024 14:13:24 +0000 (09:13 -0500)]
tools: Add bmp command to support bundle generation

Add a bit of bmp data gathering for bgp support bundle generation

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agotopotests: test new log toggle 17469/head
Rafael Zalamena [Thu, 21 Nov 2024 13:23:37 +0000 (10:23 -0300)]
topotests: test new log toggle

Test MSDP new log toggle: the MSDP peer connection state and SA events
should be logged.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
5 months agopimd,yang: log MSDP SA events
Rafael Zalamena [Thu, 26 May 2022 14:22:27 +0000 (11:22 -0300)]
pimd,yang: log MSDP SA events

Add new command to log all SA events.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
5 months agopimd,yang: log MSDP neighbor events
Rafael Zalamena [Thu, 26 May 2022 12:54:27 +0000 (09:54 -0300)]
pimd,yang: log MSDP neighbor events

Move MSDP neighbor events global debug to per PIM instance.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
5 months agotests: add bgp_vpnv4_route_leak_basic 17369/head
Louis Scalbert [Tue, 5 Nov 2024 16:13:38 +0000 (17:13 +0100)]
tests: add bgp_vpnv4_route_leak_basic

bgp_vrf_route_leak_basic uses "import/export vrf" commands to perform
route leaks between VRF on the r1 router. The same result can be
achieved by using the "route-target import / export" commands.

Copy bgp_vrf_route_leak_basic to bgp_vpnv4_route_leak_basic. Change
BGP configuration to handle the route leaks with "route-target import /
export". Change to retry timers.  No other changes.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
5 months agoMerge pull request #17468 from opensourcerouting/msdp-tweaks
Jafar Al-Gharaibeh [Thu, 21 Nov 2024 03:56:14 +0000 (21:56 -0600)]
Merge pull request #17468 from opensourcerouting/msdp-tweaks

pimd: two small improvements

5 months agobgpd: Allow bfd to work if peer known but interface address not yet 17473/head
Donald Sharp [Wed, 20 Nov 2024 21:07:34 +0000 (16:07 -0500)]
bgpd: Allow bfd to work if peer known but interface address not yet

If bgp is coming up and bgp has not received the interface address yet
but bgp has knowledge about a bfd peering, allow it to set the peering
data appropriately.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agotests: zebra_fec_nexthop_resolution improve
Donald Sharp [Wed, 20 Nov 2024 14:22:46 +0000 (09:22 -0500)]
tests: zebra_fec_nexthop_resolution improve

a) timers are really large preventing convergence in 30 seconds
b) The same configuration does not need to be initiated 60 times
when things are not working properly.  Once is enough.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agobgpd: bgp_connect should return an `enum connect_result`
Donald Sharp [Wed, 20 Nov 2024 14:18:39 +0000 (09:18 -0500)]
bgpd: bgp_connect should return an `enum connect_result`

This function when it is run by bgp_start is expected
to return a `enum connect_result`.  But instead
the function returns a variety of values that are
not really being checked for.  Consolidate to a correct
choice.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 months agoMerge pull request #17464 from mjstapp/fix_bfdd_dplane_client_conn
Rafael Zalamena [Wed, 20 Nov 2024 15:35:13 +0000 (12:35 -0300)]
Merge pull request #17464 from mjstapp/fix_bfdd_dplane_client_conn

bfdd: retain remote dplane client socket

5 months agopimd: constify peer lookup function 17468/head
Rafael Zalamena [Fri, 8 Jul 2022 19:09:10 +0000 (16:09 -0300)]
pimd: constify peer lookup function

Make parameter `const` to document that the variable will not change.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
5 months agopimd: remove temporary variables from MSDP peer
Rafael Zalamena [Fri, 27 May 2022 20:15:46 +0000 (17:15 -0300)]
pimd: remove temporary variables from MSDP peer

Remove from MSDP peer data structure two temporary variables
that should only be used when calling library functions.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
5 months agotests: PIM AutoRP tests expanded 17340/head
Nathan Bahr [Fri, 1 Nov 2024 19:15:52 +0000 (19:15 +0000)]
tests: PIM AutoRP tests expanded

Now with a full AutoRP implementation, we can test AutoRP in a full network setup
beginning with candidate RP announcements all the way through discovery and active RP
selection.

Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
5 months agopimd: Implement autorp mapping agent
Nathan Bahr [Fri, 1 Nov 2024 19:14:47 +0000 (19:14 +0000)]
pimd: Implement autorp mapping agent

Fully flushed out the AutoRP implementation now with the AutoRP mapping agent.
This touched most of AutoRP in order to have common reuse of containers for each
section of AutoRP operation (Candidate RP announcement, Mapping agent, Discovery).
Many debugs had guards added and many more debug logs added.

Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
5 months agopimd: Implement autorp mapping agent CLI
Nathan Bahr [Fri, 1 Nov 2024 19:11:14 +0000 (19:11 +0000)]
pimd: Implement autorp mapping agent CLI

Also exposes BSR cand_addrsel methods for use in AutoRP.

Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
5 months agopimd,yang: Add PIMD northbound/yang for AutoRP mapping agent
Nathan Bahr [Fri, 1 Nov 2024 19:09:37 +0000 (19:09 +0000)]
pimd,yang: Add PIMD northbound/yang for AutoRP mapping agent

Reuses the candidate selection logic from BSR configuration

Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
5 months agobfdd: retain remote dplane client socket 17464/head
Mark Stapp [Tue, 19 Nov 2024 19:54:06 +0000 (14:54 -0500)]
bfdd: retain remote dplane client socket

When using bfd in remote-dataplane client mode, don't close
a new client socket if we're going to try to use it.

Signed-off-by: Mark Stapp <mjs@cisco.com>
5 months agoMerge pull request #17156 from opensourcerouting/eradicate-strncpy
Donald Sharp [Tue, 19 Nov 2024 14:42:39 +0000 (09:42 -0500)]
Merge pull request #17156 from opensourcerouting/eradicate-strncpy

*: remove remaining `strncpy()` users

5 months agoMerge pull request #17414 from dmytroshytyi-6WIND/srv6_isisd_fix_display_algorithm
Donald Sharp [Tue, 19 Nov 2024 14:30:36 +0000 (09:30 -0500)]
Merge pull request #17414 from dmytroshytyi-6WIND/srv6_isisd_fix_display_algorithm

isisd: properly display srv6 algorithm