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

336 Commits

Author SHA1 Message Date
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
e7e03d95cb icon change 2018-07-02 15:33:28 +02:00
ed77561e37 updated merge log 2018-06-27 18:56:11 +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
a3f0d51ed8 updated merge log 2018-06-27 18:33:33 +02:00
140cf07d0e config option clarification 2018-06-27 18:32:44 +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
b9aba16303 updated merge log 2018-06-27 17:24:27 +02:00
283ebb2a4b Show modal dialog when clicking on prefix. 2018-06-27 17:22:20 +02:00
9ca6c09c27 Change IRRDB links, make export reasons clickable. 2018-06-27 17:20:34 +02:00
d57fdf0219 Add ASN links to IRRExplorer.
Each ASN in AS-Path links to a different URL.
2018-06-27 17:18:58 +02:00
7d79060b09 Add Link to IRRExplorer for prefixes. 2018-06-27 17:18:03 +02:00
ce64856104 Change some GUI text 2018-06-27 17:15:11 +02:00
3038735921 Remove extra attributes in RoutesLink.
Forgot to clean them up while reverting the nexthop feature in routes view.
2018-06-27 17:13:41 +02:00
0a27618421 updated merge log 2018-06-27 17:12:34 +02:00
add2fabc05 Add column for exported routes in NeighboursTable. 2018-06-27 17:09:45 +02:00
4264bfb800 Change search box hint string on splash page 2018-06-27 17:00:48 +02:00
48593d6554 Change search box hint string in routes view 2018-06-27 16:58:13 +02:00
fa5599bef1 Revert "Add router-selective display on RoutesPage."
After addition of an improved Alice-API we no longer need
this workaround to filter data in the frontend.

When a view of all routes of a selected IXP participant
(possibly with multiple routers) is desired this should
become a new page (with assorted API extensions).

This reverts commit 15e728da2c6855a3fad6a22a58dbd6d62456a7cb.
2018-06-27 16:55:43 +02:00
3bf00facfa Refactor route counts on protocols page.
Extend API to include filtered routes on pipe protocol. Required, hence in
case of multiple peering routers of one IXP participant we can only assume that
all routers advertise the same prefixes. Obviously, this assumption does not
hold true if the amount of advertised prefixes differs between those routers.
In essence we estimate the number of routers and correct the amount of accepted
prefixes and those filtered on the participant pipe towards the master table.
2018-06-27 16:52:46 +02:00
9b387b7d7a Add suggestions on semantics of received column. 2018-06-27 16:48:24 +02:00
a7260aad7e Remove filter for nextHop in column 'Description'. 2018-06-27 16:47:12 +02:00
7902d7c4e8 Add router-selective display on RoutesPage.
In case of multiple peering routers of one customer, their
announcements are aggregated in a single per-customer table.
RoutesPage used to display contents of that table irrespectively
of the current router selected in the UI.
Now, when selecting a router in the UI RoutesPage is initialized
with the nextHop IP of that router to display only routes
(filtered, accepted and noexport) from that router.
2018-06-27 16:45:49 +02:00
c84b147cba added merge log 2018-06-27 16:41:37 +02:00
d0ca03fc55 Fix accepted routes display in case of multiple routers. 2018-06-27 16:35:51 +02:00
1bf58c61bf Fix values displayed in client.
Remove unnecessary fields from JSON served by API.
2018-06-27 16:28:32 +02:00
ae7d0b507e Modify client to display Routes Accepted in Neighbours view. 2018-06-27 16:25:29 +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
e1ef234a25 Merge branch 'feature/imp-test-coverage' into develop 2018-06-27 15:43:17 +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
bcdcd7741e updated documentation 2018-06-26 18:43:32 +02:00
1d9110597b Merge branch 'feature/ext-theme-texts' into develop 2018-06-26 17:12:33 +02:00
a6be2c9915 dynamic content for welcome screen 2018-06-26 17:12:16 +02:00
6d6c41409a introduced content resolver 2018-06-26 17:09:34 +02:00
1b1a8fe176 added content store and extension endpoint 2018-06-26 16:59:01 +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