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   fuel:
53     jumphost:
54       bridges:
55         admin: 'pxebr'
56         mgmt: 'br-ctl'
57         private: ~
58         public: ~
59     network:
60       node:
61         # Ordered-list, index should be in sync with node index in PDF
62         - interfaces: &interfaces
63             # Ordered-list, index should be in sync with interface index in PDF
64             - 'eno1'
65             - 'eno3'
66             - 'eno4'
67           busaddr: &busaddr
68             # Bus-info reported by `ethtool -i ethX`
69             - '0000:04:00.0'
70             - '0000:02:00.0'
71             - '0000:02:00.1'
72         - interfaces: *interfaces
73           busaddr: *busaddr
74         - interfaces: *interfaces
75           busaddr: *busaddr
76         - interfaces: *interfaces
77           busaddr: *busaddr
78         - interfaces: *interfaces
79           busaddr: *busaddr
80 xci:
81   pod_name: lf-pod4
82   net_config: *net_config
83   nodes_roles:
84     opnfv_host: [opnfv_host]
85     pod4-node1: [compute, storage]
86     pod4-node2: [compute, storage]
87     pod4-node3: [controller, storage]
88     pod4-node4: [controller, storage]
89     pod4-node5: [controller, storage]
90
91   # net_config network to be used by the PXE
92   pxe_network: admin
93
94   # As the MAC of generated bridges are generated, we use a list of local
95   # bridges to create libvirt networks
96   jumphost_interfaces_bridges:
97     - name: br_admin
98       ip:
99
100   extra_addresses:
101     opnfv_host: 192.168.12.2
102
103   # network mapping
104   network_mapping:
105     net-mgmt: admin
106     net-storage: storage
107     net-internal: private
108     net-vnf: public
109
110   installers:
111     osa: *idf_osa