Remove unused scheduler functions
* get_service_capabilities * get_host_list * host_service_caps_stale * delete_expired_host_services The functions were introduced in d328ddcadb24d1b1961bd05a7676bc8f54b6776f but are currently unused outside of nova.tests Change-Id: I15388db5eb684a9f5cfe74f4c2a32b6c87f57894
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