1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-25 02:39:59 -05:00
Commit Graph

63 Commits

Author SHA1 Message Date
Tianhao He
a94fff411e Update sample template (#25)
Use service manager to connect to both vAPI and VIM services

Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
2017-06-29 15:19:40 -07:00
Tianhao He
44a785b456 Add sample template file (#24)
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
2017-06-22 15:14:36 -07:00
Pavan Bidkar
2415e4eef6 Sample is not failing if Cluster Name argument passed is not Valid.Assering Cluster presense in setup method instead of execution method (#23)
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>
2017-05-15 09:14:03 -07:00
PavanBidkar
f4c82a3d07 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
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>
2017-05-05 12:18:45 +05:30
PavanBidkar
e96de924f8 Adding New Sample to Delete User specified Virtual Machine
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>
2017-05-02 13:56:23 +05:30
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
Kyle Ruddy
bd1eaf1ed1 Update configuration inputs
Update the configuration inputs to point to the “VM” designated values.

Signed-off-by: Kyle Ruddy <kmruddy@gmail.com>
2017-04-03 14:39:00 -04:00
Tianhao He
ca53102df4 Remove the output file before creating the parallel port
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>
2017-03-24 20:21:27 -07:00
Tianhao He
43c25d0b61 Remove the output file before creating new serial port
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>
2017-03-24 15:30:02 -07:00
pgbidkar
46ab4ce349 Adding ESXPASSWORD as commandline argument. ESXPassword cannot be hardcoded in testbed.py file since ESX doesnt have default password
Signed-off-by: Pavan Bidkar <pbidkar@vmware.com>

Adding ESXPASSWORD as commandline argument. ESXPassword cannot be hardcoded in testbed.py file since ESX doesnt have default password

Signed-off-by: Pavan Bidkar <pbidkar@vmware.com>
2017-03-21 00:15:05 +05:30
Tianhao He
ba26a070a6 Fix typo in license text
Signed-off-by: Tianhao He <het@vmware.com>
2017-03-15 15:36:13 -07:00
Tianhao He
f11b15cd0d add missing MIT license ientifier to each file
Signed-off-by: Tianhao He <het@vmware.com>
2017-03-13 11:04:53 -07:00
Tianhao He
fb7b0f53cc Initial sample drop 2017-03-03 14:04:06 -08:00