1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 09:39:58 -05:00
vsphere-automation-sdk-python/samples/vsphere/sso
PavanBidkar 61f3e72771 Sample was failing if wsdl file location is passed as ../samples/vsphere/sso/wsdl/lookupservice.wsdl.
Modified Samples to convert passed wsdl file path to abspath
Added If condition to check wsdlpath is passed

Signed-off-by: PavanBidkar <pbidkar@vmware.com>

Modified if conition, removed optional braces

Signed-off-by: PavanBidkar <pbidkar@vmware.com>
2017-04-17 13:48:38 +05:30
..
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 Fix typo in license text 2017-03-15 15:36:13 -07:00
external_psc_sso_workflow.py Sample was failing if wsdl file location is passed as ../samples/vsphere/sso/wsdl/lookupservice.wsdl. 2017-04-17 13:48:38 +05:30
README.md Initial sample drop 2017-03-03 14:04:06 -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 --lsurl https://<server>/lookupservice/sdk -u 'administrator@vsphere.local' -p 'Admin!23' -v
  • Testbed Requirement:
    • 1 vCenter Server