Class: IbmPowerHmc::VirtualNetwork
- Inherits:
-
AbstractRest
- Object
- AbstractNonRest
- AbstractRest
- IbmPowerHmc::VirtualNetwork
- Defined in:
- lib/ibm_power_hmc/schema/uom.rb
Overview
Virtual Network information
Constant Summary collapse
- ATTRS =
{ :name => "NetworkName", :vlan_id => "NetworkVLANID", :vswitch_id => "VswitchID", :tagged => "TaggedNetwork" }.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
#lpars_uuids ⇒ Object
602 603 604 |
# File 'lib/ibm_power_hmc/schema/uom.rb', line 602 def lpars_uuids uuids_from_links("ConnectedPartitions") end |
#vswitch_uuid ⇒ Object
597 598 599 600 |
# File 'lib/ibm_power_hmc/schema/uom.rb', line 597 def vswitch_uuid href = singleton("AssociatedSwitch", "href") uuid_from_href(href) unless href.nil? end |