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