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