All Projects → rocky1109 → pyVirtualize

rocky1109 / pyVirtualize

Licence: Apache-2.0 license
A python interface to access and manage VMware vSphere and ~Horizon View~

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pyVirtualize

ansible-vmware-http
Examples of Ansible playbook to manage VMware using HTTP APIs
Stars: ✭ 29 (+123.08%)
Mutual labels:  vmware, esxi, vsphere
vmSafeguard
vmSafeguard is a management, planning, backup system for a Vmware ESXi(s) solution, orchestrated through a Web Admin Panel. RTFM for more info. Under develop since Jun 2020
Stars: ✭ 20 (+53.85%)
Mutual labels:  vmware, esxi, vsphere
Vic
vSphere Integrated Containers Engine is a container runtime for vSphere.
Stars: ✭ 607 (+4569.23%)
Mutual labels:  vmware, vsphere
Vsphere Modules
This is my Module Collection for VMware vSphere
Stars: ✭ 18 (+38.46%)
Mutual labels:  vmware, vsphere
Hades
The best way to hack into VMware accounts.
Stars: ✭ 61 (+369.23%)
Mutual labels:  vmware, horizon
vauth
VMware vSphere VM Identity Platform
Stars: ✭ 32 (+146.15%)
Mutual labels:  vmware, vsphere
vmware.vmware rest
Ansible Collection for VMWare (REST modules)
Stars: ✭ 60 (+361.54%)
Mutual labels:  vmware, vsphere
Cloud Portal
Self service web portal for different Cloud platforms like Azure, AWS and VMWare vSphere.
Stars: ✭ 60 (+361.54%)
Mutual labels:  vmware, vsphere
QuickConnectPlugin
A KeePass plugin that allows you to connect to Windows/Linux/ESXi hosts.
Stars: ✭ 60 (+361.54%)
Mutual labels:  vmware, esxi
Vic Product
vSphere Integrated Containers enables VMware customers to deliver a production-ready container solution to their developers and DevOps teams.
Stars: ✭ 143 (+1000%)
Mutual labels:  vmware, vsphere
Terraform Vsphere Kubespray
Deploy a Kubernetes HA cluster on VMware vSphere
Stars: ✭ 141 (+984.62%)
Mutual labels:  vmware, vsphere
r8125-esxi
Realtek RTL8125 driver for ESXi 6.7
Stars: ✭ 163 (+1153.85%)
Mutual labels:  vmware, esxi
vcenter-event-broker-appliance
The VMware Event Broker Appliance Fling enables customers to unlock the hidden potential of events in their SDDC to easily create event-driven automation.
Stars: ✭ 120 (+823.08%)
Mutual labels:  vmware, vsphere
Rbvmomi
Ruby interface to the VMware vSphere API.
Stars: ✭ 304 (+2238.46%)
Mutual labels:  vmware, vsphere
vSphere-6.5-API-Playbook-Examples
Examples of how to create Ansible playbooks to leverage vSphere 6.5 RESTful APIs. Playbooks will be isolate to specific APIs and roles added for example use cases.
Stars: ✭ 16 (+23.08%)
Mutual labels:  vmware, vsphere
Vsphere2metrics
VMware vSphere Performance Metrics Integration with Graphite & InfluxDB
Stars: ✭ 28 (+115.38%)
Mutual labels:  vmware, vsphere
tfc-agent
Examples related to the Terraform Cloud Agent, a remote runner for Terraform Cloud Business and Terraform Enterprise
Stars: ✭ 44 (+238.46%)
Mutual labels:  vmware, vsphere
AsBuiltReport.VMware.vSphere
Repository for AsBuiltReport VMware vSphere module
Stars: ✭ 75 (+476.92%)
Mutual labels:  vmware, vsphere
Cloud Provider Vsphere
Kubernetes Cloud Provider for vSphere https://cloud-provider-vsphere.sigs.k8s.io
Stars: ✭ 120 (+823.08%)
Mutual labels:  vmware, vsphere
inspec-vmware
InSpec VMware Resource Pack (Incubation)
Stars: ✭ 18 (+38.46%)
Mutual labels:  vmware, vsphere

pyVirtualize

A python interface to access and manage VMware vSphere and Horizon View.

pyVirtualize is build over pyVmomi, hence it has ability to perform all the operations what vSphere client is able to. Not only vSphere, but pyVirtualize provides an interface for VMware Horizon View session management.

pyVirtualize provides easy interfaces to:

  • Connect to VMWare's ESX, ESXi, Virtual Center, Virtual Server hosts and View Connnection server.
  • Query hosts, datacenters, resource pools, virtual machines and perform various operations over them.
  • VMs operations: power, file, process, snapshot, admin, utilities
  • Horizon View: desktop, farms, rdsh, -pool management, querying connection and more.

An of course, you can use it to access all the API through python.

Installation

Clone the project in your local directory.

git clone https://github.com/rocky1109/pyVirtualize.git
cd pyVirtualize

Now install/build it using setup.py file as

python setup.py install

Or, install it using pip, as

pip install pyVirtualize

Example

>> from pyVirtualize.pyvSphere import vSphere
>> vsphere = vSphere(address='10.112.67.60', username='[email protected]', password='Secured')
>> vsphere.login()
>>
>> vsphere.Datacenters
{'datacenter1': 'vim.Datacenter:datacenter-2', 'datacenter2': 'vim.Datacenter:datacenter-7'}
>>
>> vsphere.VirtualMachines
{'W7x64': 'VirtualMachine:vm-295', 'W7x32': 'vim.VirtualMachine:vm-183', ... }
>>
>> vm = vsphere.VirtualMachines['W7x64']
>>
>> vm.set_credentials(username="myDomain\\myUsername", password="secret", credentials_type="user", default=True)
>>
>> vm.operations.snapshot.revert_to_current()
>> vm.operations.power.power_on()
>> vm.operations.file.upload("/path/towards/my/src/file", "/path/towards/my/dest/file")

Read more at ReadTheDocs, which has entire documentation, examples and more!

PS: Guys, SDKs for Horizon View had to be got down for confidential reasons. Sorry for any inconvenience caussed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].