1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-25 18:59:59 -05:00
vsphere-automation-sdk-python/samples/vsphere/sso
Tianhao He abe05ece27 Improve sample code
1. Make sample code more consistent
2. Improve input parameter parser

Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
2017-08-18 04:46:18 -07:00
..
wsdl Initial sample drop 2017-03-03 14:04:06 -08:00
__init__.py Fix typo in license text 2017-03-15 15:36:13 -07:00
embedded_psc_sso_workflow.py Improve sample code 2017-08-18 04:46:18 -07:00
external_psc_sso_workflow.py SSO samples are failing with 6.0 vCenter server. com.vmware.vapi.vcenter_client.DataCenter module is not present in 6.0. Removed Datacenter listing after connection is successful 2017-05-05 12:18:45 +05:30
README.md remove bin directory 2017-08-16 22:40:55 -07: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

$ python external_psc_sso_workflow.py --lsurl https://<server>/lookupservice/sdk -u 'administrator@vsphere.local' -p 'Admin!23' -v
  • Testbed Requirement:
    • 1 vCenter Server