Revision 8d5795b4 snf-cyclades-app/synnefo/logic/allocators/default_allocator.py
b/snf-cyclades-app/synnefo/logic/allocators/default_allocator.py | ||
---|---|---|
42 | 42 |
if len(backends) == 1: |
43 | 43 |
return backends[0] |
44 | 44 |
|
45 |
# Filter those that can not host the vm
|
|
45 |
# Filter those that cannot host the vm |
|
46 | 46 |
capable_backends = [backend for backend in backends |
47 | 47 |
if vm_fits_in_backend(backend, vm)] |
48 | 48 |
|
Also available in: Unified diff