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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user