FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Philippe GuibertPhilippe Guibert
eb6934d5c5alib: avoid default vrf name memory allocation at startupIf default VRF is used, with standard naming convention, memory allocation can be avoided. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Philippe GuibertPhilippe Guibert
dd1147028adlib: protect newly created vrfs against default vrf naming.Prevent from creating vrf, if the default vrf name is the same as the vrf to be created. Also, prevent at startup from creating default vrf with a name already used in vrf list. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Philippe GuibertPhilippe Guibert
fdafe17ee9blib: set default vrf name at startupFor the daemons that do not use vrf_init(), the call to the define will return a default vrf if no other values has been overriden. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Philippe GuibertPhilippe Guibert
9a8bdf1c251bgpd: handle vrf aliases in vty APIBecause a VRF name can be used for default VRF, or an alias of an already created VRF can be passed as parameter, the default VRF name must be found out. This avoids creating double BGP instances for example. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Philippe GuibertPhilippe Guibert
6895b354ef8ospfd: adaptations to handle vrf aliasSome adaptations are done to handle alias when creationg ospf instance. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Philippe GuibertPhilippe Guibert
6a8ca00fa01bgpd: authorize default vrf name usageNow it is possible to configure BGP default instance by using its default vrf name. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Philippe GuibertPhilippe Guibert
3ed78e8cff9zebra: detect if a netns is the default netnsIn the case the default netns has a netns path, then a new NETNS creation will be bypassed. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Philippe GuibertPhilippe Guibert
ecbc5a37815*: add a vrf update hook to be informed of the vrf nameThe Vrf aliases can be known with a specific hook. That hook will then, from zebra propagate the information to the relevant zapi clients. The registration hook function is the same for all daemons. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Philippe GuibertPhilippe Guibert
723001fc13alib: autocomple vrf list authorises default vrf nameNow it is possible to dump default vrf information by its name. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Philippe GuibertPhilippe Guibert
c200f5e1e44lib: offer an API to get and set default vrf nameThe get API is used each time the VRF_DEFAULT_NAME macro is used. The set API is not yet used. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
David LamparterGitHubDavid Lamparter
9f0cf8f4354MMerge pull request #2930 from donaldsharp/pim_debugpimd: Add some more useful data to debug output
Donald SharpDonald Sharp
8cd38306030pimd: Add some more useful data to debug outputEnd user was seeing this debug but we are not giving the user enough information to debug this on his own. Add a tiny bit of extra information that could point the user to solving the problem for themselves. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald SharpGitHubDonald Sharp
3e83237244bMMerge pull request #2918 from opensourcerouting/fix-watchfrr-sigchld-handlingwatchfrr: fix global restart
Lou BergerGitHubLou Berger
95d8c3ce78cMMerge pull request #2898 from donaldsharp/vrf_bitmap_is_whacklib: Convert vrf bit-map to a hash.
David LamparterGitHubDavid Lamparter
b5d79dbe71eMMerge pull request #2920 from donaldsharp/bsd_warningsBsd warnings
Donald SharpDonald Sharp
f7dae31211dzebra: No prototype and uninited variablesAdd a header to cleanup no declaration and properly wrapper some variables to appropriate #ifdef. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald SharpDonald Sharp
184ce1c5d16lib: Cleanup uninted `top` variable in ferr.cThe `top` variable could possibly be used without any initialization, remove the possibility. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald SharpDonald Sharp
344b4a29bf4isisd: Include header for function declarationisis_handle_pdu is called but not declared for usage by not including the appropriate header. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Renato WestphalGitHubRenato Westphal
955cb66380cMMerge pull request #2897 from donaldsharp/zebra_rnh_fixupzebra: When registering a nexthop, we do not always need to re-eval
Renato WestphalGitHubRenato Westphal
6033e33da64MMerge pull request #2895 from donaldsharp/netlink_encapzebra: Add support for static encap mpls labels
Stephen WorleyDonald SharpStephen Worley
87da6a60191zebra: Add support for static encap mpls labelsWe were ignoring mpls labels encapped with static routes. Added support for single and multipath labels. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Christian FrankeChristian Franke
7c265f7de17watchfrr: fix global restartwatchfrr needs to handle a SIGCHLD also when it calls a global restart command. Before this patch, it would lead to the following behavior: 15:44:28: zebra state -> down : unexpected read error: Connection reset by peer 15:44:33: Forked background command [pid 6392]: /usr/sbin/frr.init watchrestart all 15:44:53: Warning: restart all child process 6392 still running after 20 seconds, sending si...
Donald SharpDonald Sharp
74f0a94efdfstaticd: refcount the nht add/removalWhen we add / remove a nexthop that we need to track, keep track of the number of times we have done this for each nexthop. Consequently keep track of the number of available nexthops, so that we can just install new routes when we get one that uses a pre-existing nexthop. Deletion of nexthops is done on refcount going to 0. Removal of routes is handled elsewhere for removal. Signed-off-by: ...
Donald SharpDonald Sharp
1d30d1f4a82zebra: When registering a nexthop, we do not always need to re-evalThe code prior to this change, was allowing clients to register for nexthop tracking. Then zebra would look up the rnh and send to that particular client any known data. Additionally zebra was blindly re-evaluating the rnh for every registration. This leads to interesting behavior in that all people registered for that nexthop will get callbacks even if nothing changes. Modify the code to k...
Donald SharpGitHubDonald Sharp
18d93bbb5a2MMerge pull request #2910 from opensourcerouting/doc-summerclean-20180825protocol vs. OS docs + SMUX leftovers
Donald SharpGitHubDonald Sharp
866ec83b8d0MMerge pull request #2911 from opensourcerouting/remove-linux24-tcp-md5lib: remove Linux 2.4 TCP-MD5 support
David LamparterDavid Lamparter
3535a785b8blib: remove Linux 2.4 TCP-MD5 supportLinux 2.6.0 was released in December of 2003... I'm pretty sure we don't need this Linux 2.4 support anymore. Signed-off-by: David Lamparter <equinox@diac24.net>
David LamparterDavid Lamparter
086f18fad23build: drop unused SMUX client OID MIBsThese MIB OIDs were only used to identify clients on the SMUX protocol. And even for that, they were essentially pointless. Signed-off-by: David Lamparter <equinox@diac24.net>
Russ WhiteGitHubRuss White
a86b18d82fbMMerge pull request #2870 from AnuradhaKaruppiah/bgp-default-delbgpd: unregister VNI learning from zebra on default instance delete
Russ WhiteGitHubRuss White
34923629255MMerge pull request #2908 from chiragshah6/ospf_vrf_devospfd: interface speed change during intf add
David LamparterDavid Lamparter
3175ea5a146doc/user: drop SMUX reference, rework introSigned-off-by: David Lamparter <equinox@diac24.net>
David LamparterDavid Lamparter
36372632dd9doc/user: add protocols vs. platform tableA nicely-formatted colorful table of all our daemons and target OS'. Based off & intended to replace / extend https://github.com/FRRouting/frr/wiki/Features-and-Kernel-Support Signed-off-by: David Lamparter <equinox@diac24.net>
Quentin YoungGitHubQuentin Young
50af807b127MMerge pull request #2685 from netravnen/feature/bgpd/documen-use-of-additional-bgp-well-known-communitiesDocument bgp well-known communities in PR2684
Chirag ShahChirag Shah
96065dc3104ospfd: interface speed change during intf addThe problem is seen where speed mismatch caused ECMP route not being reflected with correct number paths (NHs). During cold boot, some interface speed updated by zebra as part of one shot timer and triggers interface add to clients. In this case, ospf already have created interface (bond interface), but speed was not updated, trigger to do interface speed change as part of interface add, which...CM-22170
ChristofferChristoffer
c5f1e1b2403bgp: Add documentation for IANA well-known communitiesCoded as part of #2684 and most code written while participating at BornHack@2018. bgp_route.c: Changes regarding adding explanations for the IANA well-known communities added in #2684 Signed-off-by: Christoffer <netravnen@gmail.com>
ChristofferChristoffer
cae770d31d3doc: Add documentation for IANA well-known communitiesCoded as part of #2684 and most code written while participating at BornHack@2018. bgp.rst: Explain what the communities does and a summarized edition of the communities purpose. Signed-off-by: Christoffer <netravnen@gmail.com>
Quentin YoungGitHubQuentin Young
79685039093MMerge pull request #2891 from opensourcerouting/logging-docsdoc/developer: logging guide
David LamparterGitHubDavid Lamparter
ca2a93cc229MMerge pull request #2907 from donaldsharp/fix_confdatebgpd: Fix CONFDATE to 2019 for a couple of items.
Donald SharpDonald Sharp
ec4f07507b7bgpd: Fix CONFDATE to 2019 for a couple of items.While perusing CONFDATE I noticed that we had a couple CONFDATE 201805, which we were not picking up( for other reasons and fixed in a different PR ). But upon investigation of these I noticed that the commits where in 201805, so these CONFDATES should be in 2019 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
David LamparterGitHubDavid Lamparter
9b8c3903bdfMMerge pull request #2901 from donaldsharp/remove_zapi_deprecatedRemove zapi deprecated
Donald SharpDonald Sharp
0477276088ddoc, lib, zebra: Remove deprecated encode and decode functionalityThe ZEBRA_IPV4_ROUTE_[ADD|DELETE] and ZEBRA_IPV6_ROUTE_[ADD|DELETE] functionality has been deprecated for a year now, let's remove this code from the system. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald SharpDonald Sharp
4ec715c8304zebra: Remove unmaintained and uncompilable codeThe zebra/client_main.c code is not being maintained or used. Remove from system. Especially since the encode/decode zapi functionality it `purports` to be testing is deprecated and now being removed. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald SharpGitHubDonald Sharp
529089b58e9MMerge pull request #2804 from kssoman/bgp_fixWhen redistribute options are changed, call bgp_redistribute_unreg()
David LamparterGitHubDavid Lamparter
ff0c9e7a0abMMerge pull request #2896 from dslicenc/zebra_select_vrfzebra: if multiple connecteds, select loopback or vrf if present
Donald SharpDonald Sharp
4a8bf85858dlib: Convert vrf bit-map to a hash.Memory sizes of the vrf bit-map was insane for a system with a moderate number of data on it: Zebra: VRF bit-map : 601 65536 39391944 Having a full 32bit integer bit space is problematically large, switch over to a hash to store bit data. We do not need to waste so much space. VRF bit-map : 13 8 312 Signe...
Don SliceDon Slice
fec4ca191efzebra: if multiple connecteds, select loopback or vrf if presentSigned-off-by: Don Slice <dslice@cumulusnetworks.com>
David LamparterGitHubDavid Lamparter
3391232343eMMerge pull request #2893 from qlyoung/fix-rpki-exit-failurebgpd: fix rpki exit command
David LamparterGitHubDavid Lamparter
75c8ff503e6MMerge pull request #2854 from chiragshah6/evpn_dev1zebra: Evpn mark router flag as part of neighbor update from kernel (Merge in proxy reliant on @srimohans' review.)
Quentin YoungQuentin Young
61a484a90a4bgpd: fix rpki exit commandIf a command returns a nonzero exit status and VTYSH has a corresponding command, VTYSH will skip executing its own version. If this happens in a command that changes CLI nodes we get node desynchronization. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
David LamparterGitHubDavid Lamparter
42517473308MMerge pull request #2894 from donaldsharp/thread_stuffThread stuff