diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-06-01 01:44:02 +0000 |
---|---|---|
committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-06-06 15:17:44 -0700 |
commit | ae878fc8b9761d099a4145617e4a48cbeb390623 (patch) | |
tree | 1126d54fba639289bc389790d17e6b7d96787e7b /nova/context.py | |
parent | f1243fb1e2e2d088b10d3776839c627665977e3e (diff) | |
download | nova-ae878fc8b9761d099a4145617e4a48cbeb390623.tar.gz nova-ae878fc8b9761d099a4145617e4a48cbeb390623.tar.xz nova-ae878fc8b9761d099a4145617e4a48cbeb390623.zip |
Refactor libvirt create calls
* minimizes duplicated code for create
* makes wait_for_destroy happen on shutdown instead of undefine
* allows for destruction of an instance while leaving the domain
* uses reset for hard reboot instead of create/destroy
* makes resume_host_state use new methods instead of hard_reboot
* makes rescue/unrescue not use hard reboot to recreate domain
Change-Id: I2072f93ad6c889d534b04009671147af653048e7
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions