b24263e714f5fb74713f1a31458ebd1e94f78194
[pharos.git] / labs / unh / idf-pod1.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 ### UNH ARM POD installer descriptor file ###
10
11 idf:
12   version: 0.1
13   installer: ['apex', 'compass4nfv', 'daisy', 'fuel']
14   net_config:
15     oob:
16       ip-range: 10.10.52.10-10.10.52.15
17       vlan: native
18     admin:
19       interface: 0
20       vlan: native
21       network: 10.10.53.0
22       mask: 24
23     mgmt:
24       interface: 0
25       vlan: 55
26       network: 172.16.10.0
27       ip-range: 172.16.10.10-172.16.10.254  # Some IPs are in use by lab infra
28       mask: 24
29     storage:
30       interface: 0
31       vlan: 56
32       network: 10.2.0.0
33       mask: 24
34     private:
35       interface: 0
36       vlan: 57
37       network: 10.1.0.0
38       mask: 24
39     public:
40       interface: 0
41       vlan: 50
42       network: 10.10.50.0
43       ip-range: 10.10.50.100-10.10.50.253  # Some IPs are in use by lab infra
44       mask: 24
45       gateway: 10.10.50.1
46       dns:
47         - 8.8.8.8
48         - 8.8.4.4
49   fuel:
50     jumphost:
51       bridges:
52         admin: 'admin1_br0'
53         mgmt: 'mgmt1_br0'
54         private: ''
55         public: 'public1_br0'
56     maas:
57       # MaaS timeouts (in minutes)
58       timeout_comissioning: 15
59       timeout_deploying: 25
60     network:
61       ntp_strata_host1: 1.pool.ntp.org
62       ntp_strata_host2: 0.pool.ntp.org
63       node:
64         # Ordered list, index should be in sync with node index in PDF
65         - interfaces: &interfaces
66             # Ordered-list
67             - 'enP2p1s0f1'
68             - 'enP2p1s0f2'
69             - 'enP2p1s0f3'
70             - 'enP2p1s0f4'
71             - 'enP2p1s0f5'
72           busaddr: &busaddr
73             # Bus-info reported by `ethtool -i ethX`
74             - '0002:01:00.1'
75             - '0002:01:00.2'
76             - '0002:01:00.3'
77             - '0002:01:00.4'
78             - '0002:01:00.5'
79         - interfaces: *interfaces
80           busaddr: *busaddr
81         - interfaces: *interfaces
82           busaddr: *busaddr
83         - interfaces: *interfaces
84           busaddr: *busaddr
85         - interfaces: *interfaces
86           busaddr: *busaddr
87     reclass:
88       node:
89         - compute_params: &compute_params
90             common:
91               nova_cpu_pinning: &nova_cpu_pinning_common "8-47"
92               compute_hugepages_size: 2M
93               compute_hugepages_count: 8192
94               compute_hugepages_mount: /mnt/hugepages_2M
95               compute_kernel_isolcpu: *nova_cpu_pinning_common
96             dpdk:
97               nova_cpu_pinning: "12-47"
98               compute_hugepages_size: 2M
99               compute_hugepages_count: 8192
100               compute_hugepages_mount: /mnt/hugepages_2M
101               compute_kernel_isolcpu: *nova_cpu_pinning_common
102               compute_dpdk_driver: vfio
103               compute_ovs_pmd_cpu_mask: "0x300"
104               compute_ovs_dpdk_socket_mem: "2048"
105               compute_ovs_dpdk_lcore_mask: "0xC00"
106               compute_ovs_memory_channels: "2"
107               dpdk0_driver: vfio-pci
108               dpdk0_n_rxq: 2
109         - compute_params: *compute_params
110         - compute_params: *compute_params
111         - compute_params: *compute_params
112         - compute_params: *compute_params