Merge "Remove deprecated hdp plugin and add ambari"
[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   # Customize the IP subnets to match the local environment
19   InternalApiNetCidr: 172.17.0.0/24
20   StorageNetCidr: 172.18.0.0/24
21   StorageMgmtNetCidr: 172.19.0.0/24
22   TenantNetCidr: 172.16.0.0/24
23   ExternalNetCidr: 10.0.0.0/24
24   # CIDR subnet mask length for provisioning network
25   ControlPlaneSubnetCidr: '24'
26   # Customize the IP ranges on each network to use for static IPs and VIPs
27   InternalApiAllocationPools: [{'start': '172.17.0.10', 'end': '172.17.0.200'}]
28   StorageAllocationPools: [{'start': '172.18.0.10', 'end': '172.18.0.200'}]
29   StorageMgmtAllocationPools: [{'start': '172.19.0.10', 'end': '172.19.0.200'}]
30   TenantAllocationPools: [{'start': '172.16.0.10', 'end': '172.16.0.200'}]
31   # Leave room if the external network is also used for floating IPs
32   ExternalAllocationPools: [{'start': '10.0.0.10', 'end': '10.0.0.50'}]
33   # Gateway router for the external network
34   ExternalInterfaceDefaultRoute: 10.0.0.1
35   # Gateway router for the provisioning network (or Undercloud IP)
36   ControlPlaneDefaultRoute: 192.0.2.254
37   # Generally the IP of the Undercloud
38   EC2MetadataIp: 192.0.2.1
39   # Define the DNS servers (maximum 2) for the overcloud nodes
40   DnsServers: ["8.8.8.8","8.8.4.4"]
41   # Customize the VLAN IDs to match the local environment
42   InternalApiNetworkVlanID: 10
43   StorageNetworkVlanID: 20
44   StorageMgmtNetworkVlanID: 30
45   TenantNetworkVlanID: 40
46   ExternalNetworkVlanID: 50
47   # Set to empty string to enable multiple external networks or VLANs
48   NeutronExternalNetworkBridge: "''"
49   # The tunnel type for the tenant network (vxlan or gre). Set to '' to disable tunneling.
50   NeutronTunnelTypes: 'vxlan'
51   # Customize bonding options, e.g. "mode=4 lacp_rate=1 updelay=1000 miimon=100"
52   BondInterfaceOvsOptions: "bond_mode=active-backup"