[quagga-dev 14474] [PATCH 3/3] lib, bgpd, tests: Refactor FILTER_X in zebra.h

2016-01-08 Thread Donald Sharp
lib/zebra.h has FILTER_X #define's. These do not belong there. Put them in lib/filter.h where they belong. Signed-off-by: Donald Sharp --- bgpd/bgp_advertise.c|1 + bgpd/bgp_aspath.c |1 + bgpd/bgp_attr.c |1 + bgpd/bgp_btoa.c |

[quagga-dev 14471] [PATCH v2 0/3] Refactor some lib/zebra.h code

2016-01-08 Thread Donald Sharp
lib/zebra.h has a hodge-podge of different api's in it. Start the refactoring. Donald Sharp (3): lib, bgpd: Remove 'struct fifo' from lib/zebra.h lib, bgpd: Fixup afi_t to be an enum and cleanup zebra.h lib, bgpd, tests: Refactor FILTER_X in zebra.h bgpd/bgp_advertise.

[quagga-dev 14470] Re: Project update: VRF-device integration and BGP multi-instance as VRFs

2016-01-08 Thread Donald Sharp
Vincent - Vipin and I are working on breaking the patch up now to get the data structures in place upstream. Hopefully in the next week or so. Sami - The code will just work if there is no kernel vrf support, ie everything will just be in the default vrf. I'm not aware of any work being done i

[quagga-dev 14458] [PATCH 1/3] lib, bgpd: Remove 'struct fifo' from lib/zebra.h

2016-01-07 Thread Donald Sharp
The 'struct fifo' and it's accompanying #defines do not belong in lib/zebra.h. Move them into their own header. Signed-off-by: Donald Sharp --- bgpd/bgp_advertise.h |2 ++ lib/fifo.h | 62 ++ lib/zebra.h

[quagga-dev 14460] [PATCH 3/3] lib, bgpd, tests: Refactor FILTER_X in zebra.h

2016-01-07 Thread Donald Sharp
lib/zebra.h has FILTER_X #define's. These do not belong there. Put them in lib/filter.h where they belong. Signed-off-by: Donald Sharp --- bgpd/bgp_advertise.c|1 + bgpd/bgp_aspath.c |1 + bgpd/bgp_attr.c |1 + bgpd/bgp_btoa.c |

[quagga-dev 14452] Re: Patch: Perfect command "table"

2016-01-07 Thread Donald Sharp
Comments inline... On Thu, Jan 7, 2016 at 8:09 AM, 林守磊 wrote: > diff --git a/lib/table.h b/lib/table.h > index ab357a0..946fcb2 100644 > --- a/lib/table.h > +++ b/lib/table.h > @@ -53,6 +53,7 @@ struct route_table_delegate_t_ > struct route_table > { >struct route_node *top; > + int tabl

[quagga-dev 14447] Re: Hiding routes in source (zebra/rt_netlink.c)

2016-01-06 Thread Donald Sharp
I'm curious. What's your specific reasoning for wanting to do this? All incoming routes from the linux kernel in rt_netlink.c eventually call rib_add_ipv[4|6] or rib_add_ipv4_multipath. gate is assigned on lines 729 and 932 of rt_netlink.c. An ipv4 address is stored as a struct in_addr. gate i

[quagga-dev 14444] Re: [PATCH v3] lib, zebra: unify link layer type and hardware address handling

2016-01-06 Thread Donald Sharp
Wed, Jan 6, 2016 at 1:17 PM, Timo Teras wrote: > On Tue, 5 Jan 2016 10:16:28 + (GMT) > Paul Jakma wrote: > > > On Mon, 4 Jan 2016, Donald Sharp wrote: > > > > > Doesn't 'enum zebra_link_type' actually belong in lib/if.h? > > > instead of

[quagga-dev 14441] Re: [PATCH 25/25] CLI: Add AFI/SAFI show commands to manual

2016-01-06 Thread Donald Sharp
Acked-by: Donald Sharp On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > Signed-off-by: Lou Berger > --- > doc/bgpd.texi | 25 + > 1 file changed, 25 insertions(+) > > diff --git a/doc/bgpd.texi b/doc/bgpd.texi > index 5eb0851..02098

[quagga-dev 14438] Re: [PATCH 22/25] CLI: VPNv6 show commands

2016-01-06 Thread Donald Sharp
HAVE_IPV6 introduced. Otherwise looks good. donald On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > This patch set adds show commands in the form >show bgp ... > > Signed-off-by: Lou Berger > --- > bgpd/bgp_mplsvpn.c | 406 > ++-

[quagga-dev 14436] Re: [PATCH 20/25] *: hook up bgp ENCAP CLI node

2016-01-06 Thread Donald Sharp
I see HAVE_IPV6 introduced, this should be removed. should bgp_node_safi be a switch statement? donald On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > This is part of the core VPN and Encap SAFI changes. > > Signed-off-by: Lou Berger > Signed-off-by: David Lamparter > --- > bgpd/bgp_vt

[quagga-dev 14431] Re: [PATCH 07/25] lib: add facility to log all CLI commands

2016-01-06 Thread Donald Sharp
I wouldn't have blinked at either of those levels Sooo.. LOG_NOTICE? donald On Wed, Jan 6, 2016 at 9:08 AM, Lou Berger wrote: > fair enough, LOG_NOTICE or LOG_INFO? > > On 1/6/2016 8:57 AM, Donald Sharp wrote: > > Ok, different use case. Why the LOG_EMERG? I

[quagga-dev 14429] Re: [PATCH 14/25] *: hook up bgp VPNv6 CLI node

2016-01-06 Thread Donald Sharp
: > case BGP_VPNV6_NODE: > safi = SAFI_MPLS_VPN; > break; > case BGP_IPV4M_NODE: > case BGP_IPV6M_NODE: > safi = SAFI_MULTICAST; > break; > default: > safi = SAFI_UNICAST; > break; > } > return safi; > } >

[quagga-dev 14427] Re: [PATCH 07/25] lib: add facility to log all CLI commands

2016-01-06 Thread Donald Sharp
Ok, different use case. Why the LOG_EMERG? I think this should be protected by a knob of some sort. Does every cli need to be saved no matter what? donald On Wed, Jan 6, 2016 at 8:42 AM, Lou Berger wrote: > > > On 1/6/2016 8:13 AM, Donald Sharp wrote: > > Why is this appro

[quagga-dev 14426] Re: [PATCH 14/25] *: hook up bgp VPNv6 CLI node

2016-01-06 Thread Donald Sharp
Hit send too soon. To finish off my point. If we ever get smart and move the #defines to an enum then the switch statement would allow us to catch missed new states via compiler warnings. donald On Wed, Jan 6, 2016 at 8:52 AM, Donald Sharp wrote: > Then > > switch (vty->node)

[quagga-dev 14425] Re: [PATCH 14/25] *: hook up bgp VPNv6 CLI node

2016-01-06 Thread Donald Sharp
Then switch (vty->node) { case : case : return AFI_IP6; default: return AFI_IP; } donald On Wed, Jan 6, 2016 at 8:48 AM, Lou Berger wrote: > Donald, > Thanks for the review. See below. > > On 1/6/2016 8:31 AM, Donald Sharp wrote: > > Comments Inline..

[quagga-dev 14421] Re: [PATCH 17/25] bgpd: encap: extend extcommunity handling

2016-01-06 Thread Donald Sharp
Acked-by: Donald Sharp On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > This is part of the core VPN and Encap SAFI changes. > > Add code to print ENCAP communities. > > Signed-off-by: Lou Berger > Signed-off-by: David Lamparter > --- > bg

[quagga-dev 14420] Re: [PATCH 14/25] *: hook up bgp VPNv6 CLI node

2016-01-06 Thread Donald Sharp
Comments Inline On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > This is part of the core VPN and Encap SAFI changes. > > diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c > index 5330a22..20aaec6 100644 > --- a/bgpd/bgp_vty.c > +++ b/bgpd/bgp_vty.c > @@ -56,8 +56,15 @@ extern struct in_addr

[quagga-dev 14419] Re: [PATCH 21/25] CLI: machineparse / random "show" improvements

2016-01-06 Thread Donald Sharp
I'm in agreement that the machineparse variable should be dropped. If we are going to go down the path of machine parsing I would prefer that we implement something fairly industry standard, like json. donald On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > [DL: the machineparse foo should

[quagga-dev 14418] Re: [PATCH 10/25] bgpd: kill unused variable in bgp_socket()

2016-01-06 Thread Donald Sharp
Acked-by: Donald Sharp On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > Signed-off-by: Lou Berger > Signed-off-by: David Lamparter > --- > bgpd/bgp_network.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/bgpd/bgp_network.c b/bgpd/bgp_netw

[quagga-dev 14417] Re: [PATCH 09/25] bgpd: add nexthop length to AF macro

2016-01-06 Thread Donald Sharp
Acked-by: Donald Sharp On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > This is part of the core VPN and Encap SAFI changes. > > Signed-off-by: Lou Berger > Signed-off-by: David Lamparter > --- > bgpd/bgp_nexthop.h | 9 + > 1 file changed, 9 insertions(+)

[quagga-dev 14415] Re: [PATCH 06/25] lib: add "show commandtree" CLI command

2016-01-06 Thread Donald Sharp
Acked-by: Donald Sharp On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > To facilitate debugging and operation. > > Signed-off-by: Lou Berger > Signed-off-by: David Lamparter > --- > lib/command.c | 35 +++ > 1 file changed, 35 inserti

[quagga-dev 14416] Re: [PATCH 07/25] lib: add facility to log all CLI commands

2016-01-06 Thread Donald Sharp
Why is this approach better than touching ~/.history_quagga or modifying the logging code in vtysh_main.c to log this information where you want? donald On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > To facilitate debugging and operation. > > Signed-off-by: Lou Berger > Signed-off-by: Da

[quagga-dev 14402] Re: [PATCH 01/25] lib: write "exit" to config after last route-map

2016-01-05 Thread Donald Sharp
on of this patch is? Why only route-maps are we worrying about sub-modes? donald On Mon, Jan 4, 2016 at 10:45 PM, Lou Berger wrote: > Isn't that the purpose of exit? The command ' already there, it's just > missing from config_write... > > Lou > > On January 4,

[quagga-dev 14386] Re: [PATCH 04/25] zebra: additional redistribute related logging

2016-01-04 Thread Donald Sharp
Acked-by: Donald Sharp On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > Signed-off-by: Lou Berger > Signed-off-by: David Lamparter > --- > zebra/redistribute.c | 18 -- > 1 file changed, 12 insertions(+), 6 deletions(-) > > diff --git a/zebra/r

[quagga-dev 14385] Re: [PATCH 03/25] zebra: make RTF_LLINFO optional to fix FreeBSD

2016-01-04 Thread Donald Sharp
Acked-by: Donald Sharp On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > Signed-off-by: Lou Berger > Signed-off-by: David Lamparter > --- > zebra/kernel_socket.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/zebra/kernel_socket.c b/zebra/kernel_soc

[quagga-dev 14383] Re: [PATCH 01/25] lib: write "exit" to config after last route-map

2016-01-04 Thread Donald Sharp
Why not use '!' instead of 'exit'. I assume the goal is to signal that we are done route-map input. I would prefer that we come up with a methodology to handle this for all end blocks, instead of just for route-maps. donald On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > The last route-m

[quagga-dev 14384] Re: [PATCH 02/25] zebra: wire up "debug zebra packet detail"

2016-01-04 Thread Donald Sharp
Acked-by: Donald Sharp On Thu, Dec 24, 2015 at 1:10 PM, Lou Berger wrote: > There was no way to actually set ZEBRA_DEBUG_DETAIL, even though some > debug output was conditional to it. Add CLI command. > > Signed-off-by: Lou Berger > Signed-off-by: David Lamparter > --- &g

[quagga-dev 14382] Re: [PATCH v3] lib, zebra: unify link layer type and hardware address handling

2016-01-04 Thread Donald Sharp
Doesn't 'enum zebra_link_type' actually belong in lib/if.h? instead of lib/zebra.h? donald On Sat, Dec 26, 2015 at 4:38 AM, Timo Teräs wrote: > This removes the BSD specific usage of struct sockaddr_dl > hardware address. This unifies to use explict hw_addr member for > the address, and zebra

[quagga-dev 14380] Re: [PATCH 3/5] zebra: support FIB override routes

2016-01-04 Thread Donald Sharp
Acked-by: Donald Sharp On Wed, Dec 23, 2015 at 9:47 AM, Timo Teräs wrote: > FIB override routes are for routing protocols that establish > shortcut routes, or establish point-to-point routes that should > not be redistributed. Namely this is useful NHRP daemon to come. > > Zebra

[quagga-dev 14381] Re: [PATCH 4/5] zebra: remove metric from kernel

2016-01-04 Thread Donald Sharp
Acked-by: Donald Sharp On Wed, Dec 23, 2015 at 9:47 AM, Timo Teräs wrote: > It simplifies things as we can do atomic replace of route prefix. > And it seems there's some race condition somewhere that can result > in an incorrect change request leaving prefixes in kernel wh

[quagga-dev 14379] Re: [PATCH 2/5] zebra: use link scope for interface routes

2016-01-04 Thread Donald Sharp
My original comment still stands: I agree that your use of finer grained RT_SCOPE_LINK and RT_SCOPE_UNIVERSE is a good thing. My only real problem with the patch was the removal of this line: - resolved_hop->flags |= NEXTHOP_FLAG_ONLINK; Put it back and I believe we wo

[quagga-dev 14378] Re: [PATCH 1/5] zebra: atomic FIB updates

2016-01-04 Thread Donald Sharp
Timo - Sorry for the delay in looking at this. Xmas and all that :) netlink_route_multipath -> Does this need the 4th parameter? Why not just depend on the prefix? kernel_rtm_ipv4 & _ipv6 -> Same comment family is never used. kernel_route_rib adds a HAVE_IPV6. This is not needed anymore. Loo

[quagga-dev 14371] Re: Location of 'vrf ' option in a command

2015-12-24 Thread Donald Sharp
I would think it's a bit much. Modifying the cli is starting to become a major pain in the ass as it stands now. On the other hand patches are accepted :) donald On Thu, Dec 24, 2015 at 12:45 PM, Kei Nohguchi wrote: > >> So, I assume you are fine with changing zebra commands (such as this) >

[quagga-dev 14342] Re: Location of 'vrf ' option in a command

2015-12-24 Thread Donald Sharp
Just don't use the keyword. It's optional. just like ip route X/Y vrf distance tag donald On Thu, Dec 24, 2015 at 7:29 AM, Lou Berger wrote: > What's form of the commands when there are no VRFs in use? > > Lou > > On December 23, 2015 2:28:50 PM Vipin Kumar > wrote: > >> Thanks Nicolas.

[quagga-dev 14322] Re: [PATCH 81/89] ospfd: Add unnumbered interface support

2015-12-21 Thread Donald Sharp
7;s part of the take-X branch series now in it's 'proper' place as part of the patch tree. I'm going to include it there. It is what it is. I have 100's of patches I'm tracking and this is the way it's going to be. > On Fri, 2015-12-11 at 18:52 -0500, Donald Sh

[quagga-dev 14317] Re: Quagga LPM and GPU Acceleration

2015-12-21 Thread Donald Sharp
They are in table.c: route_node_match and route_node_lookup. I suspect there will need to be some fairly serious rewrite of the code in order to take advantage of GPU's. The reality though is that I don't think these are the current bottlenecks in handling large #'s of routes and peers in the cod

[quagga-dev 14313] Re: Git commit 5c1791f28e2e83 breaks ospf

2015-12-21 Thread Donald Sharp
I applied the patch and ran my smoke test here is the new core that I am getting: [New LWP 5727] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/powerpc-linux-gnu/libthread_db.so.1". Core was generated by `/usr/lib/quagga/ospfd --daemon -A 127.0.0.1'. Program te

[quagga-dev 14310] Re: Git commit 5c1791f28e2e83 breaks ospf

2015-12-21 Thread Donald Sharp
gt; On Thu, 17 Dec 2015, Donald Sharp wrote: > > Joakim : >> >> I am experiencing issues with an ospf crash associated with this bug: >> >> commit 5c1791f28e2e831e4e9b92c3c2f7d8ed832cb968 >> Author: Joakim Tjernlund >> Date: Fri Apr 25 14:36:16 2014 +0200 &

[quagga-dev 14302] Re: Multi-Topology Routing in OSPF

2015-12-20 Thread Donald Sharp
It shipped and then got shelved because it was available on one platform and no-one was using it. But yes I spent a large amount of time getting it to work under EIGRP :) donald On Sun, Dec 20, 2015 at 8:55 AM, Daniel Walton wrote: > > > On Fri, Dec 18, 2015 at 7:24 PM, Jafar Al-Gharaibeh > w

[quagga-dev 14300] Re: Git commit 5c1791f28e2e83 breaks ospf

2015-12-18 Thread Donald Sharp
; > On Thu, 2015-12-17 at 14:11 -0500, Donald Sharp wrote: > > > Joakim : > > > > > > I am experiencing issues with an ospf crash associated with this bug: > > > > > > commit 5c1791f28e2e831e4e9b92c3c2f7d8ed832cb968 > > > Author: Joaki

[quagga-dev 14294] Git commit 5c1791f28e2e83 breaks ospf

2015-12-17 Thread Donald Sharp
Joakim : I am experiencing issues with an ospf crash associated with this bug: commit 5c1791f28e2e831e4e9b92c3c2f7d8ed832cb968 Author: Joakim Tjernlund Date: Fri Apr 25 14:36:16 2014 +0200 ospfd: PointToPoint neighbors are identified by router ID According to RFC 2328, section 10.5

[quagga-dev 14290] Re: Call for .99.25 contributions

2015-12-17 Thread Donald Sharp
Matthias - No immediate plans to freeze features, but we wanted to start thinking about it and for people to start thinking about what we can do to finish it off. donald On Wed, Dec 16, 2015 at 2:38 AM, Matthias Waehlisch < m.waehli...@fu-berlin.de> wrote: > Hi, > > On Tue, 15 D

[quagga-dev 14289] Re: [PATCH 0/2] Remove some unneeded # defines

2015-12-17 Thread Donald Sharp
Yes remove them. donald On Thu, Dec 17, 2015 at 4:27 AM, Paul Jakma wrote: > On Wed, 16 Dec 2015, Donald Sharp wrote: > > Both HAVE_OPAQUE_LSA and HAVE_OSPF_TE are turned on by default >> and a user has to explicitly turn them off. They both >> are pretty standard

[quagga-dev 14280] [PATCH 1/2] ospfd: Remove HAVE_OPAQUE_LSA

2015-12-16 Thread Donald Sharp
HAVE_OPAQUE_LSA is used by default and you have to actively turn it off except that OPAQUE_LSA is an industry standard and used pretty much everywhere. There is no need to have special #defines for this anymore. Signed-off-by: Donald Sharp --- configure.ac | 15

[quagga-dev 14279] [PATCH 2/2] ospfd: Remove HAVE_OSPF_TE

2015-12-16 Thread Donald Sharp
Remove from ospf the HAVE_OSPF_TE define and just always have ospf traffic engineering. Signed-off-by: Donald Sharp --- configure.ac|6 -- ospfd/ospf_opaque.c |6 -- ospfd/ospf_te.c |4 3 files changed, 16 deletions(-) diff --git a/configure.ac b

[quagga-dev 14278] [PATCH 0/2] Remove some unneeded # defines

2015-12-16 Thread Donald Sharp
Both HAVE_OPAQUE_LSA and HAVE_OSPF_TE are turned on by default and a user has to explicitly turn them off. They both are pretty standard items to have in ospf. Donald Sharp (2): ospfd: Remove HAVE_OPAQUE_LSA ospfd: Remove HAVE_OSPF_TE configure.ac | 21

[quagga-dev 14269] Re: BGP Keepalive/Holdtime changes in master

2015-12-16 Thread Donald Sharp
We tested this code with 300 peers and the cpu for bgp was under 5%. We don't have access to low end devices, although we do run on some slower power-pc's. Have either of you actually tested this and we have actual data to back this up? donald On Wed, Dec 16, 2015 at 5:12 AM, Nick Hilliard wro

[quagga-dev 14268] Re: Call for .99.25 contributions

2015-12-16 Thread Donald Sharp
Do we have a document that explains the numbering scheme? Cause I don't understand it, as an example, why wouldn't have vrf functionality merited a full major version rev? donald On Wed, Dec 16, 2015 at 4:34 AM, Paul Jakma wrote: > On Wed, 16 Dec 2015, Timo Teras wrote: > > I do hope that we c

[quagga-dev 14263] Re: 1st Quagga google hangout Meeting notes

2015-12-16 Thread Donald Sharp
; the scope of SDN PCE based solution. But, we are also interested in Quagga > as a whole for standard routing function in the scope of SDN/NFV evolution. > > Regards, > > Olivier > > Le 15/12/2015 16:12, Donald Sharp a écrit : > > Thanks for attending everyone! Here a

[quagga-dev 14252] Call for .99.25 contributions

2015-12-15 Thread Donald Sharp
All - We are attempting to wrap up the .99.25 development cycle. If you have a patch that you want included now would be a great time to forward it to the list. If you have a concern about the contents of .99.25 now would be a good time to speak up. :) thanks! donald __

[quagga-dev 14247] Re: Testing Progress Update

2015-12-15 Thread Donald Sharp
ul Jakma wrote: > On Tue, 15 Dec 2015, Donald Sharp wrote: > > Martin - >> >> As discussed in the meeting today here is an example of a bogus issue: >> >> >> https://ci1.netdef.org/artifact/QUAGGA-QMASTER/shared/build-82/static_analysis/report-8a9e85.html#EndPat

[quagga-dev 14245] Re: Testing Progress Update

2015-12-15 Thread Donald Sharp
Martin - As discussed in the meeting today here is an example of a bogus issue: https://ci1.netdef.org/artifact/QUAGGA-QMASTER/shared/build-82/static_analysis/report-8a9e85.html#EndPath Basically the error message boils down to this code construct: struct prefix p; if (afi == v4) set p appro

[quagga-dev 14243] 1st Quagga google hangout Meeting notes

2015-12-15 Thread Donald Sharp
Thanks for attending everyone! Here are some notes: Attendees: Martin, Vincent, Paul, Donald, Daniel, Don, Jafar, Michael, Balaji, Kei, David Bond Goals - monthly meeting on Quagga plans Maintainer's status Contributors issues When's the next release: Paul Jakma Nack on zserve fix from 6win

[quagga-dev 14233] Re: [PATCH 00/89] Cumulus Take-3 Electric Bugaloooooooooooooooo

2015-12-12 Thread Donald Sharp
rify after it’s on the git. > > - Martin > > > On 11 Dec 2015, at 19:40, Donald Sharp wrote: > > Martin - >> >> Thanks for finding this. >> >> Fixed in commit 67b07279bf38db853aab1265bf61fdcb9dfcda4e >> >> donald >> >> O

[quagga-dev 14231] Re: [PATCH 00/89] Cumulus Take-3 Electric Bugaloooooooooooooooo

2015-12-11 Thread Donald Sharp
1560) > at linklist.c:266 > #8 0x000077b61ea8 in ospf_write (thread=0x7fffe560) at > ospf_packet.c:815 > #9 0x778dea39 in thread_call (thread=0x7fffe560) at > thread.c:1266 > #10 0x004019eb in main (argc=1, argv=0x7fffe6c8) at > ospf_main

[quagga-dev 14198] [PATCH 68/89] bgpd: atomic-aggregate is lost when we aggregate another aggregate that has atomic-aggregate

2015-12-11 Thread Donald Sharp
From: Daniel Walton Signed-off-by: Daniel Walton --- bgpd/bgp_attr.c | 5 +++-- bgpd/bgp_attr.h | 2 +- bgpd/bgp_route.c | 14 -- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index c4c6cc8..f12f757 100644 --- a/bgpd/bgp_attr.c

[quagga-dev 14196] [PATCH 59/89] bgpd: Test effect of route-map on received/advertised routes

2015-12-11 Thread Donald Sharp
route-map. Currently, the application acts on route-map in or out and on unsuppress maps. Signed-off-by: Dinesh G Dutt Signed-off-by: Donald Sharp --- bgpd/bgp_route.c | 373 ++- 1 file changed, 316 insertions(+), 57 deletions(-) diff --git a

[quagga-dev 14197] [PATCH 63/89] ospfd, vtysh: Add support for Route tags

2015-12-11 Thread Donald Sharp
he RIB into BGP/OSPF. - setting tags when redistribing routes from the RIB into BGP/OSPF. Signed-off-by: Daniel Walton Signed-off-by: Piotr Chytla Signed-off-by: Donald Sharp --- ospfd/ospf_asbr.c | 5 +- ospfd/ospf_asbr.h | 3 +- ospfd/ospf_lsa.c |

[quagga-dev 14203] [PATCH 58/89] bgpd: Add maxmed command

2015-12-11 Thread Donald Sharp
changed only in the outgoing attributes to the peers, it doesn't modify any MED specific state of the attributes in BGP on the local node. Signed-off-by: Vipin Kumar Reviewed-by: Daniel Walton Signed-off-by: Donald Sharp --- bgpd/bgp_attr.c | 5 +- bgpd/bgp_fsm.c | 121 +++

[quagga-dev 14195] [PATCH 62/89] bgpd, vtysh: Add support for route tags

2015-12-11 Thread Donald Sharp
he RIB into BGP/OSPF. - setting tags when redistribing routes from the RIB into BGP/OSPF. BGP also supports setting a tag via a table-map, when installing BGP routes into the RIB. Signed-off-by: Daniel Walton Signed-off-by: Piotr Chytla Signed-off-by: Donald Sharp --- bgpd/bgp_attr.c | 3

[quagga-dev 14205] [PATCH 64/89] ripd, ripngd: add support for route tags

2015-12-11 Thread Donald Sharp
rom the RIB into BGP/OSPF. - setting tags when redistribing routes from the RIB into BGP/OSPF. BGP also supports setting a tag via a table-map, when installing BGP routes into the RIB. Signed-off-by: Daniel Walton Signed-off-by: Piotr Chytla Signed-off-by: Donald Sharp --- ripd/rip_routemap.c

[quagga-dev 14194] [PATCH 56/89] ospfd: Ensure that OSPF can send out multiple packets per thread

2015-12-11 Thread Donald Sharp
From: Ayan Banerjee In the "write" direction added a command to ensure that Quagga is able to send out K (=3 by default) packets per thread-write. Signed-off-by: Ayan Banerjee Reviewed-by: JR Rivers --- ospfd/ospf_packet.c | 213 ospfd/ospf

[quagga-dev 14204] [PATCH 61/89] bgpd, lib, ospfd, zebra: Add ability to read/write tag value

2015-12-11 Thread Donald Sharp
ned-off-by: Piotr Chytla Signed-off-by: Donald Sharp --- bgpd/bgp_zebra.c | 51 +++ lib/zclient.c | 6 ++ lib/zclient.h | 5 + ospfd/ospf_zebra.c | 6 ++ zebra/zserv.c | 28 5 files c

[quagga-dev 14193] [PATCH 57/89] ospfd: Limit the number of interfaces serviced at one time

2015-12-11 Thread Donald Sharp
From: Ayan Banerjee Modified the number of writes to service at most 20 interfaces. Signed-off-by: Ayan Banerjee Reviewed-by: Dinesh G Dutt --- ospfd/ospf_packet.c | 54 ++--- ospfd/ospf_vty.c| 41 os

[quagga-dev 14189] [PATCH 53/89] zebra: Suppress displaying default config as part of running config

2015-12-11 Thread Donald Sharp
From: Dinesh Dutt Quagga doesn't display default config as part of the running config, only what is different from the default. However, in the case of rtadv, every link displays the default "ipv6 nd suppress-ra" as part of running config. This patch fixes that. Signed-off-by: Dinesh Dutt ---

[quagga-dev 14192] [PATCH 52/89] lib, vtysh: Add support for marking a file with appropriate end of context

2015-12-11 Thread Donald Sharp
From: Dinesh Dutt To support applying only differences to the existing config, this patch enables supplying the appropriate end markers to a provided file (or stdin). By end markers, I mean, adding "end" and "exit-address-family" at the appropriate places in the configuration to ease finding the

[quagga-dev 14191] [PATCH 55/89] ospfd: Better handle traffic when system is loaded

2015-12-11 Thread Donald Sharp
From: Dinesh G Dutt Set the RCVBUF and SNDBUF sizes to the maximum possible amount to handle traffic under duress. Signed-off-by: Dinesh G Dutt Reviewed-by: Ayan Banerjee --- ospfd/ospf_network.c | 36 1 file changed, 36 insertions(+) diff --git a/ospfd/o

[quagga-dev 14190] [PATCH 54/89] vtysh: service integrated-vtysh-config not being written to file

2015-12-11 Thread Donald Sharp
The vtysh commands: service integrated-vtysh-config hostname were not being written to the /etc/quagga/Quagga.conf file with a wr mem when service integrated-vtysh-config was issued. This patch fixes this issue Signed-off-by: Donald Sharp --- vtysh/vtysh.c | 1 + 1 file changed, 1

[quagga-dev 14188] [PATCH 23/89] bgpd, lib, vtysh, zebra: Reprocess the trigger points when an attached route map changes

2015-12-11 Thread Donald Sharp
From: Dinesh G Dutt Currently, modifications to route maps do not affect already processed routes; they only affect new route updates. This patch addresses this limitation. Signed-off-by: Dinesh G Dutt Signed-off-by: Donald Sharp --- bgpd/bgp_clist.c | 14 +- bgpd/bgp_filter.c

[quagga-dev 14185] [PATCH 17/89] bgpd, lib, zebra: 'neighbor interface' config support in BGP including RA/Zebra changes.

2015-12-11 Thread Donald Sharp
From: Vipin Kumar Signed-off-by: Vipin Kumar Reviewed-by: Pradosh Mohapatra Dinesh Dutt Signed-off-by: Donald Sharp --- bgpd/bgp_fsm.c | 6 + bgpd/bgp_network.c | 23 ++-- bgpd/bgp_route.c | 322 +++- bgpd/bgp_vty.c | 388

[quagga-dev 14187] [PATCH 50/89] bgpd: flag paths for multipath if we RX link-local and global nexthops

2015-12-11 Thread Donald Sharp
From: Daniel Walton Paths with global and link-local nexthops should be considered for multipath Signed-off-by: Daniel Walton --- bgpd/bgp_mpath.c | 55 ++- 1 file changed, 38 insertions(+), 17 deletions(-) diff --git a/bgpd/bgp_mpath.c b/bg

[quagga-dev 14200] [PATCH 46/89] ospf6d: Fixing a couple of issues with ospf6_route_remove () routine.

2015-12-11 Thread Donald Sharp
From: Vipin Kumar When a route_node has multiple ospf6_routes under it (common subnet case), then the current implementation has an issue in adjusting the route_node->info on a ospf6_route_remove() call. The main reason is that it ends up using exact match to determine if the next ospf6_route be

[quagga-dev 14201] [PATCH 49/89] ospfd: "show ip ospf neighbor" header spacing

2015-12-11 Thread Donald Sharp
From: Daniel Walton The column headers for displaying OSPF neighbors are not aligned Signed-off-by: Daniel Walton --- ospfd/ospf_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 3548afb..b05f07b 100644 --- a/ospfd/ospf_vty.c ++

[quagga-dev 14202] [PATCH 51/89] ospfd: Fix shutdown scenario

2015-12-11 Thread Donald Sharp
From: Vipin Kumar If on-shutdown is configured to a large value and 'service quagga restart' is executed, then the init.d/quagga script doesnt wait more than 120 seconds for the daemon do stop, worse, it goes ahead and starts the new daemon regardless. This can result into two ospfd processes run

[quagga-dev 14186] [PATCH 48/89] bgpd: Make source interface selection in BGP for nexthop determination more robust

2015-12-11 Thread Donald Sharp
From: Vivek Venkatraman Ensure that if 'update-source ' is specified, that interface is chosen as the source for the local nexthops. Otherwise, do a complete match on the local IP address of the connection to determine the source interface for the local nexthops; this will handle scenarios where

[quagga-dev 14184] [PATCH 47/89] ospf6d: Adding the initialization check in ospfv3_clean()

2015-12-11 Thread Donald Sharp
From: Vipin Kumar This is to avoid a crash triggered by process termination when ospf6d daemon is running and 'router ospf6' config has not been done yet. Signed-off-by: Vipin Kumar Reviewed-by: Daniel Walton --- ospf6d/ospf6d.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ospf6d/osp

[quagga-dev 14183] [PATCH 43/89] ospfd: Fix no ip ospf hello-interval

2015-12-11 Thread Donald Sharp
From: Daniel Walton OSPF silently ignores 'no ip ospf hello-interval X' and 'no ip ospf hello-interval X' Signed-off-by: Daniel Walton Reviewed-by: Dinesh G Dutt --- ospfd/ospf_vty.c | 34 -- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/ospfd

[quagga-dev 14181] [PATCH 45/89] ospf6d: LA (local-address) bit related inter-op fix.

2015-12-11 Thread Donald Sharp
From: Vipin Kumar As per the RFC, when the NU bit is set, prefix should be ignored. However, the code is currently ignoring prefix with LA bit too. Fixing that part. In future, we should also set LA bit for the loopback addresses. Not doing this part right away, as quagga wont be backward compa

[quagga-dev 14180] [PATCH 44/89] ospfd: Don't wait for state change to Exchange to start LSReq

2015-12-11 Thread Donald Sharp
From: Dinesh Dutt ANVL test 17.5. The current implementation wouldn't start sending LSReq unti the DB Desc packets have all been received (no M bit). This caused the test choke up. RFC 2328 allows for sending LSReq on receiving the first DbDesc packet as long as the nbr state is Exchange. This pa

[quagga-dev 14182] [PATCH 35/89] bgpd: Add [bestpath|multipath] option to 'show ip bgp x.x.x.x'

2015-12-11 Thread Donald Sharp
From: Daniel Walton Signed-off-by: Daniel Walton --- bgpd/bgp_route.c | 309 --- bgpd/bgp_route.h | 7 ++ 2 files changed, 279 insertions(+), 37 deletions(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 9240497..972ec0e 100644 ---

[quagga-dev 14179] [PATCH 42/89] ospfd: Make destination of p2p to multicast for LS-ACKS

2015-12-11 Thread Donald Sharp
From: Vipin Kumar ISSUE: LSAcks (for directed acks) are being sent to neighbor's unicast address. RFC 2328 says: "The IP destination address for the packet is selected as follows. On physical point-to-point networks, the IP destination is always set to the address AllSPFRouters" Fix is to

[quagga-dev 14177] [PATCH 40/89] ospf6d: We should accept long form of "no redistribute"

2015-12-11 Thread Donald Sharp
From: Daniel Walton Signed-off-by: Daniel Walton --- ospf6d/ospf6_asbr.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c index dc7f1ce..ec08ded 100644 --- a/ospf6d/ospf6_asbr.c +++ b/ospf6d/ospf6_asbr.c @@ -679,6 +679,15 @@ DEFUN (no_osp

[quagga-dev 14178] [PATCH 41/89] bgpd: Display BGP paths with unreachable nexthps as invalid

2015-12-11 Thread Donald Sharp
From: Daniel Walton If a BGP path has an unreachable nexthop display that path as invalid Signed-off-by: Daniel Walton --- bgpd/bgp_route.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 972ec0e..126dc11 100644 --- a/bgpd/bg

[quagga-dev 14175] [PATCH 38/89] ospf6d: Support for 'clear ipv6 ospf6 interface [ifname]

2015-12-11 Thread Donald Sharp
From: Vipin Kumar Clear interface commands for ospfv3 Signed-off-by: Vipin Kumar --- ospf6d/ospf6_interface.c | 60 ospf6d/ospf6_interface.h | 2 ++ ospf6d/ospf6d.c | 2 ++ 3 files changed, 64 insertions(+) diff --git a/ospf6d/ospf6_

[quagga-dev 14174] [PATCH 07/89] bgpd, doc, lib, zebra: nexthop-tracking in zebra

2015-12-11 Thread Donald Sharp
> 12.12.12.12 12.12.12.12/32 -> 11.11.11.11 11.0.0.0/8 -> - better statistics Addresses upstream comments. "show ip bgp nexthop detail" couldn't display multiple NHs due to a bug. Fix that. Fix reference counts for the nexthop cache entries Signed-off-by: Pradosh

[quagga-dev 14176] [PATCH 39/89] ospf6d: Add the missing ospf6 running check in show cmds

2015-12-11 Thread Donald Sharp
From: Vipin Kumar SYMPTOM: If some of the ospfv3 commands like 'show ipv6 ospf6 route' are executed with ospf6d daemon running but before having any ospfv3 configuration, then ospf6d crash is seen. ISSUE: There are a few show commands, which are (unlike others) not checking if ospf6 instance i

[quagga-dev 14208] [PATCH 71/89] zebra: Gather and display detailed info about clients of Zebra

2015-12-11 Thread Donald Sharp
From: Dinesh Dutt The display of zebra client info is rather paltry: just the name and the FD. For troubleshooting and general helpfulness, its useful to gather more info about each client and display that. This patch does just that. Signed-off-by: Dinesh Dutt --- zebra/redistribute.c | 50 ++

[quagga-dev 14207] [PATCH 66/89] lib, zebra: Add route-map support for Next Hop Tracking

2015-12-11 Thread Donald Sharp
ned-off-by: Dinesh Dutt Signed-off-by: Donald Sharp --- lib/route_types.pl | 23 +- zebra/rib.h| 9 - zebra/zebra_rib.c | 6 +- zebra/zebra_rnh.c | 96 ++-- zebra/zebra_rnh.h | 3 +- zebra/zebra_rnh_null.c | 2 +- zebra/zebra_routem

[quagga-dev 14206] [PATCH 69/89] bgpd, ospfd, ospf6d, ripd, ripngd, zebra: 'set metric -12' is broken in the parser

2015-12-11 Thread Donald Sharp
From: Daniel Walton Signed-off-by: Daniel Walton --- bgpd/bgp_routemap.c | 20 ++-- ospf6d/ospf6_asbr.c | 6 +++--- ospfd/ospf_routemap.c | 31 +++ ripd/rip_routemap.c | 16 ripngd/ripng_routemap.c | 16

[quagga-dev 14199] [PATCH 60/89] zebra: Add internal support for route tags

2015-12-11 Thread Donald Sharp
7. Signed-off-by: Daniel Walton Signed-off-by: Piotr Chytla Signed-off-by: Donald Sharp --- zebra/rib.h | 14 ++- zebra/zebra_rib.c | 36 --- zebra/zebra_vty.c | 294 -- 3 files changed, 185 insertions(+), 159 deletions(-) di

[quagga-dev 14172] [PATCH 36/89] ospfd: Support for 'clear ip ospf interface [IFNAME]'

2015-12-11 Thread Donald Sharp
From: Vipin Kumar Signed-off-by: Vipin Kumar --- ospfd/ospf_main.c | 1 + ospfd/ospf_vty.c | 45 + ospfd/ospf_vty.h | 1 + 3 files changed, 47 insertions(+) diff --git a/ospfd/ospf_main.c b/ospfd/ospf_main.c index 1e4184f..dae0b8a 100644 --- a/os

[quagga-dev 14171] [PATCH 34/89] bgpd: crash if attributes alone consume > 4096 bytes

2015-12-11 Thread Donald Sharp
From: Daniel Walton Signed-off-by: Daniel Walton --- bgpd/bgp_packet.c | 35 +++ bgpd/bgpd.c | 14 +- bgpd/bgpd.h | 1 + 3 files changed, 45 insertions(+), 5 deletions(-) diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index b6744f9..

[quagga-dev 14169] [PATCH 32/89] bgpd: Fix aggregation issues found via ANVL

2015-12-11 Thread Donald Sharp
From: Daniel Walton There were various failures in ANVL's aggregation tests Signed-off-by: Daniel Walton --- bgpd/bgp_aspath.c | 3 +++ bgpd/bgp_attr.c | 1 + bgpd/bgp_route.c | 28 +++- 3 files changed, 23 insertions(+), 9 deletions(-) diff --git a/bgpd/bgp_aspat

[quagga-dev 14173] [PATCH 37/89] opsf6d: Update router-LSA when nbr's interface-ID changes

2015-12-11 Thread Donald Sharp
From: Vipin Kumar This is a fix to make sure router-LSA is updated when neighbor's interface ID change is received in hello packet. Signed-off-by: Vipin Kumar --- ospf6d/ospf6_message.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/ospf6d/ospf6_message.c

[quagga-dev 14170] [PATCH 33/89] bgpd: Add clear command to force a bestpath recalculation and re-advertisement of a prefix

2015-12-11 Thread Donald Sharp
From: Daniel Walton Signed-off-by: Daniel Walton --- bgpd/bgp_route.c | 5 ++- bgpd/bgp_table.h | 1 + bgpd/bgp_vty.c | 122 +++ 3 files changed, 127 insertions(+), 1 deletion(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index dc

[quagga-dev 14166] [PATCH 29/89] ospfd: 16.0 rfc2328 compliance

2015-12-11 Thread Donald Sharp
From: JR Rivers Section 16.0 of rfc2328 (OSPF) specifies that the short-path calculation to a node should be constructed with the sum of all path costs (metrics) to the node (pretty simple huh). There is a usage of metric typified by the "max-metric router-lsa" command in many networking stacks

[quagga-dev 14168] [PATCH 31/89] lib, zebra: Block configuration and installation of martians

2015-12-11 Thread Donald Sharp
From: Vipin Kumar Block martian address configuration on an interface and also block from getting installed into the zebra tables. Idea behind the fix was to not allow martian address configurations in quagga and also block any connected martian address installation coming from kernel Signed-of

[quagga-dev 14167] [PATCH 30/89] bgpd: iBGP multipath is broken if 'bgp deterministic-med' is enabled.

2015-12-11 Thread Donald Sharp
From: Daniel Walton AS_PATH comparison is broken if CONFED_AS_SEQ are present Signed-off-by: Daniel Walton --- bgpd/bgp_aspath.c | 6 +- bgpd/bgp_aspath.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c index 3c8436e..11823e9 100

[quagga-dev 14165] [PATCH 28/89] ospfd: Ensure deletion is clean

2015-12-11 Thread Donald Sharp
From: Ayan Banerjee Add a null check to ensure that another thread does not access the address in the deletion path of the interface. Signed-off-by: Ayan Banerjee Reviewed-by: Dinesh G Dutt --- ospfd/ospf_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ospfd/ospf_du

<    1   2   3   4   5   6   7   8   9   >