Package haizea :: Package core :: Package scheduler :: Class MigrationResourceReservation
[hide private]
[frames] | no frames]

Class MigrationResourceReservation

source code


Instance Methods [hide private]
 
__init__(self, lease, start, end, res, vmrr, transfers)
Constructor
source code

Inherited from slottable.ResourceReservation: print_contents

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from slottable.ResourceReservation: STATE_ACTIVE, STATE_DONE, STATE_SCHEDULED, state_str

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, lease, start, end, res, vmrr, transfers)
(Constructor)

source code 

Constructor

Parameters:
  • lease - Lease this resource reservation belongs to
  • start - Starting time of the reservation
  • end - Ending time of the reservation
  • res - A dictionary mapping physical node ids to ResourceTuple objects
Overrides: object.__init__
(inherited documentation)