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

``` container = vim.ManagedEntity('datacenter-3') # it's a datacenter view_ref =conn.content.viewManager.CreateContainerView(container=container,type=[vim.DistributedVirtualPortgroup],recursive=True) print(view_ref.view) # it will show all portgroups in datacenter container = vim.ManagedEntity('domain-c9') # it's a cluster compute resource view_ref =conn.content.viewManager.CreateContainerView(container=container,type=[vim.DistributedVirtualPortgroup],recursive=True)...

needs verification

I plan to use pyvmomi to create a vvol VM configured with 2 disks. vim.vm.ConfigSpec().vmProfile and vim.vm.device.VirtualDeviceSpec().profile are set to the VM storage policy profile as prompted. However, the VM...

question

I cannot find any samples in the repo using CA file, most of them use 'disableSslCertValidation'. Can anyone kindly tell me how to specify a CA for HTTPS to connect...

sample request

I clone from windows template ,vm start but network adapter start failed,linux template is ok, what's wrong ? Thanks ![image](https://user-images.githubusercontent.com/23496061/134628757-5a3d6e6c-7864-4830-8438-9728ea2bbc2a.png) # edit nic device_change = [] for device in vm.config.hardware.device:...

needs verification

i get a vm info so how can i get vm system disk installed on whick disk or device like this ``` content = si.RetrieveContent() search_index = content.searchIndex vm =...

question

Steps: 1. Have an old datacenter with hostname = 'host_yyy' and IP = 'xxx.xxx.xxx.xxx' 2. Try to add a host to a new datacenter in Vcenter, with hostname = 'host_xxx'...

needs verification

I tried using config.createDate to get the creation time of the vm, but I found that a lot of virtual machines created using templates show the creation time of the...

question

I am trying to create vm having hard disk attached through nvme controller. When I pass vim.vm.ConfigSpec with deviceChange property setting to list of vim.vm.device.VirtualDeviceSpec having one for nvme controller...

needs verification

### Is your feature request related to a problem? Please describe. Is there any method or script for exporting VM template in OVA format, most of ready scripts are exporting...

enhancement
question
sample request

https://github.com/vmware/pyvmomi/issues/960 Hi! I have the same problem with vCenter 7.0u3f. Do you have any solutions to this problem? If you believe [the documentation][vm_doc], then this field should not be validated...

question