From bfee1661f6e3d2ef842a8bd347726a09ba25f9df Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Mon, 12 Dec 2011 19:40:55 -0600 Subject: Follow-on to I665f402f to convert rxtx_quota to rxtx_factor in nova-manage and a couple of tests. Change-Id: I1c72dbef6173e4c08006e36fa90565a724528b7c --- nova/tests/test_compute.py | 3 +-- nova/tests/test_libvirt.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'nova/tests') diff --git a/nova/tests/test_compute.py b/nova/tests/test_compute.py index abe21db91..bcec8633b 100644 --- a/nova/tests/test_compute.py +++ b/nova/tests/test_compute.py @@ -163,8 +163,7 @@ class BaseTestCase(test.TestCase): inst['local_gb'] = '20' inst['flavorid'] = '1' inst['swap'] = '2048' - inst['rxtx_quota'] = 100 - inst['rxtx_cap'] = 200 + inst['rxtx_factor'] = 1 inst.update(params) return db.instance_type_create(context, inst)['id'] diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py index c6fb5c348..61524e0cb 100644 --- a/nova/tests/test_libvirt.py +++ b/nova/tests/test_libvirt.py @@ -1615,8 +1615,7 @@ class NWFilterTestCase(test.TestCase): inst['local_gb'] = '20' inst['flavorid'] = '1' inst['swap'] = '2048' - inst['rxtx_quota'] = 100 - inst['rxtx_cap'] = 200 + inst['rxtx_factor'] = 1 inst.update(params) return db.instance_type_create(context, inst)['id'] -- cgit