[fuel] Parameterize tenant VLAN ranges
[pharos.git] / labs / lf / idf-pod2.yaml
1 ##############################################################################
2 # Copyright (c) 2018 Linux Foundation, 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 ### LF POD 2 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: 172.30.8.65-172.30.8.75
18       vlan: 410
19     admin:
20       interface: 0
21       vlan: native
22       network: 192.168.11.0  # Untagged, 'PXE/Admin' on wiki, different IP
23       mask: 24
24     mgmt:
25       interface: 0
26       vlan: 300
27       network: 10.167.4.0    # Tagged, 'vlan 300' on wiki
28       ip-range: 10.167.4.10-10.167.4.254  # Some IPs are in use by lab infra
29       mask: 24
30     storage:
31       interface: 3
32       vlan: 301
33       network: 10.2.0.0      # Tagged, not the same with 'storage' on wiki
34       mask: 24
35     private:
36       interface: 1
37       vlan: 1000-1030
38       network: 10.1.0.0      # Tagged, not the same with 'private' on wiki
39       mask: 24
40     public:
41       interface: 2
42       vlan: native
43       network: 172.30.10.0   # Untagged, 'public' on wiki
44       ip-range: 172.30.10.100-172.30.10.254  # Some IPs are in use by lab infra
45       mask: 24
46       gateway: 172.30.10.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-ctl'
55         private: ~
56         public: ~
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             - 'enp6s0'
63             - 'enp7s0'
64             - 'enp8s0'
65             - 'enp9s0'
66           busaddr: &busaddr
67             # Bus-info reported by `ethtool -i ethX`
68             - '0000:06:00.0'
69             - '0000:07:00.0'
70             - '0000:08:00.0'
71             - '0000:09:00.0'
72         - interfaces: *interfaces
73           busaddr: *busaddr
74         - interfaces: *interfaces
75           busaddr: *busaddr
76         - interfaces: *interfaces
77           busaddr: *busaddr
78         - interfaces: *interfaces
79           busaddr: *busaddr