Skip to content
Snippets Groups Projects
  1. Apr 19, 2021
  2. Mar 30, 2021
  3. Mar 17, 2021
  4. Mar 16, 2021
  5. Mar 12, 2021
    • Ondřej Zajíček's avatar
      Rate-limit scheduling of work-events · 7be3af7f
      Ondřej Zajíček authored
      In general, events are code handling some some condition, which is
      scheduled when such condition happened and executed independently from
      I/O loop. Work-events are a subgroup of events that are scheduled
      repeatedly until some (often significant) work is done (e.g. feeding
      routes to protocol). All scheduled events are executed during each
      I/O loop iteration.
      
      Separate work-events from regular events to a separate queue and
      rate limit their execution to a fixed number per I/O loop iteration.
      That should prevent excess latency when many work-events are
      scheduled at one time (e.g. simultaneous reload of many BGP sessions).
      7be3af7f
  6. Mar 09, 2021
  7. Feb 12, 2021
  8. Feb 10, 2021
    • Vincent Bernat's avatar
      BGP: Add support for BGP hostname capability · 71423871
      Vincent Bernat authored and Ondřej Zajíček's avatar Ondřej Zajíček committed
      This is an implementation of draft-walton-bgp-hostname-capability-02.
      It is implemented since quite some time for FRR and in datacenter, this
      gives a nice output to avoid using IP addresses.
      
      It is disabled by default. The hostname is retrieved from uname(2) and
      can be overriden with "hostname" option. The domain name is never set
      nor displayed.
      
      Minor changes by committer.
      71423871
    • Ondřej Zajíček's avatar
      Nest: Automatic channel reloads based on RPKI changes · 00b85905
      Ondřej Zajíček authored
      If there are roa_check() calls in channel filters, then the channel
      subscribes to ROA table notifications, which are sent when ROA tables
      are updated (subject to settle time) and trigger channel reload or
      refeed.
      00b85905
  9. Feb 07, 2021
  10. Jan 06, 2021
  11. Dec 29, 2020
  12. Dec 07, 2020
    • Ondřej Zajíček's avatar
      Nest: Per-channel debug flags · 61dae32b
      Ondřej Zajíček authored
      The patch add support for per-channel debug flags, currently just
      'states', 'routes', and 'filters'. Flag 'states' is used for channel
      state changes, remaining two for routes passed through the channel.
      The per-protocol debug flags 'routes'/'filters' still enable reporting
      of routes for all channels, to keep existing behavior.
      
      The patch causes minor changes in some log messages.
      61dae32b
  13. Nov 24, 2020
  14. Nov 15, 2020
  15. Nov 12, 2020
    • Ondřej Zajíček's avatar
      BFD: Better handling of BFD options in BGP configs · 3b56bf88
      Ondřej Zajíček authored
      Merge multiple BFD option blocks in BGP configs instead of using the last
      one. That is necessary for proper handling of templates when BFD options
      are used both in a BGP template and in a BGP protocol derived from that
      template.
      3b56bf88
  16. Nov 08, 2020
  17. Jul 16, 2020
  18. Jun 28, 2020
    • Ondřej Zajíček's avatar
      Show info from multiple protocols when protocol is not specified · c26c6bc2
      Ondřej Zajíček authored
      Most commands like 'show ospf neighbors' fail when protocol is not
      specified and there are multiple instances of given protocol type.
      This is annoying in BIRD 2, as many protocols have IPv4 and IPv6
      instances. The patch changes that by showing output from all protocol
      instances of appropriate type.
      
      Note that the patch also removes terminating cli_msg() call from these
      commands and moves it to the common iterating code.
      c26c6bc2
  19. May 19, 2020
    • Ondřej Zajíček's avatar
      Nest: Allow key id 0 · 1ca7665f
      Ondřej Zajíček authored
      There is nothing in RFCs specifying that id 0 is not allowed. Some
      implementations does not support it, while some other use key id 0 by
      default. We allow it but start with key id 1 by default.
      
      Thanks to Kenth Eriksson for the bugreport.
      1ca7665f
  20. May 18, 2020
    • Ondřej Zajíček's avatar
      Nest: Implement BGP path mask loop operator · ec430a7f
      Ondřej Zajíček authored
      Implement regex-like '+' operator in BGP path masks to match previous
      path mask item multiple times. This is useful as ASNs may appear
      multiple times in paths due to path prepending for traffic engineering
      purposes.
      ec430a7f
  21. May 11, 2020
  22. May 01, 2020
  23. Apr 15, 2020
  24. Apr 09, 2020
  25. Mar 26, 2020
  26. Feb 21, 2020
  27. Feb 04, 2020
    • Maria Matejka's avatar
      Added missing extern · 4bbc1061
      Maria Matejka authored
      Thanks to Robert Scheck <bird@robert-scheck.de> who reported it
      and Toke Høiland-Jørgensen <toke@toke.dk> who suggested this patch.
      4bbc1061
  28. Jan 07, 2020
    • Ondřej Zajíček's avatar
      KRT: Improve syncer code to avoid using temporary data in rtable · 7d767c5a
      Ondřej Zajíček authored
      The old code stored route verdicts and temporary routes directly in
      rtable. The new code do not store received routes (it immediately
      compares them with exported routes and resolves conflicts) and uses
      internal bitmap to keep track of which routes were received and which
      needs to be reinstalled.
      
      By not putting 'invalid' temporary routes to rtable, we keep rtable
      in consistent state, therefore scan no longer needs to be atomic
      operation and could be splitted to multiple events.
      7d767c5a
  29. Dec 19, 2019
  30. Dec 16, 2019
  31. Dec 10, 2019
    • Ondřej Zajíček's avatar
      Nest: Fix bitmap cleanup · 4ab54f1a
      Ondřej Zajíček authored
      Channel currently does not have independent pool and uses protocol pool,
      which is freed when protocol changes state to down, while channel is
      still in flushing. Move some some cleanup code to channel_do_flush()
      so it is done before freeing of protocol pool.
      4ab54f1a
Loading