summaryrefslogtreecommitdiffstats
path: root/nova/test.py
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@yahoo.com>2010-09-30 23:04:53 -0700
committerVishvananda Ishaya <vishvananda@yahoo.com>2010-09-30 23:04:53 -0700
commitc9d2b8bcb365f326a47df93920c11be2ca054b18 (patch)
tree45d3d2cabbdfe3d1b1dbaa48008af2148dc70094 /nova/test.py
parentafb292360319c304457a91a9285991a6b3c79af9 (diff)
downloadnova-c9d2b8bcb365f326a47df93920c11be2ca054b18.tar.gz
nova-c9d2b8bcb365f326a47df93920c11be2ca054b18.tar.xz
nova-c9d2b8bcb365f326a47df93920c11be2ca054b18.zip
Fixed flat network manager with network index gone.
Both managers use ips created through nova manage. Use of project_get_network is minimized to make way for managers that would prefer to use cluste or host based ips instead of project based ips.
Diffstat (limited to 'nova/test.py')
-rw-r--r--nova/test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nova/test.py b/nova/test.py
index 91668f9b0..493754e83 100644
--- a/nova/test.py
+++ b/nova/test.py
@@ -63,7 +63,9 @@ class TrialTestCase(unittest.TestCase):
# now that we have some required db setup for the system
# to work properly.
if db.network_count(None) != 5:
- network_manager.VlanManager().create_networks(None, 5, 16,
+ network_manager.VlanManager().create_networks(None,
+ FLAGS.fixed_range,
+ 5, 16,
FLAGS.vlan_start,
FLAGS.vpn_start)