]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add disabled kwarg to service_get_all_by_topic
authorgit-harry <git-harry@live.co.uk>
Fri, 25 Apr 2014 16:03:13 +0000 (17:03 +0100)
committergit-harry <git-harry@live.co.uk>
Fri, 25 Apr 2014 16:03:13 +0000 (17:03 +0100)
commit2e15055eb572b1745e8c4a14b186e5defb7971f0
treef97b56acda2aafebca4eda5343b8f4b64eb1ec55
parent4a392e658c6aa0b5574f26a270305150f521b130
Add disabled kwarg to service_get_all_by_topic

service_get_all_by_topic disabled kwarg allows results to include
where disabled is True or False or both.

Updated code where service_get_all_by_topic is used to make use of
disabled kwarg instead of filtering afterwards.

Removed logging of disabled services in host_manager.

Closes-Bug: #1285673
Change-Id: I748461e64acd4e9563c4016781c5e1d4b116dac8
cinder/backup/api.py
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/scheduler/host_manager.py
cinder/tests/api/contrib/test_backups.py
cinder/tests/scheduler/fakes.py
cinder/tests/scheduler/test_allocated_capacity_weigher.py
cinder/tests/scheduler/test_capacity_weigher.py
cinder/tests/scheduler/test_host_manager.py
cinder/tests/test_db_api.py
cinder/volume/api.py