Class: IbmPowerHmc::VirtualFibreChannelMapping
Overview
Constant Summary
AbstractNonRest::ATTRS
Instance Attribute Summary
#xml
Instance Method Summary
collapse
#collection_of, #create_element, #initialize, marshal, #marshal, #singleton, #timestamp, #to_s, #uuid_from_href, #uuids_from_links
Instance Method Details
#client ⇒ Object
813
814
815
816
|
# File 'lib/ibm_power_hmc/schema/uom.rb', line 813
def client
elem = xml.elements["ClientAdapter"]
VirtualFibreChannelClientAdapter.new(elem) unless elem.nil?
end
|
#lpar_uuid ⇒ Object
808
809
810
811
|
# File 'lib/ibm_power_hmc/schema/uom.rb', line 808
def lpar_uuid
href = singleton("AssociatedLogicalPartition", "href")
uuid_from_href(href) unless href.nil?
end
|
#port ⇒ Object
823
824
825
826
|
# File 'lib/ibm_power_hmc/schema/uom.rb', line 823
def port
elem = xml.elements["Port"]
PhysicalFibreChannelPort.new(elem) unless elem.nil?
end
|
#server ⇒ Object
818
819
820
821
|
# File 'lib/ibm_power_hmc/schema/uom.rb', line 818
def server
elem = xml.elements["ServerAdapter"]
VirtualFibreChannelServerAdapter.new(elem) unless elem.nil?
end
|