vmware/pyvmomi-community-samples

How to correlate between PowerCli/EsxCli commands to the Pyvmomi bindings

Open

#465 opened on Feb 15, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (914 forks)batch import
help wanted

Repository metrics

Stars
 (972 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi, Currently, using powecli commands, you can do anything by simply writing a script. I am in the process of migrating some of the stuff that I have in PowerCLI to be used with Python. I've been having trouble in finding the ESXCLI commands and the requites arguments in the PYVMOMI docs. Is there a better a way finding corresponding classes/methods in pyvmomi comparing against the esxcli commands.

per say, I am trying to find equivalent of this [http://pubs.vmware.com/vsphere-6-5/topic/com.vmware.vcli.ref.doc/esxcli_storage.html] in the pyvomi. not all the options are available in pyvmomi as it inherits from multiple places, I am having trouble in tracing them.

Please, Could anyone help? Thanks in advance!

Contributor guide