[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   installer: ['apex', 'compass4nfv', 'daisy', 'fuel']
14   net_config:
15     # NOTE: Network names are likely to change after the PDF spec is updated
16     oob:
17       interface: 0
18       ip-range: 172.30.8.65-172.30.8.75
19       vlan: 410
20     admin:
21       interface: 0
22       vlan: native
23       network: 192.168.11.0  # Untagged, 'PXE/Admin' on wiki, different IP
24       mask: 24
25     mgmt:
26       interface: 0
27       vlan: 300
28       network: 10.167.4.0    # Tagged, 'vlan 300' on wiki
29       ip-range: 10.167.4.10-10.167.4.254  # Some IPs are in use by lab infra
30       mask: 24
31     storage:
32       interface: 3
33       vlan: 301
34       network: 10.2.0.0      # Tagged, not the same with 'storage' on wiki
35       mask: 24
36     private:
37       interface: 1
38       vlan: 1000-1030
39       network: 10.1.0.0      # Tagged, not the same with 'private' on wiki
40       mask: 24
41     public:
42       interface: 2
43       vlan: native
44       network: 172.30.10.0   # Untagged, 'public' on wiki
45       ip-range: 172.30.10.100-172.30.10.254  # Some IPs are in use by lab infra
46       mask: 24
47       gateway: 172.30.10.1
48       dns:
49         - 8.8.8.8
50         - 8.8.4.4
51   fuel:
52     jumphost:
53       bridges:
54         admin: 'pxebr'
55         mgmt: 'br-ctl'
56         private: ~
57         public: ~
58     network:
59       node:
60         # Ordered-list, index should be in sync with node index in PDF
61         - interfaces: &interfaces
62             # Ordered-list, index should be in sync with interface index in PDF
63             - 'enp6s0'
64             - 'enp7s0'
65             - 'enp8s0'
66             - 'enp9s0'
67           busaddr: &busaddr
68             # Bus-info reported by `ethtool -i ethX`
69             - '0000:06:00.0'
70             - '0000:07:00.0'
71             - '0000:08:00.0'
72             - '0000:09:00.0'
73         - interfaces: *interfaces
74           busaddr: *busaddr
75         - interfaces: *interfaces
76           busaddr: *busaddr
77         - interfaces: *interfaces
78           busaddr: *busaddr
79         - interfaces: *interfaces
80           busaddr: *busaddr