2
###############################################################################
4
# Configuration file maintained by Juju. Local changes may be overwritten.
5
{% if restart_trigger -%}
6
# restart trigger: {{ restart_trigger }}
8
###############################################################################
10
dhcpbridge_flagfile=/etc/nova/nova.conf
11
dhcpbridge=/usr/bin/nova-dhcpbridge
13
state_path=/var/lib/nova
14
lock_path=/var/lock/nova
15
force_dhcp_release=True
16
libvirt_use_virtio_for_bridges=True
18
use_syslog = {{ use_syslog }}
19
ec2_private_dns_show_ip=True
20
api_paste_config=/etc/nova/api-paste.ini
21
enabled_apis=ec2,osapi_compute,metadata
22
auth_strategy=keystone
23
compute_driver=libvirt.LibvirtDriver
25
{% include "parts/database" %}
27
{% include "parts/rabbitmq" %}
29
{% if glance_api_servers -%}
30
glance_api_servers = {{ glance_api_servers }}
33
{% if console_vnc_type -%}
36
vnc_keymap = {{ console_keymap }}
37
vncserver_listen = 0.0.0.0
38
vncserver_proxyclient_address = {{ console_listen_addr }}
39
{% if console_access_protocol == 'novnc' or console_access_protocol == 'vnc' -%}
40
novncproxy_base_url = {{ novnc_proxy_address }}
42
{% if console_access_protocol == 'xvpvnc' or console_access_protocol == 'vnc' -%}
43
xvpvncproxy_port = {{ xvpvnc_proxy_port }}
44
xvpvncproxy_host = {{ xvpvnc_proxy_host }}
45
xvpvncproxy_base_url = {{ xvpvnc_proxy_address }}
52
{% if neutron_plugin and neutron_plugin == 'ovs' -%}
53
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
54
{% if neutron_security_groups -%}
55
security_group_api = neutron
56
firewall_driver = nova.virt.firewall.NoopFirewallDriver
60
{% if neutron_plugin and (neutron_plugin == 'nvp' or neutron_plugin == 'nsx') -%}
61
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtOpenVswitchVirtualPortDriver
62
security_group_api = neutron
63
firewall_driver = nova.virt.firewall.NoopFirewallDriver
66
{% if network_manager_config -%}
67
{% for key, value in network_manager_config.iteritems() -%}
68
{{ key }} = {{ value }}
72
{% if network_manager == 'neutron' -%}
73
network_api_class = nova.network.neutronv2.api.API
75
network_manager = nova.network.manager.FlatDHCPManager
78
{% if volume_service -%}
79
volume_api_class = nova.volume.cinder.API
82
{% if user_config_flags -%}
83
{% for key, value in user_config_flags.iteritems() -%}
84
{{ key }} = {{ value }}
88
{% if instances_path -%}
89
instances_path = {{ instances_path }}
92
{% if sections and 'DEFAULT' in sections -%}
93
{% for key, value in sections['DEFAULT'] -%}
94
{{ key }} = {{ value }}
98
{% if console_access_protocol == 'spice' -%}
102
html5proxy_base_url = {{ spice_proxy_address }}
103
keymap = {{ console_keymap }}
104
server_listen = 0.0.0.0
105
server_proxyclient_address = {{ console_listen_addr }}
110
rbd_pool = {{ rbd_pool }}
111
rbd_user = {{ rbd_user }}
112
rbd_secret_uuid = {{ rbd_secret_uuid }}
114
{% if live_migration_uri -%}
115
live_migration_uri = {{ live_migration_uri }}