Class: IbmPowerHmc::SharedProcessorPool

Inherits:
AbstractRest show all
Defined in:
lib/ibm_power_hmc/schema/uom.rb

Overview

Shared Processor Pool

Constant Summary collapse

ATTRS =
{
  :name => "PoolName",
  :available => "AvailableProcUnits",
  :max => "MaximumProcessingUnits",
  :reserved => "CurrentReservedProcessingUnits",
  :pending_reserved => "PendingReservedProcessingUnits",
  :pool_id => "PoolID"
}.freeze

Instance Attribute Summary

Attributes inherited from AbstractRest

#content_type, #etag, #href, #published, #uuid

Attributes inherited from AbstractNonRest

#xml

Instance Method Summary collapse

Methods inherited from AbstractRest

#initialize, #to_s

Methods inherited from AbstractNonRest

#collection_of, #create_element, #initialize, marshal, #marshal, #singleton, #timestamp, #to_s, #uuid_from_href, #uuids_from_links

Constructor Details

This class inherits a constructor from IbmPowerHmc::AbstractRest

Instance Method Details

#lpar_uuidsObject



1003
1004
1005
# File 'lib/ibm_power_hmc/schema/uom.rb', line 1003

def lpar_uuids
  uuids_from_links("AssignedPartitions")
end

#sys_uuidObject



1007
1008
1009
# File 'lib/ibm_power_hmc/schema/uom.rb', line 1007

def sys_uuid
  uuid_from_href(href, -3)
end