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

Mandatory Attributes #47

Open PrathibaJee opened 9 months ago

PrathibaJee commented 9 months ago

The latest UML2YANG tool will include mandatory substatement to attributes that has "Multiplicity 1 + no default values defined". The following attributes which are formerly optional will be changed to mandatory in the upcoming YANG.

Further , if an attribute is decided to be optional , we shall handle it in the UML modelling by either introducing a default value or by modifying the Multiplicity to 0..1.

S.No Grouping/Datatype Attribute Mandatory Optional
1 object-creation-notification object-id-ref
2 object-deletion-notification object-id-ref
3 attribute-value-changed-notification object-id-ref
4 current-performance granularity-period X 1) current-performance-data-list
5 historical-performance granularity-period X 2) historical-performance-data-list
6 period-end-time X 2) historical-performance-data-list
7 wire-interface-configuration fixed-pmd-kind
8 wire-interface-status pmd-kind-cur
9 pmd-kind pmd-name X 3) wire-interface-capability/supported-pmd-kind-list
10 transceiver-configuration-type transceiver-index X 4) wire-interface-configuration/transceiver-configuration-list
11 receiver-status-type receiver-index X 5) wire-interface-status/receiver-status-list
  1. It is a key attribute of current-performance-data-list
  2. It is a key attribute of historical-performance-data-list
  3. It is a key attribute of wire-interface-capability/supported-pmd-kind-list
  4. It is a key attribute of wire-interface-configuration/transceiver-configuration-list
  5. It is a key attribute of wire-interface-status/receiver-status-list
openBackhaul commented 9 months ago

Decision during the 5G xhaul call on 8th of November 2023:

UML2YANG tool will include mandatory substatements to attributes marked as mandatory.

S.No Grouping/Datatype Attribute Mandatory Optional
1 object-creation-notification object-id-ref X
2 object-deletion-notification object-id-ref X
3 attribute-value-changed-notification object-id-ref X
4 current-performance granularity-period X 1) current-performance-data-list
5 historical-performance granularity-period X 2) historical-performance-data-list
6 period-end-time X 2) historical-performance-data-list
7 wire-interface-configuration fixed-pmd-kind X
8 wire-interface-status pmd-kind-cur X
9 pmd-kind pmd-name X 3) wire-interface-capability/supported-pmd-kind-list
10 transceiver-configuration-type transceiver-index X 4) wire-interface-configuration/transceiver-configuration-list
11 receiver-status-type receiver-index X 5) wire-interface-status/receiver-status-list
  1. It is a key attribute of current-performance-data-list
  2. It is a key attribute of historical-performance-data-list
  3. It is a key attribute of wire-interface-capability/supported-pmd-kind-list
  4. It is a key attribute of wire-interface-configuration/transceiver-configuration-list
  5. It is a key attribute of wire-interface-status/receiver-status-list

For covering the two optional attributes the following changes shall be made:

openBackhaul commented 7 months ago

fixed-pmd-kind and pmd-kind-cur have been changed to [0..1]. Comments have been adapted and decided.