[Haizea] SimulateClock's run method

Mehdi Sheikhalishahi mehdi.alishahi at gmail.com
Tue Oct 19 08:49:21 CDT 2010


In method run of SimulatedClock, is the following piece of code
necessary at the beginning of while loop?

  new_nodes = self.manager.scheduler.vm_scheduler.resourcepool.refresh_nodes()
            for n in new_nodes:
                rt = slottable.create_resource_tuple_from_capacity(n.capacity)
                slottable.add_node(n.id, rt)

Regards,
Mehdi


More information about the Haizea mailing list