Adding VLAN support
[apex.git] / config / network / network_settings.yaml
1 # This configuration file defines Network Environment for a
2 # Baremetal Deployment of OPNFV. It contains default values
3 # for 4 following networks:
4 #
5 # - admin
6 # - private*
7 # - public
8 # - storage*
9 #
10 # *) optional networks
11 #
12 # Any values missing from this configuration file will be
13 # auto-detected by deployment script from the existing network
14 # configuration of the jumphost.
15 #
16 # Optional networks will be consolidated with the admin network
17 # if not explicitely configured.
18 #
19 # See short description of the networks in the comments below.
20 #
21
22 # DNS Servers for all nodes, comma delimited list
23 dns_servers: ["8.8.8.8", "8.8.4.4"]
24
25 # "admin" is the short name for Control Plane Network.
26 # During OPNFV deployment it is used for node provisioning so
27 # PXE boot should be enabled for the related interfaces on all
28 # the nodes in the OPNFV cluster. After the deployment this
29 # network is used as the OpenStack management network which
30 # carries e.g. communication between its internal components.
31 #
32 admin_network:
33   enabled: true
34   network_type: bridged
35   bridged_interface: ''
36   bond_interfaces: ''
37   usable_ip_range: 192.0.2.11,192.0.2.99
38   gateway: 192.0.2.1
39   provisioner_ip: 192.0.2.1
40   cidr: 192.0.2.0/24
41   dhcp_range: 192.0.2.2,192.0.2.10
42   introspection_range: 192.0.2.100,192.0.2.120
43
44 # "private" is an optional network used as underlying physical
45 # network for virtual provider and tenant networks created by
46 # users. Traffic between virtual machines is carried by this
47 # network.
48 #
49 private_network:
50   enabled: true
51   vlan: native
52   cidr: 11.0.0.0/24
53
54 # "public" network is used for external connectivity.
55 # The external network provides Internet access for virtual
56 # machines. If floating IP range is defined for this network,
57 # floating IP addresses can be used for accessing virtual
58 # machines from outside of OPNFV cluster. Also external REST
59 # API calls use this network.
60 #
61 public_network:
62   enabled: true
63   network_type: ''
64   bridged_interface: ''
65   vlan: native
66   cidr: 192.168.37.0/24
67   gateway: 192.168.37.1
68   floating_ip_range: 192.168.37.200,192.168.37.220
69   usable_ip_range: 192.168.37.10,192.168.37.199
70   provisioner_ip: 192.168.37.1
71
72 # "storage" is an optional network used by storage backends.
73 # You can configure this network in order to reduce load on
74 # Control Plane Network.
75 #
76 storage_network:
77   enabled: true
78   vlan: native
79   cidr: 12.0.0.0/24
80
81 #admin_network:
82 #  enabled: true
83 #  network_type: bridged                             #Indicates if this network will be bridged to an interface, or to a bond
84 #  bridged_interface: ''                             #Interface to bridge to for installer VM
85 #  bond_interfaces: ''                               #Interfaces to create bond with for installer VM
86 #  vlan: native                                      #VLAN tag to use, native means none
87 #  usable_ip_range: 192.0.2.11,192.0.2.99            #Usable ip range, if empty entire range is usable, ex. 192.168.1.10,192.168.1.20
88 #  gateway: 192.0.2.1                                #Gateway (only needed when public_network is disabled), if empty it is auto-detected
89 #  provisioner_ip: 192.0.2.1                         #installer VM IP, if empty it is the next available IP in the admin subnet
90 #  cidr: 192.0.2.0/24                                #subnet in CIDR format 192.168.1.0/24, if empty it will be auto-detected
91 #  dhcp_range: 192.0.2.2,192.0.2.10                  #dhcp range for the admin network, if empty it will be automatically provisioned
92 #  introspection_range: 192.0.2.100,192.0.2.120      #Range used for introspection phase (examining nodes)
93 #private_network:
94 #  enabled: false                                    #If disabled, internal api traffic will collapse to admin_network
95 #public_network:
96 #  enabled: true                                     #If disabled, public_network traffic will collapse to admin network
97 #  network_type: ''
98 #  bridged_interface: ''
99 #  cidr: 192.168.37.0/24
100 #  gateway: 192.168.37.1
101 #  floating_ip_range: 192.168.37.200,192.168.37.220  #Range to allocate to floating IPs for the public network with Neutron
102 #  usable_ip_range: 192.168.37.10,192.168.37.199     #Usable IP range on the public network, usually this is a shared subnet
103 #  provisioner_ip: 192.168.37.1
104 #storage_network:
105 #  enabled: false                                    #If disabled, storage_network traffic will collapse to admin network