]> git.proxmox.com Git - mirror_frr.git/log
mirror_frr.git
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>
5 years agobgp, zebra: address review comments
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>
5 years agozebra: dup addr detect add fields to show evpn cmd
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>
5 years agozebra: dup addr detect fix warnings
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>
5 years agozebra: dup addr detect clear command
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>
5 years agozebra: dup addr detect operation commands
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>
5 years agolib, zebra: dup addr detect display detection fields
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>
5 years agozebra: dup addr detect freeze action
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>
5 years agozebra: dup addr detect warn-only
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>
5 years agozebra: dup addr detect zapi changes
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>
5 years agobgpd: dup addr detect config cli
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>
5 years agobgpd: dup addr detect data struct for cfg
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>
5 years agozebra: improve identification of loopback interfaces in the router-id code
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>
5 years agoMerge pull request #3341 from donaldsharp/unneeded
Renato Westphal [Sat, 17 Nov 2018 22:33:44 +0000 (20:33 -0200)]
Merge pull request #3341 from donaldsharp/unneeded

zebra: Remove uncompiled file

5 years agoMerge pull request #3352 from pacovn/Coverity_1475489_resource_leak
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)

5 years agoMerge pull request #3353 from qlyoung/fix-bgpd-community-list-deletion-nit
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

5 years agoMerge pull request #3338 from ton31337/fix/optional_args_for_exclude
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`

5 years agoMerge pull request #3344 from ton31337/fix/optional_args_for_community-lists
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

5 years agoospf6d: abr summary advertise best route
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>
5 years agobgpd: fix resource leak (Coverity 1475489)
F. Aragon [Fri, 16 Nov 2018 19:13:38 +0000 (20:13 +0100)]
bgpd: fix resource leak (Coverity 1475489)

Signed-off-by: F. Aragon <paco@voltanet.io>
5 years agoMerge pull request #3348 from donaldsharp/bsd_route_install
Mark Stapp [Fri, 16 Nov 2018 13:53:27 +0000 (08:53 -0500)]
Merge pull request #3348 from donaldsharp/bsd_route_install

zebra: Fix bsd privs elevation

5 years agozebra: Fix privs elevation
Donald Sharp [Fri, 16 Nov 2018 12:26:51 +0000 (07:26 -0500)]
zebra: Fix privs elevation

This Commit: f183e380fae61b7c1f89fed6e32ed5a9d1ede8a8 broke
priviledge escalation on *bsd.  This puts it back.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
5 years agopimd: When we fail to initiate ifchannel backout work done
Donald Sharp [Fri, 16 Nov 2018 00:28:43 +0000 (19:28 -0500)]
pimd: When we fail to initiate ifchannel backout work done

When we receive a igmp report and attempt to initiate
a pim ifchannel for it and that fails to work then
let's back out the work done setting stuff up to this
point.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
5 years agopimd: Add some debugs for when local membership fails
Donald Sharp [Fri, 16 Nov 2018 00:17:17 +0000 (19:17 -0500)]
pimd: Add some debugs for when local membership fails

When we fail to add a local membership add some additional debugs
so that we can have a bit more information on when something goes
bad.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>