1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-23 01:49:59 -05:00
vsphere-automation-sdk-python/samples/vsphere/sso
Tianhao He b25c66ee46 Rewrite sso samples
Remove old sso samples and created new samples that match Java SDK.
Minor changes to some helper methods.
Update README
2017-02-15 16:04:26 -08:00
..
wsdl Adjust the folder strucuture to match what's like in Java project. 2017-01-23 16:50:20 -08:00
__init__.py Add missing top level module dunder 2017-02-09 17:19:12 -08:00
embedded_psc_sso_workflow.py Rewrite sso samples 2017-02-15 16:04:26 -08:00
external_psc_sso_workflow.py Rewrite sso samples 2017-02-15 16:04:26 -08:00
README.md Rewrite sso samples 2017-02-15 16:04:26 -08:00

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