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

56 Commits

Author SHA1 Message Date
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
6248b64bdb cache route responses 2018-07-11 15:17:51 +02:00
73bf40b38c moved neighbors cache 2018-07-11 14:56:38 +02:00
a02d8cc984 added neighbours cache to birdwatcher source 2018-07-11 13:56:02 +02:00
d6168da159 even more type refactoring 2018-07-07 11:45:34 +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
36aaa6cc0b time parsing tests 2018-07-05 15:18:52 +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
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
35e149d87e Adapt Alice-API output to a special BIRD API.
In a mulit-stage filtering setup the responses of a birdwatcher
BIRD API need processing to eliminate duplicate entries of routes
and eliminate routes of other routers that an IXP participant might
have.

The filter is applied in the .../protocols/<protocolID>/routes endpoint
it affects "imported" (removes routes that are filtered in pipe),
"filtered" (only those of router with <protocolID>), and "noexport"
(same).

Matthias Hannig:
    Resolved merge conflict in import path
2018-06-27 18:17:09 +02:00
7bdaea30d7 Remove unnecessary fields from JSON served by API.
Resolved merge conflictiun
    client/components/routeservers/protocols/index.jsx

used calculations taken from "decix/decix" (HEAD) branch
2018-06-27 18:06:01 +02:00
abc75f2405 Modify parseNeighbours for Multi-Table style counters.
Parse routes_accepted, and use other values for route_filtered.
2018-06-27 16:25:06 +02:00
a09d116e32 updated deps / imports 2018-06-19 10:02:16 +02:00
6e4b0620f7 improved logging of missing birdwatcher modules 2018-01-31 15:19:53 +01:00
0f212abc53 invalid filtered routes payload is now handled with a warning 2018-01-31 15:17:20 +01:00
39db0afbdc improved api status error handling 2018-01-25 11:28:31 +01:00
26b2e61171 backend: fix #2; make server time configurable 2017-10-19 14:16:03 +02:00
1540f115bd added peer lookup by description and added tests 2017-06-29 14:57:08 +02:00
8fe92d21f3 added in memory prefix lookup 2017-06-23 16:11:47 +02:00
87dab572ba sort by prefix for binary search lookup 2017-06-23 11:17:18 +02:00
c12b90cbc5 added fetching route dumps 2017-06-23 11:12:01 +02:00
8f110726d3 added route dump fetching 2017-06-22 21:04:41 +02:00
03140a1187 added prefix lookup on single node 2017-06-19 15:27:11 +02:00
b7e0792976 added helpermethod for neighbour lookup 2017-06-19 15:26:53 +02:00
b615fc9a19 improved robustness 2017-05-29 15:43:54 +02:00
8201e310a2 handle missing data 2017-05-24 11:41:19 +02:00
5f1eb874ce fixed issue with optional routes 2017-05-23 16:07:57 +02:00
d22ee9356d fixed issue in status parsing 2017-05-23 15:40:06 +02:00
68bc1a3d9f switched exported / imported 2017-05-23 15:25:15 +02:00
9803eb333b started with prefix lookup backend 2017-05-23 13:58:58 +02:00
039b492526 refactored parsing helpers 2017-05-22 17:16:16 +02:00
9e44d03c5d added bgp origin 2017-05-22 16:52:09 +02:00
0059457acc routes and neighbours sorting 2017-05-22 16:21:48 +02:00
54004ac85d removed filter reason from route 2017-05-22 13:31:40 +02:00
32e46b8ee9 get routes and filtered routes 2017-05-22 13:26:37 +02:00
98ae611700 parse routes 2017-05-22 12:48:03 +02:00
6b486a72d8 started with get routes 2017-05-22 12:47:55 +02:00
5da27b8adb added some more tests 2017-05-22 12:07:57 +02:00
23e29c1a9a call parseNeighbours 2017-05-22 11:47:10 +02:00
54f04c6fef parse neighbours list 2017-05-22 11:46:50 +02:00
06a13df874 added parser test 2017-05-22 11:09:22 +02:00
fb47d68151 use listen settings from config 2017-05-22 10:27:19 +02:00