]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
5 years agoNest: Fix bug in export table
Ondrej Zajicek (work) [Tue, 24 Sep 2019 15:12:15 +0000 (17:12 +0200)] 
Nest: Fix bug in export table

Exported route may be in modified state, we need to get cached one for
rte_same() and rta_clone() to work properly.

5 years agoFilter: Fix eval command
Ondrej Zajicek (work) [Mon, 23 Sep 2019 22:18:48 +0000 (00:18 +0200)] 
Filter: Fix eval command

5 years agoNest: Fix help for 'graceful restart' command
Ondrej Zajicek (work) [Sun, 22 Sep 2019 21:32:22 +0000 (23:32 +0200)] 
Nest: Fix help for 'graceful restart' command

Multi-worded commands are not automatically added to top-level
help output.

Thanks to Christoph for the bugreport.

5 years agoFilters: Function body comparison result now used.
Maria Matejka [Fri, 20 Sep 2019 08:16:51 +0000 (10:16 +0200)] 
Filters: Function body comparison result now used.

Function bodies were compared in post-parse time, yet the result was not
used and the functions were incorrectly considered the same as before.

Now the result is used to reload affected protocols.

5 years agoBGP: Fix setup with multiple dynamic BGP ranges
Ondrej Zajicek (work) [Tue, 17 Sep 2019 12:45:14 +0000 (14:45 +0200)] 
BGP: Fix setup with multiple dynamic BGP ranges

Based on a patch from Liam Nattrass, thanks.

5 years agoNEWS and version update v2.0.6
Ondrej Zajicek (work) [Tue, 10 Sep 2019 15:34:41 +0000 (17:34 +0200)] 
NEWS and version update

5 years agoDoc: Update BGP mask documentation
Ondrej Zajicek (work) [Tue, 10 Sep 2019 15:28:06 +0000 (17:28 +0200)] 
Doc: Update BGP mask documentation

5 years agoFilter: Fix crash with 'where' filters and function calls
Ondrej Zajicek (work) [Tue, 10 Sep 2019 11:45:18 +0000 (13:45 +0200)] 
Filter: Fix crash with 'where' filters and function calls

The old 'where' code computed size value incorrectly, which leads
to invalid instruction lines and filter errors or crashes.

5 years agoBGP: Fix handling of bgp_aggregator atttribute
Ondrej Zajicek (work) [Mon, 9 Sep 2019 11:17:30 +0000 (13:17 +0200)] 
BGP: Fix handling of bgp_aggregator atttribute

The attribute should not be modifiable by filters as we do not
support its type.

5 years agoBGP: Fix bugs in handling of shutdown messages
Ondrej Zajicek (work) [Mon, 9 Sep 2019 01:13:35 +0000 (03:13 +0200)] 
BGP: Fix bugs in handling of shutdown messages

There is an improper check for valid message size, which may lead to
stack overflow and buffer leaks to log when a large message is received.

Thanks to Daniel McCarney for bugreport and analysis.

5 years agoOSPF: Fix 'show ospf lsadb' cmd without proto arg
Ondrej Zajicek (work) [Thu, 29 Aug 2019 18:58:16 +0000 (20:58 +0200)] 
OSPF: Fix 'show ospf lsadb' cmd without proto arg

It crashed when used without protocol argument.

Thanks to Alexander for the bugreport.

5 years agoChannel refeed with import table splitting between routes for one prefix
Maria Matejka [Mon, 26 Aug 2019 19:53:56 +0000 (21:53 +0200)] 
Channel refeed with import table splitting between routes for one prefix

5 years agoSysdep: Drop supplementary groups when dropping GID
Ondrej Zajicek (work) [Wed, 21 Aug 2019 15:30:00 +0000 (17:30 +0200)] 
Sysdep: Drop supplementary groups when dropping GID

We forgot to do that. Oops.

5 years agoBGP: Use reallocation for capability structure
Ondrej Zajicek (work) [Wed, 21 Aug 2019 15:16:08 +0000 (17:16 +0200)] 
BGP: Use reallocation for capability structure

Instead of having large stack buffer for max amount of AFI/SAFI pairs.
The old code is not correct w.r.t. extendeded option length, as more
AFI/SAFI pairs may fit into the capability option.

5 years agoBGP: Implement extended optional parameters length
Ondrej Zajicek (work) [Tue, 20 Aug 2019 17:12:59 +0000 (19:12 +0200)] 
BGP: Implement extended optional parameters length

Extends BGP options/capabilities data length to 16bit, to avoid issues
with too many capabilities. See draft-ietf-idr-ext-opt-param-07

5 years agoNest: Fix crash in route reload when some channels are not up.
Ondrej Zajicek (work) [Tue, 13 Aug 2019 16:57:40 +0000 (18:57 +0200)] 
Nest: Fix crash in route reload when some channels are not up.

Only channels that are up can be reloaded.

5 years agoBGP: implement Adj-RIB-Out
Ondrej Zajicek (work) [Tue, 13 Aug 2019 16:22:07 +0000 (18:22 +0200)] 
BGP: implement Adj-RIB-Out

The patch implements optional internal export table to a channel and
hooks it to BGP so it can be used as Adj-RIB-Out. When enabled, all
exported (post-filtered) routes are stored there. An export table can be
examined using e.g. 'show route export table bgp1.ipv4'.

5 years agoFilter: Fixing empty block and never-executed-statement bug
Maria Matejka [Tue, 13 Aug 2019 14:45:27 +0000 (16:45 +0200)] 
Filter: Fixing empty block and never-executed-statement bug

5 years agoRAdv: Allow solicited RAs to be sent as unicast
Ondrej Zajicek (work) [Sun, 11 Aug 2019 22:41:36 +0000 (00:41 +0200)] 
RAdv: Allow solicited RAs to be sent as unicast

Add option to send solicited router advertisements as unicast directly
to soliciting nodes instead of as multicast to all-nodes group.

5 years agoFilter: Allow to use set constants / expressions in path masks
Ondrej Zajicek (work) [Tue, 6 Aug 2019 16:54:19 +0000 (18:54 +0200)] 
Filter: Allow to use set constants / expressions in path masks

Allow to not only use set literals in path masks, but also existing
set constants or set expressions.

5 years agoFilter: Allow to use sets in path masks
Ondrej Zajicek (work) [Tue, 6 Aug 2019 14:58:13 +0000 (16:58 +0200)] 
Filter: Allow to use sets in path masks

5 years agoBGP: Improve reconfiguration
Ondrej Zajicek (work) [Tue, 6 Aug 2019 13:29:06 +0000 (15:29 +0200)] 
BGP: Improve reconfiguration

Several BGP channel options (including 'next hop self') could be
reconfigured without session reset, with just route refeed/refresh.
The patch improves reconfiguration code to do it that way.

5 years agoBGP: Fix 'deterministic med' to work with 'merge paths'
Ondrej Zajicek (work) [Tue, 6 Aug 2019 13:09:42 +0000 (15:09 +0200)] 
BGP: Fix 'deterministic med' to work with 'merge paths'

The 'deterministic med' option is implemented by suppressing other than
best-in-group routes (grouped by ASN) from best route selection. This
interferes with 'merge paths' as supressed routes are no longer mergable
with best route. This is fixed by suppressing only those routes that are
not mergable with best-in-group route.

5 years agoConfigure: CFLAGS update
Ondrej Zajicek (work) [Tue, 6 Aug 2019 12:53:02 +0000 (14:53 +0200)] 
Configure: CFLAGS update

 - add -flto only to default CFLAGS
 - add -fno-strict-aliasing, -fno-strict-overflow always
 - remove -Wno-implicit-fallthrough

6 years agoShow LDFLAGS in configure v2.0.5
Ondrej Zajicek [Thu, 1 Aug 2019 12:49:03 +0000 (14:49 +0200)] 
Show LDFLAGS in configure

6 years agoEnable more threads for flto
Ondrej Zajicek [Thu, 1 Aug 2019 12:45:23 +0000 (14:45 +0200)] 
Enable more threads for flto

6 years agoFix output of CFLAGS in configure script
Ondrej Zajicek [Thu, 1 Aug 2019 12:27:20 +0000 (14:27 +0200)] 
Fix output of CFLAGS in configure script

6 years agoNEWS and version update
Ondrej Zajicek (work) [Wed, 31 Jul 2019 21:35:29 +0000 (23:35 +0200)] 
NEWS and version update

6 years agoChange 'graceful down' command to 'graceful restart' and update docs
Ondrej Zajicek (work) [Wed, 31 Jul 2019 17:45:29 +0000 (19:45 +0200)] 
Change 'graceful down' command to 'graceful restart' and update docs

The command initiating planned graceful restart including bird shutdown
should be called 'graceful restart' instead of 'graceful down', as the
later should be reserved for graceful shutdown in style of RFC 8326.

6 years agoDoc: Update documentation about VRFs and BFD
Ondrej Zajicek (work) [Tue, 30 Jul 2019 17:21:06 +0000 (19:21 +0200)] 
Doc: Update documentation about VRFs and BFD

6 years agoConf: Fixed symbol redefinition
Maria Matejka [Tue, 30 Jul 2019 12:28:40 +0000 (14:28 +0200)] 
Conf: Fixed symbol redefinition

6 years agoLog: Fixed race condition in reconfigure while BFD is running
Maria Matejka [Tue, 30 Jul 2019 10:11:49 +0000 (12:11 +0200)] 
Log: Fixed race condition in reconfigure while BFD is running

6 years agoRPKI: Fix allocation of hostname when using an IPv6 address
Vincent Bernat [Mon, 29 Jul 2019 13:42:30 +0000 (15:42 +0200)] 
RPKI: Fix allocation of hostname when using an IPv6 address

6 years agoBFD: Fix formatting of 'show bfd sessions'
Ondrej Zajicek (work) [Thu, 25 Jul 2019 12:24:16 +0000 (14:24 +0200)] 
BFD: Fix formatting of 'show bfd sessions'

The formatting was broken due to longer date in 'since' column.

6 years agoMerge remote-tracking branch 'origin/mq-filter-stack'
Ondrej Zajicek (work) [Wed, 24 Jul 2019 13:38:32 +0000 (15:38 +0200)] 
Merge remote-tracking branch 'origin/mq-filter-stack'

6 years agoNest: VRF of protocol can be explicitly specified as 'default'
Ondrej Zajicek (work) [Wed, 24 Jul 2019 13:08:03 +0000 (15:08 +0200)] 
Nest: VRF of protocol can be explicitly specified as 'default'

Protocol can have specified VRF, in such case it is restricted to a set
of ifaces associated with the VRF, otherwise it can use all interfaces.

The patch allows to specify VRF as 'default', in which case it is
restricted to a set of iface not associated with any VRF.

6 years agoOSPF: Fix formatting of 'show ospf neighbors'
Ondrej Zajicek (work) [Tue, 23 Jul 2019 15:02:41 +0000 (17:02 +0200)] 
OSPF: Fix formatting of 'show ospf neighbors'

The formatting was broken when too short router-id was used.

6 years agoRPKI: Fix reconfiguration when ssh parameters are undefined
Ondrej Zajicek (work) [Mon, 22 Jul 2019 23:52:18 +0000 (01:52 +0200)] 
RPKI: Fix reconfiguration when ssh parameters are undefined

6 years agoLib: Improve printf() tests
Ondrej Zajicek (work) [Thu, 18 Jul 2019 00:39:35 +0000 (02:39 +0200)] 
Lib: Improve printf() tests

Includes patch from Maximilian Eschenbacher

6 years agoLib: Fix print of 64-bit router id
Ondrej Zajicek (work) [Wed, 17 Jul 2019 23:57:26 +0000 (01:57 +0200)] 
Lib: Fix print of 64-bit router id

Mismatched types to printf(). The old code coincidentally worked on amd64
due to its calling conventions.

Thanks to Maximilian Eschenbacher for the bugreport.

6 years agoBFD: Support for VRFs
Ondrej Zajicek (work) [Wed, 17 Jul 2019 14:20:35 +0000 (16:20 +0200)] 
BFD: Support for VRFs

Allow multiple BFD instances in separate VRFs, dispatch BFD requests
according to VRFs.

Thanks to Alexander Zubkov for notice and patches.

6 years agoNetlink: Fix parsing of multipath routes with MPLS labels
Ondrej Zajicek (work) [Mon, 15 Jul 2019 16:16:55 +0000 (18:16 +0200)] 
Netlink: Fix parsing of multipath routes with MPLS labels

6 years agoNetlink: Use route replace for IPv4
Ondrej Zajicek (work) [Mon, 15 Jul 2019 14:23:18 +0000 (16:23 +0200)] 
Netlink: Use route replace for IPv4

Use route replace netlink op instead of delete+add netlink ops for kernel
IPv4 route replace. This avoids some packetloss during route replace.
Still use the old behavior for IPv6, as some kernel bugs are hidden in
IPv6 ECMP handling.

6 years agoMerge remote-tracking branch 'origin/master' into mq-filter-stack
Maria Matejka [Mon, 15 Jul 2019 14:07:16 +0000 (16:07 +0200)] 
Merge remote-tracking branch 'origin/master' into mq-filter-stack

6 years agoFilter: further split of print & die to FI_PRINT, FI_FLUSH and FI_DIE
Maria Matejka [Mon, 15 Jul 2019 13:43:47 +0000 (15:43 +0200)] 
Filter: further split of print & die to FI_PRINT, FI_FLUSH and FI_DIE

6 years agoFilter: Simpler filter context allocation
Maria Matejka [Mon, 15 Jul 2019 13:23:35 +0000 (15:23 +0200)] 
Filter: Simpler filter context allocation

6 years agoFilter: FID_MEMBER debug string is a C constant string
Maria Matejka [Mon, 15 Jul 2019 13:17:04 +0000 (15:17 +0200)] 
Filter: FID_MEMBER debug string is a C constant string

6 years agoFilter: Converted FI_PRINT and FI_PATHMASK_CONSTRUCT to VARARG
Maria Matejka [Mon, 15 Jul 2019 13:12:18 +0000 (15:12 +0200)] 
Filter: Converted FI_PRINT and FI_PATHMASK_CONSTRUCT to VARARG

6 years agoFilter: fixed excessive stack allocation in functions with args but no local vars
Maria Matejka [Mon, 15 Jul 2019 13:06:52 +0000 (15:06 +0200)] 
Filter: fixed excessive stack allocation in functions with args but no local vars

6 years agoFilter: lots of documentation
Maria Matejka [Mon, 15 Jul 2019 11:19:01 +0000 (13:19 +0200)] 
Filter: lots of documentation

6 years agoFilter: Don't write out when re-evaluating filter for internal purposes.
Maria Matejka [Mon, 15 Jul 2019 10:03:47 +0000 (12:03 +0200)] 
Filter: Don't write out when re-evaluating filter for internal purposes.

6 years agoFilter: Don't fail badly when trying to access non-existent route in config time
Maria Matejka [Mon, 15 Jul 2019 10:03:13 +0000 (12:03 +0200)] 
Filter: Don't fail badly when trying to access non-existent route in config time

6 years agoOSPF: Fix handling of NSSA option flags
Ondrej Zajicek (work) [Wed, 10 Jul 2019 16:25:36 +0000 (18:25 +0200)] 
OSPF: Fix handling of NSSA option flags

Per RFC 3101, N-bit signalling NSSA support should be used only in Hello
packets, not in DBDES packets. BIRD since 2.0.4 verifies N-bit in
neighbor structure, which is learned from DBDES packets, therefore
NSSA-LSAs are not propagated to proper implementations of RFC 3101.

This patch fixes that. Both removing the check and removing N-bit from
DBDES packet. This will fix compatibility issues with proper
implementations, but causes compatibility issues with BIRD 2.0.4.

6 years agoFilter: Minor cleanups
Ondrej Zajicek (work) [Wed, 10 Jul 2019 14:46:31 +0000 (16:46 +0200)] 
Filter: Minor cleanups

6 years agoMerge branch 'master' into mq-filter-stack
Maria Matejka [Wed, 10 Jul 2019 09:27:08 +0000 (11:27 +0200)] 
Merge branch 'master' into mq-filter-stack

6 years agoDebug: growing message format buffer
Maria Matejka [Wed, 10 Jul 2019 09:12:41 +0000 (11:12 +0200)] 
Debug: growing message format buffer

This led in corner cases to undefined buffer content
and garbage output.

6 years agoOSPF: Minor fix in graceful restart
Ondrej Zajicek (work) [Tue, 9 Jul 2019 13:57:46 +0000 (15:57 +0200)] 
OSPF: Minor fix in graceful restart

Most LSA origination is blocked in ospf_update_topology(), this fix
blocks LSA origination from ospf_rt_spf().

6 years agoDoc: Fix typo in BGP dynamic names feature description
Vincent Bernat [Tue, 9 Jul 2019 13:25:40 +0000 (15:25 +0200)] 
Doc: Fix typo in BGP dynamic names feature description

6 years agoMerge branch 'master' of gitlab.labs.nic.cz:labs/bird
Maria Matejka [Tue, 9 Jul 2019 12:53:15 +0000 (14:53 +0200)] 
Merge branch 'master' of gitlab.labs.nic.cz:labs/bird

6 years agoTest: Fixed annoying warnings (and possible obscure bugs).
Maria Matejka [Fri, 8 Feb 2019 10:19:04 +0000 (11:19 +0100)] 
Test: Fixed annoying warnings (and possible obscure bugs).

6 years agoTest: better random u64 generator
Maria Matejka [Tue, 9 Jul 2019 12:34:26 +0000 (14:34 +0200)] 
Test: better random u64 generator

6 years agoOSPF: Update DR when local priority changes
Ondrej Zajicek (work) [Tue, 9 Jul 2019 01:48:02 +0000 (03:48 +0200)] 
OSPF: Update DR when local priority changes

When priority is reconfigured locally, we need to trigger DR election.

(recommiting, was reset by the previous commit)

6 years agoOSPF: Fix handling of external routes on graceful restart
Ondrej Zajicek (work) [Tue, 9 Jul 2019 01:31:54 +0000 (03:31 +0200)] 
OSPF: Fix handling of external routes on graceful restart

We need to flush learned external LSAs a bit later than other LSAs (after
first feed after end of the graceful restart) to avoid flap of external
routes.

6 years agoNest: Uninitialized variable fix
Maria Matejka [Mon, 8 Jul 2019 11:04:50 +0000 (13:04 +0200)] 
Nest: Uninitialized variable fix

Thanks to Vincent Bernat for reporting this.

6 years agoLibdmalloc macros fixed
Maria Matejka [Mon, 8 Jul 2019 11:00:13 +0000 (13:00 +0200)] 
Libdmalloc macros fixed

6 years agoOSPF: Update DR when local priority changes
Ondrej Zajicek (work) [Thu, 4 Jul 2019 11:34:42 +0000 (13:34 +0200)] 
OSPF: Update DR when local priority changes

When priority is reconfigured locally, we need to trigger DR election.

6 years agoMerge branch 'master' into mq-filter-stack
Maria Matejka [Wed, 3 Jul 2019 09:09:52 +0000 (11:09 +0200)] 
Merge branch 'master' into mq-filter-stack

6 years agoMerge branch 'mq-filter-stack' of gitlab.labs.nic.cz:labs/bird into mq-filter-stack
Maria Matejka [Wed, 3 Jul 2019 06:44:42 +0000 (08:44 +0200)] 
Merge branch 'mq-filter-stack' of gitlab.labs.nic.cz:labs/bird into mq-filter-stack

6 years agoFilter: CLI command to dump all the linearized filters
Maria Matejka [Wed, 3 Jul 2019 06:13:07 +0000 (08:13 +0200)] 
Filter: CLI command to dump all the linearized filters

6 years agoFilter: Split printing and dying
Maria Matejka [Tue, 2 Jul 2019 23:23:49 +0000 (01:23 +0200)] 
Filter: Split printing and dying

6 years agoRemoved obsolete comment at as_path_cut()
Maria Matejka [Tue, 2 Jul 2019 22:04:24 +0000 (00:04 +0200)] 
Removed obsolete comment at as_path_cut()

6 years agoDynamic attributes definition split whether it is bitmask or not.
Maria Matejka [Tue, 2 Jul 2019 22:00:11 +0000 (00:00 +0200)] 
Dynamic attributes definition split whether it is bitmask or not.

6 years agoFilter: Dropped some more irrelevant whitespace from generated files
Maria Matejka [Tue, 2 Jul 2019 20:57:00 +0000 (22:57 +0200)] 
Filter: Dropped some more irrelevant whitespace from generated files

6 years agoNetlink: Handle alien routes with unsorted nexthops
Ondrej Zajicek (work) [Tue, 2 Jul 2019 16:23:06 +0000 (18:23 +0200)] 
Netlink: Handle alien routes with unsorted nexthops

Nest requires that nexthops are sorted, the kernel protocol have to
ensure that for alien routes.

6 years agoFilter: Nicer whitespaces in generated inst-gen.h
Maria Matejka [Tue, 2 Jul 2019 15:59:21 +0000 (17:59 +0200)] 
Filter: Nicer whitespaces in generated inst-gen.h

6 years agoFilter: documentation of the M4 preprocessor
Maria Matejka [Tue, 2 Jul 2019 15:39:56 +0000 (17:39 +0200)] 
Filter: documentation of the M4 preprocessor

6 years agoNetlink: Do unified scan for both IPv4 and IPv6
Ondrej Zajicek (work) [Tue, 2 Jul 2019 14:30:36 +0000 (16:30 +0200)] 
Netlink: Do unified scan for both IPv4 and IPv6

Instead of separate scans for IPv4, IPv6 and MPLS, do one AF_UNSPEC scan.

This also avoids kernel issue when kernel reported IPv4 and IPv6 routes
during MPLS scan if MPLS is not active.

6 years agoFilter: GCC, don't complain about indentation in generated code.
Maria Matejka [Tue, 2 Jul 2019 11:13:29 +0000 (13:13 +0200)] 
Filter: GCC, don't complain about indentation in generated code.

6 years agoFilter: Pre-evaluation of constant expressions
Maria Matejka [Tue, 2 Jul 2019 08:45:53 +0000 (10:45 +0200)] 
Filter: Pre-evaluation of constant expressions

6 years agoFilter: Resolving of defined constants in config time
Maria Matejka [Mon, 1 Jul 2019 12:12:05 +0000 (14:12 +0200)] 
Filter: Resolving of defined constants in config time

6 years agoFilter: Moved singleton member definitions to f-inst.c
Maria Matejka [Mon, 1 Jul 2019 11:13:06 +0000 (13:13 +0200)] 
Filter: Moved singleton member definitions to f-inst.c

6 years agoFilter: Moved f_inst allocation to separate function
Maria Matejka [Mon, 1 Jul 2019 10:49:02 +0000 (12:49 +0200)] 
Filter: Moved f_inst allocation to separate function

6 years agoFilter: Getting rid of RESULT_OK. Adding RESULT_VOID.
Maria Matejka [Mon, 1 Jul 2019 10:07:06 +0000 (12:07 +0200)] 
Filter: Getting rid of RESULT_OK. Adding RESULT_VOID.

This is a preparation for filter pre-evaluation.

6 years agoFilter: The interpreter code now shares its diversion with constructor
Maria Matejka [Mon, 1 Jul 2019 09:57:35 +0000 (11:57 +0200)] 
Filter: The interpreter code now shares its diversion with constructor

This is a preparation for filter pre-evaluation.

6 years agoBGP: Prefix hash is too small, increase its max size.
Maria Jan Matejka [Tue, 11 Jun 2019 13:19:21 +0000 (13:19 +0000)] 
BGP: Prefix hash is too small, increase its max size.

This doesn't make any change for you until you have
millions of updates waiting to be sent. Increasing
the max hash size from 2^20 to 2^24.

6 years agoBGP: split tx explicitly
Maria Jan Matejka [Tue, 11 Jun 2019 09:35:25 +0000 (09:35 +0000)] 
BGP: split tx explicitly

If BGP has too many data to send and BIRD is slower than the link, TX is
always possible until all data is sent. This patch limits maximum number
of generated BGP messages in one iteration of TX hook.

6 years agoAdd mock-up function for unit tests
Ondrej Zajicek (work) [Sun, 30 Jun 2019 20:30:56 +0000 (22:30 +0200)] 
Add mock-up function for unit tests

They failed without it.

6 years agoDoc: OSPF graceful restart options
Ondrej Zajicek (work) [Sun, 30 Jun 2019 20:11:11 +0000 (22:11 +0200)] 
Doc: OSPF graceful restart options

6 years agoOSPF: Support for graceful restart
Ondrej Zajicek (work) [Sun, 30 Jun 2019 18:12:59 +0000 (20:12 +0200)] 
OSPF: Support for graceful restart

Implement OSPFv2 (RFC 3623) and OSPFv3 (RFC 5187) graceful restart,
for both restarting and helper sides. Graceful restart is initiated
by 'graceful down' command.

6 years agoNest: Add command to request graceful restart
Ondrej Zajicek (work) [Tue, 18 Jun 2019 14:27:21 +0000 (16:27 +0200)] 
Nest: Add command to request graceful restart

When 'graceful down' command is entered, protocols are shut down
with regard to graceful restart. Namely Kernel protocol does
not remove routes and BGP protocol does not send notification,
just closes the connection.

6 years agoFilter: renaming pointers for consistency
Maria Matejka [Fri, 28 Jun 2019 09:08:48 +0000 (11:08 +0200)] 
Filter: renaming pointers for consistency

The struct f_inst * is now always "what"
and the union member pointer is always "whati".

6 years agoFilter: A little cleanup of M4 interpreter generator
Maria Matejka [Thu, 27 Jun 2019 13:55:48 +0000 (15:55 +0200)] 
Filter: A little cleanup of M4 interpreter generator

6 years agoMerge remote-tracking branch 'refs/remotes/origin/mq-filter-stack' into mq-filter...
Maria Matejka [Tue, 25 Jun 2019 20:40:05 +0000 (22:40 +0200)] 
Merge remote-tracking branch 'refs/remotes/origin/mq-filter-stack' into mq-filter-stack

6 years agoConf/Filters: Moved argument count to conf scope
Maria Matejka [Tue, 25 Jun 2019 14:18:06 +0000 (16:18 +0200)] 
Conf/Filters: Moved argument count to conf scope

6 years agoFilter instructions don't confuse now v1 and res.
Maria Matejka [Fri, 21 Jun 2019 09:33:28 +0000 (11:33 +0200)] 
Filter instructions don't confuse now v1 and res.

6 years agoRevert "Filter: Dropped the setter instructions in favor of direct result storage."
Maria Matejka [Wed, 19 Jun 2019 12:09:57 +0000 (14:09 +0200)] 
Revert "Filter: Dropped the setter instructions in favor of direct result storage."

This reverts commit bd91338246c1ba40358243f1bdf5a6dbd3a29f35.

6 years agoString: bstrtoul macro expanded to bstrtoul10 and 16
Maria Matejka [Thu, 13 Jun 2019 12:27:58 +0000 (14:27 +0200)] 
String: bstrtoul macro expanded to bstrtoul10 and 16

6 years agoFilter: removal of semantically insane consts in filter_commit
Maria Matejka [Thu, 13 Jun 2019 12:24:48 +0000 (14:24 +0200)] 
Filter: removal of semantically insane consts in filter_commit

6 years agoAdd mock-up function for unit tests
Ondrej Zajicek (work) [Wed, 12 Jun 2019 16:02:01 +0000 (18:02 +0200)] 
Add mock-up function for unit tests

They failed without it.

6 years agoAdd CLI command to test reconfiguration status
Ondrej Zajicek (work) [Wed, 12 Jun 2019 14:13:21 +0000 (16:13 +0200)] 
Add CLI command to test reconfiguration status

Based on patch from Kenth Eriksson <kenth.eriksson@infinera.com>.