~tribaal/charms/trusty/nova-compute/enable-api-rate-limiting

« back to all changes in this revision

Viewing changes to templates/juno/nova.conf

  • Committer: Edward Hope-Morley
  • Date: 2015-03-16 15:38:04 UTC
  • mto: This revision was merged to the branch mainline in revision 108.
  • Revision ID: edward.hope-morley@canonical.com-20150316153804-du1szvv0gwfve4g6
cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
{% endif -%}
8
8
###############################################################################
9
9
[DEFAULT]
10
 
verbose={{ verbose }}
11
 
debug={{ debug }}
12
10
dhcpbridge_flagfile=/etc/nova/nova.conf
13
11
dhcpbridge=/usr/bin/nova-dhcpbridge
14
12
logdir=/var/log/nova
15
13
state_path=/var/lib/nova
16
14
lock_path=/var/lock/nova
17
15
force_dhcp_release=True
18
 
 
19
 
{% if arch == 'aarch64' -%}
20
 
libvirt_use_virtio_for_bridges=False
21
 
libvirt_disk_prefix=vd
22
 
{% else -%}
23
16
libvirt_use_virtio_for_bridges=True
24
 
{% endif -%}
25
 
 
 
17
verbose=True
26
18
use_syslog = {{ use_syslog }}
27
19
ec2_private_dns_show_ip=True
28
20
api_paste_config=/etc/nova/api-paste.ini
39
31
glance_api_servers = {{ glance_api_servers }}
40
32
{% endif -%}
41
33
 
42
 
{% if metadata_shared_secret -%}
43
 
neutron_metadata_proxy_shared_secret = {{ metadata_shared_secret }}
44
 
service_neutron_metadata_proxy=True
45
 
{% endif -%}
46
 
 
47
34
{% if console_vnc_type -%}
48
35
vnc_enabled = True
49
36
novnc_enabled = True
71
58
{% endif -%}
72
59
{% endif -%}
73
60
 
74
 
{% if neutron_plugin and neutron_plugin == 'vsp' -%}
75
 
network_api_class=nova.network.neutronv2.api.API
76
 
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtGenericVIFDriver
77
 
neutron_ovs_bridge=alubr0
78
 
security_group_api=nova
79
 
firewall_driver = nova.virt.firewall.NoopFirewallDriver
80
 
{% endif -%}
81
 
 
82
61
{% if neutron_plugin and (neutron_plugin == 'nvp' or neutron_plugin == 'nsx') -%}
83
62
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtOpenVswitchVirtualPortDriver
84
63
security_group_api = neutron
85
64
firewall_driver = nova.virt.firewall.NoopFirewallDriver
86
65
{% endif -%}
87
66
 
88
 
{% if neutron_plugin and neutron_plugin == 'Calico' -%}
89
 
security_group_api = neutron
90
 
firewall_driver = nova.virt.firewall.NoopFirewallDriver
91
 
{% endif -%}
92
 
 
93
 
{% if neutron_plugin and neutron_plugin == 'plumgrid' -%}
94
 
security_group_api=neutron
95
 
firewall_driver = nova.virt.firewall.NoopFirewallDriver
96
 
{% endif -%}
97
 
 
98
67
{% if network_manager_config -%}
99
68
{% for key, value in network_manager_config.iteritems() -%}
100
69
{{ key }} = {{ value }}
107
76
network_manager = nova.network.manager.FlatDHCPManager
108
77
{% endif -%}
109
78
 
110
 
{% if network_device_mtu -%}
111
 
network_device_mtu = {{ network_device_mtu }}
112
 
{% endif -%}
113
 
 
114
79
{% if volume_service -%}
115
80
volume_api_class = nova.volume.cinder.API
116
81
{% endif -%}