diff options
author | Hans Lindgren <hanlind@kth.se> | 2013-05-01 23:28:18 +0200 |
---|---|---|
committer | Hans Lindgren <hanlind@kth.se> | 2013-05-02 23:59:07 +0200 |
commit | 3e8ccb16148963c69b88afd044cbf83a68646de0 (patch) | |
tree | 1f7a8c2b5d6efce1698c60eee747bfdf77032cad /nova/tests/scheduler | |
parent | 423289d50d92cf4b780a11c2c3da4e1dbbd865f2 (diff) | |
download | nova-3e8ccb16148963c69b88afd044cbf83a68646de0.tar.gz nova-3e8ccb16148963c69b88afd044cbf83a68646de0.tar.xz nova-3e8ccb16148963c69b88afd044cbf83a68646de0.zip |
Deprecate show_host_resources() in scheduler manager
This method does not at all belong in the scheduler. Its only use is
from being remotely called by nova-manage to whom it returns data
fetched from the db. I think nova-manage is better of fetching this
data on its own instead of making this extra round trip to the
scheduler.
Change-Id: I435300cdd15bdd041cbe5718ae064b98cec4cceb
Diffstat (limited to 'nova/tests/scheduler')
-rw-r--r-- | nova/tests/scheduler/test_rpcapi.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nova/tests/scheduler/test_rpcapi.py b/nova/tests/scheduler/test_rpcapi.py index 9a7615c86..44e6a91b8 100644 --- a/nova/tests/scheduler/test_rpcapi.py +++ b/nova/tests/scheduler/test_rpcapi.py @@ -69,10 +69,6 @@ class SchedulerRpcAPITestCase(test.TestCase): request_spec='fake_request_spec', filter_properties='fake_props', reservations=list('fake_res')) - def test_show_host_resources(self): - self._test_scheduler_api('show_host_resources', rpc_method='call', - host='fake_host') - def test_live_migration(self): self._test_scheduler_api('live_migration', rpc_method='call', block_migration='fake_block_migration', |