Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit b219f1a

Browse files
authored
Merge pull request #307 from HewlettPackard/doc_fix/hpe-api-settings
Enhancements to setting your OV api version documentation
2 parents 294a2d9 + 9ccab12 commit b219f1a

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,22 +131,30 @@ OR export the `ONEVIEWSDK_PROXY` environment variable:
131131
export ONEVIEWSDK_PROXY='<proxy_host>:<proxy_port>'
132132
```
133133

134-
### OneView 3.0
134+
### Setting your OneView version
135135

136-
The OneView Python SDK supports the new API endpoints for OneView 3.0 and for HPE Synergy.
137-
To access this feature, you must set the API version on the OneViewClient configuration, either using the JSON configuration:
136+
The OneView Python SDK supports the API endpoints for HPE OneView 2.0, 3.0 and 3.10.
137+
138+
The current `default` HPE OneView version used by the Python SDK is `3.00`, API `300`.
139+
140+
To use a different API, you must set the API version on the OneViewClient configuration, either using the JSON configuration:
138141

139142
```json
140-
"api_version": 300
143+
"api_version": 500
141144
```
142145
OR using the Environment variable:
143146

144147
```bash
145-
export ONEVIEWSDK_API_VERSION='300'
148+
export ONEVIEWSDK_API_VERSION='500'
146149
```
147150

148151
If this property is not specified, it will fall back to the ```300``` default value.
149152

153+
The API list is as follows:
154+
155+
- HPE OneView 2.0 API version: `200`
156+
- HPE OneView 3.0 API version: `300`
157+
- HPE OneView 3.10 API version: `500`
150158

151159
### HPE Synergy Image Streamer
152160

0 commit comments

Comments
 (0)