Method: OneviewSDK::LogicalInterconnect#update_qos_configuration

Defined in:
lib/oneview-sdk/resource/logical_interconnect.rb

#update_qos_configurationObject

Note:

The attribute is defined inside the instance of the Logical Interconnect

Updates QoS aggregated configuration of the Logical Interconnect



150
151
152
153
154
155
156
157
158
159
# File 'lib/oneview-sdk/resource/logical_interconnect.rb', line 150

def update_qos_configuration
  fail IncompleteResource, 'Please retrieve the Logical Interconnect before trying to update' unless @data['qosConfiguration']
  update_options = {
    'If-Match' =>  @data['qosConfiguration'].delete('eTag'),
    'body' => @data['qosConfiguration']
  }
  response = @client.rest_put(@data['uri'] + '/qos-aggregated-configuration', update_options, @api_version)
  body = @client.response_handler(response)
  set_all(body)
end