Commit Graph

7435 Commits

Author SHA1 Message Date
Donald Sharp
5392d3269b Merge pull request #334 from pichuang/typo
Remove superfluous path and correct groupname
2017-04-05 06:08:28 -04:00
Phil Huang
e879fd94d9 Remove superfluous path and correct groupname
Signed-off-by: Phil Huang <phil_huang@edge-core.com>
2017-04-05 16:06:03 +08:00
Donald Sharp
fab7c72601 doc: Cleanup 'Build the Software'
The frrouting.org web page:
https://frrouting.org/manual/Build-the-Software.html#Build-the-Software
is built from doc/install.texi.  The output on this page is a bit
missleading, let's clean it up some.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-04 20:36:16 -04:00
Donald Sharp
5288483719 *: Clean up some wrong references
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-04 20:18:24 -04:00
Donald Sharp
b5024aa7ab Merge pull request #332 from opensourcerouting/snmp-fix
fix SNMP build
2017-04-04 16:39:56 -04:00
David Lamparter
0723dc8c5e Merge pull request #331 from dwalton76/quagga-reload
tools: quagga-reload.py fails to change max-paths
2017-04-04 21:47:01 +02:00
David Lamparter
ffc37fa151 Merge pull request #330 from dwalton76/ospf-no-log-adjacency-changes-detail
ospfd: "no log-adjacency-changes detail" disables log-adjacency-changes
2017-04-04 21:45:14 +02:00
David Lamparter
cbd2fb53b0 Merge pull request #329 from dwalton76/debug-zebra-nht
zebra: "debug zebra nht" is not in the config
2017-04-04 21:44:28 +02:00
Donald Sharp
be0f843102 vtysh: Fix build for non-snmp case
The snmp code is being included in the build of the vtysh_cmd.c
irrelevant of whether or not it is needed.  Be a bit smarter
about what files to include.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2017-04-04 21:28:14 +02:00
David Lamparter
a263892613 build: fix CFLAGS for snmp modules
The SNMP modules include <net-snmp/net-snmp-config.h>, which won't be
found in off-searchpath directories without SNMP_CFLAGS.  Unfortunately
in my tests the files were on the search path even without the flags.

(SNMP_LIBS is not needed because only libfrrsnmp calls into net-snmp
functions.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2017-04-04 21:25:19 +02:00
Daniel Walton
2ce26af100 tools: quagga-reload.py fails to change max-paths
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by:   Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-04 18:51:32 +00:00
Daniel Walton
7994b01d26 ospfd: "no log-adjacency-changes detail" disables log-adjacency-changes
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by:   Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-04 18:13:43 +00:00
Daniel Walton
ee43309596 zebra: "debug zebra nht" is not in the config
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by:   Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-04 18:11:04 +00:00
David Lamparter
422f8d0ca9 Merge branch 'master' 2017-04-04 20:04:07 +02:00
David Lamparter
b394fc99bc build: remove wildcards from snapcraft/Makefile.am
automake does not support globs.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2017-04-04 19:01:51 +02:00
David Lamparter
3e7c8d040c Merge branch 'stable/2.0'
Fixed minor conflicts from "defaults" change on stable.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2017-04-04 19:01:47 +02:00
Donald Sharp
b3cfe637a6 Merge pull request #294 from opensourcerouting/modules
Loadable module support
2017-04-04 11:55:00 -04:00
David Lamparter
2a8e27afb8 vtysh: handle "show modules" like "show memory"
Preface with line identifying which daemon it applies to.
[Also fixes a missed "plugin" -> "module" replace.]

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2017-04-04 16:12:59 +02:00
David Lamparter
e5fd248c25 Merge pull request #322 from qlyoung/fix-distance-commands
ospfd, ospf6d: fix distance commands
2017-04-04 15:59:12 +02:00
David Lamparter
2e310ba9c3 Merge pull request #321 from donaldsharp/speed
Speedy McSpeederson
2017-04-04 15:58:11 +02:00
David Lamparter
3e11c00789 Merge pull request #314 from donaldsharp/scan-build
Scan build
2017-04-04 15:57:00 +02:00
Donald Sharp
c752099bee Merge pull request #324 from opensourcerouting/zebra-v4v6-typos
zebra: fix v4/v6 typos in some show commands
2017-04-04 09:55:58 -04:00
Donald Sharp
97d2cd8d0c zebra: Fix printf formatting
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-04 07:50:31 -04:00
Renato Westphal
10dad4242a zebra: fix v4/v6 typos in some show commands
This fixes a few problems like this one:
vtysh# show ipv6 route ospf6
Unknown route type

Also, replace SAFI_UNICAST with SAFI_MULTICAST in the "show ipv6 mroute
vrf all" command.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2017-04-03 22:24:42 -03:00
Donald Sharp
e61a754ca2 Merge pull request #323 from LabNConsulting/working/master/patch/install1
Fix a couple of centos related install issues
2017-04-03 18:55:30 -04:00
Donald Sharp
eb649b7ff3 lib, zebra: Fix CR comments
lib -> Add a bit of documentation about what units we are in.
zebra -> Fix failure case to be a bit better.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-03 18:28:26 -04:00
Lou Berger
208bf70046 redhat/frr.spec.in: fix typo
Signed-off-by: Lou Berger <lberger@labn.net>
2017-04-03 17:32:03 -04:00
Lou Berger
45a39399d7 doc: fix some omissions in centos instructions
Signed-off-by: Lou Berger <lberger@labn.net>
2017-04-03 17:30:31 -04:00
Quentin Young
eaa1ae0db4 ospfd, ospf6d: fix distance commands
OSPF distance commands were broken in a variety of ways. Fix 'em.

* `distance ospf` and `distance ospf6` were accepted commands
* Inconsistent doc strings
* Make use of {keyword|tokens}
* Add ability to reset specific distance without specifying a value
  Ex: ~# no distance ospf6 intra

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2017-04-03 20:17:12 +00:00
Jafar Al-Gharaibeh
ea4aa1428f Merge pull request #316 from qlyoung/fix-logc
lib: fix proto_redistnum() oversight from #257
2017-04-03 14:43:50 -05:00
Donald Sharp
6f4c7f7476 zebra: Display new speed information in 'show int..' command
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-03 14:49:35 -04:00
Donald Sharp
535fe877a9 zebra: Retrieve interface speed when creating interface
When we get notification from the kernel about the creation
of a new interface, retrieve the speed of it from the kernel

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-03 14:49:35 -04:00
Donald Sharp
2d7f0d76c6 lib, zebra: Add ability to pass interface speed up from zebra
This is a prepatory commit for future improvements.

Add a change to the zapi to pass the interface speed up.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-03 14:49:35 -04:00
Donald Sharp
81b43075b7 Merge pull request #311 from opensourcerouting/ldpd-vty-simpl
ldpd: simplify CLI code + small fixes
2017-04-03 13:49:29 -04:00
Donald Sharp
703beb67fe eigrpd: Valgrind complained about not removing entry
We were not removing the pe from the topology list.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-02 21:21:21 -04:00
Donald Sharp
50ca9e8e53 eigrpd: Flags is now 32 bit as opposed to 8 bit.
This missalignment caused zebra to go 'Ruh-Roh' Shaggy.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-02 20:50:08 -04:00
Donald Sharp
4325044689 eigrpd: When deleting interface remove connected routes from topo table
When we are deleting an interface, remove
the connected routes associated with that interface from
the topo table.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-02 19:35:42 -04:00
Quentin Young
f257ff2cdb lib: fix proto_redistnum() oversight from #257
proto_redistnum() now accepts full protocol strings and not partial
names per #10

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2017-04-02 23:21:09 +00:00
Lou Berger
3135834e1f bgpd: restore -S, --skip_runas options
Signed-off-by: Lou Berger <lberger@labn.net>
2017-04-02 16:19:04 -04:00
Lou Berger
c888ea1647 lib/frr: fix reference to zsuid before it is set
Signed-off-by: Lou Berger <lberger@labn.net>
2017-04-02 16:18:53 -04:00
Lou Berger
508f9997f2 bgp: fix a couple of instances of bm being used before init'ed
Signed-off-by: Lou Berger <lberger@labn.net>
2017-04-02 16:18:36 -04:00
Donald Sharp
505a2c46d1 eigrpd: Fix route delete
Send the correct format of data to zebra on route delete.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-02 10:03:00 -04:00
Martin Winter
3e71b5d907 Release: FRR-2.0
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
2017-04-01 22:22:47 -07:00
Donald Sharp
264f864625 isisd: Fix some various clang warnings
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-04-01 08:42:19 -04:00
Donald Sharp
2aaa554de9 Merge branch 'master' into pim_5549 2017-04-01 07:58:05 -04:00
Mike Tancsa
7e5b539722 lib: fix usage of getgrouplist() in *BSD
On BSD systems, the getgrouplist() function returns 0 if successful and
-1 on error.

Linux in the other hand returns *ngroups (the number of groups of which
user is a member) on success and -1 on error.

Given this difference, the most portable way to use getgrouplist()
is use its return value only for checking if it succeeded or not.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2017-04-01 00:50:40 -04:00
Donald Sharp
7f03a6f6d2 nhrpd: Fix value set but never used.
The nbma_addr value is set but never used.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-03-31 17:00:26 -04:00
Donald Sharp
6ca7dd9045 pimd: Cleanup termination to avoid possible null ptr deref
When terminating pim, there existed( albeit small ) the chance
to cause a crash.  Cleanup the termination to not have
that chance.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-03-31 16:56:26 -04:00
Donald Sharp
19f4e33afa pimd: Fix incorrect indentation
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-03-31 16:50:08 -04:00
Donald Sharp
ff3745c26a pimd: Remove impossible conditions from test
It is impossible for the list->cmp function to
ever be handed NULL values as the arguments.

Clean up this in the code.

Additionally consolidate the exact same two functions
into 1 function.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2017-03-31 16:47:00 -04:00