463a1f7e87750d5242be91d7ca39674870a03b1c
[pharos.git] / labs / arm / idf-pod7.yaml
1 ##############################################################################
2 # Copyright (c) 2017 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 ---
9 ### ARM POD 7 installer descriptor file ###
10
11 idf:
12   version: 0.1
13   # NOTE: Compass & Joid are not supported on this POD since they require at
14   # least 3 network ports on all nodes.
15   installer: ['apex', 'daisy', 'fuel']
16   net_config:
17     oob:
18       ip-range: 10.0.16.2-10.0.16.6
19       vlan: native
20     admin:
21       interface: 0
22       vlan: native
23       network: 192.168.11.0
24       mask: 24
25     mgmt:
26       interface: 1
27       vlan: 2343
28       network: 172.16.10.0
29       ip-range: 172.16.10.10-172.16.10.254  # Some IPs are in use by lab infra
30       mask: 24
31     storage:
32       interface: 1
33       vlan: 2344
34       network: 10.2.0.0
35       mask: 24
36     private:
37       interface: 1
38       vlan: 2345-2360
39       network: 10.1.0.0
40       mask: 24
41     public:
42       interface: 1
43       vlan: native
44       network: 10.0.16.0
45       ip-range: 10.0.16.100-10.0.16.253  # Some IPs are in use by lab infra
46       mask: 24
47       gateway: 10.0.16.254
48       dns:
49         - 8.8.8.8
50         - 8.8.4.4
51   fuel:
52     jumphost:
53       bridges:
54         admin: 'admin15_br0'
55         mgmt: 'mgmt15_br0'
56         private: ~
57         public: 'public15_br0'
58     maas:
59       # MaaS timeouts (in minutes)
60       timeout_comissioning: 10
61       timeout_deploying: 15
62     network:
63       ntp_strata_host1: 1.se.pool.ntp.org
64       ntp_strata_host2: 0.se.pool.ntp.org
65       node:
66         # Ordered-list, index should be in sync with node index in PDF
67         - interfaces: &interfaces_a
68             # Ordered-list, index should be in sync with interface index in PDF
69             - 'enP5s3'
70             - 'enP2p1s0f2'
71             - 'enP2p1s0f1'
72             - 'enP2p1s0f3'
73           busaddr: &busaddr_a
74             # Bus-info reported by `ethtool -i ethX`
75             - '0005:90:00.0'
76             - '0002:01:00.2'
77             - '0002:01:00.1'
78             - '0002:01:00.3'
79         - interfaces: *interfaces_a
80           busaddr: *busaddr_a
81         - interfaces: *interfaces_a
82           busaddr: *busaddr_a
83         - interfaces: &interfaces_b
84             - 'eth0'
85             - 'eth1'
86           busaddr: &busaddr_b
87             - 'e0700000.xgmac'
88             - 'e0900000.xgmac'
89         - interfaces: *interfaces_b
90           busaddr: *busaddr_b
91     reclass:
92       node:
93         - compute_params: &compute_params_a
94             common:
95               nova_cpu_pinning: &nova_cpu_pinning_common_a "2-47"
96               compute_hugepages_size: 2M
97               compute_hugepages_count: 8192
98               compute_hugepages_mount: /mnt/hugepages_2M
99               compute_kernel_isolcpu: *nova_cpu_pinning_common_a
100             dpdk:
101               nova_cpu_pinning: "4-47"
102               compute_hugepages_size: 2M
103               compute_hugepages_count: 8192
104               compute_hugepages_mount: /mnt/hugepages_2M
105               compute_kernel_isolcpu: *nova_cpu_pinning_common_a
106               compute_dpdk_driver: vfio
107               compute_ovs_pmd_cpu_mask: "0xc"
108               compute_ovs_dpdk_socket_mem: "4096"
109               compute_ovs_dpdk_lcore_mask: "0xc"
110               compute_ovs_memory_channels: "2"
111               dpdk0_driver: vfio-pci
112               dpdk0_n_rxq: 2
113         - compute_params: *compute_params_a
114         - compute_params: *compute_params_a
115         - compute_params: &compute_params_b
116             common:
117               nova_cpu_pinning: &nova_cpu_pinning_common_b "2,3,4,5,6,7"
118               compute_hugepages_size: 2M
119               compute_hugepages_count: 8192
120               compute_hugepages_mount: /mnt/hugepages_2M
121               compute_kernel_isolcpu: *nova_cpu_pinning_common_b
122             dpdk:
123               nova_cpu_pinning: "4-7"
124               compute_hugepages_size: 2M
125               compute_hugepages_count: 8192
126               compute_hugepages_mount: /mnt/hugepages_2M
127               compute_kernel_isolcpu: *nova_cpu_pinning_common_b
128               compute_dpdk_driver: vfio
129               compute_ovs_pmd_cpu_mask: "0xc"
130               compute_ovs_dpdk_socket_mem: "4096"
131               compute_ovs_dpdk_lcore_mask: "0xc"
132               compute_ovs_memory_channels: "2"
133               dpdk0_driver: vfio-pci
134               dpdk0_n_rxq: 2
135         - compute_params: *compute_params_b