As described on issue #212, the _port_node_map is used to create interdomain links and to compute VLAN Table. It happened that _port_node_map was being updated only when topology_add() was called. This pull request adds the update of the _port_node_map to be executed also when the topology is updated. That way, new nodes, new ports, changed IDs, etc. all get reflected on the port node map.
Fix #212
Description of the change
As described on issue #212, the
_port_node_map
is used to create interdomain links and to compute VLAN Table. It happened that_port_node_map
was being updated only when topology_add() was called. This pull request adds the update of the_port_node_map
to be executed also when the topology is updated. That way, new nodes, new ports, changed IDs, etc. all get reflected on the port node map.