Update idf parameters for arm-pod5
[pharos.git] / labs / arm / idf-pod5.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 5 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.8.3-10.0.8.10
19       vlan: native
20       mask: 24
21     admin:
22       interface: 0
23       vlan: native
24       network: 192.168.11.0
25       mask: 24
26     mgmt:
27       interface: 1
28       vlan: 2183
29       network: 172.16.10.0
30       ip-range: 172.16.10.10-172.16.10.254  # Some IPs are in use by lab infra
31       mask: 24
32     storage:
33       interface: 1
34       vlan: 2184
35       network: 10.2.0.0
36       mask: 24
37     private:
38       interface: 2
39       vlan: 2185-2200
40       network: 10.1.0.0
41       mask: 24
42     public:
43       interface: 1
44       vlan: native
45       network: 10.0.8.0
46       ip-range: 10.0.8.100-10.0.8.253  # Some IPs are in use by lab infra
47       mask: 24
48       gateway: 10.0.8.254
49       dns:
50         - 8.8.8.8
51         - 8.8.4.4
52   fuel:
53     jumphost:
54       bridges:
55         admin: 'admin7_br0'
56         mgmt: 'mgmt7_br0'
57         private: ~
58         public: 'public7_br0'
59     maas:
60       # MaaS timeouts (in minutes)
61       timeout_comissioning: 10
62       timeout_deploying: 15
63     network:
64       ntp_strata_host1: 1.se.pool.ntp.org
65       ntp_strata_host2: 0.se.pool.ntp.org
66       node:
67         # Ordered-list, index should be in sync with node index in PDF
68         - interfaces: &interfaces
69             # Ordered-list, index should be in sync with interface index in PDF
70             - 'eth0'
71             - 'eth1'
72           busaddr: &busaddr
73             # Bus-info reported by `ethtool -i ethX`
74             - 'e0700000.xgmac'
75             - 'e0900000.xgmac'
76         - interfaces: *interfaces
77           busaddr: *busaddr
78         - interfaces: *interfaces
79           busaddr: *busaddr
80         - interfaces: &interfaces_dual
81             - 'eth0'
82             - 'eth1'
83             - 'enp1s0f0'
84             - 'enp1s0f1'
85           busaddr: &busaddr_dual
86             - 'e0700000.xgmac'
87             - 'e0900000.xgmac'
88             - '0000:01:00.0'
89             - '0000:01:00.1'
90         - interfaces: *interfaces_dual
91           busaddr: *busaddr_dual
92     reclass:
93       node:
94         - compute_params: &compute_params
95             common:
96               nova_cpu_pinning: &nova_cpu_pinning_common "2,3,4,5,6,7"
97               compute_hugepages_size: 2M
98               compute_hugepages_count: 8192
99               compute_hugepages_mount: /mnt/hugepages_2M
100               compute_kernel_isolcpu: *nova_cpu_pinning_common
101             dpdk:
102               nova_cpu_pinning: "4-7"
103               compute_hugepages_size: 2M
104               compute_hugepages_count: 8192
105               compute_hugepages_mount: /mnt/hugepages_2M
106               compute_kernel_isolcpu: *nova_cpu_pinning_common
107               compute_dpdk_driver: uio
108               compute_ovs_pmd_cpu_mask: "0xc"
109               compute_ovs_dpdk_socket_mem: "4096"
110               compute_ovs_dpdk_lcore_mask: "0xc"
111               compute_ovs_memory_channels: "2"
112               dpdk0_driver: igb_uio
113               dpdk0_n_rxq: 2
114         - compute_params: *compute_params
115         - compute_params: *compute_params
116         - compute_params: *compute_params
117         - compute_params: *compute_params