[fuel] net_macros: Allow interface proto override
[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       mask: 29
20     admin:
21       interface: 4
22       vlan: native
23       network: 192.168.11.0  # Untagged, 'PXE/Admin' for MaaS (no IP on JP)
24       mask: 24
25     mgmt:
26       interface: 2
27       vlan: 81
28       network: 192.168.10.0
29       ip-range: 192.168.10.10-192.168.10.254  # Some IPs are in use by lab infra
30       mask: 24
31     storage:
32       interface: 2
33       vlan: 82
34       network: 192.168.20.0
35       mask: 24
36     private:
37       interface: 3
38       vlan: 1000-1030
39       network: 192.168.2.0
40       mask: 24
41     public:
42       interface: 2
43       vlan: 80
44       network: 100.64.200.0
45       ip-range: 100.64.200.100-100.64.200.254  # Some IPs are in use by lab infra
46       mask: 24
47       gateway: 100.64.200.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-mgmt'
56         private: ~
57         public: 'br-external'
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             - 'ens1f0'
66             - 'ens1f1'
67             - 'ens2f0'
68             - 'ens2f1'
69             - 'eno1'
70             - 'eno2'
71           busaddr: &busaddr
72             # Bus-info reported by `ethtool -i ethX`
73             - '0000:05:00.0'
74             - '0000:05:00.1'
75             - '0000:21:00.0'
76             - '0000:21:00.1'
77             - '0000:04:00.0'
78             - '0000:04:00.1'
79         - interfaces: *interfaces
80           busaddr: *busaddr
81         - interfaces: *interfaces
82           busaddr: *busaddr
83         - interfaces: *interfaces
84           busaddr: *busaddr
85         - interfaces: *interfaces
86           busaddr: *busaddr