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