]> git.puffer.fish Git - matthieu/frr.git/log
matthieu/frr.git
4 weeks agobgpd: When shutting down do not clear self peers
Donald Sharp [Fri, 28 Mar 2025 18:54:37 +0000 (14:54 -0400)]
bgpd: When shutting down do not clear self peers

Commit: e0ae285eb8beeef7b43bdadc073d8ae346eaeb6c

Modified the fsm state machine to attempt to not
clear routes on a peer that was not established.
The peer should be not a peer self.  We do not want
to ever clear the peer self.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 weeks agoMerge pull request #15471 from opensourcerouting/frrreload_logfile
Christian Hopps [Sun, 30 Mar 2025 09:52:43 +0000 (05:52 -0400)]
Merge pull request #15471 from opensourcerouting/frrreload_logfile

tools: Add option to frr-reload to specify alternate logfile

4 weeks agoMerge pull request #18532 from y-bharath14/srib-tests-v8
Donatas Abraitis [Fri, 28 Mar 2025 10:38:07 +0000 (12:38 +0200)]
Merge pull request #18532 from y-bharath14/srib-tests-v8

tests: Irrelevant code in lutil.py

4 weeks agotests: Irrelevant code in lutil.py
Y Bharath [Fri, 28 Mar 2025 05:22:36 +0000 (10:52 +0530)]
tests: Irrelevant code in lutil.py

Irrelevant code in lutil.py

Signed-off-by: y-bharath14 <y.bharath@samsung.com>
4 weeks agoMerge pull request #18520 from y-bharath14/srib-tests-v7
Donatas Abraitis [Thu, 27 Mar 2025 13:07:45 +0000 (15:07 +0200)]
Merge pull request #18520 from y-bharath14/srib-tests-v7

tests: Fix potential issues at send_bsr_packet.py

4 weeks agoMerge pull request #18515 from donaldsharp/route_map_show_fix
Donatas Abraitis [Thu, 27 Mar 2025 07:13:51 +0000 (09:13 +0200)]
Merge pull request #18515 from donaldsharp/route_map_show_fix

lib: `show route-map` should not print (null)

4 weeks agotests: Fix potential issues at send_bsr_packet.py
Y Bharath [Thu, 27 Mar 2025 04:00:40 +0000 (09:30 +0530)]
tests: Fix potential issues at send_bsr_packet.py

Fix potential issues at send_bsr_packet.py

Signed-off-by: y-bharath14 <y.bharath@samsung.com>
4 weeks agolib: `show route-map` should not print (null)
Donald Sharp [Wed, 26 Mar 2025 18:35:13 +0000 (14:35 -0400)]
lib: `show route-map` should not print (null)

This command:
route-map FOOBAR permit 10
 set ipv6 next-hop prefer-global
 set community 5060:12345 additive
!

When you issue a `show route-map ...` command displays this:

route-map: FOOBAR Invoked: 0 (0 milliseconds total) Optimization: enabled Processed Change: false
 permit, sequence 5 Invoked 0 (0 milliseconds total)
  Match clauses:
  Set clauses:
    ipv6 next-hop prefer-global (null)
    community 5060:12345 additive
  Call clause:
  Action:
    Exit routemap

Modify the code so that it no longer displays the NULL when there
is nothing to display.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 weeks agoMerge pull request #18498 from opensourcerouting/fix/keep_stale_routes_on_clear
Russ White [Wed, 26 Mar 2025 18:02:52 +0000 (14:02 -0400)]
Merge pull request #18498 from opensourcerouting/fix/keep_stale_routes_on_clear

bgpd: Retain the routes if we do a clear with N-bit set for Graceful-Restart

4 weeks agoMerge pull request #18508 from donaldsharp/rip_snmp_test_fixup
Jafar Al-Gharaibeh [Wed, 26 Mar 2025 17:38:05 +0000 (12:38 -0500)]
Merge pull request #18508 from donaldsharp/rip_snmp_test_fixup

tests: Modify simple_snmp_test to use frr.conf

4 weeks agoMerge pull request #18502 from opensourcerouting/fix/mpls_withdraw_label
Donald Sharp [Wed, 26 Mar 2025 15:26:19 +0000 (11:26 -0400)]
Merge pull request #18502 from opensourcerouting/fix/mpls_withdraw_label

bgpd: Set the label for MP_UNREACH_NLRI 0x800000 instead of 0x000000

4 weeks agotests: Modify simple_snmp_test to use frr.conf
Donald Sharp [Wed, 26 Mar 2025 15:14:57 +0000 (11:14 -0400)]
tests: Modify simple_snmp_test to use frr.conf

The simple_snmp_test was not properly testing
the rip snmp code because of weirdness w/ mgmtd
and non-integrated configs.  Modify the whole
test to use a integrated config and voila
ripd is talking snmp again in the test.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 weeks agoMerge pull request #18500 from y-bharath14/srib-yang-v7
Donald Sharp [Wed, 26 Mar 2025 14:51:10 +0000 (10:51 -0400)]
Merge pull request #18500 from y-bharath14/srib-yang-v7

yang: Fixed pyang errors at frr-isisd.yang

4 weeks agoMerge pull request #18506 from donaldsharp/ripng_test_aggregate_address
Russ White [Wed, 26 Mar 2025 14:31:59 +0000 (10:31 -0400)]
Merge pull request #18506 from donaldsharp/ripng_test_aggregate_address

tests: Add ripng aggregate address testing

4 weeks agoMerge pull request #18503 from gromit1811/bugfix/ospf6_gr_leak
Donald Sharp [Wed, 26 Mar 2025 14:30:30 +0000 (10:30 -0400)]
Merge pull request #18503 from gromit1811/bugfix/ospf6_gr_leak

ospf6d: Fix LSA memory leaks related to graceful restart

4 weeks agotests: Use label 0x800000 instead of 0x000000 for BMP tests
Donatas Abraitis [Wed, 26 Mar 2025 12:47:44 +0000 (14:47 +0200)]
tests: Use label 0x800000 instead of 0x000000 for BMP tests

Related-to: 94e2aadf7187d7d695babce21033b5bc8e454f25 ("bgpd: Set the label for MP_UNREACH_NLRI 0x800000 instead of 0x000000")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
4 weeks agoMerge pull request #18482 from donaldsharp/eigrp_typesafe
Mark Stapp [Wed, 26 Mar 2025 11:54:23 +0000 (07:54 -0400)]
Merge pull request #18482 from donaldsharp/eigrp_typesafe

Eigrp typesafe

4 weeks agotests: Fix wait times in test_ospf6_gr_topo1 topotest
Martin Buck [Tue, 25 Mar 2025 15:53:12 +0000 (16:53 +0100)]
tests: Fix wait times in test_ospf6_gr_topo1 topotest

Increase wait times to at least the minimum wait time accepted by
topotest.run_and_expect(). Also change poll interval to 1s, no point in
doings this more frequently.

Finally, slightly improve the topology diagram to also include area numbers.

Signed-off-by: Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
4 weeks agoospf6d: Fix LSA memory leaks related to graceful restart
Martin Buck [Tue, 25 Mar 2025 15:32:47 +0000 (16:32 +0100)]
ospf6d: Fix LSA memory leaks related to graceful restart

Fixes leaks reported by ospf6_gr_topo1 topotest.

Signed-off-by: Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
4 weeks agoMerge pull request #18448 from Shbinging/fix_babel_hello_interval
Donatas Abraitis [Wed, 26 Mar 2025 08:37:58 +0000 (10:37 +0200)]
Merge pull request #18448 from Shbinging/fix_babel_hello_interval

babeld: fix hello packets not sent with configured hello timer

4 weeks agoMerge pull request #18476 from y-bharath14/srib-tests-v6
Donatas Abraitis [Wed, 26 Mar 2025 08:34:23 +0000 (10:34 +0200)]
Merge pull request #18476 from y-bharath14/srib-tests-v6

tests: Handling potential errors gracefully

4 weeks agobgpd: Set the label for MP_UNREACH_NLRI 0x800000 instead of 0x000000
Donatas Abraitis [Wed, 26 Mar 2025 08:30:52 +0000 (10:30 +0200)]
bgpd: Set the label for MP_UNREACH_NLRI 0x800000 instead of 0x000000

RFC8277 says:

The procedures in [RFC3107] for withdrawing the binding of a label
or sequence of labels to a prefix are not specified clearly and correctly.

=> How to Explicitly Withdraw the Binding of a Label to a Prefix

Suppose a BGP speaker has announced, on a given BGP session, the
   binding of a given label or sequence of labels to a given prefix.
   Suppose it now wishes to withdraw that binding.  To do so, it may
   send a BGP UPDATE message with an MP_UNREACH_NLRI attribute.  The
   NLRI field of this attribute is encoded as follows:

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |    Length     |        Compatibility                          |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |                          Prefix                               ~
     ~                                                               |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Figure 4: NLRI for Withdrawal

   Upon transmission, the Compatibility field SHOULD be set to 0x800000.
   Upon reception, the value of the Compatibility field MUST be ignored.

[RFC3107] also made it possible to withdraw a binding without
   specifying the label explicitly, by setting the Compatibility field
   to 0x800000.  However, some implementations set it to 0x000000.  In
   order to ensure backwards compatibility, it is RECOMMENDED by this
   document that the Compatibility field be set to 0x800000, but it is
   REQUIRED that it be ignored upon reception.

In FRR case where a single label is used per-prefix, we should send 0x800000,
and not 0x000000.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
4 weeks agoyang: Fixed pyang errors at frr-isisd.yang
Y Bharath [Wed, 26 Mar 2025 07:16:08 +0000 (12:46 +0530)]
yang: Fixed pyang errors at frr-isisd.yang

Fixed pyang errors at frr-isisd.yang

Signed-off-by: y-bharath14 <y.bharath@samsung.com>
4 weeks agobgpd: Remove unused defines from bgp_label.h
Donatas Abraitis [Wed, 26 Mar 2025 06:50:06 +0000 (08:50 +0200)]
bgpd: Remove unused defines from bgp_label.h

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
4 weeks agoMerge pull request #18496 from mjstapp/fix_bgp_clearing_sa
Donald Sharp [Tue, 25 Mar 2025 22:00:02 +0000 (18:00 -0400)]
Merge pull request #18496 from mjstapp/fix_bgp_clearing_sa

bgpd: fix SA warning in bgp clearing code

4 weeks agotests: Add ripng aggregate address testing
Donald Sharp [Tue, 25 Mar 2025 21:35:47 +0000 (17:35 -0400)]
tests: Add ripng aggregate address testing

Looking at gcov and noticed that ripngd does not
test any aggregate address addition/deletion
to ensure that it works.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agotests: Check if routes are marked as stale and retained with N-bit for GR
Donatas Abraitis [Tue, 25 Mar 2025 15:35:41 +0000 (17:35 +0200)]
tests: Check if routes are marked as stale and retained with N-bit for GR

Related-to: b7c657d4e065f310fcf6454abae1a963c208c3b8 ("bgpd: Retain the routes if we do a clear with N-bit set for Graceful-Restart")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
5 weeks agobgpd: Retain the routes if we do a clear with N-bit set for Graceful-Restart
Donatas Abraitis [Tue, 25 Mar 2025 15:20:56 +0000 (17:20 +0200)]
bgpd: Retain the routes if we do a clear with N-bit set for Graceful-Restart

On receiving side we already did the job correctly, but the peer which initiates
the clear does not retain the other's routes. This commit fixes that.

Fixes: 20170775da3a3c5d41aba714d0c1d5a29b0da61c ("bgpd: Activate Graceful-Restart when receiving CEASE/HOLDTIME notifications")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
5 weeks agoMerge pull request #18494 from opensourcerouting/fix/duplicate_prefix_list
Mark Stapp [Tue, 25 Mar 2025 14:43:24 +0000 (10:43 -0400)]
Merge pull request #18494 from opensourcerouting/fix/duplicate_prefix_list

lib: Return duplicate prefix-list entry test

5 weeks agoMerge pull request #18474 from zmw12306/Hop-Count
Russ White [Tue, 25 Mar 2025 14:38:23 +0000 (10:38 -0400)]
Merge pull request #18474 from zmw12306/Hop-Count

babeld: Hop Count must not be 0.

5 weeks agoMerge pull request #18369 from huchaogithup/master-dev-pr1
Russ White [Tue, 25 Mar 2025 14:18:13 +0000 (10:18 -0400)]
Merge pull request #18369 from huchaogithup/master-dev-pr1

isisd: Fix the issue where redistributed routes do not change when th…

5 weeks agoMerge pull request #18311 from Z-Yivon/fix-isis-hello-timer-bug
Russ White [Tue, 25 Mar 2025 14:15:42 +0000 (10:15 -0400)]
Merge pull request #18311 from Z-Yivon/fix-isis-hello-timer-bug

isisd:IS-IS hello packets not sent with configured hello timer

5 weeks agobgpd: fix SA warnings in bgp clearing code
Mark Stapp [Tue, 25 Mar 2025 13:32:14 +0000 (09:32 -0400)]
bgpd: fix SA warnings in bgp clearing code

Fix a possible use-after-free in the recent bgp batch
clearing code, CID 1639091.

Signed-off-by: Mark Stapp <mjs@cisco.com>
5 weeks agoMerge pull request #18471 from zmw12306/NH-TLV
Donald Sharp [Tue, 25 Mar 2025 13:03:16 +0000 (09:03 -0400)]
Merge pull request #18471 from zmw12306/NH-TLV

babeld: add check incorrect AE value for NH TLV.

5 weeks agobabeld: fix hello packets not sent with configured hello timer
Shbinging [Fri, 21 Mar 2025 02:57:28 +0000 (02:57 +0000)]
babeld: fix hello packets not sent with configured hello timer

Same issue occurring as previously addressed in https://github.com/FRRouting/frr/pull/9092. The root cause is: "Sending a Hello message before restarting the hello timer to avoid session flaps in case of larger hello interval configurations."

Signed-off-by: Shbinging <bingshui@smail.nju.edu.cn>
5 weeks agolib: Return duplicate prefix-list entry test
Donatas Abraitis [Tue, 25 Mar 2025 11:54:24 +0000 (13:54 +0200)]
lib: Return duplicate prefix-list entry test

If we do e.g.:

ip prefix-list PL_LoopbackV4 permit 10.1.0.32/32
ip prefix-list PL_LoopbackV4 permit 10.1.0.32/32
ip prefix-list PL_LoopbackV4 permit 10.1.0.32/32

We end up, having duplicate records with a different sequence number only.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
5 weeks agoMerge pull request #18483 from donaldsharp/holdtime_mistake
Donatas Abraitis [Tue, 25 Mar 2025 07:38:09 +0000 (09:38 +0200)]
Merge pull request #18483 from donaldsharp/holdtime_mistake

bgpd: Fix holdtime not working properly when busy

5 weeks agoMerge pull request #18484 from mjstapp/fix_evpn_rt_cli
Donatas Abraitis [Tue, 25 Mar 2025 07:37:08 +0000 (09:37 +0200)]
Merge pull request #18484 from mjstapp/fix_evpn_rt_cli

bgpd: fix handling of configured route-targets for l2vni, l3vni

5 weeks agobgpd: fix handling of configured RTs for l2vni, l3vni
Mark Stapp [Mon, 24 Mar 2025 20:53:32 +0000 (16:53 -0400)]
bgpd: fix handling of configured RTs for l2vni, l3vni

Test for existing explicit config as part of validation of
route-target configuration: allow explicit config of generic/
default AS+VNI, for example, instead of rejecting it.

Signed-off-by: Mark Stapp <mjs@cisco.com>
5 weeks agoMerge pull request #18447 from donaldsharp/bgp_clear_batch
Russ White [Mon, 24 Mar 2025 20:13:49 +0000 (16:13 -0400)]
Merge pull request #18447 from donaldsharp/bgp_clear_batch

Bgp clear batch

5 weeks agobabeld: add check incorrect AE value for NH TLV.
zmw12306 [Mon, 24 Mar 2025 19:55:08 +0000 (15:55 -0400)]
babeld: add check incorrect AE value for NH TLV.

According to RFC 8966, for NH TLV, AE SHOULD be 1 (IPv4) or 3 (link-local IPv6), and MUST NOT be 0.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
5 weeks agobgpd: Fix holdtime not working properly when busy
Donald Sharp [Mon, 24 Mar 2025 18:28:38 +0000 (14:28 -0400)]
bgpd: Fix holdtime not working properly when busy

Commit:  cc9f21da2218d95567eff1501482ce58e6600f54

Modified the bgp_fsm code to dissallow the extension
of the hold time when the system is under extremely
heavy load.  This was a attempt to remove the return
code but it was too aggressive and messed up this bit
of code.

Put the behavior back that was introduced in:
d0874d195d0127009a7d9c06920c52c95319eff9

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agobabeld: Hop Count must not be 0.
zmw12306 [Mon, 24 Mar 2025 19:32:18 +0000 (15:32 -0400)]
babeld: Hop Count must not be 0.

According to RFC 8966:
Hop Count The maximum number of times that this TLV may be forwarded, plus 1. This MUST NOT be 0.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
5 weeks agoeigrpd: Remove unneeded function declaration
Donald Sharp [Mon, 24 Mar 2025 14:27:20 +0000 (10:27 -0400)]
eigrpd: Remove unneeded function declaration

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agozebra: On shutdown call appropriate finish functions
Donald Sharp [Mon, 24 Mar 2025 13:37:25 +0000 (09:37 -0400)]
zebra: On shutdown call appropriate finish functions

The vrf_terminate and route_map_finish functions are not being called and as such
memory was being dropped on shutdown.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agoeigrpd: Cleanup memory issues on shutdown
Donald Sharp [Mon, 24 Mar 2025 12:07:02 +0000 (08:07 -0400)]
eigrpd: Cleanup memory issues on shutdown

a) EIGRP was having issues with the prefix created as part
of the topology destination.  Make this just a part of the
topology data structure instead of allocating it.

b) EIGRP was not freeing up any memory associated with
the network table.  Free it.

c) EIGRP was confusing zebra shutdown as part of the deletion
of the last eigrp data structure.  This was inappropriate it
should be part of the `I'm just shutting down`.

d) The QOBJ was not being properly freed, free it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agoeigrpd: Convert eigrp list to a typesafe hash
Donald Sharp [Mon, 24 Mar 2025 11:35:22 +0000 (07:35 -0400)]
eigrpd: Convert eigrp list to a typesafe hash

Convert the eigrp_om->eigrp list to a typesafe hash.
Allow for quicker lookup and all that jazz.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agoeigrpd: Convert the eiflist to a typesafe hash
Donald Sharp [Mon, 24 Mar 2025 01:16:56 +0000 (21:16 -0400)]
eigrpd: Convert the eiflist to a typesafe hash

The eigrp->eiflist is a linked list and should just
be a hash instead.  The full conversion to a hash
like functionality is goingto wait until the connected
eigrp data structure is created.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agoeigrpd: Convert the nbrs list to a typesafe hash
Donald Sharp [Mon, 24 Mar 2025 00:28:59 +0000 (20:28 -0400)]
eigrpd: Convert the nbrs list to a typesafe hash

Convert the ei->nbrs list to a typesafe hash to
facilitate quick lookups.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agolib: expose comparision function to allow a typesafe conversion
Donald Sharp [Mon, 24 Mar 2025 01:17:53 +0000 (21:17 -0400)]
lib: expose comparision function to allow a typesafe conversion

The interface hash comparison function is needed in eigrpd.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agoMerge pull request #18473 from zmw12306/Request-TLV
Donald Sharp [Mon, 24 Mar 2025 14:29:36 +0000 (10:29 -0400)]
Merge pull request #18473 from zmw12306/Request-TLV

babeld: Missing Validation for AE=0 and Plen!=0

5 weeks agotests: Handling potential errors gracefully
Y Bharath [Mon, 24 Mar 2025 07:43:22 +0000 (13:13 +0530)]
tests: Handling potential errors gracefully

Handling potential errors gracefully at exa-receive.py

Signed-off-by: y-bharath14 <y.bharath@samsung.com>
5 weeks agoMerge pull request #18467 from cscarpitta/fix/fix_srv6_static_sids_crash_2
Donatas Abraitis [Mon, 24 Mar 2025 12:16:37 +0000 (14:16 +0200)]
Merge pull request #18467 from cscarpitta/fix/fix_srv6_static_sids_crash_2

staticd: Fix a crash that occurs when modifying an SRv6 SID

5 weeks agoMerge pull request #18469 from donaldsharp/fix_update_groups
Donatas Abraitis [Mon, 24 Mar 2025 12:08:19 +0000 (14:08 +0200)]
Merge pull request #18469 from donaldsharp/fix_update_groups

tests: high_ecmp creates 2 update groups

5 weeks agoMerge pull request #18475 from LabNConsulting/chopps/pylint
Donatas Abraitis [Mon, 24 Mar 2025 12:03:17 +0000 (14:03 +0200)]
Merge pull request #18475 from LabNConsulting/chopps/pylint

tests: add another directory to search path for pylint

5 weeks agotests: add another directory to search path for pylint
Christian Hopps [Mon, 24 Mar 2025 05:07:28 +0000 (05:07 +0000)]
tests: add another directory to search path for pylint

Some IDEs (e.g., emacs+lsp) run pylint from the root directory and so
we need to add `tests/topotests` so that `lib` and `munet` are found
by pylint when used in imports

Signed-off-by: Christian Hopps <chopps@labn.net>
5 weeks agobabeld: Missing Validation for AE=0 and Plen!=0
zmw12306 [Mon, 24 Mar 2025 02:37:59 +0000 (22:37 -0400)]
babeld: Missing Validation for AE=0 and Plen!=0

A Request TLV with AE set to 0 and Plen not set to 0 MUST be ignored.
Signed-off-by: zmw12306 <zmw12306@gmail.com>
5 weeks agotests: high_ecmp creates 2 update groups
Donald Sharp [Sun, 23 Mar 2025 21:48:02 +0000 (17:48 -0400)]
tests: high_ecmp creates 2 update groups

The high_ecmp test was creating 2 update groups, where
513 of the neighbors are in 1 and the remaining is in
another.  They should just all be in 1 update group.
Modify the test creation such that interfaces r1-eth514
and r2-eth514 have v4 and v6 addresses.

Signed-off-by: Donald Sharp <donaldsharp72@gmail.com>
5 weeks agotests: Add test case to verify SRv6 SID modify
Carmine Scarpitta [Sun, 23 Mar 2025 15:57:15 +0000 (16:57 +0100)]
tests: Add test case to verify SRv6 SID modify

This commit adds a test case that modifies a SID and verifies that the
RIB is as expected.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
5 weeks agostaticd: Fix crash that occurs when modifying an SRv6 SID
Carmine Scarpitta [Sun, 23 Mar 2025 15:56:52 +0000 (16:56 +0100)]
staticd: Fix crash that occurs when modifying an SRv6 SID

When the user modifies an SRv6 SID and then removes all SIDs, staticd
crashes:

```
2025/03/23 08:37:22.691860 STATIC: lib/memory.c:74: mt_count_free(): assertion (mt->n_alloc) failed
STATIC: Received signal 6 at 1742715442 (si_addr 0x8200007cf0); aborting...
STATIC: zlog_signal+0x390                  fcc704a844b8     ffffd7450390 /usr/lib/frr/libfrr.so.0 (mapped at 0xfcc704800000)
STATIC: core_handler+0x1f8                 fcc704b79990     ffffd7450590 /usr/lib/frr/libfrr.so.0 (mapped at 0xfcc704800000)
STATIC:     ---- signal ----
STATIC: ?                                  fcc705c008f8     ffffd74507a0 linux-vdso.so.1 (mapped at 0xfcc705c00000)
STATIC: pthread_key_delete+0x1a0           fcc70458f1f0     ffffd7451a00 /lib/aarch64-linux-gnu/libc.so.6 (mapped at 0xfcc704510000)
STATIC: raise+0x1c                         fcc70454a67c     ffffd7451ad0 /lib/aarch64-linux-gnu/libc.so.6 (mapped at 0xfcc704510000)
STATIC: abort+0xe4                         fcc704537130     ffffd7451af0 /lib/aarch64-linux-gnu/libc.so.6 (mapped at 0xfcc704510000)
STATIC: _zlog_assert_failed+0x3c4          fcc704c407c8     ffffd7451c40 /usr/lib/frr/libfrr.so.0 (mapped at 0xfcc704800000)
STATIC: mt_count_free+0x12c                fcc704a93c74     ffffd7451dc0 /usr/lib/frr/libfrr.so.0 (mapped at 0xfcc704800000)
STATIC: qfree+0x28                         fcc704a93fa0     ffffd7451e70 /usr/lib/frr/libfrr.so.0 (mapped at 0xfcc704800000)
STATIC: static_srv6_sid_free+0x1c          adc1df8fa544     ffffd7451e90 /usr/lib/frr/staticd (mapped at 0xadc1df8a0000)
STATIC: delete_static_srv6_sid+0x14        adc1df8faafc     ffffd7451eb0 /usr/lib/frr/staticd (mapped at 0xadc1df8a0000)
STATIC: list_delete_all_node+0x104         fcc704a60eec     ffffd7451ed0 /usr/lib/frr/libfrr.so.0 (mapped at 0xfcc704800000)
STATIC: list_delete+0x8c                   fcc704a61054     ffffd7451f00 /usr/lib/frr/libfrr.so.0 (mapped at 0xfcc704800000)
STATIC: static_srv6_cleanup+0x20           adc1df8fabdc     ffffd7451f20 /usr/lib/frr/staticd (mapped at 0xadc1df8a0000)
STATIC: sigint+0x40                        adc1df8be544     ffffd7451f30 /usr/lib/frr/staticd (mapped at 0xadc1df8a0000)
STATIC: frr_sigevent_process+0x148         fcc704b79460     ffffd7451f40 /usr/lib/frr/libfrr.so.0 (mapped at 0xfcc704800000)
STATIC: event_fetch+0x1c4                  fcc704bc0834     ffffd7451f60 /usr/lib/frr/libfrr.so.0 (mapped at 0xfcc704800000)
STATIC: frr_run+0x650                      fcc704a5d230     ffffd7452080 /usr/lib/frr/libfrr.so.0 (mapped at 0xfcc704800000)
STATIC: main+0x1d0                         adc1df8be75c     ffffd7452270 /usr/lib/frr/staticd (mapped at 0xadc1df8a0000)
STATIC: __libc_init_first+0x7c             fcc7045373fc     ffffd74522b0 /lib/aarch64-linux-gnu/libc.so.6 (mapped at 0xfcc704510000)
STATIC: __libc_start_main+0x98             fcc7045374cc     ffffd74523c0 /lib/aarch64-linux-gnu/libc.so.6 (mapped at 0xfcc704510000)
STATIC: _start+0x30                        adc1df8be0f0     ffffd7452420 /usr/lib/frr/staticd (mapped at 0xadc1df8a0000)
```

Tracking this down, the crash occurs because every time we modify a
SID, staticd executes some callbacks to modify the SID and finally it
calls `apply_finish`, which re-adds the SID to the list `srv6_sids`.

This leads to having the same SID multiple times in the `srv6_sids`
list. When we delete all SIDs, staticd attempts to deallocate the same
SID multiple times, which leads to the crash.

This commit fixes the issue by moving the code that adds the SID to the
list from the `apply_finish` callback to the `create` callback.
This ensures that the SID is inserted into the list only once, when it
is created. For all subsequent modifications, the SID is modified but
not added to the list.

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
5 weeks agoMerge pull request #18378 from Tuetuopay/fix-route-map-gateway-ip
Donatas Abraitis [Sun, 23 Mar 2025 10:38:38 +0000 (12:38 +0200)]
Merge pull request #18378 from Tuetuopay/fix-route-map-gateway-ip

bgpd: fix `set evpn gateway-ip ipv[46]` route-map

5 weeks agoMerge pull request #18339 from y-bharath14/srib-tests-v3
Donald Sharp [Sat, 22 Mar 2025 23:53:53 +0000 (19:53 -0400)]
Merge pull request #18339 from y-bharath14/srib-tests-v3

tests: Corrected typo at path_attributes.py

5 weeks agoMerge pull request #18446 from louis-6wind/test_bfd_static_vrf
Donatas Abraitis [Sat, 22 Mar 2025 10:21:30 +0000 (12:21 +0200)]
Merge pull request #18446 from louis-6wind/test_bfd_static_vrf

tests: add bfd_static_vrf

5 weeks agoMerge pull request #18452 from donaldsharp/bmp_changes
Donatas Abraitis [Sat, 22 Mar 2025 10:20:18 +0000 (12:20 +0200)]
Merge pull request #18452 from donaldsharp/bmp_changes

tests: Change up start order of bmp tests

5 weeks agotests: Change up start order of bmp tests
Donald Sharp [Fri, 21 Mar 2025 22:08:25 +0000 (18:08 -0400)]
tests: Change up start order of bmp tests

Currently the tests appear to do this:
a) Start the neighbors
b) Start the bmp server connection
c) Look for the neighbors up
d) Look for the neighbor up messages in the bmp log

This is not great from a testing perspective in that
even though we started a) first it may not happen
until after b) happens.  Or even worse if it is
partially up ( 1 of the 2 peers ) then the dump
will have the neighbor connecting after parts
of the table.  This doesn't work too well because
the SEQ number is something that is kept and compared
to to make sure only new data is being looked at.

Let's modify the startup configuration to start
the bmp server first and then have a delayopen
on the bgp neighbor statements so that the bmp
peering can come up first.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agoMerge pull request #18442 from y-bharath14/srib-yang-v6
Donald Sharp [Fri, 21 Mar 2025 19:08:45 +0000 (15:08 -0400)]
Merge pull request #18442 from y-bharath14/srib-yang-v6

yang: Code inline with RFC 8407 rules

5 weeks agoMerge pull request #18359 from soumyar-roy/soumya/streamsize
Mark Stapp [Fri, 21 Mar 2025 15:30:16 +0000 (11:30 -0400)]
Merge pull request #18359 from soumyar-roy/soumya/streamsize

zebra: zebra crash for zapi stream

5 weeks agoMerge pull request #17986 from dmytroshytyi-6WIND/fix-static-30-01-2025
Donatas Abraitis [Fri, 21 Mar 2025 10:19:50 +0000 (12:19 +0200)]
Merge pull request #17986 from dmytroshytyi-6WIND/fix-static-30-01-2025

lib: fix static analysis error

5 weeks agoMerge pull request #18277 from y-bharath14/srib-tests-v2
Donatas Abraitis [Fri, 21 Mar 2025 10:13:13 +0000 (12:13 +0200)]
Merge pull request #18277 from y-bharath14/srib-tests-v2

tests: Catch specific exceptions

5 weeks agotests: add bfd_static_vrf
Louis Scalbert [Wed, 19 Mar 2025 14:51:30 +0000 (15:51 +0100)]
tests: add bfd_static_vrf

Add bfd_static_vrf to test BFD tracking of static routes in VRF.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
5 weeks agoMerge pull request #18330 from usrivastava-nvidia/master
Jafar Al-Gharaibeh [Thu, 20 Mar 2025 21:28:05 +0000 (16:28 -0500)]
Merge pull request #18330 from usrivastava-nvidia/master

pimd: Skip RPF check for SA message from mesh group peer

5 weeks agoMerge pull request #18409 from donaldsharp/typesafe_zclient
Russ White [Thu, 20 Mar 2025 16:48:47 +0000 (12:48 -0400)]
Merge pull request #18409 from donaldsharp/typesafe_zclient

Typesafe zclient

5 weeks agopimd:Skip RPF check for SA message received from the MSDP mesh group peers
usrivastava-nvidia [Fri, 7 Mar 2025 06:05:52 +0000 (06:05 +0000)]
pimd:Skip RPF check for SA message received from the MSDP mesh group peers

Signed-off-by: Utkarsh Srivastava <usrivastava@nvidia.com>
5 weeks agopimd:Setting the flag PIM_MSDP_PEERF_IN_GROUP for MSDP mesh group peers
usrivastava-nvidia [Fri, 7 Mar 2025 06:05:06 +0000 (06:05 +0000)]
pimd:Setting the flag PIM_MSDP_PEERF_IN_GROUP for MSDP mesh group peers

Signed-off-by: Utkarsh Srivastava <usrivastava@nvidia.com>
5 weeks agozebra: reduce memory usage by streams when redistributing routes
Soumya Roy [Fri, 14 Mar 2025 22:01:51 +0000 (22:01 +0000)]
zebra: reduce memory usage by streams when redistributing routes

This commit undo 8c9b007a0c7efb2e9afc2eac936ba9dd971c6707
stream lib has been modified to expand the stream if needed
Now for zapi route encode, we use expandable stream

Signed-off-by: Soumya Roy <souroy@nvidia.com>
5 weeks agozebra: zebra crash for zapi stream
Soumya Roy [Fri, 14 Mar 2025 21:56:48 +0000 (21:56 +0000)]
zebra: zebra crash for zapi stream

Issue:
If static route is created with a BGP route as nexthop, which
recursively resolves over 512 ECMP v6 nexthops, zapi nexthop encode
fails, as there is not enough memory allocated for stream. This causes
assert/core dump in zebra. Right now we allocate fixed memory
of ZEBRA_MAX_PACKET_SIZ size.

Fix:
1)Dynamically calculate required memory size for the stream
2)try to optimize memory usage

Testing:
No crash happens anymore with the fix
zebra: zebra crash for zapi stream

Issue:
If static route is created with a BGP route as nexthop, which
recursively resolves over 512 ECMP v6 nexthops, zapi nexthop encode
fails, as there is not enough memory allocated for stream. This causes
assert/core dump in zebra. Right now we allocate fixed memory
of ZEBRA_MAX_PACKET_SIZ size.

Fix:
1)Dynamically calculate required memory size for the stream
2)try to optimize memory usage

Testing:
No crash happens anymore with the fix
r1#
r1# sharp install routes 2100:cafe:: nexthop 2001:db8::1 1000
r1#

r2# conf
r2(config)# ipv6 route 2503:feca::100/128 2100:cafe::1
r2(config)# exit
r2#

Signed-off-by: Soumya Roy <souroy@nvidia.com>
5 weeks agotests: Add staticd/ospfd/ospf6d/pimd for high ecmp
Soumya Roy [Fri, 14 Mar 2025 21:48:20 +0000 (21:48 +0000)]
tests: Add staticd/ospfd/ospf6d/pimd for high ecmp

Signed-off-by: Soumya Roy <souroy@nvidia.com>
5 weeks agolib: Add support for stream buffer to expand
Soumya Roy [Fri, 14 Mar 2025 21:44:39 +0000 (21:44 +0000)]
lib: Add support for stream buffer to expand

Issue:
 Currently, during encode time, if required memory is
 more than available space in stream buffer, stream buffer
 can't be expanded. This fix introduces new apis to support
 stream buffer expansion.

 Testing:
 Tested with zebra nexthop encoding with 512 nexthops, which triggers
 this new code changes, it works fine. Without fix, for same trigger
 it asserts.

Signed-off-by: Soumya Roy <souroy@nvidia.com>
5 weeks agobgpd: Tie in more clear events to clear code
Donald Sharp [Wed, 12 Mar 2025 16:37:21 +0000 (12:37 -0400)]
bgpd: Tie in more clear events to clear code

The `clear bgp *` and the interface down events
cause a global clearing of data from the bgp rib.
Let's tie those into the clear peer code such
that we can take advantage of the reduced load
in these cases too.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agobgpd: Allow batch clear to do partial work and continue later
Mark Stapp [Wed, 12 Mar 2025 13:55:53 +0000 (09:55 -0400)]
bgpd: Allow batch clear to do partial work and continue later

Modify the batch clear code to be able to stop after processing
some of the work and to pick back up again.  This will allow
the very expensive nature of the batch clearing to be spread out
and allow bgp to continue to be responsive.

Signed-off-by: Mark Stapp <mjs@cisco.com>
5 weeks agobgpd: fix evpn attributes being dropped on input
Tuetuopay [Mon, 17 Mar 2025 14:08:15 +0000 (15:08 +0100)]
bgpd: fix evpn attributes being dropped on input

All assignments of the EVPN attributes (ESI and Gateway IP) are gated
behind the peer being set up for inbound soft-reconfiguration.

There are no actual reasons for this limitation, so let's perform the
EVPN attribute assignment no matter what when soft reconfiguration is
not enabled.

Fixes: 6e076ba5231 ("bgpd: Fix for ain->attr corruption during path update")
Signed-off-by: Tuetuopay <tuetuopay@me.com>
5 weeks agoyang: Code inline with RFC 8407 rules
Y Bharath [Thu, 20 Mar 2025 06:41:46 +0000 (12:11 +0530)]
yang: Code inline with RFC 8407 rules

Code inline with RFC 8407 rules

Signed-off-by: y-bharath14 <y.bharath@samsung.com>
5 weeks agoMerge pull request #18325 from chdxD1/topotests/evpn-multipath-flap
Jafar Al-Gharaibeh [Thu, 20 Mar 2025 04:14:38 +0000 (23:14 -0500)]
Merge pull request #18325 from chdxD1/topotests/evpn-multipath-flap

topotests: Add EVPN RT5 multipath flap test

5 weeks agoMerge pull request #18431 from donaldsharp/fpm_listener_reject
Jafar Al-Gharaibeh [Thu, 20 Mar 2025 04:00:47 +0000 (23:00 -0500)]
Merge pull request #18431 from donaldsharp/fpm_listener_reject

Fpm listener reject

5 weeks agoMerge pull request #18435 from donaldsharp/fix_valgrind_found_memory_leak_in_bgp
Jafar Al-Gharaibeh [Thu, 20 Mar 2025 03:58:37 +0000 (22:58 -0500)]
Merge pull request #18435 from donaldsharp/fix_valgrind_found_memory_leak_in_bgp

bgpd: Fix leaked memory when showing some bgp routes

5 weeks agoMerge pull request #18432 from donaldsharp/fix_topotest_to_wait_for_zebra_connection
Jafar Al-Gharaibeh [Thu, 20 Mar 2025 03:55:31 +0000 (22:55 -0500)]
Merge pull request #18432 from donaldsharp/fix_topotest_to_wait_for_zebra_connection

Fix topotest to wait for zebra connection

5 weeks agoMerge pull request #18412 from lsang6WIND/fix_bgp_delete
Donald Sharp [Thu, 20 Mar 2025 00:44:57 +0000 (20:44 -0400)]
Merge pull request #18412 from lsang6WIND/fix_bgp_delete

bgpd: fix "delete in progress" flag on default instance

5 weeks agobgpd: Fix leaked memory when showing some bgp routes
Donald Sharp [Wed, 19 Mar 2025 20:50:11 +0000 (16:50 -0400)]
bgpd: Fix leaked memory when showing some bgp routes

The two memory leaks:

==387155== 744 (48 direct, 696 indirect) bytes in 1 blocks are definitely lost in loss record 222 of 262
==387155==    at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==387155==    by 0x4C1B982: json_object_new_object (in /usr/lib/x86_64-linux-gnu/libjson-c.so.5.1.0)
==387155==    by 0x2E4146: peer_adj_routes (bgp_route.c:15245)
==387155==    by 0x2E4F1A: show_ip_bgp_instance_neighbor_advertised_route_magic (bgp_route.c:15549)
==387155==    by 0x2B982B: show_ip_bgp_instance_neighbor_advertised_route (bgp_route_clippy.c:722)
==387155==    by 0x4915E6F: cmd_execute_command_real (command.c:1003)
==387155==    by 0x4915FE8: cmd_execute_command (command.c:1062)
==387155==    by 0x4916598: cmd_execute (command.c:1228)
==387155==    by 0x49EB858: vty_command (vty.c:626)
==387155==    by 0x49ED77C: vty_execute (vty.c:1389)
==387155==    by 0x49EFFA7: vtysh_read (vty.c:2408)
==387155==    by 0x49E4156: event_call (event.c:2019)
==387155==    by 0x4958ABD: frr_run (libfrr.c:1247)
==387155==    by 0x206A68: main (bgp_main.c:557)
==387155==
==387155== 2,976 (192 direct, 2,784 indirect) bytes in 4 blocks are definitely lost in loss record 240 of 262
==387155==    at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==387155==    by 0x4C1B982: json_object_new_object (in /usr/lib/x86_64-linux-gnu/libjson-c.so.5.1.0)
==387155==    by 0x2E45CA: peer_adj_routes (bgp_route.c:15325)
==387155==    by 0x2E4F1A: show_ip_bgp_instance_neighbor_advertised_route_magic (bgp_route.c:15549)
==387155==    by 0x2B982B: show_ip_bgp_instance_neighbor_advertised_route (bgp_route_clippy.c:722)
==387155==    by 0x4915E6F: cmd_execute_command_real (command.c:1003)
==387155==    by 0x4915FE8: cmd_execute_command (command.c:1062)
==387155==    by 0x4916598: cmd_execute (command.c:1228)
==387155==    by 0x49EB858: vty_command (vty.c:626)
==387155==    by 0x49ED77C: vty_execute (vty.c:1389)
==387155==    by 0x49EFFA7: vtysh_read (vty.c:2408)
==387155==    by 0x49E4156: event_call (event.c:2019)
==387155==    by 0x4958ABD: frr_run (libfrr.c:1247)
==387155==    by 0x206A68: main (bgp_main.c:557)

For the 1st one, if the operator issues a advertised-routes command, the
json_ar variable was never being freed.

For the 2nd one, if the operator issued a command where the
output_count_per_rd is 0, we need to free the json_routes value.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agoMerge pull request #18430 from nabahr/protocol_vrf
Donald Sharp [Wed, 19 Mar 2025 19:31:06 +0000 (15:31 -0400)]
Merge pull request #18430 from nabahr/protocol_vrf

lib: Create VRF if needed

5 weeks agotests: wait_time is not defined so don't use it
Donald Sharp [Wed, 19 Mar 2025 19:23:28 +0000 (15:23 -0400)]
tests: wait_time is not defined so don't use it

In daemon startup a error message was attempting
to use a variable `wait_time` that has not been
setup.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agotests: Ensure that the daemon has connected to zebra
Donald Sharp [Wed, 19 Mar 2025 19:20:31 +0000 (15:20 -0400)]
tests: Ensure that the daemon has connected to zebra

On daemon startup, ensure that the daemon is there and
connected to zebra.  There are some exceptions,
pathd is srte.  pim6d and pimd are the same at the
moment and finally smnptrapd.

This should help the startup of using a unified
config in the topotests.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agozebra: Add timestamp to output
Donald Sharp [Wed, 19 Mar 2025 16:39:37 +0000 (12:39 -0400)]
zebra: Add timestamp to output

It's interesting to know the time we received the route.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agozebra: Allow fpm_listener to reject all routes
Donald Sharp [Wed, 19 Mar 2025 16:22:04 +0000 (12:22 -0400)]
zebra: Allow fpm_listener to reject all routes

Now usage of `-r -f` with fpm_listener now causes all
routes to be rejected.

r1# sharp install routes 10.0.0.0 nexthop 192.168.44.5 5
r1# show ip route
Codes: K - kernel route, C - connected, L - local, S - static,
       R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
       F - PBR, f - OpenFabric, t - Table-Direct,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

IPv4 unicast VRF default:
D>o 10.0.0.0/32 [150/0] via 192.168.44.5, r1-eth0, weight 1, 00:00:02
D>o 10.0.0.1/32 [150/0] via 192.168.44.5, r1-eth0, weight 1, 00:00:02
D>o 10.0.0.2/32 [150/0] via 192.168.44.5, r1-eth0, weight 1, 00:00:02
D>o 10.0.0.3/32 [150/0] via 192.168.44.5, r1-eth0, weight 1, 00:00:02
D>o 10.0.0.4/32 [150/0] via 192.168.44.5, r1-eth0, weight 1, 00:00:02
C>* 192.168.44.0/24 is directly connected, r1-eth0, weight 1, 00:00:37
L>* 192.168.44.1/32 is directly connected, r1-eth0, weight 1, 00:00:37
r1#

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
5 weeks agozebra: Rework the stale client list to a typesafe list
Donald Sharp [Sun, 16 Mar 2025 22:43:25 +0000 (18:43 -0400)]
zebra: Rework the stale client list to a typesafe list

The stale client list was just a linked list, let's use
the typesafe list.

Signed-off-by: Donald Sharp <donaldsharp72@gmail.com>
5 weeks agozebra: Convert the zrouter.client_list to a typesafe list
Donald Sharp [Sun, 16 Mar 2025 20:56:19 +0000 (16:56 -0400)]
zebra: Convert the zrouter.client_list to a typesafe list

This list should just be a typesafe list.

Signed-off-by: Donald Sharp <donaldsharp72@gmail.com>
5 weeks agoMerge pull request #18426 from opensourcerouting/rpm_snmp_rpki_fix
Lou Berger [Wed, 19 Mar 2025 16:34:10 +0000 (12:34 -0400)]
Merge pull request #18426 from opensourcerouting/rpm_snmp_rpki_fix

RedHat: Fixing for PR17793 - Allow RPM build without docs and/or rpki

5 weeks agolib: Create VRF if needed
Nathan Bahr [Wed, 19 Mar 2025 16:07:37 +0000 (16:07 +0000)]
lib: Create VRF if needed

When creating a control plane protocol through NB, create the vrf
if needed instead of only looking up and asserting if it doesn't
exist yet.
Fixes 18429.

Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
5 weeks agoredhat: Make sure zeromq is always disabled
Martin Winter [Wed, 19 Mar 2025 12:40:53 +0000 (13:40 +0100)]
redhat: Make sure zeromq is always disabled

Fix issue where zeromq is getting enabled if build system has the libs
installed. For RPMs, we want it always based on intended config options.
(and currently the zeromq is not part of the packages)

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 weeks agoredhat: Make docs and rpki optional for RPM package build
Martin Winter [Wed, 19 Mar 2025 06:21:37 +0000 (07:21 +0100)]
redhat: Make docs and rpki optional for RPM package build

Adding options to disable docs and rpki during the build. By
default they are always built. RPKI sub-package will not be built
(and not available) if built without the RPKI support.

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 weeks agoMerge pull request #18374 from raja-rajasekar/rajasekarr/nhg_intf_flap_issue
Russ White [Wed, 19 Mar 2025 12:10:15 +0000 (08:10 -0400)]
Merge pull request #18374 from raja-rajasekar/rajasekarr/nhg_intf_flap_issue

zebra: Fix reinstalling nexthops in NHGs upon interface flaps