Merge "Bring back (abandoned) support for Cinder/NFS"
[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 parameters:
7   # unused here but is a placeholder for other compute-config templates
8   # which may choose to create in-templates resources that require server
9   server_id:
10     type: string
11     hidden: true
12
13 resources:
14   NovaComputeConfigImpl:
15     type: OS::Heat::StructuredConfig
16     properties:
17       group: os-apply-config
18       config:
19         nova:
20           compute_driver: { get_input: nova_compute_driver }
21           compute_libvirt_type: { get_input: nova_compute_libvirt_type }
22           debug: {get_input: debug}
23           host: {get_input: nova_api_host}
24           public_ip: {get_input: nova_public_ip}
25           service-password: {get_input: nova_password}
26         ceilometer:
27           debug: {get_input: debug}
28           metering_secret: {get_input: ceilometer_metering_secret}
29           service-password: {get_input: ceilometer_password}
30           compute_agent: {get_input: ceilometer_compute_agent}
31         snmpd:
32           export_MIB: UCD-SNMP-MIB
33           readonly_user_name: {get_input: snmpd_readonly_user_name}
34           readonly_user_password: {get_input: snmpd_readonly_user_password}
35         glance:
36           debug: {get_input: debug}
37           host: {get_input: glance_host}
38           port: {get_input: glance_port}
39           protocol: {get_input: glance_protocol}
40         keystone:
41           debug: {get_input: debug}
42           host: {get_input: keystone_host}
43         neutron:
44           debug: {get_input: debug}
45           flat-networks: {get_input: neutron_flat_networks}
46           host: {get_input: neutron_host}
47           router_distributed: {get_input: neutron_router_distributed}
48           agent_mode: {get_input: neutron_agent_mode}
49           ovs_db: {get_input: neutron_dsn}
50           metadata_proxy_shared_secret: {get_input: neutron_metadata_proxy_shared_secret}
51           mechanism_drivers: {get_input: neutron_mechanism_drivers}
52           allow_automatic_l3agent_failover: {get_input: neutron_allow_l3agent_failover}
53           ovs:
54             local_ip: {get_input: neutron_local_ip}
55             tenant_network_type: {get_input: neutron_tenant_network_type}
56             tunnel_types: {get_input: neutron_tunnel_types}
57             network_vlan_ranges: {get_input: neutron_network_vlan_ranges}
58             bridge_mappings: {get_input: neutron_bridge_mappings}
59             enable_tunneling: {get_input: neutron_enable_tunneling}
60             physical_bridge: {get_input: neutron_physical_bridge}
61             public_interface: {get_input: neutron_public_interface}
62             public_interface_raw_device: {get_input: neutron_public_interface_raw_device}
63           service-password: {get_input: neutron_password}
64         admin-password: {get_input: admin_password}
65         rabbit:
66           host: {get_input: rabbit_host}
67           username: {get_input: rabbit_username}
68           password: {get_input: rabbit_password}
69         ntp:
70           servers:
71               - {server: {get_input: ntp_server}, fudge: "stratum 0"}
72
73 outputs:
74   config_id:
75     description: The ID of the NovaComputeConfigImpl resource.
76     value:
77       {get_resource: NovaComputeConfigImpl}