This change proposal adds a port IDs map into the topology datamodel to keep track of the port IDs and mapping them into the actual port. Thus, the function get_port_by_link() leverages that port map to find the nodes in a link, while keeping backwards compatibility.
Fix #134
Description of the change
This change proposal adds a port IDs map into the topology datamodel to keep track of the port IDs and mapping them into the actual port. Thus, the function
get_port_by_link()
leverages that port map to find the nodes in a link, while keeping backwards compatibility.