From 3e8ccb16148963c69b88afd044cbf83a68646de0 Mon Sep 17 00:00:00 2001 From: Hans Lindgren Date: Wed, 1 May 2013 23:28:18 +0200 Subject: 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 --- nova/tests/scheduler/test_rpcapi.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'nova/tests/scheduler/test_rpcapi.py') 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', -- cgit