vmware/pyvmomi-community-samples

config_spec.numCoresPerSocket should not allow to set invalid values

Open

#627 opened on 2019年12月30日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Python (914 forks)batch import
help wanted

Repository metrics

Stars
 (972 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド