FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Donald SharpGitHubDonald Sharp
9bc65c84517MMerge pull request #22120 from Jafaral/autorp-fixespimd: fix AutoRP holdtime parsing and minor cleanup
Russ WhiteGitHubRuss White
3fc6a1fb8afMMerge pull request #22113 from donaldsharp/topotest_problemsFix some topotest skipping problems
Russ WhiteGitHubRuss White
e5171822caeMMerge pull request #22104 from Jafaral/gcov-fixestests: harden topotest gcov coverage setup and reporting
Russ WhiteGitHubRuss White
bda757a244bMMerge pull request #22048 from Jafaral/ci-grpc-flakytests: fix grpc topotest xdist collection mismatch in CI
Jafar Al-GharaibehJafar Al-Gharaibeh
b48f05a415epimd: fix AutoRP holdtime parsing and minor cleanupUse ntohs for received holdtime and drop a duplicate prefix-list lookup. Note in pim_socket_leave() that leave failures share the joins_failed stat counter. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Donald SharpDonald Sharp
cb4cb05b4c5doc: Note that snmptrapd needs to be installed as well.A test depends on snmptrapd being installed. Note it in our documentation. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
12b2fe80a2dtests: Cleanup test_bfd_ospf_quicknbr_topo1.pyRun black against this script. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
5af8603ea28tests: Attempt to load the sch_netem moduleThe test_bfd_ospf_quicknbr_topo1.py was not attempting to load the sch_netem module and as such was probably never being run in any topotests at all. Let's try to just modprobe the module and if it succeeds allow the test to continue. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Russ WhiteGitHubRuss White
3e747f46178MMerge pull request #22079 from anlancs/fix/zebra-vni-cleanzebra: fix missing cleaning vni entry
Donald SharpGitHubDonald Sharp
49ea81655caMMerge pull request #22010 from LabNConsulting/chopps/test-multi-edittests: add multi-edit test with commit for mgmtd
Jafar Al-GharaibehJafar Al-Gharaibeh
94abacf494atests: skip grpc_basic when FRR gRPC module is missingAfter dropping the collection-time grpc-query --check guard, CI always collected grpc_basic when Python grpc was installed, but grpc.s (frr-grpc) might not be installed. Zebra then failed to start with -M grpc and surfaced as a misleading mgmtd connection timeout. Skip the module when the northbound gRPC module is absent. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Donald SharpGitHubDonald Sharp
54454932a6aMMerge pull request #22009 from opensourcerouting/openbsd-20260520build, lib, zebra: OpenBSD fixes
Donald SharpGitHubDonald Sharp
8d66663849bMMerge pull request #22096 from Jafaral/bundle-zombietests: reap mutini zombies and skip post-teardown support bundles
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
6ecb3648221MMerge pull request #22082 from opensourcerouting/fix/bgp_dump_route_node_recordbgpd: Fix infinite loop in MRT route dump for oversized paths
Jafar Al-GharaibehJafar Al-Gharaibeh
e657efc0a01tests: make gcov coverage robust under parallel topotestsUse -fprofile-update=atomic for gcov builds and tell lcov to ignore corrupted counters so xdist runs can still produce coverage.info. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
060fd66564dtests: fail fast when --cov-topotest lacks gcov buildExit during pytest configure if no *.gcno files are found, instead of running all topotests and failing with missing GCOV_* env var KeyErrors. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Donald SharpGitHubDonald Sharp
7e651e4209bMMerge pull request #22083 from opensourcerouting/fix/rmap_flowspecbgpd: Skip route-map LPM optimisation for AF_FLOWSPEC
Donald SharpGitHubDonald Sharp
02c3c8468b8MMerge pull request #22093 from opensourcerouting/fix/move_link_bw_from_attr_extra_to_bgp_path_info_extrabgpd: Move link_bw from attr_extra to bgp_path_info_extra
Jafar Al-GharaibehJafar Al-Gharaibeh
27179921cc6tests: ignore pytest-xdist worker ids in analyze.py rerunsWhen parallel collection fails, xdist records errors named gw0, gw5, etc. analyze.py turned those into nonexistent gw5.py rerun targets. Skip worker ids so CI serial reruns only real topotest modules. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
54429f53cf3tests: drop flaky grpc collection-time --check under xdistFollow-up to ea85c7c6ff ("fix grpc_basic xdist collection mismatch"): that commit made missing grpc imports skip consistently, but the per-worker grpc-query --check subprocess could still fail on some xdist workers while others collected grpc_basic tests, aborting CI with "Different tests were collected". Rely on the import guard only; proto generation still runs when tests execute grpc-query. ...
Jafar Al-GharaibehJafar Al-Gharaibeh
b84ee3de110topotests: skip support bundle collection after topology teardownTrack topology_stopped in Topogen and skip generate_support_bundle() when teardown already ran, e.g. on module-level memleak failures. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehJafar Al-Gharaibeh
77409124096topotests: reap mutini zombies in xdist worker cleanupReap unreaped mutini/nsenter children after munet SIGKILL cleanup so pytest-xdist workers exit instead of blocking the controller. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
bbf019e8f88MMerge pull request #22095 from donaldsharp/revert_flaggingRevert "bgpd: do not flag old best as multipath when it is also the n…
Donald SharpDonald Sharp
ff0508c00dftests: Modify conditional advertisement test to show that no change happensModify the test_bgp_conditional_advertisement_track_peer.py script to ensure that the version # for a bgp prefix stays the same after a cycle of the conditional advertisement fires. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
67448a7213dRevert "bgpd: do not flag old best as multipath when it is also the new best"This reverts commit cf7311e2058e291ec633f1b1c095e096b4287685.
anlan_csanlan_cs
81e70a63501zebra: fix missing cleaning vni entryWhen the last vni mapping is removed from SVD, the `vniarray` is NULL in `interface_bridge_vxlan_vlan_vni_map_update()`. So this function will wrongly return without cleaning vni entry: ``` root@debian# bridge fdb show dev vxlan-svd 00:00:00:00:00:00 dst 66.66.66.66 src_vni 66 self permanent ``` Fix this by replacing the old vni table with one empty/new vni table, then the the last/remaining ...
Donatas AbraitisDonatas Abraitis
b4880ab0c12bgpd: Move link_bw from attr_extra to bgp_path_info_extraattr and attr_extra are "designed" for BGP attributes, but link_bw is not an actual BGP attribute, it's derived from Extended Community. Let's move it to bgp_path_info_extra. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Russ WhiteGitHubRuss White
b9ae5280eb7MMerge pull request #22059 from opensourcerouting/fix/move_srte_color_from_attrbgpd: Move srte_color from attr struct to bgp_path_info_extra
Russ WhiteGitHubRuss White
65d56be26aaMMerge pull request #21878 from donaldsharp/negative_creationIn a removal operation do not allow a creation of the route_node in bgp
Donatas AbraitisDonatas Abraitis
553f44e8bc1bgpd: Fix infinite loop in MRT route dump for oversized pathsThis is a complete fix for CVE-2016-4049. Fixes: 246556b ("bgpd: Fix buffer overflow error in bgp_dump_routes_func") Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>CVE-2016
Donatas AbraitisDonatas Abraitis
6038df7229fbgpd: Skip route-map LPM optimisation for AF_FLOWSPECReported-by: Qifan Zhang, Palo Alto Networks Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
ad953baad32bgpd: Pass bgp_path_info instead of bgp_path_info_extra when comparing bpi'sSigned-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
33d7b7b50debgpd: Move bgp_path_info_get_srte_color to bgp_route.[ch]Since srte_color is moved from struct attr, move the getter outside attr as well. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
41f63e2a993bgpd: Add bgp_path_info_extra_same helper to compare extra fieldsSince srte_color is moved from struct attr to struct bgp_path_info_extra, we need still to compare it if it's the same or not before UPDATE/WITHDRAW/LEAK, so let's do this with this new helper method. Maybe something more fields need to be checked/compared in the future. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
9d23a3a58adbgpd: Move srte_color from attr struct to bgp_path_info_extrastruct attr is used for BGP attributes, but srte_color is just encoded as an extended community. Move this srte_color member to bgp_path_info_extra struct to avoid confusions and occupying 4-bytes for attr if not needed at all. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Mark StappGitHubMark Stapp
ab2f6b0dad2MMerge pull request #22084 from donaldsharp/carrier_changeszebra: Track netlink carrier changes value
Donald SharpGitHubDonald Sharp
b984b3888a5MMerge pull request #22080 from opensourcerouting/fix/bgp_use_after_free_orfbgpd: Fix use-after-free for ORF case
Donald SharpDonald Sharp
0344252a318bgpd: Use lookup not get for VNC pdest on new route in rfapiUse lookup to avoid a get/free cycle on the removal case. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
84981371a09bgpd: Use lookup not get for VNC pdest on attr change add in rfapiUse a lookup to avoid the creation/deletion of a node in the removal case. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
270f2601930bgpd: Use lookup not get for VNC pdest on new route in bgp_updateUse a lookup to avoid a get/free cycle in the deletion case. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
84d9abbbebebgpd: Use lookup not get for VNC pdest on attr change add in bgp_updateAvoid a alloc/free cycle on the removal case by doing a lookup instead. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
a1cd1d73f2abgpd: Use lookup not get for VNC pdest on attr change delete in rfapiWhen removing a node, use lookup instead of a get/free cycle. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
0d06a675672bgpd: Use lookup not get for VNC implicit withdraw pdest in bgp_updateDo not use a get operation on withdrawal, do a lookup and only do the withdrawal if found, to avoid a alloc/free cycle. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
c3100427749bgpd: Use lookup not get for VNC pdest in del_vnc_routeSwitch to _lookup for finding the parent dest and not create and then delete the node on deletion. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
d1c663b52fabgpd: Use lookup not get for VNC withdraw pdest in bgp_rib_withdrawConvert get of the two level table into a lookup so that there is no creation/deletion of the table on withdrawal. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
3954a9e4af9bgpd: Do not create rd table if negate of network statementDo not create the rd table if in a negate operation. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Russ WhiteGitHubRuss White
9df00ece2d8MMerge pull request #21893 from donaldsharp/no_kernel_nhg_originalNo kernel nhg original
Donald SharpDonald Sharp
a9f4c379aa5zebra: Track netlink carrier changes valueTurns out netlink lets us know how many times a carrier change has happened. Keep track of it. At this point do nothing with it. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Mark StappGitHubMark Stapp
e1f40adb12aMMerge pull request #21911 from Manpreet-k0/evpn_fix_v6zebra: fix DVNI route encap type for IPv6 VTEPs
Russ WhiteGitHubRuss White
d457a68ed92MMerge pull request #21943 from donaldsharp/ldpd_cleanup_of_shutdownCleanup of memory allocation and usage of events