]> git.proxmox.com Git - mirror_frr.git/log
mirror_frr.git
5 years ago(all tests): Add extra check to make sure daemons are still running after each essent...
Martin Winter [Sat, 20 May 2017 03:41:20 +0000 (20:41 -0700)]
(all tests): Add extra check to make sure daemons are still running after each essential stage.

If daemon crashed at a later stage (not startup), then the test scripts didn't properly detect it and report unpredictable errors. This will properly log the daemon crashes

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agolib: Add different failure comment on processes killed by AddressSanitizer
Martin Winter [Sat, 20 May 2017 03:30:40 +0000 (20:30 -0700)]
lib: Add different failure comment on processes killed by AddressSanitizer

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agolib: Move updated topotest.py lib with AddressSanitizer to correct directory (fix...
Martin Winter [Fri, 19 May 2017 09:16:42 +0000 (02:16 -0700)]
lib: Move updated topotest.py lib with AddressSanitizer to correct directory (fix mistake from 2 commits ago)

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoDoc: Update manual sample build instruction with symlink for vtysh and reference...
Martin Winter [Fri, 19 May 2017 03:24:54 +0000 (20:24 -0700)]
Doc: Update manual sample build instruction with symlink for vtysh and reference to user creation

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoAdd support for collecting AddressSanitizer output. See README.md for details
Martin Winter [Fri, 19 May 2017 01:51:07 +0000 (18:51 -0700)]
Add support for collecting AddressSanitizer output. See README.md for details

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoldp-topo1: Adjust to accept new format in "show ip route" as introduced with PR 495...
Martin Winter [Wed, 10 May 2017 16:41:53 +0000 (09:41 -0700)]
ldp-topo1: Adjust to accept new format in "show ip route" as introduced with PR 495 (extra comma)

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoFix memory leak detection and reporting which accidentally was dropped a month ago
Martin Winter [Thu, 27 Apr 2017 02:54:25 +0000 (19:54 -0700)]
Fix memory leak detection and reporting which accidentally was dropped a month ago

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agolib: Fix another typo on kernel compare
Martin Winter [Wed, 26 Apr 2017 20:35:48 +0000 (13:35 -0700)]
lib: Fix another typo on kernel compare

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agolib: Fix version check in previous kernel compare
Martin Winter [Wed, 26 Apr 2017 20:22:34 +0000 (13:22 -0700)]
lib: Fix version check in previous kernel compare

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoActually fix version comparison
Donald Sharp [Wed, 26 Apr 2017 18:44:56 +0000 (14:44 -0400)]
Actually fix version comparison

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
5 years agoSpell Verifying correctly
Donald Sharp [Wed, 26 Apr 2017 16:18:58 +0000 (12:18 -0400)]
Spell Verifying correctly

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
5 years agoFix tests to handle new output
Donald Sharp [Wed, 26 Apr 2017 16:15:39 +0000 (12:15 -0400)]
Fix tests to handle new output

The show commands for bgp now have a bit more
data associated with labeled unicast routes.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
5 years agolib: Fix kernel version parsing
Donald Sharp [Wed, 26 Apr 2017 12:51:50 +0000 (08:51 -0400)]
lib: Fix kernel version parsing

When we have a kernel sub version > 10 the float conversion
of the kernel version causes 4.10 to be less than 4.5

Get the kernel version in groups on <major>.<minor> and do
comparison that way

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
5 years agoospf6-topo1: Update to ignore the proto type in linux kernel table
Martin Winter [Wed, 26 Apr 2017 12:30:50 +0000 (05:30 -0700)]
ospf6-topo1: Update to ignore the proto type in linux kernel table

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoall-protocol-startup: Fix bad assert in case of failed vtysh output test
Martin Winter [Mon, 24 Apr 2017 23:12:55 +0000 (16:12 -0700)]
all-protocol-startup: Fix bad assert in case of failed vtysh output test

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoall-protocol-startup: Fix pref commit - bamboo prefix is lower case
Martin Winter [Tue, 11 Apr 2017 04:58:54 +0000 (21:58 -0700)]
all-protocol-startup: Fix pref commit - bamboo prefix is lower case

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoall-protocol-startup: Add option to skip currently broken checks and relax BGP check
Martin Winter [Tue, 11 Apr 2017 04:07:02 +0000 (21:07 -0700)]
all-protocol-startup: Add option to skip currently broken checks and relax BGP check

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoripng-topo1: Fix duplicate IP (Thanks Renato!) and documentation typos
Martin Winter [Sat, 8 Apr 2017 21:52:41 +0000 (14:52 -0700)]
ripng-topo1: Fix duplicate IP (Thanks Renato!) and documentation typos

5 years agoall-protocol-startup: Add test suite which runs all protocols at once and verifies...
Martin Winter [Sat, 8 Apr 2017 10:49:43 +0000 (03:49 -0700)]
all-protocol-startup: Add test suite which runs all protocols at once and verifies startup and spurious errors of each

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agolib: Add function to check for daemon available (i.e. LDPd) and function to return...
Martin Winter [Sat, 8 Apr 2017 10:40:51 +0000 (03:40 -0700)]
lib: Add function to check for daemon available (i.e. LDPd) and function to return typ (quagga or frr)

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoUpdate FreeRangeRouting -> FRRouting name
Martin Winter [Sat, 8 Apr 2017 10:39:47 +0000 (03:39 -0700)]
Update FreeRangeRouting -> FRRouting name

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agorip_topo1: Adding new test for RIPv2 Topology
Martin Winter [Sat, 8 Apr 2017 00:22:03 +0000 (17:22 -0700)]
rip_topo1: Adding new test for RIPv2 Topology

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoripng_topo1: Adding new test for RIPng Topology
Martin Winter [Fri, 7 Apr 2017 23:40:47 +0000 (16:40 -0700)]
ripng_topo1: Adding new test for RIPng Topology

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agotopotest library: Fix creation of /etc/XXX/vtysh.conf
Martin Winter [Fri, 7 Apr 2017 00:38:48 +0000 (17:38 -0700)]
topotest library: Fix creation of /etc/XXX/vtysh.conf

- Needs to be created in local filesystem of each router

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agobgp_multiview_topo1: Fix case of tests hanging if convergence is not successful.
Martin Winter [Thu, 6 Apr 2017 07:34:43 +0000 (00:34 -0700)]
bgp_multiview_topo1: Fix case of tests hanging if convergence is not successful.

- Part of a command was missing which caused a hang in cases when BGP didn't converge

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoLDP-Topo1: Update test to accept new format of LDP output
Martin Winter [Fri, 24 Mar 2017 05:31:50 +0000 (22:31 -0700)]
LDP-Topo1: Update test to accept new format of LDP output

* Added test to check for version
* Adopted all tests to verify against the correct version of output

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoFix README incorrect reference to Quagga
Martin Winter [Thu, 2 Mar 2017 07:36:30 +0000 (14:36 +0700)]
Fix README incorrect reference to Quagga

5 years agoldp-topo1: Fix ordering of reference output to check against
Martin Winter [Thu, 16 Feb 2017 16:54:40 +0000 (23:54 +0700)]
ldp-topo1: Fix ordering of reference output to check against

Ordering of output is now done by LDP and should be consistent

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoldp-topo1: Delete accidentally include tar file
Martin Winter [Thu, 16 Feb 2017 16:53:48 +0000 (23:53 +0700)]
ldp-topo1: Delete accidentally include tar file

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoUpdate Readme to have correct ordering for frr user
Donald Sharp [Thu, 9 Feb 2017 00:12:43 +0000 (19:12 -0500)]
Update Readme to have correct ordering for frr user

We cannot usermod the frr user until after we
create the user with adduser.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
5 years agoUpdate Readme to reflect FreeRangeRouting name
Martin Winter [Wed, 1 Feb 2017 16:07:53 +0000 (08:07 -0800)]
Update Readme to reflect FreeRangeRouting name

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agobgp_multiview_topo1: Mask out BGP Table version in comparison
Martin Winter [Wed, 1 Feb 2017 16:01:32 +0000 (08:01 -0800)]
bgp_multiview_topo1: Mask out BGP Table version in comparison

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoAdded optional output for memleaks at the end of test. Enable them by setting the...
Martin Winter [Wed, 1 Feb 2017 15:50:13 +0000 (07:50 -0800)]
Added optional output for memleaks at the end of test. Enable them by setting the environment variable TOPOTESTS_CHECK_STDERR to some value

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoMove common function and class to topotest library
Martin Winter [Mon, 30 Jan 2017 21:50:48 +0000 (13:50 -0800)]
Move common function and class to topotest library

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
5 years agoldp-topo1: Add new LDP Topology Test
Martin Winter [Mon, 16 Jan 2017 17:36:13 +0000 (09:36 -0800)]
ldp-topo1: Add new LDP Topology Test

5 years agobgp_multiview_topo1: Fix bad check for running daemons
Martin Winter [Mon, 16 Jan 2017 17:34:03 +0000 (09:34 -0800)]
bgp_multiview_topo1: Fix bad check for running daemons

Only one ruter running in the setup

5 years agoAdd support for FRR in addition to Quagga
Martin Winter [Sat, 14 Jan 2017 17:45:57 +0000 (00:45 +0700)]
Add support for FRR in addition to Quagga

5 years agochange in checkRunning: Check all daemons on all nodes before aborting with an assert
Martin Winter [Tue, 20 Dec 2016 08:19:52 +0000 (15:19 +0700)]
change in checkRunning: Check all daemons on all nodes before aborting with an assert

5 years agoospf6-topo1: Add Markdown doc with testdescription
Martin Winter [Thu, 1 Dec 2016 10:23:38 +0000 (02:23 -0800)]
ospf6-topo1: Add Markdown doc with testdescription

5 years agobgp_multiview_topo1: Rename test_description.md to README.md for automatic rendering...
Martin Winter [Thu, 1 Dec 2016 03:58:30 +0000 (19:58 -0800)]
bgp_multiview_topo1: Rename test_description.md to README.md for automatic rendering in online git

5 years agobgp_multiview_topo1: Add Markdown doc for test
Martin Winter [Thu, 1 Dec 2016 03:51:16 +0000 (19:51 -0800)]
bgp_multiview_topo1: Add Markdown doc for test

5 years agoREADME: Add example configure statement for building test quagga code
Martin Winter [Thu, 1 Dec 2016 03:50:29 +0000 (19:50 -0800)]
README: Add example configure statement for building test quagga code

5 years agobgp_multiview_topo1: Change from unified to context diff for better readability
Martin Winter [Sun, 27 Nov 2016 01:36:07 +0000 (17:36 -0800)]
bgp_multiview_topo1: Change from unified to context diff for better readability

5 years agoospf6-topo1: Add check for Linux Kernel Routing Table as well and change to better...
Martin Winter [Sun, 27 Nov 2016 01:30:22 +0000 (17:30 -0800)]
ospf6-topo1: Add check for Linux Kernel Routing Table as well and change to better human readable context diff

5 years agoospf6-topo1: Enable coredumps for Quagga Daemons and add logic to skip remaining...
Martin Winter [Sat, 26 Nov 2016 22:50:57 +0000 (14:50 -0800)]
ospf6-topo1: Enable coredumps for Quagga Daemons and add logic to skip remaining test in case of fatal error

5 years agobgp_multiview_topo1: Added Network Diagram as comment
Martin Winter [Sat, 26 Nov 2016 22:49:56 +0000 (14:49 -0800)]
bgp_multiview_topo1: Added Network Diagram as comment

5 years agobgp_multiview_topo1: Fix limit to create coredumps on quagga crashes
Martin Winter [Sat, 26 Nov 2016 10:57:03 +0000 (02:57 -0800)]
bgp_multiview_topo1: Fix limit to create coredumps on quagga crashes

5 years agobgp_multiview_topo1: Rename received bgp route log with .log for easy clean between...
Martin Winter [Sat, 26 Nov 2016 10:56:28 +0000 (02:56 -0800)]
bgp_multiview_topo1: Rename received bgp route log with .log for easy clean between runs

5 years agoexample-test: Add simple example pytest for documentation (and exclude it from runnin...
Martin Winter [Sat, 26 Nov 2016 04:19:10 +0000 (20:19 -0800)]
example-test: Add simple example pytest for documentation (and exclude it from running in pytest.ini)

5 years agoUpdate Documentation
Martin Winter [Sat, 26 Nov 2016 04:11:02 +0000 (20:11 -0800)]
Update Documentation

5 years agobgp_multiview_topo1: Skip remaining on fatal error and try to get more crash info...
Martin Winter [Sat, 26 Nov 2016 03:56:37 +0000 (19:56 -0800)]
bgp_multiview_topo1: Skip remaining on fatal error and try to get more crash info of daemon is not running

5 years agobgp_multiview_topo1: Add "bgp multiview" simple topology to test. Initial commit
Martin Winter [Thu, 24 Nov 2016 11:58:47 +0000 (03:58 -0800)]
bgp_multiview_topo1: Add "bgp multiview" simple topology to test. Initial commit

5 years agoospf6-topo1: Code cleanup
Martin Winter [Thu, 24 Nov 2016 11:56:05 +0000 (03:56 -0800)]
ospf6-topo1: Code cleanup

5 years agoospf6-topo1: Less chatty timeout messages during convergence
Martin Winter [Mon, 21 Nov 2016 08:42:06 +0000 (00:42 -0800)]
ospf6-topo1: Less chatty timeout messages during convergence

5 years agoospf6-topo1: Cleanup log messages
Martin Winter [Mon, 21 Nov 2016 08:32:40 +0000 (00:32 -0800)]
ospf6-topo1: Cleanup log messages

5 years agoAdd .gitignore
Martin Winter [Sun, 20 Nov 2016 07:59:42 +0000 (23:59 -0800)]
Add .gitignore

5 years agotest_ospf6_topo1: Restructure to run under pytest
Martin Winter [Sun, 20 Nov 2016 03:10:05 +0000 (19:10 -0800)]
test_ospf6_topo1: Restructure to run under pytest

5 years agoRenamed Test Directory: ospf6-test1 -> ospf6_topo1
Martin Winter [Sun, 20 Nov 2016 03:08:49 +0000 (19:08 -0800)]
Renamed Test Directory: ospf6-test1 -> ospf6_topo1

5 years agoospf6-test1: Renamed testscript to have test_ prefix for pytest discovery
Martin Winter [Sun, 20 Nov 2016 03:06:01 +0000 (19:06 -0800)]
ospf6-test1: Renamed testscript to have test_ prefix for pytest discovery

5 years agoospf6-test1: Look for test config in directories relative to main script location
Martin Winter [Sat, 19 Nov 2016 07:42:49 +0000 (23:42 -0800)]
ospf6-test1: Look for test config in directories relative to main script location

5 years agoCleanup README and a reference to License
Martin Winter [Fri, 18 Nov 2016 00:10:38 +0000 (16:10 -0800)]
Cleanup README and a reference to License

5 years agoInitial commit with first OSPFv6 Topology Test
Martin Winter [Thu, 17 Nov 2016 11:16:21 +0000 (03:16 -0800)]
Initial commit with first OSPFv6 Topology Test

5 years agotests: Exclude topotests from consideration
Donald Sharp [Wed, 28 Nov 2018 01:20:59 +0000 (20:20 -0500)]
tests: Exclude topotests from consideration

When running make check, exclude the topotests directory from considertion.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
5 years agoMerge pull request #3351 from chiragshah6/ospfv3_dev
Russ White [Mon, 26 Nov 2018 13:09:12 +0000 (08:09 -0500)]
Merge pull request #3351 from chiragshah6/ospfv3_dev

ospf6d: abr summary advertise best route

5 years agoMerge pull request #3356 from opensourcerouting/router-id-loopbacks
Russ White [Mon, 26 Nov 2018 13:07:28 +0000 (08:07 -0500)]
Merge pull request #3356 from opensourcerouting/router-id-loopbacks

zebra: improve identification of loopback interfaces in the router-id code

5 years agoMerge pull request #3361 from opensourcerouting/yang-embed-models
Russ White [Mon, 26 Nov 2018 13:04:03 +0000 (08:04 -0500)]
Merge pull request #3361 from opensourcerouting/yang-embed-models

yang: embed models into binaries

5 years agoMerge pull request #3362 from pacovn/Coverity_1475469_null_check
Russ White [Mon, 26 Nov 2018 13:01:09 +0000 (08:01 -0500)]
Merge pull request #3362 from pacovn/Coverity_1475469_null_check

bgpd: null check (Coverity 1475469)

5 years agoMerge pull request #3364 from opensourcerouting/bugfix/isis-ipv6-only
Russ White [Mon, 26 Nov 2018 13:00:25 +0000 (08:00 -0500)]
Merge pull request #3364 from opensourcerouting/bugfix/isis-ipv6-only

IS-IS: Bugfix ipv6 only

5 years agoMerge pull request #3374 from opensourcerouting/bugfix/vty-shadow
Russ White [Mon, 26 Nov 2018 12:56:31 +0000 (07:56 -0500)]
Merge pull request #3374 from opensourcerouting/bugfix/vty-shadow

lib/vty: Fix warning about shadowed variable

5 years agoMerge pull request #3371 from donaldsharp/vtysh_ospf_instance
Russ White [Mon, 26 Nov 2018 12:55:49 +0000 (07:55 -0500)]
Merge pull request #3371 from donaldsharp/vtysh_ospf_instance

vtysh: Don't attempt to reconnect the non-instanced ospf process

5 years agoMerge pull request #3325 from adeg/bugfix/bgpd-vtysh-fixes
Russ White [Mon, 26 Nov 2018 03:39:47 +0000 (22:39 -0500)]
Merge pull request #3325 from adeg/bugfix/bgpd-vtysh-fixes

bgp_vty: Fix vpn_leak_postchange_all() every time "router bgp ASNUM" context is entered

5 years agoMerge pull request #3176 from chiragshah6/evpn_dev
Russ White [Mon, 26 Nov 2018 03:17:33 +0000 (22:17 -0500)]
Merge pull request #3176 from chiragshah6/evpn_dev

zebra: duplicate address detection and dampening

5 years agolib/vty: Fix warning about shadowed variable
Christian Franke [Fri, 23 Nov 2018 16:52:46 +0000 (17:52 +0100)]
lib/vty: Fix warning about shadowed variable

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
5 years agovtysh: Don't attempt to reconnect the non-instanced ospf process
Donald Sharp [Wed, 21 Nov 2018 21:13:25 +0000 (16:13 -0500)]
vtysh: Don't attempt to reconnect the non-instanced ospf process

When running ospf instances we should not attempt to reconnect
the default ospf instance on running a command.

This commit should be targeted enough because in the case
of normal operation we connect to everything we should
and only set the VTYSH_WAS_ACTIVE flag for those we
truly have lost connection too.

Before:

donna.cumulusnetworks.com# config t
donna.cumulusnetworks.com(config)# router ospf 100
Warning: connecting to ospfd...failed!
donna.cumulusnetworks.com(config-router)#

After:
donna.cumulusnetworks.com# conf t
donna.cumulusnetworks.com(config)# router ospf 100
donna.cumulusnetworks.com(config-router)# end
donna.cumulusnetworks.com#

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
5 years agoMerge pull request #3367 from karamalla0406/frr3333
Russ White [Wed, 21 Nov 2018 18:51:02 +0000 (13:51 -0500)]
Merge pull request #3367 from karamalla0406/frr3333

bgpd: BGP daemon crashed when a L2VNI is unconfigured

5 years agoMerge pull request #3363 from pacovn/static_analysis__ISO_C_return_compliance
Renato Westphal [Wed, 21 Nov 2018 16:19:09 +0000 (14:19 -0200)]
Merge pull request #3363 from pacovn/static_analysis__ISO_C_return_compliance

bgpd isisd lib: fix return on void functions

5 years agoMerge pull request #3368 from pacovn/static_analysis__ISO_C_empty_initializer
Renato Westphal [Wed, 21 Nov 2018 16:14:45 +0000 (14:14 -0200)]
Merge pull request #3368 from pacovn/static_analysis__ISO_C_empty_initializer

isisd lib ospfd pbrd python: fix empty init

5 years agoisisd lib ospfd pbrd python: fix empty init
F. Aragon [Wed, 21 Nov 2018 11:58:48 +0000 (12:58 +0100)]
isisd lib ospfd pbrd python: fix empty init

ISO C forbids empty initializer braces. Empty initializers have been
replaced with {0}

Signed-off-by: F. Aragon <paco@voltanet.io>
5 years agobgpd: BGP daemon crashed when a L2VNI is unconfigured
Kishore Aramalla [Wed, 21 Nov 2018 00:15:56 +0000 (16:15 -0800)]
bgpd: BGP daemon crashed when a L2VNI is unconfigured

When a VNI is unconfigured it deletes all of its import and export
route-targets.  There is a export route-target link list and import
route-target linked list.  There are redudant loops in  the
route-target deletion code.  In the first iteration it deleted the
route-target and freed the RT node, but not list node.
In the 2nd iteration it tries to free the RT node again, resulting in
 the double free of RT node.

Signed-off-by: "Kishore Aramalla karamallavmware.com"
5 years agoMerge pull request #3339 from opensourcerouting/bugfix/isis-flooding-issues
Russ White [Tue, 20 Nov 2018 20:07:19 +0000 (15:07 -0500)]
Merge pull request #3339 from opensourcerouting/bugfix/isis-flooding-issues

isis: Fix flooding issues

5 years agoisisd: Fix bug in tlvs_protocols_supported_to_adj
Christian Franke [Tue, 20 Nov 2018 18:45:31 +0000 (19:45 +0100)]
isisd: Fix bug in tlvs_protocols_supported_to_adj

We should set nlpids[0] if we only set on protocol,
not nlpids[1].

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
5 years agoisisd: Consider non-mt links usable when either v4 or v6 works
Christian Franke [Tue, 20 Nov 2018 18:18:42 +0000 (19:18 +0100)]
isisd: Consider non-mt links usable when either v4 or v6 works

When we run in non-mt mode, we should consider links which have either
working IPv4 or IPv6 active and look at the neighbors nlpids to judge
wether a link is usable.

Fixes: #3336
5 years agoMerge pull request #3359 from qlyoung/true-atomics
Mark Stapp [Tue, 20 Nov 2018 16:43:10 +0000 (11:43 -0500)]
Merge pull request #3359 from qlyoung/true-atomics

Restrict atomics to 32-bits only

5 years agobgpd isisd lib: fix return on void functions
F. Aragon [Tue, 20 Nov 2018 15:30:20 +0000 (16:30 +0100)]
bgpd isisd lib: fix return on void functions

ISO C forbids ‘return’ with expression, in function returning void.

Signed-off-by: F. Aragon <paco@voltanet.io>
5 years agoMerge pull request #2929 from kssoman/rtr_fix
Renato Westphal [Tue, 20 Nov 2018 14:26:52 +0000 (12:26 -0200)]
Merge pull request #2929 from kssoman/rtr_fix

bgpd, zebra: Creating Loopback Interface Flaps BGPd, it should update

5 years agobgpd: null check (Coverity 1475469)
F. Aragon [Tue, 20 Nov 2018 11:50:05 +0000 (12:50 +0100)]
bgpd: null check (Coverity 1475469)

Null check of 'rn' returned by bgp_node_lookup() because it could be
deferenced afterwards into bgp_nexthop_get_node_info()

Signed-off-by: F. Aragon <paco@voltanet.io>
5 years agoyang: add .gitignore
David Lamparter [Mon, 19 Nov 2018 22:59:41 +0000 (23:59 +0100)]
yang: add .gitignore

Signed-off-by: David Lamparter <equinox@diac24.net>
5 years agoyang: embed models into binaries
David Lamparter [Mon, 19 Nov 2018 18:18:37 +0000 (19:18 +0100)]
yang: embed models into binaries

This bakes our YANG models straight into the library/daemons, so they
don't need to be loaded from /usr/share/yang.  This makes the
installation quite a bit more robust, as well as gets us halfway to
running uninstalled.  (The other half is baking in the extension type
module.)

The /usr/share/yang directory is still searched as a fallback, as well
as for the experimental YANG model translator.  This is likely to stay
as is for the time being.

Signed-off-by: David Lamparter <equinox@diac24.net>
5 years agotools: add non-32 bit atomic warning to checkpatch
Quentin Young [Mon, 19 Nov 2018 18:48:42 +0000 (18:48 +0000)]
tools: add non-32 bit atomic warning to checkpatch

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
5 years ago*: only use 32-bit atomics
Quentin Young [Mon, 19 Nov 2018 18:44:35 +0000 (18:44 +0000)]
*: only use 32-bit atomics

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
5 years agoMerge pull request #3358 from opensourcerouting/libtool-cfg-warn
Quentin Young [Mon, 19 Nov 2018 17:16:37 +0000 (12:16 -0500)]
Merge pull request #3358 from opensourcerouting/libtool-cfg-warn

build: refuse non-working linking options

5 years agoMerge pull request #3346 from donaldsharp/pim_possible_issues
David Lamparter [Mon, 19 Nov 2018 16:02:27 +0000 (17:02 +0100)]
Merge pull request #3346 from donaldsharp/pim_possible_issues

Pim possible issues

5 years agoMerge pull request #3294 from pguibert6WIND/distribute_list_ipv6
David Lamparter [Mon, 19 Nov 2018 16:01:24 +0000 (17:01 +0100)]
Merge pull request #3294 from pguibert6WIND/distribute_list_ipv6

lib: distribute-list ipv6 can be (un)configured

5 years agoMerge pull request #3311 from dslicenc/static-int-up
David Lamparter [Mon, 19 Nov 2018 15:59:08 +0000 (16:59 +0100)]
Merge pull request #3311 from dslicenc/static-int-up

staticd: install static routes in a vrf when next-hop interface comes up

5 years agoMerge pull request #2725 from pguibert6WIND/workflow_lts
David Lamparter [Mon, 19 Nov 2018 15:54:56 +0000 (16:54 +0100)]
Merge pull request #2725 from pguibert6WIND/workflow_lts

doc: change workflow to support long term maintenance branches

5 years agoMerge pull request #3343 from qlyoung/doc-add-vtysh-dev
David Lamparter [Mon, 19 Nov 2018 15:54:25 +0000 (16:54 +0100)]
Merge pull request #3343 from qlyoung/doc-add-vtysh-dev

doc: add dev doc for vtysh

5 years agobuild: refuse non-working linking options
David Lamparter [Mon, 19 Nov 2018 15:32:14 +0000 (16:32 +0100)]
build: refuse non-working linking options

We only support:
* --enable-shared --disable-static --disable-static-bin
* --enable-shared --enable-static --disable-static-bin
* --enable-shared --enable-static --enable-static-bin

(The second option is not particularly useful.)

Signed-off-by: David Lamparter <equinox@diac24.net>
5 years agobgpd: Creating Loopback Interface Flaps BGPd (#2865)
root [Mon, 19 Nov 2018 12:35:32 +0000 (04:35 -0800)]
bgpd: Creating Loopback Interface Flaps BGPd (#2865)

* The function bgp_router_id_zebra_bump() will check for active bgp
  peers before chenging the router ID.
  If there are established peers, router ID is not modified
  which prevents the flapping of established peer connection

* Added field in bgp structure to store the count of established peers

Signed-off-by: kssoman <somanks@vmware.com>
5 years agozebra: dup addr detect mac consolidation
Chirag Shah [Sun, 18 Nov 2018 00:03:19 +0000 (16:03 -0800)]
zebra: dup addr detect mac consolidation

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
5 years agozebra: dup addr detect neigh consolidation
Chirag Shah [Sat, 17 Nov 2018 04:38:39 +0000 (20:38 -0800)]
zebra: dup addr detect neigh consolidation

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>