Fix setting network settings
If BONDING=true, only 'admin' and 'public' networks are created. To avoid "Network matching query does not exist" errors, d_env.get_networks() should be used instead of d_env.get_network() Change-Id: I9c8b36f29339882668d0a39c9b0bd49b5e19f6bd Closes-Bug:#1527637
This commit is contained in:
parent
7891448956
commit
5c12a9b316
|
@ -1393,7 +1393,7 @@ class FuelWebClient(object):
|
|||
default_networks = {}
|
||||
|
||||
for n in ('public', 'management', 'storage', 'private'):
|
||||
if self.environment.d_env.get_network(name=n):
|
||||
if self.environment.d_env.get_networks(name=n):
|
||||
default_networks[n] = self.environment.d_env.get_network(
|
||||
name=n).ip
|
||||
|
||||
|
|
Loading…
Reference in New Issue