-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Prefix-level Hegemony to the searchbox and UI #252
Comments
For this issue we need a new page (Prefix report) with:
All the data is available from the API, /hegemony/prefixes/ Then we should add a way to search IP prefixes in the headers search bar |
Anyone up for this one? |
I would like to work on this @romain-fontugne sir. |
As mentioned in #18, I would like to work on this issue |
@roopeshsn , @Yh010 we could actually split this in to two parts. One is to add IP prefixes to the search bar, the other one is to make the page for prefixes. Pick the one you prefer |
I would like to work on adding the prefixes |
ok, thanks to both of you! |
let me know if you have questions on how to modify the code. |
@romain-fontugne if you could provide us with some resources to get started , it would help us to get the issue solved faster and better! |
For the header search bar, the code is in And you'll have to call the hegemony_prefix API, see (src/plugins/query/IhrQuery.js). In the near future, we'll have to change a bit the API. For now the API cannot do partial search for a prefix. That means we can search for a specific prefix, for example for "8.8.8.0/24" we have this results: But we cannot search for a substring (e.g."8.8.8.0") |
For the prefix page, I would start by looking at he network report page: src/views/Networks.vue Then we have to modify or duplicate that chart to make it work for prefixes (src/views/charts/AsInterdependenciesChart.vue) maybe we should create a different issue for this, so we don't mix up the discussions here |
Yep, that makes sense @romain-fontugne sir! |
@roopeshsn I have made changes in the NetworkSearchBar.vue to take prefix as input in the search and then call the hegemony_prefix API . I have made a PR : #307 .Pls review the changes so that we can proceed further |
@Yh010 are you still working on this? This issue is quite important in my regards, I hope we could fix it soon. |
@romain-fontugne @roopeshsn pls have a look : PR |
Any movement on this? |
Awaiting for a little change (#429). |
Please have a look at Roopesh's comment in that PR |
@roopeshsn I still cannot make that code working. When I try http://localhost:8080/ihr/en-us/prefixes/8.8.8.0/24 it gives me error 404. I thought we agreed to use
in the router file? |
Yep, that change is pending. I'll fix it by the end of the week. |
Closed by #719 |
Currently, the UI allows you to search by ASN, Country, or IXP, and displays a number of "local" context charts (AS Dependency, origin validation, etc). It would be helpful to add Prefixes to the set of possible inputs -- and display the corresponding information for the prefix level dependency that's already available via API.
This would be especially helpful to multi-homed networks with multiple sites that feature different upstream providers.
Thanks!
The text was updated successfully, but these errors were encountered: