Fix deployment configuration of two clusters

Private network ranges were equal with the same VLANs. It lead
to the network issues of the booted VMs

Extend vlan range of the second cluster

Change-Id: Iea64d51ee1f59b1edbc97b85c1c96b0af09ab57f
Closes-Bug: #1561961
This commit is contained in:
Ksenia Demina 2016-05-12 15:15:29 +03:00
parent 9aef49ef7d
commit be45e197cf
1 changed files with 7 additions and 1 deletions

View File

@ -1064,8 +1064,14 @@ class ServicesReconfiguration(TestBasic):
timeout_msg="Timeout exceeded while waiting for task "
"'update_dnsmasq' is finished!")
floating_list = [self.fuel_web.get_floating_ranges()[0][1]]
vlan_range_1 = self.fuel_web.client.get_networks(
cluster_id_1)["networking_parameters"]["vlan_range"]
vlan_range_2 = [vlan_range_1[-1] + 1, vlan_range_1[-1] + 31]
networking_parameters = {
"floating_ranges": floating_list}
"floating_ranges": floating_list,
"vlan_range": vlan_range_2}
self.fuel_web.client.update_network(
cluster_id_2,
networks=networks_2,