Skip to content

Commit

Permalink
Merge pull request #593 from HewlettPackard/Release5.9.0
Browse files Browse the repository at this point in the history
Changes for Releasev5.9.0
  • Loading branch information
chebroluharika authored Nov 11, 2020
2 parents dfe964c + a180c80 commit 278653d
Show file tree
Hide file tree
Showing 9 changed files with 736 additions and 670 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
- name: Login to Docker Hub
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Build the tagged Docker image
run: docker build . --file Dockerfile --tag hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:${{ env.RELEASE_VERSION }}-OV5.4
run: docker build . --file Dockerfile --tag hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:${{ env.RELEASE_VERSION }}-OV5.5
- name: Push the tagged Docker image
run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:${{ env.RELEASE_VERSION }}-OV5.4
run: docker push hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:${{ env.RELEASE_VERSION }}-OV5.5
68 changes: 67 additions & 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.9.0(Unreleased)
## v5.9.0
This release extends the planned support of the modules to OneView REST API version 2200 (OneView v5.5) and ImageStreamer REST API version 2000 (I3S v5.4)

#### Bug fixes & Enhancements
Expand All @@ -19,6 +19,72 @@ This release extends the planned support of the modules to OneView REST API vers
- image_streamer_os_volume_facts
- image_streamer_plan_script
- image_streamer_plan_script_facts
- oneview_alert_facts.yml
- oneview_appliance_device_read_community.yml
- oneview_appliance_device_read_community_facts.yml
- oneview_appliance_time_and_locale_configuration.yml
- oneview_appliance_time_and_locale_configuration_facts.yml
- oneview_certificates_server
- oneview_certificates_server_facts
- oneview_connection_template
- oneview_connection_template_facts
- oneview_enclosure
- oneview_enclosure_facts
- oneview_enclosure_group
- oneview_enclosure_group_facts
- oneview_ethernet_network
- oneview_ethernet_network_facts
- oneview_fc_network
- oneview_fc_network_facts
- oneview_fcoe_network
- oneview_fcoe_network_facts
- oneview_hypervisor_manager
- oneview_hypervisor_manager_facts
- oneview_hypervisor_cluster_profile
- oneview_hypervisor_cluster_profile_facts
- oneview_interconnect
- oneview_interconnect_facts
- oneview_interconnect_type_facts
- oneview_interconnect_link_topology_facts.yml
- oneview_internal_link_set_facts.yml
- oneview_logical_downlink_facts.yml
- oneview_logical_enclosures
- oneview_logical_enclosures_facts
- oneview_logical_interconnect
- oneview_logical_interconnect_facts
- oneview_logical_interconnect_group
- oneview_logical_interconnect_group_facts
- oneview_login_detail_facts.yml
- oneview_network_set
- oneview_network_set_facts
- oneview_os_deployment_plan_facts.yml
- oneview_server_hardware
- oneview_server_hardware_facts
- oneview_server_hardware_type
- oneview_server_hardware_type_facts
- oneview_scope
- oneview_scope_facts
- oneview_server_profile
- oneview_server_profile_facts
- oneview_server_profile_template
- oneview_server_profile_template_facts
- oneview_storage_pool
- oneview_storage_pool_facts
- oneview_storage_system
- oneview_storage_system_facts
- oneview_storage_volume
- oneview_storage_volume_facts
- oneview_storage_volume_attachment
- oneview_storage_volume_attachment_facts
- oneview_storage_volume_template
- oneview_storage_volume_template_facts
- oneview_switch_type_facts.yml
- oneview_task_facts
- oneview_unmanaged_device.yml
- oneview_unmanaged_device_facts.yml
- oneview_uplink_set
- oneview_uplink_set_facts
- oneview_version_facts

## v5.8.0
This release extends the planned support of the modules to OneView REST API version 2000 (OneView v5.4)
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Build Status

| 5.40 Branch | 5.30 Branch | 5.20 Branch | 5.00 Branch |
| ------------- |:-------------:| -------------:| -------------:|
| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)
| 5.50 Branch | 5.40 Branch | 5.30 Branch | 5.20 Branch | 5.00 Branch |
| ------------- |:-------------:| -------------:| -------------:| -------------:|
| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)| ![Build status](https://ci.appveyor.com/api/projects/status/u84505l6syp70013?svg=true)


## Introduction
Expand All @@ -18,7 +18,7 @@ Each OneView resource operation is exposed through an Ansible module. Specific m

## What's New

HPE OneView Ansible library extends support of the SDK to OneView REST API version 2000 (OneView v5.40)
HPE OneView Ansible library extends support of the SDK to OneView REST API version 2200 (OneView v5.50)

Please refer to [notes](https://github.com/HewlettPackard/oneview-ansible/blob/master/CHANGELOG.md) for more information on the changes , features supported and issues fixed in this version

Expand All @@ -31,7 +31,7 @@ HPE OneView SDK for Ansible can be installed from Source and Docker container in
## Requirements
To run the Ansible modules provided in this project, we need the below :

Ansible >= 2.1
Ansible < 2.9
Python >= 3.4.2
HPE OneView Python SDK

Expand Down Expand Up @@ -62,12 +62,12 @@ The containerized version of the oneview-ansible modules is available in the [Do

#### Download and store a local copy of hpe-oneview-sdk-for-ansible and use it as a Docker image.
```bash
$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.8.0-OV5.4
$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.9.0-OV5.5
```

#### Run docker command which in turn will create a sh session where SDK user can create files, issue commands and execute playbooks
```bash
$ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.8.0-OV5.4 /bin/sh
$ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-ansible:v5.9.0-OV5.5 /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 All @@ -85,11 +85,11 @@ To use the Ansible OneView modules, connection properties for accessing the OneV
"authLoginDomain": "",
"password": "secret123"
},
"api_version": 2000
"api_version": 2200
}
```

The api_version specifies the version of the REST API to be invoked. When api_version is not specified, it will use `600` as the default value.
The api_version specifies the version of the REST API to be invoked. When api_version is not specified, it will take provided appliance API version as `api_version`.

If your environment requires a proxy, define the proxy properties in the JSON file using the following syntax:
```json
Expand Down Expand Up @@ -118,7 +118,7 @@ export ONEVIEWSDK_USERNAME='Administrator'
export ONEVIEWSDK_PASSWORD='secret123'

# Optional
export ONEVIEWSDK_API_VERSION='2000'
export ONEVIEWSDK_API_VERSION='2200'
export ONEVIEWSDK_AUTH_LOGIN_DOMAIN='authdomain'
export ONEVIEWSDK_PROXY='<proxy_host>:<proxy_port>'
```
Expand Down Expand Up @@ -146,7 +146,7 @@ This option allows the parameters `hostname`, `username`, `password`, `api_versi
hostname: 172.16.101.48
username: administrator
password: my_password
api_version: 2000
api_version: 2200
state: present
data:
name: "{{ network_name }}"
Expand All @@ -173,7 +173,7 @@ Ansible Vault feature may be leveraged for storing the credential of the user in
```yaml
# Required
ip: 172.168.1.1
api_version:2000
api_version:2200
username: Administrator
password: !vault |
$ANSIBLE_VAULT;1.1;AES256
Expand Down Expand Up @@ -217,17 +217,17 @@ Note: Most of the examples provided in this repository uses OneView Credentials

### Setting OneView API Version

The Ansible modules for HPE OneView support the API endpoints for HPE OneView 4.00, 4.10, 4.20, 5.00, 5.20, 5.30, 5.40 <br/>
The Ansible modules for HPE OneView support the API endpoints for HPE OneView 4.00, 4.10, 4.20, 5.00, 5.20, 5.30, 5.40, 5.50 <br/>
The current `default` HPE OneView version will pick the OneView appliance version.

To use a different API, you must set the API version together with your credentials, either using the JSON configuration:
```bash
"api_version": 2000
"api_version": 2200
```

OR using the Environment variable:
```bash
export ONEVIEWSDK_API_VERSION='2000'
export ONEVIEWSDK_API_VERSION='2200'
```

If this property is not specified, it will fall back to the default value.
Expand Down
Loading

0 comments on commit 278653d

Please sign in to comment.