Skip to content

Commit 65e7aa1

Browse files
committed
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 <[email protected]>
1 parent 8503fcd commit 65e7aa1

File tree

12 files changed

+13
-13
lines changed

12 files changed

+13
-13
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ python:
44
- "3.6"
55
# command to install dependencies
66
install:
7-
- pip install -r requirements.txt --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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Python may be outdated and/or not be intended for development and we recommended
5454
The required packages 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/).
5555

5656
```cmd
57-
pip install -r requirements.txt
57+
pip install -r requirements.txt --extra-index-url <file:///abs_path/to/sdk/lib/>
5858
```
5959

6060
### Setting up a vSphere Test Environment

doc/client.zip

-19.8 KB
Binary file not shown.

lib/README.md

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

55
Name | Description
66
------------------------------------| -------------
7-
vapi_runtime-\<version>.zip | vAPI runtime responsible for serialization/de-serialization of objects and wire protocol
8-
vapi_common_client-\<version>.zip | vAPI common client code
9-
vapi_client_bindings-\<version>.zip | client stubs for vSphere Automation APIs
7+
vapi_runtime | vAPI runtime responsible for serialization/de-serialization of objects and wire protocol
8+
vapi_client_bindings | Client stubs for vSphere Automation APIs

lib/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
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>

lib/vapi-client-bindings/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +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 />
Binary file not shown.

lib/vapi-runtime/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +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 />
Binary file not shown.

requirements.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
pyOpenSSL >= 0.14
21
pyVmomi >= 6.5
3-
lxml
42
suds ; python_version < '3'
53
suds-jurko ; python_version >= '3.0'
6-
lib/vapi_runtime-2.5.0.zip
7-
lib/vapi_common_client-2.5.0.zip
8-
lib/vapi_client_bindings-2.5.0.zip
4+
vapi-client-bindings

samples/vsphere/vcenter/setup/testbed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
1616

1717
config = {}
18-
config["SERVER"] = "10.192.248.66"
18+
config["SERVER"] = ""
1919
config["USERNAME"] = "[email protected]"
20-
config["PASSWORD"] = "Admin!23"
20+
config["PASSWORD"] = "VMware1!"
2121

2222
config["ESX_HOST1"] = ""
2323
config["ESX_HOST2"] = ""

test-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
testtools>=0.9.34
2-
vcrpy

0 commit comments

Comments
 (0)