-
Type: Sub-task
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.8
-
Component/s: openolt-adapter
-
Labels:None
-
Story Points:3
Changes in adapter to send all the relevant BW parameters to agent to derive the appropriate TCONT type.
Guaranteed BW = Fixed BW + Assured BW
Maximum BW = Fixed BW + Assured BW + Excess BW
Let’s call Fixed BW = GIR, Assured BW = CIR, Max BW = PIR
Let’s leave GIR and PIR as they are currently defined and redefine CIR as the assured BW.
If we send these three parameters to the agent along with additional_bw_eligibility:
For Type-1: If GIR > 0, GIR = PIR, additional_bw_eligibility = none -> set guaranteed_bw = maximum_bw = CBR_RT_BW (or CBR_NRT_BW) = GIR and alloc_type=none and send these parameters to BAL. (alloc_type is inferred from the other parameters)
For Type-2: If GIR = 0, CIR > 0, CIR = PIR, additional_bw_eligibility = none -> set guaranteed_bw = maximum_bw = CIR, CBR_RT_BW = 0 and CBR_NRT_BW = 0 and alloc_type = NSR and send these parameters to BAL. (alloc_type is set to NSR by default)
For Type-3: If GIR = 0, CIR > 0, PIR > CIR, additional_bw_eligibility = none_assured -> set guaranteed_bw = CIR, maximum_bw = PIR, CBR_RT_BW = 0 and CBR_NRT_BW = 0 and alloc_type = NSR and send these parameters to BAL. (alloc_type is set to NSR by default)
For Type-4: if GIR = 0, CIR = 0, PIR > 0, additional_bw_eligibility = best_effort -> set guaranteed_bw = 0, maximum_bw = PIR, CBR_RT_BW = 0 and CBR_NRT_BW = 0 and alloc_type = NSR and send these parameters to BAL. (alloc_type is set to NSR by default)
For Type-5: if GIR > 0, PIR >= GIR + CIR, additional_bw_eligibility = non_assured or best_effort -> set guaranteed_bw = GIR+CIR, maximum_bw = PIR, CBR_RT_BW (or CBR_NRT_BW) = GIR and alloc_type = NSR and send these parameters to BAL. (alloc_type is set to NSR by default)
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
23044,16 | [VOL-3870] Support all the 5 tcont type | master | voltha-openolt-adapter | Status: MERGED | +2 | +1 |
23370,6 | [VOL-3870] Support all the 5 tcont type | master | voltha-lib-go | Status: MERGED | +2 | +1 |