1
0
mirror of https://github.com/alice-lg/alice-lg.git synced 2024-05-11 05:55:03 +00:00

105 Commits

Author SHA1 Message Date
8e5cafc43d gofmt :) 2019-05-10 11:17:55 +02:00
bfa03a849f Changed so that "api" points to the alice-lg api and not the gobgp api. And vice versa.
This makes sence since we are in the alice-lg project and not the gobgp project
2019-05-10 11:14:29 +02:00
8954b25df1 Removing GeneratePeerHash since it was a old thingy 2019-05-10 11:13:57 +02:00
af0624219b TLS Authentication if you want it 2019-05-09 11:17:43 +02:00
4dbd9ec085 Update alice-lg to be able to talk to GoBGP mainline version instead of NN specific 2019-05-09 10:57:08 +02:00
5e7a473480 Merge remote-tracking branch 'upstream/master' into gobgp_integration 2019-05-07 14:55:12 +02:00
8f19408bad Implemented support to query the live neighbor status from the store
via uncached queries.
2019-03-08 13:54:44 +01:00
5175ccfe4c Added missing caching for Neighbours(). 2019-03-08 13:53:05 +01:00
4f3a75158d Missed this commit 2019-02-28 22:08:27 +01:00
f3ae311136 Not exported routes 2019-02-27 09:52:04 +01:00
92481b8dc4 GoBGP seams to working, alongside github.com/Netnod/gobgp @ 3eaf07cadc4f0033c2b3a777ef24752295f83131 2019-02-26 16:59:40 +01:00
1a0b1b1c42 Merge branch 'feature/source-birdwatcher-redesign' into release/3.5.0 2019-02-22 16:01:12 +01:00
c03180aff8 Fixed a bug where the cache would be modified for subsequent reqeusts. 2019-03-08 09:58:58 +01:00
99639c7de1 Change extendend communities format
- Changed extended communities fomat from (string,int,int) to
  (string,string,string) in order to support communities like
  (generic, 0x43000000, 0x1).
- Removed old test case.
2019-03-08 09:58:58 +01:00
bb7c08819a Save memory by periodically expiring cache entries
- Added a method to expire cache entries, based on the ttl.
- Added a housekeeping method that will periodically expire cache
  entries and also maybe configured to force a GC/SCVG run.
2019-03-08 09:58:57 +01:00
6fe863e4c8 Removed the routesReceived and routesFiltered caches
Use only the routesRequired cache to avoid duplicate caching.
2019-03-08 09:58:57 +01:00
d9ddc5d7b5 Fixed a bug in the Neighbours() method
A a peer that is down would cause an interface conversion.
2019-03-08 09:58:56 +01:00
a5f2cc4a1e Initial version of birdwatcher source redesign
Split up the birdwatcher source into multiple types, that resemble the
functionality that was removed from birdwatcher.

* Remove NeighborsSummary() feature and tests
* Provide example config options
2019-03-08 09:58:56 +01:00
4ff0967a2b Old code but it seams to work 2019-02-22 09:34:21 +01:00
166a3f0fcf Merge remote-tracking branch 'upstream/develop' into gobgp_integration 2019-02-21 15:30:49 +01:00
6d3ea79959 honor show_last_reboot = false 2019-01-24 12:41:08 +01:00
76045f1596 Initialize the LargeCommunities and ExtCommunities so the Webapp actually works 2019-01-10 13:52:41 +01:00
3939e309a7 Spellchecking 2019-01-10 13:05:51 +01:00
c008a1fc92 Adding support for ipv6 routes they say thats the new good stuff 2019-01-10 12:53:37 +01:00
6edd0ce93b We now actually get data into alice from gobgp 2019-01-10 11:37:17 +01:00
f999999718 Adding GoBGP apiutils for future use 2019-01-10 11:36:08 +01:00
3d4754dd51 Some basic stuff like a boilerplate status and initial neighbour stuff 2019-01-08 11:25:13 +01:00
ad9538bda3 Some initial configuration parsing and "errors" instead of crashes 2019-01-08 10:36:36 +01:00
9dd5f34f8e Adding support for gobgp configuration 2019-01-08 10:17:29 +01:00
a6f4a6d19c removed old source artifact 2018-12-09 18:16:41 +01:00
e49a689cfb refactored url handling 2018-12-09 17:31:02 +01:00
2cde3fdf3f cast ext community type 2018-11-11 17:18:56 +01:00
3529ae4884 fixes another concurrent map access 2018-11-09 12:13:47 +01:00
47a6b47c1d always try neighbors summary if not disabled 2018-10-25 20:42:31 +02:00
2fef0e8d79 include last_error from neighbor summary 2018-10-19 16:06:47 +02:00
4607573a1e include BGP extended communities in response 2018-10-08 14:24:41 +02:00
5a3c46f0df prevent concurrent map access 2018-08-13 11:13:00 +02:00
369542c2a3 added primary flag to result set 2018-08-02 14:26:28 +02:00
b1b215c92d do not fail on error 2018-07-27 17:58:39 +02:00
89580c8941 include cache status from API 2018-07-27 17:06:05 +02:00
8cfbca2342 fixed formatting 2018-07-25 17:03:30 +02:00
804f2329a6 Merge branch 'develop' into feature/routes-pagination 2018-07-16 16:51:33 +02:00
505edf74c9 updated test to cover state_changed in neighbor-summary 2018-07-16 16:51:13 +02:00
931e42ccb8 Merge branch 'develop' into feature/routes-pagination 2018-07-16 16:38:01 +02:00
84df5e9bc5 added config option to force use of classic neighbor list method 2018-07-16 16:30:39 +02:00
e7670d37f6 changed summary endpoint 2018-07-16 16:23:07 +02:00
1c1fcd9433 use state_changed as timestamp 2018-07-16 11:04:35 +02:00
df1143cf0a use neighbors summary if present in birdwatcher 2018-07-14 17:01:12 +02:00
1f5b067c52 added neighbors summary parsing 2018-07-14 16:35:37 +02:00
a99fc9069c added parser and parser test skeleton 2018-07-14 15:50:22 +02:00