Commit Graph

13396 Commits

Author SHA1 Message Date
David Lamparter
c4eedc53c2
Merge pull request #3317 from qlyoung/gitignore-libtool-orig
frr: ignore libtool.orig
2018-11-13 15:05:24 +01:00
Lou Berger
2c50b9e2c2
Merge pull request #3287 from donaldsharp/v6_access_list
zebra: Add `match ipv6 address WORD` as a legal option
2018-11-13 16:59:23 +07:00
David Lamparter
8bed7a82ba
Merge pull request #3286 from donaldsharp/late_registration
bgpd: Late registration of Extended Nexthop should allow RA's to happen
2018-11-13 10:26:14 +01:00
Lou Berger
50daf9a2d5
Merge pull request #3313 from qlyoung/doc-strip-whitespace
doc: strip trailing whitespace
2018-11-13 14:56:14 +07:00
Lou Berger
43881be71d
Merge pull request #3314 from qlyoung/doc-ipv6-isis-router-cmd
doc: add missing docs for ipv6 isis router cmd
2018-11-13 14:55:38 +07:00
Lou Berger
01735fdb4f
Merge pull request #3315 from qlyoung/doc-dev-fixes
Doc dev fixes
2018-11-13 14:54:11 +07:00
Jafar Al-Gharaibeh
d680337d6c
Merge pull request #3307 from donaldsharp/bondo
zebra: Let zebra know about bond and blond slave intf types
2018-11-12 16:51:22 -06:00
Quentin Young
a353782e3b
Merge pull request #3312 from pguibert6WIND/ospf6_missing_vty
ospf6d: add missing vty commands to ospf6 area command
2018-11-12 13:08:59 -05:00
Olivier Dugeon
510ccb8d36
Merge pull request #3303 from opensourcerouting/bugfix/isis-fragment-retransmission
isisd: Fix issues with purged fragments
2018-11-12 17:59:50 +01:00
Dinesh Dutt
b9368db98c zebra: Let zebra know about bond and blond slave intf types
The interface type can be a bond or a bond slave, add some
code to note this and to display it as part of a show interface
command.

Signed-off-by: Dinesh Dutt <didutt@gmail.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-11-12 11:40:33 -05:00
Philippe Guibert
dd3ff9d819 ospf6d: add missing vty commands to ospf6 area command
it was not possible to configure per area identifier under decimal
format some ospf6 area options. this is the case of filter list, or
export-list.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2018-11-12 17:09:01 +01:00
Jafar Al-Gharaibeh
5c5e0c0b35
Merge pull request #3289 from donaldsharp/onlink_schmonlink
zebra: Carry onlink if set from resolving nexthop
2018-11-12 09:43:15 -06:00
Renato Westphal
9f0dc29b03
Merge pull request #3276 from donaldsharp/zclient_update
*: Replace zclient_new with zclient_new_notify
2018-11-12 13:40:47 -02:00
Donald Sharp
6987aacd7a
Merge pull request #3285 from srimohans/watchfrr
watchfrr: replace /usr/sbin/service frr with /usr/lib/frr/frr script
2018-11-12 09:36:40 -05:00
Donald Sharp
ff38f0fa7a
Merge pull request #3281 from opensourcerouting/update-libyang-instructions
doc: update libyang build instructions
2018-11-12 09:35:09 -05:00
Donald Sharp
24e23cbc44
Merge pull request #3299 from opensourcerouting/fix-bfd-ipv6-unnumbered
bfdd: fix BGP unnumbered peer setup
2018-11-12 09:28:24 -05:00
Donald Sharp
226e1b7b1e
Merge pull request #3305 from opensourcerouting/bugfix/isis-lsp-aggregate-time
isisd: Adjust duration until lsp is regenerated
2018-11-12 09:27:34 -05:00
Donald Sharp
059cce897a
Merge pull request #3304 from opensourcerouting/bugfix/openfabric-flooding
fabricd: never flood back through the incoming interface
2018-11-12 09:20:27 -05:00
Donald Sharp
6ac05595e5
Merge pull request #3306 from opensourcerouting/bugfix/isis-csnp-handling
Fix IS-IS CSNP handling
2018-11-12 09:19:40 -05:00
Donald Sharp
26f63a1ec6 *: Replace zclient_new with zclient_new_notify
It's been a year since we added the new optional parameters
to instantiation.  Let's switch over to the new name.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-11-12 09:16:23 -05:00
Christian Franke
9c0437ecd7 tests: Verify correct operation of lsp_build_list_nonzero_ht
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2018-11-12 12:24:10 +01:00
Christian Franke
8f27aa2729 isisd: Fix issues with purged fragments
Purged fragments would always be reoriginated by isisd. They
should only be purged once and never be reoriginated.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2018-11-10 18:04:43 +01:00
Christian Franke
37212c410d fabricd: never flood back through the incoming interface
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2018-11-10 18:03:04 +01:00
Christian Franke
9337256ebf isisd: Fix lsp_build_list_nonzero_ht
When `first` would be initialized to the same value as `last`, the
function would return incorrect results.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2018-11-10 18:00:57 +01:00
Christian Franke
01c3745f56 isisd: Adjust duration until lsp is regenerated
It turns out 50ms is actually too short to aggregate all changes
in some cases, so allow for 100ms.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2018-11-09 17:14:13 +01:00
Olivier Dugeon
47a2d5eb43
Merge pull request #3301 from opensourcerouting/bugfix/remove-unused-isis-debugs
isisd: Remove unused debug flags
2018-11-09 16:13:13 +01:00
Olivier Dugeon
3759776ccd
Merge pull request #3298 from ak503/mpls_te2
ospfd: unregister mpls-te inter-as only if mpls-te is enabled
2018-11-09 14:54:03 +01:00
Rafael Zalamena
dcc39aa510 bfdd: fix BGP unnumbered peer setup
The session key uses the scope id to figure out which interface we are
using with that link-local address, so if we don't set it when
registering a session we'll end up with multiple IPv6 sessions.

This bug was spotted by Sandro Bolliger.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
(cherry picked from commit de61f256d6)
2018-11-09 10:04:34 -02:00
Dmitrii Turlupov
e790de4101 ospf: unregister mpls-te inter-as only if mpls-te is enabled
Signed-off-by: Dmitrii Turlupov <dturlupov@factor-ts.ru>
2018-11-09 13:44:42 +03:00
Olivier Dugeon
ddd73a968d OSPF: Add support to multi-area to Router Info.
Router Information needs to specify the area ID when flooding scope is set to
  AREA. However, this authorize only one AREA. Thus, Area Border Router (ABR) are
  unable to flood Router Information Opaque LSA in all areas they are belongs to.

  The path implies that the area ID is no more necessary for the command
  'router-info area'. It remains suported for compatibility, but mark as
  deprecated. Documentation has been updated accordingly.

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
2018-11-09 10:09:47 +01:00
Russ White
2379dbecbd
Merge pull request #3202 from donaldsharp/evpn_dump
Evpn dump
2018-11-08 18:13:27 -05:00
Christian Franke
26687d255d isisd: Remove unused debug flags
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2018-11-08 20:30:55 +01:00
Donald Sharp
08d2b7fce9
Merge pull request #3290 from rubenk/configure-ac-fix-typo-in-error-message
configure.ac: fix a typo in an error message
2018-11-08 09:36:17 -05:00
Ruben Kerkhof
1f104f57ee configure.ac: fix a typo in an error message
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
2018-11-08 12:33:26 +01:00
Rafael Zalamena
591328ffc6
Merge pull request #3205 from donaldsharp/default
bgpd: make name of default vrf/bgp instance consistent
2018-11-07 18:48:21 -02:00
Donald Sharp
1ea03b905d bgpd: Late registration of Extended Nexthop should allow RA's to happen
When we have a late registration of the Extended Nexthop capability
for BGP and the peer already has nexthop information stored, go
through and enable RA on the important interfaces.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-11-07 14:11:45 -05:00
Donald Sharp
effcfaeb3d zebra: Carry onlink if set from resolving nexthop
When resolving a nexthop, carry the onlink flag if it
is set to the new nexthop.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-11-07 11:28:01 -05:00
Donald Sharp
86405f9e14 zebra: Add match ipv6 address WORD as a legal option
Zebra did not have the ability to use v6 access-lists
as part of a route-map.  Add it in.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-11-06 19:25:58 -05:00
Sri Mohana Singamsetty
179b8a0bde watchfrr: Echo statements are blocking the execution of frr script
1) Certain echo statements present in the script before/after SSD process
restart are causing the FRR script to hang. This is breaking the frr script
functionality for start/stop/restart. Removed such echo statements.

Tests:
1. Multiple start, stop, restart
2. Multiple restarts/kill of same process.

Signed-off-by: Sri Mohana Singamsetty <msingamsetty@vmware.com>
2018-11-06 09:50:40 -08:00
Sri Mohana Singamsetty
eae8bbce91 watchfrr: replace /usr/sbin/service frr with /usr/lib/frr/frr script
Need to use /usr/lib/frr/frr script for start/stop/restart of FRR. /usr/sbin/service frr command is not working as expected.

Signed-off-by: Sri Mohana Singamsetty <msingamsetty@vmware.com>
2018-11-06 09:46:06 -08:00
Renato Westphal
8dfa7e4680
Merge pull request #3162 from pguibert6WIND/vpn_route_map_issue
bgpd: vpn route-map config should be kept, except if vrf list is on
2018-11-03 15:20:20 -03:00
Renato Westphal
fb52f65126
Merge pull request #3271 from donaldsharp/nh_encode_better
lib, zebra: Encode nexthop vrf in nht updates
2018-11-03 15:15:25 -03:00
Renato Westphal
f805c84eaf doc: update libyang build instructions
The --with-yangmodelsdir and --with-libyang-pluginsdir build-time options
pertain to FRR so they shouldn't be placed along with the libyang build
instructions. Move these instructions to where they belong to avoid
confusion.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2018-11-03 15:42:56 -02:00
Donald Sharp
a756969dc6 pimd, zebra: Encode nexthop vrf in message
Encode the nexthop vrf in the message sent about mrib lookups.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-11-01 19:24:59 -04:00
Donald Sharp
b6c9de3bd3 lib, zebra: Encode nexthop vrf in nht updates
The nexthop vrf was not being encoded in nht updates.
Add it in.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-11-01 18:34:40 -04:00
Donald Sharp
f0c7092370
Merge pull request #3269 from opensourcerouting/fixes/libyang
Fixes/libyang
2018-11-01 17:31:33 -04:00
Christian Franke
e7f4117541 doc: Add building-libyang.rst to distfiles
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2018-11-01 14:03:09 +01:00
Christian Franke
397b1dff48 configure: Check whether libyang has ENABLE_LYD_PRIV
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
2018-11-01 13:52:26 +01:00
Russ White
7c32c1dc10
Merge pull request #3255 from dslicenc/show_evpn_mac_json
zebra: add json support to show evpn mac vni <num> mac <mac>
2018-10-31 21:47:18 -04:00
Russ White
55123eb040
Merge pull request #3239 from pguibert6WIND/ospf_virtual_link_config
ospfd: do not remove area structure, while vls are configured
2018-10-31 21:41:28 -04:00