summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/keystone/templates/admin-openrc-v3.sh
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2016-08-30 06:15:41 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-30 06:15:41 +0000
commite895f1fa7fd3f7f8a3152376bc30cbdd51028566 (patch)
treefa1fdb3105c516308c86f9a277a20c2a7f2ebb65 /deploy/adapters/ansible/roles/keystone/templates/admin-openrc-v3.sh
parent1b8e4ce12d749141581ca880a13a71314acbbf79 (diff)
parent8e21cb6530e6e55d8a080887dfbf93f0d07edeb1 (diff)
Merge "Add heat user domain configuration"
Diffstat (limited to 'deploy/adapters/ansible/roles/keystone/templates/admin-openrc-v3.sh')
-rw-r--r--deploy/adapters/ansible/roles/keystone/templates/admin-openrc-v3.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/keystone/templates/admin-openrc-v3.sh b/deploy/adapters/ansible/roles/keystone/templates/admin-openrc-v3.sh
new file mode 100644
index 00000000..c3d863e8
--- /dev/null
+++ b/deploy/adapters/ansible/roles/keystone/templates/admin-openrc-v3.sh
@@ -0,0 +1,19 @@
+##############################################################################
+# 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/v3
+export OS_IDENTITY_API_VERSION=3
+export OS_USERNAME=admin
+export OS_VOLUME_API_VERSION=2
+export OS_USER_DOMAIN_NAME=Default
+export OS_PROJECT_DOMAIN_NAME=Default
+
+