LF-POD4 PDF/IDF
[pharos.git] / labs / lf / idf-pod4.yaml
1 ##############################################################################
2 # Copyright (c) 2018 Linux Foundation, 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 4 installer descriptor file ###
10
11 idf:
12   version: 0.1
13   net_config: &net_config
14     oob:
15       interface: 0
16       ip-range: 172.30.8.83-172.30.8.88
17       vlan: 410
18     admin:
19       interface: 0
20       vlan: native
21       network: 192.168.12.0
22       gateway: 192.168.12.1
23       dns: 8.8.8.8
24       mask: 24
25     mgmt:
26       interface: 1
27       vlan: 450
28       network: 192.168.3.0
29       mask: 24
30     storage:
31       interface: 3
32       vlan: 451
33       network: 192.168.4.0
34       mask: 24
35     private:
36       interface: 2
37       vlan: 452
38       network: 192.168.5.0
39       mask: 24
40     public:
41       interface: 4
42       vlan: 414
43       network: 172.30.12.64
44       mask: 26
45       gateway: 172.30.12.1
46       dns:
47         - 8.8.8.8
48         - 8.8.4.4
49   osa: &idf_osa
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             - 'eno1'
63             - 'eno3'
64             - 'eno4'
65           busaddr: &busaddr
66             # Bus-info reported by `ethtool -i ethX`
67             - '0000:04:00.0'
68             - '0000:02:00.0'
69             - '0000:02:00.1'
70         - interfaces: *interfaces
71           busaddr: *busaddr
72         - interfaces: *interfaces
73           busaddr: *busaddr
74         - interfaces: *interfaces
75           busaddr: *busaddr
76         - interfaces: *interfaces
77           busaddr: *busaddr
78 xci:
79   pod_name: lf-pod4
80   net_config: *net_config
81   nodes_roles:
82     opnfv_host: [opnfv_host]
83     pod4-node1: [compute, storage]
84     pod4-node2: [compute, storage]
85     pod4-node3: [controller, storage]
86     pod4-node4: [controller, storage]
87     pod4-node5: [controller, storage]
88
89   # net_config network to be used by the PXE
90   pxe_network: admin
91
92   # As the MAC of generated bridges are generated, we use a list of local
93   # bridges to create libvirt networks
94   jumphost_interfaces_bridges:
95     - name: br_admin
96       ip:
97
98   extra_addresses:
99     opnfv_host: 192.168.12.2
100
101   # network mapping
102   network_mapping:
103     net-mgmt: admin
104     net-storage: storage
105     net-internal: private
106     net-vnf: public
107
108   installers:
109     osa: *idf_osa