[ivoks,r=] Add support for setting neutron-alchemy-flags
This commit is contained in:
parent
1439799d74
commit
ff5745fe29
@ -128,6 +128,11 @@ options:
|
|||||||
ssl_key:
|
ssl_key:
|
||||||
type: string
|
type: string
|
||||||
description: SSL key to use with certificate specified as ssl_cert.
|
description: SSL key to use with certificate specified as ssl_cert.
|
||||||
|
neutron-alchemy-flags:
|
||||||
|
default: None
|
||||||
|
type: string
|
||||||
|
Comma separated list of key=value sqlalchemy related config flags to be
|
||||||
|
set in plugin ini file.
|
||||||
ssl_ca:
|
ssl_ca:
|
||||||
type: string
|
type: string
|
||||||
description: |
|
description: |
|
||||||
|
@ -16,6 +16,11 @@ reconnect_interval = 2
|
|||||||
{% else -%}
|
{% else -%}
|
||||||
connection = sqlite:////var/lib/quantum/quantum.sqlite
|
connection = sqlite:////var/lib/quantum/quantum.sqlite
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
{% if neutron_alchemy_flags -%}
|
||||||
|
{% for key, value in neutron_alchemy_flags.iteritems() -%}
|
||||||
|
{{ key }} = {{ value }}
|
||||||
|
{% endfor -%}
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
[SECURITYGROUP]
|
[SECURITYGROUP]
|
||||||
{% if neutron_security_groups -%}
|
{% if neutron_security_groups -%}
|
||||||
|
@ -2,3 +2,8 @@
|
|||||||
[database]
|
[database]
|
||||||
connection = {{ database_type }}://{{ 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 %}
|
connection = {{ database_type }}://{{ 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 %}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
{% if neutron_alchemy_flags -%}
|
||||||
|
{% for key, value in neutron_alchemy_flags.iteritems() -%}
|
||||||
|
{{ key }} = {{ value }}
|
||||||
|
{% endfor -%}
|
||||||
|
{% endif -%}
|
||||||
|
Loading…
Reference in New Issue
Block a user