Class: Shared::Node
Overview
A node
Direct Known Subclasses
Instance Attribute Summary collapse
-
#agent_home ⇒ Object
readonly
The location of the vFabric Administration agent.
-
#architecture ⇒ Object
readonly
The architecture of the node’s operating system.
-
#host_names ⇒ Object
readonly
The node’s host names.
-
#ip_addresses ⇒ Object
readonly
The node’s IP addresses.
-
#metadata ⇒ Object
readonly
The node’s metadata.
-
#operating_system ⇒ Object
readonly
The node’s operating system.
Attributes inherited from Resource
Instance Method Summary collapse
-
#initialize(location, client) ⇒ Node
constructor
:nodoc:.
Constructor Details
#initialize(location, client) ⇒ Node
:nodoc:
41 42 43 44 45 46 47 48 49 50 |
# File 'lib/vas/shared/nodes.rb', line 41 def initialize(location, client) #:nodoc: super(location, client) @agent_home = details["agent-home"] @architecture = details["architecture"] @host_names = details["host-names"] @ip_addresses = details["ip-addresses"] @metadata = details["metadata"] @operating_system = details["operating-system"] end |
Instance Attribute Details
#agent_home ⇒ Object (readonly)
The location of the vFabric Administration agent
24 25 26 |
# File 'lib/vas/shared/nodes.rb', line 24 def agent_home @agent_home end |
#architecture ⇒ Object (readonly)
The architecture of the node’s operating system
27 28 29 |
# File 'lib/vas/shared/nodes.rb', line 27 def architecture @architecture end |
#host_names ⇒ Object (readonly)
The node’s host names
30 31 32 |
# File 'lib/vas/shared/nodes.rb', line 30 def host_names @host_names end |
#ip_addresses ⇒ Object (readonly)
The node’s IP addresses
33 34 35 |
# File 'lib/vas/shared/nodes.rb', line 33 def ip_addresses @ip_addresses end |
#metadata ⇒ Object (readonly)
The node’s metadata
36 37 38 |
# File 'lib/vas/shared/nodes.rb', line 36 def @metadata end |
#operating_system ⇒ Object (readonly)
The node’s operating system
39 40 41 |
# File 'lib/vas/shared/nodes.rb', line 39 def @operating_system end |