summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Sherborne <msherborne@gmail.com>2013-02-27 12:51:24 +1000
committerGerrit Code Review <review@openstack.org>2013-02-27 20:27:29 +0000
commite6b49c871660391da944e31aba66db3f80bc144a (patch)
tree9615cb5b242fe35e9096c79ab0069ebdeaa39af5
parent7be9e64fe20e4c45966bae63165ced4413af2605 (diff)
downloadnova-e6b49c871660391da944e31aba66db3f80bc144a.tar.gz
nova-e6b49c871660391da944e31aba66db3f80bc144a.tar.xz
nova-e6b49c871660391da944e31aba66db3f80bc144a.zip
Remove un-needed methods.
These methods are un-needed. Their functionality is now provided by the HostAPI and ComputeRPCProxyAPI. Change-Id: I771f1e4669f8b7fb779a0fec0209c3e2a899a469
-rw-r--r--nova/compute/cells_api.py12
1 files changed, 0 insertions, 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?