FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Russ WhiteGitHubRuss White
374419cfea2MMerge pull request #20166 from mjstapp/json_incrementallib, zebra: support incremental json output [Draft]
Donatas AbraitisGitHubDonatas Abraitis
e6fb2a6e573MMerge pull request #20056 from soumyar-roy/soumya/bgp_bestpath_use_localbgpd: Use src path attr under a knob, for bestpath calculation
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
ff2516b755aMMerge pull request #19299 from opensourcerouting/pim-filter-rmappimd,pim6d: implement PIM join filtering
Rafael ZalamenaRafael Zalamena
fc97b9f6c2atests: new test for PIM filteringImplement tests for the new PIM join route-map filtering. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Donald SharpGitHubDonald Sharp
8829b13ab40MMerge pull request #20596 from LabNConsulting/chopps/mgmtd-fixesmgmtd: fix xpath prefix matching, and a NULL ptr deref
Donald SharpGitHubDonald Sharp
008a6c1871cMMerge pull request #20597 from LabNConsulting/chopps/new-munetupdate munet to latest version 0.17.2
Rafael ZalamenaRafael Zalamena
1a0cbdf7702doc: document new PIM filtering commandsDocument the command `join-filter route-map RMAP_NAME` for both PIM and PIMv6. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael ZalamenaRafael Zalamena
fadd2c11e80pimd,pim6d,yang: support filtering PIM joinsNew configuration for selecting a route map to filter PIM joins. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael ZalamenaRafael Zalamena
3d50a52cc60lib: fix route map multicast interface outputMulticast interface doesn't belong to any IP type and the commands don't have the IP specification either. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Christian HoppsChristian Hopps
ca511af1091tests: use munet provided `wait_for_match()` function- The previous `scan_for_match()` function used the timeout object incorrectly, and the new version of munet exposed this. Just swap out the custom local scanning function for the munet provided version. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
9456a3675e4tests: update munet to latest version 0.17.2**Infrastructure** - Removed truncation of debug-level stdout/stderr in logging (better for triaging issues) **Timeout Class Improvements** - Reversed `Timeout().__bool__()` logic - `True` now means expired, enabling cleaner code: `while not timeout: ...` **WatchLog Improvements** - New synchronous `wait_for_match()` method - Option to not update content during `snapshot()` calls - `snapshot_...
Donatas AbraitisGitHubDonatas Abraitis
10c73ac952aMMerge pull request #20593 from enkechen-panw/bgp-aspath-loopbgpd: fix update-group issues with sender-aspath-loop-detection
Christian HoppsChristian Hopps
5f29a91d1e9mgmtd: fix xpath prefix matching problem- Restrict prefix matching to path segment boundaries ('/' and ':'). - We want want `/aa/bb` to match `/aa/bb/cc` but not `/aa/bbzzz/cc` as it was doing previously. - Also, during init-config don't call the generic function that scans through all prefix maps to gather all clients to then check the result for the initializing client presence. Instead just scan for the initializing client and re...
Christian HoppsChristian Hopps
5882bcff8aemgmtd: lib: improve some mgmtd debug logs- add a couple debugs for notify_filters updates. - improve debug on mgmt_be_interested_clients() from triaging experience. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
482d11c325clib: printfrr: add `d` (darr) option to %pSA (print string array)- Add a `d` option to allow passing a darr of strings so no array length is required. Signed-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
0631888274clib: darr: protect some macro args against multiple evalSigned-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
10ffeb3bab7lib: handle NULL tree returned from oper state walkSigned-off-by: Christian Hopps <chopps@labn.net>
Christian HoppsChristian Hopps
962611a878ctests: mgmtd: fix a couple test issues- tests: remove erroneous trailing from sysctl command '\n' - mgmtd: add missed cleanup in mgmtd test client Signed-off-by: Christian Hopps <chopps@labn.net>
Enke ChenEnke Chen
1dadaed1fd4bgpd: handle changes to sender-aspath-loop-detectionWhen the config changes, the update-group needs to be adjusted. The simplistic approach, e.g., resetting the peer, is taken for this once-only event. Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
Enke ChenEnke Chen
897d98af189bgpd: fix update-group issues with sender-aspath-loop-detectionWhen the config is enabled, the remote-as needs to be identical for peers in an update-group as it impacts outbound updates. Currently the remote-as is included in updgrp_hash_key_make(), but it is missing in updgrp_hash_cmp(). As the config impacts outbound updates, we cannot mix peers with the config and the ones without the config in an update-group. Currently the flag PEER_FLAG_AS_LOOP_DET...
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
91b08c1965dMMerge pull request #20577 from donaldsharp/pim_test_registers_with_no_pathpimd, tests: Add pim test showing that registers work with no path -> rp
Donatas AbraitisGitHubDonatas Abraitis
a404039089bMMerge pull request #20590 from chiragshah6/evpn_dev5bgpd: fix spell check in various files
Chirag ShahChirag Shah
b230e2c0d01bgpd: fix spell check in various filesSigned-off-by: Chirag Shah <chirag@nvidia.com>
Mark StappGitHubMark Stapp
bb72a688d67MMerge pull request #20568 from donaldsharp/zebra_rnh_fixuptests: Allow connected routes to come up in zebra_rnh_testing
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
f1683f46023MMerge pull request #20586 from donaldsharp/pim_fixespimd: Immediately remove the join/prune from the nbr on ifp change, gdb macros update
Donald SharpDonald Sharp
34116998211pimd: Fix race condition on transitioning to joinI'm seeing the test_pim_no_path_to_rp.py fail very rarely. This test sets up both a S,G sender and a *,G receiver on the same route. When certain conditions are hit pim does not converge on the correct state. Upon examination of the output we are seeing this race condition: Working: S,G stream seen *,G igmp join seen state transitions from NotJoined -> Joined Not Working: *,G igmp join se...
Donald SharpDonald Sharp
9bbf4b49d5ftests: Add a test for pim that shows that registers work with no path to rpAdd a test that creates a test router r1 that does not actually have a path to the rp at first, start a *,G and a S,G stream on r1 and *then* introduce the ability to actually reach the RP. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
e7e75c3d714pimd: Immediately remove the join/prune from the nbr on ifp changeWhen the outgoing interface for a upstream is changed, for whatever reason, the upstream was not always being removed from the j/p agg list. This leaves situations where we send the wrong data to our neighbors as part of the consolidated sending of j/p's to the neighbor. Let's just immediately remove it from the interface's list when this happens. There are paths where the removal is not pro...
Donald SharpDonald Sharp
edc45309aabgdb: Fix the dump_pim_jp_agg_listThis was not working properly for some reason. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
fd43efb728cgdb: Add a dump_pim_neighbor gdb macroThis was missing, let's add it in. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
de726eece18MMerge pull request #20576 from donaldsharp/sg_rpt_prune_uptimepimd: Keep track of how long the S,G rpt Prune has been around
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
5579470ede2MMerge pull request #20575 from donaldsharp/send_register_in_fhr_lhr_caseSend register in fhr lhr case
Donald SharpDonald Sharp
f41e730e082pimd: Allow for FHR to send register in some casesWhen a FHR is also a LHR, and the S,G upstream is created before any multicast packets for the S,G have flown, we need to be able to let the pim state machine handle the registration towards the RP. Modify the code to notice that packets are flowing on the S,G stream and that we are a LHR. This will allow us to send register messages when this happens, to allow other parts of the *,G tree par...
Donald SharpDonald Sharp
7b77a5f7a53lib: Fix if_lookup_by_address to work with v6This function was modified to allow you to use v4/v6 but the last step to allow this to work under v6 was never taken. Let's rectify that. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpGitHubDonald Sharp
75e0727db93MMerge pull request #20558 from y-bharath14/srib-yang-V3yang: Fix pyang errors in frr-filter.yang
Donald SharpDonald Sharp
d397f86e90apimd: Keep track of how long the S,G rpt Prune has been aroundThe S,G rpt prune ifchannel was not tracking uptime. Let's do so. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Soumya RoySoumya Roy
ffc585147batests: add test for 'bgp bestpath use-imported-attributes' configAdd test to verify that 'bgp bestpath use-imported-attributes' works correctly with VRF route leaking and AS path manipulation via route-maps. Signed-off-by: Soumya Roy <souroy@nvidia.com>
Soumya RoySoumya Roy
3fa5cd1e0f0bgpd: use destination path attribute under a configWhen a BGP route is leaked from source VRF foo to destination VRF bar, a route-map can be configured to strip off AS path attributes during the import process. Consider a scenario, a route in VRF foo has an AS path length of 5 hops. After the route-map strips certain ASes during the leak to VRF bar, the resulting route/path has an AS path length of 1 hop. The problem occurs during bestpath sele...
Donald SharpDonald Sharp
0f42293213btests: Allow connected routes to come up in zebra_rnh_testingThis topotest is failing locally for me occassionally because the sharp installation of routes can happen before the connected routes nexthop is provably there by zebra. Since sharpd has no retry mechanism this test will fail occassionally. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Y BharathY Bharath
2defe0ef359yang: Fix pyang errors in frr-filter.yangFix pyang errors in frr-filter.yang Signed-off-by: y-bharath14 <y.bharath@samsung.com>
Donatas AbraitisGitHubDonatas Abraitis
db28ded6046MMerge pull request #20525 from hedrok/20514-fix-zebra-crash-inactive-vrf-and-import-tablezebra: fix crash on inactive VRF and import table
Donatas AbraitisGitHubDonatas Abraitis
a0540288e3cMMerge pull request #20555 from enkechen-panw/bgp-rm-parambgpd: remove unused argument in bgp_adj_out_unset_subgroup()
Donatas AbraitisGitHubDonatas Abraitis
c0459758288MMerge pull request #20554 from ashred-lnx/fix/bgp-ibuf-work-sizebgpd: reduce ibuf_work ring buffer size
Soumya RoySoumya Roy
1fe76c41bb0bgpd: use local path attribute for imported paths under a configAdd new configuration to select between source or imported path attributes during bestpath comparison for imported routes. Default uses source attributes; configuration enables imported attributes Signed-off-by: Soumya Roy <souroy@nvidia.com>
Enke ChenEnke Chen
3ec8c5ae9d3bgpd: remove unused argument in bgp_adj_out_unset_subgroup()Just code clean up, no functional impact. Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
Ashwini ReddyAshwini Reddy
2e172f01145bgpd: reduce ibuf_work ring buffer sizeRestore the size reduction for ibuf_work after the allocation moved to bgp_peer_connection_new. This aligns with the original size-reduction commit (fe1c72a573, cherry-pick 91e95112e8) and avoids the 10x sizing from e27bf2b9bd6 in the new allocation site. History: - fe1c72a573 / 91e95112e8: reduce ibuf_work ringbuf size - e27bf2b9bd6: introduce bgp_peer_connection_new allocation Signed-off-by...
Mark StappMark Stapp
0bd43b54342zebra: incremental json output for "show evpn mac vni all"Add example incremental json output support for the "show evpn mac vni all" and "detail" commands. Add the top-level json object to the iteration hash context object; ensure that the top container and intermediate evpn and mac list containers are "open" during the iterations; emit output periodically; close the evpn-level containers at the end of iteration; close and flush the top-level contain...
Mark StappMark Stapp
c237e34e211zebra: correct show handler function argsDon't use a void* when the only argument is a vty*. Signed-off-by: Mark Stapp <mjs@cisco.com>
Mark StappMark Stapp
2231264d73atests: update topotest to use consistent jsonUse a consistent json output (outer container, one container per vrf) for zebra nexthop-groups. Signed-off-by: Mark Stapp <mjs@cisco.com>
Mark StappMark Stapp
8e6f32d79d6doc: Add dev doc about the incremental json output apisAdd some doc about the new json lib apis for incremental output. Signed-off-by: Mark Stapp <mjs@cisco.com>