summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
Diffstat (limited to 'deploy')
-rw-r--r--deploy/config/labs/devel-pipeline/default/fuel/config/dea-pod-override.yaml16
-rw-r--r--deploy/config/labs/devel-pipeline/elx/fuel/config/dea-pod-override.yaml16
-rw-r--r--deploy/config/labs/devel-pipeline/huawei-ch/fuel/config/dea-pod-override.yaml16
-rw-r--r--deploy/deploy-config.py20
-rw-r--r--deploy/templates/virtual_environment/networks/fuel2.xml1
-rw-r--r--deploy/templates/virtual_environment/vms/compute.xml3
6 files changed, 39 insertions, 33 deletions
diff --git a/deploy/config/labs/devel-pipeline/default/fuel/config/dea-pod-override.yaml b/deploy/config/labs/devel-pipeline/default/fuel/config/dea-pod-override.yaml
index afe5daf21..985a2920c 100644
--- a/deploy/config/labs/devel-pipeline/default/fuel/config/dea-pod-override.yaml
+++ b/deploy/config/labs/devel-pipeline/default/fuel/config/dea-pod-override.yaml
@@ -18,9 +18,9 @@ environment:
interfaces_1:
ens3:
- fuelweb_admin
- - management
- ens4:
- storage
+ ens4:
+ - management
ens5:
- private
ens6:
@@ -51,10 +51,10 @@ transformations_1:
name: ens3
- action: add-port
bridge: br-mgmt
- name: ens3.101
+ name: ens4
- action: add-port
bridge: br-storage
- name: ens4.102
+ name: ens3.102
- action: add-port
bridge: br-mesh
name: ens5.103
@@ -119,22 +119,22 @@ network:
gateway: null
ip_ranges:
- - 192.168.0.1
- - 192.168.0.254
+ - 192.168.0.253
meta:
cidr: 192.168.0.0/24
configurable: true
map_priority: 2
name: management
- notation: cidr
+ notation: ip_ranges
render_addr_mask: internal
render_type: cidr
use_gateway: false
vips:
- haproxy
- vrouter
- vlan_start: 101
+ vlan_start: null
name: management
- vlan_start: 101
+ vlan_start: null
- cidr: 192.168.2.0/24
gateway: null
ip_ranges:
diff --git a/deploy/config/labs/devel-pipeline/elx/fuel/config/dea-pod-override.yaml b/deploy/config/labs/devel-pipeline/elx/fuel/config/dea-pod-override.yaml
index 6405db6b9..ce3b62af9 100644
--- a/deploy/config/labs/devel-pipeline/elx/fuel/config/dea-pod-override.yaml
+++ b/deploy/config/labs/devel-pipeline/elx/fuel/config/dea-pod-override.yaml
@@ -18,9 +18,9 @@ environment:
interfaces_1:
ens3:
- fuelweb_admin
- - management
- ens4:
- storage
+ ens4:
+ - management
ens5:
- private
ens6:
@@ -51,10 +51,10 @@ transformations_1:
name: ens3
- action: add-port
bridge: br-mgmt
- name: ens3.101
+ name: ens4
- action: add-port
bridge: br-storage
- name: ens4.102
+ name: ens3.102
- action: add-port
bridge: br-mesh
name: ens5.103
@@ -118,22 +118,22 @@ network:
gateway: null
ip_ranges:
- - 192.168.0.1
- - 192.168.0.254
+ - 192.168.0.253
meta:
cidr: 192.168.0.0/24
configurable: true
map_priority: 2
name: management
- notation: cidr
+ notation: ip_ranges
render_addr_mask: internal
render_type: cidr
use_gateway: false
vips:
- haproxy
- vrouter
- vlan_start: 101
+ vlan_start: null
name: management
- vlan_start: 101
+ vlan_start: null
- cidr: 192.168.2.0/24
gateway: null
ip_ranges:
diff --git a/deploy/config/labs/devel-pipeline/huawei-ch/fuel/config/dea-pod-override.yaml b/deploy/config/labs/devel-pipeline/huawei-ch/fuel/config/dea-pod-override.yaml
index c5b94a544..736e9af3c 100644
--- a/deploy/config/labs/devel-pipeline/huawei-ch/fuel/config/dea-pod-override.yaml
+++ b/deploy/config/labs/devel-pipeline/huawei-ch/fuel/config/dea-pod-override.yaml
@@ -18,9 +18,9 @@ environment:
interfaces_1:
ens3:
- fuelweb_admin
- - management
- ens4:
- storage
+ ens4:
+ - management
ens5:
- private
ens6:
@@ -51,10 +51,10 @@ transformations_1:
name: ens3
- action: add-port
bridge: br-mgmt
- name: ens3.101
+ name: ens4
- action: add-port
bridge: br-storage
- name: ens4.102
+ name: ens3.102
- action: add-port
bridge: br-mesh
name: ens5.103
@@ -118,22 +118,22 @@ network:
gateway: null
ip_ranges:
- - 192.168.0.1
- - 192.168.0.254
+ - 192.168.0.253
meta:
cidr: 192.168.0.0/24
configurable: true
map_priority: 2
name: management
- notation: cidr
+ notation: ip_ranges
render_addr_mask: internal
render_type: cidr
use_gateway: false
vips:
- haproxy
- vrouter
- vlan_start: 101
+ vlan_start: null
name: management
- vlan_start: 101
+ vlan_start: null
- cidr: 192.168.2.0/24
gateway: null
ip_ranges:
diff --git a/deploy/deploy-config.py b/deploy/deploy-config.py
index c59957540..ee2a0d555 100644
--- a/deploy/deploy-config.py
+++ b/deploy/deploy-config.py
@@ -143,22 +143,24 @@ def merge_dicts(dict1, dict2):
if k in dict1 and k in dict2:
if isinstance(dict1[k], dict) and isinstance(dict2[k], dict):
yield (k, dict(merge_dicts(dict1[k], dict2[k])))
- elif isinstance(dict1[k], list) and isinstance(dict2[k], list):
+ continue
+ if isinstance(dict1[k], list) and isinstance(dict2[k], list):
if k == 'versions':
yield (k,
merge_fuel_plugin_version_list(dict1[k], dict2[k]))
+ continue
if k == 'networks':
yield (k,
merge_networks(dict1[k], dict2[k]))
- else:
- # If one of the values is not a dict nor a list,
- # you can't continue merging it.
- # Value from second dict overrides one in first and we move on.
- yield (k, dict2[k])
- elif k in dict1:
- yield (k, dict1[k])
- else:
+ continue
+
+ # If one of the values is not a dict nor a list,
+ # you can't continue merging it.
+ # Value from second dict overrides one in first if exists.
+ if k in dict2:
yield (k, dict2[k])
+ else:
+ yield (k, dict1[k])
setup_yaml()
diff --git a/deploy/templates/virtual_environment/networks/fuel2.xml b/deploy/templates/virtual_environment/networks/fuel2.xml
index 615c92094..558788664 100644
--- a/deploy/templates/virtual_environment/networks/fuel2.xml
+++ b/deploy/templates/virtual_environment/networks/fuel2.xml
@@ -1,5 +1,6 @@
<network>
<name>fuel2</name>
<bridge name='fuel2' stp='on' delay='0'/>
+ <ip address='192.168.0.254' netmask='255.255.255.0'/>
</network>
diff --git a/deploy/templates/virtual_environment/vms/compute.xml b/deploy/templates/virtual_environment/vms/compute.xml
index 95db87984..0bff88827 100644
--- a/deploy/templates/virtual_environment/vms/compute.xml
+++ b/deploy/templates/virtual_environment/vms/compute.xml
@@ -14,6 +14,9 @@
<apic/>
<pae/>
</features>
+ <cpu mode='host-model'>
+ <model fallback='allow'/>
+ </cpu>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>