summaryrefslogtreecommitdiffstats
path: root/nova/virt/driver.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/virt/driver.py')
-rw-r--r--nova/virt/driver.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/virt/driver.py b/nova/virt/driver.py
index b219fb2cb..bbb17480d 100644
--- a/nova/virt/driver.py
+++ b/nova/virt/driver.py
@@ -251,6 +251,10 @@ class ComputeDriver(object):
"""Poll for rescued instances"""
raise NotImplementedError()
+ def set_host_powerstate(self, host, state):
+ """Reboots or shuts down the host."""
+ raise NotImplementedError()
+
def set_host_enabled(self, host, enabled):
"""Sets the specified host's ability to accept new instances."""
raise NotImplementedError()