c679215774b9deceff85fabd01b4fe6165ca87c9
[apex.git] / config / network / network_settings_vpp.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 # Common network settings
60 networks:                            # Network configurations
61   admin:                             # Admin configuration (pxe and jumpstart),
62     enabled: true
63     installer_vm:                    # Network settings for the Installer VM on admin network
64       nic_type: interface            # Indicates if this VM will be bridged to an interface, or to a bond
65       members:
66         - em1                        # Member Interface to bridge to for installer VM (use multiple values for bond)
67       vlan: native                   # VLAN tag to use for this network on Installer VM, native means none
68       ip: 192.0.2.1                  # IP to assign to Installer VM on this network
69     overcloud_ip_range:
70       - 192.0.2.11
71       - 192.0.2.99                   # Usable ip range for the overcloud node IPs (including VIPs) and last IP will be
72                                      # used for host bridge (i.e. br-admin). If empty entire range is usable.
73                                      # Cannot overlap with dhcp_range or introspection_range.
74     gateway: 192.0.2.1               # Gateway (only needed when public_network is disabled)
75     cidr: 192.0.2.0/24               # Subnet in CIDR format 192.168.1.0/24
76     dhcp_range:
77       - 192.0.2.2
78       - 192.0.2.10                   # DHCP range for the admin network, if empty it will be automatically provisioned
79     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
80       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
81         phys_type: interface         # Physical interface type (interface or bond)
82         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
83           - eth0
84       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
85         phys_type: interface
86         members:
87           - eth0
88                                      #
89   tenant:                            # Tenant network configuration
90     enabled: true
91     cidr: 11.0.0.0/24                # Subnet in CIDR format 192.168.1.0/24
92     mtu: 1500                        # Tenant network MTU
93     overlay_id_range: 2,65535        # Tenant network Overlay segmentation ID range:
94                                      # VNI, VLAN-ID, etc.
95     segmentation_type: vxlan         # Tenant network segmentation type:
96                                      # vlan, vxlan, gre
97     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
98       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
99         phys_type: interface         # Physical interface type (interface/bond)
100         vlan: native                 # VLAN tag to use with this NIC
101         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
102           - eth1                     # Note that logic nic name like nic1 cannot be used for fdio deployment yet.
103       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
104         phys_type: interface         # Physical interface type (interface/bond)
105         vlan: native
106         members:
107           - eth1                     # Note that logic nic name like nic1 cannot be used for fdio deployment yet.
108                                      #
109   external:                          # Can contain 1 or more external networks
110     - public:                        # "public" network will be the network the installer VM attaches to
111       enabled: true
112       mtu: 1500                      # Public network MTU
113       installer_vm:                  # Network settings for the Installer VM on admin network (note only valid on 'public' external network)
114         nic_type: interface          # Indicates if this VM will be bridged to an interface, or to a bond
115         vlan: native
116         members:
117           - em1                      # Member Interface to bridge to for installer VM (use multiple values for bond)
118         ip: 192.168.37.1             # IP to assign to Installer VM on this network
119       cidr: 192.168.37.0/24
120       gateway: 192.168.37.1
121       floating_ip_range:
122         - 192.168.37.200
123         - 192.168.37.220             # Range to allocate to floating IPs for the public network with Neutron
124       overcloud_ip_range:
125         - 192.168.37.10
126         - 192.168.37.199             # Usable ip range for the overcloud node IPs (including VIPs) and last IP will be used for host
127                                      # bridge (i.e. br-public). If empty entire range is usable.  Cannot overlap with dhcp_range or introspection_range.
128       nic_mapping:                   # Mapping of network configuration for Overcloud Nodes
129         compute:                     # Mapping for compute profile (nodes that will be used as Compute nodes)
130           phys_type: interface       # Physical interface type (interface or bond)
131           vlan: native               # VLAN tag to use with this NIC
132           members:                   # Physical NIC members of this mapping (Single value allowed for interface phys_type)
133             - eth2
134         controller:                  # Mapping for controller profile (nodes that will be used as Controller nodes)
135           phys_type: interface
136           vlan: native
137           members:
138             - eth2
139       external_overlay:              # External network to be created in OpenStack by Services tenant
140           name: Public_internet
141           type: flat
142           gateway: 192.168.37.1
143     - private_cloud:                 # another external network
144       enabled: false
145       mtu: 1500
146       installer_vm:                  # Network settings for the Installer VM on admin network (note only valid on 'public' external network)
147         nic_type: interface          # Indicates if this VM will be bridged to an interface, or to a bond
148         vlan: 101
149         members:
150           - em1                      # Member Interface to bridge to for installer VM (use multiple values for bond)
151         ip: 192.168.38.1             # IP to assign to Installer VM on this network
152       cidr: 192.168.38.0/24
153       gateway: 192.168.38.1
154       floating_ip_range:
155         - 192.168.38.200
156         - 192.168.38.220             # Range to allocate to floating IPs for the public network with Neutron
157       overcloud_ip_range:
158         - 192.168.38.10
159         - 192.168.38.199             # Usable IP range for overcloud nodes (including VIPs), usually this is a shared subnet.
160                                      # Cannot overlap with dhcp_range or introspection_range.
161       nic_mapping:                   # Mapping of network configuration for Overcloud Nodes
162         compute:                     # Mapping for compute profile (nodes that will be used as Compute nodes)
163           phys_type: interface       # Physical interface type (interface or bond)
164           vlan: 101                  # VLAN tag to use with this NIC
165           members:                   # Physical NIC members of this mapping (Single value allowed for interface phys_type)
166             - eth3                   # Note that logic nic name like nic1 cannot be used for fdio deployment yet.
167         controller:                  # Mapping for controller profile (nodes that will be used as Controller nodes)
168           phys_type: interface
169           vlan: 101
170           members:
171             - eth3
172       external_overlay:              # External network to be created in OpenStack by Services tenant
173           name: private_cloud
174           type: vlan
175           segmentation_id: 101
176           gateway: 192.168.38.1
177                                      #
178   storage:                           # Storage network configuration
179     enabled: true
180     cidr: 12.0.0.0/24                # Subnet in CIDR format
181     mtu: 1500                        # Storage network MTU
182     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
183       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
184         phys_type: interface         # Physical interface type (interface or bond)
185         vlan: native                 # VLAN tag to use with this NIC
186         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
187           - eth3                     # Note that logic nic name like nic1 cannot be used for fdio deployment yet.
188       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
189         phys_type: interface
190         vlan: native
191         members:
192           - eth3
193                                      #
194   api:                               # API network configuration
195     enabled: false
196     cidr: fd00:fd00:fd00:4000::/64   # Subnet in CIDR format
197     vlan: 13                         # VLAN tag to use for Overcloud hosts on this network
198     mtu: 1500                        # Api network MTU
199     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
200       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
201         phys_type: interface         # Physical interface type (interface or bond)
202         vlan: native                 # VLAN tag to use with this NIC
203         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
204           - eth4                     # Note that logic nic name like nic1 cannot be used for fdio deployment yet.
205       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
206         phys_type: interface
207         vlan: native
208         members:
209           - eth4
210
211 # Apex specific settings
212 apex:
213   networks:
214     admin:
215       introspection_range:
216         - 192.0.2.100
217         - 192.0.2.120                # Range used for introspection phase (examining nodes).  This cannot overlap with dhcp_range or overcloud_ip_range.
218                                      # If the external network 'public' is disabled, then this range will be re-used to configure the floating ip range
219                                      # for the overcloud default external network