diff options
| author | Andrew Laski <andrew.laski@rackspace.com> | 2012-11-12 16:55:57 -0500 |
|---|---|---|
| committer | Andrew Laski <andrew.laski@rackspace.com> | 2012-11-12 17:03:19 -0500 |
| commit | fe12b264fdcb1084934b3ec69c7e3fa78522356f (patch) | |
| tree | bb886f90981722ace073170f19323adc55a7f578 /nova/openstack | |
| parent | 9892d001303512160387e3d451064bc7efc7a32a (diff) | |
| download | nova-fe12b264fdcb1084934b3ec69c7e3fa78522356f.tar.gz nova-fe12b264fdcb1084934b3ec69c7e3fa78522356f.tar.xz nova-fe12b264fdcb1084934b3ec69c7e3fa78522356f.zip | |
Make xenapi shutdown mode explicit
Split shutdown_vm in the xenapi utilities into two methods with clear
names defining their behavior rather than relying on a default argument
being passed in.
This makes something like the following more clear than it would be
currently:
if not clean_shutdown_vm():
hard_shutdown_vm()
Change-Id: Ia7079197c8b8726c7e2ddc508b301162a02baa1b
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
