[PDF/IDF] UNH virtual1 for LaaS/ONAP usage
[pharos.git] / labs / unh / idf-virtual1.yaml
1 ##############################################################################
2 # Copyright (c) 2019 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 ### unh-virtual1 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       interface_mtu: 9000
62       ntp_strata_host1: 1.pool.ntp.org
63       ntp_strata_host2: 0.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             - 'ens3'
69             - 'ens4'
70             - 'ens5'
71             - 'ens6'
72           busaddr: &busaddr
73             # Bus-info reported by `ethtool -i ethX`
74             - '0000:00:03.0'
75             - '0000:00:04.0'
76             - '0000:00:05.0'
77             - '0000:00:06.0'
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: &compute_params_common
90               compute_hugepages_size: 2M
91               compute_hugepages_count: 2048
92               compute_hugepages_mount: /mnt/hugepages_2M
93             dpdk:
94               <<: *compute_params_common
95               compute_dpdk_driver: uio
96               compute_ovs_pmd_cpu_mask: "0x6"
97               compute_ovs_dpdk_socket_mem: "1024"
98               compute_ovs_dpdk_lcore_mask: "0x8"
99               compute_ovs_memory_channels: "2"
100               dpdk0_driver: igb_uio
101               dpdk0_n_rxq: 2
102         - compute_params: *compute_params
103         - compute_params: *compute_params
104         - compute_params: *compute_params
105         - compute_params: *compute_params