]>
git.puffer.fish Git - mirror/frr.git/log
Donald Sharp [Wed, 17 Oct 2018 18:38:16 +0000 (14:38 -0400)]
Merge pull request #3194 from opensourcerouting/bugfix/isis-misc
Bugfix: IS-IS fragmentation issues
Christian Franke [Tue, 16 Oct 2018 17:17:10 +0000 (19:17 +0200)]
isisd: adjust lsp size to area->lsp_size before packing
IS-IS would ignore any area lsp-mtu setting configured after initial
creation of the LSP since move to the new tlv serialized/deserializer.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Tue, 16 Oct 2018 15:36:45 +0000 (17:36 +0200)]
isisd: Unlink LSP fragments from LSP0 on lsp_destroy
isisd would crash when lsp fragments aged out, since they got freed
correctly, but were not removed from LSP0's linked list of fragments.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Quentin Young [Tue, 16 Oct 2018 17:18:34 +0000 (13:18 -0400)]
Merge pull request #3188 from opensourcerouting/bgp-snmp-fix-rename
bgpd: fix missed info->path rename in snmp
David Lamparter [Tue, 16 Oct 2018 16:14:17 +0000 (18:14 +0200)]
bgpd: fix missed info->path rename in snmp
Signed-off-by: David Lamparter <equinox@diac24.net>
Donald Sharp [Tue, 16 Oct 2018 15:52:22 +0000 (11:52 -0400)]
Merge pull request #3157 from pguibert6WIND/doc_expanded
doc: inform user that expanded communities can not be used in set mode
Renato Westphal [Tue, 16 Oct 2018 01:51:03 +0000 (22:51 -0300)]
Merge pull request #3179 from donaldsharp/vni_cmp
bgpd: The l2vni list compare function does not sort
Renato Westphal [Tue, 16 Oct 2018 01:46:38 +0000 (22:46 -0300)]
Merge pull request #3181 from qlyoung/frr-sss-indent
tools: reindent frr
Donald Sharp [Mon, 15 Oct 2018 15:48:03 +0000 (11:48 -0400)]
bgpd: Ensure that evpn_vtep_ip_cmp actually returns useful data
The evpn_vtep_ip_cmp function must return positive and negative
numbers for when we are doing sorted linked list inserts.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Quentin Young [Mon, 15 Oct 2018 15:43:25 +0000 (15:43 +0000)]
tools: reindent frr
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Donald Sharp [Mon, 15 Oct 2018 15:41:39 +0000 (11:41 -0400)]
bgpd: The l2vni list compare function does not sort
The purpose of adding a l2vni as an sorted list is
shot in the foot when the l2vni compare function only
returns 0 or 1. This will cause subtle crashes when
we add sorted and we end up with multiple list node pointing
to the same thing.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Quentin Young [Mon, 15 Oct 2018 15:34:52 +0000 (11:34 -0400)]
Merge pull request #3178 from vincentbernat/fix/json-route-ipv6
bgpd: fix IPv6 next-hop field name for routes in JSON
Vincent Bernat [Mon, 15 Oct 2018 13:08:37 +0000 (15:08 +0200)]
bgpd: fix IPv6 next-hop field name for routes in JSON
This may break existing clients but the original name contains two
errors.
Signed-off-by: Vincent Bernat <vincent@bernat.ch>
Philippe Guibert [Wed, 10 Oct 2018 09:19:05 +0000 (11:19 +0200)]
doc: inform user that expanded communities can not be used in set mode
Expanded communities can not be used in route-map set actions.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Donald Sharp [Sun, 14 Oct 2018 22:04:22 +0000 (18:04 -0400)]
Merge pull request #3172 from opensourcerouting/bfd-mhop-lookup
bfdd: fix multi hop hash lookup
Rafael Zalamena [Sun, 14 Oct 2018 13:39:55 +0000 (15:39 +0200)]
bfdd: fix multi hop hash lookup
Use the proper multi hop hash for matching multi hop peers.
Spotted by Dmitrii Turlupov.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Russ White [Sun, 14 Oct 2018 12:48:48 +0000 (08:48 -0400)]
Merge pull request #3024 from ton31337/fix/validate_route-map
bgpd: Check if route-map really exists before applying to the peer
Russ White [Fri, 12 Oct 2018 20:55:50 +0000 (16:55 -0400)]
Merge pull request #3142 from donaldsharp/bgp_peerhash
Bgp peerhash
Russ White [Fri, 12 Oct 2018 20:52:21 +0000 (16:52 -0400)]
Merge pull request #3134 from donaldsharp/bum_flooding
Bum flooding control for BGP and Zebra
Russ White [Fri, 12 Oct 2018 20:48:08 +0000 (16:48 -0400)]
Merge pull request #3168 from adharkar/frr-bgp_json
bgpd: BGP JSON new fields
Russ White [Fri, 12 Oct 2018 19:55:59 +0000 (15:55 -0400)]
Merge pull request #3167 from chiragshah6/ospfv3_dev
ospf6d: fix ospf6 crash in inp lsa processing
Donald Sharp [Fri, 12 Oct 2018 17:58:26 +0000 (13:58 -0400)]
Merge pull request #3137 from opensourcerouting/feature/isis-bfd
Feature: BFD for IS-IS
Chirag Shah [Thu, 11 Oct 2018 16:08:37 +0000 (09:08 -0700)]
ospf6d: fix ospf6 crash in inp lsa processing
Use ospf6_prefix_same for comparing two exact same prefix
to determine ECMP for a route.
ospf6_route_cmp expects two different prefix rather
being exactly same.
Ticket:CM-22630
Testing Done:
performed ECMP of intra network prefix route via
sending same route via different available
ospf6 paths.
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Christian Franke [Fri, 12 Oct 2018 16:56:07 +0000 (18:56 +0200)]
isisd: Fix license header of bfd code
Christian Franke [Fri, 12 Oct 2018 14:45:32 +0000 (16:45 +0200)]
isisd: Address code-style warnings
Donald Sharp [Thu, 4 Oct 2018 23:20:12 +0000 (19:20 -0400)]
bgpd: Add '[no] flood <disable|head-end-replication>'
Add the '[no] flood <disable|head-end-replication>' command
to the l2vpn evpn afi/safi sub commands for bgp. This command
when entered as 'flood disable' will turn off type 3 route
generation for the transmittal of the type 3 route necessary
for BUM replication on the remote VTEP. Additionally it will
turn off the BUM handling via the new zebra command,
ZEBRA_VXLAN_FLOOD_CONTROL.
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Thu, 4 Oct 2018 22:42:57 +0000 (18:42 -0400)]
lib, zebra: Allow the specification of BUM flooding
Allow the modification of whether or not we will allow
BUM flooding on the vxlan bridge. To do this allow
the upper level protocol to specify via the ZEBRA_VXLAN_FLOOD_CONTROL
zapi message.
If flooding is disabled then BUM traffic will not be forwarded
to other VTEP's.
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Fri, 12 Oct 2018 00:18:57 +0000 (20:18 -0400)]
Merge pull request #3140 from vishaldhingra/b_2802
zebra : VRF aware route map in zebra
Ameya Dharkar [Thu, 11 Oct 2018 22:35:21 +0000 (15:35 -0700)]
bgpd: BGP JSON new fields
1. "show bgp ipv4 json"
- Added "network" field which displays a prefix in 'prefix/prefixlen' format.
2. "show bgp ipv6 json"
- Added "network" field which displays a prefix in 'prefix/prefixlen' format.
- JSON does not have "prefix", "prefixLen" fields which are present in IPv4
command. Added these fields as they are useful.
3. "show bgp ipv4/ipv6 neighbor <neighbor_addr> advertised-routes json"
- Added "network" field.
4. "show bgp ipv4/ipv6 summary json"
- Added "pfxSnt" for peers. This count is obtained from corresponding
update_subgroup.
5. "show bgp neighbor json"
- Added "sentPrefixCounter"
Signed-off-by: Ameya Dharkar <adharkar@vmware.org>
vishaldhingra [Thu, 11 Oct 2018 17:49:34 +0000 (10:49 -0700)]
zebra: vrf aware routmap is missing in Zebra #2802(Part 4 of 4)
The new cli for show output
Signed-off-by: vishaldhingra vdhingra@vmware.com
vishaldhingra [Thu, 11 Oct 2018 17:48:23 +0000 (10:48 -0700)]
zebra: vrf aware routmap is missing in Zebra #2802(Part 3 of 4)
The cli changes to allow this to work.
Signed-off-by: vishaldhingra vdhingra@vmware.com
vishaldhingra [Thu, 11 Oct 2018 17:46:55 +0000 (10:46 -0700)]
zebra: vrf aware routmap is missing in Zebra #2802(Part 2 of 4)
Function parameter replacement of using zvrf instead of vrf_id
Signed-off-by: vishaldhingra vdhingra@vmware.com
vishaldhingra [Thu, 11 Oct 2018 17:44:55 +0000 (10:44 -0700)]
zebra: vrf aware routmap is missing in Zebra #2802(Part 1 of 4)
Work to handle the route-maps, namely the header changes in zebra_vrf.h
and the mapping of using that everywhere
Signed-off-by: vishaldhingra vdhingra@vmware.com
Lou Berger [Thu, 11 Oct 2018 13:17:31 +0000 (09:17 -0400)]
Merge pull request #3032 from donaldsharp/bgp_info
`struct bgp_info` to `struct bgp_path_info`
Donatas Abraitis [Fri, 14 Sep 2018 08:56:46 +0000 (11:56 +0300)]
bgpd: Check if route-map really exists before applying to the peer
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Donald Sharp [Wed, 10 Oct 2018 19:42:20 +0000 (15:42 -0400)]
Merge pull request #3153 from adharkar/frr-scount
bgpd: Incorrect sent prefix count for a split subgroup
Ameya Dharkar [Tue, 9 Oct 2018 18:56:46 +0000 (11:56 -0700)]
bgpd: Incorrect sent prefix count for a split subgroup
When a subgroup splits to form a new subgroup because of policy changes
for a peer, new subgroup copies adj out(state about advertised routes)
from the parent subgroup. At the same time, it should also copy
scount(advertised prefix count) to the new subgroup for the count to be
in sync with the adj_out for the subgroup.
Signed-off-by: Ameya Dharkar <adharkar@vmware.org>
Quentin Young [Wed, 10 Oct 2018 18:18:45 +0000 (14:18 -0400)]
Merge pull request #3155 from opensourcerouting/building_instructions
doc: update building instructions
Quentin Young [Wed, 10 Oct 2018 18:15:15 +0000 (14:15 -0400)]
Merge pull request #3159 from pguibert6WIND/doc_draft_bgp
doc: fix warning of doc compilation with bgp draft
Renato Westphal [Wed, 10 Oct 2018 16:08:28 +0000 (13:08 -0300)]
Merge pull request #3154 from donaldsharp/bgp_mem_lem
Bgp mem issue with martian address interface strings
Renato Westphal [Wed, 10 Oct 2018 14:07:48 +0000 (11:07 -0300)]
doc: simplify build instructions
Remove all --enable-xxx configuration flags for features that are enabled
by default.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Renato Westphal [Wed, 10 Oct 2018 14:00:50 +0000 (11:00 -0300)]
doc: update build instructions for Debian 9
The instruction to checkout to the stable/3.0 branch doesn't belong
here.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Renato Westphal [Wed, 10 Oct 2018 13:57:30 +0000 (10:57 -0300)]
doc: remove LibXML from the list of dependencies
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Donald Sharp [Wed, 10 Oct 2018 14:08:01 +0000 (10:08 -0400)]
Merge pull request #3145 from pguibert6WIND/ipv6nexthop
bgpd: in case nexthop is ipv6, set nh attribute flag in mpls vpn case
Philippe Guibert [Mon, 8 Oct 2018 12:15:12 +0000 (14:15 +0200)]
bgpd: in case nexthop is ipv6, set nh attribute flag in mpls vpn case
In mpls vpn import/export, the nexthop attribute should also be
recognised for ipv6 too.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Philippe Guibert [Wed, 10 Oct 2018 09:49:33 +0000 (11:49 +0200)]
doc: fix warning of doc compilation with bgp draft
Some draft ietf are not handle by :rfc: keyword. A workaround is
proposed, like it has been done for flowspec.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Donald Sharp [Wed, 10 Oct 2018 00:19:01 +0000 (20:19 -0400)]
bgpd: Cleanup memory leak with the martian address intf string
When cleaning up a interface string, from the linked list we were
dropping the name pointer which held the allocated martian address
intf string.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Wed, 10 Oct 2018 00:16:37 +0000 (20:16 -0400)]
bgpd: Use a more appropriate memory type for a string
Track the memory type associated with the bartian address
interface a bit better, instead of using MTYPE_TMP.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Wed, 3 Oct 2018 12:22:38 +0000 (08:22 -0400)]
bgpd: Cleanup warnings issued by CI system from these changes
Modify code to cleanup warnings issued by the CI system from
this series of changes.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Wed, 3 Oct 2018 00:43:07 +0000 (20:43 -0400)]
bgpd: Rename various variable names to something more appropriate
ri -> pi
bi -> bpi
info -> path
info -> rmap_path ( for routemap applications )
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Tue, 2 Oct 2018 22:34:03 +0000 (18:34 -0400)]
bgpd: Convert binfo to path
Convert the binfo variable to path.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Tue, 2 Oct 2018 22:15:34 +0000 (18:15 -0400)]
bgpd: Convert all bgp_info_XXX functions to bgp_path_XXX functions
Rename all bgp_info_XXX functions to bgp_path_XXX functions
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Tue, 2 Oct 2018 20:41:30 +0000 (16:41 -0400)]
bgpd: Convert `struct bgp_info` to `struct bgp_path_info`
Do a straight conversion of `struct bgp_info` to `struct bgp_path_info`.
This commit will setup the rename of variables as well.
This is being done because `struct bgp_info` is not descriptive
of what this data actually is. It is path information for routes
that we keep to build the actual routes nexthops plus some extra
information.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Fri, 14 Sep 2018 00:34:42 +0000 (20:34 -0400)]
bgpd: Convert BGP_INFO_XXX to BGP_PATH_XXX
Search and replace all BGP_INFO_XXX to BGP_PATH_XXX
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Tue, 2 Oct 2018 19:50:10 +0000 (15:50 -0400)]
bgpd: Rename some BGP_PATH_XXX to BGP_PATH_SHOW_XXX
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Olivier Dugeon [Tue, 9 Oct 2018 17:07:33 +0000 (19:07 +0200)]
Merge pull request #3077 from rgirada/ospf_2980_fix
ospfd: Resolved the inconsistency behavior when “default-info origina…
Christian Franke [Tue, 9 Oct 2018 15:59:46 +0000 (17:59 +0200)]
isisd: don't add deprecated bfd command
Quentin Young [Tue, 9 Oct 2018 15:56:26 +0000 (11:56 -0400)]
Merge pull request #3037 from patrasar/2851
bgpd: remove ip prefix from as-path, <large,ext>community-list
Olivier Dugeon [Tue, 9 Oct 2018 15:52:49 +0000 (17:52 +0200)]
Merge pull request #3143 from rgirada/fix_3124
ospfd: default route got flushed after lsa refresh timer.
rgirada [Mon, 1 Oct 2018 11:38:01 +0000 (04:38 -0700)]
ospfd: issue with the "default-information originate always" command #2980
Made changes such that message wont be sent to zebra to validate default
route existence if user configured with “always”.
Signed-off-by: rgirada <rgirada@vmware.com>
Quentin Young [Mon, 8 Oct 2018 18:08:06 +0000 (14:08 -0400)]
Merge pull request #3132 from toreanderson/fix_routemap_prefixlist_match_doc
doc: correct route map match for prefix lists
rgirada [Mon, 8 Oct 2018 06:22:58 +0000 (23:22 -0700)]
ospfd: default route got flushed after lsa refresh timer.
Default route type is not considered while processing lsa
refresh timer expiry which intern makes it flushed from lsdb.
Signed-off-by: rgirada <rgirada@vmware.com>
Russ White [Mon, 8 Oct 2018 01:47:01 +0000 (21:47 -0400)]
Merge pull request #3125 from dslicenc/linklocal-nht
bgpd: allow nht registration on ipv6 link-local addresses
Russ White [Mon, 8 Oct 2018 01:45:33 +0000 (21:45 -0400)]
Merge pull request #3133 from qlyoung/bgp-fix-broken-show-community-cmds
fix broken bgp community show cmds
Donald Sharp [Mon, 8 Oct 2018 00:34:31 +0000 (20:34 -0400)]
bgpd: Do a bit better job of tracking the bgp->peerhash
When we add/remove peers we need to do a bit better job
of tracking them in the bgp->peerhash.
1) When we have the doppelganger take over, make sure the
winner is the one represented in the peerhash.
2) When creating the doppelganger, leave the current one
in place instead of blindly replacing it.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Sun, 7 Oct 2018 23:54:07 +0000 (19:54 -0400)]
bgpd: Cleanup peer->su handling
Cleanup calls where we were passing in the su for
peer creation a tiny bit.
Creating a peer from the cli will always have a conf_if *or*
a su but not both. While a doppelganger will have both.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp [Mon, 8 Oct 2018 00:47:42 +0000 (20:47 -0400)]
bgpd: Add ability to dump the bgp peerhash
The bgp->peerhash is a secretive bit of data that we use
to quickly lookup data about peers. Unfortunately
since we had not way to look at it, we had no way
of knowing if it had gotten in or out of sync.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Jafar Al-Gharaibeh [Sat, 6 Oct 2018 05:20:12 +0000 (00:20 -0500)]
Merge pull request #3135 from donaldsharp/zapi_handler_cabbage
zebra: Cleanup call parameters to some functions
Jafar Al-Gharaibeh [Sat, 6 Oct 2018 05:18:52 +0000 (00:18 -0500)]
Merge pull request #3119 from pacovn/Coverity_1465497_dead_code
zebra: dead code (Coverity
1465497 )
Donald Sharp [Fri, 5 Oct 2018 01:31:18 +0000 (21:31 -0400)]
zebra: Cleanup unused file
The zebra_vxlan_null.c file is never used. Let's remove
from our build system.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Christian Franke [Fri, 28 Sep 2018 18:33:55 +0000 (20:33 +0200)]
isisd: Track BFD state and take down adjacency on failure
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 17:35:10 +0000 (19:35 +0200)]
isisd: Add debugging for BFD
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 15:23:30 +0000 (17:23 +0200)]
isisd: Implement BFD replay function
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 15:05:15 +0000 (17:05 +0200)]
isisd: Register/deregister BFD peers for adjacencies
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 13:41:33 +0000 (15:41 +0200)]
isisd: Write BFD config
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 13:39:01 +0000 (15:39 +0200)]
isisd: Add a hook when writing interface config
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Fri, 28 Sep 2018 13:20:28 +0000 (15:20 +0200)]
isisd: Add BFD configuration commands
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Thu, 27 Sep 2018 12:23:06 +0000 (14:23 +0200)]
isisd: Replace isis_event_adjacency_state_change with a hook
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Thu, 20 Sep 2018 13:38:22 +0000 (15:38 +0200)]
isisd: Register as BFD client
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Thu, 20 Sep 2018 13:28:23 +0000 (15:28 +0200)]
isisd: Add forward declaration of struct isis_route_info
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Thu, 20 Sep 2018 13:11:09 +0000 (15:11 +0200)]
zebra_ptm: Add IS-IS and OpenFabric as protocols supporting BFD
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Christian Franke [Thu, 20 Sep 2018 13:09:43 +0000 (15:09 +0200)]
zebra_ptm: Introduce IS_BFD_ENABLED_PROTOCOL macro
Unify the check if a client supports BFD into one location.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Tore Anderson [Thu, 4 Oct 2018 11:32:20 +0000 (13:32 +0200)]
doc: correct route map match for prefix lists
This corrects the route map documentation to add the missing "prefix-list"
keyword, which is necessary when matching against a prefix list (as opposed to
an access list).
Additionally, change hyphens for underscores in the variables the user is
supposed to substitute in those commands, to prevent any confusion with the
"prefix-list" keyword itself, and also to make it more consistent with the
other documented commands (which are already using underscores).
Signed-off-by: Tore Anderson <tore@redpill-linpro.com>
Sarita Patra [Mon, 17 Sep 2018 07:33:22 +0000 (00:33 -0700)]
bgpd: remove ip prefix from as-path, <large,ext>community-list
The existing commands "ip as-path", "ip community list", "ip extcommunity
list" & "ip largecommunity list" is used to configure both for ipv4 and
ipv6. So the prefix "ip" is removed from these commands.
All the configuration, show related configuration, show running config
& boot up with write memory is also verified with the provided fix.
Signed-off-by: Sarita Patra <saritap@vmware.com>
Quentin Young [Thu, 4 Oct 2018 19:04:56 +0000 (15:04 -0400)]
Merge pull request #3098 from opensourcerouting/watchfrr-delay
tools/frr + watchfrr spring cleaning (southern hemisphere)
Quentin Young [Thu, 4 Oct 2018 18:10:09 +0000 (18:10 +0000)]
bgpd: complete description code for communities
When this description code was added, it was all dead code since none of
the bools that checked if the communities were present were ever changed
from 0.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Thu, 4 Oct 2018 17:46:52 +0000 (17:46 +0000)]
bgpd: fix broken show community commands
SHA
c5f1e1b broke about half of the community-related show commands; fix
them
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Rafael Zalamena [Thu, 4 Oct 2018 13:37:06 +0000 (10:37 -0300)]
Merge pull request #3126 from pacovn/Coverity_1424529_null_check
isisd: null check (Coverity
1424529 )
Donald Sharp [Thu, 4 Oct 2018 13:26:33 +0000 (09:26 -0400)]
Merge pull request #3127 from pacovn/Coverity_1472236_Improper_use_of_negative_value
zebra: netlink socket check (Coverity
1472236 )
David Lamparter [Thu, 4 Oct 2018 09:09:48 +0000 (11:09 +0200)]
Merge pull request #3128 from donaldsharp/cpp_notice_build_failure
lib: Include compiler.h as early as is possible in the build
Quentin Young [Wed, 3 Oct 2018 22:43:34 +0000 (18:43 -0400)]
Merge pull request #3087 from opensourcerouting/bfd-memleak
bfdd: fix memory leak and echo-mode start
Lou Berger [Wed, 3 Oct 2018 22:03:48 +0000 (18:03 -0400)]
Merge pull request #3043 from qlyoung/doc-bgpd-multiple-ass
Doc bgpd multiple ASes
Rafael Zalamena [Mon, 1 Oct 2018 16:38:34 +0000 (13:38 -0300)]
lib: refactor thread_execute
Don't allocate threads in the stack, but use the standardized
`thread_get` and `thread_add_unused` to avoid creating corner cases in
the thread API.
This fixes a thread mutex memory leak in FreeBSD.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Rafael Zalamena [Tue, 25 Sep 2018 15:05:53 +0000 (12:05 -0300)]
lib: fix a memory leak in FreeBSD
Two important changes:
* Centralize the thread teardown procedure;
* Save and restore thread mutex context to avoid losing the memory
pointer;
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
F. Aragon [Wed, 3 Oct 2018 14:57:17 +0000 (16:57 +0200)]
zebra: netlink socket check (Coverity
1472236 )
Signed-off-by: F. Aragon <paco@voltanet.io>
Donald Sharp [Wed, 3 Oct 2018 16:27:57 +0000 (12:27 -0400)]
lib: Include compiler.h as early as is possible in the build
The compiler.h header provides us with some useful macro's
that we are using in the system. We do not know exactly
where the CPP_NOTICE and CPP_WARN macros are used but
they can move around. Place this header early in the
build then.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
F. Aragon [Wed, 3 Oct 2018 14:38:49 +0000 (16:38 +0200)]
isisd: null check (Coverity
1424529 )
Signed-off-by: F. Aragon <paco@voltanet.io>
Don Slice [Tue, 25 Sep 2018 13:22:22 +0000 (06:22 -0700)]
bgpd: allow nht registration on ipv6 link-local addresses
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Testing Done: bgp-smoke completed with no new failures
While testing 5549 support using global addresses, discovered that
ipv6 nexthop tracking thru a route-reflector didn't work. Since
the next-hop used for remote nexthops resolves to the link-local
of the route-reflector, we need to track it in order to react to
interface down events. Also tripped over a crash in certain cases
which is also resolved in this fix.
Quentin Young [Tue, 2 Oct 2018 15:31:48 +0000 (15:31 +0000)]
doc: embellish bgp view docs
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Quentin Young [Mon, 1 Oct 2018 17:30:56 +0000 (17:30 +0000)]
doc: add extra information on bgp views and vrfs
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>