apache / apache/cloudstack

Improvements for bandwidth configuration of network offering

Abierto
#10,189 4 comentarios 0 reacciones 0 asignados Ver en GitHub
archive type:new-feature
Lenguaje dominante
Java
Estrellas
3.1k
Forks
1.4k
Merge medio
6 d 19 h
PR fusionados (30 d)
32

Descripción

##### 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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza rastreando cómo se muestran las ofertas de red en la UI y cómo se almacena e interpreta network_offerings.nw_rate. Compara esos valores con el ancho de banda emitido en el XML de virtual-router y define como terminado que los valores no establecidos y los valores de alta tasa se gestionen de forma coherente, incluida una guía clara en la UI sobre los límites o el ancho de banda ilimitado.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java, mysql
Área
cloud, infrastructure, networking
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.