
Lots of general rename changes, and a few pieces of minor tidy up. Change-Id: Ia88b75af0e2d294cfc57164ac42155234d8ba71a
47 lines
1.1 KiB
Python
47 lines
1.1 KiB
Python
|
|
DATABASE_NAME = "test_distil"
|
|
|
|
PG_DATABASE_URI = "postgresql://aurynn:postgres@localhost/%s" % DATABASE_NAME
|
|
MY_DATABASE_URI = "mysql://root:password@localhost/%s" % DATABASE_NAME
|
|
|
|
|
|
config = {
|
|
"main": {
|
|
"region": "Wellington",
|
|
"timezone": "Pacific/Auckland",
|
|
"database_uri": PG_DATABASE_URI
|
|
},
|
|
"rates_config": {
|
|
"file": "examples/test_rates.csv"
|
|
},
|
|
"auth": {
|
|
"end_point": "http://localhost:35357/v2.0",
|
|
"username": "admin",
|
|
"password": "openstack",
|
|
"default_tenant": "demo",
|
|
"insecure": False,
|
|
},
|
|
"ceilometer": {
|
|
"host": "http://localhost:8777/"
|
|
},
|
|
"transformers": {
|
|
"uptime": {
|
|
"tracked_states": ["active", "building",
|
|
"paused", "rescued", "resized"]
|
|
}
|
|
},
|
|
"collection": {}
|
|
}
|
|
|
|
# from test data:
|
|
TENANT_ID = "cd3deadd3d5a4f11802d03928195f4ef"
|
|
|
|
TENANTS = [
|
|
{u'enabled': True,
|
|
u'description': None,
|
|
u'name': u'demo',
|
|
u'id': u'cd3deadd3d5a4f11802d03928195f4ef'}
|
|
]
|
|
|
|
AUTH_TOKEN = "ASDFTOKEN"
|