Right now the UI is developed towards a single CloudStack Management Server as it assume the API will be available under /client/api
This is set in config.json:
"apiBase": "/client/api"
This hard-codes the API to be available on /client/api while using reverse proxies multiple APIs could be made available:
- /api/manager1
- /api/manager2
- /api/manager3
In the JSON we could have support for different servers:
"servers": [
{
"name": "Manager 1",
"apiBase": "/api/manager1"
},
{
"name": "Manager 2",
"apiBase": "/api/manager2"
},
{
"name": "Manager 3",
"apiBase": "/api/manager3"
}
]
On the login page a dropdown menu could be shown when multiple servers are defined in the JSON file so that users can select the different server they want to log in to.
Right now the UI is developed towards a single CloudStack Management Server as it assume the API will be available under /client/api
This is set in config.json:
This hard-codes the API to be available on /client/api while using reverse proxies multiple APIs could be made available:
In the JSON we could have support for different servers:
"servers": [ { "name": "Manager 1", "apiBase": "/api/manager1" }, { "name": "Manager 2", "apiBase": "/api/manager2" }, { "name": "Manager 3", "apiBase": "/api/manager3" } ] On the login page a dropdown menu could be shown when multiple servers are defined in the JSON file so that users can select the different server they want to log in to.