1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-24 10:19:59 -05:00
vsphere-automation-sdk-python/sample_template
Tianhao He aae89a9af0 VMware Cloud on AWS M3 release
* Support VMware Cloud on AWS Networking APIs and add a few samples.
* Added vsphere_client module to simplify login and API invocation.
* Modified existing samples to use vsphere_client.
* Update on vm template APIs.

Signed-off-by: Tianhao He <het@vmware.com>
2018-03-08 13:15:46 -08:00
..
__init__.py update sample template and doc 2017-08-08 11:58:05 -07:00
README.md VMware Cloud on AWS M3 release 2018-03-08 13:15:46 -08:00
sample_template.py VMware Cloud on AWS M3 release 2018-03-08 13:15:46 -08:00

Boilerplate code for new samples

sample_template.py contains boilerplate code that can be used for most of the new samples. Please fill out the TODOs with your sample information. The steps included in the template code are:

  • Cmd line argument parser.
  • Login to vAPI services using vSphere Automation API.
  • Cleanup after sample execution.