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
{% include "parts/zeromq" %}
31
{% if glance_api_servers -%}
32
glance_api_servers = {{ glance_api_servers }}
36
rbd_pool = {{ rbd_pool }}
37
rbd_user = {{ rbd_user }}
38
rbd_secret_uuid = {{ rbd_secret_uuid }}
41
{% if console_vnc_type -%}
44
vnc_keymap = {{ console_keymap }}
45
vncserver_listen = 0.0.0.0
46
vncserver_proxyclient_address = {{ console_listen_addr }}
47
{% if console_access_protocol == 'novnc' or console_access_protocol == 'vnc' -%}
48
novncproxy_base_url = {{ novnc_proxy_address }}
50
{% if console_access_protocol == 'xvpvnc' or console_access_protocol == 'vnc' -%}
51
xvpvncproxy_port = {{ xvpvnc_proxy_port }}
52
xvpvncproxy_host = {{ xvpvnc_proxy_host }}
53
xvpvncproxy_base_url = {{ xvpvnc_proxy_address }}
60
{% if neutron_plugin and neutron_plugin == 'ovs' -%}
61
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
62
{% if neutron_security_groups -%}
63
security_group_api = neutron
64
firewall_driver = nova.virt.firewall.NoopFirewallDriver
68
{% if neutron_plugin and (neutron_plugin == 'nvp' or neutron_plugin == 'nsx') -%}
69
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtOpenVswitchVirtualPortDriver
70
security_group_api = neutron
71
firewall_driver = nova.virt.firewall.NoopFirewallDriver
74
{% if network_manager_config -%}
75
{% for key, value in network_manager_config.iteritems() -%}
76
{{ key }} = {{ value }}
80
{% if network_manager == 'neutron' -%}
81
network_api_class = nova.network.neutronv2.api.API
83
network_manager = nova.network.manager.FlatDHCPManager
86
{% if volume_service -%}
87
volume_api_class = nova.volume.cinder.API
90
{% if user_config_flags -%}
91
{% for key, value in user_config_flags.iteritems() -%}
92
{{ key }} = {{ value }}
96
{% if live_migration_uri -%}
97
live_migration_uri = {{ live_migration_uri }}
100
{% if instances_path -%}
101
instances_path = {{ instances_path }}
104
{% if sections and 'DEFAULT' in sections -%}
105
{% for key, value in sections['DEFAULT'] -%}
106
{{ key }} = {{ value }}
110
{% if console_access_protocol == 'spice' -%}
114
html5proxy_base_url = {{ spice_proxy_address }}
115
keymap = {{ console_keymap }}
116
server_listen = 0.0.0.0
117
server_proxyclient_address = {{ console_listen_addr }}