Class: IbmPowerHmc::Cluster
- Inherits:
-
AbstractRest
- Object
- AbstractNonRest
- AbstractRest
- IbmPowerHmc::Cluster
- Defined in:
- lib/ibm_power_hmc/schema/uom.rb
Overview
Cluster information
Constant Summary collapse
- ATTRS =
{ :name => "ClusterName", :id => "ClusterID", :tier_capable => "ClusterCapabilities/IsTierCapable" }.freeze
Instance Attribute Summary
Attributes inherited from AbstractRest
#content_type, #etag, #href, #published, #uuid
Attributes inherited from AbstractNonRest
Instance Method Summary collapse
Methods inherited from AbstractRest
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
#nodes ⇒ Object
797 798 799 |
# File 'lib/ibm_power_hmc/schema/uom.rb', line 797 def nodes collection_of("Node", "Node") end |
#repopvs ⇒ Object
788 789 790 |
# File 'lib/ibm_power_hmc/schema/uom.rb', line 788 def repopvs collection_of("RepositoryDisk", "PhysicalVolume") end |
#ssp_uuid ⇒ Object
792 793 794 795 |
# File 'lib/ibm_power_hmc/schema/uom.rb', line 792 def ssp_uuid href = singleton("ClusterSharedStoragePool", "href") uuid_from_href(href) unless href.nil? end |