345dbbde49cf2fbcbaed4cc79133cc2451537bd3
[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 # 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           - nic1
100       # Mapping for controller profile (nodes assigned as Controller nodes)
101       controller:
102         phys_type: interface
103         members:
104           - nic1
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: 401
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           - nic1
136       # Mapping for controller profile (nodes assigned as Controller nodes)
137       controller:
138         # Physical interface type (interface/bond)
139         phys_type: interface
140         vlan: 401
141         # Note: logicial names like nic1 are not valid for fdio deployment yet.
142         members:
143           - nic1
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: 501
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.12
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: 501
183           # Physical NIC members of this mapping
184           # Single value allowed for phys_type: interface
185           members:
186             - nic1
187         # Mapping for controller profile (nodes assigned as Controller nodes)
188         controller:
189           phys_type: interface
190           vlan: 501
191           members:
192             - nic1
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
199   # Storage network configuration
200   storage:
201     enabled: true
202     # Subnet in CIDR format
203     cidr: 12.0.0.0/24
204     # Storage network MTU
205     mtu: 1500
206     # Mapping of network configuration for Overcloud Nodes
207     nic_mapping:
208       # Mapping for compute profile (nodes assigned as Compute nodes)
209       compute:
210         # Physical interface type (interface or bond)
211         phys_type: interface
212         # VLAN tag to use with this NIC
213         vlan: 201
214         # Physical NIC members of this mapping
215         # Single value allowed for phys_type: interface
216         members:
217           # Note logical names like nic1 not valid for fdio deployment yet.
218           - nic4
219       # Mapping for controller profile (nodes assigned as Controller nodes)
220       controller:
221         phys_type: interface
222         vlan: native
223         members:
224           - nic4
225
226   api:
227     # API network configuration
228     enabled: false
229     # Subnet in CIDR format
230     cidr: fd00:fd00:fd00:4000::/64
231     # VLAN tag to use for Overcloud hosts on this network
232     vlan: 13
233     # Api network MTU
234     mtu: 1500
235     # Mapping of network configuration for Overcloud Nodes
236     nic_mapping:
237       # Mapping for compute profile (nodes assigned as Compute nodes)
238       compute:
239         # Physical interface type (interface or bond)
240         phys_type: interface
241         # VLAN tag to use with this NIC
242         vlan: 101
243         # Physical NIC members of this mapping
244         # Single value allowed for phys_type: interface
245         # Note logical names like nic1 not valid for fdio deployment yet.
246         members:
247           - nic5
248       # Mapping for controller profile (nodes assigned as Controller nodes)
249       controller:
250         phys_type: interface
251         vlan: native
252         members:
253           - nic5
254
255 # Apex specific settings
256 apex:
257   networks:
258     admin:
259       # Range used for introspection phase (examining nodes).
260       # This cannot overlap with dhcp_range or overcloud_ip_range.
261       # for the overcloud default external network
262       introspection_range:
263         - 192.0.2.100
264         - 192.0.2.120