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



492
493
494
# File 'lib/ibm_power_hmc/schema/uom.rb', line 492

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

#pvsObject



488
489
490
# File 'lib/ibm_power_hmc/schema/uom.rb', line 488

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

#repsObject



484
485
486
# File 'lib/ibm_power_hmc/schema/uom.rb', line 484

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