Skip to content

Commit

Permalink
Merge pull request #384 from HewlettPackard/api1200/firmware_driver
Browse files Browse the repository at this point in the history
Adding support to firmware driver for api800/1000/1200
  • Loading branch information
Priyanka Sood committed Feb 17, 2020
2 parents a42d890 + 6e350c6 commit b20b81a
Show file tree
Hide file tree
Showing 8 changed files with 137 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions endpoints-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ OneviewSDK::Datacenter.find_by(@client, width: 11000).map(&:remove)
| **Firmware Bundles** |
|<sub>/rest/firmware-bundles</sub> | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: |
| **Firmware Drivers** |
|<sub>/rest/firmware-drivers</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/firmware-drivers</sub> | POST | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/firmware-drivers/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/firmware-drivers/{id}</sub> | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/firmware-drivers</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/firmware-drivers</sub> | 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: |
|<sub>/rest/firmware-drivers/{id}</sub> | GET | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|<sub>/rest/firmware-drivers/{id}</sub> | DELETE | :white_check_mark: | :white_check_mark: | :white_check_mark: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: | :heavy_multiplication_x: |
| **Hypervisor Managers** |
|<sub>/rest/hypervisor-managers</sub> | GET | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: |
|<sub>/rest/hypervisor-managers</sub> | POST | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_minus_sign: | :white_check_mark: |
Expand Down
22 changes: 22 additions & 0 deletions lib/oneview-sdk/resource/api1000/c7000/firmware_driver.rb
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions lib/oneview-sdk/resource/api1000/synergy/firmware_driver.rb
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions lib/oneview-sdk/resource/api1200/c7000/firmware_driver.rb
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions lib/oneview-sdk/resource/api1200/synergy/firmware_driver.rb
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions lib/oneview-sdk/resource/api800/c7000/firmware_driver.rb
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions lib/oneview-sdk/resource/api800/synergy/firmware_driver.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b20b81a

Please sign in to comment.