Fix for Keytsone v3

Change-Id: I1f6b3d7758da4c67a0af514abf8354bd72cd4d33
Signed-off-by: Illia Polliul <ipolliul@mirantis.com>
diff --git a/opencontrail/files/3.0/contrail-keystone-auth.conf b/opencontrail/files/3.0/contrail-keystone-auth.conf
index 7b2a133..5ea6161 100644
--- a/opencontrail/files/3.0/contrail-keystone-auth.conf
+++ b/opencontrail/files/3.0/contrail-keystone-auth.conf
@@ -13,6 +13,7 @@
 {%- endif %}
 {%- if config.identity.version == "3" %}
 project_name={{ config.identity.tenant }}
+project_domain_name={{ config.identity.get('domain', 'default')|lower}}
 auth_url=http://{{ config.identity.host }}:{{ config.identity.port }}/v3
 {%- else %}
 auth_url=http://{{ config.identity.host }}:{{ config.identity.port }}/v2.0
diff --git a/opencontrail/files/3.0/vnc_api_lib.ini b/opencontrail/files/3.0/vnc_api_lib.ini
index a66e1e4..072dc73 100644
--- a/opencontrail/files/3.0/vnc_api_lib.ini
+++ b/opencontrail/files/3.0/vnc_api_lib.ini
@@ -15,5 +15,10 @@
 AUTHN_PROTOCOL = http
 AUTHN_SERVER= {{ config.identity.host }}
 AUTHN_PORT = {{ config.identity.port }}
+{%- if config.identity.version == "3" %}
+AUTHN_URL = /v3/auth/tokens
+{%- else %}
 AUTHN_URL = /v2.0/tokens
-{%- endif %}
\ No newline at end of file
+{%- endif %}
+
+{%- endif %}