summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml')
-rw-r--r--mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml86
1 files changed, 44 insertions, 42 deletions
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml
index e55bcbf25..99ac02e34 100644
--- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml
+++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/infra/kvm.yml
@@ -1,21 +1,22 @@
+---
classes:
-- system.linux.system.repo.mcp.openstack
-- system.linux.system.repo.mcp.extra
-- system.linux.system.repo.saltstack.xenial
-- service.keepalived.cluster.single
-- system.glusterfs.server.volume.glance
-- system.glusterfs.server.volume.keystone
-- system.glusterfs.server.cluster
-- system.salt.control.virt
-- system.salt.control.cluster.openstack_control_cluster
-- system.salt.control.cluster.openstack_proxy_cluster
-- system.salt.control.cluster.openstack_database_cluster
-- system.salt.control.cluster.openstack_message_queue_cluster
-- system.salt.control.cluster.openstack_telemetry_cluster
-# - system.salt.control.cluster.stacklight_server_cluster
-# - system.salt.control.cluster.stacklight_log_cluster
-# - system.salt.control.cluster.stacklight_telemetry_cluster
-- cluster.baremetal-mcp-ocata-odl-ha.infra
+ - system.linux.system.repo.mcp.openstack
+ - system.linux.system.repo.mcp.extra
+ - system.linux.system.repo.saltstack.xenial
+ - service.keepalived.cluster.single
+ - system.glusterfs.server.volume.glance
+ - system.glusterfs.server.volume.keystone
+ - system.glusterfs.server.cluster
+ - system.salt.control.virt
+ - system.salt.control.cluster.openstack_control_cluster
+ - system.salt.control.cluster.openstack_proxy_cluster
+ - system.salt.control.cluster.openstack_database_cluster
+ - system.salt.control.cluster.openstack_message_queue_cluster
+ - system.salt.control.cluster.openstack_telemetry_cluster
+ # - system.salt.control.cluster.stacklight_server_cluster
+ # - system.salt.control.cluster.stacklight_log_cluster
+ # - system.salt.control.cluster.stacklight_telemetry_cluster
+ - cluster.baremetal-mcp-ocata-odl-ha.infra
parameters:
_param:
linux_system_codename: xenial
@@ -28,8 +29,8 @@ parameters:
deploy_nic: enp6s0
salt:
control:
- size: #RAM 4096,8192,16384,32768,65536
- ##Default production sizing
+ size: # RAM 4096,8192,16384,32768,65536
+ # Default production sizing
openstack.control:
cpu: 4
ram: 12288
@@ -55,21 +56,21 @@ parameters:
ram: 2048
disk_profile: small
net_profile: default
-# stacklight.log:
-# cpu: 2
-# ram: 4096
-# disk_profile: xxlarge
-# net_profile: default
-# stacklight.server:
-# cpu: 2
-# ram: 4096
-# disk_profile: small
-# net_profile: default
-# stacklight.telemetry:
-# cpu: 2
-# ram: 4096
-# disk_profile: xxlarge
-# net_profile: default
+ # stacklight.log:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: xxlarge
+ # net_profile: default
+ # stacklight.server:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: small
+ # net_profile: default
+ # stacklight.telemetry:
+ # cpu: 2
+ # ram: 4096
+ # disk_profile: xxlarge
+ # net_profile: default
opendaylight.server:
cpu: 4
ram: 6144
@@ -80,6 +81,7 @@ parameters:
node:
odl01:
name: ${_param:opendaylight_server_node01_hostname}
+ # yamllint disable-line rule:line-length
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
size: opendaylight.server
@@ -131,9 +133,9 @@ parameters:
- ${_param:cluster_node02_address}:/srv/glusterfs/nova_instances
- ${_param:cluster_node03_address}:/srv/glusterfs/nova_instances
options:
- cluster.readdir-optimize: On
- nfs.disable: On
- network.remote-dio: On
+ cluster.readdir-optimize: 'On'
+ nfs.disable: 'On'
+ network.remote-dio: 'On'
diagnostics.client-log-level: WARNING
diagnostics.brick-log-level: WARNING
linux:
@@ -152,10 +154,10 @@ parameters:
proto: dhcp
type: bridge
name_servers:
- - 8.8.8.8
- - 8.8.4.4
+ - 8.8.8.8
+ - 8.8.4.4
use_interfaces:
- - ${_param:deploy_nic}
+ - ${_param:deploy_nic}
noifupdown: true
vlan300:
enabled: true
@@ -163,7 +165,7 @@ parameters:
type: vlan
name: ${_param:deploy_nic}.300
use_interfaces:
- - ${_param:deploy_nic}
+ - ${_param:deploy_nic}
br-ctl:
enabled: true
type: bridge
@@ -171,4 +173,4 @@ parameters:
address: ${_param:single_address}
netmask: 255.255.255.0
use_interfaces:
- - ${_param:deploy_nic}.300
+ - ${_param:deploy_nic}.300