diff --git a/CHANGELOG.md b/CHANGELOG.md index 5978f6791..71c7af624 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ #### Features Supported This release adds support to OneView Rest API version 800/1000/1200 for the hardware variants C7000 and Synergy to the already existing features: - Connection Template +- Firmware Driver ## v5.8.0 diff --git a/endpoints-support.md b/endpoints-support.md index 170f413b6..a39a5a7e8 100644 --- a/endpoints-support.md +++ b/endpoints-support.md @@ -109,10 +109,10 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove) | **Firmware Bundles** | |/rest/firmware-bundles | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | | **Firmware Drivers** | -|/rest/firmware-drivers | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | -|/rest/firmware-drivers | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | -|/rest/firmware-drivers/{id} | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | -|/rest/firmware-drivers/{id} | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | +|/rest/firmware-drivers | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | +|/rest/firmware-drivers | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: | +|/rest/firmware-drivers/{id} | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | +|/rest/firmware-drivers/{id} | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: | | **Hypervisor Managers** | |/rest/hypervisor-managers | GET | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | |/rest/hypervisor-managers | POST | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: | diff --git a/lib/oneview-sdk/resource/api1000/c7000/firmware_driver.rb b/lib/oneview-sdk/resource/api1000/c7000/firmware_driver.rb new file mode 100644 index 000000000..c4f8c3a6a --- /dev/null +++ b/lib/oneview-sdk/resource/api1000/c7000/firmware_driver.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 '../../api800/c7000/firmware_driver' + +module OneviewSDK + module API1000 + module C7000 + # FirmwareDriver resource implementation for API1000 C7000 + class FirmwareDriver < OneviewSDK::API800::C7000::FirmwareDriver + end + end + end +end diff --git a/lib/oneview-sdk/resource/api1000/synergy/firmware_driver.rb b/lib/oneview-sdk/resource/api1000/synergy/firmware_driver.rb new file mode 100644 index 000000000..2e295f247 --- /dev/null +++ b/lib/oneview-sdk/resource/api1000/synergy/firmware_driver.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 '../../api800/synergy/firmware_driver' + +module OneviewSDK + module API1000 + module Synergy + # FirmwareDriver resource implementation for API1000 Synergy + class FirmwareDriver < OneviewSDK::API800::Synergy::FirmwareDriver + end + end + end +end diff --git a/lib/oneview-sdk/resource/api1200/c7000/firmware_driver.rb b/lib/oneview-sdk/resource/api1200/c7000/firmware_driver.rb new file mode 100644 index 000000000..0bf9eddab --- /dev/null +++ b/lib/oneview-sdk/resource/api1200/c7000/firmware_driver.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 '../../api1000/c7000/firmware_driver' + +module OneviewSDK + module API1200 + module C7000 + # FirmwareDriver resource implementation for API1200 C7000 + class FirmwareDriver < OneviewSDK::API1000::C7000::FirmwareDriver + end + end + end +end diff --git a/lib/oneview-sdk/resource/api1200/synergy/firmware_driver.rb b/lib/oneview-sdk/resource/api1200/synergy/firmware_driver.rb new file mode 100644 index 000000000..a8174a276 --- /dev/null +++ b/lib/oneview-sdk/resource/api1200/synergy/firmware_driver.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 '../../api1000/synergy/firmware_driver' + +module OneviewSDK + module API1200 + module Synergy + # FirmwareDriver resource implementation for API1200 Synergy + class FirmwareDriver < OneviewSDK::API1000::Synergy::FirmwareDriver + end + end + end +end diff --git a/lib/oneview-sdk/resource/api800/c7000/firmware_driver.rb b/lib/oneview-sdk/resource/api800/c7000/firmware_driver.rb new file mode 100644 index 000000000..d2f212acd --- /dev/null +++ b/lib/oneview-sdk/resource/api800/c7000/firmware_driver.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 '../../api600/c7000/firmware_driver' + +module OneviewSDK + module API800 + module C7000 + # FirmwareDriver resource implementation for API800 C7000 + class FirmwareDriver < OneviewSDK::API600::C7000::FirmwareDriver + end + end + end +end diff --git a/lib/oneview-sdk/resource/api800/synergy/firmware_driver.rb b/lib/oneview-sdk/resource/api800/synergy/firmware_driver.rb new file mode 100644 index 000000000..8893efe9c --- /dev/null +++ b/lib/oneview-sdk/resource/api800/synergy/firmware_driver.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 '../../api600/synergy/firmware_driver' + +module OneviewSDK + module API800 + module Synergy + # FirmwareDriver resource implementation for API800 Synergy + class FirmwareDriver < OneviewSDK::API600::Synergy::FirmwareDriver + end + end + end +end