diff --git a/CHANGELOG.md b/CHANGELOG.md index fed18cf4a..95fc7cdbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## v5.14.0 (unreleased) +## v5.14.0 #### Notes This release extends support to OneView Rest API version 1800 (OneView v5.30) for the hardware variants C7000 and Synergy to the following features: @@ -15,9 +15,9 @@ This release extends support to OneView Rest API version 1800 (OneView v5.30) fo - Hypervisor Manager - Interconnects - Interconnect Types +- LIG UplinkSet - Logical Enclosure - Logical Interconnect -- LIG UplinkSet - Logical Interconnect Group - Network Set - Scope diff --git a/README.md b/README.md index 49a3b0098..7cdb0fd87 100644 --- a/README.md +++ b/README.md @@ -18,17 +18,17 @@ The Docker Store image tag consist of two sections: ```bash # Download and store a local copy of oneview-sdk-ruby and # use it as a Docker image. -$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-ruby:v5.13.0-OV5.2 +$ docker pull hewlettpackardenterprise/hpe-oneview-sdk-for-ruby:v5.14.0-OV5.3 # Run docker commands below given, which will in turn create # a sh session where you can create files, issue commands and execute the examples. -$ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-ruby:v5.13.0-OV5.2 /bin/sh +$ docker run -it hewlettpackardenterprise/hpe-oneview-sdk-for-ruby:v5.14.0-OV5.3 /bin/sh ``` ### Local Setup - Require the gem in your Gemfile: ```ruby - gem 'oneview-sdk', '~> 5.2' + gem 'oneview-sdk', '~> 5.3' ``` Then run `$ bundle install` @@ -145,7 +145,7 @@ Configuration files can also be used to define client configuration (json or yam "url": "https://oneview.example.com", "user": "Administrator", "password": "secret123", - "api_version": 200 + "api_version": 1800 } ``` @@ -183,7 +183,7 @@ You may notice resource classes being accessed in a few different ways; for exam require 'oneview-sdk' # Show defaults: -OneviewSDK::SUPPORTED_API_VERSIONS # [200, 300, 500, 600, 800, 1000,1200, 1600] +OneviewSDK::SUPPORTED_API_VERSIONS # [200, 300, 500, 600, 800, 1000, 1200, 1600, 1800] OneviewSDK::DEFAULT_API_VERSION # 200 OneviewSDK.api_version # 200 OneviewSDK.api_version_updated? # false @@ -245,13 +245,18 @@ OneviewSDK::API1600::DEFAULT_VARIANT # 'C7000' OneviewSDK::API1600.variant # 'C7000' OneviewSDK::API1600.variant_updated? # false -# Likewise, we can set a new default variant for the API1600 module: -OneviewSDK::API1600.variant = 'Synergy' -OneviewSDK::API1600.variant # 'Synergy' -OneviewSDK::API1600.variant_updated? # true +OneviewSDK::API1800::SUPPORTED_VARIANTS # ['C7000', 'Synergy'] +OneviewSDK::API1800::DEFAULT_VARIANT # 'C7000' +OneviewSDK::API1800.variant # 'C7000' +OneviewSDK::API1800.variant_updated? # false + +# Likewise, we can set a new default variant for the API1800 module: +OneviewSDK::API1800.variant = 'Synergy' +OneviewSDK::API1800.variant # 'Synergy' +OneviewSDK::API1800.variant_updated? # true # Therefore, there is 1 more namespace level to the real resource class name OneviewSDK::EthernetNetwork # OneviewSDK::API300::C7000::EthernetNetwork -OneviewSDK::API1600::EthernetNetwork # OneviewSDK::API1600::C7000::EthernetNetwork +OneviewSDK::API1800::EthernetNetwork # OneviewSDK::API1800::C7000::EthernetNetwork ``` We understand that this can be confusing, so to avoid any confusion or unexpected behavior, we recommend specifying the full namespace identifier in your code. At the very least, set defaults explicitly using `OneviewSDK.api_version = ` and `OneviewSDK::API300.variant = `, as the defaults may change. diff --git a/endpoints-support.md b/endpoints-support.md index d1bfb9dcb..5c17cf2b3 100644 --- a/endpoints-support.md +++ b/endpoints-support.md @@ -77,7 +77,7 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove) |/rest/ethernet-networks | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |/rest/ethernet-networks | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |/rest/ethernet-networks/bulk | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | -|/rest/ethernet-networks/bulk-delete | POST | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | +|/rest/ethernet-networks/bulk-delete | POST | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | |/rest/ethernet-networks/{id} | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |/rest/ethernet-networks/{id} | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |/rest/ethernet-networks/{id} | PATCH | :white_check_mark: | :white_check_mark: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | @@ -96,7 +96,7 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove) | **FC Networks** | |/rest/fc-networks | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |/rest/fc-networks | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | -|/rest/fc-networks/bulk-delete | POST | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | +|/rest/fc-networks/bulk-delete | POST | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | |/rest/fc-networks/{id} | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |/rest/fc-networks/{id} | PATCH | :white_check_mark: | :white_check_mark: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | |/rest/fc-networks/{id} | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | @@ -104,7 +104,7 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove) | **FCoE Networks** | |/rest/fcoe-networks | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |/rest/fcoe-networks | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | -|/rest/fcoe-networks/bulk-delete | POST | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | +|/rest/fcoe-networks/bulk-delete | POST | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | |/rest/fcoe-networks/{id} | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | |/rest/fcoe-networks/{id} | PATCH | :white_check_mark: | :white_check_mark: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | |/rest/fcoe-networks/{id} | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | @@ -185,7 +185,7 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove) |/rest/logical-interconnect-groups/defaultSettings | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: |:white_check_mark: |:white_check_mark: | :white_check_mark: | :white_check_mark: | |/rest/logical-interconnect-groups/{id} | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: |:white_check_mark: |:white_check_mark: | :white_check_mark: | :white_check_mark: | |/rest/logical-interconnect-groups/{id} | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: |:white_check_mark: |:white_check_mark: | :white_check_mark: | :white_check_mark: | -|/rest/logical-interconnect-groups/{id} | PATCH | :white_check_mark: | :white_check_mark: | :heavy_minus_sign: |:heavy_minus_sign: |:heavy_minus_sign: |:heavy_minus_sign: | :white_check_mark: | :white_check_mark: | +|/rest/logical-interconnect-groups/{id} | PATCH | :white_check_mark: | :white_check_mark: | :heavy_minus_sign: |:heavy_minus_sign: |:heavy_minus_sign: |:heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | |/rest/logical-interconnect-groups/{id} | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: |:white_check_mark: |:white_check_mark: | :white_check_mark: | :white_check_mark: | |/rest/logical-interconnect-groups/{id}/settings | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: |:white_check_mark: |:white_check_mark: | :white_check_mark: | :white_check_mark: | | **Logical Interconnects** | diff --git a/examples/_client.rb.example b/examples/_client.rb.example index 93167605b..465422759 100644 --- a/examples/_client.rb.example +++ b/examples/_client.rb.example @@ -15,7 +15,7 @@ require 'pry' # This setting allows for use of the shortened name of the resources, like OneviewSDK::, # when referring to OneviewSDK::::Synergy:: -# Versions supported: [200, 300, 500, 600, 800, 1000, 1200, 1600] +# Versions supported: [200, 300, 500, 600, 800, 1000, 1200, 1600, 1800] # Variants supported[C7000, Synergy] # OneviewSDK::API.variant='Synergy' diff --git a/lib/oneview-sdk/version.rb b/lib/oneview-sdk/version.rb index b3377cd02..be9923882 100644 --- a/lib/oneview-sdk/version.rb +++ b/lib/oneview-sdk/version.rb @@ -11,5 +11,5 @@ # Gem version defined here module OneviewSDK - VERSION = '5.13.0'.freeze + VERSION = '5.14.0'.freeze end