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
15 lines
349 B
JSON
15 lines
349 B
JSON
{
|
|
"openstack": {
|
|
"auth_url": "http://example.net:5000/v2.0/",
|
|
"region_name": "RegionOne",
|
|
"endpoint_type": "public",
|
|
"admin": {
|
|
"username": "admin",
|
|
"password": "myadminpass",
|
|
"tenant_name": "demo"
|
|
},
|
|
"https_insecure": false,
|
|
"https_cacert": ""
|
|
}
|
|
}
|