Class: IbmPowerHmc::VirtualSCSIClientAdapter

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

Overview

Virtual SCSI client adapter information

Constant Summary

Constants inherited from VirtualSCSIAdapter

IbmPowerHmc::VirtualSCSIAdapter::ATTRS

Constants inherited from VirtualIOAdapter

IbmPowerHmc::VirtualIOAdapter::ATTRS

Constants inherited from AbstractNonRest

AbstractNonRest::ATTRS

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

#serverObject



756
757
758
759
# File 'lib/ibm_power_hmc/schema/uom.rb', line 756

def server
  elem = xml.elements["ServerAdapter"]
  VirtualSCSIServerAdapter.new(elem) unless elem.nil?
end

#vios_uuidObject



761
762
763
764
# File 'lib/ibm_power_hmc/schema/uom.rb', line 761

def vios_uuid
  href = singleton("ConnectingPartition", "href")
  uuid_from_href(href) unless href.nil?
end