kytos-ng / pathfinder

Kytos main path finder Network Application (NApp)
https://kytos-ng.github.io/api/pathfinder.html
MIT License
0 stars 7 forks source link

ui: Display human friendly ids in the constraint path list (metadata, name or id fallback) #17

Closed viniarck closed 1 year ago

viniarck commented 2 years ago

Similarly part of the effort addressed on this issue #16, this is for making this component to render a name in that list more friendly, in this order of preference:

To differentiate if it's an interface or a switch in the response from pathfinder, you can count the number of :s in the string, interfaces will have 8 :s, and interfaces will have 7 :s.

Currently, this table is displaying this information like this:

2022-02-23-114818_406x470_scrot