Interact easily with your VMWare clusters.
Project description
VMWare-reporter
Interact easily with your VMWare clusters.
Installation
VMWare-reporter package is published on PyPI:
pip install vmware-reporter
Configuration
Create file C:\Users\$USER\AppData\Local\vmware-reporter\vmware-reporter.conf
(/home/$USER/.config/vmware-reporter/vmware-reporter.conf
on Linux). Example:
[vmware-reporter]
host = myvcenter.example.org
user = reporter@vsphere.local
password = ...
no_ssl_verify = True
Usage examples
See also full documentation (including API reference).
VMWare-reporter may be used as a library in your Python code:
from vmware_reporter import VCenterClient
with VCenterClient() as vcenter:
for vm in vcenter.iterate_objs('vm'):
print(vm.name)
VMWare-reporter may also be invoked as a command-line application (the vmware-reporter
executable is installed with the package). Examples:
- Export inventory of VMWare managed objects to a YAML file:
vmware-reporter inventory
- Export all available information about VMWare managed objects to JSON files:
vmware-reporter dump
Complete help about command-line usage may be displayed by typing:
vmware-reporter --help
Credits
This library leverages pyvmomi, the vSphere API Python bindings provided by VMWare.
Legal
This project is licensed under the terms of the MIT license.
This project is not affiliated in any way with VMWare or Broadcom.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for vmware_reporter-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f99e09fa631822c0e543ebd5843b7fb3964ac5d2000c6c4db2ae4aa58c36f70 |
|
MD5 | 99df4af525fe32e807d72620e85fed72 |
|
BLAKE2b-256 | d626610cd85f548c80eb2fdbf5090041ee17bced5b87e011eaf08991fdb7df45 |