Merge "onos feature install modified for onos 1.8"
[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: vpp_interface     # Physical interface type (interface/vpp_interface)
100         uio_driver: uio_pci_generic  # uio driver, for vpp interfaces only
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           - eth1                     # Note that logic nic name like nic1 cannot be used for fdio deployment yet.
104       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
105         phys_type: vpp_interface     # Physical interface type (interface/vpp_interface)
106         uio_driver: uio_pci_generic  # uio driver, for vpp interfaces only
107         vlan: native
108         members:
109           - eth1                     # Note that logic nic name like nic1 cannot be used for fdio deployment yet.
110                                      #
111   external:                          # Can contain 1 or more external networks
112     - public:                        # "public" network will be the network the installer VM attaches to
113       enabled: true
114       mtu: 1500                      # Public network MTU
115       installer_vm:                  # Network settings for the Installer VM on admin network (note only valid on 'public' external network)
116         nic_type: interface          # Indicates if this VM will be bridged to an interface, or to a bond
117         vlan: native
118         members:
119           - em1                      # Member Interface to bridge to for installer VM (use multiple values for bond)
120         ip: 192.168.37.1             # IP to assign to Installer VM on this network
121       cidr: 192.168.37.0/24
122       gateway: 192.168.37.1
123       floating_ip_range:
124         - 192.168.37.200
125         - 192.168.37.220             # Range to allocate to floating IPs for the public network with Neutron
126       overcloud_ip_range:
127         - 192.168.37.10
128         - 192.168.37.199             # Usable ip range for the overcloud node IPs (including VIPs) and last IP will be used for host
129                                      # bridge (i.e. br-public). If empty entire range is usable.  Cannot overlap with dhcp_range or introspection_range.
130       nic_mapping:                   # Mapping of network configuration for Overcloud Nodes
131         compute:                     # Mapping for compute profile (nodes that will be used as Compute nodes)
132           phys_type: interface       # Physical interface type (interface or bond)
133           vlan: native               # VLAN tag to use with this NIC
134           members:                   # Physical NIC members of this mapping (Single value allowed for interface phys_type)
135             - eth2
136         controller:                  # Mapping for controller profile (nodes that will be used as Controller nodes)
137           phys_type: interface
138           vlan: native
139           members:
140             - eth2
141       external_overlay:              # External network to be created in OpenStack by Services tenant
142           name: Public_internet
143           type: flat
144           gateway: 192.168.37.1
145     - private_cloud:                 # another external network
146       enabled: false
147       mtu: 1500
148       installer_vm:                  # Network settings for the Installer VM on admin network (note only valid on 'public' external network)
149         nic_type: interface          # Indicates if this VM will be bridged to an interface, or to a bond
150         vlan: 101
151         members:
152           - em1                      # Member Interface to bridge to for installer VM (use multiple values for bond)
153         ip: 192.168.38.1             # IP to assign to Installer VM on this network
154       cidr: 192.168.38.0/24
155       gateway: 192.168.38.1
156       floating_ip_range:
157         - 192.168.38.200
158         - 192.168.38.220             # Range to allocate to floating IPs for the public network with Neutron
159       overcloud_ip_range:
160         - 192.168.38.10
161         - 192.168.38.199             # Usable IP range for overcloud nodes (including VIPs), usually this is a shared subnet.
162                                      # Cannot overlap with dhcp_range or introspection_range.
163       nic_mapping:                   # Mapping of network configuration for Overcloud Nodes
164         compute:                     # Mapping for compute profile (nodes that will be used as Compute nodes)
165           phys_type: interface       # Physical interface type (interface or bond)
166           vlan: 101                  # VLAN tag to use with this NIC
167           members:                   # Physical NIC members of this mapping (Single value allowed for interface phys_type)
168             - eth3                   # Note that logic nic name like nic1 cannot be used for fdio deployment yet.
169         controller:                  # Mapping for controller profile (nodes that will be used as Controller nodes)
170           phys_type: interface
171           vlan: 101
172           members:
173             - eth3
174       external_overlay:              # External network to be created in OpenStack by Services tenant
175           name: private_cloud
176           type: vlan
177           segmentation_id: 101
178           gateway: 192.168.38.1
179                                      #
180   storage:                           # Storage network configuration
181     enabled: true
182     cidr: 12.0.0.0/24                # Subnet in CIDR format
183     mtu: 1500                        # Storage network MTU
184     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
185       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
186         phys_type: interface         # Physical interface type (interface or bond)
187         vlan: native                 # VLAN tag to use with this NIC
188         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
189           - eth3                     # Note that logic nic name like nic1 cannot be used for fdio deployment yet.
190       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
191         phys_type: interface
192         vlan: native
193         members:
194           - eth3
195                                      #
196   api:                               # API network configuration
197     enabled: false
198     cidr: fd00:fd00:fd00:4000::/64   # Subnet in CIDR format
199     vlan: 13                         # VLAN tag to use for Overcloud hosts on this network
200     mtu: 1500                        # Api network MTU
201     nic_mapping:                     # Mapping of network configuration for Overcloud Nodes
202       compute:                       # Mapping for compute profile (nodes that will be used as Compute nodes)
203         phys_type: interface         # Physical interface type (interface or bond)
204         vlan: native                 # VLAN tag to use with this NIC
205         members:                     # Physical NIC members of this mapping (Single value allowed for interface phys_type)
206           - eth4                     # Note that logic nic name like nic1 cannot be used for fdio deployment yet.
207       controller:                    # Mapping for controller profile (nodes that will be used as Controller nodes)
208         phys_type: interface
209         vlan: native
210         members:
211           - eth4
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).  This cannot overlap with dhcp_range or overcloud_ip_range.
220                                      # If the external network 'public' is disabled, then this range will be re-used to configure the floating ip range
221                                      # for the overcloud default external network