Skip to content

dungla2011/python_pyvmomi_working_sample_vmware_easy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This sample code demonstrates some task with VCENTER by pyvmomi sdk python

  • List all vm
  • List detail one vm
  • Limit IOPS vm
  • Limit CPU vm
  • Execute program in vm
  • Get esxi performance, esxi cpu usage, esxi memory usage, esxi disk usage, esxi network usage,
  • Samples can run on both window, linux by command line
  • Library in: venv/Lib/site-packages/

Tested on Pythone 3.x, VCenter 7.0, Esxi 6.7

+ Command:

python <filename.py>

Config: Authenticated file: vc_info.ini in parent folder (../) or enter authenticated info in code (username of vcenter, pw...)

Alt Text Alt Text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages