migrating to proposed common network settings file
[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 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: native                 # VLAN tag to use with this NIC
98         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
99           - nic2                     # 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: native
103         members:
104           - nic2                     # 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: native
113         members:
114           - em1                      # Member Interface to bridge to for installer VM (use multiple values for bond)
115         ip: 2001:db8::1              # IP to assign to Installer VM on this network
116       cidr: 2001:db8::0/64
117       gateway: 2001:db8::1
118       floating_ip_range:
119           - 2001:db8:0:0:0:0:0:2
120           - 2001:db8:0:0:ffff:ffff:ffff:ffff
121       nic_mapping:                   # Mapping of network configuration for Overcloud Nodes
122         compute:                     # Mapping for compute profile (nodes that will be used as Compute nodes)
123           phys_type: interface       # Physical interface type (interface or bond)
124           vlan: native               # VLAN tag to use with this NIC
125           members:                   # Physical NIC members of this mapping (Single value allowed for interface phys_type)
126             - nic3
127         controller:                  # Mapping for controller profile (nodes that will be used as Controller nodes)
128           phys_type: interface
129           vlan: native
130           members:
131             - nic3
132       external_overlay:              # External network to be created in OpenStack by Services tenant
133           name: Public_internet
134           type: flat
135           gateway: 2001:db8::1
136                                      #
137   storage:                           # Storage network configuration
138     enabled: true
139     cidr: fd00:fd00:fd00:2000::/64   # Subnet in CIDR format
140     mtu: 64000                       # Tenant network MTU
141     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
142       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
143         phys_type: bond              # Physical interface type (interface or bond)
144         vlan: native                 # VLAN tag to use with this NIC
145         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
146           - nic4                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
147       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
148         phys_type: bond
149         vlan: native
150         members:
151           - nic4
152                                      #
153   api:                               # API network configuration
154     enabled: true
155     cidr: fd00:fd00:fd00:4000::/64   # Subnet in CIDR format
156     vlan: 13                         # VLAN tag to use for Overcloud hosts on this network
157     mtu: 64000                       # Tenant network MTU
158     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
159       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
160         phys_type: bond              # Physical interface type (interface or bond)
161         vlan: native                     # VLAN tag to use with this NIC
162         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
163           - nic5                     # Note, for Apex you may also use the logical nic name (found by nic order), such as "nic1"
164       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
165         phys_type: bond
166         vlan: native
167         members:
168           - nic5
169
170 # JOID specific settings
171 joid:
172
173 # Compass specific settings
174 compass:
175
176 # Apex specific settings
177 apex:
178   networks:
179     admin:
180       introspection_range:
181         - 192.0.2.100
182         - 192.0.2.120                # Range used for introspection phase (examining nodes)
183 # Fuel specific settings
184 fuel: