2f6bba5ec3ba1962622a67910a52bc39a9f48ef2
[apex.git] / config / network / network_settings_vpp.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         # VLAN tag to use with this NIC
127         vlan: native
128         # Physical NIC members of this mapping
129         # Single value allowed for phys_type: interface
130         members:
131           # Note logical name like nic1 not valid for fdio deployment yet.
132           - eth1
133       # Mapping for controller profile (nodes assigned as Controller nodes)
134       controller:
135         # Physical interface type (interface/bond)
136         phys_type: interface
137         vlan: native
138         # Note: logicial names like nic1 are not valid for fdio deployment yet.
139         members:
140           - eth1
141
142   # Can contain 1 or more external networks
143   external:
144     - public:
145       enabled: true
146       # Public network MTU
147       mtu: 1500
148       # Network settings for the Installer VM on external network
149       # (note only valid on 'public' external network)
150       installer_vm:
151         # Indicates if this VM will be bridged to an interface, or to a bond
152         nic_type: interface
153         vlan: native
154         # Interfaces to bridge for installer VM (use multiple values for bond)
155         members:
156           - em1
157         # IP to assign to Installer VM on this network
158         ip: 192.168.37.1
159       cidr: 192.168.37.0/24
160       gateway: 192.168.37.1
161       # Range to allocate to floating IPs for the public network with Neutron
162       floating_ip_range:
163         - 192.168.37.200
164         - 192.168.37.220
165       # Usable ip range for the overcloud node IPs (including VIPs)
166       # Last IP will be used for host bridge (i.e. br-public).
167       # If empty entire range is usable.
168       # Cannot overlap with dhcp_range or introspection_range.
169       overcloud_ip_range:
170         - 192.168.37.10
171         - 192.168.37.199
172       # Mapping of network configuration for Overcloud Nodes
173       nic_mapping:
174         # Mapping for compute profile (nodes assigned as Compute nodes)
175         compute:
176           # Physical interface type (interface or bond)
177           phys_type: interface
178           # VLAN tag to use with this NIC
179           vlan: native
180           # Physical NIC members of this mapping
181           # Single value allowed for phys_type: interface
182           members:
183             - eth2
184         # Mapping for controller profile (nodes assigned as Controller nodes)
185         controller:
186           phys_type: interface
187           vlan: native
188           members:
189             - eth2
190       # External network to be created in OpenStack by Services tenant
191       external_overlay:
192         name: Public_internet
193         type: flat
194         gateway: 192.168.37.1
195     # another external network
196     # This is an example and not yet supported
197     - private_cloud:
198       enabled: false
199       mtu: 1500
200       # Network settings for the Installer VM on external network
201       # note only valid on 'public' external network
202       installer_vm:
203         # Indicates if this VM will be bridged to an interface, or to a bond
204         nic_type: interface
205         vlan: 101
206         # Interfaces to bridge for installer VM (use multiple values for bond)
207         members:
208           - em1
209         # IP to assign to Installer VM on this network
210         ip: 192.168.38.1
211       cidr: 192.168.38.0/24
212       gateway: 192.168.38.1
213       # Range to allocate to floating IPs for the public network with Neutron
214       floating_ip_range:
215         - 192.168.38.200
216         - 192.168.38.220
217       # Usable IP range for overcloud nodes (including VIPs)i
218       # usually this is a shared subnet.
219       # Cannot overlap with dhcp_range or introspection_range.
220       overcloud_ip_range:
221         - 192.168.38.10
222         - 192.168.38.199
223       # Mapping of network configuration for Overcloud Nodes
224       nic_mapping:
225         # Mapping for compute profile (nodes assigned as Compute nodes)
226         compute:
227           # Physical interface type (interface or bond)
228           phys_type: interface
229           # VLAN tag to use with this NIC
230           vlan: 101
231           # Physical NIC members of this mappingi
232           # Single value allowed for phys_type: interface
233           # Note: logical names like nic1 are not valid for fdio deployment yet.
234           members:
235             - eth3
236         # Mapping for controller profile (nodes assigned as Controller nodes)
237         controller:
238           phys_type: interface
239           vlan: 101
240           members:
241             - eth3
242       # External network to be created in OpenStack by Services tenant
243       external_overlay:
244         name: private_cloud
245         type: vlan
246         segmentation_id: 101
247         gateway: 192.168.38.1
248
249   # Storage network configuration
250   storage:
251     enabled: true
252     # Subnet in CIDR format
253     cidr: 12.0.0.0/24
254     # Storage network MTU
255     mtu: 1500
256     # Mapping of network configuration for Overcloud Nodes
257     nic_mapping:
258       # Mapping for compute profile (nodes assigned as Compute nodes)
259       compute:
260         # Physical interface type (interface or bond)
261         phys_type: interface
262         # VLAN tag to use with this NIC
263         vlan: native
264         # Physical NIC members of this mapping
265         # Single value allowed for phys_type: interface
266         members:
267           # Note logical names like nic1 not valid for fdio deployment yet.
268           - eth3
269       # Mapping for controller profile (nodes assigned as Controller nodes)
270       controller:
271         phys_type: interface
272         vlan: native
273         members:
274           - eth3
275
276   api:
277     # API network configuration
278     enabled: false
279     # Subnet in CIDR format
280     cidr: fd00:fd00:fd00:4000::/64
281     # VLAN tag to use for Overcloud hosts on this network
282     vlan: 13
283     # Api network MTU
284     mtu: 1500
285     # Mapping of network configuration for Overcloud Nodes
286     nic_mapping:
287       # Mapping for compute profile (nodes assigned as Compute nodes)
288       compute:
289         # Physical interface type (interface or bond)
290         phys_type: interface
291         # VLAN tag to use with this NIC
292         vlan: native
293         # Physical NIC members of this mapping
294         # Single value allowed for phys_type: interface
295         # Note logical names like nic1 not valid for fdio deployment yet.
296         members:
297           - eth4
298       # Mapping for controller profile (nodes assigned as Controller nodes)
299       controller:
300         phys_type: interface
301         vlan: native
302         members:
303           - eth4
304
305 # Apex specific settings
306 apex:
307   networks:
308     admin:
309       # Range used for introspection phase (examining nodes).
310       # This cannot overlap with dhcp_range or overcloud_ip_range.
311       # for the overcloud default external network
312       introspection_range:
313         - 192.0.2.100
314         - 192.0.2.120