Add http(s)_proxy handling to apex
[apex.git] / config / network / network_settings_vlans.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           - nic1
104       # Mapping for controller profile (nodes assigned as Controller nodes)
105       controller:
106         phys_type: interface
107         members:
108           - nic1
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         # UIO driver to use for DPDK scenarios.
131         # The value is ignored for non-DPDK scenarios.
132         uio_driver: uio_pci_generic
133         # VLAN tag to use with this NIC
134         vlan: 401
135         # Physical NIC members of this mapping
136         # Single value allowed for phys_type: interface
137         members:
138           # Note logical name like nic1 not valid for fdio deployment yet.
139           - nic1
140       # Mapping for controller profile (nodes assigned as Controller nodes)
141       controller:
142         # Physical interface type (interface/bond)
143         phys_type: interface
144         vlan: 401
145         # Note: logicial names like nic1 are not valid for fdio deployment yet.
146         members:
147           - nic1
148
149   # Can contain 1 or more external networks
150   external:
151     - public:
152       enabled: true
153       # Public network MTU
154       mtu: 1500
155       # Network settings for the Installer VM on external network
156       # (note only valid on 'public' external network)
157       installer_vm:
158         # Indicates if this VM will be bridged to an interface, or to a bond
159         nic_type: interface
160         vlan: 501
161         # Interfaces to bridge for installer VM (use multiple values for bond)
162         members:
163           - em1
164         # IP to assign to Installer VM on this network
165         ip: 192.168.37.12
166       cidr: 192.168.37.0/24
167       gateway: 192.168.37.1
168       # Range to allocate to floating IPs for the public network with Neutron
169       floating_ip_range:
170         - 192.168.37.200
171         - 192.168.37.220
172       # Usable ip range for the overcloud node IPs (including VIPs)
173       # Last IP will be used for host bridge (i.e. br-public).
174       # If empty entire range is usable.
175       # Cannot overlap with dhcp_range or introspection_range.
176       overcloud_ip_range:
177         - 192.168.37.10
178         - 192.168.37.199
179       # Mapping of network configuration for Overcloud Nodes
180       nic_mapping:
181         # Mapping for compute profile (nodes assigned as Compute nodes)
182         compute:
183           # Physical interface type (interface or bond)
184           phys_type: interface
185           # VLAN tag to use with this NIC
186           vlan: 501
187           # Physical NIC members of this mapping
188           # Single value allowed for phys_type: interface
189           members:
190             - nic1
191         # Mapping for controller profile (nodes assigned as Controller nodes)
192         controller:
193           phys_type: interface
194           vlan: 501
195           members:
196             - nic1
197       # External network to be created in OpenStack by Services tenant
198       external_overlay:
199         name: Public_internet
200         type: flat
201         gateway: 192.168.37.1
202
203   # Storage network configuration
204   storage:
205     enabled: true
206     # Subnet in CIDR format
207     cidr: 12.0.0.0/24
208     # Storage network MTU
209     mtu: 1500
210     # Mapping of network configuration for Overcloud Nodes
211     nic_mapping:
212       # Mapping for compute profile (nodes assigned as Compute nodes)
213       compute:
214         # Physical interface type (interface or bond)
215         phys_type: interface
216         # VLAN tag to use with this NIC
217         vlan: 201
218         # Physical NIC members of this mapping
219         # Single value allowed for phys_type: interface
220         members:
221           # Note logical names like nic1 not valid for fdio deployment yet.
222           - nic4
223       # Mapping for controller profile (nodes assigned as Controller nodes)
224       controller:
225         phys_type: interface
226         vlan: native
227         members:
228           - nic4
229
230   api:
231     # API network configuration
232     enabled: false
233     # Subnet in CIDR format
234     cidr: fd00:fd00:fd00:4000::/64
235     # VLAN tag to use for Overcloud hosts on this network
236     vlan: 13
237     # Api network MTU
238     mtu: 1500
239     # Mapping of network configuration for Overcloud Nodes
240     nic_mapping:
241       # Mapping for compute profile (nodes assigned as Compute nodes)
242       compute:
243         # Physical interface type (interface or bond)
244         phys_type: interface
245         # VLAN tag to use with this NIC
246         vlan: 101
247         # Physical NIC members of this mapping
248         # Single value allowed for phys_type: interface
249         # Note logical names like nic1 not valid for fdio deployment yet.
250         members:
251           - nic5
252       # Mapping for controller profile (nodes assigned as Controller nodes)
253       controller:
254         phys_type: interface
255         vlan: native
256         members:
257           - nic5
258
259 # Apex specific settings
260 apex:
261   networks:
262     admin:
263       # Range used for introspection phase (examining nodes).
264       # This cannot overlap with dhcp_range or overcloud_ip_range.
265       # for the overcloud default external network
266       introspection_range:
267         - 192.0.2.100
268         - 192.0.2.120