apache / apache/cloudstack

Improvements for bandwidth configuration of network offering

Aberta
#10,189 4 comentários 0 reações 0 responsáveis Ver no GitHub
archive type:new-feature
Linguagem predominante
Java
Estrelas
3.1k
Forks
1.4k
Merge médio
6d 19h
PRs com merge (30d)
32

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece rastreando como as ofertas de rede são exibidas na UI e como network_offerings.nw_rate é armazenado e interpretado. Compare esses valores com a largura de banda emitida no XML de virtual-router e defina como concluído o tratamento consistente de valores não definidos e de valores de alta taxa, incluindo orientações claras na UI sobre limites ou largura de banda ilimitada.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
java, mysql
Domínio
cloud, infrastructure, networking
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
38/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.