Skip to content
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

UI: add abstract elements to the topology map drawing #153

Open
italovalcy opened this issue Jul 14, 2023 · 0 comments
Open

UI: add abstract elements to the topology map drawing #153

italovalcy opened this issue Jul 14, 2023 · 0 comments
Labels
enhancement New feature or request epic_ui UI improvements

Comments

@italovalcy
Copy link

Hi,

Sometimes, the link on Kytos is not a direct/physical link dedicated to Kytos. It may also be an ethernet pseudo-wired, it can be a link transported through multiple optical equipment, etc. For some network operators, it would be nice if we could draw "abstract elements" into the Kytos topology map to represent such scenarios.

By abstract elements I mean basically an item which its only purpose is to be displayed on the topology. We will draw this element at specific coordinates (lat and lng, provided by the network operator), and then links can be created from and to this element. Since we are using blue circles for actual switches, we could use other representation for abastrct elements (e.g, gray squares, etc)

After adding those abstract elements, we should be able to configure their geo-coordinantes and who they will link to.

The current way we display links will also change: instead of a link just connecting Link.endpoint_a to Link.endpoint_b, we should first check for the existence of abstract elements in between them and connect the dots.

Example:

Screenshot 2023-07-14 at 16 28 45

Observe that in this drawing above, we have two abstract elements: R1-Router and Router MX1. The first one made the lines for the link between PTY-TON-SWO1 and JAX-CLK-SW04 to be different from its original place.

@italovalcy italovalcy added enhancement New feature or request epic_ui UI improvements labels Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request epic_ui UI improvements
Projects
None yet
Development

No branches or pull requests

1 participant