Merge "Remove unused scheduler functions"
This commit is contained in:
@@ -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'))
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user