akrasnov-drv opened a new issue, #10189: URL: https://github.com/apache/cloudstack/issues/10189
ISSUE TYPE Bug COMPONENT NAME Network offerings CLOUDSTACK VERSION ~~~ 4.20.0.0 ~~~ Ubuntu 22.04 (if relevant) mysql 8 All default network offerings are shown in UI as having 200Mb/s network rate. I created my own network offering without specifying network rate, and it's also shown in UI as having 200Mb/s. Then I checked database and found that no network offering has a positive value in `network_offerings` table. All System ones have 0, while all other (default) ones have NULL. But then, when I checked xml of Virtual router (I use isolated network with nat, if relevant again), I found this definition on my external network ``` <source bridge='public'/> <bandwidth> <inbound average='25600' peak='25600'/> <outbound average='25600' peak='25600'/> </bandwidth> ``` That is 25Mb/s. After I set network rate to 65K in my network offering, it become consistent at least between DB and CloudStack UI, VR then got ``` <bandwidth> <inbound average='8388480' peak='8388480'/> <outbound average='8388480' peak='8388480'/> </bandwidth> ``` And another, minor, issue on the way - mysql defines the field as smallint: `nw_rate smallint unsigned DEFAULT NULL COMMENT 'network rate throttle mbits/s'` that does not allow values larger than 65K. Modern networks can work on a larger speeds (e.g. 800Gb/s). Besides would be nice to be able not limit it at all. Thanks, Alex. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org