Skip to content

Commit

Permalink
Merge pull request #562 from HewlettPackard/Release5.7
Browse files Browse the repository at this point in the history
Changes for Release v5.7.0
  • Loading branch information
chebroluharika authored Jul 24, 2020
2 parents d12e117 + e9b8758 commit 55b2a98
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ansible Modules for HPE OneView Change Log
## v5.7.0 (Unreleased)
## v5.7.0

This release extends the planned support of the modules to OneView REST API version 1800 (OneView v5.3)

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ LABEL maintainer "Priyanka Sood <priyanka.sood@hpe.com>"

WORKDIR /root

ENV ONEVIEW_ANSIBLE_VERSION=5.4.0
ENV ONEVIEW_ANSIBLE_VERSION=5.7.0

RUN DEBIAN_FRONTEND=noninteractive \
apt-get update -y \
&& apt-get install --no-install-recommends -y \
openssh-client curl \
&& apt-get clean \
&& apt-get autoremove -y \
&& pip install pyOpenSSL ansible hpOneView==5.0.0 \
&& pip install pyOpenSSL ansible hpOneView \
&& rm -rf /var/lib/apt/lists/* /tmp/* /root/.cache \
&& curl -SL https://github.com/HewlettPackard/oneview-ansible/archive/v${ONEVIEW_ANSIBLE_VERSION}.tar.gz | \
tar xz \
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ The Docker Store image `tag` consist of two sections: `<sdk_version-OV_version>`
```bash
#Download and store a local copy of hpe-oneview-sdk-for-ansible and
# use it as a Docker image.
$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.6.0-OV5.2
$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.7.0-OV5.3
# Run docker commands using the below command and this will in turn create
# a sh session where you can create files, issue commands and execute playbooks
$ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.6.0-OV5.2 /bin/sh
$ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.7.0-OV5.3 /bin/sh
```
There is also a [how-to guide](https://github.com/HewlettPackard/oneview-ansible-samples/blob/master/oneview-ansible-in-container/oneview-ansible-in-container.md) with instructions on how to use the container without creating a sh session.

Expand Down Expand Up @@ -119,7 +119,7 @@ example:
"authLoginDomain": "",
"password": "secret123"
},
"api_version": 1600
"api_version": 1800
}
```

Expand Down Expand Up @@ -154,7 +154,7 @@ export ONEVIEWSDK_USERNAME='Administrator'
export ONEVIEWSDK_PASSWORD='secret123'
# Optional
export ONEVIEWSDK_API_VERSION='1600' # default value is 600
export ONEVIEWSDK_API_VERSION='1800' # default value is 600
export ONEVIEWSDK_AUTH_LOGIN_DOMAIN='authdomain'
export ONEVIEWSDK_PROXY='<proxy_host>:<proxy_port>'
```
Expand Down Expand Up @@ -183,7 +183,7 @@ This option allows the parameters `hostname`, `username`, `password`, `api_versi
hostname: 172.16.101.48
username: administrator
password: my_password
api_version: 1600
api_version: 1800
state: present
data:
name: "{{ network_name }}"
Expand Down Expand Up @@ -212,7 +212,7 @@ Note: This password will be used to run the playbook.
```yaml
# Required
ip: 172.168.1.1
api_version:1600
api_version:1800
username: Administrator
password: !vault |
$ANSIBLE_VAULT;1.1;AES256
Expand Down Expand Up @@ -264,12 +264,12 @@ The current `default` HPE OneView version used by the modules is `4.00`, API `60
To use a different API, you must set the API version together with your credentials, either using the JSON configuration:

```json
"api_version": 1600
"api_version": 1800
```
OR using the Environment variable:

```bash
export ONEVIEWSDK_API_VERSION='1600'
export ONEVIEWSDK_API_VERSION='1800'
```

If this property is not specified, it will fall back to the ```600``` default value.
Expand All @@ -281,7 +281,7 @@ The API list is as follows:
- HPE OneView 4.20 API version: `1000`
- HPE OneView 5.00 API version: `1200`
- HPE OneView 5.20 API version: `1600`

- HPE OneView 5.30 API version: `1800`

### 6. HPE Synergy Image Streamer

Expand Down
12 changes: 6 additions & 6 deletions endpoints-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,12 +329,12 @@
|<sub>/rest/sas-logical-jbods/{id}</sub> | GET | :white_check_mark: |
|<sub>/rest/sas-logical-jbods/{id}/drives</sub> | GET | :white_check_mark: |
| **Scopes** |
|<sub>/rest/scopes</sub> | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/scopes</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/scopes/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/scopes/{id}</sub> | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/scopes/{id}</sub> | PATCH | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/scopes/{id}</sub> | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/scopes</sub> | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/scopes</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/scopes/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/scopes/{id}</sub> | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/scopes/{id}</sub> | PATCH | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/scopes/{id}</sub> | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Server Hardware** |
|<sub>/rest/server-hardware</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/server-hardware</sub> | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
Expand Down
2 changes: 1 addition & 1 deletion examples/oneview_server_hardware_type_facts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
###
# Below example work till Oneview REST API Version 1600.

---
- hosts: all
vars:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ansible
hpICsp
hpOneView==5.2.1
hpOneView==5.3.0

0 comments on commit 55b2a98

Please sign in to comment.