Python API for interaction with the vSphere Web Services SDK.
Among other operations, it provides easy interfaces to:
- Connect to VMWare's ESX, ESXi, Virtual Center, Virtual Server hosts
- Query hosts, datacenters, resource pools, virtual machines
- VM: Power on, power off, reset, revert to snapshot, get properties, update
vmware tools, clone, migrate.
- vSphere 5.0 Guest Operations: create/delete/move files and directories.
Upload/download files from the guest system. List/start/stop processes in
the guest system.
- Create and delete snapshots
- Hosts statistics and performance monitoring
An of course, you can use it to access all the vSphere API through python.
It's built upon a slightly modified version of ZSI (that comes bundled-in)
which makes it really fast in contrast to other python SOAP libraries that
don't provide code generation.
WWW: https://code.google.com/p/pysphere/
Remove expired ports:
2015-12-09 www/py-django-pipeline12: Django 1.4 extended support ended on
2015-10-01
2015-12-09 www/py-django14: Django 1.4 extended support ended on 2015-10-01
2015-12-12 net/py-pysphere: No longer maintained, please use net/py-pyvmomi by
VMware
2015-12-13 ftp/ftpcube: No releases for 8+ years, no supporting newer wxWidget
2015-12-13 astro/libroadnav: No releases for 8+ years, no supporting newer
wxWidget
2015-12-13 astro/roadnav: No releases for 8+ years, no supporting newer wxWidget
- set EXPIRATION_DATE to 2015-12-12
- bump PORTREVISION
Since 2013 this project is no longer maintained
and has no support for new vSphere releases.
Please migrate to net/py-pyvmomi,the official
python framework from VMware.
Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both
"/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify
them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash,
ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously)
replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is
still (correctly) replaced with "${perl_CMD} -tt")
Note that *_OLD_CMD items containing spaces must now be quoted (e.g.
perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")
Update shebangfix usage according to new rules in many ports:
- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces
Fix shebangfix usage in many ports (irrelevant to infrastructure change):
- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as
python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for
exact string
Approved by: portmgr (bapt)
Differential Revision: D3756
Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for ports
using python
PR: 201077
Reviewed by: mat
With hat: portmgr
Differential Revision: https://reviews.freebsd.org/D2955
- update to 0.1.8
New in for 0.1.8
- Added VIManagedEntity class extended by VIVirtualMachine
- Added Rename, Reload, and Destroy methods to VIManagedEntity
- Fix #26: VIVirtualMachine.send_file() gratuitiosly overwrites urllib2's
installed default opener
- Recurse through datastores vm property in retrieve_properties_traversal
- Additional 'disks' parameter in VIVirtualMachine.relocate() method.
- Support to SDK 5.1
- new port py-pysphere
Python API for interaction with the vSphere Web Services SDK.
Among other operations, it provides easy interfaces to:
- Connect to VMWare's ESX, ESXi, Virtual Center, Virtual Server hosts
- Query hosts, datacenters, resource pools, virtual machines
- VM: Power on, power off, reset, revert to snapshot, get properties, update
vmware tools, clone, migrate.
- vSphere 5.0 Guest Operations: create/delete/move files and directories.
Upload/download files from the guest system. List/start/stop processes in
the guest system.
- Create and delete snapshots
- Hosts statistics and performance monitoring
An of course, you can use it to access all the vSphere API through python.
It's built upon a slightly modified version of ZSI (that comes bundled-in)
which makes it really fast in contrast to other python SOAP libraries that
don't provide code generation.
WWW: https://code.google.com/p/pysphere/