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

16 Commits

Author SHA1 Message Date
Tianhao He
e7af04409a Remove try/catch block from sample_base.py
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>
2019-02-26 17:39:24 +08:00
het
4849111842 Rewrite tagging sample to use vsphere client
Add API call to retrieve category and tag name and description.

Signed-off-by: het <het@vmware.com>
2018-11-21 21:31:19 +08:00
het
48a9388c45 fix a formatting issue 2018-09-25 10:17:12 -07:00
het
cfa9acdb88 Add tests to make sure vsphere client stubs are present
Add unittests for vsphere client
Fixed some format issues
Run the tests as part of travis ci
2018-09-21 13:38:40 -07:00
Tianhao He
aae89a9af0 VMware Cloud on AWS M3 release
* 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>
2018-03-08 13:15:46 -08:00
Tianhao He
9db63a9577 Add hok token support for sso.py
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>
2017-12-08 10:35:56 -08:00
Tianhao He
32ce0831ed Update vapiconnect.py 2017-10-20 09:23:36 -07:00
Tianhao He
29bd63ba91 Update vapiconnect.py 2017-10-19 18:39:34 -07:00
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
Tianhao He
1e090f252f update sample template and doc
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
2017-08-08 11:58:05 -07:00
pgbidkar
77204240db 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

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>
2017-07-18 12:51:23 +05:30
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
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