From ab217a28b4b6369c355da07a45f703e3510154cd Mon Sep 17 00:00:00 2001 From: Nabhajit Ray Date: Mon, 18 May 2020 14:14:00 +0530 Subject: [PATCH 1/4] API1600 support for image streamer Deployment plan and spec file --- CHANGELOG.md | 1 + endpoints-support.md | 18 ++++----- .../image-streamer/resource/api1600.rb | 39 +++++++++++++++++++ .../resource/api1600/build_plan.rb | 22 +++++++++++ .../resource/api1600/deployment_plan.rb | 22 +++++++++++ .../resource/api1600/golden_image.rb | 22 +++++++++++ .../resource/api1600/os_volume.rb | 22 +++++++++++ .../resource/api1600/plan_script.rb | 22 +++++++++++ lib/oneview-sdk/image_streamer.rb | 2 +- .../api1600/synergy/os_deployment_plan.rb | 22 +++++++++++ spec/spec_helper.rb | 2 +- spec/unit/image-streamer/client_spec.rb | 4 +- .../resource/api1600/build_plan_spec.rb | 9 +++++ .../resource/api1600/deployment_plan_spec.rb | 10 +++++ .../resource/api1600/golden_image_spec.rb | 10 +++++ .../resource/api1600/os_volume_spec.rb | 10 +++++ .../resource/api1600/plan_script_spec.rb | 10 +++++ .../image-streamer/resource/api1600_spec.rb | 9 +++++ 18 files changed, 243 insertions(+), 13 deletions(-) create mode 100644 lib/oneview-sdk/image-streamer/resource/api1600.rb create mode 100644 lib/oneview-sdk/image-streamer/resource/api1600/build_plan.rb create mode 100644 lib/oneview-sdk/image-streamer/resource/api1600/deployment_plan.rb create mode 100644 lib/oneview-sdk/image-streamer/resource/api1600/golden_image.rb create mode 100644 lib/oneview-sdk/image-streamer/resource/api1600/os_volume.rb create mode 100644 lib/oneview-sdk/image-streamer/resource/api1600/plan_script.rb create mode 100644 lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb create mode 100644 spec/unit/image-streamer/resource/api1600/build_plan_spec.rb create mode 100644 spec/unit/image-streamer/resource/api1600/deployment_plan_spec.rb create mode 100644 spec/unit/image-streamer/resource/api1600/golden_image_spec.rb create mode 100644 spec/unit/image-streamer/resource/api1600/os_volume_spec.rb create mode 100644 spec/unit/image-streamer/resource/api1600/plan_script_spec.rb create mode 100644 spec/unit/image-streamer/resource/api1600_spec.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index 90079f5d2..8f1d49a4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ This release extends support of the SDK to OneView REST API version 1600 (OneView v5.20). #### Features supported +- Deployment Plan - Enclosure - Enclosure Group - Logical Enclosure diff --git a/endpoints-support.md b/endpoints-support.md index 2c93d5916..6678c044e 100644 --- a/endpoints-support.md +++ b/endpoints-support.md @@ -486,8 +486,8 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove) ## HPE Synergy Image Streamer -| Endpoints | Verb | V300 | V500 | V600 | V800 | V1000 | V1020 | -| --------------------------------------------------------------------------------- | ------- | :----------------: | :----------------: | :----------------: | :----------------: | :----------------: | :----------------: | +| Endpoints | Verb | V300 | V500 | V600 | V800 | V1000 | V1020 | V1600 | +| --------------------------------------------------------------------------------- | ------- | :----------------: | :----------------: | :----------------: | :----------------: | :----------------: | :----------------: | :----------------: | | **Artifacts Bundle** | | /rest/artifact-bundles | GET | :white_check_mark: | | /rest/artifact-bundles | POST(create) | :white_check_mark: | @@ -508,13 +508,13 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove) | /rest/deployment-groups | GET | :white_check_mark: | | /rest/deployment-groups/{id} | GET | :white_check_mark: | | **Deployment Plans** | -| /rest/deployment-plans | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| /rest/deployment-plans | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| /rest/deployment-plans/{id} | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| /rest/deployment-plans/{id} | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| /rest/deployment-plans/{id} | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| /rest/deployment-plans/{id}/osdp | GET | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| /rest/deployment-plans/{id}/usedby | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | +| /rest/deployment-plans | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: | +| /rest/deployment-plans | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: | +| /rest/deployment-plans/{id} | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: | +| /rest/deployment-plans/{id} | PUT | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: | +| /rest/deployment-plans/{id} | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: | +| /rest/deployment-plans/{id}/osdp | GET | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: | +| /rest/deployment-plans/{id}/usedby | GET | :heavy_minus_sign: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |:white_check_mark: | | **Golden Images** | | /rest/golden-images | POST(create) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | | /rest/golden-images | POST(upload) | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | diff --git a/lib/oneview-sdk/image-streamer/resource/api1600.rb b/lib/oneview-sdk/image-streamer/resource/api1600.rb new file mode 100644 index 000000000..5488bcdd9 --- /dev/null +++ b/lib/oneview-sdk/image-streamer/resource/api1600.rb @@ -0,0 +1,39 @@ +# (c) Copyright 2020 Hewlett Packard Enterprise Development LP +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software distributed +# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. + +require_relative '../../resource' + +module OneviewSDK + # Module Image Streamer + module ImageStreamer + # Module API 1200 + module API1600 + # Get resource class that matches the type given + # @param [String] type Name of the desired class type + # @param [String] variant There is only 1 variant for this module, so this is not used. + # It exists only so that the parameters match API modules that do have multiple variants. + # @return [Class] Resource class or nil if not found + def self.resource_named(type, _variant = nil) + new_type = type.to_s.downcase.gsub(/[ -_]/, '') + constants.each do |c| + klass = const_get(c) + next unless klass.is_a?(Class) && klass < OneviewSDK::Resource + name = klass.name.split('::').last.downcase.delete('_').delete('-') + return klass if new_type =~ /^#{name}[s]?$/ + end + nil + end + end + end +end + +# Load all API-specific resources: +Dir[File.dirname(__FILE__) + '/api1600/*.rb'].each { |file| require file } diff --git a/lib/oneview-sdk/image-streamer/resource/api1600/build_plan.rb b/lib/oneview-sdk/image-streamer/resource/api1600/build_plan.rb new file mode 100644 index 000000000..5b0114c44 --- /dev/null +++ b/lib/oneview-sdk/image-streamer/resource/api1600/build_plan.rb @@ -0,0 +1,22 @@ +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# You may not use this file except in compliance with the License. +# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software distributed +# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. + +require_relative '../api1020/build_plan' + +module OneviewSDK + module ImageStreamer + module API1600 + # Build Plan resource implementation for Image Streamer + class BuildPlan < OneviewSDK::ImageStreamer::API1020::BuildPlan + end + end + end +end diff --git a/lib/oneview-sdk/image-streamer/resource/api1600/deployment_plan.rb b/lib/oneview-sdk/image-streamer/resource/api1600/deployment_plan.rb new file mode 100644 index 000000000..be5a75192 --- /dev/null +++ b/lib/oneview-sdk/image-streamer/resource/api1600/deployment_plan.rb @@ -0,0 +1,22 @@ +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# You may not use this file except in compliance with the License. +# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software distributed +# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. + +require_relative '../api1020/deployment_plan' + +module OneviewSDK + module ImageStreamer + module API1600 + # Deployment Plan resource implementation for Image Streamer + class DeploymentPlan < OneviewSDK::ImageStreamer::API1020::DeploymentPlan + end + end + end +end diff --git a/lib/oneview-sdk/image-streamer/resource/api1600/golden_image.rb b/lib/oneview-sdk/image-streamer/resource/api1600/golden_image.rb new file mode 100644 index 000000000..35c1c730b --- /dev/null +++ b/lib/oneview-sdk/image-streamer/resource/api1600/golden_image.rb @@ -0,0 +1,22 @@ +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# You may not use this file except in compliance with the License. +# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software distributed +# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. + +require_relative '../api1020/golden_image' + +module OneviewSDK + module ImageStreamer + module API1600 + # Golden Image resource implementation for Image Streamer + class GoldenImage < OneviewSDK::ImageStreamer::API1020::GoldenImage + end + end + end +end diff --git a/lib/oneview-sdk/image-streamer/resource/api1600/os_volume.rb b/lib/oneview-sdk/image-streamer/resource/api1600/os_volume.rb new file mode 100644 index 000000000..59ee54391 --- /dev/null +++ b/lib/oneview-sdk/image-streamer/resource/api1600/os_volume.rb @@ -0,0 +1,22 @@ +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# You may not use this file except in compliance with the License. +# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software distributed +# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. + +require_relative '../api1020/os_volume' + +module OneviewSDK + module ImageStreamer + module API1600 + # OS Volume resource implementation for Image Streamer + class OSVolume < OneviewSDK::ImageStreamer::API1020::OSVolume + end + end + end +end diff --git a/lib/oneview-sdk/image-streamer/resource/api1600/plan_script.rb b/lib/oneview-sdk/image-streamer/resource/api1600/plan_script.rb new file mode 100644 index 000000000..e6a1e5ba7 --- /dev/null +++ b/lib/oneview-sdk/image-streamer/resource/api1600/plan_script.rb @@ -0,0 +1,22 @@ +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# You may not use this file except in compliance with the License. +# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software distributed +# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. + +require_relative '../api1020/plan_script' + +module OneviewSDK + module ImageStreamer + module API1600 + # Plan Script resource implementation for Image Streamer + class PlanScript < OneviewSDK::ImageStreamer::API1020::PlanScript + end + end + end +end diff --git a/lib/oneview-sdk/image_streamer.rb b/lib/oneview-sdk/image_streamer.rb index 460d67909..6ac7fc175 100644 --- a/lib/oneview-sdk/image_streamer.rb +++ b/lib/oneview-sdk/image_streamer.rb @@ -19,7 +19,7 @@ module OneviewSDK # Module for interacting with the Image Streamer module ImageStreamer - SUPPORTED_API_VERSIONS = [300, 500, 600, 800, 1000, 1020].freeze + SUPPORTED_API_VERSIONS = [300, 500, 600, 800, 1000, 1020, 1600].freeze DEFAULT_API_VERSION = 300 @api_version = DEFAULT_API_VERSION @api_version_updated = false # Whether or not the API version has been set by the user diff --git a/lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb b/lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb new file mode 100644 index 000000000..0db84efd0 --- /dev/null +++ b/lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb @@ -0,0 +1,22 @@ +# (C) Copyright 2017 Hewlett Packard Enterprise Development LP +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# You may not use this file except in compliance with the License. +# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software distributed +# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR +# CONDITIONS OF ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. + +require_relative '../../api300/synergy/os_deployment_plan' + +module OneviewSDK + module API1600 + module Synergy + # Network set resource implementation for API1600 Synergy + class OSDeploymentPlan < OneviewSDK::API300::Synergy::OSDeploymentPlan + end + end + end +end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 96d235cd1..ce1578c5e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -117,7 +117,7 @@ # Mock appliance version and login api requests, as well as loading trusted certs allow_any_instance_of(OneviewSDK::Client).to receive(:appliance_api_version).and_return(1600) allow_any_instance_of(OneviewSDK::Client).to receive(:login).and_return('secretToken') - allow_any_instance_of(OneviewSDK::ImageStreamer::Client).to receive(:appliance_i3s_api_version).and_return(1020) + allow_any_instance_of(OneviewSDK::ImageStreamer::Client).to receive(:appliance_i3s_api_version).and_return(1600) allow(OneviewSDK::SSLHelper).to receive(:load_trusted_certs).and_return(nil) end diff --git a/spec/unit/image-streamer/client_spec.rb b/spec/unit/image-streamer/client_spec.rb index 585a15063..47351fa1a 100644 --- a/spec/unit/image-streamer/client_spec.rb +++ b/spec/unit/image-streamer/client_spec.rb @@ -51,11 +51,11 @@ end it 'warns if the api level is greater than the appliance api version' do - options = { url: 'https://oneview.example.com', token: 'token123', api_version: 1400 } + options = { url: 'https://oneview.example.com', token: 'token123', api_version: 1800 } client = nil expect { client = OneviewSDK::ImageStreamer::Client.new(options) } .to output(/is greater than the Image Streamer API version/).to_stdout_from_any_process - expect(client.api_version).to eq(1400) + expect(client.api_version).to eq(1800) end it 'sets @print_wait_dots to false by default' do diff --git a/spec/unit/image-streamer/resource/api1600/build_plan_spec.rb b/spec/unit/image-streamer/resource/api1600/build_plan_spec.rb new file mode 100644 index 000000000..6115c1c7a --- /dev/null +++ b/spec/unit/image-streamer/resource/api1600/build_plan_spec.rb @@ -0,0 +1,9 @@ +require 'spec_helper' + +klass = OneviewSDK::ImageStreamer::API1600::BuildPlan +RSpec.describe klass do + include_context 'shared context' + it 'inherits from API1020' do + expect(described_class).to be < OneviewSDK::ImageStreamer::API1020::BuildPlan + end +end diff --git a/spec/unit/image-streamer/resource/api1600/deployment_plan_spec.rb b/spec/unit/image-streamer/resource/api1600/deployment_plan_spec.rb new file mode 100644 index 000000000..a17193dd2 --- /dev/null +++ b/spec/unit/image-streamer/resource/api1600/deployment_plan_spec.rb @@ -0,0 +1,10 @@ +require 'spec_helper' + +klass = OneviewSDK::ImageStreamer::API1600::DeploymentPlan +RSpec.describe klass do + include_context 'shared context' + + it 'inherits from API1020' do + expect(described_class).to be < OneviewSDK::ImageStreamer::API1020::DeploymentPlan + end +end diff --git a/spec/unit/image-streamer/resource/api1600/golden_image_spec.rb b/spec/unit/image-streamer/resource/api1600/golden_image_spec.rb new file mode 100644 index 000000000..29f996951 --- /dev/null +++ b/spec/unit/image-streamer/resource/api1600/golden_image_spec.rb @@ -0,0 +1,10 @@ +require 'spec_helper' + +klass = OneviewSDK::ImageStreamer::API1600::GoldenImage +RSpec.describe klass do + include_context 'shared context' + + it 'inherits from API1020' do + expect(described_class).to be < OneviewSDK::ImageStreamer::API1020::GoldenImage + end +end diff --git a/spec/unit/image-streamer/resource/api1600/os_volume_spec.rb b/spec/unit/image-streamer/resource/api1600/os_volume_spec.rb new file mode 100644 index 000000000..dffc7c8db --- /dev/null +++ b/spec/unit/image-streamer/resource/api1600/os_volume_spec.rb @@ -0,0 +1,10 @@ +require 'spec_helper' + +klass = OneviewSDK::ImageStreamer::API1600::OSVolume +RSpec.describe klass do + include_context 'shared context' + + it 'inherits from API1020' do + expect(described_class).to be < OneviewSDK::ImageStreamer::API1020::OSVolume + end +end diff --git a/spec/unit/image-streamer/resource/api1600/plan_script_spec.rb b/spec/unit/image-streamer/resource/api1600/plan_script_spec.rb new file mode 100644 index 000000000..4d1388977 --- /dev/null +++ b/spec/unit/image-streamer/resource/api1600/plan_script_spec.rb @@ -0,0 +1,10 @@ +require 'spec_helper' + +klass = OneviewSDK::ImageStreamer::API1600::PlanScript +RSpec.describe klass do + include_context 'shared context' + + it 'inherits from AP1020' do + expect(described_class).to be < OneviewSDK::ImageStreamer::API1020::PlanScript + end +end diff --git a/spec/unit/image-streamer/resource/api1600_spec.rb b/spec/unit/image-streamer/resource/api1600_spec.rb new file mode 100644 index 000000000..fdb566018 --- /dev/null +++ b/spec/unit/image-streamer/resource/api1600_spec.rb @@ -0,0 +1,9 @@ +require 'spec_helper' + +RSpec.describe OneviewSDK::ImageStreamer::API1600 do + describe '#resource_named' do + it 'gets the correct resource class' do + expect(described_class.resource_named('PlanScript')).to eq(described_class::PlanScript) + end + end +end From 1fb175084e75a58f1a049a69e80cbb145e74268b Mon Sep 17 00:00:00 2001 From: nabhajit-ray <62326750+nabhajit-ray@users.noreply.github.com> Date: Mon, 18 May 2020 14:51:45 +0530 Subject: [PATCH 2/4] Update os_deployment_plan.rb --- lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb b/lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb index 0db84efd0..fa33712f2 100644 --- a/lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb +++ b/lib/oneview-sdk/resource/api1600/synergy/os_deployment_plan.rb @@ -1,4 +1,4 @@ -# (C) Copyright 2017 Hewlett Packard Enterprise Development LP +# (C) Copyright 2020 Hewlett Packard Enterprise Development LP # # Licensed under the Apache License, Version 2.0 (the "License"); # You may not use this file except in compliance with the License. From 793fefd22149300b37ff94f1b1a0a7af157cf574 Mon Sep 17 00:00:00 2001 From: nabhajit-ray <62326750+nabhajit-ray@users.noreply.github.com> Date: Mon, 18 May 2020 14:56:19 +0530 Subject: [PATCH 3/4] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f1d49a4e..5e00faa65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This release extends support of the SDK to OneView REST API version 1600 (OneVie - Enclosure - Enclosure Group - Logical Enclosure +- OS Deployment Plan - Server Hardware - Server Hardware Type - Server Profile Template From 86fb3fb7581e977315952b185242e7683c47d539 Mon Sep 17 00:00:00 2001 From: nabhajit-ray <62326750+nabhajit-ray@users.noreply.github.com> Date: Mon, 18 May 2020 15:58:00 +0530 Subject: [PATCH 4/4] Update api1600.rb --- lib/oneview-sdk/image-streamer/resource/api1600.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oneview-sdk/image-streamer/resource/api1600.rb b/lib/oneview-sdk/image-streamer/resource/api1600.rb index 5488bcdd9..1794fad57 100644 --- a/lib/oneview-sdk/image-streamer/resource/api1600.rb +++ b/lib/oneview-sdk/image-streamer/resource/api1600.rb @@ -14,7 +14,7 @@ module OneviewSDK # Module Image Streamer module ImageStreamer - # Module API 1200 + # Module API 1600 module API1600 # Get resource class that matches the type given # @param [String] type Name of the desired class type