Commit Graph

22412 Commits

Author SHA1 Message Date
ckishimo
c6b59ef48c tests: use new def for redistribution in ospf
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
2021-01-12 11:18:22 +01:00
ckishimo
881fa68f05 tests: add new def for redistribution in ospf
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
2021-01-12 11:18:22 +01:00
Donald Sharp
aa6fdabb73
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
2021-01-11 09:51:24 -05:00
Donatas Abraitis
88ffa95dc3
Merge pull request #7823 from donaldsharp/zebra_delay_timer
Zebra delay timer
2021-01-11 16:46:23 +02:00
Donald Sharp
2a42b28470
Merge pull request #7847 from opensourcerouting/fix/skip-sr-te-topotest
pathd: Skip SR-TE topotests if pathd has been disabled
2021-01-11 09:44:46 -05:00
Donatas Abraitis
b96138fbf0
Merge pull request #7830 from volta-networks/misc_fixes_2021
Misc fixes (bgpd, pathd, tools)
2021-01-11 15:18:18 +02:00
Donatas Abraitis
73511c6a02
Merge pull request #7845 from cgoncalves/fix-broken-links
Fix BGP and resource certification reference links
2021-01-11 15:06:27 +02:00
Sebastien Merle
f7f6a796e8 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>
2021-01-11 12:52:15 +01:00
Carlos Goncalves
f4c847ff7d 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>
2021-01-11 10:49:24 +01:00
Emanuele Di Pascale
c576dc6a4f 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>
2021-01-11 10:15:18 +01:00
Emanuele Di Pascale
174c5be33c 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>
2021-01-11 10:15:18 +01:00
Donatas Abraitis
3de83b7b81
Merge pull request #7810 from imzyxwvu/no-deforig
bgpd: Fix default-originate clearing from peer-groups.
2021-01-11 10:09:41 +02:00
Mobashshera Rasool
195427c8fd 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>
2021-01-11 05:23:41 +00:00
Donald Sharp
f10f8f0e98
Merge pull request #7652 from adharkar/frr-vni_switch
zebra: L3VNI to L2VNI conversion is not handled
2021-01-10 18:44:49 -05:00
Donald Sharp
279cca7639
Merge pull request #7747 from reubendowle/fixes/nhrpd
nhrpd fixes
2021-01-10 18:43:20 -05:00
Donald Sharp
f467218fd6
Merge pull request #7751 from mobash-rasool/igmp-fixes
pimd: IGMP conformance 5.10 test case is failing
2021-01-09 17:40:31 -05:00
Donald Sharp
bdfc5f45bd
Merge pull request #7753 from mobash-rasool/pim-fixes
pimd: when node changes from non-DR to DR S,G entry not created
2021-01-09 17:36:08 -05:00
Donald Sharp
7df0e6bb3b
Merge pull request #7756 from pjdruddy/bgplu-fixes
Bgplu fixes
2021-01-09 15:48:22 -05:00
Donald Sharp
24420c8200
Merge pull request #7787 from deastoe/fpm-work-ready-fixes
dplane_fpm_nl: routes stuck with 'q' flag (revisited)
2021-01-09 15:38:46 -05:00
Donald Sharp
75d7b33688
Merge pull request #7785 from volta-networks/fix_show_pce_confidence_for_pr
Add level of confidence to show pcep-session
2021-01-09 15:36:56 -05:00
Donald Sharp
36fdb3921a
Merge pull request #7775 from vishaldhingra/pim
pimd : Added the command to clear the pim bsr data.
2021-01-09 15:34:18 -05:00
Emanuele Di Pascale
0e11b1e2ba 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>
2021-01-09 15:50:17 +01:00
Emanuele Di Pascale
2f1406fc86 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>
2021-01-09 15:50:17 +01:00
Emanuele Di Pascale
ee96c52a28 tools: add bfdd to frr-reload.py daemons list
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
2021-01-09 15:50:17 +01:00
Donald Sharp
e11922f0e9
Merge pull request #7839 from ton31337/feature/print_large-community_dump
bgpd: Print large-community inside bgp_dump_attr()
2021-01-09 07:25:59 -05:00
Donatas Abraitis
34473d24e9
Merge pull request #7835 from donaldsharp/cleanup_support_bundle
Cleanup support bundle
2021-01-09 09:14:16 +02:00
Donatas Abraitis
07b24afe49 bgpd: Print large-community inside bgp_dump_attr()
Missing large communities.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-01-09 09:10:21 +02:00
Donatas Abraitis
3b156e5c66
Merge pull request #7842 from donaldsharp/wait_for_convergence
tests: Wait for bgp convergence *after* we re-add the interfaces
2021-01-09 09:09:25 +02:00
Donald Sharp
089512fe97
Merge pull request #7836 from volta-networks/fix_isis_net
isisd: When last area address is removed, resign if we were DR
2021-01-08 23:01:58 -05:00
Donald Sharp
9df81095f8 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>
2021-01-08 22:34:41 -05:00
Donald Sharp
c70e585e05 zebra: Remove uncalled function
Remove the dead function zebra_route_map_write_delay_timer

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-01-08 22:34:41 -05:00
Donald Sharp
d4aa0e7ba4
Merge pull request #7803 from ton31337/fix/validate_community_list
bgpd: Validate community list if they are not malformed
2021-01-08 21:05:32 -05:00
Donald Sharp
537e7e9241 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>
2021-01-08 20:58:04 -05:00
Donald Sharp
39bda68b1e 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>
2021-01-08 20:54:43 -05:00
Donald Sharp
5e67b0f345 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>
2021-01-08 20:54:43 -05:00
Renato Westphal
dc70c83afa
Merge pull request #7816 from pjdruddy/revert_labelmanager_statics
Revert labelmanager statics
2021-01-08 20:57:25 -03:00
Donald Sharp
ebaf5fe92d
Merge pull request #7838 from ton31337/fix/force_updates_on_reset_out
bgpd: Force BGP updates when triggering reset out
2021-01-08 17:34:37 -05:00
Donatas Abraitis
8b56739eb4 bgpd: Force BGP updates when triggering reset out
When adding/removing some peer's flag we need to make sure we FORCE updates
to avoid suppressing critical updates.

Like entering `no neighbor x.x.x.x send-community large` would suppress
updates by default and another side will have stale large communities.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-01-08 18:04:18 +02:00
Karen Schoener
68800d62c2 isisd: When last area address is removed, resign if we were DR
When last area address is removed, resign if we were DR.

This fixes an issue where: when the ISIS area address is changed, ISIS fails
to elect a new DR.

Signed-off-by: Karen Schoener <karen@voltanet.io>
2021-01-08 09:25:06 -05:00
Donatas Abraitis
9932aa1200
Merge pull request #7833 from donaldsharp/gr_tests
tests: Fix gr_tests
2021-01-08 15:01:45 +02:00
vdhingra
e7016ceb4c pimd : Added the command to clear the pim bsr data.
This command has been added in the context of
PIM BSM functionality. This command will clear the
data structs having bsr information.

Co-authored-by: Sarita Patra <saritap@vmware.com>
Signed-off-by: vishaldhingra <vdhingra@vmware.com>
2021-01-08 04:45:49 -08:00
Donatas Abraitis
d03a07b6dd
Merge pull request #7834 from donaldsharp/bgp_announce
Bgp announce
2021-01-08 14:08:22 +02:00
Donald Sharp
257b7b6efc bgpd: Move afi indepedent code outside of checks for it
In bgp_zebra_announce we do work to apply the table map.
This is the same for both v4 and v6 but we have the code
duplicated in both v4 and v6 if statements.  Move outside
to reduce the duplications.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-01-07 19:24:13 -05:00
Donald Sharp
696ad9ef0e bgpd: Combine two subsuquent if (debug..) statements
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-01-07 19:04:27 -05:00
Donald Sharp
0b87ad9932 bgpd: Remove redundant checks in bgp_zebra_announce()
BGP has created some redundant checks in bgp_zebra_announce()
Reduce the multiple if statements and consolidate a bit.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-01-07 18:54:34 -05:00
Donald Sharp
662aa246aa tests: Fix gr_tests
The bgp_gr_functionality_topo1 test was shutting down an
interface on r2 and then trying to bring it up on r1.
Hijinx ensued.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2021-01-07 17:30:04 -05:00
Donatas Abraitis
acb92e3524
Merge pull request #7749 from wesleycoakley/bgpd-large-community-format-fix
bgpd: reject malformed large-communities
2021-01-07 10:33:59 +02:00
Donatas Abraitis
dc26cada71
Merge pull request #7824 from opensourcerouting/snap-libyang1-fix
Snapcraft Fixes
2021-01-07 10:28:19 +02:00
Donatas Abraitis
0e26a27a41
Merge pull request #7817 from donaldsharp/random
Random cleanup/fixes
2021-01-07 10:24:11 +02:00
Martin Winter
ab9267d4e4
snapcraft: Update rtrlib to 0.7.0
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2021-01-07 02:16:19 +01:00