From a7121a3fedba15421b17a2dc050a19c7d7c35c4f Mon Sep 17 00:00:00 2001 From: Artem Panchenko Date: Thu, 20 Aug 2015 01:50:30 +0300 Subject: [PATCH] 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 --- fuelweb_test/models/fuel_web_client.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fuelweb_test/models/fuel_web_client.py b/fuelweb_test/models/fuel_web_client.py index 108ce86b8..732efca02 100644 --- a/fuelweb_test/models/fuel_web_client.py +++ b/fuelweb_test/models/fuel_web_client.py @@ -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: