FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Donatas AbraitisGitHubDonatas Abraitis
d22d25c4ad5MMerge pull request #20257 from donaldsharp/use_underlay_weightsUse underlay weights
Donald SharpDonald Sharp
c1237fc1e2ftests: Add a test for the use-underlays-nexthop-weight commandThis new `featurette` needs a quick test that shows that it is working. Have a simple diamond topology with ebgp being the underlay with ebgp also having a overlay route that uses the underlays routes. Then turn on `use-underlays-nexthop-weight` and make sure that the nexthop weights are carried through, finally on r4 change the weight and ensure that r1 gets the new weight. Signed-off-by: Do...
Donald SharpDonald Sharp
748aa40cf92doc: Add documentation for the new commandsSigned-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
420f5cd60aesharpd: Add 'sharp use-underlays-nexthop-weight`Allow the operator to specify that the sharp installed route should use the underlying nexthop weight of the recursively resolved route. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
83706fe188fbgpd: Add `use-underlays-nexthop-weight` commandAdd a command: `use-underlays-nexthop-weight` This command is taken at the bgp config_node level. When it is not configured the nexthop weights programmed to zebra do not change. When it is configured if a route is being installed has weights, use that and do not ask zebra to use the underlying nexthop weights at all, use the ones sent down. If the route does not have any weights associated ...
Donald SharpDonald Sharp
531355be078zebra: Allow recursive resolution to use the underlying weightCurrently if you have a situation where a route is installed and it is resolving recursively, if the underlying nexthop group that you are resolving against has weights, add some code that allows the upper level protocol to signal that the nexthop weights should be used. Add a flag in lib/zclient.h `ZEBRA_FLAG_USE_RECURSIVE_WEIGHT` that can be passed from an upper level protocol. If this is f...
Donatas AbraitisGitHubDonatas Abraitis
e09129115deMMerge pull request #20261 from donaldsharp/some_test_fixesSome test fixes
Carmine ScarpittaGitHubCarmine Scarpitta
78d4e310d81MMerge pull request #20255 from pguibert6WIND/json_new_attribute_srv6_2bgpd: add remoteTransposedSid value in json output of vpn paths
Philippe GuibertPhilippe Guibert
23132274bd8bgpd: add remoteTransposedSid value in json output of vpn pathsThe transposed SID value is not visible from the VPN paths. > r1# show bgp ipv4 vpn 10.0.0.0/24 > BGP routing table entry for 65001:20:10.0.0.0/24, version 3 > not allocated > Paths: (1 available, best #1) > Advertised to peers: > 2001:db8:12::2 > Local > 0.0.0.0 from 0.0.0.0 (192.0.2.1) vrf Vrf20(7) announce-nh-self > Origin incomplete, metric 0, weight 32768, valid, sourced,...
Donatas AbraitisGitHubDonatas Abraitis
a3988b0c3b7MMerge pull request #20258 from donaldsharp/remove_debugs_from_topoteststests: A bunch of tests have had debug statements creep in
Donatas AbraitisGitHubDonatas Abraitis
683980c16d8MMerge pull request #20228 from Manpreet-k0/dvni_ipv4nhzebra: fix dvni nexthop install for IPv6 routes with ipv4 VTEP
Donald SharpDonald Sharp
02019dd8415tests: Ensure v6 GUA is present before continuing the testIn the bgp_ipv6_ll_peerings test it is currently adding the v6 GUA addresses on two different interfaces and the test is also configuring a bgp neighbor that should use the GUA address. It is possible on a heavily loaded system that the v6 GUA has not had time to flow through the kernel -> zebra -> bgp before bgp establishes it's peering with the neighbor. Let's ensure that the v6 address is ...
Donald SharpDonald Sharp
30f5e1209b1tests: On ospfd restart ensure it is up and runningThe ospfd daemon is restarted and the test was originally just immediately opening a connection to it via the ospfapiclient. Let's modify the test to check to see that ospfd is up and at least connected to zebra before continuing the test. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
ae64089d5e8tests: A bunch of tests have had debug statements creep inLet's go through and cleanup the tests that have had debug statements turned on and remove them. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
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