1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 09:39:58 -05:00
vsphere-automation-sdk-python/samples/vsphere/vcenter
Tianhao He a3e9688fdc Updated bindings for vSphere 6.6.1 release
1. Updated bindings for vSphere 6.6.1 release for VMware Cloud 1.1
2. Update password and remove IP from testbed.py
3. Package vSphere Automation runtime and bindings in wheel format.
4. Update travis test commend.

Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
2017-08-29 15:27:52 -07:00
..
helper Fix typo in license text 2017-03-15 15:36:13 -07:00
setup Updated bindings for vSphere 6.6.1 release 2017-08-29 15:27:52 -07:00
vm Improve sample code 2017-08-18 04:46:18 -07:00
__init__.py Fix typo in license text 2017-03-15 15:36:13 -07:00
README.md remove bin directory 2017-08-16 22:40:55 -07:00

This directory contains samples for the vSphere infrastructure and virtual machine APIs. You have two options to run samples inside this package:

  • Run all samples under vcenter folder using main.py in samples.vsphere.vcenter.setup package. Please see the README for more details.

  • Run an individual sample in an existing environment. You can either pass the environment parameters through command line arguments or specify them in testbed.py in the setup package.

    For example, to run the create_default_vm sample in the vsphere.samples.vcenter.vm.create package:

    * with the testbed settings specified in testbed.py in a Linux machine:
    
       $ python samples/vsphere/vcenter/vm/create/create_default_vm.py -v
    
    * Or specify the credentials using command line parameters:
    
       $ python samples/vsphere/vcenter/vm/create/create_default_vm.py -s <server> -u <username> -p <password> -v