Class: IbmPowerHmc::VirtualFibreChannelServerAdapter

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

Overview

VFC server information

Constant Summary collapse

ATTRS =
ATTRS.merge({
  :map_port => "MapPort"
}.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 VirtualFibreChannelAdapter

#lpar_uuid

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

#portObject



884
885
886
887
# File 'lib/ibm_power_hmc/schema/uom.rb', line 884

def port
  elem = xml.elements["PhysicalPort"]
  PhysicalFibreChannelPort.new(elem) unless elem.nil?
end