forcing rpm-check if files added to the commit
[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   # Customize the VLAN IDs to match the local environment
58   InternalApiNetworkVlanID: 10 # usually collapsed onto Admin/Provisioning
59   StorageNetworkVlanID: 20
60   # StorageMgmtNetworkVlanID: 30 # NOT IMPLEMENTED
61   TenantNetworkVlanID: 40
62   ExternalNetworkVlanID: 50
63
64 parameters:
65   ServiceNetMap:
66     NeutronTenantNetwork: tenant
67     CeilometerApiNetwork: internal_api
68     AodhApiNetwork: internal_api
69     OpenDaylightApiNetwork: internal_api
70     MongoDbNetwork: internal_api
71     CinderApiNetwork: internal_api
72     CinderIscsiNetwork: storage
73     GlanceApiNetwork: storage
74     GlanceRegistryNetwork: internal_api
75     KeystoneAdminApiNetwork: ctlplane
76     KeystonePublicApiNetwork: internal_api
77     NeutronApiNetwork: internal_api
78     HeatApiNetwork: internal_api
79     NovaApiNetwork: internal_api
80     NovaMetadataNetwork: internal_api
81     NovaVncProxyNetwork: internal_api
82     SwiftMgmtNetwork: storage
83     SwiftProxyNetwork: storage
84     HorizonNetwork: internal_api
85     MemcachedNetwork: internal_api
86     RabbitMqNetwork: internal_api
87     RedisNetwork: internal_api
88     MysqlNetwork: internal_api
89     CephClusterNetwork: storage
90     CephPublicNetwork: storage
91     # Define which network will be used for hostname resolution
92     ControllerHostnameResolveNetwork: internal_api
93     ComputeHostnameResolveNetwork: internal_api
94     BlockStorageHostnameResolveNetwork: internal_api
95     ObjectStorageHostnameResolveNetwork: internal_api
96     CephStorageHostnameResolveNetwork: storage