From 9a9c2cb82f3acb4465e2660ad0162f99c4a097ce Mon Sep 17 00:00:00 2001 From: thiago-mio-amaral Date: Fri, 29 Jul 2016 13:52:44 -0300 Subject: [PATCH 1/6] Changed to version 2.0.0 --- lib/oneview-sdk/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oneview-sdk/version.rb b/lib/oneview-sdk/version.rb index 7dd4bb53d..b70f2a031 100644 --- a/lib/oneview-sdk/version.rb +++ b/lib/oneview-sdk/version.rb @@ -11,5 +11,5 @@ # Gem version defined here module OneviewSDK - VERSION = '1.0.0'.freeze + VERSION = '2.0.0'.freeze end From b6f10bb5cff0dacaf5dabb11a25101ddae67f70f Mon Sep 17 00:00:00 2001 From: thiago-mio-amaral Date: Fri, 29 Jul 2016 14:36:37 -0300 Subject: [PATCH 2/6] Added CHANGELOG for 2.0.0 --- CHANGELOG.md | 92 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 70 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e412855b5..8f1098c17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,32 +1,80 @@ -# v1.0.0 +# v2.0.0 ### Notes - This is the first release of the OneView SDK in Ruby and it adds full support to some core features listed bellow, with some execptions that are explicit. - This version of this SDK supports OneView appliances version 2.00.00 or higher, using the OneView Rest API version 200. - For now it only supports C7000 enclosure types. + This is the second version of the Ruby SDK for HPE OneView. It was given support to the major features of OneView, refactor in some of the already existing code, and also a full set of exceptions to make some common exceptions more explicit in the debugging process. + This version of this SDK officially supports OneView appliances version 2.00.00 or higher, using the OneView Rest API version 200. + For now only C7000 enclosure types are being supported. +### Major changes + 1. Added full support to the already existing features: + - Server Profile + - Server Profile Template + - Server Hardware + 2. New features added: + - Connection Templates + - Datacenter + - Fabrics + - Logical downlinks + - Logical switch groups + - Logical switches + - Switches + - SAN managers + - Managed SANs + - Network sets + - Power devices + - Racks + - Server hardware types + - Unmanaged devices + 3. Refactored some method names that may cause incompatibility with older SDK versions. Due to the nature of OneView, the `create` and `delete` methods did not fit the physical infrastructure elements like Enclosures, or Switches, so they now have `add` and `remove` methods that act the same as before, but now it leaves no margin to misunderstand that OneView could actually create these resources. They are: + - Datacenters + - Enclosure + - Power devices + - Racks + - Storage systems + - Storage pools + - Firmware drivers + - SAN managers + - Server hardwares + - Server hardware types + - Switches + - Unamanaged devices + 4. New exceptions to address the most common issues (Check them in *lib/oneview-sdk/resource/exceptions.rb*) -### Features supported -- Ethernet Network -- FC Network -- FCoE Network +### Full features support list +- Ethernet network +- FC network +- FCOE network +- Network set +- Connection template +- Fabric +- SAN manager +- Managed SAN - Interconnect -- Logical Interconnect -- Logical Interconnect Group -- Uplink Set +- Logical interconnect +- Logical interconnect group +- Uplink set +- Logical downlink - Enclosure -- Logical Enclosure -- Enclosure Group -- Firmware Bundle -- Firmware Driver -- Storage System -- Storage Pool +- Logical enclosure +- Enclosure group +- Firmware bundle +- Firmware driver +- Storage system +- Storage pool - Volume -- Volume Template -- Server Profile (CRUD supported) -- Server Profile Template (CRUD supported) -- Server Hardware (CRUD Supported) +- Volume template +- Datacenter +- Racks +- Logical switch group +- Logical switch +- Switch +- Power devices +- Server profile +- Server profile template +- Server hardware +- Server hardware type +- Unmanaged devices -### Know Issues +### Known Issues The integration tests may warn about 3 issues: 1. OneviewSDK::LogicalInterconnect Firmware Updates perform the actions Stage From 705fc64be13c0fef2967eff9710fe38fded6d19c Mon Sep 17 00:00:00 2001 From: thiago-mio-amaral Date: Fri, 29 Jul 2016 14:50:54 -0300 Subject: [PATCH 3/6] Added Changelog on top of the last one --- CHANGELOG.md | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f1098c17..89760dede 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,10 @@ - Racks - Server hardware types - Unmanaged devices - 3. Refactored some method names that may cause incompatibility with older SDK versions. Due to the nature of OneView, the `create` and `delete` methods did not fit the physical infrastructure elements like Enclosures, or Switches, so they now have `add` and `remove` methods that act the same as before, but now it leaves no margin to misunderstand that OneView could actually create these resources. They are: + 3. New exceptions to address the most common issues (Check them in *lib/oneview-sdk/resource/exceptions.rb*) + +### Breaking Changes + 1. Refactored some method names that may cause incompatibility with older SDK versions. Due to the nature of OneView, the `create` and `delete` methods did not fit the physical infrastructure elements like Enclosures, or Switches, so they now have `add` and `remove` methods that act the same as before, but now it leaves no margin to misunderstand that OneView could actually create these resources. They are: - Datacenters - Enclosure - Power devices @@ -37,9 +40,8 @@ - Server hardware types - Switches - Unamanaged devices - 4. New exceptions to address the most common issues (Check them in *lib/oneview-sdk/resource/exceptions.rb*) -### Full features support list +### Features supported - Ethernet network - FC network - FCOE network @@ -74,7 +76,35 @@ - Server hardware type - Unmanaged devices -### Known Issues +# v1.0.0 +### Notes + This is the first release of the OneView SDK in Ruby and it adds full support to some core features listed bellow, with some execptions that are explicit. + This version of this SDK supports OneView appliances version 2.00.00 or higher, using the OneView Rest API version 200. + For now it only supports C7000 enclosure types. + + +### Features supported +- Ethernet Network +- FC Network +- FCoE Network +- Interconnect +- Logical Interconnect +- Logical Interconnect Group +- Uplink Set +- Enclosure +- Logical Enclosure +- Enclosure Group +- Firmware Bundle +- Firmware Driver +- Storage System +- Storage Pool +- Volume +- Volume Template +- Server Profile (CRUD supported) +- Server Profile Template (CRUD supported) +- Server Hardware (CRUD Supported) + +### Know Issues The integration tests may warn about 3 issues: 1. OneviewSDK::LogicalInterconnect Firmware Updates perform the actions Stage From 56db4e6b415459a50b832122bd0df5fac5f20740 Mon Sep 17 00:00:00 2001 From: thiago-mio-amaral Date: Fri, 29 Jul 2016 14:53:15 -0300 Subject: [PATCH 4/6] Fixed typos in v1.0.0 --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89760dede..b764f3be8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -78,7 +78,7 @@ # v1.0.0 ### Notes - This is the first release of the OneView SDK in Ruby and it adds full support to some core features listed bellow, with some execptions that are explicit. + This is the first release of the OneView SDK in Ruby and it adds full support to some core features listed bellow, with some execeptions that are explicit. This version of this SDK supports OneView appliances version 2.00.00 or higher, using the OneView Rest API version 200. For now it only supports C7000 enclosure types. @@ -104,7 +104,7 @@ - Server Profile Template (CRUD supported) - Server Hardware (CRUD Supported) -### Know Issues +### Known Issues The integration tests may warn about 3 issues: 1. OneviewSDK::LogicalInterconnect Firmware Updates perform the actions Stage From 66808c1f726822259cc692e92d2e62ede36bdfc7 Mon Sep 17 00:00:00 2001 From: thiago-mio-amaral Date: Fri, 29 Jul 2016 15:59:10 -0300 Subject: [PATCH 5/6] Added Firmware bundle to breaking changes section --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b764f3be8..5f5d4c622 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,11 +35,12 @@ - Storage systems - Storage pools - Firmware drivers + - Firmware bundles - SAN managers - Server hardwares - Server hardware types - Switches - - Unamanaged devices + - Unmanaged devices ### Features supported - Ethernet network From 6646ff7d5d62a529c593fa6307d7352437ee951f Mon Sep 17 00:00:00 2001 From: thiago-mio-amaral Date: Fri, 29 Jul 2016 16:18:29 -0300 Subject: [PATCH 6/6] Complaince with HPE style guide --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f5d4c622..fe006153d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,7 +26,7 @@ - Unmanaged devices 3. New exceptions to address the most common issues (Check them in *lib/oneview-sdk/resource/exceptions.rb*) -### Breaking Changes +### Breaking changes 1. Refactored some method names that may cause incompatibility with older SDK versions. Due to the nature of OneView, the `create` and `delete` methods did not fit the physical infrastructure elements like Enclosures, or Switches, so they now have `add` and `remove` methods that act the same as before, but now it leaves no margin to misunderstand that OneView could actually create these resources. They are: - Datacenters - Enclosure @@ -35,7 +35,7 @@ - Storage systems - Storage pools - Firmware drivers - - Firmware bundles + - Firmware bundles (Only `add`) - SAN managers - Server hardwares - Server hardware types @@ -105,7 +105,7 @@ - Server Profile Template (CRUD supported) - Server Hardware (CRUD Supported) -### Known Issues +### Known issues The integration tests may warn about 3 issues: 1. OneviewSDK::LogicalInterconnect Firmware Updates perform the actions Stage