2015-07-31 23:55:39 +00:00
|
|
|
# You can customize this to match your environment by replacing the variables:
|
|
|
|
# keystone_admin_password
|
2016-02-26 01:02:25 +00:00
|
|
|
# kolla_internal_fqdn
|
2015-07-31 23:55:39 +00:00
|
|
|
# keystone_admin_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>
|
2016-02-26 01:02:25 +00:00
|
|
|
export OS_AUTH_URL=http://<kolla_internal_fqdn>:<keystone_admin_port>
|
2016-03-03 17:08:20 -05:00
|
|
|
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>
|
2016-03-07 21:27:35 -05:00
|
|
|
export OS_AUTH_URL=https://<kolla_external_fqdn>:<keystone_public_port>
|
2016-03-03 17:08:20 -05:00
|
|
|
export OS_CACERT=<path_to_kolla_external_cacert>
|
|
|
|
export OS_IDENTITY_API_VERSION=3
|