diff options
| author | Kevin L. Mitchell <kevin.mitchell@rackspace.com> | 2011-09-09 22:22:10 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-09-09 22:22:10 +0000 |
| commit | 717f73909ac6ec71b9a9b0234585c862d909d2a0 (patch) | |
| tree | 6d9b1a4ebe6982469898e31029d168c86451ff29 /bin/stack | |
| parent | ed0435b487fe22023f559ac173e14b6ceb67eb47 (diff) | |
| parent | c0700ea7bbb4d860610b71e635b8dbde19157e85 (diff) | |
| download | nova-717f73909ac6ec71b9a9b0234585c862d909d2a0.tar.gz nova-717f73909ac6ec71b9a9b0234585c862d909d2a0.tar.xz nova-717f73909ac6ec71b9a9b0234585c862d909d2a0.zip | |
Stock zones follows a fill-first methodology—the current zone is filled with instances before other zones are considered. This adds a flag to nova to select a spread-first methodology. The implementation is simply adding a random.shuffle() prior to sorting the list of potential compute hosts by weights.
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
