mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-22 17:39:59 -05:00
1e090f252f
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
12 lines
488 B
Markdown
12 lines
488 B
Markdown
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.
|
|
* Login to Vim service using [pyVmomi](https://github.com/vmware/pyvmomi).
|
|
* Cleanup after sample execution.
|
|
* Logout from both services. |