diff options
author | gtt116 <gtt116@gmail.com> | 2013-05-08 14:18:21 +0000 |
---|---|---|
committer | gtt116 <gtt116@gmail.com> | 2013-05-11 09:10:04 +0800 |
commit | 488fcb4ad345bfb4fd614a140b317b606e008872 (patch) | |
tree | e2e93836736088ed1a287c5d0476ca75ace30bd6 /nova/utils.py | |
parent | 5dba32a23e67341bfdc03a00781ab491238e21f4 (diff) | |
download | nova-488fcb4ad345bfb4fd614a140b317b606e008872.tar.gz nova-488fcb4ad345bfb4fd614a140b317b606e008872.tar.xz nova-488fcb4ad345bfb4fd614a140b317b606e008872.zip |
Extract getting instance's AZ into a helper module.
An instance's availability zone logic may used by many modules,
so move it from extend API into helper module `nova.availability_zones`.
Also add some tests for the new method.
part of bp: different-availability-zone-filter
Change-Id: I5916a0b09d5dddec338e8e36503953720dfd6bcd
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions