FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Donald SharpGitHubDonald Sharp
4f93e4a5cb5MMerge pull request #20313 from hedrok/20310-fix-deleting-link-params-bwzebra: add CLI 'no' versions for max-bw and others
Donald SharpGitHubDonald Sharp
d3c96145ef5MMerge pull request #20312 from LabNConsulting/chopps/small-topo-fixtests: remove incorrect test code
Kyrylo YatsenkoKyrylo Yatsenko
31a0930f89czebra: add CLI 'no' versions for max-bw and othersAdd '[no]' versions for commands: * max-bw * max-rsv-bw * unrsv-bw Without these frr-reload failed after deletion of link-params with these commands. For them to work update: * lib_interface_zebra_link_params_max_bandwidth_destroy * lib_interface_zebra_link_params_max_reservable_bandwidth_destroy * lib_interface_zebra_link_params_unreserved_bandwidths_unreserved_bandwidth_destroy All three...
Christian HoppsChristian Hopps
0029da58c94tests: remove incorrect test code- Remove broken code in error path, and fix lint warn. Signed-off-by: Christian Hopps <chopps@labn.net>
Philippe GuibertGitHubPhilippe Guibert
89ac8e491cbMMerge pull request #19981 from cscarpitta/fix/fix_srv6_ua_nexthop_resolutionstaticd: Fix SRv6 uA SID installation
Donatas AbraitisGitHubDonatas Abraitis
2232e2b41eeMMerge pull request #17117 from enkechen-panw/zfix-1zebra: notify nht client about protocol type change
Donatas AbraitisGitHubDonatas Abraitis
0020ebd66bfMMerge pull request #19786 from pguibert6WIND/rmap_encapsulation_gretaproute-map encapsulation gretap
Donatas AbraitisGitHubDonatas Abraitis
344da7b0d6cMMerge pull request #20263 from donaldsharp/bgp_peer_connection_changesBgp peer connection changes
Donatas AbraitisGitHubDonatas Abraitis
0c82961c58bMMerge pull request #20269 from drosarius/tests/rip-default-metrictests: add topotest for setting RIP default-metric
Donatas AbraitisGitHubDonatas Abraitis
42bc1f2ef02MMerge pull request #20293 from raja-rajasekar/rajasekarr/coverity1bgpd: Fix Coverity analysis
Soumya RoyRajasekar RajaSoumya Roy
0a5271b870ebgpd: Fix Coverity analysisThis fixes coverity warning: Assigning value "NULL" to "pfx" here, but that stored value is overwritten before it can be used Removed unnessary NULL assignement to const struct prefix *pfx - The line pfx = NULL; assigns NULL to the variable - Immediately after, the very next statement checks a condition and overwrites pfx with a different value - The NULL value is never actually used - ...
Donatas AbraitisGitHubDonatas Abraitis
a172cee1123MMerge pull request #20051 from remram44/doc-evpndoc: Expand some of the acronyms in EVPN page
Donatas AbraitisGitHubDonatas Abraitis
ff4df34c1aaMMerge pull request #20096 from soumyar-roy/soumya/ra_related_fixzebra: ra lifetime and interval check
Donatas AbraitisGitHubDonatas Abraitis
a797f51262dMMerge pull request #20211 from mike-dubrovsky/fix-nht-lock-leakbgpd: Fix route node lock leak in NHT resolved prefix marking
Donatas AbraitisGitHubDonatas Abraitis
49247cc9323MMerge pull request #20237 from soumyar-roy/soumya/snprintf_buffer_overflowlib: Fix snprintf buffer overflow in PTM CSV encoding
Donatas AbraitisGitHubDonatas Abraitis
a2bb3829d27MMerge pull request #20239 from Pdoijode/pdoijode/remaining-gr-commitsbgpd: Additional commits for graceful restart
Carmine ScarpittaCarmine Scarpitta
e80a38a1395doc: Add documentation for Zebra Neigh APISigned-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Carmine ScarpittaCarmine Scarpitta
633e2d7893atests: Add test cases to verify nexthop resolution for SRv6 uA SIDs- Add a new router, r2, to the topology and connect it to r1. - On r1, create a uA SID associated with the interface between r1 and r2. Verify that the nexthop is resolved correctly and the SID is properly installed in the RIB. - Bring down the interface between r1 and r2 to simulate a neighbor down event. Ensure the SID is removed from the RIB since the neighbor is no longer available....
Carmine ScarpittaCarmine Scarpitta
4ecc7a793cbstaticd: Only set flag when the SID is actually sent to zebraIn several places, staticd calls `static_zebra_srv6_sid_install` and then immediately sets the `STATIC_FLAG_SRV6_SID_SENT_TO_ZEBRA` flag. However, this is unnecessary because the flag is already set within `static_zebra_srv6_sid_install` just before the function returns. Moreover, explicitly setting `STATIC_FLAG_SRV6_SID_SENT_TO_ZEBRA` after calling `static_zebra_srv6_sid_install` - without ch...
Carmine ScarpittaCarmine Scarpitta
2139861123fzebra: Remove the nexthop resolution logic from the SRv6 SID ManagerSince nexthop resolution is already performed by staticd, there is no need to duplicate this logic in the SRv6 SID Manager. This commit removes the nexthop resolution logic from the SID Manager. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Carmine ScarpittaCarmine Scarpitta
f849253792cstaticd: Send neighbor discovery messages to verify stale neighborsWhen there is no traffic to a neighbor for some time, the Linux kernel may mark that neighbor as STALE, indicating the entry is valid but possibly outdated. This commit updates staticd to handle this scenario as follows: - When a neighbor becomes stale, staticd triggers a neighbor discovery message to check if the neighbor is still reachable. The Linux kernel sends this message. - If the ...
Carmine ScarpittaCarmine Scarpitta
b8fc3f649f7staticd: Do not attempt to install SIDs when nexthop is unavailableWhen staticd receives a notification that an interface has come up, it iterates over all SIDs and attempts to install each one in the RIB by calling static_zebra_srv6_sid_install. However, if a SID requires nexthop resolution and the nexthop has not yet been resolved (because no nexthop is currently available), attempting installation is unnecessary and will fail. This commit adds a check to ...
Carmine ScarpittaCarmine Scarpitta
064aa130952staticd: Cleanup all associated neighbors on interface downWhen staticd receives a notification that an interface has gone down, it should remove all neighbors associated with that interface. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Carmine ScarpittaCarmine Scarpitta
d57689dcec4staticd: Handle neighbor add and neighbor delete notificationsThis commit introduces the following behavior: - When staticd receives a notification about a new neighbor, it adds the neighbor to the neighbor table and checks if any SIDs requiring nexthop resolution are waiting for this neighbor to become available. If so, staticd installs all of these SIDs in the RIB. - When staticd receives a notification that a neighbor has been deleted, it remo...
Carmine ScarpittaCarmine Scarpitta
4df7de3fc92staticd: Use resolved nexthop for SIDs that require nexthop resolutionIn staticd, you can create a uA SID using the following CLI: ``` segment-routing srv6 static-sids sid fcbb:bbbb:fe10::/48 behavior uA interface eth10 [nexthop 2001::2] ``` The nexthop parameter is optional. - If a nexthop is provided, staticd stores it in `sid->attributes.nh6`. - If a nexthop is not provided, staticd resolves the nexthop and stores it in `sid->attributes.resolved_nh6...
Carmine ScarpittaCarmine Scarpitta
7dfd8cfac10staticd: Register and unregister for neighbor notificationsThis commit implements the following behavior: - When a user configures a SID that requires nexthop resolution, staticd registers for neighbor notifications (if not already registered) and increments the counter of SIDs requiring nexthop resolution. - When a user removes a SID that required nexthop resolution, staticd decrements the counter and unregisters from neighbor notifications i...
Carmine ScarpittaCarmine Scarpitta
b6baf83e907staticd: Set a flag to indicate that a SID requires nexthop resolutionIn staticd, you can create a uA SID using the following CLI: ``` segment-routing srv6 static-sids sid fcbb:bbbb:fe10::/48 behavior uA interface eth10 [nexthop 2001::2] ``` When a user configures a uA SID without specifying the nexthop, staticd should set the STATIC_FLAG_SRV6_SID_NEEDS_NH_RESOLUTION flag. This flag indicates that the SID requires nexthop resolution before it can be insta...
Carmine ScarpittaCarmine Scarpitta
eb43e0059eestaticd: Add infrastructure to track neighborsThis commit adds infrastructure to track neighbors of interest and store their information. Neighbor information includes: - The interface to which the neighbor is attached - IP address - State (e.g., reachable, stale, etc.) Future commits will extend staticd to retrieve neighbor information from zebra and populate the neighbor hash table accordingly. Signed-off-by: Carmine Scarpitta <cscarp...
Carmine ScarpittaCarmine Scarpitta
d4f40bb1ffclib: Add zclient API to request neighbor informationThis commit introduces a zclient API that enables daemons to request neighbor information for a specific interface from zebra. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
Carmine ScarpittaCarmine Scarpitta
b7df0227b7azebra: Handle ZEBRA_NEIGH_GET message typeWe have a ZAPI message type, ZEBRA_NEIGH_GET, but it is currently not handled by zebra. This commit extends zebra to handle ZEBRA_NEIGH_GET, allowing daemons to request and retrieve information about neighbors on a specific interface. Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
drosariusdrosarius
72e93c39b55tests: add topotest for setting RIP default-metricSigned-off-by: drosarius <dustin.rosarius@gmail.com>
Pooja Jagadeesh DoijodePooja Jagadeesh Doijode
45cf4b17b53bgpd:send EOR during GR only when fib install comeplete for wfi routesCurrently during GR, EOR is sent to neighbor prematurely for wfi enabled case. below fix has be implemented. keep a counter to track the routes installed in FIB.Increamnet counter when bgp send route install to zebra, decreamnet counter when fib install ack to received from zebra in bgp.when this count reaches zero and route deferred count is 0 ad gr route syn pending is set, then do further pr...
Donald SharpDonald Sharp
709597cb6d2bgpd: Change bgp_peer_reg_with_nht to be connection basedThis function really is connection based, let's convert it over to connection based. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
e25ed387a4abgpd: bgp_replace_nexthop_by_peer is connection orientedLet's switch this function over to being connection oriented instead of peer oriented. Since that is what it is doing. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Russ WhiteGitHubRuss White
c83057cd767MMerge pull request #20236 from drosarius/tests/rip-delete-instancetests: add topotest for deleting rip instance
Russ WhiteGitHubRuss White
b950ad22a0cMMerge pull request #20213 from diego-lopez8/ospfd-fix-vlink-abr-guardospfd: fix bug allowing vlink creation on non-ABRs
Donatas AbraitisGitHubDonatas Abraitis
d69a4263382MMerge pull request #20268 from Pdoijode/pdoijode/bgp-evpn-jsonbgpd: correction in json output structure for no data case
Donatas AbraitisGitHubDonatas Abraitis
d22d25c4ad5MMerge pull request #20257 from donaldsharp/use_underlay_weightsUse underlay weights
Sindhu Parvathi GopinathanPooja Jagadeesh DoijodeSindhu Parvathi Gopinathan
a8f1785c2b8bgpd: correction in json output structure for no data caseProblem: The VTYSH JSON output is not in the proper format when bgp l2vpn-evpn information is missing or not populated for a given vni-id. This results in a malformed JSON structure, which causes a parsing error. Fix: Corrected the JSON output structure generated during command execution to properly handle cases where no bgp l2vpn-evpn data is available for a given vni-id. Before Fix: ``` {...
Rajasekar RajaPooja Jagadeesh DoijodeRajasekar Raja
8c74e8987cdbgpd: backpressure - decouple with GRDecoupling GR and backpressure i.e. in case GR is kicked in, the deferred best path selection will continue its normal flow of BGP installing/uninstalling routes directly into zebra rather than applying backpressure logic of processing it later. Signed-off-by: Rajasekar Raja <rajasekarr@nvidia.com>
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