mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-23 09:59:59 -05:00
b25c66ee46
Remove old sso samples and created new samples that match Java SDK. Minor changes to some helper methods. Update README |
||
---|---|---|
.. | ||
wsdl | ||
__init__.py | ||
embedded_psc_sso_workflow.py | ||
external_psc_sso_workflow.py | ||
README.md |
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
$ 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