dd2d066eb7382cbbe0255a07a02fb13bb33c7ea2
[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 4 following networks:
4 #
5 # - admin
6 # - private*
7 # - public
8 # - storage*
9 # - api*
10 #
11 # *) optional networks
12 #
13 # Any values missing from this configuration file will be
14 # auto-detected by deployment script from the existing network
15 # configuration of the jumphost.
16 #
17 # Optional networks will be consolidated with the admin network
18 # if not explicitely configured.
19 #
20 # See short description of the networks in the comments below.
21 #
22
23 # DNS Servers for all nodes, comma delimited list
24 dns_servers: ["8.8.8.8", "8.8.4.4"]
25
26 # "admin" is the short name for Control Plane Network.
27 # During OPNFV deployment it is used for node provisioning so
28 # PXE boot should be enabled for the related interfaces on all
29 # the nodes in the OPNFV cluster. After the deployment this
30 # network is used as the OpenStack management network which
31 # carries e.g. communication between its internal components.
32 # This network must be IPv4 currently.
33 domain_name: 'opnfvapex.com'
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   vlan: native
43   usable_ip_range: 192.0.2.11,192.0.2.99
44   gateway: 192.0.2.1
45   provisioner_ip: 192.0.2.1
46   cidr: 192.0.2.0/24
47   dhcp_range: 192.0.2.2,192.0.2.10
48   introspection_range: 192.0.2.100,192.0.2.120
49
50 # "private" is an optional network used as underlying physical
51 # network for virtual provider and tenant networks created by
52 # users. Traffic between virtual machines is carried by this
53 # network.
54 # This network must be IPv4 currently.
55 #
56 private_network:
57   enabled: true
58   cidr: 11.0.0.0/24
59   vlan: native
60   cidr: 11.0.0.0/24
61   compute_interface: nic2
62   controller_interface: nic2
63
64
65 # "public" network is used for external connectivity.
66 # The external network provides Internet access for virtual
67 # machines. If floating IP range is defined for this network,
68 # floating IP addresses can be used for accessing virtual
69 # machines from outside of OPNFV cluster. Also external REST
70 # API calls use this network.
71 #
72 public_network:
73   enabled: true
74   network_type: ''
75   bridged_interface: ''
76   compute_interface: nic3
77   controller_interface: nic3
78   vlan: native
79   cidr: 2001:db8::/64
80   gateway: 2001:db8::1
81   provisioner_ip: 2001:db8::1
82
83 # "storage" is an optional network used by storage backends.
84 # You can configure this network in order to reduce load on
85 # Control Plane Network.
86 #
87 storage_network:
88   enabled: true
89   cidr: fd00:fd00:fd00:2000::/64
90   vlan: native
91   compute_interface: nic4
92   controller_interface: nic4
93
94
95 # "api" is an optional network used by internal openstack api services.
96 api_network:
97   enabled: true
98   cidr: fd00:fd00:fd00:4000::/64
99   vlan: native
100   compute_interface: nic5
101   controller_interface: nic5
102
103 #public_network:
104 #  enabled: true                                     #If disabled, public_network traffic will collapse to admin network
105 #  network_type: ''
106 #  bridged_interface: ''
107 #  cidr: 192.168.37.0/24
108 #  gateway: 192.168.37.1
109 #  floating_ip_range: 192.168.37.200,192.168.37.220  #Range to allocate to floating IPs for the public network with Neutron
110 #  usable_ip_range: 192.168.37.10,192.168.37.199     #Usable IP range on the public network, usually this is a shared subnet
111 #  provisioner_ip: 192.168.37.1
112 #
113 #private_network:
114 #  enabled: false                                    #If disabled, underlay traffic will collapse to admin_network
115 #  ipv6: true                                        #This flag is only needed if cidr is not provided, and bridged_interface
116 #                                                     is used for address auto detection.
117 #
118 #storage_network:
119 #  enabled: false                                    #If disabled, storage_network traffic will collapse to admin network
120 #  ipv6: true                                        #This flag is only needed if cidr is not provided, and bridged_interface
121 #                                                     is used for address auto detection.
122 #
123 #api_network:
124 #  enabled: false                                    #If disabled, api_network traffic will collapse to admin network
125 #  ipv6: true                                        #This flag is only needed if cidr is not provided, and bridged_interface
126 #                                                     is used for address auto detection.
127 #
128 #General behavior description (today's behavior, not necessarily optimal):
129 #  - If a network has cidr field defined, no auto detection will be done. All missing fields will be generated according to CIDR.
130 #  - If cidr is not specified, bridged_interface field must be specified. IP detection will be done on the system.
131 #    In this case, an optional ipv6 field can be specified to indicate what kind of IP discovery takes place.
132 #  - It is assumed the supplied cidr has enough address to generate all field today.
133 #  - If a field is specified, no auto generation (from cidr) or auto detection (from bridged_interface) will be performed.
134 #    It is assumed the value specified is correct.
135 #  - Any networks can be specified to be IPv6, but only private, storage and public SHOULD. No check is performed to validate this.
136 #
137 #Other changes
138 # - All IP addresses can now be IPv4 or IPv6, we will detect the correct family and configure accordingly.
139 #   Note that if any network is specified to be IPv6, we consider it a IPv6 deployment. IPv6 deployment does require additional
140 #   configurations in resulting network environment yaml, such as enabling ipv6 support for NOVA, RABBITMQ, etc.
141 #