Set 'ip_ranges' notation for cluster networks
Since 'fuel-devops' allocates 1st IP of each network for 'router', tests must set exact IP ranges which can be used for environment. Otherwise 1st network IP could be allocated for environment needs if gateway isn't used in that network. Change-Id: I215bbbe73685affd598daf50d6900cb166a06c69 Closes-bug: #1486759
This commit is contained in:
parent
a2424cdf83
commit
a7121a3fed
@ -1520,6 +1520,9 @@ class FuelWebClient(object):
|
||||
self.net_settings(net_config, pub_subnets[i], jbond=True)
|
||||
elif net_name in 'fuelweb_admin':
|
||||
self.net_settings(net_config, admin_net)
|
||||
if 'ip_ranges' in net_config:
|
||||
if net_config['ip_ranges']:
|
||||
net_config['meta']['notation'] = 'ip_ranges'
|
||||
|
||||
def net_settings(self, net_config, net_name, floating=False, jbond=False):
|
||||
if jbond:
|
||||
|
Loading…
Reference in New Issue
Block a user