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