module OmfRc::ResourceProxy::Node
This proxy represents physical/virtual machine node, and it is the proxy which standard RC start up script initialised.
Node
proxy is more like a monitor proxy which monitors resource information on the node itself, it is usually created during the bootstrap process and provides an entry point for incoming FRCP messages.
Resources like application, net, or wlan can be created as children of node resources by sending FRCP create messages to the node’s pubsub topic.
@example Creating an ethernet resource on an existing node ‘node01’ using communicator
comm.subscribe('node01') do |node| node.create(:net, if_name: 'eth0') end
@example Creating an ethernet resource on an existing node ‘node01’ directly
node = OmfRc::ResourceFactory.create(:node) node.create(:net, if_name: 'eth0')
@see OmfRc::ResourceProxy::Application
@see OmfRc::ResourceProxy::Net
@see OmfRc::ResourceProxy::Wlan