mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2026-01-27 10:21:48 +00:00
This commit introduces the 'type_variety' attribute for ROADM elements, allowing the use of different types of ROADM specifications instead of being limited to the default one. If no type variety name is provided in the eqpt_config, the 'default' name is used for backward compatibility with libraries. Additionally, if no type variety is defined in the ROADM element in the topology, the default one is used for backward compatibility with topologies. The 'type_variety' attribute is included in the 'to_json' and 'display' methods for ROADM elements. Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com> Change-Id: I61a2491f994e47ad0b08cf8eaef30d6d855aa706