874e0112803f0793e480e6c495d4a28ec7a05de3
[apex.git] / build / network-environment.yaml
1 # Enable the creation of Neutron networks for isolated OvercloudV
2 # traffic and configure each role to assign ports (related
3 # to that role) on these networks.
4 # Many networks are disabled by default because they are not used
5 # in a typical configuration. Override via parameter_defaults.
6 resource_registry:
7   OS::TripleO::Network::External: /usr/share/openstack-tripleo-heat-templates/network/external.yaml
8   OS::TripleO::Network::InternalApi: /usr/share/openstack-tripleo-heat-templates/network/noop.yaml
9   OS::TripleO::Network::StorageMgmt: /usr/share/openstack-tripleo-heat-templates/network/noop.yaml
10   OS::TripleO::Network::Storage: /usr/share/openstack-tripleo-heat-templates/network/noop.yaml
11   OS::TripleO::Network::Tenant: /usr/share/openstack-tripleo-heat-templates/network/noop.yaml
12   # Management network is optional and disabled by default
13   #OS::TripleO::Network::Management: /usr/share/openstack-tripleo-heat-templates/network/noop.yaml
14
15   # Port assignments for the VIPs
16   OS::TripleO::Network::Ports::ExternalVipPort: /usr/share/openstack-tripleo-heat-templates/network/ports/external.yaml
17   OS::TripleO::Network::Ports::InternalApiVipPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
18   OS::TripleO::Network::Ports::StorageVipPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
19   OS::TripleO::Network::Ports::StorageMgmtVipPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
20   OS::TripleO::Network::Ports::RedisVipPort: /usr/share/openstack-tripleo-heat-templates/network/ports/ctlplane_vip.yaml
21
22   # Port assignments for the controller role
23   OS::TripleO::Controller::Ports::ExternalPort: /usr/share/openstack-tripleo-heat-templates/network/ports/external.yaml
24   OS::TripleO::Controller::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
25   OS::TripleO::Controller::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
26   OS::TripleO::Controller::Ports::StorageMgmtPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
27   OS::TripleO::Controller::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
28   #OS::TripleO::Controller::Ports::ManagementPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
29
30   # Port assignments for the compute role
31   OS::TripleO::Compute::Ports::InternalApiPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
32   OS::TripleO::Compute::Ports::StorageMgmtPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
33   OS::TripleO::Compute::Ports::StoragePort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
34   OS::TripleO::Compute::Ports::TenantPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
35   OS::TripleO::Compute::Ports::ExternalPort: /usr/share/openstack-tripleo-heat-templates/network/ports/external.yaml
36   #OS::TripleO::Compute::Ports::ManagementPort: /usr/share/openstack-tripleo-heat-templates/network/ports/noop.yaml
37
38   # NIC assignments
39   OS::TripleO::Compute::Net::SoftwareConfig: nics/compute.yaml
40   OS::TripleO::Controller::Net::SoftwareConfig: nics/controller.yaml
41
42
43 parameter_defaults:
44   #NeutronExternalNetworkBridge: "''"
45   ControlPlaneSubnetCidr: "24"
46   ControlPlaneDefaultRoute: 192.0.2.1
47   ExternalNetCidr: 192.168.37.0/24
48   ExternalAllocationPools: [{'start': '192.168.37.50', 'end': '192.168.37.99'}]
49   ExternalInterfaceDefaultRoute: 192.168.37.1
50   EC2MetadataIp: 192.0.2.1
51   DnsServers: ["8.8.8.8","8.8.4.4"]
52   TenantNetCidr: 172.17.0.0/24
53   TenantAllocationPools: [{'start': '172.17.0.10', 'end': '172.17.0.200'}]
54   StorageNetCidr: 172.18.0.0/24
55   StorageAllocationPools: [{'start': '172.18.0.10', 'end': '172.18.0.200'}]
56
57 parameters:
58   ServiceNetMap:
59     NeutronTenantNetwork: tenant
60     CeilometerApiNetwork: internal_api
61     AodhApiNetwork: internal_api
62     OpenDaylightApiNetwork: internal_api
63     MongoDbNetwork: internal_api
64     CinderApiNetwork: internal_api
65     CinderIscsiNetwork: storage
66     GlanceApiNetwork: storage
67     GlanceRegistryNetwork: internal_api
68     KeystoneAdminApiNetwork: ctlplane
69     KeystonePublicApiNetwork: internal_api
70     NeutronApiNetwork: internal_api
71     HeatApiNetwork: internal_api
72     NovaApiNetwork: internal_api
73     NovaMetadataNetwork: internal_api
74     NovaVncProxyNetwork: internal_api
75     SwiftMgmtNetwork: storage
76     SwiftProxyNetwork: storage
77     HorizonNetwork: internal_api
78     MemcachedNetwork: internal_api
79     RabbitMqNetwork: internal_api
80     RedisNetwork: internal_api
81     MysqlNetwork: internal_api
82     CephClusterNetwork: storage
83     CephPublicNetwork: storage
84     # Define which network will be used for hostname resolution
85     ControllerHostnameResolveNetwork: internal_api
86     ComputeHostnameResolveNetwork: internal_api
87     BlockStorageHostnameResolveNetwork: internal_api
88     ObjectStorageHostnameResolveNetwork: internal_api
89     CephStorageHostnameResolveNetwork: storage