{"library":"oslo-vmware","title":"Oslo VMware","description":"The Oslo VMware library provides common VMware-related utilities and API interaction patterns for OpenStack projects. It wraps the pyVmomi library for vSphere API access, offering simplified authentication, session management, and operations like VM creation, datastore management, and network configuration. Current version 4.9.0 requires Python >=3.10. Release cadence is tied to OpenStack releases, typically one per cycle.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install oslo.vmware"],"cli":null},"imports":["from oslo_vmware import VMwareAPISession","from oslo_vmware import get_http"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os.environ\nfrom oslo_vmware import VMwareAPISession\n\nsession = VMwareAPISession(\n    host=os.environ.get('VSPHERE_HOST', ''),\n    username=os.environ.get('VSPHERE_USER', ''),\n    password=os.environ.get('VSPHERE_PASSWORD', ''),\n    api_retry_count=5,\n    task_poll_interval=1.0\n)\nprint('Connected to vSphere')","lang":"python","description":"Initialize a VMware API session using environment variables for credentials. Replace VSPHERE_HOST, VSPHERE_USER, VSPHERE_PASSWORD with actual values.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}