removing proxy sample
[oom.git] / kubernetes / config / docker / init / src / config / dcaegen2 / heat / DNS-openrc-v2.sh
1 #!/usr/bin/env bash
2 # To use an OpenStack cloud you need to authenticate against the Identity
3 # service named keystone, which returns a **Token** and **Service Catalog**.
4 # The catalog contains the endpoints for all services the user/tenant has
5 # access to - such as Compute, Image Service, Identity, Object Storage, Block
6 # Storage, and Networking (code-named nova, glance, keystone, swift,
7 # cinder, and neutron).
8 #
9 # *NOTE*: Using the 2.0 *Identity API* does not necessarily mean any other
10 # OpenStack API is version 2.0. For example, your cloud provider may implement
11 # Image API v1.1, Block Storage API v2, and Compute API v2.0. OS_AUTH_URL is
12 # only for the Identity API served through keystone.
13 export OS_AUTH_URL=DNSAAS_KEYSTONE_URL_HERE/v2.0
14 # With the addition of Keystone we have standardized on the term **tenant**
15 # as the entity that owns the resources.
16 export OS_TENANT_ID=DNSAAS_TENANT_ID_HERE
17 export OS_TENANT_NAME="DNSAAS_TENANT_NAME_HERE"
18 # unsetting v3 items in case set
19 unset OS_PROJECT_ID
20 unset OS_PROJECT_NAME
21 unset OS_USER_DOMAIN_NAME
22 unset OS_INTERFACE
23 # In addition to the owning entity (tenant), OpenStack stores the entity
24 # performing the action as the **user**.
25 export OS_USERNAME="DNSAAS_USERNAME_HERE"
26 # With Keystone you pass the keystone password.
27 export OS_PASSWORD=DNSAAS_PASSWORD_HERE
28 # If your configuration has multiple regions, we set that information here.
29 # OS_REGION_NAME is optional and only valid in certain environments.
30 export OS_REGION_NAME="DNSAAS_REGION_HERE"
31 # Don't leave a blank variable, unset it if it was empty
32 if [ -z "$OS_REGION_NAME" ]; then unset OS_REGION_NAME; fi
33 export OS_ENDPOINT_TYPE=publicURL
34 export OS_IDENTITY_API_VERSION=2