54c4113fbd0dbf5b96086b9c6e98a2c6d1dcec42
[apex.git] / config / network / network_settings_v6.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).
73                                      # If empty entire range is usable.  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                                      # Cannot overlap with overcloud_ip_range or introspection_range.
80     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
81       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
82         phys_type: interface         # Physical interface type (interface or bond)
83         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
84           - nic1
85       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
86         phys_type: interface
87         members:
88           - nic1
89                                      #
90   tenant:                            # Tenant network configuration
91     enabled: true
92     cidr: 11.0.0.0/24                # Subnet in CIDR format 192.168.1.0/24
93     mtu: 1500                        # Tenant network MTU
94     overlay_id_range: 2,65535        # Tenant network Overlay segmentation ID range:
95                                      # VNI, VLAN-ID, etc.
96     segmentation_type: vxlan         # Tenant network segmentation type:
97                                      # vlan, vxlan, gre
98     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
99       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
100         phys_type: interface         # Physical interface type (interface or bond)
101         vlan: native                 # VLAN tag to use with this NIC
102         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
103           - nic2                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
104       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
105         phys_type: interface
106         vlan: native
107         members:
108           - nic2                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
109                                      #
110   external:                          # Can contain 1 or more external networks
111     - public:                        # "public" network will be the network the installer VM attaches to
112       enabled: true
113       mtu: 1500                      # Public network MTU
114       installer_vm:                  # Network settings for the Installer VM on admin network (note only valid on 'public' external network)
115         nic_type: interface          # Indicates if this VM will be bridged to an interface, or to a bond
116         vlan: native
117         members:
118           - em1                      # Member Interface to bridge to for installer VM (use multiple values for bond)
119         ip: 2001:db8::1              # IP to assign to Installer VM on this network
120       cidr: 2001:db8::0/64
121       gateway: 2001:db8::1
122       floating_ip_range:
123           - 2001:db8:0:0:0:0:0:2
124           - 2001:db8:0:0:ffff:ffff:ffff:ffff # Floating IPs range to assign to the overcloud (External IPs to be NAT'ed to Tenant IP)
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: 2001:db8::1
140                                      #
141   storage:                           # Storage network configuration
142     enabled: true
143     cidr: fd00:fd00:fd00:2000::/64   # Subnet in CIDR format
144     mtu: 1500                        # Storage network MTU
145     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
146       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
147         phys_type: interface         # Physical interface type (interface or bond)
148         vlan: native                 # VLAN tag to use with this NIC
149         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
150           - nic4                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
151       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
152         phys_type: interface
153         vlan: native
154         members:
155           - nic4
156                                      #
157   api:                               # API network configuration
158     enabled: true
159     cidr: fd00:fd00:fd00:4000::/64   # Subnet in CIDR format
160     vlan: 13                         # VLAN tag to use for Overcloud hosts on this network
161     mtu: 1500                        # Api network MTU
162     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
163       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
164         phys_type: interface         # Physical interface type (interface or bond)
165         vlan: native                 # VLAN tag to use with this NIC
166         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
167           - nic5                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
168       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
169         phys_type: interface
170         vlan: native
171         members:
172           - nic5
173
174 # Apex specific settings
175 apex:
176   networks:
177     admin:
178       introspection_range:
179         - 192.0.2.100
180         - 192.0.2.120                # Range used for introspection phase (examining nodes).  This cannot overlap with dhcp_range or overcloud_ip_range.
181                                      # If the external network 'public' is disabled, then this range will be re-used to configure the floating ip range
182                                      # for the overcloud default external network