vmware/pyvmomi-community-samples

config_spec.numCoresPerSocket should not allow to set invalid values

Open

#627 ouverte le 30 déc. 2019

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Python (914 forks)batch import
help wanted

Métriques du dépôt

Stars
 (972 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur