24d11737219c6008d39129c5562d916c43d712e8
[pharos.git] / labs / arm / idf-virtual2.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 VIRTUAL 2 installer descriptor file ###
10
11 idf:
12   version: 0.1
13   net_config:
14     oob:
15       interface: 0
16       ip-range: ~
17       vlan: native
18     # All networks (except OOB) are virtual networks managed by `libvirt`
19     # Interface indexes are based on Fuel installer defaults
20     admin:
21       interface: 0  # when used, should be first vnet interface, untagged
22       vlan: native
23       network: 192.168.11.0
24       mask: 24
25     mgmt:
26       interface: 1  # when used, should be second vnet interface, untagged
27       vlan: native
28       network: 172.16.10.0
29       ip-range: 172.16.10.10-172.16.10.254  # Some IPs are in use by lab infra
30       mask: 24
31     storage:
32       interface: 4
33       vlan: native
34       network: 192.168.20.0
35       mask: 24
36     private:
37       interface: 2
38       vlan: native
39       network: 10.1.0.0
40       mask: 24
41     public:
42       interface: 3
43       vlan: native
44       network: 10.0.9.0
45       ip-range: 10.0.9.100-10.0.9.253  # Some IPs are in use by lab infra
46       mask: 24
47       gateway: 10.0.9.254
48       dns:
49         - 8.8.8.8
50         - 8.8.4.4
51   fuel:
52     jumphost:
53       bridges:
54         admin: ~
55         mgmt: ~
56         private: ~
57         public: 'public'
58     network:
59       ntp_strata_host1: 1.se.pool.ntp.org
60       ntp_strata_host2: 0.se.pool.ntp.org
61       node:
62         # Ordered-list, index should be in sync with node index in PDF
63         - interfaces: &interfaces
64             # Ordered-list, index should be in sync with interface index in PDF
65             - 'enp1s0'
66             - 'enp2s0'
67             - 'enp3s0'
68             - 'enp4s0'
69           busaddr: &busaddr
70             # Bus-info reported by `ethtool -i ethX`
71             - '0000:01:00.0'
72             - '0000:02:00.0'
73             - '0000:03:00.0'
74             - '0000:04:00.0'
75         - interfaces: *interfaces
76           busaddr: *busaddr
77         - interfaces: *interfaces
78           busaddr: *busaddr
79         - interfaces: *interfaces
80           busaddr: *busaddr
81         - interfaces: *interfaces
82           busaddr: *busaddr