Revert "Updates scenario files for hunter branch"
[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 # http(s) proxy settings added to /etc/environment of uc and oc nodes
61 # http_proxy: http://proxy.server:8080
62 # https_proxy: https://proxy.server:8081
63
64 # Common network settings
65 networks:
66   # Admin configuration (pxe and jumpstart)
67   admin:
68     enabled: true
69     # Network settings for the Installer VM on admin network
70     installer_vm:
71       # Indicates if this VM will be bridged to an interface, or to a bond
72       nic_type: interface
73       # Interfaces to bridge for installer VM (use multiple values for bond)
74       members:
75         - em1
76       # VLAN tag to use for this network on Installer VM, native means none
77       vlan: native
78       # IP to assign to Installer VM on this network
79       ip: 192.0.2.1
80     # Usable ip range for the overcloud node IPs (including VIPs)
81     # Last IP is used for host bridge (i.e. br-admin).
82     # If empty entire range is usable.
83     # Cannot overlap with dhcp_range or introspection_range.
84     overcloud_ip_range:
85       - 192.0.2.51
86       - 192.0.2.99
87     # Gateway (only needed when public_network is disabled)
88     gateway: 192.0.2.1
89     # Subnet in CIDR format 192.168.1.0/24
90     cidr: 192.0.2.0/24
91     # DHCP range for the admin network, automatically provisioned if empty
92     dhcp_range:
93       - 192.0.2.2
94       - 192.0.2.50
95     # Mapping of network configuration for Overcloud Nodes
96     nic_mapping:
97       # Mapping for compute profile (nodes assigned as Compute nodes)
98       compute:
99         # Physical interface type (interface or bond)
100         phys_type: interface
101         # Physical NIC members (Single value allowed for phys_type: interface)
102         members:
103           - eth0
104       # Mapping for controller profile (nodes assigned as Controller nodes)
105       controller:
106         phys_type: interface
107         members:
108           - eth0
109
110   # Tenant network configuration
111   tenant:
112     enabled: true
113     # Subnet in CIDR format 192.168.1.0/24
114     cidr: 11.0.0.0/24
115     # Tenant network MTU
116     mtu: 1500
117     # Tenant network Overlay segmentation ID range:
118     # VNI, VLAN-ID, etc.
119     # VLAN config should follow the pattern of neutron ml2 network_vlan_ranges
120     # allowed patterns are <physical_network> or
121     # <physical_network>:<vlan_min>:<vlan_max>
122     # Note that for VLAN config, physnet 'datacentre:1:1000' is used for
123     # external networks by default and will be automatically added to
124     # Neutron config if the range specified here does not include datacentre.
125     overlay_id_range: 2,65535
126
127     # Tenant network segmentation type:
128     # vlan, vxlan, gre
129     segmentation_type: vxlan
130     # Mapping of network configuration for Overcloud Nodes
131     nic_mapping:
132       # Mapping for compute profile (nodes assigned as Compute nodes)
133       compute:
134         # Physical interface type (interface/bond)
135         phys_type: interface
136         # UIO driver to use for DPDK scenarios.
137         # The value is ignored for non-DPDK scenarios.
138         uio_driver: uio_pci_generic
139         # VLAN tag to use with this NIC
140         vlan: native
141         # Physical NIC members of this mapping
142         # Single value allowed for phys_type: interface
143         members:
144           # Note logical name like nic1 not valid for fdio deployment yet.
145           - eth1
146       # Mapping for controller profile (nodes assigned as Controller nodes)
147       controller:
148         # Physical interface type (interface/bond)
149         phys_type: interface
150         vlan: native
151         # Note: logicial names like nic1 are not valid for fdio deployment yet.
152         members:
153           - eth1
154
155   # Can contain 1 or more external networks
156   external:
157     - public:
158       enabled: true
159       # Public network MTU
160       mtu: 1500
161       # Network settings for the Installer VM on external network
162       # (note only valid on 'public' external network)
163       installer_vm:
164         # Indicates if this VM will be bridged to an interface, or to a bond
165         nic_type: interface
166         vlan: native
167         # Interfaces to bridge for installer VM (use multiple values for bond)
168         members:
169           - em1
170         # IP to assign to Installer VM on this network
171         ip: 192.168.37.1
172       cidr: 192.168.37.0/24
173       gateway: 192.168.37.1
174       # Range to allocate to floating IPs for the public network with Neutron
175       floating_ip_range:
176         - 192.168.37.200
177         - 192.168.37.220
178       # Usable ip range for the overcloud node IPs (including VIPs)
179       # Last IP will be used for host bridge (i.e. br-public).
180       # If empty entire range is usable.
181       # Cannot overlap with dhcp_range or introspection_range.
182       overcloud_ip_range:
183         - 192.168.37.10
184         - 192.168.37.199
185       # Mapping of network configuration for Overcloud Nodes
186       nic_mapping:
187         # Mapping for compute profile (nodes assigned as Compute nodes)
188         compute:
189           # Physical interface type (ovs_bridge, interface or bond)
190           # Note that this phys_type for external network will be changed
191           # to vpp_interface for odl_fdio scenarios and linux_bridge for
192           # nosdn_fdio scenarios.
193           phys_type: ovs_bridge
194           # VLAN tag to use with this NIC
195           vlan: native
196           # Physical NIC members of this mapping
197           # Single value allowed for phys_type: interface
198           members:
199             - eth2
200         # Mapping for controller profile (nodes assigned as Controller nodes)
201         controller:
202           # Note that this phys_type for external network will be changed
203           # to vpp_interface for odl_fdio scenarios and linux_bridge for
204           # nosdn_fdio scenarios.
205           phys_type: ovs_bridge
206           vlan: native
207           members:
208             - eth2
209       # External network to be created in OpenStack by Services tenant
210       external_overlay:
211         name: Public_internet
212         type: flat
213         gateway: 192.168.37.1
214     # another external network
215     # This is an example and not yet supported
216     - private_cloud:
217       enabled: false
218       mtu: 1500
219       # Network settings for the Installer VM on external network
220       # note only valid on 'public' external network
221       installer_vm:
222         # Indicates if this VM will be bridged to an interface, or to a bond
223         nic_type: interface
224         vlan: 101
225         # Interfaces to bridge for installer VM (use multiple values for bond)
226         members:
227           - em1
228         # IP to assign to Installer VM on this network
229         ip: 192.168.38.1
230       cidr: 192.168.38.0/24
231       gateway: 192.168.38.1
232       # Range to allocate to floating IPs for the public network with Neutron
233       floating_ip_range:
234         - 192.168.38.200
235         - 192.168.38.220
236       # Usable IP range for overcloud nodes (including VIPs)i
237       # usually this is a shared subnet.
238       # Cannot overlap with dhcp_range or introspection_range.
239       overcloud_ip_range:
240         - 192.168.38.10
241         - 192.168.38.199
242       # Mapping of network configuration for Overcloud Nodes
243       nic_mapping:
244         # Mapping for compute profile (nodes assigned as Compute nodes)
245         compute:
246           # Physical interface type (interface or bond)
247           phys_type: interface
248           # VLAN tag to use with this NIC
249           vlan: 101
250           # Physical NIC members of this mappingi
251           # Single value allowed for phys_type: interface
252           # Note: logical names like nic1 are not valid for fdio deployment yet.
253           members:
254             - eth3
255         # Mapping for controller profile (nodes assigned as Controller nodes)
256         controller:
257           phys_type: interface
258           vlan: 101
259           members:
260             - eth3
261       # External network to be created in OpenStack by Services tenant
262       external_overlay:
263         name: private_cloud
264         type: vlan
265         segmentation_id: 101
266         gateway: 192.168.38.1
267
268   # Storage network configuration
269   storage:
270     enabled: true
271     # Subnet in CIDR format
272     cidr: 12.0.0.0/24
273     # Storage network MTU
274     mtu: 1500
275     # Mapping of network configuration for Overcloud Nodes
276     nic_mapping:
277       # Mapping for compute profile (nodes assigned as Compute nodes)
278       compute:
279         # Physical interface type (interface or bond)
280         phys_type: interface
281         # VLAN tag to use with this NIC
282         vlan: native
283         # Physical NIC members of this mapping
284         # Single value allowed for phys_type: interface
285         members:
286           # Note logical names like nic1 not valid for fdio deployment yet.
287           - eth3
288       # Mapping for controller profile (nodes assigned as Controller nodes)
289       controller:
290         phys_type: interface
291         vlan: native
292         members:
293           - eth3
294
295   api:
296     # API network configuration
297     enabled: false
298     # Subnet in CIDR format
299     cidr: fd00:fd00:fd00:4000::/64
300     # VLAN tag to use for Overcloud hosts on this network
301     vlan: 13
302     # Api network MTU
303     mtu: 1500
304     # Mapping of network configuration for Overcloud Nodes
305     nic_mapping:
306       # Mapping for compute profile (nodes assigned as Compute nodes)
307       compute:
308         # Physical interface type (interface or bond)
309         phys_type: interface
310         # VLAN tag to use with this NIC
311         vlan: native
312         # Physical NIC members of this mapping
313         # Single value allowed for phys_type: interface
314         # Note logical names like nic1 not valid for fdio deployment yet.
315         members:
316           - eth4
317       # Mapping for controller profile (nodes assigned as Controller nodes)
318       controller:
319         phys_type: interface
320         vlan: native
321         members:
322           - eth4
323
324 # Apex specific settings
325 apex:
326   networks:
327     admin:
328       # Range used for introspection phase (examining nodes).
329       # This cannot overlap with dhcp_range or overcloud_ip_range.
330       # for the overcloud default external network
331       introspection_range:
332         - 192.0.2.100
333         - 192.0.2.120