]>
git.puffer.fish Git - mirror/frr.git/log
Russ White [Fri, 12 Oct 2018 20:48:08 +0000 (16:48 -0400)]
Merge pull request #3168 from adharkar/frr-bgp_json
bgpd: BGP JSON new fields
Russ White [Fri, 12 Oct 2018 19:55:59 +0000 (15:55 -0400)]
Merge pull request #3167 from chiragshah6/ospfv3_dev
ospf6d: fix ospf6 crash in inp lsa processing
Donald Sharp [Fri, 12 Oct 2018 17:58:26 +0000 (13:58 -0400)]
Merge pull request #3137 from opensourcerouting/feature/isis-bfd
Feature: BFD for IS-IS
Chirag Shah [Thu, 11 Oct 2018 16:08:37 +0000 (09:08 -0700)]
ospf6d: fix ospf6 crash in inp lsa processing
Use ospf6_prefix_same for comparing two exact same prefix
to determine ECMP for a route.
ospf6_route_cmp expects two different prefix rather
being exactly same.
Ticket:CM-22630
Testing Done:
performed ECMP of intra network prefix route via
sending same route via different available
ospf6 paths.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Christian Franke [Fri, 12 Oct 2018 16:56:07 +0000 (18:56 +0200)]
isisd: Fix license header of bfd code
Christian Franke [Fri, 12 Oct 2018 14:45:32 +0000 (16:45 +0200)]
isisd: Address code-style warnings
Donald Sharp [Fri, 12 Oct 2018 00:18:57 +0000 (20:18 -0400)]
Merge pull request #3140 from vishaldhingra/b_2802
zebra : VRF aware route map in zebra
Ameya Dharkar [Thu, 11 Oct 2018 22:35:21 +0000 (15:35 -0700)]
bgpd: BGP JSON new fields
1. "show bgp ipv4 json"
- Added "network" field which displays a prefix in 'prefix/prefixlen' format.
2. "show bgp ipv6 json"
- Added "network" field which displays a prefix in 'prefix/prefixlen' format.
- JSON does not have "prefix", "prefixLen" fields which are present in IPv4
command. Added these fields as they are useful.
3. "show bgp ipv4/ipv6 neighbor <neighbor_addr> advertised-routes json"
- Added "network" field.
4. "show bgp ipv4/ipv6 summary json"
- Added "pfxSnt" for peers. This count is obtained from corresponding
update_subgroup.
5. "show bgp neighbor json"
- Added "sentPrefixCounter"
Signed-off-by: Ameya Dharkar <adharkar@vmware.org>
vishaldhingra [Thu, 11 Oct 2018 17:49:34 +0000 (10:49 -0700)]
zebra: vrf aware routmap is missing in Zebra #2802(Part 4 of 4)
The new cli for show output
Signed-off-by: vishaldhingra vdhingra@vmware.com
vishaldhingra [Thu, 11 Oct 2018 17:48:23 +0000 (10:48 -0700)]
zebra: vrf aware routmap is missing in Zebra #2802(Part 3 of 4)
The cli changes to allow this to work.
Signed-off-by: vishaldhingra vdhingra@vmware.com
vishaldhingra [Thu, 11 Oct 2018 17:46:55 +0000 (10:46 -0700)]
zebra: vrf aware routmap is missing in Zebra #2802(Part 2 of 4)
Function parameter replacement of using zvrf instead of vrf_id
Signed-off-by: vishaldhingra vdhingra@vmware.com
vishaldhingra [Thu, 11 Oct 2018 17:44:55 +0000 (10:44 -0700)]
zebra: vrf aware routmap is missing in Zebra #2802(Part 1 of 4)
Work to handle the route-maps, namely the header changes in zebra_vrf.h
and the mapping of using that everywhere
Signed-off-by: vishaldhingra vdhingra@vmware.com
Lou Berger [Thu, 11 Oct 2018 13:17:31 +0000 (09:17 -0400)]
Merge pull request #3032 from donaldsharp/bgp_info
`struct bgp_info` to `struct bgp_path_info`
Donald Sharp [Wed, 10 Oct 2018 19:42:20 +0000 (15:42 -0400)]
Merge pull request #3153 from adharkar/frr-scount
bgpd: Incorrect sent prefix count for a split subgroup
Ameya Dharkar [Tue, 9 Oct 2018 18:56:46 +0000 (11:56 -0700)]
bgpd: Incorrect sent prefix count for a split subgroup
When a subgroup splits to form a new subgroup because of policy changes
for a peer, new subgroup copies adj out(state about advertised routes)
from the parent subgroup. At the same time, it should also copy
scount(advertised prefix count) to the new subgroup for the count to be
in sync with the adj_out for the subgroup.
Signed-off-by: Ameya Dharkar <adharkar@vmware.org>
Quentin Young [Wed, 10 Oct 2018 18:18:45 +0000 (14:18 -0400)]
Merge pull request #3155 from opensourcerouting/building_instructions
doc: update building instructions
Quentin Young [Wed, 10 Oct 2018 18:15:15 +0000 (14:15 -0400)]
Merge pull request #3159 from pguibert6WIND/doc_draft_bgp
doc: fix warning of doc compilation with bgp draft
Renato Westphal [Wed, 10 Oct 2018 16:08:28 +0000 (13:08 -0300)]
Merge pull request #3154 from donaldsharp/bgp_mem_lem
Bgp mem issue with martian address interface strings
Renato Westphal [Wed, 10 Oct 2018 14:07:48 +0000 (11:07 -0300)]
doc: simplify build instructions
Remove all --enable-xxx configuration flags for features that are enabled
by default.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Renato Westphal [Wed, 10 Oct 2018 14:00:50 +0000 (11:00 -0300)]
doc: update build instructions for Debian 9
The instruction to checkout to the stable/3.0 branch doesn't belong
here.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Renato Westphal [Wed, 10 Oct 2018 13:57:30 +0000 (10:57 -0300)]
doc: remove LibXML from the list of dependencies
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Donald Sharp [Wed, 10 Oct 2018 14:08:01 +0000 (10:08 -0400)]
Merge pull request #3145 from pguibert6WIND/ipv6nexthop
bgpd: in case nexthop is ipv6, set nh attribute flag in mpls vpn case
Philippe Guibert [Mon, 8 Oct 2018 12:15:12 +0000 (14:15 +0200)]
bgpd: in case nexthop is ipv6, set nh attribute flag in mpls vpn case
In mpls vpn import/export, the nexthop attribute should also be
recognised for ipv6 too.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Philippe Guibert [Wed, 10 Oct 2018 09:49:33 +0000 (11:49 +0200)]
doc: fix warning of doc compilation with bgp draft
Some draft ietf are not handle by :rfc: keyword. A workaround is
proposed, like it has been done for flowspec.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Donald Sharp [Wed, 10 Oct 2018 00:19:01 +0000 (20:19 -0400)]
bgpd: Cleanup memory leak with the martian address intf string
When cleaning up a interface string, from the linked list we were
dropping the name pointer which held the allocated martian address
intf string.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Wed, 10 Oct 2018 00:16:37 +0000 (20:16 -0400)]
bgpd: Use a more appropriate memory type for a string
Track the memory type associated with the bartian address
interface a bit better, instead of using MTYPE_TMP.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Wed, 3 Oct 2018 12:22:38 +0000 (08:22 -0400)]
bgpd: Cleanup warnings issued by CI system from these changes
Modify code to cleanup warnings issued by the CI system from
this series of changes.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Wed, 3 Oct 2018 00:43:07 +0000 (20:43 -0400)]
bgpd: Rename various variable names to something more appropriate
ri -> pi
bi -> bpi
info -> path
info -> rmap_path ( for routemap applications )
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Tue, 2 Oct 2018 22:34:03 +0000 (18:34 -0400)]
bgpd: Convert binfo to path
Convert the binfo variable to path.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Tue, 2 Oct 2018 22:15:34 +0000 (18:15 -0400)]
bgpd: Convert all bgp_info_XXX functions to bgp_path_XXX functions
Rename all bgp_info_XXX functions to bgp_path_XXX functions
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Tue, 2 Oct 2018 20:41:30 +0000 (16:41 -0400)]
bgpd: Convert `struct bgp_info` to `struct bgp_path_info`
Do a straight conversion of `struct bgp_info` to `struct bgp_path_info`.
This commit will setup the rename of variables as well.
This is being done because `struct bgp_info` is not descriptive
of what this data actually is. It is path information for routes
that we keep to build the actual routes nexthops plus some extra
information.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Fri, 14 Sep 2018 00:34:42 +0000 (20:34 -0400)]
bgpd: Convert BGP_INFO_XXX to BGP_PATH_XXX
Search and replace all BGP_INFO_XXX to BGP_PATH_XXX
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Tue, 2 Oct 2018 19:50:10 +0000 (15:50 -0400)]
bgpd: Rename some BGP_PATH_XXX to BGP_PATH_SHOW_XXX
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Olivier Dugeon [Tue, 9 Oct 2018 17:07:33 +0000 (19:07 +0200)]
Merge pull request #3077 from rgirada/ospf_2980_fix
ospfd: Resolved the inconsistency behavior when “default-info origina…
Christian Franke [Tue, 9 Oct 2018 15:59:46 +0000 (17:59 +0200)]
isisd: don't add deprecated bfd command
Quentin Young [Tue, 9 Oct 2018 15:56:26 +0000 (11:56 -0400)]
Merge pull request #3037 from patrasar/2851
bgpd: remove ip prefix from as-path, <large,ext>community-list
Olivier Dugeon [Tue, 9 Oct 2018 15:52:49 +0000 (17:52 +0200)]
Merge pull request #3143 from rgirada/fix_3124
ospfd: default route got flushed after lsa refresh timer.
rgirada [Mon, 1 Oct 2018 11:38:01 +0000 (04:38 -0700)]
ospfd: issue with the "default-information originate always" command #2980
Made changes such that message wont be sent to zebra to validate default
route existence if user configured with “always”.
Signed-off-by: rgirada <rgirada@vmware.com>
Quentin Young [Mon, 8 Oct 2018 18:08:06 +0000 (14:08 -0400)]
Merge pull request #3132 from toreanderson/fix_routemap_prefixlist_match_doc
doc: correct route map match for prefix lists
rgirada [Mon, 8 Oct 2018 06:22:58 +0000 (23:22 -0700)]
ospfd: default route got flushed after lsa refresh timer.
Default route type is not considered while processing lsa
refresh timer expiry which intern makes it flushed from lsdb.
Signed-off-by: rgirada <rgirada@vmware.com>
Russ White [Mon, 8 Oct 2018 01:47:01 +0000 (21:47 -0400)]
Merge pull request #3125 from dslicenc/linklocal-nht
bgpd: allow nht registration on ipv6 link-local addresses
Russ White [Mon, 8 Oct 2018 01:45:33 +0000 (21:45 -0400)]
Merge pull request #3133 from qlyoung/bgp-fix-broken-show-community-cmds
fix broken bgp community show cmds
Jafar Al-Gharaibeh [Sat, 6 Oct 2018 05:20:12 +0000 (00:20 -0500)]
Merge pull request #3135 from donaldsharp/zapi_handler_cabbage
zebra: Cleanup call parameters to some functions
Jafar Al-Gharaibeh [Sat, 6 Oct 2018 05:18:52 +0000 (00:18 -0500)]
Merge pull request #3119 from pacovn/Coverity_1465497_dead_code
zebra: dead code (Coverity
1465497 )
Donald Sharp [Fri, 5 Oct 2018 01:31:18 +0000 (21:31 -0400)]
zebra: Cleanup unused file
The zebra_vxlan_null.c file is never used. Let's remove
from our build system.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Christian Franke [Fri, 28 Sep 2018 18:33:55 +0000 (20:33 +0200)]
isisd: Track BFD state and take down adjacency on failure
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 17:35:10 +0000 (19:35 +0200)]
isisd: Add debugging for BFD
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 15:23:30 +0000 (17:23 +0200)]
isisd: Implement BFD replay function
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 15:05:15 +0000 (17:05 +0200)]
isisd: Register/deregister BFD peers for adjacencies
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 13:41:33 +0000 (15:41 +0200)]
isisd: Write BFD config
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 13:39:01 +0000 (15:39 +0200)]
isisd: Add a hook when writing interface config
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 13:20:28 +0000 (15:20 +0200)]
isisd: Add BFD configuration commands
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Thu, 27 Sep 2018 12:23:06 +0000 (14:23 +0200)]
isisd: Replace isis_event_adjacency_state_change with a hook
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Thu, 20 Sep 2018 13:38:22 +0000 (15:38 +0200)]
isisd: Register as BFD client
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Thu, 20 Sep 2018 13:28:23 +0000 (15:28 +0200)]
isisd: Add forward declaration of struct isis_route_info
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Thu, 20 Sep 2018 13:11:09 +0000 (15:11 +0200)]
zebra_ptm: Add IS-IS and OpenFabric as protocols supporting BFD
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Thu, 20 Sep 2018 13:09:43 +0000 (15:09 +0200)]
zebra_ptm: Introduce IS_BFD_ENABLED_PROTOCOL macro
Unify the check if a client supports BFD into one location.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Tore Anderson [Thu, 4 Oct 2018 11:32:20 +0000 (13:32 +0200)]
doc: correct route map match for prefix lists
This corrects the route map documentation to add the missing "prefix-list"
keyword, which is necessary when matching against a prefix list (as opposed to
an access list).
Additionally, change hyphens for underscores in the variables the user is
supposed to substitute in those commands, to prevent any confusion with the
"prefix-list" keyword itself, and also to make it more consistent with the
other documented commands (which are already using underscores).
Signed-off-by: Tore Anderson <tore@redpill-linpro.com>
Sarita Patra [Mon, 17 Sep 2018 07:33:22 +0000 (00:33 -0700)]
bgpd: remove ip prefix from as-path, <large,ext>community-list
The existing commands "ip as-path", "ip community list", "ip extcommunity
list" & "ip largecommunity list" is used to configure both for ipv4 and
ipv6. So the prefix "ip" is removed from these commands.
All the configuration, show related configuration, show running config
& boot up with write memory is also verified with the provided fix.
Signed-off-by: Sarita Patra <saritap@vmware.com>
Quentin Young [Thu, 4 Oct 2018 19:04:56 +0000 (15:04 -0400)]
Merge pull request #3098 from opensourcerouting/watchfrr-delay
tools/frr + watchfrr spring cleaning (southern hemisphere)
Quentin Young [Thu, 4 Oct 2018 18:10:09 +0000 (18:10 +0000)]
bgpd: complete description code for communities
When this description code was added, it was all dead code since none of
the bools that checked if the communities were present were ever changed
from 0.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Thu, 4 Oct 2018 17:46:52 +0000 (17:46 +0000)]
bgpd: fix broken show community commands
SHA
c5f1e1b broke about half of the community-related show commands; fix
them
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Rafael Zalamena [Thu, 4 Oct 2018 13:37:06 +0000 (10:37 -0300)]
Merge pull request #3126 from pacovn/Coverity_1424529_null_check
isisd: null check (Coverity
1424529 )
Donald Sharp [Thu, 4 Oct 2018 13:26:33 +0000 (09:26 -0400)]
Merge pull request #3127 from pacovn/Coverity_1472236_Improper_use_of_negative_value
zebra: netlink socket check (Coverity
1472236 )
David Lamparter [Thu, 4 Oct 2018 09:09:48 +0000 (11:09 +0200)]
Merge pull request #3128 from donaldsharp/cpp_notice_build_failure
lib: Include compiler.h as early as is possible in the build
Quentin Young [Wed, 3 Oct 2018 22:43:34 +0000 (18:43 -0400)]
Merge pull request #3087 from opensourcerouting/bfd-memleak
bfdd: fix memory leak and echo-mode start
Lou Berger [Wed, 3 Oct 2018 22:03:48 +0000 (18:03 -0400)]
Merge pull request #3043 from qlyoung/doc-bgpd-multiple-ass
Doc bgpd multiple ASes
Rafael Zalamena [Mon, 1 Oct 2018 16:38:34 +0000 (13:38 -0300)]
lib: refactor thread_execute
Don't allocate threads in the stack, but use the standardized
`thread_get` and `thread_add_unused` to avoid creating corner cases in
the thread API.
This fixes a thread mutex memory leak in FreeBSD.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Tue, 25 Sep 2018 15:05:53 +0000 (12:05 -0300)]
lib: fix a memory leak in FreeBSD
Two important changes:
* Centralize the thread teardown procedure;
* Save and restore thread mutex context to avoid losing the memory
pointer;
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
F. Aragon [Wed, 3 Oct 2018 14:57:17 +0000 (16:57 +0200)]
zebra: netlink socket check (Coverity
1472236 )
Signed-off-by: F. Aragon <paco@voltanet.io>
Donald Sharp [Wed, 3 Oct 2018 16:27:57 +0000 (12:27 -0400)]
lib: Include compiler.h as early as is possible in the build
The compiler.h header provides us with some useful macro's
that we are using in the system. We do not know exactly
where the CPP_NOTICE and CPP_WARN macros are used but
they can move around. Place this header early in the
build then.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
F. Aragon [Wed, 3 Oct 2018 14:38:49 +0000 (16:38 +0200)]
isisd: null check (Coverity
1424529 )
Signed-off-by: F. Aragon <paco@voltanet.io>
Don Slice [Tue, 25 Sep 2018 13:22:22 +0000 (06:22 -0700)]
bgpd: allow nht registration on ipv6 link-local addresses
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Testing Done: bgp-smoke completed with no new failures
While testing 5549 support using global addresses, discovered that
ipv6 nexthop tracking thru a route-reflector didn't work. Since
the next-hop used for remote nexthops resolves to the link-local
of the route-reflector, we need to track it in order to react to
interface down events. Also tripped over a crash in certain cases
which is also resolved in this fix.
Quentin Young [Tue, 2 Oct 2018 15:31:48 +0000 (15:31 +0000)]
doc: embellish bgp view docs
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Mon, 1 Oct 2018 17:30:56 +0000 (17:30 +0000)]
doc: add extra information on bgp views and vrfs
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Mon, 17 Sep 2018 19:18:47 +0000 (19:18 +0000)]
doc: clarify documentation on BGP multiple AS
Documentation on how to use multiple autonomous systems was inaccurate
and a bit scattered. Clarify usage of VRFs with multiple autonomous
systems, how to configure them, and their distinction from views. Also
moves a block on L3VPN VRFs out of the 'Basic Concepts' section.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Lou Berger [Tue, 2 Oct 2018 15:40:09 +0000 (11:40 -0400)]
Merge pull request #3004 from donaldsharp/other_peer
bgpd: Try to notice when configuration changes during startup
Martin Winter [Tue, 2 Oct 2018 14:58:12 +0000 (16:58 +0200)]
Merge pull request #3108 from dmbaturin/master
Add a script for building a Debian package in one step.
David Lamparter [Tue, 2 Oct 2018 14:17:10 +0000 (16:17 +0200)]
Merge pull request #3113 from donaldsharp/uninited_value
bgpd: prevent uninited variable from being used.
Lou Berger [Tue, 2 Oct 2018 14:03:46 +0000 (10:03 -0400)]
Merge pull request #3120 from opensourcerouting/remove-list-delete
lib: remove deprecated list_delete()/list_free()
F. Aragon [Tue, 2 Oct 2018 09:05:40 +0000 (11:05 +0200)]
zebra: dead code (Coverity
1465497 )
The condition in the do/while is always false because 'return_nsid' cannot
reach the end of the loop with 'return_nsid' having a different value than
NS_UNKNOWN. Because of that, the condition can be replaced with 0 (false).
Also, the loop can be removed because the two assignments made at the end
of the loop before the condition check are not used (detected via Clang,
afterwards).
Signed-off-by: F. Aragon <paco@voltanet.io>
Donald Sharp [Mon, 1 Oct 2018 18:15:58 +0000 (14:15 -0400)]
bgpd: prevent uninited variable from being used.
Valgrind reports that temp could be used uninitialized
sometimes.
Signed-off-by: Donald sharp <sharpd@cumulusnetworks.com>
Lou Berger [Tue, 2 Oct 2018 11:03:08 +0000 (07:03 -0400)]
Merge pull request #3116 from opensourcerouting/libfrr-exec
lib: print version information in libfrr.so
David Lamparter [Thu, 27 Sep 2018 02:46:17 +0000 (04:46 +0200)]
tools/frr: remove "watchfrr.started" hack
This is no longer neccessary since start-stop-daemon will block until
watchfrr's launch parent has exited.
Signed-off-by: David Lamparter <equinox@diac24.net>
David Lamparter [Thu, 27 Sep 2018 02:18:48 +0000 (04:18 +0200)]
watchfrr, lib: cleanup & delay detaching
This cleans up watchfrr to be more "normal" like the other daemons in
terms of what it does in main(), i.e. using the full frr_*() call set.
Also, this changes the startup behaviour on watchfrr to stay attached on
the daemon's parent process until startup is really complete. This
should allow removing the "watchfrr.started" hack at some point.
Signed-off-by: David Lamparter <equinox@diac24.net>
David Lamparter [Tue, 2 Oct 2018 10:24:44 +0000 (12:24 +0200)]
Merge pull request #3117 from pacovn/Coverity_1460436_dead_code
eigrpd: dead code (Coverity
1460436 )
David Lamparter [Tue, 2 Oct 2018 10:13:43 +0000 (12:13 +0200)]
Merge pull request #3118 from pacovn/Coverity_1399231_dead_code
ospf6d: dead code (Coverity
1399231 )
David Lamparter [Tue, 2 Oct 2018 09:39:51 +0000 (11:39 +0200)]
*: list_delete_and_null() -> list_delete()
Signed-off-by: David Lamparter <equinox@diac24.net>
David Lamparter [Tue, 2 Oct 2018 09:33:39 +0000 (11:33 +0200)]
lib: remove deprecated list_delete()/list_free()
Deprecation time has passed.
Signed-off-by: David Lamparter <equinox@diac24.net>
David Lamparter [Tue, 2 Oct 2018 09:29:59 +0000 (11:29 +0200)]
Merge pull request #3102 from ton31337/feature/match_blackhole_nexthops
bgpd: Match routes by type under route-maps
F. Aragon [Tue, 2 Oct 2018 08:51:47 +0000 (10:51 +0200)]
ospf6d: dead code (Coverity
1399231 )
The dead code has been disabled with '#if 0', in a similar way to other
disabled logs in the same function.
Signed-off-by: F. Aragon <paco@voltanet.io>
F. Aragon [Tue, 2 Oct 2018 08:46:20 +0000 (10:46 +0200)]
eigrpd: dead code (Coverity
1460436 )
Signed-off-by: F. Aragon <paco@voltanet.io>
David Lamparter [Mon, 1 Oct 2018 17:02:39 +0000 (19:02 +0200)]
lib: print version information in libfrr.so
This makes libfrr.so executable to print its version info. This is
useful if you need to check your libfrr.so matches your daemons.
Signed-off-by: David Lamparter <equinox@diac24.net>
Donatas Abraitis [Fri, 28 Sep 2018 08:51:50 +0000 (11:51 +0300)]
bgpd: Match routes by type under route-maps
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Daniil Baturin [Mon, 1 Oct 2018 18:38:44 +0000 (20:38 +0200)]
tools: add a script for building a Debian package in one step.
The script simplifies the relatively lengthy procedure.
It should be invoked from the top level source directory, for example:
./tools/build-debian-package.sh
Signed-off-by: Daniil Baturin <daniil@baturin.org>
Lou Berger [Mon, 1 Oct 2018 17:29:18 +0000 (13:29 -0400)]
Merge pull request #3097 from opensourcerouting/static-linking
build: add --enable-static-bin option
Rafael Zalamena [Thu, 13 Sep 2018 13:10:01 +0000 (10:10 -0300)]
bfdd: allow timer deactivation on shutdown
Peers being shutdown were keeping their timers, so move the cancel code
before the shutdown check.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Thu, 13 Sep 2018 13:09:03 +0000 (10:09 -0300)]
bfdd: disable echo on neighbor request
Don't send echo packets when the neighbor configures echo-interval of 0
(e.g. disabled).
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Quentin Young [Mon, 1 Oct 2018 16:35:45 +0000 (12:35 -0400)]
Merge pull request #3105 from opensourcerouting/fix/sphinx-stamp
doc: Use `mv -f` in Makefile
David Lamparter [Mon, 1 Oct 2018 12:55:06 +0000 (14:55 +0200)]
ospfd: fix symbol collision
debug_init() was recently added in libfrr, which is now causing a build
error with static linking.
Signed-off-by: David Lamparter <equinox@diac24.net>