Problem description
The QoS Provisioning API allows QoS profiles defined by the qos-profiles API to be applied "indefinitely", and yet these profiles may have a minDuration and/or maxDuration parameter defined.
It is not clearly defined if these parameters have any meaning for a QoS profile being applied to QoS Provisioning. In particular, the definition of maxDuration is:
The maximum time period that this profile can be deployed.
This might reasonably be interpreted by an API consumer to mean that the QoS assignment will be automatically deleted after this time without them needing to explicitly delete it.
Expected action
Decide on intended behaviour and document.
Options include:
- QoS profiles with
minDuration and/or maxDuration parameters defined CANNOT be used for QoS Provisioning
- The
minDuration and maxDuration parameters, if defined, do NOT apply to QoS Provisioning
- The
minDuration and maxDuration parameters, if defined, DO apply to QoS Provisioning as follows:
- If
minDuration is defined, the QoS assignment cannot be deleted before this time has elapsed
- If
maxDuration is defined, the QoS assignment will be automatically deleted after this time has elapsed
Additional context
None
Problem description
The QoS Provisioning API allows QoS profiles defined by the qos-profiles API to be applied "indefinitely", and yet these profiles may have a
minDurationand/ormaxDurationparameter defined.It is not clearly defined if these parameters have any meaning for a QoS profile being applied to QoS Provisioning. In particular, the definition of
maxDurationis:This might reasonably be interpreted by an API consumer to mean that the QoS assignment will be automatically deleted after this time without them needing to explicitly delete it.
Expected action
Decide on intended behaviour and document.
Options include:
minDurationand/ormaxDurationparameters defined CANNOT be used for QoS ProvisioningminDurationandmaxDurationparameters, if defined, do NOT apply to QoS ProvisioningminDurationandmaxDurationparameters, if defined, DO apply to QoS Provisioning as follows:minDurationis defined, the QoS assignment cannot be deleted before this time has elapsedmaxDurationis defined, the QoS assignment will be automatically deleted after this time has elapsedAdditional context
None