[fuel] Parameterize tenant VLAN ranges
[pharos.git] / labs / ericsson / idf-pod1.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 POD 1 installer descriptor file ###
10
11 idf:
12   version: 0.1
13   net_config:
14     oob:
15       interface: 0
16       ip-range: 172.16.1.16-172.16.1.21
17       vlan: native
18     admin:
19       interface: 4
20       vlan: native
21       network: 192.168.11.0  # Untagged, 'PXE/Admin' for MaaS (no IP on JP)
22       mask: 24
23     mgmt:
24       interface: 2
25       vlan: 81
26       network: 192.168.10.0
27       ip-range: 192.168.10.10-192.168.10.254  # Some IPs are in use by lab infra
28       mask: 24
29     storage:
30       interface: 2
31       vlan: 82
32       network: 192.168.20.0
33       mask: 24
34     private:
35       interface: 3
36       vlan: 1000-1030
37       network: 192.168.2.0
38       mask: 24
39     public:
40       interface: 2
41       vlan: 80
42       network: 100.64.200.0
43       ip-range: 100.64.200.100-100.64.200.254  # Some IPs are in use by lab infra
44       mask: 24
45       gateway: 100.64.200.1
46       dns:
47         - 8.8.8.8
48         - 8.8.4.4
49   fuel:
50     jumphost:
51       bridges:
52         admin: 'pxebr'
53         mgmt: 'br-mgmt'
54         private: ~
55         public: 'br-external'
56     network:
57       node:
58         # Ordered-list, index should be in sync with node index in PDF
59         - interfaces: &interfaces
60             # Ordered-list, index should be in sync with interface index in PDF
61             - 'ens1f0'
62             - 'ens1f1'
63             - 'ens2f0'
64             - 'ens2f1'
65             - 'eno1'
66             - 'eno2'
67           busaddr: &busaddr
68             # Bus-info reported by `ethtool -i ethX`
69             - '0000:05:00.0'
70             - '0000:05:00.1'
71             - '0000:21:00.0'
72             - '0000:21:00.1'
73             - '0000:04:00.0'
74             - '0000:04:00.1'
75         - interfaces: *interfaces
76           busaddr: *busaddr
77         - interfaces: *interfaces
78           busaddr: *busaddr
79         - interfaces: *interfaces
80           busaddr: *busaddr
81         - interfaces: *interfaces
82           busaddr: *busaddr