Closed riconem closed 3 years ago
Firmware resources are not supported for version 800. Please try it with version 500 which is supported for firmware resources. We have tested it for the version. Please see https://github.com/HewlettPackard/oneview-sdk-ruby/blob/master/endpoints-support.md. Let us know if any more issues arise.
This SDK has limited support and will not be actively developed for the foreseeable future.
Scenario/Intent
Create a ServerProfileTemplate with a firmwareBaselineUri by resource Name
Environment Details
Steps to Reproduce
Create a ServerProfileTemplate with a firmwareBaselineUri. Here you have to set the name of the resource as firmwareBaselineUri not the actual URI.
Expected Result
Creating of a new ServerProfileTemplate
Actual Result
Error:
Error:/Stage[main]/Oneviewconf/Oneview_server_profile_template[SMOPS_RefDCN_HAN2_HotNode]: Could not evaluate: uninitialized constant OneviewSDK::API800::Synergy::FirmwareDriver
Guess
The problem is that FirmwareDriver is only supported up to API 300 in the sdk. In this example we use the uri_parsing.rb because of "resource name as URI" which executes get_class(). Here it crashes because it trys to search the FirmwareDriver on API 800.