2017-01-24 18:28:39 -05:00
|
|
|
This directory contains samples for Platform Service Controller, SSO and Lookup Service APIs:
|
|
|
|
|
2017-02-15 19:04:17 -05:00
|
|
|
The vSphere Automation SDK for Python samples use the vCenter Lookup Service
|
2017-01-24 19:50:27 -05:00
|
|
|
to obtain the URLs for other vSphere Automation services (SSO, vAPI, VIM, SPBM, etc.).
|
|
|
|
The SDK contains the Lookup Service WSDL files. The samples use the python SUDS client
|
|
|
|
for accessing the lookup service. The Lookup Service WSDL files are located in wsdl/ directory.
|
|
|
|
|
2017-01-24 18:28:39 -05:00
|
|
|
Running the samples
|
2017-02-15 19:04:17 -05:00
|
|
|
```cmd
|
|
|
|
$ cd /path/to/vsphere-automation-sdk-python-samples/bin
|
|
|
|
$ ./run_sample.sh ../samples/vsphere/sso/external_psc_sso_workflow.py --lswsdl file:///path/to/vsphere-automation-sdk-python-samples/samples/vsphere/sso/wsdl/lookupservice.wsdl --lsurl https://<server>/lookupservice/sdk -u 'administrator@vsphere.local' -p 'Admin!23' -v
|
|
|
|
```
|
2017-01-24 18:28:39 -05:00
|
|
|
* Testbed Requirement:
|
|
|
|
- 1 vCenter Server
|