Class: VFabric::Node
- Inherits:
-
Shared::Node
- Object
- Shared::Resource
- Shared::Node
- VFabric::Node
- Defined in:
- lib/vas/vfabric/nodes.rb
Overview
A VFabric node
Instance Attribute Summary
Attributes inherited from Shared::Node
#agent_home, #architecture, #host_names, #ip_addresses, #metadata, #operating_system
Attributes inherited from Shared::Resource
Instance Method Summary collapse
-
#initialize(location, client) ⇒ Node
constructor
A new instance of Node.
-
#to_s ⇒ String
A string representation of the node.
Constructor Details
#initialize(location, client) ⇒ Node
Returns a new instance of Node.
42 43 44 |
# File 'lib/vas/vfabric/nodes.rb', line 42 def initialize(location, client) super(location, client) end |
Instance Method Details
#to_s ⇒ String
Returns a string representation of the node.
47 48 49 |
# File 'lib/vas/vfabric/nodes.rb', line 47 def to_s "#<#{self.class} host_names='#{host_names}' ip_addresses='#{ip_addresses}' operating_system='#{}' architecture='#{architecture}' agent_home='#{agent_home}' metadata='#{}'>" end |