FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Philippe GuibertGitHubPhilippe Guibert
593ad76f993MMerge pull request #18309 from chdxD1/fix/zebra-evpn-vrfzebra: use nexthop instead of route vrf_id for EVPN
Mark StappGitHubMark Stapp
6b939c6f20aMMerge pull request #18731 from donaldsharp/no_returns_some_more*: Allow returns to work with --enable-undefined-behavior
Donald SharpGitHubDonald Sharp
99f6f32dde5MMerge pull request #18730 from y-bharath14/srib-tests-v14tests: Proper handling of resource allocation
Christopher DziombaChristopher Dziomba
6288875e426zebra: free nl batch buffer on terminationThe nl batch buffer was destroyed too early when a netns was terminated. Now freeing the buffer later in router_terminate allows netlink messages to be still processed. Signed-off-by: Christopher Dziomba <christopher.dziomba@telekom.de>
Donald SharpDonald Sharp
d7e19c604ff*: Allow returns to work with --enable-undefined-behaviorIf you have undefined behavior compilation checking gcc starts to complain about a bunch of places that do not have return's. When most of them actually do and we have the assert's to prove it. I'm just doing this to make the compiler happy for me, so I can continue to do work. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Russ WhiteGitHubRuss White
fc21c74db5dMMerge pull request #18704 from Pdoijode/pdoijode/zapi-cancel-new-acceptzebra: Cancel new client accept events after zsock is closed
Y BharathY Bharath
954843a8daatests: Proper handling of resource allocationEnsure proper handling of resource allocation Signed-off-by: y-bharath14 <y.bharath@samsung.com>
Christopher DziombaChristopher Dziomba
fd975adfa1ctopotests: add evpn vrf route leaking testAn additional VRF, 102, is introduced on both routers, importing r1 routes from VRF 101 into VRF 102 on r2 and vice versa (both on r2, because r1 is in netns mode and can not use route import). RMACs and ping (from VRF 101 to VRF 102 on r1, going through r2) is then checked. All RMACs are created deterministically, using 52:54:00:00:<router>:<vrf> to ease debugging and checks. Signed-off-by:...
Christopher DziombaChristopher Dziomba
ec06de8403fzebra: use nexthop instead of route vrf_id for EVPNToday zebra tracks EVPN vtep_ips in the L3-VNI of the route_entry. Leaking routes in bgpd and using different RMACs on the remote side for different L3-VNIs for a single VTEP leads to updates in the leak destination VRF which is not desired. Zebra gets the source VRF in vrf_id of the nexthops. This nexthop vrf_id is now used for adding/ updating/deleting the l3vni nexthop. Signed-off-by: Chris...
Pooja Jagadeesh DoijodePooja Jagadeesh Doijode
7a935bb1ad1zebra: Change zserv_accept to use global zsock FDProblem: Zebra crashed while going down. This happened because zebra was trying to process a new client accept request after closing ZAPI's listener socket zsock and setting it to -1. Fix: Skip rescheduling zserv_accept() and accepting a new client if global ZAPI listener socket FD, zsock is already closed and set to -1. Also use global ZAPI listener socket FD zsock in zserv_accept() instead o...
Mark StappGitHubMark Stapp
083893dfbb1MMerge pull request #18690 from karthikeyav/multipath_num_check_nhg*: Fix MULTIPATH_NUM check in nhg encode
Donald SharpGitHubDonald Sharp
217a90ee092MMerge pull request #18720 from mjstapp/compile_wnoreturn*: enable the missing-noreturn compiler warning
Donatas AbraitisGitHubDonatas Abraitis
dd42058c162MMerge pull request #18709 from donaldsharp/nhe_afi_maxzebra: Display nhg's afi as `No Afi`
Donatas AbraitisGitHubDonatas Abraitis
43b16a5e221MMerge pull request #18708 from louis-6wind/rework_bgp_evpn_rt5topotests: clarify bgp evpn rt5
Mark StappMark Stapp
015772475d6build: missing-noreturn warnings are errorsRemove the temporary 'no-error' for the newly-added warning. Signed-off-by: Mark Stapp <mjs@cisco.com>
Mark StappMark Stapp
098d692b6f4*: expose and clean up 'noreturn' functionsEnable the -Wmissing-noreturn warning, and resolve warnings for gcc and clang. Add a FRR_NORETURN macro and use that for the new changes. Signed-off-by: Mark Stapp <mjs@cisco.com>
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
1b0bac0e689MMerge pull request #18652 from donaldsharp/pim_ssmpingdFix Pim ssmpingd
Mark StappGitHubMark Stapp
4da04350df3MMerge pull request #18716 from y-bharath14/srib-yang-v11yang: Fix pyang errors in frr-interface.yang
Louis ScalbertLouis Scalbert
b7ffa507771tests: bgp_evpn_rt5 test match evpn vni0d5bd461af commit was supposed to check that route-map "match evpn vni" was working by adding a r3 router that injected prefixes with VNI 102. A route-map on r1 was filtering r3 prefixes. However, the test was working even after removing r3. A check was needed without the route-map to check that r3 prefixes were received before applying the filter. Test "match evpn vni" route-map filtering app...
Louis ScalbertLouis Scalbert
38145c2db17tests: bgp_evpn_rt5 rename router variablesin order to identify which router we are talking about. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Louis ScalbertLouis Scalbert
b5519b6bbb5tests: bgp_evpn_rt5 reformat configuration commandsReformat configuration commands in human readable style. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Louis ScalbertLouis Scalbert
45a629bf1ebtests: bgp_evpn_rt5 rename vrfsNo need to prefix with the router name. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Louis ScalbertLouis Scalbert
e0045dcaa1etests: bgp_evpn_rt5 re-address rd and rtRe-address Route-Distinguisher and route-targets for clarity. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Louis ScalbertLouis Scalbert
1c00abca530tests: bgp_evpn_rt5 don't check for file presenceThey are always there. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Louis ScalbertLouis Scalbert
4df5bf09c65tests: bgp_evpn_rt5 reformat setup_moduleCosmetic change for clarity Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Louis ScalbertLouis Scalbert
48e34275ea0tests: bgp_evpn_rt5 remove useless switchesThey are not used. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Louis ScalbertLouis Scalbert
49c2dd51181tests: bgp_evpn_rt5 re-address overlayfor clarity Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Louis ScalbertLouis Scalbert
6d57cb46673tests: bgp_evpn_rt5 re-address underlayfor clarity. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Louis ScalbertLouis Scalbert
30063c35535tests: remove r3 from bgp_evpn_rt5It is not used at all. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Y BharathY Bharath
927c5c2a4abyang: Fix pyang errors in frr-interface.yangFix pyang warnings and errors in frr-interface.yang Signed-off-by: y-bharath14 <y.bharath@samsung.com>
Jafar Al-GharaibehGitHubJafar Al-Gharaibeh
c3c46adf165MMerge pull request #18672 from usrivastava-nvidia/masterpimd: Fix for crash during networking restart
Donald SharpChristian HoppsDonald Sharp
143f1dfc9cadocker: add ssmping to the the ubuntu docker imagesssmping is missing from our docker builds. Let's add it so that topotests can run correctly. Signed-off-by: Donald Sharp <sharpd@nvidia.com> Signed-off-by: Christian Hopps <chopps@labn.net>
Donald SharpDonald Sharp
ebe34582888doc: Document new test dependancyssmping is needed to test the ssmpingd in the pimd daemon. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpDonald Sharp
3b780b023a4tests: Add a simple ssmping test to the systemThere are no tests that attempt to cover the ssmpingd functionality in pimd. Add a very very simple test case. This test requires the ssmping package to be installed. Signed-off-by: Donald Sharp <donaldsharp72@gmail.com>
Donald SharpDonald Sharp
f5de14db8e8tests: Convert pim_basic to use integrated configurationSince I am in this test, modifying it let's just convert it to a integrated configuration. Signed-off-by: Donald Sharp <donaldsharp72@gmail.com>
Donald SharpDonald Sharp
23fcf313587pimd: Allow ssmpingd command to work for pimCommit: 1c56018f66723a5ea478f0d6607a8f81f4d6ada5 broke the ssmpingd implementation in pim. This is because it just completely botched the bind to the correct port and address. Signed-off-by: Donald Sharp <donaldsharp72@gmail.com>
Donald SharpDonald Sharp
8875befc7f8zebra: Display nhg's afi as `No Afi`When displaying `show nexthop-group rib` the afi displayed for Nexthop Groups ( not singletons ) is `bad-value` which while true to the specific of the AFI it's not necessarily what we want to display to the end operator. Add a wrapper function for nhg's to do the right thing. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Utkarsh Srivastavausrivastava-nvidiaUtkarsh Srivastava
b88cce23304pimd: Fix for crash during networking restartDuring vrf delete, the vxlan_info.work_list linked list was deleted which is a global list containing the SGs for all the VRFs. If two vrfs are configured, vrf a and vrf b and both has SGs assocaited with them which are inserted in the vxlan_info.work_list. Now if vrf a is deleted, it deletes the work_list also. Due to this when any SG add or del comes for vrf b it tries to access the work_lis...
Donald SharpGitHubDonald Sharp
827e1d69b93MMerge pull request #18691 from valentinbinotto/valentin-devdoc: state correct default behaviour of VTYSH_PAGER env if unset (vtysh manpage)
Philippe GuibertGitHubPhilippe Guibert
f7ae2c17ea2MMerge pull request #18677 from chdxD1/fix-rmac-nhlistzebra: add vtep_ip to rmac nh_list in all cases
Donatas AbraitisGitHubDonatas Abraitis
0ffed03d4acMMerge pull request #16836 from cscarpitta/feature/srv6-show-sidszebra: Add CLI to display SRv6 SIDs allocated
Donatas AbraitisGitHubDonatas Abraitis
3e647e71d55MMerge pull request #18656 from leonshaw/evpn-strip-ecombgpd: Clean extended communities for VRF routes imported from EVPN
Donatas AbraitisGitHubDonatas Abraitis
a4af12134e9MMerge pull request #18703 from donaldsharp/line_vtydoc: line vty was not documented
Donald SharpDonald Sharp
06dd473602cdoc: line vty was not documentedTry to document the sub-node `line vty` and what it can do. Call out the distinction between vtysh and VTY. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Donald SharpGitHubDonald Sharp
12e95e5cb08MMerge pull request #18694 from petrvaganoff/devbgpd: Fix deref after free in bgp_vrf_unlink
Donald SharpGitHubDonald Sharp
114af4ca160MMerge pull request #18698 from y-bharath14/srib-tests-v13tests: Shadowing the built-in function
Valentin BinottoValentin Binotto
f6902760864doc: Updated the default for VTYSH_PAGER if unset in user docsSigned-off-by: Valentin Binotto <git.8c400bab53f220f13efe0112c1ea2f96@v434project.com>
Russ WhiteGitHubRuss White
93f29b595afMMerge pull request #18683 from LabNConsulting/chopps/notif-improveImprove notification selectors (sort, eliminate dups)
Christopher DziombaChristopher Dziomba
ab68237e3e2tests: remove ipv4 and ipv6 in bgp_evpn_rt5Removal of IPv6 was already tested in bgp_evpn_rt5 topotest, however IPv4 was not tested afterwards. This now removes IPv6 routes first, then adds them back and removes IPv4 afterwards, waiting for convergence everytime. Signed-off-by: Christopher Dziomba <christopher.dziomba@telekom.de>
Christopher DziombaChristopher Dziomba
0c14dd3af60zebra: add vtep_ip to rmac nh_list in all caseszebra rmac has a nh_list which tracks the assigned VTEP IPs to RMACs. It can also receive IPv6 encoded IPv4 addresses as VTEPs. Changing/ Installing the RMAC into the Kernel is only important when the IPv4 address changes. However because nh_list is a nodup list used to track usage or RMACs by VTEP IPs, both IP addresses (IPv4 and IPv6 encoded IPv4) should be written into it, as both could be r...