vmware/pyvmomi-community-samples

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

Open

#465 opened on 2018年2月15日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Python (914 forks)batch import
help wanted

Repository metrics

Stars
 (972 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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!

コントリビューターガイド