Merge "Add mask to the oob networks"
[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   installer: ['apex', 'compass4nfv', 'daisy', 'fuel']
14   net_config: &net_config
15     oob:
16       interface: 0
17       ip-range: 172.30.8.83-172.30.8.88
18       vlan: 410
19       mask: 29
20     admin:
21       interface: 0
22       vlan: native
23       network: 192.168.12.0
24       gateway: 192.168.12.1
25       dns: 8.8.8.8
26       mask: 24
27     mgmt:
28       interface: 1
29       vlan: 450
30       network: 192.168.3.0
31       mask: 24
32     storage:
33       interface: 3
34       vlan: 451
35       network: 192.168.4.0
36       mask: 24
37     private:
38       interface: 2
39       vlan: 452
40       network: 192.168.5.0
41       mask: 24
42     public:
43       interface: 4
44       vlan: 414
45       network: 172.30.12.64
46       mask: 26
47       gateway: 172.30.12.1
48       dns:
49         - 8.8.8.8
50         - 8.8.4.4
51   osa: &idf_osa
52     nodes_roles:
53       opnfv: [deployment]
54       node1: [controller]
55       node2: [compute, storage]
56       node3: [compute, storage]
57       node4: [controller]
58       node5: [controller]
59     groups:
60       openstack:
61         - controller
62         - compute
63         - storage
64     hostnames:
65       opnfv: opnfv
66       node1: controller00
67       node2: compute00
68       node3: compute01
69       node4: controller01
70       node5: controller02
71     network:
72       # network mapping
73       network_mapping:
74         # Management network used by installer components to communicate
75         net-mgmt: mgmt
76         # Storage Network
77         net-storage: storage
78         # Internal network for communication between VNF
79         net-internal: private
80         # Public network for VNF remote acces (ext-net in Openstack)
81         net-vnf: public
82       deployment_host_interfaces:
83         # Ordered-list, index should be in sync with interface index in PDF
84         - 'eno1'
85         - 'eno3.450'
86         - 'eno3.452'
87         - 'eno4.451'
88         - 'eno4.414'
89   fuel:
90     jumphost:
91       bridges:
92         admin: 'pxebr'
93         mgmt: 'br-ctl'
94         private: ~
95         public: ~
96     network:
97       node:
98         # Ordered-list, index should be in sync with node index in PDF
99         - interfaces: &interfaces
100             # Ordered-list, index should be in sync with interface index in PDF
101             - 'eno1'
102             - 'eno3'
103             - 'eno4'
104           busaddr: &busaddr
105             # Bus-info reported by `ethtool -i ethX`
106             - '0000:04:00.0'
107             - '0000:02:00.0'
108             - '0000:02:00.1'
109         - interfaces: *interfaces
110           busaddr: *busaddr
111         - interfaces: *interfaces
112           busaddr: *busaddr
113         - interfaces: *interfaces
114           busaddr: *busaddr
115         - interfaces: *interfaces
116           busaddr: *busaddr
117 xci:
118   pod_name: lf-pod4
119   net_config: *net_config
120   nodes_roles:
121     opnfv_host: [opnfv_host]
122     pod4-node1: [compute, storage]
123     pod4-node2: [compute, storage]
124     pod4-node3: [controller, storage]
125     pod4-node4: [controller, storage]
126     pod4-node5: [controller, storage]
127
128   # net_config network to be used by the PXE
129   pxe_network: admin
130
131   # As the MAC of generated bridges are generated, we use a list of local
132   # bridges to create libvirt networks
133   jumphost_interfaces_bridges:
134     - name: br_admin
135       ip:
136
137   extra_addresses:
138     opnfv_host: 192.168.12.2
139
140   # network mapping
141   network_mapping:
142     net-mgmt: admin
143     net-storage: storage
144     net-internal: private
145     net-vnf: public
146
147   installers:
148     osa: *idf_osa