]> git.proxmox.com Git - mirror_frr.git/log
mirror_frr.git
6 years agoMerge remote-tracking branch 'origin/stable/2.0'
Donald Sharp [Mon, 5 Jun 2017 12:19:11 +0000 (08:19 -0400)]
Merge remote-tracking branch 'origin/stable/2.0'

6 years agoMerge pull request #665 from opensourcerouting/rpm-postun-fix
Donald Sharp [Mon, 5 Jun 2017 11:46:11 +0000 (07:46 -0400)]
Merge pull request #665 from opensourcerouting/rpm-postun-fix

redhat/frr.spec.in: Fix postun script for Fedora.

6 years agoredhat/frr.spec.in: Fix postun script for Fedora.
Martin Winter [Sun, 4 Jun 2017 07:43:34 +0000 (00:43 -0700)]
redhat/frr.spec.in: Fix postun script for Fedora.

Fedora uninstall showed some non-fatal postun script error because of an empty if which only applied to other distro's

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
6 years agoMerge pull request #656 from qlyoung/fix-varhandler-reachable
Renato Westphal [Sat, 3 Jun 2017 22:00:52 +0000 (19:00 -0300)]
Merge pull request #656 from qlyoung/fix-varhandler-reachable

lib: free varhandlers on exit

6 years agoMerge pull request #657 from donaldsharp/rompapotamus
Renato Westphal [Sat, 3 Jun 2017 21:52:59 +0000 (18:52 -0300)]
Merge pull request #657 from donaldsharp/rompapotamus

Rompapotamus

6 years agoMerge pull request #663 from chiragshah6/pim_dev
Renato Westphal [Sat, 3 Jun 2017 21:45:23 +0000 (18:45 -0300)]
Merge pull request #663 from chiragshah6/pim_dev

ospfd: Fix ospf timers commands

6 years agoMerge pull request #646 from qlyoung/fix-ospf-timers
Renato Westphal [Sat, 3 Jun 2017 16:29:31 +0000 (13:29 -0300)]
Merge pull request #646 from qlyoung/fix-ospf-timers

Fix ospf timers

6 years agoMerge pull request #664 from opensourcerouting/ldpd-fixes
Donald Sharp [Sat, 3 Jun 2017 15:00:26 +0000 (11:00 -0400)]
Merge pull request #664 from opensourcerouting/ldpd-fixes

Ldpd fixes/cleanup

6 years agoospfd: fix clear ip ospf interface cmd
Chirag Shah [Sat, 3 Jun 2017 05:52:41 +0000 (22:52 -0700)]
ospfd: fix clear ip ospf interface cmd

clear ip ospf interface <IFNAME> parsing issue,
instead of arguement of interface "IFNAME" parsed.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
6 years agoMerge pull request #654 from qlyoung/ignore-compile-commands
Renato Westphal [Sat, 3 Jun 2017 02:27:56 +0000 (23:27 -0300)]
Merge pull request #654 from qlyoung/ignore-compile-commands

frr: ignore 'compile_commands.json'

6 years agoMerge pull request #647 from qlyoung/zebra-mpls-error-messages
Renato Westphal [Sat, 3 Jun 2017 01:53:53 +0000 (22:53 -0300)]
Merge pull request #647 from qlyoung/zebra-mpls-error-messages

zebra: more informative error messages & help strings for mpls labels

6 years agoMerge pull request #652 from donaldsharp/miscapotamus
Renato Westphal [Sat, 3 Jun 2017 01:40:56 +0000 (22:40 -0300)]
Merge pull request #652 from donaldsharp/miscapotamus

Miscapotamus

6 years agoMerge pull request #650 from donaldsharp/zebrafication
Renato Westphal [Sat, 3 Jun 2017 01:38:51 +0000 (22:38 -0300)]
Merge pull request #650 from donaldsharp/zebrafication

zebra: Refactor 'struct rib' to be 'struct route_entry'

6 years agoldpd: further improvements in the configuration handling
Renato Westphal [Fri, 2 Jun 2017 22:08:14 +0000 (19:08 -0300)]
ldpd: further improvements in the configuration handling

This patch attempts to make the code easier to read by removing a
global variable and changing a few other things. Also, ldpd now calls
merge_config() only after reading the whole initial configuration at
startup, instead of doing that for every command in the configuration
file.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
6 years agoldpd: remove variable that is not necessary anymore
Renato Westphal [Fri, 2 Jun 2017 14:27:54 +0000 (11:27 -0300)]
ldpd: remove variable that is not necessary anymore

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
6 years agoldpd: fix bug in pseudowire control-word negotiation
Renato Westphal [Fri, 2 Jun 2017 14:14:54 +0000 (11:14 -0300)]
ldpd: fix bug in pseudowire control-word negotiation

Bingen discovered a bug in the pseudowire control-word negotiation that
might happen when the "control-word exclude" command is used. Under some
very specific conditions, ldpd might ignore a PWID label mapping when
it shouldn't.

This patch removes a wrong optimization that was preventing ldpd to call
l2vpn_pw_reset() every time we change the configuration of a pseudowire.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
6 years agoospfd: Fix ospf timers command
Chirag Shah [Fri, 2 Jun 2017 22:35:25 +0000 (15:35 -0700)]
ospfd: Fix ospf timers command

ospf timers related commands under router ospf were not accepted
due to incorrect argument count check.

timers throttle lsa all (0-5000)
timers throttle spf (0-600000) (0-600000) (0-600000)
timers lsa arrival (0-1000)
timers lsa min-arrival (0-600000)

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
6 years agopimd: Remove qpim_inaddr_any
Donald Sharp [Thu, 4 May 2017 14:44:51 +0000 (10:44 -0400)]
pimd: Remove qpim_inaddr_any

In prep for switching over to having PIM understand VRF
remove the qpim_inaddr_any global variable and just
use INADDR_ANY directly.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agoospfd: Make OSPF TE warnings be less chatty
Donald Sharp [Tue, 23 May 2017 11:31:01 +0000 (07:31 -0400)]
ospfd: Make OSPF TE warnings be less chatty

If you are not using OSPF-TE than there is no need to
be warned that we cannot find anything about it.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agovtysh: Cleanup some stuff(tm)
Donald Sharp [Mon, 22 May 2017 19:43:20 +0000 (15:43 -0400)]
vtysh: Cleanup some stuff(tm)

1) vtysh_config_dump was not properly indented.  Fix

2) Add VRF_NODE to be line_uniq when parsing return from sub-daemons

3) Fix 'no log monitor' to be line_uniq as well

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agolib, zebra: Pass up kernel table_id for vrf's
Donald Sharp [Wed, 17 May 2017 20:20:29 +0000 (16:20 -0400)]
lib, zebra: Pass up kernel table_id for vrf's

pim controls the vrf table creation for due to the way that
pim must interact with the kernel.  In order to match the
table_id for unicast <-> multicast( not necessary but a
real nice to have ) we need to pass up from zebra the
table_id associated with the vrf.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agolib: free varhandler on exit
Quentin Young [Fri, 2 Jun 2017 17:24:01 +0000 (17:24 +0000)]
lib: free varhandler on exit

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years agofrr: ignore 'compile_commands.json'
Quentin Young [Fri, 2 Jun 2017 17:08:29 +0000 (17:08 +0000)]
frr: ignore 'compile_commands.json'

This file is generated by most tooling for Clang and generally wants to
be in the root directory. Best to ignore it.

https://clang.llvm.org/docs/JSONCompilationDatabase.html

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years agozebra: Fix help string ordering
Donald Sharp [Fri, 2 Jun 2017 11:35:38 +0000 (07:35 -0400)]
zebra: Fix help string ordering

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agopimd: Remove some unneeded debugs from pim
Donald Sharp [Fri, 2 Jun 2017 00:11:19 +0000 (20:11 -0400)]
pimd: Remove some unneeded debugs from pim

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agonhrpd: Guard a debug that was constantly spewing information
Donald Sharp [Fri, 2 Jun 2017 00:09:06 +0000 (20:09 -0400)]
nhrpd: Guard a debug that was constantly spewing information

This debug when nhrpd was just running but not configured
was constantly being sent to the log file.  Filling it
with useless information

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agodoc: Fix up some missed stuff for Ubuntu 12.04 build doc
Donald Sharp [Fri, 2 Jun 2017 00:05:15 +0000 (20:05 -0400)]
doc: Fix up some missed stuff for Ubuntu 12.04 build doc

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agozebra: Refactor 'struct rib' to be 'struct route_entry'
Donald Sharp [Thu, 1 Jun 2017 11:26:25 +0000 (07:26 -0400)]
zebra: Refactor 'struct rib' to be 'struct route_entry'

The 'struct rib' data structure is missnamed.  It really
is a 'struct route_entry' as part of the 'struct route_node'.
We have 1 'struct route_entry' per route src.  As such
1 route node can have multiple route entries if multiple
protocols attempt to install the same route.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agozebra: define mpls label helpstr
Quentin Young [Wed, 31 May 2017 21:50:20 +0000 (21:50 +0000)]
zebra: define mpls label helpstr

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years agozebra: more informative error messages for mpls labels
Quentin Young [Wed, 31 May 2017 21:27:08 +0000 (21:27 +0000)]
zebra: more informative error messages for mpls labels

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years agoospfd: shufflin
Quentin Young [Wed, 31 May 2017 19:04:53 +0000 (19:04 +0000)]
ospfd: shufflin

move virtual-link command down to be next to its no form

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years agoMerge pull request #634 from dwalton76/bgp-ipv6-nexthop-ll-and-global-takeII
Renato Westphal [Wed, 31 May 2017 19:07:57 +0000 (16:07 -0300)]
Merge pull request #634 from dwalton76/bgp-ipv6-nexthop-ll-and-global-takeII

bgpd: resolve IPv6 LL and Global nexthop issue

6 years agoospfd: fix virtual-link timers commands
Quentin Young [Wed, 31 May 2017 19:00:39 +0000 (19:00 +0000)]
ospfd: fix virtual-link timers commands

Use {} semantics, correct docstrings, switchup parsing.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years agoMerge pull request #645 from qlyoung/nonblocking-fixup
David Lamparter [Wed, 31 May 2017 18:47:30 +0000 (20:47 +0200)]
Merge pull request #645 from qlyoung/nonblocking-fixup

poll() fixup

6 years agoMerge pull request #643 from opensourcerouting/2.0-pcreposix
Donald Sharp [Wed, 31 May 2017 17:43:45 +0000 (13:43 -0400)]
Merge pull request #643 from opensourcerouting/2.0-pcreposix

[2.0] fix --enable-pcreposix

6 years agofrr: remove --enable-poll
Quentin Young [Wed, 31 May 2017 17:40:38 +0000 (17:40 +0000)]
frr: remove --enable-poll

vestigial

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years agolib: make writing end of pipe nonblocking
Quentin Young [Wed, 31 May 2017 17:30:53 +0000 (17:30 +0000)]
lib: make writing end of pipe nonblocking

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years agobuild: fix pcreposix check
David Lamparter [Wed, 31 May 2017 14:24:04 +0000 (16:24 +0200)]
build: fix pcreposix check

pcreposix_regexec doesn't exist (anymore?), it's just regexec.  Also, if
the user specifies --enable-pcreposix, not finding it is a fatal error.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
6 years agoMerge pull request #378 from opensourcerouting/rpm-fixes-2.0
Donald Sharp [Tue, 30 May 2017 16:56:55 +0000 (12:56 -0400)]
Merge pull request #378 from opensourcerouting/rpm-fixes-2.0

redhat RPM fixes

6 years agobgpd: resolve IPv6 LL and Global nexthop issue
Daniel Walton [Tue, 30 May 2017 15:02:34 +0000 (15:02 +0000)]
bgpd: resolve IPv6 LL and Global nexthop issue

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
6 years agolib: missed AWAKEN in r/w thread scheduler
Quentin Young [Thu, 18 May 2017 18:14:52 +0000 (18:14 +0000)]
lib: missed AWAKEN in r/w thread scheduler

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years agolib: allow pthreads to poke poll()
Quentin Young [Wed, 10 May 2017 18:09:49 +0000 (18:09 +0000)]
lib: allow pthreads to poke poll()

When scheduling a task onto a thread master owned by another pthread, we
need to lock the thread master's mutex. However, if the pthread which
owns that thread master is in poll(), we could be stuck waiting for a
very long time. To solve this, we copy all data poll() needs and unlock
during poll(). To break the target pthread out of poll(), thread_master
has gained a pipe whose reading end is passed into poll(). After an event
that requires immediate action by the target pthread, a byte is written
into the pipe in order to wake it up.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
[DL: split off from select() removal]

6 years agolib: remove select()
Quentin Young [Wed, 10 May 2017 18:09:49 +0000 (18:09 +0000)]
lib: remove select()

poll() is present on every supported platform and does not have an upper
limit on file descriptors.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
[DL: split off from AWAKEN() change]

6 years agoMerge pull request #617 from donaldsharp/bgp_nexthop
Renato Westphal [Tue, 30 May 2017 13:27:38 +0000 (10:27 -0300)]
Merge pull request #617 from donaldsharp/bgp_nexthop

vtysh: Add back some missing bgp commands

6 years agoMerge pull request #632 from opensourcerouting/bgpd-show-segfaults
Donald Sharp [Tue, 30 May 2017 13:23:56 +0000 (09:23 -0400)]
Merge pull request #632 from opensourcerouting/bgpd-show-segfaults

bgpd: fix segfault with some show commands

6 years agoMerge pull request #630 from opensourcerouting/zebra-lbl-unicast-issues
Donald Sharp [Tue, 30 May 2017 13:13:04 +0000 (09:13 -0400)]
Merge pull request #630 from opensourcerouting/zebra-lbl-unicast-issues

Zebra labeled unicast issues

6 years agoMerge pull request #563 from qlyoung/enforce-no-pthread-cancellation
David Lamparter [Tue, 30 May 2017 13:10:52 +0000 (15:10 +0200)]
Merge pull request #563 from qlyoung/enforce-no-pthread-cancellation

lib: enforce thread_cancel() MT-unsafe invariant

6 years agoMerge pull request #605 from dwalton76/show-ip-route-vrf-main
David Lamparter [Tue, 30 May 2017 12:55:27 +0000 (14:55 +0200)]
Merge pull request #605 from dwalton76/show-ip-route-vrf-main

zebra: one "show ip route" to rule them all

6 years agoMerge pull request #576 from chiragshah6/pim_dev
David Lamparter [Tue, 30 May 2017 12:37:08 +0000 (14:37 +0200)]
Merge pull request #576 from chiragshah6/pim_dev

pimd: pim bfd support

6 years agoMerge pull request #623 from dslicenc/cm16512
Renato Westphal [Tue, 30 May 2017 12:31:40 +0000 (09:31 -0300)]
Merge pull request #623 from dslicenc/cm16512

bgpd: labeled-unicast issue changing from no import-check to using im…

6 years agoMerge pull request #627 from donaldsharp/ripng
David Lamparter [Tue, 30 May 2017 12:29:35 +0000 (14:29 +0200)]
Merge pull request #627 from donaldsharp/ripng

Ripng

6 years agoMerge pull request #603 from qlyoung/fix-access-packed-member
David Lamparter [Tue, 30 May 2017 12:26:03 +0000 (14:26 +0200)]
Merge pull request #603 from qlyoung/fix-access-packed-member

*: do not take address of packed member

6 years agobgpd: labeled-unicast issue changing from no import-check to using import-check
Don Slice [Fri, 26 May 2017 17:05:18 +0000 (17:05 +0000)]
bgpd: labeled-unicast issue changing from no import-check to using import-check

Problem seen in testing import-check using labeled-unicast address-family. When
transitioning from "no bgp network import-check" to "bgp network import-check",
previously installed networks were not removed.  This fix resolves this.

Ticket: CM-16512
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
6 years agobgpd: fix segfault with some show commands
Renato Westphal [Tue, 30 May 2017 11:30:57 +0000 (08:30 -0300)]
bgpd: fix segfault with some show commands

The following commands were causing bgpd to crash when vpnv4/vpnv6 static
routes are configured:

bgpd aborted: vtysh  -c "show ip bgp view all ipv4 vpn json"
bgpd aborted: vtysh  -c "show ip bgp view all ipv4 vpn"
bgpd aborted: vtysh  -c "show ip bgp view all ipv6 vpn json"
bgpd aborted: vtysh  -c "show ip bgp view all ipv6 vpn"
bgpd aborted: vtysh  -c "show ip bgp vrf all ipv4 vpn json"
bgpd aborted: vtysh  -c "show ip bgp vrf all ipv4 vpn"
bgpd aborted: vtysh  -c "show ip bgp vrf all ipv6 vpn json"
bgpd aborted: vtysh  -c "show ip bgp vrf all ipv6 vpn"
bgpd aborted: vtysh  -c "show bgp view all ipv4 vpn json"
bgpd aborted: vtysh  -c "show bgp view all ipv4 vpn"
bgpd aborted: vtysh  -c "show bgp view all ipv6 vpn json"
bgpd aborted: vtysh  -c "show bgp view all ipv6 vpn"
bgpd aborted: vtysh  -c "show bgp vrf all ipv4 vpn json"
bgpd aborted: vtysh  -c "show bgp vrf all ipv4 vpn"
bgpd aborted: vtysh  -c "show bgp vrf all ipv6 vpn json"
bgpd aborted: vtysh  -c "show bgp vrf all ipv6 vpn"

Problem found with the CLI fuzzer.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
6 years agozebra: fix installation of ipv4 labeled unicast routes
Renato Westphal [Mon, 29 May 2017 22:48:11 +0000 (19:48 -0300)]
zebra: fix installation of ipv4 labeled unicast routes

Rearrange the _netlink_route_build*() functions so the labels of the
nexthops are always installed, even for IPv4 routes with IPv6 nexthops.

Fixes Labeled Unicast with BGP Unnumbered.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
6 years agozebra: fix processing of labeled ipv6 routes
Renato Westphal [Mon, 29 May 2017 22:41:40 +0000 (19:41 -0300)]
zebra: fix processing of labeled ipv6 routes

We're incrementing nh_count twice for the same nexthop.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
6 years agoMerge pull request #615 from dslicenc/cm16531
Renato Westphal [Mon, 29 May 2017 22:32:38 +0000 (19:32 -0300)]
Merge pull request #615 from dslicenc/cm16531

zebra: add bgp unnumbered labeled-unicast to zserv

6 years agoMerge pull request #614 from qlyoung/fix-ospf6-oa-scope
Renato Westphal [Mon, 29 May 2017 20:49:52 +0000 (17:49 -0300)]
Merge pull request #614 from qlyoung/fix-ospf6-oa-scope

ospf6d: default to dotted quad instead of ret NULL

6 years agoMerge pull request #625 from donaldsharp/show_zebra
Renato Westphal [Mon, 29 May 2017 15:58:21 +0000 (12:58 -0300)]
Merge pull request #625 from donaldsharp/show_zebra

zebra: Fix 64 bit number printf issues

6 years agoMerge pull request #629 from donaldsharp/eigrp_network
Renato Westphal [Mon, 29 May 2017 14:47:41 +0000 (11:47 -0300)]
Merge pull request #629 from donaldsharp/eigrp_network

eigrpd: Fix network statement

6 years agoMerge pull request #618 from donaldsharp/hopola
Renato Westphal [Mon, 29 May 2017 13:21:46 +0000 (10:21 -0300)]
Merge pull request #618 from donaldsharp/hopola

Hopola

6 years agoMerge pull request #621 from dslicenc/cm15545
Renato Westphal [Mon, 29 May 2017 12:45:02 +0000 (09:45 -0300)]
Merge pull request #621 from dslicenc/cm15545

bgpd: fix issue with ipv6 ecmp with vrfs

6 years agoeigrpd: Fix network statement
Donald Sharp [Mon, 29 May 2017 11:08:52 +0000 (07:08 -0400)]
eigrpd: Fix network statement

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agoripngd: Let ripng announce interface turned on for usage.
Donald Sharp [Sat, 27 May 2017 22:48:41 +0000 (18:48 -0400)]
ripngd: Let ripng announce interface turned on for usage.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agoripngd: Fix missing newlines at end of help strings
Donald Sharp [Sat, 27 May 2017 22:20:51 +0000 (18:20 -0400)]
ripngd: Fix missing newlines at end of help strings

Found by visual inspection and some squinting

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agonhrpd: Fix missing include for 'access_list_init' function
Donald Sharp [Fri, 26 May 2017 20:19:08 +0000 (16:19 -0400)]
nhrpd: Fix missing include for 'access_list_init' function

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agozebra: Fix 64 bit number printf issues
Donald Sharp [Fri, 26 May 2017 18:05:35 +0000 (14:05 -0400)]
zebra: Fix 64 bit number printf issues

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agobgpd: remove struct capability_orf_entry
Quentin Young [Fri, 26 May 2017 15:21:36 +0000 (15:21 +0000)]
bgpd: remove struct capability_orf_entry

virtually unused

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years ago*: do not take address of packed member
Quentin Young [Mon, 22 May 2017 15:52:30 +0000 (15:52 +0000)]
*: do not take address of packed member

May result in alignment errors on certain platforms

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years agobgpd: fix issue with ipv6 ecmp with vrfs
Don Slice [Fri, 26 May 2017 15:13:08 +0000 (15:13 +0000)]
bgpd: fix issue with ipv6 ecmp with vrfs

Problem reported by customer that ipv6 wasn't installing ecmp paths
when using vrfs.  Found a vrf-unware call in bgp_zebra_announce that
was the culprit.  Testing of the fix looks good.

Ticket: CM-15545
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
6 years agozebra: Remove string operations from non-debug path
Donald Sharp [Fri, 26 May 2017 01:22:03 +0000 (21:22 -0400)]
zebra: Remove string operations from non-debug path

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agozebra: Store commonly used values instead of regenerating
Donald Sharp [Fri, 26 May 2017 01:11:24 +0000 (21:11 -0400)]
zebra: Store commonly used values instead of regenerating

the ipv4_ll address used for 5549 routes does not need
to be figured out every single time that we attempt
to install/remove a route of that type.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agovtysh: Add back some missing bgp commands
Donald Sharp [Thu, 25 May 2017 17:53:50 +0000 (13:53 -0400)]
vtysh: Add back some missing bgp commands

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agozebra: add bgp unnumbered labeled-unicast to zserv
Don Slice [Wed, 24 May 2017 18:31:10 +0000 (11:31 -0700)]
zebra: add bgp unnumbered labeled-unicast to zserv

Prior to the fix, labels weren't getting installed in zebra nor were the
ifindex values correctly set if labeled-unicast was used in conjunction
with bgp unnumbered.

Ticket: CM-16531
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: CCR-6276
6 years agoMerge pull request #610 from donaldsharp/rpprefixlen
Jafar Al-Gharaibeh [Thu, 25 May 2017 04:10:19 +0000 (22:10 -0600)]
Merge pull request #610 from donaldsharp/rpprefixlen

pimd: Allow secondary address comparisons to work

6 years agoospf6d: default to dotted quad instead of ret NULL
Quentin Young [Thu, 25 May 2017 04:09:52 +0000 (04:09 +0000)]
ospf6d: default to dotted quad instead of ret NULL

to fix coverity warning

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
6 years agoMerge remote-tracking branch 'origin/stable/3.0'
Donald Sharp [Wed, 24 May 2017 15:22:35 +0000 (11:22 -0400)]
Merge remote-tracking branch 'origin/stable/3.0'

6 years agoMerge pull request #612 from LabNConsulting/working/master/patch-set/deprecateEncap
Donald Sharp [Wed, 24 May 2017 15:04:53 +0000 (11:04 -0400)]
Merge pull request #612 from LabNConsulting/working/master/patch-set/deprecateEncap

master:  remove support for config & show of encap safi

6 years agoMerge pull request #611 from LabNConsulting/working/3.0/patch-set/deprecateEncap
Donald Sharp [Wed, 24 May 2017 15:04:36 +0000 (11:04 -0400)]
Merge pull request #611 from LabNConsulting/working/3.0/patch-set/deprecateEncap

3.0: remove support for config & show of encap safi

6 years agobgpd: remove encap safi vty related files bgp_encap.h|c
Lou Berger [Tue, 23 May 2017 19:34:43 +0000 (15:34 -0400)]
bgpd: remove encap safi vty related files bgp_encap.h|c

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agobgpd: remove encap_safi rx processing
Lou Berger [Tue, 23 May 2017 19:15:45 +0000 (15:15 -0400)]
bgpd: remove encap_safi rx processing

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agobgpd: remove encap safi show commands
Lou Berger [Tue, 23 May 2017 19:11:30 +0000 (15:11 -0400)]
bgpd: remove encap safi show commands

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agobgpd: remove additional instance of BGP_ENCAP(v6)_NODE
Lou Berger [Tue, 23 May 2017 19:58:10 +0000 (15:58 -0400)]
bgpd: remove additional instance of BGP_ENCAP(v6)_NODE

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agobgpd rfapi: remove ability to configure use of encap-safi (continue to use encap...
Lou Berger [Tue, 23 May 2017 19:02:31 +0000 (15:02 -0400)]
bgpd rfapi: remove ability to configure use of encap-safi (continue to use encap attribute)

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agobgpd: remove support for ipv4|6 encap safi config
Lou Berger [Tue, 23 May 2017 19:01:54 +0000 (15:01 -0400)]
bgpd: remove support for ipv4|6 encap safi config

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agovtysh: remove BGP_ENCAP(V6)_NODE
Lou Berger [Tue, 23 May 2017 19:01:09 +0000 (15:01 -0400)]
vtysh: remove BGP_ENCAP(V6)_NODE

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agolib: remove BGP_ENCAP(V6)_NODE
Lou Berger [Tue, 23 May 2017 19:00:53 +0000 (15:00 -0400)]
lib: remove BGP_ENCAP(V6)_NODE

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agobgpd: remove encap safi vty related files bgp_encap.h|c
Lou Berger [Tue, 23 May 2017 19:34:43 +0000 (15:34 -0400)]
bgpd: remove encap safi vty related files bgp_encap.h|c

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agopimd: Allow secondary address comparisons to work
Donald Sharp [Tue, 23 May 2017 18:50:45 +0000 (14:50 -0400)]
pimd: Allow secondary address comparisons to work

The secondary address comparison done to determine if we are
an RP for a specified address was comparing A.B.C.D/32 to A.B.C.D/0
because when we created the rp_info we were not setting the prefixlen

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
6 years agobgpd: remove encap_safi rx processing
Lou Berger [Tue, 23 May 2017 19:15:45 +0000 (15:15 -0400)]
bgpd: remove encap_safi rx processing

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agobgpd: remove encap safi show commands
Lou Berger [Tue, 23 May 2017 19:11:30 +0000 (15:11 -0400)]
bgpd: remove encap safi show commands

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agobgpd rfapi: remove ability to configure use of encap-safi (continue to use encap...
Lou Berger [Tue, 23 May 2017 19:02:31 +0000 (15:02 -0400)]
bgpd rfapi: remove ability to configure use of encap-safi (continue to use encap attribute)

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agobgpd: remove support for ipv4|6 encap safi config
Lou Berger [Tue, 23 May 2017 19:01:54 +0000 (15:01 -0400)]
bgpd: remove support for ipv4|6 encap safi config

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agovtysh: remove BGP_ENCAP(V6)_NODE
Lou Berger [Tue, 23 May 2017 19:01:09 +0000 (15:01 -0400)]
vtysh: remove BGP_ENCAP(V6)_NODE

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agolib: remove BGP_ENCAP(V6)_NODE
Lou Berger [Tue, 23 May 2017 19:00:53 +0000 (15:00 -0400)]
lib: remove BGP_ENCAP(V6)_NODE

Signed-off-by: Lou Berger <lberger@labn.net>
6 years agoMerge pull request #598 from donaldsharp/to_3.0
Donald Sharp [Tue, 23 May 2017 15:42:11 +0000 (11:42 -0400)]
Merge pull request #598 from donaldsharp/to_3.0

To 3.0

6 years agozebra: one "show ip route" to rule them all
Daniel Walton [Mon, 22 May 2017 19:56:11 +0000 (19:56 +0000)]
zebra: one "show ip route" to rule them all

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
6 years agoMerge pull request #593 from qlyoung/fix-nhrpd-acl-3.0
David Lamparter [Mon, 22 May 2017 15:46:48 +0000 (17:46 +0200)]
Merge pull request #593 from qlyoung/fix-nhrpd-acl-3.0

nhrpd: install access-list commands

6 years agoMerge pull request #591 from qlyoung/ospf-df-areaid-3.0
David Lamparter [Mon, 22 May 2017 15:45:55 +0000 (17:45 +0200)]
Merge pull request #591 from qlyoung/ospf-df-areaid-3.0

ospfd: remember format for ospf area id

6 years agoMerge pull request #582 from qlyoung/ospf6-df-areaid
David Lamparter [Mon, 22 May 2017 15:45:29 +0000 (17:45 +0200)]
Merge pull request #582 from qlyoung/ospf6-df-areaid

ospf6d: remember format for ospf6 area id