~1chb1n/charms/trusty/nova-cloud-controller/15.10-stable-flip-tests-helper-syncs

« back to all changes in this revision

Viewing changes to templates/havana/ovs_neutron_plugin.ini

[yolanda] Add postgresql support
Rejig templates to use includes, add Postgresql context for neutron and quantum config files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
enable_tunneling = True
5
5
local_ip = {{ local_ip }}
6
6
 
7
 
[database]
8
 
{% if database_host -%}
9
 
connection = mysql://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %}
10
 
{% else -%}
11
 
connection = sqlite:////var/lib/neutron/neutron.sqlite
12
 
{% endif -%}
13
 
 
14
7
[securitygroup]
15
8
{% if neutron_security_groups -%}
16
9
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver