summaryrefslogtreecommitdiffstats
path: root/nova/virt
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2012-05-31 12:54:47 -0400
committerDan Prince <dprince@redhat.com>2012-05-31 13:47:21 -0400
commitbe4afe4b86ab1cdfd9839dd175d67ff74226f547 (patch)
tree6f89042ceb5ae0467577ceb20eb2b122fb0e700c /nova/virt
parent9e8007320666797778f4a4e339fb30a681b75a22 (diff)
Remove resize function from virt driver.
Fixes LP Bug #1007009. Change-Id: If7d1492abd4ea0f66ae49117e87093fa58257a40
Diffstat (limited to 'nova/virt')
-rw-r--r--nova/virt/driver.py9
-rw-r--r--nova/virt/fake.py3
2 files changed, 0 insertions, 12 deletions
diff --git a/nova/virt/driver.py b/nova/virt/driver.py
index 561e62b82..895a32ed3 100644
--- a/nova/virt/driver.py
+++ b/nova/virt/driver.py
@@ -561,15 +561,6 @@ class ComputeDriver(object):
"""Return currently known host stats"""
raise NotImplementedError()
- def resize(self, instance, flavor):
- """
- Resizes/Migrates the specified instance.
-
- The flavor parameter determines whether or not the instance RAM and
- disk space are modified, and if so, to what size.
- """
- raise NotImplementedError()
-
def block_stats(self, instance_name, disk_id):
"""
Return performance counters associated with the given disk_id on the
diff --git a/nova/virt/fake.py b/nova/virt/fake.py
index cb29cf567..57c358521 100644
--- a/nova/virt/fake.py
+++ b/nova/virt/fake.py
@@ -119,9 +119,6 @@ class FakeConnection(driver.ComputeDriver):
def get_host_ip_addr():
return '192.168.0.1'
- def resize(self, instance, flavor):
- pass
-
def set_admin_password(self, instance, new_pass):
pass