Improvements for bandwidth configuration of network offering
- Vorherrschende Sprache
- Java
- Sterne
- 3.1k
- Forks
- 1.4k
- Ø Merge
- 6 T. 19 Std.
- Gemergte PRs (30 T.)
- 32
Beschreibung
##### ISSUE TYPE
* Improvement Request
##### COMPONENT NAME
Network offerings
##### CLOUDSTACK VERSION
~~~
4.20.0.0
~~~
##### OS / ENVIRONMENT
Ubuntu 22.04 (if relevant)
mysql 8
##### SUMMARY
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
```
```
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
```
```
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 (worth adding an info on this to UI of creating network offering).
Modern networks can work on a larger speeds (e.g. 800Gb/s). Besides would be nice to be able not to limit it at all.
Thanks,
Alex.
Beitragsleitfaden
Rechercherichtung
Beginnen Sie damit, nachzuverfolgen, wie Netzwerkangebote in der UI angezeigt werden und wie network_offerings.nw_rate gespeichert und interpretiert wird. Vergleichen Sie diese Werte mit der im virtual-router XML ausgegebenen Bandbreite, und definieren Sie als abgeschlossen, dass nicht gesetzte Werte und hohe Bandbreiten konsistent behandelt werden, einschließlich klarer UI-Hinweise zu Limits oder unbegrenzter Bandbreite.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, mysql
- Bereich
- cloud, infrastructure, networking
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100