aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack_newton_xenial/roles/keystone/templates/admin-openrc.sh
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2016-11-09 07:26:38 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-09 07:26:38 +0000
commit5f7e61eb5419681359af3ff3e37fac2b771a5c08 (patch)
tree11356f5a44b0bedbe3f48652628aec298db2670b /deploy/adapters/ansible/openstack_newton_xenial/roles/keystone/templates/admin-openrc.sh
parent92c05616a3612dca02ccbf88dcf4c73929f15dad (diff)
parent14c337344987857a4648ff08365b8b128a553ef8 (diff)
Merge "Update the API version for Openstack Newton"
Diffstat (limited to 'deploy/adapters/ansible/openstack_newton_xenial/roles/keystone/templates/admin-openrc.sh')
-rw-r--r--deploy/adapters/ansible/openstack_newton_xenial/roles/keystone/templates/admin-openrc.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_newton_xenial/roles/keystone/templates/admin-openrc.sh b/deploy/adapters/ansible/openstack_newton_xenial/roles/keystone/templates/admin-openrc.sh
new file mode 100644
index 00000000..94d5850f
--- /dev/null
+++ b/deploy/adapters/ansible/openstack_newton_xenial/roles/keystone/templates/admin-openrc.sh
@@ -0,0 +1,18 @@
+##############################################################################
+# 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_PROJECT_DOMAIN_NAME=default
+export OS_USER_DOMAIN_NAME=default
+export OS_TENANT_NAME=admin
+export OS_PROJECT_NAME=admin
+export OS_USERNAME=admin
+export OS_PASSWORD={{ ADMIN_PASS }}
+export OS_AUTH_URL=http://{{ internal_vip.ip }}:35357/v3
+export OS_IDENTITY_API_VERSION=3
+export OS_IMAGE_API_VERSION=2