Closed hwelsters closed 10 months ago
Closes #17
Makes best paths UI render a name in that list in a user-friendly manner, using the following rules
interface.metadata.port_name
interface.name
switch.metadata.node_name
switch.id
It renders the UI in a user-friendly manner:
Closes #17
Summary
Makes best paths UI render a name in that list in a user-friendly manner, using the following rules
interface.metadata.port_name
if it's an interface and if this attribute is set and not empty, otherwiseinterface.name
switch.metadata.node_name
if it's an switch and if this attribute is set and not empty, otherwiseswitch.id
Local Tests
It renders the UI in a user-friendly manner:![image](https://github.com/kytos/pathfinder/assets/84760072/29345737-84c6-43ab-a88d-7344740647e3)
End-to-End Tests