Get host that is serving a certain Spice port
Sometimes, the flexVDI Gateway needs to know which Host is serving a VM on a certain Spice port.
Format
Method | GET |
|---|---|
URL | /hosts/forport/$PORT |
Request contents | None |
Successful answer | HostResult Object |
Unexpected error | HTTP 500 |
HostResult Object
Schema
status | String | "OK" |
|---|---|---|
message | String | Host's IP address if found, or "" otherwise |
JSON example
{
"status": "OK",
"message": "10.111.9.20"
}