Package haizea :: Package core :: Package scheduler :: Module vm_scheduler :: Class SuspensionResourceReservation
[hide private]
[frames] | no frames]

Class SuspensionResourceReservation

source code


Instance Methods [hide private]
 
__init__(self, lease, start, end, res, vnodes, vmrr)
Constructor
source code
 
print_contents(self, loglevel=5)
Prints the contents of the RR to the log
source code
 
is_first(self) source code
 
is_last(self) source code

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, vnodes, vmrr)
(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)

print_contents(self, loglevel=5)

source code 

Prints the contents of the RR to the log

Parameters:
  • loglevel - Log level
Overrides: slottable.ResourceReservation.print_contents
(inherited documentation)