[fuel] Parameterize tenant VLAN ranges
[pharos.git] / labs / arm / idf-pod6.yaml
1 ##############################################################################
2 # Copyright (c) 2018 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 6 installer descriptor file ###
10
11 idf:
12   version: 0.1
13   net_config:
14     oob:
15       ip-range: 10.0.1.54-10.0.1.58
16       vlan: native
17     admin:
18       interface: 0
19       vlan: native
20       network: 192.168.11.0
21       mask: 24
22     mgmt:
23       interface: 1
24       vlan: 2323
25       network: 172.16.10.0
26       ip-range: 172.16.10.10-172.16.10.254  # Some IPs are in use by lab infra
27       mask: 24
28     storage:
29       interface: 1
30       vlan: 2324
31       network: 10.2.0.0
32       mask: 24
33     private:
34       interface: 2
35       vlan: 2325-2340
36       network: 10.1.0.0
37       mask: 24
38     public:
39       interface: 1
40       vlan: native
41       network: 10.0.15.0
42       ip-range: 10.0.15.100-10.0.15.253  # Some IPs are in use by lab infra
43       mask: 24
44       gateway: 10.0.15.254
45       dns:
46         - 8.8.8.8
47         - 8.8.4.4
48   fuel:
49     jumphost:
50       bridges:
51         admin: 'admin14_br0'
52         mgmt: 'mgmt14_br0'
53         private: ~
54         public: 'public14_br0'
55     maas:
56       # MaaS timeouts (in minutes)
57       timeout_comissioning: 10
58       timeout_deploying: 15
59     network:
60       node:
61         # Ordered-list, index should be in sync with node index in PDF
62         - interfaces: &interfaces
63             # Ordered-list, index should be in sync with interface index in PDF
64             - 'enP5p144s0'
65             - 'enP2p1s0f1'
66             - 'enP2p1s0f2'
67             - 'enP2p1s0f3'
68             - 'enP2p1s0f4'
69             - 'enP2p1s0f5'
70           busaddr: &busaddr
71             # Bus-info reported by `ethtool -i ethX`
72             - '0005:90:00.0'
73             - '0002:01:00.1'
74             - '0002:01:00.2'
75             - '0002:01:00.3'
76             - '0002:01:00.4'
77             - '0002:01:00.5'
78         - interfaces: *interfaces
79           busaddr: *busaddr
80         - interfaces: *interfaces
81           busaddr: *busaddr
82         - interfaces: *interfaces
83           busaddr: *busaddr
84         - interfaces: *interfaces
85           busaddr: *busaddr
86     reclass:
87       node:
88         - compute_params: &compute_params
89             common:
90               nova_cpu_pinning: &nova_cpu_pinning_common "1,2,3,4,5,6,7,8,9,10,11,12"
91               compute_hugepages_size: 2M
92               compute_hugepages_count: 8192
93               compute_hugepages_mount: /mnt/hugepages_2M
94               compute_kernel_isolcpu: *nova_cpu_pinning_common
95             dpdk:
96               nova_cpu_pinning: "5-7,13-15"
97               compute_hugepages_size: 2M
98               compute_hugepages_count: 8192
99               compute_hugepages_mount: /mnt/hugepages_2M
100               compute_kernel_isolcpu: 2,3,5,6,7,10,11,13,14,15
101               compute_dpdk_driver: vfio
102               compute_ovs_pmd_cpu_mask: "0xc04"
103               compute_ovs_dpdk_socket_mem: "2048"
104               compute_ovs_dpdk_lcore_mask: "0x8"
105               compute_ovs_memory_channels: "2"
106               dpdk0_driver: vfio-pci
107               dpdk0_n_rxq: 2
108         - compute_params: *compute_params
109         - compute_params: *compute_params
110         - compute_params: *compute_params
111         - compute_params: *compute_params