FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Donald SharpGitHubDonald Sharp
b2a44073cb2MMerge pull request #20244 from mjstapp/move_json_includes*: only include frr json.h where needed
Mark StappGitHubMark Stapp
c7765fd7cf7MMerge pull request #20254 from donaldsharp/spelling_errors_have_krept_inSpelling errors have krept in
Donald SharpDonald Sharp
3120f4cfcaamgmtd: Let's spell initial correctlySpelled incorrectly, let's fix. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
4614fa30b8dmgmtd, tests: Spell daemons correctlyThis is misspelled in a couple of places, let's fix. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
9fe6755607bdoc, tests: Fix spelling of recievedreceived was spelled wrong in a couple of spots lets fix. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpGitHubDonald Sharp
5359428cd09MMerge pull request #20242 from kaffarell/vtysh-clear-commandvtysh: implement clear command
Donald SharpGitHubDonald Sharp
48870764ab8MMerge pull request #20251 from LabNConsulting/chopps/small-fixesA few small fixes (mgmtd/northbound) from a separate project.
Donald SharpGitHubDonald Sharp
24dddcc6522MMerge pull request #20253 from opensourcerouting/fix/do_not_send_updates_on_disabled_networksripd: Do not send updates on disabled networks
Mark StappGitHubMark Stapp
ac3ade1a4abMMerge pull request #20218 from hedrok/bgp-multiple-labels-sendbgpd: Support sending multiple labels in BGP-LU + topotest
Donatas AbraitisDonatas Abraitis
dbb6f662551tests: Check if RIP updates are not sent if the network is not listedSigned-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Donatas AbraitisDonatas Abraitis
f1e96a0d105ripd: Do not send redistributed networks if interface is not enabledThe neighbor command triggers unicast RIP updates even if the underlying interface is not enabled via the network command, causing routing leakage. No RIP packets should be sent. The interface is not enabled via network, so it should remain silent regardless of neighbor configuration. Cisco, Juniper, Bird, etc. prevents this behavior, let's be consistent with others too. Signed-off-by: Donat...
Donatas AbraitisGitHubDonatas Abraitis
d1135dd3f02MMerge pull request #20250 from donaldsharp/bgp_more_connection_directionbgpd: Add more connection direction debugging
Christian HoppsChristian Hopps
2f843afc728lib: add extern available variadic zlog functionThis is needed to use FRR logging functionality from non-C languages (e.g., rust) which cannot use the inline variant, and cannot construct the va_list arg. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
1cc15bd60a4lib: fix for leaf in the root of moduleThis fixes a problem with handling modules which have a leaf nodes at the root (and so snode->parent == NULL). Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
6aaad861401mgmtd: fix edit error value to be proper (-) errno.We need to map mgmt_result to `-errno` which we label `error` here. As this is what is expected to be found in the `mgmt_msg_error->error` field. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
b7f7524b417mgmtd: remove unused arguments- also match the other uppercasing on the error tag. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
104c6e249cbtests: cleanup identifier names in fe_client.pyalso remove unneeded __init__.py file it messes up pylint when importing from the same directory in a script file. Signed-off-by: Christian Hopps <chopps@labn.net>
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>
Mark StappMark Stapp
e1b33ff2d20*: only include frr json.h where neededRemove our json.h header from some high-use lib headers, and include it where it's needed. Also avoid the libjson-c typedefs in some of our apis. Signed-off-by: Mark Stapp <mjs@cisco.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...
Kyrylo YatsenkoKyrylo Yatsenko
b591be06644bgpd: Support sending multiple labels in BGP-LUAdd multiple label support in bgp_attr_stream_put_labeled_prefix Signed-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Kyrylo YatsenkoKyrylo Yatsenko
b90d744e2b1tests: Test sending multiple labels in BGP-LUSigned-off-by: Kyrylo Yatsenko <hedrok@gmail.com>
Gabriel GollerGabriel Goller
6c02b6871fadocs: add clear command descriptionSigned-off-by: Gabriel Goller <g.goller@proxmox.com>
Gabriel GollerGabriel Goller
b1471b91815vtysh: implement clear commandImplement clear command that does kind of the same as C-l. The only difference is that it also clears the visible line, so that the line with the "clear" command invocation also vanishes. Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
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>