Merge "Use SFC OVS version for ONOS when SFC is enabled"
[apex.git] / config / network / network_settings.yaml
1 # This configuration file defines Network Environment for a
2 # Baremetal Deployment of OPNFV. It contains default values
3 # for 5 following networks:
4 #
5 # - admin
6 # - tenant*
7 # - external*
8 # - storage*
9 # - api*
10 # *) optional networks
11 #
12 # Optional networks will be consolidated with the admin network
13 # if not explicitly configured.
14 #
15 # See short description of the networks in the comments below.
16 #
17 # "admin" is the short name for Control Plane Network.
18 # This network should be IPv4 even it is an IPv6 deployment
19 # IPv6 does not have PXE boot support.
20 # During OPNFV deployment it is used for node provisioning which will require
21 # PXE booting as well as running a DHCP server on this network.  Be sure to
22 # disable any other DHCP/TFTP server on this network.
23 #
24 # "tenant" is the network used for tenant traffic.
25 #
26 # "external" is the network which should have internet or external
27 # connectivity.  External OpenStack networks will be configured to egress this
28 # network.  There can be multiple external networks, but only one assigned as
29 # "public" which OpenStack public API's will register.
30 #
31 # "storage" is the network for storage I/O.
32 #
33 # "api" is an optional network for splitting out OpenStack service API
34 # communication.  This should be used for IPv6 deployments.
35
36
37 #Meta data for the network configuration
38 network-config-metadata:
39   title: LF-POD-1 Network config
40   version: 0.1
41   created: Mon Dec 28 2015
42   comment: None
43
44 # DNS Settings
45 dns-domain: opnfvlf.org
46 dns-search: opnfvlf.org
47 dns_nameservers:
48   - 8.8.8.8
49   - 8.8.4.4
50 # NTP servers
51 ntp:
52   - 0.se.pool.ntp.org
53   - 1.se.pool.ntp.org
54 # Syslog server
55 syslog:
56   server: 10.128.1.24
57   transport: 'tcp'
58
59 networks:                            # Network configurations
60   admin:                             # Admin configuration (pxe and jumpstart),
61     enabled: true
62     installer_vm:                    # Network settings for the Installer VM on admin network
63       nic_type: interface            # Indicates if this VM will be bridged to an interface, or to a bond
64       members:
65         - em1                        # Member Interface to bridge to for installer VM (use multiple values for bond)
66       vlan: native                   # VLAN tag to use for this network on Installer VM, native means none
67       ip: 192.0.2.1                  # IP to assign to Installer VM on this network
68     usable_ip_range:
69       - 192.0.2.11
70       - 192.0.2.99                   # Usable ip range, if empty entire range is usable
71     gateway: 192.0.2.1               # Gateway (only needed when public_network is disabled)
72     cidr: 192.0.2.0/24               # Subnet in CIDR format 192.168.1.0/24
73     dhcp_range:
74       - 192.0.2.2
75       - 192.0.2.10                   # DHCP range for the admin network, if empty it will be automatically provisioned
76     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
77       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
78         phys_type: interface         # Physical interface type (interface or bond)
79         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
80           - nic1
81       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
82         phys_type: bond
83         members:
84           - nic1
85                                      #
86   tenant:                            # Tenant network configuration
87     enabled: true
88     cidr: 11.0.0.0/24                # Subnet in CIDR format 192.168.1.0/24
89     mtu: 64000                       # Tenant network MTU
90     overlay_id_range: 2,65535        # Tenant network Overlay segmentation ID range:
91                                      # VNI, VLAN-ID, etc.
92     vlan_id_range: 1,1000            # Tenant physical network VLAN-ID range
93     segmentation_type: vxlan         # Tenant network segmentation type:
94                                      # vlan, vxlan, gre
95     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
96       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
97         phys_type: interface         # Physical interface type (interface or bond)
98         vlan: native                 # VLAN tag to use with this NIC
99         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
100           - nic2                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
101       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
102         phys_type: interface
103         vlan: native
104         members:
105           - nic2                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
106                                      #
107   external:                          # Can contain 1 or more external networks
108     - public:                        # "public" network will be the network the installer VM attaches to
109       enabled: true
110       mtu: 64000                     # Public network MTU
111       installer_vm:                  # Network settings for the Installer VM on admin network (note only valid on 'public' external network)
112         nic_type: interface          # Indicates if this VM will be bridged to an interface, or to a bond
113         vlan: native
114         members:
115           - em1                      # Member Interface to bridge to for installer VM (use multiple values for bond)
116         ip: 192.168.37.1             # IP to assign to Installer VM on this network
117       cidr: 192.168.37.0/24
118       gateway: 192.168.37.1
119       floating_ip_range:
120         - 192.168.37.200
121         - 192.168.37.220             #Range to allocate to floating IPs for the public network with Neutron
122       usable_ip_range:
123         - 192.168.37.10
124         - 192.168.37.199             # Usable IP range on the public network, usually this is a shared subnet
125       nic_mapping:                   # Mapping of network configuration for Overcloud Nodes
126         compute:                     # Mapping for compute profile (nodes that will be used as Compute nodes)
127           phys_type: interface       # Physical interface type (interface or bond)
128           vlan: native               # VLAN tag to use with this NIC
129           members:                   # Physical NIC members of this mapping (Single value allowed for interface phys_type)
130             - nic3
131         controller:                  # Mapping for controller profile (nodes that will be used as Controller nodes)
132           phys_type: interface
133           vlan: native
134           members:
135             - nic3
136       external_overlay:              # External network to be created in OpenStack by Services tenant
137           name: Public_internet
138           type: flat
139           gateway: 192.168.37.1
140     - private_cloud:                 # another external network
141       enabled: false
142       mtu: 64000
143       installer_vm:                  # Network settings for the Installer VM on admin network (note only valid on 'public' external network)
144         nic_type: interface          # Indicates if this VM will be bridged to an interface, or to a bond
145         vlan: 101
146         members:
147           - em1                      # Member Interface to bridge to for installer VM (use multiple values for bond)
148         ip: 192.168.38.1             # IP to assign to Installer VM on this network
149       cidr: 192.168.38.0/24
150       gateway: 192.168.38.1
151       floating_ip_range:
152         - 192.168.38.200
153         - 192.168.38.220             #Range to allocate to floating IPs for the public network with Neutron
154       usable_ip_range:
155         - 192.168.38.10
156         - 192.168.38.199             # Usable IP range on the public network, usually this is a shared subnet
157       nic_mapping:                   # Mapping of network configuration for Overcloud Nodes
158         compute:                     # Mapping for compute profile (nodes that will be used as Compute nodes)
159           phys_type: interface       # Physical interface type (interface or bond)
160           vlan: 101                  # VLAN tag to use with this NIC
161           members:                   # Physical NIC members of this mapping (Single value allowed for interface phys_type)
162             - nic3                   # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
163         controller:                  # Mapping for controller profile (nodes that will be used as Controller nodes)
164           phys_type: interface
165           vlan: 101
166           members:
167             - nic3
168       external_overlay:              # External network to be created in OpenStack by Services tenant
169           name: private_cloud
170           type: vlan
171           segmentation_id: 101
172           gateway: 192.168.38.1
173                                      #
174   storage:                           # Storage network configuration
175     enabled: true
176     cidr: 12.0.0.0/24                # Subnet in CIDR format
177     mtu: 64000                       # Tenant network MTU
178     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
179       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
180         phys_type: bond              # Physical interface type (interface or bond)
181         vlan: native                 # VLAN tag to use with this NIC
182         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
183           - nic4                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
184       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
185         phys_type: bond
186         vlan: native
187         members:
188           - nic4
189                                      #
190   api:                               # API network configuration
191     enabled: false
192     cidr: fd00:fd00:fd00:4000::/64   # Subnet in CIDR format
193     vlan: 13                         # VLAN tag to use for Overcloud hosts on this network
194     mtu: 64000                       # Tenant network MTU
195     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
196       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
197         phys_type: bond              # Physical interface type (interface or bond)
198         vlan: native                 # VLAN tag to use with this NIC
199         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
200           - nic5                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
201       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
202         phys_type: bond
203         vlan: native
204         members:
205           - nic5
206
207 # JOID specific settings
208 joid:
209
210 # Compass specific settings
211 compass:
212
213 # Apex specific settings
214 apex:
215   networks:
216     admin:
217       introspection_range:
218         - 192.0.2.100
219         - 192.0.2.120                # Range used for introspection phase (examining nodes)
220 # Fuel specific settings
221 fuel: