Skip to content

Commit

Permalink
Merge pull request #506 from HewlettPackard/feature_0
Browse files Browse the repository at this point in the history
PR for config changes #API3000
  • Loading branch information
VenkateshRavula authored Jul 1, 2021
2 parents fd4612f + c2726ec commit bace584
Show file tree
Hide file tree
Showing 84 changed files with 1,364 additions and 252 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
## 6.2.0(unreleased)
### Notes
- This release extends support of the SDK to OneView REST API version 3000 (OneView v6.20).

### Oneview Features supported
- oneview_connection_template
- oneview_enclosure
- oneview_enclosure_group
- oneview_ethernet_network
- oneview_fc_network
- oneview_fcoe_network
- oneview_firmware
- oneview_hypervisor_cluster_profile
- oneview_hypervisor_manager
- oneview_interconnect
- oneview_logical_enclosure
- oneview_logical_interconnect
- oneview_logical_interconnect_group
- oneview_network_set
- oneview_scope
- oneview_server_certificate
- oneview_server_hardware
- oneview_server_hardware_type
- oneview_server_profile
- oneview_server_profile_template
- oneview_storage_pool
- oneview_storage_system
- oneview_uplink_set
- oneview_volume
- oneview_volume_attachment
- oneview_volume_template

## 6.1.0
### Notes
- This release extends support of the SDK to OneView REST API version 2800 (OneView v6.10) and ImageStreamer REST API version 2020 (I3S v6.10).
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gem 'chefspec'
gem 'codeclimate-test-reporter'
gem 'cucumber-core', '~> 3.2.1'
gem 'foodcritic', '~> 7.1.0'
gem 'oneview-sdk', '~> 6.1.0'
gem 'oneview-sdk', '~> 6.2.0'
gem 'pry'
gem 'rubocop', '~> 0.49.1'
gem 'simplecov', '~> 0.17.1'
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

## Build Status

OV Version | 6.10 | 6.00 | 5.60 | 5.50 |
| ------------- |:-------------:| -------------:| -------------:| -------------:|
SDK Version/Tag | [v6.1.0](https://github.com/HewlettPackard/oneview-chef/releases/tag/v6.1.0) | [v6.0.0](https://github.com/HewlettPackard/oneview-chef/releases/tag/v6.0.0) | [v3.8.0](https://github.com/HewlettPackard/oneview-chef/releases/tag/v3.8.0) | [v3.7.0](https://github.com/HewlettPackard/oneview-chef/releases/tag/v3.7.0) |
Build Status | [![Build status](https://api.travis-ci.org/HewlettPackard/oneview-chef.svg?branch=master&status=passed)](https://travis-ci.org/github/HewlettPackard/oneview-chef/builds/767953861)| [![Build status](https://api.travis-ci.org/HewlettPackard/oneview-chef.svg?branch=master&status=passed)](https://travis-ci.org/github/HewlettPackard/oneview-chef/builds/762275325)| [![Build status](https://api.travis-ci.org/HewlettPackard/oneview-chef.svg?branch=master&status=passed)](https://travis-ci.org/github/HewlettPackard/oneview-chef/builds/758660240)| ![Build status](https://api.travis-ci.org/HewlettPackard/oneview-chef.svg?branch=master&status=passed)|
OV Version | 6.20 | 6.10 | 6.00 | 5.60 | 5.50 |
| ------------- |:-------------:| -------------:| -------------:| -------------:| -------------:|
SDK Version/Tag | [v6.2.0](https://github.com/HewlettPackard/oneview-chef/releases/tag/v6.2.0) | [v6.1.0](https://github.com/HewlettPackard/oneview-chef/releases/tag/v6.1.0) | [v6.0.0](https://github.com/HewlettPackard/oneview-chef/releases/tag/v6.0.0) | [v3.8.0](https://github.com/HewlettPackard/oneview-chef/releases/tag/v3.8.0) | [v3.7.0](https://github.com/HewlettPackard/oneview-chef/releases/tag/v3.7.0) |
Build Status | [![Build status](https://api.travis-ci.org/HewlettPackard/oneview-chef.svg?branch=master&status=passed)](https://travis-ci.org/github/HewlettPackard/oneview-chef/builds)| [![Build status](https://api.travis-ci.org/HewlettPackard/oneview-chef.svg?branch=master&status=passed)](https://travis-ci.org/github/HewlettPackard/oneview-chef/builds/767953861)| [![Build status](https://api.travis-ci.org/HewlettPackard/oneview-chef.svg?branch=master&status=passed)](https://travis-ci.org/github/HewlettPackard/oneview-chef/builds/762275325)| [![Build status](https://api.travis-ci.org/HewlettPackard/oneview-chef.svg?branch=master&status=passed)](https://travis-ci.org/github/HewlettPackard/oneview-chef/builds/758660240)| ![Build status](https://api.travis-ci.org/HewlettPackard/oneview-chef.svg?branch=master&status=passed)|

## Introduction

Expand All @@ -15,7 +15,7 @@ The HPE OneView Chef SDK enables developers to easily build integrations and sca

## What's New

HPE OneView Chef library extends support of the SDK to OneView REST API version 2800 (OneView v6.10)
HPE OneView Chef library extends support of the SDK to OneView REST API version 3000 (OneView v6.20)

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

Expand All @@ -36,10 +36,10 @@ The light weight containerized version of the HPE OneView SDK for Chef is availa
```bash
# Download and store a local copy of oneview-chef and
# use it as a Docker image.
$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-chef:v6.1.0-OV6.1
$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-chef:v6.2.0-OV6.2
# Run docker commands below given, which will in turn create
# a sh session where you can create files, issue commands and execute the recipes.
$ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-chef:v6.1.0-OV6.1 /bin/sh
$ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-chef:v6.2.0-OV6.2 /bin/sh
```

## Local Setup for oneview-chef
Expand All @@ -57,7 +57,7 @@ $ cd oneview

### Local installation requires the gem in your Gemfile:
```ruby
gem 'oneview-sdk', '~> 6.1.0'
gem 'oneview-sdk', '~> 6.2.0'
```
### Install Chef Sdk dependencies from Gemfile

Expand All @@ -70,7 +70,7 @@ The cookbook 'metadata' is not intended to include any recipes instead specifies

```ruby
# my_cookbook/metadata.rb
depends 'oneview', '~> 6.1.0'
depends 'oneview', '~> 6.2.0'
```

## Credentials
Expand Down Expand Up @@ -116,7 +116,7 @@ my_client = {
url: 'https://example.com',
user: 'username',
password: 'password',
api_version: 2800
api_version: 3000
}
```

Expand All @@ -130,7 +130,7 @@ The following are the standard properties available for all resources. Some reso
```ruby
oneview_ethernet_network 'Eth1' do
client my_client
api_version 2800
api_version 3000
api_variant 'Synergy'
data(
vlanId: 1001,
Expand Down
2 changes: 1 addition & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# Set which version of the SDK to install and use:
# Warning: Changing the SDK version may cause issues within the Cookbook
# Edit only if you know exactly what are you doing
default['oneview']['ruby_sdk_version'] = '~> 6.1.0'
default['oneview']['ruby_sdk_version'] = '~> 6.2.0'

# Save resource info to a node attribute? Possible values/types:
# - true : Save all info (Merged hash of OneView info and Chef resource properties)
Expand Down
Loading

0 comments on commit bace584

Please sign in to comment.