4a7aa82d2041e534130718598ddf4c90b4284f6e
[pharos.git] / labs / ericsson / idf-virtual3.yaml
1 ##############################################################################
2 # Copyright (c) 2018 Ericsson AB, Mirantis Inc., 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 ### ericsson-virtual3 Installer descriptor file ###
10
11 idf:
12   version: 0.1
13   net_config:
14     # NOTE: Network names are likely to change after the PDF spec is updated
15     oob:
16       interface: 0
17       ip-range: ~
18       vlan: native
19       mask: 24
20     # All networks (except OOB) are virtual networks managed by `libvirt`
21     # Interface indexes are based on Fuel installer defaults
22     admin:
23       interface: 0  # when used, will be first vnet interface, untagged
24       vlan: native
25       network: 192.168.11.0
26       mask: 24
27     mgmt:
28       interface: 1  # when used, will be second vnet interface, untagged
29       vlan: native
30       network: 172.16.10.0
31       ip-range: 172.16.10.10-172.16.10.254  # Some IPs are in use by lab infra
32       mask: 24
33     storage:
34       interface: 4  # when used, will be fifth vnet interface, untagged
35       vlan: native
36       network: 192.168.20.0
37       mask: 24
38     private:
39       interface: 2  # when used, will be third vnet interface, untagged
40       vlan: 1000-1999
41       network: 10.1.0.0
42       mask: 24
43     public:
44       interface: 3  # when used, will be fourth vnet interface, untagged
45       vlan: native
46       network: 10.16.0.0
47       ip-range: 10.16.0.100-10.16.0.254  # Some IPs are in use by lab infra
48       mask: 24
49       gateway: 10.16.0.1
50       dns:
51         - 8.8.8.8
52         - 8.8.4.4
53   fuel:
54     jumphost:
55       bridges:
56         admin: ~
57         mgmt: ~
58         private: ~
59         public: ~
60     network:
61       ntp_strata_host1: 1.se.pool.ntp.org
62       ntp_strata_host2: 0.se.pool.ntp.org
63       node:
64         # Ordered-list, index should be in sync with node index in PDF
65         - interfaces: &interfaces
66             # Ordered-list, index should be in sync with interface index in PDF
67             - 'ens3'
68             - 'ens4'
69             - 'ens5'
70             - 'ens6'
71           busaddr: &busaddr
72             # Bus-info reported by `ethtool -i ethX`
73             - '0000:00:03.0'
74             - '0000:00:04.0'
75             - '0000:00:05.0'
76             - '0000:00:06.0'
77         - interfaces: *interfaces
78           busaddr: *busaddr
79         - interfaces: *interfaces
80           busaddr: *busaddr
81         - interfaces: *interfaces
82           busaddr: *busaddr
83         - interfaces: *interfaces
84           busaddr: *busaddr
85     reclass:
86       node:
87         - compute_params: &compute_params
88             common: &compute_params_common
89               compute_hugepages_size: 2M
90               compute_hugepages_count: 2048
91               compute_hugepages_mount: /mnt/hugepages_2M
92             dpdk:
93               <<: *compute_params_common
94               compute_dpdk_driver: uio
95               compute_ovs_pmd_cpu_mask: "0x6"
96               compute_ovs_dpdk_socket_mem: "1024"
97               compute_ovs_dpdk_lcore_mask: "0x8"
98               compute_ovs_memory_channels: "2"
99               dpdk0_driver: igb_uio
100               dpdk0_n_rxq: 2
101         - compute_params: *compute_params
102         - compute_params: *compute_params
103         - compute_params: *compute_params
104         - compute_params: *compute_params