Class: IbmPowerHmc::VolumeGroup

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

Overview

Volume Group information

Constant Summary collapse

ATTRS =
{
  :udid => "UniqueDeviceID",
  :size => "AvailableSize", # in GiB
  :dev_count => "BackingDeviceCount",
  :free_space => "FreeSpace", # in GiB
  :capacity => "GroupCapacity",
  :name => "GroupName",
  :serial => "GroupSerialID",
  :state => "GroupState",
  :max_lvs => "MaximumLogicalVolumes"
}.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

#lvsObject



366
367
368
# File 'lib/ibm_power_hmc/schema/uom.rb', line 366

def lvs
  collection_of("VirtualDisks", "VirtualDisk")
end

#pvsObject



362
363
364
# File 'lib/ibm_power_hmc/schema/uom.rb', line 362

def pvs
  collection_of("PhysicalVolumes", "PhysicalVolume")
end

#repsObject



358
359
360
# File 'lib/ibm_power_hmc/schema/uom.rb', line 358

def reps
  collection_of("MediaRepositories", "VirtualMediaRepository")
end