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

63 Commits

Author SHA1 Message Date
Shweta
73624d9e20
Updated the latest bindings and samples for 70U3 release (#288)
Signed-off-by: shweta <spurohit@vmware.com>
2021-10-13 19:13:53 +05:30
shweta
398d3ed811
new sample for namespace_management list clusters 2021-08-11 14:59:25 +05:30
anushah
6fc10a72d4 7.0U2 readiness 2021-03-17 20:23:38 +05:30
kkaraatanassov
2727e679db Sample for using appliance Monitoring
This sample shows how to use the appliance `Monitoring` interface.

The sample calls:

1. `Monitoring.list()` API to obtain list of counters.
2. `Monitoring.query()` API to obtain CPU and Memory statistics for the
last few days

Signed-off-by: Kiril Karaataassov <kkaraatanassov@vmware.com>
2021-01-13 13:26:37 +02:00
Sumit Agrawal
eb3383ec41
Remove testbed password 2020-11-05 18:54:58 +05:30
SUMIT AGRAWAL
07bcad2a04 Updating photoOS iso path 2020-10-29 18:06:01 +05:30
anushah
99cab7457d Add copyright info to oauth util and webserver
Signed-Off-By: Anusha Hegde <anushah@vmware.com>
2020-10-15 09:04:29 +05:30
anushah
d7d2a1d364 adding oauth samples 2020-10-12 12:01:02 +05:30
anushah
582006c9b8 Adding new bindings and samples for vSphere 7.0
Signed-Off-By: Anusha Hegde <anushah@vmware.com>
2020-04-10 08:46:41 +05:30
Jobin George
efe345a21b
Update README.md 2020-02-04 14:36:55 +05:30
Kunal Singh
1807e8793f Samples for VMC M9 release
Signed-off-by: Kunal Singh <singhk@vmware.com>
2020-01-27 18:43:57 +05:30
Kunal Singh
8ec4076f9c Libraries and Samples for VMC M9 release
Signed-off-by: Kunal Singh<singhk@vmware.com>
2020-01-27 15:32:36 +05:30
Anusha Hegde
2d2f32b923 differentiating required and optional arguments in the help text for … (#175)
* differentiating required and optional arguments in the help text for vmc samples
Signed-off-by: Anusha Hegde <hegdeanusha25@gmail.com>
2019-08-20 14:54:24 +08:00
Shweta Purohit
08a6c02555 New sample for appliance Health
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
2019-08-14 12:34:20 +05:30
Tianhao He
63dbb27b50 New sample to demonstrates the VMTX push sync workflow to publish and subscribe VMTX items 2019-06-25 12:17:10 +08:00
Tianhao He
a1dac8616e API bindings for VMware Cloud on AWS 1.7 release
Signed-off-by: Tianhao He <het@vmware.com>
2019-05-28 10:41:05 -07:00
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
Tianhao He
7ad32f66fd fix format for vc_import_history_common.py
Signed-off-by: Tianhao He <het@vmware.com>
2019-02-11 15:37:20 +08:00
Tianhao He
58968f2ee1 fix network helper method - 2 2019-02-05 17:30:05 +08:00
Tianhao He
8c44352bab fix network helper method 2019-02-05 12:43:09 +08:00
Tianhao He
912fb0bcbf update ethernet sample and add opaque network
Signed-off-by: Tianhao He <het@vmware.com>
2019-01-31 16:47:42 +08:00
het
7a87682546 update vsphere sample readme 2018-11-28 23:12:26 +08:00
het
18b2ed120a Remove tabulate from the dependency list
Signed-off-by: het <het@vmware.com>
2018-11-22 15:51:29 +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
Steve Trefethen
5892cdab58
Remove mistaken commit 2018-11-10 10:31:08 -08:00
Steve Trefethen
93b58772d3
Remove mistaken commit 2018-11-10 10:30:57 -08:00
Steve Trefethen
0c8112653c
Create VM snippet 2018-11-10 10:09:57 -08:00
Steve Trefethen
3be789db29
Create README.md 2018-11-10 10:08:10 -08:00
het
88af7c3ba7 signed ova import sample
Signed-off-by: het <het@vmware.com>
2018-11-08 16:10:02 +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
het
5ba4450b3b VMware Cloud on AWS 1.5
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>
2018-09-20 13:41:20 -07:00
Jobin George
911c3e3bc9 Addressed the Review comments. Signed-off-by:jobingeo jgeorge@vmware.com 2018-06-25 21:13:31 +05:30
Jobin George
1e631f7061 A sample to list the Services in the vCenter Server. Signed-off-by:jobingeo jgeorge@vmware.com 2018-06-25 17:15:00 +05:30
pgbidkar
100d723904 dict.itervalues is deprecated in Python3. Fixing samples to call method dict.values() works for Python 2.7 & 3 2018-06-13 16:57:42 +05:30
Tianhao He
346f5b1cd6 VMware Cloud on AWS 1.4
- Updated bindings and samples for VMware Cloud on AWS APIs
- Added bindings for NSX APIs
- Added HVC samples
2018-05-15 20:56:21 -07:00
Tianhao He
f1032b4e43 vSphere 6.7 Release
Signed-off-by: Tianhao He <het@vmware.com>
2018-04-17 11:01:27 -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
775dbeffa9 Add VMware Cloud on AWS APIs
Signed-off-by: Tianhao He <tianhao64@users.noreply.github.com>
2017-12-05 16:24:30 -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
a3e9688fdc Updated bindings for vSphere 6.6.1 release
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>
2017-08-29 15:27:52 -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
Pavan Bidkar
44222e1dee Fixed argument name in main.py to vcenterpassword, which was differing with build_arg_parser() from setup_cli.py. Added Argument in help text (#3)
Signed-off-by: Pavan Bidkar pbidkar@vmware.com

Signed-off-by: pgbidkar <pbidkar@vmware.com>
2017-08-17 11:23:35 -07:00
Tianhao He
be279fb622 add vc password parameter 2017-08-17 00:27:34 -07:00
Tianhao He
ade24a262f remove bin directory 2017-08-16 22:40:55 -07:00
Tianhao He
58b044feec Update default vc password 2017-08-16 13:54:58 -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