Skip to content
Snippets Groups Projects
  1. Apr 15, 2020
  2. Mar 25, 2020
  3. Dec 29, 2019
    • takt's avatar
      BGP speed improvement (#228) · f280f199
      takt authored
      
      * Add decoding benchmark
      
      * Add .gitattributes
      
      * Add test data
      
      * Implement decoding speed improvements
      
      * Performance improvements
      
      * Fix tests
      
      * Optimizing values vs ptr.
      
      * Change cache inserts to pointers
      
      * Refactor tests for ip dedup changes
      
      * Fix tests
      
      * Fix types in device protocol tests
      
      * Fix tests
      
      * Fix types in routingtable tests
      
      * Fix kernel package for darwin/win
      
      * Swap BTree with Map
      
      * Drop legacy BMP code
      
      * Drop legacy fib implementation.
      
      * Fix Ptr calls
      
      * Drop unused code
      
      * Drop unused Less functions
      
      * Drop unused copy function
      
      * Drop dead code. Add IP dedup to prefix dedup.
      
      Co-authored-by: default avatarMarcus Weiner <marcus.weiner@gmail.com>
      Unverified
      f280f199
  4. Oct 15, 2019
  5. Aug 18, 2019
    • takt's avatar
      Add caching for Path, BGPPath, IP and Prefix structures (#218) · 16459281
      takt authored
      * Add caches
      
      * Replace IPs and Prefixes with pointers to these
      
      * Fix nil pointer derefs
      
      * Fix nil pointer deref
      
      * Fix community encoding
      
      * Fix tests
      
      * Fix tests
      
      * Fix tests
      
      * Fix tests
      
      * Fix tests
      
      * Fix tests
      
      * Fix BGP path hashing
      
      * Fix path attr decoding
      
      * Fix tests
      
      * Fix tests
      
      * Fix tests
      
      * Fix tests
      
      * Cleanup
      
      * Cleanup
      
      * Revert config change
      
      * Fix Benchmark. Fix ClusterList PA.
      
      * Fix ClusterList tests
      
      * Add client
      
      * Remove stale test
      
      * Cleanup
      
      * Increase verbosity on decode failure
      
      * Improve chache layer performance
      
      * Improve bgp path cache performance
      
      * Cleanup
      16459281
  6. Dec 28, 2018
  7. Nov 05, 2018
  8. Oct 31, 2018
  9. Oct 28, 2018
  10. Oct 27, 2018
  11. Oct 25, 2018
  12. Oct 19, 2018
    • cedi's avatar
      Implement Netlink · e1226a26
      cedi authored
      With this commit i'm introducing the netlink protocol to read routes
      from the linux kernel routing table to the locRIB.
      This also adds the functionality to insert new routes to the linux
      kernel routing stack which where learned by other protocol (like e.g.
      BGP).
      
      This is done by the protocols/netlink/netlink.go object.
      The netlink.go file acts as an facade around the netlink_reader.go and
      netlink_writer.go.
      
      netlink_reader itself reads in a defined reding interval new routes from
      the kernel and propagates new routes to all subscribed clients.
      The netlink reader can also be filtered using the same filter-api as in
      adjRibIn/adjRibOut for BGP.
      To read new routes to the locRIB you have to register the locRIB to the
      netlink_reader using the ClientManager interface, just like you would
      register the locRIB to the adjRibIn.
      
      netlink_writer must be subscribed to the locRIB in order to write the
      routes from locRIB into the kernel.
      This useses the ClientManager interface, just like you would register
      the adjRibOut to the locRIB.
      netlink_writer itself currently does not support filters, since all
      routes form the locRIB should be written to the kernel.
      The filter functionality could be easily added here as well.
      
      The netlink_writer currently does not support ecmp. This is subject of
      an other commit.
      
      The current implementation could be considered as work in progress, but
      the code is mature enough to start a review on it.
      e1226a26
  13. Oct 16, 2018
  14. Jul 19, 2018
  15. Jul 02, 2018
  16. Jul 01, 2018
  17. Jun 29, 2018
  18. Jun 28, 2018
  19. Jun 27, 2018
Loading