Support API v2.0 27/24127/1
authorliyuenan <liyuenan@huawei.com>
Thu, 10 Nov 2016 02:25:03 +0000 (10:25 +0800)
committerliyuenan <liyuenan@huawei.com>
Thu, 10 Nov 2016 02:28:54 +0000 (10:28 +0800)
JIRA: COMPASS-491

Change-Id: I56c854d752d0dbf72ec3984670b49606c044bec1
Signed-off-by: liyuenan <liyuenan@huawei.com>
deploy/adapters/ansible/openstack_newton_xenial/roles/keystone/tasks/keystone_install.yml
deploy/adapters/ansible/openstack_newton_xenial/roles/keystone/templates/admin-openrc-v2.sh [new file with mode: 0644]

diff --git a/deploy/adapters/ansible/openstack_newton_xenial/roles/keystone/templates/admin-openrc-v2.sh b/deploy/adapters/ansible/openstack_newton_xenial/roles/keystone/templates/admin-openrc-v2.sh
new file mode 100644 (file)
index 0000000..6ba620f
--- /dev/null
@@ -0,0 +1,15 @@
+##############################################################################
+# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+# Verify the Identity Service installation
+export OS_PASSWORD={{ ADMIN_PASS }}
+export OS_TENANT_NAME=admin
+export OS_AUTH_URL=http://{{ internal_vip.ip }}:35357/v2.0
+export OS_USERNAME=admin
+export OS_VOLUME_API_VERSION=2
+