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/scheduler/rpcapi.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'nova/scheduler/rpcapi.py') diff --git a/nova/scheduler/rpcapi.py b/nova/scheduler/rpcapi.py index ac2244de4..2cfd5688f 100644 --- a/nova/scheduler/rpcapi.py +++ b/nova/scheduler/rpcapi.py @@ -96,9 +96,6 @@ class SchedulerAPI(nova.openstack.common.rpc.proxy.RpcProxy): filter_properties=filter_properties, reservations=reservations_p)) - def show_host_resources(self, ctxt, host): - return self.call(ctxt, self.make_msg('show_host_resources', host=host)) - def live_migration(self, ctxt, block_migration, disk_over_commit, instance, dest): # NOTE(comstud): Call vs cast so we can get exceptions back, otherwise -- cgit