[TRNSPRTPCE-578] Set tpdr in xponder-type of the mapping for Transponder Created: 30/Nov/21  Updated: 10/Dec/21  Resolved: 10/Dec/21

Status: Verified
Project: transportpce
Component/s: None
Affects Version/s: Phosphorus
Fix Version/s: Phosphorus

Type: Bug Priority: Medium
Reporter: Gilles Thouenon Assignee: Gilles Thouenon
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 6 hours
Original Estimate: Not Specified


 Description   

In PortMapping, the mapping corresponding to a traffic port of a Transponder is not always filled with the xpdr-node-types value "tpdr", as it is made with values mpdr or switch for an otn-xpdr.
Having always this field with the correct value in PortMapping datastore could simplify downstream treatments, as for example in T-API topology management.
Fill systematically this field whatever is the xpdr node type.



 Comments   
Comment by Gilles Thouenon [ 30/Nov/21 ]

This behavior comes from the fact that the xpdr-type had been introduced with release 2.0 of OpenROADM models. This field is contained in the xponder list which has not been forced as mandatory. So, when a xpdr node configuration contains that list of xponder, we can read this xpdr-type and set it in the mapping, but in our xpdra and xpdrc node configurations, we stayed with the same device configurations as in release 1.2.1, it means without this list of xponder. Since the xpdr-type was not present in the node configuration, it was neither set in the mapping.

Since in version 1.x of OpenROADM models there was only tpdr as xponder node type, and OpenROADM recommends using the list of xponder from version 2.0, we can consider that if the xpdr device configuration does not contain any list of xponder, it is a Transponder, and thus we can set "tpdr" in the corresponding mapping.

Comment by Olivier Renais [ 30/Nov/21 ]

This approach looks fine to me. Thanks Gilles!

Generated at Wed Feb 07 20:43:27 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.