aboutsummaryrefslogtreecommitdiffstats
path: root/contrail-agent/templates/vnc_api_lib.ini
blob: 442218903abb5c79556f86465c29f11eab88e068 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 %}