diff options
author | Stuart Mackie <wsmackie@juniper.net> | 2017-07-25 10:37:57 -0700 |
---|---|---|
committer | Stuart Mackie <wsmackie@juniper.net> | 2017-07-25 10:37:57 -0700 |
commit | 711967ae9639095ce41500bb0e6f80c8b80fab95 (patch) | |
tree | 07f598b35664ddbd269b76f21cf587f5679cab86 /contrail-agent/templates/vnc_api_lib.ini | |
parent | efd4f1414b79dd51c6316a73893ade33bc9f668e (diff) |
Contrail charms
Change-Id: I2d259d03f63fce38348b8384e26ac23e3fce44a8
Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
Diffstat (limited to 'contrail-agent/templates/vnc_api_lib.ini')
-rw-r--r-- | contrail-agent/templates/vnc_api_lib.ini | 21 |
1 files changed, 21 insertions, 0 deletions
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 %} |