thatmattlove / hyperglass

hyperglass is the network looking glass that tries to make the internet better.
https://hyperglass.dev
BSD 3-Clause Clear License
642 stars 98 forks source link

BGP map #72

Closed totoCZ closed 3 years ago

totoCZ commented 4 years ago

Hi,

have you thought about adding a bgp map-like feature?

It's a thing we like in bird-lg, but there's a real issue with running so many full BGP sessions on some routers.

So it would be nice if you could query multiple devices directly and get the same output.

image

totoCZ commented 4 years ago

Btw - similar setup, but not open source http://bgpmap.sdv.fr/index.php?dst=1.1.1.1

It's something I'll have to write myself so I'm asking if hyperglass is interested in this/how hard it would be to implement in the current project

thatmattlove commented 4 years ago

Hello,

Sorry for the delay! I can definitely see the value of this. That said, I’m not planning on adding any new features until 1.0.0 is out of beta as I want to get any major bugs and other in progress items shored up prior to introducing new factors. But I’ll leave this open as I don’t think it would be all that difficult to implement for any devices that support structured output (Juniper, at the moment, but FRR soon).

Thanks, Matt

stv0g commented 3 years ago

Just a few ideas for a browser based visualization of the BGP path:

The same kind of visualization could maybe also used for the traceroute results?

thatmattlove commented 3 years ago

Because the front end is React, I'll likely be using a React-specific library for this. I did some searching around when this was opened and found react-flow, which seemed to fit the bill.

I'm currently working on a refactor of the UI to TypeScript (in the ui-refactor branch), and I may work this into that either simultaneously or immediately after.

thatmattlove commented 3 years ago

Hey @TomHetmer & @stv0g, just wanted to let you know that this is making it into the next beta release :) Preview below:

The path shown is completely made up for testing purposes. I'm still tweaking the styles and stuff, but the nuts and bolts are there. Will close this out once that branch is merged and the release is available.