7dddf343f006fd596de76bc1f5ca68c2d9df96c8
[apex.git] / config / network / network_settings_v6.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: fd00:fd00:fd00:6000::/64
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: native
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           - nic2
136       # Mapping for controller profile (nodes assigned as Controller nodes)
137       controller:
138         # Physical interface type (interface/bond)
139         phys_type: interface
140         vlan: native
141         # Note: logicial names like nic1 are not valid for fdio deployment yet.
142         members:
143           - nic2
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: native
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: 2001:db8::1
162       cidr: 2001:db8::0/64
163       gateway: 2001:db8::1
164       # Range to allocate to floating IPs for the public network with Neutron
165       floating_ip_range:
166         - 2001:db8:0:0:0:0:0:2
167         - 2001:db8:0:0:ffff:ffff:ffff:ffff
168       # Mapping of network configuration for Overcloud Nodes
169       nic_mapping:
170         # Mapping for compute profile (nodes assigned as Compute nodes)
171         compute:
172           # Physical interface type (interface or bond)
173           phys_type: interface
174           # VLAN tag to use with this NIC
175           vlan: native
176           # Physical NIC members of this mapping
177           # Single value allowed for phys_type: interface
178           members:
179             - nic3
180         # Mapping for controller profile (nodes assigned as Controller nodes)
181         controller:
182           phys_type: interface
183           vlan: native
184           members:
185             - nic3
186       # External network to be created in OpenStack by Services tenant
187       external_overlay:
188         name: Public_internet
189         type: flat
190         gateway: 2001:db8::1
191
192   # Storage network configuration
193   storage:
194     enabled: true
195     # Subnet in CIDR format
196     cidr: fd00:fd00:fd00:2000::/64
197     # Storage network MTU
198     mtu: 1500
199     # Mapping of network configuration for Overcloud Nodes
200     nic_mapping:
201       # Mapping for compute profile (nodes assigned as Compute nodes)
202       compute:
203         # Physical interface type (interface or bond)
204         phys_type: interface
205         # VLAN tag to use with this NIC
206         vlan: native
207         # Physical NIC members of this mapping
208         # Single value allowed for phys_type: interface
209         members:
210           # Note logical names like nic1 not valid for fdio deployment yet.
211           - nic4
212       # Mapping for controller profile (nodes assigned as Controller nodes)
213       controller:
214         phys_type: interface
215         vlan: native
216         members:
217           - nic4
218
219   api:
220     # API network configuration
221     enabled: true
222     # Subnet in CIDR format
223     cidr: fd00:fd00:fd00:4000::/64
224     # VLAN tag to use for Overcloud hosts on this network
225     # vlan: 13
226     # Api network MTU
227     mtu: 1500
228     # Mapping of network configuration for Overcloud Nodes
229     nic_mapping:
230       # Mapping for compute profile (nodes assigned as Compute nodes)
231       compute:
232         # Physical interface type (interface or bond)
233         phys_type: interface
234         # VLAN tag to use with this NIC
235         vlan: native
236         # Physical NIC members of this mapping
237         # Single value allowed for phys_type: interface
238         # Note logical names like nic1 not valid for fdio deployment yet.
239         members:
240           - nic5
241       # Mapping for controller profile (nodes assigned as Controller nodes)
242       controller:
243         phys_type: interface
244         vlan: native
245         members:
246           - nic5
247
248 # Apex specific settings
249 apex:
250   networks:
251     admin:
252       # Range used for introspection phase (examining nodes).
253       # This cannot overlap with dhcp_range or overcloud_ip_range.
254       # for the overcloud default external network
255       introspection_range:
256         - 192.0.2.100
257         - 192.0.2.120