57d2a22dfd
There is upgoing work related to deployment refactoring. The bunch of different enitities will be removed and inner code will be rewritten almost from scratch. This patch introduces a new simpler dedployment config format. Despite the fact that it requires several workarounds, we need to merge it before actual refactoring is done, since we want to provide a good deprecation period and as quicker we introduce a new format as quicker we will able to remove deprecated stuff:) An example of old deployment config: { "type": "ExistingCloud", "creds": { "openstack": { "auth_url": "https://example.com", "admin": { "username": "admin", "password": "pass", "project_name": "admin" } } } } An example of a new format: { "openstack": { "auth_url": "https://example.com", "admin": { "username": "admin", "password": "pass", "project_name": "admin" } } } Change-Id: If88317a0aefdd3d1adc6c380672d83e2bad11f15
25 lines
634 B
JSON
25 lines
634 B
JSON
{
|
|
"openstack": {
|
|
"auth_url": "http://example.net:5000/v2.0/",
|
|
"region_name": "RegionOne",
|
|
"endpoint_type": "public",
|
|
"admin": {
|
|
"username": "admin",
|
|
"password": "pa55word",
|
|
"tenant_name": "demo"
|
|
},
|
|
"users": [
|
|
{
|
|
"username": "not_an_admin1",
|
|
"password": "password",
|
|
"tenant_name": "some_tenant"
|
|
},
|
|
{
|
|
"username": "not_an_admin2",
|
|
"password": "password2",
|
|
"tenant_name": "some_tenant2"
|
|
}
|
|
]
|
|
}
|
|
}
|