diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2013-02-12 15:43:42 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2013-02-15 15:04:50 +0000 |
commit | f845f66101481829355daf493ad6eef025ec5643 (patch) | |
tree | 7d597d39b8e231aa9b048953b8b789e2cd455a4f /nova/wsgi.py | |
parent | 4dc3fb192edc48a40d934894cb4c053290117ba9 (diff) | |
download | nova-f845f66101481829355daf493ad6eef025ec5643.tar.gz nova-f845f66101481829355daf493ad6eef025ec5643.tar.xz nova-f845f66101481829355daf493ad6eef025ec5643.zip |
Split out body of loop in _sync_power_states in compute manager
The _sync_power_states method in the compute manager iterates
over all instances in the DB, synchronizing their power
states. The introduction of async events to the compute
drivers requires a method for synchronizing the power state
of a single instance at a time. Split out the body of the
loop in _sync_power_states to a method _sync_instance_power_state
Blueprint: compute-driver-events
Change-Id: I5eee72b39f765a2444388005fabba2cff7ff4b29
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'nova/wsgi.py')
0 files changed, 0 insertions, 0 deletions