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

306 Commits

Author SHA1 Message Date
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
d4d0b15fdf Make AS search case insensitive. 2018-06-27 18:22:02 +02:00
14798ffbcb Fix ASN lookup to use neighbour.Asn attribute.
In case neighbour.Description does not contain the string e.g. "AS42"
- this is the case when only the friendly name of a neighbour is in the
description field - we need to match this input with a regex and search within the
neighbour.Asn attribute.
2018-06-27 18:20:47 +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
b12a6221a6 test lookup prefix at 2018-06-27 15:42:58 +02:00
153eaf5d7e check for presence in result set 2018-06-27 15:40:38 +02:00
5cfd68b1a7 test: LookupPrefixForNeighbours 2018-06-27 15:21:46 +02:00
b523308abe removed debug log 2018-06-27 14:55:17 +02:00
5da1f88507 added routes store test: lookup prefix 2018-06-27 11:11:33 +02:00
51279fc9a4 start n.store service 2018-06-27 11:02:42 +02:00
3127fb7bd0 test debugging 2018-06-26 14:16:09 +02:00
06c382cb2d test route store stats 2018-06-26 12:16:06 +02:00
0e9bc09643 added better test data 2018-06-26 12:15:37 +02:00
66213510bf added initial test data 2018-06-26 11:50:43 +02:00
6d407c358c Merge branch 'develop' into feature/imp-test-coverage 2018-06-26 11:24:20 +02:00
15ebfa0e1d started with routes store test 2018-06-26 11:19:53 +02:00
682c1ebd39 use anonymous field for rwmutex 2018-06-26 10:51:11 +02:00
d377a002db added tests to makefile 2018-06-26 00:10:53 +02:00
26917e4b27 fixed theme tests 2018-06-26 00:08:51 +02:00
568a396d84 updated theme tests 2018-06-25 23:46:33 +02:00
c9b9dc9428 updated theme loading 2018-06-25 23:46:26 +02:00
4ae8593446 include theme with handler 2018-06-25 23:44:02 +02:00
185e3ecc85 updated documentation 2018-06-25 23:13:05 +02:00
00471f8f18 added theme loader 2018-06-20 19:47:27 +02:00
80f3a91bef added tests for theme loading 2018-06-20 19:46:52 +02:00
c613bcfba1 added base path to theme config 2018-06-20 19:13:28 +02:00
6f96489325 prepared backend for theming 2018-06-20 12:03:23 +02:00