updated Health appliance sample
cleaned up health appliance sample
Signed-off-by: aspurohit <spurohit@vmware.com>
Removed unused objects
Signed-off-by: aspurohit <spurohit@vmware.com>
modified as per sample_template_basic
updated as per review comments
updated the sample as per review comments
updated the sample as per import standards
There is an bug in the catch block where the exception didn't get
re-raised when cleanup is false. When something goes wrong, it's better
to leave the setup as is for dubugging. Thus removing the try/catch.
Signed-off-by: Tianhao He <het@vmware.com>
Updated VMware Cloud on AWS Console API bindings
Updated VMware Cloud on AWS SDDC API bindings
Added Compute Policy API bindings
Add compute Policy API samples
Remove doc folder. The API specs are hosted on gh-pages branch now. The API doc links can be found on the main README.
Signed-off-by: het <het@vmware.com>
* Support VMware Cloud on AWS Networking APIs and add a few samples.
* Added vsphere_client module to simplify login and API invocation.
* Modified existing samples to use vsphere_client.
* Update on vm template APIs.
Signed-off-by: Tianhao He <het@vmware.com>
Make the sso.py python3 compatible.
Add acquire token by token support.
Add hok token support.
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
1. Updated bindings for vSphere 6.6.1 release for VMware Cloud 1.1
2. Update password and remove IP from testbed.py
3. Package vSphere Automation runtime and bindings in wheel format.
4. Update travis test commend.
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
Signed-off-by: Pavan Bidkar pbidkar@vmware.com
Sample to demonstrate Cert Verification while connecting to vCenter server Updated README.md for common package description
Signed-off-by: pgbidkar <pbidkar@vmware.com>
Sample to demonstrate Cert Verification while connecting to vCenter server
Signed-off-by: Pavan Bidkar pbidkar@vmware.com
Signed-off-by: pgbidkar <pbidkar@vmware.com>
Modified cert_path argument help message to align with requests package help message for cert_path argument
Signed-off-by: Pavan Bidkar pbidkar@vmware.com
Signed-off-by: pgbidkar <pbidkar@vmware.com>
Signed-off-by: Pavan Bidkar <pbidkar@vmware.com>
Sample is not failing with Clustername passed is not Valid.
Validating Cluster presence in setup method instead of execution
Signed-off-by: Pavan Bidkar <pbidkar@vmware.com>
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>
Signed-off-by: Pavan Bidkar <pbidkar@vmware.com>
Fixed Formatting issue
Signed-off-by: Pavan Bidkar <pbidkar@vmware.com>
Fixed PEP8 suggested format Issue.Added new line at the end of file
Signed-off-by: PavanBidkar <pbidkar@vmware.com>
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>
Need to make the same fix as the one in #13 for parallel port.
Also move the cleanup_backends to the main sample run to make
sure the output file is always deleted.
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
When re-run the sample without cleanup previous port the power
on peration may time out due to the output file exist already.
Remove the file before creating new port and add notes to
help avoiding this.
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>