From e6b49c871660391da944e31aba66db3f80bc144a Mon Sep 17 00:00:00 2001 From: Matthew Sherborne Date: Wed, 27 Feb 2013 12:51:24 +1000 Subject: Remove un-needed methods. These methods are un-needed. Their functionality is now provided by the HostAPI and ComputeRPCProxyAPI. Change-Id: I771f1e4669f8b7fb779a0fec0209c3e2a899a469 --- nova/compute/cells_api.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/nova/compute/cells_api.py b/nova/compute/cells_api.py index 22e31a8e1..b473d70b3 100644 --- a/nova/compute/cells_api.py +++ b/nova/compute/cells_api.py @@ -393,18 +393,6 @@ class ComputeCellsAPI(compute_api.API): super(ComputeCellsAPI, self).unpause(context, instance) self._cast_to_cells(context, instance, 'unpause') - def set_host_enabled(self, context, host, enabled): - """Sets the specified host's ability to accept new instances.""" - # FIXME(comstud): Since there's no instance here, we have no - # idea which cell should be the target. - pass - - def host_power_action(self, context, host, action): - """Reboots, shuts down or powers up the host.""" - # FIXME(comstud): Since there's no instance here, we have no - # idea which cell should be the target. - pass - def get_diagnostics(self, context, instance): """Retrieve diagnostics for the given instance.""" # FIXME(comstud): Cache this? -- cgit