Class: Dcmgr::Scheduler::NetworkScheduler

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

Overview

Manage vnic for instances and assign network object.

Instance Method Summary collapse

Constructor Details

#initialize(options = nil) ⇒ NetworkScheduler

Returns a new instance of NetworkScheduler.



114
115
116
# File 'lib/dcmgr/scheduler.rb', line 114

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

Instance Method Details

#schedule(instance) ⇒ Object

Returns Models::Network.

Parameters:

  • Models::HostNode

    host_node

Returns:

  • Models::Network

Raises:

  • (NotImplementedError)


120
121
122
# File 'lib/dcmgr/scheduler.rb', line 120

def schedule(instance)
  raise NotImplementedError
end