Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Quick Introduction To pyVmomi

1,798 views

Published on

The beginners guide for pyVmomi the python SDK for vSphere

Published in: Software
  • Be the first to comment

Quick Introduction To pyVmomi

  1. 1. Introduction To pyVmomi The Beginners Guide Author: Michael Rice Twitter: @virtdevninja Date: 08/31/2015
  2. 2. www.rackspace.com What Is pyVmomi • Python SDK for vSphere SOAP API – Python VMWare Managed Object Management Interface • OpenSource & Closed Source • Its been around a while – Look on your old 4.0 HostSystems !2
  3. 3. www.rackspace.com Why Use pyVmomi • Python is easy for beginners • Python is popular in Config Management • See Ansible & SaltStack • Python is supported on multiple platforms •Windows •Linux •Mac !3
  4. 4. www.rackspace.com Dive In • Install Python • Great resources can be found on the Google • I find 2.7.x works best but 3.x is supported • Find a Virtualenv guide and follow it • Optional, but highly recommended • Start with a basic editor no need for IDE to get started • No IntelliSense anyway !4
  5. 5. www.rackspace.com Getting Started • Create a virtualenv & activate it • Install pyVmomi using pip • Go to GitHub and look at the Community Samples • https://github.com/vmware/pyvmomi-community- samples • Lots of really great examples to help get you started • Use SOAP API docs for documentation !5
  6. 6. www.rackspace.com Getting Help • GitHub Issue • Use either pyVmomi or pyvmomi-community-samples • StackOverflow • Tag your question with pyvmomi • IRC • FreeNode IRC #pyvmomi • Mailing List • http://pyvmomi.2338814.n4.nabble.com/ !6
  7. 7. Thank You RACKSPACE® | 1 FANATICAL PLACE, CITY OF WINDCREST | SAN ANTONIO, TX 78218 US SALES: 1-800-961-2888 | US SUPPORT: 1-800-961-4454 | WWW.RACKSPACE.COM RACKSPACE® | © RACKSPACE LTD. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COM

×