summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Koelker <jason@koelker.net>2011-08-15 16:46:30 -0500
committerJason Koelker <jason@koelker.net>2011-08-15 16:46:30 -0500
commitcef63a6c2e8f3e1baa126ba41703aac81c2fc6ae (patch)
treedb553180d5aa1dccabdd2265b6e28f9d55c9e94d
parenta34943e89e9aee0a26bd4fd03a2b12fc954029fd (diff)
add note
-rw-r--r--nova/network/manager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/network/manager.py b/nova/network/manager.py
index 4954dc7e9..a52dd1953 100644
--- a/nova/network/manager.py
+++ b/nova/network/manager.py
@@ -656,6 +656,8 @@ class NetworkManager(manager.SchedulerDependentManager):
subnets_v4 = list(fixed_net_v4.subnet(prefixlen_v4,
count=num_networks))
+ # NOTE(jkoelker): This replaces the _validate_cidrs call and
+ # prevents looping multiple times
try:
nets = self.db.network_get_all(context)
except exception.NoNetworksFound: