Class: Dcmgr::Scheduler::NetworkScheduler
- Inherits:
-
Object
- Object
- Dcmgr::Scheduler::NetworkScheduler
- Defined in:
- lib/dcmgr/scheduler.rb
Overview
Manage vnic for instances and assign network object.
Direct Known Subclasses
Dcmgr::Scheduler::Network::FlatSingle, Dcmgr::Scheduler::Network::NatOneToOne, Dcmgr::Scheduler::Network::PerInstance, Dcmgr::Scheduler::Network::VifTemplate
Instance Method Summary collapse
-
#initialize(options = nil) ⇒ NetworkScheduler
constructor
A new instance of NetworkScheduler.
-
#schedule(instance) ⇒ Object
Models::Network.
Constructor Details
#initialize(options = nil) ⇒ NetworkScheduler
Returns a new instance of NetworkScheduler.
114 115 116 |
# File 'lib/dcmgr/scheduler.rb', line 114 def initialize(=nil) @options = end |
Instance Method Details
#schedule(instance) ⇒ Object
Returns Models::Network.
120 121 122 |
# File 'lib/dcmgr/scheduler.rb', line 120 def schedule(instance) raise NotImplementedError end |