Skip to content

Commit

Permalink
Merge pull request #333 from HewlettPackard/2600Validation
Browse files Browse the repository at this point in the history
Changes for 2600 Validation
  • Loading branch information
yuvirani authored Mar 10, 2021
2 parents c981de7 + 20bd9bc commit a64e411
Show file tree
Hide file tree
Showing 9 changed files with 368 additions and 326 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
- name: Send test coverage report to codecov.io
uses: codecov/codecov-action@v1
with:
file: ./coverage/.resultset.json
files: ./coverage/.resultset.json
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
# v6.0.0(2021-03-10)
### Notes
- This release extends support of the SDK to Oneview REST API version 2600 (OneView v6.00) and ImageStreamer REST API version 2010 (I3S v6.00).

### Oneview Features supported
- Connection Template
- Enclosure
- Enclosure Group
- Ethernet Network
- FC Network
- FCOE Network
- Hypervisor Cluster Profile
- Hypervisor Manager
- Interconnect
- Interconnect Types
- Logical Enclosure
- Logical Interconnect
- Logical Interconnect Groups
- Network Set
- OS Deployment Plan
- Server Certificate
- Server Hardware
- Server Hardware Type
- Server Profile
- Server Profile Template
- Storage Pool
- Storage System
- Storage Volume Template
- Uplink Set
- Volume
- Volume Attachment

### Image Streamer support
- Artifact Bundle
- Build Plan
- Deployment Group
- Deployment Plan
- Golden Image
- OS Volume
- Plan Script


# v2.10.0(2021-02-16)
### Notes
- This release extends support of the SDK to Oneview REST API version 2400 (OneView v5.60).
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ gem 'codecov', require: false, group: :test
gem 'coveralls', '0.8.21', require: false
gem 'facter', '>= 1.7.0'
gem 'metadata-json-lint'
gem 'oneview-sdk', '~>5.18.0'
gem 'oneview-sdk', '~> 6.0.0'
gem 'pdk'
gem 'pry'
gem 'puppet', '>= 4.1'
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# HPE OneView SDK for Puppet

## Build Status
OV Version | 5.60 | 5.50 | 5.40 | 5.30 |
OV Version | 6.00 | 5.60 | 5.50 | 5.40 |
| ------------- |:-------------:| -------------:| -------------:| -------------:|
SDK Version/Tag | [v2.10.0](https://github.com/HewlettPackard/oneview-puppet/releases/tag/v2.10.0) | [v2.9.0](https://github.com/HewlettPackard/oneview-puppet/releases/tag/v2.9.0) | [v2.8.0](https://github.com/HewlettPackard/oneview-puppet/releases/tag/v2.8.0) | [v2.7.0](https://github.com/HewlettPackard/oneview-puppet/releases/tag/v2.7.0) |
SDK Version/Tag | [v6.0.0](https://github.com/HewlettPackard/oneview-puppet/releases/tag/v6.0.0) | [v2.10.0](https://github.com/HewlettPackard/oneview-puppet/releases/tag/v2.10.0) | [v2.9.0](https://github.com/HewlettPackard/oneview-puppet/releases/tag/v2.9.0) | [v2.8.0](https://github.com/HewlettPackard/oneview-puppet/releases/tag/v2.8.0) |
Build Status | ![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)|


Expand All @@ -21,7 +21,7 @@ For more information on the Puppet Module for HPE OneView resource types and the

## What's New

HPE OneView Puppet library extends support of the SDK to OneView REST API version 2400 (OneView v5.60)
HPE OneView Puppet library extends support of the SDK to OneView REST API version 2600 (OneView v6.00)

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

Expand Down Expand Up @@ -129,7 +129,7 @@ All you need is Docker and git (optional).
```bash
# Download and store a local copy of hpe-oneview-sdk-for-puppet and
# use it as a Docker image.
$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-puppet:v2.10.0-OV5.6
$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-puppet:v6.0.0-OV6.0
# Run docker container with below commands.
$docker run -it --rm \
-v $(pwd)/:/puppet
Expand All @@ -138,8 +138,8 @@ All you need is Docker and git (optional).
-e ONEVIEW_PASSWORD='secret123' \
-e ONEVIEW_SSL_ENABLED=true, \
-e ONEVIEW_LOG_LEVEL='info' \
-e ONEVIEW_API_VERSION=800 \
hewlettpackardenterprise/hpe-oneview-sdk-for-puppet:v2.10.0-OV5.6 puppet apply fc_network.pp --debug --trace
-e ONEVIEW_API_VERSION=2600 \
hewlettpackardenterprise/hpe-oneview-sdk-for-puppet:v6.0.0-OV6.0 puppet apply fc_network.pp --debug --trace
```
Now you can run any of the example manifests in this directory:
```bash
Expand All @@ -154,7 +154,7 @@ All you need is Docker and git (optional).
-e ONEVIEW_PASSWORD='secret123' \
-e ONEVIEW_SSL_ENABLED=true, \
-e ONEVIEW_LOG_LEVEL='info' \
-e ONEVIEW_API_VERSION=2000 \
-e ONEVIEW_API_VERSION=2600 \
puppet-oneview puppet apply fc_network.pp --debug --trace
```
To run an Image Streamer example manifests:
Expand All @@ -164,7 +164,7 @@ All you need is Docker and git (optional).
$ docker run -it --rm \
-v $(pwd)/:/puppet
-e IMAGE_STREAMER_URL= 'https://imagestreamer.example.com' \
-e IMAGE_STREAMER_API_VERSION=600 \
-e IMAGE_STREAMER_API_VERSION=2010 \
-e IMAGE_STREAMER_LOG_LEVEL='info' \
-e IMAGE_STREAMER_SSL_ENABLED=true \
puppet-oneview puppet apply image_streamer/deployment_plan.pp --debug --trace
Expand Down
38 changes: 19 additions & 19 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
#codecov:
# notify:
# require_ci_to_pass: yes
#
#coverage:
# precision: 2
# round: down
# range: "70...100"
#
# status:
# project:
# default:
# threshold: 1
# target: 90% #overall project/ repo coverage
# # Disable patch since it is noisy and not correct
# patch:
# default:
# enabled: no
# if_not_found: success
codecov:
notify:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "70...100"

status:
project:
default:
threshold: 1
target: 90% #overall project/ repo coverage
# Disable patch since it is noisy and not correct
patch:
default:
enabled: no
if_not_found: success

comment: false
Loading

0 comments on commit a64e411

Please sign in to comment.