Merge "Split out Nova software config"
[apex-tripleo-heat-templates.git] / compute-config.yaml
1 heat_template_version: 2014-10-16
2
3 description: >
4   Software Config for Nova Compute.
5
6 resources:
7   NovaComputeConfigImpl:
8     type: OS::Heat::StructuredConfig
9     properties:
10       group: os-apply-config
11       config:
12         nova:
13           compute_driver: { get_input: nova_compute_driver }
14           compute_libvirt_type: { get_input: nova_compute_libvirt_type }
15           db: {get_input: nova_dsn}
16           debug: {get_input: debug}
17           host: {get_input: nova_api_host}
18           public_ip: {get_input: nova_public_ip}
19           service-password: {get_input: nova_password}
20         ceilometer:
21           db: {get_input: ceilometer_dsn}
22           debug: {get_input: debug}
23           metering_secret: {get_input: ceilometer_metering_secret}
24           service-password: {get_input: ceilometer_password}
25           compute_agent: {get_input: ceilometer_compute_agent}
26         snmpd:
27           export_MIB: UCD-SNMP-MIB
28           readonly_user_name: {get_input: snmpd_readonly_user_name}
29           readonly_user_password: {get_input: snmpd_readonly_user_password}
30         glance:
31           debug: {get_input: debug}
32           host: {get_input: glance_host}
33           port: {get_input: glance_port}
34           protocol: {get_input: glance_protocol}
35         keystone:
36           debug: {get_input: debug}
37           host: {get_input: keystone_host}
38         neutron:
39           debug: {get_input: debug}
40           flat-networks: {get_input: neutron_flat_networks}
41           host: {get_input: neutron_host}
42           ovs_db: {get_input: neutron_dsn}
43           ovs:
44             local_ip: {get_input: neutron_local_ip}
45             tenant_network_type: {get_input: neutron_tenant_network_type}
46             tunnel_types: {get_input: neutron_tunnel_types}
47             network_vlan_ranges: {get_input: neutron_network_vlan_ranges}
48             bridge_mappings: {get_input: neutron_bridge_mappings}
49             enable_tunneling: {get_input: neutron_enable_tunneling}
50             physical_bridge: {get_input: neutron_physical_bridge}
51             public_interface: {get_input: neutron_public_interface}
52           service-password: {get_input: neutron_password}
53         admin-password: {get_input: admin_password}
54         rabbit:
55           host: {get_input: rabbit_host}
56           username: {get_input: rabbit_username}
57           password: {get_input: rabbit_password}
58         live-update:
59           host: {get_input: live_update_host}
60           username: {get_input: live_update_username}
61           password: {get_input: live_update_password}
62           tenant-name: {get_input: live_update_tenant_name}
63           base_image_id: {get_input: nova_image}
64           live_update_image_id: {get_input: live_update_compute_image}
65         ntp:
66           servers:
67               - {server: {get_input: ntp_server}, fudge: "stratum 0"}
68
69 outputs:
70   config_id:
71     description: The ID of the NovaComputeConfigImpl resource.
72     value:
73       {get_resource: NovaComputeConfigImpl}