diff options
author | Kravchenko Pavel <kpavel@il.ibm.com> | 2013-02-04 18:21:18 +0200 |
---|---|---|
committer | Kravchenko Pavel <kpavel@il.ibm.com> | 2013-02-04 18:21:18 +0200 |
commit | 064fefb810eab07d4ddde3dd50537a6236567423 (patch) | |
tree | e7b710ac88d17b42cff45dc5e4ad6a6c3d506ce2 /nova/utils.py | |
parent | 47bbf12a6c9705e5abca29a1d44b753c8506505d (diff) | |
download | nova-064fefb810eab07d4ddde3dd50537a6236567423.tar.gz nova-064fefb810eab07d4ddde3dd50537a6236567423.tar.xz nova-064fefb810eab07d4ddde3dd50537a6236567423.zip |
Adds evacuate method to compute.api
Added decorator to check whether the vm is suitable to be evacuated.
The decorator validates that vm host is down.
The new evacuate method calls rebuild with the recreate flag and
specified target host.
This implements blueprint rebuild-for-ha
DocImpact
Change-Id: I877b29928c922fa366fb85deb85ddfc72d97daf8
Co-authored-by: Oshrit Feder <oshritf@il.ibm.com>
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions