]> git.proxmox.com Git - mirror_frr.git/log
mirror_frr.git
7 years agoMerge pull request #857 from devicenull/master
Donald Sharp [Fri, 28 Jul 2017 00:46:22 +0000 (20:46 -0400)]
Merge pull request #857 from devicenull/master

redhat: Make the init script flush routes for all associated protocols

7 years agoMerge pull request #861 from dwalton76/bgpd-attr-unchanged
Russ White [Thu, 27 Jul 2017 19:59:24 +0000 (15:59 -0400)]
Merge pull request #861 from dwalton76/bgpd-attr-unchanged

bgpd: attribute-unchanged issues with peer-groups

7 years agoMerge pull request #859 from donaldsharp/bgp_ll_global
Russ White [Thu, 27 Jul 2017 19:56:56 +0000 (15:56 -0400)]
Merge pull request #859 from donaldsharp/bgp_ll_global

Bgp -> Allow comparison of correct v6 nexthop

7 years agoMerge pull request #862 from dwalton76/bgpd-update-too-large
Russ White [Thu, 27 Jul 2017 19:56:06 +0000 (15:56 -0400)]
Merge pull request #862 from dwalton76/bgpd-update-too-large

bgpd: UPDATE may be larger than 4096 if addpath is used

7 years agoMerge pull request #863 from dwalton76/zebra-static-reject
Russ White [Thu, 27 Jul 2017 19:54:48 +0000 (15:54 -0400)]
Merge pull request #863 from dwalton76/zebra-static-reject

zebra: static route cleanup

7 years agoMerge pull request #864 from dwalton76/zebra-debug-packet-detail
Russ White [Thu, 27 Jul 2017 19:54:16 +0000 (15:54 -0400)]
Merge pull request #864 from dwalton76/zebra-debug-packet-detail

Zebra debug packet detail

7 years agoMerge pull request #869 from donaldsharp/hash_a_roni
Russ White [Thu, 27 Jul 2017 19:47:48 +0000 (15:47 -0400)]
Merge pull request #869 from donaldsharp/hash_a_roni

lib: Remove expansion of hash table

7 years agoMerge pull request #868 from LabNConsulting/working/master/patch-set/rfapi-lib+
Donald Sharp [Thu, 27 Jul 2017 18:02:00 +0000 (14:02 -0400)]
Merge pull request #868 from LabNConsulting/working/master/patch-set/rfapi-lib+

Restore rfapi and encap attribute, broken by some recent changes

7 years agobgpd rfapi: use afi_t
Lou Berger [Thu, 27 Jul 2017 17:06:49 +0000 (13:06 -0400)]
bgpd rfapi: use afi_t

Signed-off-by: Lou Berger <lberger@labn.net>
7 years agobgpd rfapi: fix breakage introduced in refactoring
Lou Berger [Thu, 27 Jul 2017 15:01:36 +0000 (11:01 -0400)]
bgpd rfapi: fix breakage introduced in refactoring

Signed-off-by: Lou Berger <lberger@labn.net>
7 years agolib: Remove expansion of hash table
Donald Sharp [Thu, 27 Jul 2017 15:08:40 +0000 (11:08 -0400)]
lib: Remove expansion of hash table

The hash code has the idea of stopping expanding
the hash table when certain criteria are set.
With the recent addition of `show hashtable`
we can now see that when we have a full internet
feed we've stopped expanding the table at 1k
buckets.  This results in some serious performance
issues at scale.

Since we now have the ability to see the statistics
on a hash table, let's allow it to expand.  Doing
so on a full feed showed this:

before:
   Hash table          |  Buckets   Entries   Empty   LF        SD      FLF       SD
 ----------------------+----------------------------------------------------------------
   route table hash    |  1024      1187579   0%      1159.75   34.06   1159.75   35.08
   route table hash    |  32768     76208     10%     2.33      2.80    2.58      4.03
   route table hash    |  1024      1187572   0%      1159.74   34.06   1159.74   35.08
   route table hash    |  2048      76205     0%      37.21     6.13    37.21     7.29

Showing hash table statistics for BGP
-------------------------------------

   Hash table         |  Buckets   Entries   Empty   LF       SD      FLF      SD
 ---------------------+--------------------------------------------------------------
   BGP Attributes     |  131072    251229    15%     1.92     2.48    2.25     3.33
   route table hash   |  4096      1187572   0%      289.93   17.03   289.93   17.87
   route table hash   |  32768     76205     10%     2.33     2.90    2.58     4.21

After:

   Hash table          |  Buckets   Entries   Empty   LF     SD     FLF    SD
 ----------------------+--------------------------------------------------------
   route table hash    |  1048576   1187349   32%     1.13   2.57   1.67   3.16
   route table hash    |  32768     76195     10%     2.33   2.81   2.58   4.03
   route table hash    |  1048576   1187342   32%     1.13   2.58   1.67   3.16
   route table hash    |  32768     76192     10%     2.33   2.68   2.58   3.81

Showing hash table statistics for BGP
-------------------------------------

   Hash table         |  Buckets   Entries   Empty   LF     SD     FLF    SD
 ---------------------+--------------------------------------------------------
   BGP Attributes     |  131072    251222    15%     1.92   2.64   2.25   3.58
   route table hash   |  1048576   1187342   32%     1.13   2.52   1.67   3.07
   route table hash   |  32768     76192     10%     2.33   2.86   2.58   4.12

We should see some significant performance improvements across the board
for full feeds.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
7 years agobgp rfapi: use route_table_init and _finish (fixes crash due to recent lib change)
Lou Berger [Thu, 27 Jul 2017 14:05:48 +0000 (10:05 -0400)]
bgp rfapi: use route_table_init and _finish (fixes crash due to recent lib change)

Signed-off-by: Lou Berger <lberger@labn.net>
7 years agobgpd: Fix nexthop comparison for v6
Donald Sharp [Wed, 26 Jul 2017 13:41:36 +0000 (09:41 -0400)]
bgpd: Fix nexthop comparison for v6

When we have both a LL and a Global address,
use what the attribute wants for comparison
instead of assuming Global than LL.

This was causing BGP to install v6 routes
that used the LL as the nexthop, where
the global address was different and
being used as the basis for comparison.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
7 years agobgpd: Set the ifindex to DELETED after we notify zebra
Donald Sharp [Wed, 26 Jul 2017 13:57:35 +0000 (09:57 -0400)]
bgpd: Set the ifindex to DELETED after we notify zebra

The code path for a deleted interface was calling
zebra with a IFINDEX_DELETED, which caused zebra
to bitch and moan about the issue.  Since the
only thing this function does is call zebra
to deregister the RA stuff, don't set the
ifindex to DELETED till afterwords.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
7 years agoMerge branch 'master' of https://github.com/dwalton76/frr into zebra-debug-packet...
Daniel Walton [Wed, 26 Jul 2017 18:17:33 +0000 (18:17 +0000)]
Merge branch 'master' of https://github.com/dwalton76/frr into zebra-debug-packet-detail

Conflicts:
zebra/debug.c

7 years agobgpd: attribute-unchanged issues with peer-groups
Daniel Walton [Wed, 26 Jul 2017 17:49:20 +0000 (17:49 +0000)]
bgpd: attribute-unchanged issues with peer-groups

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
7 years agobgpd: UPDATE may be larger than 4096 if addpath is used
Daniel Walton [Wed, 26 Jul 2017 16:33:39 +0000 (16:33 +0000)]
bgpd: UPDATE may be larger than 4096 if addpath is used

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
7 years agoMerge pull request #842 from qlyoung/update-style-guide
David Lamparter [Wed, 26 Jul 2017 16:20:17 +0000 (18:20 +0200)]
Merge pull request #842 from qlyoung/update-style-guide

Update COMMUNITY.md

7 years agoredhat: Update documentation about frr-reload
Brian Rak [Wed, 26 Jul 2017 15:47:07 +0000 (11:47 -0400)]
redhat: Update documentation about frr-reload

7 years agozebra: static route cleanup
Daniel Walton [Tue, 25 Jul 2017 20:24:45 +0000 (13:24 -0700)]
zebra: static route cleanup

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
- The 'reject' keyword was being lost
- Hide the "ip route A.B.C.D A.B.C.D" config options since these will be
  displayed as "ip route A.B.C.D/X"

7 years agoCOMMUNITY.md: rewrap paragraphs, update PR section
Quentin Young [Tue, 25 Jul 2017 19:53:05 +0000 (15:53 -0400)]
COMMUNITY.md: rewrap paragraphs, update PR section

* Wrap paragraphs at 80 lines
* Update Github PR section to remove mention of develop branch

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
7 years agoredhat: Make the init script flush routes for all associated protocols on stop
Brian Rak [Tue, 25 Jul 2017 19:48:02 +0000 (15:48 -0400)]
redhat: Make the init script flush routes for all associated protocols on stop

7 years agoCOMMUNITY.md: minor grammatical fixes
Quentin Young [Tue, 25 Jul 2017 19:39:05 +0000 (15:39 -0400)]
COMMUNITY.md: minor grammatical fixes

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
7 years agoCOMMUNITY.md: document documentation
Quentin Young [Tue, 25 Jul 2017 19:34:41 +0000 (15:34 -0400)]
COMMUNITY.md: document documentation

Add guidelines for documentation to COMMUNITY.md

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
7 years agoCOMMUNITY.md: miscellaneous documentation
Quentin Young [Fri, 21 Jul 2017 16:50:59 +0000 (12:50 -0400)]
COMMUNITY.md: miscellaneous documentation

Also:
- Add documentation on mailing list
- Update mentions of unit tests
- Update process description

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
7 years agoCOMMUNITY.md: s/PROJECT/FRRouting
Quentin Young [Fri, 21 Jul 2017 16:12:52 +0000 (12:12 -0400)]
COMMUNITY.md: s/PROJECT/FRRouting

Also:
* Make headers consistently capitalized
* Some extra backticks where needed

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
7 years agoCOMMUNITY.md: update style guide
Quentin Young [Fri, 21 Jul 2017 15:33:38 +0000 (11:33 -0400)]
COMMUNITY.md: update style guide

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
7 years agozebra: debug cleanup
Daniel Walton [Tue, 25 Jul 2017 19:07:07 +0000 (12:07 -0700)]
zebra: debug cleanup

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
7 years agoMerge pull request #848 from opensourcerouting/rb-tree-fix
Donald Sharp [Tue, 25 Jul 2017 15:11:33 +0000 (11:11 -0400)]
Merge pull request #848 from opensourcerouting/rb-tree-fix

Fix corrupted RB trees

7 years agoMerge pull request #847 from donaldsharp/cmd_success
David Lamparter [Tue, 25 Jul 2017 14:23:48 +0000 (16:23 +0200)]
Merge pull request #847 from donaldsharp/cmd_success

Cmd success

7 years agoMerge pull request #838 from dwalton76/lib-copy-nexthops
David Lamparter [Tue, 25 Jul 2017 14:20:08 +0000 (16:20 +0200)]
Merge pull request #838 from dwalton76/lib-copy-nexthops

lib: copy_nexthops() only copies the first nexthop

7 years agoMerge pull request #837 from qlyoung/fix-eigrp-routemap-cli
David Lamparter [Tue, 25 Jul 2017 14:15:54 +0000 (16:15 +0200)]
Merge pull request #837 from qlyoung/fix-eigrp-routemap-cli

eigrpd, vtysh: add dummy route-map cli

7 years agoMerge pull request #836 from dwalton76/zebra-debug-packet-send-detail
David Lamparter [Tue, 25 Jul 2017 14:01:40 +0000 (16:01 +0200)]
Merge pull request #836 from dwalton76/zebra-debug-packet-send-detail

zebra: "debug zebra packet" config display

7 years agolib: fix corrupted RB trees
Renato Westphal [Mon, 24 Jul 2017 21:41:30 +0000 (18:41 -0300)]
lib: fix corrupted RB trees

Commit 8f942af90 introduced a bug while silencing a clang warning. Silence
the warning in a different way to fix our red-black tree implementation.

Fixes #841.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
7 years agolib: revert reindent of files imported from OpenBSD
Renato Westphal [Mon, 24 Jul 2017 21:36:51 +0000 (18:36 -0300)]
lib: revert reindent of files imported from OpenBSD

We should preserve the original indentation to make it easier to keep
these files in sync with the upstream.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
7 years agoripd: Fix debug config failures
Donald Sharp [Mon, 24 Jul 2017 20:00:20 +0000 (16:00 -0400)]
ripd: Fix debug config failures

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
7 years agoripngd: Fix failure returned with some debug commands
Donald Sharp [Mon, 24 Jul 2017 19:59:36 +0000 (15:59 -0400)]
ripngd: Fix failure returned with some debug commands

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
7 years ago*: fix git-reindent-branch.py reversing order
David Lamparter [Sat, 22 Jul 2017 16:00:44 +0000 (18:00 +0200)]
*: fix git-reindent-branch.py reversing order

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoRevert "*: reindent pt. 2"
David Lamparter [Sat, 22 Jul 2017 12:52:33 +0000 (14:52 +0200)]
Revert "*: reindent pt. 2"

This reverts commit c14777c6bfd0a446c85243d3a9835054a259c276.

clang 5 is not widely available enough for people to indent with.  This
is particularly problematic when rebasing/adjusting branches.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agolib: copy_nexthops() only copies the first nexthop
Daniel Walton [Thu, 20 Jul 2017 17:11:43 +0000 (17:11 +0000)]
lib: copy_nexthops() only copies the first nexthop

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Before the fix NHT had each path resolving via swp1

cel-redxp-10# show ip route 20.0.11.253
Routing entry for 20.0.11.0/24
  Known via "bgp", distance 20, metric 0, best
  Last update 00:00:20 ago
  * 169.254.0.1, via swp1
  * 169.254.0.17, via swp2

cel-redxp-10#

cel-redxp-10# show ip nht
[snip]
20.0.11.253
 resolved via bgp
 via 169.254.0.1, swp1
 via 169.254.0.1, swp1
 Client list: pim(fd 19)

After the fix

cel-redxp-10# show ip nht
[snip]
20.0.11.253
 resolved via bgp
 via 169.254.0.1, swp1
 via 169.254.0.17, swp2
 Client list: pim(fd 19)

7 years ago*: add git-reindent-branch.py
David Lamparter [Thu, 20 Jul 2017 17:09:40 +0000 (19:09 +0200)]
*: add git-reindent-branch.py

This tries to heave a branch over the reindentation step.  Somewhat
tested, don't trust it blindly...

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoeigrpd, vtysh: add dummy route-map cli
Quentin Young [Thu, 20 Jul 2017 15:48:52 +0000 (11:48 -0400)]
eigrpd, vtysh: add dummy route-map cli

eigrpd will successfully accept `(conf)# route-map foo ...` because it
is not sent to eigrpd from vtysh, but of course, this is the classic
node sync syndrome.

Since eigrpd apparently doesn't support proper routemaps yet just add
the cli so we can suppress the vtysh errors.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
7 years agoMerge pull request #834 from dwalton76/ospf6d-show-crash
David Lamparter [Wed, 19 Jul 2017 20:05:23 +0000 (22:05 +0200)]
Merge pull request #834 from dwalton76/ospf6d-show-crash

ospf6d: crash in ospf6_lsdb_show

7 years agoMerge pull request #835 from dwalton76/lib-route-node-lookup
David Lamparter [Wed, 19 Jul 2017 20:03:36 +0000 (22:03 +0200)]
Merge pull request #835 from dwalton76/lib-route-node-lookup

lib: route_node_lookup() needs to apply_mask() to prefix

7 years agozebra: "debug zebra packet" config display
Daniel Walton [Wed, 19 Jul 2017 18:20:02 +0000 (18:20 +0000)]
zebra: "debug zebra packet" config display

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
7 years agolib: route_node_lookup() needs to apply_mask() to prefix
Daniel Walton [Wed, 19 Jul 2017 16:54:24 +0000 (16:54 +0000)]
lib: route_node_lookup() needs to apply_mask() to prefix

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: <qlyoung@cumulusnetworks.com>
7 years agoMerge pull request #828 from tigranmartirosyan/master
Quentin Young [Tue, 18 Jul 2017 16:11:35 +0000 (12:11 -0400)]
Merge pull request #828 from tigranmartirosyan/master

#752 ARP is not updating if mac address changed on remote side

7 years agoAdd 1 more identation to correspond to kernel style multi-line comment
tmartiro [Tue, 18 Jul 2017 16:06:57 +0000 (19:06 +0300)]
Add 1 more identation to correspond to kernel style multi-line comment

7 years agoMerge pull request #833 from dslicenc/cm16779-bgp-startup-ll
Jafar Al-Gharaibeh [Tue, 18 Jul 2017 15:46:03 +0000 (10:46 -0500)]
Merge pull request #833 from dslicenc/cm16779-bgp-startup-ll

bgpd: fix peer startup for labeled-unicast if linklocal address not f…

7 years agoMerge pull request #827 from devicenull/patch-1
Quentin Young [Tue, 18 Jul 2017 15:41:12 +0000 (11:41 -0400)]
Merge pull request #827 from devicenull/patch-1

Add note about bridge limitations

7 years agoMerge pull request #805 from Orange-OpenSource/master
Quentin Young [Tue, 18 Jul 2017 15:34:25 +0000 (11:34 -0400)]
Merge pull request #805 from Orange-OpenSource/master

Add OSPF API and FRR Hacking documents

7 years agoospf6d: crash in ospf6_lsdb_show
Daniel Walton [Tue, 18 Jul 2017 13:19:47 +0000 (13:19 +0000)]
ospf6d: crash in ospf6_lsdb_show

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
7 years agobgpd: fix peer startup for labeled-unicast if linklocal address not found
Don Slice [Tue, 18 Jul 2017 12:54:50 +0000 (12:54 +0000)]
bgpd: fix peer startup for labeled-unicast if linklocal address not found

Problem found in testing where ipv6 labeled-unicast prefixes were not received
on the peers if a "service networking restart" was issued.  Same problem would
happen with an ifdown/ifup on the link to the peer.  Found the problem to be
that peers would establish for labeled-unicast even if a link-local address was
not yet available on the interface toward the peer, causing updates to be sent
without a nexthop value. These were then rejected by the peer. Fix is to delay
peer establishment until after the link-local addresses are available.

Ticket: CM-16779
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed By: Donald Sharp <sharpd@cumulusnetworks.com>
Testing Done: Manual testing successful.  Bgp-smoke completed with no new failures

7 years agoreplace space to tabs, add kernel styles multiline, remove trailing whitespaces.
tmartiro [Tue, 18 Jul 2017 07:34:21 +0000 (10:34 +0300)]
replace space to tabs, add kernel styles multiline, remove trailing whitespaces.

7 years ago*: reindent pt. 2
whitespace / reindent [Mon, 17 Jul 2017 19:26:02 +0000 (15:26 -0400)]
*: reindent pt. 2

w/ clang 5

* reflow comments
* struct members go 1 per line
* binpack algo was adjusted

7 years agoAdd note about bridge limitations
devicenull [Mon, 17 Jul 2017 17:04:55 +0000 (13:04 -0400)]
Add note about bridge limitations

Add note that Zebra will never be able to detect the master interface for any interface due to IFLA_INFO_SLAVE_KIND not being defined

7 years agoMerge pull request #826 from qlyoung/rm-vtyoutln
David Lamparter [Mon, 17 Jul 2017 16:37:46 +0000 (18:37 +0200)]
Merge pull request #826 from qlyoung/rm-vtyoutln

eigrpd: remove last vty_outln

7 years agoeigrpd: remove last vty_outln
Quentin Young [Mon, 17 Jul 2017 15:16:03 +0000 (11:16 -0400)]
eigrpd: remove last vty_outln

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
7 years agomerge with upstream
tmartiro [Mon, 17 Jul 2017 14:23:20 +0000 (17:23 +0300)]
merge with upstream

7 years ago*: reindent reindent-master-after
whitespace / reindent [Mon, 17 Jul 2017 12:03:14 +0000 (14:03 +0200)]
*: reindent

indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'`

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years ago*: add indent control files reindent-master-before
David Lamparter [Mon, 17 Jul 2017 12:00:23 +0000 (14:00 +0200)]
*: add indent control files

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoMerge pull request #818 from donaldsharp/eigrp_afi
Jafar Al-Gharaibeh [Fri, 14 Jul 2017 17:55:28 +0000 (12:55 -0500)]
Merge pull request #818 from donaldsharp/eigrp_afi

Eigrp afi

7 years agoMerge pull request #820 from opensourcerouting/gcc7
Donald Sharp [Fri, 14 Jul 2017 16:54:40 +0000 (12:54 -0400)]
Merge pull request #820 from opensourcerouting/gcc7

fix new warnings emitted by GCC 7

7 years agoMerge pull request #794 from opensourcerouting/table-hash-ospf6-lsdb-refactor
Donald Sharp [Fri, 14 Jul 2017 16:18:06 +0000 (12:18 -0400)]
Merge pull request #794 from opensourcerouting/table-hash-ospf6-lsdb-refactor

use hash in lib/table, also refactor ospf6 lsdb code

7 years agolib: parser: remove incorrect assert
David Lamparter [Fri, 14 Jul 2017 15:53:59 +0000 (17:53 +0200)]
lib: parser: remove incorrect assert

A {foo|bar|baz} graph node will have more than 1/2 incoming links even
if no other references are left to it (which is what the assert was
previously trying to ensure.)

I don't see a good way to "fix" the assert so I'm just removing it.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoMerge pull request #806 from dwalton76/bgpd-set-ipv4-vpn-nexthop
David Lamparter [Fri, 14 Jul 2017 15:37:04 +0000 (17:37 +0200)]
Merge pull request #806 from dwalton76/bgpd-set-ipv4-vpn-nexthop

bgpd: "set ipv4 vpn next-hop 1.1.1.1" is saved/displayed as "set ip vpn next-hop 1.1.1.1"

7 years agotests/ospf6d/test_lsdb: remove vty_outln
David Lamparter [Fri, 14 Jul 2017 15:32:22 +0000 (17:32 +0200)]
tests/ospf6d/test_lsdb: remove vty_outln

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoMerge remote-tracking branch 'frr/master' into table-hash-ospf6-lsdb-refactor
David Lamparter [Fri, 14 Jul 2017 15:30:56 +0000 (17:30 +0200)]
Merge remote-tracking branch 'frr/master' into table-hash-ospf6-lsdb-refactor

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agonhrpd: enable -Werror
David Lamparter [Fri, 14 Jul 2017 14:58:29 +0000 (16:58 +0200)]
nhrpd: enable -Werror

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years ago*: fix GCC 7 warnings/issues
David Lamparter [Fri, 14 Jul 2017 14:48:41 +0000 (16:48 +0200)]
*: fix GCC 7 warnings/issues

The label initializer & nhrpd variable are just to shut up GCC 7,
the other two are actual bugs.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years ago*: fix GCC 7 switch/case fallthrough warnings
David Lamparter [Fri, 14 Jul 2017 14:48:01 +0000 (16:48 +0200)]
*: fix GCC 7 switch/case fallthrough warnings

Need a comment on these.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoMerge pull request #803 from opensourcerouting/redhat-doc-fixes-master
Donald Sharp [Fri, 14 Jul 2017 14:59:31 +0000 (10:59 -0400)]
Merge pull request #803 from opensourcerouting/redhat-doc-fixes-master

Redhat doc fixes for master branch

7 years agoMerge pull request #809 from donaldsharp/evpn_plus_struct_attr
Russ White [Fri, 14 Jul 2017 13:36:31 +0000 (09:36 -0400)]
Merge pull request #809 from donaldsharp/evpn_plus_struct_attr

Evpn plus struct attr

7 years agobgpd, zebra: Cleanup warnings from new code
Donald Sharp [Fri, 14 Jul 2017 12:52:45 +0000 (08:52 -0400)]
bgpd, zebra: Cleanup warnings from new code

1) Clean up VTY_NEWLINE -> \n
2) Remove usages of VTY_GET_INTEGER

Signed-off-by: Donald Sharp
7 years agoMerge remote-tracking branch 'origin/master' into evpn_plus_struct_attr
Donald Sharp [Fri, 14 Jul 2017 12:24:46 +0000 (08:24 -0400)]
Merge remote-tracking branch 'origin/master' into evpn_plus_struct_attr

7 years agoMerge remote-tracking branch 'origin/master' into evpn_plus_struct_attr
Donald Sharp [Fri, 14 Jul 2017 12:11:05 +0000 (08:11 -0400)]
Merge remote-tracking branch 'origin/master' into evpn_plus_struct_attr

7 years agobgpd: Disable new EVPN CLI
Donald Sharp [Fri, 14 Jul 2017 12:08:52 +0000 (08:08 -0400)]
bgpd: Disable new EVPN CLI

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
7 years agoMerge pull request #813 from opensourcerouting/newline-redux
Russ White [Fri, 14 Jul 2017 12:00:43 +0000 (08:00 -0400)]
Merge pull request #813 from opensourcerouting/newline-redux

newline redux

7 years agoMerge pull request #762 from bingen/mutiple_nh_recursive_levels
Donald Sharp [Fri, 14 Jul 2017 11:44:02 +0000 (07:44 -0400)]
Merge pull request #762 from bingen/mutiple_nh_recursive_levels

Allow for more than 1 NH recursion level

7 years agoMerge pull request #804 from opensourcerouting/fixes/tests/prng
Donald Sharp [Fri, 14 Jul 2017 11:43:40 +0000 (07:43 -0400)]
Merge pull request #804 from opensourcerouting/fixes/tests/prng

tests: update prng to return better pseudo random numbers

7 years agolib, vtysh: remove now-useless newline arg
David Lamparter [Fri, 14 Jul 2017 11:18:14 +0000 (13:18 +0200)]
lib, vtysh: remove now-useless newline arg

It's always \n now, hooray.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoMerge remote-tracking branch 'frr/master' into newline-redux
David Lamparter [Fri, 14 Jul 2017 11:15:55 +0000 (13:15 +0200)]
Merge remote-tracking branch 'frr/master' into newline-redux

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoMerge pull request #799 from dwalton76/bgpd-show-labeled-unicast
Russ White [Fri, 14 Jul 2017 11:12:02 +0000 (07:12 -0400)]
Merge pull request #799 from dwalton76/bgpd-show-labeled-unicast

bgpd: show bgp ipv4 label-unicast does not provide any output

7 years agoMerge pull request #808 from qlyoung/vtysh-termcols
Russ White [Fri, 14 Jul 2017 11:10:13 +0000 (07:10 -0400)]
Merge pull request #808 from qlyoung/vtysh-termcols

lib, vtysh: pretty-print variable autocompletions

7 years ago*: remove vty_outln again
David Lamparter [Fri, 14 Jul 2017 11:09:47 +0000 (13:09 +0200)]
*: remove vty_outln again

(PRs merged to master added another few vty_outln() calls)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoMerge remote-tracking branch 'frr/master' into newline-redux
David Lamparter [Fri, 14 Jul 2017 11:07:30 +0000 (13:07 +0200)]
Merge remote-tracking branch 'frr/master' into newline-redux

Lots of conflicts from CMD_WARNING_CONFIG_FAILED...

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoMerge pull request #800 from qlyoung/fix-old-vpn-commands
Russ White [Fri, 14 Jul 2017 10:53:34 +0000 (06:53 -0400)]
Merge pull request #800 from qlyoung/fix-old-vpn-commands

bgpd: fix old-style vpn commands

7 years agoMerge pull request #815 from dwalton76/CMD_WARNING_take2
Russ White [Fri, 14 Jul 2017 10:24:01 +0000 (06:24 -0400)]
Merge pull request #815 from dwalton76/CMD_WARNING_take2

vtysh: return non-zero for configuration failures

7 years agoMerge pull request #817 from donaldsharp/babel_redist
Russ White [Fri, 14 Jul 2017 10:20:54 +0000 (06:20 -0400)]
Merge pull request #817 from donaldsharp/babel_redist

babeld: Allow babel to redistribute v6 routes

7 years agoMerge pull request #814 from qlyoung/vtysh-password-commands
David Lamparter [Fri, 14 Jul 2017 08:24:22 +0000 (10:24 +0200)]
Merge pull request #814 from qlyoung/vtysh-password-commands

vtysh: fixup password commands

7 years ago*: remove VTYNL, part 6 of 6
David Lamparter [Thu, 13 Jul 2017 18:17:06 +0000 (20:17 +0200)]
*: remove VTYNL, part 6 of 6

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years ago*: remove VTYNL, part 5 of 6
David Lamparter [Thu, 13 Jul 2017 17:50:33 +0000 (19:50 +0200)]
*: remove VTYNL, part 5 of 6

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years ago*: remove VTYNL, part 4 of 6
David Lamparter [Thu, 13 Jul 2017 17:42:42 +0000 (19:42 +0200)]
*: remove VTYNL, part 4 of 6

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years ago*: remove VTYNL, part 3 of 6
David Lamparter [Thu, 13 Jul 2017 17:20:20 +0000 (19:20 +0200)]
*: remove VTYNL, part 3 of 6

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years ago*: remove VTYNL, part 2 of 6
David Lamparter [Thu, 13 Jul 2017 17:12:39 +0000 (19:12 +0200)]
*: remove VTYNL, part 2 of 6

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years ago*: remove VTYNL, part 1 of 6
David Lamparter [Thu, 13 Jul 2017 17:04:25 +0000 (19:04 +0200)]
*: remove VTYNL, part 1 of 6

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoospf6d: VNL -> VTYNL
David Lamparter [Thu, 13 Jul 2017 17:06:52 +0000 (19:06 +0200)]
ospf6d: VNL -> VTYNL

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years ago*: ditch vty_outln(), part 2 of 2
David Lamparter [Thu, 13 Jul 2017 16:50:29 +0000 (18:50 +0200)]
*: ditch vty_outln(), part 2 of 2

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
7 years agoeigrpd: Fix up some redistribution issues
Donald Sharp [Thu, 13 Jul 2017 22:58:31 +0000 (18:58 -0400)]
eigrpd: Fix up some redistribution issues

Get EIGRP to start attempting to redistribute routes
as well as to display the fact it thinks it is redistributed.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
7 years agoeigrpd: Let eigrp setup it's router-id in some situations
Donald Sharp [Thu, 13 Jul 2017 22:45:20 +0000 (18:45 -0400)]
eigrpd: Let eigrp setup it's router-id in some situations

If the router-id is passed up to eigrp before we have
started the instance, allow it to set it up properly
as we start the instance.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>