vmware/pyvmomi-community-samples

config_spec.numCoresPerSocket should not allow to set invalid values

Open

#627 aperta il 30 dic 2019

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Python (914 fork)batch import
help wanted

Metriche repository

Star
 (972 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

config_spec.numCoresPerSocket should not allow to set invalid values

vcpus count is 3 allowed cores count should only be 1 or 3 (basically numbers with which vcpu count is divisible) but vim.vm.ConfigSpec() allows to set cores count as 2 (which is an invalid value for core)

vcpu = cores * sockets

Guida contributor