Adding VLAN support
[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 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 # "admin" is the short name for Control Plane Network.
23 # During OPNFV deployment it is used for node provisioning so
24 # PXE boot should be enabled for the related interfaces on all
25 # the nodes in the OPNFV cluster. After the deployment this
26 # network is used as the OpenStack management network which
27 # carries e.g. communication between its internal components.
28 #
29 admin_network:
30   enabled: true
31   network_type: bridged
32   bridged_interface: ''
33   bond_interfaces: ''
34   usable_ip_range: 192.0.2.11,192.0.2.99
35   gateway: 192.0.2.1
36   provisioner_ip: 192.0.2.1
37   cidr: 192.0.2.0/24
38   dhcp_range: 192.0.2.2,192.0.2.10
39   introspection_range: 192.0.2.100,192.0.2.120
40
41 # "private" is an optional network used as underlying physical
42 # network for virtual provider and tenant networks created by
43 # users. Traffic between virtual machines is carried by this
44 # network.
45 #
46 private_network:
47   enabled: true
48   vlan: 400
49   cidr: 11.0.0.0/24
50
51 # "public" network is used for external connectivity.
52 # The external network provides Internet access for virtual
53 # machines. If floating IP range is defined for this network,
54 # floating IP addresses can be used for accessing virtual
55 # machines from outside of OPNFV cluster. Also external REST
56 # API calls use this network.
57 #
58 public_network:
59   enabled: true
60   network_type: ''
61   bridged_interface: ''
62   vlan: 500
63   cidr: 192.168.37.0/24
64   gateway: 192.168.37.1
65   floating_ip_range: 192.168.37.200,192.168.37.220
66   usable_ip_range: 192.168.37.10,192.168.37.199
67   provisioner_ip: 192.168.37.1
68
69 # "storage" is an optional network used by storage backends.
70 # You can configure this network in order to reduce load on
71 # Control Plane Network.
72 #
73 storage_network:
74   enabled: true
75   vlan: 200
76   cidr: 12.0.0.0/24
77
78 #admin_network:
79 #  enabled: true
80 #  network_type: bridged                             #Indicates if this network will be bridged to an interface, or to a bond
81 #  bridged_interface: ''                             #Interface to bridge to for installer VM
82 #  bond_interfaces: ''                               #Interfaces to create bond with for installer VM
83 #  vlan: native                                      #VLAN tag to use, native means none
84 #  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
85 #  gateway: 192.0.2.1                                #Gateway (only needed when public_network is disabled), if empty it is auto-detected
86 #  provisioner_ip: 192.0.2.1                         #installer VM IP, if empty it is the next available IP in the admin subnet
87 #  cidr: 192.0.2.0/24                                #subnet in CIDR format 192.168.1.0/24, if empty it will be auto-detected
88 #  dhcp_range: 192.0.2.2,192.0.2.10                  #dhcp range for the admin network, if empty it will be automatically provisioned
89 #  introspection_range: 192.0.2.100,192.0.2.120      #Range used for introspection phase (examining nodes)
90 #private_network:
91 #  enabled: false                                    #If disabled, internal api traffic will collapse to admin_network
92 #public_network:
93 #  enabled: true                                     #If disabled, public_network traffic will collapse to admin network
94 #  network_type: ''
95 #  bridged_interface: ''
96 #  cidr: 192.168.37.0/24
97 #  gateway: 192.168.37.1
98 #  floating_ip_range: 192.168.37.200,192.168.37.220  #Range to allocate to floating IPs for the public network with Neutron
99 #  usable_ip_range: 192.168.37.10,192.168.37.199     #Usable IP range on the public network, usually this is a shared subnet
100 #  provisioner_ip: 192.168.37.1
101 #storage_network:
102 #  enabled: false                                    #If disabled, storage_network traffic will collapse to admin network