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.
This commit is contained in:
Vishvananda Ishaya
2010-09-30 23:04:53 -07:00
parent 2a59a90b5c
commit fab2a6202c
5 changed files with 26 additions and 15 deletions

View File

@@ -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)