openBackhaul / vlanInterface

Technology specific interface definition for VLAN interfaces according to IEEE 802.1Q
Apache License 2.0
0 stars 0 forks source link

Mandatory Attributes #33

Open PrathibaJee opened 1 year ago

PrathibaJee commented 1 year 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 pcp-bits-to-priority-mapping-type to-be-decoded-pcp-bits-value X 1)
5 priority-to-pcp-bits-mapping-type to-be-encoded-priority-value X 2)
6 to-be-encoded-drop-eligibility X 2)
7 received-priority-overwriting-type to-be-overwritten-priority-value X 3)
8 external-to-internal-vlan-id-mapping-type external-vlan-id X 4)
9 internal-to-egress-vlan-id-mapping-type internal-vlan-id X 5)
10 forwarded-protocol-vlan-id-grouping-type forwarded-protocol-group-id X 6)
11 service-access-priority-mapping-type c-vlan-priority-value X 7)
12 priority-to-traffic-class-mapping-type priority-value X 8)
13 forwarded-cvlan-id-to-svlan-id-type c-vlan-id X 9)
  1. It is a key attribute of pcp-bit-to-priority-mapping-list
  2. It is a key attribute of pcp-bits-encoding-mapping-list
  3. It is a key attribute of received-priority-overwriting-list
  4. It is a key attribute of external-to-internal-vlan-id-mapping-list
  5. It is a key attribute of internal-to-egress-vlan-id-mapping-list
  6. It is a key attribute of forwarded-protocol-vlan-id-grouping-list
  7. It is a key attribute of service-access-priority-mapping-list
  8. It is a key attribute of priority-to-traffic-class-mapping-list
  9. It is a key attribute of forwarded-cvlan-id-to-svlan-id-list
openBackhaul commented 12 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 pcp-bits-to-priority-mapping-type to-be-decoded-pcp-bits-value X 1)
5 priority-to-pcp-bits-mapping-type to-be-encoded-priority-value X 2)
6 to-be-encoded-drop-eligibility X 2)
7 received-priority-overwriting-type to-be-overwritten-priority-value X 3)
8 external-to-internal-vlan-id-mapping-type external-vlan-id X 4)
9 internal-to-egress-vlan-id-mapping-type internal-vlan-id X 5)
10 forwarded-protocol-vlan-id-grouping-type forwarded-protocol-group-id X 6)
11 service-access-priority-mapping-type c-vlan-priority-value X 7)
12 priority-to-traffic-class-mapping-type priority-value X 8)
13 forwarded-cvlan-id-to-svlan-id-type c-vlan-id X 9)
  1. It is a key attribute of pcp-bit-to-priority-mapping-list
  2. It is a key attribute of pcp-bits-encoding-mapping-list
  3. It is a key attribute of received-priority-overwriting-list
  4. It is a key attribute of external-to-internal-vlan-id-mapping-list
  5. It is a key attribute of internal-to-egress-vlan-id-mapping-list
  6. It is a key attribute of forwarded-protocol-vlan-id-grouping-list
  7. It is a key attribute of service-access-priority-mapping-list
  8. It is a key attribute of priority-to-traffic-class-mapping-list
  9. It is a key attribute of forwarded-cvlan-id-to-svlan-id-list