8372cd0844
added routes fetching
2018-07-13 17:47:41 +02:00
e31da48261
added paginated routes
2018-07-13 16:45:15 +02:00
8edee21e8b
added paginated routes response and pagination info
2018-07-13 16:45:05 +02:00
b169f668b9
improved boundary check
2018-07-13 16:43:12 +02:00
909d42e3ed
split routes endpoints
2018-07-13 16:40:28 +02:00
b8f6f9af8c
added access helpers for URL.query
2018-07-13 16:39:53 +02:00
4a1b69d726
added tests for pagination
2018-07-13 16:20:05 +02:00
497dfcff97
added routes pagination
2018-07-13 16:19:51 +02:00
0c7f514627
reverted change because lack of coffee
2018-07-13 11:41:00 +02:00
162ce43c16
updated locking
2018-07-13 11:38:20 +02:00
7d69696fc4
use pointers
2018-07-11 18:25:42 +02:00
1befa18b3b
run all tests
2018-07-11 18:25:05 +02:00
6248b64bdb
cache route responses
2018-07-11 15:17:51 +02:00
085e6af89c
added LRU routes cache
2018-07-11 15:09:57 +02:00
b27104d136
improved test runtime
2018-07-11 15:09:44 +02:00
8c41c73a79
added routes lru cache
2018-07-11 14:56:51 +02:00
73bf40b38c
moved neighbors cache
2018-07-11 14:56:38 +02:00
edd11141d3
added lru map
2018-07-11 14:56:16 +02:00
f6210f25cd
added cacheable response types
2018-07-11 14:07:52 +02:00
aea5d5f19d
api changes, source config
2018-07-11 14:07:26 +02:00
5322920dcc
keep source instances
2018-07-11 14:07:00 +02:00
a02d8cc984
added neighbours cache to birdwatcher source
2018-07-11 13:56:02 +02:00
32903b3f69
refactored refresh interval
2018-07-07 11:51:13 +02:00
eae2e69758
duration is already formatted
2018-07-07 11:48:06 +02:00
d6168da159
even more type refactoring
2018-07-07 11:45:34 +02:00
d8a83f5404
refactored types
2018-07-07 11:41:00 +02:00
f94966a772
refactored refresh interval
2018-07-07 11:39:46 +02:00
a0a1f0a5f7
type refactoring
2018-07-07 11:35:34 +02:00
23366c8709
refactored types
2018-07-07 11:30:40 +02:00
fc686df4cb
used pointers instead
2018-07-06 17:04:09 +02:00
52c421d9ab
Merge branch 'develop' into feature/decix-merge
...
* Implemented better AS Path
* Fixes: Link glitch when clicking on BGPAttributesModal Link
2018-07-05 16:32:35 +02:00
fc42832319
Merge branch 'feature/imp-configure-neighbours-table' into develop
2018-07-05 16:03:46 +02:00
2d9f7b1369
test timezone default value override
2018-07-05 15:27:03 +02:00
f44e20e601
added UTC as default
2018-07-05 15:26:51 +02:00
36aaa6cc0b
time parsing tests
2018-07-05 15:18:52 +02:00
e30c328c1f
improved config test coverage
2018-07-05 14:55:12 +02:00
b5005f4006
use example config as source
2018-07-05 14:41:37 +02:00
f7ef57f6b8
added servertime format
2018-07-05 14:39:48 +02:00
e27f204125
normalize to UTC
2018-07-05 14:36:30 +02:00
ef201cf7a9
changed neighbour to address
2018-07-05 12:30:30 +02:00
13b8b2c907
fixed section
2018-07-05 10:19:59 +02:00
c5a84f7fd8
added columns to config response
2018-07-05 10:18:17 +02:00
65da2f4f6d
get neighbours columns
2018-07-05 10:16:03 +02:00
8b69dd0d92
defined neighbours columns defaults
2018-07-02 16:18:36 +02:00
64428a831d
added defaults for routes columns
2018-07-02 16:12:20 +02:00
14a9ebfa43
added neighbours columns and column ordering to config
2018-07-02 15:57:29 +02:00
fa163d7453
Fix deduplication behaviour for filtered routes
...
Filtered routes were erroneously removed from the api output.
This fixes the following case:
A peer announces legitimate (accepted) routes that
carrry a next_hop attribute and an empty 'learnt_from'
attribute. Filtered routes from the same peer have an
incorrect next_hop but matching 'learnt_from' attribute.
Those were previously not included in the output of filtered
routes.
Reported by: Johannes Moos <johannes.moos@de-cix.net>
2018-06-27 18:55:22 +02:00
db7d421810
Fix routes deduplication for remote-triggered blackholing.
...
In case of remote-triggered blackholing filtered routes may be present
that have a nextHop different from the IP of the neighbour the route
has been learnt from. These would not appear in on the routes page.
With this patch, routes ar displayed if either
gateway matches nextHop or the learnt_from address.
2018-06-27 18:52:50 +02:00
24ae84c545
Fix deduplication of routes for peer with only filtered routes.
...
Effectively de-activate routes deduplication in case a peer announces
just filtered routes. Because no legitimate (accepted) route is
announced, we cannot reliably infer the neighbours gateway / nextHop IP.
This needs changes in the future when another means of obtaining the
neighours gateway address (e.g. global peer status) becomes available.
2018-06-27 18:50:28 +02:00
12781dccc0
Add refresh interval for routes and neighbours store.
...
See example config file. In effect, when enable_prefix_lookup == true.
2018-06-27 18:31:47 +02:00