]> git.puffer.fish Git - mirror/frr.git/log
mirror/frr.git
4 years agozebra: set nlmsg_pid in netlink msgs sent by 'fpm' 7875/head
Duncan Eastoe [Fri, 15 Jan 2021 16:06:17 +0000 (16:06 +0000)]
zebra: set nlmsg_pid in netlink msgs sent by 'fpm'

Use nl_pid from the netlink socket used for programming the kernel
(netlink_dplane) in netlink route messages sent by the 'fpm' module.

This makes 'fpm' consistent with 'dplane_fpm_nl' which already
behaves this way, and allows FPM server implementations to determine
route origin via nlmsg_pid.

Signed-off-by: Duncan Eastoe <duncan.eastoe@att.com>
4 years agoMerge pull request #7844 from vishaldhingra/static
Mark Stapp [Fri, 15 Jan 2021 14:35:12 +0000 (09:35 -0500)]
Merge pull request #7844 from vishaldhingra/static

staticd: correct table-id handling for static routes.

4 years agoMerge pull request #7870 from donaldsharp/pytest_marking
Mark Stapp [Fri, 15 Jan 2021 13:44:51 +0000 (08:44 -0500)]
Merge pull request #7870 from donaldsharp/pytest_marking

tests: Start the ability to mark tests

4 years agoMerge pull request #7872 from ton31337/feature/topotests_for_peer-groups
Donald Sharp [Fri, 15 Jan 2021 13:24:13 +0000 (08:24 -0500)]
Merge pull request #7872 from ton31337/feature/topotests_for_peer-groups

tests: Check if peer-group is working in topotests

4 years agoMerge pull request #7868 from mjstapp/fix_fpm_conn_up
Donald Sharp [Fri, 15 Jan 2021 11:55:29 +0000 (06:55 -0500)]
Merge pull request #7868 from mjstapp/fix_fpm_conn_up

zebra: don't set connection-up event pointer directly

4 years agotests: Check if peer-group is working in topotests 7872/head
Donatas Abraitis [Tue, 12 Jan 2021 14:12:17 +0000 (16:12 +0200)]
tests: Check if peer-group is working in topotests

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
4 years agoMerge pull request #7867 from dewi-morgan/bgp-max-prefix-overflow-clear
Donatas Abraitis [Fri, 15 Jan 2021 07:30:56 +0000 (09:30 +0200)]
Merge pull request #7867 from dewi-morgan/bgp-max-prefix-overflow-clear

bgpd: clear max prefix overflow on de-config

4 years agoMerge pull request #7869 from donaldsharp/peer_group
Donatas Abraitis [Fri, 15 Jan 2021 07:19:15 +0000 (09:19 +0200)]
Merge pull request #7869 from donaldsharp/peer_group

bgpd: Temp fix to allow numbered peers to be part of a peer group

4 years agotests: Start the ability to mark tests 7870/head
Donald Sharp [Fri, 15 Jan 2021 01:29:14 +0000 (20:29 -0500)]
tests: Start the ability to mark tests

Add the ability for our topotests to take advantage of pytest `mark`ing.
This effectively allows you to tell pytest to run against certain sets
of tests.  For a demonstration purpose I've added in marks for:
babel
eigrp
ldp
ospf
pim
rip

And setup tests to run against those tests that only test those protocols.

You can run against eigrp tests by running `pytest -k eigrp`
Other combinations are also available based upon simple boolean logic.
Just read the pytest.mark documentation.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agobgpd: Temp fix to allow numbered peers to be part of a peer group 7869/head
Donald Sharp [Thu, 14 Jan 2021 20:51:39 +0000 (15:51 -0500)]
bgpd: Temp fix to allow numbered peers to be part of a peer group

Talking w/ Chirag and he indicated that we can just backout the command
to the original and things would `work` and they do( at least a quick test does )

Put this in place until a proper fix can be done.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agoMerge pull request #7866 from kishorekunal01/fpm_dump_issue
Mark Stapp [Thu, 14 Jan 2021 19:13:31 +0000 (14:13 -0500)]
Merge pull request #7866 from kishorekunal01/fpm_dump_issue

zebra: Scale setup RMAC is send multiple time to fpm

4 years agozebra: don't set connection-up event pointer directly 7868/head
Mark Stapp [Thu, 14 Jan 2021 19:09:14 +0000 (14:09 -0500)]
zebra: don't set connection-up event pointer directly

Use thread_cancel to reset the connection-up processing timer.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
4 years agoMerge pull request #7821 from donaldsharp/evpn_flag_dump
Mark Stapp [Thu, 14 Jan 2021 18:02:21 +0000 (13:02 -0500)]
Merge pull request #7821 from donaldsharp/evpn_flag_dump

Evpn flag dump

4 years agozebra: Scale setup RMAC is send multiple time to fpm 7866/head
Kishore Kunal [Wed, 13 Jan 2021 22:16:34 +0000 (22:16 +0000)]
zebra: Scale setup RMAC is send multiple time to fpm

Thread zfpm_conn_up_thread_cb can Yield and send RMAC multiple
times to FPM.

Signed-off-by: Kishore Kunal <kishorekunal01@broadcom.com>
4 years agoMerge pull request #7712 from dslicenc/frr-reload-prefix-list-acl
Mark Stapp [Thu, 14 Jan 2021 14:11:30 +0000 (09:11 -0500)]
Merge pull request #7712 from dslicenc/frr-reload-prefix-list-acl

tools: ignore missing seq nums in prefix and access lists in frr-relo…

4 years agobgpd: clear max prefix overflow on de-config 7867/head
Dewi Morgan [Thu, 14 Jan 2021 14:01:26 +0000 (14:01 +0000)]
bgpd: clear max prefix overflow on de-config

A bgp neighbor remains in Idle state in the event that the number
of received prefixes exceeds the configured maximum prefix for the
neighbor. The neighbor remains in idle state even after de-configuring
the maximum prefix limit for the neighbor.

The fix is to clear the neighbor overflow state if set, after
de-configuring the neighbor maximum-prefix commnd.

This allows the neighbor to establish without having to perform a
clear operation. It also avoids the misleading neigbor summary
indicating that the neighbor is in prefix overflow state (PfxCt)
when no limit is configured for the neighbor.

Signed-off-by: Dewi Morgan <dewi.morgan@intl.att.com>
4 years agoMerge pull request #7746 from donaldsharp/eigrp_cleanup
Russ White [Wed, 13 Jan 2021 18:53:55 +0000 (13:53 -0500)]
Merge pull request #7746 from donaldsharp/eigrp_cleanup

Eigrp cleanup

4 years agoMerge pull request #7837 from ckishimo/tests_ospf
Donald Sharp [Wed, 13 Jan 2021 18:31:32 +0000 (13:31 -0500)]
Merge pull request #7837 from ckishimo/tests_ospf

tests: fix redistribute key in ospf tests

4 years agozebra: in zebra_evpn_mac.c use size_t for buffer length 7821/head
Donald Sharp [Wed, 6 Jan 2021 13:40:16 +0000 (08:40 -0500)]
zebra: in zebra_evpn_mac.c use size_t for buffer length

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agozebra: Create a dump function for mac->flags and use it
Donald Sharp [Wed, 6 Jan 2021 13:37:52 +0000 (08:37 -0500)]
zebra: Create a dump function for mac->flags and use it

Create a function that can dump the mac->flags in human readable
output and convert all debugs to use it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agozebra: Create function to dump MACIP flags
Donald Sharp [Tue, 5 Jan 2021 23:25:10 +0000 (18:25 -0500)]
zebra: Create function to dump MACIP flags

Create a function to dump MACIP flags and to use it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agoMerge pull request #7819 from donaldsharp/more_data_for_debug_dumps
Mark Stapp [Wed, 13 Jan 2021 18:06:23 +0000 (13:06 -0500)]
Merge pull request #7819 from donaldsharp/more_data_for_debug_dumps

zebra: Add ability to display human readable format re->flags and status

4 years agoMerge pull request #7818 from donaldsharp/ip_proto_denied
Mark Stapp [Wed, 13 Jan 2021 15:33:33 +0000 (10:33 -0500)]
Merge pull request #7818 from donaldsharp/ip_proto_denied

zebra: notify installing protocol when nexthops cannot be resolved

4 years agozebra: Add ability to display in human readable format re->flags and status 7819/head
Donald Sharp [Tue, 5 Jan 2021 22:21:20 +0000 (17:21 -0500)]
zebra: Add ability to display in human readable format re->flags and status

The re->flags and re->status in debugs were being dumped as hex values.
I can never quickly decode this.  Here is an idea.  Let's let FRR do
it for me.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agoMerge pull request #6853 from mjstapp/fix_rib_dups
Donald Sharp [Wed, 13 Jan 2021 14:42:34 +0000 (09:42 -0500)]
Merge pull request #6853 from mjstapp/fix_rib_dups

zebra: reduce impact of route-update overload

4 years agotools: ignore missing seq nums in prefix and access lists in frr-reload.py 7712/head
Don Slice [Tue, 12 Jan 2021 16:05:23 +0000 (11:05 -0500)]
tools: ignore missing seq nums in prefix and access lists in frr-reload.py

If frr.conf contains a prefix-list or access-list without a seq number,
frr-reload needs to be aware that it should not delete/add if the running
config contains a seq number.

Ticket: CM-32623
Signed-off-by: Don Slice <dslice@nvidia.com>
4 years agotools: apply black formatting changes to frr-reload.py
Don Slice [Tue, 12 Jan 2021 15:41:17 +0000 (10:41 -0500)]
tools: apply black formatting changes to frr-reload.py

Since new workflow instructions state to run black against
python change and it found formatting changes required that
were not part of my change set, committing those changes
separately.

Signed-off-by: Don Slice <dslice@nvidia.com>
4 years agoMerge pull request #7849 from gpnaveen/static_rte_test
Donatas Abraitis [Wed, 13 Jan 2021 07:09:38 +0000 (09:09 +0200)]
Merge pull request #7849 from gpnaveen/static_rte_test

tests: Static route cases with admin dist and tag.

4 years agoMerge pull request #7861 from mjstapp/fix_dev_doc_index_no
Donatas Abraitis [Wed, 13 Jan 2021 07:07:59 +0000 (09:07 +0200)]
Merge pull request #7861 from mjstapp/fix_dev_doc_index_no

doc: fix several issues, remind about 'no' in cli index statements

4 years agoMerge pull request #7748 from adrianomarto/bgp-listen-on-multiple-addresses
Donatas Abraitis [Wed, 13 Jan 2021 06:57:38 +0000 (08:57 +0200)]
Merge pull request #7748 from adrianomarto/bgp-listen-on-multiple-addresses

BGP daemon listen for connections on multiple addresses

4 years agodoc: fix sphinx warnings 7861/head
Mark Stapp [Tue, 12 Jan 2021 18:31:07 +0000 (13:31 -0500)]
doc: fix sphinx warnings

Fix a couple of sphinx source processing warnings.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
4 years agodoc: add missing files to index.rst and subdir.am
Mark Stapp [Tue, 12 Jan 2021 18:30:14 +0000 (13:30 -0500)]
doc: add missing files to index.rst and subdir.am

Some missing doc files, add them.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
4 years agodoc: remind not to include 'no' in cli doc index statements
Mark Stapp [Tue, 12 Jan 2021 18:29:08 +0000 (13:29 -0500)]
doc: remind not to include 'no' in cli doc index statements

Remind folks not to include the 'no' in cli doc index lines.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
4 years agoMerge pull request #7707 from opensourcerouting/isisd-rlfa
Olivier Dugeon [Tue, 12 Jan 2021 18:25:15 +0000 (19:25 +0100)]
Merge pull request #7707 from opensourcerouting/isisd-rlfa

isisd, ldpd: add Remote LFA support

4 years agoMerge pull request #7439 from opensourcerouting/bgp-damp-profile2
Donald Sharp [Tue, 12 Jan 2021 16:45:41 +0000 (11:45 -0500)]
Merge pull request #7439 from opensourcerouting/bgp-damp-profile2

bgpd: BGP route-flap dampening profiles for peers and peer groups

4 years agodoc: remove 'no' from doc 'index' lines
Mark Stapp [Tue, 12 Jan 2021 16:34:42 +0000 (11:34 -0500)]
doc: remove 'no' from doc 'index' lines

Index based on the cli commands, not the possible 'no' form.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
4 years agoMerge pull request #7247 from ton31337/feature/enhanced_route_refresh_capability
Russ White [Tue, 12 Jan 2021 16:27:11 +0000 (11:27 -0500)]
Merge pull request #7247 from ton31337/feature/enhanced_route_refresh_capability

bgpd: Enhanced Route Refresh capability

4 years agoMerge pull request #7860 from mjstapp/fix_exec_perms
Quentin Young [Tue, 12 Jan 2021 16:26:39 +0000 (11:26 -0500)]
Merge pull request #7860 from mjstapp/fix_exec_perms

libs,nhrpd: remove exec perm

4 years agoMerge pull request #7733 from rgirada/ospf_json
Russ White [Tue, 12 Jan 2021 16:23:03 +0000 (11:23 -0500)]
Merge pull request #7733 from rgirada/ospf_json

ospfd: Adding authentication details to ospf interafce command o/p

4 years agostaticd: Backend cofiguration code to fix table-id problem 7844/head
vdhingra [Sun, 10 Jan 2021 08:04:45 +0000 (00:04 -0800)]
staticd: Backend cofiguration code to fix table-id problem

problem: table-id gets overwritten for a given route.

RCA: table-id was getting overwritten from the NB layer,
     So route was getting installed with the latest table-id.

Fix: make the table-id as the key in the NB layer.
     This will program the route in zebra correctly.

- Removed the table-id modify callbacks.
- Moved the validate and apply table-id changes to path-list creation

issue #7347

Signed-off-by: vishaldhingra <vdhingra@vmware.com>
4 years agoMerge pull request #7841 from volta-networks/fix_isis_mstyle_routes
Donald Sharp [Tue, 12 Jan 2021 13:51:07 +0000 (08:51 -0500)]
Merge pull request #7841 from volta-networks/fix_isis_mstyle_routes

isisd: ignore routes with incompatible metric style

4 years agoMerge pull request #7850 from mjstapp/build_dplane_plugin
Donald Sharp [Tue, 12 Jan 2021 13:43:53 +0000 (08:43 -0500)]
Merge pull request #7850 from mjstapp/build_dplane_plugin

zebra: build the sample dataplane plugin

4 years agolibs,nhrpd: remove exec perm 7860/head
Mark Stapp [Tue, 12 Jan 2021 13:20:10 +0000 (08:20 -0500)]
libs,nhrpd: remove exec perm

Some source files got the exec bit set in a recent commit - undo
that.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
4 years agoMerge pull request #7687 from gpnaveen/ospf_p2mp
Russ White [Tue, 12 Jan 2021 13:03:33 +0000 (08:03 -0500)]
Merge pull request #7687 from gpnaveen/ospf_p2mp

tests: Adding ospf p2mp basic test.

4 years agoeigrpd: Cleanup eigrp_packet.h to our proper formatting 7746/head
Donald Sharp [Tue, 12 Jan 2021 12:59:04 +0000 (07:59 -0500)]
eigrpd: Cleanup eigrp_packet.h to our proper formatting

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agoeigrpd: Introduce eigrp_metric.[ch] and eigrp_types.h
Donnie Savage [Fri, 11 Dec 2020 22:05:59 +0000 (17:05 -0500)]
eigrpd: Introduce eigrp_metric.[ch] and eigrp_types.h

Add these file and introduce some new fundamental types

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Signed-off-by: Donnie Savage <diivious@hotmail.com>
4 years agoeigrpd: Rename nexthop_entry and prefix_entry to better names
Donnie Savage [Fri, 11 Dec 2020 21:09:47 +0000 (16:09 -0500)]
eigrpd: Rename nexthop_entry and prefix_entry to better names

Rename struct eigrp_nexthop_entry to struct eigrp_route_descriptor
Rename struct eigrp_prefix_entry to struct eigrp_prefix_descriptor

Fix all the associated function names as well.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Signed-off-by: Donnie SAvage <diivious@hotmail.com>
4 years agoeigrpd: Create eigrp_yang.h and move stuff around
Donnie Savage [Fri, 11 Dec 2020 20:27:17 +0000 (15:27 -0500)]
eigrpd: Create eigrp_yang.h and move stuff around

Move the prototypes for eigrp_yang that are in eigrpd.h
into eigrp_yang.h.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Signed-off-by: Donnie Savage <diivious@hotmail.com>
4 years agoeigrpd: Create eigrp_cli.h and move forward declarations
Donnie Savage [Fri, 11 Dec 2020 20:24:02 +0000 (15:24 -0500)]
eigrpd: Create eigrp_cli.h and move forward declarations

Move the forward declarations for eigrp_cli.c from eigrpd.h
into eigrp_cli.h.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Signed-off-by: Donnie Savage <diivious@hotmail.com>
4 years agoeigrpd: Move `struct eigrp_master` to eigrpd.h
Donnie Savage [Fri, 11 Dec 2020 20:16:58 +0000 (15:16 -0500)]
eigrpd: Move `struct eigrp_master` to eigrpd.h

The `struct eigrp_master` data structure belongs in the
eigrpd.h file.  Move it over, in addition start forward
thinking about the different TLV versions so we can
track them better in the future.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Signed-off-by: Donnie Savage <diivious@hotmail.com>
4 years agoMerge pull request #7670 from ton31337/fix/bgpd_nexhop_handling_for_zebra
Russ White [Tue, 12 Jan 2021 12:32:19 +0000 (07:32 -0500)]
Merge pull request #7670 from ton31337/fix/bgpd_nexhop_handling_for_zebra

bgpd: Handle IPv6 prefixes with IPv4 nexthops for zebra

4 years agotests: Static route cases with admin dist and tag. 7849/head
nguggarigoud [Mon, 11 Jan 2021 13:35:05 +0000 (19:05 +0530)]
tests: Static route cases with admin dist and tag.

1. Adding api to verify ip nht command.
2. 5 cases of static routes with admin dist and tag
3. Run time = 89Secs

Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
4 years agotests: move redistribute function into lib 7837/head
ckishimo [Fri, 8 Jan 2021 15:10:38 +0000 (16:10 +0100)]
tests: move redistribute function into lib

Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
4 years agotests: fix ospf cosmetic output
ckishimo [Thu, 7 Jan 2021 22:30:32 +0000 (23:30 +0100)]
tests: fix ospf cosmetic output

Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
4 years agotests: remove old def for redistribution in ospf
ckishimo [Fri, 8 Jan 2021 09:36:31 +0000 (10:36 +0100)]
tests: remove old def for redistribution in ospf

Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
4 years agotests: use new def for redistribution in ospf
ckishimo [Fri, 8 Jan 2021 09:34:50 +0000 (10:34 +0100)]
tests: use new def for redistribution in ospf

Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
4 years agotests: add new def for redistribution in ospf
ckishimo [Fri, 8 Jan 2021 09:25:49 +0000 (10:25 +0100)]
tests: add new def for redistribution in ospf

Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
4 years agotests: Adding ospf p2mp basic test. 7687/head
nguggarigoud [Tue, 8 Dec 2020 10:17:40 +0000 (15:47 +0530)]
tests: Adding ospf p2mp basic test.

This test verifies basic p2mp test

Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
4 years agozebra: add the sample dataplane plugin to the build 7850/head
Mark Stapp [Mon, 11 Jan 2021 21:33:55 +0000 (16:33 -0500)]
zebra: add the sample dataplane plugin to the build

Build the sample dataplane plugin with debug/dev builds.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
4 years agozebra: remove unused local in dplane sample plugin
Mark Stapp [Mon, 11 Jan 2021 21:33:27 +0000 (16:33 -0500)]
zebra: remove unused local in dplane sample plugin

Remove an unused local in the sample dataplane plugin.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
4 years agozebra: notify installing protocol when nexthops cannot be resolved 7818/head
Donald Sharp [Tue, 5 Jan 2021 20:56:12 +0000 (15:56 -0500)]
zebra: notify installing protocol when nexthops cannot be resolved

In the case where a routes nexthops cannot be resolved as part
of route processing, immmediately notify the upper level protocol
that their routes failed to install if they are interested in
being informed about this issue.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agoMerge pull request #7828 from mobash-rasool/pim-fixes-3
Donald Sharp [Mon, 11 Jan 2021 14:51:24 +0000 (09:51 -0500)]
Merge pull request #7828 from mobash-rasool/pim-fixes-3

pimd: SPT-bit is not set to false as per RFC section in one flow

4 years agoMerge pull request #7823 from donaldsharp/zebra_delay_timer
Donatas Abraitis [Mon, 11 Jan 2021 14:46:23 +0000 (16:46 +0200)]
Merge pull request #7823 from donaldsharp/zebra_delay_timer

Zebra delay timer

4 years agoMerge pull request #7847 from opensourcerouting/fix/skip-sr-te-topotest
Donald Sharp [Mon, 11 Jan 2021 14:44:46 +0000 (09:44 -0500)]
Merge pull request #7847 from opensourcerouting/fix/skip-sr-te-topotest

pathd: Skip SR-TE topotests if pathd has been disabled

4 years agoMerge pull request #7830 from volta-networks/misc_fixes_2021
Donatas Abraitis [Mon, 11 Jan 2021 13:18:18 +0000 (15:18 +0200)]
Merge pull request #7830 from volta-networks/misc_fixes_2021

Misc fixes (bgpd, pathd, tools)

4 years agoMerge pull request #7845 from cgoncalves/fix-broken-links
Donatas Abraitis [Mon, 11 Jan 2021 13:06:27 +0000 (15:06 +0200)]
Merge pull request #7845 from cgoncalves/fix-broken-links

Fix BGP and resource certification reference links

4 years agopathd: Skip SR-TE topotests if pathd has been disabled 7847/head
Sebastien Merle [Mon, 11 Jan 2021 11:48:08 +0000 (12:48 +0100)]
pathd: Skip SR-TE topotests if pathd has been disabled

 * If pathd binary is not found, skip the SR-TE topotests.
 * Fix some compilation warnings when pathd is not built.

Signed-off-by: Sebastien Merle <sebastien@netdef.org>
4 years agodoc: fix reference links 7845/head
Carlos Goncalves [Mon, 11 Jan 2021 09:42:19 +0000 (10:42 +0100)]
doc: fix reference links

The current securing BGP and resource certification reference links lead
to a page not found. This patch fixes that by pointing to their
corresponding PDF format resources.

Signed-off-by: Carlos Goncalves <cgoncalves@redhat.com>
4 years agobgpd: fix removal of rd vpn export 7830/head
Emanuele Di Pascale [Thu, 7 Jan 2021 14:23:44 +0000 (15:23 +0100)]
bgpd: fix removal of rd vpn export

a missing '!' operator meant that correct rd strings were being
rejected in the destroy callback, making it impossible to remove
once configured.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
4 years agobgpd: fix unsetting of multipath as-set
Emanuele Di Pascale [Thu, 7 Jan 2021 13:46:59 +0000 (14:46 +0100)]
bgpd: fix unsetting of multipath as-set

in the nortbound callback for the boolean leaf multi-path-as-set, the
actual value of the leaf was being ignored. As a result, going from
as-set to no-as-set was having no effect.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
4 years agotests: tests for bgpd listing on multiple addresses 7748/head
Adriano Marto Reis [Sun, 3 Jan 2021 05:02:29 +0000 (15:02 +1000)]
tests: tests for bgpd listing on multiple addresses

* Added a new topotest to test bgpd listening on multiple addresses.
* Updated the existing bgpd tests according to the parameter added to
bgp_master_init.

Signed-off-by: "Adriano Marto Reis" <adrianomarto@gmail.com>
4 years agodoc: Explaining that bgpd can listen on multiple addresses
Adriano Marto Reis [Sun, 3 Jan 2021 04:58:55 +0000 (14:58 +1000)]
doc: Explaining that bgpd can listen on multiple addresses

Updated the documentation clarifying that multiple addresses can be
specifyed via -l option.

Signed-off-by: "Adriano Marto Reis" <adrianomarto@gmail.com>
4 years agobgpd: bgpd listening on multiple addresses
Adriano Marto Reis [Sun, 3 Jan 2021 04:56:48 +0000 (14:56 +1000)]
bgpd: bgpd listening on multiple addresses

Changed bgpd so multiple IP addresses can be specified via -l option.

Signed-off-by: "Adriano Marto Reis" <adrianomarto@gmail.com>
4 years agoMerge pull request #7810 from imzyxwvu/no-deforig
Donatas Abraitis [Mon, 11 Jan 2021 08:09:41 +0000 (10:09 +0200)]
Merge pull request #7810 from imzyxwvu/no-deforig

bgpd: Fix default-originate clearing from peer-groups.

4 years agopimd: SPT-bit is not set to false as per RFC section in one flow 7828/head
Mobashshera Rasool [Thu, 7 Jan 2021 10:03:07 +0000 (10:03 +0000)]
pimd: SPT-bit is not set to false as per RFC section in one flow

1. As per RFC 4601 Sec 4.5.7:
* JoinDesired(S,G) -> False, set SPTbit to false.

2. Change the debug type.

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
4 years agoMerge pull request #7652 from adharkar/frr-vni_switch
Donald Sharp [Sun, 10 Jan 2021 23:44:49 +0000 (18:44 -0500)]
Merge pull request #7652 from adharkar/frr-vni_switch

zebra: L3VNI to L2VNI conversion is not handled

4 years agoMerge pull request #7747 from reubendowle/fixes/nhrpd
Donald Sharp [Sun, 10 Jan 2021 23:43:20 +0000 (18:43 -0500)]
Merge pull request #7747 from reubendowle/fixes/nhrpd

nhrpd fixes

4 years agostaticd: autogenerated code modifications due to yang changes
vdhingra [Sun, 10 Jan 2021 07:55:33 +0000 (23:55 -0800)]
staticd: autogenerated code modifications due to yang changes

updated callback methods based on autogenerated code.

Signed-off-by: vishaldhingra <vdhingra@vmware.com>
4 years agostaticd: make table-id as the key for path-list
vdhingra [Sun, 10 Jan 2021 07:22:32 +0000 (23:22 -0800)]
staticd: make table-id as the key for path-list

modified the yang model for path-list.
table-id should be a key, as one route can have
multiple table-ids.

Signed-off-by: vishaldhingra <vdhingra@vmware.com>
4 years agoMerge pull request #7751 from mobash-rasool/igmp-fixes
Donald Sharp [Sat, 9 Jan 2021 22:40:31 +0000 (17:40 -0500)]
Merge pull request #7751 from mobash-rasool/igmp-fixes

pimd: IGMP conformance 5.10 test case is failing

4 years agoMerge pull request #7753 from mobash-rasool/pim-fixes
Donald Sharp [Sat, 9 Jan 2021 22:36:08 +0000 (17:36 -0500)]
Merge pull request #7753 from mobash-rasool/pim-fixes

pimd: when node changes from non-DR to DR S,G entry not created

4 years agoMerge pull request #7756 from pjdruddy/bgplu-fixes
Donald Sharp [Sat, 9 Jan 2021 20:48:22 +0000 (15:48 -0500)]
Merge pull request #7756 from pjdruddy/bgplu-fixes

Bgplu fixes

4 years agoMerge pull request #7787 from deastoe/fpm-work-ready-fixes
Donald Sharp [Sat, 9 Jan 2021 20:38:46 +0000 (15:38 -0500)]
Merge pull request #7787 from deastoe/fpm-work-ready-fixes

dplane_fpm_nl: routes stuck with 'q' flag (revisited)

4 years agoMerge pull request #7785 from volta-networks/fix_show_pce_confidence_for_pr
Donald Sharp [Sat, 9 Jan 2021 20:36:56 +0000 (15:36 -0500)]
Merge pull request #7785 from volta-networks/fix_show_pce_confidence_for_pr

Add level of confidence to show pcep-session

4 years agoMerge pull request #7775 from vishaldhingra/pim
Donald Sharp [Sat, 9 Jan 2021 20:34:18 +0000 (15:34 -0500)]
Merge pull request #7775 from vishaldhingra/pim

pimd : Added the command to clear the pim bsr data.

4 years agoisisd: ignore routes w/ incompatible metric style 7841/head
Emanuele Di Pascale [Fri, 8 Jan 2021 14:55:37 +0000 (15:55 +0100)]
isisd: ignore routes w/ incompatible metric style

Currently the transition metric style is redundant because isis will
always read both reachability TLVs regardless of the configured
metric style. Correct this by only considering TLVs matching our
configuration.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
4 years agotools: fix pce-config removal
Emanuele Di Pascale [Tue, 22 Dec 2020 17:40:47 +0000 (18:40 +0100)]
tools: fix pce-config removal

make sure that the order in which the pcep-related commands are
removed by frr-reload.py is the correct one, i.e., pce followed
by pce-config followed by pcc.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
4 years agopathd, tools: fix peer preference config
Emanuele Di Pascale [Tue, 22 Dec 2020 16:00:39 +0000 (17:00 +0100)]
pathd, tools: fix peer preference config

on one hand, the default value for a peer preference was always being
displayed, and on the other there was some code in frr-reload.py which
was attempting to add a default value to match this behavior, and which
was incorrectly overriding a specified preference. Fix this by removing
this code and making pathd behave like other daemons in this respect,
i.e. not displaying the default value.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
4 years agotools: add bfdd to frr-reload.py daemons list
Emanuele Di Pascale [Tue, 22 Dec 2020 17:20:14 +0000 (18:20 +0100)]
tools: add bfdd to frr-reload.py daemons list

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
4 years agoMerge pull request #7839 from ton31337/feature/print_large-community_dump
Donald Sharp [Sat, 9 Jan 2021 12:25:59 +0000 (07:25 -0500)]
Merge pull request #7839 from ton31337/feature/print_large-community_dump

bgpd: Print large-community inside bgp_dump_attr()

4 years agoMerge pull request #7835 from donaldsharp/cleanup_support_bundle
Donatas Abraitis [Sat, 9 Jan 2021 07:14:16 +0000 (09:14 +0200)]
Merge pull request #7835 from donaldsharp/cleanup_support_bundle

Cleanup support bundle

4 years agobgpd: Print large-community inside bgp_dump_attr() 7839/head
Donatas Abraitis [Fri, 8 Jan 2021 14:09:34 +0000 (16:09 +0200)]
bgpd: Print large-community inside bgp_dump_attr()

Missing large communities.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
4 years agoMerge pull request #7842 from donaldsharp/wait_for_convergence
Donatas Abraitis [Sat, 9 Jan 2021 07:09:25 +0000 (09:09 +0200)]
Merge pull request #7842 from donaldsharp/wait_for_convergence

tests: Wait for bgp convergence *after* we re-add the interfaces

4 years agoMerge pull request #7836 from volta-networks/fix_isis_net
Donald Sharp [Sat, 9 Jan 2021 04:01:58 +0000 (23:01 -0500)]
Merge pull request #7836 from volta-networks/fix_isis_net

isisd: When last area address is removed, resign if we were DR

4 years agozebra: zebra route-map delay-timer is global not per vrf 7823/head
Donald Sharp [Wed, 6 Jan 2021 16:29:43 +0000 (11:29 -0500)]
zebra: zebra route-map delay-timer is global not per vrf

The zebra route-map delay timer value is a global value
not a per vrf change.  As such we should only print it
out one time.

We are seeing this:

zebra route-map delay-timer 33
 exit-vrf
zebra route-map delay-timer 33

When we have 2 vrf's configured.

Fix the code to only write it out for the default vrf

Ticket: CM-32888
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agozebra: Remove uncalled function
Donald Sharp [Wed, 6 Jan 2021 16:13:43 +0000 (11:13 -0500)]
zebra: Remove uncalled function

Remove the dead function zebra_route_map_write_delay_timer

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agoMerge pull request #7803 from ton31337/fix/validate_community_list
Donald Sharp [Sat, 9 Jan 2021 02:05:32 +0000 (21:05 -0500)]
Merge pull request #7803 from ton31337/fix/validate_community_list

bgpd: Validate community list if they are not malformed

4 years agotests: Wait for bgp convergence *after* we re-add the interfaces 7842/head
Donald Sharp [Fri, 8 Jan 2021 21:52:41 +0000 (16:52 -0500)]
tests: Wait for bgp convergence *after* we re-add the interfaces

In test_bgp_mutli_vrf_topo2.py it's clear that we remove then
re-add the vrf interfaces.  Then the test was immediately
checking to ensure that the routes were available.

BGP needs time to reconverge.  Let's ensure that first.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agotools: Cleanup some zebra section of the support bundle 7835/head
Donald Sharp [Fri, 8 Jan 2021 12:44:42 +0000 (07:44 -0500)]
tools: Cleanup some zebra section of the support bundle

a) Add some useful commands
b) Remove `show error all` this just dumps the error codes.  If
we know the version we don't need this.  Additionally this is
rather large.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
4 years agotools: Cleanup bgp commands in the support bundle
Donald Sharp [Fri, 8 Jan 2021 12:42:08 +0000 (07:42 -0500)]
tools: Cleanup bgp commands in the support bundle

Add some missing commands ( I am sure that there are more useful ones to )
Cleanup to use the modern non-deprecated syntax in case anyone runs across
this.

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