openBackhaul / qosProfile

Quality of Service Definitions based on 802.1p, MPLS Exp and IP DSCP
Apache License 2.0
0 stars 0 forks source link

Mandatory Attributes #15

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 available-queue-type queue-name X 1)
4 queue-depth-type queue-name
5 per-hop-behavior-type queue-name X 2)
6 drop-precedence-inside-queue
7 egress-per-hop-behavior-to-priority-bits-mapping-type mapping-number X 3)
  1. It is a key attribute of qos-profile-capability/available-queue-list
  2. It is a key attribute of qos-profile-configuration/ingress-8021p-to-per-hop-behavior-mapping-list, ingress-exp-to-per-hop-behavior-mapping-list, ingress-ip-dscp-to-per-hop-behavior-mapping-list
  3. It is a key attribute of qos-profile-configuration/egress-per-hop-behavior-to-8021p-mapping-list, egress-per-hop-behavior-to-mpls-exp-mapping-list, egress-per-hop-behavior-to-ip-dscp-mapping-list
openBackhaul commented 11 months ago

Decision during the 5G-xhaul call on 25th of October 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 available-queue-type queue-name X 1)
4 queue-depth-type queue-name X 1)
5 P8021PerHopBehaviorType p8021Priority X 1)
6 ExpPerHopBehaviorType expPriority X 1)
7 DscpPerHopBehaviorType dscpPriority X 1)
8 egress-per-hop-behavior-to-priority-bits-mapping-type mapping-number X 1)

1) It is a key attribute