vmware/pyvmomi-community-samples

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

Open

#465 geöffnet am 15. Feb. 2018

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (914 Forks)batch import
help wanted

Repository-Metriken

Stars
 (972 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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