diff options
author | Rick Harris <rconradharris@gmail.com> | 2012-07-10 22:19:25 +0000 |
---|---|---|
committer | Rick Harris <rconradharris@gmail.com> | 2012-07-12 18:02:32 -0500 |
commit | 665516f72402eac00455517446716cd7d43323db (patch) | |
tree | 0b0c868164c9ea50667c6c0d34221e0a384593a4 /nova/notifications.py | |
parent | f29ca7ee4bcea1fbf88648ef4de4d0c32c459fff (diff) | |
download | nova-665516f72402eac00455517446716cd7d43323db.tar.gz nova-665516f72402eac00455517446716cd7d43323db.tar.xz nova-665516f72402eac00455517446716cd7d43323db.zip |
Adds snapshot_attached_here contextmanager.
This patch does three things:
* Moves more code into vm_utils to better match our separation of
concerns.
* Reduces complexity of the vmops._destroy method.
* Adds snapshot_attached_here contextmanager to make the
snapshotting code a bit cleaner.
Change-Id: I544dc2ba203519d32a5ecce4a87157b5c4a55076
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions