mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-22 09:39:58 -05:00
f4c82a3d07
Signed-off-by: PavanBidkar <pbidkar@vmware.com> 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 Added Create & Delete for Tag and Tag Category to verify connection is successful. Signed-off-by: PavanBidkar <pbidkar@vmware.com> 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 Added Create & Delete Tag Category to verify connection is successful. Removed Tag Creation and Deletion to have basic API call instead of multiple calls. Signed-off-by: PavanBidkar <pbidkar@vmware.com> 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 Added Create & Delete Tag Category to verify connection is successful. Removed Tag Creation and Deletion to have basic API call instead of multiple calls. Signed-off-by: PavanBidkar <pbidkar@vmware.com> |
||
---|---|---|
.. | ||
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 --lsurl https://<server>/lookupservice/sdk -u 'administrator@vsphere.local' -p 'Admin!23' -v
- Testbed Requirement:
- 1 vCenter Server