migrating to proposed common network settings file
[apex.git] / config / network / network_settings_vlans.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     segmentation_type: vxlan         # Tenant network segmentation type:
93                                      # vlan, vxlan, gre
94     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
95       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
96         phys_type: interface         # Physical interface type (interface or bond)
97         vlan: 401                    # VLAN tag to use with this NIC
98         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
99           - nic1                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
100       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
101         phys_type: interface
102         vlan: 401
103         members:
104           - nic1                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
105                                      #
106   external:                          # Can contain 1 or more external networks
107     - public:                        # "public" network will be the network the installer VM attaches to
108       enabled: true
109       mtu: 64000                     # Public network MTU
110       installer_vm:                  # Network settings for the Installer VM on admin network (note only valid on 'public' external network)
111         nic_type: interface          # Indicates if this VM will be bridged to an interface, or to a bond
112         vlan: 501
113         members:
114           - em1                      # Member Interface to bridge to for installer VM (use multiple values for bond)
115         ip: 192.168.37.12            # IP to assign to Installer VM on this network
116       cidr: 192.168.37.0/24
117       gateway: 192.168.37.1
118       floating_ip_range:
119         - 192.168.37.200
120         - 192.168.37.220             # Range to allocate to floating IPs for the public network with Neutron
121       usable_ip_range:
122         - 192.168.37.10
123         - 192.168.37.199             # Usable IP range on the public network, usually this is a shared subnet
124       nic_mapping:                   # Mapping of network configuration for Overcloud Nodes
125         compute:                     # Mapping for compute profile (nodes that will be used as Compute nodes)
126           phys_type: interface       # Physical interface type (interface or bond)
127           vlan: 501                  # VLAN tag to use with this NIC
128           members:                   # Physical NIC members of this mapping (Single value allowed for interface phys_type)
129             - nic1
130         controller:                  # Mapping for controller profile (nodes that will be used as Controller nodes)
131           phys_type: interface
132           vlan: 501
133           members:
134             - nic1
135       external_overlay:              # External network to be created in OpenStack by Services tenant
136           name: Public_internet
137           type: flat
138           gateway: 192.168.37.1
139     - private_cloud:                 # another external network
140       enabled: false
141       mtu: 64000
142       installer_vm:                  # Network settings for the Installer VM on admin network (note only valid on 'public' external network)
143         nic_type: interface          # Indicates if this VM will be bridged to an interface, or to a bond
144         vlan: 501
145         members:
146           - em1                      # Member Interface to bridge to for installer VM (use multiple values for bond)
147         ip: 192.168.38.12            # IP to assign to Installer VM on this network
148       cidr: 192.168.38.0/24
149       gateway: 192.168.38.1
150       floating_ip_range:
151         - 192.168.38.200
152         - 192.168.38.220             # Range to allocate to floating IPs for the public network with Neutron
153       usable_ip_range:
154         - 192.168.38.10
155         - 192.168.38.199             # Usable IP range on the public network, usually this is a shared subnet
156       nic_mapping:                   # Mapping of network configuration for Overcloud Nodes
157         compute:                     # Mapping for compute profile (nodes that will be used as Compute nodes)
158           phys_type: interface       # Physical interface type (interface or bond)
159           vlan: 502                  # VLAN tag to use with this NIC
160           members:                   # Physical NIC members of this mapping (Single value allowed for interface phys_type)
161             - eth1                   # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
162         controller:                  # Mapping for controller profile (nodes that will be used as Controller nodes)
163           phys_type: interface
164           vlan: 502
165           members:
166             - eth1
167       external_overlay:              # External network to be created in OpenStack by Services tenant
168           name: private_cloud
169           type: vlan
170           segmentation_id: 101
171           gateway: 192.168.38.1
172                                      #
173   storage:                           # Storage network configuration
174     enabled: true
175     cidr: 12.0.0.0/24                # Subnet in CIDR format
176     mtu: 64000                       # Tenant network MTU
177     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
178       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
179         phys_type: bond              # Physical interface type (interface or bond)
180         vlan: 201                    # VLAN tag to use with this NIC
181         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
182           - nic4                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
183       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
184         phys_type: bond
185         vlan: 201
186         members:
187           - nic4
188                                      #
189   api:                               # API network configuration
190     enabled: false
191     cidr: fd00:fd00:fd00:4000::/64   # Subnet in CIDR format
192     mtu: 64000                       # Tenant network MTU
193     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
194       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
195         phys_type: bond              # Physical interface type (interface or bond)
196         vlan: 101                    # VLAN tag to use with this NIC
197         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
198           - nic5                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
199       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
200         phys_type: bond
201         vlan: 101
202         members:
203           - nic5
204
205 # JOID specific settings
206 joid:
207
208 # Compass specific settings
209 compass:
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)
218 # Fuel specific settings
219 fuel: