I am using osapi_compute_link_prefix conf option in nova.conf to get some other URL in response.
I am using osapi_compute_link_prefix = https://16.125.106.106:8774/rest/compute
output which I get is
{ "servers": [ { "id": "c85f3e06-daef-468f-a298-e5427b6095cc", "links": [ { "href": "https://16.125.106.106/v1.1/ccbea08bdd8c42dfaad04e1c27dadfc9/servers/c85f3e06-daef-468f-a298-e5427b6095cc", "rel": "self" }, { "href": "https://16.125.106.106/ccbea08bdd8c42dfaad04e1c27dadfc9/servers/c85f3e06-daef-468f-a298-e5427b6095cc", "rel": "bookmark" } ], "name": "vm1" } ] }
The URL in the response is incorrect . It should be "https://16.125.106.106/rest/compute/v1.1/ccbea08bdd8c42dfaad04e1c27dadfc9/servers/c85f3e06-daef-468f-a298-e5427b6095cc"
I am using osapi_compute_ link_prefix conf option in nova.conf to get some other URL in response.
I am using link_prefix = https:/ /16.125. 106.106: 8774/rest/ compute
osapi_compute_
output which I get is
{ daef-468f- a298-e5427b6095 cc",
"links" : [
" href": "https:/ /16.125. 106.106/ v1.1/ccbea08bdd 8c42dfaad04e1c2 7dadfc9/ servers/ c85f3e06- daef-468f- a298-e5427b6095 cc",
" rel": "self"
" href": "https:/ /16.125. 106.106/ ccbea08bdd8c42d faad04e1c27dadf c9/servers/ c85f3e06- daef-468f- a298-e5427b6095 cc",
" rel": "bookmark"
"servers": [
{
"id": "c85f3e06-
{
},
{
}
],
"name": "vm1"
}
]
}
The URL in the response is incorrect . It should be "https:/ /16.125. 106.106/ rest/compute/ v1.1/ccbea08bdd 8c42dfaad04e1c2 7dadfc9/ servers/ c85f3e06- daef-468f- a298-e5427b6095 cc"