Skip to content

Commit

Permalink
add backward compatibility to Port.label_range/Port.vlan_range
Browse files Browse the repository at this point in the history
  • Loading branch information
Italo Valcy committed Aug 10, 2024
1 parent d2c1c96 commit 2037408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdx_pce/topology/temanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def _update_vlan_tags_table(self, domain_name: str, port_map: dict):
# port itself (v1), or from the services attached to it (v2).
label_range = self.get_port_obj_services_label_range(port)
if label_range is None:
label_range = port.label_range
label_range = port.vlan_range

# TODO: why is label_range sometimes None, and what to
# do when that happens?
Expand Down

0 comments on commit 2037408

Please sign in to comment.