aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-03-06 15:23:26 +0000
committerGerrit Code Review <review@openstack.org>2016-03-06 15:23:26 +0000
commit7e58ea219a7eaf518f5e2594b6db495b9ce4cb43 (patch)
tree3a53102acd3d6d120bdcf76d0a4bc447f9ea5e6f /tools
parent1e70714197b9d4798e9cea8fc55ef81269cb434b (diff)
parent25f99ad9303373c8692883ee9b3140e259796825 (diff)
downloadkolla-7e58ea219a7eaf518f5e2594b6db495b9ce4cb43.tar.gz
kolla-7e58ea219a7eaf518f5e2594b6db495b9ce4cb43.zip
Merge "Add two more examples of openrc for use with public endpoints"
Diffstat (limited to 'tools')
-rw-r--r--tools/openrc-example38
1 files changed, 38 insertions, 0 deletions
diff --git a/tools/openrc-example b/tools/openrc-example
index 66b2fb7ba..fec34259a 100644
--- a/tools/openrc-example
+++ b/tools/openrc-example
@@ -9,3 +9,41 @@ export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=<keystone_admin_password>
export OS_AUTH_URL=http://<kolla_internal_fqdn>:<keystone_admin_port>
+export OS_IDENTITY_API_VERSION=3
+
+
+# If you want to connect to the public endpoints of OpenStack
+# you can create an openrc by replacing these variables. You
+# can also replace the admin username and password with those
+# of another user.
+# keystone_admin_password
+# kolla_external_fqdn
+# keystone_public_port
+
+export OS_PROJECT_DOMAIN_ID=default
+export OS_USER_DOMAIN_ID=default
+export OS_PROJECT_NAME=admin
+export OS_USERNAME=admin
+export OS_PASSWORD=<keystone_admin_password>
+export OS_AUTH_URL=http://<kolla_external_fqdn>:<keystone_public_port>
+export OS_IDENTITY_API_VERSION=3
+
+
+# When you have enabled TLS on the external network of kolla,
+# if you want to connect to the public endpoints of OpenStack
+# you can create an openrc by replacing these variables. You
+# can also replace the admin username and password with those
+# of another user.
+# keystone_admin_password
+# kolla_external_fqdn
+# keystone_public_port
+# path_to_kolla_external_cacert
+
+export OS_PROJECT_DOMAIN_ID=default
+export OS_USER_DOMAIN_ID=default
+export OS_PROJECT_NAME=admin
+export OS_USERNAME=admin
+export OS_PASSWORD=<keystone_admin_password>
+export OS_AUTH_URL=http://<kolla_external_fqdn>:<keystone_public_port>
+export OS_CACERT=<path_to_kolla_external_cacert>
+export OS_IDENTITY_API_VERSION=3