summaryrefslogtreecommitdiffstats
path: root/lib/zlog_targets.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-07-03tools: Simplify the script to build Debian binary packageIgor Ryzhov1-85/+12
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03debian: Update the upstream version to 7.7~dev-1Ondřej Surý1-3/+3
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03doc: Use dpkg-buildpackage to build packages (add note about debuild)Ondřej Surý1-1/+5
The debuild command fails when we are doing source package only build because it expects the arch-dependent .changes file to be present. Thus in the instructions we switch to using dpkg-buildpackage directly and add a note about using debuild in more complicated scenarios. Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03doc: Add instructions on how to build only source packagesOndřej Surý1-1/+9
In the CI, it's better to build the source package only once and then instead of checking out the whole repository, only distribute the source packages to the individual jobs. Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03doc: Update debian packaging instructionsOndřej Surý1-2/+2
The debian packaging instructions have been updated, so they actually work. Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03debian: Add support for Debian bullseye to the packaging scriptOndřej Surý1-8/+9
The Debian bullseye is frozen now, so this adds support to this Debian release to the packaging script. Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03debian: Fix the debian packaging script to build on non-default branchOndřej Surý1-3/+4
The packaging script would fail to run on non-master branch, fix that by pulling original branch name. Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03debian: Make the autopkgtest more resilient (Closes: #980111)Ondřej Surý1-1/+9
The Debian autopkgtest would fail with new PAM introduced in Debian bullseye. Add a little loop to wait a little longer for the changes to propagate. Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03debian: Update the tools/build-debian-package.sh to be example build scriptOndřej Surý2-21/+112
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03debian: Remove now obsolete tarsource.sh scriptOndřej Surý3-336/+1
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03debian: Remove the changelog-auto automation in favor of dchOndřej Surý5-21/+8
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03debian: Update tools/build-debian-package.sh to use git-buildpackageOndřej Surý2-13/+46
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03debian: Adjust tarsource.sh to use native debian/changelogOndřej Surý7-1520/+23
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03debian: Merge various debian changelogs in debian/changelogOndřej Surý1-1/+1487
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-02doc: space code blockDonald Lee1-13/+13
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-07-02Revert "ospf6d: fix LSAs remain in LSDB with an old router-id value"Donald Sharp4-51/+39
2021-07-01*: Replace 4/16 integers to IPV4_MAX_BYTELEN/IPV6_MAX_BYTELENDonatas Abraitis9-65/+84
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-07-01*: Convert numeric 32 into IPV4_MAX_BITLEN for prefixlenDonatas Abraitis30-54/+57
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-07-01babeld: Drop in_prefix() functionDonatas Abraitis2-23/+0
Not used. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-07-01*: Convert numeric 128 into IPV6_MAX_BITLEN for prefixlenDonatas Abraitis19-37/+40
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-07-01*: Replace IPV4_MAX_PREFIXLEN to IPV4_MAX_BITLENDonatas Abraitis27-53/+51
Just drop IPV4_MAX_PREFIXLEN at all, no need keeping both. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-07-01*: Replace IPV6_MAX_PREFIXLEN to IPV6_MAX_BITLENDonatas Abraitis16-24/+22
Just drop IPV6_MAX_PREFIXLEN at all, no need keeping both. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-07-01bgpd: Convert numeric 32 into IPV4_MAX_BITLEN for prefixlenDonatas Abraitis3-7/+7
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-07-01bgpd: Convert numeric 128 into IPV6_MAX_BITLEN for prefixlenDonatas Abraitis2-5/+5
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-07-01doc: document new PIM MSDP timers commandRafael Zalamena1-0/+15
Let the user know how to use it and what are the default values. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2021-07-01doc: simplify PIM RIB titleRafael Zalamena1-3/+3
Don't use colon and make it more generic. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2021-07-01pimd: support MSDP global timers configurationRafael Zalamena8-5/+175
Users can now configure: * Hold time * Keep alive * Connection retry Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2021-07-01ospf6d: harmonize ospf6_asbr_redistribute_disable and _resetLouis Scalbert1-8/+10
Harmonize the code of functions ospf6_asbr_redistribute_disable and ospf6_asbr_redistribute_reset. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2021-07-01ospf6d: reset areas and redistribution at router-id modificationLouis Scalbert1-0/+5
The ospf6 router-id is provided by order of preference by: ospf6d itself if the "ospf6 router-id X.X.X.X" command is set. - zebra. If the "ip router-id X.X.X.X" zebra command is set, the configured IP is provided as the ID or alternatively the highest loopback IPv4 address or else the highest interface IPv4 address. The running ospf6 router-id is stored in ospf6->router-id. ospf6->router-id can change in the following conditions: - A configuration change provides a new router-id value according to the above rules. ospf6->router-id is updated to the new value if there is no adjacency in FULL state. Otherwise, the ospf6d process must be restarted to take the new router-id into account. - On startup of both zebra and ospf6d, if ospf6d has not yet received a valid router-id, ospf6d->router-id is set to 0 (i.e. 0.0.0.0). Then, zebra notifies ospf6d that the router-id is available. At ospf6->router-id, the current behavior of ospf6d is the following: - The self generated LSAs that refer to the previous router-id as the advertising router are kept. - Self generated LSAs are created with router-id value. - LSAs from the redistribution that refer to the previous router-id are kept and no new redistribution LSAs are created. As a consequence, the routers in the ospf6 areas will get incorrect LSAs and might not be able to install prefixes of those LSAs into their RIB. This fix solves this issue by resetting the areas and the redistribution when ospf6->router-id updated. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2021-07-01ospf6d: factorize router-id updateLouis Scalbert3-33/+19
ospf6_router_id_update function is used by ospf6_router_id_update_zebra to update the running the ospf6 router-id. This patches makes the functions to (un)configure ospf6 router-id use the same function as ospf6_router_id_update_zebra. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com> ---
2021-07-01ospf6d: don't update router-id if at least one adjacency is FullLouis Scalbert3-8/+27
When a router-id change is notified by zebra to ospf6d, we only take into account the change if no adjacencies are in Full state. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
2021-07-01yang: add MSDP timer configurationRafael Zalamena1-0/+49
Allow users to configure global MSDP timers. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2021-06-30bgpd: fix coverity warningIgor Ryzhov1-4/+2
`oly` is already dereferenced two lines earlier and is always passed to the function. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-06-30bgpd: Restore bgp_routemap logicDonald Lee1-2/+13
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-06-30bgpd: Ensure v6 LL address is available before establishing peeringDonald Sharp1-7/+17
There are startup situations where we will attempt to connect to a remote peer before bgp has received the v6 LL address. If we do not have this address we must not allow the connection to come up until we have one available to use in those situations where we must have a v6 LL address. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-06-30ospf6d: route-map config changed, not getting applied on all types of routesMobashshera Rasool3-32/+37
Problem Statement: ================== when route-map config is changed from permit to deny, it is not getting applied to both connected and static and vice versa RCA: ================== When route-map changes from permit to deny or vice versa, a notification is sent to ospf6 daemon via ospf6_asbr_routemap_update. In this function, a thread is scheduled after 5 seconds to apply the route-map changes. In this thread (ospf6_asbr_routemap_update_timer), only the first type is passed as argument and only the first type i.e "connected" is passed and hence in callback only on this type of route route-map gets applied. Fix: ==== Need to loop through all the route-types in the call back and process the route-map changes. Added a flag to mark which all route-types needs to be processed. Test Executed: =============== 1. Change route-map from permit to deny. 2. Change route-map from deny to permit. 3. Add new route and checked. 4. Verified summarised routes. Risk: ============ Low Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2021-06-30ospfd: show ip ospf route json does not shown metric and tagMobashshera Rasool1-0/+6
Problem Statement: ================== [FRR OSPF] show ip ospf route json does not shown metric and tag. Root Cause Analysis: =================== In function show_ip_ospf_route_external, type 2 cost is not added in json. Hence it is not displayed. Fix: ================= 1. Add type2cost in the json display 2. Tag was also missing, added that as well Issue: #8729 Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
2021-06-29pimd: make show ip mroute output consistentJafar Al-Gharaibeh1-8/+7
We had 3 different string output formats in various places. Make them all the same. Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
2021-06-29ospf6d: use per-vrf router id instead of one globalIgor Ryzhov3-10/+10
This code was not fully completed when adding support for VRFs. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-06-29tests: fix build warningIgor Ryzhov1-0/+1
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-06-29*: unify prefix copyingIgor Ryzhov5-22/+10
There are a few places in the code where we use PREFIX_COPY(_IPV4/IPV6) macro to copy a prefix. Let's always use prefix_copy function for this. This should fix CID 1482142 and 1504610. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-06-29doc: remove "no" from clicmd directivesIgor Ryzhov2-4/+4
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-06-28bgpd: Expand 'bgp default <afi>-<safi>' cmdsTrey Aspelund2-50/+49
Adds new commands to allow a user to default 'default' address-families to be inherited by all new peers. Previously this was limited to just ipv4/ipv6 unicast, now the full list is: --- ipv4-unicast ipv4-multicast ipv4-vpn ipv4-labeled-unicast ipv4-flowspec ipv6-unicast ipv6-multicast ipv6-vpn ipv6-labeled-unicast ipv6-flowspec l2vpn-evpn --- Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
2021-06-28tests: Include evpn in bgp-default-afi-safi.pyTrey Aspelund4-12/+45
Expands "bgp default" tests to include l2vpn evpn in addition to ipv4/ipv6 unicast. Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
2021-06-28tests: rename bgp_default_ipv4_ipv6 to _afi_safiTrey Aspelund8-0/+0
Replaces the ipv4/ipv6-specific naming with generic afi/safi reference. Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
2021-06-28doc: Add docs for 'bgp default <afi>-<safi>' cmdsTrey Aspelund1-4/+55
Adds climd definitions and explanations for expanded 'bgp default <afi>-<safi>' definitions. Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
2021-06-28bgpd: Convert to default_af[afi][safi]Trey Aspelund3-100/+149
Introduces bgp->default_af to selectively enable various default afi/safis to be inherited by new peers. Makes default_af flag logic consistent for all address-families, i.e. instead of a "no default" flag for ipv4 and a "default" flag for ipv6, just use "default" for both and make it true for ipv4 by default. Removes old BGP_FLAG_NO_DEFAULT_IPV4 and BGP_FLAG_DEFAULT_IPV6, and cleans up bgp->flags bit definitions to avoid gaps for unused bits. Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
2021-06-28doc: remove unnecessary index directivesIgor Ryzhov3-11/+0
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-06-28isisd, ospfd: update interface_link_params callback to check for changeKaren Schoener5-6/+30
Adding defensive code to the interface_link_params zebra callback to check if the link params changed before taking action. Signed-off-by: Karen Schoener <karen@voltanet.io>
2021-06-28doc: fix some compile warninganlancs2-4/+2
domainname is a merge conflict: it is duplicated, so delete it. bgp content is a compille warning and wrongly display, so fix it. Signed-off-by: anlancs <anlan_cs@tom.com>