atlanticwave-sdx / datamodel

Parsing and validation library for AtlanticWave SDX.
https://www.atlanticwave-sdx.net
MIT License
0 stars 1 forks source link

Using port IDs map to get nodes of a link #135

Closed italovalcy closed 2 months ago

italovalcy commented 2 months ago

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.

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 10153559629

Details


Totals Coverage Status
Change from base Build 10080664191: 0.8%
Covered Lines: 1333
Relevant Lines: 1647

💛 - Coveralls