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