Wrong syntax of Bitrate values
Issue
- The problem is that in many parts of the code, but also in the documentation, we define bitrate for AMBR as follows:
100Mbps
- If we strictly follow 3GPP TS 29.571
BitRate
regex, this is not okay:^\d+(\.\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$
This means that we need a mandatory space between the number and the unit, so e.g. 100 Mbps
. We do that in the SQL files as well as in the SMF config. In the new QoS development, I have made the code more lenient to accept it with and without space.
@tien-thinh.nguyen @defosseu @arora Any thoughts on that? I propose that we change it everywhere to the correct ones but that we still accept the value without the space.