Method: OneviewSDK::LogicalInterconnect#firmware_update
- Defined in:
- lib/oneview-sdk/resource/logical_interconnect.rb
#firmware_update(command, firmware_driver, firmware_options) ⇒ Object
Update firmware
234 235 236 237 238 239 240 241 242 243 244 245 |
# File 'lib/oneview-sdk/resource/logical_interconnect.rb', line 234 def firmware_update(command, firmware_driver, ) ensure_client && ensure_uri ['command'] = command ['sppUri'] = firmware_driver['uri'] ['sppName'] = firmware_driver['name'] update_json = { 'If-Match' => '*', 'body' => } response = @client.rest_put(@data['uri'] + '/firmware', update_json) @client.response_handler(response) end |