FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Donatas AbraitisGitHubDonatas Abraitis
d1135dd3f02MMerge pull request #20250 from donaldsharp/bgp_more_connection_directionbgpd: Add more connection direction debugging
Donald SharpDonald Sharp
96294d8fd4ebgpd: Add more connection direction debuggingWhen debugging issues having a bit more data about the connection direction in some situations would be useful. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Nathan BahrGitHubNathan Bahr
523a1713aa5MMerge pull request #20247 from donaldsharp/pim_dense_fixtests: Fix pim_dense
Donald SharpDonald Sharp
9d218e140d1tests: Fix pim_denseUpstream CI is failing often with this timing failure: 025-12-09 18:48:05,409 ERROR: topo: test failed at "test_pim_dense/test_pim_dense_prune_r6": Testcase test_pim_dense_prune_r6 : Failed Error: [DUT r1]: Verifying (10.100.0.2, 239.1.1.1) mroute [FAILED]!! Expected in: (iif: ['r1-eth1'], oil: none, installed: (10.100.0.2,239.1.1.1)) Found: (iif: r1-eth1, oil: pimreg, installed: (10.100.0.2,2...
Donald SharpGitHubDonald Sharp
62fcb977a0fMMerge pull request #20217 from LabNConsulting/chopps/tests-improvementsA few small improvements to topotests
David LamparterGitHubDavid Lamparter
2a0fa86961cMMerge pull request #20235 from mjstapp/fix_grpc_test
Christian HoppsChristian Hopps
723d56032e4doc: document requirement for python libyang < verison 4.Version 4 release is anticipated and won't be compatible with v3 Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
518c7c34382tests: fix incorrect log line on exceptionSigned-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
15d9e9d8dc3tests: allow adding daemons to inferred from frr.conf- Allow pasing daemon name strings rather than RD_X value - Allow just passing a daemon name string instead of a tuple of daemon and param. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
d86affb8532tests: mgmt_oper: new generated filesSigned-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
9b261af4c81tests: mgmt_oper: add missing combinations and missing gen scriptAdd missing generating script lines as well as some missing combinations of the commands (was actually missing a bug found in interface queries). These generic interface queries needed a new filter (clean_json()) to remove some auto-created linux interfaces that exist on some systems and not others (e.g., gre0, gretap0, erspan0 when gre kernel module is loaded) to keep from failing sometimes. ...
Mark StappGitHubMark Stapp
5f606029293MMerge pull request #20234 from opensourcerouting/build-fixes-20251209build: minor fixes (inet_ntop, no_sanitize, C++ strlcpy)
Mark StappMark Stapp
73a0d2bca9dtests: don't access event struct in grpc unit testUse an api instead of direct struct access in the GRPC unit-test: the struct is opaque now. Signed-off-by: Mark Stapp <mjs@cisco.com>
David LamparterDavid Lamparter
c8dfd25be93build: make `strlcpy` and co. decls C++ compatibleNeed an `extern "C"` on these so C++ links to the correct symbols. Fixes: FRRouting/frr#20199 Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Christian HoppsGitHubChristian Hopps
53de5bd187eMMerge pull request #20226 from ak503/ret_code2lib: fix nb_cli_apply_changes_mgmt() return code
David LamparterDavid Lamparter
6deb4db503dbuild: don't try no_sanitize on variables on GCCGCC doesn't support `__attribute__((no_sanitize))` on variables, only on functions. And it has started warning about it. Do it only on clang, shut up the warning. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
David LamparterDavid Lamparter
81e85844314lib: don't override inet_ntop on glibc >= 2.41For one, it collides with `_FORTIFY_SOURCE` on 2.41+, giving very strange compile errors. But for another, the performance issues with inet_ntop were actually fixed upstream. References: https://sourceware.org/git/?p=glibc.git;a=commit;h=090dfa40a5e46f7c0e4d6e8369bcbbd51267625f References: https://sourceware.org/git/?p=glibc.git;a=commit;h=80f389ed7e684582439629b264c22a84c26bfd8e Signed-off-b...
Donald SharpGitHubDonald Sharp
8992f78e984MMerge pull request #20231 from LabNConsulting/chopps/coverity-fix-2lib: northbound: fix coverity #1667734
Donald SharpGitHubDonald Sharp
e96e6a16250MMerge pull request #20187 from enkechen-panw/bgp-redistbgpd: make route redistribution deterministic
Donald SharpGitHubDonald Sharp
fede8a78849MMerge pull request #20229 from opensourcerouting/fix/yang_log_facilitylib: Print identity for log facility
Donald SharpGitHubDonald Sharp
60dc43c64ccMMerge pull request #20230 from mjstapp/fix_lib_tracelib: fix some issue with lttng tracing
Donald SharpGitHubDonald Sharp
08b73576665MMerge pull request #20223 from opensourcerouting/fix/bfd_hold_time_expire_configuredbgpd: Start BFD hold timer ONLY if hold-time is configured (not zero)
Donald SharpGitHubDonald Sharp
e884afa90dcMMerge pull request #20227 from opensourcerouting/fix/drop_deprecated_netns_cmdzebra: Drop deprecated netns command
Christian HoppsChristian Hopps
04e3646f640lib: northbound: fix coverity #1667734Check the return value of the allocation function as we do elsewhere. Signed-off-by: Christian Hopps <chopps@labn.net>
Mark StappMark Stapp
740760d7457lib: fix some issue with lttng tracingFix some issues with lttng tracing: hand event loop name as a string, disable a format-string gcc warning in the logging code. Signed-off-by: Mark Stapp <mjs@cisco.com>
Donatas AbraitisDonatas Abraitis
ccbda41b3c3lib: Print identity for log facilityInstead of printing ietf-syslog-types:local5, we should print only local5 Fixes: f90bd85 ("lib: logging: split up files for conversion to nb") Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
a9dafb14084zebra: Drop deprecated netns commandSigned-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Dmitrii TurlupovDmitrii Turlupov
820a6c62bdelib: fix nb_cli_apply_changes_mgmt() return codePreviously, when vty_mgmt_send_config_data() returned CMD_WARNING_CONFIG_FAILED, nb_cli_apply_changes_mgmt() always returns CMD_OK. Now nb_cli_apply_changes_mgmt() returns correct CMD_xxx values. Signed-off-by: Dmitrii Turlupov <turlupov@bk.ru>
Donatas AbraitisDonatas Abraitis
190756abfb4bgpd: Start BFD hold timer ONLY if hold-time is configured (not zero)The issue is that this hold timer is triggered always if hold time is not configured. We should trigger it ONLY if it's configured and not ZERO. Fixes: 04e0140 ("bgpd: Add Hold Time(r) for BFD strict mode") Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
80bcfc0ffa3bgpd: Set strict mode flag when we configure BFD hold-timerhold-timer is a part of BFD strict mode, but we missed setting the flag, and as a result we don't see "neighbor X bfd strict hold-time Y" in show running. Fixes: 04e0140c22622085927b7db44c7d8e0ed0735aff ("bgpd: Add Hold Time(r) for BFD strict mode") Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Mark StappGitHubMark Stapp
72bf3af11cbMMerge pull request #20139 from hedrok/bgp-multiple-labels-send-and-refactorlib, bgpd: Move BGP-specific funcs out of lib and refactor
Donald SharpGitHubDonald Sharp
6648e4a4eabMMerge pull request #20216 from mjstapp/epoll_update_devlib: event scheduling lib changes
Donald SharpGitHubDonald Sharp
d787d67b091MMerge pull request #20183 from opensourcerouting/fix/bgp_software_version_capability_length_check_v2bgpd: Software version old/new encoding
Donald SharpGitHubDonald Sharp
5217b10c533MMerge pull request #20208 from LabNConsulting/chopps/rpc-restconf-formatHandle RESTCONF RPC/Action input format
Mark StappMark Stapp
460c09f5a1dlib: in event lib replace array of regular fds with listReplace the fixed-size array of regular file fds with a list. This simplifies the management of the fds, and avoids some potentially costly searching and memmove'ing. Signed-off-by: Mark Stapp <mjs@cisco.com>
Donatas AbraitisGitHubDonatas Abraitis
b6583616d50MMerge pull request #20180 from raja-rajasekar/rajasekarr/ipv6_guabgpd: Fix link-local NH assignment on GUA deletion
Donald SharpGitHubDonald Sharp
262f5961c3fMMerge pull request #20209 from LabNConsulting/chopps/coverity-fixesAddress some new coverity issues
Igor RyzhovGitHubIgor Ryzhov
fc31cac07d9MMerge pull request #20207 from LabNConsulting/chopps/docker-libyang3docker: build/install latest libyang3 in ubuntu test container
Christian HoppsChristian Hopps
50a4e6080f7tests: unit-test: add rpc to test modulePreviously was only testing an action. Add RPC w/o args and w/ args to unit tests. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
85ed129192fmgmtd: fix coverity #1667683Coverity traces the free into txn_req_free() but fails to also understand the TAILQ_REMOVE() in that function, so it thinks we are freeing the same `tqh_first` element over and over again. :( Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
4b69dbbf833lib: fix coverity #1644729Check the `transaction->config` non-NULL prior to passing `transaction` to `nb_db_transaction_save()` as it assumes `config` is non-NULL. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
d7cc191bc10lib: fix coverity #1641463Use asserts and casts to inform SA to clear warning. Document valid return values as well. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
abc53463f44lib: fix coverity #1644356Value must never be NULL, don't check for it after we assumed it earlier. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
53785db3efflib: fix coverity #1644724, #1644725, #1644726, #1644727, #1644728Modify zlog_priority_str() to handle all invalid input (negative too). Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
1d144f39301mgmtd: fix coverity #1667704Was calling strerror() with negative errno value. It's always just none or -EBUSY so just elide this altogether. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
bf88d97aef9mgmtd: add restconf flag to RPC APIsFor RPCs, RESTCONF uses a different input/output data format. This needs to be flagged when calling libyang functions etc, so pass a restconf bool around to identify when this is the case. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
d6d4ad7f88elib: add support for handling RESTCONF RPC/Action input formatSigned-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
c928dce4f47mgmtd: handle exact flag for ietf-library querySigned-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
a2d88516505docker: build/install latest libyang3 in ubuntu test container- The upstream has moved to version 4. Let's update to the latest V3 for now. Signed-off-by: Christian Hopps <chopps@labn.net>
Mark StappMark Stapp
ff05cdcc153lib,bgpd,pathd: move frrevent internals into event moduleMove the core frrevent structs out of the public header file and into the event lib module. Add a couple of accessor or helper functions for internal fields; replace direct use of the structs' fields with the new helper functions. Signed-off-by: Mark Stapp <mjs@cisco.com>