pyvmomi icon indicating copy to clipboard operation
pyvmomi copied to clipboard

VMware vSphere API Python Bindings

Results 113 pyvmomi issues
Sort by recently updated
recently updated
newest added

How do I view the vDiskId information on the hard disk? I always check None in config. hardware. device? Who can tell us the solution? Thank you very much.

question
sample request

Hi @jeking3 , We are working on making changes for 67U3, but all test_json tests are failing with Assertion error. Please can you provide quick readme to understand steps to...

test

pyvmomni version: v6.7.1.2018-12 python version: v3.6.6 After running ParseDescriptor on an OVF and print out the result I get the following error. ``` DEBUG:virtutils.vmware:(vim.OvfManager.ParseDescriptorResult) { dynamicType = , dynamicProperty =...

needs verification

Hi, I'm trying to manage VM networking and I would like to know if it's possible to configure multiple VLANs for a host and assign a different VLAN to each...

question

pyvmomi 6.7.1 Hypervisor: VMware ESXi, 6.7.0, 13006603 Guest OS: Microsoft Windows Server 2016 or later (64-bit) Compatibility: ESXi 6.7 and later (VM version 14) VMware Tools: Running, version:10341 (Current) win_vm_mor...

needs verification

I tried many ways but still failed. Is it possible to run such a command by StartProgramInGuest? Please help, thanks.

question

I am using performance manager to get resource pool metrics with intervalId=300. After running the query: end_time = service_instance.CurrentTime() start_time = end_time - datetime.timedelta(seconds=300) query_spec = vim.PerformanceManager.QuerySpec() query_spec.format = "normal"...

question

Use [vim.HostSystem].hardware get host info,bud host hba info not in it....please help me,3ks

sample request

networkObj = None try: content = si.RetrieveContent() view = content.viewManager.CreateContainerView(content.rootFolder, [vim.HostSystem], True) hostObj = [v for v in view.view] view.Destroy() for network in hostObj[0].network: if network.name == networkName: networkObj =...

question

``` object_type = [] properties = { 'VirtualMachine': ['config', 'guest', 'name', 'parent', 'runtime'], 'HostSystem': ['name'] } with vCenterPropertyCollector(vcenter, object_type, properties) as result: ``` ``` class vCenterPropertyCollector(vCenterBase): """collect designation properties of...

question