Merge "Updates and fixes to NIC config template routes"
[apex-tripleo-heat-templates.git] / environments / network-environment.yaml
1 #This file is an example of an environment file for defining the isolated
2 #networks and related parameters.
3 resource_registry:
4   # Network Interface templates to use (these files must exist)
5   OS::TripleO::BlockStorage::Net::SoftwareConfig:
6     ../network/config/single-nic-vlans/cinder-storage.yaml
7   OS::TripleO::Compute::Net::SoftwareConfig:
8     ../network/config/single-nic-vlans/compute.yaml
9   OS::TripleO::Controller::Net::SoftwareConfig:
10     ../network/config/single-nic-vlans/controller.yaml
11   OS::TripleO::ObjectStorage::Net::SoftwareConfig:
12     ../network/config/single-nic-vlans/swift-storage.yaml
13   OS::TripleO::CephStorage::Net::SoftwareConfig:
14     ../network/config/single-nic-vlans/ceph-storage.yaml
15
16 parameter_defaults:
17   # This section is where deployment-specific configuration is done
18   # CIDR subnet mask length for provisioning network
19   ControlPlaneSubnetCidr: '24'
20   # Gateway router for the provisioning network (or Undercloud IP)
21   ControlPlaneDefaultRoute: 192.0.2.254
22   EC2MetadataIp: 192.0.2.1  # Generally the IP of the Undercloud
23   # Customize the IP subnets to match the local environment
24   InternalApiNetCidr: 172.17.0.0/24
25   StorageNetCidr: 172.18.0.0/24
26   StorageMgmtNetCidr: 172.19.0.0/24
27   TenantNetCidr: 172.16.0.0/24
28   ExternalNetCidr: 10.0.0.0/24
29   # Customize the VLAN IDs to match the local environment
30   InternalApiNetworkVlanID: 20
31   StorageNetworkVlanID: 30
32   StorageMgmtNetworkVlanID: 40
33   TenantNetworkVlanID: 50
34   ExternalNetworkVlanID: 10
35   # Customize the IP ranges on each network to use for static IPs and VIPs
36   InternalApiAllocationPools: [{'start': '172.17.0.10', 'end': '172.17.0.200'}]
37   StorageAllocationPools: [{'start': '172.18.0.10', 'end': '172.18.0.200'}]
38   StorageMgmtAllocationPools: [{'start': '172.19.0.10', 'end': '172.19.0.200'}]
39   TenantAllocationPools: [{'start': '172.16.0.10', 'end': '172.16.0.200'}]
40   # Leave room if the external network is also used for floating IPs
41   ExternalAllocationPools: [{'start': '10.0.0.10', 'end': '10.0.0.50'}]
42   # Gateway router for the external network
43   ExternalInterfaceDefaultRoute: 10.0.0.1
44   # Uncomment if using the Management Network (see network-management.yaml)
45   # ManagementNetCidr: 10.0.1.0/24
46   # ManagementAllocationPools: [{'start': '10.0.1.10', 'end', '10.0.1.50'}]
47   # Use either this parameter or ControlPlaneDefaultRoute in the NIC templates
48   # ManagementInterfaceDefaultRoute: 10.0.1.1
49   # Define the DNS servers (maximum 2) for the overcloud nodes
50   DnsServers: ["8.8.8.8","8.8.4.4"]
51   # Set to empty string to enable multiple external networks or VLANs
52   NeutronExternalNetworkBridge: "''"
53   # The tunnel type for the tenant network (vxlan or gre). Set to '' to disable tunneling.
54   NeutronTunnelTypes: 'vxlan'
55   # Customize bonding options, e.g. "mode=4 lacp_rate=1 updelay=1000 miimon=100"
56   BondInterfaceOvsOptions: "bond_mode=active-backup"