Class: IbmPowerHmc::VirtualDisk

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

Overview

Logical Volume information

Constant Summary collapse

ATTRS =
{
  :name => "DiskName",
  :label => "DiskLabel",
  :capacity => "DiskCapacity", # in GiB
  :psize => "PartitionSize",
  :udid => "UniqueDeviceID"
}.freeze

Instance Attribute Summary

Attributes inherited from AbstractNonRest

#xml

Instance Method Summary collapse

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::AbstractNonRest

Instance Method Details

#vg_uuidObject



534
535
536
537
# File 'lib/ibm_power_hmc/schema/uom.rb', line 534

def vg_uuid
  href = singleton("VolumeGroup", "href")
  uuid_from_href(href) unless href.nil?
end