openBackhaul / wireInterface

Technology specific interface definition for Ethernet PHY interfaces according to IEEE 802.3
Apache License 2.0
2 stars 1 forks source link

wavelengthList cannot be addressed #28

Closed openBackhaul closed 2 years ago

openBackhaul commented 4 years ago

wavelengthList is of datatype Integer[0..3] (Array of Integer).

Unfortunately, list attributes cannot be addressed neither for reading nor for writing. So, the entire Array cannot be addressed.

Because it is a primitive datatype, the instances in the Array do not have a key attribute, which could be addressed by value. So, the elements inside the Array can also not be addressed.

As a consequence, any value inside the Array can only be addressed by reading and writing the entire Configuration Class.

Proposal: Changing the primitive Integer into a composed datatype combing an instance number (e.g. transceiverNumber : Integer) with the actual configuration parameter (e.g. wavelength : Integer).

openBackhaul commented 3 years ago

Decision on the 5G-xhaul call on 4th of August 2021:

DanielaSpreafico commented 2 years ago

A question: to address a common transceiver , is this the first instance (with transceiverIndex = 1) ?

demx8as6 commented 2 years ago

Answer to the question: the model provides individual switches for transceivers - in this sense there is no "common transceiver" and no specific behavior described related to "common transceivers".

openBackhaul commented 2 years ago

Solved with WireInterface_2.0.0-tsp.220314.1810 release.