Class: Dcmgr::Scheduler::HostNodeScheduler

Inherits:
Object
  • Object
show all
Defined in:
lib/dcmgr/scheduler.rb

Overview

Allocate HostNode to Instance object.

Instance Method Summary collapse

Constructor Details

#initialize(options = nil) ⇒ HostNodeScheduler

Returns a new instance of HostNodeScheduler.



73
74
75
# File 'lib/dcmgr/scheduler.rb', line 73

def initialize(options=nil)
  @options = options
end

Instance Method Details

#schedule(instance) ⇒ Object

Returns Models::HostNode.

Parameters:

  • Models::Instance

    instance

Returns:

  • Models::HostNode

Raises:

  • (NotImplementedError)


79
80
81
# File 'lib/dcmgr/scheduler.rb', line 79

def schedule(instance)
  raise NotImplementedError
end