Various public-instance methods are made available on the @node object.
These are useful for debugging in Console sessions and for enhancing your orchestration scripts.
Notable accessors are detailed below:
On all namespaces¶
The network driver
Its configuration, as a Hash:
The authenticated Cloud credentials for the current namespace, returned as a Hash. For EC2 this will return the namespace’s access key and secret key, for GCP it will return an access_token and the project name. This is useful should you wish to extend an authenticated Bcome session into a custom integration.
The SSH driver, an instance of
Net::SSH::Proxy::Jump configuration, should the namespace be configured to proxy its connections:
All servers present within the current namespace:
The metadata object for this namespace (
All metadata for this namespace as a Hash
On server namespaces¶
The cloud server if @node is an EC2 server (returns an instance of Fog::Compute::AWS::Server):
The cloud server if @node is a GCP server (returns an instance of Google::Apis::ComputeBeta::Instance):
Return all configured tags/labels if a cloud server:
Find cloud tags/labels value by key:
@node may also be extended by applying Monkey Patches.