141af4d26cdfc57c2b0c60ba335897deeb865fa9
[fuel.git] / mcp / config / scenario / defaults.yaml.j2
1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 {%- import 'net_map.j2' as nm with context %}
9 ---
10 x86_64:
11   base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
12   default:
13     vcpus: 2
14     ram: 4096
15     virtual: &arch_default_virtual_nodes_infra
16       nodes:
17         infra:
18 {%- if nm.cluster.has_baremetal_nodes %}
19           - mas01
20 {%- endif %}
21     cluster: &arch_default_cluster_states
22       states:
23         - virtual_init
24 {%- if nm.cluster.has_baremetal_nodes %}
25         - maas
26         - baremetal_init
27 {%- if conf.MCP_VCP %}
28         - virtual_control_plane
29 {%- endif %}
30 {%- endif %}
31   common:
32     apt:
33       keys:
34         - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
35       repos:
36         # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
37         - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
38     pkg:
39       install:
40         - linux-generic-hwe-16.04
41         - salt-minion
42   control:
43     apt: ~
44     pkg:
45       install:
46         - cloud-init
47 aarch64:
48   base_image: https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-arm64-uefi1.img
49   default:
50     vcpus: 6
51     ram: 4096
52     virtual: *arch_default_virtual_nodes_infra
53     cluster: *arch_default_cluster_states
54   common:
55     apt:
56       keys:
57         - https://linux.enea.com/mcp-repos/queens/xenial/archive-mcpqueens.key
58         - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub
59       repos:
60         # <repo name> <repo prio> deb [arch=<arch>] <repo url> <repo dist> <repo comp>
61         - saltstack 500 deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7 xenial main
62         - armband_3 1201 deb [arch=arm64] http://linux.enea.com/mcp-repos/queens/xenial queens-armband main
63     pkg:
64       install:
65         - python-futures
66         - salt-minion
67   control:
68     apt: ~
69     pkg:
70       install:
71         - cloud-init