mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-23 18:10:00 -05:00
b25c66ee46
Remove old sso samples and created new samples that match Java SDK. Minor changes to some helper methods. Update README
15 lines
846 B
Markdown
15 lines
846 B
Markdown
This directory contains samples for Platform Service Controller, SSO and Lookup Service APIs:
|
|
|
|
The vSphere Automation SDK for Python samples use the vCenter Lookup Service
|
|
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.
|
|
|
|
Running the samples
|
|
```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
|
|
```
|
|
* Testbed Requirement:
|
|
- 1 vCenter Server
|