stewie925 2caafdc8aa Build Ranger CLI image and fix bandit error
Create Dockerfile and Makefile for Ranger CLI.

Changes made to CLI code to account for separate URLs
for each ranger service.

Minor update to flavor code to fix error detected during
bandit scan.

Change-Id: If787e3dda4039d8755abd5dad05cacf685113565
2018-12-12 15:42:50 -08:00

14 lines
547 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.CONF.keystone_authtoken.project_name
username = config.CONF.keystone_authtoken.username
password = config.CONF.keystone_authtoken.password
auth_region = config.CONF.cli.base_region
rms_base_url = config.rms['base_url']
cms_base_url = config.cms['base_url']
fms_base_url = config.fms['base_url']
ims_base_url = config.ims['base_url']
verify = config.CONF.ssl_verify