]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Move oslo-incubator's scheduler module to cinder
authorMichał Dulko <michal.dulko@intel.com>
Tue, 24 Nov 2015 14:42:17 +0000 (15:42 +0100)
committerMichał Dulko <michal.dulko@intel.com>
Tue, 24 Nov 2015 14:49:31 +0000 (15:49 +0100)
commitfab6b4ef587ec4c3d8b6f314ddb82987ff8ded6a
treed2d45f1bb3f4624feba5892d3126ee3a7d38e536
parentcbd26a4143bdbe10a17298d3318ddb2da6a136a8
Move oslo-incubator's scheduler module to cinder

oslo-incubator is ending its life and we should move remaining
dependencies from there to cinder namespace. This commit does so with
openstack.common.scheduler. Apart from that tests from oslo-incubator
repository are added.

Change-Id: I10d88c120c9c847826986483065f5493e91f89d6
Closes-Bug: 1519337
32 files changed:
cinder/openstack/common/scheduler/__init__.py [deleted file]
cinder/openstack/common/scheduler/filters/__init__.py [deleted file]
cinder/openstack/common/scheduler/weights/__init__.py [deleted file]
cinder/scheduler/base_filter.py [moved from cinder/openstack/common/scheduler/base_filter.py with 92% similarity]
cinder/scheduler/base_handler.py [moved from cinder/openstack/common/scheduler/base_handler.py with 96% similarity]
cinder/scheduler/base_weight.py [moved from cinder/openstack/common/scheduler/base_weight.py with 98% similarity]
cinder/scheduler/filters/__init__.py
cinder/scheduler/filters/affinity_filter.py
cinder/scheduler/filters/availability_zone_filter.py [moved from cinder/openstack/common/scheduler/filters/availability_zone_filter.py with 95% similarity]
cinder/scheduler/filters/capabilities_filter.py [moved from cinder/openstack/common/scheduler/filters/capabilities_filter.py with 91% similarity]
cinder/scheduler/filters/capacity_filter.py
cinder/scheduler/filters/driver_filter.py
cinder/scheduler/filters/extra_specs_ops.py [moved from cinder/openstack/common/scheduler/filters/extra_specs_ops.py with 100% similarity]
cinder/scheduler/filters/ignore_attempted_hosts_filter.py [moved from cinder/openstack/common/scheduler/filters/ignore_attempted_hosts_filter.py with 97% similarity]
cinder/scheduler/filters/instance_locality_filter.py
cinder/scheduler/filters/json_filter.py [moved from cinder/openstack/common/scheduler/filters/json_filter.py with 91% similarity]
cinder/scheduler/host_manager.py
cinder/scheduler/weights/__init__.py
cinder/scheduler/weights/capacity.py
cinder/scheduler/weights/chance.py
cinder/scheduler/weights/goodness.py
cinder/scheduler/weights/volume_number.py
cinder/tests/unit/scheduler/fake_hosts.py [new file with mode: 0644]
cinder/tests/unit/scheduler/test_allocated_capacity_weigher.py
cinder/tests/unit/scheduler/test_base_filter.py [new file with mode: 0644]
cinder/tests/unit/scheduler/test_capacity_weigher.py
cinder/tests/unit/scheduler/test_host_filters.py
cinder/tests/unit/scheduler/test_host_manager.py
cinder/tests/unit/scheduler/test_volume_number_weigher.py
cinder/tests/unit/scheduler/test_weights.py [new file with mode: 0644]
openstack-common.conf
setup.cfg