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