]>
git.puffer.fish Git - mirror/frr.git/log
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>
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>
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>
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>
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>
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>
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>
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>
Martin Winter [Thu, 2 Mar 2017 07:36:30 +0000 (14:36 +0700)]
Fix README incorrect reference to Quagga
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>
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>
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>
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>
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>
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>
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>
Martin Winter [Mon, 16 Jan 2017 17:36:13 +0000 (09:36 -0800)]
ldp-topo1: Add new LDP Topology Test
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
Martin Winter [Sat, 14 Jan 2017 17:45:57 +0000 (00:45 +0700)]
Add support for FRR in addition to Quagga
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
Martin Winter [Thu, 1 Dec 2016 10:23:38 +0000 (02:23 -0800)]
ospf6-topo1: Add Markdown doc with testdescription
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
Martin Winter [Thu, 1 Dec 2016 03:51:16 +0000 (19:51 -0800)]
bgp_multiview_topo1: Add Markdown doc for test
Martin Winter [Thu, 1 Dec 2016 03:50:29 +0000 (19:50 -0800)]
README: Add example configure statement for building test quagga code
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
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
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
Martin Winter [Sat, 26 Nov 2016 22:49:56 +0000 (14:49 -0800)]
bgp_multiview_topo1: Added Network Diagram as comment
Martin Winter [Sat, 26 Nov 2016 10:57:03 +0000 (02:57 -0800)]
bgp_multiview_topo1: Fix limit to create coredumps on quagga crashes
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
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)
Martin Winter [Sat, 26 Nov 2016 04:11:02 +0000 (20:11 -0800)]
Update Documentation
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
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
Martin Winter [Thu, 24 Nov 2016 11:56:05 +0000 (03:56 -0800)]
ospf6-topo1: Code cleanup
Martin Winter [Mon, 21 Nov 2016 08:42:06 +0000 (00:42 -0800)]
ospf6-topo1: Less chatty timeout messages during convergence
Martin Winter [Mon, 21 Nov 2016 08:32:40 +0000 (00:32 -0800)]
ospf6-topo1: Cleanup log messages
Martin Winter [Sun, 20 Nov 2016 07:59:42 +0000 (23:59 -0800)]
Add .gitignore
Martin Winter [Sun, 20 Nov 2016 03:10:05 +0000 (19:10 -0800)]
test_ospf6_topo1: Restructure to run under pytest
Martin Winter [Sun, 20 Nov 2016 03:08:49 +0000 (19:08 -0800)]
Renamed Test Directory: ospf6-test1 -> ospf6_topo1
Martin Winter [Sun, 20 Nov 2016 03:06:01 +0000 (19:06 -0800)]
ospf6-test1: Renamed testscript to have test_ prefix for pytest discovery
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
Martin Winter [Fri, 18 Nov 2016 00:10:38 +0000 (16:10 -0800)]
Cleanup README and a reference to License
Martin Winter [Thu, 17 Nov 2016 11:16:21 +0000 (03:16 -0800)]
Initial commit with first OSPFv6 Topology Test
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>
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
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
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
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 )
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
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
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
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
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
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>
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>
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
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
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
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>
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"
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
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>
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
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
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>
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
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>
David Lamparter [Mon, 19 Nov 2018 22:59:41 +0000 (23:59 +0100)]
yang: add .gitignore
Signed-off-by: David Lamparter <equinox@diac24.net>
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>
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>
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>
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
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
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
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
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
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
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>
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>
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>
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>
Chirag Shah [Sat, 17 Nov 2018 01:30:15 +0000 (17:30 -0800)]
bgp, zebra: address review comments
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Chirag Shah [Sat, 17 Nov 2018 01:51:11 +0000 (17:51 -0800)]
zebra: dup addr detect add fields to show evpn cmd
TOR# show evpn
L2 VNIs: 5
L3 VNIs: 0
Advertise gateway mac-ip: No
Duplicate address detection: Enable
Detection max-moves 5, time 180
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Chirag Shah [Mon, 5 Nov 2018 03:27:28 +0000 (19:27 -0800)]
zebra: dup addr detect fix warnings
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Chirag Shah [Sun, 4 Nov 2018 18:55:39 +0000 (10:55 -0800)]
zebra: dup addr detect clear command
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Chirag Shah [Sun, 4 Nov 2018 18:17:29 +0000 (10:17 -0800)]
zebra: dup addr detect operation commands
Display duplicate detected list of MACs and VNIs.
- Per VNI
- Across all VNIs
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Chirag Shah [Sun, 4 Nov 2018 17:36:47 +0000 (09:36 -0800)]
lib, zebra: dup addr detect display detection fields
Display following Per MAC and Neigh's output:
If duplicate address detection is under process,
display detection start time and detection count.
If duplicate address detection detected an address
as duplicate, display detection time and duplicate
status.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Chirag Shah [Sun, 4 Nov 2018 16:20:11 +0000 (08:20 -0800)]
zebra: dup addr detect freeze action
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Chirag Shah [Fri, 2 Nov 2018 15:30:41 +0000 (08:30 -0700)]
zebra: dup addr detect warn-only
Duplicate address detection warning only action
upon an address detected as duplicate.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Chirag Shah [Fri, 2 Nov 2018 00:55:07 +0000 (17:55 -0700)]
zebra: dup addr detect zapi changes
EVPN Duplicate Address Detection (DAD)
zapi information
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Chirag Shah [Thu, 1 Nov 2018 15:28:08 +0000 (08:28 -0700)]
bgpd: dup addr detect config cli
Duplicate address detection configuration clis
under bgp l2vpn evpn config mode.
- Enabled/Disable (global knob) for feature.
- Configure cli for duplicate detection action
freeze and freze until time (auto-recovery).
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Chirag Shah [Wed, 31 Oct 2018 23:53:28 +0000 (16:53 -0700)]
bgpd: dup addr detect data struct for cfg
Enable/disable duplicate address detection
there are 3 actions
warning-only: Default action which generates
only frr warning (syslog) to user for any
duplicate detecton
freeze: Permanently freezes address, manual
intervene required.
freeze with time: An address will recover once
the time has expired (auto-recovery).
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Renato Westphal [Sat, 17 Nov 2018 23:33:37 +0000 (21:33 -0200)]
zebra: improve identification of loopback interfaces in the router-id code
The if_is_loopback() function is the right abstraction for identifying
loopback interfaces. There should be no reason for not using it in the
router-id code.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Renato Westphal [Sat, 17 Nov 2018 22:33:44 +0000 (20:33 -0200)]
Merge pull request #3341 from donaldsharp/unneeded
zebra: Remove uncompiled file
Renato Westphal [Sat, 17 Nov 2018 22:32:02 +0000 (20:32 -0200)]
Merge pull request #3352 from pacovn/Coverity_1475489_resource_leak
bgpd: fix resource leak (Coverity
1475489 )
Renato Westphal [Sat, 17 Nov 2018 22:30:23 +0000 (20:30 -0200)]
Merge pull request #3353 from qlyoung/fix-bgpd-community-list-deletion-nit
bgpd: fix small error in community-list patch
Quentin Young [Fri, 16 Nov 2018 20:43:44 +0000 (15:43 -0500)]
Merge pull request #3338 from ton31337/fix/optional_args_for_exclude
bgpd: Optionally remove AS number when using `no set as-path exclude`
Quentin Young [Fri, 16 Nov 2018 20:16:35 +0000 (15:16 -0500)]
Merge pull request #3344 from ton31337/fix/optional_args_for_community-lists
bgpd: Remove community-list by name without typing full rule
Chirag Shah [Fri, 16 Nov 2018 01:05:58 +0000 (17:05 -0800)]
ospf6d: abr summary advertise best route
ABR summary should contain best intra prefix LSA.
There might be a case where intra-prefix route with different
cost from different advertising router present, summary
advertisement should only consider best intra-prefix route.
A route which is marked for remove, while purging the route's
ABR summary LSA also remove summary route from the summary
table.
Ticket:CM-22665
Testing Done:
Validate on ABR topology, intra-prefix route with
different cost, a higher cost intra-prefix route skip from sending
ABR summary LSA.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>