class Egi::Fedcloud::Vmhound::Connectors::BaseConnector

Public Class Methods

new(opts = {}) click to toggle source

Initializes a connector instance.

@param opts [Hash] options for the connector

# File lib/egi/fedcloud/vmhound/connectors/base_connector.rb, line 7
def initialize(opts = {})
  @options = opts.freeze
end

Public Instance Methods

active_instances() click to toggle source

Retrieves running instances from the underlying CMF. Only currently running instances will be included.

@return [Array<Hash>] List of instances, each represented as a hash

# File lib/egi/fedcloud/vmhound/connectors/base_connector.rb, line 22
def active_instances; end
instances() click to toggle source

Retrieves active instances from the underlying CMF. Including instances in transitional or suspended states. Terminated instances will not be included.

@return [Array<Hash>] List of instances, each represented as a hash

# File lib/egi/fedcloud/vmhound/connectors/base_connector.rb, line 16
def instances; end