vmware/pyvmomi-community-samples

config_spec.numCoresPerSocket should not allow to set invalid values

Open

#627 建立於 2019年12月30日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (914 fork)batch import
help wanted

倉庫指標

Star
 (972 star)
PR 合併指標
 (30 天內沒有已合併 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

貢獻者指南