Philippe Guibert
d0bfe25dea
nhrpd: ignore zebra updates about our routes being deleted/added
...
nhrp listens for route entries to be deleted, in case some new routes
impact the current routes installed by nhrp. To prevent from
unconfiguring nhrp shortcut route, just prevent nhrp routes to be
processed.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2020-03-05 16:04:53 +01:00
Sri Mohana Singamsetty
200334ecbb
Merge pull request #5855 from ton31337/fix/allow_using_add_sub_for_local-preference
...
bgpd: Allow using add/subtract for local-preference in route-maps
2020-03-02 09:40:34 -08:00
Sri Mohana Singamsetty
331f2f8531
Merge pull request #5780 from chiragshah6/evpn_dev1
...
zebra:remote vtep delete handling
2020-03-02 09:39:37 -08:00
Mark Stapp
8105c99404
Merge pull request #5874 from donaldsharp/hash_backet2
...
*: change hash_backet to hash_bucket
2020-02-28 16:26:55 -05:00
Donatas Abraitis
c9343c05c4
Merge pull request #5822 from rbauduin/patch-2
...
doc: Document attribute-unchanged directive
2020-02-28 22:55:15 +02:00
Stephen Worley
99299b445a
Merge pull request #5878 from mjstapp/fix_nhg_for_fpm
...
zebra: fix nexthop_group conversion in fpm code
2020-02-28 15:25:40 -05:00
Donald Sharp
7f5818fbd6
*: change hash_backet to hash_bucket
...
It's been a year search and destroy.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2020-02-28 13:59:13 -05:00
Donatas Abraitis
baaaf4f5b6
Merge pull request #5862 from sworleys/PBR-No-Table-Range
...
pbrd: unconfigure table range
2020-02-28 18:28:51 +02:00
Mark Stapp
ed34bd5cd0
Merge pull request #5876 from ton31337/feature/doc_vrrpd_update
...
doc: Change interface name for vrrp example
2020-02-28 10:57:11 -05:00
Mark Stapp
97cd9bfc07
zebra: fix nexthop_group conversion in fpm code
...
Recent commit that embedded the nhg_hash_entry's group
missed a couple of fpm modules.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-02-28 08:45:56 -05:00
Mark Stapp
890b3450ea
Merge pull request #5859 from donaldsharp/clang_latest
...
Clean up clang latest SA warnings
2020-02-28 07:51:52 -05:00
Donatas Abraitis
03252d6037
tests: Add a test case for set local-preference +/-LOCAL_PREF
...
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-02-28 14:03:47 +02:00
Donatas Abraitis
94f7568813
doc: Use +/- for set local-preference
to add/subtract the value
...
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-02-28 14:03:47 +02:00
Donatas Abraitis
3684eb4360
bgpd: Allow using add/subtract for local-preference in route-maps
...
We already have a generic support for add/sub in route-maps. It's already
handled in route_value_compile().
Just convert to string (allow passing (-) minus sign) - works like expected.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-02-28 14:03:46 +02:00
Donatas Abraitis
3234e3a347
doc: Change interface name for vrrp example
...
Looks like copy-paste error.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-02-28 13:58:38 +02:00
Donatas Abraitis
173608e77f
Merge pull request #5875 from donaldsharp/support_rfcs
...
doc: Add notice of rfc-4893 in supported rfc's.
2020-02-28 09:23:44 +02:00
Stephen Worley
f16e992d37
Merge pull request #5857 from mjstapp/embed_nhg_in_nhe
...
zebra,lib: Embed lib nexthop-group in zebra hash entry
2020-02-27 18:43:59 -05:00
Donald Sharp
29a6be3e26
doc: Add notice of rfc-4893 in supported rfc's.
...
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-27 17:51:30 -05:00
Mark Stapp
c415d89528
zebra: Embed lib nexthop-group in zebra hash entry
...
Embed nexthop-group, which is just a pointer, in the zebra
nexthop-hash-entry object, rather than mallocing one.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-02-27 15:49:31 -05:00
Donald Sharp
93b568451d
Merge pull request #5872 from Jafaral/backet
...
Revert "*: change hash_backet to hash_bucket"
2020-02-27 10:56:27 -05:00
Jafar Al-Gharaibeh
4d67e75282
Revert "*: change hash_backet to hash_bucket"
...
This reverts commit 3895c42a2e
.
LabN CI update needs to be coordinated before merging this
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
2020-02-27 09:52:02 -06:00
Donald Sharp
61b5ae3db0
ldpd: Cleanup indentation in merge_nbrps
...
We had a very deeply nested function, reduce the indentation
for easier reading.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-27 10:04:37 -05:00
Donald Sharp
5ca840a3e1
bgpd: Cleanup indentation in bgp_route_refresh_receive
...
Some code in bgp_route_refresh_receive was spread across several
lines because of an end of line commit. Move comment to a place
to allow better formating.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-27 10:04:37 -05:00
Jafar Al-Gharaibeh
9288a0a0c9
Merge pull request #5870 from donaldsharp/hash_backet
...
*: change hash_backet to hash_bucket
2020-02-27 09:02:35 -06:00
Donald Sharp
94f7f37d54
bgpd: agg_node_lookup not unlocking
...
SA has found a case where we did a table lookup of a rn( and
associated lock of that node ) where we did not unlock it.
Unlock the node before moving on to the next one.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-27 09:41:58 -05:00
Donald Sharp
8ba9026b95
nhrpd: Cleanup set but unused variables
...
There existed some variables set but never used. Clean this up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-27 09:41:58 -05:00
Donald Sharp
6e3e2c6d5f
ospfd: Cleanup set but unused variables
...
There existed some variables set but never used. Clean this up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-27 09:41:58 -05:00
Donald Sharp
2acf1ad1dd
zebra: Cleanup set but unused variables
...
There existed some variables set but never used. Clean this up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-27 09:41:58 -05:00
Donald Sharp
f67de3ee72
ldpd: Cleanup set but unused variables
...
There existed some variables set but never used. Clean this up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-27 09:41:58 -05:00
Donald Sharp
5037cc3eb4
lib: Cleanup set but unused variables
...
There existed some variables set but never used. Clean this up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-27 09:41:58 -05:00
Donald Sharp
1bb379bf4e
bgpd: Cleanup set but unused variables
...
There existed some variables set but never used. Clean this up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-27 09:41:58 -05:00
Donatas Abraitis
1f713948c6
Merge pull request #5864 from kuldeepkash/route_map
...
tests: Optimizing route-map test cases
2020-02-27 10:03:16 +02:00
Donald Sharp
3895c42a2e
*: change hash_backet to hash_bucket
...
It's been a year search and destroy.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-26 20:03:34 -05:00
Kuldeep Kashyap
b9f80297c8
tests: Modified scripts to optimize execution time for route-map test suite
...
1. Modified scripts to optimize execution time for route-map test suite
2. Removed unnecessary print statements from /lib/bgp.py
Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
2020-02-26 21:02:09 +00:00
Mark Stapp
7a7cd6e9b2
Merge pull request #5866 from qlyoung/fix-ipaddr-isset
...
lib: fix ipaddr_isset
2020-02-26 15:34:50 -05:00
Quentin Young
f2d72fcdc5
lib: fix ipaddr_isset
...
Meaning inverted by mistake
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2020-02-26 12:14:21 -05:00
rbauduin
8b0d734b31
doc: document attribute-unchanged directive
...
This directive was undocumented, but is the way to configure the
next-hop to be left unchanged for ipv6 setups (in ipv4, a route-map with
`set next-hop unchanged` works fine, but this is unavailable for ipv6) .
Signed-off-by: Raphael Bauduin <rb@raphinou.com>
2020-02-25 20:31:22 +01:00
Stephen Worley
b246eb8a8d
pbrd: unconfigure table range
...
Implement the [no] version of `pbr table range`. We had the command
but were doing nothing with it.
This just calls the set_table_range API again using the defaults.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
2020-02-25 12:53:45 -05:00
Russ White
5e34d224ea
Merge pull request #5783 from ton31337/fix/bad_formatting_bgpd_gr
...
bgpd: Format properly `show bgp neighbors` for graceful restart stuff
2020-02-25 11:01:27 -05:00
Donald Sharp
64c0f439d2
Merge pull request #5270 from NaveenThanikachalam/rmap
...
lib: Optimizing route-maps
2020-02-25 09:15:49 -05:00
Donald Sharp
8b3b427bae
Merge pull request #5771 from pguibert6WIND/show_route_table_protocol
...
vty: add command to get route with table, vrf and protocol
2020-02-25 09:14:56 -05:00
Mark Stapp
c13bfa7435
lib: use const in nexthop_group copy api
...
Add some const to the nhg copy api.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-02-25 08:26:38 -05:00
Mark Stapp
ac74a3f266
pimd: fix SA reports
...
Fix a couple of SA warnings introduced recently; replace some
'strcpy' calls.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-02-25 08:23:40 -05:00
Renato Westphal
9a6e1905e9
Merge pull request #5838 from volta-networks/fix_isis_ifdown
...
isisd: do not disable circuit on ifdown
2020-02-21 10:41:09 -03:00
Donatas Abraitis
ac26ef2b25
Merge pull request #5844 from qlyoung/fix-zebra-gr-unnecessary-malloc
...
Fix zebra gr unnecessary malloc
2020-02-21 15:03:46 +02:00
Quentin Young
e66ec0c457
Merge pull request #5847 from mjstapp/fix_pim_sas
...
pimd: fix SA reports
2020-02-20 13:51:07 -05:00
Mark Stapp
6c1b7a8c49
pimd: fix SA reports
...
Fix a couple of SA warnings introduced recently; replace some
'strcpy' calls.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-02-20 11:32:32 -05:00
Donatas Abraitis
f294fac22d
Merge pull request #5842 from qlyoung/fix-test-then-xfree-again
...
lib: do not test before XFREE
2020-02-20 14:40:02 +02:00
Donald Sharp
5b5f9dfb73
Merge pull request #5845 from TomasKorbar/master
...
Make frr able to be built by gcc 10
2020-02-20 06:32:02 -05:00
Donatas Abraitis
8cf0a20551
Merge pull request #5768 from donaldsharp/bgp_nexthop
...
Bgp nexthop
2020-02-20 10:05:53 +02:00