blob: f2a6b4e68572cfceddf8565fade4b5aa20fe94c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
##############################################################################
# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
classes:
- system.linux.system.single
- cluster.all-mcp-arch-common
# - cluster.baremetal-mcp-pike-common-ha.stacklight
# - cluster.baremetal-mcp-pike-common-ha.stacklight.client
parameters:
_param:
apt_mk_version: nightly
mcp_repo_version: 1.1
salt_version: 2016.11
cluster_domain: ${_param:cluster_name}.local
# stacklight_environment: ${_param:cluster_domain}
reclass_data_revision: master
reclass_config_master: ${_param:opnfv_infra_config_pxe_address}
cluster_public_host: ${_param:openstack_proxy_address}
infra_config_hostname: cfg01
infra_maas_database_password: opnfv_secret
# infra service addresses
infra_config_address: ${_param:opnfv_infra_config_address}
infra_config_deploy_address: ${_param:opnfv_salt_master_ip}
infra_maas_node01_address: ${_param:opnfv_infra_maas_node01_address}
infra_maas_node01_deploy_address: ${_param:opnfv_infra_maas_node01_deploy_address}
infra_kvm_address: ${_param:opnfv_infra_kvm_address}
infra_kvm_node01_address: ${_param:opnfv_infra_kvm_node01_address}
infra_kvm_node02_address: ${_param:opnfv_infra_kvm_node02_address}
infra_kvm_node03_address: ${_param:opnfv_infra_kvm_node03_address}
infra_maas_node01_hostname: mas01
infra_kvm_node01_hostname: kvm01
infra_kvm_node02_hostname: kvm02
infra_kvm_node03_hostname: kvm03
ntp_strata_host1: 1.pool.ntp.org
ntp_strata_host2: 0.pool.ntp.org
# Interface definitions
reclass:
storage:
node:
name: default
# yamllint disable-line rule:line-length
salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
reclass:
storage:
node:
openstack_proxy_node01:
params:
control_address: ${_param:openstack_proxy_node01_control_address}
openstack_proxy_node02:
params:
control_address: ${_param:openstack_proxy_node02_control_address}
linux:
system:
apt:
config:
prefer_ipv4:
Acquire::ForceIPv4: true
user:
ubuntu:
enabled: true
sudo: true
home: /home/ubuntu
network:
host:
cfg01:
address: ${_param:infra_config_address}
names:
- cfg01
- cfg01.${_param:cluster_domain}
cfg:
address: ${_param:infra_config_address}
names:
- ${_param:infra_config_hostname}
- ${_param:infra_config_hostname}.${_param:cluster_domain}
mas01:
address: ${_param:infra_maas_node01_address}
names:
- ${_param:infra_maas_node01_hostname}
- ${_param:infra_maas_node01_hostname}.${_param:cluster_domain}
kvm01:
address: ${_param:infra_kvm_node01_address}
names:
- ${_param:infra_kvm_node01_hostname}
- ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
kvm02:
address: ${_param:infra_kvm_node02_address}
names:
- ${_param:infra_kvm_node02_hostname}
- ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
kvm03:
address: ${_param:infra_kvm_node03_address}
names:
- ${_param:infra_kvm_node03_hostname}
- ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
|