summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorYun Mao <yunmao@gmail.com>2012-05-17 16:33:34 -0400
committerYun Mao <yunmao@gmail.com>2012-05-17 16:34:37 -0400
commit2fd869e9ec51b0c76ee63a3382dac8287594f6c8 (patch)
treef0d6d91b6b3cf0d8e27fd4984bb61a95fbc87169 /nova
parent16873e10d02d825d1586c51dcd1363c08b8f1238 (diff)
downloadnova-2fd869e9ec51b0c76ee63a3382dac8287594f6c8.tar.gz
nova-2fd869e9ec51b0c76ee63a3382dac8287594f6c8.tar.xz
nova-2fd869e9ec51b0c76ee63a3382dac8287594f6c8.zip
make get_all_bw_usage() signature match for fake virt driver.
Change-Id: Ia96349275321f25da55845d73b212bb7c820f3d4
Diffstat (limited to 'nova')
-rw-r--r--nova/virt/fake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/fake.py b/nova/virt/fake.py
index 80fbc7100..51ea50879 100644
--- a/nova/virt/fake.py
+++ b/nova/virt/fake.py
@@ -198,7 +198,7 @@ class FakeConnection(driver.ComputeDriver):
def get_diagnostics(self, instance_name):
return 'FAKE_DIAGNOSTICS'
- def get_all_bw_usage(self, start_time, stop_time=None):
+ def get_all_bw_usage(self, instances, start_time, stop_time=None):
"""Return bandwidth usage info for each interface on each
running VM"""
bwusage = []