summaryrefslogtreecommitdiffstats
path: root/nova/scheduler/rpcapi.py
diff options
context:
space:
mode:
authorHans Lindgren <hanlind@kth.se>2013-05-01 23:28:18 +0200
committerHans Lindgren <hanlind@kth.se>2013-05-02 23:59:07 +0200
commit3e8ccb16148963c69b88afd044cbf83a68646de0 (patch)
tree1f7a8c2b5d6efce1698c60eee747bfdf77032cad /nova/scheduler/rpcapi.py
parent423289d50d92cf4b780a11c2c3da4e1dbbd865f2 (diff)
downloadnova-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/scheduler/rpcapi.py')
-rw-r--r--nova/scheduler/rpcapi.py3
1 files changed, 0 insertions, 3 deletions
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