Improvements for bandwidth configuration of network offering
- Lingua principale
- Java
- Stelle
- 3.1k
- Fork
- 1.4k
- Merge medio
- 6g 19h
- PR unite (30g)
- 32
Descrizione
##### 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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia tracciando come le offerte di rete vengono visualizzate nella UI e come network_offerings.nw_rate viene memorizzato e interpretato. Confronta questi valori con la larghezza di banda emessa nell’XML di virtual-router, quindi definisci come completamento una gestione coerente dei valori non impostati e dei valori ad alta velocità, includendo indicazioni chiare nella UI sui limiti o sulla larghezza di banda illimitata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, mysql
- Ambito
- cloud, infrastructure, networking
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100