Skip to content

Commit fd6fff9

Browse files
authored
Merge pull request #40 from tianhao64/master
Add VMware Cloud on AWS APIs
2 parents 32ce083 + 775dbef commit fd6fff9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+937
-36
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ python:
44
- "3.6"
55
# command to install dependencies
66
install:
7-
- pip install -r requirements.txt --extra-index-url file://$PWD/lib --upgrade --ignore-installed six
7+
- pip install -r requirements.txt --extra-index-url file://$PWD/lib --upgrade --ignore-installed six
88
- pip install -r test-requirements.txt
99
- pip install pycodestyle
1010
# command to run tests
11-
script: pycodestyle samples/*
11+
script: pycodestyle samples/*.py

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
[![Build Status](https://travis-ci.com/vmware/vsphere-automation-sdk-python.svg?token=v9mEJjcpDiQ9DrYbzyaQ&branch=master)](https://travis-ci.com/vmware/vsphere-automation-sdk-python)
33
## Table of Contents
44
- [Abstract](#abstract)
5+
- [Supported vCenter Releases](#supported-vcenter-releases)
6+
- [VMware Cloud on AWS Support](#vmware-cloud-on-aws-support)
57
- [Quick Start Guide](#quick-start-guide)
68
- [Installing the required Python Packages](#installing-the-required-python-packages)
79
- [Setting up a vSphere Test Environment](#setting-up-a-vsphere-test-environment)
@@ -29,10 +31,13 @@ vSphere Automation and vSphere APIs. To support this combined use, the vSphere A
2931
samples require the vSphere Management SDK packages (pyVmomi) to be installed on the client.
3032
The samples have been developed to work with python 2.7.x and 3.3+
3133

32-
## Supported vCenter Releases:
34+
## Supported vCenter Releases
3335
vCenter 6.0 and 6.5.
3436
Certain APIs and samples that are introduced in 6.5 release, such as vCenter, Virtual Machine and Appliance Management. Please refer to the notes in each sample for detailed compatibility information.
3537

38+
## VMware Cloud on AWS Support
39+
The VMware Cloud on AWS API and samples are currently available as a preview and are subject to change in the future.
40+
3641
## Quick Start Guide
3742
This document will walk you through getting up and running with the Python SDK Samples.
3843
Prior to running the samples you will need to setup a vCenter test environment and
@@ -55,11 +60,13 @@ The required packages are:
5560
* pyVmomi
5661
* suds (suds-jurko for python3+)
5762
* vapi-client-bindings
63+
* vmc-client-bindings
64+
* vapi-vmc-client
5865

5966
These dependencies are listed in the requirements.txt file and installed using "pip install"; For more details on how to install python packages using pip please refer to the [pip user guide](http://pip.readthedocs.io/en/latest/user_guide/).
6067

6168
```cmd
62-
pip install -r requirements.txt --extra-index-url <file:///abs_path/to/sdk/lib/>
69+
pip install --upgrade --force-reinstall --no-cache -r requirements.txt --extra-index-url <file:///abs_path/to/sdk/lib/>
6370
```
6471

6572
**NOTE:** The SDK also requires OpenSSL 1.0.1+ if you want to connect to vSphere 6.5+ in order to support TLS1.1 & 1.2

doc/client.zip

26.8 KB
Binary file not shown.

doc/vmc.zip

251 KB
Binary file not shown.

lib/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ For python developers, client libraries are supplied for testing and development
44

55
Name | Description
66
------------------------------------| -------------
7-
vapi_runtime | vAPI runtime responsible for serialization/de-serialization of objects and wire protocol
7+
vapi_runtime | vAPI runtime responsible for serialization/de-serialization of objects and wire protocol
8+
vapi_vmc_client | Handles VMC CSP authentication process
89
vapi_client_bindings | Client stubs for vSphere Automation APIs
10+
vmc_client_bindings | Client stubs for VMware Cloud Services APIs

lib/index.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
<html><head><title>Simple Index</title><meta name='api-version' value='2' /></head><body>
2-
<a href='vapi-client-bindings/'>vapi-client-bindings</a><br />
3-
<a href='vapi-runtime/'>vapi-runtime</a><br />
4-
</body></html>
1+
<html>
2+
<head><title>Simple Index</title>
3+
<meta name='api-version' value='2'/>
4+
</head>
5+
<body>
6+
<a href='vapi-client-bindings/'>vapi-client-bindings</a><br/>
7+
<a href='vmc-client-bindings/'>vmc-client-bindings</a><br/>
8+
<a href='vapi-runtime/'>vapi-runtime</a><br/>
9+
</body>
10+
</html>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<a href='vapi_client_bindings-2.7.0-py2.py3-none-any.whl'>vapi_client_bindings-2.7.0-py2.py3-none-any.whl</a><br />
1+
<a href='vapi_client_bindings-1.0.0-py2.py3-none-any.whl'>vapi_client_bindings-1.0.0-py2.py3-none-any.whl</a><br />
284 KB
Binary file not shown.
-262 KB
Binary file not shown.

lib/vapi-runtime/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<a href='vapi_runtime-2.7.0-py2.py3-none-any.whl'>vapi_runtime-2.7.0-py2.py3-none-any.whl</a><br />
1+
<a href='vapi_runtime-2.7.1-py2.py3-none-any.whl'>vapi_runtime-2.7.1-py2.py3-none-any.whl</a><br />

0 commit comments

Comments
 (0)