From 711967ae9639095ce41500bb0e6f80c8b80fab95 Mon Sep 17 00:00:00 2001 From: Stuart Mackie Date: Tue, 25 Jul 2017 10:37:57 -0700 Subject: Contrail charms Change-Id: I2d259d03f63fce38348b8384e26ac23e3fce44a8 Signed-off-by: Stuart Mackie --- contrail-agent/templates/vnc_api_lib.ini | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 contrail-agent/templates/vnc_api_lib.ini (limited to 'contrail-agent/templates/vnc_api_lib.ini') diff --git a/contrail-agent/templates/vnc_api_lib.ini b/contrail-agent/templates/vnc_api_lib.ini new file mode 100644 index 0000000..4422189 --- /dev/null +++ b/contrail-agent/templates/vnc_api_lib.ini @@ -0,0 +1,21 @@ +############################################################################### +# [ WARNING ] +# Configuration file maintained by Juju. Local changes may be overwritten. +############################################################################### + +[global] +WEB_SERVER = {{ api_server }} +WEB_PORT = {{ api_port }} + +[auth] +{%- if keystone_ip %} +AUTHN_TYPE = keystone +AUTHN_PROTOCOL = {{ keystone_protocol }} +AUTHN_SERVER = {{ keystone_ip }} +AUTHN_PORT = {{ keystone_public_port }} +AUTHN_URL = /{{ keystone_api_tokens }} +# while we don't have keystone cert then we set insecure to True +insecure = True +{%- else %} +AUTHN_TYPE = noauth +{%- endif %} -- cgit 1.2.3-korg