Chi Lo 9e469032f5 [449122] Ranger: OsloConfig libraries upon install of Ranger
Implement Oslo Config options for Ranger.

Change-Id: I5f4b3f58281b9e840dcd3ae49db9363f35ab58d0
2018-08-16 14:49:52 -05:00

11 lines
401 B
Python
Executable File

# these values are used by ormcli to retrieve auth_token which is sent,
# along with region, with each cms and fms api request
import orm.base_config as config
tenant_name = config.token_auth_tenant
username = config.token_auth_user
password = config.token_auth_pass
auth_region = config.cli['base_region']
orm_base_url = '{}://{}'.format(config.protocol, config.orm_host)
verify = config.ssl_verify