module OneviewSDK::API500::C7000::FirmwareHelper

Contains helper methods to include operation with firmware of a given logical enclosure resource

Public Instance Methods

update_firmware(attributes = {}) click to toggle source

Updates the firmware attributes of a given logical enclosure resource @param [Hash] attributes Hash with firmware attributes @option options [String] :firmwareUpdateOn Specifies the component types within the enclosure which has to be updated @option options [Boolean] :forceInstallFirmware Specifies whether the firmware operation to be carried forcefully or not @option options [String] :firmwareBaselineUri Firmware-drivers URI for the firmware bundle containing the baseline firmware @return [OneviewSDK::API500::C7000::LogicalEnclosure] self

# File lib/oneview-sdk/resource/api500/c7000/logical_enclosure.rb, line 28
def update_firmware(attributes = {})
  patch('replace', '/firmware', attributes, 'If-Match' => @data['eTag'])
  retrieve!
  self
end