fe11a9b5201c535124b7bda44db15f3159d95f74
[apex.git] / config / network / network_settings.yaml
1 ---
2 # This configuration file defines Network Environment for a
3 # Baremetal Deployment of OPNFV. It contains default values
4 # for 5 following networks:
5 #
6 # - admin
7 # - tenant*
8 # - external*
9 # - storage*
10 # - api*
11 # *) optional networks
12 #
13 # Optional networks will be consolidated with the admin network
14 # if not explicitly configured.
15 #
16 # See short description of the networks in the comments below.
17 #
18 # "admin" is the short name for Control Plane Network.
19 # This network should be IPv4 even it is an IPv6 deployment
20 # IPv6 does not have PXE boot support.
21 # During OPNFV deployment it is used for node provisioning which will require
22 # PXE booting as well as running a DHCP server on this network.  Be sure to
23 # disable any other DHCP/TFTP server on this network.
24 #
25 # "tenant" is the network used for tenant traffic.
26 #
27 # "external" is the network which should have internet or external
28 # connectivity.  External OpenStack networks will be configured to egress this
29 # network.  There can be multiple external networks, but only one assigned as
30 # "public" which OpenStack public API's will register.
31 #
32 # "storage" is the network for storage I/O.
33 #
34 # "api" is an optional network for splitting out OpenStack service API
35 # communication.  This should be used for IPv6 deployments.
36
37
38 # Meta data for the network configuration
39 network-config-metadata:
40   title: LF-POD-1 Network config
41   version: 0.1
42   created: Mon Dec 28 2015
43   comment: None
44
45 # DNS Settings
46 dns-domain: opnfvlf.org
47 dns-search: opnfvlf.org
48 dns_nameservers:
49   - 8.8.8.8
50   - 8.8.4.4
51 # NTP servers
52 ntp:
53   - 0.se.pool.ntp.org
54   - 1.se.pool.ntp.org
55 # Syslog server
56 syslog:
57   server: 10.128.1.24
58   transport: 'tcp'
59
60 # Common network settings
61 networks:
62   # Admin configuration (pxe and jumpstart)
63   admin:
64     enabled: true
65     # Network settings for the Installer VM on admin network
66     installer_vm:
67       # Indicates if this VM will be bridged to an interface, or to a bond
68       nic_type: interface
69       # Interfaces to bridge for installer VM (use multiple values for bond)
70       members:
71         - em1
72       # VLAN tag to use for this network on Installer VM, native means none
73       vlan: native
74       # IP to assign to Installer VM on this network
75       ip: 192.0.2.1
76     # Usable ip range for the overcloud node IPs (including VIPs)
77     # Last IP is used for host bridge (i.e. br-admin).
78     # If empty entire range is usable.
79     # Cannot overlap with dhcp_range or introspection_range.
80     overcloud_ip_range:
81       - 192.0.2.51
82       - 192.0.2.99
83     # Gateway (only needed when public_network is disabled)
84     gateway: 192.0.2.1
85     # Subnet in CIDR format 192.168.1.0/24
86     cidr: 192.0.2.0/24
87     # DHCP range for the admin network, automatically provisioned if empty
88     dhcp_range:
89       - 192.0.2.2
90       - 192.0.2.50
91     # Mapping of network configuration for Overcloud Nodes
92     nic_mapping:
93       # Mapping for compute profile (nodes assigned as Compute nodes)
94       compute:
95         # Physical interface type (interface or bond)
96         phys_type: interface
97         # Physical NIC members (Single value allowed for phys_type: interface)
98         members:
99           - eth0
100       # Mapping for controller profile (nodes assigned as Controller nodes)
101       controller:
102         phys_type: interface
103         members:
104           - eth0
105
106   # Tenant network configuration
107   tenant:
108     enabled: true
109     # Subnet in CIDR format 192.168.1.0/24
110     cidr: 11.0.0.0/24
111     # Tenant network MTU
112     mtu: 1500
113     # Tenant network Overlay segmentation ID range:
114     # VNI, VLAN-ID, etc.
115     overlay_id_range: 2,65535
116
117     # Tenant network segmentation type:
118     # vlan, vxlan, gre
119     segmentation_type: vxlan
120     # Mapping of network configuration for Overcloud Nodes
121     nic_mapping:
122       # Mapping for compute profile (nodes assigned as Compute nodes)
123       compute:
124         # Physical interface type (interface/bond)
125         phys_type: interface
126         # UIO driver to use for DPDK scenarios.
127         # The value is ignored for non-DPDK scenarios.
128         uio_driver: uio_pci_generic
129         # VLAN tag to use with this NIC
130         vlan: native
131         # Physical NIC members of this mapping
132         # Single value allowed for phys_type: interface
133         members:
134           # Note logical name like nic1 not valid for fdio deployment yet.
135           - eth1
136       # Mapping for controller profile (nodes assigned as Controller nodes)
137       controller:
138         # Physical interface type (interface/bond)
139         phys_type: interface
140         vlan: native
141         # Note: logicial names like nic1 are not valid for fdio deployment yet.
142         members:
143           - eth1
144
145   # Can contain 1 or more external networks
146   external:
147     - public:
148       enabled: true
149       # Public network MTU
150       mtu: 1500
151       # Network settings for the Installer VM on external network
152       # (note only valid on 'public' external network)
153       installer_vm:
154         # Indicates if this VM will be bridged to an interface, or to a bond
155         nic_type: interface
156         vlan: native
157         # Interfaces to bridge for installer VM (use multiple values for bond)
158         members:
159           - em1
160         # IP to assign to Installer VM on this network
161         ip: 192.168.37.1
162       cidr: 192.168.37.0/24
163       gateway: 192.168.37.1
164       # Range to allocate to floating IPs for the public network with Neutron
165       floating_ip_range:
166         - 192.168.37.200
167         - 192.168.37.220
168       # Usable ip range for the overcloud node IPs (including VIPs)
169       # Last IP will be used for host bridge (i.e. br-public).
170       # If empty entire range is usable.
171       # Cannot overlap with dhcp_range or introspection_range.
172       overcloud_ip_range:
173         - 192.168.37.10
174         - 192.168.37.199
175       # Mapping of network configuration for Overcloud Nodes
176       nic_mapping:
177         # Mapping for compute profile (nodes assigned as Compute nodes)
178         compute:
179           # Physical interface type (interface or bond)
180           phys_type: interface
181           # VLAN tag to use with this NIC
182           vlan: native
183           # Physical NIC members of this mapping
184           # Single value allowed for phys_type: interface
185           members:
186             - eth2
187         # Mapping for controller profile (nodes assigned as Controller nodes)
188         controller:
189           phys_type: interface
190           vlan: native
191           members:
192             - eth2
193       # External network to be created in OpenStack by Services tenant
194       external_overlay:
195         name: Public_internet
196         type: flat
197         gateway: 192.168.37.1
198     # another external network
199     # This is an example and not yet supported
200     - private_cloud:
201       enabled: false
202       mtu: 1500
203       # Network settings for the Installer VM on external network
204       # note only valid on 'public' external network
205       installer_vm:
206         # Indicates if this VM will be bridged to an interface, or to a bond
207         nic_type: interface
208         vlan: 101
209         # Interfaces to bridge for installer VM (use multiple values for bond)
210         members:
211           - em1
212         # IP to assign to Installer VM on this network
213         ip: 192.168.38.1
214       cidr: 192.168.38.0/24
215       gateway: 192.168.38.1
216       # Range to allocate to floating IPs for the public network with Neutron
217       floating_ip_range:
218         - 192.168.38.200
219         - 192.168.38.220
220       # Usable IP range for overcloud nodes (including VIPs)i
221       # usually this is a shared subnet.
222       # Cannot overlap with dhcp_range or introspection_range.
223       overcloud_ip_range:
224         - 192.168.38.10
225         - 192.168.38.199
226       # Mapping of network configuration for Overcloud Nodes
227       nic_mapping:
228         # Mapping for compute profile (nodes assigned as Compute nodes)
229         compute:
230           # Physical interface type (interface or bond)
231           phys_type: interface
232           # VLAN tag to use with this NIC
233           vlan: 101
234           # Physical NIC members of this mappingi
235           # Single value allowed for phys_type: interface
236           # Note: logical names like nic1 are not valid for fdio deployment yet.
237           members:
238             - eth3
239         # Mapping for controller profile (nodes assigned as Controller nodes)
240         controller:
241           phys_type: interface
242           vlan: 101
243           members:
244             - eth3
245       # External network to be created in OpenStack by Services tenant
246       external_overlay:
247         name: private_cloud
248         type: vlan
249         segmentation_id: 101
250         gateway: 192.168.38.1
251
252   # Storage network configuration
253   storage:
254     enabled: true
255     # Subnet in CIDR format
256     cidr: 12.0.0.0/24
257     # Storage network MTU
258     mtu: 1500
259     # Mapping of network configuration for Overcloud Nodes
260     nic_mapping:
261       # Mapping for compute profile (nodes assigned as Compute nodes)
262       compute:
263         # Physical interface type (interface or bond)
264         phys_type: interface
265         # VLAN tag to use with this NIC
266         vlan: native
267         # Physical NIC members of this mapping
268         # Single value allowed for phys_type: interface
269         members:
270           # Note logical names like nic1 not valid for fdio deployment yet.
271           - eth3
272       # Mapping for controller profile (nodes assigned as Controller nodes)
273       controller:
274         phys_type: interface
275         vlan: native
276         members:
277           - eth3
278
279   api:
280     # API network configuration
281     enabled: false
282     # Subnet in CIDR format
283     cidr: fd00:fd00:fd00:4000::/64
284     # VLAN tag to use for Overcloud hosts on this network
285     vlan: 13
286     # Api network MTU
287     mtu: 1500
288     # Mapping of network configuration for Overcloud Nodes
289     nic_mapping:
290       # Mapping for compute profile (nodes assigned as Compute nodes)
291       compute:
292         # Physical interface type (interface or bond)
293         phys_type: interface
294         # VLAN tag to use with this NIC
295         vlan: native
296         # Physical NIC members of this mapping
297         # Single value allowed for phys_type: interface
298         # Note logical names like nic1 not valid for fdio deployment yet.
299         members:
300           - eth4
301       # Mapping for controller profile (nodes assigned as Controller nodes)
302       controller:
303         phys_type: interface
304         vlan: native
305         members:
306           - eth4
307
308 # Apex specific settings
309 apex:
310   networks:
311     admin:
312       # Range used for introspection phase (examining nodes).
313       # This cannot overlap with dhcp_range or overcloud_ip_range.
314       # for the overcloud default external network
315       introspection_range:
316         - 192.0.2.100
317         - 192.0.2.120