Merge "Remove unused scheduler functions"

This commit is contained in:
Jenkins
2012-07-26 02:59:23 +00:00
committed by Gerrit Code Review
2 changed files with 0 additions and 6 deletions

View File

@@ -75,6 +75,3 @@ class SchedulerAPI(nova.openstack.common.rpc.proxy.RpcProxy):
self.fanout_cast(ctxt, self.make_msg('update_service_capabilities',
service_name=service_name, host=host,
capabilities=capabilities))
def get_host_list(self, ctxt):
return self.call(ctxt, self.make_msg('get_host_list'))

View File

@@ -100,6 +100,3 @@ class SchedulerRpcAPITestCase(test.TestCase):
self._test_scheduler_api('update_service_capabilities',
rpc_method='fanout_cast', service_name='fake_name',
host='fake_host', capabilities='fake_capabilities')
def test_get_host_list(self):
self._test_scheduler_api('get_host_list', rpc_method='call')